libgd-2.3.0/0000775000175000017500000000000013635665564007623 500000000000000libgd-2.3.0/cmake/0000775000175000017500000000000013634445460010671 500000000000000libgd-2.3.0/cmake/modules/0000775000175000017500000000000013635665516012350 500000000000000libgd-2.3.0/cmake/modules/FindWEBP.cmake0000664000175000017500000000530313635665516014631 00000000000000# - Find the native WEBP includes and library # # This module defines # WEBP_INCLUDE_DIR, where to find decode.h, etc. # WEBP_LIBRARIES, the libraries to link against to use WEBP. # WEBP_FOUND, If false, do not try to use WEBP. # also defined, but not for general use are # WEBP_LIBRARY, where to find the WEBP library. # # Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # * The names of Kitware, Inc., the Insight Consortium, or the names of # any consortium members, or of any contributors, may not be used to # endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. include(FindZLIB) find_path(WEBP_INCLUDE_DIR decode.h /usr/local/include/webp /usr/include/webp ) set(WEBP_NAMES ${WEBP_NAMES} webp) find_library(WEBP_LIBRARY NAMES ${WEBP_NAMES} PATHS "${PROJECT_SOURCE_DIR}/../deps/lib" /usr/lib64 /usr/lib /usr/local/lib ) if (WEBP_LIBRARY AND WEBP_INCLUDE_DIR) set(WEBP_INCLUDE_DIR ${WEBP_INCLUDE_DIR}) set(WEBP_LIBRARIES ${WEBP_LIBRARY}) set(WEBP_FOUND "YES") endif (WEBP_LIBRARY AND WEBP_INCLUDE_DIR) if (WEBP_FOUND) if (NOT WEBP_FIND_QUIETLY) message(STATUS "Found WEBP: ${WEBP_LIBRARY}") endif (NOT WEBP_FIND_QUIETLY) else (WEBP_FOUND) if (WEBP_FIND_REQUIRED) message(FATAL_ERROR "Could not find WEBP library") endif (WEBP_FIND_REQUIRED) endif (WEBP_FOUND) mark_as_advanced(WEBP_INCLUDE_DIR WEBP_LIBRARY ) set(WEBP_LIBRARIES ${WEBP_LIBRARY}) libgd-2.3.0/cmake/modules/TestForHighBitCharacters.cmake0000664000175000017500000000372313635665516020124 00000000000000# cmake/modules/TestForHighBitCharacters.cmake # # Copyright (C) 2006 Alan W. Irwin # # This file is part of PLplot. # # PLplot is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as published # by the Free Software Foundation; version 2 of the License. # # PLplot is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Library General Public License for more details. # # You should have received a copy of the GNU Library General Public License # along with the file PLplot; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # Check if ctype.h macros work on characters with the high bit set. if(NOT DEFINED CMAKE_HIGH_BIT_CHARACTERS) message(STATUS "Check for whether ctype.h macros work on characters with the\n" " high bit set." ) try_compile(CMAKE_HIGH_BIT_CHARACTERS ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/CMakeModules/TestForHighBitCharacters.c OUTPUT_VARIABLE OUTPUT) if(CMAKE_HIGH_BIT_CHARACTERS) message(STATUS "High-bit characters - work") set(HIGH_BIT_CHARACTERS 1 CACHE INTERNAL "Do ctype.h macros work on high-bit characters") file(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log "Determining if ctype.h macros work on high-bit characters passed with " "the following output:\n${OUTPUT}\n\n") else(CMAKE_HIGH_BIT_CHARACTERS) message(STATUS "High-bit characters - don't work") set(HIGH_BIT_CHARACTERS 0 CACHE INTERNAL "Do ctype.h macros work on high-bit characters") file(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log "Determining if ctype.h macros work on high-bit characters failed with " "the following output:\n${OUTPUT}\n\n") endif(CMAKE_HIGH_BIT_CHARACTERS) endif(NOT DEFINED CMAKE_HIGH_BIT_CHARACTERS) libgd-2.3.0/cmake/modules/FindRAQM.cmake0000664000175000017500000000510113635665516014630 00000000000000# - Find the native RAQM includes and library # # This module defines # RAQM_INCLUDE_DIR, where to find raqm.h, etc. # RAQM_LIBRARIES, the libraries to link against to use RAQM. # RAQM_FOUND, If false, do not try to use RAQM. # Also defined, but not for general use are # RAQM_LIBRARY, where to find the RAQM library. # Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # * The names of Kitware, Inc., the Insight Consortium, or the names of # any consortium members, or of any contributors, may not be used to # endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SET(RAQM_FOUND "NO") FIND_PATH(RAQM_INCLUDE_DIR raqm.h /usr/local/include /usr/include ) SET(RAQM_NAMES ${RAQM_NAMES} raqm) FIND_LIBRARY(RAQM_LIBRARY NAMES ${RAQM_NAMES} PATH /usr/local/lib /usr/lib ) IF (RAQM_LIBRARY AND RAQM_INCLUDE_DIR) SET(RAQM_FOUND "YES") SET(HAVE_LIBRAQM 1) SET(RAQM_LIBRARIES ${RAQM_LIBRARY}) ENDIF (RAQM_LIBRARY AND RAQM_INCLUDE_DIR) IF (RAQM_FOUND) IF (NOT RAQM_FIND_QUIETLY) MESSAGE(STATUS "Find RAQM: ${RAQM_LIBRARY}") ENDIF (NOT RAQM_FIND_QUIETLY) ELSE (RAQM_FOUDN) IF (RAQM_FIND_REQUIRED) MESSAGE(FATAL_ERROR "Could not find RAQM library") ENDIF (RAQM_FIND_REQUIRED) ENDIF (RAQM_FOUND) MARK_AS_ADVANCED(RAQM_INCLUDE_DIR RAQM_LIBRARY) libgd-2.3.0/cmake/modules/FindPTHREAD.cmake0000664000175000017500000000523113635665516015163 00000000000000############################################################################# # # This file is part of the ViSP software. # Copyright (C) 2005 - 2013 by INRIA. All rights reserved. # # This software is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # ("GPL") version 2 as published by the Free Software Foundation. # See the file LICENSE.txt at the root directory of this source # distribution for additional information about the GNU GPL. # # For using ViSP with software that can not be combined with the GNU # GPL, please contact INRIA about acquiring a ViSP Professional # Edition License. # # See http://www.irisa.fr/lagadic/visp/visp.html for more information. # # This software was developed at: # INRIA Rennes - Bretagne Atlantique # Campus Universitaire de Beaulieu # 35042 Rennes Cedex # France # http://www.irisa.fr/lagadic # # If you have questions regarding the use of this file, please contact # INRIA at visp@inria.fr # # This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE # WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # # Description: # Try to find pthread library. # Once run this will define: # # PTHREAD_FOUND # PTHREAD_INCLUDE_DIRS # PTHREAD_LIBRARIES # # Authors: # Fabien Spindler # ############################################################################# FIND_PATH(PTHREAD_INCLUDE_DIR pthread.h "$ENV{PTHREAD_HOME}/include" "$ENV{PTHREAD_DIR}/include" /usr/include "C:/MinGW/include" ) #MESSAGE("DBG PTHREAD_INCLUDE_DIR=${PTHREAD_INCLUDE_DIR}") # pthreadVSE pthreadGCE pthreadGC pthreadVC1 pthreadVC2 are comming from web FIND_LIBRARY(PTHREAD_LIBRARY NAMES pthread pthreadGC2 pthreadVSE pthreadGCE pthreadGC pthreadVC1 pthreadVC2 PATHS "$ENV{PTHREAD_HOME}/lib" "$ENV{PTHREAD_DIR}/lib" /usr/lib /usr/local/lib /lib "C:/MinGW/lib" ) #MESSAGE(STATUS "DBG PTHREAD_LIBRARY=${PTHREAD_LIBRARY}") ## -------------------------------- IF(PTHREAD_LIBRARY) SET(PTHREAD_LIBRARIES ${PTHREAD_LIBRARY}) ELSE(PTHREAD_LIBRARY) #MESSAGE(SEND_ERROR "pthread library not found.") ENDIF(PTHREAD_LIBRARY) IF(NOT PTHREAD_INCLUDE_DIR) #MESSAGE(SEND_ERROR "pthread include dir not found.") ENDIF(NOT PTHREAD_INCLUDE_DIR) IF(PTHREAD_LIBRARIES AND PTHREAD_INCLUDE_DIR) SET(PTHREAD_INCLUDE_DIRS ${PTHREAD_INCLUDE_DIR}) SET(PTHREAD_FOUND TRUE) ELSE(PTHREAD_LIBRARIES AND PTHREAD_INCLUDE_DIR) SET(PTHREAD_FOUND FALSE) ENDIF(PTHREAD_LIBRARIES AND PTHREAD_INCLUDE_DIR) MARK_AS_ADVANCED( PTHREAD_INCLUDE_DIR PTHREAD_LIBRARY ) #MESSAGE(STATUS "PTHREAD_FOUND : ${PTHREAD_FOUND}") libgd-2.3.0/cmake/modules/gd.cmake0000664000175000017500000000130713635665516013665 00000000000000option(BUILD_TEST "Compile examples in the build tree and enable ctest" OFF) # This expects TESTS_FILES to already be defined to the lists of tests. # Extra libs can be passed in as the 1st argument. MACRO(ADD_GD_TESTS) GET_FILENAME_COMPONENT(TEST_PREFIX ${CMAKE_CURRENT_SOURCE_DIR} NAME_WE) FOREACH(test_name ${TESTS_FILES}) SET(test_prog_name "test_${TEST_PREFIX}_${test_name}") add_executable(${test_prog_name} "${test_name}.c") IF(WIN32) target_link_libraries (${test_prog_name} gdTest ${ARGV0}) ELSE(WIN32) target_link_libraries (${test_prog_name} gdTest m ${ARGV0}) ENDIF(WIN32) add_test(NAME ${test_prog_name} COMMAND ${test_prog_name}) ENDFOREACH(test_name) ENDMACRO(ADD_GD_TESTS) libgd-2.3.0/cmake/modules/FindGD.cmake0000664000175000017500000000701013634445460014354 00000000000000# - Find GD # Find the native GD includes and library # This module defines # GD_INCLUDE_DIR, where to find gd.h, etc. # GD_LIBRARIES, the libraries needed to use GD. # GD_FOUND, If false, do not try to use GD. # also defined, but not for general use are # GD_LIBRARY, where to find the GD library. # GD_SUPPORTS_PNG, GD_SUPPORTS_JPEG, GD_SUPPORTS_GIF, test # support for image formats in GD. FIND_PATH(GD_INCLUDE_DIR gd.h /usr/local/include /usr/include ) if(WIN32 AND NOT CYGWIN) SET(GD_NAMES ${GD_NAMES} bgd) else(WIN32) SET(GD_NAMES ${GD_NAMES} gd) endif(WIN32 AND NOT CYGWIN) FIND_LIBRARY(GD_LIBRARY NAMES ${GD_NAMES} PATHS /usr/lib64 /usr/lib /usr/local/lib ) IF (GD_LIBRARY AND GD_INCLUDE_DIR) SET(GD_LIBRARIES ${GD_LIBRARY}) SET(GD_FOUND "YES") ELSE (GD_LIBRARY AND GD_INCLUDE_DIR) SET(GD_FOUND "NO") ENDIF (GD_LIBRARY AND GD_INCLUDE_DIR) message("Found GD: ${GD_FOUND}") IF (GD_FOUND) IF (WIN32 AND NOT CYGWIN) SET(GD_SUPPORTS_PNG ON) SET(GD_SUPPORTS_JPEG ON) SET(GD_SUPPORTS_GIF ON) get_filename_component(GD_LIBRARY_DIR ${GD_LIBRARY} PATH) ELSE (WIN32 AND NOT CYGWIN) INCLUDE(CheckLibraryExists) GET_FILENAME_COMPONENT(GD_LIB_PATH ${GD_LIBRARY} PATH) GET_FILENAME_COMPONENT(GD_LIB ${GD_LIBRARY} NAME) CHECK_LIBRARY_EXISTS("${GD_LIBRARY}" "gdImagePng" "${GD_LIB_PATH}" GD_SUPPORTS_PNG) IF (GD_SUPPORTS_PNG) find_package(PNG) IF (PNG_FOUND) SET(GD_LIBRARIES ${GD_LIBRARIES} ${PNG_LIBRARIES}) SET(GD_INCLUDE_DIR ${GD_INCLUDE_DIR} ${PNG_INCLUDE_DIR}) ELSE (PNG_FOUND) SET(GD_SUPPORTS_PNG "NO") ENDIF (PNG_FOUND) ENDIF (GD_SUPPORTS_PNG) CHECK_LIBRARY_EXISTS("${GD_LIBRARY}" "gdImageJpeg" "${GD_LIB_PATH}" GD_SUPPORTS_JPEG) IF (GD_SUPPORTS_JPEG) find_package(JPEG) IF (JPEG_FOUND) SET(GD_LIBRARIES ${GD_LIBRARIES} ${JPEG_LIBRARIES}) SET(GD_INCLUDE_DIR ${GD_INCLUDE_DIR} ${JPEG_INCLUDE_DIR}) ELSE (JPEG_FOUND) SET(GD_SUPPORTS_JPEG "NO") ENDIF (JPEG_FOUND) ENDIF (GD_SUPPORTS_JPEG) CHECK_LIBRARY_EXISTS("${GD_LIBRARY}" "gdImageGif" "${GD_LIB_PATH}" GD_SUPPORTS_GIF) # Trim the list of include directories SET(GDINCTRIM) FOREACH(GD_DIR ${GD_INCLUDE_DIR}) SET(GD_TMP_FOUND OFF) FOREACH(GD_TRIMMED ${GDINCTRIM}) IF ("${GD_DIR}" STREQUAL "${GD_TRIMMED}") SET(GD_TMP_FOUND ON) ENDIF ("${GD_DIR}" STREQUAL "${GD_TRIMMED}") ENDFOREACH(GD_TRIMMED ${GDINCTRIM}) IF (NOT GD_TMP_FOUND) SET(GDINCTRIM "${GDINCTRIM}" "${GD_DIR}") ENDIF (NOT GD_TMP_FOUND) ENDFOREACH(GD_DIR ${GD_INCLUDE_DIR}) SET(GD_INCLUDE_DIR ${GDINCTRIM}) SET(GD_LIBRARY_DIR) # Generate trimmed list of library directories and list of libraries FOREACH(GD_LIB ${GD_LIBRARIES}) GET_FILENAME_COMPONENT(GD_NEXTLIBDIR ${GD_LIB} PATH) SET(GD_TMP_FOUND OFF) FOREACH(GD_LIBDIR ${GD_LIBRARY_DIR}) IF ("${GD_NEXTLIBDIR}" STREQUAL "${GD_LIBDIR}") SET(GD_TMP_FOUND ON) ENDIF ("${GD_NEXTLIBDIR}" STREQUAL "${GD_LIBDIR}") ENDFOREACH(GD_LIBDIR ${GD_LIBRARIES}) IF (NOT GD_TMP_FOUND) SET(GD_LIBRARY_DIR "${GD_LIBRARY_DIR}" "${GD_NEXTLIBDIR}") ENDIF (NOT GD_TMP_FOUND) ENDFOREACH(GD_LIB ${GD_LIBRARIES}) ENDIF (WIN32 AND NOT CYGWIN) ENDIF (GD_FOUND) IF (GD_FOUND) IF (NOT GD_FIND_QUIETLY) MESSAGE(STATUS "Found GD: ${GD_LIBRARY}") ENDIF (NOT GD_FIND_QUIETLY) ELSE (GD_FOUND) IF (GD_FIND_REQUIRED) MESSAGE(FATAL_ERROR "Could not find GD library") ENDIF (GD_FIND_REQUIRED) ENDIF (GD_FOUND) MARK_AS_ADVANCED( GD_LIBRARY GD_LIBRARIES GD_INCLUDE_DIR GD_LIBRARY_DIR GD_SUPPORTS_PNG GD_SUPPORTS_JPEG GD_SUPPORTS_GIF ) libgd-2.3.0/cmake/modules/CheckPrototypeExists.cmake0000664000175000017500000000545713635665516017450 00000000000000#============================================================================= # Copyright 2010 Alexander Neundorf # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # * The names of Kitware, Inc., the Insight Consortium, or the names of # any consortium members, or of any contributors, may not be used to # endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #============================================================================= # AWI, downloaded from KDE repository since has not yet been transferred # to cmake repository as of 2006-07-31. # http://websvn.kde.org/trunk/KDE/kdelibs/cmake/modules/CheckPrototypeExists.cmake?rev=505849&view=markup # # - Check if the prototype for a function exists. # CHECK_PROTOTYPE_EXISTS (FUNCTION HEADER VARIABLE) # # FUNCTION - the name of the function you are looking for # HEADER - the header(s) where the prototype should be declared # VARIABLE - variable to store the result # INCLUDE(CheckCXXSourceCompiles) MACRO(CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT) SET(_INCLUDE_FILES) FOREACH(it ${_HEADER}) SET(_INCLUDE_FILES "${_INCLUDE_FILES}#include <${it}>\n") ENDFOREACH(it) SET(_CHECK_PROTO_EXISTS_SOURCE_CODE " ${_INCLUDE_FILES} void cmakeRequireSymbol(int dummy,...){(void)dummy;} int main() { #ifndef ${_SYMBOL} #ifndef _MSC_VER cmakeRequireSymbol(0,&${_SYMBOL}); #else char i = sizeof(&${_SYMBOL}); #endif #endif return 0; } ") CHECK_CXX_SOURCE_COMPILES("${_CHECK_PROTO_EXISTS_SOURCE_CODE}" ${_RESULT}) ENDMACRO(CHECK_PROTOTYPE_EXISTS _SYMBOL _HEADER _RESULT) libgd-2.3.0/cmake/modules/FindICONV.cmake0000664000175000017500000000343013635665516014751 00000000000000# - Try to find Iconv # Once done this will define # # ICONV_FOUND - system has Iconv # ICONV_INCLUDE_DIR - the Iconv include directory # ICONV_LIBRARIES - Link these to use Iconv # ICONV_SECOND_ARGUMENT_IS_CONST - the second argument for iconv() is const # include(CheckCCompilerFlag) include(CheckCSourceCompiles) IF (ICONV_INCLUDE_DIR AND ICONV_LIBRARIES) # Already in cache, be silent SET(ICONV_FIND_QUIETLY TRUE) ENDIF (ICONV_INCLUDE_DIR AND ICONV_LIBRARIES) FIND_PATH(ICONV_INCLUDE_DIR iconv.h HINTS /sw/include/ PATHS /opt/local) FIND_LIBRARY(ICONV_LIBRARIES NAMES libiconv_a iconv libiconv c PATHS /opt/local) IF(ICONV_INCLUDE_DIR AND ICONV_LIBRARIES) SET(ICONV_FOUND TRUE) ENDIF(ICONV_INCLUDE_DIR AND ICONV_LIBRARIES) set(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_DIR}) set(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARIES}) IF(ICONV_FOUND) check_c_compiler_flag("-Werror" ICONV_HAVE_WERROR) set (CMAKE_C_FLAGS_BACKUP "${CMAKE_C_FLAGS}") if(ICONV_HAVE_WERROR) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror") endif(ICONV_HAVE_WERROR) check_c_source_compiles(" #include int main(){ iconv_t conv = 0; const char* in = 0; size_t ilen = 0; char* out = 0; size_t olen = 0; iconv(conv, &in, &ilen, &out, &olen); return 0; } " ICONV_SECOND_ARGUMENT_IS_CONST ) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS_BACKUP}") ENDIF(ICONV_FOUND) set(CMAKE_REQUIRED_INCLUDES) set(CMAKE_REQUIRED_LIBRARIES) IF(ICONV_FOUND) IF(NOT ICONV_FIND_QUIETLY) MESSAGE(STATUS "Found Iconv: ${ICONV_LIBRARIES}") ENDIF(NOT ICONV_FIND_QUIETLY) ELSE(ICONV_FOUND) IF(Iconv_FIND_REQUIRED) MESSAGE(FATAL_ERROR "Could not find Iconv") ENDIF(Iconv_FIND_REQUIRED) ENDIF(ICONV_FOUND) MARK_AS_ADVANCED( ICONV_INCLUDE_DIR ICONV_LIBRARIES ICONV_SECOND_ARGUMENT_IS_CONST ) libgd-2.3.0/cmake/modules/FindFontConfig.cmake0000664000175000017500000000532113635665516016130 00000000000000# Copyright (c) 2006,2007 Laurent Montel, # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # - Try to find Fontconfig # Once done this will define # # FONTCONFIG_FOUND - system has Fontconfig # FONTCONFIG_INCLUDE_DIR - the Fontconfig include directory # FONTCONFIG_LIBRARY - Link these to use Fontconfig if ( FONTCONFIG_INCLUDE_DIR AND FONTCONFIG_LIBRARY ) # in cache already SET(Fontconfig_FIND_QUIETLY TRUE) endif ( FONTCONFIG_INCLUDE_DIR AND FONTCONFIG_LIBRARY ) # use pkg-config to get the directories and then use these values # in the FIND_PATH() and FIND_LIBRARY() calls if( NOT WIN32 ) find_package(PkgConfig) pkg_check_modules(FONTCONFIG_PKG QUIET fontconfig) endif( NOT WIN32 ) FIND_PATH(FONTCONFIG_INCLUDE_DIR NAMES fontconfig/fontconfig.h PATHS /usr/local/include /usr/X11/include /usr/include HINTS ${FONTCONFIG_PKG_INCLUDE_DIRS} # Generated by pkg-config ) FIND_LIBRARY(FONTCONFIG_LIBRARY NAMES fontconfig ${FONTCONFIG_PKG_LIBRARY} PATHS /usr/local /usr/X11 /usr HINTS ${FONTCONFIG_PKG_LIBRARY_DIRS} # Generated by pkg-config PATH_SUFFIXES lib64 lib ) include(FindPackageHandleStandardArgs) FIND_PACKAGE_HANDLE_STANDARD_ARGS(Fontconfig DEFAULT_MSG FONTCONFIG_LIBRARY FONTCONFIG_INCLUDE_DIR ) # show the FONTCONFIG_INCLUDE_DIR and FONTCONFIG_LIBRARY variables only in the advanced view MARK_AS_ADVANCED(FONTCONFIG_INCLUDE_DIR FONTCONFIG_LIBRARY ) libgd-2.3.0/cmake/modules/TestForStandardHeaderwait.cmake0000664000175000017500000000250713634445460020334 00000000000000# cmake/modules/CheckHEADER_SYS_WAIT.cmake # # Copyright (C) 2006 Alan W. Irwin # # This file is part of PLplot. # # PLplot is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as published # by the Free Software Foundation; version 2 of the License. # # PLplot is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Library General Public License for more details. # # You should have received a copy of the GNU Library General Public License # along with the file PLplot; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA # # - Check for sys/wait.h that is POSIX.1 compatible following autotools # AC_HEADER_SYS_WAIT include(CheckCSourceCompiles) set(_CHECK_HEADER_SYS_WAIT_SOURCE_CODE " #include #include #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main () { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } ") check_c_source_compiles( "${_CHECK_HEADER_SYS_WAIT_SOURCE_CODE}" HAVE_SYS_WAIT_H) libgd-2.3.0/cmake/modules/FindXPM.cmake0000664000175000017500000000567513635665516014554 00000000000000# - Find the native XPM includes and library # # This module defines # XPM_INCLUDE_DIR, where to find xpm.h, etc. # XPM_LIBRARIES, the libraries to link against to use XPM. # XPM_DEFINITIONS - You should ADD_DEFINITONS(${XPM_DEFINITIONS}) before compiling code that includes xpm library files. # XPM_FOUND, If false, do not try to use XPM. # also defined, but not for general use are # XPM_LIBRARY, where to find the XPM library. # Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # * The names of Kitware, Inc., the Insight Consortium, or the names of # any consortium members, or of any contributors, may not be used to # endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. SET(XPM_FOUND "NO") FIND_PATH(XPM_XPM_INCLUDE_DIR xpm.h /usr/local/include/X11 /usr/include/X11 ) SET(XPM_NAMES ${XPM_NAMES} Xpm libXpm) FIND_LIBRARY(XPM_LIBRARY NAMES ${XPM_NAMES} PATHS /usr/lib64 /usr/lib /usr/local/lib ) IF (XPM_LIBRARY AND XPM_XPM_INCLUDE_DIR) SET(XPM_INCLUDE_DIR ${XPM_XPM_INCLUDE_DIR}) SET(XPM_LIBRARIES ${XPM_LIBRARY}) SET(XPM_FOUND "YES") IF (CYGWIN) IF(BUILD_SHARED_LIBS) # No need to define XPM_USE_DLL here, because it's default for Cygwin. ELSE(BUILD_SHARED_LIBS) SET (XPM_DEFINITIONS -DXPM_STATIC) ENDIF(BUILD_SHARED_LIBS) ENDIF (CYGWIN) ENDIF (XPM_LIBRARY AND XPM_XPM_INCLUDE_DIR) IF (XPM_FOUND) IF (NOT XPM_FIND_QUIETLY) MESSAGE(STATUS "Found XPM: ${XPM_LIBRARY}") ENDIF (NOT XPM_FIND_QUIETLY) ELSE (XPM_FOUND) IF (XPM_FIND_REQUIRED) MESSAGE(FATAL_ERROR "Could not find XPM library") ENDIF (XPM_FIND_REQUIRED) ENDIF (XPM_FOUND) MARK_AS_ADVANCED(XPM_XPM_INCLUDE_DIR XPM_LIBRARY ) libgd-2.3.0/cmake/modules/FindLIQ.cmake0000664000175000017500000000160013635665516014515 00000000000000# Find libimagequant includes and library (and download+build if needed) # http://pngquant.org/lib # # This module defines # LIQ_INCLUDE_DIR, where to find libimagequant.h # LIQ_LIBRARIES, the libraries to link against to use libimagequant. # LIQ_FOUND, if false, do not try to use libimagequant. SET(LIQ_FOUND "NO") FIND_PATH(LIQ_INCLUDE_DIR libimagequant.h /usr/local/include /usr/include ) FIND_LIBRARY(LIQ_LIBRARY NAMES libimagequant imagequant PATHS /usr/lib64 /usr/lib /usr/local/lib ) IF (LIQ_LIBRARY AND LIQ_INCLUDE_DIR) SET(LIQ_FOUND "YES") SET(LIQ_LIBRARIES ${LIQ_LIBRARY}) SET(HAVE_LIBIMAGEQUANT 1) ENDIF (LIQ_LIBRARY AND LIQ_INCLUDE_DIR) IF (LIQ_FOUND) IF (NOT LIQ_FIND_QUIETLY) MESSAGE(STATUS "Found LIQ: ${LIQ_LIBRARY} ${LIQ_INCLUDE_DIR}") ENDIF (NOT LIQ_FIND_QUIETLY) ENDIF (LIQ_FOUND) MARK_AS_ADVANCED(LIQ_INCLUDE_DIR LIQ_LIBRARIES LIQ_BUILD) libgd-2.3.0/cmake/modules/CheckDIRSymbolExists.cmake0000664000175000017500000001166313635665516017243 00000000000000# Copyright (c) 2002 Kitware, Inc., Insight Consortium # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # # * The names of Kitware, Inc., the Insight Consortium, or the names of # any consortium members, or of any contributors, may not be used to # endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS ``AS IS'' # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # - Check if the DIR symbol exists like in AC_HEADER_DIRENT. # CHECK_DIRSYMBOL_EXISTS(FILES VARIABLE) # # FILES - include files to check # VARIABLE - variable to return result # # This module is a small but important variation on CheckSymbolExists.cmake. # The symbol always searched for is DIR, and the test programme follows # the AC_HEADER_DIRENT test programme rather than the CheckSymbolExists.cmake # test programme which always fails since DIR tends to be typedef'd # rather than #define'd. # # The following variables may be set before calling this macro to # modify the way the check is run: # # CMAKE_REQUIRED_FLAGS = string of compile command line flags # CMAKE_REQUIRED_DEFINITIONS = list of macros to define (-DFOO=bar) # CMAKE_REQUIRED_INCLUDES = list of include directories # CMAKE_REQUIRED_LIBRARIES = list of libraries to link MACRO(CHECK_DIRSYMBOL_EXISTS FILES VARIABLE) IF(NOT DEFINED ${VARIABLE}) SET(CMAKE_CONFIGURABLE_FILE_CONTENT "/* */\n") SET(MACRO_CHECK_DIRSYMBOL_EXISTS_FLAGS ${CMAKE_REQUIRED_FLAGS}) IF(CMAKE_REQUIRED_LIBRARIES) SET(CHECK_DIRSYMBOL_EXISTS_LIBS "-DLINK_LIBRARIES:STRING=${CMAKE_REQUIRED_LIBRARIES}") ELSE(CMAKE_REQUIRED_LIBRARIES) SET(CHECK_DIRSYMBOL_EXISTS_LIBS) ENDIF(CMAKE_REQUIRED_LIBRARIES) IF(CMAKE_REQUIRED_INCLUDES) SET(CMAKE_DIRSYMBOL_EXISTS_INCLUDES "-DINCLUDE_DIRECTORIES:STRING=${CMAKE_REQUIRED_INCLUDES}") ELSE(CMAKE_REQUIRED_INCLUDES) SET(CMAKE_DIRSYMBOL_EXISTS_INCLUDES) ENDIF(CMAKE_REQUIRED_INCLUDES) FOREACH(FILE ${FILES}) SET(CMAKE_CONFIGURABLE_FILE_CONTENT "${CMAKE_CONFIGURABLE_FILE_CONTENT}#include <${FILE}>\n") ENDFOREACH(FILE) SET(CMAKE_CONFIGURABLE_FILE_CONTENT "${CMAKE_CONFIGURABLE_FILE_CONTENT}\nint main()\n{if ((DIR *) 0) return 0;}\n") CONFIGURE_FILE("${CMAKE_ROOT}/Modules/CMakeConfigurableFile.in" "${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c" @ONLY) MESSAGE(STATUS "Looking for DIR in ${FILES}") TRY_COMPILE(${VARIABLE} ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c COMPILE_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${MACRO_CHECK_DIRSYMBOL_EXISTS_FLAGS} "${CHECK_DIRSYMBOL_EXISTS_LIBS}" "${CMAKE_DIRSYMBOL_EXISTS_INCLUDES}" OUTPUT_VARIABLE OUTPUT) IF(${VARIABLE}) MESSAGE(STATUS "Looking for DIR in ${FILES} - found") SET(${VARIABLE} 1 CACHE INTERNAL "Have symbol DIR") FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log "Determining if the DIR symbol is defined as in AC_HEADER_DIRENT " "passed with the following output:\n" "${OUTPUT}\nFile ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c:\n" "${CMAKE_CONFIGURABLE_FILE_CONTENT}\n") ELSE(${VARIABLE}) MESSAGE(STATUS "Looking for DIR in ${FILES} - not found.") SET(${VARIABLE} "" CACHE INTERNAL "Have symbol DIR") FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log "Determining if the DIR symbol is defined as in AC_HEADER_DIRENT " "failed with the following output:\n" "${OUTPUT}\nFile ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeTmp/CheckDIRSymbolExists.c:\n" "${CMAKE_CONFIGURABLE_FILE_CONTENT}\n") ENDIF(${VARIABLE}) ENDIF(NOT DEFINED ${VARIABLE}) ENDMACRO(CHECK_DIRSYMBOL_EXISTS) libgd-2.3.0/cmake/modules/AC_HEADER_STDC.cmake0000664000175000017500000000061613635665516015405 00000000000000# Keep in sync with AC_CHECK_HEADERS in configure.ac. check_include_files(dirent.h HAVE_DIRENT_H) check_include_files(inttypes.h HAVE_INTTYPES_H) check_include_files(stdint.h HAVE_STDINT_H) check_include_files(strings.h HAVE_STRINGS_H) check_include_files(unistd.h HAVE_UNISTD_H) check_include_files(sys/stat.h HAVE_SYS_STAT_H) check_include_files(sys/types.h HAVE_SYS_TYPES_H) set(HAVE_LIBM 1) libgd-2.3.0/cmake/modules/TestForHighBitCharacters.c0000664000175000017500000000243113635665516017261 00000000000000/* * Copyright (C) 2006 Alan W. Irwin * * This file is part of PLplot. * * PLplot is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as published * by the Free Software Foundation; version 2 of the License. * * PLplot is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with the file PLplot; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(1); exit (0); } libgd-2.3.0/cmake/distclean.sh0000775000175000017500000000167013634445460013122 00000000000000#!/bin/sh # CMake doesn't provide the equiv of "distclean" which makes it impossible to # properly clean up after it when you build in-tree. This script emulates it. # It assumes it's run in the dir you want to clean. usage() { cat <<-EOF Usage: $0 [--automake] Clean all the cmake generated output files. Options: --automake Do not clean files autotools also creates EOF exit ${1:-0} } AUTOMAKE="false" while [ $# -ne 0 ]; do case $1 in -h|--help) usage ;; --automake) AUTOMAKE="true" ;; *) usage 1 ;; esac shift done set -x find . -maxdepth 3 \ '(' \ -name CMakeCache.txt -o \ -name CMakeFiles -o \ -name CTestTestfile.cmake -o \ -name cmake_install.cmake \ ')' \ -exec rm -rf {} + rm -rf \ Bin Testing \ CPackConfig.cmake CPackSourceConfig.cmake \ DartConfiguration.tcl if [ "${AUTOMAKE}" = "false" ]; then find . -maxdepth 3 '!' -wholename './windows/*' -a -name Makefile -exec rm -rf {} + rm -f src/config.h fi libgd-2.3.0/configure.ac0000664000175000017500000002307513635665516012035 00000000000000# Process this file with autoconf to produce a configure script. # Configure template for gd library AC_PREREQ(2.64) # We extract version numbers from src/versions.h define([gv],[perl config/getver.pl ]$1) m4_define([gd_MAJOR],esyscmd(gv(MAJOR)))dnl m4_define([gd_MINOR],esyscmd(gv(MINOR)))dnl m4_define([gd_REVISION],esyscmd(gv(RELEASE)))dnl m4_define([gd_EXTRA],esyscmd(gv(EXTRA)))dnl m4_define([gd_PKG_VERSION],[gd_MAJOR.gd_MINOR.gd_REVISION]gd_EXTRA)]dnl AC_INIT([GD], gd_PKG_VERSION, [https://github.com/libgd/libgd/issues], [libgd], [http://lib.gd]) AC_CONFIG_SRCDIR([src/gd.c]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR([m4]) AC_CANONICAL_HOST dnl Keep the libtool version details in an external script so cmake can dnl access the values too. define([lt_gv], [config/getlib.sh ]$1) m4_define([gd_LT_CURRENT], esyscmd(lt_gv(CURRENT))) m4_define([gd_LT_REVISION], esyscmd(lt_gv(REVISION))) m4_define([gd_LT_AGE], esyscmd(lt_gv(AGE))) GDLIB_LT_CURRENT=gd_LT_CURRENT GDLIB_LT_REVISION=gd_LT_REVISION GDLIB_LT_AGE=gd_LT_AGE AC_SUBST(GDLIB_LT_CURRENT) AC_SUBST(GDLIB_LT_REVISION) AC_SUBST(GDLIB_LT_AGE) AM_INIT_AUTOMAKE([1.11 foreign dist-xz -Wall -Werror subdir-objects]) AC_CONFIG_HEADERS([src/config.h:src/config.hin]) AM_PROG_AR AC_PROG_CC_STDC AM_PROG_CC_C_O AC_PROG_INSTALL AC_PROG_LIBTOOL AC_PROG_LN_S AC_PROG_MAKE_SET LT_INIT([win32-dll]) PKG_PROG_PKG_CONFIG dnl may be required for freetype and Xpm AC_PATH_X if test -n "$x_includes" && test "x$x_includes" != xNONE ; then CFLAGS="$CFLAGS -I$x_includes" fi if test -n "$x_libraries" && test "x$x_libraries" != xNONE ; then LDFLAGS="$LDFLAGS -L$x_libraries" fi dnl Keep in sync with cmake/modules/AC_HEADER_STDC.cmake. AC_HEADER_STDC AC_CHECK_HEADERS_ONCE(m4_flatten([ dirent.h inttypes.h stdint.h strings.h unistd.h sys/stat.h sys/types.h ])) dnl if we're configuring on a system w/out gettext, don't fall over m4_ifndef([AM_ICONV],[m4_define([AM_ICONV],[:])]) AM_ICONV # if test -n "$LIBICONV" ; then # LIBS="$LIBS $LIBICONV" # fi AC_CHECK_HEADERS(iconv.h, [AC_MSG_CHECKING(whether iconv.h defines iconv_t) AC_EGREP_HEADER([typedef.*iconv_t],iconv.h, [AC_MSG_RESULT(yes) AC_DEFINE(HAVE_ICONV_T_DEF, 1, [Define if defines iconv_t.])], AC_MSG_RESULT(no))]) # Checks for typedefs, structures, and compiler characteristics. #AC_TYPE_SIZE_T # Checks for library functions. #AC_FUNC_ERROR_AT_LINE #AC_FUNC_MALLOC #AC_FUNC_REALLOC #AC_CHECK_FUNCS([floor memset sqrt strchr strdup strtol]) dnl do we need to specify -lm explicitly? AC_CHECK_FUNC(sin,,[AC_CHECK_LIB(m,sin)]) AX_PTHREAD() AX_OPENMP() dnl We should default this to off in future releases. AC_MSG_CHECKING([whether to support gd image formats]) AC_ARG_ENABLE([gd-formats], [AS_HELP_STRING([--disable-gd-formats], [Disable support for the legacy/testing gd image formats])], [gd_enable_gd_formats=$enableval], [gd_enable_gd_formats=yes]) AC_MSG_RESULT([$gd_enable_gd_formats]) if test "$gd_enable_gd_formats" = yes; then gd_ac_value=1 else gd_ac_value=0 fi AC_DEFINE_UNQUOTED([ENABLE_GD_FORMATS], [$gd_ac_value], [Whether to support gd image formats]) AM_CONDITIONAL([ENABLE_GD_FORMATS], test "$gd_enable_gd_formats" = yes) dnl Helper macro for working with external libraries. dnl GD_LIB_CHECK([SYM], [FEATURE], [name], [...test...]) dnl $1 - upper case symbol dnl $2 - GD feature name to track dnl $3 - lower case name for user dnl $4 - test for the feature dnl The test code should set gd_found_lib=yes to indicate success. m4_define([GD_LIB_CHECK], [dnl dnl Export the flag for the user to leverage. No other logic here. AC_MSG_CHECKING([whether to support $3]) AC_ARG_WITH([$3], [AS_HELP_STRING([--with-$3@<:@=DIR@:>@], [Support $3 (optionally in DIR)])], [gd_with_lib=$withval], [gd_with_lib=auto]) AC_MSG_RESULT([$gd_with_lib]) gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS dnl Set up default libs/cflags vars based on the path if user gave us one. gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" AS_VAR_APPEND([LDFLAGS], [" $gd_lib_ldflags"]) fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" AS_VAR_APPEND([CPPFLAGS], [" $gd_lib_cflags"]) fi ;; esac dnl Run the test for this feature. $4 CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then AC_DEFINE([HAVE_$1], [1], [Define if you have $3]) dnl Merge the flags into the main LIBS/CPPFLAGS. $1][_LIBS="$gd_lib_ldflags $][$1][_LIBS" $1][_CFLAGS="$gd_lib_cflags $][$1][_CFLAGS" AS_VAR_APPEND([LIBS], [" $][$1][_LIBS"]) AS_VAR_APPEND([CPPFLAGS], [" $][$1][_CFLAGS"]) elif test "$gd_with_lib" = "yes"; then AC_MSG_ERROR([$3 requested but not found]) else AC_MSG_NOTICE([Disabling support for $3]) fi fi AM_CONDITIONAL([HAVE_$1], test "$gd_found_lib" = yes) gd_with_$1=$gd_found_lib ]) dnl Helper macro for working with external libraries with pkg-config support. dnl GD_LIB_PKG_CHECK([SYM], [FEATURE], [name], [pkg-config module], [...fallback test...]) dnl $1 - upper case symbol dnl $2 - GD feature name to track dnl $3 - lower case name for user dnl $4 - pkg-config module to look for dnl $5 - fallback test for the feature m4_define([GD_LIB_PKG_CHECK], [dnl GD_LIB_CHECK([$1], [$2], [$3], [dnl PKG_CHECK_MODULES([$1], [$4], [gd_found_lib=yes], [$5]) ]) ]) dnl Check for zlib support. GD_LIB_PKG_CHECK([LIBZ], [ZLIB], [zlib], [zlib], [dnl AC_CHECK_LIB([z], [deflate], [dnl AS_VAR_APPEND([LIBZ_LIBS], [" -lz"]) gd_found_lib=yes ]) ]) dnl Check for libpng support. GD_LIB_PKG_CHECK([LIBPNG], [PNG], [png], [libpng], [ LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config if test -e "$LIBPNG_CONFIG"; then LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags` LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags` gd_found_lib=yes fi ]) dnl Check for FreeType support. GD_LIB_PKG_CHECK([LIBFREETYPE], [FREETYPE], [freetype], [freetype2 >= 9.8.3], [ FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config if test -e "$FREETYPE_CONFIG"; then LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs` gd_found_lib=yes fi ]) if test "$gd_with_LIBFREETYPE" = "yes"; then AC_DEFINE([HAVE_FT2BUILD_H], [1], [Define if you have the ft2build.h header.]) fi dnl Check for Raqm support. GD_LIB_PKG_CHECK([LIBRAQM], [RAQM], [raqm], [raqm], [ AC_CHECK_LIB([raqm], [raqm_create], [dnl AS_VAR_APPEND([LIBRAQM_LIBS], [" -lraqm -lfreetype"]) gd_found_lib=yes ]) ]) dnl Check for fontconfig support. GD_LIB_PKG_CHECK([LIBFONTCONFIG], [FONTCONFIG], [fontconfig], [fontconfig], [ AC_CHECK_LIB([fontconfig], [FcInit], [dnl AS_VAR_APPEND([LIBFONTCONFIG_LIBS], [" -lfontconfig"]) gd_found_lib=yes ]) ]) dnl Check for jpeg support. GD_LIB_PKG_CHECK([LIBJPEG], [JPEG], [jpeg], [libjpeg], [ AC_CHECK_LIB([jpeg], [jpeg_set_defaults], [dnl AS_VAR_APPEND([LIBJPEG_LIBS], [" -ljpeg"]) gd_found_lib=yes ]) ]) dnl Check for libimagequant support. GD_LIB_CHECK([LIBIMAGEQUANT], [LIQ], [liq], [ AC_CHECK_HEADER([libimagequant.h], [ save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $OPENMP_CFLAGS" AC_CHECK_LIB([imagequant], [liq_attr_create_with_allocator], [dnl AS_VAR_APPEND([LIBIMAGEQUANT_LIBS], [" -limagequant $OPENMP_CFLAGS"]) gd_found_lib=yes ]) CFLAGS=$save_CFLAGS ]) ]) dnl Check for xpm support. GD_LIB_PKG_CHECK([LIBXPM], [XPM], [xpm], [xpm], [ AC_CHECK_LIB([Xpm], [XpmReadFileToXpmImage], [dnl AS_VAR_APPEND([LIBXPM_LIBS], [" -lXpm"]) gd_found_lib=yes ]) ]) dnl Check for tiff support. GD_LIB_PKG_CHECK([LIBTIFF], [TIFF], [tiff], [libtiff-4], [ AC_CHECK_LIB([tiff], [TIFFClientOpen], [dnl AS_VAR_APPEND([LIBTIFF_LIBS], [" -ltiff"]) gd_found_lib=yes ]) ]) dnl Check for webp support. GD_LIB_CHECK([LIBWEBP], [WEBP], [webp], [ AC_CHECK_LIB([webp], [WebPGetInfo], [dnl AS_VAR_APPEND([LIBWEBP_LIBS], [" -lwebp"]) gd_found_lib=yes ]) ]) gl_VISIBILITY() CFLAGS="$CFLAGS $CFLAG_VISIBILITY" MINGW_AC_WIN32_NATIVE_HOST() if test "$mingw_cv_win32_host" = yes; then AC_DEFINE([BGDWIN32], [], [Define is you are building for Win32 API]) fi dnl Enable -Wall if possible. Do it after all other tests. AX_CFLAGS_WARN_ALL dnl Enable -Werror if possible. Do it after all other tests. AC_ARG_ENABLE([werror], [AS_HELP_STRING([--enable-werror], [treat compile warnings as errors])]) if test "$enable_werror" = "yes" || \ test "$GCC" = "yes" -a "$enable_werror" != "no" -a -d "$srcdir/.git"; then CFLAGS="-Werror $CFLAGS" CXXFLAGS="-Werror $CXXFLAGS" fi dnl report configuration AC_MSG_RESULT([ ** Configuration summary for $PACKAGE $VERSION: Support for gd/gd2 images: $gd_enable_gd_formats Support for Zlib: $gd_with_LIBZ Support for PNG library: $gd_with_LIBPNG Support for JPEG library: $gd_with_LIBJPEG Support for WebP library: $gd_with_LIBWEBP Support for TIFF library: $gd_with_LIBTIFF Support for Freetype 2.x library: $gd_with_LIBFREETYPE Support for Fontconfig library: $gd_with_LIBFONTCONFIG Support for Xpm library: $gd_with_LIBXPM Support for liq library: $gd_with_LIBIMAGEQUANT Support for complex text: $gd_with_LIBRAQM Support for pthreads: $ax_pthread_ok ]) AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile config/Makefile config/gdlib.pc]) AC_OUTPUT libgd-2.3.0/docs/0000775000175000017500000000000013635665521010544 500000000000000libgd-2.3.0/docs/README.TESTING0000664000175000017500000000461413635665516012471 00000000000000||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| To run the tests suite, all you need is (add the cmake options if you need any or if the default libs and include paths are not the default) : In a sub directory: $ mkdir bld $ cd bld $ cmake -DBUILD_TEST=1 .. $ make $ ctest . Or if you like to build in the source tree: $ cmake -DBUILD_TEST=1 . $ make $ ctest . Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version. If you like to run the tests against a installed GD library, set the following environment variables: export CMAKE_INCLUDE_PATH=/path/to/the/gd/include export CMAKE_LIBRARY_PATH=/path/to/the/gd/lib then call cmake using: $ cmake -DUSE_EXT_GD=1 -DBUILD_TEST=1 $ make and finally: $ ctest . I will certainly add a nice CMake option to give prefix later. What to do if tests fail on your platform and you use the last GD release? either from your favorite distributions or from http://www.libgd.org or git? If you use a packaged version of the GD Library (installed from RPM, deb or ports, gentoo packages or any other packages format or distribution), please try to run the tests using the source releases available at: https://github.com/libgd/libgd/releases If the tests fail using our source release, please report a bug here: https://github.com/libgd/libgd/issues You can attach the two files available in: ./Testing/Temporary Later versions will have an automatic post mode. If the tests run successfully, please report a bug to the maintainer of the packages (Debian, BSD, Ubuntu or whoever is responsible for the packages). Reasons of failures: Exception: SegFault: self explaining Failed test failed, check the log to know where timeout the default timeout is 5 seconds. Some test may have infinite loops when compiled against old versions of the GD library (esp. 2.0.33 or earlier) Some features rely on floating point arithmetic and results may vary from one architecture to another. Examples: On i686, gdimagerotate/bug00067 will fail. The result is still visually acceptable but i686 default arithmetic mode will generate different results. Adding "-msse -mfpmath=sse" to CFLAGS will solve this difference. On s390, ppc64, and aarch64, gdimagecopyresampled/bug00201 will fail. The result is still visually acceptable. Adding "-ffp-contract=off" to CFLAGS will solve this difference. libgd-2.3.0/docs/naturaldocs/0000775000175000017500000000000013635665516013067 500000000000000libgd-2.3.0/docs/naturaldocs/project/0000775000175000017500000000000013635665516014535 500000000000000libgd-2.3.0/docs/naturaldocs/project/.gitignore0000664000175000017500000000003113634445460016430 00000000000000Languages.txt Topics.txt libgd-2.3.0/docs/naturaldocs/project/Menu.txt0000664000175000017500000000715613635665516016133 00000000000000Format: 1.52 # You can add a title and sub-title to your menu like this: # Title: [project name] # SubTitle: [subtitle] # You can add a footer to your documentation like this: # Footer: [text] # If you want to add a copyright notice, this would be the place to do it. # You can add a timestamp to your documentation like one of these: # Timestamp: Generated on month day, year # Timestamp: Updated mm/dd/yyyy # Timestamp: Last updated mon day # # m - One or two digit month. January is "1" # mm - Always two digit month. January is "01" # mon - Short month word. January is "Jan" # month - Long month word. January is "January" # d - One or two digit day. 1 is "1" # dd - Always two digit day. 1 is "01" # day - Day with letter extension. 1 is "1st" # yy - Two digit year. 2006 is "06" # yyyy - Four digit year. 2006 is "2006" # year - Four digit year. 2006 is "2006" # -------------------------------------------------------------------------- # # Cut and paste the lines below to change the order in which your files # appear on the menu. Don't worry about adding or removing files, Natural # Docs will take care of that. # # You can further organize the menu by grouping the entries. Add a # "Group: [name] {" line to start a group, and add a "}" to end it. # # You can add text and web links to the menu by adding "Text: [text]" and # "Link: [name] ([URL])" lines, respectively. # # The formatting and comments are auto-generated, so don't worry about # neatness when editing the file. Natural Docs will clean it up the next # time it is run. When working with groups, just deal with the braces and # forget about the indentation and comments. # # -------------------------------------------------------------------------- File: About LibGD 2.3.0-dev (no auto-title, preamble.txt) Group: Image Formats { File: BMP IO (no auto-title, gd_bmp.c) File: GD IO (no auto-title, gd_gd.c) File: GD2 IO (no auto-title, gd_gd2.c) File: GIF Input (no auto-title, gd_gif_in.c) File: GIF Output (no auto-title, gd_gif_out.c) File: JPEG IO (no auto-title, gd_jpeg.c) File: PNG IO (no auto-title, gd_png.c) File: TGA Input (no auto-title, gd_tga.c) File: TIFF IO (no auto-title, gd_tiff.c) File: WBMP IO (no auto-title, gd_wbmp.c) File: WebP IO (no auto-title, gd_webp.c) File: XBM IO (no auto-title, gd_xbm.c) File: XPM Input (no auto-title, gdxpm.c) } # Group: Image Formats File: Color Quantization (gd_topal.c) File: Cropping (gd_crop.c) File: FreeType font rendering (gdft.c) File: gd.c (gd.c) File: gd.h (gd.h) File: gd_filename.c (gd_filename.c) File: gd_interpolation.c (gd_interpolation.c) File: gd_io.h (gd_io.h) File: gd_io_dp.c (gd_io_dp.c) File: gd_ss.c (gd_ss.c) File: gd_version.c (gd_version.c) File: gdColorMapLookup (gd_color_map.c) File: gdFree (gdhelpers.c) File: gdfx.c (gdfx.c) File: gdImageColorMatch (gd_color_match.c) File: gdImageNeuQuant (gd_nnquant.c) File: gdNewFileCtx (gd_io_file.c) File: gdNewSSCtx (gd_io_ss.c) File: Image Filters (gd_filter.c) File: License (license.txt) File: Matrix (gd_matrix.c) File: Transformations (gd_transform.c) Group: Built-in Fonts { File: Giant Font (no auto-title, gdfontg.c) File: Large Font (no auto-title, gdfontl.c) File: Medium Bold Font (no auto-title, gdfontmb.c) File: Small Font (no auto-title, gdfonts.c) File: Tiny Font (no auto-title, gdfontt.c) } # Group: Built-in Fonts Group: Index { Constant Index: Constants Index: Everything File Index: Files Function Index: Functions Macro Index: Macros Type Index: Types } # Group: Index libgd-2.3.0/docs/naturaldocs/project/libgd.css0000664000175000017500000000022113634445460016234 00000000000000/* Custom styles for the generated HTML, which are supposed to override the default styles */ p { text-indent: 0; margin-bottom: 1em; } libgd-2.3.0/docs/naturaldocs/images/0000775000175000017500000000000013634445460014325 500000000000000libgd-2.3.0/docs/naturaldocs/images/emboss.jpg0000664000175000017500000005051313634445460016243 00000000000000JFIFC       C  D!1"AQaq#2BRbr%3$s dC!1AQ"aq2#BrR$3b4s ?d}R4vzzqs_LqR5@@oli1UkvUG *]  KkRV\ 6<c[dJ,fUd-nޖZGQ[!$c,=;|ǀNhAfGdž`%lѬpha^7.G:h%s gH +T{%$ؿoz.;4tOZ0$X:6Ly8dXU"5)|72\nNHNW͟Нw=tY28W)C: ;9&\e o0OL0EMʋ=[Q]WO m=XZIvF@KhXBsZdf|ks~X[%YChtK8|y!.-;KqI@H|լ?:B#Ey/d(,dXڠm6=1{bEa ssN'x)WI$6 J_4MӊނQV-++w@t~J,++˥ͳ*zlz&(LxÑ -2DŅcNCNƻ%%8#5u` FTܯ6 J.v乹Q;r7Grk~=eP|蔚64 uKl},R3-/CDTɶ s;RWϘ|AӁO2ҁ~uK<Z̲uL򏏂E/$Ew,jvLQ~aF~ ;3F LtqYp$pO^-,]Vh樎HVW#kzo_}F QĐ껤rHt H;ʊ(fXw<|f]KpDKE BTS80IMd "Tt4UЯ =8NUl|Oh@ _L%r>c+wS* X_~&&V ȑ>_{sJ,xi,FT n&=w%r@|-Y^oLc$> B$$^JMaOO`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$n7eգSKx:oR锦56;Гn Mx9|ͭ!Sˇq% }s Ts5Ňj5Zc,iQ)N`z;'zf.y9j_A*c:T@AA:GBFpAiv#a*XJlH؀G$VQF@O-r^mI7Rlg j0S{}( aM RJUe +5 Eq`t-+p4Z$e$-UR,}R=F]*Yh%iKܬerZ3+pc.G~iCr_^;;TlFA$9IiGMrCezWTqlSoъiPR~Xcvs`8é&8meʱuRIJndbaZ WX,ۚ^yr\,Whb8Xq;*]GGN8uRWuKvj1"k rmPZWBkdq>.#B֚3]{R6EBl H4c>ьߎ)Hi.G 'VAB4zl^DUXzCu1ĺ[m7*eEH裂Cð K[óˀ:4 TD*"Vu%,*}`I=7{H 2+/%˭'eA=/\7FMz YmƔwP ( zWe}vsmB[]-ԁKiLJQ R.T$RV'Q MC]TZ"⡰Sae).eCBrF[ro6tM;dG YBJ R(QMO2h1i`25&X8H!:?2~\zr1~bPTT^U]{Ln }O%\TTlGA>W`r-bGC`i;\6qP͇Ǣ8U2-B:ZT˳~rTd^bD97)=qKU+T]Oz =<ʹ}ҩΊYEhSA_VYrr]WŊ7ugsX7A-W$plMa >H0j .Ur*.ӧL@0/KEe DwJ\ɕ0ʪfIpVf /*UMUNSpDz{MRP8TJS.Nai)¹O7+k RTq{ [oLKSWP!@!cSK5?N#&*͍gUyhCRC>^ #>u q@T3tXҧGWlSjB02p=LrSr;}/**SbR:.FmLnJLtiR&y_4xq,JoBD\kx5"Hz+lӑ#ReZ}]Ħ)WSJa]8IzV_MaU)3܈ÕE KRu(ԥkS.z*;F#_eB ڌ-p~_[^3b*֭N{h}UP%yw%rtW^SZS:C0lp}.mu^M84ZL_dyuPeӯ!UUq7?.J^LdѡʛtJǃF|:۴Вe.;N\7ŇErsS?N=; d MmZh(Ow|PҞȫFlibgd-2.3.0/docs/naturaldocs/nobgd.pl0000664000175000017500000000227013635665516014436 00000000000000#!/usr/bin/env perl # Copy C source files (i.e. *.[ch]) from $src to $dest, first # stripping out uses of the macro BGD_DECLARE(). A line must # begin with 'BGD_DECLARE' for it to be considered a use. use strict; use warnings; use File::Basename; my ($src, $dest) = @ARGV; die "Invalid arguments: nobgd.pl \n" unless ($src && $dest && -d $src && -d $dest); for my $file (glob("$src/*.c"), glob("$src/*.h")) { do {local $| = 1; print "."}; fixup($file, $dest); } print "\n"; sub fixup { my ($src, $destDir) = @_; my $dest = $destDir . "/" . basename($src); my $content = slurp($src); $content =~ s{^ BGD_DECLARE \( ([^)]+) \)}{$1}gmx; unslurp($dest, $content); } sub slurp { my ($filename) = @_; local $/; # no file separator my $data; open my $fh, "<", $filename or die "Unable to read file '$filename'.\n"; $data = <$fh>; close($fh); return $data; } sub unslurp { my ($filename, $data) = @_; die "Refusing to overwrite file '$filename'\n" if -f $filename; open my $fh, ">", $filename or die "Unable to open '$filename' for writing.\n"; print {$fh} $data or die "Error writing file '$filename'\n"; close ($fh); } libgd-2.3.0/docs/naturaldocs/run_docs.sh0000775000175000017500000000273613635665516015172 00000000000000#!/bin/sh set -e usage() { echo "Usage: run_docs.sh [--nonfatal]" echo "Generate the manual for gd!" if [ $# -ne 0 ] ; then printf 'ERROR: %b\n' "$*" exit 1 else exit 0 fi } nd() { # Figure out the name of this tool. if which naturaldocs 2>/dev/null ; then return elif which NaturalDocs 2>/dev/null ; then return else return 1 fi } cd "$(dirname "$0")" if [ $# -eq 1 ] ; then case $1 in --nonfatal) if ! nd >/dev/null ; then echo "skipping doc generation -- please install naturaldoc!" exit 0 fi ;; -h|--help) usage ;; *) usage "unknown option: $1" ;; esac elif [ $# -ne 0 ] ; then usage "unknown options: $*" fi # Version number VERSION=`(cd ../../; perl config/getver.pl)` # Clear away old docs and ensure the doc dir. is present. rm -rf html mkdir html # Create a lightly-processed copy of the source to use as input. This # file skips all non-C code in src/ and removes the BGD_DECLARE() # macro from definitions so they don't show up in the docs. rm -rf tmp mkdir tmp perl nobgd.pl ../../src/ tmp/ # Add the external docs. echo "Title: License" | cat - ../../COPYING > tmp/license.txt sed -e "s/@VERSION@/$VERSION/g" preamble.txt > tmp/preamble.txt # ^^^ hack to get the version number in the docs. # Run naturaldocs to create the manual. $(nd) --rebuild --rebuild-output --documented-only \ -i tmp/ \ -img images/ \ -o html html \ --project project/ \ -s Default libgd # And cleanup the temp files. rm -rf Data tmp libgd-2.3.0/docs/naturaldocs/preamble.txt0000664000175000017500000000634113635665516015343 00000000000000Title: About LibGD @VERSION@ What is gd?: gd is a graphics library. It allows your code to quickly draw images complete with lines, arcs, text, multiple colors, cut and paste from other images, and flood fills, and write out the result as a PNG or JPEG file. This is particularly useful in World Wide Web applications, where PNG and JPEG are two of the formats accepted for inline images by most browsers. gd is not a paint program. If you are looking for a paint program, you are looking in the wrong place. If you are not a programmer, you are looking in the wrong place, unless you are installing a required library in order to run an application. gd does not provide for every possible desirable graphics operation. It is not necessary or desirable for gd to become a kitchen-sink graphics package, but version 2.0 does include most frequently requested features, including both truecolor and palette images, resampling (smooth resizing of truecolor images) and so forth. gd basics: using gd in your program: gd lets you create PNG or JPEG images on the fly. To use gd in your program, include the file gd.h, and link with the gd library and the other required libraries; the syntax for most Unix flavors is: > -lgd -lpng -lz -ljpeg -lfreetype -lm Assuming that all of these libraries are available. If you want to use the provided simple fonts, include gdfontt.h, gdfonts.h, gdfontmb.h, gdfontl.h and/or gdfontg.h. For more impressive results, install FreeType 2.x and use the gdImageStringFT function. If you are not using the provided Makefile and/or a library-based approach, be sure to include the source modules as well in your project. Here is a short example program. (For a more advanced example, see gddemo.c, included in the distribution. gddemo.c is NOT the same program; it demonstrates additional features!) >/* Bring in gd library functions */ >#include "gd.h" > >/* Bring in standard I/O so we can output the PNG to a file */ >#include > >int main() { > /* Declare the image */ > gdImagePtr im; > /* Declare output files */ > FILE *pngout, *jpegout; > /* Declare color indexes */ > int black; > int white; > > /* Allocate the image: 64 pixels across by 64 pixels tall */ > im = gdImageCreate(64, 64); > > /* Allocate the color black (red, green and blue all minimum). > Since this is the first color in a new image, it will > be the background color. */ > black = gdImageColorAllocate(im, 0, 0, 0); > > /* Allocate the color white (red, green and blue all maximum). */ > white = gdImageColorAllocate(im, 255, 255, 255); > > /* Draw a line from the upper left to the lower right, > using white color index. */ > gdImageLine(im, 0, 0, 63, 63, white); > > /* Open a file for writing. "wb" means "write binary", important > under MSDOS, harmless under Unix. */ > pngout = fopen("test.png", "wb"); > > /* Do the same for a JPEG-format file. */ > jpegout = fopen("test.jpg", "wb"); > > /* Output the image to the disk file in PNG format. */ > gdImagePng(im, pngout); > > /* Output the same image in JPEG format, using the default > JPEG quality setting. */ > gdImageJpeg(im, jpegout, -1); > > /* Close the files. */ > fclose(pngout); > fclose(jpegout); > > /* Destroy the image in memory. */ > gdImageDestroy(im); >} > libgd-2.3.0/docs/README.CMAKE0000664000175000017500000000276113635665516012175 00000000000000||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| To build GD using CMake, all you need is (add the cmake options if you need any or if the default libs and include paths are not the default) : In a sub directory of the top level: $ mkdir bld $ cd bld $ cmake -DBUILD_TEST=1 .. $ make The available options are: ENABLE_GD_FORMATS=1 ENABLE_PNG=1 ENABLE_LIQ=1 ENABLE_JPEG=1 ENABLE_TIFF=1 ENABLE_ICONV=1 ENABLE_FREETYPE=1 ENABLE_FONTCONFIG=1 ENABLE_XPM=1 ENABLE_WEBP=1 ENABLE_RAQM=1 You can optionally run our tests suite using: $ ctest . Or if you like to build in the source tree: $ cmake -DBUILD_TEST=1 . $ make $ ctest . Add "-DCMAKE_BUILD_TYPE=DEBUG" if you like to have a debug version. To install, just run: $ make install Or to to install to a different path: $ make install DESTDIR=/some/other/place Typical usage with only PNG enabled: This command generates VS7 project files and add some custom libraries and includes directories (libpng in this case): cmake -DCMAKE_GENERATOR="Visual Studio 7 .NET 2003" -DENABLE_PNG=1 -DCMAKE_LIBRARY_PATH=c:\gd_build\gd_deps\lib -DCMAKE_INCLUDE_PATH=c:\gd_build\gd_deps\include c:\libgd_src A typical CMake call to build using the MinGW tools: cmake -G"MinGW Makefiles" -DCMAKE_LIBRARY_PATH=c:\mingw\lib -DCMAKE_INCLUDE_PATH=c:\MinGW\include -DENABLE_JPEG=On -DBUILD_TEST=On -DCMAKE_RELEASE_TYPE=DEBUG ..\libgd_head Given that your MinGW install is under c:\mingw and that you install all libraries using the /usr prefix libgd-2.3.0/docs/INSTALL.Solaris0000664000175000017500000000112413634445460013123 00000000000000Solaris CAVEATS =============== If you are using GNU iconv library installed in f.e. /opt, you will need to add the header location to CMAKE= in configure invokation to ensure that the system iconv.h header is not used when searching for iconv library. The resulting ./configure invokation would look something like this: MAKE=gmake CC="gcc -m64" ./configure --prefix=/opt/local \ CFLAGS="-I/opt/local/include -DHAVE_ICONV -O2 -fomit-frame-pointer -pipe -m64" \ --with-png=/usr --with-freetype=/opt/local For more information and discussion see: https://bitbucket.org/libgd/gd-libgd/issue/76 libgd-2.3.0/docs/INSTALL0000664000175000017500000003657713635665516011543 00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the `make install' phase executed with root privileges. 5. Optionally, type `make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior `make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type `make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide `make distcheck', which can by used by developers to test that all other targets like `make install' and `make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. This is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of `${prefix}', so that specifying just `--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to `configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the `make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, `make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of `${prefix}'. Any directories that were specified during `configure', but not in terms of `${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the `DESTDIR' variable. For example, `make install DESTDIR=/alternate/directory' will prepend `/alternate/directory' before all installation names. The approach of `DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of `${prefix}' at `configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of `make' will be. For these packages, running `./configure --enable-silent-rules' sets the default to minimal output, which can be overridden with `make V=1'; while running `./configure --disable-silent-rules' sets the default to verbose, which can be overridden with `make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. HP-UX `make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as `configure' are involved. Use GNU `make' instead. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. libgd-2.3.0/docs/ChangeLog.historic0000664000175000017500000001560113635665521014064 000000000000004d29684 CVE-2015-8874 fe199ed release gd-2.2.0 6556574 ChangeLog: update for gd-2.2 branching c6c52b3 dist: drop bzip2 tarball 7932944 libtool: set revision based on package version 119b38e travis: switch to the local bootstrap script f79d0a8 m4: use an older openmp macro e6bf771 docs: clean up a bit and support `NaturalDocs` c9a4a85 libimagequant: fix integration 6e054c4 gdlib-config: mark it as deprecated #140 b64c996 build: fix GDLIB_REVISION collision 10a4915 tests: rework handling of temp output files 1239832 configure/cmake: unify header checks and config.h generation 32c5072 bootstrap: switch to autoreconf f7471f2 tests: add missing gdimagesetpixel tests e59a0e8 tests: add missing test files to dist 2733b62 tga: cleanup/simplify a bit 96d5687 tga: fix two memory corruption bugs #159 8f50777 tests: get working under lsan (leak sanitizer) e530663 png: fix some memory leaks w/invalid images 82b80dc gif: avoid out-of-bound reads of masks array #209 4dc1a2d xbm: avoid stack overflow (read) with large names #211 b083ec1 cmake: update build files to match autotools more 2db153a webpng: rewrite & cleanup to use getopt b12f217 configure: enable -Werror by default when available 75c38f6 fix various gcc/clang warnings found with -Wall 8bdfede cmake: document the common build/install steps #179 6f3552d travis: drop multiarch settings d549193 travis: drop nasm apt install cd15d9b drop unused make_drone.io b32324d travis: enable the clang compiler 05d70f6 tests: fix leaks in test code 4e61c9b tiff: fix leak in gdImageCreateFromTiffCtx() 658f168 gd2: fix double free when processing invalid headers 0315e44 tests: gd2: add general read test helpers #208 3c47bb4 tests: do not build libgdtest.a all the time 09d2d01 webp: fix double free cd1d964 libgd: update & sort cmake installed headers #164 161ac24 travis: rework & improve main script logic 613e8c9 tests: split up makefile entries 92c3209 tests: fix distclean errors 3768c9e travis: switch to non-sudo mode adc8598 tests: unify cmake test code into a single macro ef9b000 build: handle renamed README file e16310b libgd: update & sort source lists a44e1ba tests: gdimageline: add missing -lm linkage 3b0eabf tests: add missing cmake files gdimagefile/gdimagefilter 4c6a07b gitignore: split up test entries 6455304 tests: drop EXTRA_PROGRAMS 982d488 revert... unneeded a5b5c27 Fix memory leak 2bb97f4 gd2: handle corrupt images better (CVE-2016-3074) fc14a8c README: document supported image formats 5277b6f Merge pull request #199 from mattbo/tiff_dpi_support 4e53ed7 Added support for reading and writing TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION. Includes a unit test. 6913dd3 bmp: use double variant of ceil func f29f7db Merge pull request #198 from sherif-elmetainy/master e87ec88 :fix and unit test for crash issue in gdImageFillTiled 258dbf2 README: link to the CONTRIBUTORS file 6895576 README: reformat in markdown for better github display 73ab7c7 Merge pull request #182 from leoyanggit/fix_build_static e08acb0 Merge pull request #153 from davidchappelle/master 78dad44 circletexttest: check image creation return value a9346dd travis: build/check in parallel e5d1e9d Fail Travis builds if make check fails b6211d9 tests: fix build failures when jpeg/freetype are disabled 3667974 Merge pull request #193 from vapier/master f732d74 Merge pull request #194 from jasonwilliams200OK/master 859bcf7 git,repo: Ignore build spew. 10a8761 Merge pull request #192 from jasonwilliams200OK/master 8f69034 code: Adds missing methods for absent libz case. a4f5d5d configure: unify library tests a9205e5 configure: require autoconf-2.64/automake-1.11 2e04a67 win: Use an external snprintf hook. 9104bba configure: use AS_HELP_STRING everywhere 1dc5280 Merge pull request #191 from jitendarKumar/patch-8 dd48286 Logical Operation && has no Impact on expression result . 52dad8b Update git ignore file to exclude cmake build directory 9ea3097 Prevent duplicate macro definition errors/warnings 40f42c0 Fix compiler warnings when checking interpolation_id 7147b64 Make BUILD_SHARED_LIBS configurable 4751b60 gdImageScaleTwoPass memory leak fix 4e1ce66 Merge pull request #166 from jitendarKumar/patch-5 1219113 Merge pull request #155 from jitendarKumar/patch-2 38e016f Merge pull request #156 from jitendarKumar/patch-3 4e70131 Merge pull request #157 from jitendarKumar/patch-4 895be03 Indentation corrected. 7b6261c Dereference null return value in gdtest.c 7297c94 Merge pull request #163 from wangkun611/webp_cmake 917fa11 fix CMake error when ENABLE_WEBP 7ec030c add gdImageCreateFromWebpPtr impl eaca20f Remove Deadcode in gd.c 312b020 Update gd_topal.c 18bbbfa Merge pull request #148 from smcdow/master f2712a6 Remove Deadcode in gd_nnquant.c 4f99667 Merge pull request #154 from jitendarKumar/patch-1 4cf5307 Missing nullcheck in gd_topal.c d403501 Dereference null return value in gdfx.c ac527e6 delete webpimg.c references c9dac2d Fix segfault in gdImageFlipVertical() for non-TrueColor images. a9f3a83 Merge pull request #146 from dmelani/rotation_fix 4e833d3 Added missing zero. b12712e Merge pull request #143 from vapier/master 2618996 missing file in archive, need for autoreconf 6bdfa68 ignore new tests 1c33d94 tests: fix header inclusion e0aafd0 Add Debian/Ubuntu M-A specific configure options 3a72f64 lint.travis-ci.org doesn't know version and description in Coverity addon 87804f6 Comment-out Coverity encrypted token 2b8bfd4 Don't fail when make check fails; Add coverity configuration for coverity_scan branch 10a92e7 Even more missing semicolons 09783e4 Add missing semicolons to .travis.yml 25cfac5 Replace with 8* 2be44f0 Don't upgrade build environment now 5edbc3f Use autotools on linux to build libgd 9201900 Change issue tracker URL to github ba081d9 Merge branch 'GD-2.1' 1481c41 fix #140, versions placeholder not replaced in gdlib-config 88fb8fc typo 4ef5903 fix some leaks on error 824a3aa remove remaining libvpx related code a79232c fix #129, drop VPX usage in favor of libwebp 9a205a1 Merge branch 'GD-2.1' 511160e fix #82, fix 1 bit tiff support 7a567db Merge branch 'GD-2.1' aa1d71c fix #135, fix logic in gdkanji 58990de Merge branch 'master' of https://bitbucket.org/libgd/gd-libgd 2f85291 fix #139, patch by Peter Breitenlohner 255a9e4 fix visibility test 358950c remove this test, too big 5c48b49 fix #91, actually add tests, bug already fixed f680978 fix #94, HAVE_VISIBILITY may be defined but set to 0 b126726 fix #89, fix leaks on tiff read acdebc8 fix #84, double free and overrun due to wrong alloc type, uint8_t instead of int 490bc3e free palette on error 289c829 port fix for saner boolean usage from https://reviews.facebook.net/D31695 2b3130e fix #90, actually copy src to dst b1f4313 add tests for #111 3d7c3f5 fix #111, invalid quantization ac1ff44 update results to match modern freetype builds c7e5dc6 fix #111, invalid default quantization 81d341c fix #113, NULL deref in gdfx 2f40d52 Fix #138, VS 2010 build error due to double semi column 0e9c4e0 master is now 2.2.0-dev 06b2e4f back to dev libgd-2.3.0/docs/NEWS.historic0000664000175000017500000001326213635665521013012 00000000000000'GD NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| GD HEAD 169, gdColorMapLookup() answers the RGB values according to given color map (Takeshi Abe) 176, Added support of variable resolution by Alan Boudreault (Takeshi Abe) 184, new filter gdImagePixelate() by Kalle Sommer Nielsen (Takeshi Abe) GD 2.0.36 (2007-11-xx) 145, Fixed leak in gdImageCopyResized (Patch by Brent Bottles) 81, Fixed gdImageCopy with true color image, the transparent color was ignored (Pierre, Mark Fisher) 88, Fixed support of PNG grayscale image with alpha channel (Pierre) 95, Added Netware builds script (Guenter) 97, ease the creation of regexp to match symbols/functions in the sources (Guenter) 100, spurious horizontal line drawn by gdImageFilledPolygon (Takeshi Abe) 101, _gdCreateFromFile() can crash if gdImageCreate fails (Mattias Bengtsson) 105, gdImageCreateFrom*Ptr() can crash if gdNewDynamicCtxEx() fails (Mattias) 106, gdImageRectangle draws 1x1 rectangles as 1x3 rectangles (Pierre) 109, Possible integer overflow in gdImageFill() (Mattias Bengtsson) 111, Optimization for single pixel line not in correct order (Mattias) 112, gdImageColorDeallocate can write outside buffer (Mattias Bengtsson) 113, gdImageColorTransparent can write outside buffer (Mattias Bengtsson) 127, gdImageWBMPCtx can crash when createwbmp fails (Scott) 132, Fixed decoding of the html entity ϑ (Thomas Bonfort, Pierre) 133, Fixed configure script ignoring --with-png=DIR option (Scott) 166, Fixed handling 3-digit RGB and transparent color in XPM (Takeshi Abe) 173, Fixed the memory management in font_path() of gdft.c (Takeshi Abe) 174, Fixed that font_path() in gdft.c breaks reentrancy (Takeshi Abe) 180, Added a Makefile entry for tests/xpm (Takeshi Abe) 181, Fixed gd_gif_out.c to enable proper interlace 185, Fixed memory leaks in gdImageCreateFromXpm() (Takeshi Abe) 186, Fixed tiling true colour with palette image (Marko Vukovic, Takeshi Abe) 193, Fixed gdImagePng() with no color allocated (Martin McNickle, Takeshi Abe) 196, Fixed a memory leak in newDynamic() (Steve Fossen) 198, Fixed useFontConfig() to work as documented (Mojca Miklavec, Ethan Merritt) GD 2.0.35 (2007-06-21) 41, Fix valgrind error in gdImageFillTiled (Nuno Lopes) 45, Add missing custom cmake macros (required for the tests suite) 51, Avoid signature buffer copy in gd_gif_c (Nuno Lopes) 48, Race condition in gdImageStringFTEx (Antony Dogval, Pierre Scott MacVicar) 52, Reading GIF images is not thread safe (static usage in private functions) (Roman Nemecek, Nuno Lopes, Pierre) 60, GIF Local palette is read twice 66, GIF, Use local frame dimension when possible instead of the logical screen size (Pierre) 68, OpenVMS build support, see VMS/README.VMS for the details (Alexey Chupahin) 70, GIF, do not try to use the global colmap if it does not exist (Nuno Lopes, Pierre) 72, gdImageAALine draws axis lines with two pixels width (Pierre) 73, TTF usage doesn't work properly on Netware (Guenter Knauf, Scott MacVicar) 74, gdImageArc CPU usage with large angles (Pierre) 78, gdImageFilledRectangle regression fixed when used with reversed edges (Pierre) 86, Possible infinite loop in libgd/gd_png.c, flaw found by Xavier Roche (Pierre) 87, Fixed segfault when an invalid color index is present in a GIF image data, reported by Elliot (Pierre) 89, Possible integer overflow in gdImageCreateTrueColor (Pierre) 94, gdImageCreateXbm can crash if gdImageCreate fails (Pierre) GD 2.0.34 (2007-02-07) 3, Initialize variables in tweenColorTest, fix cache 4, gdImageFill, multiple segfaults with patterns or invalid arguments 5, gdImageRectangle draws corners twice 6, GIF Output does use the transparent color with truecolor images 7, Multiple security issues in GIF loader 8, gdIimageCopy doen't use the alpha channel 9, Add autogen and and misc configure/makefile (Lars Hecking) 10, gdImageFilledEllipse does not respect transparency 11, gdImageCreateFromPng* crashes with empty file 12, gdImageCreateFromPngCrx, initialize the signature buffer not the infile 13, leak in jinit_2pass_quantizer (gd_topal.c) 14, Added santiy checks for possible memory allocation errors 15, gdImageCreatePaletteFromTrueColor, later color allocations overwrite the palette colors (Rob Leslie) 16, Obscure error on Sun's compiler in entities.tcl (John Ellson/Graphviz) 17, gdImageCreate, invalid gdFree call when overflow2 fails 18, HWB_Diff, invalid usage of abs instead of fabs (Nick Atty) 19, Fixed gdImageCopyMergeGray when used with a true color image 20, transparency preservation in gdImageCopyRotated 21, Out of range checks in gdImageSetAAPixelColor 22, gdFontCacheSetup does not stop on error 23, Errors when gdImageStringFTEx is called with an empty string (Kevin Scaldeferri) 24, gdft.c, uninitialized variable "charmap" and avoid divide-by-zero (John Ellson/Graphviz) 25, DISABLE_THREADS to permit disabling of thread support (John Ellson/Graphviz) 26, dynamicGetbuf, sourceGetbuf must return 0 for errors and EOF 27, gdSeek declaration is wrong 29, Windows native makefile (Edin Kadribašić) 30, restores the ability to recognize and handle a font with Adobe-specific character encoding. Added gdFTEX_Adobe_Custom. 31, Shared library support on cygwin (Dr. Volker Zell) 32, Pattern-fill works incorrectly if tile is created via gdImageCreateTruecolor (Ethan Merritt) 33, malformed PNG image crashes (CRC error) 34, reading some gif images creates infinite loop 36, gdImageFillToBorder crashes when used with alpha 40, possible Buffer overflow in the gdImageStringFTEx function in gdft.c (CVE-2007-0455) (Kees Cook) libgd-2.3.0/docs/README.TXT0000664000175000017500000000334213635665516012030 00000000000000For documentation, browse index.html. Quick install guide: If the sources have been fetched from git, run bootstrap.sh [options]. From a released source, use: 1. Type './configure' 2. Type 'make install' Generic configuration instructions are in the file INSTALL. The following 3rd-party libraries will be used by gd if found by configure. While gd will compile and install even without these, we suggest that at least zlib and libpng are installed, and recommend that freetype and jpeg are installed as well: 1. zlib, available from http://www.gzip.org/zlib/ Data compression library 2. libpng, available from http://www.libpng.org/pub/png/ Portable Network Graphics library; requires zlib 3. FreeType 2.x, available from http://www.freetype.org/ Free, high-quality, and portable font engine 4. JPEG library, available from http://www.ijg.org/ Portable JPEG compression/decompression library 5. XPM, available from http://koala.ilog.fr/lehors/xpm.html X Pixmap library If any of these libraries are installed, but not detected by configure, you can use the following command line options: --with-png=DIR Without the DIR argument, configure will check for png header files and libraries in a default location. To switch off png support, use --without-png, or --with-png=no. If the DIR argument is specified, configure tries to find the png header files in DIR/include, and the libraries in DIR/lib. To accommodate OpenBSD ports, DIR/include/libpng is also checked if necessary. --with-freetype=DIR Dto. for freetype 2.x library. The search path for include files is DIR/include/freetype2. --with-jpeg=DIR Dto. for jpeg library. --with-xpm=DIR Dto. for xpm library. --with-tiff=DIR Dto. for TIFF library. libgd-2.3.0/docs/README.JPN0000664000175000017500000000357013635665516012003 00000000000000 gd ライブラリで日本語文字列を使う上での注意事項 山賀正人 (ma@yama-ga.com) gd-1.7.0 からはそのままで gdImageStringTTF() に対して SJIS encoding のフォントが使用できます。 ※ Unicode encoding のフォントに対しては日本語文字列を UTF-8 で 指定すれば日本語が表示できます。 つまり gdImageStringTTF() で SJIS encoding のフォントを指定すると 文字列は無条件に日本語であると解釈され、漢字コード (EUC, SJIS, 7bit JIS) が自動判別されて適切に処理されます。 更に UNICODE encoding のフォントに対しても JIS 系の日本語 (EUC, SJIS, 7bit JIS) を使用する場合は、コンパイル時に -DJISX0208 を付けてコンパイルしてください。 こうすると gdImageStringTTF() で指定された文字列に ASCII 以外の文字があると 無条件に日本語文字列であると解釈され、漢字コードを自動判別後に 適切に処理されます。 ただしこの場合は UTF-8 の日本語文字列を扱えなくなりますので、 ご利用の環境等に応じて -DJISX0208 を付けるか否かを決めてください。 漢字コードの変換に OS 付属の iconv() を使う場合は CFLAGS に -DHAVE_ICONV を付けてコンパイルしてください。 漢字コード変換の際にエラーが発生した場合に適切なメッセージを 表示するようになります。 ☆ EUC か SJIS か判別できなかった場合の漢字コードの判別方法 (1) 環境変数 LC_ALL, LC_CTYPE, LANG をこの順番でチェックする (2) 環境変数からも判別できなかった場合は UNIX ならば EUC、 Win32 ならば SJIS と見なす コンパイル時に -DSJISPRE を付けてコンパイルすれば、UNIX であっても SJIS を優先するようになります。 libgd-2.3.0/tests/0000775000175000017500000000000013635665565010766 500000000000000libgd-2.3.0/tests/gdimagetruecolortopalette/0000775000175000017500000000000013635665565016244 500000000000000libgd-2.3.0/tests/gdimagetruecolortopalette/Makemodule.am0000664000175000017500000000045413634445460020556 00000000000000libgd_test_programs += \ gdimagetruecolortopalette/bug00307 \ gdimagetruecolortopalette/php_bug_72512 if HAVE_LIBJPEG libgd_test_programs += \ gdimagetruecolortopalette/php_bug_67325 endif EXTRA_DIST += \ gdimagetruecolortopalette/CMakeLists.txt \ gdimagetruecolortopalette/php_bug_67325.jpeg libgd-2.3.0/tests/gdimagetruecolortopalette/bug00307.c0000664000175000017500000000100413635665516017466 00000000000000/** * Regression test for * * We're testing that an image that has been converted to palette with * GD_QUANT_NEUQUANT has its trueColor flag unset. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; im = gdImageCreateTrueColor(100, 100); gdTestAssert(gdImageTrueColorToPaletteSetMethod(im, GD_QUANT_NEUQUANT, 0)); gdImageTrueColorToPalette(im, 0, 256); gdTestAssert(!gdImageTrueColor(im)); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagetruecolortopalette/php_bug_67325.c0000664000175000017500000000160213634445460020506 00000000000000/** * Regression test for * * We convert a truecolor image to a palette image and check that no duplicated * white colors are in the resulting palette. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; int i, white; fp = gdTestFileOpen2("gdimagetruecolortopalette", "php_bug_67325.jpeg"); gdTestAssert(fp != NULL); im = gdImageCreateFromJpeg(fp); gdTestAssert(im != NULL); gdTestAssert(!fclose(fp)); gdTestAssert(gdImageTrueColorToPalette(im, 0, 256)); white = 0; for (i = 0; i < im->colorsTotal; i++) { if (im->red[i] == 255 && im->green[i] == 255 && im->blue[i] == 255) { white++; } } gdTestAssertMsg(white <= 1, "At most one white color palette entry expected, got %d\n", white); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagetruecolortopalette/CMakeLists.txt0000664000175000017500000000021613635665516020717 00000000000000LIST(APPEND TESTS_FILES bug00307 php_bug_72512 ) IF(JPEG_FOUND) LIST(APPEND TESTS_FILES php_bug_67325 ) ENDIF(JPEG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagetruecolortopalette/php_bug_72512.c0000664000175000017500000000104313634445460020477 00000000000000#include #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, im2; int error = 0; im = gdImageCreateTrueColor(100, 100); if (im == NULL) { gdTestErrorMsg("gdImageCreateTruecolor failed\n"); error = 1; goto exit; } gdImageColorTransparent(im, -1); gdImageTrueColorToPalette(im, 1, 3); gdImageColorTransparent(im, 9); im2 = gdImageScale(im, 1, 65535); if (im2 == NULL) { error = 1; goto freeim; } else { gdImageDestroy(im2); } freeim: gdImageDestroy(im); exit: return error; } libgd-2.3.0/tests/gdimagetruecolortopalette/php_bug_67325.jpeg0000664000175000017500000003245013634445460021216 00000000000000JFIF0100`8 2004:04:30 07:53:512004:04:30 07:53:51 k .H" 4 <\A~  t% "\@ pDq*r0IMG:PowerShot A70 JPEGFirmware Version 1.00D @3 I*@pR980100|( JFIFC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222H`" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?5} v"Vt<ڥ.qןz.7 ,ppOׅ<xBKN Z9lS/Uyj76W\:MЎ2?h U; 9-FYt*e~OnkG/m"P,cc_kWcQQ]Nnr䑗=Irb MiK;VNY"vGV_Vtq^E"ĐHx8e(>6H<Xi~# 8`1zf53>qR\qNћ-b{{q6s=1=&s )^TZB;IUp;`*PM8 >e^\(sJ"WQ}K*HyKֺ6?pwke&39kյfG Cscֽ,2 w9-kz0̌u +['Q5}+Vc0Fx<0{;Xc;~kVďI{=~cϧv]nc#!񓿑oN2M:+Uk sK%KGn{}xin]ΖUGq@O\EƫeyjQ Jd$"0TY?O5Q{4/kbsHQ~b# 7g9A67n|!t"b`ǔ+渋Bt[%;N1o~jYn0ڻ$?6cG}s3F*WO:rlvrҬ灎ރ__kk"o1qX]0Hy@;g8oivm$ N`)veJ+M=>eF<*^Mm 2G AM9Z,y@[.k&,Lvyl].znYb"ԗ*)L-4j ov|‹Nk3S[iqʁCg8qzU[6ƲF%zAi.ID4M"? 0QéYۇwVJpϹ}6%ʑb s3]u'HҦ9ϰ\揩鑬$1"m\ՓNGNSt]RKIg6`W:W#[2[2#)q+6Er v^ɠXꬒ/*?@IZQ(ϙ=2"2m{B$T g$Go*Ul=APy<kP\TBB`L;I=zz]yLD] +;9Hjc,9SPKxߔ yUjs~P8`|]{s1ȼB*jE(E۱XZN x?=>Jmn?x֊+cK \http://ns.adobe.com/xap/1.0/ Canon Canon PowerShot A70 Top-left 180 180 Inch 2004:04:30 07:53:51 Centered JPEG compression 180 180 Inch 1/25 sec. f/5,6 Exif Version 2.2 2004:04:30 07:53:51 2004:04:30 07:53:51 Y Cb Cr - 2 4,66 EV (1/25 sec.) 4,97 EV (f/5,6) 0,00 EV 3,34 EV (f/3,2) Pattern 7,8 mm 574 bytes undefined data FlashPix Version 1.0 sRGB 2048 1536 9846,154 9846,154 Inch One-chip color area sensor DSC Normal process Auto exposure Auto white balance 1,0000 Landscape R98 0100 2048 1536 C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222` B`Xl6؟o6ȃ!P3y*2] $9q[ɍsce/`:`ꨔa ?Sh܍`k,}#{s;u+[V,ք4Hih|LdTf<eMP=ZMP&]u&4pQotS-'IT (69t@l2.į39ZI!?J R=PX]2=?ELl~rZY>.2i{& faX[󠚬*(=4g >2EzKƧ͢/5V M%+9ahrOϹAzUy@{$!"#1$2A3 6? 2,9gw\]#^cuZ^mB+sqyS(ö ;yRf? mA)G٪\+@p#(ol,st5cUx!FAԹV9',ذ׳ck̗<"R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r, >jK7|7 O<{[)~>SS!]Ɨu<Ǜ܇D5Sԟl@ J#Ǐm&`~u1/=06|2੢W>=8g~,QTd@78ZڳL)ŠI;hVKq^X hTOhX|W FyqWזCJ&5X"V0?xQCiJwPH\_W:7ǣ!QtCٗoop=k_u8!^巀ISђ|x(sjiKa]4Ȉ`M72mq%#dSKr 4koyB' 7䷓Pzg+r */ #include "gd.h" #include "gdtest.h" static void draw_and_check_rectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int black, int red); static void draw_and_check_pixel(gdImagePtr im, int x, int y, int black, int red); int main() { gdImagePtr im; int black, red; im = gdImageCreate(110, 210); gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); red = gdImageColorAllocate(im, 255, 0, 0); draw_and_check_rectangle(im, 10, 10, 50, 50, black, red); draw_and_check_rectangle(im, 50, 60, 10, 100, black, red); draw_and_check_rectangle(im, 50, 150, 10, 110, black, red); draw_and_check_rectangle(im, 10, 200, 50, 160, black, red); gdImageSetThickness(im, 4); draw_and_check_rectangle(im, 60, 10, 100, 50, black, red); draw_and_check_rectangle(im, 100, 60, 60, 100, black, red); draw_and_check_rectangle(im, 100, 150, 60, 110, black, red); draw_and_check_rectangle(im, 60, 200, 100, 160, black, red); #if 0 /* save image for debugging purposes */ do { char *path; FILE *fp; path = gdTestFilePath2("gdimagerectangle", "point_ordering.png"); fp = fopen(path, "wb"); gdImagePng(im, fp); fclose(fp); gdFree(path); } while(0); #endif gdImageDestroy(im); return gdNumFailures(); } static void draw_and_check_rectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int black, int red) { int x, y; gdImageRectangle(im, x1, y1, x2, y2, black); x = (x1 + x2) / 2; y = (y1 + y2) / 2; draw_and_check_pixel(im, x, y1, black, red); draw_and_check_pixel(im, x1, y, black, red); draw_and_check_pixel(im, x, y2, black, red); draw_and_check_pixel(im, x2, y, black, red); } static void draw_and_check_pixel(gdImagePtr im, int x, int y, int black, int red) { int color; color = gdImagePalettePixel(im, x, y); gdTestAssertMsg(color == black, "expected color %d, but got color %d\n", black, color); gdImageSetPixel(im, x, y, red); } libgd-2.3.0/tests/gdimagerectangle/github_bug_00172.c0000664000175000017500000000147213635665516017204 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int black, white; int error = 0; int xs = 300, xe = 350, i; im = gdImageCreateTrueColor(400, 200); if (im == NULL) { gdTestErrorMsg("gdImageCreate failed.\n"); return 1; } white = gdImageColorAllocate(im, 255,255,255); black = gdImageColorAllocate(im, 0,0,0); gdImageFilledRectangle(im, 0, 0, 400,200, white); gdImageRectangle(im, xs, 95, xe, 95, black); for (i = xs; i <= xe; i++) { int c = gdImageGetPixel(im, i, 94); if (c != white) { error |=1; } } for (i = xs; i <= xe; i++) { int c = gdImageGetPixel(im, i, 95); if (c != black) { error |=1; } } for (i = xs; i <= xe; i++) { int c = gdImageGetPixel(im, i, 96); if (c != white) { error |=1; } } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagerectangle/bug00299.c0000664000175000017500000000126713634445460015510 00000000000000/** * Regression test for * * We test that thick rectangles are drawn as desired. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int black; im = gdImageCreate(70, 70); gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); gdImageSetThickness(im, 4); gdImageRectangle(im, 10,10, 50,50, black); gdImageRectangle(im, 10,60, 50,60, black); gdImageRectangle(im, 60,10, 60,50, black); gdImageRectangle(im, 60,60, 60,60, black); gdAssertImageEqualsToFile("gdimagerectangle/bug00299_exp.png", im); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagerectangle/Makemodule.am0000664000175000017500000000051313634445460016556 00000000000000libgd_test_programs += \ gdimagerectangle/bug00003 \ gdimagerectangle/bug00106_gdimagerectangle \ gdimagerectangle/github_bug_00172 \ gdimagerectangle/point_ordering if HAVE_LIBPNG libgd_test_programs += \ gdimagerectangle/bug00299 endif EXTRA_DIST += \ gdimagerectangle/CMakeLists.txt \ gdimagerectangle/bug00299_exp.png libgd-2.3.0/tests/gdimagerectangle/CMakeLists.txt0000664000175000017500000000026513634445460016720 00000000000000LIST(APPEND TESTS_FILES bug00003 bug00106_gdimagerectangle github_bug_00172 point_ordering ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00299 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagerectangle/bug00003.c0000664000175000017500000000076213634445460015466 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int c1,c2,c3,c4; im = gdImageCreateTrueColor(100,100); gdImageRectangle(im, 2,2, 80,95, 0x50FFFFFF); c1 = gdImageGetTrueColorPixel(im, 2, 2); c2 = gdImageGetTrueColorPixel(im, 80, 95); c3 = gdImageGetTrueColorPixel(im, 80, 2); c4 = gdImageGetTrueColorPixel(im, 2, 95); gdImageDestroy(im); if (0x005e5e5e == c1 && 0x005e5e5e == c2 && 0x005e5e5e == c3 && 0x005e5e5e == c4) { return 0; } else { return 1; } } libgd-2.3.0/tests/gdimagerectangle/bug00299_exp.png0000664000175000017500000000020513634445460016715 00000000000000PNG  IHDRFFKpPLTEU~ pHYs+%IDAT(c`6?~"6fHĚL $$`IENDB`libgd-2.3.0/tests/gdimagerectangle/bug00106_gdimagerectangle.c0000664000175000017500000000076213634445460021034 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int c1,c2,c3,c4; im = gdImageCreateTrueColor(10,10); if (!im) { return 1; } gdImageRectangle(im, 1,1, 1,1, 0x50FFFFFF); c1 = gdImageGetTrueColorPixel(im, 1, 1); c2 = gdImageGetTrueColorPixel(im, 2, 1); c3 = gdImageGetTrueColorPixel(im, 1, 2); c4 = gdImageGetTrueColorPixel(im, 2, 2); gdImageDestroy(im); if (0x005e5e5e == c1 && 0x0 == c2 && 0x0 == c3 && 0x0 == c4) { return 0; } else { return 1; } } libgd-2.3.0/tests/gdimageline/0000775000175000017500000000000013635665565013233 500000000000000libgd-2.3.0/tests/gdimageline/gdimageline_aa_c_1_exp.png0000664000175000017500000000030213634445460020145 00000000000000PNG  IHDRd ~l)IDATH1 E "HӡZ dG ,' 3!ѷ A"֠#!9~G̊vK)ˑv!;6ZLgr*BJ%;}tEԃ IENDB`libgd-2.3.0/tests/gdimageline/gdimageline_aa_a_1_exp.png0000664000175000017500000000031213634445460020144 00000000000000PNG  IHDR d06IDATHA w?}`dkcK  158x0qĉ!Zq`Ҭ+A(f;HAb9kcRWA(hu A(iNy߳ +isz i܊]ʹ^a]v$q*[+.IENDB`libgd-2.3.0/tests/gdimageline/bug00315.c0000664000175000017500000000154113635665516014462 00000000000000/** * Regression test for * * We're testing that a single-pointed gdImageAALine() is drawn as a single * non-antialized pixel, according to (two-pointed) vertical and horizontal * lines. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int white, black; char *path; im = gdImageCreateTrueColor(6, 6); white = gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0,0, 5,5, white); gdImageLine(im, 4,4, 4,4, black); gdImageLine(im, 1,4, 2,4, black); gdImageLine(im, 4,1, 4,2, black); gdImageSetAntiAliased(im, black); gdImageLine(im, 1,1, 1,1, gdAntiAliased); path = gdTestFilePath2("gdimageline", "bug00315_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimageline/gdimageline_bug5.c0000664000175000017500000000231113634445460016470 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { /* Declare the image */ gdImagePtr im, ref; /* Declare output files */ /* FILE *pngout; */ int black, white; im = gdImageCreateTrueColor(63318, 771); /* Allocate the color white (red, green and blue all maximum). */ white = gdImageColorAllocate(im, 255, 255, 255); /* Allocate the color white (red, green and blue all maximum). */ black = gdImageColorAllocate(im, 0, 0, 0); /* white background */ gdImageFill(im, 1, 1, white); /* Make a reference copy. */ ref = gdImageClone(im); gdImageSetAntiAliased(im, black); /* This line used to fail. */ gdImageLine(im, 28562, 631, 34266, 750, gdAntiAliased); gdTestAssert(gdMaxPixelDiff(im, ref) > 0); #if 0 { FILE *pngout; /* Open a file for writing. "wb" means "write binary", * important under MSDOS, harmless under Unix. */ pngout = fopen("test.png", "wb"); /* Output the image to the disk file in PNG format. */ gdImagePng(im, pngout); /* Close the files. */ fclose(pngout); } #endif /* Destroy the image in memory. */ gdImageDestroy(im); gdImageDestroy(ref); return gdNumFailures(); } libgd-2.3.0/tests/gdimageline/gdimageline_aa_a_0_exp.png0000664000175000017500000000030613634445460020146 00000000000000PNG  IHDR d06IDATHA 7?>7՘H/xQvQ$"gp) &!"ώ B#qPv #include #include "gd.h" #include "gdtest.h" int gen_image(const char* filename, int idx, int reverse_x, int width, int height, int bgd) { double gradient = height / (width*2.0); int offset = idx*width; int x1,y1,x2,y2, error = 0; gdImagePtr im = gdImageCreateTrueColor(width,height); if (bgd==1) { gdImageFilledRectangle(im,0,0,width-1,height-1, gdTrueColorAlpha(255, 255, 255, 0)); } else { gdImageFilledRectangle(im,0,0,width-1,height-1, gdTrueColorAlpha(255, 255, 0, 0)); } gdImageSetAntiAliased(im, gdTrueColorAlpha(0,0,0,0)); /* test for potential segfault (introduced with AA improvements, fixed with the same patch - but I didn't notice it until later).*/ gdImageLine(im,-1,-1,-1,-1,gdAntiAliased); x1 = floor(reverse_x * -width + 0.5); y1 = (offset-width) * gradient + 0.5; x2 = floor(reverse_x * width*2 + 0.5); y2 = floor((offset+width*2) * gradient + 0.5); /* draw an AA line */ gdImageLine(im, x1, y1, x2, y2, gdAntiAliased); gdImageLine(im, 0, im->sy - 1, im->sx, im->sy - 1, 0x40FF0000); if (!gdAssertImageEqualsToFile(filename, im)) { gdTestErrorMsg("gdAssertImageEqualsToFile failed: <%s>\n", filename); error = 1; } gdImageDestroy(im); return error; } int main() { int error = 0; error |= gen_image("gdimageline/gdimageline_aa_a_0_exp.png", 0, 1, 10, 100, 1); error |= gen_image("gdimageline/gdimageline_aa_a_1_exp.png", 1, 1, 10, 100, 2); error |= gen_image("gdimageline/gdimageline_aa_b_0_exp.png", 2, -1, 10, 100, 1); error |= gen_image("gdimageline/gdimageline_aa_b_1_exp.png", 1, -1, 10, 100, 2); error |= gen_image("gdimageline/gdimageline_aa_c_0_exp.png", 0, 1, 100, 10, 1); error |= gen_image("gdimageline/gdimageline_aa_c_1_exp.png", 1, 1, 100, 10, 2); error |= gen_image("gdimageline/gdimageline_aa_d_0_exp.png", 2, -1, 100, 10, 1); error |= gen_image("gdimageline/gdimageline_aa_d_1_exp.png", 1, -1, 100, 10, 2); return error; } libgd-2.3.0/tests/gdimageline/github_bug_167_exp.png0000664000175000017500000001113113634445460017233 00000000000000PNG  IHDR  ᾔ+PLTEU~ pHYs+IDATxn$Iƫ#kO%`4L'ix9r0;5pě@0p cʮ*d%CNݿuWFƗ*VXbŊ+VXbŊ+VXbŊ+VXbŊ+VXb[<>>. D4˜wmȫ.6d@y&L捯nr@^  w ) /6!1}yn(l3C!KndCҋi64bMz1 70}F (襗^^z &Ŷ,SdEzM-7^/$@KQK57ןg~5b+ dAnB.x Bҋ"^L|bBj3 E2C.R PLU FXzq#(B~ Xz1p /…\txq!ΜTz!RŅTz!8 ҋvሒJ/6b? Ҫr ņ [s ;1P)(Q!dFY.2J/%(K ߻U%eUzIwHzI |,zÌ* 0^p^,HІ+z@@A QQI/@5%~MzVz Z%h#J"V!o_yycI!Y+T$$%d! EY P')饁ke%KdFY^2QX J(QX Pv)bxa %^ҋ9(bCA ^lH~(!wp^3uW8!t>wAЂd. -JżCS UOE@U/> uBFY^|QU/I/&&^FYz `YŞ@ !K!(K!( \#(^(AF^Co"饅(tK~ɌBWw ǕQpn8@Ȍs @ 2P0KQ-A-\H/ā/pA%KJ/_^zEzٗH8% Fe*dGJ=[>(S%|Q $*fFN2+Pʞ!(TՋ eh'3 QbC>Dz5ʢBX(%kH/!\`Dzɂ`!d"¶4se-,8Wtz ^/ƶŇ^2!zI!pZU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L7küш*!yefޕYreWƚQkUn]>pgx/dB-TZIENDB`libgd-2.3.0/tests/gdimageline/gdImageAALine_thickness.c0000664000175000017500000000101613634445460017724 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int error = 0; im = gdImageCreateTrueColor(100, 100); gdImageFilledRectangle(im, 0, 0, 99, 99, gdImageColorExactAlpha(im, 255, 255, 255, 0)); gdImageSetThickness(im, 5); gdImageSetAntiAliased(im, gdImageColorExactAlpha(im, 0, 0, 0, 0)); gdImageLine(im, 0,0, 99, 99, gdAntiAliased); if (!gdAssertImageEqualsToFile("gdimageline/gdImageAALine_thickness_exp.png", im)) error = 1; gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimageline/bug00315_exp.png0000664000175000017500000000017013635665516015675 00000000000000PNG  IHDRox pHYs+*IDATm 03)\Dy\a rn$=.1o^IENDB`libgd-2.3.0/tests/gdimageline/bug00111.c0000664000175000017500000000104413634445460014443 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im; int error = 0; im = gdImageCreateTrueColor(10, 10); if (!im) { gdTestErrorMsg("can't get truecolor image\n"); return 1; } gdImageLine(im, 2, 2, 2, 2, 0xFFFFFF); gdImageLine(im, 5, 5, 5, 5, 0xFFFFFF); gdImageLine(im, 0, 0, 0, 0, 0xFFFFFF); if (!gdAssertImageEqualsToFile("gdimageline/bug00111_exp.png", im)) { error = 1; gdTestErrorMsg("Reference image and destination differ\n"); } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimageline/Makemodule.am0000664000175000017500000000164213635665516015554 00000000000000libgd_test_programs += \ gdimageline/gdimageline_aa_outofrange if HAVE_LIBPNG libgd_test_programs += \ gdimageline/bug00072 \ gdimageline/bug00077 \ gdimageline/bug00111 \ gdimageline/bug00315 \ gdimageline/gdimageline_aa \ gdimageline/gdimageline_bug5 \ gdimageline/gdImageAALine_thickness \ gdimageline/github_bug_167 endif EXTRA_DIST += \ gdimageline/CMakeLists.txt \ gdimageline/bug00072_exp.png \ gdimageline/bug00077_exp.png \ gdimageline/bug00111_exp.png \ gdimageline/bug00315_exp.png \ gdimageline/gdimageline_aa_a_1_exp.png \ gdimageline/gdimageline_aa_b_0_exp.png \ gdimageline/gdimageline_aa_c_0_exp.png \ gdimageline/gdimageline_aa_d_0_exp.png \ gdimageline/gdimageline_aa_d_1_exp.png \ gdimageline/gdimageline_aa_c_1_exp.png \ gdimageline/gdimageline_aa_a_0_exp.png \ gdimageline/gdimageline_aa_b_1_exp.png \ gdimageline/gdImageAALine_thickness_exp.png \ gdimageline/github_bug_167_exp.png libgd-2.3.0/tests/gdimageline/github_bug_167.c0000664000175000017500000000402113634445460016015 00000000000000/* Testing thick styled horizontal, vertical and diagonal lines. We're drawing four triangles with basically the same pattern style. Each triangle has exactly the same shape (right isosceles, with the hypotenuse being diagonal) and size. The triangles are arranged from lower left to upper right with increasing line thickness. To have the same pattern style, it has to be adapted according to the thickness (i.e. the pixels have to be repeated thickness times), which happens in setStyleAndThickness(). See also . */ #include "gd.h" #include "gdtest.h" static void setStyleAndThickness(gdImagePtr im, int color, int thickness) { int style[192], i = 0; while (i < 16 * thickness) { style[i++] = color; } while (i < 20 * thickness) { style[i++] = gdTransparent; } while (i < 28 * thickness) { style[i++] = color; } while (i < 32 * thickness) { style[i++] = gdTransparent; } gdImageSetStyle(im, style, 32 * thickness); gdImageSetThickness(im, thickness); } int main() { gdImagePtr im; int error = 0, black; im = gdImageCreate(800, 800); gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); setStyleAndThickness(im, black, 1); gdImageLine(im, 50, 250, 550, 250, gdStyled); gdImageLine(im, 550, 250, 550, 750, gdStyled); gdImageLine(im, 550, 750, 50, 250, gdStyled); setStyleAndThickness(im, black, 2); gdImageLine(im, 100, 200, 600, 200, gdStyled); gdImageLine(im, 600, 200, 600, 700, gdStyled); gdImageLine(im, 600, 700, 100, 200, gdStyled); setStyleAndThickness(im, black, 4); gdImageLine(im, 150, 150, 650, 150, gdStyled); gdImageLine(im, 650, 150, 650, 650, gdStyled); gdImageLine(im, 650, 650, 150, 150, gdStyled); setStyleAndThickness(im, black, 6); gdImageLine(im, 200, 100, 700, 100, gdStyled); gdImageLine(im, 700, 100, 700, 600, gdStyled); gdImageLine(im, 700, 600, 200, 100, gdStyled); if (!gdAssertImageEqualsToFile("gdimageline/github_bug_167_exp.png", im)) { error = 1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimageline/gdimageline_aa_outofrange.c0000664000175000017500000000067013634445460020446 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; im = gdImageCreateTrueColor(300, 300); gdImageSetAntiAliased(im, gdTrueColorAlpha(255, 255, 255, 0)); gdImageLine(im, -1, -1, -1, -1, gdAntiAliased); gdImageLine(im, 299, 299, 0, 299, gdAntiAliased); gdImageLine(im, 1,1, 50, 50, gdAntiAliased); /* Test for segfaults, if we reach this point, the test worked */ gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gdimageline/gdimageline_aa_b_1_exp.png0000664000175000017500000000030513634445460020147 00000000000000PNG  IHDR d06IDATHԻ Eg02Sڮb%]H12Υ g_&Yk b/So]Son]Ro&fudL 208888?|\o-efzoIENDB`libgd-2.3.0/tests/gdimageline/bug00072_exp.png0000664000175000017500000000020513634445460015665 00000000000000PNG  IHDR &qLIDAT10 2ܦP632 lKjkO%h'LGs3uiOP1iN.Z}&A|IENDB`libgd-2.3.0/tests/gdimageline/bug00077.c0000664000175000017500000000073613634445460014465 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int error = 0; im = gdImageCreateTrueColor(11, 11); gdImageFilledRectangle(im, 0, 0, 10, 10, 0xFFFFFF); gdImageSetThickness(im, 1); gdImageLine(im, 0, 10, 0, 0, 0x0); gdImageLine(im, 5, 10, 5, 0, 0x0); gdImageLine(im, 10, 5, 0, 5, 0x0); gdImageLine(im, 10, 10, 0, 10, 0x0); if (!gdAssertImageEqualsToFile("gdimageline/bug00077_exp.png", im)) { error = 1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimageline/bug00111_exp.png0000664000175000017500000000011713634445460015661 00000000000000PNG  IHDR PXIDATc?f [)IENDB`libgd-2.3.0/tests/gdimageline/CMakeLists.txt0000664000175000017500000000036213635665516015710 00000000000000LIST(APPEND TESTS_FILES gdimageline_aa_outofrange ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00077 bug00072 bug00111 bug00315 gdimageline_aa gdimageline_bug5 gdImageAALine_thickness github_bug_167 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimageline/gdimageline_aa_b_0_exp.png0000664000175000017500000000052713634445460020154 00000000000000PNG  IHDR d06IDATH풡 ,HޝϧE ZH$lqx-[ ߜeW|8qE^4MYu]WUгhۖZ9"3, b3}ԦyNtmbc GWaf{ؙvR<Rwf';jRJ5,K$RJZ~ &z1ƹ}z&ZNLz{5!ĺw3ƆaPJ !h׎!"Z{텈quysitbolgyo@IENDB`libgd-2.3.0/tests/gdimageline/bug00077_exp.png0000664000175000017500000000014113634445460015671 00000000000000PNG  IHDR &q(IDATcd``? 022"s _3 t\IENDB`libgd-2.3.0/tests/gdimageline/gdimageline_aa_d_0_exp.png0000664000175000017500000000031013634445460020144 00000000000000PNG  IHDRd ~l) pHYs+zIDATH핱 Dk)|sqO7iQQ PȻ`fǦs+rrrp^`4)%UUǰo6:s(E¹e禲Vn!H[ "9DtGnYMvIENDB`libgd-2.3.0/tests/gdimageline/bug00072.c0000664000175000017500000000114313634445460014451 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int error = 0; im = gdImageCreateTrueColor(11, 11); gdImageFilledRectangle(im, 0, 0, 10, 10, 0xFFFFFF); gdImageSetThickness(im, 3); gdImageLine(im, 5, 0, 5, 11, 0x000000); gdImageLine(im, 0, 5, 11, 5, 0x000000); gdImageLine(im, 0, 0, 11, 11, 0x000000); gdImageSetThickness(im, 1); gdImageLine(im, 5, 0, 5, 11, 0xFF0000); gdImageLine(im, 0, 5, 11, 5, 0xFF0000); gdImageLine(im, 0, 0, 11, 11, 0xFF0000); if (!gdAssertImageEqualsToFile("gdimageline/bug00072_exp.png", im)) { error = 1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagesetinterpolationmethod/0000775000175000017500000000000013635665565017110 500000000000000libgd-2.3.0/tests/gdimagesetinterpolationmethod/Makemodule.am0000664000175000017500000000021013635665516021417 00000000000000libgd_test_programs += \ gdimagesetinterpolationmethod/github_bug_00584 EXTRA_DIST += \ gdimagesetinterpolationmethod/CMakeLists.txt libgd-2.3.0/tests/gdimagesetinterpolationmethod/CMakeLists.txt0000664000175000017500000000007413635665516021565 00000000000000LIST(APPEND TESTS_FILES github_bug_00584 ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagesetinterpolationmethod/github_bug_00584.c0000664000175000017500000000150213635665516022045 00000000000000/** * Test that gdImageSetInterpolationMethod(im, GD_DEFAULT) is consistent * * See */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; gdInterpolationMethod old_m, new_m; interpolation_method old_f, new_f; im = gdImageCreateTrueColor(8, 8); gdTestAssert(im != NULL); gdTestAssert(gdImageSetInterpolationMethod(im, GD_SINC)); old_m = gdImageGetInterpolationMethod(im); gdTestAssert(old_m == GD_SINC); old_f = im->interpolation; gdTestAssert(gdImageSetInterpolationMethod(im, GD_DEFAULT)); new_m = gdImageGetInterpolationMethod(im); gdTestAssert(new_m == GD_LINEAR); new_f = im->interpolation; gdTestAssert(new_m != old_m); gdTestAssert(new_f != old_f); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagepixelate/0000775000175000017500000000000013635665565014117 500000000000000libgd-2.3.0/tests/gdimagepixelate/gdimagepixelate.c0000664000175000017500000000474013635665516017335 00000000000000#include "gd.h" #include "gdtest.h" #define WIDTH 12 #define BLOCK_SIZE 4 static const int expected_upperleft[][3] = { {0x000000, 0x040404, 0x080808}, {0x303030, 0x343434, 0x383838}, {0x606060, 0x646464, 0x686868} }; static const int expected_average[][3] = { {0x131313, 0x171717, 0x1b1b1b}, {0x434343, 0x474747, 0x4b4b4b}, {0x737373, 0x777777, 0x7b7b7b}, }; #define SETUP_PIXELS(im) do { \ int x, y, i = 0; \ for (y = 0; y < (im)->sy; y++) { \ for (x = 0; x < (im)->sx; x++) { \ int p = gdImageColorResolve(im, i, i, i); \ gdImageSetPixel(im, x, y, p); \ i++; \ } \ } \ } while (0) #define CHECK_PIXELS(im, expected) do { \ int x, y; \ for (y = 0; y < (im)->sy; y++) { \ for (x = 0; x < (im)->sx; x++) { \ int p = gdImageGetPixel(im, x, y); \ int r = ((expected)[y/BLOCK_SIZE][x/BLOCK_SIZE]>>16)&0xFF; \ int g = ((expected)[y/BLOCK_SIZE][x/BLOCK_SIZE]>> 8)&0xFF; \ int b = ((expected)[y/BLOCK_SIZE][x/BLOCK_SIZE] )&0xFF; \ if (r != gdImageRed(im, p)) { \ gdTestErrorMsg("Red %x is expected, but %x\n", r, gdImageRed(im, p)); \ return 0; \ } \ if (g != gdImageGreen(im, p)) { \ gdTestErrorMsg("Green %x is expected, but %x\n", g, gdImageGreen(im, p)); \ return 0; \ } \ if (b != gdImageBlue(im, p)) { \ gdTestErrorMsg("Blue %x is expected, but %x\n", b, gdImageBlue(im, p)); \ return 0; \ } \ } \ } \ } while (0) static int testPixelate(gdImagePtr im) { if (gdImagePixelate(im, -1, GD_PIXELATE_UPPERLEFT) != 0) return 0; if (gdImagePixelate(im, 1, GD_PIXELATE_UPPERLEFT) != 1) return 0; if (gdImagePixelate(im, 2, -1) != 0) return 0; SETUP_PIXELS(im); if (!gdImagePixelate(im, BLOCK_SIZE, GD_PIXELATE_UPPERLEFT)) return 0; CHECK_PIXELS(im, expected_upperleft); SETUP_PIXELS(im); if (!gdImagePixelate(im, BLOCK_SIZE, GD_PIXELATE_AVERAGE)) return 0; CHECK_PIXELS(im, expected_average); return 1; } int main() { gdImagePtr im; im = gdImageCreate(WIDTH, WIDTH); if (!testPixelate(im)) { return 1; } gdImageDestroy(im); im = gdImageCreateTrueColor(WIDTH, WIDTH); if (!testPixelate(im)) { return 2; } gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gdimagepixelate/Makemodule.am0000664000175000017500000000015313634445460016425 00000000000000libgd_test_programs += \ gdimagepixelate/gdimagepixelate EXTRA_DIST += \ gdimagepixelate/CMakeLists.txt libgd-2.3.0/tests/gdimagepixelate/CMakeLists.txt0000664000175000017500000000007313634445460016564 00000000000000LIST(APPEND TESTS_FILES gdimagepixelate ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagescale/0000775000175000017500000000000013635665565013373 500000000000000libgd-2.3.0/tests/gdimagescale/bug00329.c0000664000175000017500000000275513635665516014637 00000000000000/** * Regression test for * * We're testing that for truecolor as well as palette images after * GD_BILINEAR_FIXED scaling the corner pixels of the scaled image have the * expected color. */ #include #include "gd.h" #include "gdtest.h" static void test(const char *mode) { gdImagePtr src, dst; int expected, actual; if (strcmp(mode, "palette")) { src = gdImageCreateTrueColor(100, 100); expected = gdTrueColorAlpha(255, 255, 255, gdAlphaOpaque); gdImageFilledRectangle(src, 0,0, 99,99, expected); } else { src = gdImageCreate(100, 100); gdImageColorAllocate(src, 255, 255, 255); expected = gdImageGetTrueColorPixel(src, 49, 49); } gdImageSetInterpolationMethod(src, GD_BILINEAR_FIXED); dst = gdImageScale(src, 200, 200); actual = gdImageGetPixel(dst, 0, 0); gdTestAssertMsg(actual == expected, "%s: wrong color; expected %x, but got %x", mode, expected, actual); actual = gdImageGetPixel(dst, 0, 199); gdTestAssertMsg(actual == expected, "%s: wrong color; expected %x, but got %x", mode, expected, actual); actual = gdImageGetPixel(dst, 199, 199); gdTestAssertMsg(actual == expected, "%s: wrong color; expected %x, but got %x", mode, expected, actual); actual = gdImageGetPixel(dst, 199, 0); gdTestAssertMsg(actual == expected, "%s: wrong color; expected %x, but got %x", mode, expected, actual); gdImageDestroy(src); gdImageDestroy(dst); } int main() { test("palette"); test("truecolor"); return gdNumFailures(); } libgd-2.3.0/tests/gdimagescale/bug00330.c0000664000175000017500000000120413635665516014613 00000000000000/** * Regression test for . * * We're testing that after scaling a palette image, the center pixel actually * has the expected color value. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int color; src = gdImageCreate(100, 100); gdImageColorAllocate(src, 255, 255, 255); gdImageSetInterpolationMethod(src, GD_BILINEAR_FIXED); dst = gdImageScale(src, 200, 200); color = gdImageGetPixel(dst, 99, 99); gdTestAssertMsg(color == 0xffffff, "expected color ffffff, but got %x\n", color); gdImageDestroy(src); gdImageDestroy(dst); return 0; } libgd-2.3.0/tests/gdimagescale/Makemodule.am0000664000175000017500000000030413634445460015677 00000000000000libgd_test_programs += \ gdimagescale/bug00329 \ gdimagescale/bug00330 \ gdimagescale/github_bug_00218 \ gdimagescale/bug_overflow_large_new_size EXTRA_DIST += \ gdimagescale/CMakeLists.txt libgd-2.3.0/tests/gdimagescale/bug_overflow_large_new_size.c0000664000175000017500000000123313635665516021227 00000000000000#include #include #include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im, im2; im = gdImageCreate(1,1); if (im == NULL) { printf("gdImageCreate failed\n"); return 1; } gdImageSetInterpolationMethod(im, GD_BELL); /* here the call may pass if the system has enough memory (physical or swap) or fails (overflow check or alloc fails. in both cases the tests pass */ im2 = gdImageScale(im,0x15555556, 1); if (im2 == NULL) { printf("gdImageScale failed, expected (out of memory or overflow validation\n"); gdImageDestroy(im); return 0; } gdImageDestroy(im); gdImageDestroy(im2); return 0; } libgd-2.3.0/tests/gdimagescale/github_bug_00218.c0000664000175000017500000000044313634445460016316 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, dest; int status; im = gdImageCreate(5,5); dest = gdImageScale(im, 0, 1); if (dest != NULL) { gdTestErrorMsg("expecting NULL result\n"); status = 1; } else { status = 0; } gdImageDestroy(im); return status; } libgd-2.3.0/tests/gdimagescale/CMakeLists.txt0000664000175000017500000000015513634445460016041 00000000000000LIST(APPEND TESTS_FILES bug00329 bug00330 github_bug_00218 bug_overflow_large_new_size ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecopymerge/0000775000175000017500000000000013635665564014275 500000000000000libgd-2.3.0/tests/gdimagecopymerge/gdimagecopymerge_exp.png0000664000175000017500000000017413635665516021106 00000000000000PNG  IHDRddJ,PLTEן6 pHYs+IDAT8c`A(o7xV`.=ȴqIENDB`libgd-2.3.0/tests/gdimagecopymerge/Makemodule.am0000664000175000017500000000026013635665516016612 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagecopymerge/gdimagecopymerge endif EXTRA_DIST += \ gdimagecopymerge/CMakeLists.txt \ gdimagecopymerge/gdimagecopymerge_exp.png libgd-2.3.0/tests/gdimagecopymerge/CMakeLists.txt0000664000175000017500000000013313635665516016747 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagecopymerge ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecopymerge/gdimagecopymerge.c0000664000175000017500000000120213635665516017661 00000000000000/** * Basic test for gdImageCopyMerge() */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr dst = NULL; gdImagePtr src = NULL; int error = 0; dst = gdImageCreate(100, 100); src = gdImageCreate(50, 50); if (gdTestAssert(!dst)) { error = 1; goto done; } if (gdTestAssert(!src)) { error = 1; goto done; } gdImageColorAllocate(src, 255, 255, 255); gdImageColorAllocate(dst, 0, 0, 0); gdImageCopyMerge(dst, src, 25, 25, 0, 0, 50, 50, 50); if (!gdAssertImageEqualsToFile("gdimagecopymerge/gdimagecopymerge_exp.png", dst)) { error = 1; } done: gdImageDestroy(dst); gdImageDestroy(src); return error; } libgd-2.3.0/tests/gdimagestringftex/0000775000175000017500000000000013635665565014501 500000000000000libgd-2.3.0/tests/gdimagestringftex/gdimagestringftex_returnfontpathname.c0000664000175000017500000000072713634445460024277 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdFTStringExtra strex; char *path; path = gdTestFilePath("freetype/DejaVuSans.ttf"); strex.flags = gdFTEX_RETURNFONTPATHNAME; strex.fontpath = NULL; gdImageStringFTEx(NULL, NULL, 0, path, 72, 0, 0, 0, "hello, gd", &strex); if (!strex.fontpath) { return 1; } if (strcmp(path, strex.fontpath) != 0) { return 2; } gdFree(strex.fontpath); gdFontCacheShutdown(); free(path); return 0; } libgd-2.3.0/tests/gdimagestringftex/Makemodule.am0000664000175000017500000000023613634445460017011 00000000000000if HAVE_LIBFREETYPE libgd_test_programs += \ gdimagestringftex/gdimagestringftex_returnfontpathname endif EXTRA_DIST += \ gdimagestringftex/CMakeLists.txt libgd-2.3.0/tests/gdimagestringftex/CMakeLists.txt0000664000175000017500000000017113634445460017145 00000000000000IF(FREETYPE_FOUND) LIST(APPEND TESTS_FILES gdimagestringftex_returnfontpathname ) ENDIF(FREETYPE_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecopyresampled/0000775000175000017500000000000013635665564015152 500000000000000libgd-2.3.0/tests/gdimagecopyresampled/basic_alpha_exp.png0000664000175000017500000000515413634445460020675 00000000000000PNG  IHDRX pHYs+ IDATx?h[sKb  ?Qڂ . fЖNː M2::'oS 1 ;z0^ .>GpD7䩑J:{pӹ9 7L$ A@ H@ $ A@ H@ $ A@ H@ $ A@ H@Y~9k8Yue%X}7@HcٙH>~ou]ꀄ;aU!*ý{]Z7„B 34M %t7oG5 HV+C!^ ޯB :; k qq_7; ߎu-܎٫TZy寿qm).OKO>8 (6js>}뭷?2AxP-JA1Y˟;a 3riQ/_&!ƀ0k >''Ϫ~;tg_}gR;a.C_QV/om]=Re2BhX wª)tEeB͚ 1bVय़.}hz>q|т*R\,:{K\1dE, NX9Bq{Vudɟb~P?6=ל:BI@Jk%'^Sn-\mVMN.CEyOOb^q]w"B(HqXNѴ>UJRcŶ*{ѭ_~!8+ +ag:( GgIE1I-BpT8tr㈢+$hqD R?[qȂ*$Bu*= Iǎ* gwQ4>>L*M7c_ؾCf$|:LKuG^US3HVgJoG] _j^EJGbe:W5Bpb vL!F1`$A,h4fL]{e%8vfglz+ q!b-3g>Bu\ ?<@|8JbEI xL&]mm]YU:qpI8i+Kޝ{ߓ8TiIO|CU5}*=ڡYU8\IK3NXlTB3әSgx8yVUv&;$oS٨KzghMjr8< (._ԉͷM˸b3hg^|[ԭvq2 >q>|G!q:cLMSBgDZm7ۭ?ф}n" }" 1k_Ɲ,ϟ1!:#qĀ} 1`?BUt" }H8t#YH8DDǑL$:" AǑlD8 鈎MthG@^-LBǁIl@8E"Bǁ:t#1@/:q^6 tPˀq@B T" t@\l@8.:9:L@8`I&Y:ʀq6* t5」le4 tрqvFBWh\5 tpqEZBWi GOLb i}a7 vLBB. ƃ/RY۪ !fõp[,E $ A@ H@ $ A@ H@ $ A@ H@ $ A@b_IENDB`libgd-2.3.0/tests/gdimagecopyresampled/basic_alpha.c0000664000175000017500000000223413634445460017453 00000000000000/* Testing basic gdImageCopyResampled() functionality with alpha channel */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, copy; int white, yellow, magenta, cyan; im = gdImageCreateTrueColor(400, 300); gdImageAlphaBlending(im, 0); /* allocate some alpha colors */ white = gdImageColorAllocateAlpha(im, 255, 255, 255, 31); yellow = gdImageColorAllocateAlpha(im, 128, 0, 128, 63); magenta = gdImageColorAllocateAlpha(im, 128, 128, 0, 95); cyan = gdImageColorAllocateAlpha(im, 0, 128, 128, 127); /* draw background */ gdImageFilledRectangle(im, 0,0, 399,299, white); /* draw some basic shapes */ gdImageFilledEllipse(im, 100,100, 150,100, yellow); gdImageSetThickness(im, 5); gdImageLine(im, 50,250, 350,50, magenta); gdImageRectangle(im, 200,100, 350,250, cyan); /* create a diminished, resampled copy of the original image */ copy = gdImageCreateTrueColor(200, 200); gdImageAlphaBlending(copy, 0); gdImageSaveAlpha(copy, 1); gdImageCopyResampled(copy, im, 0,0, 0,0, 200,200, 400,300); gdImageDestroy(im); gdAssertImageEqualsToFile("gdimagecopyresampled/basic_alpha_exp.png", copy); gdImageDestroy(copy); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecopyresampled/basic.c0000664000175000017500000000177613634445460016320 00000000000000/* Testing basic gdImageCopyResampled() functionality */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, copy; int white, yellow, magenta, cyan; im = gdImageCreateTrueColor(400, 300); /* allocate some colors */ white = gdImageColorAllocate(im, 255, 255, 255); yellow = gdImageColorAllocate(im, 128, 0, 128); magenta = gdImageColorAllocate(im, 128, 128, 0); cyan = gdImageColorAllocate(im, 0, 128, 128); /* draw background */ gdImageFilledRectangle(im, 0,0, 399,299, white); /* draw some basic shapes */ gdImageFilledEllipse(im, 100,100, 150,100, yellow); gdImageSetThickness(im, 5); gdImageLine(im, 50,250, 350,50, magenta); gdImageRectangle(im, 200,100, 350,250, cyan); /* create a diminished, resampled copy of the original image */ copy = gdImageCreateTrueColor(200, 200); gdImageCopyResampled(copy, im, 0,0, 0,0, 200,200, 400,300); gdImageDestroy(im); gdAssertImageEqualsToFile("gdimagecopyresampled/basic_exp.png", copy); gdImageDestroy(copy); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecopyresampled/bug00201.c0000664000175000017500000000350613635665516016377 00000000000000#include "gd.h" #include "gdtest.h" #define SRC_WIDTH 80 #define SRC_HEIGHT 42 #define DEST_WIDTH 200 #define DEST_HEIGHT 200 /* Create an image and fill it with true transparency */ gdImagePtr blank_image(int width, int height) { gdImagePtr img; int c; img = gdImageCreateTrueColor(width, height); gdImageAlphaBlending(img, 0); c = gdImageColorAllocateAlpha(img, 255, 0, 255, 127); gdImageFilledRectangle(img, 0, 0, width-1, height-1, c); return img; } /* Merge layers on top of each other */ gdImagePtr flatten(gdImagePtr *layers, int layer_count, int width, int height) { gdImagePtr img; int i; img = blank_image(width,height); gdImageAlphaBlending(img, 1); for (i = 0; i < layer_count; i++) { gdImageCopy(img, layers[i], 0,0, 0,0, width,height); } gdImageSaveAlpha(img, 1); return img; } int main() { gdImagePtr layers[2], background, logo_source, logo, scaled_logo, img; FILE *fp; background = blank_image(DEST_WIDTH,DEST_HEIGHT); fp = gdTestFileOpen2("gdimagecopyresampled", "bug00201_src.png"); logo_source = gdImageCreateFromPng(fp); fclose(fp); logo = blank_image(SRC_WIDTH,SRC_HEIGHT); gdImageAlphaBlending(logo, 0); gdImageCopy(logo, logo_source, 0,0, 0,0, SRC_WIDTH,SRC_HEIGHT); gdImageDestroy(logo_source); scaled_logo = blank_image(DEST_WIDTH,DEST_HEIGHT); gdImageAlphaBlending(scaled_logo, 0); gdImageCopyResampled(scaled_logo, logo, 0,0, 0,0, 200,105, SRC_WIDTH,SRC_HEIGHT); gdImageDestroy(logo); layers[0] = background; layers[1] = scaled_logo; img = flatten(layers, 2, DEST_WIDTH, DEST_HEIGHT); gdImageDestroy(background); gdImageDestroy(scaled_logo); gdAssertImageEqualsToFile("gdimagecopyresampled/bug00201_exp.png", img); gdImageDestroy(img); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecopyresampled/basic_exp.png0000664000175000017500000000414013634445460017522 00000000000000PNG  IHDR":9 pHYs+IDATxq:`kA.BH&&6= =D..,aIFW+;C>|{N@$, `  H X@@$, `  H X@@$, `  H X@@$, `  8gcB1 nGBgEN1qΞN'X:!DoS~o8ׇB*n =7_)"u>I Z !DزVݤRkp؏͑QW.`?@TD`ٍ8#oLשRʬVXʣ .oax ;ש2YwڝL{Q8o=xT81 Ak_`eTat]2HS%"YGwejjTՎ4U"VئʓJ[ ]Y!XvcT|48H˪GqDnʪGM,{9JSV,Vq9JSV, _oѷ&;eUcgEo{n>7'R%}Ϊ]=>U~(ʘ*,XU6*o R+9ʏJ*fO:ƕW{XV V bap72)xsmFwdiʽ K k TY*P!M ҆tSr)ê Z7?KAobr`: -eU]aA;eU=WV-3ibw4Ź 4FWzde2NF7$^|RFG8D}_} PRFU$Ě(Ejg'dӍc?5FBM, `  H X@@$, `  H X@@$, `  H X@@$, `  H X@9LٯIENDB`libgd-2.3.0/tests/gdimagecopyresampled/Makemodule.am0000664000175000017500000000064513635665516017476 00000000000000libgd_test_programs += \ gdimagecopyresampled/exact_alpha if HAVE_LIBPNG libgd_test_programs += \ gdimagecopyresampled/basic \ gdimagecopyresampled/basic_alpha \ gdimagecopyresampled/bug00201 endif EXTRA_DIST += \ gdimagecopyresampled/CMakeLists.txt \ gdimagecopyresampled/basic_exp.png \ gdimagecopyresampled/basic_alpha_exp.png \ gdimagecopyresampled/bug00201_src.png \ gdimagecopyresampled/bug00201_exp.png libgd-2.3.0/tests/gdimagecopyresampled/CMakeLists.txt0000664000175000017500000000021613635665516017626 00000000000000LIST(APPEND TESTS_FILES exact_alpha ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES basic basic_alpha bug00201 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecopyresampled/bug00201_src.png0000664000175000017500000000230313634445460017573 00000000000000PNG  IHDRP*v,8tEXtCreation Time  2\5;tIME  3/&IĬ pHYs  ~PLTERRRkkk!!!))){{{ccc猄sksք{skkssscZZJJJ999B9BcZcBBB1))cck1)1111)!){s{ZZZ919νkck)!!ZRZRJJJBJkccRRZCFtRNS@f}IDATxVac0 u T]ku]/"h+Ö yr'qxG{~0D{-|?]Ev9LDr4r"e,ϋccs:A{F/) :mSظޜce).|" `Wj}''Fyr`#Ly+EYW 8Ƹ{;Z~P#[ 4[19;(BA34/i٤6\p74&F{u@('{a֝ZGֿ6 t&ֵ'Ll4ZXM/ JI<,I fbhri1@5M31\p(BH*TFJYğ̒]d`AATāD@S(bITz >x\H%D1>xr/Q&G]#5ptvi3Ġ = gd v'k[~"pfdv'k6("sMy:zšnKm:Nš|7`iM,zt|XmW𧕬 7i^+ୣ/KmF;oՌ؞E~9U&qIӔ3 nN"Ij\=p]-<7cȑSo%WR.ȷHO$/11>WJL,%$w x,s[1KI8-RǑ?Ũ4aA Y*dBģk>"WNoʅ^5z/?QuVIENDB`libgd-2.3.0/tests/gdimagecopyresampled/exact_alpha.c0000664000175000017500000000357313634445460017505 00000000000000/* Test for exact colors of gdImageCopyResampled */ #include "gd.h" #include "gdtest.h" #define EXP_RED 66 #define EXP_GREEN 66 #define EXP_BLUE 133 #define EXP_ALPHA 32 int main() { gdImagePtr im, copy; int solid, transparent, color; int red, green, blue, alpha; int i, j; /* create the source image */ im = gdImageCreateTrueColor(10, 10); gdImageAlphaBlending(im, 0); solid = gdImageColorAllocate(im, 0, 100, 150); transparent = gdImageColorAllocateAlpha(im, 200, 0, 100, 64); /* draw a checker pattern */ for (i = 0; i < gdImageSX(im); i++) { for (j = 0; j < gdImageSY(im); j++) { gdImageSetPixel(im, i, j, (i%2 != j%2 ? solid : transparent)); } } /* create the destination image */ copy = gdImageCreateTrueColor(5, 5); gdImageAlphaBlending(copy, 0); gdImageSaveAlpha(copy, 1); gdImageCopyResampled(copy, im, 0,0, 0,0, 5,5, 10, 10); /* assert all pixels have the same color */ color = gdImageTrueColorPixel(copy, 3, 3); for (i = 0; i < gdImageSX(copy); i++) { for (j = 0; j < gdImageSY(copy); j++) { gdTestAssert(gdImageTrueColorPixel(copy, i, j) == color); } } /* assign actual component values */ red = gdTrueColorGetRed(color); green = gdTrueColorGetGreen(color); blue = gdTrueColorGetBlue(color); alpha = gdTrueColorGetAlpha(color); /* test for expected component values */ gdTestAssertMsg(red >= EXP_RED - 1 && red <= EXP_RED + 1, "red: expected roughly %d, got %d\n", EXP_RED, red); gdTestAssertMsg(green >= EXP_GREEN - 1 && green <= EXP_GREEN + 1, "green: expected roughly %d, got %d\n", EXP_GREEN, green); gdTestAssertMsg(blue >= EXP_BLUE - 1 && blue <= EXP_BLUE + 1, "blue: expected roughly %d, got %d\n", EXP_BLUE, blue); gdTestAssertMsg(alpha >= EXP_ALPHA - 1 && alpha <= EXP_ALPHA + 1, "alpha: expected roughly %d, got %d\n", EXP_ALPHA, alpha); gdImageDestroy(copy); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecopyresampled/bug00201_exp.png0000664000175000017500000002711513634445460017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XXBb` b 5%k K@,X,!XXBbm[K(IENDB`libgd-2.3.0/tests/jpeg/0000775000175000017500000000000013635665565011713 500000000000000libgd-2.3.0/tests/jpeg/jpeg_ptr_double_free.c0000664000175000017500000000120013635665516016131 00000000000000/** * Test that failure to convert to JPEG returns NULL * * We are creating an image, set its width to zero, and pass this image to * `gdImageJpegPtr()` which is supposed to fail, and as such should return NULL. * * See also */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int size; src = gdImageCreateTrueColor(1, 10); gdTestAssert(src != NULL); src->sx = 0; /* this hack forces gdImageJpegPtr() to fail */ dst = gdImageJpegPtr(src, &size, 0); gdTestAssert(dst == NULL); gdImageDestroy(src); return gdNumFailures(); } libgd-2.3.0/tests/jpeg/github_bug_18.png0000664000175000017500000000405013634445460014754 00000000000000PNG  IHDR8^!fsBIT|d pHYs  ~IDATx_en] 4bP?$ ^hA\$F%D(1[p)  M% KВR(mHNjy7N9gv'y;&;T39H?` ARb0HJ I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%` &FiLe0|xx8 >W7^8^V '7[Ko'F(iq@kAyAqc qbuq'˸/CxbmzuOA,Ľ5ok_Z] 2;X__)B_gkQk HgGcq!N*?_h ĆR@|ϸCB⑖5G}x To ~1`^sva;!.̿CC\QC֢r2A \4/+kzO6o8g54۲o xzìYCZk֞uFz?O=}g{P; j)^Ǿ qweyq+o Aq׀f-m}!DNOPT5uF>vξcËu >'hYawkTw*:[Sc[wSz!ohR[]}nV7[=V34pai00YK[ZWzt.bԬ!R=#IU=!~ٷc'u샸eSv`>c|' O0^sìﳥ=Wy ~V^cWecE?v34pVc(e+fH(h.S}[`HW.Vԣn| ARb0HJ I )1$%` ARb0HJ I )`^"X2$%` ARb0HJ I )HJc ARb0HJ I )1$%` ARb0HJ I )1$%`,`Xkp:uh`mj8pammEZϨ_-_c )+뜯sQydaLS `mۀ#}]_.(ہW/wW3=Z <Usa÷OAn6x㜳Aӥ};U gC ז6wu\tĸU1!/mk tX۷ fa+!^+8O@lqszlk H qwϱSTumސx+-oC\qh^7_{e-ZMTrΪ\]kocc_{ʾ=#^;-nMc`il0v7P}Pwy3cK=Vi{y곍gKҮ6b<] l(1]*-o[OBGYI}9=H}ozzlXWkhy@(x9]jY )veCP=H+ )Y1H: I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%` ARb0HJ I )1$%-)LRxIENDB`libgd-2.3.0/tests/jpeg/bug_github_18.c0000664000175000017500000000205013634445460014410 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, imres, imexp; FILE *fp; void *pjpeg; unsigned int status = 0; int size = 0; fp = gdTestFileOpen("jpeg/github_bug_18.png"); im = gdImageCreateFromPng(fp); fclose(fp); if (im == NULL) { gdTestErrorMsg("gdImageCreateFromJpeg failed.\n"); return 1; } pjpeg = gdImageJpegPtr(im, &size, 100); if (pjpeg == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door2; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door2; } imres = gdImageCreateFromJpegPtr(size, pjpeg); if (imres == NULL) { status = 1; goto door2; } fp = gdTestFileOpen("jpeg/github_bug_18_exp.jpeg"); imexp = gdImageCreateFromJpeg(fp); if (imexp == NULL) { fclose(fp); status = 1; goto door1; } if (gdTestImageCompareToImage("jpeg/github_bug_18.png", __LINE__, __FILE__, imexp, imres) != 1) { status = 1; } gdImageDestroy(imexp); door1: gdImageDestroy(imres); door2: gdFree(pjpeg); gdImageDestroy(im); return status; } libgd-2.3.0/tests/jpeg/jpeg_empty_file.c0000664000175000017500000000046513634445460015133 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; gdSetErrorMethod(gdSilence); fp = gdTestFileOpen("jpeg/empty.jpeg"); im = gdImageCreateFromJpeg(fp); fclose(fp); if (!im) { return 0; } else { gdImageDestroy(im); return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l岩捃CX<@Uئ7F+9!~Nf6ȓcGEFC$/F8?D~~b5(t;˻ PH]XDPFz1#O[7xv1`9hPE_rz{5@>-kF[|hl*W 'A?t\2aw'.+fX#Xv[纾hD<<~MHL$Ow)@{\g~3vgp 9P3ȼCQZ :VĤ},c~h~[e`?l8M/rz񶚼LĿ+ES`pnzQmrIne*rr>s% `n }c>#'W'x;UP a&Sb+MZ>05߳$:G{ӛ!$3qhF֦^w+lS^pSFp-9_!8v#W8Hjxpx"VB?BLUR%ٍdbx%il.cQANhrsV3ݴ m%NJXcJra|2c|OKZxܮ XieH jgl v>otEm5}5s+yFzjl`Ixj׷Z{vM/}7z10J]72.cif/P"d$/ғWZlW19j7sjyE]7a_)K~msR2UܧHs<3Vh-Pb;ӈPp\6bt2F RxlfK:&KlL53] }J)Q\b32Qo_ q[㖫fC ( ٤t|{&QO> (ԯ[–kzo,߰L?QK =*?`5>fG˴,Mjh _(5&`V  ^<}y|ѭWdW>GIC~q4~R\oy?)6*s \IQ3d800=%%O)ti|&GcZ/X,.cƈ:O8w?Wߍ[ 8~7hZK!< ]aii Y?Ee_QNRmq`bbrP_ap[4^y~cxEG/AUe@'LJsoh_)yPk/:u~ѩ<8ا1z}˨Mqkl9rZt7O|ZOJ@Pl9g<:#7m9jkK|Zt*C ︝k\T˳=*lRV34EKc 6o?%z-y_'_ :Q8aqFGJpo߄*2 C˹0δ _C 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } #endif gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/jpeg/Makemodule.am0000664000175000017500000000065013635665516014232 00000000000000if HAVE_LIBJPEG libgd_test_programs += \ jpeg/jpeg_empty_file \ jpeg/jpeg_im2im \ jpeg/jpeg_null \ jpeg/jpeg_ptr_double_free \ jpeg/jpeg_resolution if HAVE_LIBPNG libgd_test_programs += \ jpeg/bug_github_18 \ jpeg/bug00338 \ jpeg/jpeg_read endif endif EXTRA_DIST += \ jpeg/CMakeLists.txt \ jpeg/conv_test.jpeg \ jpeg/conv_test_exp.png \ jpeg/empty.jpeg \ jpeg/github_bug_18_exp.jpeg \ jpeg/github_bug_18.png libgd-2.3.0/tests/jpeg/jpeg_null.c0000664000175000017500000000030613634445460013742 00000000000000#include "gd.h" int main() { gdImagePtr im; im = gdImageCreateFromJpeg(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImageJpeg(im, NULL, 100); /* noop safely */ return 0; } libgd-2.3.0/tests/jpeg/conv_test.jpeg0000664000175000017500000000441513634445460014477 00000000000000JFIFHHC    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222"&!1QA"aqR! ?I]iEA(!֨ZkTVj4ttZZ.%:VkTRXCQEaE:VWVTrIaEZtZ-5"j$2 j4tJQkUVU:-.ad":VTRXEQEaxO֠ZU#ZR(!֪B-j+uGKA::XCAZ: CAZ:XDQXDꖊXCVjΉ EAEaE:Z]?ZXCTH:XCT(!֨!jF+3-Hԋ5:o갋Zut꺬!֮}OWNK\['VIXCQEaZihd":WQjatUFXCT(!֨"jnE#r,!֪F27! j&-LLŹjŮSKuS?n‚'W.Qa4,XF`ӭ%h"֩h:i5@ZRjF5@v2*u("֫M$nE:܂GIkS#RpIZxS^kS:yũcEdKs}r1ר՞-l}cn{raslfńNV&gD(!֫H:՝@ZsP.L*:hZ$g! j1FqńվeyУ0_?%;?us}d]2sϒ59Uד۝.Huf!ufHkTXEB x@cT kS AF(Vstis㿋nxPD|kic]q(>yd|q߱rQF-gu*LZ`m+3FwSP|+jHkVk5 EAHE"ZkWb-P.L"5:jaZGHuWۄʠn5+9nOdvTf7W^˳f-jݬk_~Oa6۝ij4ij+4@Z'TXCBDxN֦#Qa *Z-jnV#R!u\nU+tt+R"uvSNWW=Zջ-jvSk5ZT B+D ֨@{xN֨VDj,"֨jenV PD+Rԫu{;bS*-j'VS@Z'TQXCRHI"+I=J-X.AEa Z("u%DZ-j+u;EaD.$VkTQ CRIaI"+I=LMd.QEaE: -j1'RAXDH1A$ZHTXDKu@!֩${I'IRI^aEkTQ CR)aEZVT`+Ia "֤Z jK),"^I$e$e$elibgd-2.3.0/tests/jpeg/CMakeLists.txt0000664000175000017500000000037013635665516014367 00000000000000IF(JPEG_FOUND) LIST(APPEND TESTS_FILES jpeg_empty_file jpeg_im2im jpeg_ptr_double_free jpeg_null jpeg_resolution ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug_github_18 jpeg_read bug00338 ) ENDIF(PNG_FOUND) ENDIF(JPEG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/jpeg/jpeg_read.c0000664000175000017500000000114213634445460013702 00000000000000#include "gd.h" #include #include #include "gdtest.h" #include int main() { #if defined(JPEG_LIB_VERSION_MAJOR) && JPEG_LIB_VERSION_MAJOR >= 8 printf("skip, JPEG Major version too high (%i)\n", JPEG_LIB_VERSION_MAJOR); return 0; #else gdImagePtr im; int error = 0; FILE *fp = gdTestFileOpen("jpeg/conv_test.jpeg"); im = gdImageCreateFromJpeg(fp); fclose(fp); if (im == NULL) { gdTestErrorMsg("gdImageCreateFromJpeg failed.\n"); return 1; } if (!gdAssertImageEqualsToFile("jpeg/conv_test_exp.png", im)) error = 1; gdImageDestroy(im); return error; #endif } libgd-2.3.0/tests/jpeg/jpeg_resolution.c0000664000175000017500000000131513634445460015174 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im; void *data; int size, red; im = gdImageCreate(100, 100); gdImageSetResolution(im, 72, 300); red = gdImageColorAllocate(im, 0xFF, 0x00, 0x00); gdImageFilledRectangle(im, 0, 0, 99, 99, red); data = gdImageJpegPtr(im, &size, 10); gdImageDestroy(im); im = gdImageCreateFromJpegPtr(size, data); gdFree(data); if (!gdTestAssert(gdImageResolutionX(im) == 72) || !gdTestAssert(gdImageResolutionY(im) == 300)) { gdTestErrorMsg("failed image resolution X (%d != 72) or Y (%d != 300)\n", gdImageResolutionX(im), gdImageResolutionY(im)); gdImageDestroy(im); return 1; } gdImageDestroy(im); return 0; } libgd-2.3.0/tests/jpeg/bug00338.c0000664000175000017500000000204513635665516013147 00000000000000/** * Regression test for * * We're testing that reading a JPEG image with gdImageCreateFromJpeg() * raises a GD_WARNING for the fatal libjpeg error, but not a GD_ERROR. * We also make sure, that the fatal libjpeg error is actually reported. * * See also ../png/bug00338.c */ #include #include "gd.h" #include "gd_errors.h" #include "gdtest.h" #define MSG "gd-jpeg: JPEG library reports unrecoverable error: %s" static int error_handler_called = 0; static void error_handler(int priority, const char *format, va_list args) { if (!strcmp(format, MSG)) { gdTestAssertMsg(priority == GD_WARNING, "expected priority %d, but got %d", GD_WARNING, priority); error_handler_called = 1; } } int main() { gdImagePtr im; FILE *fp; gdSetErrorMethod(error_handler); im = gdImageCreateTrueColor(10, 10); fp = gdTestTempFp(); gdImagePng(im, fp); gdImageDestroy(im); im = gdImageCreateFromJpeg(fp); gdTestAssert(im == NULL); gdTestAssert(error_handler_called); return gdNumFailures(); } libgd-2.3.0/tests/jpeg/github_bug_18_exp.jpeg0000664000175000017500000004477213634445460016010 00000000000000JFIFHH4 -Dk}2e% MCNRICӵK/ۤh Q]FXRKԮ-qy~eN\$sU1s2 _ 2T >' G/J53 XZSl-NUxZu)Nj3 .Tpib0\oYXT1!|EjdXN*^ cZ 7Y\ƞ?,+OI-v[-*WPiֱ,^tm|;_Xs,12W3yg{aNLn; ц#Wҩ`a>J/|K'%=wNN'R?A\-cxsa88 .\xq،- eaRXo>ay# ]gυP@P@P@P@P@P6ԭmROOjZ?u4KKǗT`VW\)t`ɶ);YouZkO_\~֮o uO ipkokmhXu]2K1Z:e|x\~;++dK04hekӝ\WfkbN_-? xK+,|w9}? qNM_Js|xwX;u*\ø..a\Eŵ2ʫ0.]Ǐ3x?tO^XoO]iSxNkwi#uI4ɯ\-Q,Sw7?| {.*ˈⰵJwB<' 3UqyrX$iWXHX(׼iUqY Ng}.rj^ fWfX+xmUz<Xnk(*ܪVω<Ϥխ4l5߄|#?+hĚ.jѴ{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p(); gdImageWebp(im, fp); fclose(fp); gdImageDestroy(im); return 0; } libgd-2.3.0/tests/webp/Makemodule.am0000664000175000017500000000025613635665516014244 00000000000000if HAVE_LIBWEBP libgd_test_programs += \ webp/bug00111 \ webp/bug_double_free \ webp/gdImageWebpEx endif EXTRA_DIST += \ webp/CMakeLists.txt \ webp/bug_double_free.jpg libgd-2.3.0/tests/webp/CMakeLists.txt0000664000175000017500000000016513635665516014401 00000000000000IF(WEBP_FOUND) LIST(APPEND TESTS_FILES bug00111 bug_double_free gdImageWebpEx ) ENDIF(WEBP_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/webp/bug_double_free.jpg0000664000175000017500000000110013634445460015432 00000000000000JFIFNNHFile source: http://commons.wikimedia.org/wiki/File:Drinking_water.jpgC   %# , #&')*)-0-(0%()(C   ((((((((((((((((((((((((((((((((((((((((((( ((((((("0!1AQ"2Ra#3bq!1A ?C.F타mj;k2oF֪45F$ɉKc{ins`4XrpA r}mB͵N1c[ 2WM*v_E~MoVDD4]@'@ ~`K@ֻ!p{;DM-e/6QWaegؓ' libgd-2.3.0/tests/gdimageclone/0000775000175000017500000000000013635665564013403 500000000000000libgd-2.3.0/tests/gdimageclone/style.c0000664000175000017500000000117713635665516014632 00000000000000/** * Cloning an image should exactly reproduce all style related data */ #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, clone; int style[] = {0, 0, 0}; im = gdImageCreate(8, 8); gdImageSetStyle(im, style, sizeof(style)/sizeof(style[0])); clone = gdImageClone(im); gdTestAssert(clone != NULL); gdTestAssert(clone->styleLength == im->styleLength); gdTestAssert(clone->stylePos == im->stylePos); gdTestAssert(!memcmp(clone->style, im->style, sizeof(style)/sizeof(style[0]))); gdImageDestroy(clone); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimageclone/Makemodule.am0000664000175000017500000000016413635665516015723 00000000000000libgd_test_programs += \ gdimageclone/bug00300 \ gdimageclone/style EXTRA_DIST += \ gdimageclone/CMakeLists.txt libgd-2.3.0/tests/gdimageclone/bug00300.c0000664000175000017500000000153513634445460014621 00000000000000/** * Regression test for * * We're testing that the resolution does not change when cloning. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, clone; im = gdImageCreate(8, 8); gdImageSetResolution(im, 100, 50); clone = gdImageClone(im); gdTestAssertMsg(gdImageResolutionX(clone) == gdImageResolutionX(im), "horizontal resolution doesn't match: expected %d, got %d\n", gdImageResolutionX(im), gdImageResolutionX(clone)); gdTestAssertMsg(gdImageResolutionY(clone) == gdImageResolutionY(im), "vertical resolution doesn't match: expected %d, got %d\n", gdImageResolutionY(im), gdImageResolutionY(clone)); gdImageDestroy(clone); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimageclone/CMakeLists.txt0000664000175000017500000000007313635665516016060 00000000000000LIST(APPEND TESTS_FILES bug00300 style ) ADD_GD_TESTS() libgd-2.3.0/tests/xbm/0000775000175000017500000000000013635665565011554 500000000000000libgd-2.3.0/tests/xbm/github_bug_501.xbm0000664000175000017500000000007613635665516014707 00000000000000#define width 8 #define height 2 static char bits[] ={ xzzxzz libgd-2.3.0/tests/xbm/github_bug_109.xbm0000664000175000017500000000032013634445460014674 00000000000000#define test_width 10 #define test_height 10 static unsigned char test_bits[] = { 0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00}; libgd-2.3.0/tests/xbm/x10_basic_read.xbm0000664000175000017500000000024313634445460014734 00000000000000#define x10_basic_read_width 17 #define x10_basic_read_height 3 static unsigned short x10_basic_read_bits[] = { 0xFFFF, 0x0001, 0x0000, 0x0000, 0xFFFF, 0x0001}; libgd-2.3.0/tests/xbm/Makemodule.am0000664000175000017500000000051313635665516014071 00000000000000libgd_test_programs += \ xbm/github_bug_501 \ xbm/github_bug_170 if HAVE_LIBPNG libgd_test_programs += \ xbm/github_bug_109 \ xbm/x10_basic_read endif EXTRA_DIST += \ xbm/CMakeLists.txt \ xbm/github_bug_109.xbm \ xbm/github_bug_109_exp.png \ xbm/x10_basic_read.xbm \ xbm/x10_basic_read_exp.png \ xbm/github_bug_501.xbm libgd-2.3.0/tests/xbm/github_bug_109_exp.png0000664000175000017500000000015713634445460015556 00000000000000PNG  IHDR ]PLTEU~ pHYs+IDATcp7IENDB`libgd-2.3.0/tests/xbm/github_bug_170.c0000664000175000017500000000224113635665516014341 00000000000000/* Test writing of XBM images with a width that is not a multiple of 8 We create an image with a width of 11 pixels, and draw a circle on it. To test that the padding is correctly applied, we write the image to disk and assert that the number of bytes written matches our expectation. See also . */ #include #include "gd.h" #include "gdtest.h" #ifdef _WIN32 int main() { /* skip for now */ return 0; } #else int main() { gdImagePtr im; int black; FILE *outFile; gdIOCtx *out; off_t length; /* create the test image */ im = gdImageCreate(11, 11); gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); gdImageArc(im, 5, 5, 10, 10, 0, 360, black); /* write the file to disk, note the file length and delete the file */ outFile = gdTestTempFp(); out = gdNewFileCtx(outFile); gdTestAssert(out != NULL); gdImageXbmCtx(im, "github_bug_170.xbm", 1, out); out->gd_free(out); length = ftello(outFile); fclose(outFile); gdImageDestroy(im); gdTestAssertMsg(length == 250, "expected to write 250 bytes; %jd bytes written", (intmax_t) length); return gdNumFailures(); } #endif libgd-2.3.0/tests/xbm/CMakeLists.txt0000664000175000017500000000024413635665516014230 00000000000000LIST(APPEND TESTS_FILES github_bug_501 github_bug_170 ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES github_bug_109 x10_basic_read ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/xbm/x10_basic_read.c0000664000175000017500000000117713635665516014406 00000000000000/** * Test reading of an X10 style XBM file * * X10 style XBMs define a short[] instead of a char[] array. We're testing * that such files are read correctly, particularly regarding the line padding, * which is 2 bytes instead of 1, and the endianess. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("xbm", "x10_basic_read.xbm"); im = gdImageCreateFromXbm(fp); fclose(fp); gdTestAssert(im != NULL); path = gdTestFilePath2("xbm", "x10_basic_read_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/xbm/github_bug_109.c0000664000175000017500000000135613635665516014351 00000000000000/** * Test reading of XBM images with a width that is not a multiple of 8 * * We're reading such an XBM image, and check that we got what we've expected, * instead of an error message. * * See also . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("xbm", "github_bug_109.xbm"); im = gdImageCreateFromXbm(fp); fclose(fp); gdTestAssert(im != NULL); gdTestAssert(gdImageGetTrueColorPixel(im, 0, 0) == 0); gdTestAssert(gdImageGetTrueColorPixel(im, 0, 1) == 0xffffff); path = gdTestFilePath2("xbm", "github_bug_109_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/xbm/x10_basic_read_exp.png0000664000175000017500000000016013634445460015604 00000000000000PNG  IHDROv)PLTEU~ pHYs+IDATc4c IENDB`libgd-2.3.0/tests/xbm/github_bug_501.c0000664000175000017500000000140413635665516014337 00000000000000/* Test reading an invalid XBM image. The pixels of the XBM image are invalid hex which makes the uninitialezed variable be encoded into the output image i.e. information disclosure. The image is 8*2. See also . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("xbm", "github_bug_501.xbm"); im = gdImageCreateFromXbm(fp); gdTestAssert(im == NULL); if (im) { gdTestErrorMsg("Info Disclosed\n"); int i; for (i = 0; i < 8; i++) { printf("Pixel(%d, 0) %0x\n", i, gdImageGetPixel(im, i, 0)); } for (i = 0; i < 8; i++) { printf("Pixel(%d, 1) %0x\n", i, gdImageGetPixel(im, i, 1)); } gdImageDestroy(im); } fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/gdimagestringup16/0000775000175000017500000000000013635665565014326 500000000000000libgd-2.3.0/tests/gdimagestringup16/gdimagestringup16_exp.png0000664000175000017500000000016513635665516021166 00000000000000PNG  IHDRGNPLTEn pHYs+IDATc` ,=& IENDB`libgd-2.3.0/tests/gdimagestringup16/gdimagestringup16.c0000664000175000017500000000120713635665516017746 00000000000000/** * Base test for gdImageStringUp16() */ #include #include #include "gdtest.h" int main() { /* Declare the image */ gdImagePtr im = NULL; wchar_t *wchr = L"H"; unsigned short *sptr; sptr = (unsigned short *)wchr; int foreground; int errorcode = 0; gdFontPtr fontptr = gdFontGetLarge(); im = gdImageCreate(20, 20); gdImageColorAllocate(im, 255, 255, 255); foreground = gdImageColorAllocate(im, 22, 4, 238); gdImageStringUp16(im, fontptr, 2, 18, sptr, foreground); if (!gdAssertImageEqualsToFile("gdimagestringup16/gdimagestringup16_exp.png", im)) errorcode = 1; gdImageDestroy(im); return errorcode; } libgd-2.3.0/tests/gdimagestringup16/Makemodule.am0000664000175000017500000000026513635665516016647 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagestringup16/gdimagestringup16 endif EXTRA_DIST += \ gdimagestringup16/CMakeLists.txt \ gdimagestringup16/gdimagestringup16_exp.png libgd-2.3.0/tests/gdimagestringup16/CMakeLists.txt0000664000175000017500000000013413635665516017000 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagestringup16 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagestringft/0000775000175000017500000000000013635665565014144 500000000000000libgd-2.3.0/tests/gdimagestringft/gdimagestringft_bbox.c0000664000175000017500000000440413635665516020416 00000000000000#include "gd.h" #include #include #include #include "gdtest.h" #define PI 3.141592 #define DELTA (PI/8) static int EXPECT[16][8] = { {500, 400, 628, 400, 628, 376, 500, 376}, {492, 362, 611, 312, 601, 290, 483, 339}, {470, 330, 561, 239, 544, 221, 453, 312}, {437, 308, 486, 189, 464, 180, 414, 299}, {400, 301, 400, 173, 376, 173, 376, 301}, {363, 309, 313, 190, 291, 200, 340, 318}, {332, 331, 241, 240, 223, 257, 314, 348}, {311, 363, 192, 314, 183, 336, 302, 386}, {304, 399, 176, 399, 176, 423, 304, 423}, {312, 435, 193, 485, 203, 507, 321, 458}, {333, 465, 242, 556, 259, 574, 350, 483}, {364, 486, 315, 605, 337, 614, 387, 495}, {399, 492, 399, 620, 423, 620, 423, 492}, {434, 484, 484, 603, 506, 593, 457, 475}, {463, 464, 554, 555, 572, 538, 481, 447}, {483, 434, 602, 483, 611, 461, 492, 411}, }; int main() { char *path; gdImagePtr im; int black; double cos_t, sin_t; int x, y, temp; int i, j; int brect[8]; int error = 0; FILE *fp; /* disable subpixel hinting */ putenv("FREETYPE_PROPERTIES=truetype:interpreter-version=35"); path = gdTestFilePath("freetype/DejaVuSans.ttf"); im = gdImageCreate(800, 800); gdImageColorAllocate(im, 0xFF, 0xFF, 0xFF); /* allocate white for background color */ black = gdImageColorAllocate(im, 0, 0, 0); cos_t = cos(DELTA); sin_t = sin(DELTA); x = 100; y = 0; for (i = 0; i < 16; i++) { if (gdImageStringFT(im, brect, black, path, 24, DELTA*i, 400+x, 400+y, "ABCDEF")) { error = 1; goto done; } for (j = 0; j < 8; j++) { if (brect[j] != EXPECT[i][j]) { gdTestErrorMsg("(%d, %d) (%d, %d) (%d, %d) (%d, %d) expected, but (%d, %d) (%d, %d) (%d, %d) (%d, %d)\n", EXPECT[i][0], EXPECT[i][1], EXPECT[i][2], EXPECT[i][3], EXPECT[i][4], EXPECT[i][5], EXPECT[i][6], EXPECT[i][7], brect[0], brect[1], brect[2], brect[3], brect[4], brect[5], brect[6], brect[7]); error = 1; goto done; } } gdImagePolygon(im, (gdPointPtr)brect, 4, black); gdImageFilledEllipse(im, brect[0], brect[1], 8, 8, black); temp = (int)(cos_t * x + sin_t * y); y = (int)(cos_t * y - sin_t * x); x = temp; } fp = gdTestTempFp(); gdImagePng(im, fp); fclose(fp); done: gdImageDestroy(im); gdFontCacheShutdown(); free(path); return error; } libgd-2.3.0/tests/gdimagestringft/Makemodule.am0000664000175000017500000000021213635665516016455 00000000000000if HAVE_LIBFREETYPE libgd_test_programs += \ gdimagestringft/gdimagestringft_bbox endif EXTRA_DIST += \ gdimagestringft/CMakeLists.txt libgd-2.3.0/tests/gdimagestringft/CMakeLists.txt0000664000175000017500000000015113635665516016615 00000000000000IF(FREETYPE_FOUND) LIST(APPEND TESTS_FILES gdimagestringft_bbox ) ENDIF(FREETYPE_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecolorexact/0000775000175000017500000000000013635665564014446 500000000000000libgd-2.3.0/tests/gdimagecolorexact/gdimagecolorexact.c0000664000175000017500000000302713634445460020203 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int error = 0; int c, c1, c2, c3, c4, color; im = gdImageCreateTrueColor(5, 5); c = gdImageColorExact(im, 255, 0, 255); c2 = gdImageColorExactAlpha(im, 255, 0, 255, 100); gdImageDestroy(im); if (gdTestAssert(c == 0xFF00FF) != 1) { error = -1; } if (gdTestAssert(c2 == 0x64FF00FF) != 1) { error = -1; } im = gdImageCreate(5, 5); c1 = gdImageColorAllocate(im, 255, 0, 255); c2 = gdImageColorAllocate(im, 255, 200, 0); c3 = gdImageColorAllocateAlpha(im, 255, 0, 255, 100); c1 = gdImageColorExact(im, 255, 0, 255); c2 = gdImageColorExact(im, 255, 200, 0); c3 = gdImageColorExactAlpha(im, 255, 0, 255, 100); c4 = gdImageColorExactAlpha(im, 255, 34, 255, 100); if (gdTestAssert(c1 == 0) != 1) { error = -1; } if (gdTestAssert(c2 == 1) != 1) { error = -1; } if (gdTestAssert(c3 == 2) != 1) { error = -1; } if (gdTestAssert(c4 == -1) != 1) { error = -1; } color = gdTrueColorAlpha(gdImageRed(im, c1), gdImageGreen(im, c1), gdImageBlue(im, c1), 0); if (gdTestAssert(color == 0xFF00FF) != 1) { error = -1; } color = gdTrueColorAlpha(gdImageRed(im, c2), gdImageGreen(im, c2), gdImageBlue(im, c2), 0); if (gdTestAssert(color == 0xFFC800) != 1) { error = -1; } color = gdTrueColorAlpha(gdImageRed(im, c3), gdImageGreen(im, c3), gdImageBlue(im, c3), 0); if (gdTestAssert(color == 0xFF00FF) != 1) { error = -1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagecolorexact/Makemodule.am0000664000175000017500000000016113635665516016763 00000000000000libgd_test_programs += \ gdimagecolorexact/gdimagecolorexact EXTRA_DIST += \ gdimagecolorexact/CMakeLists.txt libgd-2.3.0/tests/gdimagecolorexact/CMakeLists.txt0000664000175000017500000000007513635665516017125 00000000000000LIST(APPEND TESTS_FILES gdimagecolorexact ) ADD_GD_TESTS() libgd-2.3.0/tests/tiff/0000775000175000017500000000000013635665565011716 500000000000000libgd-2.3.0/tests/tiff/tiff_read_bw_exp.png0000664000175000017500000000051213634445460015616 00000000000000PNG  IHDR@(k pHYs  IDATX a2IR@x+ DzUXֿ bp6n7 yaON>u }׌BLiL8Q7=t,ESBgg8EgܬC0 0 @V@pad,%Ȉ ӥtةAbaxV-x-`Mu & $nхfB\;Hx7._9IENDB`libgd-2.3.0/tests/tiff/tiff_invalid_read.c0000664000175000017500000000241313634445460015420 00000000000000/* We're testing that reading corrupt TIFF files doesn't cause any memory issues, and that the operation gracefully fails (i.e. gdImageCreateFromTiffPtr() returns NULL). */ #include "gd.h" #include "gdtest.h" static void check_file(char *basename); static size_t read_test_file(char **buffer, char *basename); int main() { check_file("tiff_invalid_read_1.tiff"); check_file("tiff_invalid_read_2.tiff"); check_file("tiff_invalid_read_3.tiff"); return gdNumFailures(); } static void check_file(char *basename) { gdImagePtr im; char *buffer; size_t size; size = read_test_file(&buffer, basename); im = gdImageCreateFromTiffPtr(size, (void *) buffer); gdTestAssert(im == NULL); free(buffer); } static size_t read_test_file(char **buffer, char *basename) { char *filename; FILE *fp; size_t exp_size, act_size; filename = gdTestFilePath2("tiff", basename); fp = fopen(filename, "rb"); gdTestAssert(fp != NULL); fseek(fp, 0, SEEK_END); exp_size = ftell(fp); fseek(fp, 0, SEEK_SET); *buffer = malloc(exp_size); gdTestAssert(*buffer != NULL); act_size = fread(*buffer, sizeof(**buffer), exp_size, fp); gdTestAssert(act_size == exp_size); fclose(fp); free(filename); return act_size; } libgd-2.3.0/tests/tiff/tiff_invalid_read_2.tiff0000664000175000017500000000065513634445460016355 00000000000000II* P8  M` : ()>P? @HH16dd ףzTLff&\( PX9T/mnt/ramfs/test1/small_all/480d3595731ca9e9a9c92ea03a1f6af27aba1717.gif.tifflibgd-2.3.0/tests/tiff/tiff_null.c0000664000175000017500000000030113635665516013752 00000000000000#include "gd.h" int main() { gdImagePtr im; im = gdImageCreateFromTiff(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImageTiff(im, NULL); /* noop safely */ return 0; } libgd-2.3.0/tests/tiff/tiff_dpi.c0000664000175000017500000000313013635665516013557 00000000000000/* * Test that reading and writing image resolution values to/from TIFF files * works correctly. Set the image resolution, write the file, read the file * back and test that the image resolution comes back correct. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int r, res_x, res_y; void *p; int size = 0; int status = 0; src = gdImageCreate(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } r = gdImageColorAllocate(src, 0xFF, 0, 0); gdImageFilledRectangle(src, 0, 0, 99, 99, r); // gd default DPI is 96; libtiff default is 72. // Use something else so we know the value has been // written / read correctly. res_x = 100; res_y = 200; src->res_x = res_x; src->res_y = res_y; #define OUTPUT_TIFF(name) do { \ FILE *fp = gdTestTempFp(); \ gdImageTiff(name, fp); \ fclose(fp); \ } while (0) OUTPUT_TIFF(src); p = gdImageTiffPtr(src, &size); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromTiffPtr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } if (dst->res_x != res_x) { status = 1; gdTestErrorMsg("mismatch in res_x (got %d, expected %d)\n", dst->res_x, res_x); } if (dst->res_y != res_y) { status = 1; gdTestErrorMsg("mismatch in res_y (got %d, expected %d)\n", dst->res_y, res_y); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/tiff/Makemodule.am0000664000175000017500000000057713635665516014245 00000000000000if HAVE_LIBTIFF libgd_test_programs += \ tiff/tiff_dpi \ tiff/tiff_im2im \ tiff/tiff_invalid_read \ tiff/tiff_null if HAVE_LIBPNG libgd_test_programs += \ tiff/tiff_read_bw endif endif EXTRA_DIST += \ tiff/CMakeLists.txt \ tiff/tiff_invalid_read_1.tiff \ tiff/tiff_invalid_read_2.tiff \ tiff/tiff_invalid_read_3.tiff \ tiff/tiff_read_bw.tiff \ tiff/tiff_read_bw_exp.png libgd-2.3.0/tests/tiff/tiff_read_bw.tiff0000664000175000017500000000113613634445460015111 00000000000000II*H ???~>@( "*L@@"(HHC:\Users\cmb\php-dev\tiff_bw.tiffCreated with GIMPlibgd-2.3.0/tests/tiff/tiff_invalid_read_3.tiff0000664000175000017500000000065413634445460016355 00000000000000II* P8  M` ; ()>P? @HH33dd ףzTLff&(\ PX9T/mnt/ramfs/test1/sall_all/480d3595731ca9e9a9c92ea03a1f6af27aba1717.gif.tifflibgd-2.3.0/tests/tiff/CMakeLists.txt0000664000175000017500000000030713635665516014372 00000000000000IF(TIFF_FOUND) LIST(APPEND TESTS_FILES tiff_im2im tiff_invalid_read tiff_null tiff_dpi ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES tiff_read_bw ) ENDIF(PNG_FOUND) ENDIF(TIFF_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/tiff/tiff_im2im.c0000664000175000017500000000244013635665516014023 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int r, g, b; void *p; int size = 0; int status = 0; CuTestImageResult result = {0, 0}; src = gdImageCreate(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } r = gdImageColorAllocate(src, 0xFF, 0, 0); g = gdImageColorAllocate(src, 0, 0xFF, 0); b = gdImageColorAllocate(src, 0, 0, 0xFF); gdImageFilledRectangle(src, 0, 0, 99, 99, r); gdImageRectangle(src, 20, 20, 79, 79, g); gdImageEllipse(src, 70, 25, 30, 20, b); #define OUTPUT_TIFF(name) do { \ FILE *fp = gdTestTempFp(); \ gdImageTiff(name, fp); \ fclose(fp); \ } while (0) OUTPUT_TIFF(src); p = gdImageTiffPtr(src, &size); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromTiffPtr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } OUTPUT_TIFF(dst); gdTestImageDiff(src, dst, NULL, &result); if (result.pixels_changed > 0) { status = 1; printf("pixels changed: %d\n", result.pixels_changed); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/tiff/tiff_read_bw.c0000664000175000017500000000067313635665516014417 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("tiff", "tiff_read_bw.tiff"); gdTestAssert(fp != NULL); im = gdImageCreateFromTiff(fp); fclose(fp); gdTestAssert(im != NULL); gdTestAssert(!gdImageTrueColor(im)); path = gdTestFilePath2("tiff", "tiff_read_bw_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/tiff/tiff_invalid_read_1.tiff0000664000175000017500000000635013634445460016352 00000000000000II*H N   M }*@ > F ()> ?VRHH ףzTLff&(\ PX9T/mnt/ramfs/test1/small_all/47448692a9a9a022ade1ff6de5bba03283e2db91.svg.tiff.tifflibgd-2.3.0/tests/gdimagestring/0000775000175000017500000000000013635665565013612 500000000000000libgd-2.3.0/tests/gdimagestring/gdimagestring_exp.png0000664000175000017500000000026313635665516017735 00000000000000PNG  IHDRd2PLTEġ pHYs+SIDAT(c`8@nXX0x P^? ?_'?EAP* @yQxX<>L_ #include #include "gdtest.h" #include int main() { /* Declare the image */ gdImagePtr im = NULL; char *s = "Hello gd"; int foreground = 0; int error = 0; gdFontPtr fontptr = gdFontGetLarge(); im = gdImageCreate(100, 50); gdImageColorAllocate(im, 202, 202, 0); foreground = gdImageColorAllocate(im, 22, 4, 238); gdImageString(im, fontptr, im->sx / 2 - (strlen(s) * fontptr->w / 2), im->sy / 2 - fontptr->h / 2, (unsigned char*)s, foreground); if (!gdAssertImageEqualsToFile("gdimagestring/gdimagestring_exp.png", im)) error= 1; /* Destroy the image in memory. */ gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagecolorclosest/0000775000175000017500000000000013635665564015016 500000000000000libgd-2.3.0/tests/gdimagecolorclosest/gdimagecolorclosest.c0000664000175000017500000000244713634445460021130 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int error = 0; int c, i; im = gdImageCreateTrueColor(5, 5); c = gdImageColorClosest(im, 255, 0, 255); gdImageDestroy(im); if (gdTestAssert(c==0xFF00FF) != 1) { error = -1; } im = gdImageCreate(5, 5); c = gdImageColorClosest(im, 255, 0, 255); if (gdTestAssert(c==-1) != 1) { error = -1; } gdImageDestroy(im); im = gdImageCreate(5, 5); c = gdImageColorAllocate(im, 255, 0, 255); c = gdImageColorClosest(im, 255, 0, 255); c = gdTrueColorAlpha(gdImageRed(im, c), gdImageGreen(im, c), gdImageBlue(im, c), 0); gdImageDestroy(im); if (gdTestAssert(c==0xFF00FF) != 1) { error = -1; } im = gdImageCreate(5, 5); for (i=0; i < 255; i++) { c = gdImageColorAllocate(im, 255, 0, 0); } c = gdImageColorClosest(im, 255, 0, 0); c = gdTrueColorAlpha(gdImageRed(im, c), gdImageGreen(im, c), gdImageBlue(im, c), 0); gdImageDestroy(im); if (gdTestAssert(c==0xFF0000) != 1) { error = -1; } im = gdImageCreate(5, 5); for (i=0; i < 256; i++) { c = gdImageColorAllocate(im, 255, 0, 0); } c = gdImageColorClosest(im, 255, 0, 0); c = gdTrueColorAlpha(gdImageRed(im, c), gdImageGreen(im, c), gdImageBlue(im, c), 0); gdImageDestroy(im); if (gdTestAssert(c==0xFF0000) != 1) { error = -1; } return error; } libgd-2.3.0/tests/gdimagecolorclosest/Makemodule.am0000664000175000017500000000016713635665516017341 00000000000000libgd_test_programs += \ gdimagecolorclosest/gdimagecolorclosest EXTRA_DIST += \ gdimagecolorclosest/CMakeLists.txt libgd-2.3.0/tests/gdimagecolorclosest/CMakeLists.txt0000664000175000017500000000007713635665516017477 00000000000000LIST(APPEND TESTS_FILES gdimagecolorclosest ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimageellipse/0000775000175000017500000000000013635665565013741 500000000000000libgd-2.3.0/tests/gdimageellipse/bug00169.c0000664000175000017500000000060613635665516015200 00000000000000/** * add test case for gdImageEllipse */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int white = 0; im = gdImageCreateTrueColor(2200, 2200); white = gdImageColorAllocate(im, 255, 255, 255); gdImageEllipse(im, 1100, 1100, 2200, 2200, white); gdAssertImageEqualsToFile("gdimageellipse/bug00169_exp.png", im); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimageellipse/Makemodule.am0000664000175000017500000000023213635665516016254 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimageellipse/bug00169 endif EXTRA_DIST += \ gdimageellipse/CMakeLists.txt \ gdimageellipse/bug00169_exp.png libgd-2.3.0/tests/gdimageellipse/CMakeLists.txt0000664000175000017500000000012313635665516016411 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00169 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimageellipse/bug00169_exp.png0000664000175000017500000006034213635665516016421 00000000000000PNG  IHDRT pHYs+ IDATxYvۺ@GM[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 pp`Y `7hQ0Pp אép Z&P`I `9擺pf,$,v39c (k8n0c q 8>c1k +@+wYJxhBhR Imn<6b4DL "o0* |)ON8: g#dz"%lUy0 4$ДO(|x3e|5޳5I>Dp ٦%Ixڲ7s6% i$_g pIDATlN~V x37HA.4,j?)Ѝd}_ _xKv9[ * `Yxʓ^IENDB`libgd-2.3.0/tests/gif/0000775000175000017500000000000013635665565011533 500000000000000libgd-2.3.0/tests/gif/bug00060.c0000664000175000017500000000032513634445460012747 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("gif/bug00060.gif"); im = gdImageCreateFromGif(fp); fclose(fp); gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gif/bug00060.gif0000664000175000017500000004066513634445460013305 00000000000000GIF89ac!,c <)F\ԊDNƌ T \$GD\\Pu/D:$&o qľ $vj fLfD"D@tL4lilKTBW,.$!4 )F|4(Db,f<`+4j,(o1&l>^<|btL|>lttd\dDzd7W4U1-)\/,Zn=HARqk2qßthJQ PJ@]󘘚BDjG)eSWQ&jg+H4Z þSd,E&Rl=-;T5+ Ib$NaDtnqA+:]>ꙶ:Ar008 ؗ+y0)+J/K] OFhld;Y:,ֽ\ Wl3`|׺ Y{a>/etcJdG[0 EN퓍IPpi&'TM5VlrLdF ]|3o9A4eW8R,Wdk"2]N/% R<&*,@{2Qc{s&|eISRsgDy(Da0F!,cK ִD QDBTB4D$TΤRp|4,LbHHn'LBD| 6D T4,k66TbT޼L,̪71 bd<✼l<\~0tȬ|~TDDj̊|7l&82ZL2F||frDtJrdtq4dHY|n|!ĴFxWxP~,>d\ҤF D^4T /wd~ tltބ!1d,|T4\v@{n/O'r.KfسkUٚ `8r"_It>F? ەB(p 1_B/)v<(!v0LhNdOB $D(EQ@GeчbT5X^<2 r78PN#S (&BYqBIMB$fIrѓHA.sin4F4L1fCj Gqf|yȥHCbM$PVqBH1ܥ \bΧLeU`\'СVJR êW@G2QӓcJF,S& :DRAD *#M[T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`<ɍa%]38=D@8 [ H *Hhh(g!&2S\PV)ckCX`YXiXXNRe=ͥY,pZpj ^$B`iʅi1piCj9kjΜc=v7.R-`ɠ-@(U vl.wVU^_*𩾶cm=[aZf֖.pBi-bs*؂JH|&vy pCvyqv-0(UUikUFo~n- fkO3CU 6pIW`0vFn1Ƒpo>^-XsBxyhqOn? pVaCj'n[\mWPrXq,7pV!*`!'rD0Xq/0x.E RC1 P?/2oG,EPBRfpI XNn^+.O.rEi@y3@(0M*?(Zw[0xrN1pWq?XT@WH`gn{Q/uGyAkj݂BJx-rm@t1HqׂmnwTX0f@B7"t[klXl?-x]B0wHq1ATw7Q> ??F@{b@x?ITxG_~_0Rrw7k&B.zC kч|3A<tׅ[lƛ*@(Cz||w FA{_Iv *%G<@\wyO??k-P 2l!Ĉ+BPB  JC<`|!WФ9 W 3"E*ZP!-qH+2㪄-beİb>\1]Ң0YCu姯_?nPU̵{=85YB@xB\Ä&*Xaz-01y* 3cu4 +̥ Rn'F2 oΒCnC#H27De1ۃY Wp3.1!B04$T,U1T[F0*yp!)'>Tɖ4[N%dZ;C|Rc!This GIF file was assembled with GIF Construction Set from: Alchemy Mindworks Inc. P.O. Box 500 Beeton, Ontario L0G 1A0 CANADA. This comment block will not appear in files created with a registered version of GIF Construction Set! GIFCONnb1.0C:\blueva\mouse2\tree3.GIFC:\blueva\mouse2\tree4.gif;libgd-2.3.0/tests/gif/php_bug_75571.gif0000664000175000017500000000330313635665516014331 00000000000000GIF89a@0005|000".00000!000,00@@Hlibgd-2.3.0/tests/gif/unitialized_memory_read.gif0000664000175000017500000002631013634445460017035 00000000000000GIF89a, H?*\诟Ç#Gŋiȱ>} C/ɓ(SDz˗ɜI={8siϟ@֣Gѣ)]ʴ{J/Wy;zG{S|_G} ~". H:F)R9^IHYi yh,8(DP\(58%1 y=9I)U9aIIeCVb\v#a IfFl$q8W|V'nZhX%`J&h&p:*jy9{+*+:+JK#Z)j{)z)P#;;l쬣 7:G,cg:w#$|9(0\94l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Lj&$L:F,|\N/A{5 5PĂ(pjF_ ONKZiMOC FD' ˟b "@8P 0KlPНĂ `M 1Ȁ:ODK;R1ؿvnU|]M؅ oXIMuSHy&} O\l\1;(.j<9e $4.%O*5ŕNk@EP6LSC+ö;4F;B5<;DTL0d!|8ȁ̯+a&b+hb-I_1_0A)&c 4v-Iܥ""J8c=>; @n4HFaD.]1E怨I>.d @1Ѕ=%&eW~eXeYeZe[e\e]e^e_e`fafb.fc>fdNfe^ffnfg~fhfifjfkflfmfnfofpgqgr.gs>gtNgu^gvngw~gt;libgd-2.3.0/tests/gif/ossfuzz5700.c0000664000175000017500000000032713635665516013654 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("gif/ossfuzz5700.gif"); im = gdImageCreateFromGif(fp); fclose(fp); gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gif/bug00005_1.gif0000664000175000017500000000004313634445460013506 00000000000000GIF89a < , Ҷ˵˲libgd-2.3.0/tests/gif/bug00066.c0000664000175000017500000000047713634445460012765 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; int error = 0; fp = gdTestFileOpen("gif/bug00066.gif"); im = gdImageCreateFromGif(fp); fclose(fp); if (!gdAssertImageEqualsToFile("gif/bug00066_exp.png", im)) { error = 1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gif/gif_null.c0000664000175000017500000000027713634445460013411 00000000000000#include "gd.h" int main() { gdImagePtr im; im = gdImageCreateFromGif(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImageGif(im, NULL); /* noop safely */ return 0; } libgd-2.3.0/tests/gif/Makemodule.am0000664000175000017500000000113213635665516014046 00000000000000libgd_test_programs += \ gif/bug00005_2 \ gif/bug00181 \ gif/bug00227 \ gif/bug00499 \ gif/gif_null \ gif/ossfuzz5700 \ gif/php_bug_75571 \ gif/uninitialized_memory_read \ gif/bug00006 \ gif/bug00060 \ gif/gif_im2im if HAVE_LIBPNG libgd_test_programs += \ gif/bug00005 \ gif/bug00066 endif EXTRA_DIST += \ gif/CMakeLists.txt \ gif/bug00005_0.gif \ gif/bug00005_1.gif \ gif/bug00005_2.gif \ gif/bug00005_2_exp.png \ gif/bug00005_3.gif \ gif/bug00060.gif \ gif/bug00066.gif \ gif/bug00066_exp.png \ gif/ossfuzz5700.gif \ gif/php_bug_75571.gif \ gif/unitialized_memory_read.gif libgd-2.3.0/tests/gif/ossfuzz5700.gif0000664000175000017500000000003613635665516014174 00000000000000GIF89a , libgd-2.3.0/tests/gif/bug00005_2.c0000664000175000017500000010465513634445460013202 00000000000000#include #include #include "gd.h" static const unsigned char gifdata[8994] = {71,73,70,56,55,97,20,1,110, 0,247,0,0,247,247,247,255,251,255,231,231,231,214,211,214,239,235,239, 206,203,206,173,20,0,222,219,222,24,69,173,24,73,181,16,52,132,16,60, 148,198,24,0,181,178,181,247,243,247,140,16,0,198,190,189,189,186,189, 24,77,198,231,227,231,239,239,239,198,195,198,247,243,239,189,190,189, 198,199,198,8,81,8,206,207,206,8,36,99,33,89,214,214,36,8,214,215,214, 24,81,206,156,158,156,239,186,0,222,223,222,0,101,0,214,174,0,99,150, 239,49,101,214,74,125,231,8,60,165,181,182,181,156,154,156,115,162,239, 222,223,231,57,113,222,107,12,0,0,125,8,255,207,0,189,182,189,173,166, 173,165,162,165,231,73,49,41,81,181,255,117,99,189,150,0,90,138,239,165, 166,165,16,69,181,173,170,173,198,158,0,173,174,173,247,105,82,231,60, 33,253,253,253,239,89,66,99,211,99,222,48,24,90,203,90,181,36,16,132, 170,247,249,249,249,148,121,0,16,150,24,181,142,0,132,105,0,99,81,0,41, 73,148,173,134,0,189,44,24,107,44,33,49,182,57,165,130,0,173,199,247, 206,60,41,165,190,239,173,170,165,198,215,255,189,227,189,99,121,164, 107,211,115,247,134,115,255,239,8,90,105,124,140,32,16,148,65,49,132, 134,148,247,150,132,148,146,140,115,121,140,198,146,140,165,166,173,189, 207,239,206,213,214,41,65,107,132,125,115,217,215,203,234,234,234,123, 77,66,239,242,247,148,174,222,203,206,214,74,97,148,132,154,214,222,219, 214,247,251,255,123,134,173,165,134,123,23,64,154,140,146,148,57,186,66, 181,178,173,165,170,173,24,162,33,107,105,107,66,195,74,218,229,255,82, 109,173,198,199,206,156,101,90,123,101,82,73,85,115,59,89,147,123,219, 132,132,146,181,247,223,90,231,235,239,206,174,165,89,129,214,214,182, 181,165,182,214,210,210,210,247,186,173,222,227,231,57,97,181,247,166, 156,148,158,181,231,231,239,194,194,195,181,182,189,217,217,217,181,69, 49,255,247,255,247,247,255,198,117,107,214,219,231,214,219,221,225,225, 225,173,150,140,206,199,198,132,117,57,33,170,41,181,186,198,244,244, 244,156,134,66,181,195,222,255,235,231,231,228,222,206,235,206,231,219, 222,173,178,181,247,215,41,181,162,99,168,167,167,90,117,90,181,166,140, 255,203,198,115,142,206,192,191,191,239,231,231,170,146,49,247,215,206, 189,158,16,255,247,132,241,241,241,255,255,247,206,211,231,185,184,185, 181,89,74,25,57,127,222,203,140,239,199,41,13,55,146,206,195,165,214, 101,90,255,239,49,222,203,198,165,174,189,231,235,255,206,174,41,222, 186,66,12,50,133,201,201,201,255,243,181,178,177,178,181,170,165,239, 247,239,255,243,239,255,255,239,156,211,165,255,247,247,180,179,178,247, 231,214,140,203,140,239,227,148,222,239,222,165,164,163,173,142,16,239, 235,231,255,251,222,214,215,222,247,247,239,10,45,119,90,170,99,25,77, 189,140,174,140,222,215,214,162,160,160,123,150,123,146,148,154,66,142, 66,22,74,190,41,93,49,24,121,33,154,153,153,197,196,193,157,154,153,166, 163,160,215,212,209,3,26,76,11,34,87,148,147,149,42,62,109,152,155,165, 43,98,218,155,153,151,155,182,242,145,172,230,154,155,159,209,221,243, 247,235,247,133,133,139,184,181,176,24,46,97,243,244,246,255,255,255,44, 0,0,0,0,20,1,110,0,0,8,255,0,255,9,28,72,176,160,193,131,8,19,42,92,200, 176,161,195,135,16,35,74,156,72,177,162,197,139,24,51,106,220,200,177, 163,199,143,32,67,138,28,73,178,164,201,147,40,83,170,92,201,178,165, 203,151,48,99,202,156,73,179,166,205,155,56,115,234,220,201,179,167,207, 159,64,131,10,29,74,180,168,81,154,136,190,41,253,70,132,136,22,45,133, 162,22,194,114,180,170,213,151,156,204,141,120,241,34,73,168,62,66,158, 106,9,75,245,170,217,133,153,140,93,49,51,165,138,219,42,83,204,92,49, 54,231,236,193,0,0,48,233,213,218,245,43,212,168,66,250,68,193,19,205, 153,221,179,20,116,85,41,113,194,4,7,9,9,18,232,152,28,57,129,4,14,38, 20,25,49,147,233,48,94,11,4,38,16,168,144,97,107,146,40,78,11,85,139, 198,186,90,181,178,135,137,226,221,196,72,145,227,15,184,63,64,78,128, 162,183,111,223,146,117,124,48,81,98,138,49,179,1,28,8,56,160,161,64,1, 116,165,95,236,193,211,52,154,62,76,177,171,78,114,211,130,195,7,14,224, 193,75,255,144,160,163,55,130,38,132,224,252,249,3,135,80,147,5,11,80, 32,184,204,225,196,138,43,86,147,11,240,128,33,70,10,232,35,140,224,21, 30,120,84,147,138,0,22,0,144,221,80,186,196,226,29,110,225,237,38,31,33, 89,72,82,9,6,26,168,225,129,28,28,14,0,136,36,89,16,2,95,13,152,181,80, 2,126,71,129,118,64,5,13,244,0,93,116,123,12,166,197,1,44,16,160,224, 130,63,109,162,200,120,16,122,183,219,121,89,148,1,65,5,16,64,112,193, 145,69,14,137,161,28,34,28,32,74,22,35,154,208,130,125,126,24,21,0,5,34, 176,40,131,43,25,192,136,71,31,90,164,82,227,141,56,234,132,151,33,8, 160,96,89,110,227,241,134,64,144,41,52,32,103,4,116,214,105,231,5,69,98, 48,128,8,128,100,161,192,2,53,76,137,67,21,157,17,165,220,0,41,108,217, 229,86,95,17,81,8,1,20,56,64,102,153,56,29,208,132,2,10,200,103,217,143, 40,16,162,130,156,13,164,144,39,6,164,146,58,100,157,49,248,119,164,6, 114,84,66,136,2,8,152,255,112,2,14,43,84,57,84,0,251,37,202,101,116,95, 9,81,136,3,120,81,154,19,94,19,192,177,193,6,127,34,96,153,155,89,88,33, 231,5,21,96,56,192,1,7,136,96,237,1,26,14,208,28,4,254,197,217,64,12,24, 142,177,193,2,144,204,90,130,25,183,98,201,98,26,139,190,208,107,33,216, 9,155,19,104,44,12,48,200,177,201,78,86,195,29,161,66,160,193,180,19,32, 8,105,130,160,81,0,218,181,26,96,112,65,139,45,70,160,1,24,200,6,90,66, 113,66,1,96,193,1,16,52,192,46,175,96,193,43,47,78,42,42,156,199,189, 200,198,87,131,10,162,22,224,129,104,145,254,19,64,0,46,199,236,50,0,22, 19,32,128,28,3,84,16,129,156,50,52,128,193,29,17,155,88,66,21,62,189, 236,50,150,25,111,204,104,199,147,126,252,146,209,120,9,48,192,5,59,204, 0,2,201,10,52,33,195,5,42,215,40,233,66,80,31,189,92,1,25,91,145,195, 214,226,42,80,195,9,19,79,1,84,114,44,96,208,0,24,237,190,27,175,211,52, 29,74,181,10,124,223,255,155,117,4,123,18,240,181,68,120,133,54,64,198, 85,231,16,65,23,17,179,77,113,209,14,28,32,247,29,117,119,236,0,222,53, 133,220,192,12,124,131,192,184,2,89,8,222,52,225,14,16,112,64,1,41,88, 61,67,15,104,140,107,2,14,19,219,218,19,0,19,20,208,0,229,48,130,165, 133,5,152,215,164,220,138,155,131,48,67,30,116,16,82,67,41,26,93,57,118, 10,57,204,144,3,208,27,196,10,251,10,133,238,132,215,233,41,136,209,238, 30,186,243,222,251,76,250,1,111,197,14,128,159,178,201,38,28,209,139,65, 234,32,200,224,247,218,19,27,209,19,177,168,107,159,123,88,163,127,239, 82,114,166,235,44,234,0,4,216,8,212,126,87,129,30,88,77,12,199,90,192, 235,86,80,2,217,233,132,118,168,83,193,246,116,103,24,253,129,175,116, 204,193,64,1,0,152,63,140,232,205,10,237,123,159,137,86,32,63,235,65,48, 5,18,188,159,22,42,104,193,153,28,140,90,19,160,64,7,47,2,183,245,89,13, 98,174,163,213,125,120,162,28,13,196,32,133,91,153,78,88,255,88,216,66, 23,18,224,136,51,164,33,6,11,168,2,16,180,78,109,38,50,130,17,234,114, 16,0,240,65,4,120,225,3,11,60,192,135,46,34,4,106,212,112,68,36,194,176, 133,45,132,33,18,142,160,134,68,148,19,193,237,225,97,136,63,217,198,50, 110,113,136,58,214,241,22,203,216,6,52,72,98,10,88,140,177,140,101,12, 131,35,106,241,12,1,210,76,36,81,211,64,240,62,167,64,28,24,161,86,8, 153,0,31,48,240,15,8,240,225,0,22,136,1,31,12,134,144,89,132,65,24,52,8, 101,40,127,240,131,33,144,50,8,97,168,133,67,162,214,70,47,57,229,26,5, 97,68,44,98,17,135,90,74,81,138,111,129,203,20,118,201,203,43,248,161, 13,31,209,134,47,126,1,131,98,194,32,4,200,76,102,8,126,113,136,91,236, 177,35,169,248,100,16,70,73,202,33,116,160,3,67,24,2,13,124,16,9,83,240, 4,102,87,90,81,213,210,144,192,181,145,144,104,7,145,36,4,2,144,134,28, 76,224,31,23,224,195,93,0,64,6,107,254,64,148,165,236,64,17,246,201,255, 128,107,254,192,6,170,100,8,0,4,208,202,32,82,71,11,176,140,217,149,36, 177,128,76,169,105,60,37,50,215,196,38,134,131,19,88,116,86,70,184,66, 245,44,114,10,100,32,179,152,200,36,1,9,120,96,139,146,222,224,6,60,32, 65,8,96,112,136,109,104,36,21,194,200,230,61,105,144,207,34,60,225,166, 69,48,64,63,181,185,5,53,242,132,118,138,228,220,19,17,16,69,35,28,199, 32,26,224,3,1,26,112,201,119,90,242,32,169,184,196,78,171,217,129,39, 240,130,12,137,88,68,34,200,112,137,125,242,212,155,10,233,97,12,64,224, 198,87,202,44,88,19,160,67,67,227,51,31,204,152,139,129,37,168,168,99, 30,3,209,19,24,149,34,201,241,133,74,149,41,82,91,176,34,24,159,200,144, 26,130,193,138,108,40,129,7,43,61,196,51,35,2,78,10,104,162,3,12,48,37, 85,159,160,137,172,106,128,24,159,72,132,38,114,138,77,26,132,1,172,53, 129,217,204,164,118,1,25,56,17,89,210,147,34,186,12,162,177,127,8,143,0, 148,204,129,60,11,66,140,39,255,48,160,159,216,132,236,37,154,113,6,78, 208,8,17,109,64,68,34,190,80,4,42,252,192,7,176,80,200,64,7,16,1,32,118, 229,160,9,197,139,114,2,102,129,62,101,225,186,116,128,132,4,164,116, 209,22,56,230,15,113,96,4,35,36,241,135,182,158,160,10,84,132,200,41, 142,33,82,190,242,128,21,16,56,131,7,6,48,45,22,76,2,75,175,200,198,13, 72,0,131,97,44,131,34,226,160,194,109,177,105,77,125,6,226,2,103,72,48, 181,30,1,220,3,144,193,11,197,61,110,114,135,69,129,21,153,205,111,11, 224,0,173,140,128,206,130,16,160,80,162,13,86,65,82,241,4,157,226,22, 178,129,16,5,145,134,228,28,149,33,226,17,129,48,0,21,104,16,4,71,36, 100,185,99,109,87,18,14,138,138,129,76,87,91,27,164,47,171,36,161,172, 203,152,192,49,18,128,68,49,6,112,138,89,12,236,13,229,149,18,36,31,162, 6,91,164,116,175,125,125,133,145,144,84,129,22,79,139,0,106,160,133,19, 248,203,133,91,72,100,17,69,184,237,137,25,80,4,79,108,121,255,72,16,32, 213,6,15,208,134,79,124,65,198,52,142,196,3,107,215,0,25,48,210,156,82, 188,156,68,44,118,9,3,232,244,154,144,229,197,183,184,76,36,57,31,0,198, 50,14,130,15,108,124,144,67,69,128,172,209,217,177,83,80,209,216,45,22, 64,97,17,136,65,3,46,64,135,100,141,103,60,58,248,3,215,228,252,175,3, 32,136,14,177,98,27,138,24,162,6,148,94,89,164,36,176,133,226,34,16,231, 82,193,217,209,7,32,197,152,97,80,102,176,129,243,31,139,48,244,128,33, 203,102,79,48,58,206,43,150,115,147,238,76,5,73,235,153,38,33,6,0,1,166, 182,131,180,41,32,1,81,156,50,67,178,77,207,7,60,224,208,215,164,194, 168,53,248,175,230,232,12,79,16,208,16,113,183,137,220,42,74,237,210,58, 230,177,64,146,131,165,109,249,103,110,152,90,0,2,116,16,153,84,167,128, 215,165,234,242,156,181,81,222,22,192,110,214,9,81,131,126,121,112,235, 145,190,2,90,210,202,150,187,35,0,111,109,129,66,10,100,54,115,67,62,97, 104,19,171,153,1,110,255,134,64,1,254,165,241,156,113,188,72,30,40,0,20, 188,80,109,110,230,164,194,5,244,182,244,86,176,130,213,62,36,57,7,240, 130,185,15,157,77,50,204,57,96,4,176,214,0,200,230,31,135,205,224,1,79, 144,180,13,64,235,227,123,99,218,52,250,222,183,182,39,0,100,12,148,97, 173,69,30,79,13,122,112,1,118,107,43,97,120,170,0,198,0,197,54,113,27, 132,118,180,80,2,74,113,45,82,248,22,128,70,162,57,162,0,4,192,117,166, 167,32,5,111,104,198,18,156,16,2,46,20,219,32,80,11,0,137,149,125,114,6, 104,194,57,129,59,98,192,248,190,116,110,249,231,13,79,47,194,54,109,64, 233,208,226,124,110,200,130,213,2,87,224,182,159,59,160,13,117,112,129, 234,207,221,89,181,67,74,82,52,163,151,203,229,4,8,54,60,128,10,62,176, 65,24,246,173,245,123,59,87,211,66,232,241,64,94,182,117,230,192,33,89, 155,26,143,36,156,67,35,190,55,233,211,23,56,184,6,224,208,200,18,76, 241,46,14,96,133,20,228,94,241,99,64,192,3,53,74,208,255,141,10,183,28, 13,64,192,91,128,0,197,18,110,64,108,46,252,119,158,0,8,196,185,77,126, 219,75,0,98,101,71,28,156,116,199,118,126,57,97,192,246,81,103,3,0,101, 19,112,195,34,16,131,41,8,80,31,60,215,97,227,134,65,80,160,122,46,96, 110,69,208,1,52,48,38,5,17,123,82,131,56,162,144,6,46,240,4,52,32,128, 201,149,109,86,167,99,168,17,124,136,7,0,20,48,11,197,128,124,18,144,27, 89,160,50,175,39,41,178,231,63,16,0,6,106,227,56,165,71,16,201,17,12,82, 224,4,135,69,119,36,144,8,43,51,56,5,129,23,203,133,56,217,195,4,32,71, 108,195,128,16,52,147,8,67,71,127,12,208,12,156,48,1,68,168,131,52,115, 111,13,176,3,49,144,122,52,151,123,91,112,55,50,81,128,160,23,112,245, 81,2,43,192,128,11,97,49,181,35,8,16,24,129,58,53,4,226,160,92,164,213, 34,98,224,2,95,104,3,91,112,129,190,71,130,68,96,130,111,71,1,197,130, 124,185,193,1,162,112,10,54,130,133,203,85,64,183,227,58,104,255,184,2, 192,52,124,14,48,1,180,208,131,115,183,87,200,192,9,8,178,134,22,112, 111,59,96,54,76,176,126,133,119,120,4,97,49,143,240,5,243,183,108,12, 192,11,154,40,104,9,1,55,220,102,54,80,0,117,65,32,128,157,55,134,3,229, 67,7,248,39,28,224,112,214,247,16,203,117,1,61,32,6,130,240,128,112,200, 0,52,16,9,133,116,23,234,210,0,32,52,139,1,104,3,19,38,16,203,133,111, 153,86,130,194,119,129,181,131,6,132,136,27,138,96,129,136,23,57,114, 195,57,17,163,67,83,0,53,218,22,1,72,96,137,41,149,76,193,176,137,227, 102,1,181,195,60,101,32,8,131,71,102,195,176,88,51,67,0,205,16,133,39, 214,1,137,208,50,13,40,57,155,147,3,108,224,2,154,167,135,91,64,117,49, 1,65,23,144,54,2,183,93,22,181,2,192,40,0,65,197,55,42,144,6,108,240, 128,15,208,79,158,197,144,212,120,111,57,80,6,179,152,144,54,112,109,33, 57,0,63,228,135,128,88,138,88,162,7,1,55,31,223,241,1,110,144,136,243, 180,109,84,255,131,64,55,72,66,70,112,35,218,22,108,235,232,4,251,181, 87,199,16,67,192,136,147,86,80,143,76,128,4,60,208,126,214,144,109,4,0, 99,254,136,104,84,128,73,171,68,59,83,35,3,6,137,135,213,182,5,156,87, 19,16,180,56,37,51,31,82,98,34,15,161,55,50,128,145,159,210,0,117,128, 138,6,224,79,91,48,141,251,134,115,61,144,3,15,88,92,185,103,3,203,248, 15,213,120,117,93,81,130,176,161,117,245,2,52,166,6,30,38,112,6,135,244, 69,23,99,59,132,73,84,214,183,2,44,64,141,19,128,1,75,176,142,63,152,76, 190,96,147,13,113,37,89,178,57,105,176,148,55,48,138,77,56,16,160,81,1, 66,119,110,184,85,116,9,242,115,4,16,55,73,233,134,180,168,144,153,115, 111,198,82,152,142,161,8,171,132,65,253,97,54,86,195,133,52,178,8,154, 224,5,68,55,105,227,71,59,114,67,146,231,86,109,54,224,3,1,197,151,219, 214,92,44,25,152,46,115,49,26,0,145,9,120,100,138,160,153,78,56,153,101, 184,115,43,160,11,206,41,2,175,255,80,153,62,216,142,200,164,6,233,229, 16,185,232,153,161,168,4,100,198,5,62,165,109,44,224,9,17,136,154,216, 68,74,196,144,68,149,38,53,41,160,7,176,153,144,94,153,10,23,52,143,220, 152,44,223,1,30,184,153,155,229,215,31,91,216,51,42,87,35,14,86,104,135, 246,145,2,97,145,49,96,151,231,22,128,62,176,8,3,81,141,191,7,152,23, 184,109,16,224,109,9,208,139,45,16,7,210,32,80,22,154,54,222,233,54,180, 115,6,117,64,158,251,245,81,191,48,9,250,249,118,56,185,3,159,121,143, 78,41,153,103,16,8,245,25,135,167,36,0,233,217,16,193,216,3,255,137,123, 94,121,139,79,35,143,5,192,58,127,178,0,9,112,160,31,16,11,16,161,31,19, 32,2,27,71,39,101,231,98,136,0,156,57,213,79,63,176,5,106,208,6,44,112, 1,200,105,0,209,136,146,125,25,157,5,193,70,15,137,47,177,118,2,140,208, 16,108,36,150,176,114,134,67,147,11,166,147,126,50,186,87,48,224,11,55, 138,120,21,6,1,58,26,138,195,70,108,135,192,151,21,255,86,0,7,57,116, 157,69,3,154,48,7,131,202,123,225,4,1,170,0,155,145,38,128,187,55,134, 88,242,51,49,41,28,224,241,1,113,64,56,218,38,0,34,16,115,239,150,36, 255,210,96,92,101,114,87,213,159,66,167,166,31,168,123,90,247,156,31, 250,135,129,25,0,78,10,122,168,37,43,56,240,6,70,90,59,35,131,128,189, 56,49,85,16,140,234,135,4,66,9,168,190,64,17,22,32,2,73,131,168,77,73, 108,171,192,151,247,198,145,172,55,83,137,48,17,1,208,6,24,147,169,112, 24,141,91,224,61,45,1,53,141,58,6,49,57,165,163,234,6,20,17,123,20,176, 28,49,71,54,44,182,65,44,16,92,192,169,9,188,208,85,95,32,8,179,234,129, 185,215,169,206,201,92,185,42,4,187,234,164,121,0,61,162,135,3,56,0,158, 2,85,59,48,153,44,189,104,81,165,0,65,13,176,4,127,186,82,48,160,6,208, 26,174,203,234,4,136,101,173,124,201,103,218,90,4,218,20,4,65,64,12,29, 139,169,143,170,166,181,40,128,149,74,18,1,32,162,175,2,31,50,255,25,30, 62,135,87,0,240,99,219,82,175,46,166,32,203,165,49,67,7,176,62,32,176, 218,166,146,5,187,171,205,120,90,209,3,172,232,3,54,253,102,131,127,50, 165,101,105,6,210,32,57,57,16,138,204,138,88,43,245,11,218,176,178,170, 240,177,33,11,3,171,208,13,224,138,1,50,80,178,39,235,3,167,0,182,45, 235,129,2,104,3,230,186,63,71,91,6,235,218,130,222,97,2,147,144,17,159, 17,26,204,81,0,141,166,65,3,80,133,173,153,51,242,151,161,244,102,180, 125,120,141,186,170,141,5,228,103,229,52,43,14,171,16,225,84,0,53,59, 112,7,106,2,2,32,142,89,75,173,26,251,11,174,120,165,14,16,55,97,75,158, 99,187,10,22,80,168,118,89,159,69,240,3,82,71,1,222,42,142,105,59,174, 155,231,3,1,244,15,180,193,75,114,113,5,188,219,187,188,187,187,14,132, 17,64,87,157,81,90,100,51,153,160,2,228,0,178,215,28,142,118,45,5,32,10, 182,199,122,137,123,171,72,235,166,195,7,84,155,131,64,65,131,3,200,3, 54,166,3,147,54,255,219,130,222,40,13,20,144,149,76,16,138,82,112,186, 49,171,131,72,147,3,24,139,4,135,165,177,168,91,190,165,85,178,174,235, 3,229,122,165,224,52,186,24,128,161,210,155,123,182,43,16,143,240,42, 109,229,139,60,199,64,21,213,2,10,76,37,201,131,115,151,18,190,120,75, 147,31,65,124,161,145,170,243,53,45,56,131,182,167,249,150,52,22,4,108, 186,184,166,1,162,165,200,159,86,195,56,227,210,139,238,74,185,218,166, 6,199,39,112,201,39,1,21,155,163,130,224,185,197,116,8,27,101,122,113, 163,2,149,41,5,51,90,76,191,208,137,204,181,186,17,216,186,62,128,191, 120,197,191,119,8,169,247,107,3,192,162,32,4,112,124,100,105,31,183,196, 24,222,101,152,82,22,188,222,106,58,134,80,188,145,33,190,31,48,185,2, 164,117,228,55,121,56,83,1,117,16,133,29,224,186,65,192,161,212,184,109, 43,201,184,6,91,132,133,186,3,125,19,49,175,19,186,132,58,11,134,96,179, 4,87,112,127,96,1,64,28,1,59,48,195,149,25,154,53,188,190,195,135,115, 49,255,202,172,61,12,3,200,144,139,49,160,10,7,57,196,199,85,180,239, 138,37,128,0,164,74,140,178,54,0,0,202,115,49,151,146,128,14,71,66,60, 23,11,127,0,9,53,144,202,36,242,29,43,112,84,20,193,70,151,219,197,185, 209,2,136,236,173,158,172,188,130,120,56,168,104,159,51,213,156,71,11, 157,112,44,157,188,90,59,99,213,68,34,164,134,23,104,1,21,208,4,190,161, 44,147,1,195,52,35,162,135,10,154,26,187,168,89,124,56,203,202,195,206, 250,15,22,138,164,171,71,196,150,124,205,16,176,203,134,150,198,161,20, 6,115,144,116,204,33,7,140,35,165,245,1,59,56,224,6,64,182,114,9,118,6, 111,80,10,140,80,10,55,188,153,71,163,199,92,204,35,184,145,194,40,161, 28,243,57,149,167,116,187,3,11,204,33,220,184,69,40,162,156,19,66,39, 124,2,16,87,16,185,240,6,53,208,204,205,44,9,54,130,130,30,32,140,98, 112,190,75,224,158,53,92,164,14,113,40,23,107,153,230,25,2,79,185,31,73, 243,205,53,39,176,87,106,177,27,60,85,63,255,176,8,115,192,127,120,186, 0,219,53,37,39,10,1,28,167,65,154,184,151,22,161,109,5,240,30,46,124, 106,120,123,0,41,65,44,103,224,150,38,70,96,154,0,149,4,107,189,46,179, 191,243,168,58,49,160,174,177,86,5,120,44,16,140,112,209,240,17,31,190, 65,7,53,226,50,145,115,1,32,4,210,75,200,82,181,60,178,103,224,9,59,124, 153,200,116,10,87,114,166,207,168,122,145,102,196,166,58,1,48,58,149,50, 149,10,3,181,34,59,243,57,121,90,150,113,112,1,162,134,39,119,23,67,93, 125,165,41,232,39,2,167,44,47,28,7,109,125,17,22,48,9,158,224,143,59, 213,1,139,32,213,10,253,151,12,93,132,139,201,60,171,83,0,146,32,122, 108,51,5,126,48,9,147,64,27,138,80,30,97,13,31,127,98,8,106,176,185,71, 35,78,178,117,190,76,185,82,171,80,203,188,122,0,111,64,10,204,42,119, 237,21,2,200,144,9,223,42,57,175,185,122,0,107,3,251,60,110,224,250,6, 228,140,110,29,32,12,117,97,177,59,64,216,215,105,81,110,64,54,165,255, 178,65,34,176,185,149,141,23,20,192,80,145,253,194,151,49,0,149,93,17, 40,216,212,169,184,108,84,32,0,165,232,198,126,121,26,161,29,162,30,192, 34,73,153,2,226,0,147,53,32,43,143,184,2,56,208,2,31,144,0,178,141,41, 10,0,7,101,240,9,7,96,163,211,201,103,32,240,209,237,201,219,221,32,17, 124,122,0,121,128,4,140,124,101,200,20,12,51,3,225,119,56,196,155,135, 208,21,121,0,253,248,222,136,214,173,216,202,92,144,107,172,190,200,8, 77,50,45,213,34,2,140,93,17,188,250,6,239,49,112,149,113,106,58,16,7, 171,121,18,223,138,8,242,87,114,106,6,89,100,48,41,191,156,180,9,241,59, 114,211,3,61,16,1,114,80,106,255,189,97,70,80,2,45,32,1,40,128,224,104, 0,7,119,144,7,16,192,65,189,135,40,86,51,195,76,48,108,238,183,70,2,192, 13,172,48,220,151,72,2,199,176,183,255,112,40,236,51,201,52,39,105,205, 121,150,2,240,163,154,125,91,84,128,8,251,102,58,131,29,122,9,136,131, 169,75,1,20,112,68,175,255,135,200,217,38,2,144,32,31,58,158,124,58,0,9, 7,176,222,239,74,79,37,39,133,29,32,7,103,117,180,57,22,204,202,213,63, 59,147,2,71,130,6,128,18,110,113,32,9,116,48,6,170,126,7,32,96,5,162,82, 219,161,139,130,7,128,214,17,14,210,161,201,5,214,48,104,19,160,142,219, 103,107,184,22,12,55,66,190,89,25,225,204,157,103,186,30,1,179,42,133, 137,64,69,156,201,34,218,125,134,61,87,132,151,35,98,131,70,0,127,224, 232,143,222,38,9,32,10,218,73,18,52,67,6,151,222,120,12,112,228,177,62, 130,158,78,135,7,192,92,114,146,2,161,172,167,56,240,45,102,211,60,61, 224,229,3,128,32,162,181,111,189,202,57,159,169,132,252,53,12,235,27,0, 173,173,125,189,78,113,41,133,12,54,57,204,79,106,53,124,160,122,117, 110,3,176,203,154,44,192,11,243,71,127,188,112,240,159,247,236,109,151, 179,26,49,11,89,32,31,125,220,199,193,97,8,70,137,18,150,206,120,141, 119,9,44,128,199,109,122,238,148,219,168,49,96,54,220,8,40,178,255,114, 2,45,96,8,13,112,54,174,174,114,154,104,1,247,94,117,135,243,208,132, 172,4,133,151,235,185,41,92,61,200,125,4,111,11,159,64,132,71,248,208, 143,170,121,53,54,110,251,219,6,153,29,238,183,85,4,75,63,126,88,82,0, 121,128,241,104,168,241,24,97,237,106,82,112,149,17,28,89,0,230,20,241, 12,176,176,190,179,32,12,226,126,114,69,176,8,221,206,233,32,128,14,1,2, 218,113,60,110,251,113,1,121,32,181,238,44,37,38,96,8,17,32,42,26,116,0, 53,206,140,157,201,57,42,192,6,160,217,95,46,181,153,14,160,1,217,224, 131,39,85,249,55,144,8,246,158,200,34,96,59,15,253,128,94,0,176,62,37, 80,0,240,9,57,117,233,37,247,10,240,40,16,209,202,245,140,52,232,95,207, 17,220,0,9,32,47,25,149,145,38,127,80,0,143,64,68,140,133,108,194,224,8, 55,74,79,182,213,120,166,79,6,35,63,223,42,9,2,1,98,26,141,34,157,95,52, 186,5,160,7,70,221,86,101,233,6,233,94,45,49,52,183,246,54,53,61,208,68, 139,255,191,148,77,57,154,95,4,78,115,112,0,180,96,249,150,255,10,155, 48,247,164,149,150,124,227,249,79,240,79,41,106,108,81,101,250,37,87,7, 162,113,239,205,222,0,94,31,237,25,145,11,110,64,30,0,145,64,160,14,129, 2,17,160,128,164,108,2,174,35,255,28,62,132,24,81,226,191,0,255,22,21, 161,18,6,214,179,136,1,28,16,35,67,133,193,72,146,6,76,158,172,195,137, 0,0,137,1,4,28,192,64,110,196,204,17,47,246,68,193,131,101,98,75,0,22, 42,213,64,129,64,168,4,14,45,78,224,56,99,129,194,82,7,59,37,90,152,160, 161,193,12,21,32,100,128,98,34,133,71,136,67,208,156,62,60,64,75,201,88, 178,99,95,157,153,64,97,162,5,17,5,166,170,152,145,131,141,11,47,79,126, 216,48,245,213,33,177,75,39,253,26,168,163,70,128,131,138,14,3,80,56,80, 33,79,151,13,27,20,44,144,96,2,71,9,51,122,45,59,228,166,136,160,4,9,6, 133,30,68,241,103,157,28,10,13,47,79,12,0,64,245,63,98,69,12,48,24,18, 196,198,255,150,45,154,132,253,232,64,114,228,95,148,7,88,168,149,136, 233,0,132,112,233,104,214,124,145,100,143,150,211,185,220,36,64,64,48,1, 231,162,39,226,56,0,48,135,229,233,127,0,8,36,158,106,85,84,154,37,72, 182,174,90,230,212,129,47,91,55,200,58,145,226,36,219,171,2,7,40,52,149, 152,235,123,133,240,59,98,4,114,225,129,39,98,115,196,41,0,200,112,237, 175,7,188,168,163,62,236,10,163,136,2,17,20,99,172,49,5,16,168,193,168, 202,184,155,232,145,56,58,227,172,32,161,236,88,160,196,44,40,57,128,33, 14,121,178,160,197,127,196,249,226,1,147,116,99,32,183,221,20,124,96,65, 79,222,56,96,37,136,60,248,198,28,115,210,121,129,166,12,142,156,41,185, 61,116,210,11,128,88,164,43,72,7,162,76,104,65,151,21,33,2,64,0,15,32, 152,106,134,30,0,105,6,20,36,148,32,33,132,85,110,217,198,171,0,44,160, 198,151,99,120,112,207,9,248,164,144,130,20,43,0,241,192,71,212,178,220, 178,129,28,188,124,35,135,24,139,232,32,182,72,255,106,49,37,53,10,106, 33,163,47,191,114,124,224,139,28,240,20,96,187,135,214,156,112,177,198, 44,196,208,4,35,44,229,16,0,93,98,225,64,74,17,71,44,81,129,38,192,88, 199,62,32,174,236,200,2,2,4,152,96,130,44,235,240,34,71,222,78,130,20, 82,47,2,185,211,131,74,33,236,46,26,227,140,60,50,217,12,144,219,227, 154,175,8,200,2,133,129,10,74,64,202,15,220,128,245,82,7,4,24,128,63,25, 100,104,160,128,1,94,161,69,138,27,120,40,243,151,95,144,121,19,78,37, 232,68,34,94,82,196,168,164,130,1,6,251,202,35,45,185,252,182,129,55,60, 240,228,139,25,97,251,129,6,42,68,98,128,87,72,191,168,163,222,123,241, 131,8,83,10,55,232,167,226,13,122,233,20,135,42,252,152,195,178,0,8,48, 35,142,22,62,248,160,51,207,16,40,113,129,199,224,104,229,147,20,129, 120,53,91,135,84,19,64,4,15,6,24,224,128,73,52,168,3,138,94,127,206,49, 64,47,216,80,193,97,124,47,245,8,19,1,194,33,135,28,87,158,134,218,149, 52,255,200,9,39,156,106,80,113,106,19,72,164,165,246,51,161,106,136,195, 141,82,204,240,163,141,43,83,211,178,130,20,122,232,33,5,12,88,152,32, 24,86,196,26,235,6,187,223,149,34,94,36,64,153,87,15,135,39,176,96,39,8, 245,237,118,237,182,223,158,32,145,64,4,222,181,215,161,235,240,219,94, 91,81,99,171,130,29,64,0,163,139,65,228,217,192,27,199,16,152,242,132, 18,140,152,194,140,43,78,191,194,140,42,220,136,229,4,14,72,54,217,179, 84,21,160,157,144,59,248,81,166,147,81,96,150,249,210,44,69,24,160,128, 10,134,23,183,2,79,2,97,3,10,229,151,87,158,141,52,64,136,220,3,192,35, 246,238,165,3,14,40,224,130,30,64,224,158,123,25,98,208,64,207,157,184, 1,170,218,83,83,46,17,5,41,57,160,18,135,21,170,184,34,147,203,2,208, 215,131,236,27,104,160,94,13,88,160,245,147,68,88,153,27,45,72,49,64,82, 212,65,12,42,208,67,219,240,4,56,80,57,165,126,24,136,0,254,26,0,129,1, 76,0,17,44,88,4,25,52,193,139,255,47,116,176,131,108,8,68,29,160,215,54, 201,137,47,98,22,96,1,6,122,48,14,22,178,176,28,119,232,2,33,154,176,0, 105,113,134,100,55,196,33,103,98,7,29,161,204,142,118,10,32,4,24,100,16, 1,119,76,96,119,189,235,200,182,14,112,134,236,69,80,130,107,147,1,8, 196,48,69,49,112,175,12,57,248,158,189,6,3,42,125,97,111,120,92,178,66, 92,196,8,46,12,244,168,129,15,97,65,249,160,212,67,149,53,193,141,110,4, 141,64,36,240,1,19,156,192,8,87,56,35,79,190,163,129,10,68,192,143,16, 168,128,6,6,240,136,71,176,128,27,76,188,64,10,84,161,135,43,238,32,15, 23,168,15,1,28,32,191,211,172,233,59,221,242,99,4,32,128,1,113,17,242, 17,156,176,31,4,42,177,200,111,57,18,146,121,194,142,224,28,48,129,2, 196,64,6,227,192,7,11,119,176,139,64,106,64,20,134,248,131,12,105,136,2, 94,122,237,51,40,72,217,15,127,136,134,65,140,65,12,173,96,134,50,236, 115,132,152,33,49,98,74,196,36,254,174,216,61,106,206,255,224,138,89, 212,192,4,36,217,18,11,188,100,0,124,244,227,5,36,136,191,71,70,242,140, 31,219,26,2,186,134,178,5,172,42,7,110,27,192,25,0,81,12,67,100,129,16, 7,73,0,251,90,80,130,41,228,49,34,0,160,192,4,14,160,129,2,64,0,144,21, 192,64,66,49,80,129,11,56,81,6,59,192,31,4,196,165,77,179,93,9,0,171,28, 40,4,15,186,73,225,49,52,130,15,77,96,10,32,89,65,19,114,147,0,246,107, 64,10,118,176,210,29,200,96,23,178,40,128,7,78,113,10,17,216,82,18,245, 132,131,12,103,104,135,94,8,147,118,104,32,102,23,140,217,138,86,76,67, 22,141,48,98,51,157,217,17,239,28,192,126,16,196,95,75,165,138,69,252, 213,139,71,218,204,163,162,190,227,1,13,116,213,171,94,21,215,1,182,248, 207,110,208,65,1,210,90,35,48,225,160,2,44,198,0,2,255,146,233,44,180, 113,10,64,208,97,134,53,168,163,251,174,224,177,139,78,0,120,5,40,232, 240,134,151,201,24,252,241,173,30,224,31,196,96,133,182,9,200,33,120, 255,5,61,104,31,35,16,131,6,24,246,95,218,12,156,199,182,197,9,75,20,64, 25,178,216,69,104,35,32,11,89,172,163,2,202,168,0,32,148,161,1,119,104, 0,181,160,101,36,8,94,88,142,122,196,227,128,112,105,197,44,97,42,14,1, 80,0,0,74,93,170,68,104,38,208,199,106,212,160,195,227,100,206,4,48,86, 193,1,84,0,179,90,46,116,103,53,43,192,89,160,129,169,121,67,137,212,41, 34,96,102,97,7,84,141,193,5,18,138,208,133,106,64,14,90,162,67,137,32, 113,148,18,84,193,159,212,163,192,5,157,10,86,192,214,247,95,34,208,102, 73,23,155,26,232,94,15,103,245,5,240,101,171,251,94,158,224,98,13,107, 152,64,39,14,48,128,70,104,224,19,148,128,64,4,82,192,15,102,228,33,15, 204,96,219,52,26,48,13,102,236,192,10,173,120,40,51,68,204,140,93,68, 160,2,141,176,132,54,71,193,76,224,6,151,39,14,144,21,11,68,32,130,235, 249,70,4,112,163,85,139,8,252,79,213,88,183,39,63,78,13,0,136,69,63,7, 64,235,49,66,49,255,8,10,86,149,135,240,138,55,161,29,189,64,132,53,9, 73,17,92,160,9,10,168,129,232,70,7,28,203,92,52,198,19,128,155,140,113, 60,96,23,35,13,198,212,149,241,140,225,134,95,2,172,36,59,30,235,72,0, 128,112,81,0,224,130,2,4,56,176,0,58,161,96,6,23,128,18,159,56,109,5,40, 97,218,10,144,150,120,26,240,192,1,58,177,6,10,172,152,119,101,230,142, 106,122,162,148,165,244,88,53,29,131,52,83,119,118,229,5,108,23,58,53,0, 65,12,2,153,179,26,115,181,171,24,128,192,5,26,58,89,225,161,1,203,90, 94,1,166,231,7,227,158,220,71,210,214,205,116,75,104,61,233,251,248,56, 53,217,42,12,16,88,12,51,97,31,193,216,71,24,133,172,160,75,43,22,88, 162,19,44,224,196,1,68,208,9,1,172,129,0,163,0,192,176,31,157,107,110, 67,122,77,44,40,6,237,58,45,37,29,212,160,12,35,213,230,82,238,76,128, 52,131,178,0,78,132,40,4,202,176,129,5,64,98,50,163,235,118,190,245,189, 111,126,247,123,177,124,186,131,99,255,58,61,29,9,72,66,162,34,112,51, 245,176,67,0,191,14,0,170,223,138,0,99,154,176,207,21,148,96,175,254, 198,120,198,53,190,113,103,42,10,123,96,16,248,116,62,64,135,79,220,203, 183,249,2,232,119,178,183,61,25,4,252,213,43,88,129,17,56,62,115,154, 215,220,230,221,225,86,5,198,32,240,57,154,224,2,98,125,51,95,17,163, 129,8,244,64,5,42,112,53,2,246,105,132,21,88,233,230,79,135,122,212,93, 172,180,236,129,252,49,68,81,132,28,8,144,89,238,28,6,123,111,65,3,189, 37,3,243,42,72,221,236,103,71,187,94,82,195,202,20,184,28,50,28,136,195, 74,100,205,157,109,121,192,114,72,167,119,150,97,142,173,180,247,221, 239,102,95,187,91,64,16,118,200,152,192,13,210,216,177,97,34,230,17,86, 54,96,240,143,201,80,9,98,158,248,191,87,222,242,249,6,64,227,101,48,8, 199,224,149,239,176,162,25,209,85,32,238,200,76,38,14,151,71,125,234, 251,157,121,183,228,192,234,8,48,193,233,101,150,165,110,141,225,200, 145,49,138,236,85,191,255,123,222,79,93,0,173,228,30,231,23,192,129,19, 84,244,108,124,178,242,237,217,103,120,138,244,222,249,207,95,17,218,60, 112,129,63,169,160,243,38,96,196,236,5,32,135,44,104,215,90,31,224,64, 101,136,5,125,242,151,63,86,41,148,42,200,23,144,33,63,0,155,0,134,8, 138,167,57,163,136,110,152,223,254,247,55,204,182,6,224,202,33,238,28, 50,39,104,191,232,35,128,88,240,26,243,17,136,82,192,191,4,44,63,143, 115,11,47,41,0,179,130,140,22,152,2,14,201,133,82,128,132,83,249,37,67, 176,0,197,82,192,14,84,61,194,209,158,6,136,1,53,208,131,25,34,10,28, 152,2,14,140,136,110,120,4,55,104,1,9,32,8,175,225,37,20,200,2,17,224, 50,15,196,193,212,251,54,162,139,168,5,235,62,20,152,163,22,192,1,35, 168,2,211,73,29,70,96,157,22,120,29,147,97,163,148,161,131,135,201,193, 40,212,65,196,40,168,63,242,0,109,16,5,56,160,33,130,195,161,46,44,25, 30,242,33,66,0,1,151,209,47,41,52,67,180,243,58,225,113,43,255,72,154,0, 1,168,171,25,10,138,130,208,33,29,2,67,149,89,0,56,0,131,6,208,34,202, 59,195,62,164,57,180,169,41,201,2,36,243,210,146,91,250,131,26,168,1, 161,224,26,207,112,35,56,24,131,59,176,2,81,147,30,174,243,195,74,4,60, 231,178,187,40,251,35,192,26,0,174,194,0,81,40,134,155,50,4,58,32,69,48, 184,131,3,186,162,72,172,128,73,180,196,86,68,59,154,89,48,53,84,53,63, 106,50,90,76,169,30,8,163,63,137,11,83,18,151,163,113,197,95,140,58,69, 105,172,224,25,44,9,115,162,6,144,1,61,40,165,135,2,23,77,154,168,74,1, 198,104,148,58,254,178,158,255,242,168,201,74,129,108,100,178,40,3,44, 196,202,47,62,148,198,112,244,55,213,152,21,26,115,42,156,65,71,116,244, 0,233,249,70,112,20,199,119,236,54,8,185,53,165,104,179,233,98,56,2,80, 55,10,192,53,120,228,199,202,147,180,95,235,199,128,20,200,129,36,200, 142,107,190,230,27,191,130,84,200,124,57,200,133,116,200,135,132,200, 129,172,136,194,152,200,8,136,180,200,139,196,200,128,0,59 }; int main(void) { gdImagePtr im; if ((im = gdImageCreateFromGifPtr(8994, (char*) &gifdata[0])) != NULL) { gdImageDestroy(im); return 0; } else { return 1; } } libgd-2.3.0/tests/gif/bug00006.c0000664000175000017500000000253513635665516012763 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *file; const int r = 255, g = 0, b = 0; int r_f,g_f,b_f, trans_c_f; int trans_c = gdTrueColorAlpha(r,g,b,0); int error = 0; im = gdImageCreateTrueColor(192, 36); if (im == NULL) { gdTestErrorMsg("Cannot create image\n"); return 1; } gdImageColorTransparent(im, trans_c); gdImageFilledRectangle(im, 0,0, 192,36, trans_c); file = gdTestTempFile("bug0006.gif"); fp = fopen(file, "wb"); if (!fp) { gdTestErrorMsg("Cannot open <%s> for writing\n", file); return 1; } gdImageTrueColorToPaletteSetMethod(im, GD_QUANT_JQUANT, 0); gdImageTrueColorToPalette(im, 1, 256); gdImageGif(im,fp); fclose(fp); gdImageDestroy(im); fp = fopen(file, "rb"); if (!fp) { gdTestErrorMsg("Cannot open <%s> for reading\n", file); return 1; } im = gdImageCreateFromGif(fp); fclose(fp); if (!im) { gdTestErrorMsg("Cannot create image from <%s>\n", file); return 1; } trans_c_f = gdImageGetTransparent(im); if (gdTestAssert(trans_c_f == 1)) { r_f = gdImageRed(im, trans_c_f); g_f = gdImageGreen(im, trans_c_f); b_f = gdImageBlue(im, trans_c_f); if (!gdTestAssert(r_f == r) || !gdTestAssert(g_f==g) || !gdTestAssert(b_f==b)) { error = 1; } } else { error = 1; } /* Destroy it */ gdImageDestroy(im); free(file); return error; } libgd-2.3.0/tests/gif/gif_im2im.c0000664000175000017500000000244013634445460013446 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int r, g, b; void *p; int size = 0; int status = 0; CuTestImageResult result = {0, 0}; src = gdImageCreate(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } r = gdImageColorAllocate(src, 0xFF, 0, 0); g = gdImageColorAllocate(src, 0, 0xFF, 0); b = gdImageColorAllocate(src, 0, 0, 0xFF); gdImageFilledRectangle(src, 0, 0, 99, 99, r); gdImageRectangle(src, 20, 20, 79, 79, g); gdImageEllipse(src, 70, 25, 30, 20, b); #define OUTPUT_GIF(name) do { \ FILE *fp = gdTestTempFp(); \ gdImageGif(name, fp); \ fclose(fp); \ } while (0) OUTPUT_GIF(src); p = gdImageGifPtr(src, &size); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromGifPtr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } OUTPUT_GIF(dst); gdTestImageDiff(src, dst, NULL, &result); if (result.pixels_changed > 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/gif/bug00227.c0000664000175000017500000000271113635665516012764 00000000000000#include #include #include "gd.h" #include "gdtest.h" #define WIDTH 150 #define HEIGHT 1 #define DELAY 100 #define PROBE_SIZE 11 int main() { FILE *fp; char *file; gdImagePtr im0, im1, im2; int i; char *buf; /* generate a GIF animation */ im0 = gdImageCreate(WIDTH, HEIGHT); if (!im0) return 1; for (i = 0; i < WIDTH; i++) { int c = gdImageColorAllocate(im0, i, 0xff, 0xff); gdImageSetPixel(im0, i, 0, c); } file = gdTestTempFile("bug00227.gif"); fp = fopen(file, "wb"); if (!fp) return 1; gdImageGifAnimBegin(im0, fp, 0, 0); gdImageGifAnimAdd(im0, fp, 1, 0, 0, DELAY, 1, NULL); im1 = gdImageCreate(WIDTH, HEIGHT); if (!im1) return 1; for (i = 0; i < WIDTH; i++) { int c = gdImageColorAllocate(im1, i, 0x00, 0xff); gdImageSetPixel(im1, i, 0, c); } gdImageGifAnimAdd(im1, fp, 1, 0, 0, DELAY, 1, im0); im2 = gdImageCreate(WIDTH, HEIGHT); if (!im2) return 1; for (i = 0; i < WIDTH; i++) { int c = gdImageColorAllocate(im2, i, 0xff, 0x00); gdImageSetPixel(im2, i, 0, c); } gdImageGifAnimAdd(im2, fp, 1, 0, 0, DELAY, 1, im1); gdImageGifAnimEnd(fp); fclose(fp); gdImageDestroy(im0); gdImageDestroy(im1); gdImageDestroy(im2); /* check the Global Color Table flag */ fp = fopen(file, "rb"); if (!fp) return 1; buf = malloc(PROBE_SIZE); if (!buf) return 1; if (PROBE_SIZE != fread(buf, 1, PROBE_SIZE, fp)) return 1; if (buf[PROBE_SIZE-1] & 0x80) return 1; free(buf); fclose(fp); free(file); return 0; } libgd-2.3.0/tests/gif/CMakeLists.txt0000664000175000017500000000040213635665516014203 00000000000000LIST(APPEND TESTS_FILES bug00005_2 bug00181 bug00227 bug00499 gif_null ossfuzz5700 php_bug_75571 uninitialized_memory_read bug00006 bug00060 gif_im2im ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00005 bug00066 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gif/bug00181.c0000664000175000017500000000461013635665516012763 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, im2, im3; char *file; FILE *fp; int black, trans; int error = 0; /* GIFEncode */ im = gdImageCreate(100, 100); if (!im) { gdTestErrorMsg("Cannot create image.\n"); return 1; } im->interlace = 1; file = gdTestTempFile("bug00181.gif"); fp = fopen(file, "wb"); if (!fp) { gdTestErrorMsg("Cannot open <%s> for writing.\n", file); return 1; } gdImageGif(im, fp); gdImageDestroy(im); fclose(fp); fp = fopen(file, "rb"); if (!fp) { gdTestErrorMsg("Cannot open <%s> for reading.\n", file); return 1; } im = gdImageCreateFromGif(fp); fclose(fp); if (!im) { gdTestErrorMsg("Cannot create image from <%s>\n", file); return 1; } error = !im->interlace; gdImageDestroy(im); free(file); if (error) return error; /* GIFAnimEncode */ im = gdImageCreate(100, 100); im->interlace = 1; gdImageColorAllocate(im, 255, 255, 255); /* allocate white for background color */ black = gdImageColorAllocate(im, 0, 0, 0); trans = gdImageColorAllocate(im, 1, 1, 1); gdImageRectangle(im, 0, 0, 10, 10, black); file = gdTestTempFile("bug00181a.gif"); fp = fopen(file, "wb"); if (!fp) { gdTestErrorMsg("Cannot open <%s> for writing.\n", file); return 1; } gdImageGifAnimBegin(im, fp, 1, 3); gdImageGifAnimAdd(im, fp, 0, 0, 0, 100, 1, NULL); im2 = gdImageCreate(100, 100); im2->interlace = 1; (void)gdImageColorAllocate(im2, 255, 255, 255); gdImagePaletteCopy (im2, im); gdImageRectangle(im2, 0, 0, 15, 15, black); gdImageColorTransparent (im2, trans); gdImageGifAnimAdd(im2, fp, 0, 0, 0, 100, 1, im); im3 = gdImageCreate(100, 100); im3->interlace = 1; (void)gdImageColorAllocate(im3, 255, 255, 255); gdImagePaletteCopy (im3, im); gdImageRectangle(im3, 0, 0, 15, 20, black); gdImageColorTransparent (im3, trans); gdImageGifAnimAdd(im3, fp, 0, 0, 0, 100, 1, im2); gdImageGifAnimEnd(fp); fclose(fp); gdImageDestroy(im); gdImageDestroy(im2); gdImageDestroy(im3); fp = fopen(file, "rb"); if (!fp) { gdTestErrorMsg("Cannot open <%s> for reading.\n", file); return 1; } im = gdImageCreateFromGif(fp); fclose(fp); if (!im) { gdTestErrorMsg("Cannot create image from <%s>\n", file); return 1; } error = !im->interlace; gdImageDestroy(im); free(file); return error; } libgd-2.3.0/tests/gif/bug00005.c0000664000175000017500000000140113634445460012742 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; char * giffiles[4] = {"bug00005_0.gif", "bug00005_1.gif", "bug00005_2.gif", "bug00005_3.gif"}; int valid[4] = {0, 0, 0, 0}; char *exp[4] = {NULL, NULL, "bug00005_2_exp.png", NULL}; const int files_cnt = 4; FILE *fp; int i = 0; int error = 0; char *path; for (i=0; i < files_cnt; i++) { fp = gdTestFileOpen2("gif", giffiles[i]); im = gdImageCreateFromGif(fp); fclose(fp); if (valid[i]) { if (!im) { error = 1; } else { path = gdTestFilePath2("gif", exp[i]); if (!gdAssertImageEqualsToFile(path, im)) { error = 1; } free(path); gdImageDestroy(im); } } else { if (!gdTestAssert(im == NULL)) { error = 1; } } } return error; } libgd-2.3.0/tests/gif/php_bug_75571.c0000664000175000017500000000111113635665516014001 00000000000000/** * Test that GIF reading does not loop infinitely * * We are reading a crafted GIF image which has been truncated. This would * trigger an infinite loop formerly, but know bails out early, returning * NULL from gdImageCreateFromGif(). * * See also https://bugs.php.net/bug.php?id=75571. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gif", "php_bug_75571.gif"); gdTestAssert(fp != NULL); im = gdImageCreateFromGif(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/gif/bug00499.c0000664000175000017500000000217613635665516013004 00000000000000/** * Test that adding identical images to GIF animations do no double-free * * We are adding two frames to a GIF animation in gdDisposalNone mode, were the * second frame is identical to the first, which result in that image to have * zero extent. This program must not cause any memory issues. * * See also . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int black; int size; void * res; im = gdImageCreate(100, 100); black = gdImageColorAllocate(im, 0, 0, 0); gdImageRectangle(im, 0, 0, 10, 10, black); res = gdImageGifAnimBeginPtr(im, &size, 1, 3); if (res != NULL) { gdFree(res); } res = gdImageGifAnimAddPtr(im, &size, 0, 0, 0, 100, gdDisposalNone, NULL); if (res != NULL) { gdFree(res); } res = gdImageGifAnimAddPtr(im, &size, 0, 0, 0, 100, gdDisposalNone, im); gdTestAssert(res == NULL); if (res != NULL) { gdFree(res); } res = gdImageGifAnimEndPtr(&size); if (res != NULL) { gdFree(res); } gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gif/bug00066_exp.png0000664000175000017500000002772713634445460014212 00000000000000PNG  IHDR=/x0PLTEff̙f3̙f3̙̙ff̙3̙̙f̙3̙f3ffff3f3333fff3ffff3ffffffff3ff3f3ff3f33ffff33333333f33f33333333f333f3/tRNS@f IDATx}kC) 6;ocabx!a>!t@Ѹ.pRHGS  Ch(gC@xPr 7dW=Za޼`.1b;v?NrV}'lDqEuV@:ԠhMYp7;0>`Y8XFu@6~@WeWzt0ο,6v-,g2z4,FJ;W5Q%iR3Vz U ^ZAqDQXZ?=@5@3 Y;klf]kd2i`7RϿRj`Xʶɔ%Z] Dd7 IX*0v@ǦV/;?E~e^@5Z 2!\Vb%kc L Z(OFƺژrߨPᣮdIMNNO׺45xMGlV[G#M&Wj|8kY&%rtw IQNEU(djE6#hj=2>ISZDdqٶ!V߶|p#eZ̵̧Qߎi߭-+Z;P,M(h[Bxu !P/ul%~ ٷ ZfGu]L2,Pz>202d"PKW*-z%7E7ywA/B'W!jc` TO\ov~u+Y@2Ocݘ~]}޽DΙk(;G1zk!v}-@5!?& Ѩ([򒊉Ruq>7&rxc/ R𼫕1[ vXF`11:PȯˋXۚ6Z/ENh^K*77APKTwXV#>(0]:Ѫ"a(039x':Nd2@# LT09鄸ë+_dx9h-V,dΤ3\ 3*,s}Hꉪц9ʿMX0IeJk2<^`⏵M:ybDNk>J7΂$hqlTME:Ro1;jSVP*B&Tlpeh u]cE -6r.AN)tvD6$ȼڀ̊ʒH)@`sbYjd,Gޖ = ~1ԓ[,I0zn bA# ߒ9ȘqB.cY-˶q!6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u;+D䌘 ^dͨMdU XEJ i#~Q/_{9 7a]!M_xXUhʫbUCT<_+_/MhϞfX M0/`cs1ahNd|Y>- c)4i6"{{]6Eq|^&rX ]yoX_DL vlB$[[O LԤ(Wp0Rz:p?) xEUO {f.MdIdq\VU>IJا򼪊cd +^,<^ZV8W`=:SLvFj\q\~]Î_E{ 4_M$|E{dlx}:#YYq@:| &v {{{!GG|x@i pOnzzd|8k͗W' 29X\4e5RyZ/s;sKx/}ppzR @1k0KªVp|Q|: P @wP@6{jӒ >NQ0Y!F+ %k>?>΀bfW˫~>_hh7V3B !7 Ѵ*PWC?.ouqYjüwpd ɔ8aDsUX\^cDP^1Rƨ.k@V @Gν{7B ?UJl9߅~]^db/x d'O?alH.o_3 ٲQF<`02u⢝:ӯfTj{DV< Yvhw!Cj`WuۋVt&@13tʼ7`݉l.d&A6. ;@Q׫(|%2#tf@2ԥ6dgN'w3Ȟww?~] ͘Z#rwX _ z6 #K;̨TïRj~)wlđ}  lI{"r/gWd?@VU{Pa4>( ZFTFk/7m Ҹrوu,Ҭ:f?a:hc5 zV3x^=3$a&;3o{7glW փUj?՟ DT >>_j4N 5P C@ '@`IENDB`libgd-2.3.0/tests/gif/uninitialized_memory_read.c0000664000175000017500000000212413634445460017036 00000000000000/** * Test for uninitialized color map entries * * We're reading a crafted GIF which consists of 16x16 color blocks and which * has only two palette entries in the global color map, but uses other palette * indexes as well. We verify whether all undefined palette indexes produce the * color black. * * See also * which had been sent to security@libgd.org. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; int i, j, col; fp = gdTestFileOpen2("gif", "unitialized_memory_read.gif"); gdTestAssert(fp != NULL); im = gdImageCreateFromGif(fp); gdTestAssert(im != NULL); fclose(fp); for (i = 0; i < gdImageSX(im); i += 16) { for (j = 0; j < gdImageSY(im); j += 16) { if (gdImageGetPixel(im, i, j) >= 2) { col = gdImageGetTrueColorPixel(im, i, j); gdTestAssertMsg(col == 0, "(%d,%d): expected color 0, but got %d\n", i, j, col); } } } gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagebrightness/0000775000175000017500000000000013635665564014453 500000000000000libgd-2.3.0/tests/gdimagebrightness/basic+100.png0000664000175000017500000000375413634445460016455 00000000000000PNG  IHDRK pHYs+IDATx1j@EA UGCڪCg9صֲ9>@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0u5[x80 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ _">`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ 0{쯯l[[n[x0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ * y!IENDB`libgd-2.3.0/tests/gdimagebrightness/basic.png0000664000175000017500000000373113634445460016154 00000000000000PNG  IHDRK pHYs+IDATxס @sXKU|pk:K`L `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 gf @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0v@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0Zx`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @0t΂IENDB`libgd-2.3.0/tests/gdimagebrightness/basic.c0000664000175000017500000000121313635665516015612 00000000000000/** * Basic test for gdImageBrightness() */ #include "gd.h" #include "gdtest.h" static void test_brightness(int brightness); int main() { test_brightness(+100); test_brightness(-100); return gdNumFailures(); } static void test_brightness(int brightness) { gdImagePtr im; FILE *fp; char basename[256]; char *path; fp = gdTestFileOpen2("gdimagebrightness", "basic.png"); im = gdImageCreateFromPng(fp); fclose(fp); gdImageBrightness(im, brightness); sprintf(basename, "basic%+03d.png", brightness); path = gdTestFilePath2("gdimagebrightness", basename); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); } libgd-2.3.0/tests/gdimagebrightness/Makemodule.am0000664000175000017500000000033713634445460016766 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagebrightness/basic endif EXTRA_DIST += \ gdimagebrightness/CMakeLists.txt \ gdimagebrightness/basic.png \ gdimagebrightness/basic+100.png \ gdimagebrightness/basic-100.png libgd-2.3.0/tests/gdimagebrightness/basic-100.png0000664000175000017500000000372413634445460016454 00000000000000PNG  IHDRK pHYs+IDATxױ 1 Ap=|f fffmkkk{ly^`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @[xf %0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ Xpmkkk{n@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0>mmmmm}`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @t SIENDB`libgd-2.3.0/tests/gdimagebrightness/CMakeLists.txt0000664000175000017500000000012013634445460017112 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES basic ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagegrayscale/0000775000175000017500000000000013635665565014256 500000000000000libgd-2.3.0/tests/gdimagegrayscale/basic.png0000664000175000017500000000373113634445460015756 00000000000000PNG  IHDRK pHYs+IDATxס @sXKU|pk:K`L `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 gf @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0v@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0Zx`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @0t΂IENDB`libgd-2.3.0/tests/gdimagegrayscale/basic.c0000664000175000017500000000065413635665516015424 00000000000000/** * Basic test for gdImageGrayScale() */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("gdimagegrayscale", "basic.png"); im = gdImageCreateFromPng(fp); fclose(fp); gdImageGrayScale(im); path = gdTestFilePath2("gdimagegrayscale", "basic_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagegrayscale/bug00386.c0000664000175000017500000000256313635665516015522 00000000000000/** * Test that gdImageGrayScale() produces pure gray-scale images * * We are reading a PNG image with transparency, apply gdImageGrayScale() and * test that each pixel has equal red, blue and green components. To avoid * flooding the test log, we bail out after the first non gray-scale pixel. * * We also make sure that the image is a truecolor image, since otherwise it is * not guaranteed that all pixels are actually gray-scale. * * See also . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; int res; int i, j; fp = gdTestFileOpen2("gdimagegrayscale", "bug00386.png"); gdTestAssert(fp != NULL); im = gdImageCreateFromPng(fp); gdTestAssert(im != NULL); fclose(fp); res = gdImageTrueColor(im); gdTestAssert(res != 0); res = gdImageGrayScale(im); gdTestAssert(res != 0); for (i = 0; i < gdImageSX(im); i++) { for (j = 0; j < gdImageSY(im); j++) { int color = gdImageGetTrueColorPixel(im, i, j); int red = gdImageRed(im, color); int green = gdImageGreen(im, color); int blue = gdImageBlue(im, color); if (!gdTestAssert(red == green && green == blue)) { return gdNumFailures(); } } } gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagegrayscale/basic_exp.png0000664000175000017500000000405413634445460016631 00000000000000PNG  IHDRK pHYs+IDATxQ0EIókB/۶~8~>O{+~_w5s[>4@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0czzv۶G=w3{Wg;u%0M `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 c~~'}ߓ3}g~}vf `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 85mXߞ}m=c @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0c :IENDB`libgd-2.3.0/tests/gdimagegrayscale/Makemodule.am0000664000175000017500000000036613634445460016572 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagegrayscale/basic \ gdimagegrayscale/bug00386 endif EXTRA_DIST += \ gdimagegrayscale/CMakeLists.txt \ gdimagegrayscale/basic.png \ gdimagegrayscale/basic_exp.png \ gdimagegrayscale/bug00386.png libgd-2.3.0/tests/gdimagegrayscale/bug00386.png0000664000175000017500000000460413634445460016053 00000000000000PNG  IHDR$! +gAMA7tEXtSoftwareAdobe ImageReadyqe< IDATxXYl\W;g_=qm&jIE+ET @@*R+!V!o DnSfcRq6}hRB8[zgkNAtxZ$5 8Bݓɚ*oVw}UVՆ*v!^'leUXswYc` @}ՠ{eBc1UE^`L&A")37ȥz,[d4%=񬸴橞I 6"3@\4M[1efP(6%^MI q Ef}CW0;j,TQ\e F(0 }]?HL);!2`u"+TznE3\^K@aF-eLڃ2qOp>rѺY:*/!ә p-|EGph,](`0pTVj)@B@g@C(Apcz-؎UUϜ:Jp||:vWioB6h ~!09`&D.+g=73ˢ&2` 9 vhxV/ri%yx㲢2uI8Ϫu+I§t]ED{QiP"Mr\JqGAܮv}tTb11uxYGr:|SPO;'pBD)[GmEB M,p PF NpbhQ$Zv].bѮj(d%ݫׄѓmZɲ 1ڴe! 6|Z Weި77ެwR$hŖsţ = _'iR5QU괎(schcRC@2l&'7Zl]\XYDVjZ]uc[*8bg/tu{;%Hiᰣv]NtALBl|QB:"GmMo$a?7/k¾Vsj׽: 6NVkEQaHN 5 p8(?gNFGmBb3AF֧ߺxaPf>4$qƷzO!eEB_Y {eI1&uB*d^)U d(= f&1MԖ`(8YHwvu,F[q(gvM]űҖYk6ffbqiv#"G-=FP[* ꟎V?>Մ8AԆԹvC`X䆵~IENDB`libgd-2.3.0/tests/gdimagegrayscale/CMakeLists.txt0000664000175000017500000000013213634445460016717 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES basic bug00386 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/Makefile.am0000664000175000017500000000656413635665516012751 00000000000000check_LIBRARIES = libgdtest.a libgdtest_a_SOURCES = \ gdtest/gdtest.c \ gdtest/gdtest.h \ gdhelpers.c libgdtest_a_CPPFLAGS = $(AM_CPPFLAGS) -DGDTEST_TOP_DIR='"$(srcdir)"' # Setup vars that subdirs will increment. libgd_test_programs = libgd_helper_programs = CLEANFILES = EXTRA_DIST = TESTS = include bmp/Makemodule.am include fontconfig/Makemodule.am include freetype/Makemodule.am include gd/Makemodule.am include gd2/Makemodule.am include gdimagearc/Makemodule.am include gdimagebrightness/Makemodule.am include gdimageclone/Makemodule.am include gdimagecolor/Makemodule.am include gdimagecolorclosest/Makemodule.am include gdimagecolorclosesthwb/Makemodule.am include gdimagecolordeallocate/Makemodule.am include gdimagecolorexact/Makemodule.am include gdimagecolormatch/Makemodule.am include gdimagecolorreplace/Makemodule.am include gdimagecolorresolve/Makemodule.am include gdimagecolortransparent/Makemodule.am include gdimagecompare/Makemodule.am include gdimagecontrast/Makemodule.am include gdimageconvolution/Makemodule.am include gdimagecopy/Makemodule.am include gdimagecopymerge/Makemodule.am include gdimagecopymergegray/Makemodule.am include gdimagecopyresampled/Makemodule.am include gdimagecopyresized/Makemodule.am include gdimagecopyrotated/Makemodule.am include gdimagecreate/Makemodule.am include gdimagecrop/Makemodule.am include gdimagefile/Makemodule.am include gdimagefill/Makemodule.am include gdimagefilledarc/Makemodule.am include gdimagefilledellipse/Makemodule.am include gdimagefilledpolygon/Makemodule.am include gdimagefilledrectangle/Makemodule.am include gdimagefilltoborder/Makemodule.am include gdimagefilter/Makemodule.am include gdimageflip/Makemodule.am include gdimageellipse/Makemodule.am include gdimagegrayscale/Makemodule.am include gdimageline/Makemodule.am include gdimagenegate/Makemodule.am include gdimageopenpolygon/Makemodule.am include gdimagepixelate/Makemodule.am include gdimagepolygon/Makemodule.am include gdimagerectangle/Makemodule.am include gdimagerotate/Makemodule.am include gdimagescale/Makemodule.am include gdimagescatterex/Makemodule.am include gdimagesetinterpolationmethod/Makemodule.am include gdimagesetpixel/Makemodule.am include gdimagesquaretocircle/Makemodule.am include gdimagestring/Makemodule.am include gdimagestring16/Makemodule.am include gdimagestringft/Makemodule.am include gdimagestringftex/Makemodule.am include gdimagestringup/Makemodule.am include gdimagestringup16/Makemodule.am include gdimagetruecolortopalette/Makemodule.am include gdinterpolatedscale/Makemodule.am include gdnewfilectx/Makemodule.am include gdtest/Makemodule.am include gdtiled/Makemodule.am include gdtransformaffineboundingbox/Makemodule.am include gdtransformaffinecopy/Makemodule.am include gif/Makemodule.am include jpeg/Makemodule.am include png/Makemodule.am include tga/Makemodule.am include tiff/Makemodule.am include wbmp/Makemodule.am include webp/Makemodule.am include xbm/Makemodule.am include xpm/Makemodule.am LDADD = libgdtest.a ../src/libgd.la AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/tests/gdtest check_PROGRAMS = $(libgd_test_programs) $(libgd_helper_programs) TESTS += $(libgd_test_programs) EXTRA_DIST += \ CMakeLists.txt # We don't keep any media files in the top dir ... just generated outputs. CLEANFILES += \ *.bmp \ *.gd \ *.gd2 \ *.gif \ *.jpeg \ *.jpg \ *.png \ *.tga \ *.tiff \ *.ttf \ *.wbmp \ *.webp \ *.xbm \ *.xpm libgd-2.3.0/tests/gdimagecolorresolve/0000775000175000017500000000000013635665564015021 500000000000000libgd-2.3.0/tests/gdimagecolorresolve/Makemodule.am0000664000175000017500000000016713635665516017344 00000000000000libgd_test_programs += \ gdimagecolorresolve/gdimagecolorresolve EXTRA_DIST += \ gdimagecolorresolve/CMakeLists.txt libgd-2.3.0/tests/gdimagecolorresolve/CMakeLists.txt0000664000175000017500000000007713635665516017502 00000000000000LIST(APPEND TESTS_FILES gdimagecolorresolve ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecolorresolve/gdimagecolorresolve.c0000664000175000017500000000310613634445460021127 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int error = 0; int c, c1, c2, c3, c4, color; im = gdImageCreateTrueColor(5, 5); c = gdImageColorResolve(im, 255, 0, 255); c2 = gdImageColorResolveAlpha(im, 255, 0, 255, 100); gdImageDestroy(im); if (gdTestAssert(c == 0xFF00FF) != 1) { error = -1; } if (gdTestAssert(c2 == 0x64FF00FF) != 1) { error = -1; } im = gdImageCreate(5, 5); c1 = gdImageColorResolve(im, 255, 0, 255); c2 = gdImageColorResolve(im, 255, 200, 0); c3 = gdImageColorResolveAlpha(im, 255, 0, 255, 100); c4 = gdImageColorResolveAlpha(im, 255, 34, 255, 100); if (gdTestAssert(c1 == 0) != 1) { error = -1; } if (gdTestAssert(c2 == 1) != 1) { error = -1; } if (gdTestAssert(c3 == 2) != 1) { error = -1; } if (gdTestAssert(c4 == 3) != 1) { error = -1; } color = gdTrueColorAlpha(gdImageRed(im, c1), gdImageGreen(im, c1), gdImageBlue(im, c1), 0); if (gdTestAssert(color == 0xFF00FF) != 1) { error = -1; } color = gdTrueColorAlpha(gdImageRed(im, c2), gdImageGreen(im, c2), gdImageBlue(im, c2), 0); if (gdTestAssert(color == 0xFFC800) != 1) { error = -1; } color = gdTrueColorAlpha(gdImageRed(im, c3), gdImageGreen(im, c3), gdImageBlue(im, c3), 0); if (gdTestAssert(color == 0xFF00FF) != 1) { error = -1; } color = gdTrueColorAlpha(gdImageRed(im, c4), gdImageGreen(im, c4), gdImageBlue(im, c4), 0); if (gdTestAssert(color == 0xFF22FF) != 1) { error = -1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/tga/0000775000175000017500000000000013635665565011541 500000000000000libgd-2.3.0/tests/tga/bug00248.c0000664000175000017500000000042013634445460012761 00000000000000#include #include "gd.h" #include "gdtest.h" int main(int argc, char **argv) { gdImagePtr im; FILE *fp = gdTestFileOpen("tga/bug00248.tga"); im = gdImageCreateFromTga(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/tga/heap_overflow.c0000664000175000017500000000214713634445460014456 00000000000000/** * Test that crafted TGA files don't trigger OOB reads. */ #include "gd.h" #include "gdtest.h" static void check_file(char *basename); static size_t read_test_file(char **buffer, char *basename); int main() { check_file("heap_overflow_1.tga"); check_file("heap_overflow_2.tga"); return gdNumFailures(); } static void check_file(char *basename) { gdImagePtr im; char *buffer; size_t size; size = read_test_file(&buffer, basename); im = gdImageCreateFromTgaPtr(size, (void *) buffer); gdTestAssert(im == NULL); free(buffer); } static size_t read_test_file(char **buffer, char *basename) { char *filename; FILE *fp; size_t exp_size, act_size; filename = gdTestFilePath2("tga", basename); fp = fopen(filename, "rb"); gdTestAssert(fp != NULL); fseek(fp, 0, SEEK_END); exp_size = ftell(fp); fseek(fp, 0, SEEK_SET); *buffer = malloc(exp_size); gdTestAssert(*buffer != NULL); act_size = fread(*buffer, sizeof(**buffer), exp_size, fp); gdTestAssert(act_size == exp_size); fclose(fp); free(filename); return act_size; } libgd-2.3.0/tests/tga/bug00084.c0000664000175000017500000000032413634445460012762 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("tga/bug00084.tga"); im = gdImageCreateFromTga(fp); gdImageDestroy(im); return 0; } libgd-2.3.0/tests/tga/tga_read.c0000664000175000017500000000136513634445460013365 00000000000000/** * Basic test case for reading TGA files. */ #include "gd.h" #include "gdtest.h" static void assert_equals(char *exp, char *orig); int main() { assert_equals("tga_read_rgb.png", "tga_read_rgb.tga"); assert_equals("tga_read_rgb.png", "tga_read_rgb_rle.tga"); return gdNumFailures(); } static void assert_equals(char *exp, char *orig) { gdImagePtr im; FILE *fp; char *filename; fp = gdTestFileOpen2("tga", orig); gdTestAssertMsg(fp != NULL, "can't open %s", orig); im = gdImageCreateFromTga(fp); gdTestAssertMsg(im != NULL, "can't read %s", orig); fclose(fp); filename = gdTestFilePath2("tga", exp); gdAssertImageEqualsToFile(filename, im); gdFree(filename); gdImageDestroy(im); } libgd-2.3.0/tests/tga/bug00248a.c0000664000175000017500000000046613634445460013134 00000000000000/* See also */ #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("tga/bug00248a.tga"); im = gdImageCreateFromTga(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/tga/bug00247a.tga0000664000175000017500000000004413634445460013454 00000000000000libgd-2.3.0/tests/tga/bug00247a.c0000664000175000017500000000052713634445460013131 00000000000000/* We test that a 8bpp TGA file will be gracefully rejected by gdImageCreateFromTga(). */ #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("tga/bug00247a.tga"); im = gdImageCreateFromTga(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/tga/tga_read_rgb.tga0000664000175000017500000026051413634445460014553 00000000000000qq ("""""""""""""""""""""""""""""l""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Q";2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2;2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,0,,,,,,,,,,,,,,,,,,,,,,,,,,0,,`;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2;2;2;2;2;2;2;2;2;2;2;2;2×;2,,,,<,,,,,,,,,,,,,,,,,,,,,,,,,,<,,x;2;2H;2f;2f;2f;2f;2f;2f;2f;2f;2f;2f;2f;2N;2`fffffffffff6,,,,,,f,,f,,f,,f,,f,,f,,f,,f,,f,,f,,f,,f,,,,0ffffffffffffMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM̌̌̌̌̌̌̌̌̌̌̌lMMMfMfMfMfMfMfMfMfMfMfMfMfMM0ffffffffffffMMMMMMMMMMMMMMM퇌MM #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("tga/bug00247.tga"); im = gdImageCreateFromTga(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/tga/CMakeLists.txt0000664000175000017500000000027313634445460014210 00000000000000LIST(APPEND TESTS_FILES bug00084 bug00247 bug00247a bug00248 bug00248a heap_overflow tga_null ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES tga_read ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/tga/heap_overflow_1.tga0000664000175000017500000000113513634445460015223 00000000000000 .pngXXc.pngXc (((('(((.pngX ( .tgaXlibgd-2.3.0/tests/tga/bug00248.tga0000664000175000017500000000146013634445460013317 00000000000000  ׯ֭իԩӧҥѣСϟΝ̙͛˗ʕɓȑǏƍŋĉDž}}{{yywwuussqqoommkkiiggeeccaa__]][[YYWWUUSSQQOOMMKKIIGGEECCAA??==;;9977553311//--++))''%%##!!  !!F##%%''))++--//1133557799;;==??AACCEEGGIIKKMMOOQQSSUUWWYY[[]]__aacceeggiikkmmooqqssuuwwyy{{}}…ÇĉŋƍǏȑɓʕ˗̙͛ΝϟСѣҥӧԩի֭ׯlibgd-2.3.0/tests/tga/bug00084.tga0000775000175000017500000002147213634445460013325 00000000000000<2libgd-2.3.0/tests/tga/bug00247.tga0000664000175000017500000000011213634445460013307 00000000000000sslibgd-2.3.0/tests/tga/tga_read_rgb_rle.tga0000664000175000017500000002340313634445460015407 00000000000000 qq ("""""l""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Q";2;2,,;2;2;2;2×;2,,,,0,,,,0,,`́;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2;2;2×;2,,,,<,,,,<,,x;2;2H;2f;2N;2`f6,,,,,,f,,,,0fMMMMMMMlMMMfMM0fMMMMM퇌MMIDATxk#K 0⓺>&aې]2rKd,&Kl% ؆=$!a=rLH? J䐍s3+[rw}.VA+PB(! B!BA PBe=񻎛ѐCA>-aCA;!BA PB(! B!BAY^}I, C|>G b2_Lt?.{^27;U<y=jaCA2oY-]6 :7se aB!BA PB!BA)EXO,^oEY!CA9Ǩ.k `ykWS4Vͨ%uoܭ-޶ޓ}դd,|"b5|۲l`5^M _YϮHB XPB(! B!BA ,!3XdPYBKG^|9,RTuݨ~_S\jއʖFi  {~lY"Ced|9ë)*XXi(o7"BA PB(! B!B4ʖ)O92wV醻;S!5C6mxoYAVaDnpX'Ѯ}.vzC?hؗ'6Z-z {$LIM|-rzY /^ B"dH+q3BB]In]5l8#ۼxS֕}Z*lu@Z S۔\NdI̾M_z.r-NZW[󭫺>kr}߾<kv> x9Ncے` )w+e4fh{QylM;tb)uC?\ H~$4l~X3DPyNJ㲩 9L9.CD.cI Hp~p?)Lz%ݱˎ h%n̵RU y$on:h"WU[xԕH)H @xZr(;J5S0 NB{zmW~ޕG"AZuo~$xDr`< ƣ%cG^$d^~E!Q8LKC6/C7p! #YD6R-S26ZK- M#ؒ-BRwC>} b0nJK^ɱkCa:#՗^3Ԓ^wֻ iQyIAxԯ=j #aܼH A=Z 2! JB>mEIA,DDv3!O}d<%gg;AwFAzGx6Q=N+eU);Ji!lːOqSim\\b3˦m&$Wu'Jm=iLU|BnuN#d6B?8r;eT u҆yVW>L^Rv:-cxIwD*WIV2401K/؎9,S)uF4PmjXwXSy $VNWNJ@$*e>NjྴЏTÄ3b-}d\͛%aWuj%DeDk&15O G)Vn"1:n[%Q ƣu%㤾q(X&ˬSg ۹ɡN&puET\Z>?u[-֛*ڻmCTxպ0AcLD=C3QÔ^>k{6 cR@b..Nz K BBXPB(! B!B(! B!BA ,򊝣<IENDB`libgd-2.3.0/tests/gdimagefilledarc/0000775000175000017500000000000013635665564014230 500000000000000libgd-2.3.0/tests/gdimagefilledarc/bug00351_exp.png0000664000175000017500000000513413635665516016700 00000000000000PNG  IHDRDH pHYs+ IDATx˒6@Qb>YRQ|2qNx@JYR໿z/Yz/^MkBNj咣 4\I ތ|mBćez8d^JK'"}.>9<| :s$"Lcqn%qtX|^1:C% "cE MPOII\rt"49Mi:SfFdt'vϭ޻h:$CwpVktHjq&t<]읤ЌN&ЅZt НfD}0 |&sN>PvHΞ9"=8h:#mYfܼ.0937Qk:LkMuRISց!|ɏQӁ Д%eSKa#t4MLs T Aց1QD]-dek:E\ZEfu:0 He2~:_#.OӁ蘫Rv b:zdjeb'Dف  Pv mYrqWv we>?WցOm+;0mwY&׬Uv]Eܕ=ѭ7we wewe8z]NqWv*fܕZQweJ]* qWv.*|5v]V}>L4sge8:U`|&}eh]Ym{윳Ȯ_η=w'/q7Ddrjcފ (;@`M B3$Wdw{2 x~erHHw<?@t&wTI_$$ -ņ;@:&w !qHHw !qHHw Ż_Lg-$$ ;@B$$eY{ Ђ$$ ;@B?o dY;@B$vgK{ Ј eYs iX");@BmwLI<6{ ^ q3^L)} 4;@l{2e#wL}v Aml/_nx^0km}'o%={ˡYrtrw^ؖws^ѲӓqʶR^v➻t0 O^PŲZrⶌ\W\Q U}' tg4^xZF[rӣ_sw=({`Me/w澲wwy<ً`ՠ[!MKW.LYK)iRjSiUwkUϿ [͞Yu,{.+x/[k@ݳ?? q>.e}"e[@LC<hY_ 4<010̻ܶ0^BĽ;-O%e/Q^he=hzU7Zb5!̶;5݂D_ب7+zK\ b tgBI<2lRf}9C's[杍`5CK$Y_b3UiK<$6gW}%Y_AfyZf'@\j Y'=S$;;0MIh t$뇸zx Ijn~_+T$赈{MB'.m`Jox! {#E0'MoOp뵥齄 z_ޟГC"#cq ={ BOw#4#q{l]y!"d+A[y^<er~B:>'q(8/ĝ !:ĝ/<ӝss]ĝ D6ĝvvV-T?7F]aa3IENDB`libgd-2.3.0/tests/gdimagefilledarc/Makemodule.am0000664000175000017500000000035213635665516016547 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagefilledarc/bug00351 \ gdimagefilledarc/php_bug43828 endif EXTRA_DIST += \ gdimagefilledarc/CMakeLists.txt \ gdimagefilledarc/bug00351_exp.png \ gdimagefilledarc/php_bug43828_exp.png libgd-2.3.0/tests/gdimagefilledarc/bug00351.c0000664000175000017500000000141113635665516015454 00000000000000/** * Test drawing of pies starting and/or ending near 90° * * See . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int white, navy, red; im = gdImageCreateTrueColor(500, 500); white = gdTrueColorAlpha(0xFF, 0xFF, 0xFF, gdAlphaOpaque); navy = gdTrueColorAlpha(0x00, 0x00, 0x80, gdAlphaOpaque); red = gdTrueColorAlpha(0xFF, 0x00, 0x00, gdAlphaOpaque); gdImageFilledArc(im, 250, 250, 500, 250, 0, 88, white, gdPie); gdImageFilledArc(im, 250, 250, 500, 250, 88, 91 , navy, gdPie); gdImageFilledArc(im, 250, 250, 500, 250, 91, 360 , red, gdPie); gdAssertImageEqualsToFile("gdimagefilledarc/bug00351_exp.png", im); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagefilledarc/CMakeLists.txt0000664000175000017500000000014113635665516016701 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00351 php_bug43828 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagefilledarc/php_bug43828.c0000664000175000017500000000103413634445460016335 00000000000000/* See . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int transparent, color; im = gdImageCreateTrueColor(100, 100); transparent = gdImageColorAllocateAlpha(im, 255, 255, 255, 80); gdImageFilledRectangle(im, 0,0, 99,99, transparent); color = gdImageColorAllocateAlpha(im, 0, 255, 0, 100); gdImageFilledArc(im, 49,49, 99,99, 0,360, color, gdPie); gdAssertImageEqualsToFile("gdimagefilledarc/php_bug43828_exp.png", im); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagefilledarc/php_bug43828_exp.png0000664000175000017500000000131113634445460017551 00000000000000PNG  IHDRddpT pHYs+{IDATxu0NJp.̥zH>rHǕlZe~轌$>{/`9WeI2B|BZ8[.B$KNS!"Bjꋮ$ç7"|ZjCFz2-q5df1[LrG>_,2r(5yd AF\ 㘒| #ܜ #8u0iTە 9 A-1ye+v,נd(_,1ބЎ6LC@+!lWm MCB;͝1"7~4D 1"@`@C@!b D 1"B@!bL ~ 1"B@sOt3~4D 10G͝BKʛ1ބma/g"FP-Q AJreP-%&ӆ {Q"FԣƗtR|"F|9y%7)q攵e!嘒|gR”R4ԑ"_YH*wbyf/'ww͈m=Wmh7dl\-]!>WjK.B|Z bm(5) "#dK(9KiNpι /#=IENDB`libgd-2.3.0/tests/gdimagearc/0000775000175000017500000000000013635665564013050 500000000000000libgd-2.3.0/tests/gdimagearc/Makemodule.am0000664000175000017500000000021613634445460015357 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagearc/bug00079 endif EXTRA_DIST += \ gdimagearc/CMakeLists.txt \ gdimagearc/bug00079_exp.png libgd-2.3.0/tests/gdimagearc/bug00079.c0000664000175000017500000000062013634445460014275 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int error = 0; im = gdImageCreateTrueColor(300, 300); gdImageFilledRectangle(im, 0,0, 299,299, 0xFFFFFF); gdImageSetAntiAliased(im, 0x000000); gdImageArc(im, 300, 300, 600,600, 0, 360, gdAntiAliased); if (!gdAssertImageEqualsToFile("gdimagearc/bug00079_exp.png", im)) { error = 1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagearc/CMakeLists.txt0000664000175000017500000000012313634445460015512 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00079 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagearc/bug00079_exp.png0000664000175000017500000000411713634445460015520 00000000000000PNG  IHDR,,"IDATxQ#IRo ,e@ A AzxAR13ڜ9&b:`vg!0_#zuuu}}s!!]cl!4 u8!Z_2I!E6)!`y/Bvn? ^uժЄdZVU%!$/u\BP5owBUyD2y!3iy(s??KovetCo}~*N;/]i¦hF./B؜3O{aCۭg Y΄~^eqZo/2 +dPMX,F/qlOOOF/ӄl6Οӄv \J˳yY$^D2x{]1YVOfLYC)0;фyzzy||~hYYpm& -0 a [x޸pVFM/i9sNGIpBp*oqt0= d!LiFĝ0фiXE0&0\H/Gs% M80"cC`HZB8k&Nx O`R&Ǹ2oI ¯I CV̝ YEBaAMu]w{{+DnSq=@m#qTA!@2h%|B $+ͅpZ V䩡ۑ yj8*dJ 9?H*Ch%H sOh%HA2 R  R %8*J !HъRCh%H  u(uOh%H5JP R"Ԥ Rԧ )8^?$VL~ZEHAjUFr\.+caC hBy{^zyZ]U{uUvx't)9^\iJvQhM^!JB5H2 Wڴ)y mʥ 7}YY4eYeM6 CmbGPz obBM@=ԆF#1Mn]#!`YCoHdo5 |iz"ߙ)j3G=#昔7/q&(5MۄjN 4azB6UiA8T#8$M|B҇HIB5 cQ*qkA*eA!eqA!Y*''M}!&jFKBhH0J1K\ڄ}@B0!`B..jB?:B6>B5I@#P B*BƄHB5 @BP BZBHB5 @r !B6`b*S8 -'`"B 20Ba:gZd`:f&%L!BSԉ&T05!`BԎ5'0!`߆Џ/< y|;w1y|݄60!`B}=}1|фj$L!B/020&|}} (Ц\__|h&` !;>5 !O!B0!`020&TB!B0!`Sq◄SB&L!B?!(B !Jsb:  !B&G@?4!ӄL!by( B0!`B !B&L!B0!`B !B&Eh?]z w[@qp IENDB`libgd-2.3.0/tests/fontconfig/0000775000175000017500000000000013635665564013121 500000000000000libgd-2.3.0/tests/fontconfig/basic.c0000664000175000017500000000135213634445460014255 00000000000000/** * A most basic test for fontconfig support. * * Without actually using fontconfig, passing an empty fontlist to * gdImageStringFT() would return an error ("Could not find/open font"). * We're checking that it returns NULL. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int black; char *error; im = gdImageCreate(100, 100); gdTestAssert(im != NULL); gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); gdTestAssert(gdFTUseFontConfig(1)); error = gdImageStringFT(im, NULL, black, "", 14.0, 0.0, 10, 20, "foo"); gdTestAssertMsg(error == NULL, "%s", error); gdImageDestroy(im); gdFontCacheShutdown(); return gdNumFailures(); } libgd-2.3.0/tests/fontconfig/Makemodule.am0000664000175000017500000000021513634445460015427 00000000000000if HAVE_LIBFONTCONFIG if HAVE_LIBFREETYPE libgd_test_programs += \ fontconfig/basic endif endif EXTRA_DIST += \ fontconfig/CMakeLists.txt libgd-2.3.0/tests/fontconfig/CMakeLists.txt0000664000175000017500000000021213634445460015562 00000000000000if(FONTCONFIG_FOUND) IF(FREETYPE_FOUND) LIST(APPEND TESTS_FILES basic ) ENDIF(FREETYPE_FOUND) ENDIF(FONTCONFIG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagenegate/0000775000175000017500000000000013635665565013547 500000000000000libgd-2.3.0/tests/gdimagenegate/basic.png0000664000175000017500000000373113634445460015247 00000000000000PNG  IHDRK pHYs+IDATxס @sXKU|pk:K`L `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 gf @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0v@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0Zx`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @0t΂IENDB`libgd-2.3.0/tests/gdimagenegate/basic.c0000664000175000017500000000064013635665516014710 00000000000000/** * Basic test for gdImageNegate() */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("gdimagenegate", "basic.png"); im = gdImageCreateFromPng(fp); fclose(fp); gdImageNegate(im); path = gdTestFilePath2("gdimagenegate", "basic_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagenegate/basic_exp.png0000664000175000017500000000373613634445460016130 00000000000000PNG  IHDRK pHYs+IDATx1 0EA;*PA.!3gkԜx `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @`\c@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 {}/. @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0׋=@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0_4!3|IENDB`libgd-2.3.0/tests/gdimagenegate/Makemodule.am0000664000175000017500000000025413634445460016057 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagenegate/basic endif EXTRA_DIST += \ gdimagenegate/CMakeLists.txt \ gdimagenegate/basic.png \ gdimagenegate/basic_exp.png libgd-2.3.0/tests/gdimagenegate/CMakeLists.txt0000664000175000017500000000012013634445460016205 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES basic ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecontrast/0000775000175000017500000000000013635665564014140 500000000000000libgd-2.3.0/tests/gdimagecontrast/basic+50.png0000664000175000017500000000375013634445460016062 00000000000000PNG  IHDRK pHYs+IDATxױ0 ApA*;`&}`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ rIENDB`libgd-2.3.0/tests/gdimagecontrast/basic.png0000664000175000017500000000373113634445460015641 00000000000000PNG  IHDRK pHYs+IDATxס @sXKU|pk:K`L `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 gf @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0v@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0Zx`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @0t΂IENDB`libgd-2.3.0/tests/gdimagecontrast/basic.c0000664000175000017500000000117513635665516015306 00000000000000/** * Basic test for gdImageContrast() */ #include "gd.h" #include "gdtest.h" static void test_contrast(double contrast); int main() { test_contrast(+50.0); test_contrast(-50.0); return gdNumFailures(); } static void test_contrast(double contrast) { gdImagePtr im; FILE *fp; char basename[256]; char *path; fp = gdTestFileOpen2("gdimagecontrast", "basic.png"); im = gdImageCreateFromPng(fp); fclose(fp); gdImageContrast(im, contrast); sprintf(basename, "basic%+03.0f.png", contrast); path = gdTestFilePath2("gdimagecontrast", basename); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); } libgd-2.3.0/tests/gdimagecontrast/Makemodule.am0000664000175000017500000000032313634445460016446 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagecontrast/basic endif EXTRA_DIST += \ gdimagecontrast/CMakeLists.txt \ gdimagecontrast/basic.png \ gdimagecontrast/basic+50.png \ gdimagecontrast/basic-50.png libgd-2.3.0/tests/gdimagecontrast/basic-50.png0000664000175000017500000000376213634445460016067 00000000000000PNG  IHDRK pHYs+IDATxױmP3cݩ@ ,Mlqakk;3k[U@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0?l[? @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0nl=lmmgff]h>`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ pgakk;33–'@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 _U#IIENDB`libgd-2.3.0/tests/gdimagecontrast/CMakeLists.txt0000664000175000017500000000012013634445460016577 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES basic ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagescatterex/0000775000175000017500000000000013635665565014306 500000000000000libgd-2.3.0/tests/gdimagescatterex/bug00208_1.png0000664000175000017500000005427713634445460016327 00000000000000PNG  IHDRqz`"0 pHYs   IDATxhW}{]"))MoJzDK$K!%⒒bDRXkIqqX,.KJbIqkIQkokoQ"H$7y8>{gycP(,NYX6s᧟p4 oah_74,[qK?azxeXߢ4x7]`:[gQk쳸(jb718Mi][""b?k-FqK/al 8~MM;0O׿n[p%'zE9qahpKOi~ˡgϲ.EhogU=hοu74׬!^JQĮSI33^#u\T7^ܱRl&$֦- iϳ"]CۻHrd$T$Elhד$ l*7S5Mpree/ex;vdE;+"'۳GGx=㏢Dl)g }X U('$pzѿ ]R6>7o⭷p횡P_h;ZRtz4>W^޿ÃU_K4P(2(s^pv8=?dzG(J[B^,ۍ8 eE[r>e"ߺY{V`:e*2Sf`1:j9,/O@W47iϝccQtaRR-H'Bf!yr)*hU.>}}z k<~^ ux:rMsD}DI<ܯQ߷t):WX|l^Rim{/I, =ܩ#Y-)} @)b iÇ]6jU^3]Æ $UvGhCooґP71>nS~1[ܹkfY|}~R(6z{Im<~~opMC+4ouu{c铖}!ի}SNM͟EPR) sS q'N\o@#䰶Rr@,7#1 m`-AW:~LvcwvJB#aSs3ǫ2 8}ZOC@ݕy+==z)#;}RqQΟVEh!6oƫ5?%M]UY,WNNy%Z[F˒]ǎA 4$jf"Pzzj*<<78\X[F-$RnRO>n* zR˿Ee^&Yrx|yp! Epj*t$T$y'SH.2`S"s3o$Ȇc3p >X)uj*He?XAn/ėr{P6Y,  wNcK%|¥?u/ 0/`mY–XxP> _=e\#4b cݰ=MWV- Xayr%V}τ7M3,Edٌ>gWcup֕Jء;̾t˚M 1~ݧnowՎ/n@-kr$~8 zd3|.+f&ŔvJd)3iҡVn1盆 O\\$DEr dTH`q3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M 4}8`bafV]M)(b).KNs|Dʕ~:Y] GTu5z{m1SN9q"()מ"&vw#<$׿B0:j\,/mma#?y#sl }ܽA P\ x miovx"ɨ؁DqJ(S_;/,4MnjYӘ72g&F^'ǎYN)EBvav|чoxW-8{Vw6Qvu|'Ok˾H$55ho{m(u^`ZI?؞Wk BL>v A6PO{eH G2vsKqe|P(*QES٠/m<իFߊ7õS$6O%Hbɿe3hi'BEd$ͨ Q@{=@ٽ{]0 FQ0 Fu7p 10000) { gdTestErrorMsg("too much diff: %d\n", r.pixels_changed); return 1; } return 0; } libgd-2.3.0/tests/gdimagescatterex/bug00208_2.png0000664000175000017500000004357013634445460016322 00000000000000PNG  IHDRqz`"0 pHYs   IDATxhnlٲ_lo>wKْ)lIC$K<)?XRRRR,{`Is-)bIQRXQ")zEē܈$GoB$$7!!ބc6=3E;μ5yvD"H$yD")D$RS$HH$HMH$""HD"5E"DjD"D")D$RS$HH$HMH$""HD"5E"DjD"D")D$RS$HH$HMH$""HD3n 'p:|{Guݰ#Gl Ӕy|AMޱvvq>FGms.::bt,.b˖}ÞKߺw-DA_~ I:SAzU?Ʈ]VW^Ň>&k[NS)(PTۺ]-[ ]P| IrtS)tɊnq:l$h/\7\My6>@ ++xUbenW$1h,wl8{׬`q?L xv!YCK9e~}$%9++x]Sf>{-[$=|NHbТ)_|!`2݋۷C2?U p==:Oz)*a  =ܩЄDovI[?[IޡLrӪȏop hjBCm%2}>&g H+dD[o*)r̕"|S~0)۞29)pÁ_b"{HAXM9}Zv!o//#՛|8 *i$hTy>_O9.tI>(/)ϓ Wv8v{S8 },&|H$06[ߞe\[p <; UFu%*4 Q"rZ),%G*;q(ùyd^s_=[R st&-߬G0YB;X&X71o"̪tuI3ɲ.vMzig^jkiI"1 /kp])>Ǹ1ۈƓ2j{o#{]H̅L2#&V;HL5`rR $!qNXVRa@ILO|pH\ /=<P[R:LlZ$[[oE&T#97ӖnkE%^_73N8X>f +q|f(2^yE.b sF(5Kf˸!>\Z9oMPxH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$TS&'Sy3-]XGI:MP^t%#YNd!jJN'' &|>=ʕbPOQ]K,#HK5ev6~Oq1\1H7Z۲vjDs$Db;jJܴ[18" 3w@eǼDb%jJPֻ鱺ǦM2>E>(*B_:;עHMdV%+唖ܿ+[Cu&+ljÇhl}Xݗ\QttXaG +'N5fI$Fm,arevcb暚Dضij$޼Y DBuubH$uxt^/?zDr | uuRP$HMta p8 zb$LP}`eo<IE-wH" jpŝ!Ifkq vIENDB`libgd-2.3.0/tests/gdimagescatterex/Makemodule.am0000664000175000017500000000040313634445460016612 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagescatterex/bug00208_1 \ gdimagescatterex/bug00208_2 endif EXTRA_DIST += \ gdimagescatterex/CMakeLists.txt \ gdimagescatterex/bug00208.png \ gdimagescatterex/bug00208_1.png \ gdimagescatterex/bug00208_2.png libgd-2.3.0/tests/gdimagescatterex/bug00208.png0000664000175000017500000003354313634445460016100 00000000000000PNG  IHDRqz`"0sRGB pHYs  tIME2"֨X IDATxH\W]Țb(##hlܒD,.22TX/^P{4gKSReMх<\Ni/++8G_s;O?&$gpN'jjM4{g#(˯Ax8v,NٳFqr,^XW.D)@XOSwx(½Uݾӧw-0\.45qm4iCWWT8bÇY[Ӹ};*~rrFD1p 8/55(*F]Y%(|>|=~kgE8}ɍ6r5em Ǐj@g?o̩g9"3gXV"TSm=\bx/L̙H^geMLd ^YAke/T,jeooD--܀#b '8qƗ_\H)԰C 22O?;;&ZZZ42?װ^ll]Y,(ך,t,(wqh`Wj$Nic46 O=|-+8hiw]vjgGLMv$Z[/bu Ԏcc=>r>w5ֺOK p(|>I<\.(G#=ΐDq^MLL<2?r5%)vqw}eߏ+W !?ĴfÛ7p:e|dl GpxU>Z3 *p6}손Spg( IjINłay!Go,(b'amCOSxPSSo;{q&/h1MwRDrZ[+NǡQOG<`rrp~EɄQ\SndAσRc# & W8ec}%#5ϟ?$vl6LNjeO46hEk+;h_8H1Ǐq::QxF+ZՅl`p`s™$"$zے09wukNv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EJfB-ÚŢh8OElYaMaXSLHPBXVeB]|_.ZYa|$M&,. +>_N|3Hjmwp:q4娨΅}WehєX!5ee+Ji)nݒ4]-pCXLM&lIJSrGKKhbo`5entv"1QQv"./%A9H&5ejjߗ٩V Ni EF0Ѯ)WL@Kke('&C:11how+0Ѯ)KK{rMm"7dm}hdҔ=23ӣ" S=={/@ ^b=58% p:% 0 k4rrļa>N zg1 )d5'aXSPXxЫ!ᾏ|>>IBzzC #tv|IENDB`libgd-2.3.0/tests/gdimagescatterex/bug00208_1.c0000664000175000017500000000156113634445460015751 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, ex; FILE *fp; gdScatter s; CuTestImageResult r; fp = gdTestFileOpen("gdimagescatterex/bug00208.png"); im = gdImageCreateFromPng(fp); fclose(fp); if (!im) { gdTestErrorMsg("could not create image\n"); return 1; } s.sub = 1; s.plus = 3; s.seed = 0; s.num_colors = 0; if (!gdImageScatterEx(im, &s)) { gdImageDestroy(im); gdTestErrorMsg("could not scatter\n"); return 1; } fp = gdTestFileOpen("gdimagescatterex/bug00208_1.png"); ex = gdImageCreateFromPng(fp); fclose(fp); if (!ex) { gdTestErrorMsg("could not create image\n"); gdImageDestroy(im); return 1; } r.pixels_changed = 0; gdTestImageDiff(im, ex, NULL, &r); gdImageDestroy(ex); gdImageDestroy(im); if (r.pixels_changed > 10000) { gdTestErrorMsg("too much diff: %d\n", r.pixels_changed); return 1; } return 0; } libgd-2.3.0/tests/gdimagescatterex/CMakeLists.txt0000664000175000017500000000014113634445460016747 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00208_1 bug00208_2 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagepolygon/0000775000175000017500000000000013635665565013773 500000000000000libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon3.png0000664000175000017500000000041713634445460017500 00000000000000PNG  IHDRddJ,PLTEU~IDAT8폱 Co0BFL\dЌb0w6p >2pzTV]&pxMNWXAp5R^4J&^+UɰE^0ɯwS#$sMhs*;/BoL(tczӥ"#]BTHkU!I:$[n~ZIENDB`libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon1.c0000664000175000017500000000131513634445460017132 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; gdImagePolygon(im, points, 1, black); r = gdAssertImageEqualsToFile("gdimagepolygon/gdimagepolygon1.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon2.png0000664000175000017500000000021413634445460017472 00000000000000PNG  IHDRddJ,PLTEU~AIDAT8Ρ  PZJGfޜFܺ)hh(tA\\CIũy,IENDB`libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon1.png0000664000175000017500000000014313634445460017472 00000000000000PNG  IHDRddJ,PLTEU~IDAT8c`L@a0 F(4!ԆIENDB`libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon0.png0000664000175000017500000000013713634445460017474 00000000000000PNG  IHDRddJ,PLTEU~IDAT8c``Q@Ox^IENDB`libgd-2.3.0/tests/gdimagepolygon/Makemodule.am0000664000175000017500000000057413634445460016310 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagepolygon/gdimagepolygon0 \ gdimagepolygon/gdimagepolygon1 \ gdimagepolygon/gdimagepolygon2 \ gdimagepolygon/gdimagepolygon3 endif EXTRA_DIST += \ gdimagepolygon/CMakeLists.txt \ gdimagepolygon/gdimagepolygon0.png \ gdimagepolygon/gdimagepolygon1.png \ gdimagepolygon/gdimagepolygon2.png \ gdimagepolygon/gdimagepolygon3.png libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon2.c0000664000175000017500000000136313634445460017136 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; points[1].x = 50; points[1].y = 70; gdImagePolygon(im, points, 2, black); r = gdAssertImageEqualsToFile("gdimagepolygon/gdimagepolygon2.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon3.c0000664000175000017500000000143113634445460017133 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; points[1].x = 50; points[1].y = 70; points[2].x = 90; points[2].y = 30; gdImagePolygon(im, points, 3, black); r = gdAssertImageEqualsToFile("gdimagepolygon/gdimagepolygon3.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagepolygon/CMakeLists.txt0000664000175000017500000000021513634445460016436 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagepolygon0 gdimagepolygon1 gdimagepolygon2 gdimagepolygon3 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagepolygon/gdimagepolygon0.c0000664000175000017500000000110113634445460017122 00000000000000#include #include "gd.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); gdImagePolygon(im, NULL, 0, black); /* no effect */ gdImagePolygon(im, NULL, -1, black); /* no effect */ r = gdAssertImageEqualsToFile("gdimagepolygon/gdimagepolygon0.png", im); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagecopyrotated/0000775000175000017500000000000013635665564014640 500000000000000libgd-2.3.0/tests/gdimagecopyrotated/bug00020_exp.png0000664000175000017500000000062213634445460017267 00000000000000PNG  IHDR22]tRNSGIDATXՙ[ E5 uqn0#3/!cly_`td\E,IYDŽJNX 0aL kBx*(F>P!oaX~ !X tȦszvնjާZ<.ĖJsvͬB 5q[Is+S,zf,,3dzܲqXu[Bn؛`W@;~[ˢC%Z/5W]GIK>^XIVI*nQ;4XGy``uu1 `9<Lz"IENDB`libgd-2.3.0/tests/gdimagecopyrotated/bug00020.c0000664000175000017500000000116513634445460016054 00000000000000#include "gd.h" #include "gdtest.h" #define width 50 int main() { gdImagePtr im, im2; int error = 0; im = gdImageCreateTrueColor(width, width); gdImageFilledRectangle(im, 0,0, width, width, 0xFF0000); gdImageColorTransparent(im, 0xFF0000); gdImageFilledEllipse(im, width/2, width/2, width - 20, width - 10, 0x50FFFFFF); im2 = gdImageCreateTrueColor(width, width); gdImageCopyRotated(im2, im, width / 2, width / 2, 0,0, width, width, 60); if (!gdAssertImageEqualsToFile("gdimagecopyrotated/bug00020_exp.png", im2)) { error = 1; } gdImageDestroy(im2); gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagecopyrotated/Makemodule.am0000664000175000017500000000024613634445460017152 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagecopyrotated/bug00020 endif EXTRA_DIST += \ gdimagecopyrotated/CMakeLists.txt \ gdimagecopyrotated/bug00020_exp.png libgd-2.3.0/tests/gdimagecopyrotated/CMakeLists.txt0000664000175000017500000000012313634445460017302 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00020 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecolordeallocate/0000775000175000017500000000000013635665564015437 500000000000000libgd-2.3.0/tests/gdimagecolordeallocate/gdimagecolordeallocate.c0000664000175000017500000000100313634445460022155 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int c; im = gdImageCreate(1, 1); /* test for deallocating a color */ c = gdImageColorAllocate(im, 255, 255, 255); if (c < 0) { gdImageDestroy(im); return 1; } gdImageColorDeallocate(im, c); if (!im->open[c]) { gdImageDestroy(im); return 1; } /* just see whether it is OK with out-of-bounds values */ gdImageColorDeallocate(im, gdMaxColors); gdImageColorDeallocate(im, -1); gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gdimagecolordeallocate/Makemodule.am0000664000175000017500000000020013634445460017737 00000000000000libgd_test_programs += \ gdimagecolordeallocate/gdimagecolordeallocate EXTRA_DIST += \ gdimagecolordeallocate/CMakeLists.txt libgd-2.3.0/tests/gdimagecolordeallocate/CMakeLists.txt0000664000175000017500000000010213634445460020076 00000000000000LIST(APPEND TESTS_FILES gdimagecolordeallocate ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagefile/0000775000175000017500000000000013635665564013222 500000000000000libgd-2.3.0/tests/gdimagefile/img-ref.xpm0000664000175000017500000000641013634445460015205 00000000000000/* XPM */ static char *img_ref[] = { /* columns rows colors chars-per-pixel */ "60 50 2 1 ", " c gray100", ". c black", /* pixels */ " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", "............................................................", "............................................................", "............................................................", "............................................................", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... ", " .... " }; libgd-2.3.0/tests/gdimagefile/img-ref.xbm0000664000175000017500000000503213634445460015166 00000000000000#define foo-ref_width 60 #define foo-ref_height 50 static char foo-ref_bits[] = { 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0x01, 0x00, 0x00, 0x00, }; libgd-2.3.0/tests/gdimagefile/gdnametest.c0000664000175000017500000000765313635665516015451 00000000000000#include #include #include #include "gd.h" #include "gdtest.h" #define WIDTH 60 #define HEIGHT 50 #define LX (WIDTH/2) // Line X #define LY (HEIGHT/2) // Line Y #define HT 2 // Half of line-thickness static gdImagePtr mkwhite(int x, int y) { gdImagePtr im; im = gdImageCreateTrueColor(x, y); gdImageFilledRectangle(im, 0, 0, x-1, y-1, gdImageColorExactAlpha(im, 255, 255, 255, 0)); gdTestAssert(im != NULL); gdImageSetInterpolationMethod(im, GD_BICUBIC); // FP interp'n return im; }/* mkwhite*/ static gdImagePtr mkcross(void) { gdImagePtr im; int fg, n; im = mkwhite(WIDTH, HEIGHT); fg = gdImageColorAllocate(im, 0, 0, 0); for (n = -HT; n < HT; n++) { gdImageLine(im, LX-n, 0, LX-n, HEIGHT-1, fg); gdImageLine(im, 0, LY-n, WIDTH-1, LY-n, fg); }/* for */ return im; }/* mkcross*/ static void do_test(void) { gdTestAssertMsg(strchr("123",'2') != 0, "strchr() is not functional.\n"); gdTestAssertMsg(strcasecmp("123abC","123Abc") == 0, "strcasecmp() is not functional.\n"); int n; struct { const char *nm; // Filename unsigned maxdiff; // Maximum total pixel diff int required; // 1 -> image type always supported, -1 -> skip it int readonly; // 1 -> gd can only read this type } names[] = { {"img.png", 0, 0, 0}, {"img.gif", 5, 1, 0}, // This seems to come from tc<->palette {"img.GIF", 5, 1, 0}, // Test for case insensitivity {"img.gd", 0, 1, 0}, {"img.gd2", 0, 0, 0}, {"img.jpg", 25, 0, 0}, {"img.jpeg", 25, 0, 0}, {"img.wbmp", 0, 1, 0}, {"img.bmp", 0, 1, 0}, {"img-ref.xpm", 0, 0, 1}, {"img-ref.xbm", 0, 1, 1}, {"img-ref.tga", 0, 1, 1}, {"img.webp", 10, 1, 0}, {"img.tiff", 0, 1, 0}, {NULL, 0} }; for (n = 0; names[n].nm; n++) { gdImagePtr orig, copy; int status; char *full_filename = NULL; unsigned int pixels; /* Some image readers are buggy and crash the program so we * skip them. Bug fixers should remove these from the list of * skipped items as bugs are fixed. */ if (names[n].required < 0) { printf("Skipping test for '%s'. FIX THIS!\n", names[n].nm); continue; }/* if */ /* Skip this file if the current library build doesn't support * it. (If it's one of the built-in types, *that* a different * problem; we assert that here.) */ if (!gdSupportsFileType(names[n].nm, 0)) { gdTestAssertMsg(!names[n].required, "GD doesn't support required file type: %s\n", names[n].nm); continue; }/* if */ orig = mkcross(); /* Write the image unless writing is not supported. */ if (!names[n].readonly) { /* Prepend the test directory; this is expected to be run in * the parent dir. */ full_filename = gdTestTempFile(names[n].nm); status = gdImageFile(orig, full_filename); gdTestAssertMsg(status == GD_TRUE, "Failed to create %s\n", full_filename); } else { /* Prepend the test directory; this is expected to be run in * the parent dir. */ full_filename = gdTestFilePath2("gdimagefile", names[n].nm); }/* if */ copy = gdImageCreateFromFile(full_filename); gdTestAssertMsg(!!copy, "Failed to load %s\n", full_filename); if (!copy) continue; pixels = gdMaxPixelDiff(orig, copy); gdTestAssertMsg(pixels <= names[n].maxdiff, "%u pixels different on %s\n", pixels, full_filename); if (!names[n].readonly) { status = remove(full_filename); gdTestAssertMsg(status == 0, "Failed to delete %s\n", full_filename); }/* if */ free(full_filename); gdImageDestroy(orig); gdImageDestroy(copy); }/* for */ }/* do_test*/ static void do_errortest(void) { gdImagePtr im; im = mkcross(); gdTestAssert(!gdImageFile(im, "img.xpng")); gdTestAssert(!gdImageFile(im, "bobo")); gdTestAssert(!gdImageFile(im, "png")); gdTestAssert(!gdImageFile(im, "")); gdImageDestroy(im); }/* do_errortest*/ int main() { do_test(); do_errortest(); return gdNumFailures(); } libgd-2.3.0/tests/gdimagefile/Makemodule.am0000664000175000017500000000036613635665516015546 00000000000000if HAVE_LIBTIFF if HAVE_LIBWEBP if ENABLE_GD_FORMATS libgd_test_programs += \ gdimagefile/gdnametest endif endif endif EXTRA_DIST += \ gdimagefile/CMakeLists.txt \ gdimagefile/img-ref.tga \ gdimagefile/img-ref.xbm \ gdimagefile/img-ref.xpm libgd-2.3.0/tests/gdimagefile/img-ref.tga0000664000175000017500000002147213634445460015161 00000000000000<2libgd-2.3.0/tests/gdimagefile/CMakeLists.txt0000664000175000017500000000017013634445460015666 00000000000000IF(TIFF_FOUND) if(WEBP_FOUND) LIST(APPEND TESTS_FILES gdnametest ) ENDIF(WEBP_FOUND) ENDIF(TIFF_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagesetpixel/0000775000175000017500000000000013635665565014141 500000000000000libgd-2.3.0/tests/gdimagesetpixel/gdeffectoverlay.c0000664000175000017500000000126013634445460017362 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int x, y, c; int r=0; im = gdImageCreateTrueColor(256, 256); gdImageAlphaBlending( im, gdEffectReplace ); for (x=0; x<256; x++) { for (y=0; y<256; y++) { c = (y/2 << 24) + (x << 16) + (x << 8) + x; gdImageSetPixel(im, x, y, c ); } } gdImageAlphaBlending( im, gdEffectOverlay ); gdImageFilledRectangle(im, 0, 0, 255, 255, 0xff7f00); if (gdTrueColorGetGreen(gdImageGetPixel(im, 0, 128)) != 0x00) { r = 1; } if (gdTrueColorGetGreen(gdImageGetPixel(im, 128, 128)) != 0x80) { r = 1; } if (gdTrueColorGetGreen(gdImageGetPixel(im, 255, 128)) != 0xff) { r = 1; } gdImageDestroy(im); return r; } libgd-2.3.0/tests/gdimagesetpixel/Makemodule.am0000664000175000017500000000044313634445460016451 00000000000000libgd_test_programs += \ gdimagesetpixel/bug00186 \ gdimagesetpixel/gdeffectmultiply \ gdimagesetpixel/gdeffectoverlay if HAVE_LIBPNG libgd_test_programs += \ gdimagesetpixel/alpha_blending endif EXTRA_DIST += \ gdimagesetpixel/CMakeLists.txt \ gdimagesetpixel/alphablending_exp.png libgd-2.3.0/tests/gdimagesetpixel/alpha_blending.c0000664000175000017500000000212013635665516017143 00000000000000/** * Testing all effects */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int effects[] = { gdEffectReplace, gdEffectAlphaBlend, gdEffectNormal, gdEffectOverlay, gdEffectMultiply }; int red[3], blue[3]; int x, y, i, j; char *path; red[0] = gdTrueColorAlpha(0, 0, 255, 127); red[1] = gdTrueColorAlpha(0, 0, 255, 63); red[2] = gdTrueColorAlpha(0, 0, 255, 0); blue[0] = gdTrueColorAlpha(255, 0, 0, 127); blue[1] = gdTrueColorAlpha(255, 0, 0, 63); blue[2] = gdTrueColorAlpha(255, 0, 0, 0); im = gdImageCreateTrueColor(120, 180); gdImageAlphaBlending(im, gdEffectReplace); for (j = 0; j < 3; j++) { y = 60 * j; gdImageFilledRectangle(im, 0,y, 119,y+59, red[j]); } for (i = 0; i < 5; i++) { x = 20 * i; gdImageAlphaBlending(im, effects[i]); for (j = 0; j < 9; j++) { y = 20 * j; gdImageFilledRectangle(im, x+20,y, x+39,y+19, blue[j % 3]); } } gdImageSaveAlpha(im, 1); path = gdTestFilePath2("gdimagesetpixel", "alphablending_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagesetpixel/bug00186.c0000664000175000017500000000153213634445460015367 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; gdImagePtr tile; int red, green, blue, other; int i, r = 0; im = gdImageCreateTrueColor(100, 100); tile = gdImageCreate(10, 10); red = gdImageColorAllocate(tile, 0xFF, 0, 0); green = gdImageColorAllocate(tile, 0, 0xFF, 0); blue = gdImageColorAllocate(tile, 0, 0, 0xFF); other = gdImageColorAllocate(tile, 0, 0, 0x2); gdImageFilledRectangle(tile, 0, 0, 2, 10, red); gdImageFilledRectangle(tile, 3, 0, 4, 10, green); gdImageFilledRectangle(tile, 5, 0, 7, 10, blue); gdImageFilledRectangle(tile, 8, 0, 9, 10, other); gdImageColorTransparent(tile, blue); gdImageSetTile(im, tile); for (i=0; i<100; i++) { gdImageSetPixel(im, i, i, gdTiled); } if (gdTrueColorGetBlue(gdImageGetPixel(im, 9, 9)) != 0x2) { r = 1; } gdImageDestroy(tile); gdImageDestroy(im); return r; } libgd-2.3.0/tests/gdimagesetpixel/alphablending_exp.png0000664000175000017500000000125213634445460020220 00000000000000PNG  IHDRx_N pHYs+\IDATxэ@@6БÑ% 2D[Z=hyf5c^ݵ|/x5 'pq 'pq 'pq 'pq vos=Vq 'pq 'pq 'pq 'pq wpOu1Gc 'pq 'pq 'pq 'pq 'p,k5{1qܜg8N88N88N88N88]k>7m>lpq 'pq 'pq 'pq 'pqM֏a{sN9 'pq 'pq 'pq 'pq 'p1s]9]|7X=̬ 'pq 'pq 'pq 'pq 'pu */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; gdRect rect = {0, 0, 8, 8}; double matrix[] = {1, 1, 1, 1, 1, 1}; int res; gdInterpolationMethod old_m, new_m; src = gdImageCreateTrueColor(8, 8); gdTestAssert(src != NULL); dst = gdImageCreateTrueColor(8, 8); gdTestAssert(dst != NULL); res = gdImageSetInterpolationMethod(src, GD_CATMULLROM); gdTestAssert(res == GD_TRUE); old_m = gdImageGetInterpolationMethod(src); gdTransformAffineCopy(dst, 0, 0, src, &rect, matrix); new_m = gdImageGetInterpolationMethod(src); gdTestAssert(new_m == old_m); gdImageDestroy(src); gdImageDestroy(dst); return gdNumFailures(); } libgd-2.3.0/tests/gdtransformaffinecopy/github_bug_00596.c0000664000175000017500000000171613635665516020327 00000000000000/** * Test gdTransformAffineCopy() run error * * See * */ #include "gd.h" #include "gdtest.h" int main() { double matrix[] = {1, 0, 0, 1, 0, 0}; gdImagePtr src, dst; gdRect rect = {0, 0, 16, 16}; int white, green; int status = 0; int res; int actual_color = 0; int expected_color = 0x00ff00; src = gdImageCreateTrueColor(16, 16); gdTestAssert(src != NULL); white = gdImageColorAllocate(src, 255, 255, 255); gdImageFilledRectangle(src, 0, 0, 16, 16, white); dst = gdImageCreateTrueColor(50, 50); gdTestAssert(dst != NULL); green = gdImageColorAllocate(dst, 0, 255, 0); gdImageFilledRectangle(dst, 0, 0, 50, 50, green); res = gdTransformAffineCopy(dst, 4, 4, src, &rect, matrix); gdTestAssert(res != GD_FALSE); status = gdNumFailures(); actual_color = gdImageGetPixel(dst, 20, 5); status = (actual_color == expected_color) ? status : 1; gdImageDestroy(src); gdImageDestroy(dst); return status; } libgd-2.3.0/tests/gdtransformaffinecopy/github_bug_00583.c0000664000175000017500000000135313635665516020320 00000000000000/** * Test that a zero determinant matrix causes gdTransformAffineCopy() to fail * * See */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; gdRect rect = {0, 0, 8, 8}; double matrix[] = {1, 1, 1, 1, 1, 1}; int white; int res; src = gdImageCreateTrueColor(8, 8); gdTestAssert(src != NULL); dst = gdImageCreateTrueColor(8, 8); gdTestAssert(dst != NULL); white = gdImageColorAllocate(src, 255, 255, 255); gdImageFilledRectangle(src, 0, 0, 7, 7, white); res = gdTransformAffineCopy(dst, 0, 0, src, &rect, matrix); gdTestAssert(res == GD_FALSE); gdImageDestroy(dst); gdImageDestroy(src); return gdNumFailures(); } libgd-2.3.0/tests/gdtransformaffinecopy/CMakeLists.txt0000664000175000017500000000016213635665516020033 00000000000000LIST(APPEND TESTS_FILES github_bug_00583 github_bug_00585 github_bug_00586 github_bug_00596 ) ADD_GD_TESTS() libgd-2.3.0/tests/gdtransformaffinecopy/github_bug_00586.c0000664000175000017500000000073413635665516020325 00000000000000/* * Test that gdTransformAffineCopy() does not segfault for palette images * * See <> */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; gdRect rect = {0, 0, 8, 8}; double matrix[] = {1, 0, 0, 1, 0, 0}; src = gdImageCreate(8, 8); gdTestAssert(src != NULL); dst = gdImageCreate(8, 8); gdTestAssert(dst != NULL); gdTransformAffineCopy(dst, 0, 0, src, &rect, matrix); gdImageDestroy(dst); gdImageDestroy(src); return gdNumFailures(); } libgd-2.3.0/tests/gdimagerotate/0000775000175000017500000000000013635665565013602 500000000000000libgd-2.3.0/tests/gdimagerotate/bug00067_015_exp.png0000664000175000017500000030364613634445460016644 00000000000000PNG  IHDRÅ{ pHYs+ IDATxk  BCB*7J_{3CV@AB<A3CV.BCB BBAB B)4 BCB,C)4>C@> B,BCB  2 BABB&2= BCB.A&2=.95+8!*C!+5)7L QKD &)B,7L     heN%  > -8     2&C&    %  @*5^     > "-8м^  $!B *6      ")0- C  %,     5~ IDAT'&$  Bl ,9ï,    !!(( , '3Ѿn      %#//   B"(4        KQP  A" +7>      %51  B'2>  "$*'         &-/     . '2~  '     &.'$"  B %/  '.)  !      +%4FE C&(4N   ?   $  ,$DXO B'1N  (       #!9NK$*1  @ (2  ('        -GB#45  A !  " 0$         FUL,>C  B! *4` &).       +&@SM'<<    <'/` $';      Eq IDAT  +#7RJ41   B %-     ((  #     1(6ID!)*  C  .  % .           #)D=1C>  B(0Ǹ. ,)!1      +#6SO+) *  '/ƹp   0    ,       7E;Jd^    B%,     >          +!#44.<9    A$+@          %   '*')=9    B"+'-@             0 &.ķ          B %          !    C)!(P      )    B#)P             B (      $     A  +$   %+)/   Y IDAT    B&      .      :$)'      ") 3 <        B"  :SO        C# 0 /0)          *B$.;!0   '*(@;          O (" %r :;=   DL       ''   B "      $     00*Xb` A )&          B    &       2      B  !           C$                B         ~l IDAT B      A       B"               8        *,            B    47      C 2  %ν         B 2      !,/       &$ \                    {      #$          '2 D п-/-       B   $./        4       !%%      $'*B           G' IDAT C  C    &+*             B      "'%!        Bm         $+  $ "!156          B $  )*'¾        6  T         " u                #+4 4 (*)           B4                     $&v               B           A,6B F              B#F        IDAT            6#&    , (!$"        B                   C!V            B#(V                  B$+%,                 A$+&         B=G#(&              4!(̿h          !&")             ' ( ( #6         (() ' ( "*6        ##,"*")x        %+'#,!$#* X IDAT       )!) )$+H           $)!+ ) '/H           "#+2'"$$-Ѽ          &*.&*0#'$"            "*!)!)"+X        #+!!*$, #.X          &* "'+"-         "++ " $-& (        !# +(#,(          &+!!%(* "/Ʊj         ((& '#0           #&',!(# *8           (/")% "78   A IDAT     !'#) &2ƾz         !(*"'"*      ", #+ (!J          &( ( $+J        %&3?)"$% *      '+1-#     "%('!Z    ()( ,/4Z      )(''"    &",' * $)$)#'"/*     (* +' !ɻl   !--'k"&  %.!CIDAT,"  $:%!"'*"!&N ' U/|l!IENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_165_exp.png0000664000175000017500000030364613634445460016652 00000000000000PNG  IHDRÅ{ pHYs+ IDATxk*ƹD!")( 'l ( ' (!BDD643!(C VͽV#(*)$+ 2   #"* ( )p  (!)!)"B  FF -!&,#&A  XX  "+&#' q"     #%!* *!)(v   ('$,!B    HH #%$!'-ʿ IDATC      ZZ "(&#, B      ((Ǻj)-+ ( ):      ::ó|  %"()B    JJ $($#'-!) A       \\ $ # & B   **Ǽl$*&+ $ &B      <<佯~",3"$*C              LL  &&&#& B      ^^&'"+0   ,,ȼn '0")&B     >>ų~ + '"%$A            NN #*'# B      ``## #% '(? IDAT*       ..ͽp& %'%B       @@ )) &C          PP&/.$$"& B        bb#)"%$(<          00ŷr ("*'$B           BB &,!(&A          RR"-")(#  @          ""d!.'!$B        22t $#(C            DDB              .                 +B            1| IDAT    )A                   "%B            ,          $.B     !   A#C                 &B           #&3>                        &C                    (@             >                 !&B           $     $C                  #*B            6 IDAT     # l,                #1B                 #1A            %&%      "0B        !( .          #     $/B                 !-C                *B                    '1@                     +A               !+B                      <                '0B           u IDATFED   %.C             ")B               *           "*B              "*A         !)B        %0         (B          %+C          !&B          !"Q[\!    &+B       ."    /0   "'A           )*)CAF    'B          'C2 IDAT  !   #:           #B                 !C     #     $/   Bʷ  !   .!  "(            Bʴ             AӸ         )(   B            0B"  2        )      B          C              B            B $&   , IDAT      A .ZKը      ',"#% B$WH          8     "%      B     "         Թ6QL(90    C           ظ!/1 '   B     *#         ά3A@   $&                .,&31    B,.(''       0&   A   ' #          MX[B# +*   δEMK4  &!    /;<&55 B71-$)  +::C 1.'$!S! IDATC# ߽CB'&!   B%    H  B   41,     <   A/   A4/   AB +    B0+^U  %"  6   &# <4UK  B#  ('  ," 7*    C    $#*  #   #B  '$ !'   &$5 $   'I? .&&B  )&H !A  &=   #B  *3$ 6 #SMy IDATL.-%  #B  ((N((,/" %C  B  *     B ++      #(B ((   #  "A      #+B   4      %-B    $+ '     %,!,8!,8BAB* #  " !'  #.;#.; BCB$'/'4D2BAB 7&   &-##1BXBCB8  ) !A IDAT  %-$0$05JBAB( 0# )  $- ".=".=8Oj"BCB #-&   '0  6&6J4BAB =,4+   )1BCB6  0& *"  f#/#/1G`BAB&    9+ '2  /> />$BCB #," #E3   (16BAB    !       [#BCB4          ])(4(4BAB$     )3  .= .=&BCB   )5&8J8BAB'3BCB2 ./+ W|9 IDAT'1'12BAB"')5 !/:!/:(BCB '5:BAB  t ((BCB0 ,7)5)5BAB *5*BCB `3!)C@> a+"-"- BCB,#67 '5@'5@BAB+7k;4IDAT.BCB  p @AB< +];(2(2BCB*,:+*IENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_135_exp.png0000664000175000017500000040645013634445460016644 00000000000000PNG  IHDRPnϟ pHYs+ IDATxـ&$^z^^$.9^´²$.9^ ?Ob_$.9^±^^ ^^  ^^ Ͼ^^   ^r IDAT^&%ǵ^^   ^^İ    '/;^ï  ^^®%  &/;^¯   ^^Ƴ   ^^ɵ ^^    ^^Ƿ      +27^˸     ɶ$.8yb0 IDAT^̹   (/:^ȷ      ^^̽  ^^ʸ        ^^ñ     ^^ó  ?Qe_%0<^ʼ     ^^Ǹ      ^^ʼ       ²^^ɺ     ^^̼     '.5^ɺ  ! IDAT      ^^       Q ^¡     ^^ġ            ^^á    ó$.;^ˡ   ^^ȡ          '.;^ơ   !!   ^^ɡ     Q^ϡ   (0:^Ρ          CQd_.7^Ρ         n IDAT   ݵ,4'؀^С              ҳ^^ա       ի4;^͡             ڰ.7^̡       ҵ"1:^͡         A)1;^̡          Ķ*2:^ʡ       &.7^ǡ          ɼ(.5^ɡ             T[(17^ġ            %-:^ˡ         ŷ$.:3 IDAT^˽          '0;^ơ            ù'/;^ǡ                &/;^ɻ                 ´$-:^ʺ               Ų&.7^Ʒ          G-25^                 Ÿ "+7^                     ij$+8^ô                ˾'.5^˺                          R]+27^           ı                 ´$-8 IDAT^ñ   '.+ Ϸ               Ų#,8^ҿ ռ %+*"",)      Կ          ŵ#-8^κ    Ƨ .+,23             ƴ#-9^±  ɛ %! ƽ          Q^ı   ٫ Ľ           Q ^ȵ ۪!>OI            Ŵ#-8^ɶ              ô&.9^ȴ     "          O],26^î  7. &        ^^î     !            Q ^î   "              Q ^  IDAT           Q^     OG깿               ȹ$.;^                       Q Ϳ^ %#              Q ̿^    +&               Q̿^     B1                  %-9ɽ^                   Q ^                    Q ^ !!              %#!       Q̾^OE     &#       #" '-          ó&,9̽^ 1                  ³%,7̾^1)    IDAT Q       '+.           -35˽^  5         $&(         %,8̽^ ?                     $-8K  L        *,(       K$-8G^yWV   I' "              !+0=PeWE\wWV  M%      --,,+)       #0=PbWHa{W$0= ,       #'#      &*.HXbWHa{WV    F "   !      (!(-@Q_WG_yW".:   2    %'(         (5@RfWD[wWV   -08/  /56       )8?N^W%1@*+ !  !+21        &.4IWjW?XwW+<к " "6mHb IDAT  &//   %-6ETiW%1@*+    255     '/8EUiW#0>*+         ,01  %/9FVjW"/>*+      $&   %0;EYtWF_}WV7 [  !       "   !/?=Z{WG`}W'4B  '               '    !0@=Z}W".>*+ "       ! "28## !*    .>?YzW#0@*+ "      !" ./$0  ".<@YwW,<*+ "       #,1#./ (4  "-;?XuW!.?*+!  05  !/    +8@YtW!/?*+ # .0  $2@   ",8?YrW,;*+ $  -#(=B  < IDAT%3@  +5B[rW .<*+"    % #:?    ,>I  *5F^tW,;*+!    %  $-'#   $4A +5F\pW+:*+       '  "-*%7C  '3EZlW .>*+      ,+2BO )4DYkW .>*+      &84  5HS(3CWkW .=*+        $:9  0CN '0CWjW"0@*+   ! !56#! ,>P    %.EZkW .?*+      $%    1@Y   $-I]mW"1A*+    %  ,;>  5GY   $,H[kW /?*+  # " ,=H   )DUeW /?*+      !  '*:A    (ARaW- IDAT .>*+     1CD  !*27HXW .>*+      ;HN    %..?MW"0?*+      4DJ    #+.=KW /=*+      %0/ 4AH   !)-;HW-<*+ &    3@H    +9GW-;*+  # dmd60 .9B #'5CW-;*+   nfY    IT]   #%3AW,;*+     %fbL         )6DW .<*+ $ !d]G  %"!$" #&3AW,;*+     (  #[R= #! '*   #$1=W,:*+  #  $SF3       )4@WRn IDAT".<*+  ($ 0+*A?;;3#     $'2;W,8*+  '8-0JA     1-.   '2;W.9*+  "/'>3     !*4?W,7*+   0,0)9. *-, !&0WqWV      $+7IYW©V   &/8JZW>WtW*8 &-8JZW;TqW(7  '/8J\W>WrWV $$"  +4:NaWV !"  )3AUfWV!!  "/:FZlWBXpWV +7FZlWëV8 IDAT,7G_qW=UqW*<+5G_qWV  -9KcvW¨V  !,8HatW>XtWѿV!".;HatW@YuW"/< $%! *6IauWV!.;MgW¦V  !/>KgWV "1?JfWV  1@IfWϽV%3BFeWʻV /@JiW|{ IDATvǾV!0AGfWͼV   0@JiW~ƹV/?KjWJgW˻V />KjWzɶV/?PoWMkW˻V $4DPoWLkW#3D#2BPoWyξV !2COoWyϽV1CNnW|˼V #3GKnWxԼV!1FMoW IDAT ãy̽V "2FNpW=]W/C 1ENpWAbW"3G 0FPqW˴p5La?``IENDB`libgd-2.3.0/tests/gdimagerotate/php_bug_64898.png0000664000175000017500000000224713634445460016430 00000000000000PNG  IHDR9$iCCPICC Profile8UoT>oR? XGůUS[IJ*$:7鶪O{7@Hkk?<kktq݋m6nƶد-mR;`zv x#=\% oYRڱ#&?>ҹЪn_;j;$}*}+(}'}/LtY"$].9⦅%{_a݊]hk5'SN{<_ t jM{-4%TńtY۟R6#v\喊x:'HO3^&0::m,L%3:qVE t]~Iv6Wٯ) |ʸ2]G4(6w‹$"AEv m[D;Vh[}چN|3HS:KtxU'D;77;_"e?Yqxl+ pHYs  PLTEIDAT ~7`p, UIENDB`libgd-2.3.0/tests/gdimagerotate/php_bug_65070_exp.png0000664000175000017500000007767313635665516017311 00000000000000PNG  IHDR* pHYs+ IDATxwdGy:٬ Jز -lj`[۾?lp D $@(Vq]mN3QU]FSS=O~} y '`o.hr/`vB|5~<30g|?l6mdO~3#ǧD7f9 3<86wwHq0 3 . _}lܸpٱâiͽ;39(3Ow̸}c3]s0;s…ރi`ؽ{E_%OӦj ͡С?>7͋3yI/ ̴PgqƌO/bfQgy?Ns9R1|{ߛE_<³?a p,/}_Ik'_SMki?=/O}իWS(}c lJ)!Z=6Ɛ=oi{^d!DvdCB^ä55qF/_N$/K;#3ٱͻn $d^ Tu&=i J P"zc4R7bIz/ =cVӼgA^ /O{xm~NL$rZ-Z)zYйky!B > y-51Om>6up 4`N6ќVNd,ZcW;?mH!A`ߛ.q`vd=0p@dqBpW}/q̂e0>QBkM CNyΔB,Fkaɴ!g )Fk@ $R:Gf/DJi('% /nȘ .zYgM$VXlkVڊ( oiMT,2hZd icdL{ [ !Z"p{'rBf͚{1 {,z=39&^ݱRlM+s265BrBl_:cڠ^yk"*' {7ZELS̓U aNe5y*.ik̂80d_evˌ ZT:™XʃZIB(m]JeBq c0(!2BevBZ ۳A0'>¢( &k\,_StRοq%p57_ݍfifbFiV 5iF+M*Re1$MIԞRR*24VR*Y*$֔KSTaF)kTj_FZk>F5Q=>ʞk+1׋"R07f5Q}kY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loading failed.\n"); return 1; } gdImageFilledRectangle(im, 0, 0, 140, 199, 0x00ffffff); /* Try default interpolation method, but any non-optimized fails */ /* gdImageSetInterpolationMethod(im, GD_BICUBIC_FIXED); */ exp = gdImageRotateInterpolated(im, 45, 0x0); if (!exp) { gdTestErrorMsg("rotating image failed.\n"); gdImageDestroy(im); return 1; } if (!gdAssertImageEqualsToFile("gdimagerotate/php_bug_64898_exp.png", exp)) { gdTestErrorMsg("comparing rotated image failed.\n"); error = 1; } gdImageDestroy(exp); gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagerotate/bug00067_090_exp.png0000664000175000017500000014044613634445460016644 00000000000000PNG  IHDRL\ pHYs+ IDATx*qI                                                        L9&                                                        N:$                                     ɣ  .(&72"$               G5 繉%!          ˗mxv       O;%           L6   $)'          H7!   !             J8! &,(              K8        (10        XE-)2+    C.        29:         [E.Y~ IDAT (+        ,41         K6     +20       N9       8>8         T?( 3=9         ŵ8GC             ˿O__            T                  S>& :LH                                    4HG             h 6HH                գ                       ϳ   ##                    312 ʶ  .932<=      VB'   *   FKP        ޮ  ,                   #$                 *,'-0/                !JG@       ˺       TL IDAT            !                      J4 5                                                 ) S>&    P         $+                     #        L12            R=(  )/                                  #             .)    !                    %#$                  &                                                                                           ' IDAT                                                                                        ((             (            >    $(+              $*$$          )$         &    ,'-         !#            '&!         *           8)     1')       *   U@+   %     "      $ ''           % .,  %    @T n IDATF9ߞ             ?2,5    "          1 +4    ?=:          N=)        >FEA?4!%        tR֮    I        %$'&&(      Y      L&                9**''         !+47BPS!$            =3%A8 K  %!  ! fut         +% F    #    #  =LO             3 1     MZ^R\]      zO        rw  '$    %5??           %!)"")0113           #                Krl1@E                  ,5>             0J?               6H:             ,-              077                                               KHv IDAT  ,(              N*   %%%                              MUXJZg 2                 "              ;::                   9=;                               ((>03     B,     SWU           NXX          K4    /HA35/       G/      5QNEJ@        g8                                      """   n6          j2          c,                  ߄UIDAT   c㾞5IENDB`libgd-2.3.0/tests/gdimagerotate/bug00067.c0000664000175000017500000000213613634445460015027 00000000000000#include #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im, exp; char *path, filename[2048]; const char *file_im = "gdimagerotate/remirh128.png"; FILE *fp; int color; int error = 0; int angle; fp = gdTestFileOpen(file_im); im = gdImageCreateFromPng(fp); fclose(fp); if (!im) { gdTestErrorMsg("loading %s failed.\n", file_im); return 1; } color = gdImageColorAllocateAlpha(im, 255, 255, 255, 127); if (color < 0) { gdTestErrorMsg("allocation color from image failed.\n"); gdImageDestroy(im); return 1; } for (angle = 0; angle <= 180; angle += 15) { exp = gdImageRotateInterpolated(im, angle, color); if (!exp) { gdTestErrorMsg("rotating image failed for %03d.\n", angle); gdImageDestroy(im); return 1; } sprintf(filename, "bug00067_%03d_exp.png", angle); path = gdTestFilePath2("gdimagerotate", filename); if (!gdAssertImageEqualsToFile(path, exp)) { gdTestErrorMsg("comparing rotated image to %s failed.\n", path); error += 1; } free(path); gdImageDestroy(exp); } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagerotate/bug00067_150_exp.png0000664000175000017500000036271413634445460016645 00000000000000PNG  IHDR^ pHYs+ IDATxo~BHB6(1;0=N ˿l  1>M/=K|/>N$,5¶ɼp*GKR2  $.76AQ ƻʼl~ļpT    &#;IT!(1x*  $,74@P³x*  T}ɽ v IDATs   4?P)2?ŷ  ³B>|  $0?:DR   `ķ|`B   Ͽ|Xu     FNS" Jŷ&{        2@P,8Fó     Ƿ~LJ  #+5@5@Ró    VʾlA IDATͿl6    x~d  "'1?M"*Ƹ    >2      BJQ1;KĹ    ο}XVų   #      *-3=O!ʹ      %f˾xǸ        @HT/8D̻         IL  ˽5    Z*  >ȸ        %P$-̿          [( ̉@        ,l $4Ý      =` ͙&       ꒚ IDAT   O@ o~VL           @8;82>K ì         2l#z(          ].` (ʩ                P>  I2 IDATѕ+                    !a!Lم               2k$ȥ                       DV nc   ¿               V2 ů          'пg"Έ?               8e 4˝                       JJс              %         6&)7XJ  ƿ            "           @    ˸               -;Mz(        е          $$0>ҁ              ` IDAT        6CL                !,1 %@b                         4APʁ               #     FMX d>      м            "'%!        /:F      !!+(         '$'        >FR     #-+                  !(,%,6*x ĸ  Ԯ'.'            2>O  ;              -9J#LV              4?LȽ  Я          5@\ p2 ܻ            #/=O Qv IDAT       /D_;   ۺ              .?)96l        .C^Ĵ             .>WXJ  =3        0CY  ,$             /AXŶ|&  NAG=               "-%5Eĵ 2,                .BVǷ   : ,'                  #0>",B`   $!         #-4FW  -(.*        JTT  $  7IY d>   5+1$-        "01321    '   3CR+t IDATп  )$+!50         , (:CQo~ν   "        %-$/8*x   /&/!}      "  #3@2AQʺ .    "*   &   +8E"NT )      '' -.7 1AOͽ&1 #     $!,6   8IV òp2    36#     !+1   0=Hʺ    ?. $  !*  %4@   BHUʻ'&$''          !%   )1 (/6l $   # '* >Tb D@KƵG>      )5>    .;HZH   ; $"# m< IDAT +3   0  "0;̼|& * A   !        ($  #.     !$- ʻ     'C6   *+6IW    ",7Ƿ  ;   #   **   #,4   $B̿` .07         &8B   +5ȶ -50        &) %0: ȹf<, 0!    ʶ  )# %11   #-M%2      /:B%0&2@ 6    #      ,/ )4z&+9H 8     0;B &2=Z )4!,8'       &  $+$ &2@,.~ IDAT      1=D   )5@R0>P< )    *.7    #,5w !,$2D2      =IP   #-4d "-;'2!     #.7g  &4E 2 (,+ %#+$-=P> 0 7@?     &2>T%1%2D,"0V\Q&=4 +%  &0 !.>!+%  ,6/,OJ> $ ../  '4@R %5I 8   6  a_J -'     ",5q)(8M89 I@35* 0+  #&& #-8p&3'4&#$ $^YC       %1?a  !0?+ #HB/  $*$l IDAT!)%.%6I>  4 %*I<-  '$  />NQ!,$4G2 &    A?;B7)  21'/,  $0<~">̷@    &86#;4  $,1踻616RK  6K]) &6H1++#,VK  +)-VN  )7Dk $,>S= 8.    73 70,%  $+7C|(лX   6-=.!'1  !  AWk5JϺ4  =: 0$   "   "-:/?Mo'7J 7     4+*"!$  8K\Q,>QU{#(;O  L9 * '%)5B 4ѼL   =1'#    #CYo5 !0?-  *# 1"   5FWe &8I= " IDAT$@3  *4+:GӾϿb (4+$  ')* Tm)c`@ͻ@ A3   0?M3AO{;bҼ!E: !!   ^x#!'9G=  + +"3*% ;M^r"(̺V   $ /( 'PkAL4 +  $&% Pl?#*Ŷnñ       &5BCYkeҿɹn  *+&b#  4JaoHg5"/ :M[ X­(  %&"  [z+!.  \|3&",Lh?(Z}CȸdιY|?(3Ѽκx(;NIee*ûTi# N͸2;Uoy9OdͺpƯ b+3FXd#0CU;Si6ǰH *=OsOƸZư&\3!**:Hd'9Og}2J_!* ˲̯` g# IDATCa}aLoC /;Up ůf˲(`7aC}VIENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_105_exp.png0000664000175000017500000030364613634445460016644 00000000000000PNG  IHDRÅ{ pHYs+ IDATxk*BAB4 "&J\sE6BCB B&BAB B#,BCB$C#,BAB6B4BCB2 $BABB",6BCB&A",6BAB8B>L2BCB "("BAB  " B; IDATBCB(   C+5ABAB:  B0BCB       :!$ BABB!$BCB*    A@AB<        B.BCB    B$.BAB   C$. BCB,     B>C@>    0 ,BCB      B%-9BAB      A%-9 BCB. Bt( IDAT %.<   N#45   B (3<  4FE      ,#,   ͳ½   B#.     41    C$,7   '#        B!,L "  )14       >&#0  ʷ"&(    C&# -)  Ͻ*B?          @0/  #,)   7@HP  1?;      # q         #. !,&" ջ-=9''_b`      0 IDAT  Bl&0,  &#          , (5̸n               B(.<"-  (%              A(.< &/;>  &!            BIS!,>           .!.~K+                   B".            C9E(7N'               B%1N  /          @# ,                  A#   1            B?K%1о` 7      <  *̷`     Ǝ) IDAT    B'.!-6           C'. "             B#1.         * νZ'           $0           A+3<'2@               B#1@              0$1           B"-              CC%0P   &.&            B%2P          B ($0          A (   %)      yg IDAT    B} /b            : &2˺b            B!)3%1            C %0  &          B$00$         ("#.           B".               A8%/B  -     BH *                  2".                  B)   "    '        C$1   " !'             B *  ! ={ IDAT  # '$        B"- !<  !    A (""  %        B+ $        8$,  (   (('+%       B#- $  /        &))(*)   C (3  2      343-,) B%.     >B?55-     &$%-%   $'(BDC333  B!+  ''    !-,. "!    A&0=$,D!    &+*"'%    B?OC%     !+22&**   $*, !* %    +5:$./      B% % &    :< IDATC ./,      !&   C%T  !        B",T*7       ++       B %)#.! &     <@B   A %)$# 4   %Z;="&"  B*$  6    &+,/"   6  T "   !;A"-.      %/  ":)  *'     $- 9?     C  4%2             B     $ )6  824      "/!"&  -6      !,/4" ",Ѿx       *$+ *".V~a IDAT       ("7&2"*".H       !!    #,"/#0 !0H        +5#."- $2    ) !   $+'/$-"$   >    #"*")#*"+X    !  '&     !)3!(") $/ϾX      "  $#       (#(%,%0  ,% %+#     "#&  (  % 0:7     *(   C)'        ǼTr         #.7      "%8       ",8 5S IDAT      Bm  $ *4 & '0J!%"+6J &$" )5  !(#) ( ( $+'-&.%"-8ʷZ(0'/%,)3ʶZ !*4'/%- )5 (4'1(2!*+7'2'2%/+2*% ,9'3(4 (6ƭl .?"-8*6 k$5'IDAT*;,7 -8& ,:)6+7+7)5"1::,;+9 LijɝIENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_030_exp.png0000664000175000017500000036271413634445460016642 00000000000000PNG  IHDR^ pHYs+ IDATxo~ ɹfdįBʸ<KdI)3 Ƶ̾`#Tn7ν|̺ =Pgm0>OϿZƵ&  \x# 6xī&ʺ̺ξl  Uq3"p_ılȸN˸2 H^tU&1;*ѿɺT ^y+к_T IDAT*οxȵdѽ]x# BsīʻѼ` Qi?!)­|hξ`̼X& @Tja(5A6лJ Yv#лijl 0AR5EV}Įp˶So'LeƬ  *кV  D\sK%.лxĴ%.$n IDATȶd^ѽx  6l@θ>    Lg# ƭx>  ĴzѼ       Kd}3Xlѻ     4ѻJ  LV(2˵wJ  ˼ȷnʸ    (8Iy#1?LҼ4     ;Un# (ѾV       &4->NeѾ˸z           8L`? ˾b$1*     PK ɶnʷ  5/   -hH ǁ JǯϾc   /$ (нX ' RA  :eP+/   1AQ#ν,   屸1(  ˾bϿ ݾ<1 ᵽ'   n% >@[x IDAT$"0.)     2AMo~μ;d)&$762    LV ­xª;7*+)!   ԁ Vҿ*NHB,'꺽    (z#,2ҾL  )"eL@hx  ->M# ҽp     Ձ!,5cIJlͺ !5    b J̸6 %)  $#    ?&˵X  %6      @bư| >5    ׁô`͸ -C  #+{>DZB   2%  "--    z ƯdK IDAT      -    ,,)   ف(3Wȳxů   !/     &2.  V˽TȲ*     "(    %87$'   2ʴN    4!     /=:    4n"зϺp 40 #  )3-'%     ؁ªlҹ   $  ,4   /+AMK     $,2oHε6   $   $4        8>5     n Q;)eŲV   <4 # ,KB;NJ     ϼb    9C *$&-(   * 7LH %   ʻM     2G  1:2/(Hb]!*+ ,&"-D  'F,  #/1"(&  !3RL/.8 (%!-+      $ F\Y   1  B36  "42&&      /C@    "')4óZ  CB ..)69       %/3     ŹS    "N" 44        2#-&8$   /%   *$*&   (-=Tk0+<1  )#(#          x*$-1EW -0>  *$,,'          ;Sj  %!+!.C5#  $       VLH  9+  1+)% ($    %  (!*3$.;N    '(*$     "1(  9Qi@5)  ; +6  0몲   &3/  %0:N_   藦埩     `B B       #   !"-9$+Z         ) ~΂ IDAT T       4(4@o~6%               ")9KZxJ            x#.7 6   䥬          +)"!+4$ùgꫵ  #"!      &./  *H       (%  ',7B%N+-$       & Z           :-7C*+   ## "               '01@MV <6 $%! &0*          !   Ȼl(0<# < -,"7MD13M)4A f  #'156"(,        /:FBUiQ% 7      " )02687042        (+2AReZ%/: (Y: IDATg  '           ;GVj8CO~ I             4@O}DRbZL$           39CHZkQ%. Z                   #-LYg`.9A *+               :GZp=J[r l   Ž                1=NFVlR=                 #,8FVlS#*5a   !                $?Nbf1IRvBPcf]@     $                  6GW;CH0=JX       .:A7?Nc` =        %4N^a-7D p          &AN.7 O   :F/YhR@       04>$M2w      #/L     8K^eI\v? (h      '8H39J 1DX     ,4Na~+6=Nyv6     DNP$+J !   ,;N-7A&3#/=X   )5E/;K &a     !$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wSz'M-x'~g|17u;^x;libgd-2.3.0/tests/gdimagerotate/Makemodule.am0000664000175000017500000000152413635665516016122 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagerotate/bug00067 \ gdimagerotate/php_bug_64898 \ gdimagerotate/php_bug_65070 endif EXTRA_DIST += \ gdimagerotate/CMakeLists.txt \ gdimagerotate/bug00067_000_exp.png \ gdimagerotate/bug00067_015_exp.png \ gdimagerotate/bug00067_030_exp.png \ gdimagerotate/bug00067_045_exp.png \ gdimagerotate/bug00067_060_exp.png \ gdimagerotate/bug00067_075_exp.png \ gdimagerotate/bug00067_090_exp.png \ gdimagerotate/bug00067_105_exp.png \ gdimagerotate/bug00067_120_exp.png \ gdimagerotate/bug00067_135_exp.png \ gdimagerotate/bug00067_150_exp.png \ gdimagerotate/bug00067_165_exp.png \ gdimagerotate/bug00067_180_exp.png \ gdimagerotate/php_bug_64898.png \ gdimagerotate/php_bug_64898_exp.png \ gdimagerotate/php_bug_65070.gif \ gdimagerotate/php_bug_65070_exp.png \ gdimagerotate/remirh128.png libgd-2.3.0/tests/gdimagerotate/remirh128.png0000664000175000017500000014044613634445460015747 00000000000000PNG  IHDRL\ pHYs   IDATx*Q"                                                   %         "70        3&:/          . "     >-    ߞ              ֮                                           r IDAT                                        "(                       "*            # #         +$         n?           󥨯         ۼ                                                                  |y^              ,RE$       7  +       z ޾טLti"            "3  ǣ7Y          &%*            + -)t IDAT   $'       !       )      Թ     \      '.(  ξ            &72             &/+"$          ! C]W       *     {xv  1JH           Zoj   ?B8Ϻ       ]hj!     :?;  #!         ]gc%)       5/)m   '        dto    ZMA   >FI&"       " 4&Tkd   9HNGM ᳫ        5R@ARM     /;;JQY               LUT?GD       #2: #           CZS7FJ     "##0.ʸж         !'-1        ;KIEKJ "    EUTEOP       4- 772# .'-   30, (16/5A> ((           %#1@EԻ     &&(72      1#% *    ,;80@=&#           N       ,   ,NPHCYT                 m&&         # %!                 o1 IDAT                  "                                                                          ##                                 "  )*                13                    %     .93    5??      7E>2<=      8NM       LM@R`j         R\]Ͽ247      dddBPS           !$                   ,       %%%       !                     ^QE               75-                     @T l IDAT   %$'                    &&(                *,>       ;@>      !-0/        &!          JG@         ?=:         J;/             RA4                       $                  N>.                           J90                         I8'           !   I6&                   M:(                      T@-             UA,                M:$                R>(                        Q?)                 O<&       14 IDAT                      P<#                                               #"                         !                   O;                           A:.                                               $                 $(+                                                           )!"         $$)$                    #($                                                                                              &vIDAT       4E厇IENDB`libgd-2.3.0/tests/gdimagerotate/php_bug_64898_exp.png0000664000175000017500000000450313634445460017301 00000000000000PNG  IHDRS ? pHYs+IDATxMKe pNL"m.5}wKKqK $tW_zyyrqBI{c=>>robf?`} hvpd@0nA49Sn+d@0B48S(d@ 0B41Sd@ ڐVf?`赂 hve]kȀff?` hn[oȀf~PsA4S!y ~@Ef? C^4rY /zHl=ZVKz,;%@;)6 %@97%@77*%@5a7:%@3!7 %@16%@PS~@y ig? Ā1@|=@\Щf?6 o if?2 )f?|,@z ut2 !g?&@rj }th2 !f? : {u 1g5H o].5f KqtRcrݯ'@)%f KytRarݮ4V@zv@/+f ӭ=f - f }LGtLgz0ju d3UXS@_0z?5 d`2tU@&w3YAW d֌Oc2Em6Ч07ØLY!@lz7f SF 3){#ތ4Jބ4Z#4j.b2HW1fiW1fk_0f-;L_@&SV% }.#oo///;BgD!$=??h, DeOS&Z/:/4zA_8'֋ z-M^D4z@|8֋zcM^Лh"]@!&Z iM h=St4zA~: 4f DzY4QaMT5誘%@j :f DZnY4QaMT6覘%@ 9f DjY4QaMT,讘%@:;f D`MThf DbMTjh;f DY4Q-`MTP%@*Y4Q5!1K&*u tXJ}hRA,ݝ$%@]ϟzzzh,%,H YJY45RRi K1K*AcMst 4f 4v[ K`Mc4f 4V{ KaMc4 f Д#A1K, Y4 dip)Gg!K`MYhY-D%@SjB&,bT4!f diRS+Ę%@SZB&,fI,o,C,K,j39 K`^ t$d M{rB|3@Ӗܐ%0o T*d ̛4]+ d ̻4/d ̻4I K`>."d ̇E,TȐ%0s*z2@\-@YYs=F K`nsf:gY!K`ns:G!K`c7d tF,kH%0w1 fK6"d ̶iTo#Cl}m3@&@iCYs] K`5#d afrѶ~a~g?od)l~8@ f?/v@^v`34Nl&@9f M*ld@<F ]*n$@=F C,3h hAȧg?5^@2"r`4~H\}XE & sr`9@0zr` .%h wd-@@ g?[ @~ 3ltG@:,}Xm af?%5@5,ރr} ].} Dt?͵IENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_045_exp.png0000664000175000017500000040645013634445460016644 00000000000000PNG  IHDRPnϟ pHYs+ IDATxـ&̽^VV(5CV'4BV̽^V̾^V ^ɺV ^V*7C˻V̿^V(4AT2 IDATV(3AV^V^̾V DYm_&2?V^ĨV į^Vî#0<Vð#.9ŨVȴ +7Vȴ!-8èV  Ǵ^`u IDATƫV   ð^V  ò"-8V    κ^V 0CW_&0V  ñ%/ϽV  п^~V    5FU_&/V      ô^V   ^V    ^V     ._"èV    ռ  ɡ^éV       鳻), ǡ!V  8/   깿!&( ʡ èV  ߩ*) Q ¥V  4*   油  A!g IDAT͡'؀éV 3.        ˡV3'    ) ̡éV?3     աV 0F= !      ͡ƫV Dz'#  빿  ΡéV  $%! )(  (%춻    ΡƬV ,)F       ΡV       ǡ"ĪV41     ơ"V%1     ȡ!V 0)   ɡ#c IDAT©V&5       ¡$V    #?  '.+  ġ$©V  $L       ɾ!(ŬV I3+*     '©V  J  "     ȹ (V $4Q   ",)  ̼^V 8((   .+    ȹ )V  41     ,23     ɻ!*V  '/#  7FD   ô%.ëV  >&  " '!  !)&       ˽$.VN   8=90@=   ó$.* IDATV K     ,*  ;)3¨V  L      %%   ʹ(2V K  "  4OI      ˼ )4§ѿV   #N '/'    ƴ^V "J 2;2       +/ Q ¦V !G 2<6      $(  Q V    "E  -45    1=    ŵ#-9V!G  #-.     %   #-8V   I *'"        Q V   J %"   Կ*?     Ų$.9vĹV  P !0/ &'    Q V ^w IDATT "43   &*Q ~V    W  34$$    Q |ȺV  J! ./#"    45.Q z̽V   ' 2! 0*  )(     ,5@xɷV  =&!(#     #  Qw̼V  @, %   (QyʻV    93   $##  QyξV    7  !'/(   Q|ͼV    (/  '9/ Qx˾V!A $70   QãyѼV  7   .*   QyϽV * z,m IDATQ   Q u˷V  8 %-)     QK4pʲs   "#' %0+   Q%.8 *+  ))0*  "('        ?Oc_ ():K*+  0  &            @Od_%/:(9J*+'    01       ?Oc_$.9'8J*+  $ 1   !-)     ?Ob_$.9'8H*+(%'                   ?Pb_$.9&7G*+  !& ()                     GUc_%.9'7G*+  *'$ ,   /$ '               >L[_)09(8G*+1'(1             >N^_)09)9G*+     % IDAT          ?O`_'/:(8F*+     뭰                 FUd_)1:(8F*+   먱                 LXg_*3;(8G*+ 줰                  CSf_)2<&5E*+盨           APd_'/;%5E*+                  @Oc_&/;$3B*+       "                 APe_&/;%5C*+                 BPg_&/;#3A*+                CSg_'/<%3A*+              HUb_)1=%3@*+!                  BQb_+2:&4@*+")#         )@ IDAT       ?Pa_(08MgWV              ;=GE        @Rf_&/<$0:*+ ?="0,04.&)#           ARf_%0<$09*+  Fa_,;:LRX          DTi_'1=$09*+   '#41O\_.74  %  #           CTg_(1=#-6*+    00#76$;:236  &,    !%  #&             @Od_&/:V  !$   ü   +''=EG            GS]_,4<ƲV     ̾   "        ATh_'.5w IDAT'1*+    '-1           CSe_'/8ȶV       ѿ             @Q^_+2>ȷV    !              P\g_*2:ɷV        ̻!#         =Me_(/:ȷV      Ͻ#)     ?P^_$.;пV     é     BPe_&/9!(*+  !0    FSd_'/:%*+  &.      KVd_*1: '*+  )/     KVa_.4;%*+     !*   BSe_+3<V           #KX_.7R IDAT *+      ,M\_-6!*+    !(      +P^_.6*+        *P__2:*+      (     *Q__19*+           6P`_09̩V           Lg_&/;.a_-25?P`W(     ?E__-25BSbW%       :M__"+7EWgW#+      2?W_$+8V       >L__+27H\lW(/ 5 IDAT   EQ^_+27V   ;K__#,8V  :L`_#-8CWkW%3   :L__#-8EZkW)1   ?Lc_#-9EZmW(3    XpW)4      O]d_&.9@YtWV      JR]_#-6?XtW!,9    ?Pb_#-8?XuW".;    Ka_*2:V    @Mf_$-9V     DTe_'/;V   ?L`_&.:EUgW)07   @Ma_&.:V   KXa_%-:V  9AS_-58V =Mb_#+5?N^W$-  :L^_#+5V@IS_%,7 IDAT AQ_W#+  8BU_%,7ðVBKb_%,8ð#-$-8.`!Ǵ3#IENDB`libgd-2.3.0/tests/gdimagerotate/CMakeLists.txt0000664000175000017500000000016113635665516016254 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00067 php_bug_64898 php_bug_65070 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagerotate/bug00067_000_exp.png0000664000175000017500000014044613634445460016633 00000000000000PNG  IHDRL\ pHYs   IDATx*Q"                                                   %         "70        3&:/          . "     >-    ߞ              ֮                                           r IDAT                                        "(                       "*            # #         +$         n?           󥨯         ۼ                                                                  |y^              ,RE$       7  +       z ޾טLti"            "3  ǣ7Y          &%*            + -)t IDAT   $'       !       )      Թ     \      '.(  ξ            &72             &/+"$          ! C]W       *     {xv  1JH           Zoj   ?B8Ϻ       ]hj!     :?;  #!         ]gc%)       5/)m   '        dto    ZMA   >FI&"       " 4&Tkd   9HNGM ᳫ        5R@ARM     /;;JQY               LUT?GD       #2: #           CZS7FJ     "##0.ʸж         !'-1        ;KIEKJ "    EUTEOP       4- 772# .'-   30, (16/5A> ((           %#1@EԻ     &&(72      1#% *    ,;80@=&#           N       ,   ,NPHCYT                 m&&         # %!                 o1 IDAT                  "                                                                          ##                                 "  )*                13                    %     .93    5??      7E>2<=      8NM       LM@R`j         R\]Ͽ247      dddBPS           !$                   ,       %%%       !                     ^QE               75-                     @T l IDAT   %$'                    &&(                *,>       ;@>      !-0/        &!          JG@         ?=:         J;/             RA4                       $                  N>.                           J90                         I8'           !   I6&                   M:(                      T@-             UA,                M:$                R>(                        Q?)                 O<&       14 IDAT                      P<#                                               #"                         !                   O;                           A:.                                               $                 $(+                                                           )!"         $$)$                    #($                                                                                              &vIDAT       4E厇IENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_180_exp.png0000664000175000017500000014044613634445460016644 00000000000000PNG  IHDRL\ pHYs+ IDATx*c&                  !      #                                                  !"        " $                                 )(                                                                                        $*:                           -.2                      VE6                     O@1                 I9,                              N?1                      SE5    ,o IDAT              RC2                            G=/                   TG5                     VI8                               ,'#  )        YI>     +++ $!         #!41-      NA8     &!     *)(%#!               !  *,0                                " 6 30<                              ^SE                &"                                       !       RG<         !       `UI               !#&                                       㶹                        ?;9   dZN              <^ IDAT                        $                                                                               +$" "                                                              $%!                          ᄚh]_                        ô       zx            643) >=E       ɻ   $G62      L=:                                                                                                         !               s IDAT                                                     ̮30)                  ݰ    #     2?  4           輭    7)      & ,5>               樵ŵ        0J?6H:       㷺 "     %    ӣƱ,.077                    ,(.*    з         Ȯ ";::          ڹ        ޥ #=;     栌 &            *((=><     ٣          ǗNXX+*" VM@  ۬              '+(   ի        &ӷ 42*  馑          ϶62- ꡏ       򽣩 "            %           ! 2BA          2E> '"          6;  @TZa IDAT                           9]S팗  #          +B{hԮ       o         5vb   ,('           `cRy        ]\N &    2.%""  I/.       gaYG  ZS6  E   D?E>4% CT    [XQ;5      W%$ҽ ,+        %(   '.        % )+              )        +#                      IDAT   (! -%)#    +%5+4#      ! 6,5*   *RD   $+ J9 9( -B/U?   9($  !bM)    C2* $%       6&bJ:'3 `DM9"  <04/       :(*         ;1                               {WwIDAT  DɶcIENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_120_exp.png0000664000175000017500000036271413634445460016642 00000000000000PNG  IHDR^ pHYs+ IDATxo~BBôH `³$-|̿ =K\m)4AZż&Sk# 6&³ʾȻl  Oe}3pȻ  $*2FWjONǺ2HUgU).4*T  ǻ).4̼|T| IDAT*õxd   \r# Bʷ Ϳij` $ cq|?#(ɻ|Ƶ   %)2QcyCXƺ& %%  B`(0<6˼J    Xl#J    p    Wk'L˿2   #,8DSiY*V    I[rK$/ƇʸV   ˿ۮb IDATdɸx 6ƺl@óʼ    Ý˾>    õzЁ     Ǻp",5Xô˅     4ӁJ    LV*05Α·J          ɾnǼn     *ĴxL4       Xn# (ͩȳ4          z          Lbz? (bׁ        (Pd|A[ IDAT@Н         @b˝@    ÷zĮ4        (V´Յ               z(4οͿ(        ĺ́n             ϿX&,0&.n           ɾ&.Jŷc             !(X          fy# ,            #,b         ʷn&-8 >@    ?N IDAT    FYkMo~d        LV$+6xÁ          \j)V˼*     (Žz;CH2L        k{#Ĵǹp              .:AEOacl³  &'$              L`uA&JĴ6  $#           !(0[lA&X  س  "--      #JWc.7ͽ²|   ̜ ,)&2.$'          =l#˿`M             %*>̼B   "3-AMK           źz5; ʻ׌lG IDATʻd      &>52@=         ĸ.P`Wοxʺ   # *:8%,.                  V(0(0Tȸ*   3-  ܵa"    Ǻ',,        ȿ(02̼}   )2/ Ͳҿ #ʺp  81 #00         ˿*1; ±lB                  'H˻6  D>ݼ9G@             n".wurȶ                    &.5@   E@           JX")5 M                ,)3B$D                 ' ˼_           IDAT    ?&.:  0              "*4:K`  A=          b@ 4FY  FC         IJ2CX   2, ,)       &       >d:Kb F9           ¼$1A,          Ƕ4G_             ȸx* )2BU                         Ƴ4F]          #"        VLH -            (29>.?S%    "                  2ɿp5H^  # IDAT!              Ų!,:*7F                    ŵ/AX                 ̿l6 < &                 !+6*ʷb              % N       #     .)3B&B            & _ 9         !    >#-9   0  $           &0"ȶm*      #     0!& B     !+16*ѿZ              Y~ IDAT-@X  #        o~ 6%           #(0E]  $#  "+.&* '*''$!    %   ļx* 6  <=@"#"    !)40E^         )&#    TN H  !#!+!&';=8       ''1>)N !   :==333        # Z(  .12       õ!-˺a *      N~F IDAT $.1/62   $0E]  /      .244<<   п%B     ./,     %2H]  B        #%       " İ  1    "   19;     $-/CY@     "+' #&)         `B C      #!  !BKO         #%-9 *X  #    #46!       T   *     #9=%.,      6%      !( -3 !       5CRw4DVq/E[J* =      $5*(+        .F  7   !  5;*+  $      #+?O`Z'07.AXˬa IDAT^*(   #'*    =O^&. I     ,+&+(    $/    9ES}NZjZx4  +(   ''    *+"! '  ,4>4AQ  Z     !%:8#  -9   &-CRf`,7D (2+7V#4 $;+$   +3)+   !.9$ +Dd)4C/BTV 4&&#'   9      *2!-6   -B]-C^ =      0A?  1BN  "0??[}S-?/BR^4%  9(    /?L &/BW&3O #  2I?  )6&5A 5I_v:Qkf!@    $  (3CX  ,;KA\vR!+,@R@3#=5,/ULB ޕ 9N[ '16GX" 1    (!VVCQI>  #04).  Ķ IDAT A1C9- ꕠ#"Xjd  &.3$0. 0?Q1@L C     60#TM9)%  !2AG   %1=DZnR'/-@S](    -0  '! 6DL  "'ABO ' U  9,$H>      &+5$/4  ;KYr;L[p !.<(]L   /$ +$'   3, '4>    /;F5CP3F[L    *$  4( *0/   %-E\J$&7Hijn  %    /&   C   4.9#*1DWͻ\-  $    %'    )2(2 6I^θ $       #,"-8z4  & 8WU    !+5 ,?T   <:.-    )6CW.J~̽X/>L4GT &jN  (19KZ%Įм|6HW&3=}Y:O`6GVô`*9H:N_ IDATmB#.8Ma(1>d 5Lb,=LŰd6Lb5LasN !1@5Md"ȳxĬ#9Qi!/>}Z*>Uk2G\˽Ty  1EW;Sj vN 0<=Tk$-2Z  :Sj+;Kʯƨp7Ri:QhS)   (8  '     AJH      !)B'  $.5%*+       !)A##       #!"      "B    +        # #,5"     # -B  *   !#%$&)    !&,C   &      &$  #&B !    /1- $%       2 $ !&  +59     "+B)        ę IDAT           >&A'* *            #'B $       #% (" !        !*B              *C   %      !)B           (:           'B       $,A             !B             $,%B       $C         !'-B       ̱ IDAT       0                "(B         &A                #,B           ! *                 )-+B               (C  (               )B           %<     "       "(B          )A ! '        @                $($B     ?Z IDAT   #'-C E3             !)B <0   "'      .         $B *"           #A *#         &B  /%     $* ,!*&          &+B . %           ($C #(&   #  &B  -$   !    $+> ,!3+D          "C%.H         *$    $*@ 5/*    Ѣb, IDATC      > )/+!      $ B   ?   )4!)9    :I]eBAB*#$I^]    %%%    +F[qA &6G&6G BCB     EAJRs&BCB    O]nK#(-8BAB  \u BCB2    &H\uCY: IDATBAB" "* ##(BCB  ':BAB   cyBCB0   &,BAB    !(*BCB    Tf)C@>    P`}3 BCB,   (4;6?OuBAB  XchI %(k IDAT.BCB   ew @AB< -JWpEBCB*.?S{.9HCx(TtIENDB`libgd-2.3.0/tests/gdimagerotate/bug00067_060_exp.png0000664000175000017500000036271413634445460016645 00000000000000PNG  IHDR^ pHYs+ IDATxo~BnNy>"-:6GY ȹd­4DV7FZ ` 7FZ,:HƳμz$7HW )2&c %1;9IZZ4CT5FWHx  6EX*7Fo8"-2CS%.dzh˴&3?5DU Y 4DT1ARg2 IDATdzͼv0@Q$1=,g$-/?N&T ".:+:J L|+:J-R}  !+5&1= 3_+~ IDATm.$0<(2İrҺ  *4%d  "*%. ͶǴl      )!*56w    !.!)}J   %.V¥    %. e*  *     ")"*ҿx͵ 'H8)%  &.![   ܤ1$#D<$& )ҽ  շ   8Ʒͥ&:f    Zׅb IDATƫ#   ""   =a ͽ\F      ΛBм     >&- ѽ|T $"     /oл       ~ŵ^͸         "ƹ>@ʹb    Bõũ  "!   2lͼ`@        ŅȹZѽ    &ɹ±8Ҿ              HH!+"-9 $տ~    $   +M IDAT   h^*4?$.:o~Ӽ    &       ;]"/:!+D{ '  *抝 1WPE__  %+8Eӿ  J*       LL"-:*6E ̻f<     n^/L'/̻  0     6*Ǻj6   1       VyĶY IDAT é    =      716HG   <ʿb "ϺE    ?   (" >\T     MF .Ʈ      !@   ,'  ]$ ʴ)    )7)       BVR  .ún!&NR @  !     ¶|^:CS(1;ƭ F,&    &( O@ ųpȷa1:           `  è4=        0 'Ѿ30           #)3&/2n=      (;2-A:      2?Nͻ B     ӽ.JC%+      -9HTN --      㞠2C@-;E+j IDAT   0=L̺  ; *$       買!("       0=Mİt, 6   8:       $)4@î 6 6&&$          0>L 4 "#     024%*8        *$,8ĵj ) & @)&  +:      Nͻ 8!!        3>N^D&!            3?Nн    , !         4?Pϼ~" # $             ")'0= ӽ              3>Qк  '            347!(B̽`  +$'&#              ;EOԾ  ,!*             5AHʹb>  6. "               /=Jι .%               AARм  "                    !%,49[ IDAT&л| 7. "              DLSo~ K6 /&  $-            *3A%F˼Z  4,         3?Pл                         1?O h:       '              !/NDZ :.+&               '3&/:*ʳv     -KE                 4@PȰ   13%%             ".> LȺV      '!k@               6BOů  IB250)        8FD мl4    bUA.1'     %} IDAT         .9Dɳ        .&2yeɱ            .>Lʴ   MB<5        *.7%+50Խr !               5AKԼ   *+)       19GPP              2=Nʹ             /=L ηr0  #           !",7B%              1KYsRȳ. Tml*(      "Xh{?.?N9   (#0BC5AA  %     BO^b#+.+$!  -*3><331     7AM"*0νx˹         !%(    Sf#"()6A 3      !):  9FYp !+3'.#    '3  !'9FXs\ĵ$               Qd|?#ǹ|ʽ                (1IWm*4Ad    !\kv7<οD   K[nK#(-^˼"     "+6?PgW̼~ʸ       Qf+ ̺` r IDAT  /   \q#̼bҿ   =J^g*3?ѿо|    *L\u;&ҾϼZ    IXsG!,Fѽ:  395ESc]ȵhǾ    Yhx% ´v   ,>J1;I}*ðV   Xg#L4 I^aPƲ.Qh# ɤxIENDB`libgd-2.3.0/tests/gdimagerotate/php_bug_65070.c0000664000175000017500000000125413635665516016051 00000000000000/** * Regression test for * * We're testing that the rotated image actually has the requested background * color. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; FILE *fp; int black; char *path; fp = gdTestFileOpen2("gdimagerotate", "php_bug_65070.gif"); src = gdImageCreateFromGif(fp); fclose(fp); black = gdImageColorAllocateAlpha(src, 0, 0, 0, 0); dst = gdImageRotateInterpolated(src, 30.0, black); path = gdTestFilePath2("gdimagerotate", "php_bug_65070_exp.png"); gdAssertImageEqualsToFile(path, dst); gdFree(path); gdImageDestroy(src); gdImageDestroy(dst); return gdNumFailures(); } libgd-2.3.0/tests/bmp/0000775000175000017500000000000013635665564011543 500000000000000libgd-2.3.0/tests/bmp/bug00275.c0000664000175000017500000000165713635665516013010 00000000000000/* See . */ #include "gd.h" #include "gdtest.h" #ifdef __GNUC__ #define UNUSED __attribute__((__unused__)) #else #define UNUSED #endif /* define callbacks for a non-seekable fake IO context */ static void fakePutC(UNUSED gdIOCtx *ctx, UNUSED int c) { // do nothing } static int fakePutBuf(UNUSED gdIOCtx *ctx, UNUSED const void *data, int wanted) { return wanted; } int main() { gdImagePtr im; int white; gdIOCtx ctx; /* initialize the fake IO context */ ctx.getC = NULL; ctx.getBuf = NULL; ctx.putC = fakePutC; ctx.putBuf = fakePutBuf; ctx.seek = NULL; ctx.tell = NULL; ctx.gd_free = NULL; /* create an image */ im = gdImageCreate(10, 10); gdImageColorAllocate(im, 0, 0, 0); white = gdImageColorAllocate(im, 255, 255, 255); gdImageLine(im, 2,2, 7,7, white); /* "save" the image as BMP */ gdImageBmpCtx(im, &ctx, 2); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/bmp/bug00450.c0000664000175000017500000000130113635665516012765 00000000000000#include #include "gd.h" #include "gdtest.h" int main(void) { char *path = gdTestFilePath("bmp/bug00450.bmp"); gdImagePtr im = gdImageCreateFromFile(path); gdTestAssert(im != NULL); if (im) { char const ref[] = "# " "## " "### " "#### " "##### " "###### " "####### " "######## " "######### " "##########" ; int x, y; for (y = 0; y < 10; ++y) { for (x = 0; x < 10; ++x) { int const expected_pixel = ref[x + y * 10] == '#'; int const actual_pixel = gdImageGetPixel(im, x, y); gdTestAssert(expected_pixel == actual_pixel); } } gdImageDestroy(im); } free(path); return gdNumFailures(); } libgd-2.3.0/tests/bmp/bmp_null.c0000664000175000017500000000030213634445460013420 00000000000000#include "gd.h" int main() { gdImagePtr im; im = gdImageCreateFromBmp(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImageBmp(im, NULL, 0); /* noop safely */ return 0; } libgd-2.3.0/tests/bmp/bug00276.c0000664000175000017500000000131313635665516012776 00000000000000/* See */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im_orig, im_saved; int white; void *data; int size; /* create an image */ im_orig = gdImageCreate(10, 10); gdImageColorAllocate(im_orig, 0, 0, 0); white = gdImageColorAllocate(im_orig, 255, 255, 255); gdImageLine(im_orig, 0,0, 9,9, white); /* save the image, re-read it and compare it with the original */ data = gdImageBmpPtr(im_orig, &size, 1); im_saved = gdImageCreateFromBmpPtr(size, data); gdTestAssert(im_saved != NULL); gdAssertImageEquals(im_orig, im_saved); /* clean up */ gdImageDestroy(im_orig); gdImageDestroy(im_saved); gdFree(data); return gdNumFailures(); } libgd-2.3.0/tests/bmp/Makemodule.am0000664000175000017500000000024113635665516014057 00000000000000libgd_test_programs += \ bmp/bmp_null \ bmp/bug00275 \ bmp/bug00450 \ bmp/bmp_im2im \ bmp/bug00276 EXTRA_DIST += \ bmp/bug00450.bmp \ bmp/CMakeLists.txt libgd-2.3.0/tests/bmp/CMakeLists.txt0000664000175000017500000000013513635665516014217 00000000000000LIST(APPEND TESTS_FILES bmp_null bug00275 bug00450 bmp_im2im bug00276 ) ADD_GD_TESTS() libgd-2.3.0/tests/bmp/bug00450.bmp0000664000175000017500000000014613635665516013327 00000000000000BMf>( (  libgd-2.3.0/tests/bmp/bmp_im2im.c0000664000175000017500000000244513634445460013475 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int r, g, b; void *p; int size = 0; int status = 0; CuTestImageResult result = {0, 0}; src = gdImageCreate(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } r = gdImageColorAllocate(src, 0xFF, 0, 0); g = gdImageColorAllocate(src, 0, 0xFF, 0); b = gdImageColorAllocate(src, 0, 0, 0xFF); gdImageFilledRectangle(src, 0, 0, 99, 99, r); gdImageRectangle(src, 20, 20, 79, 79, g); gdImageEllipse(src, 70, 25, 30, 20, b); #define OUTPUT_BMP(name) do { \ FILE *fp = gdTestTempFp(); \ gdImageBmp(name, fp, 1); \ fclose(fp); \ } while (0) OUTPUT_BMP(src); p = gdImageBmpPtr(src, &size, 1); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromBmpPtr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } OUTPUT_BMP(dst); gdTestImageDiff(src, dst, NULL, &result); if (result.pixels_changed > 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/gd/0000775000175000017500000000000013635665564011357 500000000000000libgd-2.3.0/tests/gd/gd_null.c0000664000175000017500000000027513634445460013061 00000000000000#include "gd.h" int main() { gdImagePtr im; im = gdImageCreateFromGd(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImageGd(im, NULL); /* noop safely */ return 0; } libgd-2.3.0/tests/gd/bug00383.gd0000664000175000017500000000211513635665516012762 00000000000000libgd-2.3.0/tests/gd/gd_versiontest.c0000664000175000017500000000105513634445460014471 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { char buffer[100]; gdTestAssert(GD_MAJOR_VERSION == gdMajorVersion()); gdTestAssert(GD_MINOR_VERSION == gdMinorVersion()); gdTestAssert(GD_RELEASE_VERSION == gdReleaseVersion()); gdTestAssert(strcmp(GD_EXTRA_VERSION, gdExtraVersion()) == 0); sprintf(buffer, "%d.%d.%d%s", GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION, GD_EXTRA_VERSION); gdTestAssert(strcmp(GD_VERSION_STRING, gdVersionString()) == 0); return gdNumFailures(); } libgd-2.3.0/tests/gd/bug00383.c0000664000175000017500000000126213635665516012614 00000000000000/** * Test that invalid transparent colors can't be read * * We're reading a corrupt palette image in GD format, which has only a single * palette entry, but claims that the transparent color would be 1. We check * that the transparency is simply ignored in this case. * * See also */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gd", "bug00383.gd"); gdTestAssert(fp != NULL); im = gdImageCreateFromGd(fp); gdTestAssert(im != NULL); fclose(fp); gdTestAssert(gdImageGetTransparent(im) == -1); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gd/gd_im2im.c0000664000175000017500000000241613634445460013123 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int r, g, b; void *p; int size = 0; int status = 0; CuTestImageResult result = {0, 0}; src = gdImageCreate(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } r = gdImageColorAllocate(src, 0xFF, 0, 0); g = gdImageColorAllocate(src, 0, 0xFF, 0); b = gdImageColorAllocate(src, 0, 0, 0xFF); gdImageFilledRectangle(src, 0, 0, 99, 99, r); gdImageRectangle(src, 20, 20, 79, 79, g); gdImageEllipse(src, 70, 25, 30, 20, b); #define OUTPUT_GD(x) do { \ FILE *fp = gdTestTempFp(); \ gdImageGd(x, fp); \ fclose(fp); \ } while (0) OUTPUT_GD(src); p = gdImageGdPtr(src, &size); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromGdPtr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } OUTPUT_GD(dst); gdTestImageDiff(src, dst, NULL, &result); if (result.pixels_changed > 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/gd/gd_num_colors.c0000664000175000017500000000036613634445460014270 00000000000000#include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("gd/crafted_num_colors.gd"); im = gdImageCreateFromGd(fp); fclose(fp); if (im) { gdImageDestroy(im); return 1; } return 0; } libgd-2.3.0/tests/gd/Makemodule.am0000664000175000017500000000036113635665516013676 00000000000000libgd_test_programs += \ gd/gd_versiontest if ENABLE_GD_FORMATS libgd_test_programs += \ gd/bug00383 \ gd/gd_null \ gd/gd_num_colors \ gd/gd_im2im endif EXTRA_DIST += \ gd/bug00383.gd \ gd/crafted_num_colors.gd \ gd/CMakeLists.txt libgd-2.3.0/tests/gd/CMakeLists.txt0000664000175000017500000000026013635665516014032 00000000000000LIST(APPEND TESTS_FILES gd_versiontest ) IF(ENABLE_GD_FORMATS) LIST(APPEND TESTS_FILES bug00383 gd_null gd_num_colors gd_im2im ) ENDIF(ENABLE_GD_FORMATS) ADD_GD_TESTS() libgd-2.3.0/tests/gd/crafted_num_colors.gd0000664000175000017500000000201713634445460015451 00000000000000ޭlibgd-2.3.0/tests/gdimagecolor/0000775000175000017500000000000013635665564013421 500000000000000libgd-2.3.0/tests/gdimagecolor/basic.png0000664000175000017500000000405413634445460015121 00000000000000PNG  IHDRK pHYs+IDATxQ0EIókB/۶~8~>O{+~_w5s[>4@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0czzv۶G=w3{Wg;u%0M `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 c~~'}ߓ3}g~}vf `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 85mXߞ}m=c @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0c :IENDB`libgd-2.3.0/tests/gdimagecolor/basic.c0000664000175000017500000000066013635665516014565 00000000000000/** * Basic test for gdImageColor() */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("gdimagecolor", "basic.png"); im = gdImageCreateFromPng(fp); fclose(fp); gdImageColor(im, 127, -127, -127, 0); path = gdTestFilePath2("gdimagecolor", "basic_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecolor/basic_exp.png0000664000175000017500000000413413634445460015774 00000000000000PNG  IHDRK pHYs+IDATxQNPEQ %ȴ2&*$)ބmu>0[.Vz: f.Ln\[Dl/7 m7}߯Fi%nmTu!9VnHI)h=MƐ) UOs*4 RV5$uY]mUTS販4Au Ke'5 5!a>fzCwwD9,Si7&IR{qY`2hL#Mg?k⢨%%  IY,R1VRqj:&ɐBY+5AH/3^{}44M)*o $e YcsJ$8V}Esv[ReWFb xMɕRJxfy>]eF\XJIDhCo1R GJyEmzȗ2#gd@ d$ p w"O w?n% y)#Cn۪TmM!m aY2yNKEؓ UjYx40Z i|:x \ZxfNPRiѧw6'%j O,Vxo$p׭KS\a5<F*)IB=) 4M)E 8rLQk9ls{3mmGuX|]:)Q0Bk! BB*,l3Uߧp)6,J}B:v;2s .6e!K)e!g)ҥ"l7= 8"k- %tB&oܓ}xOOnfE2 ŗg]%5ަWVO~ yw3մEe= 2BXfuM$UIE /Q@ҕfݰ[iZ+ `Q̒Si m7Z>nWwjU[?g!_2B癒w>n'O^_H>N!si*"Z/{OsUjs:7WN20,MYL]/[ݬ0މO=z> =0 bY"&HJzV""9,U?Έ[_]oW}?wͽ6!g[5}4}f6n\T3pRb}}O" $!39TJ*-|ΒI {GDP$n_>qO\BXH]mzυ1XY5ۋC$elY@y5s=1<۲&4Ea/BJQ,˫$ه9g!*sUU.RwVi-V]f_\Z)iLJMU9箯0X޻Ӯ>Gw[@/}c|uB`% A DJ9I0!IO H5SkP@I'٦%گ߼n{awې`PN{gWZEKRC̭(ҙgv9#"4B9"(mmA3C 1#R9xqrcH"1|0kW_^wW̳jrnZjA ްwNN' ?;1?,TBF)Xd)%"<3@̜8II G0:XKc޹QCBܴ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Fc  @G #0Fm Rkcb$6H5=Bַ.Ngxgq:)l*l*Fe"}G IENDB`libgd-2.3.0/tests/gdimageconvolution/basic.png0000664000175000017500000014044613634445460016370 00000000000000PNG  IHDRL\ pHYs   IDATx*Q"                                                   %         "70        3&:/          . "     >-    ߞ              ֮                                           r IDAT                                        "(                       "*            # #         +$         n?           󥨯         ۼ                                                                  |y^              ,RE$       7  +       z ޾טLti"            "3  ǣ7Y          &%*            + -)t IDAT   $'       !       )      Թ     \      '.(  ξ            &72             &/+"$          ! C]W       *     {xv  1JH           Zoj   ?B8Ϻ       ]hj!     :?;  #!         ]gc%)       5/)m   '        dto    ZMA   >FI&"       " 4&Tkd   9HNGM ᳫ        5R@ARM     /;;JQY               LUT?GD       #2: #           CZS7FJ     "##0.ʸж         !'-1        ;KIEKJ "    EUTEOP       4- 772# .'-   30, (16/5A> ((           %#1@EԻ     &&(72      1#% *    ,;80@=&#           N       ,   ,NPHCYT                 m&&         # %!                 o1 IDAT                  "                                                                          ##                                 "  )*                13                    %     .93    5??      7E>2<=      8NM       LM@R`j         R\]Ͽ247      dddBPS           !$                   ,       %%%       !                     ^QE               75-                     @T l IDAT   %$'                    &&(                *,>       ;@>      !-0/        &!          JG@         ?=:         J;/             RA4                       $                  N>.                           J90                         I8'           !   I6&                   M:(                      T@-             UA,                M:$                R>(                        Q?)                 O<&       14 IDAT                      P<#                                               #"                         !                   O;                           A:.                                               $                 $(+                                                           )!"         $$)$                    #($                                                                                              &vIDAT       4E厇IENDB`libgd-2.3.0/tests/gdimageconvolution/basic_mean_removal.png0000664000175000017500000013052313634445460021110 00000000000000PNG  IHDRL\ pHYs   IDATxg\ձ?s==ݓs$,! ac28c6}p_ 8Ad ,43{Btt9}]ǧګ֪]jkqGք%1qU_=>3jlZy꫗Ψ F3qn[sӗ:h)[s[c3;!SOBG{?͌mOqm=;)eF?ѡ9Mw5=ٿrK޽#cCw#=[o{{R1v3vw~Vso/>muUǦ.{|UT%._R-|$*yy!h-yqMSr%J'[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s P8zrrO4yVT`\HwN#=瞟Y*rBQz Fd$!PN g\9+{;#,̈́J^˞=wSmckM V=+TXNNBࠝ@CA߻znfoE~ӰȵJ/݃6SSn>!KI 4.:-xRX(#u%cX &8P,QfFj5RC"\vwE iE0#&'z}TbrD6}mK7'%̘kIxIENDB`libgd-2.3.0/tests/gdimageconvolution/basic.c0000664000175000017500000000207213635665516016025 00000000000000/** * Basic test for gdImageConvolution() and related functions */ #include "gd.h" #include "gdtest.h" static void test_convolution(void (*convolution_func)(gdImagePtr im), const char *expected) { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("gdimageconvolution", "basic.png"); im = gdImageCreateFromPng(fp); fclose(fp); convolution_func(im); path = gdTestFilePath2("gdimageconvolution", expected); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); } static void test_edge_detect_quick(gdImagePtr im) { gdImageEdgeDetectQuick(im); } static void test_smooth(gdImagePtr im) { gdImageSmooth(im, 5); } static void test_emboss(gdImagePtr im) { gdImageEmboss(im); } static void test_mean_removal(gdImagePtr im) { gdImageMeanRemoval(im); } int main() { test_convolution(&test_edge_detect_quick, "basic_edge_detect_quick.png"); test_convolution(&test_smooth, "basic_smooth.png"); test_convolution(&test_emboss, "basic_emboss.png"); test_convolution(&test_mean_removal, "basic_mean_removal.png"); return gdNumFailures(); } libgd-2.3.0/tests/gdimageconvolution/basic_smooth.png0000664000175000017500000006002313634445460017751 00000000000000PNG  IHDRL\ pHYs   IDATx\klq%wD9U\ ( )RɒFҒŞ5??ʿ?Z,i4c=8#Ww=Ɉy]E߮S{ؑӼ[ snYTz&!@86Mkѭ^g$=ܡeff2!;_{ff@ UkfƬZU23ꪊLI&$fihn"QT0̪tJ(H*WVJsHUT n$hY轧$7f./wZ̞E{wgZIXוI)UnhGecUD3UUK3IsR9h"IHYxfTBV ((3,QA4HHM24l|Jd]IQE1>ZsUgwf! 4KHfUHw3AחHU iN2 a3' B$if X*p`fIDq 5N5%mH "DHET*A%4w@D43YH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W|\'!4i[G j3k[wEo랮|<"\N<W&֕ߴ_0A!tIP.dkNȢ*] 7ޥ28ڭUIUS@USUgv=KeFK0uf~>;=$wqokk,  ~d$Fe(:Q6[K&dym 1whZJQ;œ~>7qBnyƶ!˵>NHTvsP0&`bn0ؠ6;%9[;^]GMf,PU2L~DZVIca߿l) 2dd$`ZǮnbjCoMG4l𪺅kWw=N?ÍNq轪L^Bpo}Dw i[KLՀ&uGE%ʇ>l?fUcsj4W ‘hchy䭖ߝ /a$MhU~ MA3sBW:lDQjiԖ47`mvWz]MaN+RTS`GpWjgwv_Y~@2qiJyʬzAg2𡠺qWgь.֍w_?va}ɚ* !5a/_s%i-o3{vpL̶RWS19+q'1JD`f/ڴyFlta6\;G^#z?k yU~:&V^f(y)mP ~؄&ʷd }|O>p=PD3sIENDB`libgd-2.3.0/tests/gdimageconvolution/bug00369.c0000664000175000017500000000101213635665516016114 00000000000000/** * Test Issue #369 for gdImageConvolution() */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; float matrix[3][3] = { {1, 0, 1}, {0, 5, 0}, {1, 0, 0} }; im = gdImageCreateTrueColor(40, 40); gdImageAlphaBlending(im, gdEffectReplace); gdImageFilledRectangle(im, 0, 0, 39, 39, 0x7FFFFFFF); gdImageFilledEllipse(im, 19, 19, 20, 20, 0x00FF00); gdImageConvolution(im, matrix, 9, 1); gdTestAssert(0x7F010101 == gdImageGetPixel(im, 0, 0)); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimageconvolution/basic_edge_detect_quick.png0000664000175000017500000012351013634445460022071 00000000000000PNG  IHDRL\ pHYs   IDATx$]]^:ugvvU!@ S( LIH(&!`Z,ABew6]Å~{~nnmpxwGKmcr簺36G@t|ps#K+ No^ ~vqϝŇw>]Xz0v[ͅ-1͛w=٣]xs=k_k䡇{~{S/G_}yڕ=%.m?r-\ZkNmm{# ǖ'&V4DiFCJ8"ihJp _WNmHand~/Tۻ鳗Gݕ??/_6qYpG?˯9Q;O?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 ҆TtR!.,8.p6^/Hn2J v uMt;zIX0 ՜*,v!C:LTCIږ(iqNSlj{B߹38#o9G 0/,n"ͥuz"0Veʖ]udk4d2Zտv/Tҁ * #Aݐ0 0QB4@65vDֶ%͢0' IW0O$*P8PM{+u}\@8;@={?`" X0x6)zIENDB`libgd-2.3.0/tests/gdimageconvolution/Makemodule.am0000664000175000017500000000060013635665516017175 00000000000000libgd_test_programs += \ gdimageconvolution/bug00369 if HAVE_LIBPNG libgd_test_programs += \ gdimageconvolution/basic endif EXTRA_DIST += \ gdimageconvolution/CMakeLists.txt \ gdimageconvolution/basic.png \ gdimageconvolution/basic_edge_detect_quick.png \ gdimageconvolution/basic_emboss.png \ gdimageconvolution/basic_mean_removal.png \ gdimageconvolution/basic_smooth.png libgd-2.3.0/tests/gdimageconvolution/CMakeLists.txt0000664000175000017500000000016313635665516017337 00000000000000LIST(APPEND TESTS_FILES bug00369) IF(PNG_FOUND) LIST(APPEND TESTS_FILES basic ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdtransformaffineboundingbox/0000775000175000017500000000000013635665565016724 500000000000000libgd-2.3.0/tests/gdtransformaffineboundingbox/Makemodule.am0000664000175000017500000000020613634445460021231 00000000000000libgd_test_programs += \ gdtransformaffineboundingbox/github_bug_00221 EXTRA_DIST += \ gdtransformaffineboundingbox/CMakeLists.txt libgd-2.3.0/tests/gdtransformaffineboundingbox/CMakeLists.txt0000664000175000017500000000007413634445460021372 00000000000000LIST(APPEND TESTS_FILES github_bug_00221 ) ADD_GD_TESTS() libgd-2.3.0/tests/gdtransformaffineboundingbox/github_bug_00221.c0000664000175000017500000000107113635665516021646 00000000000000#include #include #include "gd.h" #include "gdtest.h" int main() { gdRect bbox; gdRect area; double affine[6]; affine[0] = -0.965926; affine[1] = -0.258819; affine[2] = 0.258819; affine[3] = -0.965926; affine[4] = 0.000000; affine[5] = 0.000000; area.x = 0; area.y = 0; area.width = 262; area.height = 166; if (gdTransformAffineBoundingBox(&area, affine, &bbox) != GD_TRUE) { return 1; } if (!(bbox.x ==-253 && bbox.y ==-228 && bbox.width == 297 && bbox.height == 229)) { return 1; } return 0; } libgd-2.3.0/tests/gdimagesquaretocircle/0000775000175000017500000000000013635665565015331 500000000000000libgd-2.3.0/tests/gdimagesquaretocircle/gdimagesquaretocircle_exp.png0000664000175000017500000000260613635665516023176 00000000000000PNG  IHDRL\ pHYs+8IDATxAV c;sE< x^xxjA,L t8~!IQ}TRR32SaHZp.r}p1FkMA9SB)eɐcQJQ*7Upb۔5UP焩ɑv3T0RQ*1:~:簳ێFv{Ž}LS KE_gI@JA $h)Io%b>fD@'T#;tG_' ۍH'#fG+>>>6JW)<@zF{vOOO `)&uc]m^./ uʔW]i Zt72n_pi;.wvgz듀j,JdZ'wjHRz8ny7JzhG16~X~D`y)FNFZϲ !G=~?}mi+47aρM.kC{YpHa0 m9f` yhꖁSD"0_]@Nqo wڊf@4]}_8"f@uG"sbw ]ו^;h"1@@@>1`]L tHI=_=r_)Ĉx{}dNx w'0M>S\a^ypd0X@ BYzr֐`^cXkA^#r݈u]׶-7*2 4VwR $\cEfQ;4#' f3!WAz)Ad񂅣°9=#P9an% }33"V J&OIHG܋H:b/4A)|$MT-;H*qSMolDUДլtW:FA,QdՕd]4-%/=%?xDG/ t2$?X_uo9i&'b _êM'rg6?o44 p{fY#IȷZ;dAM|}}*bDYw,D5`Bcsd1l , hWM4'_dyࠬ<)<wS.wjYYrW!)[v/K;bj;4sv*pw*u<' I1L^ꀕLRnC õa^ q! .ߞ3]TWv'oy E q^`IENDB`libgd-2.3.0/tests/gdimagesquaretocircle/gdimagesquaretocircle.c0000664000175000017500000000145313635665516021757 00000000000000/** * Basic test for gdImageSquareToCircle() */ #include "gd.h" #include "gdfx.h" #include "gdtest.h" int main() { gdImagePtr im1, im2; int white; int black; im1 = gdImageCreateTrueColor(128, 128); white = gdImageColorAllocate(im1, 255, 255, 255); black = gdImageColorAllocate(im1, 0, 0, 0); gdImageFilledRectangle(im1, 0, 0, 127, 127, white); /* Draw a cross line in the middle of im1 */ /* The horizonal line will become a circle in im2 */ /* The vertical line will become a horizonal with half len in im2 */ gdImageLine(im1, 0, 63, 127, 63, black); gdImageLine(im1, 63, 0, 63, 127, black); im2 = gdImageSquareToCircle(im1, 64); gdAssertImageEqualsToFile("gdimagesquaretocircle/gdimagesquaretocircle_exp.png", im2); gdImageDestroy(im1); gdImageDestroy(im2); return gdNumFailures(); } libgd-2.3.0/tests/gdimagesquaretocircle/Makemodule.am0000664000175000017500000000026413635665516017651 00000000000000libgd_test_programs += \ gdimagesquaretocircle/gdimagesquaretocircle EXTRA_DIST += \ gdimagesquaretocircle/CMakeLists.txt \ gdimagesquaretocircle/gdimagesquaretocircle_exp.png libgd-2.3.0/tests/gdimagesquaretocircle/CMakeLists.txt0000664000175000017500000000014013635665516020000 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagesquaretocircle ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagefilltoborder/0000775000175000017500000000000013635665565014773 500000000000000libgd-2.3.0/tests/gdimagefilltoborder/bug00037.c0000664000175000017500000000107213635665516016222 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int bordercolor, color; im = gdImageCreateTrueColor(100, 100); gdImageAlphaBlending(im, 1); gdImageSaveAlpha(im, 1); bordercolor = gdImageColorAllocateAlpha(im, 0, 0, 0, 2); color = gdImageColorAllocateAlpha(im, 0, 0, 0, 1); gdImageFillToBorder(im, 5, 5, bordercolor, color); color = gdImageGetPixel(im, 5, 5); gdImageDestroy(im); if (gdTestAssert(color==0x1000000)) { return 0; } else { gdTestErrorMsg("c: %X, expected %X\n", color, 0x1000000); return -1; } } libgd-2.3.0/tests/gdimagefilltoborder/github_bug_215.c0000664000175000017500000000105413634445460017552 00000000000000#include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int color, border; im = gdImageCreate(50, 50); gdImageColorAllocate(im, 255, 0, 0); color = gdImageColorAllocate(im, 255, 0, 0); border = gdImageColorAllocate(im, 255, 0, 0); gdImageFillToBorder(im, 0, 0, border + 10, color); gdImageFillToBorder(im, 0, 0, -border, color); gdImageFillToBorder(im, 0, 0, border, color + 10); gdImageFillToBorder(im, 0, 0, border, -color); gdImageFillToBorder(im, 0, 0, border + 10, color + 10); gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gdimagefilltoborder/Makemodule.am0000664000175000017500000000022213635665516017305 00000000000000libgd_test_programs += \ gdimagefilltoborder/bug00037 \ gdimagefilltoborder/github_bug_215 EXTRA_DIST += \ gdimagefilltoborder/CMakeLists.txt libgd-2.3.0/tests/gdimagefilltoborder/CMakeLists.txt0000664000175000017500000000010413635665516017442 00000000000000LIST(APPEND TESTS_FILES bug00037 github_bug_215 ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecolortransparent/0000775000175000017500000000000013635665564015703 500000000000000libgd-2.3.0/tests/gdimagecolortransparent/gdimagecolortransparent.c0000664000175000017500000000056613634445460022702 00000000000000#include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im; int error = 0, pos; pos = gdMaxColors; im = gdImageCreate(1,1); gdImageColorTransparent(im, pos); if(im->transparent == pos) { error = -1; } pos = -2; gdImageColorTransparent(im, pos); if(im->transparent == pos) { error = -1; } gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagecolortransparent/Makemodule.am0000664000175000017500000000020313634445460020206 00000000000000libgd_test_programs += \ gdimagecolortransparent/gdimagecolortransparent EXTRA_DIST += \ gdimagecolortransparent/CMakeLists.txt libgd-2.3.0/tests/gdimagecolortransparent/CMakeLists.txt0000664000175000017500000000010313634445460020343 00000000000000LIST(APPEND TESTS_FILES gdimagecolortransparent ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimageopenpolygon/0000775000175000017500000000000013635665565014655 500000000000000libgd-2.3.0/tests/gdimageopenpolygon/gdimageopenpolygon1.c0000664000175000017500000000133113634445460020674 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; gdImageOpenPolygon(im, points, 1, black); r = gdAssertImageEqualsToFile("gdimageopenpolygon/gdimageopenpolygon1.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimageopenpolygon/gdimageopenpolygon0.png0000664000175000017500000000013713634445460021240 00000000000000PNG  IHDRddJ,PLTEU~IDAT8c``Q@Ox^IENDB`libgd-2.3.0/tests/gdimageopenpolygon/gdimageopenpolygon3.c0000664000175000017500000000144513634445460020704 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; points[1].x = 50; points[1].y = 70; points[2].x = 90; points[2].y = 30; gdImageOpenPolygon(im, points, 3, black); r = gdAssertImageEqualsToFile("gdimageopenpolygon/gdimageopenpolygon3.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimageopenpolygon/gdimageopenpolygon2.png0000664000175000017500000000021413634445460021236 00000000000000PNG  IHDRddJ,PLTEU~AIDAT8Ρ  PZJGfޜFܺ)hh(tA\\CIũy,IENDB`libgd-2.3.0/tests/gdimageopenpolygon/gdimageopenpolygon1.png0000664000175000017500000000013713634445460021241 00000000000000PNG  IHDRddJ,PLTEU~IDAT8c``Q@Ox^IENDB`libgd-2.3.0/tests/gdimageopenpolygon/gdimageopenpolygon3.png0000664000175000017500000000035513634445460021245 00000000000000PNG  IHDRddJ,PLTEU~IDAT81!  rAWIyx$q銸As2잽"O*H 'd Fp@FKX=7=,:ò >;hljQn=:ruɑ2 XbǺ"P+}a.ޠ  #include "gd.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); gdImageOpenPolygon(im, NULL, 0, black); /* no effect */ gdImageOpenPolygon(im, NULL, -1, black); /* no effect */ r = gdAssertImageEqualsToFile("gdimageopenpolygon/gdimageopenpolygon0.png", im); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimageopenpolygon/CMakeLists.txt0000664000175000017500000000023513634445460017322 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimageopenpolygon0 gdimageopenpolygon1 gdimageopenpolygon2 gdimageopenpolygon3 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimageopenpolygon/gdimageopenpolygon2.c0000664000175000017500000000137713634445460020707 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; points[1].x = 50; points[1].y = 70; gdImageOpenPolygon(im, points, 2, black); r = gdAssertImageEqualsToFile("gdimageopenpolygon/gdimageopenpolygon2.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagecopyresized/0000775000175000017500000000000013635665564014643 500000000000000libgd-2.3.0/tests/gdimagecopyresized/gdimagecopyresized.c0000664000175000017500000000165613635665516020612 00000000000000/** * add test case for gdImageCopyResized */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src; gdImagePtr dst; gdImagePtr dst_tc; /* We prepare two image type: Palette and True Color */ /* src image is white, while dst and dst_tc is black */ src = gdImageCreate(64, 64); gdImageColorAllocate(src, 255, 255, 255); dst = gdImageCreate(128, 128); gdImageColorAllocate(dst, 0, 0, 0); dst_tc = gdImageCreateTrueColor(128, 128); /* Copy src to two image type separately */ /* We copy src to the center of dst and dst_tc */ gdImageCopyResized(dst, src, 32, 32, 0, 0, 64, 64, 64, 64); gdImageCopyResized(dst_tc, src, 32, 32, 0, 0, 64, 64, 64, 64); gdAssertImageEqualsToFile("gdimagecopyresized/gdimagecopyresized_exp.png", dst); gdAssertImageEqualsToFile("gdimagecopyresized/gdimagecopyresized_exp.png", dst_tc); gdImageDestroy(src); gdImageDestroy(dst); gdImageDestroy(dst_tc); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecopyresized/Makemodule.am0000664000175000017500000000027213635665516017163 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagecopyresized/gdimagecopyresized endif EXTRA_DIST += \ gdimagecopyresized/CMakeLists.txt \ gdimagecopyresized/gdimagecopyresized_exp.png libgd-2.3.0/tests/gdimagecopyresized/CMakeLists.txt0000664000175000017500000000013513635665516017317 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagecopyresized ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecopyresized/gdimagecopyresized_exp.png0000664000175000017500000000020113635665516022011 00000000000000PNG  IHDRPLTEٟ pHYs+!IDATHc` QX#1IENDB`libgd-2.3.0/tests/gdtest/0000775000175000017500000000000013635665565012260 500000000000000libgd-2.3.0/tests/gdtest/Makemodule.am0000664000175000017500000000017013634445460014565 00000000000000# Note: Library is declared in tests/Makefile.am as it's used by all the tests. EXTRA_DIST += \ gdtest/CMakeLists.txt libgd-2.3.0/tests/gdtest/CMakeLists.txt0000664000175000017500000000022013634445460014717 00000000000000add_definitions(-DGDTEST_TOP_DIR="${CMAKE_CURRENT_SOURCE_DIR}/..") add_library (gdTest STATIC gdtest.c) target_link_libraries(gdTest ${GD_LIB}) libgd-2.3.0/tests/gdtest/gdtest.c0000664000175000017500000003410613635665516013636 00000000000000#ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #ifdef HAVE_DIRENT_H #include #endif #ifdef HAVE_UNISTD_H #include #endif #ifdef HAVE_SYS_STAT_H #include #endif #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef _WIN32 #include "readdir.h" #include #endif /* GDTEST_TOP_DIR is defined in other compile ways except msys * test_config.h is created by windows/msys/run_test.sh*/ #ifndef GDTEST_TOP_DIR #include #endif #include "gd.h" #include "gdtest.h" /* max is already defined in windows/msvc */ #ifndef max static inline int max(int a, int b) {return a > b ? a : b;} #endif void gdSilence(int priority, const char *format, va_list args) { (void)priority; (void)format; (void)args; } gdImagePtr gdTestImageFromPng(const char *filename) { gdImagePtr image; FILE *fp; /* If the path is relative, then assume it's in the tests/ dir. */ if (filename[0] == '/' || filename[0] == '.' #ifdef _WIN32 || filename[1] == ':' #endif ) { fp = fopen(filename, "rb"); } else { fp = gdTestFileOpen(filename); } if (fp == NULL) { return NULL; } image = gdImageCreateFromPng(fp); fclose(fp); return image; } static char *tmpdir_base; /* This is kind of hacky, but it's meant to be simple. */ static void _clean_dir(const char *dir) { DIR *d; struct dirent *de; d = opendir(dir); if (d == NULL) return; if (chdir(dir) != 0) goto done; while ((de = readdir(d)) != NULL) { struct stat st; if (strcmp(de->d_name, ".") == 0 || strcmp(de->d_name, "..") == 0) continue; #ifdef _WIN32 { WIN32_FILE_ATTRIBUTE_DATA data; if (!GetFileAttributesEx(de->d_name, GetFileExInfoStandard, &data)) { continue; } if (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) { _clean_dir(de->d_name); } else { unlink(de->d_name); } } #else if (lstat(de->d_name, &st) != 0) continue; if (S_ISDIR(st.st_mode)) _clean_dir(de->d_name); else unlink(de->d_name); #endif } if (chdir("..")) { /* Ignore. */; } done: closedir(d); rmdir(dir); } static void tmpdir_cleanup(void) { _clean_dir(tmpdir_base); free(tmpdir_base); } #ifdef _WIN32 char* strrstr (char* haystack, char* needle) { int needle_length = strlen(needle); char * haystack_end = haystack + strlen(haystack) - needle_length; char * p; int i; for(p = haystack_end; p >= haystack; --p) { for(i = 0; i < needle_length; ++i) { if(p[i] != needle[i]) goto next; } return p; next:; } return 0; } typedef VOID (WINAPI *MyGetSystemTimeAsFileTime)(LPFILETIME lpSystemTimeAsFileTime); static MyGetSystemTimeAsFileTime get_time_func(void) { MyGetSystemTimeAsFileTime timefunc = NULL; HMODULE hMod = GetModuleHandle("kernel32.dll"); if (hMod) { /* Max possible resolution <1us, win8/server2012 */ timefunc = (MyGetSystemTimeAsFileTime)GetProcAddress(hMod, "GetSystemTimePreciseAsFileTime"); if(!timefunc) { /* 100ns blocks since 01-Jan-1641 */ timefunc = (MyGetSystemTimeAsFileTime)GetProcAddress(hMod, "GetSystemTimeAsFileTime"); } } return timefunc; } static MyGetSystemTimeAsFileTime timefunc = NULL; static int getfilesystemtime(struct timeval *tv) { FILETIME ft; unsigned __int64 ff = 0; ULARGE_INTEGER fft; if (timefunc == NULL) { timefunc = get_time_func(); } timefunc(&ft); /* * Do not cast a pointer to a FILETIME structure to either a * ULARGE_INTEGER* or __int64* value because it can cause alignment faults on 64-bit Windows. * via http://technet.microsoft.com/en-us/library/ms724284(v=vs.85).aspx */ fft.HighPart = ft.dwHighDateTime; fft.LowPart = ft.dwLowDateTime; ff = fft.QuadPart; ff /= 10ULL; /* convert to microseconds */ ff -= 11644473600000000ULL; /* convert to unix epoch */ tv->tv_sec = (long)(ff / 1000000ULL); tv->tv_usec = (long)(ff % 1000000ULL); return 0; } static char * mkdtemp (char *tmpl) { static const char letters[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; static const int NLETTERS = sizeof (letters) - 1; static int counter = 0; char *XXXXXX; struct timeval tv; __int64 value; int count; /* find the last occurrence of "XXXXXX" */ XXXXXX = strrstr(tmpl, "XXXXXX"); if (!XXXXXX || strncmp (XXXXXX, "XXXXXX", 6)) { errno = EINVAL; return NULL; } /* Get some more or less random data. */ getfilesystemtime(&tv); value = (tv.tv_usec ^ tv.tv_sec) + counter++; for (count = 0; count < 100; value += 7777, ++count) { __int64 v = value; /* Fill in the random bits. */ XXXXXX[0] = letters[v % NLETTERS]; v /= NLETTERS; XXXXXX[1] = letters[v % NLETTERS]; v /= NLETTERS; XXXXXX[2] = letters[v % NLETTERS]; v /= NLETTERS; XXXXXX[3] = letters[v % NLETTERS]; v /= NLETTERS; XXXXXX[4] = letters[v % NLETTERS]; v /= NLETTERS; XXXXXX[5] = letters[v % NLETTERS]; /* tmpl is in UTF-8 on Windows, thus use g_mkdir() */ if (mkdir(tmpl) == 0) { return tmpl; } printf("failed to create directory\n"); if (errno != EEXIST) /* Any other error will apply also to other names we might * try, and there are 2^32 or so of them, so give up now. */ return NULL; } /* We got out of the loop because we ran out of combinations to try. */ errno = EEXIST; return NULL; } #endif const char *gdTestTempDir(void) { if (tmpdir_base == NULL) { char *tmpdir; #ifdef _WIN32 char tmpdir_root[MAX_PATH]; size_t tmpdir_root_len = GetTempPath(MAX_PATH, tmpdir_root); gdTestAssert(!(tmpdir_root_len > MAX_PATH || (tmpdir_root_len == 0))); gdTestAssert((tmpdir_root_len + 30 < MAX_PATH)); #else char *tmpdir_root; tmpdir_root = getenv("TMPDIR"); if (tmpdir_root == NULL) tmpdir_root = "/tmp"; #endif /* The constant here is a lazy over-estimate. */ tmpdir = malloc(strlen(tmpdir_root) + 30); gdTestAssert(tmpdir != NULL); #ifdef _WIN32 sprintf(tmpdir, "%sgdtest.XXXXXX", tmpdir_root); #else sprintf(tmpdir, "%s/gdtest.XXXXXX", tmpdir_root); #endif tmpdir_base = mkdtemp(tmpdir); gdTestAssert(tmpdir_base != NULL); atexit(tmpdir_cleanup); } return tmpdir_base; } char *gdTestTempFile(const char *template) { const char *tempdir = gdTestTempDir(); char *ret; #ifdef _WIN32 { char *tmpfilename; UINT error; ret = malloc(MAX_PATH); gdTestAssert(ret != NULL); if (template == NULL) { error = GetTempFileName(tempdir, "gdtest", 0, ret); gdTestAssert(error != 0); } else { sprintf(ret, "%s\\%s", tempdir, template); } } #else if (template == NULL) { template = "gdtemp.XXXXXX"; } ret = malloc(strlen(tempdir) + 10 + strlen(template)); gdTestAssert(ret != NULL); sprintf(ret, "%s/%s", tempdir, template); if (strstr(template, "XXXXXX") != NULL) { int fd = mkstemp(ret); gdTestAssert(fd != -1); close(fd); } #endif return ret; } FILE *gdTestTempFp(void) { char *file = gdTestTempFile(NULL); FILE *fp = fopen(file, "wb"); gdTestAssert(fp != NULL); free(file); return fp; } char *gdTestFilePathV(const char *path, va_list args) { size_t len; const char *p; char *file; va_list args_len; /* Figure out how much space we need. */ va_copy(args_len, args); len = strlen(GDTEST_TOP_DIR) + 1; p = path; do { len += strlen(p) + 1; } while ((p = va_arg(args_len, const char *)) != NULL); va_end(args_len); /* Now build the path. */ file = malloc(len); gdTestAssert(file != NULL); strcpy(file, GDTEST_TOP_DIR); p = path; do { #ifdef _WIN32 strcat(file, "\\"); #else strcat(file, "/"); #endif strcat(file, p); } while ((p = va_arg(args, const char *)) != NULL); va_end(args); return file; } char *gdTestFilePathX(const char *path, ...) { va_list args; va_start(args, path); return gdTestFilePathV(path, args); } FILE *gdTestFileOpenX(const char *path, ...) { va_list args; FILE *fp; char *file; va_start(args, path); file = gdTestFilePathV(path, args); fp = fopen(file, "rb"); gdTestAssert(fp != NULL); free(file); return fp; } /* Compare two buffers, returning the number of pixels that are * different and the maximum difference of any single color channel in * result_ret. * * This function should be rewritten to compare all formats supported by * cairo_format_t instead of taking a mask as a parameter. */ void gdTestImageDiff(gdImagePtr buf_a, gdImagePtr buf_b, gdImagePtr buf_diff, CuTestImageResult *result_ret) { int x, y; int c1, c2; # define UP_DIFF(var) result_ret->max_diff = max((var), result_ret->max_diff) for (y = 0; y < gdImageSY(buf_a); y++) { for (x = 0; x < gdImageSX(buf_a); x++) { c1 = gdImageGetTrueColorPixel(buf_a, x, y); c2 = gdImageGetTrueColorPixel(buf_b, x, y); /* check if the pixels are the same */ if (c1 != c2) { int r1,b1,g1,a1,r2,b2,g2,a2; unsigned int diff_a,diff_r,diff_g,diff_b; a1 = gdTrueColorGetAlpha(c1); a2 = gdTrueColorGetAlpha(c2); diff_a = abs (a1 - a2); diff_a *= 4; /* emphasize */ if (diff_a) { diff_a += 128; /* make sure it's visible */ } if (diff_a > gdAlphaMax) { diff_a = gdAlphaMax/2; } r1 = gdTrueColorGetRed(c1); r2 = gdTrueColorGetRed(c2); diff_r = abs (r1 - r2); // diff_r *= 4; /* emphasize */ if (diff_r) { diff_r += gdRedMax/2; /* make sure it's visible */ } if (diff_r > 255) { diff_r = 255; } UP_DIFF(diff_r); g1 = gdTrueColorGetGreen(c1); g2 = gdTrueColorGetGreen(c2); diff_g = abs (g1 - g2); diff_g *= 4; /* emphasize */ if (diff_g) { diff_g += gdGreenMax/2; /* make sure it's visible */ } if (diff_g > 255) { diff_g = 255; } UP_DIFF(diff_g); b1 = gdTrueColorGetBlue(c1); b2 = gdTrueColorGetBlue(c2); diff_b = abs (b1 - b2); diff_b *= 4; /* emphasize */ if (diff_b) { diff_b += gdBlueMax/2; /* make sure it's visible */ } if (diff_b > 255) { diff_b = 255; } UP_DIFF(diff_b); result_ret->pixels_changed++; if (buf_diff) gdImageSetPixel(buf_diff, x,y, gdTrueColorAlpha(diff_r, diff_g, diff_b, diff_a)); } else { if (buf_diff) gdImageSetPixel(buf_diff, x,y, gdTrueColorAlpha(255,255,255,0)); } } } # undef UP_DIFF } /* Return the largest difference between two corresponding pixels and * channels. */ unsigned int gdMaxPixelDiff(gdImagePtr a, gdImagePtr b) { int diff = 0; int x, y; if (a == NULL || b == NULL || a->sx != b->sx || a->sy != b->sy) return UINT_MAX; for (x = 0; x < a->sx; x++) { for (y = 0; y < a->sy; y++) { int c1, c2; c1 = gdImageGetTrueColorPixel(a, x, y); c2 = gdImageGetTrueColorPixel(b, x, y); if (c1 == c2) continue; diff = max(diff, abs(gdTrueColorGetAlpha(c1) - gdTrueColorGetAlpha(c2))); diff = max(diff, abs(gdTrueColorGetRed(c1) - gdTrueColorGetRed(c2))); diff = max(diff, abs(gdTrueColorGetGreen(c1) - gdTrueColorGetGreen(c2))); diff = max(diff, abs(gdTrueColorGetBlue(c1) - gdTrueColorGetBlue(c2))); }/* for */ }/* for */ return diff; } int gdTestImageCompareToImage(const char* file, unsigned int line, const char* message, gdImagePtr expected, gdImagePtr actual) { unsigned int width_a, height_a; unsigned int width_b, height_b; gdImagePtr surface_diff = NULL; CuTestImageResult result = {0, 0}; (void)message; if (!actual) { _gdTestErrorMsg(file, line, "Image is NULL\n"); goto fail; } width_a = gdImageSX(expected); height_a = gdImageSY(expected); width_b = gdImageSX(actual); height_b = gdImageSY(actual); if (width_a != width_b || height_a != height_b) { _gdTestErrorMsg(file, line, "Image size mismatch: (%ux%u) vs. (%ux%u)\n for %s vs. buffer\n", width_a, height_a, width_b, height_b, file); goto fail; } surface_diff = gdImageCreateTrueColor(width_a, height_a); gdTestImageDiff(expected, actual, surface_diff, &result); if (result.pixels_changed>0) { char file_diff[255]; char file_out[1024]; FILE *fp; int len, p; _gdTestErrorMsg(file, line, "Total pixels changed: %d with a maximum channel difference of %d.\n", result.pixels_changed, result.max_diff ); p = len = strlen(file); p--; /* Use only the filename (and store it in the bld dir not the src dir */ while(p > 0 && (file[p] != '/' && file[p] != '\\')) { p--; } sprintf(file_diff, "%s_%u_diff.png", file + p + 1, line); sprintf(file_out, "%s_%u_out.png", file + p + 1, line); fp = fopen(file_diff, "wb"); if (!fp) goto fail; gdImagePng(surface_diff,fp); fclose(fp); gdImageDestroy(surface_diff); fp = fopen(file_out, "wb"); if (!fp) goto fail; gdImagePng(actual, fp); fclose(fp); return 0; } else { if (surface_diff) { gdImageDestroy(surface_diff); } return 1; } fail: if (surface_diff) { gdImageDestroy(surface_diff); } return 1; } int gdTestImageCompareToFile(const char* file, unsigned int line, const char* message, const char *expected_file, gdImagePtr actual) { gdImagePtr expected = 0; int res = 1; expected = gdTestImageFromPng(expected_file); if (!expected) { _gdTestErrorMsg(file, line, "Cannot open PNG <%s>\n", expected_file); res = 0; } else { res = gdTestImageCompareToImage(file, line, message, expected, actual); gdImageDestroy(expected); } return res; } static int failureCount = 0; int gdNumFailures() { return failureCount; } int _gdTestAssert(const char* file, unsigned int line, int condition) { if (condition) return 1; _gdTestErrorMsg(file, line, "Assert failed in <%s:%i>\n", file, line); ++failureCount; return 0; } int _gdTestAssertMsg(const char* file, unsigned int line, int condition, const char* message, ...) { va_list args; if (condition) return 1; fprintf(stderr, "%s:%u: ", file, line); va_start(args, message); vfprintf(stderr, message, args); va_end(args); fflush(stderr); ++failureCount; return 0; } int _gdTestErrorMsg(const char* file, unsigned int line, const char* format, ...) /* {{{ */ { va_list args; fprintf(stderr, "%s:%u: ", file, line); va_start(args, format); vfprintf(stderr, format, args); va_end(args); fflush(stderr); ++failureCount; return 0; } /* }}} */ libgd-2.3.0/tests/gdtest/gdtest.h0000664000175000017500000000552413635665516013645 00000000000000#ifndef GD_TEST_H #define GD_TEST_H #include typedef struct CuTestImageResult CuTestImageResult; struct CuTestImageResult { unsigned int pixels_changed; unsigned int max_diff; }; /* Internal versions of assert functions -- use the public versions */ gdImagePtr gdTestImageFromPng(const char *filename); /* Return a path to a writable temp dir. The common test code will make sure * it's cleaned up when the test exits. Feel free to write whatever in here. */ const char *gdTestTempDir(void); /* Return a path to a writable file inside of the tempdir (see above). * You should free the pointer when you're done. * If |template| is NULL, you'll get a random file name, otherwise you'll get * that under the tempdir. */ char *gdTestTempFile(const char *template); /* Return an open (writable) file handle to a temp file. */ FILE *gdTestTempFp(void); /* Return the full path to a test file. The path should be relative * to the tests/ dir. The caller should free the pointer when finished. */ char *gdTestFilePathV(const char *path, va_list args); char *gdTestFilePathX(const char *path, ...); #define gdTestFilePath(p) gdTestFilePathX(p, NULL) #define gdTestFilePath2(p1, p2) gdTestFilePathX(p1, p2, NULL) /* Return an open (read-only) file handle to a test file. * The path should be relative to the tests/ dir. */ FILE *gdTestFileOpenX(const char *path, ...); #define gdTestFileOpen(p) gdTestFileOpenX(p, NULL) #define gdTestFileOpen2(p1, p2) gdTestFileOpenX(p1, p2, NULL) void gdTestImageDiff(gdImagePtr buf_a, gdImagePtr buf_b, gdImagePtr buf_diff, CuTestImageResult *result_ret); int gdTestImageCompareToImage(const char* file, unsigned int line, const char* message, gdImagePtr expected, gdImagePtr actual); int gdTestImageCompareToFile(const char* file, unsigned int line, const char* message, const char *expected_file, gdImagePtr actual); unsigned int gdMaxPixelDiff(gdImagePtr a, gdImagePtr b); int _gdTestAssert(const char* file, unsigned int line, int condition); int _gdTestAssertMsg(const char* file, unsigned int line, int condition, const char* message, ...); int _gdTestErrorMsg(const char* file, unsigned int line, const char* string, ...); /* public assert functions */ #define gdAssertImageEqualsToFile(ex,ac) gdTestImageCompareToFile(__FILE__,__LINE__,NULL,(ex),(ac)) #define gdAssertImageEquals(ex,ac) gdTestImageCompareToImage(__FILE__,__LINE__,NULL,(ex),(ac)) #define gdTestAssert(cond) _gdTestAssert(__FILE__, __LINE__, (cond)) #define gdTestAssertMsg(cond, message, ...) _gdTestAssertMsg(__FILE__, __LINE__, (cond), (message), ## __VA_ARGS__) #define gdTestErrorMsg(...) _gdTestErrorMsg(__FILE__, __LINE__, __VA_ARGS__) void gdSilence(int priority, const char *format, va_list args); int gdNumFailures(void); #endif /* GD_TEST_H */ libgd-2.3.0/tests/gdimagecrop/0000775000175000017500000000000013635665564013246 500000000000000libgd-2.3.0/tests/gdimagecrop/bug00297.c0000664000175000017500000000103013634445460014471 00000000000000/** * Regression test for . * * We're testing that the result of gdImageCrop() is a palette image, * if the source was also a palette image. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; gdRect rect = {0, 0, 8, 8}; src = gdImageCreate(8, 8); dst = gdImageCrop(src, &rect); gdTestAssert(!gdImageTrueColor(src)); gdTestAssert(!gdImageTrueColor(dst)); gdImageDestroy(dst); gdImageDestroy(src); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecrop/bug00485_auto.c0000664000175000017500000000321713635665516015540 00000000000000/** * Test that gdImageCropAuto() works pixel precise * * We test that a single black pixel anywhere (but the corners) on an 8x8 pixel * image with a white background is auto-cropped to a 1x1 pixel image with a * black pixel. * * See */ #include "gd.h" #include "gdtest.h" gdImagePtr createWhiteImageWithBlackPixelAt(int x, int y) { gdImagePtr im = gdImageCreateTrueColor(8, 8); gdImageFilledRectangle(im, 0, 0, 7, 7, 0xffffff); gdImageSetPixel(im, x, y, 0x000000); return im; } int main() { int x, y, height, width, color; gdImagePtr orig, cropped; for (y = 0; y < 8; y++) { for (x = 0; x < 8; x++) { if ((x == 0 && (y == 0 || y == 7)) || (x == 7 && (y == 0 || y == 7))) { continue; // skip the corners } orig = createWhiteImageWithBlackPixelAt(x, y); cropped = gdImageCropAuto(orig, GD_CROP_SIDES); gdTestAssertMsg(cropped != NULL, "Pixel at %d, %d: unexpected NULL crop\n", x, y); if (cropped) { width = gdImageSX(cropped); gdTestAssertMsg(width == 1, "Pixel at %d, %d: unexpected width (%d)\n", x, y, width); height = gdImageSY(cropped); gdTestAssertMsg(height == 1, "Pixel at %d, %d: unexpected height (%d)\n", x, y, height); color = gdImageGetPixel(cropped, 0, 0); gdTestAssertMsg(color == 0x000000, "Pixel at %d, %d: unexpected color (%d)\n", x, y, color); gdImageDestroy(cropped); } gdImageDestroy(orig); } } return gdNumFailures(); } libgd-2.3.0/tests/gdimagecrop/bug00486.c0000664000175000017500000000300213635665516014501 00000000000000/** * Test that gdImageCropAuto() crops left and right as well * * We test that an image with four unicolored quadrants, where either both left * quadrants or both right quadrants have the same color, but the remaining * quadrants have different colors, are treated identically by * gdImageCropAuto(…, GD_CROP_SIDES). * * See */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr orig, croppedLeft, croppedRight; int red, green, blue; orig = gdImageCreateTrueColor(8, 8); red = gdImageColorAllocate(orig, 255, 0, 0); green = gdImageColorAllocate(orig, 0, 255, 0); blue = gdImageColorAllocate(orig, 0, 0, 255); gdImageFilledRectangle(orig, 0, 0, 3, 3, green); // tl gdImageFilledRectangle(orig, 4, 0, 7, 3, red); // tr gdImageFilledRectangle(orig, 0, 4, 3, 7, green); // bl gdImageFilledRectangle(orig, 4, 4, 7, 7, blue); // br croppedLeft = gdImageCropAuto(orig, GD_CROP_SIDES); gdTestAssert(croppedLeft != NULL); gdImageFilledRectangle(orig, 0, 0, 3, 3, red); // tl gdImageFilledRectangle(orig, 4, 0, 7, 3, green); // tr gdImageFilledRectangle(orig, 0, 4, 3, 7, blue); // bl gdImageFilledRectangle(orig, 4, 4, 7, 7, green); // br croppedRight = gdImageCropAuto(orig, GD_CROP_SIDES); gdTestAssert(croppedRight != NULL); gdAssertImageEquals(croppedRight, croppedLeft); gdImageDestroy(orig); gdImageDestroy(croppedLeft); gdImageDestroy(croppedRight); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecrop/php_bug_72494.c0000664000175000017500000000054413634445460015520 00000000000000#include #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; im = gdImageCreate(50, 50); if (!im) { gdTestErrorMsg("gdImageCreate failed.\n"); return 1; } gdImageCropThreshold(im, 1337, 0); gdImageDestroy(im); /* this bug tests a crash, it never reaches this point if the bug exists*/ return 0; } libgd-2.3.0/tests/gdimagecrop/bug00485_threshold.c0000664000175000017500000000277113635665516016570 00000000000000/** * Test that gdImageCropThreshold() works pixel precise * * We test that a single black pixel anywhere on an 8x8 pixel image with a white * background is threshold-cropped to a 1x1 pixel image with a black pixel. * * See */ #include "gd.h" #include "gdtest.h" gdImagePtr createWhiteImageWithBlackPixelAt(int x, int y) { gdImagePtr im = gdImageCreateTrueColor(8, 8); gdImageFilledRectangle(im, 0, 0, 7, 7, 0xffffff); gdImageSetPixel(im, x, y, 0x000000); return im; } int main() { int x, y, height, width, color; gdImagePtr orig, cropped; for (y = 0; y < 8; y++) { for (x = 0; x < 8; x++) { orig = createWhiteImageWithBlackPixelAt(x, y); cropped = gdImageCropThreshold(orig, 0xffffff, 1.0); gdTestAssertMsg(cropped != NULL, "Pixel at %d, %d: unexpected NULL crop\n", x, y); if (cropped) { width = gdImageSX(cropped); gdTestAssertMsg(width == 1, "Pixel at %d, %d: unexpected width (%d)\n", x, y, width); height = gdImageSY(cropped); gdTestAssertMsg(height == 1, "Pixel at %d, %d: unexpected height (%d)\n", x, y, height); color = gdImageGetPixel(cropped, 0, 0); gdTestAssertMsg(color == 0x000000, "Pixel at %d, %d: unexpected color (%d)\n", x, y, color); gdImageDestroy(cropped); } gdImageDestroy(orig); } } return gdNumFailures(); } libgd-2.3.0/tests/gdimagecrop/Makemodule.am0000664000175000017500000000035013635665516015563 00000000000000libgd_test_programs += \ gdimagecrop/bug00297 \ gdimagecrop/bug00432 \ gdimagecrop/bug00485_auto \ gdimagecrop/bug00485_threshold \ gdimagecrop/bug00486 \ gdimagecrop/php_bug_72494 EXTRA_DIST += \ gdimagecrop/CMakeLists.txt libgd-2.3.0/tests/gdimagecrop/CMakeLists.txt0000664000175000017500000000017213635665516015723 00000000000000LIST(APPEND TESTS_FILES bug00297 bug00432 bug00485_auto bug00485_threshold php_bug_72494 bug00486 ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecrop/bug00432.c0000664000175000017500000000203713635665516014477 00000000000000/** * Test that gdImageCrop() retains transparency * * We create an image with transparent pixels, crop the image, and check whether * all pixels are identical to the respective source image. * * See */ #include "gd.h" #include "gdtest.h" #define WIDTH 10 #define HEIGHT 10 #define XOFF 1 #define YOFF 1 int main() { gdImagePtr src, dst; gdRect crop = {XOFF, YOFF, WIDTH-XOFF-1, HEIGHT-YOFF-1}; int i, j; src = gdImageCreateTrueColor(WIDTH, HEIGHT); gdImageAlphaBlending(src, gdEffectReplace); gdImageFilledRectangle(src, 0, 0, WIDTH-1, HEIGHT-1, gdTrueColorAlpha(gdRedMax, gdGreenMax, gdBlueMax, gdAlphaMax)); dst = gdImageCrop(src, &crop); gdTestAssert(dst != NULL); for (i = 0; i < gdImageSX(dst); i++) { for (j = 0; j < gdImageSY(dst); j++) { gdTestAssert(gdImageGetPixel(dst, i, j) == gdImageGetPixel(src, i+XOFF, j+YOFF)); } } gdImageDestroy(src); gdImageDestroy(dst); return gdNumFailures(); } libgd-2.3.0/tests/freetype/0000775000175000017500000000000013635665564012610 500000000000000libgd-2.3.0/tests/freetype/DejaVuSans.ttf0000664000175000017500000212726013634445460015252 000000000000000FFTMHd<GDEF%XPGPOSytGSUB2OS/2 PVcmap e6cvt i9fpgmq4vjgasp glyf)|**Dheadr6hhea $hmtx1m8Mrkern\$<loca;`Mmaxp j4 nameoMT=post_\prep;HhŽI55 N}~    +,,-/045ST_`                / 0 1 2 J K K L [ \ h i   45^  | DFLT>arabHarmnhcyrlrgrekhebrlao latnnko tfngKUR SND URD MKD SRB (ISM (KSM (LSM (NSM (SKS (SSM (kern2mark8markFmarkNmarkVmkmk\mkmkdmkmkj     (08@JRZbjrzn. & T/ 021335CrV0&:  VY^VY^ &,28>DJPV\bhntz::::r 4 4 `,TUWXZ[\]_,TUWXZ[\]_JPV\bhntz$ l N>X  &,lwfTftfn &,28l`l~l~l`l~l`L "FLRX^djpv| '''tt ;888 - T !    $*06<6 2flrx~ &,28>DJPV\bhntzhhh=DhhhDhh=DDhh  %)*+  %)4 &,28>DJPV\bhntz{{{{{{{{{{{{{{{{{{{{{{{{{{{{{ $6HZl~ cj cj cj cj c c cj cj VY^>DJPV\bhntz*  &,28>DJPV\bhntz "(.4:@FLRX^djpv| $*06<BHNTZ`flrx~ &,28>DJPV\bhntz "(.4:@FLRX^djpv|     $ * 0 6 < B H N T Z ` f l r x ~      & , 2 8 > D J P V \ b h n t z     " ( . 4 : @ F L R X ^ d j p v |     $ * 0 6 < B H N T Z ` f l r x ~      & , 2 8 > D J P V \ b h n t z  "(.4:@FLRX^djpv| $*06<BHNTZ`flrx~{U:t!N8'Qn ppjjj,v,,vjj  XXXXD[j[j, 8 8>>j pjjj^jj,,,,,,,     8 8 8 j j>>, ppjI^`k/#eYYYcP`{U:tii!NQnU!Q{++++++jj++jj++jj++ 8 8jj 8 8jj,,X X ,,XX,,X X ,,X X      j j,j,j j j,j,j>  ++pp++,,,, ,,,,,,,,,,2  pp++pp++jjjj++jj++,,XX,,XX,,XXjjjj    XXjjXXjjXX&j&jXX&j&j[j[jSjSj[j[jSjSjXX 8 8jjjj 8 8,j,j>>SS&j&j>++jjj  pp++j++ 8jjjj++^++j++,XX,XX,XX,X X   >SSp++ jIII^^^```kkk///###eeeYYYYYYYYY (0SnoBqDc zs~^ VY^BHNTZ`flrx~F 'PV\bhntz "(.4U0+0008q00800i00E0 0100000P=i0v00v00d000UU8000U    !%  04"0 $6HZl~ cr cr cr cr cr cr cr cr,TUWXZ[\]_RX^djpv|``& b lrx~ &,28>DJPV\bhntz "(.4:@FLRX^djpv| $*06<BHNTZ`flrx~ &,28>DJPV\bhntz "(.4:@FLRX^djpv|     $ * 0 6 < B H N T Z ` f l r x ~      & , 2 8 > D J P V \ b h n t z     " ( . 4 : @ F L R X ^ d j p v |     $ * 0 6 < B H N T Z ` f l r x ~      & , 2 8 > D J P V \ b h n t z R``S`4rrLRLX X X X [r[r~x,LLRLLRLxLLLxx4RI^`n#YYY`R``S`++++++LL++LL++++LL@LL@XXXXXXXXxxxxxx++XV++,,,:,,,,:,:,,,,,:,:LrrX+F+Frr++L&LRR++LL++XXXXX~X~X X X X RRX X & & X X &&[r[rSrSr[r[rSrSr~~x~x~LLFLRFSrSrR&R&R++R&RL XVX++++LLRL++R++++XXXxXxXxXxX~X~4S4S4++&RIII^^^```nnn###YYYYYYYYY  0Sno'q)Hfg$$h**i5zj4?QZ^[,TUWXZ[\]_rx~`{{{{{{{{` <BHNTZ`flrx~]xx@[")@>E"~~x2x::"> @FLRX^djpv|]kxyyyxyz[f"w)h>yEy`P["~[~t`Yxy2{`uxJJ::  28>DJPV\bhnttbbbbt`~~`~` T R  !" &,28>DJPD6L  $Js}- {{~ .^djpv| $*06<BHNTZ`flL/'s.}////////s}/////.$&(,268DFHLRVX-* R S  ^ F J &,28>DJPV\bhntz "(.4:@FLRX^djpv| $*06<BHNTZ`flrx~ &,28>DJPV\bhntz "(.4:@FLRX^djpv| $*06<BHNTZ`flrx~      & , 2 8 > D J P V \ b h n t z     " ( . 4 : @ F LL\/.Rs''}srJf;RRsRR%}^Gb`R////}}J////Rs}f7R/'z`RR///.RR'}r`RTTRTcRRJ@@RjRjRbRb}RRRRRRRR}R555RRaRt;Q'RRRRRRR}}^G^dRRR::R'aHRR_R:RGR R~RJ}'/'}'}^TTT@X}Tg^GX^//LBRRf,4$R'_zRf4L}`ReT^/'^<\R&Rx9\RH$= D]$>BCHIJKRT  UV--WEEXNNYTTZYY[aa\ll]vv^{{_`bf iJqLm??BBEE**--st  R S     " % % ( - 4 4 8 8 < = ? A C C E I L O 3 3 "-.p0CDEGHI  !" &,28>DJPl&  $*06<BHNTZ`fltz $*06<BJPV\bhntz "(.4:@FLRX^djpv| "(.4:@FLRX^djpv| $*06<BHNTZ`flrx~     " ( . 4 : @ F L R X ^ d j p v |     $ * 0 6 < B H N T Z ` f l r x ~      & , 2 8 > D J P V \ b h n t z     " ( . 4 : @ F L R X ^ f l r x ~     " ( . 4 : @ F L R X ^ d j p v |  $*06<BHNTZL\/.*s''}srJ{#{{;j{//{{s{ {o{{'{}{^{G{b{`{{'{{}}{Q{{{{}{\LX;\//''{ssr`{{{'{{{./'}{r`{{T{{{{c{R{R{J|@{@{{{jj{{b{b{}{/{{{{{{{{}{{{3{33{^{a{p{{;{Q{'{{{}{}{^{G{^d{{{{{::'a{H{{/{{j:{G{ J{~^{}J|E{}{{{{E}{p{{t{}{j{{{b{{^{~~{}{t{^{{{{/'{{{H/O'oYNsT{a{E{{{{@{{t{{{{}{{{{T{`{kb{{K{{{{{{{{t{{'{///{{4{'}{{{O{t{t{e{sK{{{{'}{E{b{{^{{{T{{TT{{@{{{{{}{{{{{{{{{T{g{b{^{G{{{{^{{LBRf,4${' _zf4DL}1{`{e**}T{{^{{{/'^{<\&Rx9{\{{{{{{i$= D]$>?ABCDFG  HI55JBBKEELHIMNNOPPPRVQXYV[]X__[aa\ff]ij^lp`txe{{jkl pJxLm>V\]aacceeggoo|   -568<!">%-@77IDDJOOKUULYYMstNPQST ]gl!!s  t  u "y % %| ( -} 4 4 8 8 < = ? A C C E I L O 3 3p  "# )-8 "(.4<BHNTZ`flrx~ &,28{{{{{{{{{{{{{{{{{{orr{r{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{&!0#5PKr9KD &&K9a}au9aauaau/&DaDDkkDDDDkDD)ak}/DDa9}D}&&9}k}k}&D aDY}aaauNaaau}}k}ka aakkAk&k}}DHVaD)kkDN9a}au9aau/9a}au9aau/9a}au9aau/&kD&9a}au9aau/9a}a9aa/D?}DVD aDKr9KD &&Kk}k&/<&O$$%%&&''))**++-- .. // 22 33 445566778899::;;<<==HHIINNQQRRUUYYZZ[[ \\!mm"}}#$%&%'( )*+!!,,-((. /  0  ""&&100::?? } }2 3 4$$%%&&''))** ++-- ./22 3344 5566 778899::;;<<==DDFFGGHHIIJKLLOOPPQQRRTTUUVV WW!XX"YY#ZZ$[[%\\&mm'}}()* ++,,-../"/&&010101234352678888393:;;  3<3<=<;    !! "" ## $$>%%5&&''!((?++@--@//@0011"33@55@66A77B88C99D::??4EFEF G43H4IJ  A  K  L  B  A  B | |C } }D M N O^$%&')*+-./23456789:;<=HINQRUYZ[\m}  "&0:? }  R DFLT>arabLarmncyrlgrekhebrlao latnnko ,tfng> KUR SND (URD (  MKD SRB  (ISM 8KSM 8LSM 8NSM 8SKS 8SSM 8   aaltaaltaaltccmpccmpccmpdligdligdligfinafinafrachlighliginitinitligaligaloclloclmedi"medi(rlig.rlig8salt@saltFsaltL    !DLT\dlt| $,4<DTdh l  R  : ~ " V     8    F V f  \ ` d        B  >9LM *_ U    X Yi$=EEGGIIKKLMNOWW      ""$$&&((**,,..0022446688:;==??AAHHRRTTVV  **__ U U  X Y&   &v6Pblv",6PZd 1 0 ! "# 2$%&'() 3*+,-./     !"#$%(. = B  #&),/258;>ADGJMPSVY\D  JB6:F>ZV^bhfNRjnrtx0HJSno#q%B  !$'*-0369<?BEHKNQTWZ]l3vLD8<H@\X`dPTlpz 44668<AHJPRSnoq)1B  "%(+.147:=@CFILORUX[^l3u KC7;G?[W_cOSkoy 44668<AHJPRSnoq)12  ZZ YVVYZ~&8JlZZ ]Z ]Z XWUT XWTUWXZ] > $Rl$*06<[ZYXWVUT3^1]0\ &,[ZYXWT2]4]5IQS4 6 , WVWA(:FPZfr "   " K$; V 00 1(/ F X R")567DFZD&.6>FNV^fnv~ d  d b  b ^  ^ \  \ ~ ~ h h " _  _ ]  ]&.6 e  e `  `  a  a " f  f c  c g  g  _^`\]ba28?EMS_^`\]ba28?EMS D ,-DO  ,-O    ! LM *_ U X Y33f .  (PfEd@ m,,, ~OSXbu~V_ :UZot?5JR>PjGv#.[jx{EMWY[]} ' c q ! !I!K!N!"""###!#(#,#u#z#}######$#$i&&'' '''K'M'R'V'^'''''()) )A))))***/***++#,l,w-e-o_6<>ADOt QW\tz1Ya !@Z`ty? 7LT@RtFn&0]w{ HPY[]_ * j t !! !K!N!S!"""###$#+#s#z#}######$"$`%&''' ')'M'O'V'X'a''''')) )@))))** */*}**++ ,`,t-0-o_8>@CFRpvnlkjEC;6 POMLJDCBA@>=<:9864rhdcba`_]\TSRIE< ~|{zyxvutrqonmkecbW=9 aNMnmkjihedb_^=84.,nYKG>,NG 5{{ H ~bOQSWX\btu z~0\1VY_a  &  +,-.!:/@UIZZ_`o`ttpyq??8e l57JLRTH>d@PRjtFGnv#&.0[%]jQwx_{{abc *   E HM PW YY [[ ]] _}   + : H N a d ' m * c j q t !! ! !I !K!K Z!N!N [!S! \!" "" "" "# ## ##! #$#( #+#, #s#u #z#z #}#} ## ## ## ## /## 1## 2$"$# 3$`$i 5%& ?&&\''o'' s' ''w')'K'M'M'O'R'V'V'X'^'a''''''''''($))4) ) 6)@)A8)):))<))D))E**G* *J*/*/[*}*\****+++ +#,`,l,t,w-0-e-o-o__68<!>>&@A'CD)FO+R5eqsuw{ptvV89p;>r@DvFF{JP|Rk   !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`a rdei xpk 2vj ^ s b cgw  M )l|6cn T F m} b :   y qz5fqu-J3T99NR7s`s3VV9s3D{o{RoHT3fs +b-{T#\q#H99`#fy```{w``b{{Rffw;{J/}oo5jo{-{T7fD)fs, %Id@QX Y!-,%Id@QX Y!-,  P y PXY%%# P y PXY%-,KPX EDY!-,%E`D-,KSX%%EDY!!-,ED-,%%I%%I` ch #:e:-ff@ /10!%!!fsr)5 5@ K TX8Y<2991/0 P ]%3#3#5qeB@KTKT[X8Y1<20@0 @ P ` p ]#!#o$++`@1      91/<<<<<<<2220@   ]!! !3!!!!#!#!5!!5!T%Dh$ig8R>hggh`TifaabbNm!(/@U" '&( /)/))/B" ) *!#*- ) " & 0K TX8YK TKT[KT[X@8Y<<<1/299990KSX99Y"#.'5.546753.'>54&dijfod]SS\dtzq{---@A$*.U# jXV`OnZXhq) #'3@6$%&%&'$'B .$ &($4'!%   ! + 1 4K TK T[K T[KT[KT[K T[X18Y9912<0KSXY""32654&'2#"&546"32654&%3#2#"&546WccWUccUVcbWWcd1Zܻۻa ۻۼ 0@      !         B  (('+'$ .  .'.'!!199999991/9990KSX99999999Y"2]@ " ) **&:4D ^YZ UZZY0g{ "-  ' (   2'') #**(/2; 49?2J LKFO2VZ Y UY\_2j i`2uy z 2229]]3267 >73#'#"5467.54632.#"[UԠ_I{;B h]hΆ02޸SUWDi;#QX?@Yr~YW׀c?}<$$/1oX3go7@ KTKT[X8Y10@ @P`p]#o+{ 7@  KTX 8YKTX @8Y29910#&547{>;o @ <99103#654<:=JN@,       <2<2991<22990 %#'-73%g:r:g:PrPbybcy #@   <<1/<<0!!#!5!-Ө-Ӫ--@ 1073#ӤR@d10!!d1/073#B-@B/9910KSXY"3#m #@  10"32'2#"  P3343ssyzZ @@B  KTX@8Y1/20KSXY"]7!5%3!!JeJsHHժJ@'B   KTKT[KT[X8Y91/20KSX9Y"@2UVVzzvtvust]]%!!567>54&#"5>32Ls3aM_xzXE[w:mIwBC12\ps(p@.    #)&  )KTKT[X 8Y99190@ daa d!]!"&'532654&+532654&#"5>32?^jTmǹSrsY %Đ%%12wps{$& Ѳ|d @   B    K TK T[X 8Y<291/<290KSXY"@* *HYiw+&+6NO O Vfuz ]] !33##!55^%3`d^@#    KTKT[X8YKTX@8Y190!!>32!"&'532654&#",X,$^hZkʭQTժ 10$& $X@$  "% " !%190@]]"32654&.#">32# !2 LL;kPL;y$&W]ybhc@B991/0KSXY"KTX@878Y@X9Hg]]!#!3V+ #/C@% '-'0 $*$ !0991990"32654&%.54$32#"$54632654&#"HŚV г "Əُattt$X@# %!"" %190@]]7532#"543 !"&2654&#"LK:lL>$& V\s[#@<21/073#3### %@  <2103#3#ӤR#٬@^M@*B$#29190KSXY" 5Ѧ`@ #<210!!!!^O@+B$#<9190KSXY"55//m$e@+$     &%K TX8Y99991/9990y z z ]%3##546?>54&#"5>32ſ8ZZ93lOa^gHZX/'eVY5^1YnFC98ŸLVV/5<4q L@2  L4307$7CM34( (+(I+*(I,=M<9912990K TK T[KT[KT[KT[XMMM@878Y@ NN/N?N]32654&#"#"&5463253>54&'&$#"3267#"$'&5476$32|{zy!orqp ˘s'6@   0210].# !267# !2'ffjzSb_^^_HHghG.@   2 99991/0`]3 !%! )5BhPa/w.,~ .@   21/0 ]!!!!!!9>ժF# )@ 21/0 ]!!!!#ZpPժH7s9@ 43 1990%!5!# !2.# !26uu^opkSUmnHF_`%; ,@ 8  221/<20P ]3!3#!#"d+9.KTX@8Y1/0@ 0@P`]3#+f B@  9 KTX@8Y991990@ 0 @ P ` ]3+53265M?nj @(B  291/<290KSXY"]@ ((764GFCUgvw    (+*66650 A@E@@@ b`hgwp  ,]q]q3! !#3wH1j%@ :1/0@ 0P]3!!_ժ @4  B    >  91/<290KSXY"p]@V   && & 45 i|{y   #,'( 4<VY ej vy ]]! !###-}-+3 y@B6 991/<2990KSXY" ]@068HGif FIWXeiy ]]!3!#j+s #@  310"32' ! ':xyLHH[[bb:@   ? 291/0@ ?_]32654&#%!2+#8/ϒs R@*  B     39991990KSX9Y""32#'# ! '? !#y;:xLHHab[T@5  B    ?  299991/<9990KSX9Y"@]@Bz%%%&'&&& 66FFhuuw]]#.+#! 32654&#A{>ٿJx~hb؍O'~@<    B %( "-"(9999190KSX99Y")])/)O)].#"!"&'532654&/.54$32Hs_wzj{r{i76vce+ٶ0/EF~n|-&J@@@1/20K TX@878Y@  @ p ]!!#!ժ+)@@   8AKTX8Y1299990]332653! ˮ®u\*$h@'B91/290KSXY"P]@b*GGZ} *&&))% 833<<7HEEIIGYVfiizvvyyu)]]!3 3J+D {@I      B     91/<2290KSXY"]@  ($ >>4 0 LMB @ Yjkg ` {|      !   # $ %  <:5306 9 ? 0FFJ@E@BBB@@ D M @@XVY Pfgab```d d d wv{xwtyywpx   []]3 3 3# #D:9:9+=; f@  1 ]@ /<20KBPX@   @    Y3 3 # #su \Y+3{@(B@@ 91/290KSXY" ]@<5000F@@@QQQe &)78@ ghxp ]]3 3#f9\ @BB K TK T[X8Y991/0KSXY"@@ )&8HGH    / 59? GJO UYfio wx ]]!!!5!sP=g՚oX;@CK TX@8YKTKT[X8Y210!#3!XB-@B/9910KSXY"#mo0@CKTKT[X@8Y<10!53#5oXޏ@ 91290 # #HHu-10!5f1@ D10K TKT[X@878Y #ofv{-{ %@'   #   E&22991/9990@n0000 0!0"?'@@@@ @!@"PPPP P!P"P'p' !"'''000 0!@@@ @!PPP P!``` `!ppp p! !]]"326=7#5#"&5463!54&#"5>32߬o?`TeZ3f{bsٴ)Lfa..'' 8@  G F221/0`]4&#"326>32#"&'#3姒:{{:/Rdaadq{?@  HE210@ ].#"3267#"!2NPƳPNM]-U5++++$$>:#qZ8@G E221/0`]3#5#"3232654&#":||ǧ^daDDaq{p@$   KE9190@)?p?????,// , ooooo ]q]!3267# 32.#" ͷjbck)^Z44*,8 Cė/Y@     LK TX @8YKTX 8Y<<991/22990@P]#"!!##535463cM/ѹPhc/яNqVZ{ (J@#  &#' & G E)221/990`***]4&#"326!"&'5326=#"3253aQQR9||9=,*[cb::bcd4@  N  F21/<90`]#4&#"#3>32d||Bu\edy+@F<21/0@  @ P ` p ]3#3#`Vy D@   O  F<2991990@ @P`p]3+532653#F1iL`a( @)B F 291/<90KSXY" ]@_ ')+Vfgsw    ('(++@ h` ]q]33 ##%kǹi#y"F1/0@ @P`p]3#{"Z@&   PPF#291/<<<290@0$P$p$$$$$$$ ]>32#4&#"#4&#"#3>32)Erurw?yz|v\`gb|d{6@  N  F21/<90`]#4&#"#3>32d||Bu\`edqu{ J@  QE10@#?{{   {  {]"32654&'2#"s98V{>@ GF2210@ `]%#3>32#"&4&#"326s:{{8 daaqVZ{ >@   GE2210@ `]32654&#"#"3253#/s:||:/daDDadJ{0@    F21/90P].#"#3>32JI,:.˾`fco{'@<  S  SB %( R"E(9999190KSX99Y"']@m   . , , , ; ; ; ; $( ( *//*(() )!$'      '/)?)_))))))]]q.#"#"&'532654&/.54632NZb?ĥZlfae@f?((TT@I!*##55YQKP%$78@  F<<2991/<2990]!!;#"&5#53w{KsբN`>X`;@    NF921/290o]332653#5#"&||Cua{fc=`@'BK TX@8YKTKT[X8Y91/290KSXY"@Hj{  &&)) 55::0FFIIFH@VVYYPffiigh`ut{{uz>]]3 3#=^^\`TV5` @IU U U U   B     K TKT[KT[KT[K T[X@8YK TK T[KT[X8Y91/<2290KSXY"@" 5 IIF @ [[U P nnf yy          %%#'!%""%' $ ! # 9669 0FHF@B@@@D D D @@VVVPQRRPS T U cdejejjjn a g ouuy}x}zzxy  { v } @/   y]]333# #V`jjj;y` C@F      B   K TKT[KT[KT[X@8YKTX8Y91/<290KSXY"@   & =1 UWX f vzvt        )&% * :9746 9 0 IFE J @ YVYYWVYVV Y P o x  /]] # # 3 dkr))`HJq=V`@C        B     K TKT[X @8YKTX 8Y9129990KSX2Y"@     # 5 I O N Z Z j        '$$  )( % $ $ ' ** 755008 6 6 8 990A@@@@@@@@B E G II@TQQUPPVUVW W U U YYPffh ii`{xx   e]]+5326?3 3N|lLT3!;^^hzHTNlX` @B K TK T[X8YKTX@8Y2991/0KSXY"@B&GI  + 690 @@E@@CWY_ ``f``b ]]!!!5!qjL}e`ۓ%$w@4 %   !  % $  C %K TX@8Y<<29999999199999990&]#"&=4&+5326=46;#"3>l==k>DV[noZVtsݓXX10#$@6%   #%#C %K TX8YKTX@8Y<2<9999999199999990&]326=467.=4&+532;#"+FUZooZUF?l>>l?VWstݔ1#@  1990#"'&'&'&#"5>32326ian ^Xbian ^V1OD;>MSOE<>L5 b@ <2991/0K TX @ 878YKTKT[KT[X  @878Y P ]#53#3+e#!Q@+     "  "<<<221<9990%.'>7#&73JDFHAMf fIX⸹)**'# 32!b`@!    <<1/2<2990K TX@878Y66].#"!!!!53#535632NL=ty-=))׏/я^R#/@I -'! - -'!0 *$0* $ $(st*(s099999999919999999907'#"&''7.5467'7>324&#"326{r%$&(r;t=:x=q%%&&s7t@?s9q(&%%s>v:@t8s'%$|pprR@F  B     fe f e<2299991/2<2<290KSXY"K TX@878Y@(' ' ')((79  ]]!#!5!5'!5!3 3!!!c`Tþ{yT9{3{JD{3@ <210##  \= >@54&.#"#"&'532654/.5467.54632{?>?>S8alӃ\]>9̭IXW:fqր][;;ȦI.Z.L-[.K''PGZsweZ54m@''TLf{xf[1,pEF)@dd1<20K TK T[X@878YK TK T[KT[KT[X@878YKTKT[X@878Y@````pppp]3#%3#^y/IC@&=>:A$104G$ 7aD=0^* D^ J21/02#"$'&5476$"3267>54&'..#"3267#"&54632mmllmmmmllmm^^``^^⃄^]]^\^BB@zBCFInmmmmnnmmmmng^^^傁^^__^]⃅]^^! "s;)_@3(%%  * "(kl"k *22999199990!!#5#"&546;54&#"5>32"326=P,]uu>DIE~bRhP{@p?Dq[[""CO@Mr%# @I    B   o o n<2991<2990KSXY" 5 5%-+#-+#RR^@ 10!#!^d10!!d/8L`@6EBC?2H09JC 9 $HE301B54&'.'2#"$'&5476$#32654&'2#'.+#^^``^^⃄^]]^\^ㄘmmllmmmmllmm}{{nWXfi`C.;I6Bf^^^傁^^__^]⃅]^^gnmmmmnnmmmmnb>KL?gwyVpMI`3Db+/10K TKT[X@878Y!!Vu=  @  Z[Z10"32654&'2#"&546PnnPPnoO@v+..ooPOmmOOp1.-rB .@     <2<21/<<0!!#!5!!!-Ө-}}^J@$}}B ~9190KSX2Y"!!56754&#"5>32 "?XhU4zHM98rn81^BQ##{l0b(H@'    #)~&~ )999190#"&'532654&+532654&#"5>32 \e9}F4wCmxolV^^ad_(fQI7Z`mR|yOFJLl?<:=svcE`sRf1@ D10K TKT[X@878Y3#fV` M@%  !   NF!2912<990"`""]3326533267#"&'#"&'#% )I#ER2bf*V H<9 NPOONN;9 %@]] 91290!###.54$yfNݸHF103#F#u@  ' 1/90!#"&'532654&'T76xv.W+"J/;<+->i0Y[ 0.W= ,@   |]|| 12035733! c)t'+n`d.@  klk 9910!!2#"&546"32654&PXγгi~hi}|P{ݿܾsH# @I  B   o op<<991<2990KSXY"5 %5 +-+-#^R^  ^R^  &{' d 5?&{'td 5b&u' d 5 $@/  !# #%" " "!& %999919990KTKT[KT[X%%%@878Y@ ttttv]33267#"&546?>7>5#537ZZ:3mN`^gIYX0&DeWX5^1YnFC98ŸLVV/5<6hk&$uhk&$uhm&$u  +@ ]1h^&$u #+@ @O# /#]1hN&$u  +@ 0?  ]1hm !@T   !!  ! !!!B     !  VV!"2299999991/<9990KSXY" #]@  s P#f iu {yyv v!# ]]4&#"326!.54632#!#TY?@WX??Y!X=>sr?<҈_Z?YWA?XXN)sIsrFv)H@9  B     <291/<0KSXY"]@gww  ]!!!!!!#!59=qժF՞su'&&z-k&(uk&(um&(u@@ ]1N&(u @@ @]1;k&,/uk&,/u`m&,/u +1XN&,/u +1  g@    2  y<291/220@(   ]]! )#53!!3 !iP`P5~.,3^&1u"+@ 0?""]1sk&2'usk&2'usm&2'u+@]1s^&2'u!0 +@ 0!?0 !/0!0]1sN&2'u +@ @O]1? @M    B   <291<290KSXY"  ' 7 7w55v8vL57y5yy5f +@< +,  )&  *&& &,+,* # )#3,99999999199999990@*WZWU!je!{vu! FYVjddj(|svz( ]] 324&'.#"&5!27!"&''3>_'y=_''NOy;WfNPƀ[gX@CHp@CpDfbMKYg[KKX)k&8u)k&8u)m&8u +@ / ]1)N&8u +@P_@O /]1k&<su =@   ? 2291/0@ ?_]332+#32654&#'ђ/@0-'!  **.  !' $'$-F099991/990@@'(     ! "&  : :!MM I!I"jj  ]]4632#"&'532654&/.5467.#"#:A9`@IPAtx;e\`Wqqs`/Q*%jd_[?T>7;[gp{-f&DCR @?&/&&]1{-f&DvR @?&/&&]1{-f&DR (,+1{-7&DR.< +@ ./<.<]1{-&DjR -( +@(o(P-_(@-O(0-?(-( ]1{-&DR%@&,,& 2882 ++1@ ?5?/5/]0{o{3>@C'-%= 4%:.-*1 %?47&%7& =&-7"E?<9999912<<29990@0+0,0-0.0/00@+@,@-@.@/@0P+P,P-P.P/P0+0@@@@@@@@@??? ??0,0-0.0/@,@-@.@/P,P-P.P/ooo oo`,`-`.`/p,p-p.p/,-./]q].#">32!3267#"&'#"&5463!54&#"5>32"326=DJԄ ̷hddjMI؏`TeZ߬o0Z^Z55*,ywxx..''`f{bsٴ)qu{&Fzqf&HCqf&Hvqf&H"+1q&Hj@@ ]1f'Cof'v\f& +1F&j +1qu('@^%{&%#${##{#({'(#&'('%$%(('"#" ! B('&%"! ## #)&' ! (%#" QE)999999919990KSXY"?*]@v%+("/#/$)%-&-'*(6%F%X X!` `!f"u u!u"%#%$&&&''(6$6%F$E%Z Z!b b!z{     {zzv v!x"**']].#"32654&#"432''%'3%F2X)6 ~r4*!M!ü޼z&77kc\̑oabd7&Qquf&RCsquf&Rvsquf&Rs+1qu7&Rs .+@ /. .]1qu&Rjs +@ @O0?]1o )@ r <<103#3#!!oAH +@<+,&  )&  *&& &,+,* # #Q)E,22999999199999990@p(?-YVUV jf!{    { z{ {!"#$%{&%--&YVUZ(ifej(ztvz($$]] 32654&'.#".5327#"&'')gA\*g>}66]C_56`?`!*(Ou))Hn.Mw834OMx43NXf&XC{Xf&Xv{Xf&X{ +1X&Xj{ +@ @O0?]1=Vf&\v^V>@ GF2210@ `]%#3>32#"&4&#"326s:{{8daa=V&\j^+@ 0? /]1h1'q;$ +@@O]1{-&qJD+@o]1h'J$+1@oo]0{-&OD"+1u&${u{&Ds'k&&-uqf&Fvs'm'Lu& <=/1qf&Fs'P&&Luq&Fs'm&&-u@]1qf&F&'q&G @_?]1 q$J@$ "    GE%<<1/<20`&&&]!5!533##5#"3232654&#"F:||ǧN}}daDDa3&(q=q'qH@p]1m'u(@@]1qH'H@p]1P&(uq&Hu&(qu{&Hxg&(o@@ ]1qa&H!+@!]1sm'\u* <=/1qVZf&hJ  <=/1sm&*uqVZH&JsP'\u*@?]0qVZ&hJs'^*qVZ4' J;m'u+ +@ / ]1dm'uK*+1KQX88Y@ @@]:@    8 22221/<2222203!533##!##53!5qʨ"ʨ9Qx>@!   N  2221/<2290#4&#"##5353!!>32||}}`Bu\zzedx^'.u, +1g7'+1Y1'q.;,+1H'q+1gm'.u,+1VH'+1u%'d,u 'JLP&,/u<<1??]0y`,@ F91/0@4D@P`p]3#\`{f'-\,@1V'M8L@F1f_m'.u-+1V\f'+1j' .' N` @(B F 291/<290KSXY" ]@_ ')+Vfgsw    ('(++@ h` ]q]33 ##%kǹ`!jl'nv/Jl'ZvO<1KQX@8Y@O]0j' /' O@@]1j'/'9O @]1j'y1w/'ysOK QKSKQZ[X@8Y1u ?@   : y<<991/900P]3%!!'79Pw^Mo;jnH ^@  z z <<991/90KTX @ 878Y@ @ P ` sz p ]37#'7Ǹ}Lɸ{JZjXj3l'v1@O]1dm&vBQ @?O]13' 1d{' Q3_&1g +@ /  ]1df&Q +@]1'QU~V;@  AKTX8Y21@ /0!"#367632+53265PͳNijQRW1fOCCoa`ZVd{;@  NF 21/90`!!]+5327654&#"#367632dRQi&&||BYZuccH``01`e22wxs1'q';2 +@]1qu&qsR+1sm''u2+@]1quH&sR#+1sk''u2quf'Rs ;@   299991/220!!!!! !# !39OAg@AժF|pm|q{'3@1 . ("%4"1 K1 Q+E499912<2290@%?5_5p55555????? ooooo ]q].#"!3267#"&'#"32>32%"32654& H ̷jbdjQGьBN5Z44*,nmnm98olkp݇Tl'v5m&vBUT' 5J{' UT_&5}g@_]0Zf&U +@]1l'v6om&vBVm'u6  ))Ic:1of&%V  ))Ic:1u&6zou{&Vzm&6u + ""Ic:1of&V + ""Ic:1u&zP77u&zW_&7sg +1@_]07&W7p@]1F@   @ @ <<1/2<20@@p ]!!!!#!5!!  ժA@7C@  F<<2<<2991/<<<20]!!3#;#"'&=#535#53w{%&sQQ''PO>)^'u8 '+@ ]1X7'X&+1)1'q;8 +@ / ]1X'qX+1)m'u8+@]1XH'X+1)K&8E @@@]1X&X| @@@!]1)k'u8^f'Xe)&8u`&X'Dt'|:+1V5m'EZ+1t'r|< +1=Vm&^\+1N&<su +1\l'v=Xm&vB]\N's=X&]\m&=uXf&] +@ ]1/#@  L<1/0!##53546;#"c'&яN()g ,D@% ")%,$'".EG* ,(%#'F-<2221/<204'&#"327667632#"'&'##5353!!STTSSTTS:YX{{XY:E/tssttsstRd0110d}}P)C@#   . *29991/90"]!2654&#!2654&#%!2#!"#546D+ |v݇f>orqp ˘0_i1F&8@# (EGF'221/067632#"'&'#!%4'&#"3276s:YX{{XY:NkrSTTSSTTSd0110dtssttsst 3@  . /21@  / 9/04'&#!!276!2#!#ONDNO|N8DCDCD>@  G /221@  /ij9/0>32#"&'##34&#"326s:{{:"QrdaadDs'0@  0 <10>3 !"&'53 !"shSzjffbGGaaHH_^9'(9^_sZd$D@"! %  %  0%210&&].# !267# !2676;#"'ffjzS` SfM?nb_^^_HHgh$bzq"N@$ ## HE#210@ $$$$$].#"3267#"!2546;#"NPƳPNM]-GFE0iL~++++$$>: a .@   2 99991/0`]3 !%! )"#5465BhPav/w.,~0_i1F.@  .21@   /0)!"!!"$54$3!!@DNN|#+qZ?@G E221/0` ]5!#5#"3232654&#" M:||:ndaDDadqVuc'T@ )E Q E(]99@   (99@%S 910%!"'53254%&'&326&#">kGxfu'~@3cnBOFFu\0%p9 *E +@    21@ /0!5!!5!!5E>9+uD@& 39190!!"56$3 ! 7327upo^   2`_FHg[{(@@$ )) #)* &)190.54$32.#";#"3267# $546؃ YsrSǾmTj^У%!| &${spw21%%ݐf#A@  2991990 ]!!!!+53265ZpPM?nժHVe@#   LK TX@8YKTX8Y<<9912299990@P]#"!!+53265#535463cM/ѮcMPhc뻫Ph*Nsd&I@43! F'1@'$$'990%!5!# !246;#".# !26uu^[DM?npkSUmnꪖ_`%Rv%@ 'P $&]ĵ 91@ %$&222990@ #%$$<<$#$%#@$"! #9927654'&'3#"'&5476736,3,,3,6hC.KddK.Ch B9Iy\\yI9B z^ȮwBAWWABw1G*O@, *&NF+291@ '&&  #/<<9990%27654'&'5+"&54&#"#3>323LTWJ>ymoF||BuLibep_!edg .@  KTX@8Y991/9903;#"&n?M-– R E@   >f3@)B 6  999991/299990KSXY" ]@068HGif FIWXeiy]]!3!+53265jG?n+Vd{Ds 1@ 3221@   0! ! "!&32sy:;x Vb[[z=g&24v'X Rs3@ !  <1/0!4&#! !2!2"327&nzy;pa'Xܯ–bb-LgFqVY{!:@ """# E"9104'&##"3232"327&&&idRصRQ@TVt1098``:6:@   ? 291/0@ ?_]32654&#%!2+#"#5468ʄv/ϒ0_i1FV$O@$#% %G  F%22991990@ `&&&&]%#46;#">32#"&4&#"326siL:{{8(adaaT#.+#33 326&#A{>ٿJx~hb؍Oђ E`.>323267# '&5476?67654'&#"ri{CDr{xwj璑klz<;YZ_s&&rrƫ->>n~FE/ppٶlm+23cv@@67d{'@  !! RE(99991@ '$$(90@S !S BKSX99Y"]@/)?)_))))))]@% '$&((*//*( ( ))$]@.,,,;;;; q>323267#"&546?>54&#"Lf@eaflZ?bZN?$%PKQY55##*!I@TT((0V!&'&#"3;#"'&5# 54!23!n|wx'%dQW/R5-0A3=g)(V\`@o7V !!;+53276=#"'&5#53w{%&sF0j&&QQ''01PO`>X@ @  991/2990K TX@878Y@@p ]!!##"#546;^vժ+Zi1F7I@  F<<2291@  /<299990]!!;#"&5#53546;#"w{KsբcMcN`NQfT@ @@ 120K TX@878Y@@p ]!!;#"&!n?Nժ=–_&84i' XN:@!3   1@   <2220!! 47!5!3254'5!X ƱXw>*a"Lav-@   /<91@ 0%254'&'5!'&'&33cAnMagn"ʦmWDtz–d@  @ @99/1@  /9990@        BKSXY""#3 632#54&9%NZUUIG9\[ny6P=V{j@  K TKT[X @8YKTX 8Y9991@:        B    9990KSX2Y"@      '$$  )( % $ $ ' 755008 6 6 8 A@@@@@@@@B E G TQQUPPVUVW W U U ffh { F]@%     # 5 I O N Z Z j ]+5326?3 67632#54&#"N|lLT3!;^0XQ99) hzHTN43`rr:T*\@5    B  B K TK T[X 8Y9991/<20KSX<<<323#L:s_%'ST_ijxzX"Jh0@umHLIwKK!!C12\RI`1](2! '&/&53 7654'&#!#!!hcUQ;-ܘ-;dc|cd\])Q8+lhU)$yy$)UKKKKIJ-%hL?`%2!"'&'5327654'&#!53!!LicUQ;-^cdjTmcd\]8+lhU)$y%12KKIJ&X$!"'&'5327674'&+#5333!plnUQQLITNPc9:V>}ws}#(rAbLrV{#36763254'&#"s4QҸMNr98xܭz BR1pqWBAV&@ F10@ @P`p]3#V''V:@    <<2<<219/<2<203!!!!#!5!5!5!s____,Ԫ m'?' f'@'qf'@Gf$'-/V'Me/V'MvOf'-_1V'M>1V'MeQhm&$u<1{-f&DZ +'+1`m&,/u  Ic:1^f&  Ic:1sm&2'uquf&Rv <1)m&8u<1Xf&Xv  Ic:1)3&08X1'q{;)Z&86X"&X)Z&80X"&X)`&80X"&Xq{h3&${-1&qR;h3&${-&DH4'q>{o'qs%T@!$"43 &<1@"#%&99ܰ KTX"@8Y<203## !2.# !2675#535!5yyuu^opkC XSUmnHF_`%'XqV{ 4X@"2% G,E5221@ #% ) 2/3 &)/99<20`666]4&#"3263#!"&'532767!5!6=#"3253:aQQRZ9||9=nXF]@,*_EG^[cb::bcsm&*Ju!<@!T!$!]1qVZc&JJjm'u.m&Nu* +1KQX88Y@ @@]se'42qeu{'Rse1'q';qeu&qsm'uyXL/f&TVdf'%  Ic:1 '=' ']'q']Gsl'v*qVZc&Jv-5@8221@ /203!327653! '&5!#>=B>d`gd"dPNOKZ߀xxv 9V%#3676324'&#"8WST=<HW5xz7 GF3k'u1dd&QChs&\}{s&}Hl'\v{oc&vefl'vHc&vhp&$z{-d'Dh6&$>{-H'eDp&(zqc'H6&(>qH'Hsp&,Yzc'fw6&,>>UH'$sp&2Azqud'Rs6&2>quH'RTp&5yzJc'%UT6&5>^H'-U)p&8zXd'X)6&8>XH'X'v6o{',V'S77'WRs16767654&#"5767654'&"567632¥~b[?FjOQ_ciqYxw`eGRxQYڵ@XKy^qjj=vX{5?:.PB*8hicqMmwqڎ{\(GO{26767654'&#"5767654'&#"567632GrXBAR9?|cGIN`\hOm`bs[yx@Il|IPxģ3H2#PQ̝qpD(4%3254'"632!"'#67&5#"'&76323 76'& %44nI5"C0:XY|ˀ|YX:ST$TTTTT- H:E<$d0110d^jtssttssq% ;" 7654&327654'&'52 '&54767&'&5476!˸jkkjpkk_;̨_`Lm䖋_``aCUtMMMMMN'|OEH-AA+Mdha "ccttttُcc"FYXSJqq/ 4" 7654'& '&5467&'&547327654'qSRRS SSSR:4IRQ=4?+IHIJ,MMMMMNMMjRp@Y "ccttttُ"#VKjX AAAAAtw>\V+53276=!5!5!!Hri&&gPP%01oXV`+53276=!5!5!!۞Hri&&5ejLP%01%hP&$@{-&D_u&(zqu{&Hz{s3&2bqu1&qs;s3&2iqu&RsO''t2qu&sRs3&2jqu1&qs;1'qr;<=V&q^\p\%3254'"632!"'#67&73%44nI5"C1- H:EVy` 8@   OF 991990@  @ P ` p ]3+53265F1iL`aq 1= 76'& %67632#"'&'+5#"'&7632;'&  7/ST$TTTTT:YX{{XY::XY|ˀ|YX:rSTTSST$TjtssttssHd0110dd0110d^PtsstjtssqV{ 1='&  7+#"'&76325;67632#"'& 76'& STTSST$T:XY|ˀ|YX::YX{{XYST$TTTTTdtsstjtssHRd0110dd0110jtssttss|3 #!#'#7'7 3!Jafp|҈2F;R/o]jY'FF8O ",'&76!27&'!2767# '#&# rfuSv=:efc.1 tsfjwv9tFXh$xYv+!f //_H$$\/ح ]"+'7&576!27&'32767#"'&#"i`UUQ.-Y_vcPNONMRS]7GGcc^N lOU ^q+$Vqrg j ;@   : <<1/<20@ 0P]33#!!#53ʿ_w1##'!5!7 !4" gZ8f,i> XRBY bo{=4'&/&'&54632.#"3#"'&/&'&'&'53276 23@LLfLNZDE11?PS{W*L'TrGY$alfccaFF'K((%$JK((**T@%$!,KL[@~$=&[#5-,X3`!;#"'&/&+=!qjN\1*LlTrGY=Z^e`1~$=&[? %P6@ 9991@  /0##32654&+"56;2'񍚚EOZ*,FP{7@   991@  /032654'&#"5632##/dLUIVVN}AH+Fnt  (\@ #  . &%)<229991@(% #/99/<20*]!!!2654&#!2654&#%!2#!#53[D+ |迿ɐʇf>orqp ˘p _@ 8AKTX8Y<2<21@   29/<<2299990]3!33#! 5#53!3265˥ߦ®j*$}h)B33#!!!!#7#!#!AX .AA<VF㪾FqB&-1&'&'!3267#"'#&'&3273&#"#So+Jajbck{cPm!)81G\9/Zo Z 6Z44*,!  C "2JcfRY@    9 KTX@8Y<2991<2990@ 0@P`]#+53265#5333RM?nʿwHVS@$   OF<<22991<2990@ @P`p]33#+53265#533#F1iL`(aؤsf$C@$  %" %  %2299199053;#"&5# !232#"nEMMT–\\xEEqV@{$H@"%"%G E%229910`&&&]#"&=#"3253;32654&#"@F:||:Li1戮VּdaDDada= T @  ?  !<299991@!  B  /<229990KSX9Y"@"]@Bz%%%&'&&& "66FFhuuw]]#.+##53! 32654&#A{>ٿJxʿ~hbw؍OJ{=@ F<<<1@  /<20P]###533>32.#":.I,h<ĤfcΡ3!733!#!53!ٗ ٗwјv9 V`+5326?!533!33!+N|lLT3!øLùmhzHT33`{ ,@ .% F-22991@-&%"*-%  9990@1?$?%?&?'O$O%O&O'_$_%_&_'o$o%o&o'$%&'$%&']@+?#?$?%?&?'?(?)O#O$O%O&O'O(O)_#_$_%_&_'_(_)]2654'&#"367632#!3267#"&߬A@o\]?^^fe~ST`Te__Z+f{b:9ml)Lf01a```FE..'qZ{8@G E221/0`]53#5#"3232654&#":||ǧdaDDa{ 8@  G F221/0`]4&#"326>32#"&'#3姒:||:/Rdaad` $C@  !G! F%22991/0`&&&]4&#"326>32#"&'#46;#"姒:{{:Z[/Rdaad~Ӝ}}{ 0@ ! !"EH!<106763 #"'&'5327654'&#"LQQU]SRMNONPccccPNON5#$+qrrq+qs{'/O@( ,,H"E02991@.*%00@ 11111].#"67632#"'#47&'&!23254#"NPc'>IjJ?_SPI 9/-U:Me5++rQ,3H=Y}/)9DhQ#3 :#:9KqV@$K@$%"%OG E%221990`]#"&=#"323;32654&#"@F:||:Li1戮VּdaDDad^ؙa=q$=@" %%  GE%2210`]546;#"#5#"3232654&#"iL:||ǧadaDDaq{"r@ KE#91@  #90@)?$p$$$$?????,//,ooooo ]q]47632!"&'532767!7&'&#"qkcbdcjfg ]\RS^,*4cdWWZZq{A@$  KE91905!.#"5>3 #"73267qN ͷjbck 9Z44*,#ė|{ 4w@6.('4 KE5<Ķ&  91@/.'""5 5@  &"90@ 4 &'<<<<<%6'6'32#"'&'&'&5>3 73;#"'&5Nf  R`\Lladbck $˸&&i+@WR֊>8E#Z`vg'#d4*,#)u10`Z|B|*|>i@@603273;#"'&5|PUTZGUU]UTNHtCDFEwGQPabLq_&&i+@WR@\l%88ZX83,-F@.. NBj10`ZȦFq|/;@ 1 &,E01@00)0#90"327654'&+5327654'&'2# 76`cchҗUTNHtCDFEhqr<V`K@   OF<<22991<2990@ @P`p]33#+53265#53F1iL`(aؤqV 0U@)  &#-* *-+& G E122991/990`222]4&#"326!"&'5326=#"32546;#"aQQR9||9iL=,*[cb::bcaqVZ` #C@ # GE$21/990`%%%]!"326!"&'5326=#"43!aQQR9|=ͻ,*[cb:*qO{8@4 E1990%#5!#"!2.#"326Ae{-h]_cƳO|$$>:77>>`Rd`#y@ %  $ĵ 91@  $222  990<<<<< 3#"&54767327654'&'bB_j&;;&j_BC(::(xܱSccS$-EIdccdIE-`d`#y@ %  $ĵ 91@  $222  990<<<<< 3#"&54767327654'&'b)rG,EE,Gr)C'88'bLx>>xLb-!@2FF2@!-VX`9@     NF21290`]332653##"&||Cua{VfcdC@!   N  F2991/<9990`]#4&#"#46;#">32d||iMBu\~aedVd!J@%  " NF"2991/9990`#]+53265#"#46;#"632diLiMHa=~a >@    F<<<2221/<20@ @P`p]33###533#¸`<Ĥn`Ft` '@   221@   /2205!#3!53t褤K#<@ % V V$<<1@#! !//2<903327673#"'#&'&#"#67632= &}33[ &}33[ %$RIJ %$RIJLT5@  <2<1@ /9/<2033##4'# 7632&#"3=5*7M\TK9V_ (@  F 1@   990;#"&5y=x1F|t(L6$@#&#" F%<̲#91@B""  " /9/ 990@$#@  **8;ILT[q ]@$$%$$5$7E$FT$\ ]@    ]2!"'&'5327654'&+5!#3!CicUQ^cdjTmcd\[je8+lh%12KKKJ3Lb&^@PP F'<91@  #''<<<290@0(P(p((((((( ]%#"&5332765332653#5#"'&Cb`ruSSrw=ZXyzVUy=<b`^zbze32>>Vb&a@PP F'<91@  #''<<<290@0(P(p((((((( ]%#"&5332765332653##"'&Cb`ruSSrw=ZXyzVUy=<b`^zbzZe32>>V{0c@PP)%'F1291@ %*!*-(&/<<290@02P2p2222222 ]>32+5327654&#"#4'&#"#3>32)E__RQi&&ru99wSS?yzUV|v{zH``01NM_``gb>>Vk{Q@N O F2991@ /9@   990`]#4&#"+532653>32k||F1iLBu\satedVJ{;@ N  F21@   /  90&54&#"#3>32;#"R||Bu&&i1F``edH10d` y@BNF 991/<2990KSXY" ]@068HGif FIWXeiy ]]!3!##`ylqu{ ,@  Q E2210"!.265!2#"qt蔔98q$`I@  E2ij 991@   /<<@ 9/0!!!!! '&76!#";:E*%xxxx%`ݛlklm>|032>5#"326=4>32#"&'#".H`83L##L38`U։סW:]k4j i4ob?ģ_E1E_RSll:uy32JI,:.˾ fcVJ{:@  F2190P].#";#"&53>32JI,Li:.˾atfc~{%@ 21@  /29903!5346;#"iLAat~{3!5376'&+532ʴ'&irH20%P`@4  B      F299991/<9990KSX9Y"@]@Bz%%%&'&&& 66FFhuuw]]#.+#!232654&#0s2âJ{Qpwu t]:'`iVNM``E@  F299991@  /29990332673#!32654&#Q{Jî2s0jp|Ɓuw`':]t i`MNVoV{0@C  S('  S'('B1 '(!.1' ($R$+E19999190KSX99Y"0].#"#"/;#"&=32654&/.54632NZb?ĥdXLie@f?((TT@I!* ajYQKP%$V4@ O F<22991@  99046;#"+5326cMF1iK»Ph)aV O@ !O F!<<229921@! ! !99<20546;#"3#+53265#53#5cMF1iK`NPh(aؤi7V3e;#"'&74'&+532M&&i1FRR'&cQ]10`a(h((VaYV!#"327673## 54!3476;#"w|n!̵5RWQîd%'3A0Ǜo@`\V()g7^3@   /<<2991@  /<2990]!5!4&+5323#{Ksբ>`N7V=@   F<<2991<2990]!!;#"&5#53w{Liൣa>`C@     NF2221/222220` ]3!33##5#"&=#5!326:CuȮ||h=$#^lfk`8@   91/20@ 3 3#f%.]`8XV`@"B  OK TK T[X8YKTX@8Y2991/0KSXY"@B&GI + 690@@E@@CWY_``f``b]]!!;#"&=!5!qjLLi/F7e`ۧa%X`!@  "KTK T[X8YKTX@8Y299<21@  /<0@ BKSXY"@:&GI #+ #690#@@ECWY_#``fb###]]!367632+#47!5!3254qjL"TA`:&>R~ie8FX`ۢG7W9W`/=3<;4%6]XL/` @ "!̲91@B!  !9/ 990@ @  **8;ILT[q ]@  %$ 5 7E FT \ ]@    ]2!"'&'5327654'&+5!5!`q|/=@1 %,%E01@0 0"0( 90";#"327654'&% !"$5467&'&5476EwEFDCtHNTUhcc`a|p<:!a>>`V.9@ F<<991@   /<203#33## 54!3#"32767Ku_+xG`͋BA0 L` ## 33R9L T#`@ F1/03!!`3qV $C@  #%% "GE%2210@ `&&&&]32654&#"#"32546;#"#/s:||:iM/daDDadaX$L@ & %<<ij#1@  $! /<2KPXY032765&'&#"56763 3###53T?V:9cPONNLQQUmlprLbAr+#}swԤX$M@ &"#E%<<ij "#1@ $!# ##/<2KPXY0535&'&5476!2&'&#";3##plnUQQLNONPc9:V>ws}#+rAbLrq &) 76'& %3!!!+5#"'&7632/ST$TTTTT iL:XY|ˀ|YXjtssttssH^Lۓd0110MqL4@#5#"'&76323!2!"'&'5327654'&+5 76'& Z:XY|ˀ|YX:jejbVQ^cdjTmcd\]:ST$TTTTT3d0110d^L$8*mh%12KKKJjtssttssq 3: 76'& %%!332!##47!#5#"'&763233254#/ST$TTTTTghL<):XY|ˀ|YX:FXjtssttss_ 3<;4d0110d^6[7@F.#"#"'&'#"'&5#533!!;5327654'&/&'&54632NZED11?QR|{Za]gQQ{%&sfccaFF3,@LLf?((**T@%$!,KL[[!&PO`>''M5-,QK($)$JK7V%.!5476;#"+53276=#"'&5#53!3wxWQîc&'QRF1i&&QQ3%&sN[V((h)``01PO`>''7p-9D!6!2&'&#"63 #"'47!"'&5#533276'&#"&57!3w{UQQLNONPcccO+eKTIQQ;BS_r(ր%&sz#+qrfr v)2LOAPO`> 'KV ''/Vo5+5327654&#"#!##535476;#"!;67632oRQi&&||ӹWWc'&-BYZuccH``01/яNUV((hce22wx#5.#"#"'&'#34632327654'&/&'&NZDE11?PS{|Zb]hf8b_caFF2-@LL?((**T@%$!,KL[[!&2-,QK($)$JK 3!!!+iLLۓ6 333# #333# #6ttttU=63@    <2<21@  220!#!#!#!#6kkUXrXJ!32653##"'&554'&+532||BYZucc&&i1FQRybe22wx 10`` Vv,!5#"'&554'&+53232653;#"'&'BYZucc&&i1FQR||*&h2FRKe22wx 10`` by60`Yu0@ 32tNN^luu)qJy}wYYk\g88u:KSX@ 32tNN^lugrB0)qJy}wYYk\xkW6Vr88 #@<<1@03+5327653#zt43r,Bttx66XVru@ 1@ /0.#"#3>32.biuu$uT  qksa97G327653#5#"'&'Gc45tt%:;T  98kJa9Gu 327653;#"&=#5#"'&'Gc45t0B,rf%:X@?X=>POPPu"'&4763"3sPOOPs@XX@PPOP>=X?@X>u32765&'&#"567632#'y7$#?q22110335WDDFk[@*7K$@ ` XFh_@Cu#&'&547632&'&#"3kGDEW53301212q>$%6y[AmC@_hFX ` @$K7*@ 2% % g 25-5g'|?f3# #fg|?f33|g?f7@ u91290K TKT[X@878Y3#'#f?f7@ u91<90K TKT[X@878Y373x^@1@/0#^+b+qsRf3#ff #ofv^@1@/0%#^++Tq^#onvsR3#lo#E@ j,5!##–, 533##5#5j!5!>j)9H W@ VV1<0K TX@878YKTKT[KT[X@878Y332673#"&v aWV` v HKKJLDfN@ d10K TK T[X@878Y KTKT[X@878Y3#  @ V xV104&#"3267#"&54632X@AWWA@Xzssss?XW@AWX@sssLu @   '1/90!33267#"&546w-+76 >&Dzs5=X.. W]0iJ7c@$   VwVv99991<<99990K TK T[X@878Y'.#"#>3232673#"&9! &$}f[&@%9! &$}f[&@Z7IR!7IRfB@991<20K TKT[X@878Y3#3#߉fx%3;#"'&5&&i+@WRd10`ZȢf '#7'373\\]]\aa``u # 5473733254/MMz /1/03#zttu/2&'&#"#"'&'532654'&/&'&547632j1549W++](}24NM9>=D@?>=RX o(l00GF@99 a /$*+MW33 k2-*)*IX01 u! #'#37 ͉H+u#&'&547632&'&#"3kGDEW53301212q>$%6y[AmC@_hFX ` @$K7*@X@ 1/0!!5!AGЈX'@??//21/]0!!5!3A4X@ 21/0!!5!3AhhX'@pp0021/]0!!5!3A4X@ 1/0%3!5?p+v'qqf3#3#@fx.SMvJ!'&'&#"#67632327673#"&9 &}33[&@%9 &}33[&@7 %$RIJ!7 %$RIJf6@ D910K TKT[X@878Y # mXfvqPf6@ D910K TKT[X@878Y3#fs?f<@u991290K TKT[X@878Y3#'#?fsH7b/q|  )1H+d%@ 910@4D]3#hF)I@ dd 91<20@#4D`````````ppppp]3#%3#^y)7{"@ V@ V /1@@ /0632#546?654&#"7pihX,#w3-.>GZdH3UC=A   (6%""($4fCf<@u991<90K TKT[X@878Y373NxsD#DD'4]fB@991<20K TKT[X@878Y#!#͇fxx)1')1H #.#"#> v aWV` v ")KKJLD( @0#3Ӥ?#55#53pp{53#7"op{y3#@uUCqPUv &D53#5#5_&3##3D_U?p!5!#Ik{1@V/K TK T[KT[X@8Y21@ /0532654&'3#"&=X.. W]0iw-+76 >&Dzs5V @  V21@ /0"&5463"3VZ||Z(55(}ZY|x5'(5 3!5353D_ #5!##걈 & #53533##׈ 5! zV '+53276=0RQi&&``01wV %3;#"'&5w&&iQR10``fSC'SjC( @V xV1@ /04&#"3267#"&54632[6'(55('6y|ZZ||ZZ|&65'(56&Z}}ZY||jT @03#Ӥ#uzLuDT#DD T#5!#뉬Jc9X#"4533273273" v aWV` v "6KKJL9HS/TB  #"'&'.#"5>32326SKOZq Mg3OINS5dJ t]F ;73 !;?<6 7=xh!5xhh5!Ĥh'`_^NO'ygfFXY @  V21@ /02#52654&#Z||Z(55(B}ZY|x5'(5[3!53[J.T!!&bc9X632#&#"#&'"#72;tv gfv ifvtR+ '7'77}`}}`}}`}}`p}`}}`}}`}}` .54675>54'&'C!RI 7!RI 0PQn +0PQn : '  fCqPfvH7FbV+I#5!#!Ֆ֖V,2!5!5!5!>>2xx3#3#@tx!#!–*>,Jf'73327673#"'&'#7&'&#"#67632Bmk  &}33[& !Bnk  &}33[& g  $%RJI g $%RJI J%3#3#'.#"#4632326=3#"&HҖ9 $(}gV$=09" (}gT";C! 2-ev 3)dwJ"c( 7!#'73!'3p~(͛3#557'2d͛~~x&'&4767@*,,*@rNPPNr*,@A++{OPPN1'+Ubx5567654'&xrNPPNr@*,,*{NPPO{++A@,*.Dp pk Ppk!!p kpT!!p ଔ*7#'&'&#"#67632327673#"'&O,$e5Fqp[?9ZO,$a9Gqp[?9Z7  $0GJI "7  $,KJI pn w(5!'3#7ws~~d͛tf@103AntVH@10%#AnHV #"'&=3; #V!. {q{'yOF{'y#sRf1@ D10K TKT[X@878Y3#fFR&jl@_]@_q0hf'HFyuf't#f'%}f'z'f'-(f'n2f'h66'.Fh$%j@ 1/03!!)ժh=@ B1/0KSX@Y !3f5:9+(\=;+s!2@"" "#3"10!!"3276'&' ! '&76>b܁܁:xżp[bb,j.h<@ B1/<0KSX@Y3#3#:9&+031b *@    <<1/0!!!!!!29iggqs2;3 F@B   <<1/220KSX@   Y%!!5 5!!>!8ߪp7<s'<@) !%(<<<<1@' %'/<<<<0367654'&'&'&76753#–bbʖbbWssWWssW=;;s.@ <<1/22<20!6'"'&336763#ּՂnʊnhg椌gHN&3@ &("3'1/<2220%!567654'&#"!5!&'&576! cccd?IH1/GGaʦa>”XN'/u' +1N'qu2 +1qf&>nf&PBVdf'Df&FF*&Rqy *@ ,%E+99@ ?/]q@ ) !/99@<<10@  ]@IIIJN LNIK ]@:9:88? <>]@ + +*))]@  ]@++]'&#"3273;#"'&'#"'&763 N,-=MKLyHc( #) Xn^T).^,ru7 nik%1)0T*XoW)&V!7@E F21@  90%#! !"3 5 4# yYo 0kEdZ&J:@ V`@@ 1@ /<20@ 993#&+532i^;,_1FLdVD~qu-T@(/E( Q!E. ]99@%%.99@S910&#"#"'&4767&5!232654'&'&fu5KxD7VUV[a~@Fu\0%p̥@$OF(Iqrs`g |2=@" 33'(#,34 '0E310&'&547632&'&#";#"32767#"'&546p<@ KQX@8Y1@ 20%#457654'&# !5!ʄOTJPE* :;f,KOxsPWKL,#%5,*3Y'iVd{1@  FN  F21/0@]#4&#"#367632d||BYZuccH`e22wxqu$!O@ """#E QE"2]21@?]0@ w##]!3276'&#"2#"'&76EVSI 6VQ@=񈉉d~uvn` @ F1@ /0;#"'&5c"$lYoRR`+.0`b` I@   F 21@ /<20@    <<33 ##Gb`/ZFB?= F@ 1@ /<0@  # #'&+5z~J/k`ue<2~V`wJ`B@1@ /20@ 99!367676'&'31!xdLjE.*{`T|p5dwY|rNįtkR&@@ (" %'1@ '#"'<90%#457654'&# %$47#5! $ڄOTJPE* :MKOxsPWKL,#%5,*,X$Rݿ qu{RJ`/@  1@ /220!#3267#"&5!##J117,#J%x\c`PH? XV{1@ EQ F]1067632#"&'#44&#"326=;{:+fZ#adqR{$6@ !& HE%1@% %0 !2.#"32#457654'&-ULNPƯPTJPE* >:##++LOxsPWKL,#%5,*q` 1@  QE]1@ 0"32654'&'!##"'&76sRVVOcm񈉉qnsȷzn휝dm`#@  1@ /20%;#"'&5!5!!$lYoRR\ W0`b*`+@ E F@?? ?]1@ /<0327676'&'31'"'&5R27ki;jF-*eb`+@EvfwZ{sxvpVh )=@+E(#E*<<1@ *'*<2<20"27654'&'2##"'&7673=A__UVF6˷džfB:VVMpˑRh]p[nmNssg.;Uda@    <<91@  <<90%KSX@   99  9 9Y#&+53;'$ܕ11FA3N11F~0)~pV`6@   <<1@  <2<<0&'&53367653#EkUJ|CUvܷ%aw~LB,BTxnc#n'`8@E  E1@  /<2<0 433233243! &aƏ˪ޏƛa!)R@O@+}&Fj.*&jRquf&}L*f&"R'f&VYM% %52767654'&'&#"'&76#327674'&iPTwDy$2uz]6`;[;~oxҤko7&C]JN:PWO^p=lW5I pAKu_ըoskKꀰ-V{HVqu$ *4'&#" '&47632#"'&32761BS@8yJ̃hh~w[UPUp~GBZZ7Ai6np}TL󨛜WQ%#4''&#"5632%632#"'&FR**RMO((4;UCHk&!>*SKVHv H# 0r{C @[)/Bf'n^PWQN'u^pV'A@)   $E(<<<<1@ (  (<<<<02##"'&76327676'&#"DžǷdžǷqMTVMqqLWULc휙owgsugHgusgAm`5!#%$! 47)323764A,Ma")aM:GϤ*RѧOp[g9&'&47#"54654'&#"563277632327"'532! `7"7$>9[@[`7"7>9[&F]_I I5l|"O z:6hl0'[Ml |"Oz:6hlf$11sX#&'&76!   76';:{HpҳI椤qVu{ "32654'&#&'&7632sVVUVVV9kjstntstu n}{R$ 32#457654'&# '&76)F`{[mzYTJPE* :xe+wTOxsPWKL,#%5,*eNqRQa#"32#457654'&#"476!>cccnPTJPE* 9֗h4HqrqLOxsPWKL,#%5,*>#)@VF'347632&'&#"!!#"'&'53276`1213$)),x:KAb933.1220W@Rd >Qoɏ?s K_7"'&76'&526n 'BQ_'BQ_[~,`*l#FR`*l#FR #!3&pM]rV`!#56! #'#64?!"QhRR_@0:IKiXL}/M4!wx#&'#&' #'nd2Fb.-t`4#M!P^sK='6767&'&'#"'&46733276=332764''3=D۴vayͤgDd''dey{d;]TCHI}rHGFFtAGCT_8d榈d*0QA^^^Fkmihhimw'AFU(`%!$! 4337643'676#aڏޏڇ9iŚkp[Q 5@+h@ф{I%l +?sVH32763## '&6%`nbbcDhh(J @?G6qV{ 7653##"'&54763Pr^SLTT:XYڅcнtst1Rd01ȢK% '676767654'&#"#3676L'Pe^Ґ8*7D ! ! 12԰.#AL.#^Yq4+& "H4B;;=/?"+VhPOV !! 7654'&#"#676! 3 7llc^#,V)ۄe]6?fضdVj{ # 7654'&#"#67632327\B\\TP%I/yYk}oSKu,2R¤ຐs5%! &'&#"567632 67632'&#" ;!53276n"?E! rK,/ 4'Kr !D<&tEGGH h=" C(FK#C "&E !!6{5%! &'&#"56763267632'&#";!53276[96:@%((%@:6-:IkI:8=3553gs%+$67632! '&76!2767&#"327*W8QU{2Τ|sK^lȺhiieb-sJV"1Pһ '$Astxssq[/&67632#"'&76!27674'&#"3276I,)e[xtgO_\SG]EZSTVXXTRS7xJF61𢢜Pһ ''rsstxsst,V#5!#!#!3`d`du7U#5####!3_pzpppg3#"54654'&#"563277632327#"'$47(`7"7$>9[@[`7"7>9[@[|"O z:6hl0%[Ml |"Oz:6hl0%?[MV{$4767632#"'&')! $'&  7Z6;x[Y: +STTSST$T%Уb^#10dX4tsstjtssq{FVyMsaq{!&'&#"!!32?# '&76!2%%cjf_[_fMJOhk en(' c\\c( +{!56763 !"/532767!5!&'&#"'(ne khOJMf_[_fjc% ؜c\\c Vs'& ! !###-}-!+V` !!###`{`UV{'4767632#"'&'!!#5#5'&  7Z=;{XY:eSTTSST$TfZ#10dȪpptsstjtsss'Hs'&y3s''yk&uN&uf4@  <1@/20%+532654&#!#!5!!!2L>o||Rh"9+Fjk&us'N@  2<1@  IIPX@8Y0! ! &! !!! 'zOFӐhgս6,XNf-T/3@   <1@  /<20!565!32#!% 4&+pٕxL@+8/Xڦ5@ 2<21@   /<2<20!!#3!332#4&+326 z6࡟9d݇,@   <1@    /<202#4&#!#!5!!||Rqf9+Fk&u3k&u#m'ru; )@   1  /<20)3!3!#++h$.@  . 21@  /04&#!!26!!2)DlN݇@%j@ 1/03!!)ժe4@ <1@  /2220%!!67!3#!#p&axު D+?x4&A((v@   <2991@B   /<<2290KSX@    <<Y@ I:I:I:I:I:I:@  <<<<33 # # # 3DDxM(?@ * %)21@  %&" )02#"$'532654&+532654&#"5>I8z,|йԳƆ\qѲ|!ĐBY+wps{M("3 y@ B  6 991/<2990KSXY" ]@068HGif  FI WX ei y   ]]#!33j+3m&u# + KT KT[KT[X@ 88Y1 Y@   2991@ B  /<290KSX@    <<Y3! # #_yT:%@   1@  /<035675!#!T>Wxfb/X++0;+s2;@ 1/<0#!#;"++3s'&7#> 1B /20KSX@   Y%+53276?3 3 OM?w.-!suٵ2&]*jklyj =@!   <<<<1@ /<2<203>54&'$%53# W==U+  -=;; )@  <1@ /2<0)3!33#;ʪ+$@  21 /20!!"&533!3_||xdv+ *@    1@ /2<<0%!3!3!3OOʪ+++o2@  <1@   /22<<0)3!3!33#OOʪ++< *@  21/0!!5!!2#4'&#!!276GN6ONDPO+DCDCF&, $@   21/04'&#!!2763!2#!ONDNONDCDCo#N@ <21@   IIPX@8Y0! 7!5!&! 56! ! 'oOzFՎaa0&8@''!&$#(  !%$'2<1/0"3276'&76! ! '&!#3~܂܀s;:ŴL椤kj@@  21@ B  /<0KSX  Y3!!" &$54$)#!:ƒdv'V+w{-{Dp7):@+E'Q! E*21@*$ *9902#"'&5476$%676"32654&}:[;z631-~LӔ{0w)v ,u8w>` /@ " F!21@  /0!2654&#32654&#%!2#!r~~hhVlj9_ZZ^SJJOgyr`F1/03!!`3k`4@  <1@  /2220%!!6765!3#!#}v[(bt:d6(U3Rq{HF`@   <2991@B   /<<2290KSX@    <<Y@ I:I:I:I:I:I:@  <<<<33 ##'# 3?nn`QO6m|(N@ &* )1@ #)) ) KQXY KQXY0#"&'532654&+532654&#"5>32|PZG]twGabLx\l%%pZXkYF@\]y` ?@B  F F 991/<2990KSX@  Y##3y`}`y&# +KTKT[KT[X@ 88Y1` Y@  F 2991@ B  /<290KSX@    <<Y33 ##Tsŷ`OQ5Ls`$@ F  1  /<0356765!#!L8D{X^~ŷoPO` M@B   F F 1/<290KSX@   Y! !### >? ˸ʹ`'P` '@  F F 221/<203!3#!#U`7qu{R`@ FF1/<0#!#`3`V{Sq{F<m` 1/20!!#!<1BB`3=V`\pVg (3B@5E)! '.E4<<<<1@,41$ 4<2<20327&#"#"323>32#"&'4&#"326/{brrb{9SS99SS9{brrb{/Ǩ<9^N5=L^^LN^Ǩ;y`[` (@ F <1 /2<0)3!33#9U`33R`"@ F21/20!!"'&533!3Hf\45h)_Vu;;` )@ F  F 1 /2<<0%!3!3!3ڹ"ٹ`3+`2@  F<1@   /22<<0)3!3!33#"ٹڹ`333R>.` ,@ E  21@   /02#!!5!!!2654&q8$~͓7_ZZ^`'">`%@ E  F21 /04&#!!263!2#!z~~@9LZ^_n7q{M@ H<21@   IIPX@8Y073267!5!.#"563 !"'q2 ǚ-VړiVFHL{ :@ E  F2<1@/0"32654&632#"'##3Jq и¾.`At"`<@  21@ B  /<0KSX  Y;#" .5463!##zwwVtS^a\'qk&CZq&j/V?@N F <221@ /<20#533!!>325654&#"#߰Bvz||яLmedY).ПĞm&vq{N@ HE221@  I IPX @8Y02&#"!!327# ǟ 2ғ-{FViګVH>=o{VyLFVyML`6@!E  <1@ /<0356765!32#!!%2654&+L8DثX^x~~~ŷ7oPv_ZZ^`8@E   F2<21@    /<2<2032#!!#3!2654&+N޹"\~~`7`73_ZZ^/:@N F<221@ /<<20#533!!>32#4&#"#߰Buʸ||яLmed*m&voyk&C]=V&^` )@ F F 1  /<20)3!3!#TfUf`3s43276=332764''3#"'&'#"'&4673I}rHGFFtAGCT_8d{{ђed''dey{d;]TCZmihhimw'AFf^^^^F'`V!2#!!5!53!4'&#!!276XNpqONDNOQQfDCDC$4&#!!2!5!3!!!2##~~EE^͓uʣ+#3376!2&'&# !!!2767# '&SvwhfstgFtsfjwvú 9$#G_//wƪ//_H$$O{#2&#"!!327# '&'##33676>\" , Ux{ z{FVAW^3VH`3ʀ !#!#!#3 73` !#####3 Ñkk`_ !#!#!#!#3!3  o_<9d7`!#####!#3!3 kÑkk`_s##767!#'&'!ʓdսxQPtՀ`>YY~b҆12z(k{`! #4'&'##767E]kKV:VS8V‰Jl&VtO\KtU'4! !#'&'##767!#3!PtՀ`ʓdսUn>qd2z Y~b_49n(.`! !#4'&'##767!#3!7kKV:VS8V‰]w&VtO\Kt`?sVszS#"&#"3276&#"#"'&54763!27654'4327654!"567376767632'&#"ssD#`At bTDt;<}J5?u_hFAXVRuťޠsj#B#' "2ZbrRUgr %',azQ^XRj7&6J- @' WoWdE\`[tO#"&#"32632&#"#"'&53!2654'&'"#5223 54'&#"5673767632&#"vmDPb!',-cX;b12i?,ZnN .rr. >._- > ^ >‘  tӪ ҫ q{&P%327654'&+"&'&'#";67>2# '&5476!36767623 !#"'&'&r-HVV?- ,4, -GVUH- ,4 .xt. 4 .wt. 4 `ta  _tp_   颈   袉   vt M#&#"56763 #5765#53#"'&'&#"#"'&547673!27676323 4'&'39vZ^Nzz%G!ft[na`zxz{n[tfCGo~[U]LKfdKJ]U[~oFCP/L&+CYg,'ID@@DDDk63366336Fk :#&#"56763 '5765#53!"$"# 33276762324vZ^Ozz$F"vrTRrƒ>IxddyI?В/L&+CYg,'IP8[ 77 [8Gs3 @#'##'##'3276=332764''3#"'&'#"'&4673~d2222222dhI}rHGFFtAGCT_8d{{ђed''dey{d;]TC3dddd'mihhimw'AFf^^^^F' &#'##'##' 433233243! d2222222daƏ˪ޏƛa!)ddddR@O@+sV'!# '&76!2&'&# 3!#SvwhfstkSh$#G_//ӂqV{! '&576!2&'&#";#UQQLNONPccccɖ#+qr͹rq;'''7'77'77did}}didii}}}d}}}}dBz/!"'&'&'&547676763!476767623 8  8 g    ) M #&#"56763 v][Jw}$)/K'*Ca"53#7 a#55#53gF` &3@MZg#.#"#> #.#"#> #.#"#> #.#"#> #.#"#> #.#"#> #.#"#> #.#"#> v aWV` v "8v aWV` v "v aWV` v "fv aWV` v "v aWV` v "v aWV` v " v aWV` v "v aWV` v "AKKJLQKKJLKKJLKKJLKKJL)KKJLKKJLKKJLX- #)/'7'7'7%'%53-#%5#53 3#kyo\wyo\zV\Ly[`@¬@_ӤRӤRZy\yW\zn[wyo\ԤRԤR߬@¬@Vm!#!3!3#332673#"&3jv cSRav ժV 6978w{zV8!##333#332673#"&{v aWV` v }`9VKKJL!!2#!#535334'&#!!276N訨ʨONDNOQQfDCDC&E 4'&#!!276!2#!#5333>CB>ytts9L^*..+URRRя>'+#!2'674&+327'7Uj~ rGj#u~{Sqrے-,9/~V{)%'7654'& 32'#"'&'#367632*nOSTTSSTFoWl{XY::YX{ ]ststsjts].01d d01j@ 1/03!3!)2$ F1/03!3!`:33G )@  <<1/<20!!5!!!!!N)#l8U` +@  <<1@  /<20!!5!!!!!?`۪ f#!!!2+5327654&#)qmL>87||9ժFwrKK"V `#!!3 +5327654'&#rFRRQn!&&1`GQ``07 )(33 3## # # 3׈)D"AMF`33 3###'# 3?nfz!n`QL6mu&z9u|&z3! 3## #E#A`33 3###Tw8sŷ`OL5373! ###ʭd_dTy%u`37533 ##5#`eBTse``avFOQ5a!33#! # ##53ʨ_ʨye=3!!3 ###53dTsŷ}}z}5OQ5}2 !5!! # #=_+y*` !5!3 ##8TsŷƚOQ56@    8 22<1/<20P]3!33##!#"dA9@`1@  F   F2<21/<203!33##!#W`39L -@   8 221/<203!!!#!#)"d9` +@    F221/<203!!!#!#W`3ͪJft#!#!!2+5327654&#;"rqmL>87||9+wrKK"V!`#!#!3 +5327654'&FRRQn!&&1:`GQ``07&.s-'1?%&47632327#'#$'&76!2.# 32767654'&#"Ed`_fJxuTGIRDLżSu^\yI0a++IJ++}}֝s?] bh$">7^覤.$?xEGEFyqR{ ?%67654&#"&54763327#"'# '&76!2&'&#"3W!V0),3MNNM'8HeZ>FR5<UQQLCZIUccUTqHT*.N›WXXW,4#qrtssu''z-qu{'z %3##!5!!A+6` %3##!5!!xB1BL<=V`o@  K TKT[X @8YKTX 8YI:9120@BKSXY"%#3 3;^^DNl!#!5!53 3!ssf=V` !!#5!5!53 F;^^`XXNl=;%3## # 3 3p\Y/su A{+3;y`%3## # 3 3q!r))kLHJqG%!33#!!5!!+A+B`%!33#!!5!!xZ9B1B9L|%3##!"'&533!3_qm||x˪Awr7ٟd`%3##!"'&=33!3f\45h)L _Vu;;#"'&53;333###;qm||֐wr7ٟ9d+`5333###5#"'&=3f\4+ _Vu;0$@  21 /<0!2#4&#!#z||f9dK"*76! !!267# '&'&=3%!&'& ":Cppoż vzKB@bHam`_F$$UgkL>D9||f{%."'&=33676!2!32767'$'&&'&#"XY`09Jt⃄ fgjdcbchneNRS]\RZF1!&łZdc4*ZZWWu'Guf{'H,(vm'[uFH'f532+5327654&#!#3!qmL>87||qwrKK"9wV`3 +5327654'&#!#33^HRRQn!&&,%wGQ``07$)`6V!#!567!3#:bCux+8.%5ժV.V+`%3##!56765!s{{v^̳;bVdžf;%!#3!3+53276q"L>87h_9dKKV`!#3!3+53276WRQn!&`3``07V!#!#3!33#;"9dժVV@`!#!#3!33#W{`39V%!"'&533!3##_qm||xɪwr7ٟd+`%!"'&=33!3##Hf\45h)p_Vu;;V%3####! !+-}-VV`%3####! !H{˸ʲ>?V'P`yOh'J+1@oo]0{-&O"+1hN&u  +@ 0?  ]1{-&jR -( +@(o(P-_(@-O(0-?(-( ]1H{o{m'u@@]1qH'@p]1uQq{uN' ucq&jTd(vN'QuF'jN'u&j:yXL/`T31'q;y'q3N'uy'jsN&'u +@ @O]1qu&js +@ @O0?]1saqu{7sN&s'uqu&tjso#N'guq&j#1'qr;=V&q^#N'ru=V&j^#k'ru=Vf&^N'u&j^j %3##!!)Aժ` %3##!!rL`FN&u&jGV!!!!+53265!!5!!)#iGRiL+`na8VU`!!!!+53265!!5!!U`nFRjK۪`na=f+%+532767 # 3 3*SfL>7( ^Y/su bzK5sx+3;Vd` +527>5 # 3 dkkCQO5r))`&9as mHJq=;3 3!!# #!5!suNt\Y+wD{;y` 3 3!!# #!5)) ~q4H 3!!"!"$54$3!fONDNONNCD#CD+fq` 3!!"!"'&763!5>BC>9sttyLZ+.i.*RRPRUC 0!"32765#"'&54$3!3327653#"'&NOO_KV! 3j^nN?4pi;?nhf1CDP_m}`61f[JJOZxx9qs` 0!"32765#"'&54763!3327653#"'&=C>A@j\-1C]^fety>dhd.*^\:9m4l01a`RUaPOORAsxx%74'&+5327654'&#"567632327653#"'&'&\]OOQRSrsdeY憆GGRQ?4pi;?nhf0!JK;$& hi|UV!bb[JJOZxx8PaF|54'&+5327654'&#"5>32327653#"'&NHtCDFEwGQPabLqr<=ih<>dhpb8f83,-F@.. NO]@AHOHXDEORAsxueV<)!#4'&+5327654'&#"5676323#s\]OOQRSrsdeY憆GGRQJK;$& hi|UV!baV|)%3##4'&+5327654'&#"5>32ȻNHtCDFEwGQPabLqr<dhpb{v^̳;b`WORAsxue{-`327653#"'&=!#3!zgh<>dhpbW`WORAsxue{`3s# '&76! &! !2653d-|e'%{9!Ҏ׿qF{76!2&#"3253# '&q кĽbZZb/n||r|r|>禞f327653#"'&5!5!?4oi;?nhin+[JJOZxx}q`327653#"'&5!5!x>=ih<>dhpbB1VFEORAsxue{~{R|BTf:!56765!+532765pfb:WxM?77+80dKLLVs`!56765!+532765{X^̻3DF1a.&oP}з0) F@   8A!p] 991@  /2  9033265332#54&+! '&ˮ® ,gQ]*-呐u\GCF1l[R.$)K@  8Ap]2<991@  /Ĵ`]0 ]376! #54&#"!2#54&#!$ˮîXgQ$9 𝶫F1l[%D@   8!&p]<2991@    /<<0O']32#54&+#!"'&54! 4&#"3)GgQG*ɟn(!ˮî5ZrF1l[=ó|#ӢI|H@   8Ap] 91@   /90O ]32#54&+#4&#"#576! YgQGˮîːZ`F1l[O 9$\)#3!2#54'&#!3276=3! '&X_`07QWWWWˑ呐1[[F1l*1jiij 9㒕$2%!67#"'&543 2#54'&#!3 7654'& f<0I|q4_`07Q5˧OPPOOPP'.ƪV][[F1l*1LL]]]^^]])D@8 :  2]99991@  /0%!2#54&#!3!2#54&#!}gQXgQF1l[F1l[)@@  8Ap]<991@  /0]376! #54&#"!2#54&#(ˮìXgQ$9 $F1l[-:#'&'&763!&'&#"#76! 32#54'&!#"327654:gimINK(*WWWː\!%_`05л9:E5:. rs TfLQR2jjiu$[[[F1j,1i--Q@+#! '&4763!332#54'&)"32765pG혐nG_`07TZ5WWWWܕ.|n[[F1l*1}Hijji):@ 8Ap]21@ /09]363 #54&#"#ˠ(ˮ;dK2V 3@ : ]991@ /0@0P]!2#54&#!}gQڶF1l[327653#"'&!#3|%3x*%qXdq`>WWK7}bbpiOA$3! '&7#'&=33!2#54'&#%" 76'&ɼżg``07Q_`07Q|y&bc\[F1l*1[[F1l*1 椤)!## '&33276=3)ˠ혐WWYWd+&jiih) !2#54'&#!5 uw _`07Q1k,[[F1l*1f'1?%#"'&543267#"'&543 327%&#"32 7654'& oUIeβr0I|q9I9~dX/? 9.YOPPOOPP@$2iw'.ƪdkWM( ]]]^^]]?@  8Ap]1@    /90O]%32#54&#!4&#"#576! )GgQìː!F1l[ 9$\,3276=4'&#!#5354763!!"!2#5# '&WWYW07Q `_# Q70X_`ˠ璐ijjgl*1[[1*k[[Fd%!! '&332765!2#54'&#)呐WWWW_`07Q& ܕ$ujiij[[F1l*1S" $53 6&#!5!2654& #4$ 5JRS覥A ++.WHNMItYa[J\n@@  81@   9/0326=3! #"&=33®ìGœgQm 9-!F2lZ) 3276=3! '&576%7%5zZ[WWˑz=s9W/hiik 9ψ&dAU)7@  8Ap]1@   /<90]376! #4&#"!ˮî$\uB)4'&#"#576! %5%$76aZ[îː 1y=\gW/ίgj 92dAU##576! #4'&ˈKuˮ9)uBGlP| 9\̍P0%&'&43 2#54'&#!3!767654'&'& Eq4_`07Q5e, 7OOPܪƪV][[F1l*1L,@B@^^]t~H@   8Ap] 91@   /<90O ]32#54&+#4&#"#76! YgQGˮîːZ`F1l[Ou$\)8!!# '&5332765332#54'&#^혐WWYWG_`07Qd)jiih [[F1l*16).@  8Ap]1@ /0]376! #54&#"(ˮî$9 uS0@ '&53 7654'&#""#6767&'&5476! "327654'&RQJRSSSSRefg#RHJIIPacIJIJcaW"ccttstNMMNMMM *c" Y[`XX^[Y01YtAAAAtY10 =@ 8  Ap]21@  /0 9]54&#"#363 3^ˠu2;dss3\,<47632#"'!2#54'&#!##"'&=337654'&В􄑑I_`07Q _`07Q*]WW]_WW_rsppzzpS[[F1l*1=[[F1l*1A>T]=BD=[V>Cs2167654'&4'"!"'&'5&'&547632qG^CC95+<&0kljxw{vEB[eK[ 4D~n>=>@%c3A +mlpp/E# ,,W`aru~^#33vx%"#476327653[RBhj[RBhjTDDjlTDDjl}fC^7#47! !"33254'&'#" q3U7a\ "9S A5z\&NZ%3!Z}4bb&^@PP F'<91@  #/<<<290@0(P(p((((((( ]%#"&5332765332653#5#"'&E``ruSSrw?XXyzVU|:<b`^zbzh02>>Vd{?@    N  F22<1/90`]54&#"!!#3>32||Buܟ6V edqV{ <@" GE!<221@  !032654&#"##"3253!!/+:||:Z/\RdaDDadOV{=@ N  F2<1@   /<  90!#4&#"#3>32!d||BuZVH`ed X?@ NF2<21/90`]3!!327653#5#"'&>>|TVCuddZL PO_b;fcxxqV/{<@ G E221@ 03!#"325332654&#"Zs:||:էRdaDDad,@ F<1@  /0)3!!32#54'&S[zM`01LI[F1i&&Vd{>@   N  F2<1/90`]!4&#"!!3>32||VBu ed\V6{ )u@ +G  F*2ij$!!$ISX $<323#'&5476#"3276#§:{5`4xBdBJ4/' daZ+h|{Nvqq<q/ 4@ ! GE <21@  <<0!"32765#"4763!33ƈbOMSK}<zaksC+D߫LVd5@  N  F21/90`]#4&#"#3>32d||Bu\edV` @F1@0!!3y^ VI@  NF221@  /< 90@]32653#5#"&5!#3||Cu`a{fcLq0\@ 2 $G,E1Ĵ,1@ 011(1<<0!""<<!<<#"327676''&5476;#&!!'&'&4763[AS].SD81N/Vɮ!qZsIR\++(VL-%)$?뮘VX:@     NF2190`]332653##"&||CuZ{VfcdKqZ 4e@ GE5<@ (''*%%*39/ 91@. '/ 90@ `6666]32654&#"#5#"325&+"'&5473;2/nD:|WCv>!%7)/kPըdaDE<6pG5P0,!K7V9{;@ N  F21@   /  90!4&#"#3>329s||BuH`edTX-b@ (N  F.<<2 -9   /1@%/<<! (90#5#"'&=47#5367$732%326=4'&#XCubdzzp>BiO>AycW fcx{Iʪ`&$%8vJMO;) +?@-% $NF,21@ &$&)$/90332654'&/&7676;#"#5#"&|| M.=<(`Cua p0.- */(fcVy`2Z#G@%  N!$21@  !   /<90;32653#5#"&5#"'&5476;#"||Cu;^PZl}YYa{fc^PzKWV{!<@ #E F"<2<1@ ""0!  3!!"'&547654'&#"#4632/Q@'$C#@l;qsDE E+G56dZY0Y^cԫeed{QFV;`%X@##'  &9/1@#&&990%   ! 3!!"'&547676/&5476;#&(3W:'$F[L2se`6g+! E/>A/(32||BuƯ`ed X`XV-=@    NF21@   903326533!#"&||sCua/Vfc{%i@  PPF&<<1@ "  /<<9  90@0'P'p''''''' ]3>32#4&#"#5#"&533276BYƸ||zUVCdȸ||XW{ed\_`fca_\Vd{7@  N  F21/90`]#4&#"#3>32d||Bu\ edqVZ{J`@F1@/0%!!3y&"`V%k@  PPF&<<1@ "  /9  90@0'P'p''''''' ]3>32#4&#"##"&533276BYƸ||vYVCdȸ||XW/ed\_\Vfca_\V{$U@&E  G/<2221@"%%<<IPX32#"&'!!#54&#"326չ:{{:+Īdaad)qu{RzV*"-6u@83 .# *E7<<<<<1@&7/  "7<2#99#93.  90#,<<. #"'&'53&'&547632##4#"27654'&,Dd%Kcfep_{5S#al~EU@<%I]7_E8BQ-a`ta2N-bliZn!vFDs:#+IJ>8@    NF21@   /90332653!!5#"&||^CuZ{OfcR@<21@//073#3#R` 27#"'&'3U oo,rrONcAUUWDC <21I:03#3#D-dC'KRX@8<1YC %  <<1@  <5G.i=dB]Gg`":T)yX` 1  /204&#!5!23!5!&nZͦy–1CZ`E 1B /<0KSX@      Y4&+532##n̒[^ޕ<S"Xh` 1/20#!5!t/яd`"@  NF<1 /<0!#3#4&#!5!2snvy–t`F1/0!#3t`X`   1/205!"#7XNrXGяy Kd` @  NF1 /<0!#4&#!#!2dny–/``(@ E1@  <0332654&+532! w`ҏ/t`F10#3tXV` NF 1 0#4&#!5!2nV#–X` @  NE<1 /035!26&#!5! #Xt뒦X&@  N F1 /04=!3!#T[CLzld` @ N F1 /03!2%!4&#!6n`–X`W@ F991@ B /<990KSX@     99Y"#673632!5!4&WWHFdaxѧȠ˨Vt`F10#3tV X`   F1 /04&+532!5!ny–X(` (@  E1@  20#5! %&>6&+" я0D_ЎNO`U@  F991B/2990KSX@  9999Y%67676535673VGu",:pΈLƒ4U}*p>1=!"$Vd`'@ NF1@ 0#4&#!;#"&5!2dn\pTQV#–U;zdd`)@  N E<1@  /0! )5!2676&+;#"&5*4{\Lwuq`U;zCVp`@@   F91@ B 290KSX@  Y#3>=3#q_V`}՛C!`H@   F991B /<0KSX@      <=3!5!CcMgXC"`ԛ:V`'@  E<1 /0!#76654&#!5!2#3l)WzB'*˺u,/HVv.4X` NF 1/0!#4&#!5!2ny–`,@ F21@   /<<033$763 76763) :0nLaT`Sl+7`'@ F1@  /<20!#4&#!+53265#5!2ndDrL~y–a; `' `' `'`3#`n`3#3#`|!#53ӤR@ 327654'&+5336767N5G4pQf$h?FA@6b ! eI(R[2* #53 3#ӤR%@-$%#5754&'./.54632.#"'/XZH߸g^aOl39ZZ8{4<5/VVL89CFnY1^5YVeU"756767&'&54767632&767/SD435gcbnZdF31`9:H:ZU!LOTAKv?=0ps2#Ql '^5']>Ry3#&n9&P &n&n (f&; (f$3  !27# '&5767"$JKԖ^`e~h'?6`vc–e4- (&;?}R%67654'&'3#"'532# b&?q  ?%#&'$473327676'&/3327653323#"'&'TPxmil_Qb_y^@@$;sR,%@n\Kf% I01_2F,k>GHܳ&%0l}=J"5^.327654'&'&#"&#4763&547632#bzL,5;(.;Dn2KxAZM\MObxX'*9:X DD(NOf7*(?$S-8APH&? "327654'&'2#"'&5476B!799[]KB{ƶ`Q%T*WE{R,,9.UMAx|KU#JN @ &"34'&!5 767"'&'&547632?,3/V%._]g>v-(tYhYH9!$3/,;̠X*VL_ !"bWg3ZfJ6%#"'$47376767654'&'&'&'4762#&'&'&VfxH?Ba=~T;~BrC:@_` B(EN><}9M I&huqc- !P85J.39sJ%*==!'&"7*S@UYD J&R $5%5%HHnnnn$&567&'&54763233"/#"'&5332767654&#" %!lE?I(7 /4KU^r8Z #08 " -d$* 9^W4'6O'&n=NV)qaK" %$5%%5%HHnnnnn$5%Hnn$-&'&5476323"'&'#5276767654&#") lE?I(7$# +EȓV " - 8_W4'6O -n=*{nmp" %$5%Hnn8(#"'&54737676533254'3'&!9EO)"a 2=`YG g -SGL(E?4mmb}8T"RY$6îs9It6Y ! 4&#"32>"&462X@AWWA@Xz柟?XW@AWX栠h732767#"'&'gC*6:)kXZZC5"LMD6{S )L}@FOwpO p 4373ËF3# !#'3%1yI !nR#'337673#" %1BR{6)coajr!nUPymL%#'37676537653#"' %1/(/H/; 'G 44.5WY9!nr|> @2%,*;l>3  *"2767#"'&54767&'&'&76#zf\MOYp0;JcX~VI|eepdkAXH,7p 4C@#90L@rRiUZhsBBsǮuu5aU#'#"'532N%bU`DK*22<!&'3673b~ĚZ00ZĥxU:Ũ ;6I<3#&'#6̴UxĚZ00Z~bI6; :d#"'&'&547632#54'&#"=:i_{\ %Z[,,G\O98<SGU37e{a}UwnWl42@B^!x$%-`+-!d! M fM&n,&n9 &n9 &n'&n &n&n &n (&;]8 (&;? (f&; (f&; (&; (f&; (f&; /',>? r'_>? &'_? &? :654'&32! '$&73! 76767#"'&54767632)B,4((7(*Hnق@AZAd#?zKbNLZB`.+M;3*)3P&ڴF=)d \^tL"9;l&NKCW4,E$2Hf6&x~&xx)-%2767654'&54767#"'$473$62 #dGf>5?AhXPA7.EB|=Q#!w*6(  %{{qeVUI&b \^~B")+&&M_H#"'$47332767654'3HdnaPm/1]]LGL"fh8D%jdQ45b`ޜ ('&;? @r'_>QJRr&R_>P`aRbLcR%'&547632&767#"'#'3X\lTX\D8/0E= %1Bx:=$!"4'Qjr!n8j$(327654'&#"327#"'&5732#"-2!WZWXZV%2-Z(.5__52ZJkV0B7,g`p5oU%mao3/AbM3))I<g<hdi "32$  h P3343ssyzZ %!5!3%=Je+HH= 3!#3ulh= )5!!5!3=lȪ= %!!!3!l =!#3!=l*=!#!3!=lcr8A#3ASuNA %!3!#N{ 2>4."#&'.4>329[ZZ_PGr䆇䄄rEMp`77`p_88 1ŧbbŧ1 y3#+q! 6&    z>z='3#36Q*=q33# =qCq)3!39Uq"q!5!!59qKqO!%!!5!&'.4> 2>4.":RJr 惃sKRQ[ZZ{ 1ũbbŨ1 p`88`p`88 3"3#!5!p9 fq!#!##"&5463254'&"3qvC^]8m;7^:<֜fɃ]8j\D?D #!!!y5!Փ/= 3!!!}5!Փ/ !!27654'&'2#!3,R4,,=iXXXlι]Oz}I__ҭ$#4'&'5!4B 5McAq_9V= 3#T!!3432>324&#"!4&#"!}x5%^ZHZlK--Xh&|ŕnc= !5!3!!#KK?=!!5!3!3!!#!KøL=??q!!9UqqK=! #tFC00B~+n 327654'&+!2/!!m]%i ;@ED\TqQE=4."XErrJSRJrCEoJ[ZZO{ 2Ʀ1 { 1SV/p_88_p`88}#!#}+B} #!#3}Om !%!!5!!z;  TKѓ+qO $2>4."%#&'.4767673 [ZZTXErrJSRJrCEoJR"p_88_p`88 2Ʀ1 { 1SV/ qO(#&'.4767675!5!!2>4."XErrJSRJrCEoJRNQ[ZZP 2Ʀ1 { 1SV/ p_88_p`88b/!!VBf#"&/#332?E=9Qct2 %xf" %/x $Dp3#=f3#'#f[f!5'3{Bf3326?3#'#"&'Bx% 2tcQ9=Ef$ /% "[f5%3%[{fS3#̭F'3#%3#\yu#527#53gu3"3#  gd3#!!Mdd 3#3#!!Mޒ'!! '(033!!3'#67654'&67654&udruxtNMddx>DD>xIIv! RTxXY`aw,0dc1-!:;z{t{*L@$% E+<<<<@!#91@$+<@ (+0%"3254"3254#"54!#"543263 #4#"h??AA??A'+,LW@@@@@@@@pطQQ9/@@1(. #E0<<1@!0%* 00"3254"54$3  !2632&#"# 54-654!"`@@@CvBըiUv˫:knL?o@@@@N;Ejfae:.88U8327&'"254"%47&5476! #4'&# 63 #"'632# i60IKhh*)7!o^RX;*:9u`/'"6OfqAtqLI $\9.ȶlQ!6@   E"1@"  "0463 #"&'7325#'&&7'6met "xCBCquЍ h! ACBB )"32654& 4''&5432#5476$ % U%|{e6Lj` %"%:yx~)RhKK>  8"32654&"5454763  !27632! 54-654!"`$ % #琺By#xJi:OknL?$o %"%yKqjPbfDQcwiC|87Vr ,2654&'&3%$4567&7'7$!% |l݁6ZA $! $?=Qm-G4 {1@ F1@ <@0%"32544!  #"54$32@@@)@@@@Pvv .%"32654&672#4#"#"'&#" #"53232l$ % L 7*>(z*M#6&8"$ %"%3|0ۯqiPWu|+?@-$'+ ,<1@ )!,&,<0%"3254"3254 #"5#&767663 #4!" @@@@@@!Ӣ7y-^@@@@@@@@edm%W ,"32654&4323254#4%$7"@$ % 쐋'(uj %"%@կ̰Xsjf\_"9@ $ E#1@# #<0254#"53265$54767653!"'#W@@>z]U]iTrs@@@@pegu/ssHs|2@  E<1@  0"325447&763! 3%$5@@@ԶMg@@@@R&Ѩ'LBHs2@  E<1@  0"325447&76! 3%$5@@@ԶMg@@@@<%Ҩ'hBY E"32654&!"32654&&''"&5623253765$7465&'7$ % $ % Kfg饤IJ %"% %"%IKbv4ˋ42@7-]fn9h%?@$ F&1@&<<@" &0!"'# 432!32533253"3254hfg襤>@@@ JJ=|\@@@@@h} -"32654&2533253!"'# 47&5432d$ % AfgB %"%4˩/JJ=%܉Mh -"32654&2533253!"'# 47&5432d$ % AfgB %"%4˩JJ=%܋L@`$@1@  <<03!23! '#"543225O)3Ɯ)`,88{r +2654&'&%$3%$4567&7'$$!% |l݁6Z$ $! $&=Qm-Z$ ,"32654&4! ! &# ! ! '&54323 c$ $ 6buUKX $ $8${nE{N%N 0%"32654&&'&'&7! 765! '676%&4% $  ,D (={{+@  E1@   <0 ##"2#"53254#"n=;C>@{jVR777r&@ji! ! !5 74! %&?%~?>~@i! ! 3!= 74! %&>%~?>wJ~@ji#5! ! !5 74! %&?w~?>~@i#5! ! 3!= 74! %&>q~?>wJ~3"36654'#"5432AA\(DeN[̼o[$N[u%@ /1@ /0"3254"547&54323253r>Juum@s> [yu?{EBXF_ '656%"'&76! 4"3YVA!. {x9322674&#"CCjFPH OQ$!%!p'(FnJv-O!3] $ $z{&01, ("32654&&3 #"4/&5432N$ % s $ˌeqɘzm %"%82y,v\#"6@ E#@! 1@ ##04$54%&&5! $#"57"3254ix@@@X4|`Pٳ ?@@@@ ""32654&5&'7!$#"47#$ % dt.; %"%Ȉ_p 8>u%t/;4#"#"'&#"$#&532327632! '&57"32654&"3C2z7J,"/IN\=0BWTO3H$ % Xt\DD\t] 5<\UCfwpv  gH %"%V@/1/03#V~!'@ /1@  /<0'6"%)56574 65+*+UGm++),}݅.p\(>.4"!27676327673!#5654#"'&'&#";&543.%2~*&IHHܝBOg(LBC]i%>e>.`h>3A?~= h\$kb8:;-F_Zkf2)N !@ /<<1@ /<<053533##5N؎؎؎ P>r@ /1@ /0432#"73254#"ЄLTPPHHH` " 7654&' ! '&476^L:NbX1coqoh`WĒcg&24764'&#"676'&'&5476  pHgc/5pIu upHECle\gUܚsuϨcy\$24"27#&5432# '&5?$5+r%3]f́|pHFPfouTapH/%24'$5432327#"'&#"%$'#"54322533]L/|tkZ1AQf(3Ɯ)DjR:jTh8KOpt$68{cW%24"$'&5?$532&'&32!r|T9lc ~x?LvTamY<KcW-224"7&5&326532&'&32$'&324!B}b$|T9lc ~xr=Ch(筭 ?fXmY<KLvttY4@'&''"&54323253765'$543227#"$#""32654&fg饤u ^|uISL\>$ % ,IKbv4ˋjEaTW8ҋ %"%{ &%"324"324#"54!#"543263 #4#"h??AA??A'+,LWpطQQ%Rpt MU"32654&254"#&76767%4#"#"'&#"$#&3232763276'767$ % nnvp+-"2D2z7J,"0IN\=0J%.3?5xv'Q %"%933hk//3wt\DD\t 5<\UCrTF-2bG;"b,i $5354#" #"524"m~ŶejsX\|9~ KW"327$"3273253!"''&76324%$7&76%$5+&76262654&'&A?A?fxԅ$8$+Rb,7Hu Ӣ5r$!% @@@@@@@mӔJce$3- /ԋu cd $! $~ H"327$"3273653%"'%5254%$7&76%$5+&7626A?A? Tcb*@RX6&$Hu Ӣ5r@@@@@@@mo6J,/7'- /ԋu cdPi.".54>7!5!!"32>54&'7i7eȬd7&KlGqǔVX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#Bz_̀#R3IK'E %@  21@  /90"32654&#4$32#&f̲_ȭT#R3{O'tF> (@  21@  90%2654&#"3#"$54$3Bf̲_ȭ벃F>O'tFN'u (@  21@  90%2654&#"672#"$53z_̀ʃIO'5t'F'?'~'|?O&~O&|'F&O'FO&?'~&|?O'~O&|?&~  $~ ]21@ 02654&#"632#"&53XP^J\TaaQ_VFTHUGQK})~J8 2654&#"3#"&54632xOaT\J^P_KQGUHTFV}i~F'x'F'x'F> 1 /0#4$32#4&#"#fK'E 1 /04&#"#4$32f#O'tF> 1 032653#"$5fF>O'tFN'u 1 03#"$53326f餗O'5t'F&?'~&|?O'~O&|'F&O'FO&?'~&|?O'~O&|?&~ ] ]1 03#"&53326yaO\T~JPML 32653#"&5T\OaQLMPJ~w:1/0!#!5!)+jK'Ej@ :1/03!!)ժjO'tw:1/0!5!_++wO'twN'uj/jO'5t 5&w'&'O'O&5'w&6O'wO&' & O' O& & ]10!!3 nC ~21@  0! $54$)!"3͙ nn{3!5 nw} (@  91@  20"32654&'2#"$547!5__ȘLӦnjFY 'iFY} )@  91@  20"32654&'!!#"$54$C`^ȋMӑnj 'i<w "@  91 /20%2654&#"!5!&54$32__ȋfLnjw'<!w'<!FY #@  91 /20%2654&#""$54$32!C^`șMgnjFY'T<$H}'w}';3'$FY'y$3'%FY&%yFY'T<$\ 2654&#""&546 !j>_IEcI_(0MJBSKFXCIn~|Q;n."&5332653ܨabaaJPMMPJ\ 2654&#"!5!&546 _IcEI_>jm0(MICXFKSBJnn;Q|~w 1 /0%2654&#!5!2#bŘ쥒FY '2FY 1 /0%"$54$3!!"Cꏙƥ᪑FY'<2w  1 /052#!5!2654&᪑w'<4w'<4FY 1 /0"3!!"$54$3CbƙFY'<7H'0w&0;3'2F&213'3F&31H'4w&4;H'5w&5;3'7F&713'8F&81\"3!!"&5463RiPYnvDZHCn~}w^ %5-5 ^j22F  ? 1 /0!3#$53TCc Xon2K' EK @ ? 1 /053#3  cCT-ncCO' tKF   ? 1 /0%#5%3# c--noXF O'tMFN'uM @  ? 1 /0%!#3#c-gCcnO'3tP'IF'I'K'KO'LO&L'MF&MO'NFO&N'P&PO'QO&Q&P  ] ] 1  04&+3#XHǜV+.#"#"&'532654'&/&'&54632Cw7Bh#-8GC>=JGBAm'./G?;=~ÇH)@@V\`RʺªV\`RʺªhZ·%XhZ·Fl632#4&#"#"&3326tҪºR`\VҪºR`\VX%Zh۷ZhFlO'teF'32654 !"/.#"3"54!2!rz|K٬42 swUҤ'4X˧|`í~pX˧|`J3~F'<gF'763 #52654&#"# '4!"326(24׬'Uvr!24֭٣K|zsp~ȕ`|Xp~8=`|F'<i&dF&d'eF&eO'fFO&f'gFU'g'hFU&h'iFU&i'jFU&j'>72#52654&#"#"&'463"326[*'sobI=J>",BR\*$jt_UV) '2654&"#"'&54632! 33265,B:d:B0<~JIjˮîB,">>",BVU_tjN*$u) '"2654&'632#"&5! #4&#",B:d:B0<~JIj!!ˮîUB,">>",BVU_tj$*\) '"2654&74&#"#! #"&547632(B:d:BB®!!jIJ~<UB,">>",Bu$*Njt_UV)O't)O'tS^$264&"&546; )5! '&Vhf# fw_:@ 91@ B /90KSXY%4$32#4&#"!7g#ʲfhXdfF.=@ 1@ B 90KSXY#"$533265!>ʲf"fw_?@  91@ B 90KSXY '!32653#"$5g"ffd餗 K'  '  O' ;';O' '  O' ( (2654&""&546323326=3#"&=bFntnPX/Q,CEmaZT:KMMKFHn|ppX;oBGj9$ 3>2654&"!&546323326=3#"&=!"&54632!2654&"bFntnP?+/Q,CEmaʔ/bFntnPZT:KMMKFH;XppX;oBGj9|ppX;T:KMMKFHFY<@   91B /0KSX@ Y!"3"$54$3!7YꏙbXhUFY'<w8  91B /0KSX@ Y!26544#!wb gXw'\<FY:@  91B /0KSX@ Y'!"$54$3"3!YhbƙXiU𥒥FY'i<\'%!"&5463"3!\=.̞RiPYB~}nDZHCw%#535!53!3##q=ԭ-!%#5#53!3!3=~0Ԥ!O'tw533#!#5!5#5q=-ЭԤwO't!5##3!35!535=-ЭԤ!O'Vt 33#!#!5#53m unfy~n ,@  221@  /990%2654&#"672#"'"#3z_̀ٷ{O{ʃIH+'sZ@  21  /0# !3! !5aPh//+jiN !!!5!;VnVN#5!5!5!53!!75$i2$i*mւVxnVnՆu!s #'#37 ͉sH+'Y &s & O& 7& 7O& & O&=` !#!#3!ff`G [`3!!!!!!!! j /t`Ӕ&{o{4=J%#"'&=!.#"5>32>32#!3267#"'&32767%2654'&#"JԄ℄N ̷hddddj||MI؏ii~ST`Te__ZjkSR\]i߬A@o\]Z^Z5*,=>` #% 54)3#4+327#!5#53!2x9||ԙf_ڪrĐq{Fg`32654&#%! )s7F0Ǔ$g` ! )#53!#32654&+7F0ɖzٍ`` !!!!!! /`Ӕ|1#"&'5327654'&+5327654'&#"567632p<54& #.54! ì++f++$$>:#tNPƳPNM]*U3MY + 3267>54&#"'>3 '# 5467'7*(Ou))Hn.Mw834OMx43N)gA\*g>}66]C_56`?`q{&/=5!&'&#"5>3267632#"'&'#"'&732767276'&#"qN ffjbdjQGhi񈉉ijBN℄RR\]VVUVVVZdc44*,nmn67윜78lkpĘZYWWsttstuq/u{ 4&#"#32/8qu/ 32653#"4/8`!264&#%!2#!#N[cc[H^^>2`!.54763!##"#676#";jpkla;;?î545w?@@?w iQP%$q2^66**TS++2`!&'&'3;3!"'&546#"37545â?;;a|lkp w?@@?wS66^2q$%PQicQ++ST**<m``$ 653 &53sXٹ};ML+%!5!2654&#!5!#TZ`fcL||BtN5353!5!2654&#!5!#Z`fcxzʤ||Dv/{&#!5!2654&#!5!27654'&#!5!#|vz{\MN`_`gb>> E__ru99wSS?yzVU=`YV5`ZX`]x`73264&+5%5!2 'Ӏ{n Fo}ɽBdd>Jm7{3!!I{/=`N`#!#`I``Z^`367653#5&'&3U9VˆmmV9S`1Ms,}},uMLs` h !3#'!#ZgVXVq`!!!!!5!#!.AeW"___DXI &327654'&#327654'&#%!2#!g1221g̼^-..-^EOO)(N^h+&&MO%%X@? ]65dL.- rUpz 327654'&#%! )[ZZ[vNONN]eefe !!!!!!R-@___S !5!!5!5!5@-_/__H~$5#5!#"'&547632&'&#"326NJYXe|}}|\SRFFPOWWVVWCj]/rssr'y5UVVUL 3!3#!#΀2Wr3# 3+53265A@1(TFDE`Tli 33 ##-<azBm3!!_ 33###|{9="G 33##|_{EEG ##3G|_{EDEH"327654'&$  '&RQQRQQQQwvvwtww[\\[[\\[\vvvvuvG>@"327654'&327654'&'52#"&54767&'&54763sCDDCstDCCBR65<%j<=0ER^X65`l<=ca==ll*6RI)++LK,++,KL++5##,&)$%LY+8:6iG2278PyAAyP87'21I.* 32764'&#%!2+#Y0110YQQQQ))))]?@@?[ #'&'&+#!232654&#=)&''y.,,LPO)*s\^^\$ )(GTD<32#"&'#3t4554455$pMPPPPMp$uuc@AA@@AA86Z[[Z68^gG3#5#"'&76322764'&"Jtt%78NPQQPN874555555S^8Z[([Z@AA@@AAG#!32767#"'&547632&'&#"@AsC?>>>BADbc^]SSt44Va:: 2j88a WW[ZQRmT3210YGMK SX@ 2KSKQZKT[X888Y1@   /0Y5!.#"5>32#"&73267GsC}>?CŻthVau2koamTebXTb2&'&547632.#";#"32767#"&5476G&%HG{065>=f,K,,+*Ib]W-155_;65-9553+,$$4O,, ^$'U13 `fa<))R`1#"'&'532654'&+5327654'&#"5>32FLHG{065>=23-KX+*Ib]V.156_:65-9j2RQ,+ H4O-+]4$'U 12  `33a<))G 14'&#"327#"'&'53276=#"'&763253J44^]4444]^4PP=7633223r99$88NOPPON88$tm=>>==>>FNO e 45k37XX"XX7_z3#53ztttu 33 ##uuZu2u{"4@ $ #32>32#4&#"tHKYhuu'oMLl+yRowtHJZiw[Wk\sa97EBEB~wZXku4@ zx66X6VYYk\sa8BDG 6@ KSKQZKT[X 88Y1@ /0"32654&'2#"&546]ml^]ll]ǁqqpoWGu 67632#"'&'532764'&#"G0336^_]^:5311213p?>>?p3121 XXYY _ ?@@? G4'&"#4632T6667zWVoBAA@qWWG27653#"'&56667zVWoBAA@qWWu#3>32#"&$4'&"27uu$pMPPPPMpf4554455b_86Z[[Z6@AA@@AA#3#;#"'&5#5350Hww33UUPM,V-,vTPn3327653#5#"&nt''N^67tt+78Jy~{Y,-65\c`9nA!5!27654'&#!5!#Ue22<KLg#"FS10gg%dAl88u{(#"&53327653327653#5#"&Q+<=Rnxu$$IZ54t$$KY45tt(78LMlE!"z[+,64\c[+,66Zcb;F&33#&{{y #! !&'3254554#"t nυ9F}攥^ؙ83a _{3#5&+532{t<,||GXG+&#" '&54767&54!232654'&'&yAJZVWVWW!/bL+"766^]l9=P(r(B4?KWXXWr]$,O'(@?Ajp69G  )"27654'&'2##5"'&5476734 )=;67-!XQVVQs~SVV@h)%661FQ:5}t?3XJOZUUXR=\ ,Ajq@:%'#&+53;'&^sa,(^ra,GX]:DFYzg duudnsMd&sPdyoQdsRdGSSdG xTd%tUdV{(!2.#">32#"&'#32654&#"aQQR9||9F,*[cbbc#L)t`5!#3#3!53#53t𰰰त TV/%+53276'7#3/F0j&*06G#367632#"'&$4'&"27tt%87NPQQPN78f5455554_s^8Z[[ZA@@AA@@Gu&'&#"32767#"&54632u1122q>??>q22110h;533` @??@ _ GKv+325&#"47&'&54632&'&#"632#"Z%0\R@5`$^4412/412q>??5{3 * &;/Z ` ?@@biG.&'&#"32654'&7#"&54632''7'37 i:;n\[nO$$ZY drP =67Tb1#"'&'5327654'&+532654'&#"5>32N+,QR2658-56:_651.V]aIV-+K-32==l/|GHL ))unn77wU:8P#P,i/0\+53276=1#533343r,Brrtn x66XU P#PG ,5#"3276#"'&'53276=#"'&54763J]4444]^44tPP=7633223r99$88NOPPO>==>>=۠NO e 45k37XXXXn3327653##"&nt''N^67tt+87Jy~{Y,-65\cO9I 5333##53#Irtggttt\\jz~ ;#"&5C,rfpUWlwI 5!#3!53IMjjo\\E\\I5!#3#3!535#535IMjjjjooo\\\\\\V`3#"54;33#'#"3276ztteztry "3rKNB ,|ssW?#5$ z~3;#"&5ztC,rfSVXlx[`+53276'7#3`34r,Bttax66XS gq3!!q_u{467632+53265&7454&#"#4'&#"#367632+=32#4'&#"43r,B0t*pJz>?t'(N^66x66X6V~a88BDwY,-56\uU 4'&#"#367632;#"'&5P''N^66uu)89Jy?>0B,r34Y,-56\sa8BDzV6X66xq 33##q-{{~G 2#"'&5476"!&'!3276WVVWUWWU6//1w &6^]6&WWWXXWWWW@9\[8E-AA.G&.#5!#3!535&'&5476767654'&OpFVVFp^nCWWCnt6%66%4#76$\\FWWG\\FWWE[*,ApoA-9*A@+Fa:.#"#"/;#"'&=32654'&/.547632;1j8W*,]({44MN9> 0Br34@?>=RX l)k`GF@rb/$+*MW33 V6X66x"j2-*TIX00476;#"+5326z73zno>43r,B0]Me30U:Jx66X6#3#;+5326=#"'&5#5350Hw43r,B033UUPM,ax66X6V -,vTP^!533!33##5#"&=)3276^ntgtuut+87Jy~''N^61\\`9Y,-6/G&5!327654'&'5!# '&54767GE()78Z[78*,?G$"ZYYZ!"J\{':?KY7667YR8>#{\8?>LRRQRR<=:u2653#"'&53QHuDEEDuHPZs{>??>{}ZPz31+"&53?27654'&'&gH#"YZ,rftA Z87)2:08?>LRRlwpU67YQ8C&# #3{{ s7n !!!5!G'L\^=R^7!!#;#"&=!5!G'LC,rf>\^=R VXlx ^7^n#47#5!5!3632#'3254#|`\'Ln& m,7!!^R^=jR37!2#"'&'5327654'&+5!5!hCQ>63``;??C5~Ex>?::hn\& =;M|CD m**PJ*)]R^G !32767&'&"2#"&76So/6^]6/ +66,ǗWVVWVV*MWXMmGYXFovw^wwwv[f!5!73[f3!Px[f#'!5f[f!!#PU騋fBf 3#'#35fxBf 73#'#˴fxh'${-{'TDN's%N'>E&%&E&%&Esu'l'Lvquf&vCO't'qbN'>G''qZ'zG&'qZ&GOw&'z[quZ&Gz'&'qZ'^&GZ&(q^'HZ&(q^&H&(7q{&H7v&(qv{&Hum'u&(zquH&H'zK#O'vt)/P&I @s&*2"qVZ&JI;N's+dN'>K;'+d'K;P&+j@dN'>Kt;&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.zm&F 60gm&'.uY1&'q.;f''q `R}f~f' l `f' l k_Jm' l*H&R'*&Rq$*&R ^*=Va&N 4Va&N l*7&R 5'*m&R 6m&2vu1&2q;f'2 `Rf5a'/ lF)&j `lFRfCV'f& YV'`&VYV'f&[Y'7&V 5OV'7& dYf'-; `Rff'6D `RfNV&6 3sRfvxaH ܲ?]<1 Դ?_]KPXY̲?]90IIPX@@88Y53#7"͔gd10!!dd }dy/10!!dOydy/10!!d8ydy/10!!d8yy/10!!y&__J&BBB@ 10#53ӤR?@ 103#ӤR՘?@ 10%3#ӤR@#5R՘?m '@   1<20#53#53ӤRӤR??m '@   1<203#%3#ӤRӤRլ@@m '@    1<20%3#%3#ӤRfӤR@@m #5!#5RmRխ??9; '@  YW Y <<1<203!!#!5!oo\]9;>@   Y W Y <<2<<2122220%!#!5!!5!3!!!oooo\\3!   \ 104632#"&3~|}}||}3q373#k%3#%3#V #@   1/<<220%3#%3#%3#ki3#iq L #'3?K@D$%&%&'$'B@ .(F4 :&$L%IC'1+C =  1 =I 7+ ! L9912<<2220KSXY"KTK T[K T[K T[K T[KT[XL@LL878Y"32654&'2#"&5462#"&546!3#"32654&2#"&546"32654&WddWUccUt%ZVcbWWcdWccWUccܻۻۻۼܻۻ q r "-7;EP\"32654&'2#"&546"32654&'2#"&546  &54%3#"26542#"&546"32654& WddWUccUyWddWUccU<¹ߠZucbcNWccWUccۻۻۻۼ5ۻ(`3(`u(`&  ,(`' ,&  X(`#3W`u(`&  ,(`& ' X , #'#Rs#G@%Bon29190KSXY" 5s-+#R#I@&Bop<9190KSXY"5 +-#^R^  &K'N''=NO'^O$#5>323#7>54'&L Za^gHZX/'-93A% #C98ŸLVV/5<4BR-5^1Y7| B_ % ij991@  <202$7#"$'56:<hh~vvuw~ign % ij991@  <202&$#"56$6;>nvv~hhgi~wuI3 # #bbc$$v=' {' { 3_!!V_+@B10KSXY"3#-\X 3!!#3hX^#"#JX 53#5!!53X^JݏޏJ&""gJ&"JJ'^"d] 327#%dp](; 2###׎辸( 3+"&5463yv}~}|( ';2+v~}O|}=k {B# #5#5R#۬@n&  =o'  BC''H1a~ 8| #'7!5!'737!!qaqqaq)`rrbqr2 535353,(`$' ,& '  XfN 53!535353fXp fN 5353535353,p  3#3#'d 3#%3#3#3#dipD %53535353#!5!3!,|f  feP> 3#3#3#>w 3#3#3#3#W "27654/2#"&5462332233VVVVVVVz@ <<1@03#3#zttttg? @   ] <291<290KTKT[KT[KT[K T[K T[X@878YKTKT[X@878Y@T /9IFYi       "5GK S[ e]] !33##5!55bf]myf !!67632#"&'53264&#"y^^a`<~B9>>Eoo4h6_ MLKJq ff\/"327654'&&'&#"67632#"&547632X3333XW33331221DD &9:DTTXWll122m45[Z4554Z[54bg KL1LMONuv l!#!liH30Y *:"32764'%&'&546 #"'&54767327654'&#"55j]\655T./RQ./SZ85UVUV56-/.UQ100/SS0/*,+KLV,++]12Hdt::dJ01:7PyAAAAyN98?&%%$A?&%%$S.532767#"&547632#"'&2654'&#"1220DC #<9EWXWXkl122Xf33XU5443g KK/MNoouv rh\Z4554Z\44k !!#!5!Q_i_k_8_83!!'3_a!!!!''^_o #&'&4767TRRTe^///._~g3#676'&ge_/../_eT)**)~~~u0@ 32tNN^luu)qJy}wYYk\sa88WT dC{d^TtdbTud?C dfC d\T dlC dYT dST d d8 d  doif dgif dM8dG>dGGdu!sdG?dV##"32.#"3267!!!!!!Oc%eNLbbL:/667756GFDFG ks9'.473&'3267#"'#7&'#7&'&76%73&'hA>/(%:@w]ayA9&AX}R4>C5Ai<)^_HH?WghйKp(`,%6767# !2.#"3>32.#".aXj]aye6{_]w|^0n&<$'/_HGghGG_^ٜu]\Y!!!!3###5qZpP~WHE9Eb#!!53#535#535632.#"!!!5-쿿=OL=tyB_))HB+#&'&#"#3676323632#4&#"#̪m49wSS>YXyzU6%X\xruxGM_a`f21>&>E3\u"&)''#!333#3#!###535#53355KO8~8~OO4&{{&&{{{ P32654&#+#!233!!;532654&/.54632.#"#"&'5#"&5qzzWQeGl`[z_<`HJU];Ufɘ/ϒjqqR>N#55YQKP%$((TT@I!*##`3E326&##.+#! 32654&/.54632.#"#"'&ٿJx}A{>[b`cae@fLNZb?ĥZa,/b؍$~3YQKP%$((TT@I!*;"&)-1'#53'3!73!733#3#####5!73'!!7]:1000019]zu }Luuguuguuuu_ % #4&#!#)"33!3_SV*$oN&1@: "+ /) 2+"!)#&  , & &*!/<29999999999122<20K TK T[K T[KT[KT[KT[X222@878Y@z  1Ti lnooooiko o!o"o#n$l%i'i-  !"#$%&'()*+,-2   USjg ]].#"!!!!3267#"#734&5465#7332[f A78 ʝf[Y`(77(6bbiZȻ{.# .{ZiHH"{/ #/{"G(33!!###5uX_Tws1s!5!!77#'%5'&PPM4Mo؈onوn9 -bw'67>32#"'&'"326767654'&'&67'>7632#"'.'&/#"'&54632326767654'&'&&#"32">1aJ{%A01Q[W7>/W1   >$<  . #dCw-^URB$`>DL_K>.3b @N\uLMiI(S395l9,8G(/&  -9)ЗiRm:3Xwdg7? 2j7#=5(6$ 629T/ (2M !:5S}$@{mbq~Es/4 -& "TAB`]|@8nRkcd]aC".)5'632327&547632#527654'#"'&#"%654'&#"o|@X"07PYtaTk~j[IwmqJ2530D#24!`NkBX``S㫣†qJ323!!!3267# $547#5\J5 ;_srigCS1r{jJ,{ +kv67&&UB{\* {;^~FE/0K?{w!,&'&#2767#&'&576753w[TUeeUT[Y\Y[dsye]Y\[CvlCi----iH$"u9Bt"#BuflC3!~d=!5!'3 G~d=z!#'73!5~~͛=z5!'3#7=~~d͛C $(B"326=7#5#"&54634&#"5>32%3#.#"3267#"&54632pSHfmƩogDc\GD^o8yy8o^IICBRCI M >OW\ 7$44"C +EI.46'&#"#&'53254&'"326=7#5#"&54634&#"5>32%3#VNz$p;i0ʪ%={pSHfmƩogDc\GD}|49d$, !5Lf,1BRCI M >OW\ 7$s'!.#"3267# !2'Y藣yyYjzS #bvAZ4-4ZBuHHghG[!!m&r&F+,/-/ܸܸ,(и(/A&6FVfv ]A] и ии# /!"+!0153&'&'6767!!5&'&76wI3cc3I86QLNN7887NNMR48_ki:rq;zn #++$ * rn<(2.#"3267#"&54632%3#"326&$  &54^o8yy8o^IICDkavva`ww~44"K <M-1332653#5#"&.#"3267#"&54632%3#\QPcu`^o8yy8o^IICDLriuD P44"K{Ro#&&r)Io!6767632#"'&#"32767#"'&'&547!#"'&54632327676"#"'&'&54767632l(9BKc{=&%%03!((!,739%7`lG;7 25]hB4,'5  'B[QF$%]c'G  %! }Kr~,1ьIg)*!&!(D;w},75;!_']7:y}[Ϟ\@4>#,!, 'QFj(JG4$$,*)/9yK#%P73276767654'&'&#"&'&"'632654'&'&54767767#"'&'672#"*i(X%# 1FSE/ O.55FuPU[QF[00rl~"KI}!;IFs;n;_T^͌Q79}w^l.Gyr\[4O9%#i#^MX;yv@c}e.ID\7I;>2V秉uӰ3!3%!!!!!!nnq  dx+%H#>54&#"#3>32u j_ y/wFx \/HT^Ȧ^m$R#a"67632#654'&#"##7373!!UcduL/ .| {@e22wKwGW\?3L0O}};t9#"'&5476323276765"#"'&54767632thn<7# ;KQ>!|Za,4(XM!},‚<7D9#7.M=.1?@ '(MXI(' jF!2?632327654'&54?#"'&#"632327#"&#"jou9!ydG>PPPP5ʺ68^nm{z}}ȋo֏zZ'PVaK~pmdykb^OP681/::b:DnJ327654'7#"'&'$#5"'47676766767632#"'&'&'&#"32nZS_n0VBRny#HB?X!$9BMw>7l. ;7%,;(ӧuy,D0&3273#"'#67&5477632654#0)W:K32#"&'####53&  O:{{:ܧ$}daad}j %# !3!# dX0dd q+6)2"&$"2654!!!463"!#525cΐΐ)d99d9j+hMNhiML{̀k@4k "-! ! ! ! '32654&#%!2+# JR12)uyӲckkc?L00ey wXQPXdn;C0<67632#"'67327654'&#"#"'&57&547276545[ۄFIyeL )qz]E& JEYq:?.蔁0.A ƂMkeLPק<+(h|H=y|n=B {u.F/4_NT 33!27&#%!2+!67654'&,d.@nX<-]\,q jdZ)VV)s!)%#'# ! % 7& 676'&B 3y;:x+lllli$ #ab[ 2222jT%%5$c$B2 _327654'&'&'#"'&5476323276765""'&5476!6?232767#"'&B=]iS\ZV30Fn7;#FfS9!!< #5,h";<2XngZR{,##9>;K!QIag£S D5@7*'S:y}*7H0 5#!,Il @3Xnh0{(2r:=OSlIX&54'&#"#"'&527654'&#"3"'&547632763227767654'&#"R(O*\xggfg-.@@?@@?\QA@@@S6fggfeӻp/$~AB}:1$ -*MJJ@f[+8vuuv zVWWWXWWVVW\uvuuu# bW1W{|^1$h{vC[SK\GChfy /2 &.2&'&+3!.+!! !27&#676'&%3LDEx-Me5q>HJxnu1EA+ZY*01/O~hbb)j)V>U)-  /!/ и/ ܸи!ܸA]A)9IYiy ] и /9 ///+ +0132654&#+#!273 # #s sNCI/ϒ_6۬kk%T$+.3&##&'&''7#!27%7 67654#?\A>:AٿKE6ToF^~_ ,8~|T3Jۏ/HDh0& ,ok؍]-Dbg('4.#"#"&'532654&/.54632733###UW'AG/E8pi4sG[d/EK7?8pc|3iиY"*/( VAO[`*,2,* M=H\T(l0`!!#!!!!!!!3!!rso+` `ffff'F >@!    b b cbc91<<2<<903#######5Jq7rqr/B^^"h %73# ' 3,o-MoF+,\ %#!!!5!8kO8d qddd XL/ 654&#!5!5!5!!2!"'X $''ߦԧc̆eeaԊfJN6NsDU767654'&#"#"'&5733272632632!"'4'&'&#"'6763232767654'&'&#"_}yj#1Q\$####,TGG\n#?QY>kDM4giMqE#"'&'&5476?&'&547632#"'&547654'&#"3"32767'_ilE_ml=Oc{T3-2") %+fa@aP/Z_|{w:maZu> IhA"%@_l$=PczS2VN-2!$+%$+@e}N069na[u>_T M#"'&'!#!"'&547632327676=!7!&#"#"'&5476!27327#X':'7?<=**M_4. B^l{>!'Ba>nG#&#w4$B00!K=DcK_4B( 03B{>ceDInFT=I,Fw7K. 0# )5!!5!3#Pʪ9Bk32767"'&'&47'&'&'#"'&547632326765&#"6767632377632#"'&'&'&#",5(.'*'E`97y{7a;f7;>F3.^PeMD*#7@,j!HhH<=.%_yipp3 T}B',$ *5܀/,,@!;Da97TVM;nwF^O?/,%!;>jytX<;}f?E'_n H''#  .hJ) 4&#"322#"&54WOmVPm˜ݢt}t{أأg4 4'+5654/&4?'&547 '&5474/c2>Bd=VE/b5c2ltc2c2uc1LS2?Bd,>8?]/c6c1LS2tc1LS2c1LS2903#!".54?>3!4'.#!".54>323!2O,""$%@;5H *Y[#$"x2 1[G(  WA,!2#"&/#!"54?>3!!"&5462TPl 0%= -d,mF"$mG- .7#*(/ $"Sae(!q~B;V&!"&54>323!2#"&'&5 mG * 5G 0%9 . q~( 0 (/ &Js!S'DQIF 4632#"&3!53#5!pQOooOQpoTQooQOonuyy5yZR; ! ! ! ! HH#[[breH !#y;:x L`  !!!!#!3#'!#33 # #DjwZDZ֏R``C5MR.}$z`-1%5"'&'&5#2327#"'&5#!#"#463!#3#, 9Yl(Ht*=Z2dr!Z4@'!8 ֦zEB bLs{dYsZ{3#"#4763 3׮UEEl4FũdGQnCF\xB*WbOZ=0 3%!!,:*nq dd3!3!!!! nn8q  qwS ! ! !!5 5Y*dccS!!6$3 !"$'53 !"kJu^uopkoSUggHF_`2/.2%!#!5!)+!5!_++!# #3bef9WJ " )327&#!3676654'&|tK"P"coAfյ|cv~dAA xPfUmZ #2!7#"547632!3 32767654'&#"* 6B8wx!Nbb|˞"#>|OO'vN 2wx87tKsO=  =d01 PD10d^dTd6Jthi[{ (232767# '&5477632!7!654'&#" N&#G_yZ\klmk}Z5fF 9NJC0<7h:J(u*oDMcFPZd82vRsO 3#3#!!ɸ.Ԇ$N9`V 3##676#732767!ɸ.fʆ#5H2K1i0/N)deеT0Hd01``;&0 #473>32#"&'532654&7>54&#";Ht]h202޸SUWDi;2[UԠ_I@Yr~YW׀c?}<$$/1oX3gQX?@Q` $@   F 21@/0!5!!5!`oX&{' 5ud^X&t' 5ud^&{' 5 d^^&t' 5 db^&u' 5 d?^& ' 5 d~&{' 5 df~& ' 5 dw&{' 5 dbw&u' 5 dfw& ' 5 dlw& ' 5 d&{ 5,'&,,&,',,(Q&,9h9&9,,&9',, &9',',,-&,;=;;=&;,=B&;',,j/s'&'0yL&LLpY&L'LpLA&LY=`Y=&YLD=-&Y'LDL=&Y'LD'LL$J&L[;y`[;&[L[;D&['L[LyOq{FqZG{Py }  ) !3 !## !5hPPh55~ji.,w# + ++ A]A)9IYiy ] A]A)9IYiy ]%"+++ + 013 !#3 #32654&#! )5HHNhPaY.,职~y }(1C3 +3 !32654&+! ) #"35# !35#"&546!`HH5NNPhthNN5H/ó., ji~s'H{d?8   2@ @@ 00 ]1@   990@   <<@ <<KSX << Y5!!dx=xUZxx @   991  2@ OO ?? ]0@   <<@ <<KSX << Y3'#'-Zxxvx<xuP8   2@ OO __ ]1@  990@   <<@ <<KSX << Y'7!5!'7Pwx=xZwxx @  991  2@ @@ PP ]0@   <<@ <<KSX << Y#737Zvxxx76767632&'&'&#"#"'&/#7!#/)85,0F"<;NJX[GR7<"#!2)85,/$#?2WG[XJN;?,!F0O<:" %7xxUZxaxxaxuP8 '7!' 7!'7Pwxx>xaxUwxx>>xxwd?8 !5!3#xwx-xZxY %'3'!!5xZxZxvx檪uP8 #3!'7'7xwx-\xwZwx !5!!7#7\xxZxx+xvx7!!5!7'3'xxxxxZxxvxxvxd>%52#!5! 767>54&'&'&>42/+-+-':1 Hxwxܪ-)o=  xwZwx(.46<=69)-d>>3276767654'&'&'&"5476767632+#5!5 6 +/24>A1:'-+/24>xwx  =69)-(.46=<69)-xZxvP>54'&'&'&"3)'7'7!#5#"'&'&'&5476767632# 6 +lxwx>42/+-':1A>42/+ׂ  xwZwx-)96<=64.(-)96=dP8X#532267676767632267676;'7'7#""'&'&'&'&'&""'&'&'& xwx 0$#$   "%'-0$' !  ' '- xwx  ('Z&("  "(&Z'( -xZx$ -#%"&* 'xwZwx ""&*  *&"" dPF%'!5!!'7'7!pxwxpdxwx^:5xZxo:xwZwx* %'7 !^ b9YXxbZ  #!5 xwxoxZx[ !'7'7!#xwxx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xc?x^zM35!3!5!73zpc?Jx^cr+a?^xJ^V 3 3# '! !! !  e   dCuP8)5A '7!"'&'&'&'#5367676762!'7$"!&'&'!27676Pwx 21@=:C.2  21@=:C.2 _x_R#)l$h$#R#$Uwx@21.2@@21.2@xw#w;' , utP'7!5!'7!5!'7!5!'7Pwx===xUZwxתתxwZd?D5!3!!#!dx3xUZxmmxuPD '7!#!5!3!'7Pwxͪ3xUwxmmxwdPD3!'7'7!#!5xwxwwxwxmxwZwxmxZxd?D5!333!!###!dx⪪YxUZxmmmmxuPD '7!###!5!333!'7PwxYxUwxmmmmxwdPD333!'7'7!###!5d xwxdxwxmmxwZwxmmxZx7?@  !JBJAu}@ 7'!5! PJBł}BB7}@7'! ! 6BB A}BBh %!3!3۠ՈR+nm+A&6FVfv ]A]+ +0132#&'&#"327673#" B!OO!BzcI7͙7Ich-)b@'! '!* $$*9991990K TK T[KT[KT[KT[X*@**878Y>54&#"#"&54632#"&54324&#"32IH7$$0e՘ݢe WOmVPmmWKt,>bFأ[t}t{ !5!!5!!5>+5!#7#53!5!!5!733!Kcd04+^^``k](673#"'&'#7&'&$32 '&#" 32$767&'&YjiEd80~i?/c`RQQ$g'-"SRR:;nSz_'BTc_ N@DROg`8@91/90@cmpxyvn]] !3!^DC?`%! !3f<?I!!"$54$3!!!W?JGcGK@ sJxNL``ȟMOx]I&/!!!!3!!"''&'&54$;7#"ؖI$$$GA?d`,,cFU;}YI7ʟ 7c``JxH NGx]g% $54$)!!3!+*(FiNv%FrO:0QI&'&'&'!5!2#!5!676767!5?JGcGK@ 'JxNLȟMOx]I&/'7!5!!5!&#!5!2+4'&'&'3276765 I^Q$$GA?d`,,#FT;}YI7ʟ 7c;JxH HNGx]g )5%2767!5&'&!5(*FiNv%FtFgP:1R, //01!!,wq@gg120!#!# }wq@gg1<03!3wJ}w; ]@    91990@0QVPZ spvupz  Z pp{ t  ]]!! !!5 7AJI3!-10!!ת !#!5!3!!5!--+}ת W+и и и / + +и 01!!#!5!3#-Ө-5+@B10KSXY"3#-\<%?P%73% %#'TUUTUTTUDGrHF103#F=} *@    91903##'%\sB}}`s-Pb;=& us=&  s %.#"326"&'#"&54632>3"31UfvYRIOF^_HDa+J1CXXjewߦ~XZ /@- !$'!!0 $*0999919990@     $$$   $$ $ ***///***55500055 5 :::???:::EEE@@@EE E JJJOOOJJJV !"&'()]]32654&#".#"326#"&54632>32#"&1TevYR1UfvYRF^_HDa^/XZie7XXjeߦ~᧯wI%!3!~,I%!3IfIA//+к99к901%&'&'3!!#4'!&'7`'JAW`LqR]+X* Pʋs^(Rs57756u5 +  // 9 9 901 7&'7%%'6 676r{EG%y44RW!L!$Ҿ &!L {JP+3#+fJ+ 7+и//9 90137#'PMVo)gnJ+3#3#@+fJ+{//и/ܸи ܸܸ и и// // 9 9 9 9013737##'[P]ME+qd @oxpAn!3# ih^T3 3##"T^32#4&#"#P(*7332653#"RP7*uM>2&#""&'7327~9GA~9G⧅}}uM& ) )%uM& )' )% )JuM-6?67632&#"#"'&'7327&'&5476767654'&'SOJMG79GcBnnVsSOJMG79G]InoSu=,EG%,=,HK%DAF7K|oUDAF71IosV/HgjG$4.JhgH$uMMQZc67632&#"!67632&#"#"'&'7327!#"'&'7327&'&54767!!67654'&SOJMG79G~SOJMG79GcBnnVsSOJMG79GSOJMG79G]InoSu~=,HK% =,EG%DAF77DAF7K|oUDAF7$çDAF70IosV!.JhgH$+/HgjG$uMmqu~67632&#"!67632&#"!67632&#"#"'&'7327!#"'&'7327!#"'&'7327&'&54767!)!67654'&SOJMG79G~SOJMG79G~SOJMG79GcBnnVsSOJMG79GSOJMG79GSOJMG79G]InoSu,~=,HK%2=,EG%DAF77DAF77DAF7K|oUDAF7$çDAF7$çDAF70IosV!.JhgH$+/HgjG$uL.3&#"7#'754'&'#"&'7327#4767>32";EY?w^H6H\O3,,HO;E+@/VfmVmHO?u]HH]sM3 gz.VrmV_zuM<%4'>7'7&#"7"&'7327&'&54767>2=,HK%=Q Hl;EYLmHH7'&#"'"&'7327&'&54767>2=,HK%m#6,=iSH;EcHKs;E]InoSuJ.JghH$6B0+@TH?HK|z1IosV32326ian ^Xbian ^V2NE;=LTNE;=K23276767632.#"#"&'gV^ naibX^ nai2UK=;ENTL=;EN1).#"3".54>323265.#72#"&:QHRdhNi\dnx>@HRdhNi\dnx.ttlH=YOHL\}X[lH=YOHL\}W#"'"#322{dfftX{dfftX#*$0!#.5476767654&'30ND:323267#"''cDXbia]yeEVgia`yS LTNE+~F KUNE,F #"/&'&#"5>32326!!ian^Xbian ^VeoNE;=LTNE;=K`#"/&'&#"5>32326!!ian^Xbian^VeOE;=LSNE; =Kkb%&32767#"'!!'7!5!7&#"5>32%H\ iaBP﹉lZXbian3}o -X"OEd8LSNE;I"#"/&'&#"5>32326!!!!ian^Xbian^VeOE;=LSNE;?Kk˪.#"/&'&#"5>32326#5!7!5!7!!!!'ian^Xbian^VLoKɦoOE;=LSNE;?KL˪s˪sB.32767#"'!!!!'7#5!7!5!7'&#"5>327b K`Jqia'+\+zlh>Tm?u2^Xbianc"%]OE˪Nt˪=LSNE;%N;?@.9*-" *19" <-<<219999990#"'&'&'&#"5>32326#"'&'&'&#"5>32326ian ^Xbian ^Vgian ^Xbian ^VoNE;=LTNE;=KڲOE;=LSNE;=K43267#"'3267#"/'&#"5>327&#"5>29+Vgia@LJZVgia}9+Xbia@MHZXbi a KUOE8KUNE; @^ LTNE8LSNE;f@59#"/&'&#"5>32326#"/&'&#"5>32326!!ian^Xbian^Vgiaq^Xbian3VeLOE;=LSNE;?KҲOE;=LSNE;?Ky5P#"/&'&#"5>32326#"/&'&#"5>32326#"/&'&#"5>32326ian^Xbian^Vgian^Xbian^Vgiaq^Xbian3VײOE;=LSNE;?KҲOE;=LSNE;?KҲOE;=LSNE;?K"32?632.#"#"&'!5!5gV^naibX^naiUK?;ENSL=;EOȪ+  %5 % $%5$[g&Y%ZhӦ69%676767!!"'&'&'!5!!5!676762!!&'&'&[C-87VYYW6 8.CC.8d 6WYYV7 e8-,CE[<0[2332[39\DD+N+DD\93[2332[0<[EC,` !5!676762!!&'&'&!![C.8d 6WYYV7 e8-;++DD\93[2332[0<[EC,`'  ' &  ' &  0' &  .62' '  W63& '  ` 3654'!!5!&547!5!!4434w~0IG00GG2?8>;_8`  "264&'2#"&546!!!!^HdddeH;k'**z{bFE``bq+((d:svv`K  &!56!!!![yKW`  3# !!!!6c'@` 33#!!!!'c@` !!'!!!!+]^*^]䰰` !3!!!!![Np!N NfQ`07GO!!!!#"3###535463!3267#"&546324&#"'53#5#"&4632264&"?$mmC???DNB&H#$J'`qk[Q_C<17HBB@,I\\I,@p`ctiG6B?9i=$#tu#gSSS`*!!!!>32#4&#"#4&#"#3>32!]?U\Z79EPZ7:DPZZV:;S==:xoHOM]QHPL^P%U20=` ,!!!!3#7#546?>54&#"5>324eeb_--B6'Z0/`4\o$-,N2A+,/-7#!^aO&E++ '>@"     <291<2<<990!!!!!'7!5!7!}/H{};fըfӪL !@  <<<<10!!!!!!ת4!5!7!!!!!!'7!5!7!5!DQ"rn遙RoLT˪˪T˪  )@    <<10!!!!!!!!K T@.B $# <2291/90KSXY" 5 !!@po V@/B$ # <<291/90KSXY"55 !5AǪV 3!! 5 !!@poV !!555 !5BkǪ!5!7!5!7!!!!' 5'`ȉ)P"_=6@ss1stFpo!5!7!5!7!!!!'55'`ȉ)P"_=6ss1stF. 5 5:6:6pr pr . 55556:86:'!67&'&54767&'676'&'{)#Y4JJ4Y#))#Y4JJ4Y#)AAAAGF㞢GGGG➣FG2;;;<<;2;5$?$%5%67$'W eĔd?NĔ])]o& bR)`q% Rd%'%5% >zmzF<˶@6 o@hGp%5'75%7-孈m%˶C@ʴ@hGp/V !5!%5%%%!!'/xvH-rf5LOlUrC@=Vlь=/V%'!5!75%7%5!!' GWb[mmNL>ߪwe=ت=$%#"'&'&'&#"5>32326 5jbn ^Xbh`n ^Vg@ND:3232655jbn ^Xbh`n ^VfNF<>LTNF<>L>)P14%&#"5>32%5%%%3267#"'&'&/' k Xbh`'+kuE%sk ^Vhjbn "Pv1-LTND9ATj͊LTNF<= &TN#wf=J;N} 55 58@'poN} 5 55@'pom`!-%5%%%'5%%5 MM`ZDOA@FZDt@m*_TW&o}䎲w&-r~bUm`!7/%5%%'%5%75%Jvad",,V`bL"_D2,/*/&O{¸[&}P %5$r osaa^~||P 55%$so a||^a)W!%5%5$gV$}]]x|)W3%55%$Vg}$BW|]]RW(%#"'&'&'&#"5>32326%5$ian ^Xbian ^Vg$}NE;=LTNE;=K$]]x|RW(%#"'&'&'&#"5>3232655%$ian ^Xbian ^Ve}$NE;=LTNE;=K$|]]&%5$%67%'Et֋$k}uU)?eKtuu" K 9''567$'567&'%=⃹t֋~}uRU)?Kuu,ަK9'_%!"54763!!"3!슊@^`@ƍ^`_75!27654&#!5!2#@`^@Ȋʣ`^; #";3!!!!#"54763^`0rrndflppꊊ^`&pphƍ3 32654'&+ #!5!!5!32#^`0rrpp9^`phƍ7!!!"'&54763!!"3!Ɋ@_`@,ƍ^`7!!5!27654&#!5!2#@`_@Ȋɖ,`^ȋ '!";!!!!'7!5!7&'&54763!7!!ʉ_`'}E=aLT>scL0R^`5ƍ7 '327654'&/!5!7+!!'7!5!7!5!^`__BV 5cTpX?bLm>U`^`C 7 Xȋ5j )5!7!!'!"'&54763!!"3!.Bqx-qxDɊ@_`@Z54&'&'$  &'&'&547676!!#!5!]\LMLLML\]]\LMLLML\bc1111cbbc1111cbdd''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcbee$7!!"2767>54&'&'$  &'&'&547676r$]\LMLLML\]]\LMLLML\bc1111cbbc1111cbתa''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcb$3?"2767>54&'&'$  &'&'&547676''7'77]\LMLLML\]]\LMLLML\bc1111cbbc1111cbxyx''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcbxyx$7 "2767>54&'&'$  &'&'&547676pxg]\LMLLML\]]\LMLLML\bc1111cbbc1111cbpx''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcb$37"2767>54&'&'$  &'&'&5476763#]\LMLLML\]]\LMLLML\bc1111cbbc1111cb''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcbA$3?N"2767>54&'&'$  &'&'&547676"32654&'2#"&546]\LMLLML\]]\LMLLML\bc1111cbbc1111cbxPnnPPnoO@v+..''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcboPOmmOOp1.-rB$+E %#'-73%"2767>54&'&'$  &'&'&547676C4f4C4/f/]\LMLLML\]]\LMLLML\bc1111cbbc1111cb1XSXYS''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcb$!;!!!!"2767>54&'&'$  &'&'&547676]\LMLLML\]]\LMLLML\bc1111cbbc1111cbj''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcb$37"2767>54&'&'$  &'&'&547676!!]\LMLLML\]]\LMLLML\bc1111cbbc1111cb8''LMmjML''''LMjmML'dbcwvwvcbddbcvwvwcb$!%!!!!#!5!QX>ddYee$ !!!%!!rPX>ת\$   ' 7 %!%!!=kyykyjjX>xjyjjyk$$ !%!!3#QX>5J@ <1<033!!upJ!#!5!3JI!#!5IssI35!3!|33!!Nup| !#3!!!!.NN$J !#3!!!!.$J !3!!!#3GupJ !#33!!!#3.GVfupJ!#3#3!!!!.cGGf$J33!!!'!'Ssj\s=u5Y6pJ!!!!'!#3!7!sjshxj56$$J!!'!#3!#3s6s=5Y6puJ!#3!!!!!'!#37!s:jsjG$-56$ 51  ^ bb:d 5! 5bd 5! ^bbb:yg62"'&'!"&462!6"264S몧Q3Q3TW4drOOsOOSQ3CB3RU4CDPrOOqyg"&462!6762"'&'!$264&"aS몧Q33TW4QrOOsOSQ3CB3RU4CDPrOOqbgR 7!6762"'&'$&"26b1[륢S4OsPOtO.D/YR3BPQqOOy;d 3#!!#3%!5!( 󀨨 ds <!##5!#T~N 35!3 3#K#"T^ !!3# K@ih^T !!3 3#K@#"쪠T^~ )3!!&'.'&ZVF%,E=Ώ?~%FVZDA?=~ !53*,Ԫ֪w # #}}wJw 3 3!#wJww@ 1@ 0"# #4$H̭9B( w@ 1@ 02$53 3H4CC1 (B9#u HF 1  !!'+]^*^]䰰'B  ' ''ٛ>PNq^D^'B %  !'''tNP^D'B 5  5!''6bNP'B5 5tN>]P'B 5 'Nt>P`32?632.#"#"&'!5gV^naibX^naiUK= ;ENSL=;EOȪ^ 5 3#ѦZ^ 55%3#^//m.   5 5 5 :6:6:6pr pr pr .  5555556:86::6:.  5 !5! 5?@Npo. 5 5!55?ްop9 %5 5!@op9 7 5 !5!?)W5$%5$Ti}$_|x]])W5$%$5iT$}B!]]|!&!%'&'57&%5$%67&%7*?;i@]0qw^%KA6#(AF+3273267#"'' 5cCXbh`^xnieEVhjb_zl]@LTND*F JVND+Fpo"%&#"5>3273267#"''55cCXbh`^xnieEVhjb_zl[LTND*F JVND+FͰW&&#"5>3273267#"''%5$cDXbia]ymieEVgia`yl]$}. LTNE+F KUNE,F]]x|W&&#"5>3273267#"''55%$cDXbia]ymieEVgia`yl[}$3 LTNE+F KUNE,F|]] 7%'%5 '瞃۞L О  @Y8@\9@a ' 7%͞G۞О@?Y@<9@}5!%57%!!'71|Iv\' :qߦ[@Z8@_}7!!'7#5!7%%%9Jpv\]FGjq8@ǹ@. !!#!#5! !'7'7!!5!5!xwxFbxwZwx# %! ! ! l(+R[SrvvP #53sàȖ0kTs*3#*P- #5sȠ-Tk0P 53ȠP*#P*.P- 3#àȖ-P#!!s#s*3#*P,!!s`,P!5!#UP*3#*P,3!5!`,X #4763!!"]oeD9יfV],#'&%'53 763<(enK==Pne(!<  _AE_  <X> 3!!"'&5]9Deo>ܚVf]>#3]J] 4'&#!5!29Deo$VfX,&'&3!3#76l<(enP==Kne(!< _EA_ <]> 3#!5!2765oeD9>יfVu(3(7@% !!!5 5!!37d  hrv! !! $<Ff +   276764'&'&">  &vvrn66\]]\6666\]]\65kk\SS]\6666\]]\6666\! p>32#"&'#'%53%&  s:{{:!8#!rܧ$daad]chaam@j.!3!3:^ &ۺ+#+#+A&6FVfv ]A]A]A)9IYiy ]+ + $%+$01! 4$32! 4$#"35%33!??qqW|A?rpG~+/ 8?+3&+3+A&6FVfv ]A]A]A)9IYiy ]3и/A&&]A&)&9&I&Y&i&y&&&&&&& ],9+ + +0)+001! 4$32! 4$#"!!56$7>54&#"5>32??qqWO\R!>/_N;sa=0>A?rpGM"?U(?N&:$}:iF D+B5+B+A&6FVfv ]A]A]A)9IYiy ]A55]A5)595I5Y5i5y5555555 ]5B9,5B9,/A,,]A,),9,I,Y,i,y,,,,,,, ]ܺ&9;9+ + )"+)?8+?2/+2/2901! 4$32! 4$#"#"&'532654&+532654&#"5>32??qqW v@X[}DuskcZX\[4yk_=hA?rpG]0OLGN<:,+>2+201! 4$32! 4$#""32654&.#"632#"&5432??qqWN\\NN\\Ta/w N 5jA?rpGb[ZbbZ[b#P =  "#/$/ܸ#и/A&6FVfv ]A]A]A)9IYiy ] 9!9+ + !+01! 4$32! 4$#"!#!??qqWkQ1A?rpGK '?K +=+1F+1+A&6FVfv ]A]A]A)9IYiy ]A&6FVfv ]A]AFF]AF)F9FIFYFiFyFFFFFFF ]%F19%/A%%]A%)%9%I%Y%i%y%%%%%%% ]+=9+/4F19%7ܸ+@+ + ":+".I+.C+C4C901! 4$32! 4$#""32654&%.54632#"&546732654&#"??qqWT__TT__jivvWQMKRRKMQA?rpGPIIPQHIPIvSttSv\\=BB=>BB 4@+>)+>+/8+/A&6FVfv ]A]A]A)9IYiy ]A>&>6>F>V>f>v>>>>>>> ]A>>])>9A88]A8)898I8Y8i8y8888888 ]+ +  2+ ,;+,5&+501! 4$32! 4$#"532676#"&54632#"&2654&#"??qqWUa.w O 5kN[[NN\\A?rpG$O <b[[bb[[b &2>+#+#*<+*60+6+A&6FVfv ]A]A]A)9IYiy ]A00]A0)090I0Y0i0y0000000 ]A<<]A<)<9<I<Y<i<y<<<<<<< ]+ + -9+-$%+$3'+3$01! 4$32! 4$#"35733!"32654&'2#"&546??qqW͞u>@EE@?FF?A?rpG>>'*6ޗ{;( C;!O;!O ;!O;!O;!O;!O;#!O#;(!O(q(!((!((!((!'(I(!]((!((3(:( K' q( #'+/3!33!33!33!33!33!3mnmnm 4('/7?GOW_gow5'#3%5'#3%5'#3%5'#35'#3%5'#3%5'#3%5'#35'#3%5'#3%5'#3%5'#35'#3%5'#3%5'#3%5'#35'#3%5'#3%5'#3%5'#35'#3%5'#3%5'#3%5'#35'#3%5'#3%5'#3%5'#35'#3%5'#3%5'#3%5'#3(;(!%)-13#3#3!3!##!#3#3#3#3#3#3#^^(ll(lm#;( @#q:( N!&9 U'( U9(& U& V W9(& V W9(& U& W \9(& V& W \9( U'9(& U \9(& U& V \$! $!!!,7r+uv ))xxp) )$7632#"'327$%&#"%632#"'~~~~eMM>yJJJJJ6````qq|qq#u"@91990  9%-p) 327$%&#"%632#"'MM>y````qq|qqr' '/7?G%&'&'6767&'&'7%'676727"'64'7&"'62&47\+;.81F9K58.42d;E9G,:.80G9J6&8.;+d1O9FLL&_`JnLL'`_n<1& j(0=Ju &,A=N:0('<1& j(0=Ju &1<>EB0(n_II'[[JnII'[[p) %/36%632#"'327&#"6767&'&6py AAAA,+-,,-+A@@Rqq|qq%%mܱ[0$ %@%|"p) )73276'&#"7632#"'327$%&#"%632#"'r99:9rr9:99XWXXXXWXMM>yB!!BB!!oe33eje33````qq|qqp @ 104767632#"'&'&pihѵhiihҵhiѶiiiiѶiiiip $32#"$27$%&#pkk<MAk^a``p $32#"$"3pkk<MAk^``p $32#"$327$pkk\MMAk^>``p $32#"$%&#"pkkAk^>``p $  $"327$!pkk]<MMgAk^```p $  $"!pkk]<Ak^`p})6%63"'pRqq)#2y|q*q( 2654&#"!|~}}|v< ( $%632#"'327$%&#"!IMM>y_O````|qqqqH( ( !#%&#")%632OyyMMqq>~``  3327$3!#"'$@1>qq``) %63"æqv`) 2#%&#u)q>` 527$3Muyv`>q "'$33yuMq`p)%632#%&#"puqq>``p3327$3#"'$puMMuyy``>qq!$ !$ !$! !$!$3! 2654&#"4632"&nȊce;~|ddcc||}$!%!!d r<$!%!!We r<$!%!W7 r<$!%!W7 r<$ !%!!!!+c,b r<<!$ 462"! W|VV} ,|VV|V !$! c  !$! b  p(  7& $  %;<*X֖$ !!!!!!,7,rWb<)) Ie$ !!!!%!!,crWbM)MM^??@7`d?\gOOOOy>*<?v^h"3263#!5276;'4?'4?26u'6"gP39.4! '*C0.xV#m14He '1l1 Z+dd?33 #&'&+"'&#"/573;2?"#'57#&'#"#5676!5:+#9,p!j[%+ > 7VCCc":8}V .e3B=Se` e9*=9 3@=}k %C`:d;emu}'S3273&'3327&'67&'67&'67'32654'&'2327654&#"3672 $54767&'&47'&327632#"/#"57#"54?'&5432'&27632#"/#"57#"54?'&5432'&327632#"/#"57#"54?'&5432'&27632#"/#"57#"54?'&5432'&327632#"/#"57#"54?'&5432'&27632#"/"57#"54?'&5432'4327632#"/#"57#"54?'&5432'&27632#"/#"57#"54?'&5432'&27632#"/#"57#"54?'&5432'&27632#"/#"57#"4?'&54327'4327632#"/#"57#"54?'&54327'&27632#"/"57#"54?'&5432&'67&'67&'67'&327632#"/#"57#"54?'&5432'&27632#"/"57#"54?'&5432'&27632#"/"57#"54?'&5432'&27632#"/"57#"54?'&5432'&327632#"/#"57#"54?'&5432B~ %<z*+')+(@&'$||e<-A}]\B-71SLoWj\vLL)(0/ (( .1(%%,* # $ )*f$% +) $ #*+f%%,* $ $ )*  \o  [ %)#&'%&)#`#$ *) $ #+,U  Q  0 E%% +) $ $*+&EC&V*,)-)-*,%&%&fБfU 3HhfeefhH2pu^QFs棥sKQGh!99!  !77!  4 4 22 K44 22 22  11                   7        %&%&%'%&%'%&22  //  g               44 22  ->O`q +&'&54?632332?654/&#"2#"/54762#"/54762#"/54762#"/54762#"/54762#"/54762#"/547672#"/54762#"/54762#"/5476%2#"/5476%2#"/5476%2#"/5476D.2`{4&/<) e>O ,4H3R 07K $   $   #  #  #  $   #  $   $  U $   # " $   #  7Q=KG<s-8PZy9z _e""#/2dt0&2j ,: . 4 . = ,  ,   -  -  -  -   .  .   ,   -   !! WV9`8 !! 7 ! !WVDu9`8N I 7%7&54769 }V&7A 6$ 8'^4? !2 7%7&547!&'6I@Y%14HFS"="l-2DC[9 &! 4$32 4$ #"&54>2JJhhq0^mNMn2Z^Z2K7iwBNmmN1Z00Z} C"32654%"32654&%#"&54767654$ #"&767&54! ggJIhIhhIJgg[ZQoy y}WZ[zADgJIggIJggJIhhIJgU\\Q srW\\^} A4&#"26%4&#"326! 547&'&632 $54'&'&632hIJgggMgJIhhIJg#@@z[ZW}yOOyoQZ[sIhhIJggJJggJIgg ][[Xrq Q\\} "32654&7#"32ɏǾ/`T_ȐɎ;P12Y}1"264&"3264#"54327&5432#"'&'3xyx& کZTdIU  k#5AMYer3#"'%&547654'!#"'4%$53!76=332654&#"#"&54632'#"&54632#"&54632&'&67632#"&'&676'.547>'.76$6&'&54%6&'&6>#"'.54>32#"'.54 [$gi< D""D =if%LW쥨驧r^]]^ !! !! . . *)X,),*))+. } +G  G+vKK9__9KKݧꧦ]]_""""s!!""W&. - . - a)," "  ))    !) /     p%-5AMYdp|5#!4'&'5#2#"&546"264"264"2647>'.7>'.676&'&>&'&7>'.%7>'.676&'&676&'&53!76=3%#"'676%27+%&547654'7327&'$%'#327%654'&54718楣. . . .  - -Y - -))G))))U*)>- - ~- - VK; yA C0B Ax ;K'6FJ> $06# >JF6&@@1AeA1@@H磤椣筁 . . . .E - -- ,1))),(9)())u- , - - G77W6 W77G D&& ee˥ &&D "(=pp=("u !!'!Pn8hv "!!'!##+572367676MoL)>u eI3?ba8hA:F;/Itxv !!'!  ##' Mo_h[ei[i8hi[ef[l[@36273 ##'5) U.WW1@ US Vdv#,5>~3+&=43+&=4%3+&=43+&=43+&=43+&=43+&=4%33 #&'&+"'&#"/573;2?"#'57#&'#"#5676!5\:V\9\:\:]:&]9[\::+#9,p!j[%+ > 7VCCc":8 #8d#7$6$8;$7i$7 #9pPL  )Z. ;6ZV Z3%Y63 .87p  3DMy!674#!!6?676545&#'323276767654#3#&'&'454632767!672!&=75$/563&43!32+'!67#>54&53# ? I :W0 96;E,Q 2:&l6x0 bm! o۸"\>%Ef~e2U6g!6V#p5C+ C ? P9 @7H4XmM7RV /M(=H: ,qLUD)8Wqke-Pex NW =$ U  /0c)H?2@[nDF8T$.J? !' !T4XKGwL5_K !'7W4Z~wDS&5476322632%632#"'&'#64'#"'&'&54654&'&54767632xJX%&XA,B:\8 [EMH95##Fl% !9@!#jL p_Mi#"?8" %lF##58HN4hok@RRr*%te BB9'7*$%) "fXS5EIf" )%#,7'9CB >E3#"'4332327$'#"$4727%672567654&5&oJ7.b9M D ,B3 qY 5**]d=HN9% sW$,J ]T-MMm@ed: ,'Z M'cM&T)$$ < I2%!"&54676737#&'&54>;7!"&546767!7!"&54>3!6763!26P+=6/2D>R+>2,+v*>>+2  ,2 =,2  =,3>,2463!2!2#!!#!32#3#!>*v+,1>+R=D206=+P#,>3,=  2,= 2,  2+>{!C%4&#!"!#"3!!"3!#";#"3&'6737#&'6737!"'67!7!&'63!67!2I0!6OS SS: SS>SS]]J]]]]h\\, Bv*>K%39LKIOKHLKIhghghghgE?-L!D72654'6#"'4#"'54#"'54#"'675674767#%$4:JILLHOKHLKIhghgighgD>-sJ1 b6'SS cRR SS?SS\\K\\;\\]]!A*>K{!C%254+'3254+'!254#!'!24+!&#!"463!!2!!#!3#3SS?SS *vA!,]]j\\\\K\\IKLHKOIKL93%N-?EghghghgiL!C32=732=7325732'654&#'%2&'&5&'5&'IKLHKOHLLIJ:4$N->DghgighghSS=SS SSb SS'6a!0J)K>*B \\]]:]]J]]}O &*.26:> 3656;2#'7+"/#"'+"5&54775%"'5476;25'7&56%635&56;374765'75'76=4'&+ +"'4!#"'4543$365&5&#%#754'&5&&547'5367&547+&'&'735&2?"5%75537'7'3533553535'32767&5%2?&#%55'5757757751:e,$?F?Y>F_LA3ELH3,8LYLlEF'!0< k#gF  EeY!! Gp&iq.8ZN$%`BCf F4"4._?ee3&{E(1-+$Kt8 -  $Gs sM rEF"2 >_plTErf^5.>=9|5"-l)d ,&>vv]cccWpC-+ d8 Bpp>W]oaxvuPp82,D ^8, ^B$K+ "1R[+e*; 2 W QP I&? gpo% w ^SA$ 2 9i-5n02 Ai&IY^P]D%\??\OWC ,,1 /211/=;7777=321811{908hN%b\Dh,)h?17I21!122223 21&2%2#"'&=477654'#"'5473Bq4|l anN ilm b 9 b؍MOb>YaYƮ58l7P P@ $0<FX + &=6&# 3 6=%&#"';27!5%67%!&'&'2+"'&=476r cR~UY082.ԍ_W_V"+}IR8D).P9H'S]ٱZYHYoX(I_ ;.2lOP%.G6R%&I8d)Nl>54'67&54&#"&'632.547#"'&'#"'3267654'7327323.#'654'567654&&5476;'&'%&+"#"8DH$$yU ?L[>!WtJ([Fho*m.2\=w\`|UP7:/E" @7?EP]Eix pF@T5ym,"&eB@q(A _% #+B7!N &".OS$XE/K(Aa]dLP*'FCaYr=C44mo C (FKWYFvbph'UD'R< $d#+?Vm#327&"#"'7'632&'$54#&73254'&#"'5&567#&''5$'67'654'6'5$'67'654$'67&'654'''5$56732#"'&#"&'$'63&47"7&'7&'7&'7&'54'6546767675477&545?&''5&#" '6%35&'.54>23#67!&#"W  OB7[l#> F_Vh " "@.,=6tJ4Vp1EQJqMi vhpHI!:JJJ =4m\8B*?o v!"t,`s&*_~P1>5='g=>24<+-s[,*&sd1PT>3J@='h<42J-H#*YT_Y)*)X^TY*$D  ?>}>  *0t"J.  &b54CUE ''!`9 !,(MTE *! }q~=/+)f[4f !B" <@0&9c?"V+GoMK~a? }b9e\ P&0@k"?c*GEJX ?e}9 \4 \6 '''' 6\ N(&'65&'67327&+!65+"3yyys{w ccޱqXeXc6 6 c ,35'533#3!'#'5!5!5#53!5!5#!!-ʷ}} ckvG G @<<3ffX苜qXGccGJ 326&#!2+73 ### 3(ttvgnؐB(33#!!#'!'57!5#'5735׫$"q~q+!#!573#'5!3!'573!#'73!#'5;jjŠJss<wѡIjj8/w{,32#' 3%+ &5%6323'#57'53^VQ6>ѨABؒ6ʞG2k >Y3~||~Obs32732753"'#"'4323$4'5;+"'#"'53275'&'&5?5572%#&'&5%634%476=%@.!%,BE,#!-Q2" $nL/PuHED832#"&546324&"26%! !  Őb{=&*<<*(;E;R::R;KJ67Ϛ{ɬ)::)*<<**<<*):<'L67I&I'II &I'IJ &I'JI &I'JJ &J'II &J'IJ &J'JI &J'JJ  @FLRX^djp3264'&#"&47367'676756273#'#'5&'&'7&'677&'67'%%&'&'%6767%&'0/CB^0/AC/pkTcR|'N(OfUippqUfO''NQaQh!$ b)dLQk KRt!% c'd&//^000'N'|P_PfppoQ`Qy'N'P\ QgppmQ \Py,  M N>&`7" bK*V&"g{ M M %1=! !  54 #&'&#"#46324632#"&%4632#"&67KJ]_EASvwSAF͒D10EE01DD10EE01D7IL6a]U@SS@U1DD10EE01DD10EE %1=! !  54 3327673#"&4632#"&%4632#"&67KJ]_F@SwvT@E͑D10EE01DD10EE01D7IL6a]U@SS@U1DD10EE01DD10EE %1! !  5# '&'32654&#"32654&#"67KJ;lWPihQV<=UU=-1\ H0e%FKSwZGr=;=NN$E| 1 ?'_>?@7`d@\hPPPPy?+<>w_VG{?,rCA+ +"'5$76%&'547327676=&#~jt1/Q}](+VRxbO P >nS]] =fP+! &56;2'5$%75#"3ui1.P~N](7P,VSZycOpO >S\^ f0:1>7#'#53'&'&54767&'&=33676=3#326'&i($lm$(($[Uu&tU[$&uU[[UV$|ddb e|$% ZSSZ %_TYYT* $4&#"326&5432!!##53&w衤礡PP䤣L~||* $32654&#"%#"54767!5!33#b衤礡7䤣L~|| $&$76+"'&5'476!7!ttsstEus pid5s qttrtt<֤ꧦg\ulS5264&#"#43233#!5 z{ym㗗y{(|j#53533#632#4654&#"#*jjoon}mZyH{zF2 1"32654'#"&4767!!53#5!!3!!#3!!pOO87O:=0LmkL/>Λ2  1O79NN970LؙL1KӘJJ-'<%#5#535&'&'5'73'3#'73'676=35'73'33◰zhNgeMjzzTThOʍ7NjYYӖy?! #!!!'!27674'&#.d ;6zFH%QM_\ǃ$P<]$!#"#&5463 67!2#654&#"V⩁"T]ts]U"X"1((1"u." 6&'67>3"#"54767&'&#52&͕LVa{.+ؔ)0zHUM\&ϖ=Bll)'ҕ*l8lB=j&'5 %$ 56?63#'[Wtutu4ZZ//[[5  @Eo&<"3264,'532'&54632264&" &$#"#"&547>B_^^l;͓hI^9l:͓hI (+|TlgMLx)+{TlϔgMM M>54'.#"32463227#"&5454&#"#"&'&54767632254&K2q'$#K1o'#0ߴGdAoc.% 3t88bWDs-Kx68<32>32#&'567'45'#&+"#4'3>$4&+"?w(K>R0D32>32gYYYD,.:?#)v$E?w(K>Ro}vvxJvaAjtAO]ƀwϧ!5!3##'!5!~2k<@i8080k<j)127632#"'#576&#"4'5267>327&'"SkQmyz,~zi2@:$(.-)zW] ݾgvx-aX[&ŝ9{'Q32263227632&#""'&#"#"'&#"#'3232762327632&#"#"'&#"#"'&"#'Es- p86rV+)|m^?_354.#"!&'.54>325467675#53533#63232>54.#"P#3JTRJWVJQSOMJ4"?*&ElnhPL$ llill %LOhnlD')----+)QPQ((QPQ)+/ 6klj$?6FWWF6?$jlk6 }++--JHNRh|&'4>32"'4>32&'4>32&54>32&54>32#!5!'!567>54.#"32767>4.#"327732>4.#"327>54.#"732>54.#"M_ 6694S55.+C55C&.66 V\+55 c$M##$ 6$#$s`%#$d0"%)h #"#_33@]22-"40446/*33UJ"+33^1/K=0T* ####  #&$$&##&$$&#  B #### *"$$" U!'-2!35!#3!53573#'5#5!35!75!!5'57!s\\ss]]s JRRIJ~֛E77__vtt4!v7CQ^&54767&'&'5676767&'&54>32! 535#5##3654."!2>4.#"  <$))+N-N*)N-M,**%:  @ v<-MTM-?K5:66459<5&?HPPIK* ')+K**K+)' *KIPPH>&5<:6uN|l||l|-I+N))N+@6:55:5Q)5>o654&547!&54='&'654'67.5476;+"'5#"=6&'76767%25#654&'Fz-6 Z8. ,N0H!h6%`+EH )#M ;,Jga#iR k' M +1^hgo8:(@s.Pmz nx?.#1p#41`&>%!ac,,LHJ x}647| + OJJ)!0 P[32>4.#"32>54.#"!5&54767&'&546767&'&4>32'&'.#":e79e89f76e`[S &(*UM,N)(N-KV)&& \@ECApd88dpg669:%N&KRS* 'TM**MT' *SRK&N۠:9}qyyq}c $Tdhy67&'&"!3!67>54.#"!&'.54>325467675#53533#63232>54.#"!57!&'.54>3234'67632!P#3JTRJWVJQSOMJ4"?*&ElnhPL$ llill %LOhnlD')----s=BDw@>=))==AwDB=+)QPQ((QPQ)+/ 6klj$?6FWWF6?$jlk6 }++-- !yCB{C!$$!C{BCy! JHLP&'4>32"'4>32&'4>32&54>32&54>32#!5!5!M_ 6694S55.+C55C&.66 V\+55 c$))_33@]22-"40446/*33UJ"+33^1/NNOOU%)5!5!!35!#3!53573#'5#5!35!s\\ss]]s ^^/oo#E77v4@4767&'&'5676767&'&54>32!&535#5##3  <$))+N-N*)N-M,**%:  @%v<5&?HPPIK* ')+K**K+)' *KIPPH>&5<:6n5|l||l|L3?HN654&5473#!&5454'+#"#7&'654'67654&547;2547#";65'"3%:U"-6 Bu Zg0krX0c-h8E+`%s H>4wM-'9.QY / o8:qhPSmh #%Bz1"0@)5"@YR0.&54767&'&546767&'&4>32; &(*UM,N)(N-KV)&& 9:%N&KRS* 'TM**MT' *SRK&N۠:9C##"'##56'##"/547?^'5@_*SU&/UL ;Yԧ9UP(` XI.s222732#&547636=4'&# #4'&#"*t pz&=<xQ>hG:V Hek%PF5NP B|-&pA&NFX &&5 <F:^;" V gdG7236;2"##'65##"'&5476;235&'&=476e x<JT`(GeRUdfB3 VNTMT,P$ 66$0_ u3dUdt_}s*$"Rt0XX__/ik=ZG8*F 1 . ъf)MC =g9EkO 9!(-);&  ]t!y" & 2| ba$ U+  #8M35733!&54?'7'327!!"'&%#'7367654'77'7'&#"'676ի,&T>=c#]K9.U:1ʈ%`T?7>54&#"5>32&54?'7'327!!"'&%#'7367654'77'7'&#"'676]T@1$J=c#]K9.U:1ʈ%`T?32&54?'7'327!!"'&%#'7367654'77'7'&#"'676Z _3lFHe5^\VOosHGJI)`VKm1Sj,&T>=c#]K9.U:1ʈ%`T?=c#]K9.U:1ʈ%`T?=c#]K9.U:1ʈ%`T?=c#]K9.U:1ʈ%`T?=c#]K9.U:1ʈ%`T?=c#]K9.U:1ʈ%`T?32#"&e|e(<X<ħñ"32#"&$2#".46e|e(<X<ħñ"@<#"4.#"e|e:<#"< !<"#;zch =B4.#"$32>4."e|e:<#"< !<"#;"< !<"#<@;zch =B54.#"##"'5##"$'&'!5!5&'.4>32!!676767'%''H&(G()G'%H(%'V W3WImuw>DE}AB|GE=md^JW4W Vs'H''H'(H''H`XAK|@X1(ԁ3"|}DD}|" 2/ "1X@|AX1# / 673&/'67 &'"&'6?&'3 ' K[]><+Gg['fBBe&\h?(K?]\K !;32T $ #AC,MMMv A5p_9D-M**  B@0"@R//>wA&oc/D&3.YaQ/5"1'"uE62/u= =!m- .... y 7%  %  32+#".=!"&'&'#&=4;7337_% 8)0/_^^M^1/ 9534<&&<&*(D>?GGzB6C{GG?>D9/C}&632#"&'.#"'#!#!#Ҹ62K#+~KF0R!9'/Nx_TV_T 'NQ9;:#8HL"CD|))Z) 532>4.#";267#&=&$32735&'.4>22[02[24Z1/[)'5*+X A54.#"%2#".54>''#/'7''7''7/5?'77'77'7?3777''H)(H('H((I\Hs=]SH$e$HR^323#67#&"#"/&'&547&#""'6%676V n*[n%'ZxL0<{2;&b;0&8a>!U*~EmLK}`? {a7c[ O&0>j!>a)E~CKW ={d{7 [+M57LL75M-Z '*''*' Y (5[ J5( \d (5J [4 ''/7O_2#".54>&'32367&%2327654'&''67&'&'&'676765467654'&#"7>326323#"'##"'&'#"&'&54767&'&54767232&'&#"6&%6767&'&'&#"676&5467&'&6732767&$$$$OG3%V cc V%4GL944m/122102/.303112.OF}6&V e"w?>v"pt #87! vn":;@A<:"nx !66# sp%./13/.UVT\<>"$!! !"#">kc V &6|FO 93399 <>#"#><  "$ZTU./43..V5$##$59gT;&'9Z^^Z9'':Tg9'(''&()I8:9889: Z_59eU;'( :8.>euvc>-7:bccb;7-?cwud?/8KWZZW **D@@D+8(':Te95^&)(&''(DA:AD.*!Y[[Y!& !-x67&'67&'4&6%67.'%4'6&#"&'6767&54?67&'&#"#&'#&'5&'"'67&'&47632>4.#"%2#".4>'7,3 3%/0),7=*#0*+3.22'8  YfT,1'').UfY >98 "2 B2;F_ XB?2C 3" 894ihgikce"S[XVWXZ#ejpMcNTvJKrZ1VlLWMI p jk%nA V{ww[11[ ww{V @#fd-#JM 7B/""0C7 NK",df#νhhοggQUXXUd %3!'#!52#"62#".54>" h9|M463%&$$5 O Dn; $$$$33'554#$/[QwGSGUW GJGX .5CK&5432632!!#!##53&4&#"326!&&#"327&54654'XP}}P~C;7?_Xej;A>7'sssLFF~||ב-  䤣lrrq)-5DL&'&6767&'"'&'&'&5'476!7!! 76'&'&'6'&utss-5 l&kpid=pDi/tEust,2}ts5sqtt-ԛ1 k&iꧦ g\}ul  An?\27/rtts,͓}qt)8GO'"'!!##53&'&54326!7!&'&36'&&5'47&#"327674'U`P}zpidu>7;C˂;C>xtsK) ||LGD g\uls螝՞䤣hkrr .4&#"326&54762!7!!!##53&w衤礡ᩨhn&䤣羚 o[tꝇ|| +D#"'&'&'&47>76327'7'%'27>764'&'."(F3"D"&%#}bV`ZZ^;D"&&$[X]:3G9:]:F=~=HS]^X&% iiD^29i\=<<92-1X?:<91*=X62'%'!!#5!5!5&'&'.546767''7'''7"2767>54&'&'&4p69].(EGGE@Z-<81VDEGFF'19T]9T:G5>+.11./:95>+.11./:9 \2:a(Eb_E@( %CE_bG(Hij:ο\ij+.wBAw./+.wABw./4+F!!#"'&'.546767675!5!' 2767>54&'&'&"<-Z@EGGEDVRbfNZ@EGGEDV18kbbjC9:/.11.+>59:/.11.+>5疑 (@E_bEC%##(@Eb_EC% kajP/.wBAw.+/.wABw.+ +F####"&'&'&54767>32333'7 '%32676764'&'.#"ܖU (@E_bEC%##(@Eb_EC% Uܭkaj/.wBAw.+/.wABw.+<-Z@EGGEDVRbfNZ@EGGEDV18kjC9:/.11.+>59:/.11.+>55 @  10432#"732654&#"陽…5 @  10432#"K +@kk k kKTX8Y104632#"&732654&#"ϑϑϘuSSuuSSu͒ΐSuuSSvvdPK!)7eK RX@ *.,&"($ k3,k($kk8991@&"6k0k 8<2<299990Y4632632#"'#"&7323&547&#"%6547232654&#"dϑRDDRϑRDDRϘuS?>Su^222Z>?SuuS ͒!!ΐSuXqpWv28ML88LM{WpqXuSSvTZ`z8Rm3#"2767>54&'&/2"'&'.5467676"2767>54&'&/2"'&'.5467676R#)$#R#$ $LK:C.25521@=:C.25521@=R#)$#R#$ $LK:C.25521@=:C.25521@=zZF)(JG()K.2IF21.2FI21F)(JG()K.2IF21.2FI21 J7Qk>767632"'&'.'!"'&'.546767632$"2767>54&'&'$"2767>54&'&'#61@=HK:C.25521@=:C.5%'21@=:C.25521@=HK:C.6#R#$$#R#$$R#)$#R#$ $5[51.2IF21.4`]21.2FI21.5[F)(GG()FF)(JG()KR 5%%%xr6׊eMM^xxV)7654'&'575#!&54767'5!s_vR$N::N$Rv_{aT,X@X,Ta{4b\)1%==%1)\b4ߴ:`\KDDK\`* 4&#"326&'&5432#w衤礡$PP䤣L~{lPj'#"'&#"'&'&'&47>7632327>76&'&'&/&'&'&47>762!2!%327>764'&'.#"&#"327>764'&'&s* 0$+$$$ 1#*# ZaZ%% NT12 4 #HH  ")mROeb  , 0  +   ) . $J . %'.D"&B 1 $C mR )Ky    !   V!Edz267>54&'."#"'%"'&'.5467676;27>4.'&+"'&'.54676762%632$"267>54&'&.&&.&m,mQjP(!N!"(! aVf&&bZ55!("!N!(PjoQm,.&&.&q    l?W,>&#< A#"< " (( " <"#A <#&>,W?~    lOOj3!#!"'.'&47676?6767>'.'&#"#"'.'&47>763276;%32676764'.'&#"676764'.'&#"32eOuRd2!  HH# 7   ZTN +Za21#+$0 4$$$+$0 's  *   * OK) Rd#!>& 3"9*$"D. ' - D! 2 . , T% #: & (  IZx-4H67&'&'&+"'&'&'&476767632%632 #"'%#"'&'&'&54767676;276276767654'&'&'&"276767654'&'&'&""'&'&'&547676762"'&'&'&547676762'&'&'&547654'&'&'&";276-&#"+"276767654'&5476%327%&"'&'&476762I  Q\C--%("(/*0.,+"( /X]\9<\X/"$)0*3')"* %1*0CR[        22 2 2 2 %'   &J  &%C\d#_*]OhXC%&  J&   O]*       ")&`&"'$"/' <%ZS  % SZ%< /'* "%5"-($# ;8\= !  !  " /VC "  !  !  [uV/+    V^au 767>54&'&'&#"&54767632 '.5467&54732#"#"676767#"'&#"'67654 ozwbda_f_zx|wbdaM,krnulspsnunNJ*D$ lQ$" 6*D?"5'K(2- # >   :72 331cd툍i`4331cd퍇>mwn<;;8ro졘wp:;;BV0/M8:D@*|sa  -F(7 "*=8&0!2  1-5$& 6:B4V^ (B\w.'%&'&"632%6767>54$2"'&'.546767" 767>54&'&'&'2 '&'&547676?'*&$ 1$-+h+-$F3782**?1 $&>>9|wbdabc`zwbda_f_zxspsnunˎspsnulwI_"2[$  "" gI $[2!v 55 55 31cd퍅caf31cd툍i`43d;8ro졘wp:;;8rown<;x,A-57'36%33#3#!2#!3#3##$'#7$@d5{sVd]F0 0F]dVs{5⒒d@( jPP,PP` 0 ")- !676762!"'&'&'&54!X$#R#+/RFF$#R#$1Sh,  k-"s!}P476?6763&'&'&547632676767654'&547632!54'&'&54'&&#"'&/&'&'&#"#"'&'&/&'&#"&'&'&?6'&'#"'&'&#"!'476='654'&545454'327654'&'&327654'&/%4-)"$0JK&  )7    %0'# #6 +-L __^/s4* 1( .266 |/(1   \   #:7  lS&   x71]/~[#<$  o_%@,: $";vR $X$+|!5DX&PY;9Do6 b'n2  83eF] 4T&  &  /50$?- 1@& 3l K  C"P1 :03<D:5XI.)D&[+-1:   q/A8   g+jl9Lp{7654'"'&#"+"'&54?67676763276323273#5%6767'&#"6"/67#"27632327654'73654'676547&p/l0&J!cS%YE]{@C"$4>-;% ,(6Y>m!N$X6"/,(4sS?X$U>"sJ?K(`./4+2K2.0>S Zp0+1^' ;cs  /^"|Y/ 428ۇϕl%%ot5oA='Y$ aT* ''G+- %_kj~r}jL`І|\gK@/.85c($ (2LS>54/##326?%%3254'654'3>7632#"&547>32'% ;66I   }g ?6qn   -> 9@ H67;  zh| 8 >6!q    B5>%+?F4&'&/76765'7! !'!654'!4'!!$467>2"&'&!654' 33 ^^^RXI#J2VlP# ~!88!~ Kppph,p<(##(#id (2LS.#"227654&'''%'654+.#"65.'&54632#"'.6#"%  I66; o |>?%6!q   9  ;76H   |h> 86qm    BX{[%G'23 %%.'&"27>7%$!"#232%"'&'.4676762%#"#2%k      A>>dIID`nS   SnGYn 5>5 n)(%$#"#64'232%%&'&'&"27676&22k**!n``n!##3W 2327632#"'&'&5476'( > !~GH ".4F+@xH )0$'*' 23277632#"'&'&54763'( e` }{*279HF`0@xJL 1 ,A  ' 7 Ɏ877Ɏ77ɍ8ɍ? tt7tt7t7tt7uB2632#"'&'#"'&54767'&54763267632676 Q   x L$3 z(   6X3  6*=P*> "#  R26#"'#"'&'+"'&'#"'&547&'&54767&&5476326763276T 디% $$YyX$ zc0 + j :  (̢1#: _$ #- Խ =1 '2ĺ pD #!!!!!%!!!!!!!!#!5!36HVBBXBBUHVPBXyBpD !!!!!!""p"p"#pD35#7!!#!5!3rrsrspD!!%!!!!!!r"p"#p"#Rb !!#!5!3ppEU l3!!'#'!!#!!3!5@,r,,_ r,,_>v #!!!!!'!!!!!!!!#!5!3hm_|P_H_pDK#";54&'&'&#'!326767657'&'&'.+3!76767>5{dIB,$2$*DEh{LGC_RQ|66R_CIJ{hED*$2$,BFd{LGC_RQ66R_CIJKIB`OT|87O\FGKzdGB+%2%+BIdzKGF\OT87O`BHL{dGB+%2%+BId  #!! !!! 373#'7#ZAA:Llحmllmzlmllm|}}|d d}cT`C54'&54762327632#"'&+"'&5476=#"#"'&476323(L,68x86,L zFvd0000dvFz L,68x86,L zFvd0000dvFz zFvd0000dvFz L,68x86,L yFvd0110dvFy L,68x86,LV^&'##"&'&'&4767>32367675&'&'.5467676236767>32#"&'&'&'#"'&'.546767675&   R.-R  R-.R "  *!""! ((\(( !""!#%   " R.-R  R-.R    %#!""! ((\(( !""!**!""! ((\(( !""!#%    R.-R  R-.R "   %#!""! ((\(( !""!*  " R.-R  R-.R   Sa4&'&'&'.546767622676767>32#"&'&'&'.#"'&'.54676767>5"#"&'&'&4767>32(,$ ((*& :.r06$&**& )'De!  'd8:b&$$&b:8d'  )a@/!  ')*&$6/r/6$&*)'  ')?c'  &d8:b&!$&b:=_& (bCc"  &d8:b& $&b:=_& (a?/!  ')*&$6/r/6$&*)'  ')De!  'd8:b&$$&b:8d'  )a@)' ((*& :.r06$&**& ((T`0267632#"'&'&'!&'&'&54676763267632#"'&'#"'&'&'&5476767!6767632#"'&'"'&'&'&54767#"'&'&'&5476767632!#"'&'&'&54767#"'&'&'&476767632&'&5476767632!#"'.'&5476767632&'&54767676Z   ( &            <   4          % (      (   2     6           %    <    %  (   W_2767653"4'&'&Wspsnullunsps;8rown<;;j>-'O^__^Oq44H4"hdd0!% %!-@jjjk**37'73 #'xxxx.xx.x..x  pD #'!5!73!GFdFGrEGdGErFGqFGdGFqGEd@L     - FOFc,OO,cFd,PO,dGOP T` '%%%%%% % -wD{wwe#w%f{wwy||y{xxe#w%f{wwxEy||y % %  Zp/AppA/}}ET`     - Zq NqqN  NrqN qrT`% % -ZyllylyyT`%% %% -ZtGcVGttGVcGGstGWcGtsGcpD/3%!!%#'''%!5!%777xo:U.cF.d;UǩoxoU:e.Ec.U9oE.f:UūoxoU9g.Ff.U:oxo9U. 54'&5476276767632+"#"32;2#"'&'&/"'&5476=&'&'#"'&'&547676;232?&547'&#"+"'&'&54767632676'K,68x86,L qA'C<4GW>L d  f L>WG4L d  d L>WG454&'&/54'&5476276767632+"#"32;2#"'&'&/"'&5476=&'&'#"'&'&547676;232?&547'&#"+"'&'&54767632676o**YK,68x86,L qA'C<4GW>L d  f L>WG4L d  d L>WG42#'"372"'&'&/"'&476="'&547>Q!//VZ *nN+G80j@6RR6@j0/P1N TP#00VZ ,lO@W+G80j@6RN6@j03L/N  ]H,`,H Yc!77\4OO4VA7gU3',H^ ]H,`,L&3c!77\4OO7VA7fV4&,H^67654'&"327632#"'&'&/#"'&5476=#"'&'&5476763232?'&#"#"'&'&5476763254'&5476276767632#"'&#"#"'&#"327676%32767654'&'&#"#"Z8%1T1%85e %ZF\ +m8BS/?JV@6RTXN6@VGB1QB8n* \FZ% e53e!&ZFZ *n8BS/?JV@6RR6@VGB1QB8m+ \FZ&!e3DA 5<; > +F$H$F+ > ;<5 AcJ2QD++DQ2J (5H,'9,J&0f) T|\`j4OO7g`\|T 'g/& H,9',I4( (3J,&9-H &0f) T|\`j4OO4j`\|T 'g/&J,9',H5(""'!$(:UJJU:($!'""nFw"2767>54&'&'767632"'"'&'.'"'&'.546767"'&'.546767632.546767632=>343343>==>343343>x>%85670-),(-%8/[0!-(,)-02y/8%0%)-02y/8%-(.'&$W/:#-(,)-02;>/;),)-02;>/8%-( 06{IF{6006{FI{605+'g>:c.&".c;=g'+&1N%&W'+&.c:>k#"$.c:>g'+,B:>g'+&.c;=?nF\v%"'&'.546767"'&'.546767632.5467676267632"'"'&'.27654&'&'&"67&'&'&'276767&5467'&'&#"32767>54&/76767>54&'&'&#"Z0%8/y20-),(-!0[/8%-(,)0-<1:3%>(-%8/|/8%-(>%85670-),(-%8/[0!-(,)-02y/8%0M=  H C# B/g H /*x#$  8## H g/B PP  $#x*/%N1&+'g=;c."&.c:>g'.5 ?=;c.&&.c;=? 5+'g>:c.&".c;=g'+&1N8GG$> >$ c.,bB$#>  Ir0C >'#> LM >#$Bb,.$ >#'> C0rI T`)T:e&'#"&'&'&4767>3267'&#"327%32676764'&'.#"7632#"#.4767676324676762>322##"&'"'&'.5#"'.'&467"&'&'&4767>&'&'.'&'>76?&'326767767>5&'&'.#"767>7.'&/32>7674&'&'67'&'.#"67'&'.'67676767"2767>54&'&'"'&'.54?&'2767>54'7654&'&'&"67'&54676762:    $4 4$ww4 4 xy   %" !()-+U$"! ((\(( !"&S+-)(! '7M"# V2% A()-.R$"! ((\(( !"(O-,*(A"#2P"# "M    ! *4 2 kk  4 2 uKK        i2 4* !== 2 4  `_  wR#$$#R#$$  8 < c !<>     8 < d!!<>   "%UV*) !!$3R  R3&!-(-%Z& "#%(.2$( &&S+,))A!$3R  R3'A))XT$""#%(`$( "      i3+!x== 3 _`        !+3 kk 3 uKJ   F)(GG()F$    %3 3%ww3 3 xy   V^3N^"2767>54&'&/2"'&'.4676762 '&'&547676% %-z35++++++53z35++++++5pWDM69?=;9JHDM69?=;9JHSspsnunˎspsnul}}(.h<;h.((.h; +F$$> +F$H ;<5 A~ ;<5 A+DQ2J (5H,'9,J&0f) T|\`j4OO7g`\|T 'g/& H,9',I4( (3J,&9-H &0f) T|\`j4OO4j`\|T 'g/&J,9',H5(G+DQ2J$(:U$(:U3!'""!'""A''7'753'75377537'7'#5''#5'7#5'7'7<B-DH2#"2767>5!"&54$3!57!#"'&'.5467676#_>I-743TP>CPNDG-2.1/&D9 88 '.* !-8D_2{j@F'%.3r@Md7+4V/2&'&54676762"'&'.546767Zy*,&''&%1]~|45,-++-,54|45,-++-,5(+&a4|d΃fz4a&$(F*.j=3"&'&'&54767>32rJ6464NN4646Jp`684F@NLBD64:866D@NLBD668^~* i654'&#"632327632!"'&5!267&'&#"#"'&54763247632327654'&547632#" 6+Jo.^V|;-˙it36?̺fQMeEJS?(*$ s]vh2K)*NL13^v:Mc*ZeC03N35%&-Kt\K%9S >BWN=!$?$8(F!5{^?Z Q67654 547&'&+327#"'#536767&'&'&5432&5476323254'&5432?-BO>=v06&%K`dC+(k$'eM?$#=Hb B=)+8=.m9eb PB>$3g:84!EB7WPfG+1KHP<Ff#&T'0P+A'<}DC/' 5276767654'&'4rceNS((((`hm@DDF/CD}>C/GFCG !&547>2; !!6P<:! !$ ! "#{! !{54&#">32!5!>??qq>0ţ=as;N_/>!RL}A?rFi:}$:&N?(U?"Mt 6+A]A)9IYiy ]1.+. + !'+!+9*'!901! 4$32%4&#">32+32#"&'32654&'26??qq|=_ky4[\XZcksuD}[X@v hA?rs ?<:32#"&'32654&#"75!5!??qqYe2hvvhDw_X@ϰ?A?r%aVUa/  23/4/3и/4ܸA]A)9IYiy ]A&6FVfv ]A] +  + +,&+,/&,901! 4$32#"&54632"32654&#"7>325.??qq\NN\\NN\qºN w/aTJjA?rZbbZ[bb*= P# + + 01! 4$32%!35!??qqlUA?rv]K 1=++ +A]A)9IYiy ]A&6FVfv ]A]A ]A ) 9 I Y i y ]/9;9;/A;;]A;);9;I;Y;i;y;;;;;;; ]5+ )+ +28+201! 4$32#"&5463232654&'>54&#"2#"&546??qq_TT__TT_⾭vijvkKRRKMQQA?rlHQPIIPPI\vSttSvB>=BB=>B &23/4/ܸA]A)9IYiy ]3'и'/-A-&-6-F-V-f-v------- ]A--]+ +  +*0+*# 901! 4$32254&#"326#"&'4632#"&??qq鿹ºO w.aUJk<\NN[[NN\A?rK < O$[bb[[bb $0Ӻ%+%+++A]A)9IYiy ]A++]A+)+9+I+Y+i+y+++++++ ]+ .+ (01! 4$32!5##7##"&5463232654&#"??qq$ŸuF?@EE@?FpA?r*'$ =$>  767654'&'!5%3!!  '&'&54767̆mommom4mommomP\|~{{~||~{{~|96oooo6996oo  oo6}9:݈@>}~Ա~}>@@>}~,,~}> =6P  767654'&'!!567>54&#"5>32  '&'&54767̆mommom4mommom)4 \=)N=kP`aF7I׺\|~{{~||~{{~|96oooo6996oo  oo6_A.Xx;_x55'(IZV@>}~Ա~}>@@>}~,,~}> =B\  767654'&'#"&'532654&+532654&#"5>32  '&'&54767̆mommom4mommomttLUDWx~zB\RGr=\|~{{~||~{{~|96oooo6996oo  oo6yt'(xrjw_Z\bd @>}~Ա~}>@@>}~,,~}> ='A  767654'&'!33##!5  '&'&54767̆mommom4mommomh*˪+\|~{{~||~{{~|96oooo6996oo  oo6 @>}~Ա~}>@@>}~,,~}> =7Q  767654'&'!!>32#"&'532654&#"  '&'&54767̆mommom4mommomz#G#KSLVAC\|~{{~||~{{~|96oooo6996oo  oo6c ۻ)%}|X@>}~Ա~}>@@>}~,,~}> =%>X  767654'&'"32654&.#">32#"32  '&'&54767̆mommom4mommomllm=|< /Vڵ =|^\|~{{~||~{{~|96oooo6996oo  oo6EKۼ>-O@>}~Ա~}>@@>}~,,~}> = :  767654'&'!#!  '&'&54767̆mommom4mommom\N\|~{{~||~{{~|96oooo6996oo  oo6`E#@>}~Ա~}>@@>}~,,~}> =#9E_  767654'&'"2654&%.546  &54632654&#"  '&'&54767̆mommom4mommoms慄htdthutԄ9tihvvhit0\|~{{~||~{{~|96oooo6996oo  oo6,{{|kl{Eggss\hh\]hh@>}~Ա~}>@@>}~,,~}> =2>X  767654'&'53267#"&54632#"&2654&#"  '&'&54767̆mommom4mommom=|< .Vڴ=}mmlJ\|~{{~||~{{~|96oooo6996oo  oo6DJټ@>}~Ա~}>@@>}~,,~}> =+8Ca  76767654'&'&'"32654'.  735733!  '&'&'&5476767̆mo5885om4mo5885omT,+VUVV++2QPPQΠP3p\|~-,g%&݈@>}~~}>@@>}~~}> = $!5!#%  '&'&54767{\|~{{~||~{{~|#:9q @>}~Ա~}>@@>}~,,~}> =6>7>54&#">32!5  '&'&54767I7ݺFa`Lk=N)\\|~{{~||~{{~| ZI('55x_;xX._@>}~Ա~}>@@>}~,,~}> =(B>54&#">32+32#"&'32654&  '&'&54767ir׸G\\Bz~xWDUL2\|~{{~||~{{~|db\Z_wjrx('°t=@>}~Ա~}>@@>}~,,~}> = '! !335#$  '&'&54767hno\|~{{~||~{{~|  @>}~Ա~}>@@>}~,,~}> =7>32#"&'32654&#"!5  '&'&54767CAVHSK#G#\|~{{~||~{{~|=|}'' %@>}~Ա~}>@@>}~,,~}> = $>2#"&546.#"32654&#">32  '&'&54767PmmlC|=ϵѴV/ <|=\|~{{~||~{{~|+޸KE@>}~Ա~}>@@>}~,,~}> = !35$  '&'&54767>h\|~{{~||~{{~|@fE@>}~Ա~}>@@>}~,,~}> = +E2"&46' 654&'>54& 74632#"&  '&'&54767Yt愄/tԃuhtt-tihvvhit0\|~{{~||~{{~|{lk|{{Essgg]hh]\hh@>}~Ա~}>@@>}~,,~}> =$>%32#"3267#"&'"&54632  '&'&54767!C}= дѳV. <|=Allm\|~{{~||~{{~|Q/=޸JDg@>}~Ա~}>@@>}~,,~}> =  :2#"&546$  !5##7  '&'&54767eddedddB¡\|~{{~||~{{~|>-/#&%q @>}~Ա~}>@@>}~,,~}>uPj !!5!!Pp#@pppt 7%FN4NGuP85 zD<22pJJt '-ZKFGNuP!!u\lE>~~>uu+"&'.546?!".4>3!'.5467>2p4,,$$,,42.p ,.".2."., puP8!5! %JZPJJuP8!5! %JHJJuP8 #3#3#3!!5 xx<<oJpppJJuP8 55!#3#3#3oPxx<<΄ΊXXXXuP8!!5 %JJJPD! 6>l>>PD ! DR>l>>P  BlvvuPb3!5 5! '&'.u$##+* ZJMM*+##$0U%!JJ!%UuP84676763!5 5! u$##+* ZJMM*+##$0U%!JJ!%U0!! ^r{VXeoouP855!Dq΄Ξ0uj%5!!53  !<9h9>uj%5!!53  !<9h9>+Z !73#57!!+ Id&+ъ2&+Z 5!'53#'!!!+dI|&22 !'!'!53 !Odcndh 2 3#5!7!!! ndnd;ch dd !53#'5!'! !]n2n22r-hJdc;dJdd 7!573#5!! !2+2n2nr-hLJd;cdJ<6767632"'&'&'! <'CZmo~yti^Z\X^Vqoti^?)X6nGCZ.//+]Y݀z_X0//+]>Iʞ BP "&*.37#37#37#37#5!!!!3'#3'#3'#3'#<<< 7&#"7'7 !%*BF8WU{FC*9oX:WubP 55!5!!'!XXddPRt '327'' !!iFB*8X:*CF9XUpt>*%&#">7'&'&">327&5467>7tBEH#&NKX$W/,0$" D5Hp*G6$"!0,0Y"W!F&'&#GGCuaP'467#"!4676?'&'.5!3!.5P5#$%"//"%X$# 5eeJ(0Y! "X0(Jet*.'.54?'#"&'2767.'32t)H5 X"$ #0,0X"KN&#EHEBCGG&'&KW"Y0,0$"E6GsPX'<6%"'&'.54676$4676762"'&'&&'.54676762$/+z >_ $#R#af#R#)>xbQu 88RK68# 88  vc<*676767632#"'&'&'&%.5467.546A ''+/54<3o8n23'9%%%%bb%%%&:?$ fLLf#&#/:&'X23X'rr'X32XV2c"'&'.54?654&'&'&#!"#!".4?64/&4676763!23!2767>54/&546767622 Z ;:td Z   c   uu  c  2c"'&'.54?654&'&'&+"#!".4?64'&4676763!2;2767>54/&546767622pW\xj IJ \W   8  uP^'#76767&'&/3#>7!5!!5!.'PSJl..&GG&GlHSi7*nK Kn**7OUnm'66'1U=Hd)dH=#u ! ! j.u-10 3%!#3!Zddd/ #3!53#5ddZd{3 #pph # 3hp&  T&!!T[[ '#'#'##'x\xxjjxx\x,x\ehhP8\xYY73373737+.x\xxjjxx\x.x\8Phhe\x,OlD<72767>54'&'&'&"7#7676767632#"'&ew@RNJV !'7$"!3!&'&'&'!#!2767676wx !1cbbc1! "1cbbc1" `x]\LM&  &ML\;RR &ML\]]\LM&ZwxZQvcbddbcvQZ[RwcbddbcwR[xV''LM\7=e=7\ML'e;6\ML''''LM\6d 8   2@ @@ 00 ]1@   990@   <<@ <<KSX << Y5!!dx yxUZxxu 8   2@ OO __ ]1@  990@   <<@ <<KSX << Y'7!5!'7 wxy xZwxxd 8ڶ 22@ PP_ _O O]1@    9220@   <<@ <<@ <<@ <<KSX <<<< Y5!'7'7!dxxwxxUZxxwZwxxd 8!!5!! s]xwx]ix]xZx]xiu 87'!5!'7'7!5 ii]xwx]iix]xwZwx]xd 8!7'!!5!'7'XiiiI]xwx]h]xwxiii]xZx]]xwZwxd 8 !5!3# Y#xwxݪ-xZxYu 8 #3!'7'7xwx-\xwZwxd 8 !5!53#5! Y]xwx]Q7ii]xZx]Eiiu 8 !'7'7!#3!7'Q]xwx]iic]xwZwx]\iiu 8%77777773'7'7#'''''''uFFxwxcnFFFxwZwxnF,X@,,X ,,X@',,,X,,X@',,,X ',,,X@',',,@,@',,@',,@',',,@',,@',',,@',',,@',',', ,@',, ',,@',',, ',,@',',, ',',,@',',',@',@',',@',',@',',',@',',@',',',@',',',@',',',',@',, ',,@',',,',,@',',, ',',,@',',',@',@',',@',',@',',',@',',@',',',@',',',@',',',' ',@',', ',',@',',', ',',@',',', ',',',@',',','@'',@','',@','',@',','',@','',@',','',@',','',@',',','',pX,p,pX@',,p,pX ',,p,pX@',',,p,pX',,p,pX@',',,p,pX ',',,p,pX@',',',,p,p@',p,p@',',p,p@',',p,p@',',',p,p@',',p,p@',',',p,p@',',',p,p@',',',',p,p ',p,p@',',p,p ',',p,p@',',',p,p ',',p,p@',',',p,p ',',',p,p@',',',',p,p@'',p,p@','',p,p@','',p,p@',','',p,p@','',p,p@',','',p,p@',','',p,p@',',','',p,p',p,p@',',p,p ',',p,p@',',',p,p',',p,p@',',',p,p ',',',p,p@',',',',p,p@'',p,p@','',p,p@','',p,p@',','',p,p@','',p,p@',','',p,p@',','',p,p@',',','',p,p '',p,p@','',p,p ','',p,p@',','',p,p ','',p,p@',','',p,p ',','',p,p@',',','',p,p@''',p,p@',''',p,p@',''',p,p@',',''',p,p@',''',p,p@',',''',p,p@',',''',p,p@',',',''',ppp,p@',p,p ',p,p@',',p,p',p,p@',',p,p ',',p,p@',',',pp@'p,p@','p,p@','p,p@',','p,p@','p,p@',','p,p@',','p,p@',',','pp 'p,p@','p,p ','p,p@',','p,p ','p,p@',','p,p ',','p,p@',',','pp@''p,p@',''p,p@',''p,p@',',''p,p@',''p,p@',',''p,p@',',''p,p@',',',''pp'p,p@','p,p ','p,p@',','p,p','p,p@',','p,p ',','p,p@',',','pp@''p,p@',''p,p@',''p,p@',',''p,p@',''p,p@',',''p,p@',',''p,p@',',',''pp ''p,p@',''p,p ',''p,p@',',''p,p ',''p,p@',',''p,p ',',''p,p@',',',''pp@'''p,p@','''p,p@','''p,p@',','''p,p@','''p,p@',','''p,p@',','''p,p@',',','''p,p',pp,p@',',pp,p ',',pp,p@',',',pp,p',',pp,p@',',',pp,p ',',',pp,p@',',',',pp,p@'',pp,p@','',pp,p@','',pp,p@',','',pp,p@','',pp,p@',','',pp,p@',','',pp,p@',',','',pp,p '',pp,p@','',pp,p ','',pp,p@',','',pp,p ','',pp,p@',','',pp,p ',','',pp,p@',',','',pp,p@''',pp,p@',''',pp,p@',''',pp,p@',',''',pp,p@',''',pp,p@',',''',pp,p@',',''',pp,p@',',',''',pp,p'',pp,p@','',pp,p ','',pp,p@',','',pp,p','',pp,p@',','',pp,p ',','',pp,p@',',','',pp,p@''',pp,p@',''',pp,p@',''',pp,p@',',''',pp,p@',''',pp,p@',',''',pp,p@',',''',pp,p@',',',''',pp,p ''',pp,p@',''',pp,p ',''',pp,p@',',''',pp,p ',''',pp,p@',',''',pp,p ',',''',pp,p@',',',''',pp,p@'''',pp,p@','''',pp,p@','''',pp,p@',','''',pp,p@','''',pp,p@',','''',pp,p@',','''',pp,p@',',','''',ppd?8 !5!53#5!s]xwx]ii]xZx]EiiuP8 !'7'7!#3!7']xwx]siic]xwZwx]\ii 3'#'##-Z-x\xxx\.x\n #\733737#x\xxx\xZ'x\# n\xO'<%"'&'&'&76767327676764'&'&'&pk_V1..1Vbrx`Xk_V1..1V_kpIxXE?#!!';B]YQS@?#!!';BQ9.-\ZnllnZ_.x$-\ZnllnZ\-.)xF!F@RNJV>l5UU5D>/#B0G 47stݔdXЎW37&54'5&'6765!2;#"#!532654&+C6002$'l>>l5UU5D>/#B0G 47stݔdXЎW2  5 1Vd22h' %#3 5' :' 73 ٪L^8bb:'B 7''ٛ>PNq'B '''ٛ>PNq^D'B ''>PN'B%  '''tNP'B5  5''bNP#u  u-3!3!!#!#!5 L3ͨ--Ӫ--333333#######5Ϩ---Ӫ---:k7!!  767654'&'$  $'&'&547676h08rtrrtr@rtrrtr VGFFGrGFFG;:rs죟sr:;;:rssr:Ŭɪ:k3?  767654'&'$  $'&'&547676!!#!5!rtrrtr@rtrrtr VGFFGrGFFGssB;:rs죟sr:;;:rssr:ŬɪKss:k3?  767654'&'$  $'&'&547676   ' rtrrtr@rtrrtr VGFFGrGFFG]x3w32x3B;:rs죟sr:;;:rssr:Ŭɪ3x23w3xuM %' )o& )' )% )JuM327!5!>2&#"!!"&' ;E 2&#"!!!!"&' ;E $;E Ϊ@z٨zuM&#"%"&'73275%>2";EC;EJ綠mzzuM*3&#"&'67"&'7327&'&54767>2";EIq(P >6D;E]InoSu=,HK%)AH!+p$ z1IosV2";E+@/V]H6H\nUm;D [>wfP3,,I6x/Ur]HH]lVzM>wrN3 F4uM!3#!!>2&#"!!"&'732w~9F 9 }9Gr0}}uM+3#>2&#""&'73273264&c)~9GcBnnVs~9F (6o~ç|K|oU}uMp.3#327264&#">2&#"632#"'"&'z;E-8pƖqS;E;DܛWI3>6я]z!zuM 13#64&"327&'&767>2&#""&'˔֐;E]InoSu;EcBnnVszяϐ-1Io7sV2&#"!!"&'73273!#3;~9G9G ūI}ޭ{ tMm-&#"!2#567&'!"&'7327!5!>2";Ed_``!;D ܻ`;`*I6ƌebIz`:H:`*F4uM#&#"7'"&'7327'7'7>2";Exx;EzxXyxzyxإzuM*327#467>2&#"#4'"&' ;E-A 4yy;E Z>Vy|-2PIϼ+zEa82JzuM'&#"63"&'7327&'&53>2";E*y;E\?Vy~+&8'zLFaI1zuM>32&#"#"&'7327!5KL~9GALK~9G⧅}}gkb>32&#"#"&'73275!KL~9GALK~9G⧅}}Р? 5 5FѶeѦ 55FѶ///m' /\& ]'' \'' ]' /\ ' ]N:A%#"'&'&'&#"5>32326#"'&'&'&#"5>32326 5jbn ^Xbh`n ^Vhjbn ^Xbh`n ^Vg@PNE;=LTNE;=KPD:32326#"'&'&'&#"5>3232655jbn ^Xbh`n ^Vhjbn ^Xbh`n ^VePNE;=LTNE;=KPD:327&#"56767326 5jbDS4WVhjbm\Y@/Xbh`ES3VXbhZmMp[Y@1Vg@PD4KUNE;@LTNE4LRN"*,@J^po_N5<#"'3267#"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`ES3VXbhZmMp[Y@1Vg!:[]$PD4KUNE;@LTNE4LRN"*,@J-QtXVv6A#"'3267#"/'7&#"5>327&#"5676732655$%$jbDS4WVhjbm\Y@/Xbh`ES3VXbhZmMp[Y@1Ve][:!$PD4KUNE;@LTNE4LRN"*,@JVXQ-7 5@pppo%5555òi ' '!]#\e#N\#]x#L   !77 ! \ݿ##N]##4 !7 7:\#]x#L]ݿ#\eL#1 4  %''' !]ݿ#\eL#1\ݿ#]j#7P~ % ! !!5 5!3!   7?~% !!3 *^V !!^*  ^V!!!^ ' '!##L  !  ##4%7 7#L4L#1 4  ! L#1#7P~ % ! !3!߆^V ! !! !ECuR #7!5!7Zxx/{xx:xu-R '!5!'xx vx:xH% 7!!7vx{/xxxƪxvH-% 3'!!'Zxx vxx$!%!!W7 r$!!!W7 $!!,7r32 &}f[_ &}f[, %$R/ %$R !2+##5332654&+!ʿ[qrqqϐђАfT$@  $ !? %29999991@&  B  $/999990KSX9Y"@&]@Bz%%%&'&&& &66FFhuuw]]#.+;#"&! 32654&#A{>ٿJxn?M~hb–m؍OH#(07#5#"''7&546;7&'&#"5>327354326=-?\g`n;) T`TeZx_958>cc3Vfa<}NV{ E..''rOs+Ax.ٴ) 3{ B333#;#"'&'##53w1ѪKsQ fև3͏oNP r>-!#4&#"#3676323#d||BYZucce22wxLj%3###3!E3A1wH33 3###%̟8ǹiEL#\ !!#!5!sP=g՚oAX` !!#!5!qjLl}e`R%h%6323#56?65&#"T^\Ѩ1<-M21]@/2UPn44%q!#3!q"9`!#3!W`3ph '"27654'&'2#"'&7673=A__UVF6˷ȅeB:VVMpˑRh]p[mNssg.q $@ E E1@ 0"32654&'2#"$54$,,g}ss}}ss}s+2@ -! ,221@ &,046$32#"$&%!327676%!&'.#"s~&&~~ڢ~YNwwk]~Nwwk]zz❞zzIʑS`0aJɒR`0aIs"'I@"$$#) #(229/<21@"#!%(22<2046$32#"$&7)6&')s~&&~~ڢ~ & \ڵzz❞zzI!!t!!@5 c@    1/<990@    BKSX@   Y"5! # #7!v(vuyTW+FC8 c@  1/2990@    BKSX@   Y"%!5 3 3!kxqF2@j@    <<1/99990@   BKSX@   Y"! !7!5 5!WXwk/+W(L? #@   1/<<203#3#3#zD+h)h9(EP #/3H@5E1-0 !'E4<2<21@300* 4*$49/02654&#""$54$322654&#""$54$32!!,,,,7`s9448844994488449\}:@   22221@  /<2220!!!!!!!!5!!  AuAd9\R T@    291/<0@  BKSX<<Y"!#! #!&,Ps՚vO~ -@   <2̴? ?]1/03#3#3#QI\R T@    291/<0@  BKSX<<Y"3 !3%!cTsOvs+7@ &-& ,9/1@ ! ,22046$32#"$&767>54'&'&s~&&~~ڢ~.]=@N\N\.]=zz❞zz}qa !SM!R}|pas?#-n@.  '&$ /$ .9999991@ .'& ) )./9999999046$327#"''7&7&#"4'32>s~&Ġn~ڢĠnՑꏧw֜\w֜\zvijޝzwkj!^`|g^` .@   <<<2221/03#3#3#3#):@  1/<0@22 # #3.]F; -@    1@  /<<03!#!#!"9q><@  9/1 ]@ /<220KBPX@     @     @ Y333 # # \Xds3{ 1@   <2<2??]1/<2<20%3#3#3#3#\ 7@  91/0@ BKSXY" !!!!&TdD՚ohh $@    1/<<2203#3#3#hhh0o !@  /221/220!!!!5!!o&.-ժo1/,@! ',01*$ 022122<20!"'53 !"563 676!2&# !27# '&%4rmyymrO4%%4Trmyymr4*B6!*:'(8) 6AB6 )*!6oP@   <<222<<<<21@   /<2<<22<<2203!3!!!!#!#!5!!5!!n""xxyyrr3@21/03!!!ժ,o7@   /<<2<<21@ /<2<203!!!!#!5!!5!CCPPxyr7@ KTX@8Y221/0@ 0 @ P ` ]73#3#>@ 10@ BKSXY"47!5!32654'3! $x˿ßwNetwc #/9@1E- !'E0<2<21@ 0*$002654&#""$54$322654&#""$54$32,,,,PIIPPIIPPIIPPIIPs'(@ ) (1@ #(046$32#"$&732>54.#"s~&&~~ڢ~\ww֜\\ww֜\zz❞zz}``}|``s,P@  ! #.# -9991@ ! ((-99046$32'#"$&73277654.#"s~&&~l~\wj\ww֜\zz➞ikwz|`^jI|``; -@   1@   /2203!3!#,dq9d (@   <<<<1/03#3#3#QIh ?@     <2<2??? ]1/<2<20#53#533#3#3#h+Is'+>@- )(( ,9//)]1@+(#,046$32#"$&732>54.#"3#s~&&~~ڢ~\ww֜\\ww֜\zz❞zz}``}|``s>,P@  %$#& !.! -9991@ #&$%((-99046$327#"$&732>54''&#"s~&Ġn~ڢ~\ww֜\pw֜\zvikzz|``|?l^`sr%1=G@8&,20><2<21@/; 5 )##>9//0! #"&547 !&54632! 32654&#"4&#"326sS_  _mz,,,,,,,,gs'O;H66H;O'sz<11<;22<11<;//d #@   <<1/<203!!#!5!IIjk=;;sr3?Kf@F4%+6:0L2<2<29/<<1@=(I C (7##11L9///<20! #"&547"333###3&54632! 32654&#"4&#"326sS_ ̻A;z,,,,,,,,gs'O;H6ߊ6H;OO4z<11<;22<11<;//;@   2<21/220]!!!33##!!!>ժFh";@ 1/<0)3!3;+y=@ B <1/20KSX@Y!# 5!!!8ks#O@%$!  /<<22<2<21@  /<<<2<<<2032653#2#4&##"#3"3ʊyʊy+VVF%F.@ KTX@8Y1/0!##u-s+f@- ,&'  #+ /<<<222<2<21@+*   #*'"/<<<2<<<29/<205!5"3332653#!!2#4&##"#35ʊAyʊy>FV>=VF=6-@ 1/20!3!3M-: #'+/37ڷ/$0(7,48<<<<<#+ 3'<<<<< <<<<< <<<<<9̰XKRX8K bf TX30<32#4&#"#9`M1Cuȸ||MM 7BuƸ||e,'"xMfca?'Gzed\V5<!"'&76763!!32653#5#"&5#3!#"&5332765!"3ە^SWsv||CusCuȸ||WVۃ^SBWLa{fcBVfcf__{{V H!&#5#"&5332654/&763!6763232653#5#"'&=4&#"#9`M1Cuȸ||MM 7c%Zk>8nClbd||xe,'"xMfca?'Gz2XO{fcx{䟞[t`&V 332673 &Vv aWV` v ޞKKJL[`&(SN~`6@  F991B /2<0KSXY%2767653)5!3$Wq2!dj±/8s4tVg` ##4673>=3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* 1p*D}'E=}G&E b&? ~&3;#"'!5 767654x I*eK2D0# &pgM,>ꅗ:H~ b'q ? ~&q A GF%7653323;#"'#"'&''&'#&'$473327676'&/3N0%@nS,cKvDm% I01_@8'TPxmil_Qb_y^@@$:|_2&aS,`[ F{GHܳ&%0l}=J<~ 1%+53276=3327653763#"'&'#"'&+8LcKc,P,+hm,%@n\Kf%#?70`DAbH<;!.,Pd@dczg2&q\ =!1(78#"'&'#"'&'+53276=3327653763;#"'%#?70`DAbH<)+8LcKc,P,+hm,%@nS,cKvD =!1(I;!.,Pd@dczg2&aS,`Z ' A G&  & 7& C <I)"'&5#&'$47332767654'367676;#"/"3276'&'&u&4-JXPxmil_Qf[+!' (s{lHX}a*=RKgL~큻%MGHܳ&%Dl7(2l^F"%GMF ,\v7Ql?[F2 .327654'&#"!"'&'+53276=36767632Ш큺%0LJNA'fKc,P-e_KUskl?[F*#=,PdrNP2T?!'Dmx+8)"'&'+53276=36767632;#"/327654'&#"JNA'fKc,P-e_KUqm*=RKg਑큺%0L*#=,PdrNP2T?!'DKH ,\vl?[F ' C & 2& & E))5!3%632;#"/%3276'&'&#"@o\Dui*=RKg큻%0Pz\?c!'EMF ,\v?]DQx %3276'&'&#")5!3%6329큻%0Pzu \Duiʸ?]DQx\?c!'Emx))5!3%632;#"/%3276'&'&#"8 \Dui*=RKg큻%0Pz\?c!'EMF ,\v?]DQx'RE&R&R&Ru *Gu %+! '&7.54762;# '!2764"[b=D}a_[9^DU)k_1ocz2t*n@00@p[C+ @Mkl=v8`3$*727&'&5763"327%+5SF7J \X];d}M4F!Ť$/%+532767&'&5476762;#""654'v`kB;(aD hYYh MXD=p`vʨ4/gg/($'UZ'-)74--47)-'bM,(U __ u F'wGu L&F&wL&'~\L&?&~ ~&kG'R~ok &k?&,~ ~&8L!D#"'5327654'&'&7676'&'$54733276763;#"'J&P DfXRNB8D-<9_h$$EB|=Q#!v+6(  %{{qe))5!27654'&54767;#"'&/66-62 hGG&+@XA:g!a_h$$EB|=Q#!v+6(  %?+)x.M#$%653;#"'#"'$&733276N1,cKpNyUcE@A(IPmI~jkj1,3.(B"[\ss~B"5 +5327653WPKc,1se\,1j%+5327653;#"SMKc,11,cKVV,1jkj1,^Ngt5%327654'&'&#"#"'&#4763&547632;#"bzL,5;(.;D K2KxAZM\HT((&iK*9:X DD(PNNOmf7*(?$GC,,m$%#"'+5326767632%327654'&#"dan@ht4W^Q[a>/4(*X.[4fb0G1P8TYNE5EK&)/4:''5)24fb0$#1P8S1>,E5EX !a%H'?  +&r?&'R~'RP^ $&'&'&'3;#"'&'#"'&5476 xRot$8pKZI-&8:m*12e CY>)2'+eO,3;I0D-=67654'&#"27&'&5476&'5#"'+5327654'&$"':A4N--0M,Q@(Jxb 41}! @H=.%4-+#%v iEN@TSZ 'D49g=ql)D%'i.C!v-3j  ;AWE L9P)8K6(S/VL_+Y9K1\SJR765&'&'&54767632;#"'&#"#"'$4733276L[/,4PT*uW ##rpl$-AIqYhu?AB[M!3!+ (;=A<^ĸ#0{bV` )gZZrN J' R '  X&uc~X&vc.&\,.&\,&],&], &^ &^T#"'53273676537M͞jK`Uq%BUG FA+7T#"'5327367653;#"'&4;IʡjK`Uq%"@Pif<[A FA+7DT)TL* 35'5467676?67654&#">32,X\"$߸g^aOl39ZZ8L{4<+VZ@EL89CFnY1^5YVe !5!5!)5!S2SR7'XJF: 'bI:= ']IC; 'J<b= ']bH'I&I'IIH'I'I'IJH' 'I'IIH'I&I'IJH'J'I'IJH'J'I'I H&I&'IIH&J&'IIH' 'I'IH'J'I&IIH'J'I'IJH' 'I'IJH&I'J'JIH&J'I'JJH' 'J'JIH&'I'JIH&&J'IJH&'I'J H' 'I&IIH&J'I'I H' ' 'IIH'J'I&I H' &J'IJH' ' 'IJH' 'I&IH' 'I&JH' &'I H'J'I'IIH'J&J'IIH'J'I'I H'J'J'IIH'J&J'IJH'J' 'IJH'J'I&IH'J'I&JH'J&'I H'J&I'IJH'J&J'IJH'J'J'I H'J'J'JIH'J'J'JJH'J'J'J H'J&I'JH'J'J&JH'J' 'JH'J&I'I H'J' 'IJH'J'I'  H'J' &IJH'J'J&J H'J'J'  H'J&I& H'J&J& H'J' & H'&I'IIH''I'IJH'' 'IIH'&I'IJH''J'IJH''J'I H'&I&IH'&J&IH'' 'IH''J'IIH''J'IJH'' 'IJH'&I'JJH'&J'JJH'' 'JJH'&'JIH'&&JJH'&'J H'' 'IIH'&J'I H'' ' IH''J&I H'' &JJH'' ' JH'' &IH'' &JH'' &   3%!#!! !Y9w\{8q d+_N  %*!2#!327&#363&#!3654/654'f;33;$ $#>]a{w DD663! )327&#!36'hPcp~qAA k{qS3%!!!!!!-x9vq dddsd !!!!!#3#oQn.ddqs&&$#"32767!5!# !2deVRuu^oRaG@;@&5dSUmnHFcIf3%!#3!53#.nXddddq dddd fY6765%!#!53265-V?O?nqd J^ dd0 !3 #!3pdw@1q 2 !!!3ddo o !#!! !3!3_Gbn}qR+q  r'( ! '&76 7& 676'&&:żGlllli$ #ab2222jT%%5$c$-6&/.4%&  %5 64&/.$ Pdo&nŢmngzoʷ-[ʚ)'NXd''pui$2Xf| / 3%!!!!rpq ddq $!&%! 65! X!!Y fqba@`|gd5\*$ 3%! 3!dq d+D 3!3%! ! 3! !D5D:9:9d|q  d+l 3%! 3 ! #(\~vbL:H|dq d22{ 3!! #3ndp29V{{",34&'3!5#"&5463!54&#"5>3 5!">76a=Kd?`Twj6/^;:5Czӆ]YfaH..t''UNHGgwt-!>32#"&'!4'&'676763&#"327N:||:^,<<,9RKM_]daadt= z =OsKTdihtJq{#%#"!2&'&#"3276%M]-ULEmGJXHCQRHV,${z$d$$>:##dWS%&-!!5#"323327654'&'&#"N:||v9,<<,^(]_MK^daDDaZKsO=  =Td6Jthio}{!327# 32!.#"}K_mk)#i̩J@b]u-)8 CqzӾ/ 3476%#"!!!#5354763g.9:9|WX -8J_D8d97ddddTVqV{#.=65326=#"325!!"&32767654'&#"jlQR:||:Nry^,<<,9/KM_]=ʌo,*qdaDDad-w=  =OsKihtJH "34'&3'!>32!4&#"! GS5‡OIƁkk h@[:Lded\ПU5 33#!!JKOhV #676#532765!3#%G(=1l$%OQRaеT0Hd01``2 !3 #!3OHіmdi#L&5#"'&5!3J=(G%RQOLiH0T0Z``~J^d{"&1<!>32>32!4&#"!4&#"!3%34'&%34'&OIƁԝTށkkkkd[ GS5 GS5`edJv\П\ПUh h@[: h@[:H{ "34'&%3'!>32!4&#"! GS5‡OIƁkk h@[:hded\ПUqu{ #2#"27&"676'&s3x33x3d4'pp'3(pp({98  kp-$-R-ۀ-qV{-%!!>32#"&4'&'&'676#&#"32N:||9,<<,^؆]_MKdaaKsO= z =oHJthiqV{-%!!.#"326476767&'&3632#"N:||v9,<<,^(]_MKdaaKsO= z =oHJthi{3'!>32.#"!N:4I,hdfc˾zo{E67654'&/&'&5432654&/.54632.#"#"&'i'K&'q4=B%%U+.39GSOjqL4vfLJ\_opPx3Zl=vf03"3;@{R?Bsl37'*7CoT78^UNO,, z1$YXDL#/%%7%&7#!!;!"&5#53*\{KsբjU|7N(dUNdudTD` "%&'&5##!5#"&5!3265! GS5CIƁTkkTS hl[:hded0=` 3%! 3!YT^^d\hdTV`3!3%!!3! !bTNdhhdjjjL` 3%! 3 ! #U|p|[hd-s=V`7%! 3+53267>^]_lP|XQ+ۙdi8{dCYXb` 3%!!!5!\vwhddhdd @03#u)@ dd1<20KTKT[X@878YKTK T[KT[X@878YKTKT[X@878YKTX@878Y@````pppp]3#%3#^ys@B10KSXY"K TX@878YKTX@878Y@ %%6FVjg //]]3#7Ju@!  VV 99991<2990K TX@878YKTX@878Y ]'.#"#4632326=3#"&9 $(}gV$=09" (}gT";9! 2-ev 3)dw @B10KSXY"K TX@878YKTX@878Y@*$$5CUU//]]#ę1w@ 91<90K TX@878YKTX@878YKTX@878Y@ //- ]3#'#Ӌ1@ 91290K TK T[K T[K T[X@878YKTX@878YKTX@878Y@ "  ]373Ӌ 9 #.#"#>32v cSRav 6978w{z9 j@ VV120K TX@878YKTX@878YKTKT[X@878Y332673#"&v cSRav 6978w{zfGd10KTKT[X@878YKTX@878Y3#@1<203#3#䙋N#!#ęę53#73#'3# 3#3#'3#}}d 3#3#'3#}}d3#3#d 3#3#3#3#dd&;#"'&'#"'$&733$767654'3F??7KXu~Xv\,>%!$'$&73!2%7&'&547676323!!"'654'&'&#"xhn}@AQ+"R:4RQP ioh4"(=)1$+<'g\^sM6,|y$K2S%jAzG' <8BN?0654'&323276767'&54767632#!V)B,4((7(*HTO<?aNbNLZB`.NJ|m+M;3*)3P& ]027EW4,E$2Hf3Џ,' !5;#"'+5327&'&54767632"67654'&'&f$'و'$A??8 D?$ 9P2*I1C299(M.L,0W 5+5DE2.4! k .@%&'&'&547676323!!#'$'&5473!2766'&'&#"B.y9()Wp8c20-=^E>><l/"'"3 9Ld/  #+m=E2X:zFNV}`kL:DbZzWK# :<,; ? &R~&R %4'&"2>"'&4762<R8R8z?@?@@?@(8)*8@@@@@?? ''&'cRP~&'cRP' &cL~&cL >&]8\K&]X>K&]X >&?\F& >F&  >&\F&>F& >&'?>\L&'8 >>L&'8 3_+ 5__bV'J@!B  6991/<2990KSXY"]33+532765#ոRQi&&}``01}` 2@  F <<221/<20@  @ P ` p ]33###53ø`<ĤV.` 54!333##"3276!5R w{i&V`p?`3A0c3'q=Ua4'q[^3'Pq=cZ'dUcZ'dUaZ'dqaZ'dqvj 3'\q=cZ'bUvj V'}\cW'u|vj0Z'@d\c:'u(Dcm:'Duvc u'uvV Y'PpVZ'PdVZ'PdV'Pc['uPj&Z,,!!,,O=32653#"&[hq`=QQ, &&_ &3;#"'!5 767654x I*e2D0# &pgM,>ꅗ:H~#'_`'_S'_SF'_ 8@'_+ 'cu~@'_+ 'cv ~r'_>9 9F KSKQZX8Y1/0@  @ P ` p ]3;#"&5Li a^q%qq/u `&JOw`73#!!dž$Nd`Vw`#676#732767!5ʆ#5H2K1i0/N)deеT0Hd01``vg`'`&3#3## !#3!53#^ժ ?!5 ?8'TXZ8 U'UX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``**yyby* a aXXJr;xxdxxd++* 8 8 P 8 x PFq 8#+7',,,,,,,,,,''''''''''''''''''''''q''''''''''llgg'''''''''''''''''pprppppppppp7p7Tpp''''3'''ppppp'''',h,d,,,,+,}}_}} ,,,B,d,,,,,,,,,,},,,dZd2E\,,,,,,,,,,,,,,,,,,,,,,,S,,,,,],,,,,m,,E,,,,A,,,U,,Q,0,,,U,,L,0,C,,X,,B,,X,,,x, ,,,,,,,,,,,,,,1,,,,,,,,,,,X,X,j,, T},y,},),,,,,d %6  dT VIVVx+5X3ppppR >pTVSTWW/V0/0002p@TTTTpnnTVaaTT,f,z,z,z,z,xNNx>NnX~#9Uwlf,,,,,,,,,,                    uuuuuuuuuuuuuu++<uususs[YOO Bu xd xu xd xd xu xd xd xu xd xu xu,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,duwOwO::: u+u+u+u+u+u+u+u+u+u+u++u+u+u+u+k  77^^  7^uuHH''''$"u 9 u H#?{\3Xh<Gp,qssu@xC@~yyv{\{\ssg)?>8{\(oo:o\:o\csssss$d{=syNsNs6@s=q/ / ///}/o } <^VN1X?,XXuXXeeeeNNN>XCXQ~XwQ"XTXXXX,X6TC"Xe.>XTXTX:j:j:j:j:j:jKH KH ************jj))k))k":jC:jXXXiXXXXXXXXXXX9p9lpl"9lplC:j9p:j1J:j:j*********}3}}3}jj 3# 3#  f^f^uBuuBu/KH 5kk kpSI:j1J8"CC:j..TT4,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,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th, Lt L<|$ppDH`<<T L d      l P,,\|Hx\Hd` h L  H |    !T!"h#($$$%&&'$'''(D()))()<)X)l)))))**8*T*x****++8+T+x+++,,,,X,|,,---8-T-x---..$.H.l...//H/d////0(0T0001181d1122282T2x22233$3H3l33344H4d44445(5T5556686d6677$7H7l77788H8l8889$9X999::D:x::; ;H;t;;<>$>H>l>>>??H?d????@(@T@@@AA8AdAABB$BHBlBBBCCHClCCCD$DXDDDEEDExEEF FHFtFFGGLGGHH$HHHlHHHIIHIlIIIJ$JXJJJKKDKxKKL LHLtLLMMLMMNN,NXNNNOOLOOOPPXPPQQHQtQQRRLRRSS<SxSST4TxTUUTUUV,VWXTXY8YtYYZZ@ZtZZ[[h\(\]^^p^_X``aab<bcdcdxeeefDfTffffgg(g@gXh(hiDijXkkxklXlmhmnTno ooopp,pppqqPqrDrspst<ttuDuuvdvwxyhz8zz{{\{{|H|p|||}}D}p}}~~L~~~<d$ Px,4@P T8,(8HXhxdxh8@ l4 hxP`0,<txXp\HH ,$4D,t0H`x 8Ph(@Xp0H`x 8Ph(@Xp0H`x 8Ph4D\l| 4H`t 8Ph€˜°(@PÄÜô,D\tČĤļ4D@ $4ǘǰ,D\l@pʈʠʸ˼H4L\L0@ а(@XpшѠѸҬӠӰ$XԜԬLռLd|ּ֔֬4؀ؐ$4 8PhڀژڰۄۄHd܀ܜܸ$PxݠDlޔ<dߌߴ0X$LtDl8`,T$Lt@l 4`,T| Lt LPlPH4H\8$T|d0<@t$@l,d\d $<Tl  $ D d  T      0 L h       , H d       @ X     ,Ld<0H`x 0P`0`8`d8l@ <l$xpD0 @4d4h L  !(!\!"0"""# #T##$D$%P%|%%&&<&l&&'$'((()0)*D_T+h @h>2   : `   (Z4;b ;; 0    " F m " : %: h: ; ;Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. DejaVu changes are in public domain Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. DejaVu changes are in public domain DejaVu SansDejaVu SansBookBookDejaVu SansDejaVu SansDejaVu SansDejaVu SansVersion 2.19Version 2.19DejaVuSansDejaVuSansDejaVu fonts teamDejaVu fonts teamhttp://dejavu.sourceforge.nethttp://dejavu.sourceforge.netFonts are (c) Bitstream (see below). DejaVu changes are in public domain. Glyphs imported from Arev fonts are (c) Tavmjung Bah (see below) Bitstream Vera Fonts Copyright ------------------------------ Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. Arev Fonts Copyright ------------------------------ Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the modifications to the Bitstream Vera Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Tavmjong Bah" or the word "Arev". This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Tavmjong Bah Arev" names. The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Except as contained in this notice, the name of Tavmjong Bah shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from Tavmjong Bah. For further information, contact: tavmjong @ free . fr.Fonts are (c) Bitstream (see below). DejaVu changes are in public domain. Glyphs imported from Arev fonts are (c) Tavmjung Bah (see below) Bitstream Vera Fonts Copyright ------------------------------ Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is a trademark of Bitstream, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Bitstream" or the word "Vera". This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Bitstream Vera" names. The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Except as contained in this notice, the names of Gnome, the Gnome Foundation, and Bitstream Inc., shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from the Gnome Foundation or Bitstream Inc., respectively. For further information, contact: fonts at gnome dot org. Arev Fonts Copyright ------------------------------ Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license ("Fonts") and associated documentation files (the "Font Software"), to reproduce and distribute the modifications to the Bitstream Vera Font Software, including without limitation the rights to use, copy, merge, publish, distribute, and/or sell copies of the Font Software, and to permit persons to whom the Font Software is furnished to do so, subject to the following conditions: The above copyright and trademark notices and this permission notice shall be included in all copies of one or more of the Font Software typefaces. The Font Software may be modified, altered, or added to, and in particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words "Tavmjong Bah" or the word "Arev". This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the "Tavmjong Bah Arev" names. The Font Software may be sold as part of a larger software package but no copy of one or more of the Font Software typefaces may be sold by itself. THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE. Except as contained in this notice, the name of Tavmjong Bah shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from Tavmjong Bah. For further information, contact: tavmjong @ free . fr.http://dejavu.sourceforge.net/wiki/index.php/Licensehttp://dejavu.sourceforge.net/wiki/index.php/LicenseDejaVu SansDejaVu SansBookBookZ_  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghjikmlnoqprsutvwxzy{}|~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                           ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~                            ! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~        !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\] sfthyphenAmacronamacronAbreveabreveAogonekaogonek Ccircumflex ccircumflex Cdotaccent cdotaccentDcarondcaronDcroatEmacronemacronEbreveebreve Edotaccent edotaccentEogonekeogonekEcaronecaron Gcircumflex gcircumflex Gdotaccent gdotaccent Gcommaaccent gcommaaccent Hcircumflex hcircumflexHbarhbarItildeitildeImacronimacronIbreveibreveIogonekiogonekIJij Jcircumflex jcircumflex Kcommaaccent kcommaaccent kgreenlandicLacutelacute Lcommaaccent lcommaaccentLcaronlcaronLdotldotNacutenacute Ncommaaccent ncommaaccentNcaronncaron napostropheEngengOmacronomacronObreveobreve Ohungarumlaut ohungarumlautRacuteracute Rcommaaccent rcommaaccentRcaronrcaronSacutesacute Scircumflex scircumflex Tcommaaccent tcommaaccentTcarontcaronTbartbarUtildeutildeUmacronumacronUbreveubreveUringuring Uhungarumlaut uhungarumlautUogonekuogonek Wcircumflex wcircumflex Ycircumflex ycircumflexZacutezacute Zdotaccent zdotaccentlongsuni0180uni0181uni0182uni0183uni0184uni0185uni0186uni0187uni0188uni0189uni018Auni018Buni018Cuni018Duni018Euni018Funi0190uni0191uni0193uni0194uni0195uni0196uni0197uni0198uni0199uni019Auni019Buni019Cuni019Duni019Euni019FOhornohornuni01A2uni01A3uni01A4uni01A5uni01A6uni01A7uni01A8uni01A9uni01AAuni01ABuni01ACuni01ADuni01AEUhornuhornuni01B1uni01B2uni01B3uni01B4uni01B5uni01B6uni01B7uni01B8uni01B9uni01BAuni01BBuni01BCuni01BDuni01BEuni01BFuni01C0uni01C1uni01C2uni01C3uni01C4uni01C5uni01C6uni01C7uni01C8uni01C9uni01CAuni01CBuni01CCuni01CDuni01CEuni01CFuni01D0uni01D1uni01D2uni01D3uni01D4uni01D5uni01D6uni01D7uni01D8uni01D9uni01DAuni01DBuni01DCuni01DDuni01DEuni01DFuni01E0uni01E1uni01E2uni01E3uni01E4uni01E5Gcarongcaronuni01E8uni01E9uni01EAuni01EBuni01ECuni01EDuni01EEuni01EFuni01F0uni01F1uni01F2uni01F3uni01F4uni01F5uni01F6uni01F7uni01F8uni01F9 Aringacute aringacuteAEacuteaeacute Oslashacute oslashacuteuni0200uni0201uni0202uni0203uni0204uni0205uni0206uni0207uni0208uni0209uni020Auni020Buni020Cuni020Duni020Euni020Funi0210uni0211uni0212uni0213uni0214uni0215uni0216uni0217 Scommaaccent scommaaccentuni021Auni021Buni021Cuni021Duni021Euni021Funi0220uni0221uni0222uni0223uni0224uni0225uni0226uni0227uni0228uni0229uni022Auni022Buni022Cuni022Duni022Euni022Funi0230uni0231uni0232uni0233uni0234uni0235uni0236dotlessjuni0238uni0239uni023Auni023Buni023Cuni023Duni023Euni023Funi0240uni0241uni0242uni0243uni0244uni0245uni0246uni0247uni0248uni0249uni024Auni024Buni024Cuni024Duni024Euni024Funi0250uni0251uni0252uni0253uni0254uni0255uni0256uni0257uni0258uni0259uni025Auni025Buni025Cuni025Duni025Euni025Funi0260uni0261uni0262uni0263uni0264uni0265uni0266uni0267uni0268uni0269uni026Auni026Buni026Cuni026Duni026Euni026Funi0270uni0271uni0272uni0273uni0274uni0275uni0276uni0277uni0278uni0279uni027Auni027Buni027Cuni027Duni027Euni027Funi0280uni0281uni0282uni0283uni0284uni0285uni0286uni0287uni0288uni0289uni028Auni028Buni028Cuni028Duni028Euni028Funi0290uni0291uni0292uni0293uni0294uni0295uni0296uni0297uni0298uni0299uni029Auni029Buni029Cuni029Duni029Euni029Funi02A0uni02A1uni02A2uni02A3uni02A4uni02A5uni02A6uni02A7uni02A8uni02A9uni02AAuni02ABuni02ACuni02ADuni02AEuni02AFuni02B0uni02B1uni02B2uni02B3uni02B4uni02B5uni02B6uni02B7uni02B8uni02B9uni02BAuni02BBuni02BCuni02BDuni02BEuni02BFuni02C0uni02C1uni02C2uni02C3uni02C4uni02C5uni02C8uni02C9uni02CAuni02CBuni02CCuni02CDuni02CEuni02CFuni02D0uni02D1uni02D2uni02D3uni02D4uni02D5uni02D6uni02D7uni02DEuni02DFuni02E0uni02E1uni02E2uni02E3uni02E4uni02E5uni02E6uni02E7uni02E8uni02E9uni02ECuni02EDuni02EEuni02F3uni02F7 gravecomb acutecombuni0302 tildecombuni0304uni0305uni0306uni0307uni0308 hookabovecombuni030Auni030Buni030Cuni030Duni030Euni030Funi0310uni0311uni0312uni0313uni0314uni0315uni0316uni0317uni0318uni0319uni031Auni031Buni031Cuni031Duni031Euni031Funi0320uni0321uni0322 dotbelowcombuni0324uni0325uni0326uni0327uni0328uni0329uni032Auni032Buni032Cuni032Duni032Euni032Funi0330uni0331uni0332uni0333uni0334uni0335uni0336uni0337uni0338uni0339uni033Auni033Buni033Cuni033Duni033Euni033Funi0340uni0341uni0342uni0343uni0344uni0345uni0346uni0347uni0348uni0349uni034Auni034Buni034Cuni034Duni034Euni034Funi0351uni0352uni0353uni0357uni0358uni035Cuni035Duni035Euni035Funi0360uni0361uni0362uni0374uni0375uni037Auni037Buni037Cuni037Duni037Etonos dieresistonos Alphatonos anoteleia EpsilontonosEtatonos Iotatonos Omicrontonos Upsilontonos OmegatonosiotadieresistonosAlphaBetaGammauni0394EpsilonZetaEtaThetaIotaKappaLambdaMuNuXiOmicronPiRhoSigmaTauUpsilonPhiChiPsi IotadieresisUpsilondieresis alphatonos epsilontonosetatonos iotatonosupsilondieresistonosalphabetagammadeltaepsilonzetaetathetaiotakappalambdauni03BCnuxiomicronrhosigma1sigmatauupsilonphichipsiomega iotadieresisupsilondieresis omicrontonos upsilontonos omegatonosuni03D0theta1Upsilon1uni03D3uni03D4phi1omega1uni03D7uni03D8uni03D9uni03DAuni03DBuni03DCuni03DDuni03DEuni03DFuni03E0uni03E1uni03E2uni03E3uni03E4uni03E5uni03E6uni03E7uni03E8uni03E9uni03EAuni03EBuni03ECuni03EDuni03EEuni03EFuni03F0uni03F1uni03F2uni03F3uni03F4uni03F5uni03F6uni03F7uni03F8uni03F9uni03FAuni03FBuni03FCuni03FDuni03FEuni03FFuni0400uni0401uni0402uni0403uni0404uni0405uni0406uni0407uni0408uni0409uni040Auni040Buni040Cuni040Duni040Euni040Funi0410uni0411uni0412uni0413uni0414uni0415uni0416uni0417uni0418uni0419uni041Auni041Buni041Cuni041Duni041Euni041Funi0420uni0421uni0422uni0423uni0424uni0425uni0426uni0427uni0428uni0429uni042Auni042Buni042Cuni042Duni042Euni042Funi0430uni0431uni0432uni0433uni0434uni0435uni0436uni0437uni0438uni0439uni043Auni043Buni043Cuni043Duni043Euni043Funi0440uni0441uni0442uni0443uni0444uni0445uni0446uni0447uni0448uni0449uni044Auni044Buni044Cuni044Duni044Euni044Funi0450uni0451uni0452uni0453uni0454uni0455uni0456uni0457uni0458uni0459uni045Auni045Buni045Cuni045Duni045Euni045Funi0460uni0461uni0462uni0463uni0464uni0465uni0466uni0467uni0468uni0469uni046Auni046Buni046Cuni046Duni046Euni046Funi0470uni0471uni0472uni0473uni0474uni0475uni0476uni0477uni0478uni0479uni047Auni047Buni047Cuni047Duni047Euni047Funi0480uni0481uni0482uni0483uni0484uni0485uni0486uni0488uni0489uni048Auni048Buni048Cuni048Duni048Euni048Funi0490uni0491uni0492uni0493uni0494uni0495uni0496uni0497uni0498uni0499uni049Auni049Buni049Cuni049Duni049Euni049Funi04A0uni04A1uni04A2uni04A3uni04A4uni04A5uni04A6uni04A7uni04A8uni04A9uni04AAuni04ABuni04ACuni04ADuni04AEuni04AFuni04B0uni04B1uni04B2uni04B3uni04B4uni04B5uni04B6uni04B7uni04B8uni04B9uni04BAuni04BBuni04BCuni04BDuni04BEuni04BFuni04C0uni04C1uni04C2uni04C3uni04C4uni04C5uni04C6uni04C7uni04C8uni04C9uni04CAuni04CBuni04CCuni04CDuni04CEuni04CFuni04D0uni04D1uni04D2uni04D3uni04D4uni04D5uni04D6uni04D7uni04D8uni04D9uni04DAuni04DBuni04DCuni04DDuni04DEuni04DFuni04E0uni04E1uni04E2uni04E3uni04E4uni04E5uni04E6uni04E7uni04E8uni04E9uni04EAuni04EBuni04ECuni04EDuni04EEuni04EFuni04F0uni04F1uni04F2uni04F3uni04F4uni04F5uni04F6uni04F7uni04F8uni04F9uni04FAuni04FBuni04FCuni04FDuni04FEuni04FFuni0500uni0501uni0502uni0503uni0504uni0505uni0506uni0507uni0508uni0509uni050Auni050Buni050Cuni050Duni050Euni050Funi0510uni0511uni0512uni0513uni0531uni0532uni0533uni0534uni0535uni0536uni0537uni0538uni0539uni053Auni053Buni053Cuni053Duni053Euni053Funi0540uni0541uni0542uni0543uni0544uni0545uni0546uni0547uni0548uni0549uni054Auni054Buni054Cuni054Duni054Euni054Funi0550uni0551uni0552uni0553uni0554uni0555uni0556uni0559uni055Auni055Buni055Cuni055Duni055Euni055Funi0561uni0562uni0563uni0564uni0565uni0566uni0567uni0568uni0569uni056Auni056Buni056Cuni056Duni056Euni056Funi0570uni0571uni0572uni0573uni0574uni0575uni0576uni0577uni0578uni0579uni057Auni057Buni057Cuni057Duni057Euni057Funi0580uni0581uni0582uni0583uni0584uni0585uni0586uni0587uni0589uni058Auni05B0uni05B1uni05B2uni05B3uni05B4uni05B5uni05B6uni05B7uni05B8uni05B9uni05BAuni05BBuni05BCuni05BDuni05BEuni05BFuni05C0uni05C1uni05C2uni05C3uni05C6uni05C7uni05D0uni05D1uni05D2uni05D3uni05D4uni05D5uni05D6uni05D7uni05D8uni05D9uni05DAuni05DBuni05DCuni05DDuni05DEuni05DFuni05E0uni05E1uni05E2uni05E3uni05E4uni05E5uni05E6uni05E7uni05E8uni05E9uni05EAuni05F0uni05F1uni05F2uni05F3uni05F4uni060Cuni0615uni061Buni061Funi0621uni0622uni0623uni0624uni0625uni0626uni0627uni0628uni0629uni062Auni062Buni062Cuni062Duni062Euni062Funi0630uni0631uni0632uni0633uni0634uni0635uni0636uni0637uni0638uni0639uni063Auni0640uni0641uni0642uni0643uni0644uni0645uni0646uni0647uni0648uni0649uni064Auni064Buni064Cuni064Duni064Euni064Funi0650uni0651uni0652uni0653uni0654uni0655uni065Auni0660uni0661uni0662uni0663uni0664uni0665uni0666uni0667uni0668uni0669uni066Auni066Buni066Cuni066Duni066Euni066Funi0674uni0679uni067Auni067Buni067Cuni067Duni067Euni067Funi0680uni0681uni0682uni0683uni0684uni0685uni0686uni0687uni0691uni0692uni0695uni0698uni06A1uni06A4uni06A6uni06A9uni06AFuni06B5uni06BAuni06BFuni06C6uni06CCuni06CEuni06D5uni06F0uni06F1uni06F2uni06F3uni06F4uni06F5uni06F6uni06F7uni06F8uni06F9uni07C0uni07C1uni07C2uni07C3uni07C4uni07C5uni07C6uni07C7uni07C8uni07C9uni07CAuni07CBuni07CCuni07CDuni07CEuni07CFuni07D0uni07D1uni07D2uni07D3uni07D4uni07D5uni07D6uni07D7uni07D8uni07D9uni07DAuni07DBuni07DCuni07DDuni07DEuni07DFuni07E0uni07E1uni07E2uni07E3uni07E4uni07E5uni07E6uni07E7uni07EBuni07ECuni07EDuni07EEuni07EFuni07F0uni07F1uni07F2uni07F3uni07F4uni07F5uni07F8uni07F9uni07FAuni0E3Funi0E81uni0E82uni0E84uni0E87uni0E88uni0E8Auni0E8Duni0E94uni0E95uni0E96uni0E97uni0E99uni0E9Auni0E9Buni0E9Cuni0E9Duni0E9Euni0E9Funi0EA1uni0EA2uni0EA3uni0EA5uni0EA7uni0EAAuni0EABuni0EADuni0EAEuni0EAFuni0EB0uni0EB1uni0EB2uni0EB3uni0EB4uni0EB5uni0EB6uni0EB7uni0EB8uni0EB9uni0EBBuni0EBCuni0EBDuni0EC0uni0EC1uni0EC2uni0EC3uni0EC4uni0EC6uni0EC8uni0EC9uni0ECAuni0ECBuni0ECCuni0ECDuni0ED0uni0ED1uni0ED2uni0ED3uni0ED4uni0ED5uni0ED6uni0ED7uni0ED8uni0ED9uni0EDCuni0EDDuni10A0uni10A1uni10A2uni10A3uni10A4uni10A5uni10A6uni10A7uni10A8uni10A9uni10AAuni10ABuni10ACuni10ADuni10AEuni10AFuni10B0uni10B1uni10B2uni10B3uni10B4uni10B5uni10B6uni10B7uni10B8uni10B9uni10BAuni10BBuni10BCuni10BDuni10BEuni10BFuni10C0uni10C1uni10C2uni10C3uni10C4uni10C5uni10D0uni10D1uni10D2uni10D3uni10D4uni10D5uni10D6uni10D7uni10D8uni10D9uni10DAuni10DBuni10DCuni10DDuni10DEuni10DFuni10E0uni10E1uni10E2uni10E3uni10E4uni10E5uni10E6uni10E7uni10E8uni10E9uni10EAuni10EBuni10ECuni10EDuni10EEuni10EFuni10F0uni10F1uni10F2uni10F3uni10F4uni10F5uni10F6uni10F7uni10F8uni10F9uni10FAuni10FBuni10FCuni1401uni1402uni1403uni1404uni1405uni1406uni1407uni1409uni140Auni140Buni140Cuni140Duni140Euni140Funi1410uni1411uni1412uni1413uni1414uni1415uni1416uni1417uni1418uni1419uni141Auni141Buni141Duni141Euni141Funi1420uni1421uni1422uni1423uni1424uni1425uni1426uni1427uni1428uni1429uni142Auni142Buni142Cuni142Duni142Euni142Funi1430uni1431uni1432uni1433uni1434uni1435uni1437uni1438uni1439uni143Auni143Buni143Cuni143Duni143Euni143Funi1440uni1441uni1442uni1443uni1444uni1445uni1446uni1447uni1448uni1449uni144Auni144Cuni144Duni144Euni144Funi1450uni1451uni1452uni1454uni1455uni1456uni1457uni1458uni1459uni145Auni145Buni145Cuni145Duni145Euni145Funi1460uni1461uni1462uni1463uni1464uni1465uni1466uni1467uni1468uni1469uni146Auni146Buni146Cuni146Duni146Euni146Funi1470uni1471uni1472uni1473uni1474uni1475uni1476uni1477uni1478uni1479uni147Auni147Buni147Cuni147Duni147Euni147Funi1480uni1481uni1482uni1483uni1484uni1485uni1486uni1487uni1488uni1489uni148Auni148Buni148Cuni148Duni148Euni148Funi1490uni1491uni1492uni1493uni1494uni1495uni1496uni1497uni1498uni1499uni149Auni149Buni149Cuni149Duni149Euni149Funi14A0uni14A1uni14A2uni14A3uni14A4uni14A5uni14A6uni14A7uni14A8uni14A9uni14AAuni14ABuni14ACuni14ADuni14AEuni14AFuni14B0uni14B1uni14B2uni14B3uni14B4uni14B5uni14B6uni14B7uni14B8uni14B9uni14BAuni14BBuni14BCuni14BDuni14C0uni14C1uni14C2uni14C3uni14C4uni14C5uni14C6uni14C7uni14C8uni14C9uni14CAuni14CBuni14CCuni14CDuni14CEuni14CFuni14D0uni14D1uni14D2uni14D3uni14D4uni14D5uni14D6uni14D7uni14D8uni14D9uni14DAuni14DBuni14DCuni14DDuni14DEuni14DFuni14E0uni14E1uni14E2uni14E3uni14E4uni14E5uni14E6uni14E7uni14E8uni14E9uni14EAuni14ECuni14EDuni14EEuni14EFuni14F0uni14F1uni14F2uni14F3uni14F4uni14F5uni14F6uni14F7uni14F8uni14F9uni14FAuni14FBuni14FCuni14FDuni14FEuni14FFuni1500uni1501uni1502uni1503uni1504uni1505uni1506uni1507uni1510uni1511uni1512uni1513uni1514uni1515uni1516uni1517uni1518uni1519uni151Auni151Buni151Cuni151Duni151Euni151Funi1520uni1521uni1522uni1523uni1524uni1525uni1526uni1527uni1528uni1529uni152Auni152Buni152Cuni152Duni152Euni152Funi1530uni1531uni1532uni1533uni1534uni1535uni1536uni1537uni1538uni1539uni153Auni153Buni153Cuni153Duni153Euni1540uni1541uni1542uni1543uni1544uni1545uni1546uni1547uni1548uni1549uni154Auni154Buni154Cuni154Duni154Euni154Funi1550uni1552uni1553uni1554uni1555uni1556uni1557uni1558uni1559uni155Auni155Buni155Cuni155Duni155Euni155Funi1560uni1561uni1562uni1563uni1564uni1565uni1566uni1567uni1568uni1569uni156Auni1574uni1575uni1576uni1577uni1578uni1579uni157Auni157Buni157Cuni157Duni157Euni157Funi1580uni1581uni1582uni1583uni1584uni1585uni158Auni158Buni158Cuni158Duni158Euni158Funi1590uni1591uni1592uni1593uni1594uni1595uni1596uni15A0uni15A1uni15A2uni15A3uni15A4uni15A5uni15A6uni15A7uni15A8uni15A9uni15AAuni15ABuni15ACuni15ADuni15AEuni15AFuni15DEuni15E1uni1646uni1647uni166Euni166Funi1670uni1671uni1672uni1673uni1674uni1675uni1676uni1D00uni1D01uni1D02uni1D03uni1D04uni1D05uni1D06uni1D07uni1D08uni1D09uni1D0Auni1D0Buni1D0Cuni1D0Duni1D0Euni1D0Funi1D10uni1D11uni1D12uni1D13uni1D14uni1D16uni1D17uni1D18uni1D19uni1D1Auni1D1Buni1D1Cuni1D1Duni1D1Euni1D1Funi1D20uni1D21uni1D22uni1D23uni1D26uni1D27uni1D28uni1D29uni1D2Auni1D2Buni1D2Cuni1D2Duni1D2Euni1D30uni1D31uni1D32uni1D33uni1D34uni1D35uni1D36uni1D37uni1D38uni1D39uni1D3Auni1D3Buni1D3Cuni1D3Duni1D3Euni1D3Funi1D40uni1D41uni1D42uni1D43uni1D44uni1D45uni1D46uni1D47uni1D48uni1D49uni1D4Auni1D4Buni1D4Cuni1D4Duni1D4Euni1D4Funi1D50uni1D51uni1D52uni1D53uni1D54uni1D55uni1D56uni1D57uni1D58uni1D59uni1D5Auni1D5Buni1D5Duni1D5Euni1D5Funi1D60uni1D61uni1D62uni1D63uni1D64uni1D65uni1D66uni1D67uni1D68uni1D69uni1D6Auni1D77uni1D78uni1D7Buni1D85uni1D9Buni1D9Cuni1D9Duni1D9Euni1D9Funi1DA0uni1DA1uni1DA2uni1DA3uni1DA4uni1DA5uni1DA6uni1DA7uni1DA8uni1DA9uni1DAAuni1DABuni1DACuni1DADuni1DAEuni1DAFuni1DB0uni1DB1uni1DB2uni1DB3uni1DB4uni1DB5uni1DB6uni1DB7uni1DB8uni1DB9uni1DBAuni1DBBuni1DBCuni1DBDuni1DBEuni1DBFuni1DC4uni1DC5uni1DC6uni1DC7uni1DC8uni1DC9uni1E00uni1E01uni1E02uni1E03uni1E04uni1E05uni1E06uni1E07uni1E08uni1E09uni1E0Auni1E0Buni1E0Cuni1E0Duni1E0Euni1E0Funi1E10uni1E11uni1E12uni1E13uni1E14uni1E15uni1E16uni1E17uni1E18uni1E19uni1E1Auni1E1Buni1E1Cuni1E1Duni1E1Euni1E1Funi1E20uni1E21uni1E22uni1E23uni1E24uni1E25uni1E26uni1E27uni1E28uni1E29uni1E2Auni1E2Buni1E2Cuni1E2Duni1E2Euni1E2Funi1E30uni1E31uni1E32uni1E33uni1E34uni1E35uni1E36uni1E37uni1E38uni1E39uni1E3Auni1E3Buni1E3Cuni1E3Duni1E3Euni1E3Funi1E40uni1E41uni1E42uni1E43uni1E44uni1E45uni1E46uni1E47uni1E48uni1E49uni1E4Auni1E4Buni1E4Cuni1E4Duni1E4Euni1E4Funi1E50uni1E51uni1E52uni1E53uni1E54uni1E55uni1E56uni1E57uni1E58uni1E59uni1E5Auni1E5Buni1E5Cuni1E5Duni1E5Euni1E5Funi1E60uni1E61uni1E62uni1E63uni1E64uni1E65uni1E66uni1E67uni1E68uni1E69uni1E6Auni1E6Buni1E6Cuni1E6Duni1E6Euni1E6Funi1E70uni1E71uni1E72uni1E73uni1E74uni1E75uni1E76uni1E77uni1E78uni1E79uni1E7Auni1E7Buni1E7Cuni1E7Duni1E7Euni1E7FWgravewgraveWacutewacute Wdieresis wdieresisuni1E86uni1E87uni1E88uni1E89uni1E8Auni1E8Buni1E8Cuni1E8Duni1E8Euni1E8Funi1E90uni1E91uni1E92uni1E93uni1E94uni1E95uni1E96uni1E97uni1E98uni1E99uni1E9Auni1E9Buni1EA0uni1EA1uni1EA2uni1EA3uni1EA4uni1EA5uni1EA6uni1EA7uni1EA8uni1EA9uni1EAAuni1EABuni1EACuni1EADuni1EAEuni1EAFuni1EB0uni1EB1uni1EB2uni1EB3uni1EB4uni1EB5uni1EB6uni1EB7uni1EB8uni1EB9uni1EBAuni1EBBuni1EBCuni1EBDuni1EBEuni1EBFuni1EC0uni1EC1uni1EC2uni1EC3uni1EC4uni1EC5uni1EC6uni1EC7uni1EC8uni1EC9uni1ECAuni1ECBuni1ECCuni1ECDuni1ECEuni1ECFuni1ED0uni1ED1uni1ED2uni1ED3uni1ED4uni1ED5uni1ED6uni1ED7uni1ED8uni1ED9uni1EDAuni1EDBuni1EDCuni1EDDuni1EDEuni1EDFuni1EE0uni1EE1uni1EE2uni1EE3uni1EE4uni1EE5uni1EE6uni1EE7uni1EE8uni1EE9uni1EEAuni1EEBuni1EECuni1EEDuni1EEEuni1EEFuni1EF0uni1EF1Ygraveygraveuni1EF4uni1EF5uni1EF6uni1EF7uni1EF8uni1EF9uni1F00uni1F01uni1F02uni1F03uni1F04uni1F05uni1F06uni1F07uni1F08uni1F09uni1F0Auni1F0Buni1F0Cuni1F0Duni1F0Euni1F0Funi1F10uni1F11uni1F12uni1F13uni1F14uni1F15uni1F18uni1F19uni1F1Auni1F1Buni1F1Cuni1F1Duni1F20uni1F21uni1F22uni1F23uni1F24uni1F25uni1F26uni1F27uni1F28uni1F29uni1F2Auni1F2Buni1F2Cuni1F2Duni1F2Euni1F2Funi1F30uni1F31uni1F32uni1F33uni1F34uni1F35uni1F36uni1F37uni1F38uni1F39uni1F3Auni1F3Buni1F3Cuni1F3Duni1F3Euni1F3Funi1F40uni1F41uni1F42uni1F43uni1F44uni1F45uni1F48uni1F49uni1F4Auni1F4Buni1F4Cuni1F4Duni1F50uni1F51uni1F52uni1F53uni1F54uni1F55uni1F56uni1F57uni1F59uni1F5Buni1F5Duni1F5Funi1F60uni1F61uni1F62uni1F63uni1F64uni1F65uni1F66uni1F67uni1F68uni1F69uni1F6Auni1F6Buni1F6Cuni1F6Duni1F6Euni1F6Funi1F70uni1F71uni1F72uni1F73uni1F74uni1F75uni1F76uni1F77uni1F78uni1F79uni1F7Auni1F7Buni1F7Cuni1F7Duni1F80uni1F81uni1F82uni1F83uni1F84uni1F85uni1F86uni1F87uni1F88uni1F89uni1F8Auni1F8Buni1F8Cuni1F8Duni1F8Euni1F8Funi1F90uni1F91uni1F92uni1F93uni1F94uni1F95uni1F96uni1F97uni1F98uni1F99uni1F9Auni1F9Buni1F9Cuni1F9Duni1F9Euni1F9Funi1FA0uni1FA1uni1FA2uni1FA3uni1FA4uni1FA5uni1FA6uni1FA7uni1FA8uni1FA9uni1FAAuni1FABuni1FACuni1FADuni1FAEuni1FAFuni1FB0uni1FB1uni1FB2uni1FB3uni1FB4uni1FB6uni1FB7uni1FB8uni1FB9uni1FBAuni1FBBuni1FBCuni1FBDuni1FBEuni1FBFuni1FC0uni1FC1uni1FC2uni1FC3uni1FC4uni1FC6uni1FC7uni1FC8uni1FC9uni1FCAuni1FCBuni1FCCuni1FCDuni1FCEuni1FCFuni1FD0uni1FD1uni1FD2uni1FD3uni1FD6uni1FD7uni1FD8uni1FD9uni1FDAuni1FDBuni1FDDuni1FDEuni1FDFuni1FE0uni1FE1uni1FE2uni1FE3uni1FE4uni1FE5uni1FE6uni1FE7uni1FE8uni1FE9uni1FEAuni1FEBuni1FECuni1FEDuni1FEEuni1FEFuni1FF2uni1FF3uni1FF4uni1FF6uni1FF7uni1FF8uni1FF9uni1FFAuni1FFBuni1FFCuni1FFDuni1FFEuni2000uni2001uni2002uni2003uni2004uni2005uni2006uni2007uni2008uni2009uni200Auni200Buni200Cuni200Duni200Euni200Funi2010uni2011 figuredashuni2015uni2016 underscoredbl quotereverseduni201Funi2023onedotenleadertwodotenleaderuni2027uni202Auni202Buni202Cuni202Duni202Euni202Funi2031minuteseconduni2034uni2035uni2036uni2037uni2038uni203B exclamdbluni203Duni203Euni203Funi2040uni2041uni2042uni2043uni2045uni2046uni2047uni2048uni2049uni204Auni204Buni204Cuni204Duni204Euni204Funi2050uni2051uni2052uni2053uni2054uni2055uni2056uni2057uni2058uni2059uni205Auni205Buni205Cuni205Duni205Euni205Funi2060uni2061uni2062uni2063uni206Auni206Buni206Cuni206Duni206Euni206Funi2070uni2071uni2074uni2075uni2076uni2077uni2078uni2079uni207Auni207Buni207Cuni207Duni207Euni207Funi2080uni2081uni2082uni2083uni2084uni2085uni2086uni2087uni2088uni2089uni208Auni208Buni208Cuni208Duni208Euni2090uni2091uni2092uni2093uni2094uni20A0 colonmonetaryuni20A2lirauni20A5uni20A6pesetauni20A8uni20A9uni20AAdongEurouni20ADuni20AEuni20AFuni20B0uni20B1uni20B2uni20B3uni20B4uni20B5uni20D0uni20D1uni20D6uni20D7uni2100uni2101uni2102uni2103uni2104uni2105uni2106uni2107uni2108uni2109uni210Buni210Cuni210Duni210Euni210Funi2110Ifrakturuni2112uni2113uni2114uni2115uni2116uni2117 weierstrassuni2119uni211Auni211BRfrakturuni211D prescriptionuni211Funi2120uni2121uni2123uni2124uni2125uni2126uni2127uni2128uni2129uni212Auni212Buni212Cuni212D estimateduni212Funi2130uni2131uni2132uni2133uni2134alephuni2136uni2137uni2138uni2139uni213Auni213Buni213Cuni213Duni213Euni213Funi2140uni2141uni2142uni2143uni2144uni2145uni2146uni2147uni2148uni2149uni214Buni214Eonethird twothirdsuni2155uni2156uni2157uni2158uni2159uni215A oneeighth threeeighths fiveeighths seveneighthsuni215Funi2160uni2161uni2162uni2163uni2164uni2165uni2166uni2167uni2168uni2169uni216Auni216Buni216Cuni216Duni216Euni216Funi2170uni2171uni2172uni2173uni2174uni2175uni2176uni2177uni2178uni2179uni217Auni217Buni217Cuni217Duni217Euni217Funi2180uni2181uni2182uni2183uni2184 arrowleftarrowup arrowright arrowdown arrowboth arrowupdnuni2196uni2197uni2198uni2199uni219Auni219Buni219Cuni219Duni219Euni219Funi21A0uni21A1uni21A2uni21A3uni21A4uni21A5uni21A6uni21A7 arrowupdnbseuni21A9uni21AAuni21ABuni21ACuni21ADuni21AEuni21AFuni21B0uni21B1uni21B2uni21B3uni21B4carriagereturnuni21B6uni21B7uni21B8uni21B9uni21BAuni21BBuni21BCuni21BDuni21BEuni21BFuni21C0uni21C1uni21C2uni21C3uni21C4uni21C5uni21C6uni21C7uni21C8uni21C9uni21CAuni21CBuni21CCuni21CDuni21CEuni21CF arrowdblleft arrowdblup arrowdblright arrowdbldown arrowdblbothuni21D5uni21D6uni21D7uni21D8uni21D9uni21DAuni21DBuni21DCuni21DDuni21DEuni21DFuni21E0uni21E1uni21E2uni21E3uni21E4uni21E5uni21E6uni21E7uni21E8uni21E9uni21EAuni21EBuni21ECuni21EDuni21EEuni21EFuni21F0uni21F1uni21F2uni21F3uni21F4uni21F5uni21F6uni21F7uni21F8uni21F9uni21FAuni21FBuni21FCuni21FDuni21FEuni21FF universaluni2201 existentialuni2204emptysetgradientelement notelementuni220Asuchthatuni220Cuni220Duni220Euni2210uni2213uni2214uni2216 asteriskmathuni2218uni221Buni221C proportional orthogonalangleuni2221uni2222uni2223uni2224uni2225uni2226 logicaland logicalor intersectionunionuni222Cuni222Duni222Euni222Funi2230uni2231uni2232uni2233 thereforeuni2235uni2236uni2237uni2238uni2239uni223Auni223Bsimilaruni223Duni223Euni223Funi2240uni2241uni2242uni2243uni2244 congruentuni2246uni2247uni2249uni224Auni224Buni224Cuni224Duni224Euni224Funi2250uni2251uni2252uni2253uni2254uni2255uni2256uni2257uni2258uni2259uni225Auni225Buni225Cuni225Duni225Euni225F equivalenceuni2262uni2263uni2266uni2267uni2268uni2269uni226Auni226Buni226Cuni226Duni226Euni226Funi2270uni2271uni2272uni2273uni2274uni2275uni2276uni2277uni2278uni2279uni227Auni227Buni227Cuni227Duni227Euni227Funi2280uni2281 propersubsetpropersuperset notsubsetuni2285 reflexsubsetreflexsupersetuni2288uni2289uni228Auni228Buni228Cuni228Duni228Euni228Funi2290uni2291uni2292uni2293uni2294 circleplusuni2296circlemultiplyuni2298uni2299uni229Auni229Buni229Cuni229Duni229Euni229Funi22A0uni22A1uni22A2uni22A3uni22A4 perpendicularuni22A6uni22A7uni22A8uni22A9uni22AAuni22ABuni22ACuni22ADuni22AEuni22AFuni22B2uni22B3uni22B4uni22B5uni22B6uni22B7uni22B8uni22B9uni22BAuni22BBuni22BCuni22BDuni22BEuni22BFuni22C0uni22C1uni22C2uni22C3uni22C4dotmathuni22C6uni22C8uni22C9uni22CAuni22CBuni22CCuni22CDuni22D6uni22D7uni22D8uni22D9uni22DAuni22DBuni22DCuni22DDuni22DEuni22DFuni22E0uni22E1uni22E2uni22E3uni22E4uni22E5uni22E6uni22E7uni22E8uni22E9uni22EAuni22EBuni22ECuni22EDuni22EEuni22EFuni22F0uni22F1uni22F2uni22F3uni22F4uni22F5uni22F6uni22F7uni22F8uni22F9uni22FAuni22FBuni22FCuni22FDuni22FEuni22FFuni2300uni2301houseuni2303uni2304uni2305uni2306uni2307uni2308uni2309uni230Auni230Buni230Cuni230Duni230Euni230F revlogicalnotuni2311uni2318uni2319uni231Cuni231Duni231Euni231F integraltp integralbtuni2324uni2325uni2326uni2327uni2328uni232Buni232Cuni2373uni2374uni2375uni237Auni237Duni2387uni2394uni239Buni239Cuni239Duni239Euni239Funi23A0uni23A1uni23A2uni23A3uni23A4uni23A5uni23A6uni23A7uni23A8uni23A9uni23AAuni23ABuni23ACuni23ADuni23AEuni23CEuni23CFuni23E3uni23E5uni2422uni2423uni2460uni2461uni2462uni2463uni2464uni2465uni2466uni2467uni2468uni2469upblockuni2581uni2582uni2583dnblockuni2585uni2586uni2587blockuni2589uni258Auni258Blfblockuni258Duni258Euni258Frtblockltshadeshadedkshadeuni2594uni2595uni2596uni2597uni2598uni2599uni259Auni259Buni259Cuni259Duni259Euni259F filledboxH22073uni25A2uni25A3uni25A4uni25A5uni25A6uni25A7uni25A8uni25A9H18543H18551 filledrectuni25ADuni25AEuni25AFuni25B0uni25B1triagupuni25B3uni25B4uni25B5uni25B6uni25B7uni25B8uni25B9triagrtuni25BBtriagdnuni25BDuni25BEuni25BFuni25C0uni25C1uni25C2uni25C3triaglfuni25C5uni25C6uni25C7uni25C8uni25C9circleuni25CCuni25CDuni25CEH18533uni25D0uni25D1uni25D2uni25D3uni25D4uni25D5uni25D6uni25D7 invbullet invcircleuni25DAuni25DBuni25DCuni25DDuni25DEuni25DFuni25E0uni25E1uni25E2uni25E3uni25E4uni25E5 openbulletuni25E7uni25E8uni25E9uni25EAuni25EBuni25ECuni25EDuni25EEuni25EFuni25F0uni25F1uni25F2uni25F3uni25F4uni25F5uni25F6uni25F7uni25F8uni25F9uni25FAuni25FBuni25FCuni25FDuni25FEuni25FFuni2600uni2601uni2602uni2603uni2604uni2605uni2606uni2607uni2608uni2609uni260Auni260Buni260Cuni260Duni260Euni260Funi2610uni2611uni2612uni2613uni2614uni2615uni2616uni2617uni2618uni2619uni261Auni261Buni261Cuni261Duni261Euni261Funi2620uni2621uni2622uni2623uni2624uni2625uni2626uni2627uni2628uni2629uni262Auni262Buni262Cuni262Duni262Euni262Funi2630uni2631uni2632uni2633uni2634uni2635uni2636uni2637uni2638uni2639 smileface invsmilefacesununi263Duni263Euni263Ffemaleuni2641maleuni2643uni2644uni2645uni2646uni2647uni2648uni2649uni264Auni264Buni264Cuni264Duni264Euni264Funi2650uni2651uni2652uni2653uni2654uni2655uni2656uni2657uni2658uni2659uni265Auni265Buni265Cuni265Duni265Euni265Fspadeuni2661uni2662clubuni2664heartdiamonduni2667uni2668uni2669 musicalnotemusicalnotedbluni266Cuni266Duni266Euni266Funi2670uni2671uni2672uni2673uni2674uni2675uni2676uni2677uni2678uni2679uni267Auni267Buni267Cuni267Duni267Euni267Funi2680uni2681uni2682uni2683uni2684uni2685uni2686uni2687uni2688uni2689uni268Auni268Buni268Cuni268Duni268Euni268Funi2690uni2691uni2692uni2693uni2694uni2695uni2696uni2697uni2698uni2699uni269Auni269Buni269Cuni26A0uni26A1uni26A2uni26A3uni26A4uni26A5uni26A6uni26A7uni26A8uni26A9uni26AAuni26ABuni26ACuni26ADuni26AEuni26AFuni26B0uni26B1uni26B2uni2701uni2702uni2703uni2704uni2706uni2707uni2708uni2709uni270Cuni270Duni270Euni270Funi2710uni2711uni2712uni2713uni2714uni2715uni2716uni2717uni2718uni2719uni271Auni271Buni271Cuni271Duni271Euni271Funi2720uni2721uni2722uni2723uni2724uni2725uni2726uni2727uni2729uni272Auni272Buni272Cuni272Duni272Euni272Funi2730uni2731uni2732uni2733uni2734uni2735uni2736uni2737uni2738uni2739uni273Auni273Buni273Cuni273Duni273Euni273Funi2740uni2741uni2742uni2743uni2744uni2745uni2746uni2747uni2748uni2749uni274Auni274Buni274Duni274Funi2750uni2751uni2752uni2756uni2758uni2759uni275Auni275Buni275Cuni275Duni275Euni2761uni2762uni2763uni2764uni2765uni2766uni2767uni2768uni2769uni276Auni276Buni276Cuni276Duni276Euni276Funi2770uni2771uni2772uni2773uni2774uni2775uni2776uni2777uni2778uni2779uni277Auni277Buni277Cuni277Duni277Euni277Funi2780uni2781uni2782uni2783uni2784uni2785uni2786uni2787uni2788uni2789uni278Auni278Buni278Cuni278Duni278Euni278Funi2790uni2791uni2792uni2793uni2794uni2798uni2799uni279Auni279Buni279Cuni279Duni279Euni279Funi27A0uni27A1uni27A2uni27A3uni27A4uni27A5uni27A6uni27A7uni27A8uni27A9uni27AAuni27ABuni27ACuni27ADuni27AEuni27AFuni27B1uni27B2uni27B3uni27B4uni27B5uni27B6uni27B7uni27B8uni27B9uni27BAuni27BBuni27BCuni27BDuni27BEuni27E0uni27E6uni27E7uni27E8uni27E9uni27EAuni27EBuni27F0uni27F1uni27F2uni27F3uni27F4uni27F5uni27F6uni27F7uni27F8uni27F9uni27FAuni27FBuni27FCuni27FDuni27FEuni27FFuni2800uni2801uni2802uni2803uni2804uni2805uni2806uni2807uni2808uni2809uni280Auni280Buni280Cuni280Duni280Euni280Funi2810uni2811uni2812uni2813uni2814uni2815uni2816uni2817uni2818uni2819uni281Auni281Buni281Cuni281Duni281Euni281Funi2820uni2821uni2822uni2823uni2824uni2825uni2826uni2827uni2828uni2829uni282Auni282Buni282Cuni282Duni282Euni282Funi2830uni2831uni2832uni2833uni2834uni2835uni2836uni2837uni2838uni2839uni283Auni283Buni283Cuni283Duni283Euni283Funi2840uni2841uni2842uni2843uni2844uni2845uni2846uni2847uni2848uni2849uni284Auni284Buni284Cuni284Duni284Euni284Funi2850uni2851uni2852uni2853uni2854uni2855uni2856uni2857uni2858uni2859uni285Auni285Buni285Cuni285Duni285Euni285Funi2860uni2861uni2862uni2863uni2864uni2865uni2866uni2867uni2868uni2869uni286Auni286Buni286Cuni286Duni286Euni286Funi2870uni2871uni2872uni2873uni2874uni2875uni2876uni2877uni2878uni2879uni287Auni287Buni287Cuni287Duni287Euni287Funi2880uni2881uni2882uni2883uni2884uni2885uni2886uni2887uni2888uni2889uni288Auni288Buni288Cuni288Duni288Euni288Funi2890uni2891uni2892uni2893uni2894uni2895uni2896uni2897uni2898uni2899uni289Auni289Buni289Cuni289Duni289Euni289Funi28A0uni28A1uni28A2uni28A3uni28A4uni28A5uni28A6uni28A7uni28A8uni28A9uni28AAuni28ABuni28ACuni28ADuni28AEuni28AFuni28B0uni28B1uni28B2uni28B3uni28B4uni28B5uni28B6uni28B7uni28B8uni28B9uni28BAuni28BBuni28BCuni28BDuni28BEuni28BFuni28C0uni28C1uni28C2uni28C3uni28C4uni28C5uni28C6uni28C7uni28C8uni28C9uni28CAuni28CBuni28CCuni28CDuni28CEuni28CFuni28D0uni28D1uni28D2uni28D3uni28D4uni28D5uni28D6uni28D7uni28D8uni28D9uni28DAuni28DBuni28DCuni28DDuni28DEuni28DFuni28E0uni28E1uni28E2uni28E3uni28E4uni28E5uni28E6uni28E7uni28E8uni28E9uni28EAuni28EBuni28ECuni28EDuni28EEuni28EFuni28F0uni28F1uni28F2uni28F3uni28F4uni28F5uni28F6uni28F7uni28F8uni28F9uni28FAuni28FBuni28FCuni28FDuni28FEuni28FFuni2906uni2907uni290Auni290Buni2940uni2941uni2983uni2984uni29CEuni29CFuni29D0uni29D1uni29D2uni29D3uni29D4uni29D5uni29EBuni29FAuni29FBuni2A00uni2A01uni2A02uni2A0Cuni2A0Duni2A0Euni2A0Funi2A10uni2A11uni2A12uni2A13uni2A14uni2A15uni2A16uni2A17uni2A18uni2A19uni2A1Auni2A1Buni2A1Cuni2A2Funi2A7Duni2A7Euni2A7Funi2A80uni2A81uni2A82uni2A83uni2A84uni2A85uni2A86uni2A87uni2A88uni2A89uni2A8Auni2A8Buni2A8Cuni2A8Duni2A8Euni2A8Funi2A90uni2A91uni2A92uni2A93uni2A94uni2A95uni2A96uni2A97uni2A98uni2A99uni2A9Auni2A9Buni2A9Cuni2A9Duni2A9Euni2A9Funi2AA0uni2AAEuni2AAFuni2AB0uni2AB1uni2AB2uni2AB3uni2AB4uni2AB5uni2AB6uni2AB7uni2AB8uni2AB9uni2ABAuni2AF9uni2AFAuni2B00uni2B01uni2B02uni2B03uni2B04uni2B05uni2B06uni2B07uni2B08uni2B09uni2B0Auni2B0Buni2B0Cuni2B0Duni2B0Euni2B0Funi2B10uni2B11uni2B12uni2B13uni2B14uni2B15uni2B16uni2B17uni2B18uni2B19uni2B1Auni2B20uni2B21uni2B22uni2B23uni2C60uni2C61uni2C62uni2C63uni2C64uni2C65uni2C66uni2C67uni2C68uni2C69uni2C6Auni2C6Buni2C6Cuni2C74uni2C75uni2C76uni2C77uni2D30uni2D31uni2D32uni2D33uni2D34uni2D35uni2D36uni2D37uni2D38uni2D39uni2D3Auni2D3Buni2D3Cuni2D3Duni2D3Euni2D3Funi2D40uni2D41uni2D42uni2D43uni2D44uni2D45uni2D46uni2D47uni2D48uni2D49uni2D4Auni2D4Buni2D4Cuni2D4Duni2D4Euni2D4Funi2D50uni2D51uni2D52uni2D53uni2D54uni2D55uni2D56uni2D57uni2D58uni2D59uni2D5Auni2D5Buni2D5Cuni2D5Duni2D5Euni2D5Funi2D60uni2D61uni2D62uni2D63uni2D64uni2D65uni2D6FuniF000uniF001uniF208uniF25FuniF6C5uniFB00uniFB03uniFB04uniFB05uniFB06uniFB13uniFB14uniFB15uniFB16uniFB17uniFB1DuniFB1EuniFB1FuniFB20uniFB21uniFB22uniFB23uniFB24uniFB25uniFB26uniFB27uniFB28uniFB29uniFB2AuniFB2BuniFB2CuniFB2DuniFB2EuniFB2FuniFB30uniFB31uniFB32uniFB33uniFB34uniFB35uniFB36uniFB38uniFB39uniFB3AuniFB3BuniFB3CuniFB3EuniFB40uniFB41uniFB43uniFB44uniFB46uniFB47uniFB48uniFB49uniFB4AuniFB4BuniFB4CuniFB4DuniFB4EuniFB4FuniFB52uniFB53uniFB54uniFB55uniFB56uniFB57uniFB58uniFB59uniFB5AuniFB5BuniFB5CuniFB5DuniFB5EuniFB5FuniFB60uniFB61uniFB62uniFB63uniFB64uniFB65uniFB66uniFB67uniFB68uniFB69uniFB6AuniFB6BuniFB6CuniFB6DuniFB6EuniFB6FuniFB70uniFB71uniFB72uniFB73uniFB74uniFB75uniFB76uniFB77uniFB78uniFB79uniFB7AuniFB7BuniFB7CuniFB7DuniFB7EuniFB7FuniFB80uniFB81uniFB8AuniFB8BuniFB8CuniFB8DuniFB8EuniFB8FuniFB90uniFB91uniFB92uniFB93uniFB94uniFB95uniFB9EuniFB9FuniFBD9uniFBDAuniFBE8uniFBE9uniFBFCuniFBFDuniFBFEuniFBFFuniFE00uniFE01uniFE02uniFE03uniFE04uniFE05uniFE06uniFE07uniFE08uniFE09uniFE0AuniFE0BuniFE0CuniFE0DuniFE0EuniFE0FuniFE70uniFE71uniFE72uniFE73uniFE74uniFE76uniFE77uniFE78uniFE79uniFE7AuniFE7BuniFE7CuniFE7DuniFE7EuniFE7FuniFE80uniFE81uniFE82uniFE83uniFE84uniFE85uniFE86uniFE87uniFE88uniFE89uniFE8AuniFE8BuniFE8CuniFE8DuniFE8EuniFE8FuniFE90uniFE91uniFE92uniFE93uniFE94uniFE95uniFE96uniFE97uniFE98uniFE99uniFE9AuniFE9BuniFE9CuniFE9DuniFE9EuniFE9FuniFEA0uniFEA1uniFEA2uniFEA3uniFEA4uniFEA5uniFEA6uniFEA7uniFEA8uniFEA9uniFEAAuniFEABuniFEACuniFEADuniFEAEuniFEAFuniFEB0uniFEB1uniFEB2uniFEB3uniFEB4uniFEB5uniFEB6uniFEB7uniFEB8uniFEB9uniFEBAuniFEBBuniFEBCuniFEBDuniFEBEuniFEBFuniFEC0uniFEC1uniFEC2uniFEC3uniFEC4uniFEC5uniFEC6uniFEC7uniFEC8uniFEC9uniFECAuniFECBuniFECCuniFECDuniFECEuniFECFuniFED0uniFED1uniFED2uniFED3uniFED4uniFED5uniFED6uniFED7uniFED8uniFED9uniFEDAuniFEDBuniFEDCuniFEDDuniFEDEuniFEDFuniFEE0uniFEE1uniFEE2uniFEE3uniFEE4uniFEE5uniFEE6uniFEE7uniFEE8uniFEE9uniFEEAuniFEEBuniFEECuniFEEDuniFEEEuniFEEFuniFEF0uniFEF1uniFEF2uniFEF3uniFEF4uniFEF5uniFEF6uniFEF7uniFEF8uniFEF9uniFEFAuniFEFBuniFEFCuniFEFFuniFFFDu1D300u1D301u1D302u1D303u1D304u1D305u1D306u1D307u1D308u1D309u1D30Au1D30Bu1D30Cu1D30Du1D30Eu1D30Fu1D310u1D311u1D312u1D313u1D314u1D315u1D316u1D317u1D318u1D319u1D31Au1D31Bu1D31Cu1D31Du1D31Eu1D31Fu1D320u1D321u1D322u1D323u1D324u1D325u1D326u1D327u1D328u1D329u1D32Au1D32Bu1D32Cu1D32Du1D32Eu1D32Fu1D330u1D331u1D332u1D333u1D334u1D335u1D336u1D337u1D338u1D339u1D33Au1D33Bu1D33Cu1D33Du1D33Eu1D33Fu1D340u1D341u1D342u1D343u1D344u1D345u1D346u1D347u1D348u1D349u1D34Au1D34Bu1D34Cu1D34Du1D34Eu1D34Fu1D350u1D351u1D352u1D353u1D354u1D355u1D356u1D538u1D539u1D53Bu1D53Cu1D53Du1D53Eu1D540u1D541u1D542u1D543u1D544u1D546u1D54Au1D54Bu1D54Cu1D54Du1D54Eu1D54Fu1D550u1D552u1D553u1D554u1D555u1D556u1D557u1D558u1D559u1D55Au1D55Bu1D55Cu1D55Du1D55Eu1D55Fu1D560u1D561u1D562u1D563u1D564u1D565u1D566u1D567u1D568u1D569u1D56Au1D56B dlLtcaronDieresisAcuteTildeGrave CircumflexCaron uni0311.caseBreve Dotaccent Hungarumlaut Doubleacute arabic_dot arabic_2dots arabic_3dotsarabic_3dots_aarabic_2dots_a arabic_4dots uni066E.fina uni066E.init uni066E.medi uni06A1.fina uni06A1.init uni06A1.medi uni066F.fina uni066F.init uni066F.medi uni06BA.init uni06BA.medi arabic_ring uni067C.fina uni067C.init uni067C.medi uni067D.fina uni067D.init uni067D.medi uni0681.fina uni0681.init uni0681.medi uni0682.fina uni0682.init uni0682.medi uni0685.fina uni0685.init uni0685.medi uni06BF.fina uni06BF.init uni06BF.mediarabic_gaf_barEng.altuni0268.dotlessuni029D.dotless uni03080304 uni03040308 uni03070304 uni03080301 uni03080300 uni03040301 uni03040300 uni03030304 uni0308030C uni03030308 uni030C0307 uni03030301 uni03020301 uni03020300 uni03020303 uni03060303 uni03060301 uni03060300 uni03060309 uni03020309 uni03010307 brailledotJ.alt uni0695.finauniFEAE.fina.longstart uni06B5.fina uni06B5.init uni06B5.medi uni06CE.fina uni06CE.init uni06CE.medi uni0692.final.alt uni06D5.finauni0478.monographuni0479.monographiogonek.dotlessuni2148.dotlessuni2149.dotlessuni1E2D.dotlessuni1ECB.dotlessdcoI.alt arrow.base uni0651064B uni0651064C uni064B0651 uni0651064E uni0651064F uni064E0651 uni0654064E uni0654064F uni07CA.fina uni07CA.medi uni07CA.init uni07CB.fina uni07CB.medi uni07CB.init uni07CC.fina uni07CC.medi uni07CC.init uni07CD.fina uni07CD.medi uni07CD.init uni07CE.fina uni07CE.medi uni07CE.init uni07CF.fina uni07CF.medi uni07CF.init uni07D0.fina uni07D0.medi uni07D0.init uni07D1.fina uni07D1.medi uni07D1.init uni07D2.fina uni07D2.medi uni07D2.init uni07D3.fina uni07D3.medi uni07D3.init uni07D4.fina uni07D4.medi uni07D4.init uni07D5.fina uni07D5.medi uni07D5.init uni07D6.fina uni07D6.medi uni07D6.init uni07D7.fina uni07D7.medi uni07D7.init uni07D8.fina uni07D8.medi uni07D8.init uni07D9.fina uni07D9.medi uni07D9.init uni07DA.fina uni07DA.medi uni07DA.init uni07DB.fina uni07DB.medi uni07DB.init uni07DC.fina uni07DC.medi uni07DC.init uni07DD.fina uni07DD.medi uni07DD.init uni07DE.fina uni07DE.medi uni07DE.init uni07DF.fina uni07DF.medi uni07DF.init uni07E0.fina uni07E0.medi uni07E0.init uni07E1.fina uni07E1.medi uni07E1.init uni07E2.fina uni07E2.medi uni07E2.init uni07E3.fina uni07E3.medi uni07E3.init uni07E4.fina uni07E4.medi uni07E4.init uni07E5.fina uni07E5.medi uni07E5.init uni07E6.fina uni07E6.medi uni07E6.init uni07E7.fina uni07E7.medi uni07E7.init@%2%%A:B2SAS//2ݖ}ٻ֊A}G}G͖2ƅ%]%]@@%d%d%A2dA  d   A(]%]@%..%A  %d%@~}}~}}|d{T{%zyxw v utsrqponl!kjBjSih}gBfedcba:`^ ][ZYX YX WW2VUTUBTSSRQJQP ONMNMLKJKJIJI IH GFEDC-CBAK@?>=>=<=<; <@; :987876765 65 43 21 21 0/ 0 / .- .- ,2+*%+d*)*%)('%(A'%&% &% $#"!! d d BBBdB-B}d       -d@--d++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++libgd-2.3.0/tests/freetype/bug00132.c0000664000175000017500000000164713634445460014035 00000000000000#include "gd.h" #include #include #include "gdtest.h" #include "gdfontl.h" int main() { gdImagePtr im; int error = 0; char *path; char *ret = NULL; /* disable subpixel hinting */ putenv("FREETYPE_PROPERTIES=truetype:interpreter-version=35"); im = gdImageCreateTrueColor(50, 30); if (!im) { gdTestErrorMsg("can't get truecolor image\n"); return 1; } gdImageAlphaBlending(im, 0); gdImageFilledRectangle(im, 0, 0, 200, 200, gdTrueColorAlpha(0, 0, 0, 127)); path = gdTestFilePath("freetype/DejaVuSans.ttf"); ret = gdImageStringFT(im, NULL, - 0xFFFFFF, path, 14.0, 0.0, 10, 20, "ϑ θ"); free(path); if (ret) { error = 1; gdTestErrorMsg("%s\n", ret); } else { if (!gdAssertImageEqualsToFile("freetype/bug00132_exp.png", im)) { error = 1; gdTestErrorMsg("Reference image and destination differ\n"); } } gdImageDestroy(im); gdFontCacheShutdown(); return error; } libgd-2.3.0/tests/freetype/bug00132_exp.png0000664000175000017500000000040113634445460015236 00000000000000PNG  IHDR2nQM pHYs+IDATX Euٽ,hEa4"ͫ!̪cQ!1j{k+>^bNh@ov>`Fve A| 5VEnPl߻"٫XHjCvkU2j&g7SQ*R)# %mhD !'. 7x sHIENDB`libgd-2.3.0/tests/freetype/Makemodule.am0000664000175000017500000000027513635665516015133 00000000000000if HAVE_LIBFREETYPE if HAVE_LIBPNG libgd_test_programs += \ freetype/bug00132 endif endif EXTRA_DIST += \ freetype/CMakeLists.txt \ freetype/bug00132_exp.png \ freetype/DejaVuSans.ttf libgd-2.3.0/tests/freetype/CMakeLists.txt0000664000175000017500000000017413634445460015260 00000000000000IF(FREETYPE_FOUND) IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00132 ) ENDIF(PNG_FOUND) ENDIF(FREETYPE_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecreate/0000775000175000017500000000000013635665564013546 500000000000000libgd-2.3.0/tests/gdimagecreate/bug00340.c0000664000175000017500000000117713635665516015001 00000000000000/** * Regression test for * * We're testing that trying to create an oversized image fails early, * triggering an appropriate warning. */ #include #include "gd.h" #include "gd_errors.h" #include "gdtest.h" #define MSG "product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully\n" void error_handler(int priority, const char *format, ...) { gdTestAssert(priority == GD_WARNING); gdTestAssert(!strcmp(format, MSG)); } int main() { gdImagePtr im; im = gdImageCreate(64970, 65111); gdTestAssert(im == NULL); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecreate/Makemodule.am0000664000175000017500000000014013634445460016051 00000000000000libgd_test_programs += \ gdimagecreate/bug00340 EXTRA_DIST += \ gdimagecreate/CMakeLists.txt libgd-2.3.0/tests/gdimagecreate/CMakeLists.txt0000664000175000017500000000006413635665516016223 00000000000000LIST(APPEND TESTS_FILES bug00340 ) ADD_GD_TESTS() libgd-2.3.0/tests/xpm/0000775000175000017500000000000013635665565011572 500000000000000libgd-2.3.0/tests/xpm/bug00185.xpm0000664000175000017500000000024113634445460013375 00000000000000/* XPM */ static char * a[] = { /* width height colors cpp */ "4 4 3 1", " c None", "x c #ff00ff", ". c #ff0000", /* pixels */ " ..x", ".xxx", "xxx.", "x.. "}; libgd-2.3.0/tests/xpm/bug00185.c0000664000175000017500000000074713634445460013026 00000000000000#include "gd.h" #include #include #include "gdtest.h" /* To check memory leaks, run such as 'valgrind --leak-check=full ./bug00185' */ int main() { gdImagePtr im; char *path; path = gdTestFilePath("xpm/bug00185.xpm"); im = gdImageCreateFromXpm(path); free(path); if (!im) return 1; gdImageDestroy(im); path = gdTestFilePath("xpm/bug00185_damaged.xpm"); im = gdImageCreateFromXpm(path); free(path); if (!im) return 0; gdImageDestroy(im); return 2; } libgd-2.3.0/tests/xpm/color_name.xpm0000664000175000017500000000025113634445460014341 00000000000000/* XPM */ static char *color_name = { "3 5 6 1", " c None", "A c AliceBlue", "b c blue", "c c cyan", "w c wheat", "y c yellow", " A ", "AbA", "yby", "ycy", "wcw", }; libgd-2.3.0/tests/xpm/bug00185_damaged.xpm0000664000175000017500000000022713634445460015043 00000000000000/* XPM */ static char * a[] = { /* width height colors cpp */ "4 4 3 1", " c None", "x c #ff00ff", ". c #ff0000", /* pixels */ " ..x", "xxx.", "x.. " libgd-2.3.0/tests/xpm/bug00166.xpm0000664000175000017500000000023313634445460013375 00000000000000/* XPM */ static char * a[] = { /* width height colors cpp */ "4 4 3 1", " c None", "@ c #abc", ". c #def", /* pixels */ " .. ", ".@@.", ".@@.", " .. "}; libgd-2.3.0/tests/xpm/Makemodule.am0000664000175000017500000000033513634445460014102 00000000000000if HAVE_LIBXPM libgd_test_programs += \ xpm/bug00166 \ xpm/bug00185 \ xpm/color_name endif EXTRA_DIST += \ xpm/CMakeLists.txt \ xpm/bug00166.xpm \ xpm/bug00185.xpm \ xpm/bug00185_damaged.xpm \ xpm/color_name.xpm libgd-2.3.0/tests/xpm/color_name.c0000664000175000017500000000075113634445460013764 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main(void) { gdImagePtr im; char *path; int c, result; path = gdTestFilePath("xpm/color_name.xpm"); im = gdImageCreateFromXpm(path); free(path); if (!im) { return 2; } c = gdImageGetPixel(im, 2, 2); if (gdImageRed(im, c) == 0xFF && gdImageGreen(im, c) == 0xFF && gdImageBlue(im, c) == 0x0) { result = 0; } else { result = 1; } gdImageDestroy(im); return result; } libgd-2.3.0/tests/xpm/CMakeLists.txt0000664000175000017500000000015113634445460014234 00000000000000IF(XPM_FOUND) LIST(APPEND TESTS_FILES bug00166 bug00185 color_name ) ENDIF(XPM_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/xpm/bug00166.c0000664000175000017500000000075013634445460013017 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main(void) { gdImagePtr im; char *path; int c, result; path = gdTestFilePath("xpm/bug00166.xpm"); im = gdImageCreateFromXpm(path); free(path); if (!im) { return 2; } c = gdImageGetPixel(im, 1, 1); if (gdImageRed(im, c) == 0xAA && gdImageGreen(im, c) == 0xBB && gdImageBlue(im, c) == 0xCC) { result = 0; } else { result = 1; } gdImageDestroy(im); return result; } libgd-2.3.0/tests/gdimagecolorreplace/0000775000175000017500000000000013635665564014755 500000000000000libgd-2.3.0/tests/gdimagecolorreplace/Makemodule.am0000664000175000017500000000016713635665516017300 00000000000000libgd_test_programs += \ gdimagecolorreplace/gdimagecolorreplace EXTRA_DIST += \ gdimagecolorreplace/CMakeLists.txt libgd-2.3.0/tests/gdimagecolorreplace/CMakeLists.txt0000664000175000017500000000007713635665516017436 00000000000000LIST(APPEND TESTS_FILES gdimagecolorreplace ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecolorreplace/gdimagecolorreplace.c0000664000175000017500000000721413635665516021032 00000000000000#include #include #include "gd.h" #include "gdtest.h" static int callback(gdImagePtr im, int src) { int r, g, b; r = gdImageRed(im, src); g = gdImageGreen(im, src); b = gdImageBlue(im, src); if (b & 0xFF) { return gdImageColorResolve(im, 0x0F & r, 0x0F & g, 0); } else { return -1; } } static void run_tests(gdImagePtr im, int *error) { int black, \ white, \ cosmic_latte, \ cream, \ ivory, \ magnolia, \ old_lace, \ seashell, \ yellow, \ c, d; int src[2], dst[2]; int n; #define COLOR(name, r, g, b) name = gdImageColorAllocateAlpha(im, r, g, b, gdAlphaOpaque) COLOR(black, 0, 0, 0); COLOR(white, 0xFF, 0xFF, 0xFF); COLOR(cosmic_latte, 0xFF, 0xF8, 0xE7); COLOR(cream, 0xFF, 0xFD, 0xD0); COLOR(ivory, 0xFF, 0xFF, 0xF0); COLOR(magnolia, 0xF8, 0xF4, 0xFF); COLOR(old_lace, 0xFD, 0xF5, 0xE6); COLOR(seashell, 0xFF, 0xF5, 0xEE); COLOR(yellow, 0xFF, 0xFF, 0); #undef COLOR #define CHECK_VALUE(n, expected) do { \ if (gdTestAssert((n) == (expected)) != 1) { \ gdTestErrorMsg("%d is expected, but %d\n", expected, n);\ *error = -1; \ } \ } while (0) #define CHECK_PIXEL(x, y, expected) \ do { \ int pix; \ gdImageSetClip(im, 0, 0, 4, 4); \ pix = gdImageGetPixel(im, (x), (y)); \ if (gdTestAssert(pix == (expected)) != 1) { \ gdTestErrorMsg("%d is expected, but %d\n", expected, pix); \ *error = -1; \ } \ } while (0) c = gdImageColorAllocate(im, 0xFF, 0, 0xFF); gdImageFilledRectangle(im, 0, 0, 4, 4, white); gdImageFilledRectangle(im, 0, 0, 3, 3, black); n = gdImageColorReplace(im, white, c); CHECK_VALUE(n, 9); CHECK_PIXEL(0, 0, black); CHECK_PIXEL(2, 3, black); CHECK_PIXEL(4, 4, c); gdImageSetClip(im, 1, 1, 3, 3); n = gdImageColorReplace(im, black, c); CHECK_VALUE(n, 9); CHECK_PIXEL(0, 0, black); CHECK_PIXEL(2, 3, c); src[0] = black; src[1] = c; dst[0] = c; dst[1] = white; gdImageSetClip(im, 0, 0, 4, 4); n = gdImageColorReplaceArray(im, 2, src, dst); CHECK_VALUE(n, 25); CHECK_PIXEL(0, 0, c); CHECK_PIXEL(2, 3, white); CHECK_PIXEL(4, 4, white); n = gdImageColorReplaceArray(im, 0, src, dst); CHECK_VALUE(n, 0); n = gdImageColorReplaceArray(im, -1, src, dst); CHECK_VALUE(n, 0); n = gdImageColorReplaceArray(im, INT_MAX, src, dst); CHECK_VALUE(n, -1); gdImageSetClip(im, 1, 1, 4, 4); n = gdImageColorReplaceCallback(im, callback); CHECK_VALUE(n, 16); CHECK_PIXEL(0, 0, c); CHECK_PIXEL(0, 4, white); d = gdImageColorExact(im, 0x0F, 0x0F, 0); if (gdTestAssert(d > 0) != 1) { *error = -1; } CHECK_PIXEL(2, 3, d); CHECK_PIXEL(4, 4, d); #define INITIALIZE_IMAGE() \ gdImageSetClip(im, 0, 0, 4, 4); \ gdImageFilledRectangle(im, 0, 0, 4, 4, black); \ gdImageFilledRectangle(im, 1, 1, 3, 3, white); \ gdImageSetPixel(im, 1, 1, cosmic_latte); \ gdImageSetPixel(im, 1, 2, cream); \ gdImageSetPixel(im, 2, 1, ivory); \ gdImageSetPixel(im, 2, 2, magnolia); \ gdImageSetPixel(im, 3, 1, old_lace); \ gdImageSetPixel(im, 3, 2, seashell) INITIALIZE_IMAGE(); n = gdImageColorReplaceThreshold(im, white, yellow, 2.0); CHECK_VALUE(n, 9); CHECK_PIXEL(0, 0, black); CHECK_PIXEL(1, 1, yellow); CHECK_PIXEL(2, 2, yellow); CHECK_PIXEL(3, 3, yellow); #undef INITIALIZE_IMAGE #undef CHECK_VALUE #undef CHECK_PIXEL } int main() { gdImagePtr im; int error = 0; gdSetErrorMethod(gdSilence); /* true color */ im = gdImageCreateTrueColor(5, 5); run_tests(im, &error); gdImageDestroy(im); /* palette */ im = gdImageCreate(5, 5); run_tests(im, &error); gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimageflip/0000775000175000017500000000000013635665565013236 500000000000000libgd-2.3.0/tests/gdimageflip/gdimageflip.c0000664000175000017500000000127313635665516015571 00000000000000/** * Testing the basic operation of the gdImageFlip*() functions */ #include "gd.h" #include "gdtest.h" static void test_flip(void (BGD_STDCALL *func)(gdImagePtr), const char *filename) { gdImagePtr im; FILE *fp; char *path; fp = gdTestFileOpen2("gdimageflip", "remi.png"); im = gdImageCreateFromPng(fp); fclose(fp); func(im); path = gdTestFilePath2("gdimageflip", filename); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); } int main() { test_flip(gdImageFlipVertical, "gdimageflipvertical_exp.png"); test_flip(gdImageFlipHorizontal, "gdimagefliphorizontal_exp.png"); test_flip(gdImageFlipBoth, "gdimageflipboth_exp.png"); return gdNumFailures(); } libgd-2.3.0/tests/gdimageflip/gdimageflipvertical_exp.png0000664000175000017500000007330513634445460020537 00000000000000PNG  IHDRL\ pHYs   IDATxLɲlKr]D.ݜ֭{X )&ȑd^@fz=^D@3ͨ# 4PPݭsnYM4.Ҵ9Yf{gH?o|7j̣GE "Hrnm*R}wi luK_Ot^?Zl^!r85/y5eH@Z1|Zǹ`nߌZu  7_O~H ~cbC`w'"w$"Uu<_\ArSP7D,Z_ϒ$E? 1!9z^D,ʉDЉathDL@մY℄p jM,";Rd[y'\)rz~?}*yKFj9gDKܶ\ |^5oYVBSWyCCGpwE'D@`GhXК n1t* 9m+9  u5d0/ r.MA@3bZ،Et6 dh T i Dtw43c@3js[v:"Vĥ8Ų' ]/]J#a{q?z&eGq]mDHb)2W303"jL0} S=|kD="M1ݰLFϛ^JšIS'1ERYHUCPHLV@̀PTk`< ܡjK1^׏7Y bX^uZnn!#qP4x03êSx9 x7~n˷N/TKL})%1)әuø!Qf сP60swEcm ̵ip(!2o6 ݯ~iڷ檺K1]^F.uKQs=ohE Z bҬƴm^k!IDw,s5k΋+G.fM׺RB Yx~Zʻc"(\V /ֶSD  HEÇp#~\Tm7D}erY>mr˲5FnDh f\[F ͜ܚltQSTkUmEb,|' 1`k $ @( D,"xq^>.0ܫ*R%eYYP( OO2RScr!aFfe-l!lEE6tDs.kΒR|Z*>@};jngG%DHnzaߞ c"" ̘I|AP UDz] $"}s]..].>H(LIJl1;kk Fk)ffw>~<|mUusf}?jh۶̸p]4u/v81"6QR2TfzkQbh(*qn ui** nfPՀXaMc:jRJm]n®|*dZuJa!3wOmUv/׏寧̌FIh+ؠE.>sۚ7PVk?|q7BYpz^,\bc+~Iq;]OK!]>xԻ{ͫjYm׋-5덬#723wcZn/?[)u3ߊap426-ŝ ;J+_=rbX%;$4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Xܖ;ye~Pr'r?o/}?(IAiA@\`&A E zPzWm?z9,8;3ce) :Y1ƶ??}}.G/>W= XD^搊HvZN7gy=$֕I*ﭔEkw UXe1L*fff&Dd{fb*{Z&"M{%3["m}Ȍ@ J]3ۏì=snc eD˵ -=T$[۶Qj3EyRz2E5FfPLk>"߻icp뵪Ui."&iVRT `ݖpX ꜍$dh2"]MR‡ZUӪaЧc @}\.@YjIld!QUKB30[Ӽ"jZMsxT ,]U{̘gdYdZo!J#"8r$ZfPն0ZIV3̣djKk݃Enz;鑃tS^DUc!"XUjQ H4Hf"z'If8<τ%)-)fDsگGY\ RuޮgigGAA{'N~\򶸭}^pﯼ+hfN',[-z9ǘG n2+0!:>F VAg%DTXwRV!3Oejhc.{,|Zֵ9Be vL&V 8 "z&vgDHM1"5 C`wr z'݅".bLZjddGx .RRz*I-6.hY )K)r"R"b1*[pJ=#ESIDSM-jf7;U2NAGkR/+{&db(#n0VLE:OȊȺlQt:jE7xzzp IČ >R1Lt]b:+R'V֥,V&׊y]mSb)6xF(KU-"SGDB(H J{o='y7sٛ$^/y#bx\Li1"{*3Qy;X82]w6;gU)u)ǨI3C>"9`ڱ{fS+ޖ%=Jb:F譔4)"f]/^ucޣuMlw5ރ=-_ndNs1Fd 3|d  c rӂfB ^iLt7lM#RCc>FIM+F?}~~IENDB`libgd-2.3.0/tests/gdimageflip/Makemodule.am0000664000175000017500000000041313634445460015543 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimageflip/gdimageflip endif EXTRA_DIST += \ gdimageflip/CMakeLists.txt \ gdimageflip/remi.png \ gdimageflip/gdimageflipvertical_exp.png \ gdimageflip/gdimagefliphorizontal_exp.png \ gdimageflip/gdimageflipboth_exp.png libgd-2.3.0/tests/gdimageflip/remi.png0000664000175000017500000014044613634445460014616 00000000000000PNG  IHDRL\ pHYs   IDATx*Q"                                                   %         "70        3&:/          . "     >-    ߞ              ֮                                           r IDAT                                        "(                       "*            # #         +$         n?           󥨯         ۼ                                                                  |y^              ,RE$       7  +       z ޾טLti"            "3  ǣ7Y          &%*            + -)t IDAT   $'       !       )      Թ     \      '.(  ξ            &72             &/+"$          ! C]W       *     {xv  1JH           Zoj   ?B8Ϻ       ]hj!     :?;  #!         ]gc%)       5/)m   '        dto    ZMA   >FI&"       " 4&Tkd   9HNGM ᳫ        5R@ARM     /;;JQY               LUT?GD       #2: #           CZS7FJ     "##0.ʸж         !'-1        ;KIEKJ "    EUTEOP       4- 772# .'-   30, (16/5A> ((           %#1@EԻ     &&(72      1#% *    ,;80@=&#           N       ,   ,NPHCYT                 m&&         # %!                 o1 IDAT                  "                                                                          ##                                 "  )*                13                    %     .93    5??      7E>2<=      8NM       LM@R`j         R\]Ͽ247      dddBPS           !$                   ,       %%%       !                     ^QE               75-                     @T l IDAT   %$'                    &&(                *,>       ;@>      !-0/        &!          JG@         ?=:         J;/             RA4                       $                  N>.                           J90                         I8'           !   I6&                   M:(                      T@-             UA,                M:$                R>(                        Q?)                 O<&       14 IDAT                      P<#                                               #"                         !                   O;                           A:.                                               $                 $(+                                                           )!"         $$)$                    #($                                                                                              &vIDAT       4E厇IENDB`libgd-2.3.0/tests/gdimageflip/gdimagefliphorizontal_exp.png0000664000175000017500000007313113634445460021114 00000000000000PNG  IHDRL\ pHYs   IDATxT]eYv%4ZksJ?2m5A-$~xAx -h@!Kj˲m?_eׇ*+2###֚soD8s1ǖ? v3F_׵{RIi*A޾ϞG;ZV˶,=:v:ou*-3I=ĭ(@7gPZۜ[YqrtZDisWU3{|wzcPpZo+dg^JKHBȘ=nn[mݜIq?vUd&?>կ~ܮl!gY "ڗ9/.fERjRj-R2gF½VRnܫZ[k"Lw^0HU}yC%K"BQ5RJUܨ+3Rի % ARZUVu= <6I3cόZ}"BUooo眥6<\/5S/9SݶS@"jꢱ/UbVJzR28}̹m}IUTbf.1|HBIrsF^Ec PURJfjL3#ykbLs@-z'3Uwyme&SJ!TLF e#l.^9)-΄LTضm\]h`6 u"ZxPmS 13ӍŘV*5 ֪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*]YsUB3Ut@fĵ\rChP 5=$YӖ eYJPC]>]}.%(UJX*1c3#U12pj @ [O3`MvcXǰ̕EsՖ}`!b1FoS>]IiY\v?ϧ[ψjp#hK#j.Hs )#20'fT`dRY A52mți_ڢUf^$v ;IENDB`libgd-2.3.0/tests/gdimageflip/CMakeLists.txt0000664000175000017500000000012613634445460015702 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimageflip ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimageflip/gdimageflipboth_exp.png0000664000175000017500000007314313634445460017662 00000000000000PNG  IHDRL\ pHYs   IDATxLήKkf̪p5 R&d% $n@bf @եO&omYk1C "OoEMKgNiabu3///Kø \nuq[kyT[+j T1:jj'T1E$$3pHNJ$ u@!\^@]QyB mC<"b6W&?=kn(A}(ZU͡ [j9NՆZpFʵ"(2W"0 U)خKSS4²a KE@U\g%73CiL*TZӷg fh@}HPQՖWIY%5VE)>t|Jq96N l% Uci='$j  E wmc)5>58!Tt])OPL.T1r- [i]p9evC債c޳3b ďïm!n0[ k J1La !)pV1C4`P9# ShfFAQ]3(U bJj ķĥj1xM+("֐kro3qpl촏V˩\Kd:Stk]"23":ksN+͞jf(28 iuyH@i #6⢏zzokػW//?7^m+-JpV)m- {' fFL*-}5Yl|]ʭB J^=Bһ2uК)[c@tTS3E2}/UKV" LHDZj&0( `\k'Nl@Ÿ,Kd,O>7Yo. :bKmf1l&&`/}읣Ȓ 3; q=z2; s52Di|>wݵJ_ҥf1ZUt v3n{//>|u2.럼~P Gf5Z|wTkJ݈1 NAV)0 TS!@@2bf6i%,6"G^_w_^nqкm:}9E]>l'>"Z@Di@eVV AkPG*LS s%Fg!O֚:v,'8azZ~!Ns`I ௮S0J.\tɏ};U趚"QF0\8(]|:fGlMͰWsU'0Ŀ?piCY|ǒTx+|y]֚f,V1ԷfvBW7oR.rGׁu^Z%u1ߠ/L LDٖf6ig4 1k-o<۳9R?!jk-@CD6 ^}a,(:JY< -b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?ͷ7O j؛Zk1˶N(9x~~AӦ|8^ӂu-5"h ½k"ъȲK &%awsԌP$)KYsǶ&j2k~ƱcPm/CS&3ժrs]j_v&J+ ^VvOO~}='ي._qumрaÊ~ײu5] u*1E.^_[ۯk1lyuGeQ+jEѧ!NhV@E@rx(q'Cd3&I!"q@ޙ^+:&W<_[{/?׽[kʎޏ(@[~~M~ޜ>}m Tzm1ff^n72Um:kg$Hޛ{Ejԩ}HZ=v0~[N:YU(jrRgыvvRJcK]%"}PEN@YGĨKaHW L䨗Rg]-XLKfcĹDH8}V=/%}?JY.zMJ7RM)vsU#I3`buB^U%sݖ! (=ZDDnC^B,wlEՔq֒Sޑ#CwIU.K-kk}ix|X@)e&j"I)"+#"eb̜^Lj2u&";Up꩖RkCӶZʲRT_ {1YeDdfAjXu{8JzN'I"vw#EIR 'w5W@d^MiJ2cxj@Ufd$g$eEG͙˲X&LJk-cpF>RD  œf~̉3NVTM`E2=3K]u4G,zqkX1!Zz* 3U+)#3 )J0 X%caf˲L%a*X& )s1>'f Vb9̽}Nmゥjz:"2#$}&"Jľ^NkfNZEl&ZnVI1*Qת܏LRd6 O48Id6a{0uRO.Jh-.*R#b *͔.s T^FGr2!RcFW  j 4cN!Bu)Y;FԈ#==cw0G-题cSPk J- d&T%ӻ,PKd]֏e}FF뺜ߕzk#4#uiǑQmLD@ eМ$7 \K@)L3_CA[q#ʲc\p2RJ5=+*%=vgGE9;3S[J"3clv]D5DpH©P#C1Fe{?Z;J1"h"p]wG6> }fJ z7Aw?N3e&>]&uB 1‡0(cL&FpYQ,=G:Q#41FǾ_h:F^|;QjpVזRFoH>έHӉDeI1S3,Cݙ_ȁL$TDg!IENDB`libgd-2.3.0/tests/gdimagestring16/0000775000175000017500000000000013635665565013761 500000000000000libgd-2.3.0/tests/gdimagestring16/gdimagestring16_exp.png0000664000175000017500000000016613635665516020255 00000000000000PNG  IHDRGNPLTEn pHYs+IDATc`P|cuհ/IENDB`libgd-2.3.0/tests/gdimagestring16/gdimagestring16.c0000664000175000017500000000124113635665516017032 00000000000000/** * Base test for gdImageString16() */ #include #include #include "gdtest.h" int main() { /* Declare the image */ gdImagePtr im = NULL; wchar_t *wchr = L"H"; unsigned short *sptr; sptr = (unsigned short *)wchr; int foreground; int errorcode = 0; gdFontPtr fontptr = gdFontGetLarge(); im = gdImageCreate(20, 20); gdImageColorAllocate(im, 255, 255, 255); foreground = gdImageColorAllocate(im, 22, 4, 238); gdImageString16(im, fontptr, 2, 2, sptr, foreground); if (!gdAssertImageEqualsToFile("gdimagestring16/gdimagestring16_exp.png", im)) errorcode = 1; /* Destroy the image in memory */ gdImageDestroy(im); return errorcode; } libgd-2.3.0/tests/gdimagestring16/Makemodule.am0000664000175000017500000000025313635665516016277 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagestring16/gdimagestring16 endif EXTRA_DIST += \ gdimagestring16/CMakeLists.txt \ gdimagestring16/gdimagestring16_exp.png libgd-2.3.0/tests/gdimagestring16/CMakeLists.txt0000664000175000017500000000013213635665516016431 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagestring16 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagefilledellipse/0000775000175000017500000000000013635665564015120 500000000000000libgd-2.3.0/tests/gdimagefilledellipse/bug00191.png0000664000175000017500000000021713634445460016704 00000000000000PNG  IHDRddJ,PLTEU~DIDAT8c`4߀̳?s.3}t*|G,|#ȣICFNjaD#b-'f̱<:*%nxfxXM398t^E^>U#eyf4/Mgh&̣-Y*Ns*aEݴʔb, [2ߛ9zleh8>Uch|4m3M-&ьLleh8[mllu\"1*iWfe_/3iQ_+3E'ͽ)gX=>gPixGz3s[$9:P,sW O9IENDB`libgd-2.3.0/tests/gdimagefilledellipse/bug00169_exp.png0000664000175000017500000006606013635665516017604 00000000000000PNG  IHDRT pHYs+ IDATxYH@Av3$ "A XOP6BFس`X?ot~0B[ot$@7?!M HiE`)4XSkhK:Nx/ixOIx͋~l ~2)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ǖJp`6֑s(C5l\XM 5 Vw`EDp`#kBsH,cD   9$bo &sJiA`8 Ⳮ 9!$.o s8HpHO RE'j99 *&9! 8E< 9$ ʳE#9 ) /9  zr@\ 4~sBpMH2ޓsp/p0~bΑsnp E) pEJ.sFc(:/>049,)! y̥7< `E(FppK9@Cof~lPtP  l'qK`1ȁDS7@d. EHRp(:e HLo1@~dJQt~jRt!}@y PCBbЎ7@+N5QRoA!7!Qt`;a7s!|'$ g%B8p7gu0<7C8uhH΁0@y <.-uDopu!x `3Eb:!,J`1 '@79uIHA @R8"D^78 uoq''hD(ChЗrГ+CIE /|!L%csts;preNIFu ,HPnġ :PrNuDp!t`ܩd"C6dr 7iJ /,H;Мl@%[ZPw$4%@: 9?/.cNI #include #include "gd.h" #include "gdtest.h" #define WIDTH 300 #define HEIGHT 200 #define LX (WIDTH/2) // Line X #define LY (HEIGHT/2) // Line Y #define HT 3 // Half of line-thickness #define CLOSE_ENOUGH 0 #define PIXEL_CLOSE_ENOUGH 0 void save(gdImagePtr im, const char *filename) { #if 0 // set TRUE to write out some intermediate images FILE *out; out = fopen(filename, "wb"); gdImagePng(im, out); fclose(out); #else (void)im, (void)filename; #endif }/* save*/ /* Test gdImageScale() with bicubic interpolation on a simple * all-white image. */ gdImagePtr mkwhite(int x, int y) { gdImagePtr im; im = gdImageCreateTrueColor(x, y); gdImageFilledRectangle(im, 0, 0, x-1, y-1, gdImageColorExactAlpha(im, 255, 255, 255, 0)); gdTestAssert(im != NULL); gdImageSetInterpolationMethod(im, GD_BICUBIC); // FP interp'n return im; }/* mkwhite*/ /* Fill with almost-black. */ void mkblack(gdImagePtr ptr) { gdImageFilledRectangle(ptr, 0, 0, ptr->sx - 1, ptr->sy - 1, gdImageColorExactAlpha(ptr, 2, 2, 2, 0)); }/* mkblack*/ gdImagePtr mkcross() { gdImagePtr im; int fg, n; im = mkwhite(WIDTH, HEIGHT); fg = gdImageColorAllocate(im, 0, 0, 0); for (n = -HT; n < HT; n++) { gdImageLine(im, LX-n, 0, LX-n, HEIGHT-1, fg); gdImageLine(im, 0, LY-n, WIDTH-1, LY-n, fg); }/* for */ return im; }/* mkcross*/ void blurblank(gdImagePtr im, int radius, double sigma) { gdImagePtr result; result = gdImageCopyGaussianBlurred(im, radius, sigma); gdTestAssert(!!result); if (!result) return; gdTestAssert(gdMaxPixelDiff(im, result) <= CLOSE_ENOUGH); gdImageDestroy(result); }/* blurblank*/ void do_test() { gdImagePtr im, imref; im = mkwhite(WIDTH, HEIGHT); imref = mkwhite(WIDTH, HEIGHT); /* Blur a plain white image to various radii and ensure they're * still similar enough. */ blurblank(im, 1, 0.0); blurblank(im, 2, 0.0); blurblank(im, 4, 0.0); blurblank(im, 8, 0.0); blurblank(im, 16, 0.0); /* Ditto a black image. */ mkblack(im); gdTestAssert(gdMaxPixelDiff(im, imref) >= 240); /* Leaves a little wiggle room */ blurblank(im, 1, 0.0); blurblank(im, 2, 0.0); blurblank(im, 4, 0.0); blurblank(im, 8, 0.0); blurblank(im, 16, 0.0); gdImageDestroy(im); gdImageDestroy(imref); }/* do_test*/ /* Ensure that RGB values are equal, then return r (which is therefore * the whiteness.) */ int getwhite(gdImagePtr im, int x, int y) { int px, r, g, b; px = gdImageGetPixel(im, x, y); r = gdImageRed(im, px); g = gdImageGreen(im, px); b = gdImageBlue(im, px); gdTestAssert(r == g && r == b); return r; }/* getrgb*/ int whitecmp(gdImagePtr im1, gdImagePtr im2, int x, int y) { int w1, w2; w1 = getwhite(im1, x, y); w2 = getwhite(im2, x, y); return abs(w1 - w2); }/* whitediff*/ void do_crosstest() { gdImagePtr im = mkcross(); gdImagePtr blurred; const int RADIUS = 16; gdTestAssert(!!im); save(im, "cross.png"); blurred = gdImageCopyGaussianBlurred(im, RADIUS, 0.0); gdTestAssert(blurred != NULL); save(blurred, "blurredcross.png"); /* These spots shouldn't be affected. */ gdTestAssert(whitecmp(im, blurred, 5, 5) <= PIXEL_CLOSE_ENOUGH); gdTestAssert(whitecmp(im, blurred, WIDTH-5, 5) <= PIXEL_CLOSE_ENOUGH); gdTestAssert(whitecmp(im, blurred, 5, HEIGHT-5) <= PIXEL_CLOSE_ENOUGH); gdTestAssert(whitecmp(im, blurred, WIDTH-5, HEIGHT-5) <= PIXEL_CLOSE_ENOUGH); // printf("%d %d %d %d\n", whitecmp(im, blurred, 0, 0), whitecmp(im, blurred, WIDTH-1, 0), // whitecmp(im, blurred, 0, HEIGHT-1), whitecmp(im, blurred, WIDTH-1, HEIGHT-1)); /* Ditto these, right in the corners */ gdTestAssert(whitecmp(im, blurred, 0, 0) <= PIXEL_CLOSE_ENOUGH); gdTestAssert(whitecmp(im, blurred, WIDTH-1, 0) <= PIXEL_CLOSE_ENOUGH); gdTestAssert(whitecmp(im, blurred, 0, HEIGHT-1) <= PIXEL_CLOSE_ENOUGH); gdTestAssert(whitecmp(im, blurred, WIDTH-1, HEIGHT-1) <= PIXEL_CLOSE_ENOUGH); /* Now, poking let's poke around the blurred lines. */ /* Vertical line gets darker when approached from the left. */ gdTestAssert(getwhite(blurred, 1, 1) > getwhite(blurred, LX - (HT - 1), 1)); gdTestAssert(getwhite(blurred, LX - 2, 1) > getwhite(blurred, LX - 1, 1)); /* ...and lighter when moving away to the right. */ gdTestAssert(getwhite(blurred, LX + 2, 1) >= getwhite(blurred, LX + 1, 1)); gdTestAssert(getwhite(blurred, LX + 3, 1) >= getwhite(blurred, LX + 2, 1)); gdTestAssert(getwhite(blurred, WIDTH - 1, 1) > getwhite(blurred, LX + 1, 1)); /* And the same way, vertically */ gdTestAssert(getwhite(blurred, 1, 1) > getwhite(blurred, 1, LY - (HT - 1))); gdTestAssert(getwhite(blurred, 1, LY - (HT - 1)) > getwhite(blurred, 1, LY - (HT - 2))); gdTestAssert(getwhite(blurred, 1, LY) <= getwhite(blurred, 1, LY + 1)); gdTestAssert(getwhite(blurred, 1, LY + 1) < getwhite(blurred, 1, LY + 3)); gdTestAssert(getwhite(blurred, 1, LY + 3) < getwhite(blurred, 1, HEIGHT-1)); gdImageDestroy(blurred); gdImageDestroy(im); }/* do_crosstest*/ int main() { do_test(); do_crosstest(); return gdNumFailures(); } libgd-2.3.0/tests/gdimagefilter/Makemodule.am0000664000175000017500000000014513634445460016100 00000000000000libgd_test_programs += \ gdimagefilter/gdCopyBlurred EXTRA_DIST += \ gdimagefilter/CMakeLists.txt libgd-2.3.0/tests/gdimagefilter/CMakeLists.txt0000664000175000017500000000007113634445460016234 00000000000000LIST(APPEND TESTS_FILES gdCopyBlurred ) ADD_GD_TESTS() libgd-2.3.0/tests/Makefile.in0000664000175000017500000125417613635665557012774 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # Note: Library is declared in tests/Makefile.am as it's used by all the tests. VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ TESTS = $(am__EXEEXT_37) @HAVE_LIBFONTCONFIG_TRUE@@HAVE_LIBFREETYPE_TRUE@am__append_1 = \ @HAVE_LIBFONTCONFIG_TRUE@@HAVE_LIBFREETYPE_TRUE@ fontconfig/basic @HAVE_LIBFREETYPE_TRUE@@HAVE_LIBPNG_TRUE@am__append_2 = \ @HAVE_LIBFREETYPE_TRUE@@HAVE_LIBPNG_TRUE@ freetype/bug00132 @ENABLE_GD_FORMATS_TRUE@am__append_3 = \ @ENABLE_GD_FORMATS_TRUE@ gd/bug00383 \ @ENABLE_GD_FORMATS_TRUE@ gd/gd_null \ @ENABLE_GD_FORMATS_TRUE@ gd/gd_num_colors \ @ENABLE_GD_FORMATS_TRUE@ gd/gd_im2im @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@am__append_4 = \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug_289 \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00209 \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00309 \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00354 \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00383 \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/createimagefromgd2part \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/createimagefromgd2partptr \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_empty_file \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/php_bug_72339 \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_null \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_read_corrupt \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/too_few_image_data \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_im2im @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__append_5 = \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_read @HAVE_LIBPNG_TRUE@am__append_6 = gdimagearc/bug00079 \ @HAVE_LIBPNG_TRUE@ gdimagebrightness/basic @HAVE_LIBPNG_TRUE@am__append_7 = \ @HAVE_LIBPNG_TRUE@ gdimagecolor/basic @HAVE_LIBPNG_TRUE@am__append_8 = \ @HAVE_LIBPNG_TRUE@ gdimagecolorclosesthwb/gdImageColorClosestHWB @HAVE_LIBPNG_TRUE@am__append_9 = \ @HAVE_LIBPNG_TRUE@ gdimagecontrast/basic @HAVE_LIBPNG_TRUE@am__append_10 = \ @HAVE_LIBPNG_TRUE@ gdimageconvolution/basic @HAVE_LIBPNG_TRUE@am__append_11 = gdimagecopy/bug00081 \ @HAVE_LIBPNG_TRUE@ gdimagecopymerge/gdimagecopymerge \ @HAVE_LIBPNG_TRUE@ gdimagecopymergegray/gdimagecopymergegray @HAVE_LIBPNG_TRUE@am__append_12 = gdimagecopyresampled/basic \ @HAVE_LIBPNG_TRUE@ gdimagecopyresampled/basic_alpha \ @HAVE_LIBPNG_TRUE@ gdimagecopyresampled/bug00201 \ @HAVE_LIBPNG_TRUE@ gdimagecopyresized/gdimagecopyresized \ @HAVE_LIBPNG_TRUE@ gdimagecopyrotated/bug00020 @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBTIFF_TRUE@@HAVE_LIBWEBP_TRUE@am__append_13 = \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBTIFF_TRUE@@HAVE_LIBWEBP_TRUE@ gdimagefile/gdnametest @HAVE_LIBPNG_TRUE@am__append_14 = gdimagefill/bug00002_1 \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00002_2 \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00002_3 \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00002_4 \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00104_1 \ @HAVE_LIBPNG_TRUE@ gdimagefilledarc/bug00351 \ @HAVE_LIBPNG_TRUE@ gdimagefilledarc/php_bug43828 \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/bug00010 \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/bug00169 \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/bug00191 \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/github_bug_00238 \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/bug00100 \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon0 \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon1 \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon2 \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon3 \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/php_bug_64641 \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/self_intersecting @HAVE_LIBPNG_TRUE@am__append_15 = gdimageflip/gdimageflip \ @HAVE_LIBPNG_TRUE@ gdimageellipse/bug00169 \ @HAVE_LIBPNG_TRUE@ gdimagegrayscale/basic \ @HAVE_LIBPNG_TRUE@ gdimagegrayscale/bug00386 @HAVE_LIBPNG_TRUE@am__append_16 = gdimageline/bug00072 \ @HAVE_LIBPNG_TRUE@ gdimageline/bug00077 gdimageline/bug00111 \ @HAVE_LIBPNG_TRUE@ gdimageline/bug00315 \ @HAVE_LIBPNG_TRUE@ gdimageline/gdimageline_aa \ @HAVE_LIBPNG_TRUE@ gdimageline/gdimageline_bug5 \ @HAVE_LIBPNG_TRUE@ gdimageline/gdImageAALine_thickness \ @HAVE_LIBPNG_TRUE@ gdimageline/github_bug_167 \ @HAVE_LIBPNG_TRUE@ gdimagenegate/basic \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon0 \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon1 \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon2 \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon3 @HAVE_LIBPNG_TRUE@am__append_17 = \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon0 \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon1 \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon2 \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon3 @HAVE_LIBPNG_TRUE@am__append_18 = gdimagerectangle/bug00299 \ @HAVE_LIBPNG_TRUE@ gdimagerotate/bug00067 \ @HAVE_LIBPNG_TRUE@ gdimagerotate/php_bug_64898 \ @HAVE_LIBPNG_TRUE@ gdimagerotate/php_bug_65070 @HAVE_LIBPNG_TRUE@am__append_19 = \ @HAVE_LIBPNG_TRUE@ gdimagescatterex/bug00208_1 \ @HAVE_LIBPNG_TRUE@ gdimagescatterex/bug00208_2 @HAVE_LIBPNG_TRUE@am__append_20 = \ @HAVE_LIBPNG_TRUE@ gdimagesetpixel/alpha_blending @HAVE_LIBPNG_TRUE@am__append_21 = gdimagestring/gdimagestring \ @HAVE_LIBPNG_TRUE@ gdimagestring16/gdimagestring16 @HAVE_LIBFREETYPE_TRUE@am__append_22 = \ @HAVE_LIBFREETYPE_TRUE@ gdimagestringft/gdimagestringft_bbox \ @HAVE_LIBFREETYPE_TRUE@ gdimagestringftex/gdimagestringftex_returnfontpathname @HAVE_LIBPNG_TRUE@am__append_23 = gdimagestringup/gdimagestringup \ @HAVE_LIBPNG_TRUE@ gdimagestringup16/gdimagestringup16 @HAVE_LIBJPEG_TRUE@am__append_24 = \ @HAVE_LIBJPEG_TRUE@ gdimagetruecolortopalette/php_bug_67325 @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__append_25 = \ @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@ gdtiled/bug00032 @HAVE_LIBPNG_TRUE@am__append_26 = \ @HAVE_LIBPNG_TRUE@ gif/bug00005 \ @HAVE_LIBPNG_TRUE@ gif/bug00066 @HAVE_LIBJPEG_TRUE@am__append_27 = \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_empty_file \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_im2im \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_null \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_ptr_double_free \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_resolution @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_TRUE@am__append_28 = \ @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_TRUE@ jpeg/bug_github_18 \ @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_TRUE@ jpeg/bug00338 \ @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_TRUE@ jpeg/jpeg_read @HAVE_LIBPNG_TRUE@am__append_29 = \ @HAVE_LIBPNG_TRUE@ png/bug00011 \ @HAVE_LIBPNG_TRUE@ png/bug00033 \ @HAVE_LIBPNG_TRUE@ png/bug00086 \ @HAVE_LIBPNG_TRUE@ png/bug00088 \ @HAVE_LIBPNG_TRUE@ png/bug00193 \ @HAVE_LIBPNG_TRUE@ png/bug00338 \ @HAVE_LIBPNG_TRUE@ png/bug00381_1 \ @HAVE_LIBPNG_TRUE@ png/png_im2im \ @HAVE_LIBPNG_TRUE@ png/png_null \ @HAVE_LIBPNG_TRUE@ png/png_resolution @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBPNG_TRUE@am__append_30 = \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBPNG_TRUE@ png/bug00381_2 @HAVE_LIBPNG_TRUE@am__append_31 = \ @HAVE_LIBPNG_TRUE@ tga/tga_read @HAVE_LIBTIFF_TRUE@am__append_32 = \ @HAVE_LIBTIFF_TRUE@ tiff/tiff_dpi \ @HAVE_LIBTIFF_TRUE@ tiff/tiff_im2im \ @HAVE_LIBTIFF_TRUE@ tiff/tiff_invalid_read \ @HAVE_LIBTIFF_TRUE@ tiff/tiff_null @HAVE_LIBPNG_TRUE@@HAVE_LIBTIFF_TRUE@am__append_33 = \ @HAVE_LIBPNG_TRUE@@HAVE_LIBTIFF_TRUE@ tiff/tiff_read_bw @HAVE_LIBWEBP_TRUE@am__append_34 = \ @HAVE_LIBWEBP_TRUE@ webp/bug00111 \ @HAVE_LIBWEBP_TRUE@ webp/bug_double_free \ @HAVE_LIBWEBP_TRUE@ webp/gdImageWebpEx @HAVE_LIBPNG_TRUE@am__append_35 = \ @HAVE_LIBPNG_TRUE@ xbm/github_bug_109 \ @HAVE_LIBPNG_TRUE@ xbm/x10_basic_read @HAVE_LIBXPM_TRUE@am__append_36 = \ @HAVE_LIBXPM_TRUE@ xpm/bug00166 \ @HAVE_LIBXPM_TRUE@ xpm/bug00185 \ @HAVE_LIBXPM_TRUE@ xpm/color_name check_PROGRAMS = $(am__EXEEXT_37) $(am__EXEEXT_38) subdir = tests ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \ $(top_srcdir)/m4/ax_openmp.m4 $(top_srcdir)/m4/ax_pthread.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/w32.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/src/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = ARFLAGS = cru AM_V_AR = $(am__v_AR_@AM_V@) am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libgdtest_a_AR = $(AR) $(ARFLAGS) libgdtest_a_LIBADD = am__dirstamp = $(am__leading_dot)dirstamp am_libgdtest_a_OBJECTS = gdtest/libgdtest_a-gdtest.$(OBJEXT) \ libgdtest_a-gdhelpers.$(OBJEXT) libgdtest_a_OBJECTS = $(am_libgdtest_a_OBJECTS) @HAVE_LIBFONTCONFIG_TRUE@@HAVE_LIBFREETYPE_TRUE@am__EXEEXT_1 = fontconfig/basic$(EXEEXT) @HAVE_LIBFREETYPE_TRUE@@HAVE_LIBPNG_TRUE@am__EXEEXT_2 = freetype/bug00132$(EXEEXT) @ENABLE_GD_FORMATS_TRUE@am__EXEEXT_3 = gd/bug00383$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@ gd/gd_null$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@ gd/gd_num_colors$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@ gd/gd_im2im$(EXEEXT) @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@am__EXEEXT_4 = \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug_289$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00209$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00309$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00354$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/bug00383$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/createimagefromgd2part$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/createimagefromgd2partptr$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_empty_file$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/php_bug_72339$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_null$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_read_corrupt$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/too_few_image_data$(EXEEXT) \ @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBZ_TRUE@ gd2/gd2_im2im$(EXEEXT) @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__EXEEXT_5 = gd2/gd2_read$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_6 = gdimagearc/bug00079$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagebrightness/basic$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_7 = gdimagecolor/basic$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_8 = gdimagecolorclosesthwb/gdImageColorClosestHWB$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_9 = gdimagecontrast/basic$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_10 = gdimageconvolution/basic$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_11 = gdimagecopy/bug00081$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagecopymerge/gdimagecopymerge$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagecopymergegray/gdimagecopymergegray$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_12 = gdimagecopyresampled/basic$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagecopyresampled/basic_alpha$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagecopyresampled/bug00201$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagecopyresized/gdimagecopyresized$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagecopyrotated/bug00020$(EXEEXT) @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBTIFF_TRUE@@HAVE_LIBWEBP_TRUE@am__EXEEXT_13 = gdimagefile/gdnametest$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_14 = gdimagefill/bug00002_1$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00002_2$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00002_3$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00002_4$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefill/bug00104_1$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledarc/bug00351$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledarc/php_bug43828$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/bug00010$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/bug00169$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/bug00191$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledellipse/github_bug_00238$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/bug00100$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon0$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon1$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon2$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/gdimagefilledpolygon3$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/php_bug_64641$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagefilledpolygon/self_intersecting$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_15 = gdimageflip/gdimageflip$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageellipse/bug00169$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagegrayscale/basic$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagegrayscale/bug00386$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_16 = gdimageline/bug00072$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageline/bug00077$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageline/bug00111$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageline/bug00315$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageline/gdimageline_aa$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageline/gdimageline_bug5$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageline/gdImageAALine_thickness$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageline/github_bug_167$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagenegate/basic$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon0$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon1$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon2$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimageopenpolygon/gdimageopenpolygon3$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_17 = \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon0$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon1$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon2$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagepolygon/gdimagepolygon3$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_18 = gdimagerectangle/bug00299$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagerotate/bug00067$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagerotate/php_bug_64898$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagerotate/php_bug_65070$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_19 = \ @HAVE_LIBPNG_TRUE@ gdimagescatterex/bug00208_1$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagescatterex/bug00208_2$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_20 = \ @HAVE_LIBPNG_TRUE@ gdimagesetpixel/alpha_blending$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_21 = \ @HAVE_LIBPNG_TRUE@ gdimagestring/gdimagestring$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagestring16/gdimagestring16$(EXEEXT) @HAVE_LIBFREETYPE_TRUE@am__EXEEXT_22 = gdimagestringft/gdimagestringft_bbox$(EXEEXT) \ @HAVE_LIBFREETYPE_TRUE@ gdimagestringftex/gdimagestringftex_returnfontpathname$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_23 = \ @HAVE_LIBPNG_TRUE@ gdimagestringup/gdimagestringup$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gdimagestringup16/gdimagestringup16$(EXEEXT) @HAVE_LIBJPEG_TRUE@am__EXEEXT_24 = gdimagetruecolortopalette/php_bug_67325$(EXEEXT) @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__EXEEXT_25 = \ @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@ gdtiled/bug00032$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_26 = gif/bug00005$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gif/bug00066$(EXEEXT) @HAVE_LIBJPEG_TRUE@am__EXEEXT_27 = jpeg/jpeg_empty_file$(EXEEXT) \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_im2im$(EXEEXT) \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_null$(EXEEXT) \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_ptr_double_free$(EXEEXT) \ @HAVE_LIBJPEG_TRUE@ jpeg/jpeg_resolution$(EXEEXT) @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_TRUE@am__EXEEXT_28 = jpeg/bug_github_18$(EXEEXT) \ @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_TRUE@ jpeg/bug00338$(EXEEXT) \ @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_TRUE@ jpeg/jpeg_read$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_29 = png/bug00011$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ png/bug00033$(EXEEXT) png/bug00086$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ png/bug00088$(EXEEXT) png/bug00193$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ png/bug00338$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ png/bug00381_1$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ png/png_im2im$(EXEEXT) png/png_null$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ png/png_resolution$(EXEEXT) @ENABLE_GD_FORMATS_TRUE@@HAVE_LIBPNG_TRUE@am__EXEEXT_30 = png/bug00381_2$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_31 = tga/tga_read$(EXEEXT) @HAVE_LIBTIFF_TRUE@am__EXEEXT_32 = tiff/tiff_dpi$(EXEEXT) \ @HAVE_LIBTIFF_TRUE@ tiff/tiff_im2im$(EXEEXT) \ @HAVE_LIBTIFF_TRUE@ tiff/tiff_invalid_read$(EXEEXT) \ @HAVE_LIBTIFF_TRUE@ tiff/tiff_null$(EXEEXT) @HAVE_LIBPNG_TRUE@@HAVE_LIBTIFF_TRUE@am__EXEEXT_33 = tiff/tiff_read_bw$(EXEEXT) @HAVE_LIBWEBP_TRUE@am__EXEEXT_34 = webp/bug00111$(EXEEXT) \ @HAVE_LIBWEBP_TRUE@ webp/bug_double_free$(EXEEXT) \ @HAVE_LIBWEBP_TRUE@ webp/gdImageWebpEx$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_35 = xbm/github_bug_109$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ xbm/x10_basic_read$(EXEEXT) @HAVE_LIBXPM_TRUE@am__EXEEXT_36 = xpm/bug00166$(EXEEXT) \ @HAVE_LIBXPM_TRUE@ xpm/bug00185$(EXEEXT) \ @HAVE_LIBXPM_TRUE@ xpm/color_name$(EXEEXT) am__EXEEXT_37 = bmp/bmp_null$(EXEEXT) bmp/bug00275$(EXEEXT) \ bmp/bug00450$(EXEEXT) bmp/bmp_im2im$(EXEEXT) \ bmp/bug00276$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \ gd/gd_versiontest$(EXEEXT) $(am__EXEEXT_3) $(am__EXEEXT_4) \ $(am__EXEEXT_5) $(am__EXEEXT_6) gdimageclone/bug00300$(EXEEXT) \ gdimageclone/style$(EXEEXT) $(am__EXEEXT_7) \ gdimagecolorclosest/gdimagecolorclosest$(EXEEXT) \ $(am__EXEEXT_8) \ gdimagecolordeallocate/gdimagecolordeallocate$(EXEEXT) \ gdimagecolorexact/gdimagecolorexact$(EXEEXT) \ gdimagecolormatch/cve_2019_6977$(EXEEXT) \ gdimagecolormatch/gdimagecolormatch$(EXEEXT) \ gdimagecolorreplace/gdimagecolorreplace$(EXEEXT) \ gdimagecolorresolve/gdimagecolorresolve$(EXEEXT) \ gdimagecolortransparent/gdimagecolortransparent$(EXEEXT) \ gdimagecompare/gdimagecompare$(EXEEXT) $(am__EXEEXT_9) \ gdimageconvolution/bug00369$(EXEEXT) $(am__EXEEXT_10) \ gdimagecopy/bug00007$(EXEEXT) $(am__EXEEXT_11) \ gdimagecopyresampled/exact_alpha$(EXEEXT) $(am__EXEEXT_12) \ gdimagecreate/bug00340$(EXEEXT) gdimagecrop/bug00297$(EXEEXT) \ gdimagecrop/bug00432$(EXEEXT) \ gdimagecrop/bug00485_auto$(EXEEXT) \ gdimagecrop/bug00485_threshold$(EXEEXT) \ gdimagecrop/bug00486$(EXEEXT) \ gdimagecrop/php_bug_72494$(EXEEXT) $(am__EXEEXT_13) \ $(am__EXEEXT_14) gdimagefilledrectangle/bug00004$(EXEEXT) \ gdimagefilledrectangle/bug00078$(EXEEXT) \ gdimagefilledrectangle/bug00106_gdimagefilledrectangle$(EXEEXT) \ gdimagefilltoborder/bug00037$(EXEEXT) \ gdimagefilltoborder/github_bug_215$(EXEEXT) \ gdimagefilter/gdCopyBlurred$(EXEEXT) $(am__EXEEXT_15) \ gdimageline/gdimageline_aa_outofrange$(EXEEXT) \ $(am__EXEEXT_16) gdimagepixelate/gdimagepixelate$(EXEEXT) \ $(am__EXEEXT_17) gdimagerectangle/bug00003$(EXEEXT) \ gdimagerectangle/bug00106_gdimagerectangle$(EXEEXT) \ gdimagerectangle/github_bug_00172$(EXEEXT) \ gdimagerectangle/point_ordering$(EXEEXT) $(am__EXEEXT_18) \ gdimagescale/bug00329$(EXEEXT) gdimagescale/bug00330$(EXEEXT) \ gdimagescale/github_bug_00218$(EXEEXT) \ gdimagescale/bug_overflow_large_new_size$(EXEEXT) \ $(am__EXEEXT_19) \ gdimagesetinterpolationmethod/github_bug_00584$(EXEEXT) \ gdimagesetpixel/bug00186$(EXEEXT) \ gdimagesetpixel/gdeffectmultiply$(EXEEXT) \ gdimagesetpixel/gdeffectoverlay$(EXEEXT) $(am__EXEEXT_20) \ gdimagesquaretocircle/gdimagesquaretocircle$(EXEEXT) \ $(am__EXEEXT_21) $(am__EXEEXT_22) $(am__EXEEXT_23) \ gdimagetruecolortopalette/bug00307$(EXEEXT) \ gdimagetruecolortopalette/php_bug_72512$(EXEEXT) \ $(am__EXEEXT_24) \ gdinterpolatedscale/gdModesAndPalettes$(EXEEXT) \ gdinterpolatedscale/gdTrivialResize$(EXEEXT) \ gdnewfilectx/gdnewfilectx_null$(EXEEXT) $(am__EXEEXT_25) \ gdtransformaffineboundingbox/github_bug_00221$(EXEEXT) \ gdtransformaffinecopy/github_bug_00583$(EXEEXT) \ gdtransformaffinecopy/github_bug_00585$(EXEEXT) \ gdtransformaffinecopy/github_bug_00586$(EXEEXT) \ gdtransformaffinecopy/github_bug_00596$(EXEEXT) \ gif/bug00005_2$(EXEEXT) gif/bug00181$(EXEEXT) \ gif/bug00227$(EXEEXT) gif/bug00499$(EXEEXT) \ gif/gif_null$(EXEEXT) gif/ossfuzz5700$(EXEEXT) \ gif/php_bug_75571$(EXEEXT) \ gif/uninitialized_memory_read$(EXEEXT) gif/bug00006$(EXEEXT) \ gif/bug00060$(EXEEXT) gif/gif_im2im$(EXEEXT) $(am__EXEEXT_26) \ $(am__EXEEXT_27) $(am__EXEEXT_28) $(am__EXEEXT_29) \ $(am__EXEEXT_30) tga/bug00084$(EXEEXT) tga/bug00247$(EXEEXT) \ tga/bug00247a$(EXEEXT) tga/bug00248$(EXEEXT) \ tga/bug00248a$(EXEEXT) tga/heap_overflow$(EXEEXT) \ tga/tga_null$(EXEEXT) $(am__EXEEXT_31) $(am__EXEEXT_32) \ $(am__EXEEXT_33) wbmp/wbmp_null$(EXEEXT) \ wbmp/wbmp_im2im$(EXEEXT) $(am__EXEEXT_34) \ xbm/github_bug_501$(EXEEXT) xbm/github_bug_170$(EXEEXT) \ $(am__EXEEXT_35) $(am__EXEEXT_36) am__EXEEXT_38 = bmp_bmp_im2im_SOURCES = bmp/bmp_im2im.c bmp_bmp_im2im_OBJECTS = bmp/bmp_im2im.$(OBJEXT) bmp_bmp_im2im_LDADD = $(LDADD) bmp_bmp_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = bmp_bmp_null_SOURCES = bmp/bmp_null.c bmp_bmp_null_OBJECTS = bmp/bmp_null.$(OBJEXT) bmp_bmp_null_LDADD = $(LDADD) bmp_bmp_null_DEPENDENCIES = libgdtest.a ../src/libgd.la bmp_bug00275_SOURCES = bmp/bug00275.c bmp_bug00275_OBJECTS = bmp/bug00275.$(OBJEXT) bmp_bug00275_LDADD = $(LDADD) bmp_bug00275_DEPENDENCIES = libgdtest.a ../src/libgd.la bmp_bug00276_SOURCES = bmp/bug00276.c bmp_bug00276_OBJECTS = bmp/bug00276.$(OBJEXT) bmp_bug00276_LDADD = $(LDADD) bmp_bug00276_DEPENDENCIES = libgdtest.a ../src/libgd.la bmp_bug00450_SOURCES = bmp/bug00450.c bmp_bug00450_OBJECTS = bmp/bug00450.$(OBJEXT) bmp_bug00450_LDADD = $(LDADD) bmp_bug00450_DEPENDENCIES = libgdtest.a ../src/libgd.la fontconfig_basic_SOURCES = fontconfig/basic.c fontconfig_basic_OBJECTS = fontconfig/basic.$(OBJEXT) fontconfig_basic_LDADD = $(LDADD) fontconfig_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la freetype_bug00132_SOURCES = freetype/bug00132.c freetype_bug00132_OBJECTS = freetype/bug00132.$(OBJEXT) freetype_bug00132_LDADD = $(LDADD) freetype_bug00132_DEPENDENCIES = libgdtest.a ../src/libgd.la gd_bug00383_SOURCES = gd/bug00383.c gd_bug00383_OBJECTS = gd/bug00383.$(OBJEXT) gd_bug00383_LDADD = $(LDADD) gd_bug00383_DEPENDENCIES = libgdtest.a ../src/libgd.la gd_gd_im2im_SOURCES = gd/gd_im2im.c gd_gd_im2im_OBJECTS = gd/gd_im2im.$(OBJEXT) gd_gd_im2im_LDADD = $(LDADD) gd_gd_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la gd_gd_null_SOURCES = gd/gd_null.c gd_gd_null_OBJECTS = gd/gd_null.$(OBJEXT) gd_gd_null_LDADD = $(LDADD) gd_gd_null_DEPENDENCIES = libgdtest.a ../src/libgd.la gd_gd_num_colors_SOURCES = gd/gd_num_colors.c gd_gd_num_colors_OBJECTS = gd/gd_num_colors.$(OBJEXT) gd_gd_num_colors_LDADD = $(LDADD) gd_gd_num_colors_DEPENDENCIES = libgdtest.a ../src/libgd.la gd_gd_versiontest_SOURCES = gd/gd_versiontest.c gd_gd_versiontest_OBJECTS = gd/gd_versiontest.$(OBJEXT) gd_gd_versiontest_LDADD = $(LDADD) gd_gd_versiontest_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_bug00209_SOURCES = gd2/bug00209.c gd2_bug00209_OBJECTS = gd2/bug00209.$(OBJEXT) gd2_bug00209_LDADD = $(LDADD) gd2_bug00209_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_bug00309_SOURCES = gd2/bug00309.c gd2_bug00309_OBJECTS = gd2/bug00309.$(OBJEXT) gd2_bug00309_LDADD = $(LDADD) gd2_bug00309_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_bug00354_SOURCES = gd2/bug00354.c gd2_bug00354_OBJECTS = gd2/bug00354.$(OBJEXT) gd2_bug00354_LDADD = $(LDADD) gd2_bug00354_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_bug00383_SOURCES = gd2/bug00383.c gd2_bug00383_OBJECTS = gd2/bug00383.$(OBJEXT) gd2_bug00383_LDADD = $(LDADD) gd2_bug00383_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_bug_289_SOURCES = gd2/bug_289.c gd2_bug_289_OBJECTS = gd2/bug_289.$(OBJEXT) gd2_bug_289_LDADD = $(LDADD) gd2_bug_289_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_createimagefromgd2part_SOURCES = gd2/createimagefromgd2part.c gd2_createimagefromgd2part_OBJECTS = \ gd2/createimagefromgd2part.$(OBJEXT) gd2_createimagefromgd2part_LDADD = $(LDADD) gd2_createimagefromgd2part_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_createimagefromgd2partptr_SOURCES = \ gd2/createimagefromgd2partptr.c gd2_createimagefromgd2partptr_OBJECTS = \ gd2/createimagefromgd2partptr.$(OBJEXT) gd2_createimagefromgd2partptr_LDADD = $(LDADD) gd2_createimagefromgd2partptr_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gd2_gd2_empty_file_SOURCES = gd2/gd2_empty_file.c gd2_gd2_empty_file_OBJECTS = gd2/gd2_empty_file.$(OBJEXT) gd2_gd2_empty_file_LDADD = $(LDADD) gd2_gd2_empty_file_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_gd2_im2im_SOURCES = gd2/gd2_im2im.c gd2_gd2_im2im_OBJECTS = gd2/gd2_im2im.$(OBJEXT) gd2_gd2_im2im_LDADD = $(LDADD) gd2_gd2_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_gd2_null_SOURCES = gd2/gd2_null.c gd2_gd2_null_OBJECTS = gd2/gd2_null.$(OBJEXT) gd2_gd2_null_LDADD = $(LDADD) gd2_gd2_null_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_gd2_read_SOURCES = gd2/gd2_read.c gd2_gd2_read_OBJECTS = gd2/gd2_read.$(OBJEXT) gd2_gd2_read_LDADD = $(LDADD) gd2_gd2_read_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_gd2_read_corrupt_SOURCES = gd2/gd2_read_corrupt.c gd2_gd2_read_corrupt_OBJECTS = gd2/gd2_read_corrupt.$(OBJEXT) gd2_gd2_read_corrupt_LDADD = $(LDADD) gd2_gd2_read_corrupt_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_php_bug_72339_SOURCES = gd2/php_bug_72339.c gd2_php_bug_72339_OBJECTS = gd2/php_bug_72339.$(OBJEXT) gd2_php_bug_72339_LDADD = $(LDADD) gd2_php_bug_72339_DEPENDENCIES = libgdtest.a ../src/libgd.la gd2_too_few_image_data_SOURCES = gd2/too_few_image_data.c gd2_too_few_image_data_OBJECTS = gd2/too_few_image_data.$(OBJEXT) gd2_too_few_image_data_LDADD = $(LDADD) gd2_too_few_image_data_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagearc_bug00079_SOURCES = gdimagearc/bug00079.c gdimagearc_bug00079_OBJECTS = gdimagearc/bug00079.$(OBJEXT) gdimagearc_bug00079_LDADD = $(LDADD) gdimagearc_bug00079_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagebrightness_basic_SOURCES = gdimagebrightness/basic.c gdimagebrightness_basic_OBJECTS = gdimagebrightness/basic.$(OBJEXT) gdimagebrightness_basic_LDADD = $(LDADD) gdimagebrightness_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageclone_bug00300_SOURCES = gdimageclone/bug00300.c gdimageclone_bug00300_OBJECTS = gdimageclone/bug00300.$(OBJEXT) gdimageclone_bug00300_LDADD = $(LDADD) gdimageclone_bug00300_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageclone_style_SOURCES = gdimageclone/style.c gdimageclone_style_OBJECTS = gdimageclone/style.$(OBJEXT) gdimageclone_style_LDADD = $(LDADD) gdimageclone_style_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecolor_basic_SOURCES = gdimagecolor/basic.c gdimagecolor_basic_OBJECTS = gdimagecolor/basic.$(OBJEXT) gdimagecolor_basic_LDADD = $(LDADD) gdimagecolor_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecolorclosest_gdimagecolorclosest_SOURCES = \ gdimagecolorclosest/gdimagecolorclosest.c gdimagecolorclosest_gdimagecolorclosest_OBJECTS = \ gdimagecolorclosest/gdimagecolorclosest.$(OBJEXT) gdimagecolorclosest_gdimagecolorclosest_LDADD = $(LDADD) gdimagecolorclosest_gdimagecolorclosest_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecolorclosesthwb_gdImageColorClosestHWB_SOURCES = \ gdimagecolorclosesthwb/gdImageColorClosestHWB.c gdimagecolorclosesthwb_gdImageColorClosestHWB_OBJECTS = \ gdimagecolorclosesthwb/gdImageColorClosestHWB.$(OBJEXT) gdimagecolorclosesthwb_gdImageColorClosestHWB_LDADD = $(LDADD) gdimagecolorclosesthwb_gdImageColorClosestHWB_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdimagecolordeallocate_gdimagecolordeallocate_SOURCES = \ gdimagecolordeallocate/gdimagecolordeallocate.c gdimagecolordeallocate_gdimagecolordeallocate_OBJECTS = \ gdimagecolordeallocate/gdimagecolordeallocate.$(OBJEXT) gdimagecolordeallocate_gdimagecolordeallocate_LDADD = $(LDADD) gdimagecolordeallocate_gdimagecolordeallocate_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdimagecolorexact_gdimagecolorexact_SOURCES = \ gdimagecolorexact/gdimagecolorexact.c gdimagecolorexact_gdimagecolorexact_OBJECTS = \ gdimagecolorexact/gdimagecolorexact.$(OBJEXT) gdimagecolorexact_gdimagecolorexact_LDADD = $(LDADD) gdimagecolorexact_gdimagecolorexact_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecolormatch_cve_2019_6977_SOURCES = \ gdimagecolormatch/cve_2019_6977.c gdimagecolormatch_cve_2019_6977_OBJECTS = \ gdimagecolormatch/cve_2019_6977.$(OBJEXT) gdimagecolormatch_cve_2019_6977_LDADD = $(LDADD) gdimagecolormatch_cve_2019_6977_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecolormatch_gdimagecolormatch_SOURCES = \ gdimagecolormatch/gdimagecolormatch.c gdimagecolormatch_gdimagecolormatch_OBJECTS = \ gdimagecolormatch/gdimagecolormatch.$(OBJEXT) gdimagecolormatch_gdimagecolormatch_LDADD = $(LDADD) gdimagecolormatch_gdimagecolormatch_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecolorreplace_gdimagecolorreplace_SOURCES = \ gdimagecolorreplace/gdimagecolorreplace.c gdimagecolorreplace_gdimagecolorreplace_OBJECTS = \ gdimagecolorreplace/gdimagecolorreplace.$(OBJEXT) gdimagecolorreplace_gdimagecolorreplace_LDADD = $(LDADD) gdimagecolorreplace_gdimagecolorreplace_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecolorresolve_gdimagecolorresolve_SOURCES = \ gdimagecolorresolve/gdimagecolorresolve.c gdimagecolorresolve_gdimagecolorresolve_OBJECTS = \ gdimagecolorresolve/gdimagecolorresolve.$(OBJEXT) gdimagecolorresolve_gdimagecolorresolve_LDADD = $(LDADD) gdimagecolorresolve_gdimagecolorresolve_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecolortransparent_gdimagecolortransparent_SOURCES = \ gdimagecolortransparent/gdimagecolortransparent.c gdimagecolortransparent_gdimagecolortransparent_OBJECTS = \ gdimagecolortransparent/gdimagecolortransparent.$(OBJEXT) gdimagecolortransparent_gdimagecolortransparent_LDADD = $(LDADD) gdimagecolortransparent_gdimagecolortransparent_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdimagecompare_gdimagecompare_SOURCES = \ gdimagecompare/gdimagecompare.c gdimagecompare_gdimagecompare_OBJECTS = \ gdimagecompare/gdimagecompare.$(OBJEXT) gdimagecompare_gdimagecompare_LDADD = $(LDADD) gdimagecompare_gdimagecompare_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecontrast_basic_SOURCES = gdimagecontrast/basic.c gdimagecontrast_basic_OBJECTS = gdimagecontrast/basic.$(OBJEXT) gdimagecontrast_basic_LDADD = $(LDADD) gdimagecontrast_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageconvolution_basic_SOURCES = gdimageconvolution/basic.c gdimageconvolution_basic_OBJECTS = gdimageconvolution/basic.$(OBJEXT) gdimageconvolution_basic_LDADD = $(LDADD) gdimageconvolution_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageconvolution_bug00369_SOURCES = gdimageconvolution/bug00369.c gdimageconvolution_bug00369_OBJECTS = \ gdimageconvolution/bug00369.$(OBJEXT) gdimageconvolution_bug00369_LDADD = $(LDADD) gdimageconvolution_bug00369_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecopy_bug00007_SOURCES = gdimagecopy/bug00007.c gdimagecopy_bug00007_OBJECTS = gdimagecopy/bug00007.$(OBJEXT) gdimagecopy_bug00007_LDADD = $(LDADD) gdimagecopy_bug00007_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecopy_bug00081_SOURCES = gdimagecopy/bug00081.c gdimagecopy_bug00081_OBJECTS = gdimagecopy/bug00081.$(OBJEXT) gdimagecopy_bug00081_LDADD = $(LDADD) gdimagecopy_bug00081_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecopymerge_gdimagecopymerge_SOURCES = \ gdimagecopymerge/gdimagecopymerge.c gdimagecopymerge_gdimagecopymerge_OBJECTS = \ gdimagecopymerge/gdimagecopymerge.$(OBJEXT) gdimagecopymerge_gdimagecopymerge_LDADD = $(LDADD) gdimagecopymerge_gdimagecopymerge_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecopymergegray_gdimagecopymergegray_SOURCES = \ gdimagecopymergegray/gdimagecopymergegray.c gdimagecopymergegray_gdimagecopymergegray_OBJECTS = \ gdimagecopymergegray/gdimagecopymergegray.$(OBJEXT) gdimagecopymergegray_gdimagecopymergegray_LDADD = $(LDADD) gdimagecopymergegray_gdimagecopymergegray_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecopyresampled_basic_SOURCES = gdimagecopyresampled/basic.c gdimagecopyresampled_basic_OBJECTS = \ gdimagecopyresampled/basic.$(OBJEXT) gdimagecopyresampled_basic_LDADD = $(LDADD) gdimagecopyresampled_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecopyresampled_basic_alpha_SOURCES = \ gdimagecopyresampled/basic_alpha.c gdimagecopyresampled_basic_alpha_OBJECTS = \ gdimagecopyresampled/basic_alpha.$(OBJEXT) gdimagecopyresampled_basic_alpha_LDADD = $(LDADD) gdimagecopyresampled_basic_alpha_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecopyresampled_bug00201_SOURCES = \ gdimagecopyresampled/bug00201.c gdimagecopyresampled_bug00201_OBJECTS = \ gdimagecopyresampled/bug00201.$(OBJEXT) gdimagecopyresampled_bug00201_LDADD = $(LDADD) gdimagecopyresampled_bug00201_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecopyresampled_exact_alpha_SOURCES = \ gdimagecopyresampled/exact_alpha.c gdimagecopyresampled_exact_alpha_OBJECTS = \ gdimagecopyresampled/exact_alpha.$(OBJEXT) gdimagecopyresampled_exact_alpha_LDADD = $(LDADD) gdimagecopyresampled_exact_alpha_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecopyresized_gdimagecopyresized_SOURCES = \ gdimagecopyresized/gdimagecopyresized.c gdimagecopyresized_gdimagecopyresized_OBJECTS = \ gdimagecopyresized/gdimagecopyresized.$(OBJEXT) gdimagecopyresized_gdimagecopyresized_LDADD = $(LDADD) gdimagecopyresized_gdimagecopyresized_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecopyrotated_bug00020_SOURCES = gdimagecopyrotated/bug00020.c gdimagecopyrotated_bug00020_OBJECTS = \ gdimagecopyrotated/bug00020.$(OBJEXT) gdimagecopyrotated_bug00020_LDADD = $(LDADD) gdimagecopyrotated_bug00020_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecreate_bug00340_SOURCES = gdimagecreate/bug00340.c gdimagecreate_bug00340_OBJECTS = gdimagecreate/bug00340.$(OBJEXT) gdimagecreate_bug00340_LDADD = $(LDADD) gdimagecreate_bug00340_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecrop_bug00297_SOURCES = gdimagecrop/bug00297.c gdimagecrop_bug00297_OBJECTS = gdimagecrop/bug00297.$(OBJEXT) gdimagecrop_bug00297_LDADD = $(LDADD) gdimagecrop_bug00297_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecrop_bug00432_SOURCES = gdimagecrop/bug00432.c gdimagecrop_bug00432_OBJECTS = gdimagecrop/bug00432.$(OBJEXT) gdimagecrop_bug00432_LDADD = $(LDADD) gdimagecrop_bug00432_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecrop_bug00485_auto_SOURCES = gdimagecrop/bug00485_auto.c gdimagecrop_bug00485_auto_OBJECTS = \ gdimagecrop/bug00485_auto.$(OBJEXT) gdimagecrop_bug00485_auto_LDADD = $(LDADD) gdimagecrop_bug00485_auto_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecrop_bug00485_threshold_SOURCES = \ gdimagecrop/bug00485_threshold.c gdimagecrop_bug00485_threshold_OBJECTS = \ gdimagecrop/bug00485_threshold.$(OBJEXT) gdimagecrop_bug00485_threshold_LDADD = $(LDADD) gdimagecrop_bug00485_threshold_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagecrop_bug00486_SOURCES = gdimagecrop/bug00486.c gdimagecrop_bug00486_OBJECTS = gdimagecrop/bug00486.$(OBJEXT) gdimagecrop_bug00486_LDADD = $(LDADD) gdimagecrop_bug00486_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagecrop_php_bug_72494_SOURCES = gdimagecrop/php_bug_72494.c gdimagecrop_php_bug_72494_OBJECTS = \ gdimagecrop/php_bug_72494.$(OBJEXT) gdimagecrop_php_bug_72494_LDADD = $(LDADD) gdimagecrop_php_bug_72494_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageellipse_bug00169_SOURCES = gdimageellipse/bug00169.c gdimageellipse_bug00169_OBJECTS = gdimageellipse/bug00169.$(OBJEXT) gdimageellipse_bug00169_LDADD = $(LDADD) gdimageellipse_bug00169_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefile_gdnametest_SOURCES = gdimagefile/gdnametest.c gdimagefile_gdnametest_OBJECTS = gdimagefile/gdnametest.$(OBJEXT) gdimagefile_gdnametest_LDADD = $(LDADD) gdimagefile_gdnametest_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefill_bug00002_1_SOURCES = gdimagefill/bug00002_1.c gdimagefill_bug00002_1_OBJECTS = gdimagefill/bug00002_1.$(OBJEXT) gdimagefill_bug00002_1_LDADD = $(LDADD) gdimagefill_bug00002_1_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefill_bug00002_2_SOURCES = gdimagefill/bug00002_2.c gdimagefill_bug00002_2_OBJECTS = gdimagefill/bug00002_2.$(OBJEXT) gdimagefill_bug00002_2_LDADD = $(LDADD) gdimagefill_bug00002_2_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefill_bug00002_3_SOURCES = gdimagefill/bug00002_3.c gdimagefill_bug00002_3_OBJECTS = gdimagefill/bug00002_3.$(OBJEXT) gdimagefill_bug00002_3_LDADD = $(LDADD) gdimagefill_bug00002_3_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefill_bug00002_4_SOURCES = gdimagefill/bug00002_4.c gdimagefill_bug00002_4_OBJECTS = gdimagefill/bug00002_4.$(OBJEXT) gdimagefill_bug00002_4_LDADD = $(LDADD) gdimagefill_bug00002_4_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefill_bug00104_1_SOURCES = gdimagefill/bug00104_1.c gdimagefill_bug00104_1_OBJECTS = gdimagefill/bug00104_1.$(OBJEXT) gdimagefill_bug00104_1_LDADD = $(LDADD) gdimagefill_bug00104_1_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefilledarc_bug00351_SOURCES = gdimagefilledarc/bug00351.c gdimagefilledarc_bug00351_OBJECTS = \ gdimagefilledarc/bug00351.$(OBJEXT) gdimagefilledarc_bug00351_LDADD = $(LDADD) gdimagefilledarc_bug00351_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagefilledarc_php_bug43828_SOURCES = \ gdimagefilledarc/php_bug43828.c gdimagefilledarc_php_bug43828_OBJECTS = \ gdimagefilledarc/php_bug43828.$(OBJEXT) gdimagefilledarc_php_bug43828_LDADD = $(LDADD) gdimagefilledarc_php_bug43828_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledellipse_bug00010_SOURCES = \ gdimagefilledellipse/bug00010.c gdimagefilledellipse_bug00010_OBJECTS = \ gdimagefilledellipse/bug00010.$(OBJEXT) gdimagefilledellipse_bug00010_LDADD = $(LDADD) gdimagefilledellipse_bug00010_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledellipse_bug00169_SOURCES = \ gdimagefilledellipse/bug00169.c gdimagefilledellipse_bug00169_OBJECTS = \ gdimagefilledellipse/bug00169.$(OBJEXT) gdimagefilledellipse_bug00169_LDADD = $(LDADD) gdimagefilledellipse_bug00169_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledellipse_bug00191_SOURCES = \ gdimagefilledellipse/bug00191.c gdimagefilledellipse_bug00191_OBJECTS = \ gdimagefilledellipse/bug00191.$(OBJEXT) gdimagefilledellipse_bug00191_LDADD = $(LDADD) gdimagefilledellipse_bug00191_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledellipse_github_bug_00238_SOURCES = \ gdimagefilledellipse/github_bug_00238.c gdimagefilledellipse_github_bug_00238_OBJECTS = \ gdimagefilledellipse/github_bug_00238.$(OBJEXT) gdimagefilledellipse_github_bug_00238_LDADD = $(LDADD) gdimagefilledellipse_github_bug_00238_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledpolygon_bug00100_SOURCES = \ gdimagefilledpolygon/bug00100.c gdimagefilledpolygon_bug00100_OBJECTS = \ gdimagefilledpolygon/bug00100.$(OBJEXT) gdimagefilledpolygon_bug00100_LDADD = $(LDADD) gdimagefilledpolygon_bug00100_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledpolygon_gdimagefilledpolygon0_SOURCES = \ gdimagefilledpolygon/gdimagefilledpolygon0.c gdimagefilledpolygon_gdimagefilledpolygon0_OBJECTS = \ gdimagefilledpolygon/gdimagefilledpolygon0.$(OBJEXT) gdimagefilledpolygon_gdimagefilledpolygon0_LDADD = $(LDADD) gdimagefilledpolygon_gdimagefilledpolygon0_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledpolygon_gdimagefilledpolygon1_SOURCES = \ gdimagefilledpolygon/gdimagefilledpolygon1.c gdimagefilledpolygon_gdimagefilledpolygon1_OBJECTS = \ gdimagefilledpolygon/gdimagefilledpolygon1.$(OBJEXT) gdimagefilledpolygon_gdimagefilledpolygon1_LDADD = $(LDADD) gdimagefilledpolygon_gdimagefilledpolygon1_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledpolygon_gdimagefilledpolygon2_SOURCES = \ gdimagefilledpolygon/gdimagefilledpolygon2.c gdimagefilledpolygon_gdimagefilledpolygon2_OBJECTS = \ gdimagefilledpolygon/gdimagefilledpolygon2.$(OBJEXT) gdimagefilledpolygon_gdimagefilledpolygon2_LDADD = $(LDADD) gdimagefilledpolygon_gdimagefilledpolygon2_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledpolygon_gdimagefilledpolygon3_SOURCES = \ gdimagefilledpolygon/gdimagefilledpolygon3.c gdimagefilledpolygon_gdimagefilledpolygon3_OBJECTS = \ gdimagefilledpolygon/gdimagefilledpolygon3.$(OBJEXT) gdimagefilledpolygon_gdimagefilledpolygon3_LDADD = $(LDADD) gdimagefilledpolygon_gdimagefilledpolygon3_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledpolygon_php_bug_64641_SOURCES = \ gdimagefilledpolygon/php_bug_64641.c gdimagefilledpolygon_php_bug_64641_OBJECTS = \ gdimagefilledpolygon/php_bug_64641.$(OBJEXT) gdimagefilledpolygon_php_bug_64641_LDADD = $(LDADD) gdimagefilledpolygon_php_bug_64641_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledpolygon_self_intersecting_SOURCES = \ gdimagefilledpolygon/self_intersecting.c gdimagefilledpolygon_self_intersecting_OBJECTS = \ gdimagefilledpolygon/self_intersecting.$(OBJEXT) gdimagefilledpolygon_self_intersecting_LDADD = $(LDADD) gdimagefilledpolygon_self_intersecting_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledrectangle_bug00004_SOURCES = \ gdimagefilledrectangle/bug00004.c gdimagefilledrectangle_bug00004_OBJECTS = \ gdimagefilledrectangle/bug00004.$(OBJEXT) gdimagefilledrectangle_bug00004_LDADD = $(LDADD) gdimagefilledrectangle_bug00004_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledrectangle_bug00078_SOURCES = \ gdimagefilledrectangle/bug00078.c gdimagefilledrectangle_bug00078_OBJECTS = \ gdimagefilledrectangle/bug00078.$(OBJEXT) gdimagefilledrectangle_bug00078_LDADD = $(LDADD) gdimagefilledrectangle_bug00078_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilledrectangle_bug00106_gdimagefilledrectangle_SOURCES = \ gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c gdimagefilledrectangle_bug00106_gdimagefilledrectangle_OBJECTS = gdimagefilledrectangle/bug00106_gdimagefilledrectangle.$(OBJEXT) gdimagefilledrectangle_bug00106_gdimagefilledrectangle_LDADD = \ $(LDADD) gdimagefilledrectangle_bug00106_gdimagefilledrectangle_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdimagefilltoborder_bug00037_SOURCES = gdimagefilltoborder/bug00037.c gdimagefilltoborder_bug00037_OBJECTS = \ gdimagefilltoborder/bug00037.$(OBJEXT) gdimagefilltoborder_bug00037_LDADD = $(LDADD) gdimagefilltoborder_bug00037_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilltoborder_github_bug_215_SOURCES = \ gdimagefilltoborder/github_bug_215.c gdimagefilltoborder_github_bug_215_OBJECTS = \ gdimagefilltoborder/github_bug_215.$(OBJEXT) gdimagefilltoborder_github_bug_215_LDADD = $(LDADD) gdimagefilltoborder_github_bug_215_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagefilter_gdCopyBlurred_SOURCES = gdimagefilter/gdCopyBlurred.c gdimagefilter_gdCopyBlurred_OBJECTS = \ gdimagefilter/gdCopyBlurred.$(OBJEXT) gdimagefilter_gdCopyBlurred_LDADD = $(LDADD) gdimagefilter_gdCopyBlurred_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageflip_gdimageflip_SOURCES = gdimageflip/gdimageflip.c gdimageflip_gdimageflip_OBJECTS = gdimageflip/gdimageflip.$(OBJEXT) gdimageflip_gdimageflip_LDADD = $(LDADD) gdimageflip_gdimageflip_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagegrayscale_basic_SOURCES = gdimagegrayscale/basic.c gdimagegrayscale_basic_OBJECTS = gdimagegrayscale/basic.$(OBJEXT) gdimagegrayscale_basic_LDADD = $(LDADD) gdimagegrayscale_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagegrayscale_bug00386_SOURCES = gdimagegrayscale/bug00386.c gdimagegrayscale_bug00386_OBJECTS = \ gdimagegrayscale/bug00386.$(OBJEXT) gdimagegrayscale_bug00386_LDADD = $(LDADD) gdimagegrayscale_bug00386_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageline_bug00072_SOURCES = gdimageline/bug00072.c gdimageline_bug00072_OBJECTS = gdimageline/bug00072.$(OBJEXT) gdimageline_bug00072_LDADD = $(LDADD) gdimageline_bug00072_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageline_bug00077_SOURCES = gdimageline/bug00077.c gdimageline_bug00077_OBJECTS = gdimageline/bug00077.$(OBJEXT) gdimageline_bug00077_LDADD = $(LDADD) gdimageline_bug00077_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageline_bug00111_SOURCES = gdimageline/bug00111.c gdimageline_bug00111_OBJECTS = gdimageline/bug00111.$(OBJEXT) gdimageline_bug00111_LDADD = $(LDADD) gdimageline_bug00111_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageline_bug00315_SOURCES = gdimageline/bug00315.c gdimageline_bug00315_OBJECTS = gdimageline/bug00315.$(OBJEXT) gdimageline_bug00315_LDADD = $(LDADD) gdimageline_bug00315_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageline_gdImageAALine_thickness_SOURCES = \ gdimageline/gdImageAALine_thickness.c gdimageline_gdImageAALine_thickness_OBJECTS = \ gdimageline/gdImageAALine_thickness.$(OBJEXT) gdimageline_gdImageAALine_thickness_LDADD = $(LDADD) gdimageline_gdImageAALine_thickness_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimageline_gdimageline_aa_SOURCES = gdimageline/gdimageline_aa.c gdimageline_gdimageline_aa_OBJECTS = \ gdimageline/gdimageline_aa.$(OBJEXT) gdimageline_gdimageline_aa_LDADD = $(LDADD) gdimageline_gdimageline_aa_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageline_gdimageline_aa_outofrange_SOURCES = \ gdimageline/gdimageline_aa_outofrange.c gdimageline_gdimageline_aa_outofrange_OBJECTS = \ gdimageline/gdimageline_aa_outofrange.$(OBJEXT) gdimageline_gdimageline_aa_outofrange_LDADD = $(LDADD) gdimageline_gdimageline_aa_outofrange_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimageline_gdimageline_bug5_SOURCES = gdimageline/gdimageline_bug5.c gdimageline_gdimageline_bug5_OBJECTS = \ gdimageline/gdimageline_bug5.$(OBJEXT) gdimageline_gdimageline_bug5_LDADD = $(LDADD) gdimageline_gdimageline_bug5_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimageline_github_bug_167_SOURCES = gdimageline/github_bug_167.c gdimageline_github_bug_167_OBJECTS = \ gdimageline/github_bug_167.$(OBJEXT) gdimageline_github_bug_167_LDADD = $(LDADD) gdimageline_github_bug_167_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagenegate_basic_SOURCES = gdimagenegate/basic.c gdimagenegate_basic_OBJECTS = gdimagenegate/basic.$(OBJEXT) gdimagenegate_basic_LDADD = $(LDADD) gdimagenegate_basic_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimageopenpolygon_gdimageopenpolygon0_SOURCES = \ gdimageopenpolygon/gdimageopenpolygon0.c gdimageopenpolygon_gdimageopenpolygon0_OBJECTS = \ gdimageopenpolygon/gdimageopenpolygon0.$(OBJEXT) gdimageopenpolygon_gdimageopenpolygon0_LDADD = $(LDADD) gdimageopenpolygon_gdimageopenpolygon0_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimageopenpolygon_gdimageopenpolygon1_SOURCES = \ gdimageopenpolygon/gdimageopenpolygon1.c gdimageopenpolygon_gdimageopenpolygon1_OBJECTS = \ gdimageopenpolygon/gdimageopenpolygon1.$(OBJEXT) gdimageopenpolygon_gdimageopenpolygon1_LDADD = $(LDADD) gdimageopenpolygon_gdimageopenpolygon1_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimageopenpolygon_gdimageopenpolygon2_SOURCES = \ gdimageopenpolygon/gdimageopenpolygon2.c gdimageopenpolygon_gdimageopenpolygon2_OBJECTS = \ gdimageopenpolygon/gdimageopenpolygon2.$(OBJEXT) gdimageopenpolygon_gdimageopenpolygon2_LDADD = $(LDADD) gdimageopenpolygon_gdimageopenpolygon2_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimageopenpolygon_gdimageopenpolygon3_SOURCES = \ gdimageopenpolygon/gdimageopenpolygon3.c gdimageopenpolygon_gdimageopenpolygon3_OBJECTS = \ gdimageopenpolygon/gdimageopenpolygon3.$(OBJEXT) gdimageopenpolygon_gdimageopenpolygon3_LDADD = $(LDADD) gdimageopenpolygon_gdimageopenpolygon3_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagepixelate_gdimagepixelate_SOURCES = \ gdimagepixelate/gdimagepixelate.c gdimagepixelate_gdimagepixelate_OBJECTS = \ gdimagepixelate/gdimagepixelate.$(OBJEXT) gdimagepixelate_gdimagepixelate_LDADD = $(LDADD) gdimagepixelate_gdimagepixelate_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagepolygon_gdimagepolygon0_SOURCES = \ gdimagepolygon/gdimagepolygon0.c gdimagepolygon_gdimagepolygon0_OBJECTS = \ gdimagepolygon/gdimagepolygon0.$(OBJEXT) gdimagepolygon_gdimagepolygon0_LDADD = $(LDADD) gdimagepolygon_gdimagepolygon0_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagepolygon_gdimagepolygon1_SOURCES = \ gdimagepolygon/gdimagepolygon1.c gdimagepolygon_gdimagepolygon1_OBJECTS = \ gdimagepolygon/gdimagepolygon1.$(OBJEXT) gdimagepolygon_gdimagepolygon1_LDADD = $(LDADD) gdimagepolygon_gdimagepolygon1_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagepolygon_gdimagepolygon2_SOURCES = \ gdimagepolygon/gdimagepolygon2.c gdimagepolygon_gdimagepolygon2_OBJECTS = \ gdimagepolygon/gdimagepolygon2.$(OBJEXT) gdimagepolygon_gdimagepolygon2_LDADD = $(LDADD) gdimagepolygon_gdimagepolygon2_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagepolygon_gdimagepolygon3_SOURCES = \ gdimagepolygon/gdimagepolygon3.c gdimagepolygon_gdimagepolygon3_OBJECTS = \ gdimagepolygon/gdimagepolygon3.$(OBJEXT) gdimagepolygon_gdimagepolygon3_LDADD = $(LDADD) gdimagepolygon_gdimagepolygon3_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagerectangle_bug00003_SOURCES = gdimagerectangle/bug00003.c gdimagerectangle_bug00003_OBJECTS = \ gdimagerectangle/bug00003.$(OBJEXT) gdimagerectangle_bug00003_LDADD = $(LDADD) gdimagerectangle_bug00003_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagerectangle_bug00106_gdimagerectangle_SOURCES = \ gdimagerectangle/bug00106_gdimagerectangle.c gdimagerectangle_bug00106_gdimagerectangle_OBJECTS = \ gdimagerectangle/bug00106_gdimagerectangle.$(OBJEXT) gdimagerectangle_bug00106_gdimagerectangle_LDADD = $(LDADD) gdimagerectangle_bug00106_gdimagerectangle_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagerectangle_bug00299_SOURCES = gdimagerectangle/bug00299.c gdimagerectangle_bug00299_OBJECTS = \ gdimagerectangle/bug00299.$(OBJEXT) gdimagerectangle_bug00299_LDADD = $(LDADD) gdimagerectangle_bug00299_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagerectangle_github_bug_00172_SOURCES = \ gdimagerectangle/github_bug_00172.c gdimagerectangle_github_bug_00172_OBJECTS = \ gdimagerectangle/github_bug_00172.$(OBJEXT) gdimagerectangle_github_bug_00172_LDADD = $(LDADD) gdimagerectangle_github_bug_00172_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagerectangle_point_ordering_SOURCES = \ gdimagerectangle/point_ordering.c gdimagerectangle_point_ordering_OBJECTS = \ gdimagerectangle/point_ordering.$(OBJEXT) gdimagerectangle_point_ordering_LDADD = $(LDADD) gdimagerectangle_point_ordering_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagerotate_bug00067_SOURCES = gdimagerotate/bug00067.c gdimagerotate_bug00067_OBJECTS = gdimagerotate/bug00067.$(OBJEXT) gdimagerotate_bug00067_LDADD = $(LDADD) gdimagerotate_bug00067_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagerotate_php_bug_64898_SOURCES = gdimagerotate/php_bug_64898.c gdimagerotate_php_bug_64898_OBJECTS = \ gdimagerotate/php_bug_64898.$(OBJEXT) gdimagerotate_php_bug_64898_LDADD = $(LDADD) gdimagerotate_php_bug_64898_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagerotate_php_bug_65070_SOURCES = gdimagerotate/php_bug_65070.c gdimagerotate_php_bug_65070_OBJECTS = \ gdimagerotate/php_bug_65070.$(OBJEXT) gdimagerotate_php_bug_65070_LDADD = $(LDADD) gdimagerotate_php_bug_65070_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagescale_bug00329_SOURCES = gdimagescale/bug00329.c gdimagescale_bug00329_OBJECTS = gdimagescale/bug00329.$(OBJEXT) gdimagescale_bug00329_LDADD = $(LDADD) gdimagescale_bug00329_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagescale_bug00330_SOURCES = gdimagescale/bug00330.c gdimagescale_bug00330_OBJECTS = gdimagescale/bug00330.$(OBJEXT) gdimagescale_bug00330_LDADD = $(LDADD) gdimagescale_bug00330_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagescale_bug_overflow_large_new_size_SOURCES = \ gdimagescale/bug_overflow_large_new_size.c gdimagescale_bug_overflow_large_new_size_OBJECTS = \ gdimagescale/bug_overflow_large_new_size.$(OBJEXT) gdimagescale_bug_overflow_large_new_size_LDADD = $(LDADD) gdimagescale_bug_overflow_large_new_size_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagescale_github_bug_00218_SOURCES = \ gdimagescale/github_bug_00218.c gdimagescale_github_bug_00218_OBJECTS = \ gdimagescale/github_bug_00218.$(OBJEXT) gdimagescale_github_bug_00218_LDADD = $(LDADD) gdimagescale_github_bug_00218_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagescatterex_bug00208_1_SOURCES = gdimagescatterex/bug00208_1.c gdimagescatterex_bug00208_1_OBJECTS = \ gdimagescatterex/bug00208_1.$(OBJEXT) gdimagescatterex_bug00208_1_LDADD = $(LDADD) gdimagescatterex_bug00208_1_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagescatterex_bug00208_2_SOURCES = gdimagescatterex/bug00208_2.c gdimagescatterex_bug00208_2_OBJECTS = \ gdimagescatterex/bug00208_2.$(OBJEXT) gdimagescatterex_bug00208_2_LDADD = $(LDADD) gdimagescatterex_bug00208_2_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagesetinterpolationmethod_github_bug_00584_SOURCES = \ gdimagesetinterpolationmethod/github_bug_00584.c gdimagesetinterpolationmethod_github_bug_00584_OBJECTS = \ gdimagesetinterpolationmethod/github_bug_00584.$(OBJEXT) gdimagesetinterpolationmethod_github_bug_00584_LDADD = $(LDADD) gdimagesetinterpolationmethod_github_bug_00584_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdimagesetpixel_alpha_blending_SOURCES = \ gdimagesetpixel/alpha_blending.c gdimagesetpixel_alpha_blending_OBJECTS = \ gdimagesetpixel/alpha_blending.$(OBJEXT) gdimagesetpixel_alpha_blending_LDADD = $(LDADD) gdimagesetpixel_alpha_blending_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagesetpixel_bug00186_SOURCES = gdimagesetpixel/bug00186.c gdimagesetpixel_bug00186_OBJECTS = gdimagesetpixel/bug00186.$(OBJEXT) gdimagesetpixel_bug00186_LDADD = $(LDADD) gdimagesetpixel_bug00186_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagesetpixel_gdeffectmultiply_SOURCES = \ gdimagesetpixel/gdeffectmultiply.c gdimagesetpixel_gdeffectmultiply_OBJECTS = \ gdimagesetpixel/gdeffectmultiply.$(OBJEXT) gdimagesetpixel_gdeffectmultiply_LDADD = $(LDADD) gdimagesetpixel_gdeffectmultiply_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagesetpixel_gdeffectoverlay_SOURCES = \ gdimagesetpixel/gdeffectoverlay.c gdimagesetpixel_gdeffectoverlay_OBJECTS = \ gdimagesetpixel/gdeffectoverlay.$(OBJEXT) gdimagesetpixel_gdeffectoverlay_LDADD = $(LDADD) gdimagesetpixel_gdeffectoverlay_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagesquaretocircle_gdimagesquaretocircle_SOURCES = \ gdimagesquaretocircle/gdimagesquaretocircle.c gdimagesquaretocircle_gdimagesquaretocircle_OBJECTS = \ gdimagesquaretocircle/gdimagesquaretocircle.$(OBJEXT) gdimagesquaretocircle_gdimagesquaretocircle_LDADD = $(LDADD) gdimagesquaretocircle_gdimagesquaretocircle_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdimagestring_gdimagestring_SOURCES = gdimagestring/gdimagestring.c gdimagestring_gdimagestring_OBJECTS = \ gdimagestring/gdimagestring.$(OBJEXT) gdimagestring_gdimagestring_LDADD = $(LDADD) gdimagestring_gdimagestring_DEPENDENCIES = libgdtest.a ../src/libgd.la gdimagestring16_gdimagestring16_SOURCES = \ gdimagestring16/gdimagestring16.c gdimagestring16_gdimagestring16_OBJECTS = \ gdimagestring16/gdimagestring16.$(OBJEXT) gdimagestring16_gdimagestring16_LDADD = $(LDADD) gdimagestring16_gdimagestring16_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagestringft_gdimagestringft_bbox_SOURCES = \ gdimagestringft/gdimagestringft_bbox.c gdimagestringft_gdimagestringft_bbox_OBJECTS = \ gdimagestringft/gdimagestringft_bbox.$(OBJEXT) gdimagestringft_gdimagestringft_bbox_LDADD = $(LDADD) gdimagestringft_gdimagestringft_bbox_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagestringftex_gdimagestringftex_returnfontpathname_SOURCES = \ gdimagestringftex/gdimagestringftex_returnfontpathname.c gdimagestringftex_gdimagestringftex_returnfontpathname_OBJECTS = gdimagestringftex/gdimagestringftex_returnfontpathname.$(OBJEXT) gdimagestringftex_gdimagestringftex_returnfontpathname_LDADD = \ $(LDADD) gdimagestringftex_gdimagestringftex_returnfontpathname_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdimagestringup_gdimagestringup_SOURCES = \ gdimagestringup/gdimagestringup.c gdimagestringup_gdimagestringup_OBJECTS = \ gdimagestringup/gdimagestringup.$(OBJEXT) gdimagestringup_gdimagestringup_LDADD = $(LDADD) gdimagestringup_gdimagestringup_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagestringup16_gdimagestringup16_SOURCES = \ gdimagestringup16/gdimagestringup16.c gdimagestringup16_gdimagestringup16_OBJECTS = \ gdimagestringup16/gdimagestringup16.$(OBJEXT) gdimagestringup16_gdimagestringup16_LDADD = $(LDADD) gdimagestringup16_gdimagestringup16_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagetruecolortopalette_bug00307_SOURCES = \ gdimagetruecolortopalette/bug00307.c gdimagetruecolortopalette_bug00307_OBJECTS = \ gdimagetruecolortopalette/bug00307.$(OBJEXT) gdimagetruecolortopalette_bug00307_LDADD = $(LDADD) gdimagetruecolortopalette_bug00307_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagetruecolortopalette_php_bug_67325_SOURCES = \ gdimagetruecolortopalette/php_bug_67325.c gdimagetruecolortopalette_php_bug_67325_OBJECTS = \ gdimagetruecolortopalette/php_bug_67325.$(OBJEXT) gdimagetruecolortopalette_php_bug_67325_LDADD = $(LDADD) gdimagetruecolortopalette_php_bug_67325_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdimagetruecolortopalette_php_bug_72512_SOURCES = \ gdimagetruecolortopalette/php_bug_72512.c gdimagetruecolortopalette_php_bug_72512_OBJECTS = \ gdimagetruecolortopalette/php_bug_72512.$(OBJEXT) gdimagetruecolortopalette_php_bug_72512_LDADD = $(LDADD) gdimagetruecolortopalette_php_bug_72512_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdinterpolatedscale_gdModesAndPalettes_SOURCES = \ gdinterpolatedscale/gdModesAndPalettes.c gdinterpolatedscale_gdModesAndPalettes_OBJECTS = \ gdinterpolatedscale/gdModesAndPalettes.$(OBJEXT) gdinterpolatedscale_gdModesAndPalettes_LDADD = $(LDADD) gdinterpolatedscale_gdModesAndPalettes_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdinterpolatedscale_gdTrivialResize_SOURCES = \ gdinterpolatedscale/gdTrivialResize.c gdinterpolatedscale_gdTrivialResize_OBJECTS = \ gdinterpolatedscale/gdTrivialResize.$(OBJEXT) gdinterpolatedscale_gdTrivialResize_LDADD = $(LDADD) gdinterpolatedscale_gdTrivialResize_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdnewfilectx_gdnewfilectx_null_SOURCES = \ gdnewfilectx/gdnewfilectx_null.c gdnewfilectx_gdnewfilectx_null_OBJECTS = \ gdnewfilectx/gdnewfilectx_null.$(OBJEXT) gdnewfilectx_gdnewfilectx_null_LDADD = $(LDADD) gdnewfilectx_gdnewfilectx_null_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdtiled_bug00032_SOURCES = gdtiled/bug00032.c gdtiled_bug00032_OBJECTS = gdtiled/bug00032.$(OBJEXT) gdtiled_bug00032_LDADD = $(LDADD) gdtiled_bug00032_DEPENDENCIES = libgdtest.a ../src/libgd.la gdtransformaffineboundingbox_github_bug_00221_SOURCES = \ gdtransformaffineboundingbox/github_bug_00221.c gdtransformaffineboundingbox_github_bug_00221_OBJECTS = \ gdtransformaffineboundingbox/github_bug_00221.$(OBJEXT) gdtransformaffineboundingbox_github_bug_00221_LDADD = $(LDADD) gdtransformaffineboundingbox_github_bug_00221_DEPENDENCIES = \ libgdtest.a ../src/libgd.la gdtransformaffinecopy_github_bug_00583_SOURCES = \ gdtransformaffinecopy/github_bug_00583.c gdtransformaffinecopy_github_bug_00583_OBJECTS = \ gdtransformaffinecopy/github_bug_00583.$(OBJEXT) gdtransformaffinecopy_github_bug_00583_LDADD = $(LDADD) gdtransformaffinecopy_github_bug_00583_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdtransformaffinecopy_github_bug_00585_SOURCES = \ gdtransformaffinecopy/github_bug_00585.c gdtransformaffinecopy_github_bug_00585_OBJECTS = \ gdtransformaffinecopy/github_bug_00585.$(OBJEXT) gdtransformaffinecopy_github_bug_00585_LDADD = $(LDADD) gdtransformaffinecopy_github_bug_00585_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdtransformaffinecopy_github_bug_00586_SOURCES = \ gdtransformaffinecopy/github_bug_00586.c gdtransformaffinecopy_github_bug_00586_OBJECTS = \ gdtransformaffinecopy/github_bug_00586.$(OBJEXT) gdtransformaffinecopy_github_bug_00586_LDADD = $(LDADD) gdtransformaffinecopy_github_bug_00586_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gdtransformaffinecopy_github_bug_00596_SOURCES = \ gdtransformaffinecopy/github_bug_00596.c gdtransformaffinecopy_github_bug_00596_OBJECTS = \ gdtransformaffinecopy/github_bug_00596.$(OBJEXT) gdtransformaffinecopy_github_bug_00596_LDADD = $(LDADD) gdtransformaffinecopy_github_bug_00596_DEPENDENCIES = libgdtest.a \ ../src/libgd.la gif_bug00005_SOURCES = gif/bug00005.c gif_bug00005_OBJECTS = gif/bug00005.$(OBJEXT) gif_bug00005_LDADD = $(LDADD) gif_bug00005_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_bug00005_2_SOURCES = gif/bug00005_2.c gif_bug00005_2_OBJECTS = gif/bug00005_2.$(OBJEXT) gif_bug00005_2_LDADD = $(LDADD) gif_bug00005_2_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_bug00006_SOURCES = gif/bug00006.c gif_bug00006_OBJECTS = gif/bug00006.$(OBJEXT) gif_bug00006_LDADD = $(LDADD) gif_bug00006_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_bug00060_SOURCES = gif/bug00060.c gif_bug00060_OBJECTS = gif/bug00060.$(OBJEXT) gif_bug00060_LDADD = $(LDADD) gif_bug00060_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_bug00066_SOURCES = gif/bug00066.c gif_bug00066_OBJECTS = gif/bug00066.$(OBJEXT) gif_bug00066_LDADD = $(LDADD) gif_bug00066_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_bug00181_SOURCES = gif/bug00181.c gif_bug00181_OBJECTS = gif/bug00181.$(OBJEXT) gif_bug00181_LDADD = $(LDADD) gif_bug00181_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_bug00227_SOURCES = gif/bug00227.c gif_bug00227_OBJECTS = gif/bug00227.$(OBJEXT) gif_bug00227_LDADD = $(LDADD) gif_bug00227_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_bug00499_SOURCES = gif/bug00499.c gif_bug00499_OBJECTS = gif/bug00499.$(OBJEXT) gif_bug00499_LDADD = $(LDADD) gif_bug00499_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_gif_im2im_SOURCES = gif/gif_im2im.c gif_gif_im2im_OBJECTS = gif/gif_im2im.$(OBJEXT) gif_gif_im2im_LDADD = $(LDADD) gif_gif_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_gif_null_SOURCES = gif/gif_null.c gif_gif_null_OBJECTS = gif/gif_null.$(OBJEXT) gif_gif_null_LDADD = $(LDADD) gif_gif_null_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_ossfuzz5700_SOURCES = gif/ossfuzz5700.c gif_ossfuzz5700_OBJECTS = gif/ossfuzz5700.$(OBJEXT) gif_ossfuzz5700_LDADD = $(LDADD) gif_ossfuzz5700_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_php_bug_75571_SOURCES = gif/php_bug_75571.c gif_php_bug_75571_OBJECTS = gif/php_bug_75571.$(OBJEXT) gif_php_bug_75571_LDADD = $(LDADD) gif_php_bug_75571_DEPENDENCIES = libgdtest.a ../src/libgd.la gif_uninitialized_memory_read_SOURCES = \ gif/uninitialized_memory_read.c gif_uninitialized_memory_read_OBJECTS = \ gif/uninitialized_memory_read.$(OBJEXT) gif_uninitialized_memory_read_LDADD = $(LDADD) gif_uninitialized_memory_read_DEPENDENCIES = libgdtest.a \ ../src/libgd.la jpeg_bug00338_SOURCES = jpeg/bug00338.c jpeg_bug00338_OBJECTS = jpeg/bug00338.$(OBJEXT) jpeg_bug00338_LDADD = $(LDADD) jpeg_bug00338_DEPENDENCIES = libgdtest.a ../src/libgd.la jpeg_bug_github_18_SOURCES = jpeg/bug_github_18.c jpeg_bug_github_18_OBJECTS = jpeg/bug_github_18.$(OBJEXT) jpeg_bug_github_18_LDADD = $(LDADD) jpeg_bug_github_18_DEPENDENCIES = libgdtest.a ../src/libgd.la jpeg_jpeg_empty_file_SOURCES = jpeg/jpeg_empty_file.c jpeg_jpeg_empty_file_OBJECTS = jpeg/jpeg_empty_file.$(OBJEXT) jpeg_jpeg_empty_file_LDADD = $(LDADD) jpeg_jpeg_empty_file_DEPENDENCIES = libgdtest.a ../src/libgd.la jpeg_jpeg_im2im_SOURCES = jpeg/jpeg_im2im.c jpeg_jpeg_im2im_OBJECTS = jpeg/jpeg_im2im.$(OBJEXT) jpeg_jpeg_im2im_LDADD = $(LDADD) jpeg_jpeg_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la jpeg_jpeg_null_SOURCES = jpeg/jpeg_null.c jpeg_jpeg_null_OBJECTS = jpeg/jpeg_null.$(OBJEXT) jpeg_jpeg_null_LDADD = $(LDADD) jpeg_jpeg_null_DEPENDENCIES = libgdtest.a ../src/libgd.la jpeg_jpeg_ptr_double_free_SOURCES = jpeg/jpeg_ptr_double_free.c jpeg_jpeg_ptr_double_free_OBJECTS = \ jpeg/jpeg_ptr_double_free.$(OBJEXT) jpeg_jpeg_ptr_double_free_LDADD = $(LDADD) jpeg_jpeg_ptr_double_free_DEPENDENCIES = libgdtest.a ../src/libgd.la jpeg_jpeg_read_SOURCES = jpeg/jpeg_read.c jpeg_jpeg_read_OBJECTS = jpeg/jpeg_read.$(OBJEXT) jpeg_jpeg_read_LDADD = $(LDADD) jpeg_jpeg_read_DEPENDENCIES = libgdtest.a ../src/libgd.la jpeg_jpeg_resolution_SOURCES = jpeg/jpeg_resolution.c jpeg_jpeg_resolution_OBJECTS = jpeg/jpeg_resolution.$(OBJEXT) jpeg_jpeg_resolution_LDADD = $(LDADD) jpeg_jpeg_resolution_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00011_SOURCES = png/bug00011.c png_bug00011_OBJECTS = png/bug00011.$(OBJEXT) png_bug00011_LDADD = $(LDADD) png_bug00011_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00033_SOURCES = png/bug00033.c png_bug00033_OBJECTS = png/bug00033.$(OBJEXT) png_bug00033_LDADD = $(LDADD) png_bug00033_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00086_SOURCES = png/bug00086.c png_bug00086_OBJECTS = png/bug00086.$(OBJEXT) png_bug00086_LDADD = $(LDADD) png_bug00086_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00088_SOURCES = png/bug00088.c png_bug00088_OBJECTS = png/bug00088.$(OBJEXT) png_bug00088_LDADD = $(LDADD) png_bug00088_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00193_SOURCES = png/bug00193.c png_bug00193_OBJECTS = png/bug00193.$(OBJEXT) png_bug00193_LDADD = $(LDADD) png_bug00193_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00338_SOURCES = png/bug00338.c png_bug00338_OBJECTS = png/bug00338.$(OBJEXT) png_bug00338_LDADD = $(LDADD) png_bug00338_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00381_1_SOURCES = png/bug00381_1.c png_bug00381_1_OBJECTS = png/bug00381_1.$(OBJEXT) png_bug00381_1_LDADD = $(LDADD) png_bug00381_1_DEPENDENCIES = libgdtest.a ../src/libgd.la png_bug00381_2_SOURCES = png/bug00381_2.c png_bug00381_2_OBJECTS = png/bug00381_2.$(OBJEXT) png_bug00381_2_LDADD = $(LDADD) png_bug00381_2_DEPENDENCIES = libgdtest.a ../src/libgd.la png_png_im2im_SOURCES = png/png_im2im.c png_png_im2im_OBJECTS = png/png_im2im.$(OBJEXT) png_png_im2im_LDADD = $(LDADD) png_png_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la png_png_null_SOURCES = png/png_null.c png_png_null_OBJECTS = png/png_null.$(OBJEXT) png_png_null_LDADD = $(LDADD) png_png_null_DEPENDENCIES = libgdtest.a ../src/libgd.la png_png_resolution_SOURCES = png/png_resolution.c png_png_resolution_OBJECTS = png/png_resolution.$(OBJEXT) png_png_resolution_LDADD = $(LDADD) png_png_resolution_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_bug00084_SOURCES = tga/bug00084.c tga_bug00084_OBJECTS = tga/bug00084.$(OBJEXT) tga_bug00084_LDADD = $(LDADD) tga_bug00084_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_bug00247_SOURCES = tga/bug00247.c tga_bug00247_OBJECTS = tga/bug00247.$(OBJEXT) tga_bug00247_LDADD = $(LDADD) tga_bug00247_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_bug00247a_SOURCES = tga/bug00247a.c tga_bug00247a_OBJECTS = tga/bug00247a.$(OBJEXT) tga_bug00247a_LDADD = $(LDADD) tga_bug00247a_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_bug00248_SOURCES = tga/bug00248.c tga_bug00248_OBJECTS = tga/bug00248.$(OBJEXT) tga_bug00248_LDADD = $(LDADD) tga_bug00248_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_bug00248a_SOURCES = tga/bug00248a.c tga_bug00248a_OBJECTS = tga/bug00248a.$(OBJEXT) tga_bug00248a_LDADD = $(LDADD) tga_bug00248a_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_heap_overflow_SOURCES = tga/heap_overflow.c tga_heap_overflow_OBJECTS = tga/heap_overflow.$(OBJEXT) tga_heap_overflow_LDADD = $(LDADD) tga_heap_overflow_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_tga_null_SOURCES = tga/tga_null.c tga_tga_null_OBJECTS = tga/tga_null.$(OBJEXT) tga_tga_null_LDADD = $(LDADD) tga_tga_null_DEPENDENCIES = libgdtest.a ../src/libgd.la tga_tga_read_SOURCES = tga/tga_read.c tga_tga_read_OBJECTS = tga/tga_read.$(OBJEXT) tga_tga_read_LDADD = $(LDADD) tga_tga_read_DEPENDENCIES = libgdtest.a ../src/libgd.la tiff_tiff_dpi_SOURCES = tiff/tiff_dpi.c tiff_tiff_dpi_OBJECTS = tiff/tiff_dpi.$(OBJEXT) tiff_tiff_dpi_LDADD = $(LDADD) tiff_tiff_dpi_DEPENDENCIES = libgdtest.a ../src/libgd.la tiff_tiff_im2im_SOURCES = tiff/tiff_im2im.c tiff_tiff_im2im_OBJECTS = tiff/tiff_im2im.$(OBJEXT) tiff_tiff_im2im_LDADD = $(LDADD) tiff_tiff_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la tiff_tiff_invalid_read_SOURCES = tiff/tiff_invalid_read.c tiff_tiff_invalid_read_OBJECTS = tiff/tiff_invalid_read.$(OBJEXT) tiff_tiff_invalid_read_LDADD = $(LDADD) tiff_tiff_invalid_read_DEPENDENCIES = libgdtest.a ../src/libgd.la tiff_tiff_null_SOURCES = tiff/tiff_null.c tiff_tiff_null_OBJECTS = tiff/tiff_null.$(OBJEXT) tiff_tiff_null_LDADD = $(LDADD) tiff_tiff_null_DEPENDENCIES = libgdtest.a ../src/libgd.la tiff_tiff_read_bw_SOURCES = tiff/tiff_read_bw.c tiff_tiff_read_bw_OBJECTS = tiff/tiff_read_bw.$(OBJEXT) tiff_tiff_read_bw_LDADD = $(LDADD) tiff_tiff_read_bw_DEPENDENCIES = libgdtest.a ../src/libgd.la wbmp_wbmp_im2im_SOURCES = wbmp/wbmp_im2im.c wbmp_wbmp_im2im_OBJECTS = wbmp/wbmp_im2im.$(OBJEXT) wbmp_wbmp_im2im_LDADD = $(LDADD) wbmp_wbmp_im2im_DEPENDENCIES = libgdtest.a ../src/libgd.la wbmp_wbmp_null_SOURCES = wbmp/wbmp_null.c wbmp_wbmp_null_OBJECTS = wbmp/wbmp_null.$(OBJEXT) wbmp_wbmp_null_LDADD = $(LDADD) wbmp_wbmp_null_DEPENDENCIES = libgdtest.a ../src/libgd.la webp_bug00111_SOURCES = webp/bug00111.c webp_bug00111_OBJECTS = webp/bug00111.$(OBJEXT) webp_bug00111_LDADD = $(LDADD) webp_bug00111_DEPENDENCIES = libgdtest.a ../src/libgd.la webp_bug_double_free_SOURCES = webp/bug_double_free.c webp_bug_double_free_OBJECTS = webp/bug_double_free.$(OBJEXT) webp_bug_double_free_LDADD = $(LDADD) webp_bug_double_free_DEPENDENCIES = libgdtest.a ../src/libgd.la webp_gdImageWebpEx_SOURCES = webp/gdImageWebpEx.c webp_gdImageWebpEx_OBJECTS = webp/gdImageWebpEx.$(OBJEXT) webp_gdImageWebpEx_LDADD = $(LDADD) webp_gdImageWebpEx_DEPENDENCIES = libgdtest.a ../src/libgd.la xbm_github_bug_109_SOURCES = xbm/github_bug_109.c xbm_github_bug_109_OBJECTS = xbm/github_bug_109.$(OBJEXT) xbm_github_bug_109_LDADD = $(LDADD) xbm_github_bug_109_DEPENDENCIES = libgdtest.a ../src/libgd.la xbm_github_bug_170_SOURCES = xbm/github_bug_170.c xbm_github_bug_170_OBJECTS = xbm/github_bug_170.$(OBJEXT) xbm_github_bug_170_LDADD = $(LDADD) xbm_github_bug_170_DEPENDENCIES = libgdtest.a ../src/libgd.la xbm_github_bug_501_SOURCES = xbm/github_bug_501.c xbm_github_bug_501_OBJECTS = xbm/github_bug_501.$(OBJEXT) xbm_github_bug_501_LDADD = $(LDADD) xbm_github_bug_501_DEPENDENCIES = libgdtest.a ../src/libgd.la xbm_x10_basic_read_SOURCES = xbm/x10_basic_read.c xbm_x10_basic_read_OBJECTS = xbm/x10_basic_read.$(OBJEXT) xbm_x10_basic_read_LDADD = $(LDADD) xbm_x10_basic_read_DEPENDENCIES = libgdtest.a ../src/libgd.la xpm_bug00166_SOURCES = xpm/bug00166.c xpm_bug00166_OBJECTS = xpm/bug00166.$(OBJEXT) xpm_bug00166_LDADD = $(LDADD) xpm_bug00166_DEPENDENCIES = libgdtest.a ../src/libgd.la xpm_bug00185_SOURCES = xpm/bug00185.c xpm_bug00185_OBJECTS = xpm/bug00185.$(OBJEXT) xpm_bug00185_LDADD = $(LDADD) xpm_bug00185_DEPENDENCIES = libgdtest.a ../src/libgd.la xpm_color_name_SOURCES = xpm/color_name.c xpm_color_name_OBJECTS = xpm/color_name.$(OBJEXT) xpm_color_name_LDADD = $(LDADD) xpm_color_name_DEPENDENCIES = libgdtest.a ../src/libgd.la AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/src depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libgdtest_a_SOURCES) bmp/bmp_im2im.c bmp/bmp_null.c \ bmp/bug00275.c bmp/bug00276.c bmp/bug00450.c \ fontconfig/basic.c freetype/bug00132.c gd/bug00383.c \ gd/gd_im2im.c gd/gd_null.c gd/gd_num_colors.c \ gd/gd_versiontest.c gd2/bug00209.c gd2/bug00309.c \ gd2/bug00354.c gd2/bug00383.c gd2/bug_289.c \ gd2/createimagefromgd2part.c gd2/createimagefromgd2partptr.c \ gd2/gd2_empty_file.c gd2/gd2_im2im.c gd2/gd2_null.c \ gd2/gd2_read.c gd2/gd2_read_corrupt.c gd2/php_bug_72339.c \ gd2/too_few_image_data.c gdimagearc/bug00079.c \ gdimagebrightness/basic.c gdimageclone/bug00300.c \ gdimageclone/style.c gdimagecolor/basic.c \ gdimagecolorclosest/gdimagecolorclosest.c \ gdimagecolorclosesthwb/gdImageColorClosestHWB.c \ gdimagecolordeallocate/gdimagecolordeallocate.c \ gdimagecolorexact/gdimagecolorexact.c \ gdimagecolormatch/cve_2019_6977.c \ gdimagecolormatch/gdimagecolormatch.c \ gdimagecolorreplace/gdimagecolorreplace.c \ gdimagecolorresolve/gdimagecolorresolve.c \ gdimagecolortransparent/gdimagecolortransparent.c \ gdimagecompare/gdimagecompare.c gdimagecontrast/basic.c \ gdimageconvolution/basic.c gdimageconvolution/bug00369.c \ gdimagecopy/bug00007.c gdimagecopy/bug00081.c \ gdimagecopymerge/gdimagecopymerge.c \ gdimagecopymergegray/gdimagecopymergegray.c \ gdimagecopyresampled/basic.c \ gdimagecopyresampled/basic_alpha.c \ gdimagecopyresampled/bug00201.c \ gdimagecopyresampled/exact_alpha.c \ gdimagecopyresized/gdimagecopyresized.c \ gdimagecopyrotated/bug00020.c gdimagecreate/bug00340.c \ gdimagecrop/bug00297.c gdimagecrop/bug00432.c \ gdimagecrop/bug00485_auto.c gdimagecrop/bug00485_threshold.c \ gdimagecrop/bug00486.c gdimagecrop/php_bug_72494.c \ gdimageellipse/bug00169.c gdimagefile/gdnametest.c \ gdimagefill/bug00002_1.c gdimagefill/bug00002_2.c \ gdimagefill/bug00002_3.c gdimagefill/bug00002_4.c \ gdimagefill/bug00104_1.c gdimagefilledarc/bug00351.c \ gdimagefilledarc/php_bug43828.c \ gdimagefilledellipse/bug00010.c \ gdimagefilledellipse/bug00169.c \ gdimagefilledellipse/bug00191.c \ gdimagefilledellipse/github_bug_00238.c \ gdimagefilledpolygon/bug00100.c \ gdimagefilledpolygon/gdimagefilledpolygon0.c \ gdimagefilledpolygon/gdimagefilledpolygon1.c \ gdimagefilledpolygon/gdimagefilledpolygon2.c \ gdimagefilledpolygon/gdimagefilledpolygon3.c \ gdimagefilledpolygon/php_bug_64641.c \ gdimagefilledpolygon/self_intersecting.c \ gdimagefilledrectangle/bug00004.c \ gdimagefilledrectangle/bug00078.c \ gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c \ gdimagefilltoborder/bug00037.c \ gdimagefilltoborder/github_bug_215.c \ gdimagefilter/gdCopyBlurred.c gdimageflip/gdimageflip.c \ gdimagegrayscale/basic.c gdimagegrayscale/bug00386.c \ gdimageline/bug00072.c gdimageline/bug00077.c \ gdimageline/bug00111.c gdimageline/bug00315.c \ gdimageline/gdImageAALine_thickness.c \ gdimageline/gdimageline_aa.c \ gdimageline/gdimageline_aa_outofrange.c \ gdimageline/gdimageline_bug5.c gdimageline/github_bug_167.c \ gdimagenegate/basic.c gdimageopenpolygon/gdimageopenpolygon0.c \ gdimageopenpolygon/gdimageopenpolygon1.c \ gdimageopenpolygon/gdimageopenpolygon2.c \ gdimageopenpolygon/gdimageopenpolygon3.c \ gdimagepixelate/gdimagepixelate.c \ gdimagepolygon/gdimagepolygon0.c \ gdimagepolygon/gdimagepolygon1.c \ gdimagepolygon/gdimagepolygon2.c \ gdimagepolygon/gdimagepolygon3.c gdimagerectangle/bug00003.c \ gdimagerectangle/bug00106_gdimagerectangle.c \ gdimagerectangle/bug00299.c \ gdimagerectangle/github_bug_00172.c \ gdimagerectangle/point_ordering.c gdimagerotate/bug00067.c \ gdimagerotate/php_bug_64898.c gdimagerotate/php_bug_65070.c \ gdimagescale/bug00329.c gdimagescale/bug00330.c \ gdimagescale/bug_overflow_large_new_size.c \ gdimagescale/github_bug_00218.c gdimagescatterex/bug00208_1.c \ gdimagescatterex/bug00208_2.c \ gdimagesetinterpolationmethod/github_bug_00584.c \ gdimagesetpixel/alpha_blending.c gdimagesetpixel/bug00186.c \ gdimagesetpixel/gdeffectmultiply.c \ gdimagesetpixel/gdeffectoverlay.c \ gdimagesquaretocircle/gdimagesquaretocircle.c \ gdimagestring/gdimagestring.c \ gdimagestring16/gdimagestring16.c \ gdimagestringft/gdimagestringft_bbox.c \ gdimagestringftex/gdimagestringftex_returnfontpathname.c \ gdimagestringup/gdimagestringup.c \ gdimagestringup16/gdimagestringup16.c \ gdimagetruecolortopalette/bug00307.c \ gdimagetruecolortopalette/php_bug_67325.c \ gdimagetruecolortopalette/php_bug_72512.c \ gdinterpolatedscale/gdModesAndPalettes.c \ gdinterpolatedscale/gdTrivialResize.c \ gdnewfilectx/gdnewfilectx_null.c gdtiled/bug00032.c \ gdtransformaffineboundingbox/github_bug_00221.c \ gdtransformaffinecopy/github_bug_00583.c \ gdtransformaffinecopy/github_bug_00585.c \ gdtransformaffinecopy/github_bug_00586.c \ gdtransformaffinecopy/github_bug_00596.c gif/bug00005.c \ gif/bug00005_2.c gif/bug00006.c gif/bug00060.c gif/bug00066.c \ gif/bug00181.c gif/bug00227.c gif/bug00499.c gif/gif_im2im.c \ gif/gif_null.c gif/ossfuzz5700.c gif/php_bug_75571.c \ gif/uninitialized_memory_read.c jpeg/bug00338.c \ jpeg/bug_github_18.c jpeg/jpeg_empty_file.c jpeg/jpeg_im2im.c \ jpeg/jpeg_null.c jpeg/jpeg_ptr_double_free.c jpeg/jpeg_read.c \ jpeg/jpeg_resolution.c png/bug00011.c png/bug00033.c \ png/bug00086.c png/bug00088.c png/bug00193.c png/bug00338.c \ png/bug00381_1.c png/bug00381_2.c png/png_im2im.c \ png/png_null.c png/png_resolution.c tga/bug00084.c \ tga/bug00247.c tga/bug00247a.c tga/bug00248.c tga/bug00248a.c \ tga/heap_overflow.c tga/tga_null.c tga/tga_read.c \ tiff/tiff_dpi.c tiff/tiff_im2im.c tiff/tiff_invalid_read.c \ tiff/tiff_null.c tiff/tiff_read_bw.c wbmp/wbmp_im2im.c \ wbmp/wbmp_null.c webp/bug00111.c webp/bug_double_free.c \ webp/gdImageWebpEx.c xbm/github_bug_109.c xbm/github_bug_170.c \ xbm/github_bug_501.c xbm/x10_basic_read.c xpm/bug00166.c \ xpm/bug00185.c xpm/color_name.c DIST_SOURCES = $(libgdtest_a_SOURCES) bmp/bmp_im2im.c bmp/bmp_null.c \ bmp/bug00275.c bmp/bug00276.c bmp/bug00450.c \ fontconfig/basic.c freetype/bug00132.c gd/bug00383.c \ gd/gd_im2im.c gd/gd_null.c gd/gd_num_colors.c \ gd/gd_versiontest.c gd2/bug00209.c gd2/bug00309.c \ gd2/bug00354.c gd2/bug00383.c gd2/bug_289.c \ gd2/createimagefromgd2part.c gd2/createimagefromgd2partptr.c \ gd2/gd2_empty_file.c gd2/gd2_im2im.c gd2/gd2_null.c \ gd2/gd2_read.c gd2/gd2_read_corrupt.c gd2/php_bug_72339.c \ gd2/too_few_image_data.c gdimagearc/bug00079.c \ gdimagebrightness/basic.c gdimageclone/bug00300.c \ gdimageclone/style.c gdimagecolor/basic.c \ gdimagecolorclosest/gdimagecolorclosest.c \ gdimagecolorclosesthwb/gdImageColorClosestHWB.c \ gdimagecolordeallocate/gdimagecolordeallocate.c \ gdimagecolorexact/gdimagecolorexact.c \ gdimagecolormatch/cve_2019_6977.c \ gdimagecolormatch/gdimagecolormatch.c \ gdimagecolorreplace/gdimagecolorreplace.c \ gdimagecolorresolve/gdimagecolorresolve.c \ gdimagecolortransparent/gdimagecolortransparent.c \ gdimagecompare/gdimagecompare.c gdimagecontrast/basic.c \ gdimageconvolution/basic.c gdimageconvolution/bug00369.c \ gdimagecopy/bug00007.c gdimagecopy/bug00081.c \ gdimagecopymerge/gdimagecopymerge.c \ gdimagecopymergegray/gdimagecopymergegray.c \ gdimagecopyresampled/basic.c \ gdimagecopyresampled/basic_alpha.c \ gdimagecopyresampled/bug00201.c \ gdimagecopyresampled/exact_alpha.c \ gdimagecopyresized/gdimagecopyresized.c \ gdimagecopyrotated/bug00020.c gdimagecreate/bug00340.c \ gdimagecrop/bug00297.c gdimagecrop/bug00432.c \ gdimagecrop/bug00485_auto.c gdimagecrop/bug00485_threshold.c \ gdimagecrop/bug00486.c gdimagecrop/php_bug_72494.c \ gdimageellipse/bug00169.c gdimagefile/gdnametest.c \ gdimagefill/bug00002_1.c gdimagefill/bug00002_2.c \ gdimagefill/bug00002_3.c gdimagefill/bug00002_4.c \ gdimagefill/bug00104_1.c gdimagefilledarc/bug00351.c \ gdimagefilledarc/php_bug43828.c \ gdimagefilledellipse/bug00010.c \ gdimagefilledellipse/bug00169.c \ gdimagefilledellipse/bug00191.c \ gdimagefilledellipse/github_bug_00238.c \ gdimagefilledpolygon/bug00100.c \ gdimagefilledpolygon/gdimagefilledpolygon0.c \ gdimagefilledpolygon/gdimagefilledpolygon1.c \ gdimagefilledpolygon/gdimagefilledpolygon2.c \ gdimagefilledpolygon/gdimagefilledpolygon3.c \ gdimagefilledpolygon/php_bug_64641.c \ gdimagefilledpolygon/self_intersecting.c \ gdimagefilledrectangle/bug00004.c \ gdimagefilledrectangle/bug00078.c \ gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c \ gdimagefilltoborder/bug00037.c \ gdimagefilltoborder/github_bug_215.c \ gdimagefilter/gdCopyBlurred.c gdimageflip/gdimageflip.c \ gdimagegrayscale/basic.c gdimagegrayscale/bug00386.c \ gdimageline/bug00072.c gdimageline/bug00077.c \ gdimageline/bug00111.c gdimageline/bug00315.c \ gdimageline/gdImageAALine_thickness.c \ gdimageline/gdimageline_aa.c \ gdimageline/gdimageline_aa_outofrange.c \ gdimageline/gdimageline_bug5.c gdimageline/github_bug_167.c \ gdimagenegate/basic.c gdimageopenpolygon/gdimageopenpolygon0.c \ gdimageopenpolygon/gdimageopenpolygon1.c \ gdimageopenpolygon/gdimageopenpolygon2.c \ gdimageopenpolygon/gdimageopenpolygon3.c \ gdimagepixelate/gdimagepixelate.c \ gdimagepolygon/gdimagepolygon0.c \ gdimagepolygon/gdimagepolygon1.c \ gdimagepolygon/gdimagepolygon2.c \ gdimagepolygon/gdimagepolygon3.c gdimagerectangle/bug00003.c \ gdimagerectangle/bug00106_gdimagerectangle.c \ gdimagerectangle/bug00299.c \ gdimagerectangle/github_bug_00172.c \ gdimagerectangle/point_ordering.c gdimagerotate/bug00067.c \ gdimagerotate/php_bug_64898.c gdimagerotate/php_bug_65070.c \ gdimagescale/bug00329.c gdimagescale/bug00330.c \ gdimagescale/bug_overflow_large_new_size.c \ gdimagescale/github_bug_00218.c gdimagescatterex/bug00208_1.c \ gdimagescatterex/bug00208_2.c \ gdimagesetinterpolationmethod/github_bug_00584.c \ gdimagesetpixel/alpha_blending.c gdimagesetpixel/bug00186.c \ gdimagesetpixel/gdeffectmultiply.c \ gdimagesetpixel/gdeffectoverlay.c \ gdimagesquaretocircle/gdimagesquaretocircle.c \ gdimagestring/gdimagestring.c \ gdimagestring16/gdimagestring16.c \ gdimagestringft/gdimagestringft_bbox.c \ gdimagestringftex/gdimagestringftex_returnfontpathname.c \ gdimagestringup/gdimagestringup.c \ gdimagestringup16/gdimagestringup16.c \ gdimagetruecolortopalette/bug00307.c \ gdimagetruecolortopalette/php_bug_67325.c \ gdimagetruecolortopalette/php_bug_72512.c \ gdinterpolatedscale/gdModesAndPalettes.c \ gdinterpolatedscale/gdTrivialResize.c \ gdnewfilectx/gdnewfilectx_null.c gdtiled/bug00032.c \ gdtransformaffineboundingbox/github_bug_00221.c \ gdtransformaffinecopy/github_bug_00583.c \ gdtransformaffinecopy/github_bug_00585.c \ gdtransformaffinecopy/github_bug_00586.c \ gdtransformaffinecopy/github_bug_00596.c gif/bug00005.c \ gif/bug00005_2.c gif/bug00006.c gif/bug00060.c gif/bug00066.c \ gif/bug00181.c gif/bug00227.c gif/bug00499.c gif/gif_im2im.c \ gif/gif_null.c gif/ossfuzz5700.c gif/php_bug_75571.c \ gif/uninitialized_memory_read.c jpeg/bug00338.c \ jpeg/bug_github_18.c jpeg/jpeg_empty_file.c jpeg/jpeg_im2im.c \ jpeg/jpeg_null.c jpeg/jpeg_ptr_double_free.c jpeg/jpeg_read.c \ jpeg/jpeg_resolution.c png/bug00011.c png/bug00033.c \ png/bug00086.c png/bug00088.c png/bug00193.c png/bug00338.c \ png/bug00381_1.c png/bug00381_2.c png/png_im2im.c \ png/png_null.c png/png_resolution.c tga/bug00084.c \ tga/bug00247.c tga/bug00247a.c tga/bug00248.c tga/bug00248a.c \ tga/heap_overflow.c tga/tga_null.c tga/tga_read.c \ tiff/tiff_dpi.c tiff/tiff_im2im.c tiff/tiff_invalid_read.c \ tiff/tiff_null.c tiff/tiff_read_bw.c wbmp/wbmp_im2im.c \ wbmp/wbmp_null.c webp/bug00111.c webp/bug_double_free.c \ webp/gdImageWebpEx.c xbm/github_bug_109.c xbm/github_bug_170.c \ xbm/github_bug_501.c xbm/x10_basic_read.c xpm/bug00166.c \ xpm/bug00185.c xpm/color_name.c am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) AM_RECURSIVE_TARGETS = check recheck TEST_SUITE_LOG = test-suite.log TEST_EXTENSIONS = @EXEEXT@ .test LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) TEST_LOGS = $(am__test_logs2:.test.log=.log) TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/config/test-driver TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ $(TEST_LOG_FLAGS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/bmp/Makemodule.am \ $(srcdir)/fontconfig/Makemodule.am \ $(srcdir)/freetype/Makemodule.am $(srcdir)/gd/Makemodule.am \ $(srcdir)/gd2/Makemodule.am $(srcdir)/gdimagearc/Makemodule.am \ $(srcdir)/gdimagebrightness/Makemodule.am \ $(srcdir)/gdimageclone/Makemodule.am \ $(srcdir)/gdimagecolor/Makemodule.am \ $(srcdir)/gdimagecolorclosest/Makemodule.am \ $(srcdir)/gdimagecolorclosesthwb/Makemodule.am \ $(srcdir)/gdimagecolordeallocate/Makemodule.am \ $(srcdir)/gdimagecolorexact/Makemodule.am \ $(srcdir)/gdimagecolormatch/Makemodule.am \ $(srcdir)/gdimagecolorreplace/Makemodule.am \ $(srcdir)/gdimagecolorresolve/Makemodule.am \ $(srcdir)/gdimagecolortransparent/Makemodule.am \ $(srcdir)/gdimagecompare/Makemodule.am \ $(srcdir)/gdimagecontrast/Makemodule.am \ $(srcdir)/gdimageconvolution/Makemodule.am \ $(srcdir)/gdimagecopy/Makemodule.am \ $(srcdir)/gdimagecopymerge/Makemodule.am \ $(srcdir)/gdimagecopymergegray/Makemodule.am \ $(srcdir)/gdimagecopyresampled/Makemodule.am \ $(srcdir)/gdimagecopyresized/Makemodule.am \ $(srcdir)/gdimagecopyrotated/Makemodule.am \ $(srcdir)/gdimagecreate/Makemodule.am \ $(srcdir)/gdimagecrop/Makemodule.am \ $(srcdir)/gdimageellipse/Makemodule.am \ $(srcdir)/gdimagefile/Makemodule.am \ $(srcdir)/gdimagefill/Makemodule.am \ $(srcdir)/gdimagefilledarc/Makemodule.am \ $(srcdir)/gdimagefilledellipse/Makemodule.am \ $(srcdir)/gdimagefilledpolygon/Makemodule.am \ $(srcdir)/gdimagefilledrectangle/Makemodule.am \ $(srcdir)/gdimagefilltoborder/Makemodule.am \ $(srcdir)/gdimagefilter/Makemodule.am \ $(srcdir)/gdimageflip/Makemodule.am \ $(srcdir)/gdimagegrayscale/Makemodule.am \ $(srcdir)/gdimageline/Makemodule.am \ $(srcdir)/gdimagenegate/Makemodule.am \ $(srcdir)/gdimageopenpolygon/Makemodule.am \ $(srcdir)/gdimagepixelate/Makemodule.am \ $(srcdir)/gdimagepolygon/Makemodule.am \ $(srcdir)/gdimagerectangle/Makemodule.am \ $(srcdir)/gdimagerotate/Makemodule.am \ $(srcdir)/gdimagescale/Makemodule.am \ $(srcdir)/gdimagescatterex/Makemodule.am \ $(srcdir)/gdimagesetinterpolationmethod/Makemodule.am \ $(srcdir)/gdimagesetpixel/Makemodule.am \ $(srcdir)/gdimagesquaretocircle/Makemodule.am \ $(srcdir)/gdimagestring/Makemodule.am \ $(srcdir)/gdimagestring16/Makemodule.am \ $(srcdir)/gdimagestringft/Makemodule.am \ $(srcdir)/gdimagestringftex/Makemodule.am \ $(srcdir)/gdimagestringup/Makemodule.am \ $(srcdir)/gdimagestringup16/Makemodule.am \ $(srcdir)/gdimagetruecolortopalette/Makemodule.am \ $(srcdir)/gdinterpolatedscale/Makemodule.am \ $(srcdir)/gdnewfilectx/Makemodule.am \ $(srcdir)/gdtest/Makemodule.am $(srcdir)/gdtiled/Makemodule.am \ $(srcdir)/gdtransformaffineboundingbox/Makemodule.am \ $(srcdir)/gdtransformaffinecopy/Makemodule.am \ $(srcdir)/gif/Makemodule.am $(srcdir)/jpeg/Makemodule.am \ $(srcdir)/png/Makemodule.am $(srcdir)/tga/Makemodule.am \ $(srcdir)/tiff/Makemodule.am $(srcdir)/wbmp/Makemodule.am \ $(srcdir)/webp/Makemodule.am $(srcdir)/xbm/Makemodule.am \ $(srcdir)/xpm/Makemodule.am $(top_srcdir)/config/depcomp \ $(top_srcdir)/config/test-driver DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDLIB_LT_AGE = @GDLIB_LT_AGE@ GDLIB_LT_CURRENT = @GDLIB_LT_CURRENT@ GDLIB_LT_REVISION = @GDLIB_LT_REVISION@ GREP = @GREP@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBFONTCONFIG_CFLAGS = @LIBFONTCONFIG_CFLAGS@ LIBFONTCONFIG_LIBS = @LIBFONTCONFIG_LIBS@ LIBFREETYPE_CFLAGS = @LIBFREETYPE_CFLAGS@ LIBFREETYPE_LIBS = @LIBFREETYPE_LIBS@ LIBICONV = @LIBICONV@ LIBJPEG_CFLAGS = @LIBJPEG_CFLAGS@ LIBJPEG_LIBS = @LIBJPEG_LIBS@ LIBOBJS = @LIBOBJS@ LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ LIBPNG_LIBS = @LIBPNG_LIBS@ LIBRAQM_CFLAGS = @LIBRAQM_CFLAGS@ LIBRAQM_LIBS = @LIBRAQM_LIBS@ LIBS = @LIBS@ LIBTIFF_CFLAGS = @LIBTIFF_CFLAGS@ LIBTIFF_LIBS = @LIBTIFF_LIBS@ LIBTOOL = @LIBTOOL@ LIBXPM_CFLAGS = @LIBXPM_CFLAGS@ LIBXPM_LIBS = @LIBXPM_LIBS@ LIBZ_CFLAGS = @LIBZ_CFLAGS@ LIBZ_LIBS = @LIBZ_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMKMF = @XMKMF@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ ax_pthread_config = @ax_pthread_config@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ check_LIBRARIES = libgdtest.a libgdtest_a_SOURCES = \ gdtest/gdtest.c \ gdtest/gdtest.h \ gdhelpers.c libgdtest_a_CPPFLAGS = $(AM_CPPFLAGS) -DGDTEST_TOP_DIR='"$(srcdir)"' # Setup vars that subdirs will increment. libgd_test_programs = bmp/bmp_null bmp/bug00275 bmp/bug00450 \ bmp/bmp_im2im bmp/bug00276 $(am__append_1) $(am__append_2) \ gd/gd_versiontest $(am__append_3) $(am__append_4) \ $(am__append_5) $(am__append_6) gdimageclone/bug00300 \ gdimageclone/style $(am__append_7) \ gdimagecolorclosest/gdimagecolorclosest $(am__append_8) \ gdimagecolordeallocate/gdimagecolordeallocate \ gdimagecolorexact/gdimagecolorexact \ gdimagecolormatch/cve_2019_6977 \ gdimagecolormatch/gdimagecolormatch \ gdimagecolorreplace/gdimagecolorreplace \ gdimagecolorresolve/gdimagecolorresolve \ gdimagecolortransparent/gdimagecolortransparent \ gdimagecompare/gdimagecompare $(am__append_9) \ gdimageconvolution/bug00369 $(am__append_10) \ gdimagecopy/bug00007 $(am__append_11) \ gdimagecopyresampled/exact_alpha $(am__append_12) \ gdimagecreate/bug00340 gdimagecrop/bug00297 \ gdimagecrop/bug00432 gdimagecrop/bug00485_auto \ gdimagecrop/bug00485_threshold gdimagecrop/bug00486 \ gdimagecrop/php_bug_72494 $(am__append_13) $(am__append_14) \ gdimagefilledrectangle/bug00004 \ gdimagefilledrectangle/bug00078 \ gdimagefilledrectangle/bug00106_gdimagefilledrectangle \ gdimagefilltoborder/bug00037 \ gdimagefilltoborder/github_bug_215 gdimagefilter/gdCopyBlurred \ $(am__append_15) gdimageline/gdimageline_aa_outofrange \ $(am__append_16) gdimagepixelate/gdimagepixelate \ $(am__append_17) gdimagerectangle/bug00003 \ gdimagerectangle/bug00106_gdimagerectangle \ gdimagerectangle/github_bug_00172 \ gdimagerectangle/point_ordering $(am__append_18) \ gdimagescale/bug00329 gdimagescale/bug00330 \ gdimagescale/github_bug_00218 \ gdimagescale/bug_overflow_large_new_size $(am__append_19) \ gdimagesetinterpolationmethod/github_bug_00584 \ gdimagesetpixel/bug00186 gdimagesetpixel/gdeffectmultiply \ gdimagesetpixel/gdeffectoverlay $(am__append_20) \ gdimagesquaretocircle/gdimagesquaretocircle $(am__append_21) \ $(am__append_22) $(am__append_23) \ gdimagetruecolortopalette/bug00307 \ gdimagetruecolortopalette/php_bug_72512 $(am__append_24) \ gdinterpolatedscale/gdModesAndPalettes \ gdinterpolatedscale/gdTrivialResize \ gdnewfilectx/gdnewfilectx_null $(am__append_25) \ gdtransformaffineboundingbox/github_bug_00221 \ gdtransformaffinecopy/github_bug_00583 \ gdtransformaffinecopy/github_bug_00585 \ gdtransformaffinecopy/github_bug_00586 \ gdtransformaffinecopy/github_bug_00596 gif/bug00005_2 \ gif/bug00181 gif/bug00227 gif/bug00499 gif/gif_null \ gif/ossfuzz5700 gif/php_bug_75571 \ gif/uninitialized_memory_read gif/bug00006 gif/bug00060 \ gif/gif_im2im $(am__append_26) $(am__append_27) \ $(am__append_28) $(am__append_29) $(am__append_30) \ tga/bug00084 tga/bug00247 tga/bug00247a tga/bug00248 \ tga/bug00248a tga/heap_overflow tga/tga_null $(am__append_31) \ $(am__append_32) $(am__append_33) wbmp/wbmp_null \ wbmp/wbmp_im2im $(am__append_34) xbm/github_bug_501 \ xbm/github_bug_170 $(am__append_35) $(am__append_36) libgd_helper_programs = # We don't keep any media files in the top dir ... just generated outputs. CLEANFILES = *.bmp *.gd *.gd2 *.gif *.jpeg *.jpg *.png *.tga *.tiff \ *.ttf *.wbmp *.webp *.xbm *.xpm EXTRA_DIST = bmp/bug00450.bmp bmp/CMakeLists.txt \ fontconfig/CMakeLists.txt freetype/CMakeLists.txt \ freetype/bug00132_exp.png freetype/DejaVuSans.ttf \ gd/bug00383.gd gd/crafted_num_colors.gd gd/CMakeLists.txt \ gd2/CMakeLists.txt gd2/bug00209.gd2 gd2/bug00354a.gd2 \ gd2/bug00354b.gd2 gd2/bug00383.gd2 gd2/conv_gd2_exp.gd2 \ gd2/conv_test.gd2 gd2/conv_test_exp.png gd2/empty.gd2 \ gd2/invalid_header.gd2 gd2/invalid_neg_size.gd2 \ gd2/too_few_image_data.gd2 gdimagearc/CMakeLists.txt \ gdimagearc/bug00079_exp.png gdimagebrightness/CMakeLists.txt \ gdimagebrightness/basic.png gdimagebrightness/basic+100.png \ gdimagebrightness/basic-100.png gdimageclone/CMakeLists.txt \ gdimagecolor/CMakeLists.txt gdimagecolor/basic.png \ gdimagecolor/basic_exp.png gdimagecolorclosest/CMakeLists.txt \ gdimagecolorclosesthwb/CMakeLists.txt \ gdimagecolordeallocate/CMakeLists.txt \ gdimagecolorexact/CMakeLists.txt \ gdimagecolormatch/CMakeLists.txt \ gdimagecolorreplace/CMakeLists.txt \ gdimagecolorresolve/CMakeLists.txt \ gdimagecolortransparent/CMakeLists.txt \ gdimagecompare/CMakeLists.txt gdimagecontrast/CMakeLists.txt \ gdimagecontrast/basic.png gdimagecontrast/basic+50.png \ gdimagecontrast/basic-50.png gdimageconvolution/CMakeLists.txt \ gdimageconvolution/basic.png \ gdimageconvolution/basic_edge_detect_quick.png \ gdimageconvolution/basic_emboss.png \ gdimageconvolution/basic_mean_removal.png \ gdimageconvolution/basic_smooth.png gdimagecopy/CMakeLists.txt \ gdimagecopy/bug00081_exp.png gdimagecopymerge/CMakeLists.txt \ gdimagecopymerge/gdimagecopymerge_exp.png \ gdimagecopymergegray/CMakeLists.txt \ gdimagecopymergegray/gdimagecopymergegray_exp.png \ gdimagecopyresampled/CMakeLists.txt \ gdimagecopyresampled/basic_exp.png \ gdimagecopyresampled/basic_alpha_exp.png \ gdimagecopyresampled/bug00201_src.png \ gdimagecopyresampled/bug00201_exp.png \ gdimagecopyresized/CMakeLists.txt \ gdimagecopyresized/gdimagecopyresized_exp.png \ gdimagecopyrotated/CMakeLists.txt \ gdimagecopyrotated/bug00020_exp.png \ gdimagecreate/CMakeLists.txt gdimagecrop/CMakeLists.txt \ gdimagefile/CMakeLists.txt gdimagefile/img-ref.tga \ gdimagefile/img-ref.xbm gdimagefile/img-ref.xpm \ gdimagefill/CMakeLists.txt gdimagefill/bug00002_1_exp.png \ gdimagefill/bug00002_2_exp.png gdimagefill/bug00002_3_exp.png \ gdimagefill/bug00002_4_exp.png gdimagefill/bug00104_1_exp.png \ gdimagefilledarc/CMakeLists.txt \ gdimagefilledarc/bug00351_exp.png \ gdimagefilledarc/php_bug43828_exp.png \ gdimagefilledellipse/CMakeLists.txt \ gdimagefilledellipse/bug00010_exp.png \ gdimagefilledellipse/bug00169_exp.png \ gdimagefilledellipse/bug00191.png \ gdimagefilledellipse/github_bug_00238_exp.png \ gdimagefilledpolygon/CMakeLists.txt \ gdimagefilledpolygon/bug00100.png \ gdimagefilledpolygon/gdimagefilledpolygon0.png \ gdimagefilledpolygon/gdimagefilledpolygon1.png \ gdimagefilledpolygon/gdimagefilledpolygon2.png \ gdimagefilledpolygon/gdimagefilledpolygon3.png \ gdimagefilledpolygon/php_bug_64641.png \ gdimagefilledpolygon/self_intersecting_exp.png \ gdimagefilledrectangle/CMakeLists.txt \ gdimagefilltoborder/CMakeLists.txt \ gdimagefilter/CMakeLists.txt gdimageflip/CMakeLists.txt \ gdimageflip/remi.png gdimageflip/gdimageflipvertical_exp.png \ gdimageflip/gdimagefliphorizontal_exp.png \ gdimageflip/gdimageflipboth_exp.png \ gdimageellipse/CMakeLists.txt gdimageellipse/bug00169_exp.png \ gdimagegrayscale/CMakeLists.txt gdimagegrayscale/basic.png \ gdimagegrayscale/basic_exp.png gdimagegrayscale/bug00386.png \ gdimageline/CMakeLists.txt gdimageline/bug00072_exp.png \ gdimageline/bug00077_exp.png gdimageline/bug00111_exp.png \ gdimageline/bug00315_exp.png \ gdimageline/gdimageline_aa_a_1_exp.png \ gdimageline/gdimageline_aa_b_0_exp.png \ gdimageline/gdimageline_aa_c_0_exp.png \ gdimageline/gdimageline_aa_d_0_exp.png \ gdimageline/gdimageline_aa_d_1_exp.png \ gdimageline/gdimageline_aa_c_1_exp.png \ gdimageline/gdimageline_aa_a_0_exp.png \ gdimageline/gdimageline_aa_b_1_exp.png \ gdimageline/gdImageAALine_thickness_exp.png \ gdimageline/github_bug_167_exp.png \ gdimagenegate/CMakeLists.txt gdimagenegate/basic.png \ gdimagenegate/basic_exp.png gdimageopenpolygon/CMakeLists.txt \ gdimageopenpolygon/gdimageopenpolygon0.png \ gdimageopenpolygon/gdimageopenpolygon1.png \ gdimageopenpolygon/gdimageopenpolygon2.png \ gdimageopenpolygon/gdimageopenpolygon3.png \ gdimagepixelate/CMakeLists.txt gdimagepolygon/CMakeLists.txt \ gdimagepolygon/gdimagepolygon0.png \ gdimagepolygon/gdimagepolygon1.png \ gdimagepolygon/gdimagepolygon2.png \ gdimagepolygon/gdimagepolygon3.png \ gdimagerectangle/CMakeLists.txt \ gdimagerectangle/bug00299_exp.png gdimagerotate/CMakeLists.txt \ gdimagerotate/bug00067_000_exp.png \ gdimagerotate/bug00067_015_exp.png \ gdimagerotate/bug00067_030_exp.png \ gdimagerotate/bug00067_045_exp.png \ gdimagerotate/bug00067_060_exp.png \ gdimagerotate/bug00067_075_exp.png \ gdimagerotate/bug00067_090_exp.png \ gdimagerotate/bug00067_105_exp.png \ gdimagerotate/bug00067_120_exp.png \ gdimagerotate/bug00067_135_exp.png \ gdimagerotate/bug00067_150_exp.png \ gdimagerotate/bug00067_165_exp.png \ gdimagerotate/bug00067_180_exp.png \ gdimagerotate/php_bug_64898.png \ gdimagerotate/php_bug_64898_exp.png \ gdimagerotate/php_bug_65070.gif \ gdimagerotate/php_bug_65070_exp.png \ gdimagerotate/remirh128.png gdimagescale/CMakeLists.txt \ gdimagescatterex/CMakeLists.txt gdimagescatterex/bug00208.png \ gdimagescatterex/bug00208_1.png \ gdimagescatterex/bug00208_2.png \ gdimagesetinterpolationmethod/CMakeLists.txt \ gdimagesetpixel/CMakeLists.txt \ gdimagesetpixel/alphablending_exp.png \ gdimagesquaretocircle/CMakeLists.txt \ gdimagesquaretocircle/gdimagesquaretocircle_exp.png \ gdimagestring/CMakeLists.txt \ gdimagestring/gdimagestring_exp.png \ gdimagestring16/CMakeLists.txt \ gdimagestring16/gdimagestring16_exp.png \ gdimagestringft/CMakeLists.txt \ gdimagestringftex/CMakeLists.txt \ gdimagestringup/CMakeLists.txt \ gdimagestringup/gdimagestringup_exp.png \ gdimagestringup16/CMakeLists.txt \ gdimagestringup16/gdimagestringup16_exp.png \ gdimagetruecolortopalette/CMakeLists.txt \ gdimagetruecolortopalette/php_bug_67325.jpeg \ gdinterpolatedscale/CMakeLists.txt gdnewfilectx/CMakeLists.txt \ gdtest/CMakeLists.txt gdtiled/CMakeLists.txt \ gdtiled/bug00032_exp.png \ gdtransformaffineboundingbox/CMakeLists.txt \ gdtransformaffinecopy/CMakeLists.txt gif/CMakeLists.txt \ gif/bug00005_0.gif gif/bug00005_1.gif gif/bug00005_2.gif \ gif/bug00005_2_exp.png gif/bug00005_3.gif gif/bug00060.gif \ gif/bug00066.gif gif/bug00066_exp.png gif/ossfuzz5700.gif \ gif/php_bug_75571.gif gif/unitialized_memory_read.gif \ jpeg/CMakeLists.txt jpeg/conv_test.jpeg jpeg/conv_test_exp.png \ jpeg/empty.jpeg jpeg/github_bug_18_exp.jpeg \ jpeg/github_bug_18.png png/CMakeLists.txt png/bug00033.png \ png/bug00088_1.png png/bug00088_1_exp.png png/bug00088_2.png \ png/bug00088_2_exp.png png/bug00381_2.gd png/emptyfile \ tga/CMakeLists.txt tga/bug00084.tga tga/bug00247.tga \ tga/bug00247a.tga tga/bug00248.tga tga/bug00248a.tga \ tga/heap_overflow_1.tga tga/heap_overflow_2.tga \ tga/tga_read_rgb.png tga/tga_read_rgb.tga \ tga/tga_read_rgb_rle.tga tiff/CMakeLists.txt \ tiff/tiff_invalid_read_1.tiff tiff/tiff_invalid_read_2.tiff \ tiff/tiff_invalid_read_3.tiff tiff/tiff_read_bw.tiff \ tiff/tiff_read_bw_exp.png wbmp/CMakeLists.txt \ webp/CMakeLists.txt webp/bug_double_free.jpg \ xbm/CMakeLists.txt xbm/github_bug_109.xbm \ xbm/github_bug_109_exp.png xbm/x10_basic_read.xbm \ xbm/x10_basic_read_exp.png xbm/github_bug_501.xbm \ xpm/CMakeLists.txt xpm/bug00166.xpm xpm/bug00185.xpm \ xpm/bug00185_damaged.xpm xpm/color_name.xpm CMakeLists.txt LDADD = libgdtest.a ../src/libgd.la AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/tests/gdtest all: all-am .SUFFIXES: .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/bmp/Makemodule.am $(srcdir)/fontconfig/Makemodule.am $(srcdir)/freetype/Makemodule.am $(srcdir)/gd/Makemodule.am $(srcdir)/gd2/Makemodule.am $(srcdir)/gdimagearc/Makemodule.am $(srcdir)/gdimagebrightness/Makemodule.am $(srcdir)/gdimageclone/Makemodule.am $(srcdir)/gdimagecolor/Makemodule.am $(srcdir)/gdimagecolorclosest/Makemodule.am $(srcdir)/gdimagecolorclosesthwb/Makemodule.am $(srcdir)/gdimagecolordeallocate/Makemodule.am $(srcdir)/gdimagecolorexact/Makemodule.am $(srcdir)/gdimagecolormatch/Makemodule.am $(srcdir)/gdimagecolorreplace/Makemodule.am $(srcdir)/gdimagecolorresolve/Makemodule.am $(srcdir)/gdimagecolortransparent/Makemodule.am $(srcdir)/gdimagecompare/Makemodule.am $(srcdir)/gdimagecontrast/Makemodule.am $(srcdir)/gdimageconvolution/Makemodule.am $(srcdir)/gdimagecopy/Makemodule.am $(srcdir)/gdimagecopymerge/Makemodule.am $(srcdir)/gdimagecopymergegray/Makemodule.am $(srcdir)/gdimagecopyresampled/Makemodule.am $(srcdir)/gdimagecopyresized/Makemodule.am $(srcdir)/gdimagecopyrotated/Makemodule.am $(srcdir)/gdimagecreate/Makemodule.am $(srcdir)/gdimagecrop/Makemodule.am $(srcdir)/gdimagefile/Makemodule.am $(srcdir)/gdimagefill/Makemodule.am $(srcdir)/gdimagefilledarc/Makemodule.am $(srcdir)/gdimagefilledellipse/Makemodule.am $(srcdir)/gdimagefilledpolygon/Makemodule.am $(srcdir)/gdimagefilledrectangle/Makemodule.am $(srcdir)/gdimagefilltoborder/Makemodule.am $(srcdir)/gdimagefilter/Makemodule.am $(srcdir)/gdimageflip/Makemodule.am $(srcdir)/gdimageellipse/Makemodule.am $(srcdir)/gdimagegrayscale/Makemodule.am $(srcdir)/gdimageline/Makemodule.am $(srcdir)/gdimagenegate/Makemodule.am $(srcdir)/gdimageopenpolygon/Makemodule.am $(srcdir)/gdimagepixelate/Makemodule.am $(srcdir)/gdimagepolygon/Makemodule.am $(srcdir)/gdimagerectangle/Makemodule.am $(srcdir)/gdimagerotate/Makemodule.am $(srcdir)/gdimagescale/Makemodule.am $(srcdir)/gdimagescatterex/Makemodule.am $(srcdir)/gdimagesetinterpolationmethod/Makemodule.am $(srcdir)/gdimagesetpixel/Makemodule.am $(srcdir)/gdimagesquaretocircle/Makemodule.am $(srcdir)/gdimagestring/Makemodule.am $(srcdir)/gdimagestring16/Makemodule.am $(srcdir)/gdimagestringft/Makemodule.am $(srcdir)/gdimagestringftex/Makemodule.am $(srcdir)/gdimagestringup/Makemodule.am $(srcdir)/gdimagestringup16/Makemodule.am $(srcdir)/gdimagetruecolortopalette/Makemodule.am $(srcdir)/gdinterpolatedscale/Makemodule.am $(srcdir)/gdnewfilectx/Makemodule.am $(srcdir)/gdtest/Makemodule.am $(srcdir)/gdtiled/Makemodule.am $(srcdir)/gdtransformaffineboundingbox/Makemodule.am $(srcdir)/gdtransformaffinecopy/Makemodule.am $(srcdir)/gif/Makemodule.am $(srcdir)/jpeg/Makemodule.am $(srcdir)/png/Makemodule.am $(srcdir)/tga/Makemodule.am $(srcdir)/tiff/Makemodule.am $(srcdir)/wbmp/Makemodule.am $(srcdir)/webp/Makemodule.am $(srcdir)/xbm/Makemodule.am $(srcdir)/xpm/Makemodule.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign tests/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(srcdir)/bmp/Makemodule.am $(srcdir)/fontconfig/Makemodule.am $(srcdir)/freetype/Makemodule.am $(srcdir)/gd/Makemodule.am $(srcdir)/gd2/Makemodule.am $(srcdir)/gdimagearc/Makemodule.am $(srcdir)/gdimagebrightness/Makemodule.am $(srcdir)/gdimageclone/Makemodule.am $(srcdir)/gdimagecolor/Makemodule.am $(srcdir)/gdimagecolorclosest/Makemodule.am $(srcdir)/gdimagecolorclosesthwb/Makemodule.am $(srcdir)/gdimagecolordeallocate/Makemodule.am $(srcdir)/gdimagecolorexact/Makemodule.am $(srcdir)/gdimagecolormatch/Makemodule.am $(srcdir)/gdimagecolorreplace/Makemodule.am $(srcdir)/gdimagecolorresolve/Makemodule.am $(srcdir)/gdimagecolortransparent/Makemodule.am $(srcdir)/gdimagecompare/Makemodule.am $(srcdir)/gdimagecontrast/Makemodule.am $(srcdir)/gdimageconvolution/Makemodule.am $(srcdir)/gdimagecopy/Makemodule.am $(srcdir)/gdimagecopymerge/Makemodule.am $(srcdir)/gdimagecopymergegray/Makemodule.am $(srcdir)/gdimagecopyresampled/Makemodule.am $(srcdir)/gdimagecopyresized/Makemodule.am $(srcdir)/gdimagecopyrotated/Makemodule.am $(srcdir)/gdimagecreate/Makemodule.am $(srcdir)/gdimagecrop/Makemodule.am $(srcdir)/gdimagefile/Makemodule.am $(srcdir)/gdimagefill/Makemodule.am $(srcdir)/gdimagefilledarc/Makemodule.am $(srcdir)/gdimagefilledellipse/Makemodule.am $(srcdir)/gdimagefilledpolygon/Makemodule.am $(srcdir)/gdimagefilledrectangle/Makemodule.am $(srcdir)/gdimagefilltoborder/Makemodule.am $(srcdir)/gdimagefilter/Makemodule.am $(srcdir)/gdimageflip/Makemodule.am $(srcdir)/gdimageellipse/Makemodule.am $(srcdir)/gdimagegrayscale/Makemodule.am $(srcdir)/gdimageline/Makemodule.am $(srcdir)/gdimagenegate/Makemodule.am $(srcdir)/gdimageopenpolygon/Makemodule.am $(srcdir)/gdimagepixelate/Makemodule.am $(srcdir)/gdimagepolygon/Makemodule.am $(srcdir)/gdimagerectangle/Makemodule.am $(srcdir)/gdimagerotate/Makemodule.am $(srcdir)/gdimagescale/Makemodule.am $(srcdir)/gdimagescatterex/Makemodule.am $(srcdir)/gdimagesetinterpolationmethod/Makemodule.am $(srcdir)/gdimagesetpixel/Makemodule.am $(srcdir)/gdimagesquaretocircle/Makemodule.am $(srcdir)/gdimagestring/Makemodule.am $(srcdir)/gdimagestring16/Makemodule.am $(srcdir)/gdimagestringft/Makemodule.am $(srcdir)/gdimagestringftex/Makemodule.am $(srcdir)/gdimagestringup/Makemodule.am $(srcdir)/gdimagestringup16/Makemodule.am $(srcdir)/gdimagetruecolortopalette/Makemodule.am $(srcdir)/gdinterpolatedscale/Makemodule.am $(srcdir)/gdnewfilectx/Makemodule.am $(srcdir)/gdtest/Makemodule.am $(srcdir)/gdtiled/Makemodule.am $(srcdir)/gdtransformaffineboundingbox/Makemodule.am $(srcdir)/gdtransformaffinecopy/Makemodule.am $(srcdir)/gif/Makemodule.am $(srcdir)/jpeg/Makemodule.am $(srcdir)/png/Makemodule.am $(srcdir)/tga/Makemodule.am $(srcdir)/tiff/Makemodule.am $(srcdir)/wbmp/Makemodule.am $(srcdir)/webp/Makemodule.am $(srcdir)/xbm/Makemodule.am $(srcdir)/xpm/Makemodule.am $(am__empty): $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-checkLIBRARIES: -test -z "$(check_LIBRARIES)" || rm -f $(check_LIBRARIES) gdtest/$(am__dirstamp): @$(MKDIR_P) gdtest @: > gdtest/$(am__dirstamp) gdtest/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdtest/$(DEPDIR) @: > gdtest/$(DEPDIR)/$(am__dirstamp) gdtest/libgdtest_a-gdtest.$(OBJEXT): gdtest/$(am__dirstamp) \ gdtest/$(DEPDIR)/$(am__dirstamp) libgdtest.a: $(libgdtest_a_OBJECTS) $(libgdtest_a_DEPENDENCIES) $(EXTRA_libgdtest_a_DEPENDENCIES) $(AM_V_at)-rm -f libgdtest.a $(AM_V_AR)$(libgdtest_a_AR) libgdtest.a $(libgdtest_a_OBJECTS) $(libgdtest_a_LIBADD) $(AM_V_at)$(RANLIB) libgdtest.a clean-checkPROGRAMS: @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list bmp/$(am__dirstamp): @$(MKDIR_P) bmp @: > bmp/$(am__dirstamp) bmp/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) bmp/$(DEPDIR) @: > bmp/$(DEPDIR)/$(am__dirstamp) bmp/bmp_im2im.$(OBJEXT): bmp/$(am__dirstamp) \ bmp/$(DEPDIR)/$(am__dirstamp) bmp/bmp_im2im$(EXEEXT): $(bmp_bmp_im2im_OBJECTS) $(bmp_bmp_im2im_DEPENDENCIES) $(EXTRA_bmp_bmp_im2im_DEPENDENCIES) bmp/$(am__dirstamp) @rm -f bmp/bmp_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bmp_bmp_im2im_OBJECTS) $(bmp_bmp_im2im_LDADD) $(LIBS) bmp/bmp_null.$(OBJEXT): bmp/$(am__dirstamp) \ bmp/$(DEPDIR)/$(am__dirstamp) bmp/bmp_null$(EXEEXT): $(bmp_bmp_null_OBJECTS) $(bmp_bmp_null_DEPENDENCIES) $(EXTRA_bmp_bmp_null_DEPENDENCIES) bmp/$(am__dirstamp) @rm -f bmp/bmp_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bmp_bmp_null_OBJECTS) $(bmp_bmp_null_LDADD) $(LIBS) bmp/bug00275.$(OBJEXT): bmp/$(am__dirstamp) \ bmp/$(DEPDIR)/$(am__dirstamp) bmp/bug00275$(EXEEXT): $(bmp_bug00275_OBJECTS) $(bmp_bug00275_DEPENDENCIES) $(EXTRA_bmp_bug00275_DEPENDENCIES) bmp/$(am__dirstamp) @rm -f bmp/bug00275$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bmp_bug00275_OBJECTS) $(bmp_bug00275_LDADD) $(LIBS) bmp/bug00276.$(OBJEXT): bmp/$(am__dirstamp) \ bmp/$(DEPDIR)/$(am__dirstamp) bmp/bug00276$(EXEEXT): $(bmp_bug00276_OBJECTS) $(bmp_bug00276_DEPENDENCIES) $(EXTRA_bmp_bug00276_DEPENDENCIES) bmp/$(am__dirstamp) @rm -f bmp/bug00276$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bmp_bug00276_OBJECTS) $(bmp_bug00276_LDADD) $(LIBS) bmp/bug00450.$(OBJEXT): bmp/$(am__dirstamp) \ bmp/$(DEPDIR)/$(am__dirstamp) bmp/bug00450$(EXEEXT): $(bmp_bug00450_OBJECTS) $(bmp_bug00450_DEPENDENCIES) $(EXTRA_bmp_bug00450_DEPENDENCIES) bmp/$(am__dirstamp) @rm -f bmp/bug00450$(EXEEXT) $(AM_V_CCLD)$(LINK) $(bmp_bug00450_OBJECTS) $(bmp_bug00450_LDADD) $(LIBS) fontconfig/$(am__dirstamp): @$(MKDIR_P) fontconfig @: > fontconfig/$(am__dirstamp) fontconfig/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) fontconfig/$(DEPDIR) @: > fontconfig/$(DEPDIR)/$(am__dirstamp) fontconfig/basic.$(OBJEXT): fontconfig/$(am__dirstamp) \ fontconfig/$(DEPDIR)/$(am__dirstamp) fontconfig/basic$(EXEEXT): $(fontconfig_basic_OBJECTS) $(fontconfig_basic_DEPENDENCIES) $(EXTRA_fontconfig_basic_DEPENDENCIES) fontconfig/$(am__dirstamp) @rm -f fontconfig/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fontconfig_basic_OBJECTS) $(fontconfig_basic_LDADD) $(LIBS) freetype/$(am__dirstamp): @$(MKDIR_P) freetype @: > freetype/$(am__dirstamp) freetype/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) freetype/$(DEPDIR) @: > freetype/$(DEPDIR)/$(am__dirstamp) freetype/bug00132.$(OBJEXT): freetype/$(am__dirstamp) \ freetype/$(DEPDIR)/$(am__dirstamp) freetype/bug00132$(EXEEXT): $(freetype_bug00132_OBJECTS) $(freetype_bug00132_DEPENDENCIES) $(EXTRA_freetype_bug00132_DEPENDENCIES) freetype/$(am__dirstamp) @rm -f freetype/bug00132$(EXEEXT) $(AM_V_CCLD)$(LINK) $(freetype_bug00132_OBJECTS) $(freetype_bug00132_LDADD) $(LIBS) gd/$(am__dirstamp): @$(MKDIR_P) gd @: > gd/$(am__dirstamp) gd/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gd/$(DEPDIR) @: > gd/$(DEPDIR)/$(am__dirstamp) gd/bug00383.$(OBJEXT): gd/$(am__dirstamp) gd/$(DEPDIR)/$(am__dirstamp) gd/bug00383$(EXEEXT): $(gd_bug00383_OBJECTS) $(gd_bug00383_DEPENDENCIES) $(EXTRA_gd_bug00383_DEPENDENCIES) gd/$(am__dirstamp) @rm -f gd/bug00383$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd_bug00383_OBJECTS) $(gd_bug00383_LDADD) $(LIBS) gd/gd_im2im.$(OBJEXT): gd/$(am__dirstamp) gd/$(DEPDIR)/$(am__dirstamp) gd/gd_im2im$(EXEEXT): $(gd_gd_im2im_OBJECTS) $(gd_gd_im2im_DEPENDENCIES) $(EXTRA_gd_gd_im2im_DEPENDENCIES) gd/$(am__dirstamp) @rm -f gd/gd_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd_gd_im2im_OBJECTS) $(gd_gd_im2im_LDADD) $(LIBS) gd/gd_null.$(OBJEXT): gd/$(am__dirstamp) gd/$(DEPDIR)/$(am__dirstamp) gd/gd_null$(EXEEXT): $(gd_gd_null_OBJECTS) $(gd_gd_null_DEPENDENCIES) $(EXTRA_gd_gd_null_DEPENDENCIES) gd/$(am__dirstamp) @rm -f gd/gd_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd_gd_null_OBJECTS) $(gd_gd_null_LDADD) $(LIBS) gd/gd_num_colors.$(OBJEXT): gd/$(am__dirstamp) \ gd/$(DEPDIR)/$(am__dirstamp) gd/gd_num_colors$(EXEEXT): $(gd_gd_num_colors_OBJECTS) $(gd_gd_num_colors_DEPENDENCIES) $(EXTRA_gd_gd_num_colors_DEPENDENCIES) gd/$(am__dirstamp) @rm -f gd/gd_num_colors$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd_gd_num_colors_OBJECTS) $(gd_gd_num_colors_LDADD) $(LIBS) gd/gd_versiontest.$(OBJEXT): gd/$(am__dirstamp) \ gd/$(DEPDIR)/$(am__dirstamp) gd/gd_versiontest$(EXEEXT): $(gd_gd_versiontest_OBJECTS) $(gd_gd_versiontest_DEPENDENCIES) $(EXTRA_gd_gd_versiontest_DEPENDENCIES) gd/$(am__dirstamp) @rm -f gd/gd_versiontest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd_gd_versiontest_OBJECTS) $(gd_gd_versiontest_LDADD) $(LIBS) gd2/$(am__dirstamp): @$(MKDIR_P) gd2 @: > gd2/$(am__dirstamp) gd2/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gd2/$(DEPDIR) @: > gd2/$(DEPDIR)/$(am__dirstamp) gd2/bug00209.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/bug00209$(EXEEXT): $(gd2_bug00209_OBJECTS) $(gd2_bug00209_DEPENDENCIES) $(EXTRA_gd2_bug00209_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/bug00209$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_bug00209_OBJECTS) $(gd2_bug00209_LDADD) $(LIBS) gd2/bug00309.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/bug00309$(EXEEXT): $(gd2_bug00309_OBJECTS) $(gd2_bug00309_DEPENDENCIES) $(EXTRA_gd2_bug00309_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/bug00309$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_bug00309_OBJECTS) $(gd2_bug00309_LDADD) $(LIBS) gd2/bug00354.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/bug00354$(EXEEXT): $(gd2_bug00354_OBJECTS) $(gd2_bug00354_DEPENDENCIES) $(EXTRA_gd2_bug00354_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/bug00354$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_bug00354_OBJECTS) $(gd2_bug00354_LDADD) $(LIBS) gd2/bug00383.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/bug00383$(EXEEXT): $(gd2_bug00383_OBJECTS) $(gd2_bug00383_DEPENDENCIES) $(EXTRA_gd2_bug00383_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/bug00383$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_bug00383_OBJECTS) $(gd2_bug00383_LDADD) $(LIBS) gd2/bug_289.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/bug_289$(EXEEXT): $(gd2_bug_289_OBJECTS) $(gd2_bug_289_DEPENDENCIES) $(EXTRA_gd2_bug_289_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/bug_289$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_bug_289_OBJECTS) $(gd2_bug_289_LDADD) $(LIBS) gd2/createimagefromgd2part.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/createimagefromgd2part$(EXEEXT): $(gd2_createimagefromgd2part_OBJECTS) $(gd2_createimagefromgd2part_DEPENDENCIES) $(EXTRA_gd2_createimagefromgd2part_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/createimagefromgd2part$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_createimagefromgd2part_OBJECTS) $(gd2_createimagefromgd2part_LDADD) $(LIBS) gd2/createimagefromgd2partptr.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/createimagefromgd2partptr$(EXEEXT): $(gd2_createimagefromgd2partptr_OBJECTS) $(gd2_createimagefromgd2partptr_DEPENDENCIES) $(EXTRA_gd2_createimagefromgd2partptr_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/createimagefromgd2partptr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_createimagefromgd2partptr_OBJECTS) $(gd2_createimagefromgd2partptr_LDADD) $(LIBS) gd2/gd2_empty_file.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/gd2_empty_file$(EXEEXT): $(gd2_gd2_empty_file_OBJECTS) $(gd2_gd2_empty_file_DEPENDENCIES) $(EXTRA_gd2_gd2_empty_file_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/gd2_empty_file$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_gd2_empty_file_OBJECTS) $(gd2_gd2_empty_file_LDADD) $(LIBS) gd2/gd2_im2im.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/gd2_im2im$(EXEEXT): $(gd2_gd2_im2im_OBJECTS) $(gd2_gd2_im2im_DEPENDENCIES) $(EXTRA_gd2_gd2_im2im_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/gd2_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_gd2_im2im_OBJECTS) $(gd2_gd2_im2im_LDADD) $(LIBS) gd2/gd2_null.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/gd2_null$(EXEEXT): $(gd2_gd2_null_OBJECTS) $(gd2_gd2_null_DEPENDENCIES) $(EXTRA_gd2_gd2_null_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/gd2_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_gd2_null_OBJECTS) $(gd2_gd2_null_LDADD) $(LIBS) gd2/gd2_read.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/gd2_read$(EXEEXT): $(gd2_gd2_read_OBJECTS) $(gd2_gd2_read_DEPENDENCIES) $(EXTRA_gd2_gd2_read_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/gd2_read$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_gd2_read_OBJECTS) $(gd2_gd2_read_LDADD) $(LIBS) gd2/gd2_read_corrupt.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/gd2_read_corrupt$(EXEEXT): $(gd2_gd2_read_corrupt_OBJECTS) $(gd2_gd2_read_corrupt_DEPENDENCIES) $(EXTRA_gd2_gd2_read_corrupt_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/gd2_read_corrupt$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_gd2_read_corrupt_OBJECTS) $(gd2_gd2_read_corrupt_LDADD) $(LIBS) gd2/php_bug_72339.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/php_bug_72339$(EXEEXT): $(gd2_php_bug_72339_OBJECTS) $(gd2_php_bug_72339_DEPENDENCIES) $(EXTRA_gd2_php_bug_72339_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/php_bug_72339$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_php_bug_72339_OBJECTS) $(gd2_php_bug_72339_LDADD) $(LIBS) gd2/too_few_image_data.$(OBJEXT): gd2/$(am__dirstamp) \ gd2/$(DEPDIR)/$(am__dirstamp) gd2/too_few_image_data$(EXEEXT): $(gd2_too_few_image_data_OBJECTS) $(gd2_too_few_image_data_DEPENDENCIES) $(EXTRA_gd2_too_few_image_data_DEPENDENCIES) gd2/$(am__dirstamp) @rm -f gd2/too_few_image_data$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2_too_few_image_data_OBJECTS) $(gd2_too_few_image_data_LDADD) $(LIBS) gdimagearc/$(am__dirstamp): @$(MKDIR_P) gdimagearc @: > gdimagearc/$(am__dirstamp) gdimagearc/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagearc/$(DEPDIR) @: > gdimagearc/$(DEPDIR)/$(am__dirstamp) gdimagearc/bug00079.$(OBJEXT): gdimagearc/$(am__dirstamp) \ gdimagearc/$(DEPDIR)/$(am__dirstamp) gdimagearc/bug00079$(EXEEXT): $(gdimagearc_bug00079_OBJECTS) $(gdimagearc_bug00079_DEPENDENCIES) $(EXTRA_gdimagearc_bug00079_DEPENDENCIES) gdimagearc/$(am__dirstamp) @rm -f gdimagearc/bug00079$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagearc_bug00079_OBJECTS) $(gdimagearc_bug00079_LDADD) $(LIBS) gdimagebrightness/$(am__dirstamp): @$(MKDIR_P) gdimagebrightness @: > gdimagebrightness/$(am__dirstamp) gdimagebrightness/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagebrightness/$(DEPDIR) @: > gdimagebrightness/$(DEPDIR)/$(am__dirstamp) gdimagebrightness/basic.$(OBJEXT): gdimagebrightness/$(am__dirstamp) \ gdimagebrightness/$(DEPDIR)/$(am__dirstamp) gdimagebrightness/basic$(EXEEXT): $(gdimagebrightness_basic_OBJECTS) $(gdimagebrightness_basic_DEPENDENCIES) $(EXTRA_gdimagebrightness_basic_DEPENDENCIES) gdimagebrightness/$(am__dirstamp) @rm -f gdimagebrightness/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagebrightness_basic_OBJECTS) $(gdimagebrightness_basic_LDADD) $(LIBS) gdimageclone/$(am__dirstamp): @$(MKDIR_P) gdimageclone @: > gdimageclone/$(am__dirstamp) gdimageclone/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimageclone/$(DEPDIR) @: > gdimageclone/$(DEPDIR)/$(am__dirstamp) gdimageclone/bug00300.$(OBJEXT): gdimageclone/$(am__dirstamp) \ gdimageclone/$(DEPDIR)/$(am__dirstamp) gdimageclone/bug00300$(EXEEXT): $(gdimageclone_bug00300_OBJECTS) $(gdimageclone_bug00300_DEPENDENCIES) $(EXTRA_gdimageclone_bug00300_DEPENDENCIES) gdimageclone/$(am__dirstamp) @rm -f gdimageclone/bug00300$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageclone_bug00300_OBJECTS) $(gdimageclone_bug00300_LDADD) $(LIBS) gdimageclone/style.$(OBJEXT): gdimageclone/$(am__dirstamp) \ gdimageclone/$(DEPDIR)/$(am__dirstamp) gdimageclone/style$(EXEEXT): $(gdimageclone_style_OBJECTS) $(gdimageclone_style_DEPENDENCIES) $(EXTRA_gdimageclone_style_DEPENDENCIES) gdimageclone/$(am__dirstamp) @rm -f gdimageclone/style$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageclone_style_OBJECTS) $(gdimageclone_style_LDADD) $(LIBS) gdimagecolor/$(am__dirstamp): @$(MKDIR_P) gdimagecolor @: > gdimagecolor/$(am__dirstamp) gdimagecolor/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolor/$(DEPDIR) @: > gdimagecolor/$(DEPDIR)/$(am__dirstamp) gdimagecolor/basic.$(OBJEXT): gdimagecolor/$(am__dirstamp) \ gdimagecolor/$(DEPDIR)/$(am__dirstamp) gdimagecolor/basic$(EXEEXT): $(gdimagecolor_basic_OBJECTS) $(gdimagecolor_basic_DEPENDENCIES) $(EXTRA_gdimagecolor_basic_DEPENDENCIES) gdimagecolor/$(am__dirstamp) @rm -f gdimagecolor/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolor_basic_OBJECTS) $(gdimagecolor_basic_LDADD) $(LIBS) gdimagecolorclosest/$(am__dirstamp): @$(MKDIR_P) gdimagecolorclosest @: > gdimagecolorclosest/$(am__dirstamp) gdimagecolorclosest/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolorclosest/$(DEPDIR) @: > gdimagecolorclosest/$(DEPDIR)/$(am__dirstamp) gdimagecolorclosest/gdimagecolorclosest.$(OBJEXT): \ gdimagecolorclosest/$(am__dirstamp) \ gdimagecolorclosest/$(DEPDIR)/$(am__dirstamp) gdimagecolorclosest/gdimagecolorclosest$(EXEEXT): $(gdimagecolorclosest_gdimagecolorclosest_OBJECTS) $(gdimagecolorclosest_gdimagecolorclosest_DEPENDENCIES) $(EXTRA_gdimagecolorclosest_gdimagecolorclosest_DEPENDENCIES) gdimagecolorclosest/$(am__dirstamp) @rm -f gdimagecolorclosest/gdimagecolorclosest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolorclosest_gdimagecolorclosest_OBJECTS) $(gdimagecolorclosest_gdimagecolorclosest_LDADD) $(LIBS) gdimagecolorclosesthwb/$(am__dirstamp): @$(MKDIR_P) gdimagecolorclosesthwb @: > gdimagecolorclosesthwb/$(am__dirstamp) gdimagecolorclosesthwb/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolorclosesthwb/$(DEPDIR) @: > gdimagecolorclosesthwb/$(DEPDIR)/$(am__dirstamp) gdimagecolorclosesthwb/gdImageColorClosestHWB.$(OBJEXT): \ gdimagecolorclosesthwb/$(am__dirstamp) \ gdimagecolorclosesthwb/$(DEPDIR)/$(am__dirstamp) gdimagecolorclosesthwb/gdImageColorClosestHWB$(EXEEXT): $(gdimagecolorclosesthwb_gdImageColorClosestHWB_OBJECTS) $(gdimagecolorclosesthwb_gdImageColorClosestHWB_DEPENDENCIES) $(EXTRA_gdimagecolorclosesthwb_gdImageColorClosestHWB_DEPENDENCIES) gdimagecolorclosesthwb/$(am__dirstamp) @rm -f gdimagecolorclosesthwb/gdImageColorClosestHWB$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolorclosesthwb_gdImageColorClosestHWB_OBJECTS) $(gdimagecolorclosesthwb_gdImageColorClosestHWB_LDADD) $(LIBS) gdimagecolordeallocate/$(am__dirstamp): @$(MKDIR_P) gdimagecolordeallocate @: > gdimagecolordeallocate/$(am__dirstamp) gdimagecolordeallocate/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolordeallocate/$(DEPDIR) @: > gdimagecolordeallocate/$(DEPDIR)/$(am__dirstamp) gdimagecolordeallocate/gdimagecolordeallocate.$(OBJEXT): \ gdimagecolordeallocate/$(am__dirstamp) \ gdimagecolordeallocate/$(DEPDIR)/$(am__dirstamp) gdimagecolordeallocate/gdimagecolordeallocate$(EXEEXT): $(gdimagecolordeallocate_gdimagecolordeallocate_OBJECTS) $(gdimagecolordeallocate_gdimagecolordeallocate_DEPENDENCIES) $(EXTRA_gdimagecolordeallocate_gdimagecolordeallocate_DEPENDENCIES) gdimagecolordeallocate/$(am__dirstamp) @rm -f gdimagecolordeallocate/gdimagecolordeallocate$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolordeallocate_gdimagecolordeallocate_OBJECTS) $(gdimagecolordeallocate_gdimagecolordeallocate_LDADD) $(LIBS) gdimagecolorexact/$(am__dirstamp): @$(MKDIR_P) gdimagecolorexact @: > gdimagecolorexact/$(am__dirstamp) gdimagecolorexact/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolorexact/$(DEPDIR) @: > gdimagecolorexact/$(DEPDIR)/$(am__dirstamp) gdimagecolorexact/gdimagecolorexact.$(OBJEXT): \ gdimagecolorexact/$(am__dirstamp) \ gdimagecolorexact/$(DEPDIR)/$(am__dirstamp) gdimagecolorexact/gdimagecolorexact$(EXEEXT): $(gdimagecolorexact_gdimagecolorexact_OBJECTS) $(gdimagecolorexact_gdimagecolorexact_DEPENDENCIES) $(EXTRA_gdimagecolorexact_gdimagecolorexact_DEPENDENCIES) gdimagecolorexact/$(am__dirstamp) @rm -f gdimagecolorexact/gdimagecolorexact$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolorexact_gdimagecolorexact_OBJECTS) $(gdimagecolorexact_gdimagecolorexact_LDADD) $(LIBS) gdimagecolormatch/$(am__dirstamp): @$(MKDIR_P) gdimagecolormatch @: > gdimagecolormatch/$(am__dirstamp) gdimagecolormatch/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolormatch/$(DEPDIR) @: > gdimagecolormatch/$(DEPDIR)/$(am__dirstamp) gdimagecolormatch/cve_2019_6977.$(OBJEXT): \ gdimagecolormatch/$(am__dirstamp) \ gdimagecolormatch/$(DEPDIR)/$(am__dirstamp) gdimagecolormatch/cve_2019_6977$(EXEEXT): $(gdimagecolormatch_cve_2019_6977_OBJECTS) $(gdimagecolormatch_cve_2019_6977_DEPENDENCIES) $(EXTRA_gdimagecolormatch_cve_2019_6977_DEPENDENCIES) gdimagecolormatch/$(am__dirstamp) @rm -f gdimagecolormatch/cve_2019_6977$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolormatch_cve_2019_6977_OBJECTS) $(gdimagecolormatch_cve_2019_6977_LDADD) $(LIBS) gdimagecolormatch/gdimagecolormatch.$(OBJEXT): \ gdimagecolormatch/$(am__dirstamp) \ gdimagecolormatch/$(DEPDIR)/$(am__dirstamp) gdimagecolormatch/gdimagecolormatch$(EXEEXT): $(gdimagecolormatch_gdimagecolormatch_OBJECTS) $(gdimagecolormatch_gdimagecolormatch_DEPENDENCIES) $(EXTRA_gdimagecolormatch_gdimagecolormatch_DEPENDENCIES) gdimagecolormatch/$(am__dirstamp) @rm -f gdimagecolormatch/gdimagecolormatch$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolormatch_gdimagecolormatch_OBJECTS) $(gdimagecolormatch_gdimagecolormatch_LDADD) $(LIBS) gdimagecolorreplace/$(am__dirstamp): @$(MKDIR_P) gdimagecolorreplace @: > gdimagecolorreplace/$(am__dirstamp) gdimagecolorreplace/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolorreplace/$(DEPDIR) @: > gdimagecolorreplace/$(DEPDIR)/$(am__dirstamp) gdimagecolorreplace/gdimagecolorreplace.$(OBJEXT): \ gdimagecolorreplace/$(am__dirstamp) \ gdimagecolorreplace/$(DEPDIR)/$(am__dirstamp) gdimagecolorreplace/gdimagecolorreplace$(EXEEXT): $(gdimagecolorreplace_gdimagecolorreplace_OBJECTS) $(gdimagecolorreplace_gdimagecolorreplace_DEPENDENCIES) $(EXTRA_gdimagecolorreplace_gdimagecolorreplace_DEPENDENCIES) gdimagecolorreplace/$(am__dirstamp) @rm -f gdimagecolorreplace/gdimagecolorreplace$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolorreplace_gdimagecolorreplace_OBJECTS) $(gdimagecolorreplace_gdimagecolorreplace_LDADD) $(LIBS) gdimagecolorresolve/$(am__dirstamp): @$(MKDIR_P) gdimagecolorresolve @: > gdimagecolorresolve/$(am__dirstamp) gdimagecolorresolve/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolorresolve/$(DEPDIR) @: > gdimagecolorresolve/$(DEPDIR)/$(am__dirstamp) gdimagecolorresolve/gdimagecolorresolve.$(OBJEXT): \ gdimagecolorresolve/$(am__dirstamp) \ gdimagecolorresolve/$(DEPDIR)/$(am__dirstamp) gdimagecolorresolve/gdimagecolorresolve$(EXEEXT): $(gdimagecolorresolve_gdimagecolorresolve_OBJECTS) $(gdimagecolorresolve_gdimagecolorresolve_DEPENDENCIES) $(EXTRA_gdimagecolorresolve_gdimagecolorresolve_DEPENDENCIES) gdimagecolorresolve/$(am__dirstamp) @rm -f gdimagecolorresolve/gdimagecolorresolve$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolorresolve_gdimagecolorresolve_OBJECTS) $(gdimagecolorresolve_gdimagecolorresolve_LDADD) $(LIBS) gdimagecolortransparent/$(am__dirstamp): @$(MKDIR_P) gdimagecolortransparent @: > gdimagecolortransparent/$(am__dirstamp) gdimagecolortransparent/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecolortransparent/$(DEPDIR) @: > gdimagecolortransparent/$(DEPDIR)/$(am__dirstamp) gdimagecolortransparent/gdimagecolortransparent.$(OBJEXT): \ gdimagecolortransparent/$(am__dirstamp) \ gdimagecolortransparent/$(DEPDIR)/$(am__dirstamp) gdimagecolortransparent/gdimagecolortransparent$(EXEEXT): $(gdimagecolortransparent_gdimagecolortransparent_OBJECTS) $(gdimagecolortransparent_gdimagecolortransparent_DEPENDENCIES) $(EXTRA_gdimagecolortransparent_gdimagecolortransparent_DEPENDENCIES) gdimagecolortransparent/$(am__dirstamp) @rm -f gdimagecolortransparent/gdimagecolortransparent$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecolortransparent_gdimagecolortransparent_OBJECTS) $(gdimagecolortransparent_gdimagecolortransparent_LDADD) $(LIBS) gdimagecompare/$(am__dirstamp): @$(MKDIR_P) gdimagecompare @: > gdimagecompare/$(am__dirstamp) gdimagecompare/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecompare/$(DEPDIR) @: > gdimagecompare/$(DEPDIR)/$(am__dirstamp) gdimagecompare/gdimagecompare.$(OBJEXT): \ gdimagecompare/$(am__dirstamp) \ gdimagecompare/$(DEPDIR)/$(am__dirstamp) gdimagecompare/gdimagecompare$(EXEEXT): $(gdimagecompare_gdimagecompare_OBJECTS) $(gdimagecompare_gdimagecompare_DEPENDENCIES) $(EXTRA_gdimagecompare_gdimagecompare_DEPENDENCIES) gdimagecompare/$(am__dirstamp) @rm -f gdimagecompare/gdimagecompare$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecompare_gdimagecompare_OBJECTS) $(gdimagecompare_gdimagecompare_LDADD) $(LIBS) gdimagecontrast/$(am__dirstamp): @$(MKDIR_P) gdimagecontrast @: > gdimagecontrast/$(am__dirstamp) gdimagecontrast/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecontrast/$(DEPDIR) @: > gdimagecontrast/$(DEPDIR)/$(am__dirstamp) gdimagecontrast/basic.$(OBJEXT): gdimagecontrast/$(am__dirstamp) \ gdimagecontrast/$(DEPDIR)/$(am__dirstamp) gdimagecontrast/basic$(EXEEXT): $(gdimagecontrast_basic_OBJECTS) $(gdimagecontrast_basic_DEPENDENCIES) $(EXTRA_gdimagecontrast_basic_DEPENDENCIES) gdimagecontrast/$(am__dirstamp) @rm -f gdimagecontrast/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecontrast_basic_OBJECTS) $(gdimagecontrast_basic_LDADD) $(LIBS) gdimageconvolution/$(am__dirstamp): @$(MKDIR_P) gdimageconvolution @: > gdimageconvolution/$(am__dirstamp) gdimageconvolution/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimageconvolution/$(DEPDIR) @: > gdimageconvolution/$(DEPDIR)/$(am__dirstamp) gdimageconvolution/basic.$(OBJEXT): \ gdimageconvolution/$(am__dirstamp) \ gdimageconvolution/$(DEPDIR)/$(am__dirstamp) gdimageconvolution/basic$(EXEEXT): $(gdimageconvolution_basic_OBJECTS) $(gdimageconvolution_basic_DEPENDENCIES) $(EXTRA_gdimageconvolution_basic_DEPENDENCIES) gdimageconvolution/$(am__dirstamp) @rm -f gdimageconvolution/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageconvolution_basic_OBJECTS) $(gdimageconvolution_basic_LDADD) $(LIBS) gdimageconvolution/bug00369.$(OBJEXT): \ gdimageconvolution/$(am__dirstamp) \ gdimageconvolution/$(DEPDIR)/$(am__dirstamp) gdimageconvolution/bug00369$(EXEEXT): $(gdimageconvolution_bug00369_OBJECTS) $(gdimageconvolution_bug00369_DEPENDENCIES) $(EXTRA_gdimageconvolution_bug00369_DEPENDENCIES) gdimageconvolution/$(am__dirstamp) @rm -f gdimageconvolution/bug00369$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageconvolution_bug00369_OBJECTS) $(gdimageconvolution_bug00369_LDADD) $(LIBS) gdimagecopy/$(am__dirstamp): @$(MKDIR_P) gdimagecopy @: > gdimagecopy/$(am__dirstamp) gdimagecopy/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecopy/$(DEPDIR) @: > gdimagecopy/$(DEPDIR)/$(am__dirstamp) gdimagecopy/bug00007.$(OBJEXT): gdimagecopy/$(am__dirstamp) \ gdimagecopy/$(DEPDIR)/$(am__dirstamp) gdimagecopy/bug00007$(EXEEXT): $(gdimagecopy_bug00007_OBJECTS) $(gdimagecopy_bug00007_DEPENDENCIES) $(EXTRA_gdimagecopy_bug00007_DEPENDENCIES) gdimagecopy/$(am__dirstamp) @rm -f gdimagecopy/bug00007$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopy_bug00007_OBJECTS) $(gdimagecopy_bug00007_LDADD) $(LIBS) gdimagecopy/bug00081.$(OBJEXT): gdimagecopy/$(am__dirstamp) \ gdimagecopy/$(DEPDIR)/$(am__dirstamp) gdimagecopy/bug00081$(EXEEXT): $(gdimagecopy_bug00081_OBJECTS) $(gdimagecopy_bug00081_DEPENDENCIES) $(EXTRA_gdimagecopy_bug00081_DEPENDENCIES) gdimagecopy/$(am__dirstamp) @rm -f gdimagecopy/bug00081$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopy_bug00081_OBJECTS) $(gdimagecopy_bug00081_LDADD) $(LIBS) gdimagecopymerge/$(am__dirstamp): @$(MKDIR_P) gdimagecopymerge @: > gdimagecopymerge/$(am__dirstamp) gdimagecopymerge/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecopymerge/$(DEPDIR) @: > gdimagecopymerge/$(DEPDIR)/$(am__dirstamp) gdimagecopymerge/gdimagecopymerge.$(OBJEXT): \ gdimagecopymerge/$(am__dirstamp) \ gdimagecopymerge/$(DEPDIR)/$(am__dirstamp) gdimagecopymerge/gdimagecopymerge$(EXEEXT): $(gdimagecopymerge_gdimagecopymerge_OBJECTS) $(gdimagecopymerge_gdimagecopymerge_DEPENDENCIES) $(EXTRA_gdimagecopymerge_gdimagecopymerge_DEPENDENCIES) gdimagecopymerge/$(am__dirstamp) @rm -f gdimagecopymerge/gdimagecopymerge$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopymerge_gdimagecopymerge_OBJECTS) $(gdimagecopymerge_gdimagecopymerge_LDADD) $(LIBS) gdimagecopymergegray/$(am__dirstamp): @$(MKDIR_P) gdimagecopymergegray @: > gdimagecopymergegray/$(am__dirstamp) gdimagecopymergegray/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecopymergegray/$(DEPDIR) @: > gdimagecopymergegray/$(DEPDIR)/$(am__dirstamp) gdimagecopymergegray/gdimagecopymergegray.$(OBJEXT): \ gdimagecopymergegray/$(am__dirstamp) \ gdimagecopymergegray/$(DEPDIR)/$(am__dirstamp) gdimagecopymergegray/gdimagecopymergegray$(EXEEXT): $(gdimagecopymergegray_gdimagecopymergegray_OBJECTS) $(gdimagecopymergegray_gdimagecopymergegray_DEPENDENCIES) $(EXTRA_gdimagecopymergegray_gdimagecopymergegray_DEPENDENCIES) gdimagecopymergegray/$(am__dirstamp) @rm -f gdimagecopymergegray/gdimagecopymergegray$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopymergegray_gdimagecopymergegray_OBJECTS) $(gdimagecopymergegray_gdimagecopymergegray_LDADD) $(LIBS) gdimagecopyresampled/$(am__dirstamp): @$(MKDIR_P) gdimagecopyresampled @: > gdimagecopyresampled/$(am__dirstamp) gdimagecopyresampled/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecopyresampled/$(DEPDIR) @: > gdimagecopyresampled/$(DEPDIR)/$(am__dirstamp) gdimagecopyresampled/basic.$(OBJEXT): \ gdimagecopyresampled/$(am__dirstamp) \ gdimagecopyresampled/$(DEPDIR)/$(am__dirstamp) gdimagecopyresampled/basic$(EXEEXT): $(gdimagecopyresampled_basic_OBJECTS) $(gdimagecopyresampled_basic_DEPENDENCIES) $(EXTRA_gdimagecopyresampled_basic_DEPENDENCIES) gdimagecopyresampled/$(am__dirstamp) @rm -f gdimagecopyresampled/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopyresampled_basic_OBJECTS) $(gdimagecopyresampled_basic_LDADD) $(LIBS) gdimagecopyresampled/basic_alpha.$(OBJEXT): \ gdimagecopyresampled/$(am__dirstamp) \ gdimagecopyresampled/$(DEPDIR)/$(am__dirstamp) gdimagecopyresampled/basic_alpha$(EXEEXT): $(gdimagecopyresampled_basic_alpha_OBJECTS) $(gdimagecopyresampled_basic_alpha_DEPENDENCIES) $(EXTRA_gdimagecopyresampled_basic_alpha_DEPENDENCIES) gdimagecopyresampled/$(am__dirstamp) @rm -f gdimagecopyresampled/basic_alpha$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopyresampled_basic_alpha_OBJECTS) $(gdimagecopyresampled_basic_alpha_LDADD) $(LIBS) gdimagecopyresampled/bug00201.$(OBJEXT): \ gdimagecopyresampled/$(am__dirstamp) \ gdimagecopyresampled/$(DEPDIR)/$(am__dirstamp) gdimagecopyresampled/bug00201$(EXEEXT): $(gdimagecopyresampled_bug00201_OBJECTS) $(gdimagecopyresampled_bug00201_DEPENDENCIES) $(EXTRA_gdimagecopyresampled_bug00201_DEPENDENCIES) gdimagecopyresampled/$(am__dirstamp) @rm -f gdimagecopyresampled/bug00201$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopyresampled_bug00201_OBJECTS) $(gdimagecopyresampled_bug00201_LDADD) $(LIBS) gdimagecopyresampled/exact_alpha.$(OBJEXT): \ gdimagecopyresampled/$(am__dirstamp) \ gdimagecopyresampled/$(DEPDIR)/$(am__dirstamp) gdimagecopyresampled/exact_alpha$(EXEEXT): $(gdimagecopyresampled_exact_alpha_OBJECTS) $(gdimagecopyresampled_exact_alpha_DEPENDENCIES) $(EXTRA_gdimagecopyresampled_exact_alpha_DEPENDENCIES) gdimagecopyresampled/$(am__dirstamp) @rm -f gdimagecopyresampled/exact_alpha$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopyresampled_exact_alpha_OBJECTS) $(gdimagecopyresampled_exact_alpha_LDADD) $(LIBS) gdimagecopyresized/$(am__dirstamp): @$(MKDIR_P) gdimagecopyresized @: > gdimagecopyresized/$(am__dirstamp) gdimagecopyresized/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecopyresized/$(DEPDIR) @: > gdimagecopyresized/$(DEPDIR)/$(am__dirstamp) gdimagecopyresized/gdimagecopyresized.$(OBJEXT): \ gdimagecopyresized/$(am__dirstamp) \ gdimagecopyresized/$(DEPDIR)/$(am__dirstamp) gdimagecopyresized/gdimagecopyresized$(EXEEXT): $(gdimagecopyresized_gdimagecopyresized_OBJECTS) $(gdimagecopyresized_gdimagecopyresized_DEPENDENCIES) $(EXTRA_gdimagecopyresized_gdimagecopyresized_DEPENDENCIES) gdimagecopyresized/$(am__dirstamp) @rm -f gdimagecopyresized/gdimagecopyresized$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopyresized_gdimagecopyresized_OBJECTS) $(gdimagecopyresized_gdimagecopyresized_LDADD) $(LIBS) gdimagecopyrotated/$(am__dirstamp): @$(MKDIR_P) gdimagecopyrotated @: > gdimagecopyrotated/$(am__dirstamp) gdimagecopyrotated/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecopyrotated/$(DEPDIR) @: > gdimagecopyrotated/$(DEPDIR)/$(am__dirstamp) gdimagecopyrotated/bug00020.$(OBJEXT): \ gdimagecopyrotated/$(am__dirstamp) \ gdimagecopyrotated/$(DEPDIR)/$(am__dirstamp) gdimagecopyrotated/bug00020$(EXEEXT): $(gdimagecopyrotated_bug00020_OBJECTS) $(gdimagecopyrotated_bug00020_DEPENDENCIES) $(EXTRA_gdimagecopyrotated_bug00020_DEPENDENCIES) gdimagecopyrotated/$(am__dirstamp) @rm -f gdimagecopyrotated/bug00020$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecopyrotated_bug00020_OBJECTS) $(gdimagecopyrotated_bug00020_LDADD) $(LIBS) gdimagecreate/$(am__dirstamp): @$(MKDIR_P) gdimagecreate @: > gdimagecreate/$(am__dirstamp) gdimagecreate/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecreate/$(DEPDIR) @: > gdimagecreate/$(DEPDIR)/$(am__dirstamp) gdimagecreate/bug00340.$(OBJEXT): gdimagecreate/$(am__dirstamp) \ gdimagecreate/$(DEPDIR)/$(am__dirstamp) gdimagecreate/bug00340$(EXEEXT): $(gdimagecreate_bug00340_OBJECTS) $(gdimagecreate_bug00340_DEPENDENCIES) $(EXTRA_gdimagecreate_bug00340_DEPENDENCIES) gdimagecreate/$(am__dirstamp) @rm -f gdimagecreate/bug00340$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecreate_bug00340_OBJECTS) $(gdimagecreate_bug00340_LDADD) $(LIBS) gdimagecrop/$(am__dirstamp): @$(MKDIR_P) gdimagecrop @: > gdimagecrop/$(am__dirstamp) gdimagecrop/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagecrop/$(DEPDIR) @: > gdimagecrop/$(DEPDIR)/$(am__dirstamp) gdimagecrop/bug00297.$(OBJEXT): gdimagecrop/$(am__dirstamp) \ gdimagecrop/$(DEPDIR)/$(am__dirstamp) gdimagecrop/bug00297$(EXEEXT): $(gdimagecrop_bug00297_OBJECTS) $(gdimagecrop_bug00297_DEPENDENCIES) $(EXTRA_gdimagecrop_bug00297_DEPENDENCIES) gdimagecrop/$(am__dirstamp) @rm -f gdimagecrop/bug00297$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecrop_bug00297_OBJECTS) $(gdimagecrop_bug00297_LDADD) $(LIBS) gdimagecrop/bug00432.$(OBJEXT): gdimagecrop/$(am__dirstamp) \ gdimagecrop/$(DEPDIR)/$(am__dirstamp) gdimagecrop/bug00432$(EXEEXT): $(gdimagecrop_bug00432_OBJECTS) $(gdimagecrop_bug00432_DEPENDENCIES) $(EXTRA_gdimagecrop_bug00432_DEPENDENCIES) gdimagecrop/$(am__dirstamp) @rm -f gdimagecrop/bug00432$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecrop_bug00432_OBJECTS) $(gdimagecrop_bug00432_LDADD) $(LIBS) gdimagecrop/bug00485_auto.$(OBJEXT): gdimagecrop/$(am__dirstamp) \ gdimagecrop/$(DEPDIR)/$(am__dirstamp) gdimagecrop/bug00485_auto$(EXEEXT): $(gdimagecrop_bug00485_auto_OBJECTS) $(gdimagecrop_bug00485_auto_DEPENDENCIES) $(EXTRA_gdimagecrop_bug00485_auto_DEPENDENCIES) gdimagecrop/$(am__dirstamp) @rm -f gdimagecrop/bug00485_auto$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecrop_bug00485_auto_OBJECTS) $(gdimagecrop_bug00485_auto_LDADD) $(LIBS) gdimagecrop/bug00485_threshold.$(OBJEXT): gdimagecrop/$(am__dirstamp) \ gdimagecrop/$(DEPDIR)/$(am__dirstamp) gdimagecrop/bug00485_threshold$(EXEEXT): $(gdimagecrop_bug00485_threshold_OBJECTS) $(gdimagecrop_bug00485_threshold_DEPENDENCIES) $(EXTRA_gdimagecrop_bug00485_threshold_DEPENDENCIES) gdimagecrop/$(am__dirstamp) @rm -f gdimagecrop/bug00485_threshold$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecrop_bug00485_threshold_OBJECTS) $(gdimagecrop_bug00485_threshold_LDADD) $(LIBS) gdimagecrop/bug00486.$(OBJEXT): gdimagecrop/$(am__dirstamp) \ gdimagecrop/$(DEPDIR)/$(am__dirstamp) gdimagecrop/bug00486$(EXEEXT): $(gdimagecrop_bug00486_OBJECTS) $(gdimagecrop_bug00486_DEPENDENCIES) $(EXTRA_gdimagecrop_bug00486_DEPENDENCIES) gdimagecrop/$(am__dirstamp) @rm -f gdimagecrop/bug00486$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecrop_bug00486_OBJECTS) $(gdimagecrop_bug00486_LDADD) $(LIBS) gdimagecrop/php_bug_72494.$(OBJEXT): gdimagecrop/$(am__dirstamp) \ gdimagecrop/$(DEPDIR)/$(am__dirstamp) gdimagecrop/php_bug_72494$(EXEEXT): $(gdimagecrop_php_bug_72494_OBJECTS) $(gdimagecrop_php_bug_72494_DEPENDENCIES) $(EXTRA_gdimagecrop_php_bug_72494_DEPENDENCIES) gdimagecrop/$(am__dirstamp) @rm -f gdimagecrop/php_bug_72494$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagecrop_php_bug_72494_OBJECTS) $(gdimagecrop_php_bug_72494_LDADD) $(LIBS) gdimageellipse/$(am__dirstamp): @$(MKDIR_P) gdimageellipse @: > gdimageellipse/$(am__dirstamp) gdimageellipse/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimageellipse/$(DEPDIR) @: > gdimageellipse/$(DEPDIR)/$(am__dirstamp) gdimageellipse/bug00169.$(OBJEXT): gdimageellipse/$(am__dirstamp) \ gdimageellipse/$(DEPDIR)/$(am__dirstamp) gdimageellipse/bug00169$(EXEEXT): $(gdimageellipse_bug00169_OBJECTS) $(gdimageellipse_bug00169_DEPENDENCIES) $(EXTRA_gdimageellipse_bug00169_DEPENDENCIES) gdimageellipse/$(am__dirstamp) @rm -f gdimageellipse/bug00169$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageellipse_bug00169_OBJECTS) $(gdimageellipse_bug00169_LDADD) $(LIBS) gdimagefile/$(am__dirstamp): @$(MKDIR_P) gdimagefile @: > gdimagefile/$(am__dirstamp) gdimagefile/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefile/$(DEPDIR) @: > gdimagefile/$(DEPDIR)/$(am__dirstamp) gdimagefile/gdnametest.$(OBJEXT): gdimagefile/$(am__dirstamp) \ gdimagefile/$(DEPDIR)/$(am__dirstamp) gdimagefile/gdnametest$(EXEEXT): $(gdimagefile_gdnametest_OBJECTS) $(gdimagefile_gdnametest_DEPENDENCIES) $(EXTRA_gdimagefile_gdnametest_DEPENDENCIES) gdimagefile/$(am__dirstamp) @rm -f gdimagefile/gdnametest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefile_gdnametest_OBJECTS) $(gdimagefile_gdnametest_LDADD) $(LIBS) gdimagefill/$(am__dirstamp): @$(MKDIR_P) gdimagefill @: > gdimagefill/$(am__dirstamp) gdimagefill/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefill/$(DEPDIR) @: > gdimagefill/$(DEPDIR)/$(am__dirstamp) gdimagefill/bug00002_1.$(OBJEXT): gdimagefill/$(am__dirstamp) \ gdimagefill/$(DEPDIR)/$(am__dirstamp) gdimagefill/bug00002_1$(EXEEXT): $(gdimagefill_bug00002_1_OBJECTS) $(gdimagefill_bug00002_1_DEPENDENCIES) $(EXTRA_gdimagefill_bug00002_1_DEPENDENCIES) gdimagefill/$(am__dirstamp) @rm -f gdimagefill/bug00002_1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefill_bug00002_1_OBJECTS) $(gdimagefill_bug00002_1_LDADD) $(LIBS) gdimagefill/bug00002_2.$(OBJEXT): gdimagefill/$(am__dirstamp) \ gdimagefill/$(DEPDIR)/$(am__dirstamp) gdimagefill/bug00002_2$(EXEEXT): $(gdimagefill_bug00002_2_OBJECTS) $(gdimagefill_bug00002_2_DEPENDENCIES) $(EXTRA_gdimagefill_bug00002_2_DEPENDENCIES) gdimagefill/$(am__dirstamp) @rm -f gdimagefill/bug00002_2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefill_bug00002_2_OBJECTS) $(gdimagefill_bug00002_2_LDADD) $(LIBS) gdimagefill/bug00002_3.$(OBJEXT): gdimagefill/$(am__dirstamp) \ gdimagefill/$(DEPDIR)/$(am__dirstamp) gdimagefill/bug00002_3$(EXEEXT): $(gdimagefill_bug00002_3_OBJECTS) $(gdimagefill_bug00002_3_DEPENDENCIES) $(EXTRA_gdimagefill_bug00002_3_DEPENDENCIES) gdimagefill/$(am__dirstamp) @rm -f gdimagefill/bug00002_3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefill_bug00002_3_OBJECTS) $(gdimagefill_bug00002_3_LDADD) $(LIBS) gdimagefill/bug00002_4.$(OBJEXT): gdimagefill/$(am__dirstamp) \ gdimagefill/$(DEPDIR)/$(am__dirstamp) gdimagefill/bug00002_4$(EXEEXT): $(gdimagefill_bug00002_4_OBJECTS) $(gdimagefill_bug00002_4_DEPENDENCIES) $(EXTRA_gdimagefill_bug00002_4_DEPENDENCIES) gdimagefill/$(am__dirstamp) @rm -f gdimagefill/bug00002_4$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefill_bug00002_4_OBJECTS) $(gdimagefill_bug00002_4_LDADD) $(LIBS) gdimagefill/bug00104_1.$(OBJEXT): gdimagefill/$(am__dirstamp) \ gdimagefill/$(DEPDIR)/$(am__dirstamp) gdimagefill/bug00104_1$(EXEEXT): $(gdimagefill_bug00104_1_OBJECTS) $(gdimagefill_bug00104_1_DEPENDENCIES) $(EXTRA_gdimagefill_bug00104_1_DEPENDENCIES) gdimagefill/$(am__dirstamp) @rm -f gdimagefill/bug00104_1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefill_bug00104_1_OBJECTS) $(gdimagefill_bug00104_1_LDADD) $(LIBS) gdimagefilledarc/$(am__dirstamp): @$(MKDIR_P) gdimagefilledarc @: > gdimagefilledarc/$(am__dirstamp) gdimagefilledarc/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefilledarc/$(DEPDIR) @: > gdimagefilledarc/$(DEPDIR)/$(am__dirstamp) gdimagefilledarc/bug00351.$(OBJEXT): gdimagefilledarc/$(am__dirstamp) \ gdimagefilledarc/$(DEPDIR)/$(am__dirstamp) gdimagefilledarc/bug00351$(EXEEXT): $(gdimagefilledarc_bug00351_OBJECTS) $(gdimagefilledarc_bug00351_DEPENDENCIES) $(EXTRA_gdimagefilledarc_bug00351_DEPENDENCIES) gdimagefilledarc/$(am__dirstamp) @rm -f gdimagefilledarc/bug00351$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledarc_bug00351_OBJECTS) $(gdimagefilledarc_bug00351_LDADD) $(LIBS) gdimagefilledarc/php_bug43828.$(OBJEXT): \ gdimagefilledarc/$(am__dirstamp) \ gdimagefilledarc/$(DEPDIR)/$(am__dirstamp) gdimagefilledarc/php_bug43828$(EXEEXT): $(gdimagefilledarc_php_bug43828_OBJECTS) $(gdimagefilledarc_php_bug43828_DEPENDENCIES) $(EXTRA_gdimagefilledarc_php_bug43828_DEPENDENCIES) gdimagefilledarc/$(am__dirstamp) @rm -f gdimagefilledarc/php_bug43828$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledarc_php_bug43828_OBJECTS) $(gdimagefilledarc_php_bug43828_LDADD) $(LIBS) gdimagefilledellipse/$(am__dirstamp): @$(MKDIR_P) gdimagefilledellipse @: > gdimagefilledellipse/$(am__dirstamp) gdimagefilledellipse/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefilledellipse/$(DEPDIR) @: > gdimagefilledellipse/$(DEPDIR)/$(am__dirstamp) gdimagefilledellipse/bug00010.$(OBJEXT): \ gdimagefilledellipse/$(am__dirstamp) \ gdimagefilledellipse/$(DEPDIR)/$(am__dirstamp) gdimagefilledellipse/bug00010$(EXEEXT): $(gdimagefilledellipse_bug00010_OBJECTS) $(gdimagefilledellipse_bug00010_DEPENDENCIES) $(EXTRA_gdimagefilledellipse_bug00010_DEPENDENCIES) gdimagefilledellipse/$(am__dirstamp) @rm -f gdimagefilledellipse/bug00010$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledellipse_bug00010_OBJECTS) $(gdimagefilledellipse_bug00010_LDADD) $(LIBS) gdimagefilledellipse/bug00169.$(OBJEXT): \ gdimagefilledellipse/$(am__dirstamp) \ gdimagefilledellipse/$(DEPDIR)/$(am__dirstamp) gdimagefilledellipse/bug00169$(EXEEXT): $(gdimagefilledellipse_bug00169_OBJECTS) $(gdimagefilledellipse_bug00169_DEPENDENCIES) $(EXTRA_gdimagefilledellipse_bug00169_DEPENDENCIES) gdimagefilledellipse/$(am__dirstamp) @rm -f gdimagefilledellipse/bug00169$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledellipse_bug00169_OBJECTS) $(gdimagefilledellipse_bug00169_LDADD) $(LIBS) gdimagefilledellipse/bug00191.$(OBJEXT): \ gdimagefilledellipse/$(am__dirstamp) \ gdimagefilledellipse/$(DEPDIR)/$(am__dirstamp) gdimagefilledellipse/bug00191$(EXEEXT): $(gdimagefilledellipse_bug00191_OBJECTS) $(gdimagefilledellipse_bug00191_DEPENDENCIES) $(EXTRA_gdimagefilledellipse_bug00191_DEPENDENCIES) gdimagefilledellipse/$(am__dirstamp) @rm -f gdimagefilledellipse/bug00191$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledellipse_bug00191_OBJECTS) $(gdimagefilledellipse_bug00191_LDADD) $(LIBS) gdimagefilledellipse/github_bug_00238.$(OBJEXT): \ gdimagefilledellipse/$(am__dirstamp) \ gdimagefilledellipse/$(DEPDIR)/$(am__dirstamp) gdimagefilledellipse/github_bug_00238$(EXEEXT): $(gdimagefilledellipse_github_bug_00238_OBJECTS) $(gdimagefilledellipse_github_bug_00238_DEPENDENCIES) $(EXTRA_gdimagefilledellipse_github_bug_00238_DEPENDENCIES) gdimagefilledellipse/$(am__dirstamp) @rm -f gdimagefilledellipse/github_bug_00238$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledellipse_github_bug_00238_OBJECTS) $(gdimagefilledellipse_github_bug_00238_LDADD) $(LIBS) gdimagefilledpolygon/$(am__dirstamp): @$(MKDIR_P) gdimagefilledpolygon @: > gdimagefilledpolygon/$(am__dirstamp) gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefilledpolygon/$(DEPDIR) @: > gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/bug00100.$(OBJEXT): \ gdimagefilledpolygon/$(am__dirstamp) \ gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/bug00100$(EXEEXT): $(gdimagefilledpolygon_bug00100_OBJECTS) $(gdimagefilledpolygon_bug00100_DEPENDENCIES) $(EXTRA_gdimagefilledpolygon_bug00100_DEPENDENCIES) gdimagefilledpolygon/$(am__dirstamp) @rm -f gdimagefilledpolygon/bug00100$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledpolygon_bug00100_OBJECTS) $(gdimagefilledpolygon_bug00100_LDADD) $(LIBS) gdimagefilledpolygon/gdimagefilledpolygon0.$(OBJEXT): \ gdimagefilledpolygon/$(am__dirstamp) \ gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/gdimagefilledpolygon0$(EXEEXT): $(gdimagefilledpolygon_gdimagefilledpolygon0_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon0_DEPENDENCIES) $(EXTRA_gdimagefilledpolygon_gdimagefilledpolygon0_DEPENDENCIES) gdimagefilledpolygon/$(am__dirstamp) @rm -f gdimagefilledpolygon/gdimagefilledpolygon0$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledpolygon_gdimagefilledpolygon0_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon0_LDADD) $(LIBS) gdimagefilledpolygon/gdimagefilledpolygon1.$(OBJEXT): \ gdimagefilledpolygon/$(am__dirstamp) \ gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/gdimagefilledpolygon1$(EXEEXT): $(gdimagefilledpolygon_gdimagefilledpolygon1_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon1_DEPENDENCIES) $(EXTRA_gdimagefilledpolygon_gdimagefilledpolygon1_DEPENDENCIES) gdimagefilledpolygon/$(am__dirstamp) @rm -f gdimagefilledpolygon/gdimagefilledpolygon1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledpolygon_gdimagefilledpolygon1_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon1_LDADD) $(LIBS) gdimagefilledpolygon/gdimagefilledpolygon2.$(OBJEXT): \ gdimagefilledpolygon/$(am__dirstamp) \ gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/gdimagefilledpolygon2$(EXEEXT): $(gdimagefilledpolygon_gdimagefilledpolygon2_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon2_DEPENDENCIES) $(EXTRA_gdimagefilledpolygon_gdimagefilledpolygon2_DEPENDENCIES) gdimagefilledpolygon/$(am__dirstamp) @rm -f gdimagefilledpolygon/gdimagefilledpolygon2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledpolygon_gdimagefilledpolygon2_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon2_LDADD) $(LIBS) gdimagefilledpolygon/gdimagefilledpolygon3.$(OBJEXT): \ gdimagefilledpolygon/$(am__dirstamp) \ gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/gdimagefilledpolygon3$(EXEEXT): $(gdimagefilledpolygon_gdimagefilledpolygon3_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon3_DEPENDENCIES) $(EXTRA_gdimagefilledpolygon_gdimagefilledpolygon3_DEPENDENCIES) gdimagefilledpolygon/$(am__dirstamp) @rm -f gdimagefilledpolygon/gdimagefilledpolygon3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledpolygon_gdimagefilledpolygon3_OBJECTS) $(gdimagefilledpolygon_gdimagefilledpolygon3_LDADD) $(LIBS) gdimagefilledpolygon/php_bug_64641.$(OBJEXT): \ gdimagefilledpolygon/$(am__dirstamp) \ gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/php_bug_64641$(EXEEXT): $(gdimagefilledpolygon_php_bug_64641_OBJECTS) $(gdimagefilledpolygon_php_bug_64641_DEPENDENCIES) $(EXTRA_gdimagefilledpolygon_php_bug_64641_DEPENDENCIES) gdimagefilledpolygon/$(am__dirstamp) @rm -f gdimagefilledpolygon/php_bug_64641$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledpolygon_php_bug_64641_OBJECTS) $(gdimagefilledpolygon_php_bug_64641_LDADD) $(LIBS) gdimagefilledpolygon/self_intersecting.$(OBJEXT): \ gdimagefilledpolygon/$(am__dirstamp) \ gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) gdimagefilledpolygon/self_intersecting$(EXEEXT): $(gdimagefilledpolygon_self_intersecting_OBJECTS) $(gdimagefilledpolygon_self_intersecting_DEPENDENCIES) $(EXTRA_gdimagefilledpolygon_self_intersecting_DEPENDENCIES) gdimagefilledpolygon/$(am__dirstamp) @rm -f gdimagefilledpolygon/self_intersecting$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledpolygon_self_intersecting_OBJECTS) $(gdimagefilledpolygon_self_intersecting_LDADD) $(LIBS) gdimagefilledrectangle/$(am__dirstamp): @$(MKDIR_P) gdimagefilledrectangle @: > gdimagefilledrectangle/$(am__dirstamp) gdimagefilledrectangle/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefilledrectangle/$(DEPDIR) @: > gdimagefilledrectangle/$(DEPDIR)/$(am__dirstamp) gdimagefilledrectangle/bug00004.$(OBJEXT): \ gdimagefilledrectangle/$(am__dirstamp) \ gdimagefilledrectangle/$(DEPDIR)/$(am__dirstamp) gdimagefilledrectangle/bug00004$(EXEEXT): $(gdimagefilledrectangle_bug00004_OBJECTS) $(gdimagefilledrectangle_bug00004_DEPENDENCIES) $(EXTRA_gdimagefilledrectangle_bug00004_DEPENDENCIES) gdimagefilledrectangle/$(am__dirstamp) @rm -f gdimagefilledrectangle/bug00004$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledrectangle_bug00004_OBJECTS) $(gdimagefilledrectangle_bug00004_LDADD) $(LIBS) gdimagefilledrectangle/bug00078.$(OBJEXT): \ gdimagefilledrectangle/$(am__dirstamp) \ gdimagefilledrectangle/$(DEPDIR)/$(am__dirstamp) gdimagefilledrectangle/bug00078$(EXEEXT): $(gdimagefilledrectangle_bug00078_OBJECTS) $(gdimagefilledrectangle_bug00078_DEPENDENCIES) $(EXTRA_gdimagefilledrectangle_bug00078_DEPENDENCIES) gdimagefilledrectangle/$(am__dirstamp) @rm -f gdimagefilledrectangle/bug00078$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledrectangle_bug00078_OBJECTS) $(gdimagefilledrectangle_bug00078_LDADD) $(LIBS) gdimagefilledrectangle/bug00106_gdimagefilledrectangle.$(OBJEXT): \ gdimagefilledrectangle/$(am__dirstamp) \ gdimagefilledrectangle/$(DEPDIR)/$(am__dirstamp) gdimagefilledrectangle/bug00106_gdimagefilledrectangle$(EXEEXT): $(gdimagefilledrectangle_bug00106_gdimagefilledrectangle_OBJECTS) $(gdimagefilledrectangle_bug00106_gdimagefilledrectangle_DEPENDENCIES) $(EXTRA_gdimagefilledrectangle_bug00106_gdimagefilledrectangle_DEPENDENCIES) gdimagefilledrectangle/$(am__dirstamp) @rm -f gdimagefilledrectangle/bug00106_gdimagefilledrectangle$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilledrectangle_bug00106_gdimagefilledrectangle_OBJECTS) $(gdimagefilledrectangle_bug00106_gdimagefilledrectangle_LDADD) $(LIBS) gdimagefilltoborder/$(am__dirstamp): @$(MKDIR_P) gdimagefilltoborder @: > gdimagefilltoborder/$(am__dirstamp) gdimagefilltoborder/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefilltoborder/$(DEPDIR) @: > gdimagefilltoborder/$(DEPDIR)/$(am__dirstamp) gdimagefilltoborder/bug00037.$(OBJEXT): \ gdimagefilltoborder/$(am__dirstamp) \ gdimagefilltoborder/$(DEPDIR)/$(am__dirstamp) gdimagefilltoborder/bug00037$(EXEEXT): $(gdimagefilltoborder_bug00037_OBJECTS) $(gdimagefilltoborder_bug00037_DEPENDENCIES) $(EXTRA_gdimagefilltoborder_bug00037_DEPENDENCIES) gdimagefilltoborder/$(am__dirstamp) @rm -f gdimagefilltoborder/bug00037$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilltoborder_bug00037_OBJECTS) $(gdimagefilltoborder_bug00037_LDADD) $(LIBS) gdimagefilltoborder/github_bug_215.$(OBJEXT): \ gdimagefilltoborder/$(am__dirstamp) \ gdimagefilltoborder/$(DEPDIR)/$(am__dirstamp) gdimagefilltoborder/github_bug_215$(EXEEXT): $(gdimagefilltoborder_github_bug_215_OBJECTS) $(gdimagefilltoborder_github_bug_215_DEPENDENCIES) $(EXTRA_gdimagefilltoborder_github_bug_215_DEPENDENCIES) gdimagefilltoborder/$(am__dirstamp) @rm -f gdimagefilltoborder/github_bug_215$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilltoborder_github_bug_215_OBJECTS) $(gdimagefilltoborder_github_bug_215_LDADD) $(LIBS) gdimagefilter/$(am__dirstamp): @$(MKDIR_P) gdimagefilter @: > gdimagefilter/$(am__dirstamp) gdimagefilter/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagefilter/$(DEPDIR) @: > gdimagefilter/$(DEPDIR)/$(am__dirstamp) gdimagefilter/gdCopyBlurred.$(OBJEXT): gdimagefilter/$(am__dirstamp) \ gdimagefilter/$(DEPDIR)/$(am__dirstamp) gdimagefilter/gdCopyBlurred$(EXEEXT): $(gdimagefilter_gdCopyBlurred_OBJECTS) $(gdimagefilter_gdCopyBlurred_DEPENDENCIES) $(EXTRA_gdimagefilter_gdCopyBlurred_DEPENDENCIES) gdimagefilter/$(am__dirstamp) @rm -f gdimagefilter/gdCopyBlurred$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagefilter_gdCopyBlurred_OBJECTS) $(gdimagefilter_gdCopyBlurred_LDADD) $(LIBS) gdimageflip/$(am__dirstamp): @$(MKDIR_P) gdimageflip @: > gdimageflip/$(am__dirstamp) gdimageflip/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimageflip/$(DEPDIR) @: > gdimageflip/$(DEPDIR)/$(am__dirstamp) gdimageflip/gdimageflip.$(OBJEXT): gdimageflip/$(am__dirstamp) \ gdimageflip/$(DEPDIR)/$(am__dirstamp) gdimageflip/gdimageflip$(EXEEXT): $(gdimageflip_gdimageflip_OBJECTS) $(gdimageflip_gdimageflip_DEPENDENCIES) $(EXTRA_gdimageflip_gdimageflip_DEPENDENCIES) gdimageflip/$(am__dirstamp) @rm -f gdimageflip/gdimageflip$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageflip_gdimageflip_OBJECTS) $(gdimageflip_gdimageflip_LDADD) $(LIBS) gdimagegrayscale/$(am__dirstamp): @$(MKDIR_P) gdimagegrayscale @: > gdimagegrayscale/$(am__dirstamp) gdimagegrayscale/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagegrayscale/$(DEPDIR) @: > gdimagegrayscale/$(DEPDIR)/$(am__dirstamp) gdimagegrayscale/basic.$(OBJEXT): gdimagegrayscale/$(am__dirstamp) \ gdimagegrayscale/$(DEPDIR)/$(am__dirstamp) gdimagegrayscale/basic$(EXEEXT): $(gdimagegrayscale_basic_OBJECTS) $(gdimagegrayscale_basic_DEPENDENCIES) $(EXTRA_gdimagegrayscale_basic_DEPENDENCIES) gdimagegrayscale/$(am__dirstamp) @rm -f gdimagegrayscale/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagegrayscale_basic_OBJECTS) $(gdimagegrayscale_basic_LDADD) $(LIBS) gdimagegrayscale/bug00386.$(OBJEXT): gdimagegrayscale/$(am__dirstamp) \ gdimagegrayscale/$(DEPDIR)/$(am__dirstamp) gdimagegrayscale/bug00386$(EXEEXT): $(gdimagegrayscale_bug00386_OBJECTS) $(gdimagegrayscale_bug00386_DEPENDENCIES) $(EXTRA_gdimagegrayscale_bug00386_DEPENDENCIES) gdimagegrayscale/$(am__dirstamp) @rm -f gdimagegrayscale/bug00386$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagegrayscale_bug00386_OBJECTS) $(gdimagegrayscale_bug00386_LDADD) $(LIBS) gdimageline/$(am__dirstamp): @$(MKDIR_P) gdimageline @: > gdimageline/$(am__dirstamp) gdimageline/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimageline/$(DEPDIR) @: > gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/bug00072.$(OBJEXT): gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/bug00072$(EXEEXT): $(gdimageline_bug00072_OBJECTS) $(gdimageline_bug00072_DEPENDENCIES) $(EXTRA_gdimageline_bug00072_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/bug00072$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_bug00072_OBJECTS) $(gdimageline_bug00072_LDADD) $(LIBS) gdimageline/bug00077.$(OBJEXT): gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/bug00077$(EXEEXT): $(gdimageline_bug00077_OBJECTS) $(gdimageline_bug00077_DEPENDENCIES) $(EXTRA_gdimageline_bug00077_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/bug00077$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_bug00077_OBJECTS) $(gdimageline_bug00077_LDADD) $(LIBS) gdimageline/bug00111.$(OBJEXT): gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/bug00111$(EXEEXT): $(gdimageline_bug00111_OBJECTS) $(gdimageline_bug00111_DEPENDENCIES) $(EXTRA_gdimageline_bug00111_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/bug00111$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_bug00111_OBJECTS) $(gdimageline_bug00111_LDADD) $(LIBS) gdimageline/bug00315.$(OBJEXT): gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/bug00315$(EXEEXT): $(gdimageline_bug00315_OBJECTS) $(gdimageline_bug00315_DEPENDENCIES) $(EXTRA_gdimageline_bug00315_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/bug00315$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_bug00315_OBJECTS) $(gdimageline_bug00315_LDADD) $(LIBS) gdimageline/gdImageAALine_thickness.$(OBJEXT): \ gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/gdImageAALine_thickness$(EXEEXT): $(gdimageline_gdImageAALine_thickness_OBJECTS) $(gdimageline_gdImageAALine_thickness_DEPENDENCIES) $(EXTRA_gdimageline_gdImageAALine_thickness_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/gdImageAALine_thickness$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_gdImageAALine_thickness_OBJECTS) $(gdimageline_gdImageAALine_thickness_LDADD) $(LIBS) gdimageline/gdimageline_aa.$(OBJEXT): gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/gdimageline_aa$(EXEEXT): $(gdimageline_gdimageline_aa_OBJECTS) $(gdimageline_gdimageline_aa_DEPENDENCIES) $(EXTRA_gdimageline_gdimageline_aa_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/gdimageline_aa$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_gdimageline_aa_OBJECTS) $(gdimageline_gdimageline_aa_LDADD) $(LIBS) gdimageline/gdimageline_aa_outofrange.$(OBJEXT): \ gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/gdimageline_aa_outofrange$(EXEEXT): $(gdimageline_gdimageline_aa_outofrange_OBJECTS) $(gdimageline_gdimageline_aa_outofrange_DEPENDENCIES) $(EXTRA_gdimageline_gdimageline_aa_outofrange_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/gdimageline_aa_outofrange$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_gdimageline_aa_outofrange_OBJECTS) $(gdimageline_gdimageline_aa_outofrange_LDADD) $(LIBS) gdimageline/gdimageline_bug5.$(OBJEXT): gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/gdimageline_bug5$(EXEEXT): $(gdimageline_gdimageline_bug5_OBJECTS) $(gdimageline_gdimageline_bug5_DEPENDENCIES) $(EXTRA_gdimageline_gdimageline_bug5_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/gdimageline_bug5$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_gdimageline_bug5_OBJECTS) $(gdimageline_gdimageline_bug5_LDADD) $(LIBS) gdimageline/github_bug_167.$(OBJEXT): gdimageline/$(am__dirstamp) \ gdimageline/$(DEPDIR)/$(am__dirstamp) gdimageline/github_bug_167$(EXEEXT): $(gdimageline_github_bug_167_OBJECTS) $(gdimageline_github_bug_167_DEPENDENCIES) $(EXTRA_gdimageline_github_bug_167_DEPENDENCIES) gdimageline/$(am__dirstamp) @rm -f gdimageline/github_bug_167$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageline_github_bug_167_OBJECTS) $(gdimageline_github_bug_167_LDADD) $(LIBS) gdimagenegate/$(am__dirstamp): @$(MKDIR_P) gdimagenegate @: > gdimagenegate/$(am__dirstamp) gdimagenegate/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagenegate/$(DEPDIR) @: > gdimagenegate/$(DEPDIR)/$(am__dirstamp) gdimagenegate/basic.$(OBJEXT): gdimagenegate/$(am__dirstamp) \ gdimagenegate/$(DEPDIR)/$(am__dirstamp) gdimagenegate/basic$(EXEEXT): $(gdimagenegate_basic_OBJECTS) $(gdimagenegate_basic_DEPENDENCIES) $(EXTRA_gdimagenegate_basic_DEPENDENCIES) gdimagenegate/$(am__dirstamp) @rm -f gdimagenegate/basic$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagenegate_basic_OBJECTS) $(gdimagenegate_basic_LDADD) $(LIBS) gdimageopenpolygon/$(am__dirstamp): @$(MKDIR_P) gdimageopenpolygon @: > gdimageopenpolygon/$(am__dirstamp) gdimageopenpolygon/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimageopenpolygon/$(DEPDIR) @: > gdimageopenpolygon/$(DEPDIR)/$(am__dirstamp) gdimageopenpolygon/gdimageopenpolygon0.$(OBJEXT): \ gdimageopenpolygon/$(am__dirstamp) \ gdimageopenpolygon/$(DEPDIR)/$(am__dirstamp) gdimageopenpolygon/gdimageopenpolygon0$(EXEEXT): $(gdimageopenpolygon_gdimageopenpolygon0_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon0_DEPENDENCIES) $(EXTRA_gdimageopenpolygon_gdimageopenpolygon0_DEPENDENCIES) gdimageopenpolygon/$(am__dirstamp) @rm -f gdimageopenpolygon/gdimageopenpolygon0$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageopenpolygon_gdimageopenpolygon0_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon0_LDADD) $(LIBS) gdimageopenpolygon/gdimageopenpolygon1.$(OBJEXT): \ gdimageopenpolygon/$(am__dirstamp) \ gdimageopenpolygon/$(DEPDIR)/$(am__dirstamp) gdimageopenpolygon/gdimageopenpolygon1$(EXEEXT): $(gdimageopenpolygon_gdimageopenpolygon1_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon1_DEPENDENCIES) $(EXTRA_gdimageopenpolygon_gdimageopenpolygon1_DEPENDENCIES) gdimageopenpolygon/$(am__dirstamp) @rm -f gdimageopenpolygon/gdimageopenpolygon1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageopenpolygon_gdimageopenpolygon1_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon1_LDADD) $(LIBS) gdimageopenpolygon/gdimageopenpolygon2.$(OBJEXT): \ gdimageopenpolygon/$(am__dirstamp) \ gdimageopenpolygon/$(DEPDIR)/$(am__dirstamp) gdimageopenpolygon/gdimageopenpolygon2$(EXEEXT): $(gdimageopenpolygon_gdimageopenpolygon2_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon2_DEPENDENCIES) $(EXTRA_gdimageopenpolygon_gdimageopenpolygon2_DEPENDENCIES) gdimageopenpolygon/$(am__dirstamp) @rm -f gdimageopenpolygon/gdimageopenpolygon2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageopenpolygon_gdimageopenpolygon2_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon2_LDADD) $(LIBS) gdimageopenpolygon/gdimageopenpolygon3.$(OBJEXT): \ gdimageopenpolygon/$(am__dirstamp) \ gdimageopenpolygon/$(DEPDIR)/$(am__dirstamp) gdimageopenpolygon/gdimageopenpolygon3$(EXEEXT): $(gdimageopenpolygon_gdimageopenpolygon3_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon3_DEPENDENCIES) $(EXTRA_gdimageopenpolygon_gdimageopenpolygon3_DEPENDENCIES) gdimageopenpolygon/$(am__dirstamp) @rm -f gdimageopenpolygon/gdimageopenpolygon3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimageopenpolygon_gdimageopenpolygon3_OBJECTS) $(gdimageopenpolygon_gdimageopenpolygon3_LDADD) $(LIBS) gdimagepixelate/$(am__dirstamp): @$(MKDIR_P) gdimagepixelate @: > gdimagepixelate/$(am__dirstamp) gdimagepixelate/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagepixelate/$(DEPDIR) @: > gdimagepixelate/$(DEPDIR)/$(am__dirstamp) gdimagepixelate/gdimagepixelate.$(OBJEXT): \ gdimagepixelate/$(am__dirstamp) \ gdimagepixelate/$(DEPDIR)/$(am__dirstamp) gdimagepixelate/gdimagepixelate$(EXEEXT): $(gdimagepixelate_gdimagepixelate_OBJECTS) $(gdimagepixelate_gdimagepixelate_DEPENDENCIES) $(EXTRA_gdimagepixelate_gdimagepixelate_DEPENDENCIES) gdimagepixelate/$(am__dirstamp) @rm -f gdimagepixelate/gdimagepixelate$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagepixelate_gdimagepixelate_OBJECTS) $(gdimagepixelate_gdimagepixelate_LDADD) $(LIBS) gdimagepolygon/$(am__dirstamp): @$(MKDIR_P) gdimagepolygon @: > gdimagepolygon/$(am__dirstamp) gdimagepolygon/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagepolygon/$(DEPDIR) @: > gdimagepolygon/$(DEPDIR)/$(am__dirstamp) gdimagepolygon/gdimagepolygon0.$(OBJEXT): \ gdimagepolygon/$(am__dirstamp) \ gdimagepolygon/$(DEPDIR)/$(am__dirstamp) gdimagepolygon/gdimagepolygon0$(EXEEXT): $(gdimagepolygon_gdimagepolygon0_OBJECTS) $(gdimagepolygon_gdimagepolygon0_DEPENDENCIES) $(EXTRA_gdimagepolygon_gdimagepolygon0_DEPENDENCIES) gdimagepolygon/$(am__dirstamp) @rm -f gdimagepolygon/gdimagepolygon0$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagepolygon_gdimagepolygon0_OBJECTS) $(gdimagepolygon_gdimagepolygon0_LDADD) $(LIBS) gdimagepolygon/gdimagepolygon1.$(OBJEXT): \ gdimagepolygon/$(am__dirstamp) \ gdimagepolygon/$(DEPDIR)/$(am__dirstamp) gdimagepolygon/gdimagepolygon1$(EXEEXT): $(gdimagepolygon_gdimagepolygon1_OBJECTS) $(gdimagepolygon_gdimagepolygon1_DEPENDENCIES) $(EXTRA_gdimagepolygon_gdimagepolygon1_DEPENDENCIES) gdimagepolygon/$(am__dirstamp) @rm -f gdimagepolygon/gdimagepolygon1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagepolygon_gdimagepolygon1_OBJECTS) $(gdimagepolygon_gdimagepolygon1_LDADD) $(LIBS) gdimagepolygon/gdimagepolygon2.$(OBJEXT): \ gdimagepolygon/$(am__dirstamp) \ gdimagepolygon/$(DEPDIR)/$(am__dirstamp) gdimagepolygon/gdimagepolygon2$(EXEEXT): $(gdimagepolygon_gdimagepolygon2_OBJECTS) $(gdimagepolygon_gdimagepolygon2_DEPENDENCIES) $(EXTRA_gdimagepolygon_gdimagepolygon2_DEPENDENCIES) gdimagepolygon/$(am__dirstamp) @rm -f gdimagepolygon/gdimagepolygon2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagepolygon_gdimagepolygon2_OBJECTS) $(gdimagepolygon_gdimagepolygon2_LDADD) $(LIBS) gdimagepolygon/gdimagepolygon3.$(OBJEXT): \ gdimagepolygon/$(am__dirstamp) \ gdimagepolygon/$(DEPDIR)/$(am__dirstamp) gdimagepolygon/gdimagepolygon3$(EXEEXT): $(gdimagepolygon_gdimagepolygon3_OBJECTS) $(gdimagepolygon_gdimagepolygon3_DEPENDENCIES) $(EXTRA_gdimagepolygon_gdimagepolygon3_DEPENDENCIES) gdimagepolygon/$(am__dirstamp) @rm -f gdimagepolygon/gdimagepolygon3$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagepolygon_gdimagepolygon3_OBJECTS) $(gdimagepolygon_gdimagepolygon3_LDADD) $(LIBS) gdimagerectangle/$(am__dirstamp): @$(MKDIR_P) gdimagerectangle @: > gdimagerectangle/$(am__dirstamp) gdimagerectangle/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagerectangle/$(DEPDIR) @: > gdimagerectangle/$(DEPDIR)/$(am__dirstamp) gdimagerectangle/bug00003.$(OBJEXT): gdimagerectangle/$(am__dirstamp) \ gdimagerectangle/$(DEPDIR)/$(am__dirstamp) gdimagerectangle/bug00003$(EXEEXT): $(gdimagerectangle_bug00003_OBJECTS) $(gdimagerectangle_bug00003_DEPENDENCIES) $(EXTRA_gdimagerectangle_bug00003_DEPENDENCIES) gdimagerectangle/$(am__dirstamp) @rm -f gdimagerectangle/bug00003$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerectangle_bug00003_OBJECTS) $(gdimagerectangle_bug00003_LDADD) $(LIBS) gdimagerectangle/bug00106_gdimagerectangle.$(OBJEXT): \ gdimagerectangle/$(am__dirstamp) \ gdimagerectangle/$(DEPDIR)/$(am__dirstamp) gdimagerectangle/bug00106_gdimagerectangle$(EXEEXT): $(gdimagerectangle_bug00106_gdimagerectangle_OBJECTS) $(gdimagerectangle_bug00106_gdimagerectangle_DEPENDENCIES) $(EXTRA_gdimagerectangle_bug00106_gdimagerectangle_DEPENDENCIES) gdimagerectangle/$(am__dirstamp) @rm -f gdimagerectangle/bug00106_gdimagerectangle$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerectangle_bug00106_gdimagerectangle_OBJECTS) $(gdimagerectangle_bug00106_gdimagerectangle_LDADD) $(LIBS) gdimagerectangle/bug00299.$(OBJEXT): gdimagerectangle/$(am__dirstamp) \ gdimagerectangle/$(DEPDIR)/$(am__dirstamp) gdimagerectangle/bug00299$(EXEEXT): $(gdimagerectangle_bug00299_OBJECTS) $(gdimagerectangle_bug00299_DEPENDENCIES) $(EXTRA_gdimagerectangle_bug00299_DEPENDENCIES) gdimagerectangle/$(am__dirstamp) @rm -f gdimagerectangle/bug00299$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerectangle_bug00299_OBJECTS) $(gdimagerectangle_bug00299_LDADD) $(LIBS) gdimagerectangle/github_bug_00172.$(OBJEXT): \ gdimagerectangle/$(am__dirstamp) \ gdimagerectangle/$(DEPDIR)/$(am__dirstamp) gdimagerectangle/github_bug_00172$(EXEEXT): $(gdimagerectangle_github_bug_00172_OBJECTS) $(gdimagerectangle_github_bug_00172_DEPENDENCIES) $(EXTRA_gdimagerectangle_github_bug_00172_DEPENDENCIES) gdimagerectangle/$(am__dirstamp) @rm -f gdimagerectangle/github_bug_00172$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerectangle_github_bug_00172_OBJECTS) $(gdimagerectangle_github_bug_00172_LDADD) $(LIBS) gdimagerectangle/point_ordering.$(OBJEXT): \ gdimagerectangle/$(am__dirstamp) \ gdimagerectangle/$(DEPDIR)/$(am__dirstamp) gdimagerectangle/point_ordering$(EXEEXT): $(gdimagerectangle_point_ordering_OBJECTS) $(gdimagerectangle_point_ordering_DEPENDENCIES) $(EXTRA_gdimagerectangle_point_ordering_DEPENDENCIES) gdimagerectangle/$(am__dirstamp) @rm -f gdimagerectangle/point_ordering$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerectangle_point_ordering_OBJECTS) $(gdimagerectangle_point_ordering_LDADD) $(LIBS) gdimagerotate/$(am__dirstamp): @$(MKDIR_P) gdimagerotate @: > gdimagerotate/$(am__dirstamp) gdimagerotate/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagerotate/$(DEPDIR) @: > gdimagerotate/$(DEPDIR)/$(am__dirstamp) gdimagerotate/bug00067.$(OBJEXT): gdimagerotate/$(am__dirstamp) \ gdimagerotate/$(DEPDIR)/$(am__dirstamp) gdimagerotate/bug00067$(EXEEXT): $(gdimagerotate_bug00067_OBJECTS) $(gdimagerotate_bug00067_DEPENDENCIES) $(EXTRA_gdimagerotate_bug00067_DEPENDENCIES) gdimagerotate/$(am__dirstamp) @rm -f gdimagerotate/bug00067$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerotate_bug00067_OBJECTS) $(gdimagerotate_bug00067_LDADD) $(LIBS) gdimagerotate/php_bug_64898.$(OBJEXT): gdimagerotate/$(am__dirstamp) \ gdimagerotate/$(DEPDIR)/$(am__dirstamp) gdimagerotate/php_bug_64898$(EXEEXT): $(gdimagerotate_php_bug_64898_OBJECTS) $(gdimagerotate_php_bug_64898_DEPENDENCIES) $(EXTRA_gdimagerotate_php_bug_64898_DEPENDENCIES) gdimagerotate/$(am__dirstamp) @rm -f gdimagerotate/php_bug_64898$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerotate_php_bug_64898_OBJECTS) $(gdimagerotate_php_bug_64898_LDADD) $(LIBS) gdimagerotate/php_bug_65070.$(OBJEXT): gdimagerotate/$(am__dirstamp) \ gdimagerotate/$(DEPDIR)/$(am__dirstamp) gdimagerotate/php_bug_65070$(EXEEXT): $(gdimagerotate_php_bug_65070_OBJECTS) $(gdimagerotate_php_bug_65070_DEPENDENCIES) $(EXTRA_gdimagerotate_php_bug_65070_DEPENDENCIES) gdimagerotate/$(am__dirstamp) @rm -f gdimagerotate/php_bug_65070$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagerotate_php_bug_65070_OBJECTS) $(gdimagerotate_php_bug_65070_LDADD) $(LIBS) gdimagescale/$(am__dirstamp): @$(MKDIR_P) gdimagescale @: > gdimagescale/$(am__dirstamp) gdimagescale/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagescale/$(DEPDIR) @: > gdimagescale/$(DEPDIR)/$(am__dirstamp) gdimagescale/bug00329.$(OBJEXT): gdimagescale/$(am__dirstamp) \ gdimagescale/$(DEPDIR)/$(am__dirstamp) gdimagescale/bug00329$(EXEEXT): $(gdimagescale_bug00329_OBJECTS) $(gdimagescale_bug00329_DEPENDENCIES) $(EXTRA_gdimagescale_bug00329_DEPENDENCIES) gdimagescale/$(am__dirstamp) @rm -f gdimagescale/bug00329$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagescale_bug00329_OBJECTS) $(gdimagescale_bug00329_LDADD) $(LIBS) gdimagescale/bug00330.$(OBJEXT): gdimagescale/$(am__dirstamp) \ gdimagescale/$(DEPDIR)/$(am__dirstamp) gdimagescale/bug00330$(EXEEXT): $(gdimagescale_bug00330_OBJECTS) $(gdimagescale_bug00330_DEPENDENCIES) $(EXTRA_gdimagescale_bug00330_DEPENDENCIES) gdimagescale/$(am__dirstamp) @rm -f gdimagescale/bug00330$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagescale_bug00330_OBJECTS) $(gdimagescale_bug00330_LDADD) $(LIBS) gdimagescale/bug_overflow_large_new_size.$(OBJEXT): \ gdimagescale/$(am__dirstamp) \ gdimagescale/$(DEPDIR)/$(am__dirstamp) gdimagescale/bug_overflow_large_new_size$(EXEEXT): $(gdimagescale_bug_overflow_large_new_size_OBJECTS) $(gdimagescale_bug_overflow_large_new_size_DEPENDENCIES) $(EXTRA_gdimagescale_bug_overflow_large_new_size_DEPENDENCIES) gdimagescale/$(am__dirstamp) @rm -f gdimagescale/bug_overflow_large_new_size$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagescale_bug_overflow_large_new_size_OBJECTS) $(gdimagescale_bug_overflow_large_new_size_LDADD) $(LIBS) gdimagescale/github_bug_00218.$(OBJEXT): gdimagescale/$(am__dirstamp) \ gdimagescale/$(DEPDIR)/$(am__dirstamp) gdimagescale/github_bug_00218$(EXEEXT): $(gdimagescale_github_bug_00218_OBJECTS) $(gdimagescale_github_bug_00218_DEPENDENCIES) $(EXTRA_gdimagescale_github_bug_00218_DEPENDENCIES) gdimagescale/$(am__dirstamp) @rm -f gdimagescale/github_bug_00218$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagescale_github_bug_00218_OBJECTS) $(gdimagescale_github_bug_00218_LDADD) $(LIBS) gdimagescatterex/$(am__dirstamp): @$(MKDIR_P) gdimagescatterex @: > gdimagescatterex/$(am__dirstamp) gdimagescatterex/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagescatterex/$(DEPDIR) @: > gdimagescatterex/$(DEPDIR)/$(am__dirstamp) gdimagescatterex/bug00208_1.$(OBJEXT): \ gdimagescatterex/$(am__dirstamp) \ gdimagescatterex/$(DEPDIR)/$(am__dirstamp) gdimagescatterex/bug00208_1$(EXEEXT): $(gdimagescatterex_bug00208_1_OBJECTS) $(gdimagescatterex_bug00208_1_DEPENDENCIES) $(EXTRA_gdimagescatterex_bug00208_1_DEPENDENCIES) gdimagescatterex/$(am__dirstamp) @rm -f gdimagescatterex/bug00208_1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagescatterex_bug00208_1_OBJECTS) $(gdimagescatterex_bug00208_1_LDADD) $(LIBS) gdimagescatterex/bug00208_2.$(OBJEXT): \ gdimagescatterex/$(am__dirstamp) \ gdimagescatterex/$(DEPDIR)/$(am__dirstamp) gdimagescatterex/bug00208_2$(EXEEXT): $(gdimagescatterex_bug00208_2_OBJECTS) $(gdimagescatterex_bug00208_2_DEPENDENCIES) $(EXTRA_gdimagescatterex_bug00208_2_DEPENDENCIES) gdimagescatterex/$(am__dirstamp) @rm -f gdimagescatterex/bug00208_2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagescatterex_bug00208_2_OBJECTS) $(gdimagescatterex_bug00208_2_LDADD) $(LIBS) gdimagesetinterpolationmethod/$(am__dirstamp): @$(MKDIR_P) gdimagesetinterpolationmethod @: > gdimagesetinterpolationmethod/$(am__dirstamp) gdimagesetinterpolationmethod/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagesetinterpolationmethod/$(DEPDIR) @: > gdimagesetinterpolationmethod/$(DEPDIR)/$(am__dirstamp) gdimagesetinterpolationmethod/github_bug_00584.$(OBJEXT): \ gdimagesetinterpolationmethod/$(am__dirstamp) \ gdimagesetinterpolationmethod/$(DEPDIR)/$(am__dirstamp) gdimagesetinterpolationmethod/github_bug_00584$(EXEEXT): $(gdimagesetinterpolationmethod_github_bug_00584_OBJECTS) $(gdimagesetinterpolationmethod_github_bug_00584_DEPENDENCIES) $(EXTRA_gdimagesetinterpolationmethod_github_bug_00584_DEPENDENCIES) gdimagesetinterpolationmethod/$(am__dirstamp) @rm -f gdimagesetinterpolationmethod/github_bug_00584$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagesetinterpolationmethod_github_bug_00584_OBJECTS) $(gdimagesetinterpolationmethod_github_bug_00584_LDADD) $(LIBS) gdimagesetpixel/$(am__dirstamp): @$(MKDIR_P) gdimagesetpixel @: > gdimagesetpixel/$(am__dirstamp) gdimagesetpixel/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagesetpixel/$(DEPDIR) @: > gdimagesetpixel/$(DEPDIR)/$(am__dirstamp) gdimagesetpixel/alpha_blending.$(OBJEXT): \ gdimagesetpixel/$(am__dirstamp) \ gdimagesetpixel/$(DEPDIR)/$(am__dirstamp) gdimagesetpixel/alpha_blending$(EXEEXT): $(gdimagesetpixel_alpha_blending_OBJECTS) $(gdimagesetpixel_alpha_blending_DEPENDENCIES) $(EXTRA_gdimagesetpixel_alpha_blending_DEPENDENCIES) gdimagesetpixel/$(am__dirstamp) @rm -f gdimagesetpixel/alpha_blending$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagesetpixel_alpha_blending_OBJECTS) $(gdimagesetpixel_alpha_blending_LDADD) $(LIBS) gdimagesetpixel/bug00186.$(OBJEXT): gdimagesetpixel/$(am__dirstamp) \ gdimagesetpixel/$(DEPDIR)/$(am__dirstamp) gdimagesetpixel/bug00186$(EXEEXT): $(gdimagesetpixel_bug00186_OBJECTS) $(gdimagesetpixel_bug00186_DEPENDENCIES) $(EXTRA_gdimagesetpixel_bug00186_DEPENDENCIES) gdimagesetpixel/$(am__dirstamp) @rm -f gdimagesetpixel/bug00186$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagesetpixel_bug00186_OBJECTS) $(gdimagesetpixel_bug00186_LDADD) $(LIBS) gdimagesetpixel/gdeffectmultiply.$(OBJEXT): \ gdimagesetpixel/$(am__dirstamp) \ gdimagesetpixel/$(DEPDIR)/$(am__dirstamp) gdimagesetpixel/gdeffectmultiply$(EXEEXT): $(gdimagesetpixel_gdeffectmultiply_OBJECTS) $(gdimagesetpixel_gdeffectmultiply_DEPENDENCIES) $(EXTRA_gdimagesetpixel_gdeffectmultiply_DEPENDENCIES) gdimagesetpixel/$(am__dirstamp) @rm -f gdimagesetpixel/gdeffectmultiply$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagesetpixel_gdeffectmultiply_OBJECTS) $(gdimagesetpixel_gdeffectmultiply_LDADD) $(LIBS) gdimagesetpixel/gdeffectoverlay.$(OBJEXT): \ gdimagesetpixel/$(am__dirstamp) \ gdimagesetpixel/$(DEPDIR)/$(am__dirstamp) gdimagesetpixel/gdeffectoverlay$(EXEEXT): $(gdimagesetpixel_gdeffectoverlay_OBJECTS) $(gdimagesetpixel_gdeffectoverlay_DEPENDENCIES) $(EXTRA_gdimagesetpixel_gdeffectoverlay_DEPENDENCIES) gdimagesetpixel/$(am__dirstamp) @rm -f gdimagesetpixel/gdeffectoverlay$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagesetpixel_gdeffectoverlay_OBJECTS) $(gdimagesetpixel_gdeffectoverlay_LDADD) $(LIBS) gdimagesquaretocircle/$(am__dirstamp): @$(MKDIR_P) gdimagesquaretocircle @: > gdimagesquaretocircle/$(am__dirstamp) gdimagesquaretocircle/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagesquaretocircle/$(DEPDIR) @: > gdimagesquaretocircle/$(DEPDIR)/$(am__dirstamp) gdimagesquaretocircle/gdimagesquaretocircle.$(OBJEXT): \ gdimagesquaretocircle/$(am__dirstamp) \ gdimagesquaretocircle/$(DEPDIR)/$(am__dirstamp) gdimagesquaretocircle/gdimagesquaretocircle$(EXEEXT): $(gdimagesquaretocircle_gdimagesquaretocircle_OBJECTS) $(gdimagesquaretocircle_gdimagesquaretocircle_DEPENDENCIES) $(EXTRA_gdimagesquaretocircle_gdimagesquaretocircle_DEPENDENCIES) gdimagesquaretocircle/$(am__dirstamp) @rm -f gdimagesquaretocircle/gdimagesquaretocircle$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagesquaretocircle_gdimagesquaretocircle_OBJECTS) $(gdimagesquaretocircle_gdimagesquaretocircle_LDADD) $(LIBS) gdimagestring/$(am__dirstamp): @$(MKDIR_P) gdimagestring @: > gdimagestring/$(am__dirstamp) gdimagestring/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagestring/$(DEPDIR) @: > gdimagestring/$(DEPDIR)/$(am__dirstamp) gdimagestring/gdimagestring.$(OBJEXT): gdimagestring/$(am__dirstamp) \ gdimagestring/$(DEPDIR)/$(am__dirstamp) gdimagestring/gdimagestring$(EXEEXT): $(gdimagestring_gdimagestring_OBJECTS) $(gdimagestring_gdimagestring_DEPENDENCIES) $(EXTRA_gdimagestring_gdimagestring_DEPENDENCIES) gdimagestring/$(am__dirstamp) @rm -f gdimagestring/gdimagestring$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagestring_gdimagestring_OBJECTS) $(gdimagestring_gdimagestring_LDADD) $(LIBS) gdimagestring16/$(am__dirstamp): @$(MKDIR_P) gdimagestring16 @: > gdimagestring16/$(am__dirstamp) gdimagestring16/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagestring16/$(DEPDIR) @: > gdimagestring16/$(DEPDIR)/$(am__dirstamp) gdimagestring16/gdimagestring16.$(OBJEXT): \ gdimagestring16/$(am__dirstamp) \ gdimagestring16/$(DEPDIR)/$(am__dirstamp) gdimagestring16/gdimagestring16$(EXEEXT): $(gdimagestring16_gdimagestring16_OBJECTS) $(gdimagestring16_gdimagestring16_DEPENDENCIES) $(EXTRA_gdimagestring16_gdimagestring16_DEPENDENCIES) gdimagestring16/$(am__dirstamp) @rm -f gdimagestring16/gdimagestring16$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagestring16_gdimagestring16_OBJECTS) $(gdimagestring16_gdimagestring16_LDADD) $(LIBS) gdimagestringft/$(am__dirstamp): @$(MKDIR_P) gdimagestringft @: > gdimagestringft/$(am__dirstamp) gdimagestringft/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagestringft/$(DEPDIR) @: > gdimagestringft/$(DEPDIR)/$(am__dirstamp) gdimagestringft/gdimagestringft_bbox.$(OBJEXT): \ gdimagestringft/$(am__dirstamp) \ gdimagestringft/$(DEPDIR)/$(am__dirstamp) gdimagestringft/gdimagestringft_bbox$(EXEEXT): $(gdimagestringft_gdimagestringft_bbox_OBJECTS) $(gdimagestringft_gdimagestringft_bbox_DEPENDENCIES) $(EXTRA_gdimagestringft_gdimagestringft_bbox_DEPENDENCIES) gdimagestringft/$(am__dirstamp) @rm -f gdimagestringft/gdimagestringft_bbox$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagestringft_gdimagestringft_bbox_OBJECTS) $(gdimagestringft_gdimagestringft_bbox_LDADD) $(LIBS) gdimagestringftex/$(am__dirstamp): @$(MKDIR_P) gdimagestringftex @: > gdimagestringftex/$(am__dirstamp) gdimagestringftex/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagestringftex/$(DEPDIR) @: > gdimagestringftex/$(DEPDIR)/$(am__dirstamp) gdimagestringftex/gdimagestringftex_returnfontpathname.$(OBJEXT): \ gdimagestringftex/$(am__dirstamp) \ gdimagestringftex/$(DEPDIR)/$(am__dirstamp) gdimagestringftex/gdimagestringftex_returnfontpathname$(EXEEXT): $(gdimagestringftex_gdimagestringftex_returnfontpathname_OBJECTS) $(gdimagestringftex_gdimagestringftex_returnfontpathname_DEPENDENCIES) $(EXTRA_gdimagestringftex_gdimagestringftex_returnfontpathname_DEPENDENCIES) gdimagestringftex/$(am__dirstamp) @rm -f gdimagestringftex/gdimagestringftex_returnfontpathname$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagestringftex_gdimagestringftex_returnfontpathname_OBJECTS) $(gdimagestringftex_gdimagestringftex_returnfontpathname_LDADD) $(LIBS) gdimagestringup/$(am__dirstamp): @$(MKDIR_P) gdimagestringup @: > gdimagestringup/$(am__dirstamp) gdimagestringup/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagestringup/$(DEPDIR) @: > gdimagestringup/$(DEPDIR)/$(am__dirstamp) gdimagestringup/gdimagestringup.$(OBJEXT): \ gdimagestringup/$(am__dirstamp) \ gdimagestringup/$(DEPDIR)/$(am__dirstamp) gdimagestringup/gdimagestringup$(EXEEXT): $(gdimagestringup_gdimagestringup_OBJECTS) $(gdimagestringup_gdimagestringup_DEPENDENCIES) $(EXTRA_gdimagestringup_gdimagestringup_DEPENDENCIES) gdimagestringup/$(am__dirstamp) @rm -f gdimagestringup/gdimagestringup$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagestringup_gdimagestringup_OBJECTS) $(gdimagestringup_gdimagestringup_LDADD) $(LIBS) gdimagestringup16/$(am__dirstamp): @$(MKDIR_P) gdimagestringup16 @: > gdimagestringup16/$(am__dirstamp) gdimagestringup16/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagestringup16/$(DEPDIR) @: > gdimagestringup16/$(DEPDIR)/$(am__dirstamp) gdimagestringup16/gdimagestringup16.$(OBJEXT): \ gdimagestringup16/$(am__dirstamp) \ gdimagestringup16/$(DEPDIR)/$(am__dirstamp) gdimagestringup16/gdimagestringup16$(EXEEXT): $(gdimagestringup16_gdimagestringup16_OBJECTS) $(gdimagestringup16_gdimagestringup16_DEPENDENCIES) $(EXTRA_gdimagestringup16_gdimagestringup16_DEPENDENCIES) gdimagestringup16/$(am__dirstamp) @rm -f gdimagestringup16/gdimagestringup16$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagestringup16_gdimagestringup16_OBJECTS) $(gdimagestringup16_gdimagestringup16_LDADD) $(LIBS) gdimagetruecolortopalette/$(am__dirstamp): @$(MKDIR_P) gdimagetruecolortopalette @: > gdimagetruecolortopalette/$(am__dirstamp) gdimagetruecolortopalette/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdimagetruecolortopalette/$(DEPDIR) @: > gdimagetruecolortopalette/$(DEPDIR)/$(am__dirstamp) gdimagetruecolortopalette/bug00307.$(OBJEXT): \ gdimagetruecolortopalette/$(am__dirstamp) \ gdimagetruecolortopalette/$(DEPDIR)/$(am__dirstamp) gdimagetruecolortopalette/bug00307$(EXEEXT): $(gdimagetruecolortopalette_bug00307_OBJECTS) $(gdimagetruecolortopalette_bug00307_DEPENDENCIES) $(EXTRA_gdimagetruecolortopalette_bug00307_DEPENDENCIES) gdimagetruecolortopalette/$(am__dirstamp) @rm -f gdimagetruecolortopalette/bug00307$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagetruecolortopalette_bug00307_OBJECTS) $(gdimagetruecolortopalette_bug00307_LDADD) $(LIBS) gdimagetruecolortopalette/php_bug_67325.$(OBJEXT): \ gdimagetruecolortopalette/$(am__dirstamp) \ gdimagetruecolortopalette/$(DEPDIR)/$(am__dirstamp) gdimagetruecolortopalette/php_bug_67325$(EXEEXT): $(gdimagetruecolortopalette_php_bug_67325_OBJECTS) $(gdimagetruecolortopalette_php_bug_67325_DEPENDENCIES) $(EXTRA_gdimagetruecolortopalette_php_bug_67325_DEPENDENCIES) gdimagetruecolortopalette/$(am__dirstamp) @rm -f gdimagetruecolortopalette/php_bug_67325$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagetruecolortopalette_php_bug_67325_OBJECTS) $(gdimagetruecolortopalette_php_bug_67325_LDADD) $(LIBS) gdimagetruecolortopalette/php_bug_72512.$(OBJEXT): \ gdimagetruecolortopalette/$(am__dirstamp) \ gdimagetruecolortopalette/$(DEPDIR)/$(am__dirstamp) gdimagetruecolortopalette/php_bug_72512$(EXEEXT): $(gdimagetruecolortopalette_php_bug_72512_OBJECTS) $(gdimagetruecolortopalette_php_bug_72512_DEPENDENCIES) $(EXTRA_gdimagetruecolortopalette_php_bug_72512_DEPENDENCIES) gdimagetruecolortopalette/$(am__dirstamp) @rm -f gdimagetruecolortopalette/php_bug_72512$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdimagetruecolortopalette_php_bug_72512_OBJECTS) $(gdimagetruecolortopalette_php_bug_72512_LDADD) $(LIBS) gdinterpolatedscale/$(am__dirstamp): @$(MKDIR_P) gdinterpolatedscale @: > gdinterpolatedscale/$(am__dirstamp) gdinterpolatedscale/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdinterpolatedscale/$(DEPDIR) @: > gdinterpolatedscale/$(DEPDIR)/$(am__dirstamp) gdinterpolatedscale/gdModesAndPalettes.$(OBJEXT): \ gdinterpolatedscale/$(am__dirstamp) \ gdinterpolatedscale/$(DEPDIR)/$(am__dirstamp) gdinterpolatedscale/gdModesAndPalettes$(EXEEXT): $(gdinterpolatedscale_gdModesAndPalettes_OBJECTS) $(gdinterpolatedscale_gdModesAndPalettes_DEPENDENCIES) $(EXTRA_gdinterpolatedscale_gdModesAndPalettes_DEPENDENCIES) gdinterpolatedscale/$(am__dirstamp) @rm -f gdinterpolatedscale/gdModesAndPalettes$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdinterpolatedscale_gdModesAndPalettes_OBJECTS) $(gdinterpolatedscale_gdModesAndPalettes_LDADD) $(LIBS) gdinterpolatedscale/gdTrivialResize.$(OBJEXT): \ gdinterpolatedscale/$(am__dirstamp) \ gdinterpolatedscale/$(DEPDIR)/$(am__dirstamp) gdinterpolatedscale/gdTrivialResize$(EXEEXT): $(gdinterpolatedscale_gdTrivialResize_OBJECTS) $(gdinterpolatedscale_gdTrivialResize_DEPENDENCIES) $(EXTRA_gdinterpolatedscale_gdTrivialResize_DEPENDENCIES) gdinterpolatedscale/$(am__dirstamp) @rm -f gdinterpolatedscale/gdTrivialResize$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdinterpolatedscale_gdTrivialResize_OBJECTS) $(gdinterpolatedscale_gdTrivialResize_LDADD) $(LIBS) gdnewfilectx/$(am__dirstamp): @$(MKDIR_P) gdnewfilectx @: > gdnewfilectx/$(am__dirstamp) gdnewfilectx/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdnewfilectx/$(DEPDIR) @: > gdnewfilectx/$(DEPDIR)/$(am__dirstamp) gdnewfilectx/gdnewfilectx_null.$(OBJEXT): \ gdnewfilectx/$(am__dirstamp) \ gdnewfilectx/$(DEPDIR)/$(am__dirstamp) gdnewfilectx/gdnewfilectx_null$(EXEEXT): $(gdnewfilectx_gdnewfilectx_null_OBJECTS) $(gdnewfilectx_gdnewfilectx_null_DEPENDENCIES) $(EXTRA_gdnewfilectx_gdnewfilectx_null_DEPENDENCIES) gdnewfilectx/$(am__dirstamp) @rm -f gdnewfilectx/gdnewfilectx_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdnewfilectx_gdnewfilectx_null_OBJECTS) $(gdnewfilectx_gdnewfilectx_null_LDADD) $(LIBS) gdtiled/$(am__dirstamp): @$(MKDIR_P) gdtiled @: > gdtiled/$(am__dirstamp) gdtiled/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdtiled/$(DEPDIR) @: > gdtiled/$(DEPDIR)/$(am__dirstamp) gdtiled/bug00032.$(OBJEXT): gdtiled/$(am__dirstamp) \ gdtiled/$(DEPDIR)/$(am__dirstamp) gdtiled/bug00032$(EXEEXT): $(gdtiled_bug00032_OBJECTS) $(gdtiled_bug00032_DEPENDENCIES) $(EXTRA_gdtiled_bug00032_DEPENDENCIES) gdtiled/$(am__dirstamp) @rm -f gdtiled/bug00032$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtiled_bug00032_OBJECTS) $(gdtiled_bug00032_LDADD) $(LIBS) gdtransformaffineboundingbox/$(am__dirstamp): @$(MKDIR_P) gdtransformaffineboundingbox @: > gdtransformaffineboundingbox/$(am__dirstamp) gdtransformaffineboundingbox/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdtransformaffineboundingbox/$(DEPDIR) @: > gdtransformaffineboundingbox/$(DEPDIR)/$(am__dirstamp) gdtransformaffineboundingbox/github_bug_00221.$(OBJEXT): \ gdtransformaffineboundingbox/$(am__dirstamp) \ gdtransformaffineboundingbox/$(DEPDIR)/$(am__dirstamp) gdtransformaffineboundingbox/github_bug_00221$(EXEEXT): $(gdtransformaffineboundingbox_github_bug_00221_OBJECTS) $(gdtransformaffineboundingbox_github_bug_00221_DEPENDENCIES) $(EXTRA_gdtransformaffineboundingbox_github_bug_00221_DEPENDENCIES) gdtransformaffineboundingbox/$(am__dirstamp) @rm -f gdtransformaffineboundingbox/github_bug_00221$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtransformaffineboundingbox_github_bug_00221_OBJECTS) $(gdtransformaffineboundingbox_github_bug_00221_LDADD) $(LIBS) gdtransformaffinecopy/$(am__dirstamp): @$(MKDIR_P) gdtransformaffinecopy @: > gdtransformaffinecopy/$(am__dirstamp) gdtransformaffinecopy/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gdtransformaffinecopy/$(DEPDIR) @: > gdtransformaffinecopy/$(DEPDIR)/$(am__dirstamp) gdtransformaffinecopy/github_bug_00583.$(OBJEXT): \ gdtransformaffinecopy/$(am__dirstamp) \ gdtransformaffinecopy/$(DEPDIR)/$(am__dirstamp) gdtransformaffinecopy/github_bug_00583$(EXEEXT): $(gdtransformaffinecopy_github_bug_00583_OBJECTS) $(gdtransformaffinecopy_github_bug_00583_DEPENDENCIES) $(EXTRA_gdtransformaffinecopy_github_bug_00583_DEPENDENCIES) gdtransformaffinecopy/$(am__dirstamp) @rm -f gdtransformaffinecopy/github_bug_00583$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtransformaffinecopy_github_bug_00583_OBJECTS) $(gdtransformaffinecopy_github_bug_00583_LDADD) $(LIBS) gdtransformaffinecopy/github_bug_00585.$(OBJEXT): \ gdtransformaffinecopy/$(am__dirstamp) \ gdtransformaffinecopy/$(DEPDIR)/$(am__dirstamp) gdtransformaffinecopy/github_bug_00585$(EXEEXT): $(gdtransformaffinecopy_github_bug_00585_OBJECTS) $(gdtransformaffinecopy_github_bug_00585_DEPENDENCIES) $(EXTRA_gdtransformaffinecopy_github_bug_00585_DEPENDENCIES) gdtransformaffinecopy/$(am__dirstamp) @rm -f gdtransformaffinecopy/github_bug_00585$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtransformaffinecopy_github_bug_00585_OBJECTS) $(gdtransformaffinecopy_github_bug_00585_LDADD) $(LIBS) gdtransformaffinecopy/github_bug_00586.$(OBJEXT): \ gdtransformaffinecopy/$(am__dirstamp) \ gdtransformaffinecopy/$(DEPDIR)/$(am__dirstamp) gdtransformaffinecopy/github_bug_00586$(EXEEXT): $(gdtransformaffinecopy_github_bug_00586_OBJECTS) $(gdtransformaffinecopy_github_bug_00586_DEPENDENCIES) $(EXTRA_gdtransformaffinecopy_github_bug_00586_DEPENDENCIES) gdtransformaffinecopy/$(am__dirstamp) @rm -f gdtransformaffinecopy/github_bug_00586$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtransformaffinecopy_github_bug_00586_OBJECTS) $(gdtransformaffinecopy_github_bug_00586_LDADD) $(LIBS) gdtransformaffinecopy/github_bug_00596.$(OBJEXT): \ gdtransformaffinecopy/$(am__dirstamp) \ gdtransformaffinecopy/$(DEPDIR)/$(am__dirstamp) gdtransformaffinecopy/github_bug_00596$(EXEEXT): $(gdtransformaffinecopy_github_bug_00596_OBJECTS) $(gdtransformaffinecopy_github_bug_00596_DEPENDENCIES) $(EXTRA_gdtransformaffinecopy_github_bug_00596_DEPENDENCIES) gdtransformaffinecopy/$(am__dirstamp) @rm -f gdtransformaffinecopy/github_bug_00596$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtransformaffinecopy_github_bug_00596_OBJECTS) $(gdtransformaffinecopy_github_bug_00596_LDADD) $(LIBS) gif/$(am__dirstamp): @$(MKDIR_P) gif @: > gif/$(am__dirstamp) gif/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) gif/$(DEPDIR) @: > gif/$(DEPDIR)/$(am__dirstamp) gif/bug00005.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00005$(EXEEXT): $(gif_bug00005_OBJECTS) $(gif_bug00005_DEPENDENCIES) $(EXTRA_gif_bug00005_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00005$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00005_OBJECTS) $(gif_bug00005_LDADD) $(LIBS) gif/bug00005_2.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00005_2$(EXEEXT): $(gif_bug00005_2_OBJECTS) $(gif_bug00005_2_DEPENDENCIES) $(EXTRA_gif_bug00005_2_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00005_2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00005_2_OBJECTS) $(gif_bug00005_2_LDADD) $(LIBS) gif/bug00006.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00006$(EXEEXT): $(gif_bug00006_OBJECTS) $(gif_bug00006_DEPENDENCIES) $(EXTRA_gif_bug00006_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00006$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00006_OBJECTS) $(gif_bug00006_LDADD) $(LIBS) gif/bug00060.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00060$(EXEEXT): $(gif_bug00060_OBJECTS) $(gif_bug00060_DEPENDENCIES) $(EXTRA_gif_bug00060_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00060$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00060_OBJECTS) $(gif_bug00060_LDADD) $(LIBS) gif/bug00066.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00066$(EXEEXT): $(gif_bug00066_OBJECTS) $(gif_bug00066_DEPENDENCIES) $(EXTRA_gif_bug00066_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00066$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00066_OBJECTS) $(gif_bug00066_LDADD) $(LIBS) gif/bug00181.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00181$(EXEEXT): $(gif_bug00181_OBJECTS) $(gif_bug00181_DEPENDENCIES) $(EXTRA_gif_bug00181_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00181$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00181_OBJECTS) $(gif_bug00181_LDADD) $(LIBS) gif/bug00227.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00227$(EXEEXT): $(gif_bug00227_OBJECTS) $(gif_bug00227_DEPENDENCIES) $(EXTRA_gif_bug00227_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00227$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00227_OBJECTS) $(gif_bug00227_LDADD) $(LIBS) gif/bug00499.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/bug00499$(EXEEXT): $(gif_bug00499_OBJECTS) $(gif_bug00499_DEPENDENCIES) $(EXTRA_gif_bug00499_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/bug00499$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_bug00499_OBJECTS) $(gif_bug00499_LDADD) $(LIBS) gif/gif_im2im.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/gif_im2im$(EXEEXT): $(gif_gif_im2im_OBJECTS) $(gif_gif_im2im_DEPENDENCIES) $(EXTRA_gif_gif_im2im_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/gif_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_gif_im2im_OBJECTS) $(gif_gif_im2im_LDADD) $(LIBS) gif/gif_null.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/gif_null$(EXEEXT): $(gif_gif_null_OBJECTS) $(gif_gif_null_DEPENDENCIES) $(EXTRA_gif_gif_null_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/gif_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_gif_null_OBJECTS) $(gif_gif_null_LDADD) $(LIBS) gif/ossfuzz5700.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/ossfuzz5700$(EXEEXT): $(gif_ossfuzz5700_OBJECTS) $(gif_ossfuzz5700_DEPENDENCIES) $(EXTRA_gif_ossfuzz5700_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/ossfuzz5700$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_ossfuzz5700_OBJECTS) $(gif_ossfuzz5700_LDADD) $(LIBS) gif/php_bug_75571.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/php_bug_75571$(EXEEXT): $(gif_php_bug_75571_OBJECTS) $(gif_php_bug_75571_DEPENDENCIES) $(EXTRA_gif_php_bug_75571_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/php_bug_75571$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_php_bug_75571_OBJECTS) $(gif_php_bug_75571_LDADD) $(LIBS) gif/uninitialized_memory_read.$(OBJEXT): gif/$(am__dirstamp) \ gif/$(DEPDIR)/$(am__dirstamp) gif/uninitialized_memory_read$(EXEEXT): $(gif_uninitialized_memory_read_OBJECTS) $(gif_uninitialized_memory_read_DEPENDENCIES) $(EXTRA_gif_uninitialized_memory_read_DEPENDENCIES) gif/$(am__dirstamp) @rm -f gif/uninitialized_memory_read$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gif_uninitialized_memory_read_OBJECTS) $(gif_uninitialized_memory_read_LDADD) $(LIBS) jpeg/$(am__dirstamp): @$(MKDIR_P) jpeg @: > jpeg/$(am__dirstamp) jpeg/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) jpeg/$(DEPDIR) @: > jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/bug00338.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/bug00338$(EXEEXT): $(jpeg_bug00338_OBJECTS) $(jpeg_bug00338_DEPENDENCIES) $(EXTRA_jpeg_bug00338_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/bug00338$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_bug00338_OBJECTS) $(jpeg_bug00338_LDADD) $(LIBS) jpeg/bug_github_18.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/bug_github_18$(EXEEXT): $(jpeg_bug_github_18_OBJECTS) $(jpeg_bug_github_18_DEPENDENCIES) $(EXTRA_jpeg_bug_github_18_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/bug_github_18$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_bug_github_18_OBJECTS) $(jpeg_bug_github_18_LDADD) $(LIBS) jpeg/jpeg_empty_file.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/jpeg_empty_file$(EXEEXT): $(jpeg_jpeg_empty_file_OBJECTS) $(jpeg_jpeg_empty_file_DEPENDENCIES) $(EXTRA_jpeg_jpeg_empty_file_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/jpeg_empty_file$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_jpeg_empty_file_OBJECTS) $(jpeg_jpeg_empty_file_LDADD) $(LIBS) jpeg/jpeg_im2im.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/jpeg_im2im$(EXEEXT): $(jpeg_jpeg_im2im_OBJECTS) $(jpeg_jpeg_im2im_DEPENDENCIES) $(EXTRA_jpeg_jpeg_im2im_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/jpeg_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_jpeg_im2im_OBJECTS) $(jpeg_jpeg_im2im_LDADD) $(LIBS) jpeg/jpeg_null.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/jpeg_null$(EXEEXT): $(jpeg_jpeg_null_OBJECTS) $(jpeg_jpeg_null_DEPENDENCIES) $(EXTRA_jpeg_jpeg_null_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/jpeg_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_jpeg_null_OBJECTS) $(jpeg_jpeg_null_LDADD) $(LIBS) jpeg/jpeg_ptr_double_free.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/jpeg_ptr_double_free$(EXEEXT): $(jpeg_jpeg_ptr_double_free_OBJECTS) $(jpeg_jpeg_ptr_double_free_DEPENDENCIES) $(EXTRA_jpeg_jpeg_ptr_double_free_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/jpeg_ptr_double_free$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_jpeg_ptr_double_free_OBJECTS) $(jpeg_jpeg_ptr_double_free_LDADD) $(LIBS) jpeg/jpeg_read.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/jpeg_read$(EXEEXT): $(jpeg_jpeg_read_OBJECTS) $(jpeg_jpeg_read_DEPENDENCIES) $(EXTRA_jpeg_jpeg_read_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/jpeg_read$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_jpeg_read_OBJECTS) $(jpeg_jpeg_read_LDADD) $(LIBS) jpeg/jpeg_resolution.$(OBJEXT): jpeg/$(am__dirstamp) \ jpeg/$(DEPDIR)/$(am__dirstamp) jpeg/jpeg_resolution$(EXEEXT): $(jpeg_jpeg_resolution_OBJECTS) $(jpeg_jpeg_resolution_DEPENDENCIES) $(EXTRA_jpeg_jpeg_resolution_DEPENDENCIES) jpeg/$(am__dirstamp) @rm -f jpeg/jpeg_resolution$(EXEEXT) $(AM_V_CCLD)$(LINK) $(jpeg_jpeg_resolution_OBJECTS) $(jpeg_jpeg_resolution_LDADD) $(LIBS) png/$(am__dirstamp): @$(MKDIR_P) png @: > png/$(am__dirstamp) png/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) png/$(DEPDIR) @: > png/$(DEPDIR)/$(am__dirstamp) png/bug00011.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00011$(EXEEXT): $(png_bug00011_OBJECTS) $(png_bug00011_DEPENDENCIES) $(EXTRA_png_bug00011_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00011$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00011_OBJECTS) $(png_bug00011_LDADD) $(LIBS) png/bug00033.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00033$(EXEEXT): $(png_bug00033_OBJECTS) $(png_bug00033_DEPENDENCIES) $(EXTRA_png_bug00033_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00033$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00033_OBJECTS) $(png_bug00033_LDADD) $(LIBS) png/bug00086.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00086$(EXEEXT): $(png_bug00086_OBJECTS) $(png_bug00086_DEPENDENCIES) $(EXTRA_png_bug00086_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00086$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00086_OBJECTS) $(png_bug00086_LDADD) $(LIBS) png/bug00088.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00088$(EXEEXT): $(png_bug00088_OBJECTS) $(png_bug00088_DEPENDENCIES) $(EXTRA_png_bug00088_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00088$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00088_OBJECTS) $(png_bug00088_LDADD) $(LIBS) png/bug00193.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00193$(EXEEXT): $(png_bug00193_OBJECTS) $(png_bug00193_DEPENDENCIES) $(EXTRA_png_bug00193_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00193$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00193_OBJECTS) $(png_bug00193_LDADD) $(LIBS) png/bug00338.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00338$(EXEEXT): $(png_bug00338_OBJECTS) $(png_bug00338_DEPENDENCIES) $(EXTRA_png_bug00338_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00338$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00338_OBJECTS) $(png_bug00338_LDADD) $(LIBS) png/bug00381_1.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00381_1$(EXEEXT): $(png_bug00381_1_OBJECTS) $(png_bug00381_1_DEPENDENCIES) $(EXTRA_png_bug00381_1_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00381_1$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00381_1_OBJECTS) $(png_bug00381_1_LDADD) $(LIBS) png/bug00381_2.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/bug00381_2$(EXEEXT): $(png_bug00381_2_OBJECTS) $(png_bug00381_2_DEPENDENCIES) $(EXTRA_png_bug00381_2_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/bug00381_2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_bug00381_2_OBJECTS) $(png_bug00381_2_LDADD) $(LIBS) png/png_im2im.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/png_im2im$(EXEEXT): $(png_png_im2im_OBJECTS) $(png_png_im2im_DEPENDENCIES) $(EXTRA_png_png_im2im_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/png_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_png_im2im_OBJECTS) $(png_png_im2im_LDADD) $(LIBS) png/png_null.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/png_null$(EXEEXT): $(png_png_null_OBJECTS) $(png_png_null_DEPENDENCIES) $(EXTRA_png_png_null_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/png_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_png_null_OBJECTS) $(png_png_null_LDADD) $(LIBS) png/png_resolution.$(OBJEXT): png/$(am__dirstamp) \ png/$(DEPDIR)/$(am__dirstamp) png/png_resolution$(EXEEXT): $(png_png_resolution_OBJECTS) $(png_png_resolution_DEPENDENCIES) $(EXTRA_png_png_resolution_DEPENDENCIES) png/$(am__dirstamp) @rm -f png/png_resolution$(EXEEXT) $(AM_V_CCLD)$(LINK) $(png_png_resolution_OBJECTS) $(png_png_resolution_LDADD) $(LIBS) tga/$(am__dirstamp): @$(MKDIR_P) tga @: > tga/$(am__dirstamp) tga/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) tga/$(DEPDIR) @: > tga/$(DEPDIR)/$(am__dirstamp) tga/bug00084.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/bug00084$(EXEEXT): $(tga_bug00084_OBJECTS) $(tga_bug00084_DEPENDENCIES) $(EXTRA_tga_bug00084_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/bug00084$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_bug00084_OBJECTS) $(tga_bug00084_LDADD) $(LIBS) tga/bug00247.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/bug00247$(EXEEXT): $(tga_bug00247_OBJECTS) $(tga_bug00247_DEPENDENCIES) $(EXTRA_tga_bug00247_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/bug00247$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_bug00247_OBJECTS) $(tga_bug00247_LDADD) $(LIBS) tga/bug00247a.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/bug00247a$(EXEEXT): $(tga_bug00247a_OBJECTS) $(tga_bug00247a_DEPENDENCIES) $(EXTRA_tga_bug00247a_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/bug00247a$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_bug00247a_OBJECTS) $(tga_bug00247a_LDADD) $(LIBS) tga/bug00248.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/bug00248$(EXEEXT): $(tga_bug00248_OBJECTS) $(tga_bug00248_DEPENDENCIES) $(EXTRA_tga_bug00248_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/bug00248$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_bug00248_OBJECTS) $(tga_bug00248_LDADD) $(LIBS) tga/bug00248a.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/bug00248a$(EXEEXT): $(tga_bug00248a_OBJECTS) $(tga_bug00248a_DEPENDENCIES) $(EXTRA_tga_bug00248a_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/bug00248a$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_bug00248a_OBJECTS) $(tga_bug00248a_LDADD) $(LIBS) tga/heap_overflow.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/heap_overflow$(EXEEXT): $(tga_heap_overflow_OBJECTS) $(tga_heap_overflow_DEPENDENCIES) $(EXTRA_tga_heap_overflow_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/heap_overflow$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_heap_overflow_OBJECTS) $(tga_heap_overflow_LDADD) $(LIBS) tga/tga_null.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/tga_null$(EXEEXT): $(tga_tga_null_OBJECTS) $(tga_tga_null_DEPENDENCIES) $(EXTRA_tga_tga_null_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/tga_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_tga_null_OBJECTS) $(tga_tga_null_LDADD) $(LIBS) tga/tga_read.$(OBJEXT): tga/$(am__dirstamp) \ tga/$(DEPDIR)/$(am__dirstamp) tga/tga_read$(EXEEXT): $(tga_tga_read_OBJECTS) $(tga_tga_read_DEPENDENCIES) $(EXTRA_tga_tga_read_DEPENDENCIES) tga/$(am__dirstamp) @rm -f tga/tga_read$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tga_tga_read_OBJECTS) $(tga_tga_read_LDADD) $(LIBS) tiff/$(am__dirstamp): @$(MKDIR_P) tiff @: > tiff/$(am__dirstamp) tiff/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) tiff/$(DEPDIR) @: > tiff/$(DEPDIR)/$(am__dirstamp) tiff/tiff_dpi.$(OBJEXT): tiff/$(am__dirstamp) \ tiff/$(DEPDIR)/$(am__dirstamp) tiff/tiff_dpi$(EXEEXT): $(tiff_tiff_dpi_OBJECTS) $(tiff_tiff_dpi_DEPENDENCIES) $(EXTRA_tiff_tiff_dpi_DEPENDENCIES) tiff/$(am__dirstamp) @rm -f tiff/tiff_dpi$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tiff_tiff_dpi_OBJECTS) $(tiff_tiff_dpi_LDADD) $(LIBS) tiff/tiff_im2im.$(OBJEXT): tiff/$(am__dirstamp) \ tiff/$(DEPDIR)/$(am__dirstamp) tiff/tiff_im2im$(EXEEXT): $(tiff_tiff_im2im_OBJECTS) $(tiff_tiff_im2im_DEPENDENCIES) $(EXTRA_tiff_tiff_im2im_DEPENDENCIES) tiff/$(am__dirstamp) @rm -f tiff/tiff_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tiff_tiff_im2im_OBJECTS) $(tiff_tiff_im2im_LDADD) $(LIBS) tiff/tiff_invalid_read.$(OBJEXT): tiff/$(am__dirstamp) \ tiff/$(DEPDIR)/$(am__dirstamp) tiff/tiff_invalid_read$(EXEEXT): $(tiff_tiff_invalid_read_OBJECTS) $(tiff_tiff_invalid_read_DEPENDENCIES) $(EXTRA_tiff_tiff_invalid_read_DEPENDENCIES) tiff/$(am__dirstamp) @rm -f tiff/tiff_invalid_read$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tiff_tiff_invalid_read_OBJECTS) $(tiff_tiff_invalid_read_LDADD) $(LIBS) tiff/tiff_null.$(OBJEXT): tiff/$(am__dirstamp) \ tiff/$(DEPDIR)/$(am__dirstamp) tiff/tiff_null$(EXEEXT): $(tiff_tiff_null_OBJECTS) $(tiff_tiff_null_DEPENDENCIES) $(EXTRA_tiff_tiff_null_DEPENDENCIES) tiff/$(am__dirstamp) @rm -f tiff/tiff_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tiff_tiff_null_OBJECTS) $(tiff_tiff_null_LDADD) $(LIBS) tiff/tiff_read_bw.$(OBJEXT): tiff/$(am__dirstamp) \ tiff/$(DEPDIR)/$(am__dirstamp) tiff/tiff_read_bw$(EXEEXT): $(tiff_tiff_read_bw_OBJECTS) $(tiff_tiff_read_bw_DEPENDENCIES) $(EXTRA_tiff_tiff_read_bw_DEPENDENCIES) tiff/$(am__dirstamp) @rm -f tiff/tiff_read_bw$(EXEEXT) $(AM_V_CCLD)$(LINK) $(tiff_tiff_read_bw_OBJECTS) $(tiff_tiff_read_bw_LDADD) $(LIBS) wbmp/$(am__dirstamp): @$(MKDIR_P) wbmp @: > wbmp/$(am__dirstamp) wbmp/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) wbmp/$(DEPDIR) @: > wbmp/$(DEPDIR)/$(am__dirstamp) wbmp/wbmp_im2im.$(OBJEXT): wbmp/$(am__dirstamp) \ wbmp/$(DEPDIR)/$(am__dirstamp) wbmp/wbmp_im2im$(EXEEXT): $(wbmp_wbmp_im2im_OBJECTS) $(wbmp_wbmp_im2im_DEPENDENCIES) $(EXTRA_wbmp_wbmp_im2im_DEPENDENCIES) wbmp/$(am__dirstamp) @rm -f wbmp/wbmp_im2im$(EXEEXT) $(AM_V_CCLD)$(LINK) $(wbmp_wbmp_im2im_OBJECTS) $(wbmp_wbmp_im2im_LDADD) $(LIBS) wbmp/wbmp_null.$(OBJEXT): wbmp/$(am__dirstamp) \ wbmp/$(DEPDIR)/$(am__dirstamp) wbmp/wbmp_null$(EXEEXT): $(wbmp_wbmp_null_OBJECTS) $(wbmp_wbmp_null_DEPENDENCIES) $(EXTRA_wbmp_wbmp_null_DEPENDENCIES) wbmp/$(am__dirstamp) @rm -f wbmp/wbmp_null$(EXEEXT) $(AM_V_CCLD)$(LINK) $(wbmp_wbmp_null_OBJECTS) $(wbmp_wbmp_null_LDADD) $(LIBS) webp/$(am__dirstamp): @$(MKDIR_P) webp @: > webp/$(am__dirstamp) webp/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) webp/$(DEPDIR) @: > webp/$(DEPDIR)/$(am__dirstamp) webp/bug00111.$(OBJEXT): webp/$(am__dirstamp) \ webp/$(DEPDIR)/$(am__dirstamp) webp/bug00111$(EXEEXT): $(webp_bug00111_OBJECTS) $(webp_bug00111_DEPENDENCIES) $(EXTRA_webp_bug00111_DEPENDENCIES) webp/$(am__dirstamp) @rm -f webp/bug00111$(EXEEXT) $(AM_V_CCLD)$(LINK) $(webp_bug00111_OBJECTS) $(webp_bug00111_LDADD) $(LIBS) webp/bug_double_free.$(OBJEXT): webp/$(am__dirstamp) \ webp/$(DEPDIR)/$(am__dirstamp) webp/bug_double_free$(EXEEXT): $(webp_bug_double_free_OBJECTS) $(webp_bug_double_free_DEPENDENCIES) $(EXTRA_webp_bug_double_free_DEPENDENCIES) webp/$(am__dirstamp) @rm -f webp/bug_double_free$(EXEEXT) $(AM_V_CCLD)$(LINK) $(webp_bug_double_free_OBJECTS) $(webp_bug_double_free_LDADD) $(LIBS) webp/gdImageWebpEx.$(OBJEXT): webp/$(am__dirstamp) \ webp/$(DEPDIR)/$(am__dirstamp) webp/gdImageWebpEx$(EXEEXT): $(webp_gdImageWebpEx_OBJECTS) $(webp_gdImageWebpEx_DEPENDENCIES) $(EXTRA_webp_gdImageWebpEx_DEPENDENCIES) webp/$(am__dirstamp) @rm -f webp/gdImageWebpEx$(EXEEXT) $(AM_V_CCLD)$(LINK) $(webp_gdImageWebpEx_OBJECTS) $(webp_gdImageWebpEx_LDADD) $(LIBS) xbm/$(am__dirstamp): @$(MKDIR_P) xbm @: > xbm/$(am__dirstamp) xbm/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) xbm/$(DEPDIR) @: > xbm/$(DEPDIR)/$(am__dirstamp) xbm/github_bug_109.$(OBJEXT): xbm/$(am__dirstamp) \ xbm/$(DEPDIR)/$(am__dirstamp) xbm/github_bug_109$(EXEEXT): $(xbm_github_bug_109_OBJECTS) $(xbm_github_bug_109_DEPENDENCIES) $(EXTRA_xbm_github_bug_109_DEPENDENCIES) xbm/$(am__dirstamp) @rm -f xbm/github_bug_109$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xbm_github_bug_109_OBJECTS) $(xbm_github_bug_109_LDADD) $(LIBS) xbm/github_bug_170.$(OBJEXT): xbm/$(am__dirstamp) \ xbm/$(DEPDIR)/$(am__dirstamp) xbm/github_bug_170$(EXEEXT): $(xbm_github_bug_170_OBJECTS) $(xbm_github_bug_170_DEPENDENCIES) $(EXTRA_xbm_github_bug_170_DEPENDENCIES) xbm/$(am__dirstamp) @rm -f xbm/github_bug_170$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xbm_github_bug_170_OBJECTS) $(xbm_github_bug_170_LDADD) $(LIBS) xbm/github_bug_501.$(OBJEXT): xbm/$(am__dirstamp) \ xbm/$(DEPDIR)/$(am__dirstamp) xbm/github_bug_501$(EXEEXT): $(xbm_github_bug_501_OBJECTS) $(xbm_github_bug_501_DEPENDENCIES) $(EXTRA_xbm_github_bug_501_DEPENDENCIES) xbm/$(am__dirstamp) @rm -f xbm/github_bug_501$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xbm_github_bug_501_OBJECTS) $(xbm_github_bug_501_LDADD) $(LIBS) xbm/x10_basic_read.$(OBJEXT): xbm/$(am__dirstamp) \ xbm/$(DEPDIR)/$(am__dirstamp) xbm/x10_basic_read$(EXEEXT): $(xbm_x10_basic_read_OBJECTS) $(xbm_x10_basic_read_DEPENDENCIES) $(EXTRA_xbm_x10_basic_read_DEPENDENCIES) xbm/$(am__dirstamp) @rm -f xbm/x10_basic_read$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xbm_x10_basic_read_OBJECTS) $(xbm_x10_basic_read_LDADD) $(LIBS) xpm/$(am__dirstamp): @$(MKDIR_P) xpm @: > xpm/$(am__dirstamp) xpm/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) xpm/$(DEPDIR) @: > xpm/$(DEPDIR)/$(am__dirstamp) xpm/bug00166.$(OBJEXT): xpm/$(am__dirstamp) \ xpm/$(DEPDIR)/$(am__dirstamp) xpm/bug00166$(EXEEXT): $(xpm_bug00166_OBJECTS) $(xpm_bug00166_DEPENDENCIES) $(EXTRA_xpm_bug00166_DEPENDENCIES) xpm/$(am__dirstamp) @rm -f xpm/bug00166$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xpm_bug00166_OBJECTS) $(xpm_bug00166_LDADD) $(LIBS) xpm/bug00185.$(OBJEXT): xpm/$(am__dirstamp) \ xpm/$(DEPDIR)/$(am__dirstamp) xpm/bug00185$(EXEEXT): $(xpm_bug00185_OBJECTS) $(xpm_bug00185_DEPENDENCIES) $(EXTRA_xpm_bug00185_DEPENDENCIES) xpm/$(am__dirstamp) @rm -f xpm/bug00185$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xpm_bug00185_OBJECTS) $(xpm_bug00185_LDADD) $(LIBS) xpm/color_name.$(OBJEXT): xpm/$(am__dirstamp) \ xpm/$(DEPDIR)/$(am__dirstamp) xpm/color_name$(EXEEXT): $(xpm_color_name_OBJECTS) $(xpm_color_name_DEPENDENCIES) $(EXTRA_xpm_color_name_DEPENDENCIES) xpm/$(am__dirstamp) @rm -f xpm/color_name$(EXEEXT) $(AM_V_CCLD)$(LINK) $(xpm_color_name_OBJECTS) $(xpm_color_name_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f bmp/*.$(OBJEXT) -rm -f fontconfig/*.$(OBJEXT) -rm -f freetype/*.$(OBJEXT) -rm -f gd/*.$(OBJEXT) -rm -f gd2/*.$(OBJEXT) -rm -f gdimagearc/*.$(OBJEXT) -rm -f gdimagebrightness/*.$(OBJEXT) -rm -f gdimageclone/*.$(OBJEXT) -rm -f gdimagecolor/*.$(OBJEXT) -rm -f gdimagecolorclosest/*.$(OBJEXT) -rm -f gdimagecolorclosesthwb/*.$(OBJEXT) -rm -f gdimagecolordeallocate/*.$(OBJEXT) -rm -f gdimagecolorexact/*.$(OBJEXT) -rm -f gdimagecolormatch/*.$(OBJEXT) -rm -f gdimagecolorreplace/*.$(OBJEXT) -rm -f gdimagecolorresolve/*.$(OBJEXT) -rm -f gdimagecolortransparent/*.$(OBJEXT) -rm -f gdimagecompare/*.$(OBJEXT) -rm -f gdimagecontrast/*.$(OBJEXT) -rm -f gdimageconvolution/*.$(OBJEXT) -rm -f gdimagecopy/*.$(OBJEXT) -rm -f gdimagecopymerge/*.$(OBJEXT) -rm -f gdimagecopymergegray/*.$(OBJEXT) -rm -f gdimagecopyresampled/*.$(OBJEXT) -rm -f gdimagecopyresized/*.$(OBJEXT) -rm -f gdimagecopyrotated/*.$(OBJEXT) -rm -f gdimagecreate/*.$(OBJEXT) -rm -f gdimagecrop/*.$(OBJEXT) -rm -f gdimageellipse/*.$(OBJEXT) -rm -f gdimagefile/*.$(OBJEXT) -rm -f gdimagefill/*.$(OBJEXT) -rm -f gdimagefilledarc/*.$(OBJEXT) -rm -f gdimagefilledellipse/*.$(OBJEXT) -rm -f gdimagefilledpolygon/*.$(OBJEXT) -rm -f gdimagefilledrectangle/*.$(OBJEXT) -rm -f gdimagefilltoborder/*.$(OBJEXT) -rm -f gdimagefilter/*.$(OBJEXT) -rm -f gdimageflip/*.$(OBJEXT) -rm -f gdimagegrayscale/*.$(OBJEXT) -rm -f gdimageline/*.$(OBJEXT) -rm -f gdimagenegate/*.$(OBJEXT) -rm -f gdimageopenpolygon/*.$(OBJEXT) -rm -f gdimagepixelate/*.$(OBJEXT) -rm -f gdimagepolygon/*.$(OBJEXT) -rm -f gdimagerectangle/*.$(OBJEXT) -rm -f gdimagerotate/*.$(OBJEXT) -rm -f gdimagescale/*.$(OBJEXT) -rm -f gdimagescatterex/*.$(OBJEXT) -rm -f gdimagesetinterpolationmethod/*.$(OBJEXT) -rm -f gdimagesetpixel/*.$(OBJEXT) -rm -f gdimagesquaretocircle/*.$(OBJEXT) -rm -f gdimagestring/*.$(OBJEXT) -rm -f gdimagestring16/*.$(OBJEXT) -rm -f gdimagestringft/*.$(OBJEXT) -rm -f gdimagestringftex/*.$(OBJEXT) -rm -f gdimagestringup/*.$(OBJEXT) -rm -f gdimagestringup16/*.$(OBJEXT) -rm -f gdimagetruecolortopalette/*.$(OBJEXT) -rm -f gdinterpolatedscale/*.$(OBJEXT) -rm -f gdnewfilectx/*.$(OBJEXT) -rm -f gdtest/*.$(OBJEXT) -rm -f gdtiled/*.$(OBJEXT) -rm -f gdtransformaffineboundingbox/*.$(OBJEXT) -rm -f gdtransformaffinecopy/*.$(OBJEXT) -rm -f gif/*.$(OBJEXT) -rm -f jpeg/*.$(OBJEXT) -rm -f png/*.$(OBJEXT) -rm -f tga/*.$(OBJEXT) -rm -f tiff/*.$(OBJEXT) -rm -f wbmp/*.$(OBJEXT) -rm -f webp/*.$(OBJEXT) -rm -f xbm/*.$(OBJEXT) -rm -f xpm/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgdtest_a-gdhelpers.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@bmp/$(DEPDIR)/bmp_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@bmp/$(DEPDIR)/bmp_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@bmp/$(DEPDIR)/bug00275.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@bmp/$(DEPDIR)/bug00276.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@bmp/$(DEPDIR)/bug00450.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@fontconfig/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@freetype/$(DEPDIR)/bug00132.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd/$(DEPDIR)/bug00383.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd/$(DEPDIR)/gd_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd/$(DEPDIR)/gd_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd/$(DEPDIR)/gd_num_colors.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd/$(DEPDIR)/gd_versiontest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/bug00209.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/bug00309.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/bug00354.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/bug00383.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/bug_289.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/createimagefromgd2part.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/createimagefromgd2partptr.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/gd2_empty_file.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/gd2_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/gd2_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/gd2_read.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/gd2_read_corrupt.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/php_bug_72339.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gd2/$(DEPDIR)/too_few_image_data.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagearc/$(DEPDIR)/bug00079.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagebrightness/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageclone/$(DEPDIR)/bug00300.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageclone/$(DEPDIR)/style.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolor/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolorclosest/$(DEPDIR)/gdimagecolorclosest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolorclosesthwb/$(DEPDIR)/gdImageColorClosestHWB.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolordeallocate/$(DEPDIR)/gdimagecolordeallocate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolorexact/$(DEPDIR)/gdimagecolorexact.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolormatch/$(DEPDIR)/cve_2019_6977.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolormatch/$(DEPDIR)/gdimagecolormatch.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolorreplace/$(DEPDIR)/gdimagecolorreplace.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolorresolve/$(DEPDIR)/gdimagecolorresolve.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecolortransparent/$(DEPDIR)/gdimagecolortransparent.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecompare/$(DEPDIR)/gdimagecompare.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecontrast/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageconvolution/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageconvolution/$(DEPDIR)/bug00369.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopy/$(DEPDIR)/bug00007.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopy/$(DEPDIR)/bug00081.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopymerge/$(DEPDIR)/gdimagecopymerge.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopymergegray/$(DEPDIR)/gdimagecopymergegray.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopyresampled/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopyresampled/$(DEPDIR)/basic_alpha.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopyresampled/$(DEPDIR)/bug00201.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopyresampled/$(DEPDIR)/exact_alpha.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopyresized/$(DEPDIR)/gdimagecopyresized.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecopyrotated/$(DEPDIR)/bug00020.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecreate/$(DEPDIR)/bug00340.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecrop/$(DEPDIR)/bug00297.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecrop/$(DEPDIR)/bug00432.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecrop/$(DEPDIR)/bug00485_auto.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecrop/$(DEPDIR)/bug00485_threshold.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecrop/$(DEPDIR)/bug00486.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagecrop/$(DEPDIR)/php_bug_72494.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageellipse/$(DEPDIR)/bug00169.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefile/$(DEPDIR)/gdnametest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefill/$(DEPDIR)/bug00002_1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefill/$(DEPDIR)/bug00002_2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefill/$(DEPDIR)/bug00002_3.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefill/$(DEPDIR)/bug00002_4.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefill/$(DEPDIR)/bug00104_1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledarc/$(DEPDIR)/bug00351.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledarc/$(DEPDIR)/php_bug43828.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledellipse/$(DEPDIR)/bug00010.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledellipse/$(DEPDIR)/bug00169.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledellipse/$(DEPDIR)/bug00191.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledellipse/$(DEPDIR)/github_bug_00238.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledpolygon/$(DEPDIR)/bug00100.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledpolygon/$(DEPDIR)/gdimagefilledpolygon0.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledpolygon/$(DEPDIR)/gdimagefilledpolygon1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledpolygon/$(DEPDIR)/gdimagefilledpolygon2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledpolygon/$(DEPDIR)/gdimagefilledpolygon3.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledpolygon/$(DEPDIR)/php_bug_64641.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledpolygon/$(DEPDIR)/self_intersecting.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledrectangle/$(DEPDIR)/bug00004.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledrectangle/$(DEPDIR)/bug00078.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilledrectangle/$(DEPDIR)/bug00106_gdimagefilledrectangle.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilltoborder/$(DEPDIR)/bug00037.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilltoborder/$(DEPDIR)/github_bug_215.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagefilter/$(DEPDIR)/gdCopyBlurred.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageflip/$(DEPDIR)/gdimageflip.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagegrayscale/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagegrayscale/$(DEPDIR)/bug00386.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/bug00072.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/bug00077.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/bug00111.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/bug00315.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/gdImageAALine_thickness.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/gdimageline_aa.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/gdimageline_aa_outofrange.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/gdimageline_bug5.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageline/$(DEPDIR)/github_bug_167.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagenegate/$(DEPDIR)/basic.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageopenpolygon/$(DEPDIR)/gdimageopenpolygon0.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageopenpolygon/$(DEPDIR)/gdimageopenpolygon1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageopenpolygon/$(DEPDIR)/gdimageopenpolygon2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimageopenpolygon/$(DEPDIR)/gdimageopenpolygon3.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagepixelate/$(DEPDIR)/gdimagepixelate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagepolygon/$(DEPDIR)/gdimagepolygon0.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagepolygon/$(DEPDIR)/gdimagepolygon1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagepolygon/$(DEPDIR)/gdimagepolygon2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagepolygon/$(DEPDIR)/gdimagepolygon3.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerectangle/$(DEPDIR)/bug00003.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerectangle/$(DEPDIR)/bug00106_gdimagerectangle.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerectangle/$(DEPDIR)/bug00299.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerectangle/$(DEPDIR)/github_bug_00172.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerectangle/$(DEPDIR)/point_ordering.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerotate/$(DEPDIR)/bug00067.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerotate/$(DEPDIR)/php_bug_64898.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagerotate/$(DEPDIR)/php_bug_65070.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagescale/$(DEPDIR)/bug00329.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagescale/$(DEPDIR)/bug00330.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagescale/$(DEPDIR)/bug_overflow_large_new_size.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagescale/$(DEPDIR)/github_bug_00218.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagescatterex/$(DEPDIR)/bug00208_1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagescatterex/$(DEPDIR)/bug00208_2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagesetinterpolationmethod/$(DEPDIR)/github_bug_00584.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagesetpixel/$(DEPDIR)/alpha_blending.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagesetpixel/$(DEPDIR)/bug00186.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagesetpixel/$(DEPDIR)/gdeffectmultiply.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagesetpixel/$(DEPDIR)/gdeffectoverlay.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagesquaretocircle/$(DEPDIR)/gdimagesquaretocircle.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagestring/$(DEPDIR)/gdimagestring.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagestring16/$(DEPDIR)/gdimagestring16.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagestringft/$(DEPDIR)/gdimagestringft_bbox.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagestringftex/$(DEPDIR)/gdimagestringftex_returnfontpathname.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagestringup/$(DEPDIR)/gdimagestringup.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagestringup16/$(DEPDIR)/gdimagestringup16.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagetruecolortopalette/$(DEPDIR)/bug00307.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagetruecolortopalette/$(DEPDIR)/php_bug_67325.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdimagetruecolortopalette/$(DEPDIR)/php_bug_72512.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdinterpolatedscale/$(DEPDIR)/gdModesAndPalettes.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdinterpolatedscale/$(DEPDIR)/gdTrivialResize.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdnewfilectx/$(DEPDIR)/gdnewfilectx_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdtest/$(DEPDIR)/libgdtest_a-gdtest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdtiled/$(DEPDIR)/bug00032.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdtransformaffineboundingbox/$(DEPDIR)/github_bug_00221.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdtransformaffinecopy/$(DEPDIR)/github_bug_00583.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdtransformaffinecopy/$(DEPDIR)/github_bug_00585.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdtransformaffinecopy/$(DEPDIR)/github_bug_00586.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gdtransformaffinecopy/$(DEPDIR)/github_bug_00596.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00005.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00005_2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00006.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00060.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00066.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00181.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00227.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/bug00499.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/gif_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/gif_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/ossfuzz5700.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/php_bug_75571.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@gif/$(DEPDIR)/uninitialized_memory_read.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/bug00338.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/bug_github_18.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/jpeg_empty_file.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/jpeg_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/jpeg_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/jpeg_ptr_double_free.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/jpeg_read.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@jpeg/$(DEPDIR)/jpeg_resolution.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00011.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00033.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00086.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00088.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00193.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00338.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00381_1.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/bug00381_2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/png_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/png_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@png/$(DEPDIR)/png_resolution.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/bug00084.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/bug00247.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/bug00247a.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/bug00248.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/bug00248a.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/heap_overflow.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/tga_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tga/$(DEPDIR)/tga_read.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tiff/$(DEPDIR)/tiff_dpi.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tiff/$(DEPDIR)/tiff_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tiff/$(DEPDIR)/tiff_invalid_read.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tiff/$(DEPDIR)/tiff_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tiff/$(DEPDIR)/tiff_read_bw.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@wbmp/$(DEPDIR)/wbmp_im2im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@wbmp/$(DEPDIR)/wbmp_null.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@webp/$(DEPDIR)/bug00111.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@webp/$(DEPDIR)/bug_double_free.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@webp/$(DEPDIR)/gdImageWebpEx.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xbm/$(DEPDIR)/github_bug_109.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xbm/$(DEPDIR)/github_bug_170.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xbm/$(DEPDIR)/github_bug_501.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xbm/$(DEPDIR)/x10_basic_read.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xpm/$(DEPDIR)/bug00166.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xpm/$(DEPDIR)/bug00185.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xpm/$(DEPDIR)/color_name.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< gdtest/libgdtest_a-gdtest.o: gdtest/gdtest.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gdtest/libgdtest_a-gdtest.o -MD -MP -MF gdtest/$(DEPDIR)/libgdtest_a-gdtest.Tpo -c -o gdtest/libgdtest_a-gdtest.o `test -f 'gdtest/gdtest.c' || echo '$(srcdir)/'`gdtest/gdtest.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) gdtest/$(DEPDIR)/libgdtest_a-gdtest.Tpo gdtest/$(DEPDIR)/libgdtest_a-gdtest.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gdtest/gdtest.c' object='gdtest/libgdtest_a-gdtest.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gdtest/libgdtest_a-gdtest.o `test -f 'gdtest/gdtest.c' || echo '$(srcdir)/'`gdtest/gdtest.c gdtest/libgdtest_a-gdtest.obj: gdtest/gdtest.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT gdtest/libgdtest_a-gdtest.obj -MD -MP -MF gdtest/$(DEPDIR)/libgdtest_a-gdtest.Tpo -c -o gdtest/libgdtest_a-gdtest.obj `if test -f 'gdtest/gdtest.c'; then $(CYGPATH_W) 'gdtest/gdtest.c'; else $(CYGPATH_W) '$(srcdir)/gdtest/gdtest.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) gdtest/$(DEPDIR)/libgdtest_a-gdtest.Tpo gdtest/$(DEPDIR)/libgdtest_a-gdtest.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gdtest/gdtest.c' object='gdtest/libgdtest_a-gdtest.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gdtest/libgdtest_a-gdtest.obj `if test -f 'gdtest/gdtest.c'; then $(CYGPATH_W) 'gdtest/gdtest.c'; else $(CYGPATH_W) '$(srcdir)/gdtest/gdtest.c'; fi` libgdtest_a-gdhelpers.o: gdhelpers.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtest_a-gdhelpers.o -MD -MP -MF $(DEPDIR)/libgdtest_a-gdhelpers.Tpo -c -o libgdtest_a-gdhelpers.o `test -f 'gdhelpers.c' || echo '$(srcdir)/'`gdhelpers.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgdtest_a-gdhelpers.Tpo $(DEPDIR)/libgdtest_a-gdhelpers.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gdhelpers.c' object='libgdtest_a-gdhelpers.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtest_a-gdhelpers.o `test -f 'gdhelpers.c' || echo '$(srcdir)/'`gdhelpers.c libgdtest_a-gdhelpers.obj: gdhelpers.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtest_a-gdhelpers.obj -MD -MP -MF $(DEPDIR)/libgdtest_a-gdhelpers.Tpo -c -o libgdtest_a-gdhelpers.obj `if test -f 'gdhelpers.c'; then $(CYGPATH_W) 'gdhelpers.c'; else $(CYGPATH_W) '$(srcdir)/gdhelpers.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libgdtest_a-gdhelpers.Tpo $(DEPDIR)/libgdtest_a-gdhelpers.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='gdhelpers.c' object='libgdtest_a-gdhelpers.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtest_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtest_a-gdhelpers.obj `if test -f 'gdhelpers.c'; then $(CYGPATH_W) 'gdhelpers.c'; else $(CYGPATH_W) '$(srcdir)/gdhelpers.c'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs -rm -rf bmp/.libs bmp/_libs -rm -rf fontconfig/.libs fontconfig/_libs -rm -rf freetype/.libs freetype/_libs -rm -rf gd/.libs gd/_libs -rm -rf gd2/.libs gd2/_libs -rm -rf gdimagearc/.libs gdimagearc/_libs -rm -rf gdimagebrightness/.libs gdimagebrightness/_libs -rm -rf gdimageclone/.libs gdimageclone/_libs -rm -rf gdimagecolor/.libs gdimagecolor/_libs -rm -rf gdimagecolorclosest/.libs gdimagecolorclosest/_libs -rm -rf gdimagecolorclosesthwb/.libs gdimagecolorclosesthwb/_libs -rm -rf gdimagecolordeallocate/.libs gdimagecolordeallocate/_libs -rm -rf gdimagecolorexact/.libs gdimagecolorexact/_libs -rm -rf gdimagecolormatch/.libs gdimagecolormatch/_libs -rm -rf gdimagecolorreplace/.libs gdimagecolorreplace/_libs -rm -rf gdimagecolorresolve/.libs gdimagecolorresolve/_libs -rm -rf gdimagecolortransparent/.libs gdimagecolortransparent/_libs -rm -rf gdimagecompare/.libs gdimagecompare/_libs -rm -rf gdimagecontrast/.libs gdimagecontrast/_libs -rm -rf gdimageconvolution/.libs gdimageconvolution/_libs -rm -rf gdimagecopy/.libs gdimagecopy/_libs -rm -rf gdimagecopymerge/.libs gdimagecopymerge/_libs -rm -rf gdimagecopymergegray/.libs gdimagecopymergegray/_libs -rm -rf gdimagecopyresampled/.libs gdimagecopyresampled/_libs -rm -rf gdimagecopyresized/.libs gdimagecopyresized/_libs -rm -rf gdimagecopyrotated/.libs gdimagecopyrotated/_libs -rm -rf gdimagecreate/.libs gdimagecreate/_libs -rm -rf gdimagecrop/.libs gdimagecrop/_libs -rm -rf gdimageellipse/.libs gdimageellipse/_libs -rm -rf gdimagefile/.libs gdimagefile/_libs -rm -rf gdimagefill/.libs gdimagefill/_libs -rm -rf gdimagefilledarc/.libs gdimagefilledarc/_libs -rm -rf gdimagefilledellipse/.libs gdimagefilledellipse/_libs -rm -rf gdimagefilledpolygon/.libs gdimagefilledpolygon/_libs -rm -rf gdimagefilledrectangle/.libs gdimagefilledrectangle/_libs -rm -rf gdimagefilltoborder/.libs gdimagefilltoborder/_libs -rm -rf gdimagefilter/.libs gdimagefilter/_libs -rm -rf gdimageflip/.libs gdimageflip/_libs -rm -rf gdimagegrayscale/.libs gdimagegrayscale/_libs -rm -rf gdimageline/.libs gdimageline/_libs -rm -rf gdimagenegate/.libs gdimagenegate/_libs -rm -rf gdimageopenpolygon/.libs gdimageopenpolygon/_libs -rm -rf gdimagepixelate/.libs gdimagepixelate/_libs -rm -rf gdimagepolygon/.libs gdimagepolygon/_libs -rm -rf gdimagerectangle/.libs gdimagerectangle/_libs -rm -rf gdimagerotate/.libs gdimagerotate/_libs -rm -rf gdimagescale/.libs gdimagescale/_libs -rm -rf gdimagescatterex/.libs gdimagescatterex/_libs -rm -rf gdimagesetinterpolationmethod/.libs gdimagesetinterpolationmethod/_libs -rm -rf gdimagesetpixel/.libs gdimagesetpixel/_libs -rm -rf gdimagesquaretocircle/.libs gdimagesquaretocircle/_libs -rm -rf gdimagestring/.libs gdimagestring/_libs -rm -rf gdimagestring16/.libs gdimagestring16/_libs -rm -rf gdimagestringft/.libs gdimagestringft/_libs -rm -rf gdimagestringftex/.libs gdimagestringftex/_libs -rm -rf gdimagestringup/.libs gdimagestringup/_libs -rm -rf gdimagestringup16/.libs gdimagestringup16/_libs -rm -rf gdimagetruecolortopalette/.libs gdimagetruecolortopalette/_libs -rm -rf gdinterpolatedscale/.libs gdinterpolatedscale/_libs -rm -rf gdnewfilectx/.libs gdnewfilectx/_libs -rm -rf gdtiled/.libs gdtiled/_libs -rm -rf gdtransformaffineboundingbox/.libs gdtransformaffineboundingbox/_libs -rm -rf gdtransformaffinecopy/.libs gdtransformaffinecopy/_libs -rm -rf gif/.libs gif/_libs -rm -rf jpeg/.libs jpeg/_libs -rm -rf png/.libs png/_libs -rm -rf tga/.libs tga/_libs -rm -rf tiff/.libs tiff/_libs -rm -rf wbmp/.libs wbmp/_libs -rm -rf webp/.libs webp/_libs -rm -rf xbm/.libs xbm/_libs -rm -rf xpm/.libs xpm/_libs ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all $(check_LIBRARIES) $(check_PROGRAMS) @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? bmp/bmp_null.log: bmp/bmp_null$(EXEEXT) @p='bmp/bmp_null$(EXEEXT)'; \ b='bmp/bmp_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) bmp/bug00275.log: bmp/bug00275$(EXEEXT) @p='bmp/bug00275$(EXEEXT)'; \ b='bmp/bug00275'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) bmp/bug00450.log: bmp/bug00450$(EXEEXT) @p='bmp/bug00450$(EXEEXT)'; \ b='bmp/bug00450'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) bmp/bmp_im2im.log: bmp/bmp_im2im$(EXEEXT) @p='bmp/bmp_im2im$(EXEEXT)'; \ b='bmp/bmp_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) bmp/bug00276.log: bmp/bug00276$(EXEEXT) @p='bmp/bug00276$(EXEEXT)'; \ b='bmp/bug00276'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) fontconfig/basic.log: fontconfig/basic$(EXEEXT) @p='fontconfig/basic$(EXEEXT)'; \ b='fontconfig/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) freetype/bug00132.log: freetype/bug00132$(EXEEXT) @p='freetype/bug00132$(EXEEXT)'; \ b='freetype/bug00132'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd/gd_versiontest.log: gd/gd_versiontest$(EXEEXT) @p='gd/gd_versiontest$(EXEEXT)'; \ b='gd/gd_versiontest'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd/bug00383.log: gd/bug00383$(EXEEXT) @p='gd/bug00383$(EXEEXT)'; \ b='gd/bug00383'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd/gd_null.log: gd/gd_null$(EXEEXT) @p='gd/gd_null$(EXEEXT)'; \ b='gd/gd_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd/gd_num_colors.log: gd/gd_num_colors$(EXEEXT) @p='gd/gd_num_colors$(EXEEXT)'; \ b='gd/gd_num_colors'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd/gd_im2im.log: gd/gd_im2im$(EXEEXT) @p='gd/gd_im2im$(EXEEXT)'; \ b='gd/gd_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/bug_289.log: gd2/bug_289$(EXEEXT) @p='gd2/bug_289$(EXEEXT)'; \ b='gd2/bug_289'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/bug00209.log: gd2/bug00209$(EXEEXT) @p='gd2/bug00209$(EXEEXT)'; \ b='gd2/bug00209'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/bug00309.log: gd2/bug00309$(EXEEXT) @p='gd2/bug00309$(EXEEXT)'; \ b='gd2/bug00309'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/bug00354.log: gd2/bug00354$(EXEEXT) @p='gd2/bug00354$(EXEEXT)'; \ b='gd2/bug00354'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/bug00383.log: gd2/bug00383$(EXEEXT) @p='gd2/bug00383$(EXEEXT)'; \ b='gd2/bug00383'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/createimagefromgd2part.log: gd2/createimagefromgd2part$(EXEEXT) @p='gd2/createimagefromgd2part$(EXEEXT)'; \ b='gd2/createimagefromgd2part'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/createimagefromgd2partptr.log: gd2/createimagefromgd2partptr$(EXEEXT) @p='gd2/createimagefromgd2partptr$(EXEEXT)'; \ b='gd2/createimagefromgd2partptr'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/gd2_empty_file.log: gd2/gd2_empty_file$(EXEEXT) @p='gd2/gd2_empty_file$(EXEEXT)'; \ b='gd2/gd2_empty_file'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/php_bug_72339.log: gd2/php_bug_72339$(EXEEXT) @p='gd2/php_bug_72339$(EXEEXT)'; \ b='gd2/php_bug_72339'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/gd2_null.log: gd2/gd2_null$(EXEEXT) @p='gd2/gd2_null$(EXEEXT)'; \ b='gd2/gd2_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/gd2_read_corrupt.log: gd2/gd2_read_corrupt$(EXEEXT) @p='gd2/gd2_read_corrupt$(EXEEXT)'; \ b='gd2/gd2_read_corrupt'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/too_few_image_data.log: gd2/too_few_image_data$(EXEEXT) @p='gd2/too_few_image_data$(EXEEXT)'; \ b='gd2/too_few_image_data'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/gd2_im2im.log: gd2/gd2_im2im$(EXEEXT) @p='gd2/gd2_im2im$(EXEEXT)'; \ b='gd2/gd2_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gd2/gd2_read.log: gd2/gd2_read$(EXEEXT) @p='gd2/gd2_read$(EXEEXT)'; \ b='gd2/gd2_read'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagearc/bug00079.log: gdimagearc/bug00079$(EXEEXT) @p='gdimagearc/bug00079$(EXEEXT)'; \ b='gdimagearc/bug00079'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagebrightness/basic.log: gdimagebrightness/basic$(EXEEXT) @p='gdimagebrightness/basic$(EXEEXT)'; \ b='gdimagebrightness/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageclone/bug00300.log: gdimageclone/bug00300$(EXEEXT) @p='gdimageclone/bug00300$(EXEEXT)'; \ b='gdimageclone/bug00300'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageclone/style.log: gdimageclone/style$(EXEEXT) @p='gdimageclone/style$(EXEEXT)'; \ b='gdimageclone/style'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolor/basic.log: gdimagecolor/basic$(EXEEXT) @p='gdimagecolor/basic$(EXEEXT)'; \ b='gdimagecolor/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolorclosest/gdimagecolorclosest.log: gdimagecolorclosest/gdimagecolorclosest$(EXEEXT) @p='gdimagecolorclosest/gdimagecolorclosest$(EXEEXT)'; \ b='gdimagecolorclosest/gdimagecolorclosest'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolorclosesthwb/gdImageColorClosestHWB.log: gdimagecolorclosesthwb/gdImageColorClosestHWB$(EXEEXT) @p='gdimagecolorclosesthwb/gdImageColorClosestHWB$(EXEEXT)'; \ b='gdimagecolorclosesthwb/gdImageColorClosestHWB'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolordeallocate/gdimagecolordeallocate.log: gdimagecolordeallocate/gdimagecolordeallocate$(EXEEXT) @p='gdimagecolordeallocate/gdimagecolordeallocate$(EXEEXT)'; \ b='gdimagecolordeallocate/gdimagecolordeallocate'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolorexact/gdimagecolorexact.log: gdimagecolorexact/gdimagecolorexact$(EXEEXT) @p='gdimagecolorexact/gdimagecolorexact$(EXEEXT)'; \ b='gdimagecolorexact/gdimagecolorexact'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolormatch/cve_2019_6977.log: gdimagecolormatch/cve_2019_6977$(EXEEXT) @p='gdimagecolormatch/cve_2019_6977$(EXEEXT)'; \ b='gdimagecolormatch/cve_2019_6977'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolormatch/gdimagecolormatch.log: gdimagecolormatch/gdimagecolormatch$(EXEEXT) @p='gdimagecolormatch/gdimagecolormatch$(EXEEXT)'; \ b='gdimagecolormatch/gdimagecolormatch'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolorreplace/gdimagecolorreplace.log: gdimagecolorreplace/gdimagecolorreplace$(EXEEXT) @p='gdimagecolorreplace/gdimagecolorreplace$(EXEEXT)'; \ b='gdimagecolorreplace/gdimagecolorreplace'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolorresolve/gdimagecolorresolve.log: gdimagecolorresolve/gdimagecolorresolve$(EXEEXT) @p='gdimagecolorresolve/gdimagecolorresolve$(EXEEXT)'; \ b='gdimagecolorresolve/gdimagecolorresolve'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecolortransparent/gdimagecolortransparent.log: gdimagecolortransparent/gdimagecolortransparent$(EXEEXT) @p='gdimagecolortransparent/gdimagecolortransparent$(EXEEXT)'; \ b='gdimagecolortransparent/gdimagecolortransparent'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecompare/gdimagecompare.log: gdimagecompare/gdimagecompare$(EXEEXT) @p='gdimagecompare/gdimagecompare$(EXEEXT)'; \ b='gdimagecompare/gdimagecompare'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecontrast/basic.log: gdimagecontrast/basic$(EXEEXT) @p='gdimagecontrast/basic$(EXEEXT)'; \ b='gdimagecontrast/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageconvolution/bug00369.log: gdimageconvolution/bug00369$(EXEEXT) @p='gdimageconvolution/bug00369$(EXEEXT)'; \ b='gdimageconvolution/bug00369'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageconvolution/basic.log: gdimageconvolution/basic$(EXEEXT) @p='gdimageconvolution/basic$(EXEEXT)'; \ b='gdimageconvolution/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopy/bug00007.log: gdimagecopy/bug00007$(EXEEXT) @p='gdimagecopy/bug00007$(EXEEXT)'; \ b='gdimagecopy/bug00007'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopy/bug00081.log: gdimagecopy/bug00081$(EXEEXT) @p='gdimagecopy/bug00081$(EXEEXT)'; \ b='gdimagecopy/bug00081'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopymerge/gdimagecopymerge.log: gdimagecopymerge/gdimagecopymerge$(EXEEXT) @p='gdimagecopymerge/gdimagecopymerge$(EXEEXT)'; \ b='gdimagecopymerge/gdimagecopymerge'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopymergegray/gdimagecopymergegray.log: gdimagecopymergegray/gdimagecopymergegray$(EXEEXT) @p='gdimagecopymergegray/gdimagecopymergegray$(EXEEXT)'; \ b='gdimagecopymergegray/gdimagecopymergegray'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopyresampled/exact_alpha.log: gdimagecopyresampled/exact_alpha$(EXEEXT) @p='gdimagecopyresampled/exact_alpha$(EXEEXT)'; \ b='gdimagecopyresampled/exact_alpha'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopyresampled/basic.log: gdimagecopyresampled/basic$(EXEEXT) @p='gdimagecopyresampled/basic$(EXEEXT)'; \ b='gdimagecopyresampled/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopyresampled/basic_alpha.log: gdimagecopyresampled/basic_alpha$(EXEEXT) @p='gdimagecopyresampled/basic_alpha$(EXEEXT)'; \ b='gdimagecopyresampled/basic_alpha'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopyresampled/bug00201.log: gdimagecopyresampled/bug00201$(EXEEXT) @p='gdimagecopyresampled/bug00201$(EXEEXT)'; \ b='gdimagecopyresampled/bug00201'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopyresized/gdimagecopyresized.log: gdimagecopyresized/gdimagecopyresized$(EXEEXT) @p='gdimagecopyresized/gdimagecopyresized$(EXEEXT)'; \ b='gdimagecopyresized/gdimagecopyresized'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecopyrotated/bug00020.log: gdimagecopyrotated/bug00020$(EXEEXT) @p='gdimagecopyrotated/bug00020$(EXEEXT)'; \ b='gdimagecopyrotated/bug00020'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecreate/bug00340.log: gdimagecreate/bug00340$(EXEEXT) @p='gdimagecreate/bug00340$(EXEEXT)'; \ b='gdimagecreate/bug00340'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecrop/bug00297.log: gdimagecrop/bug00297$(EXEEXT) @p='gdimagecrop/bug00297$(EXEEXT)'; \ b='gdimagecrop/bug00297'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecrop/bug00432.log: gdimagecrop/bug00432$(EXEEXT) @p='gdimagecrop/bug00432$(EXEEXT)'; \ b='gdimagecrop/bug00432'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecrop/bug00485_auto.log: gdimagecrop/bug00485_auto$(EXEEXT) @p='gdimagecrop/bug00485_auto$(EXEEXT)'; \ b='gdimagecrop/bug00485_auto'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecrop/bug00485_threshold.log: gdimagecrop/bug00485_threshold$(EXEEXT) @p='gdimagecrop/bug00485_threshold$(EXEEXT)'; \ b='gdimagecrop/bug00485_threshold'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecrop/bug00486.log: gdimagecrop/bug00486$(EXEEXT) @p='gdimagecrop/bug00486$(EXEEXT)'; \ b='gdimagecrop/bug00486'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagecrop/php_bug_72494.log: gdimagecrop/php_bug_72494$(EXEEXT) @p='gdimagecrop/php_bug_72494$(EXEEXT)'; \ b='gdimagecrop/php_bug_72494'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefile/gdnametest.log: gdimagefile/gdnametest$(EXEEXT) @p='gdimagefile/gdnametest$(EXEEXT)'; \ b='gdimagefile/gdnametest'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefill/bug00002_1.log: gdimagefill/bug00002_1$(EXEEXT) @p='gdimagefill/bug00002_1$(EXEEXT)'; \ b='gdimagefill/bug00002_1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefill/bug00002_2.log: gdimagefill/bug00002_2$(EXEEXT) @p='gdimagefill/bug00002_2$(EXEEXT)'; \ b='gdimagefill/bug00002_2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefill/bug00002_3.log: gdimagefill/bug00002_3$(EXEEXT) @p='gdimagefill/bug00002_3$(EXEEXT)'; \ b='gdimagefill/bug00002_3'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefill/bug00002_4.log: gdimagefill/bug00002_4$(EXEEXT) @p='gdimagefill/bug00002_4$(EXEEXT)'; \ b='gdimagefill/bug00002_4'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefill/bug00104_1.log: gdimagefill/bug00104_1$(EXEEXT) @p='gdimagefill/bug00104_1$(EXEEXT)'; \ b='gdimagefill/bug00104_1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledarc/bug00351.log: gdimagefilledarc/bug00351$(EXEEXT) @p='gdimagefilledarc/bug00351$(EXEEXT)'; \ b='gdimagefilledarc/bug00351'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledarc/php_bug43828.log: gdimagefilledarc/php_bug43828$(EXEEXT) @p='gdimagefilledarc/php_bug43828$(EXEEXT)'; \ b='gdimagefilledarc/php_bug43828'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledellipse/bug00010.log: gdimagefilledellipse/bug00010$(EXEEXT) @p='gdimagefilledellipse/bug00010$(EXEEXT)'; \ b='gdimagefilledellipse/bug00010'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledellipse/bug00169.log: gdimagefilledellipse/bug00169$(EXEEXT) @p='gdimagefilledellipse/bug00169$(EXEEXT)'; \ b='gdimagefilledellipse/bug00169'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledellipse/bug00191.log: gdimagefilledellipse/bug00191$(EXEEXT) @p='gdimagefilledellipse/bug00191$(EXEEXT)'; \ b='gdimagefilledellipse/bug00191'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledellipse/github_bug_00238.log: gdimagefilledellipse/github_bug_00238$(EXEEXT) @p='gdimagefilledellipse/github_bug_00238$(EXEEXT)'; \ b='gdimagefilledellipse/github_bug_00238'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledpolygon/bug00100.log: gdimagefilledpolygon/bug00100$(EXEEXT) @p='gdimagefilledpolygon/bug00100$(EXEEXT)'; \ b='gdimagefilledpolygon/bug00100'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledpolygon/gdimagefilledpolygon0.log: gdimagefilledpolygon/gdimagefilledpolygon0$(EXEEXT) @p='gdimagefilledpolygon/gdimagefilledpolygon0$(EXEEXT)'; \ b='gdimagefilledpolygon/gdimagefilledpolygon0'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledpolygon/gdimagefilledpolygon1.log: gdimagefilledpolygon/gdimagefilledpolygon1$(EXEEXT) @p='gdimagefilledpolygon/gdimagefilledpolygon1$(EXEEXT)'; \ b='gdimagefilledpolygon/gdimagefilledpolygon1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledpolygon/gdimagefilledpolygon2.log: gdimagefilledpolygon/gdimagefilledpolygon2$(EXEEXT) @p='gdimagefilledpolygon/gdimagefilledpolygon2$(EXEEXT)'; \ b='gdimagefilledpolygon/gdimagefilledpolygon2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledpolygon/gdimagefilledpolygon3.log: gdimagefilledpolygon/gdimagefilledpolygon3$(EXEEXT) @p='gdimagefilledpolygon/gdimagefilledpolygon3$(EXEEXT)'; \ b='gdimagefilledpolygon/gdimagefilledpolygon3'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledpolygon/php_bug_64641.log: gdimagefilledpolygon/php_bug_64641$(EXEEXT) @p='gdimagefilledpolygon/php_bug_64641$(EXEEXT)'; \ b='gdimagefilledpolygon/php_bug_64641'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledpolygon/self_intersecting.log: gdimagefilledpolygon/self_intersecting$(EXEEXT) @p='gdimagefilledpolygon/self_intersecting$(EXEEXT)'; \ b='gdimagefilledpolygon/self_intersecting'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledrectangle/bug00004.log: gdimagefilledrectangle/bug00004$(EXEEXT) @p='gdimagefilledrectangle/bug00004$(EXEEXT)'; \ b='gdimagefilledrectangle/bug00004'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledrectangle/bug00078.log: gdimagefilledrectangle/bug00078$(EXEEXT) @p='gdimagefilledrectangle/bug00078$(EXEEXT)'; \ b='gdimagefilledrectangle/bug00078'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilledrectangle/bug00106_gdimagefilledrectangle.log: gdimagefilledrectangle/bug00106_gdimagefilledrectangle$(EXEEXT) @p='gdimagefilledrectangle/bug00106_gdimagefilledrectangle$(EXEEXT)'; \ b='gdimagefilledrectangle/bug00106_gdimagefilledrectangle'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilltoborder/bug00037.log: gdimagefilltoborder/bug00037$(EXEEXT) @p='gdimagefilltoborder/bug00037$(EXEEXT)'; \ b='gdimagefilltoborder/bug00037'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilltoborder/github_bug_215.log: gdimagefilltoborder/github_bug_215$(EXEEXT) @p='gdimagefilltoborder/github_bug_215$(EXEEXT)'; \ b='gdimagefilltoborder/github_bug_215'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagefilter/gdCopyBlurred.log: gdimagefilter/gdCopyBlurred$(EXEEXT) @p='gdimagefilter/gdCopyBlurred$(EXEEXT)'; \ b='gdimagefilter/gdCopyBlurred'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageflip/gdimageflip.log: gdimageflip/gdimageflip$(EXEEXT) @p='gdimageflip/gdimageflip$(EXEEXT)'; \ b='gdimageflip/gdimageflip'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageellipse/bug00169.log: gdimageellipse/bug00169$(EXEEXT) @p='gdimageellipse/bug00169$(EXEEXT)'; \ b='gdimageellipse/bug00169'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagegrayscale/basic.log: gdimagegrayscale/basic$(EXEEXT) @p='gdimagegrayscale/basic$(EXEEXT)'; \ b='gdimagegrayscale/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagegrayscale/bug00386.log: gdimagegrayscale/bug00386$(EXEEXT) @p='gdimagegrayscale/bug00386$(EXEEXT)'; \ b='gdimagegrayscale/bug00386'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/gdimageline_aa_outofrange.log: gdimageline/gdimageline_aa_outofrange$(EXEEXT) @p='gdimageline/gdimageline_aa_outofrange$(EXEEXT)'; \ b='gdimageline/gdimageline_aa_outofrange'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/bug00072.log: gdimageline/bug00072$(EXEEXT) @p='gdimageline/bug00072$(EXEEXT)'; \ b='gdimageline/bug00072'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/bug00077.log: gdimageline/bug00077$(EXEEXT) @p='gdimageline/bug00077$(EXEEXT)'; \ b='gdimageline/bug00077'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/bug00111.log: gdimageline/bug00111$(EXEEXT) @p='gdimageline/bug00111$(EXEEXT)'; \ b='gdimageline/bug00111'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/bug00315.log: gdimageline/bug00315$(EXEEXT) @p='gdimageline/bug00315$(EXEEXT)'; \ b='gdimageline/bug00315'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/gdimageline_aa.log: gdimageline/gdimageline_aa$(EXEEXT) @p='gdimageline/gdimageline_aa$(EXEEXT)'; \ b='gdimageline/gdimageline_aa'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/gdimageline_bug5.log: gdimageline/gdimageline_bug5$(EXEEXT) @p='gdimageline/gdimageline_bug5$(EXEEXT)'; \ b='gdimageline/gdimageline_bug5'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/gdImageAALine_thickness.log: gdimageline/gdImageAALine_thickness$(EXEEXT) @p='gdimageline/gdImageAALine_thickness$(EXEEXT)'; \ b='gdimageline/gdImageAALine_thickness'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageline/github_bug_167.log: gdimageline/github_bug_167$(EXEEXT) @p='gdimageline/github_bug_167$(EXEEXT)'; \ b='gdimageline/github_bug_167'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagenegate/basic.log: gdimagenegate/basic$(EXEEXT) @p='gdimagenegate/basic$(EXEEXT)'; \ b='gdimagenegate/basic'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageopenpolygon/gdimageopenpolygon0.log: gdimageopenpolygon/gdimageopenpolygon0$(EXEEXT) @p='gdimageopenpolygon/gdimageopenpolygon0$(EXEEXT)'; \ b='gdimageopenpolygon/gdimageopenpolygon0'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageopenpolygon/gdimageopenpolygon1.log: gdimageopenpolygon/gdimageopenpolygon1$(EXEEXT) @p='gdimageopenpolygon/gdimageopenpolygon1$(EXEEXT)'; \ b='gdimageopenpolygon/gdimageopenpolygon1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageopenpolygon/gdimageopenpolygon2.log: gdimageopenpolygon/gdimageopenpolygon2$(EXEEXT) @p='gdimageopenpolygon/gdimageopenpolygon2$(EXEEXT)'; \ b='gdimageopenpolygon/gdimageopenpolygon2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimageopenpolygon/gdimageopenpolygon3.log: gdimageopenpolygon/gdimageopenpolygon3$(EXEEXT) @p='gdimageopenpolygon/gdimageopenpolygon3$(EXEEXT)'; \ b='gdimageopenpolygon/gdimageopenpolygon3'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagepixelate/gdimagepixelate.log: gdimagepixelate/gdimagepixelate$(EXEEXT) @p='gdimagepixelate/gdimagepixelate$(EXEEXT)'; \ b='gdimagepixelate/gdimagepixelate'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagepolygon/gdimagepolygon0.log: gdimagepolygon/gdimagepolygon0$(EXEEXT) @p='gdimagepolygon/gdimagepolygon0$(EXEEXT)'; \ b='gdimagepolygon/gdimagepolygon0'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagepolygon/gdimagepolygon1.log: gdimagepolygon/gdimagepolygon1$(EXEEXT) @p='gdimagepolygon/gdimagepolygon1$(EXEEXT)'; \ b='gdimagepolygon/gdimagepolygon1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagepolygon/gdimagepolygon2.log: gdimagepolygon/gdimagepolygon2$(EXEEXT) @p='gdimagepolygon/gdimagepolygon2$(EXEEXT)'; \ b='gdimagepolygon/gdimagepolygon2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagepolygon/gdimagepolygon3.log: gdimagepolygon/gdimagepolygon3$(EXEEXT) @p='gdimagepolygon/gdimagepolygon3$(EXEEXT)'; \ b='gdimagepolygon/gdimagepolygon3'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerectangle/bug00003.log: gdimagerectangle/bug00003$(EXEEXT) @p='gdimagerectangle/bug00003$(EXEEXT)'; \ b='gdimagerectangle/bug00003'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerectangle/bug00106_gdimagerectangle.log: gdimagerectangle/bug00106_gdimagerectangle$(EXEEXT) @p='gdimagerectangle/bug00106_gdimagerectangle$(EXEEXT)'; \ b='gdimagerectangle/bug00106_gdimagerectangle'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerectangle/github_bug_00172.log: gdimagerectangle/github_bug_00172$(EXEEXT) @p='gdimagerectangle/github_bug_00172$(EXEEXT)'; \ b='gdimagerectangle/github_bug_00172'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerectangle/point_ordering.log: gdimagerectangle/point_ordering$(EXEEXT) @p='gdimagerectangle/point_ordering$(EXEEXT)'; \ b='gdimagerectangle/point_ordering'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerectangle/bug00299.log: gdimagerectangle/bug00299$(EXEEXT) @p='gdimagerectangle/bug00299$(EXEEXT)'; \ b='gdimagerectangle/bug00299'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerotate/bug00067.log: gdimagerotate/bug00067$(EXEEXT) @p='gdimagerotate/bug00067$(EXEEXT)'; \ b='gdimagerotate/bug00067'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerotate/php_bug_64898.log: gdimagerotate/php_bug_64898$(EXEEXT) @p='gdimagerotate/php_bug_64898$(EXEEXT)'; \ b='gdimagerotate/php_bug_64898'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagerotate/php_bug_65070.log: gdimagerotate/php_bug_65070$(EXEEXT) @p='gdimagerotate/php_bug_65070$(EXEEXT)'; \ b='gdimagerotate/php_bug_65070'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagescale/bug00329.log: gdimagescale/bug00329$(EXEEXT) @p='gdimagescale/bug00329$(EXEEXT)'; \ b='gdimagescale/bug00329'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagescale/bug00330.log: gdimagescale/bug00330$(EXEEXT) @p='gdimagescale/bug00330$(EXEEXT)'; \ b='gdimagescale/bug00330'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagescale/github_bug_00218.log: gdimagescale/github_bug_00218$(EXEEXT) @p='gdimagescale/github_bug_00218$(EXEEXT)'; \ b='gdimagescale/github_bug_00218'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagescale/bug_overflow_large_new_size.log: gdimagescale/bug_overflow_large_new_size$(EXEEXT) @p='gdimagescale/bug_overflow_large_new_size$(EXEEXT)'; \ b='gdimagescale/bug_overflow_large_new_size'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagescatterex/bug00208_1.log: gdimagescatterex/bug00208_1$(EXEEXT) @p='gdimagescatterex/bug00208_1$(EXEEXT)'; \ b='gdimagescatterex/bug00208_1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagescatterex/bug00208_2.log: gdimagescatterex/bug00208_2$(EXEEXT) @p='gdimagescatterex/bug00208_2$(EXEEXT)'; \ b='gdimagescatterex/bug00208_2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagesetinterpolationmethod/github_bug_00584.log: gdimagesetinterpolationmethod/github_bug_00584$(EXEEXT) @p='gdimagesetinterpolationmethod/github_bug_00584$(EXEEXT)'; \ b='gdimagesetinterpolationmethod/github_bug_00584'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagesetpixel/bug00186.log: gdimagesetpixel/bug00186$(EXEEXT) @p='gdimagesetpixel/bug00186$(EXEEXT)'; \ b='gdimagesetpixel/bug00186'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagesetpixel/gdeffectmultiply.log: gdimagesetpixel/gdeffectmultiply$(EXEEXT) @p='gdimagesetpixel/gdeffectmultiply$(EXEEXT)'; \ b='gdimagesetpixel/gdeffectmultiply'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagesetpixel/gdeffectoverlay.log: gdimagesetpixel/gdeffectoverlay$(EXEEXT) @p='gdimagesetpixel/gdeffectoverlay$(EXEEXT)'; \ b='gdimagesetpixel/gdeffectoverlay'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagesetpixel/alpha_blending.log: gdimagesetpixel/alpha_blending$(EXEEXT) @p='gdimagesetpixel/alpha_blending$(EXEEXT)'; \ b='gdimagesetpixel/alpha_blending'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagesquaretocircle/gdimagesquaretocircle.log: gdimagesquaretocircle/gdimagesquaretocircle$(EXEEXT) @p='gdimagesquaretocircle/gdimagesquaretocircle$(EXEEXT)'; \ b='gdimagesquaretocircle/gdimagesquaretocircle'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagestring/gdimagestring.log: gdimagestring/gdimagestring$(EXEEXT) @p='gdimagestring/gdimagestring$(EXEEXT)'; \ b='gdimagestring/gdimagestring'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagestring16/gdimagestring16.log: gdimagestring16/gdimagestring16$(EXEEXT) @p='gdimagestring16/gdimagestring16$(EXEEXT)'; \ b='gdimagestring16/gdimagestring16'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagestringft/gdimagestringft_bbox.log: gdimagestringft/gdimagestringft_bbox$(EXEEXT) @p='gdimagestringft/gdimagestringft_bbox$(EXEEXT)'; \ b='gdimagestringft/gdimagestringft_bbox'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagestringftex/gdimagestringftex_returnfontpathname.log: gdimagestringftex/gdimagestringftex_returnfontpathname$(EXEEXT) @p='gdimagestringftex/gdimagestringftex_returnfontpathname$(EXEEXT)'; \ b='gdimagestringftex/gdimagestringftex_returnfontpathname'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagestringup/gdimagestringup.log: gdimagestringup/gdimagestringup$(EXEEXT) @p='gdimagestringup/gdimagestringup$(EXEEXT)'; \ b='gdimagestringup/gdimagestringup'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagestringup16/gdimagestringup16.log: gdimagestringup16/gdimagestringup16$(EXEEXT) @p='gdimagestringup16/gdimagestringup16$(EXEEXT)'; \ b='gdimagestringup16/gdimagestringup16'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagetruecolortopalette/bug00307.log: gdimagetruecolortopalette/bug00307$(EXEEXT) @p='gdimagetruecolortopalette/bug00307$(EXEEXT)'; \ b='gdimagetruecolortopalette/bug00307'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagetruecolortopalette/php_bug_72512.log: gdimagetruecolortopalette/php_bug_72512$(EXEEXT) @p='gdimagetruecolortopalette/php_bug_72512$(EXEEXT)'; \ b='gdimagetruecolortopalette/php_bug_72512'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdimagetruecolortopalette/php_bug_67325.log: gdimagetruecolortopalette/php_bug_67325$(EXEEXT) @p='gdimagetruecolortopalette/php_bug_67325$(EXEEXT)'; \ b='gdimagetruecolortopalette/php_bug_67325'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdinterpolatedscale/gdModesAndPalettes.log: gdinterpolatedscale/gdModesAndPalettes$(EXEEXT) @p='gdinterpolatedscale/gdModesAndPalettes$(EXEEXT)'; \ b='gdinterpolatedscale/gdModesAndPalettes'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdinterpolatedscale/gdTrivialResize.log: gdinterpolatedscale/gdTrivialResize$(EXEEXT) @p='gdinterpolatedscale/gdTrivialResize$(EXEEXT)'; \ b='gdinterpolatedscale/gdTrivialResize'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdnewfilectx/gdnewfilectx_null.log: gdnewfilectx/gdnewfilectx_null$(EXEEXT) @p='gdnewfilectx/gdnewfilectx_null$(EXEEXT)'; \ b='gdnewfilectx/gdnewfilectx_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdtiled/bug00032.log: gdtiled/bug00032$(EXEEXT) @p='gdtiled/bug00032$(EXEEXT)'; \ b='gdtiled/bug00032'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdtransformaffineboundingbox/github_bug_00221.log: gdtransformaffineboundingbox/github_bug_00221$(EXEEXT) @p='gdtransformaffineboundingbox/github_bug_00221$(EXEEXT)'; \ b='gdtransformaffineboundingbox/github_bug_00221'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdtransformaffinecopy/github_bug_00583.log: gdtransformaffinecopy/github_bug_00583$(EXEEXT) @p='gdtransformaffinecopy/github_bug_00583$(EXEEXT)'; \ b='gdtransformaffinecopy/github_bug_00583'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdtransformaffinecopy/github_bug_00585.log: gdtransformaffinecopy/github_bug_00585$(EXEEXT) @p='gdtransformaffinecopy/github_bug_00585$(EXEEXT)'; \ b='gdtransformaffinecopy/github_bug_00585'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdtransformaffinecopy/github_bug_00586.log: gdtransformaffinecopy/github_bug_00586$(EXEEXT) @p='gdtransformaffinecopy/github_bug_00586$(EXEEXT)'; \ b='gdtransformaffinecopy/github_bug_00586'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gdtransformaffinecopy/github_bug_00596.log: gdtransformaffinecopy/github_bug_00596$(EXEEXT) @p='gdtransformaffinecopy/github_bug_00596$(EXEEXT)'; \ b='gdtransformaffinecopy/github_bug_00596'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00005_2.log: gif/bug00005_2$(EXEEXT) @p='gif/bug00005_2$(EXEEXT)'; \ b='gif/bug00005_2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00181.log: gif/bug00181$(EXEEXT) @p='gif/bug00181$(EXEEXT)'; \ b='gif/bug00181'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00227.log: gif/bug00227$(EXEEXT) @p='gif/bug00227$(EXEEXT)'; \ b='gif/bug00227'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00499.log: gif/bug00499$(EXEEXT) @p='gif/bug00499$(EXEEXT)'; \ b='gif/bug00499'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/gif_null.log: gif/gif_null$(EXEEXT) @p='gif/gif_null$(EXEEXT)'; \ b='gif/gif_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/ossfuzz5700.log: gif/ossfuzz5700$(EXEEXT) @p='gif/ossfuzz5700$(EXEEXT)'; \ b='gif/ossfuzz5700'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/php_bug_75571.log: gif/php_bug_75571$(EXEEXT) @p='gif/php_bug_75571$(EXEEXT)'; \ b='gif/php_bug_75571'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/uninitialized_memory_read.log: gif/uninitialized_memory_read$(EXEEXT) @p='gif/uninitialized_memory_read$(EXEEXT)'; \ b='gif/uninitialized_memory_read'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00006.log: gif/bug00006$(EXEEXT) @p='gif/bug00006$(EXEEXT)'; \ b='gif/bug00006'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00060.log: gif/bug00060$(EXEEXT) @p='gif/bug00060$(EXEEXT)'; \ b='gif/bug00060'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/gif_im2im.log: gif/gif_im2im$(EXEEXT) @p='gif/gif_im2im$(EXEEXT)'; \ b='gif/gif_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00005.log: gif/bug00005$(EXEEXT) @p='gif/bug00005$(EXEEXT)'; \ b='gif/bug00005'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) gif/bug00066.log: gif/bug00066$(EXEEXT) @p='gif/bug00066$(EXEEXT)'; \ b='gif/bug00066'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/jpeg_empty_file.log: jpeg/jpeg_empty_file$(EXEEXT) @p='jpeg/jpeg_empty_file$(EXEEXT)'; \ b='jpeg/jpeg_empty_file'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/jpeg_im2im.log: jpeg/jpeg_im2im$(EXEEXT) @p='jpeg/jpeg_im2im$(EXEEXT)'; \ b='jpeg/jpeg_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/jpeg_null.log: jpeg/jpeg_null$(EXEEXT) @p='jpeg/jpeg_null$(EXEEXT)'; \ b='jpeg/jpeg_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/jpeg_ptr_double_free.log: jpeg/jpeg_ptr_double_free$(EXEEXT) @p='jpeg/jpeg_ptr_double_free$(EXEEXT)'; \ b='jpeg/jpeg_ptr_double_free'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/jpeg_resolution.log: jpeg/jpeg_resolution$(EXEEXT) @p='jpeg/jpeg_resolution$(EXEEXT)'; \ b='jpeg/jpeg_resolution'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/bug_github_18.log: jpeg/bug_github_18$(EXEEXT) @p='jpeg/bug_github_18$(EXEEXT)'; \ b='jpeg/bug_github_18'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/bug00338.log: jpeg/bug00338$(EXEEXT) @p='jpeg/bug00338$(EXEEXT)'; \ b='jpeg/bug00338'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) jpeg/jpeg_read.log: jpeg/jpeg_read$(EXEEXT) @p='jpeg/jpeg_read$(EXEEXT)'; \ b='jpeg/jpeg_read'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00011.log: png/bug00011$(EXEEXT) @p='png/bug00011$(EXEEXT)'; \ b='png/bug00011'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00033.log: png/bug00033$(EXEEXT) @p='png/bug00033$(EXEEXT)'; \ b='png/bug00033'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00086.log: png/bug00086$(EXEEXT) @p='png/bug00086$(EXEEXT)'; \ b='png/bug00086'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00088.log: png/bug00088$(EXEEXT) @p='png/bug00088$(EXEEXT)'; \ b='png/bug00088'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00193.log: png/bug00193$(EXEEXT) @p='png/bug00193$(EXEEXT)'; \ b='png/bug00193'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00338.log: png/bug00338$(EXEEXT) @p='png/bug00338$(EXEEXT)'; \ b='png/bug00338'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00381_1.log: png/bug00381_1$(EXEEXT) @p='png/bug00381_1$(EXEEXT)'; \ b='png/bug00381_1'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/png_im2im.log: png/png_im2im$(EXEEXT) @p='png/png_im2im$(EXEEXT)'; \ b='png/png_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/png_null.log: png/png_null$(EXEEXT) @p='png/png_null$(EXEEXT)'; \ b='png/png_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/png_resolution.log: png/png_resolution$(EXEEXT) @p='png/png_resolution$(EXEEXT)'; \ b='png/png_resolution'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) png/bug00381_2.log: png/bug00381_2$(EXEEXT) @p='png/bug00381_2$(EXEEXT)'; \ b='png/bug00381_2'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/bug00084.log: tga/bug00084$(EXEEXT) @p='tga/bug00084$(EXEEXT)'; \ b='tga/bug00084'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/bug00247.log: tga/bug00247$(EXEEXT) @p='tga/bug00247$(EXEEXT)'; \ b='tga/bug00247'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/bug00247a.log: tga/bug00247a$(EXEEXT) @p='tga/bug00247a$(EXEEXT)'; \ b='tga/bug00247a'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/bug00248.log: tga/bug00248$(EXEEXT) @p='tga/bug00248$(EXEEXT)'; \ b='tga/bug00248'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/bug00248a.log: tga/bug00248a$(EXEEXT) @p='tga/bug00248a$(EXEEXT)'; \ b='tga/bug00248a'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/heap_overflow.log: tga/heap_overflow$(EXEEXT) @p='tga/heap_overflow$(EXEEXT)'; \ b='tga/heap_overflow'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/tga_null.log: tga/tga_null$(EXEEXT) @p='tga/tga_null$(EXEEXT)'; \ b='tga/tga_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tga/tga_read.log: tga/tga_read$(EXEEXT) @p='tga/tga_read$(EXEEXT)'; \ b='tga/tga_read'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tiff/tiff_dpi.log: tiff/tiff_dpi$(EXEEXT) @p='tiff/tiff_dpi$(EXEEXT)'; \ b='tiff/tiff_dpi'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tiff/tiff_im2im.log: tiff/tiff_im2im$(EXEEXT) @p='tiff/tiff_im2im$(EXEEXT)'; \ b='tiff/tiff_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tiff/tiff_invalid_read.log: tiff/tiff_invalid_read$(EXEEXT) @p='tiff/tiff_invalid_read$(EXEEXT)'; \ b='tiff/tiff_invalid_read'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tiff/tiff_null.log: tiff/tiff_null$(EXEEXT) @p='tiff/tiff_null$(EXEEXT)'; \ b='tiff/tiff_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) tiff/tiff_read_bw.log: tiff/tiff_read_bw$(EXEEXT) @p='tiff/tiff_read_bw$(EXEEXT)'; \ b='tiff/tiff_read_bw'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) wbmp/wbmp_null.log: wbmp/wbmp_null$(EXEEXT) @p='wbmp/wbmp_null$(EXEEXT)'; \ b='wbmp/wbmp_null'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) wbmp/wbmp_im2im.log: wbmp/wbmp_im2im$(EXEEXT) @p='wbmp/wbmp_im2im$(EXEEXT)'; \ b='wbmp/wbmp_im2im'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) webp/bug00111.log: webp/bug00111$(EXEEXT) @p='webp/bug00111$(EXEEXT)'; \ b='webp/bug00111'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) webp/bug_double_free.log: webp/bug_double_free$(EXEEXT) @p='webp/bug_double_free$(EXEEXT)'; \ b='webp/bug_double_free'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) webp/gdImageWebpEx.log: webp/gdImageWebpEx$(EXEEXT) @p='webp/gdImageWebpEx$(EXEEXT)'; \ b='webp/gdImageWebpEx'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) xbm/github_bug_501.log: xbm/github_bug_501$(EXEEXT) @p='xbm/github_bug_501$(EXEEXT)'; \ b='xbm/github_bug_501'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) xbm/github_bug_170.log: xbm/github_bug_170$(EXEEXT) @p='xbm/github_bug_170$(EXEEXT)'; \ b='xbm/github_bug_170'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) xbm/github_bug_109.log: xbm/github_bug_109$(EXEEXT) @p='xbm/github_bug_109$(EXEEXT)'; \ b='xbm/github_bug_109'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) xbm/x10_basic_read.log: xbm/x10_basic_read$(EXEEXT) @p='xbm/x10_basic_read$(EXEEXT)'; \ b='xbm/x10_basic_read'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) xpm/bug00166.log: xpm/bug00166$(EXEEXT) @p='xpm/bug00166$(EXEEXT)'; \ b='xpm/bug00166'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) xpm/bug00185.log: xpm/bug00185$(EXEEXT) @p='xpm/bug00185$(EXEEXT)'; \ b='xpm/bug00185'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) xpm/color_name.log: xpm/color_name$(EXEEXT) @p='xpm/color_name$(EXEEXT)'; \ b='xpm/color_name'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .test.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.test$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_LIBRARIES) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -rm -f bmp/$(DEPDIR)/$(am__dirstamp) -rm -f bmp/$(am__dirstamp) -rm -f fontconfig/$(DEPDIR)/$(am__dirstamp) -rm -f fontconfig/$(am__dirstamp) -rm -f freetype/$(DEPDIR)/$(am__dirstamp) -rm -f freetype/$(am__dirstamp) -rm -f gd/$(DEPDIR)/$(am__dirstamp) -rm -f gd/$(am__dirstamp) -rm -f gd2/$(DEPDIR)/$(am__dirstamp) -rm -f gd2/$(am__dirstamp) -rm -f gdimagearc/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagearc/$(am__dirstamp) -rm -f gdimagebrightness/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagebrightness/$(am__dirstamp) -rm -f gdimageclone/$(DEPDIR)/$(am__dirstamp) -rm -f gdimageclone/$(am__dirstamp) -rm -f gdimagecolor/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolor/$(am__dirstamp) -rm -f gdimagecolorclosest/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolorclosest/$(am__dirstamp) -rm -f gdimagecolorclosesthwb/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolorclosesthwb/$(am__dirstamp) -rm -f gdimagecolordeallocate/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolordeallocate/$(am__dirstamp) -rm -f gdimagecolorexact/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolorexact/$(am__dirstamp) -rm -f gdimagecolormatch/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolormatch/$(am__dirstamp) -rm -f gdimagecolorreplace/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolorreplace/$(am__dirstamp) -rm -f gdimagecolorresolve/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolorresolve/$(am__dirstamp) -rm -f gdimagecolortransparent/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecolortransparent/$(am__dirstamp) -rm -f gdimagecompare/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecompare/$(am__dirstamp) -rm -f gdimagecontrast/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecontrast/$(am__dirstamp) -rm -f gdimageconvolution/$(DEPDIR)/$(am__dirstamp) -rm -f gdimageconvolution/$(am__dirstamp) -rm -f gdimagecopy/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecopy/$(am__dirstamp) -rm -f gdimagecopymerge/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecopymerge/$(am__dirstamp) -rm -f gdimagecopymergegray/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecopymergegray/$(am__dirstamp) -rm -f gdimagecopyresampled/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecopyresampled/$(am__dirstamp) -rm -f gdimagecopyresized/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecopyresized/$(am__dirstamp) -rm -f gdimagecopyrotated/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecopyrotated/$(am__dirstamp) -rm -f gdimagecreate/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecreate/$(am__dirstamp) -rm -f gdimagecrop/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagecrop/$(am__dirstamp) -rm -f gdimageellipse/$(DEPDIR)/$(am__dirstamp) -rm -f gdimageellipse/$(am__dirstamp) -rm -f gdimagefile/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefile/$(am__dirstamp) -rm -f gdimagefill/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefill/$(am__dirstamp) -rm -f gdimagefilledarc/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefilledarc/$(am__dirstamp) -rm -f gdimagefilledellipse/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefilledellipse/$(am__dirstamp) -rm -f gdimagefilledpolygon/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefilledpolygon/$(am__dirstamp) -rm -f gdimagefilledrectangle/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefilledrectangle/$(am__dirstamp) -rm -f gdimagefilltoborder/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefilltoborder/$(am__dirstamp) -rm -f gdimagefilter/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagefilter/$(am__dirstamp) -rm -f gdimageflip/$(DEPDIR)/$(am__dirstamp) -rm -f gdimageflip/$(am__dirstamp) -rm -f gdimagegrayscale/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagegrayscale/$(am__dirstamp) -rm -f gdimageline/$(DEPDIR)/$(am__dirstamp) -rm -f gdimageline/$(am__dirstamp) -rm -f gdimagenegate/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagenegate/$(am__dirstamp) -rm -f gdimageopenpolygon/$(DEPDIR)/$(am__dirstamp) -rm -f gdimageopenpolygon/$(am__dirstamp) -rm -f gdimagepixelate/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagepixelate/$(am__dirstamp) -rm -f gdimagepolygon/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagepolygon/$(am__dirstamp) -rm -f gdimagerectangle/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagerectangle/$(am__dirstamp) -rm -f gdimagerotate/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagerotate/$(am__dirstamp) -rm -f gdimagescale/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagescale/$(am__dirstamp) -rm -f gdimagescatterex/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagescatterex/$(am__dirstamp) -rm -f gdimagesetinterpolationmethod/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagesetinterpolationmethod/$(am__dirstamp) -rm -f gdimagesetpixel/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagesetpixel/$(am__dirstamp) -rm -f gdimagesquaretocircle/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagesquaretocircle/$(am__dirstamp) -rm -f gdimagestring/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagestring/$(am__dirstamp) -rm -f gdimagestring16/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagestring16/$(am__dirstamp) -rm -f gdimagestringft/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagestringft/$(am__dirstamp) -rm -f gdimagestringftex/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagestringftex/$(am__dirstamp) -rm -f gdimagestringup/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagestringup/$(am__dirstamp) -rm -f gdimagestringup16/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagestringup16/$(am__dirstamp) -rm -f gdimagetruecolortopalette/$(DEPDIR)/$(am__dirstamp) -rm -f gdimagetruecolortopalette/$(am__dirstamp) -rm -f gdinterpolatedscale/$(DEPDIR)/$(am__dirstamp) -rm -f gdinterpolatedscale/$(am__dirstamp) -rm -f gdnewfilectx/$(DEPDIR)/$(am__dirstamp) -rm -f gdnewfilectx/$(am__dirstamp) -rm -f gdtest/$(DEPDIR)/$(am__dirstamp) -rm -f gdtest/$(am__dirstamp) -rm -f gdtiled/$(DEPDIR)/$(am__dirstamp) -rm -f gdtiled/$(am__dirstamp) -rm -f gdtransformaffineboundingbox/$(DEPDIR)/$(am__dirstamp) -rm -f gdtransformaffineboundingbox/$(am__dirstamp) -rm -f gdtransformaffinecopy/$(DEPDIR)/$(am__dirstamp) -rm -f gdtransformaffinecopy/$(am__dirstamp) -rm -f gif/$(DEPDIR)/$(am__dirstamp) -rm -f gif/$(am__dirstamp) -rm -f jpeg/$(DEPDIR)/$(am__dirstamp) -rm -f jpeg/$(am__dirstamp) -rm -f png/$(DEPDIR)/$(am__dirstamp) -rm -f png/$(am__dirstamp) -rm -f tga/$(DEPDIR)/$(am__dirstamp) -rm -f tga/$(am__dirstamp) -rm -f tiff/$(DEPDIR)/$(am__dirstamp) -rm -f tiff/$(am__dirstamp) -rm -f wbmp/$(DEPDIR)/$(am__dirstamp) -rm -f wbmp/$(am__dirstamp) -rm -f webp/$(DEPDIR)/$(am__dirstamp) -rm -f webp/$(am__dirstamp) -rm -f xbm/$(DEPDIR)/$(am__dirstamp) -rm -f xbm/$(am__dirstamp) -rm -f xpm/$(DEPDIR)/$(am__dirstamp) -rm -f xpm/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \ clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) bmp/$(DEPDIR) fontconfig/$(DEPDIR) freetype/$(DEPDIR) gd/$(DEPDIR) gd2/$(DEPDIR) gdimagearc/$(DEPDIR) gdimagebrightness/$(DEPDIR) gdimageclone/$(DEPDIR) gdimagecolor/$(DEPDIR) gdimagecolorclosest/$(DEPDIR) gdimagecolorclosesthwb/$(DEPDIR) gdimagecolordeallocate/$(DEPDIR) gdimagecolorexact/$(DEPDIR) gdimagecolormatch/$(DEPDIR) gdimagecolorreplace/$(DEPDIR) gdimagecolorresolve/$(DEPDIR) gdimagecolortransparent/$(DEPDIR) gdimagecompare/$(DEPDIR) gdimagecontrast/$(DEPDIR) gdimageconvolution/$(DEPDIR) gdimagecopy/$(DEPDIR) gdimagecopymerge/$(DEPDIR) gdimagecopymergegray/$(DEPDIR) gdimagecopyresampled/$(DEPDIR) gdimagecopyresized/$(DEPDIR) gdimagecopyrotated/$(DEPDIR) gdimagecreate/$(DEPDIR) gdimagecrop/$(DEPDIR) gdimageellipse/$(DEPDIR) gdimagefile/$(DEPDIR) gdimagefill/$(DEPDIR) gdimagefilledarc/$(DEPDIR) gdimagefilledellipse/$(DEPDIR) gdimagefilledpolygon/$(DEPDIR) gdimagefilledrectangle/$(DEPDIR) gdimagefilltoborder/$(DEPDIR) gdimagefilter/$(DEPDIR) gdimageflip/$(DEPDIR) gdimagegrayscale/$(DEPDIR) gdimageline/$(DEPDIR) gdimagenegate/$(DEPDIR) gdimageopenpolygon/$(DEPDIR) gdimagepixelate/$(DEPDIR) gdimagepolygon/$(DEPDIR) gdimagerectangle/$(DEPDIR) gdimagerotate/$(DEPDIR) gdimagescale/$(DEPDIR) gdimagescatterex/$(DEPDIR) gdimagesetinterpolationmethod/$(DEPDIR) gdimagesetpixel/$(DEPDIR) gdimagesquaretocircle/$(DEPDIR) gdimagestring/$(DEPDIR) gdimagestring16/$(DEPDIR) gdimagestringft/$(DEPDIR) gdimagestringftex/$(DEPDIR) gdimagestringup/$(DEPDIR) gdimagestringup16/$(DEPDIR) gdimagetruecolortopalette/$(DEPDIR) gdinterpolatedscale/$(DEPDIR) gdnewfilectx/$(DEPDIR) gdtest/$(DEPDIR) gdtiled/$(DEPDIR) gdtransformaffineboundingbox/$(DEPDIR) gdtransformaffinecopy/$(DEPDIR) gif/$(DEPDIR) jpeg/$(DEPDIR) png/$(DEPDIR) tga/$(DEPDIR) tiff/$(DEPDIR) wbmp/$(DEPDIR) webp/$(DEPDIR) xbm/$(DEPDIR) xpm/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) bmp/$(DEPDIR) fontconfig/$(DEPDIR) freetype/$(DEPDIR) gd/$(DEPDIR) gd2/$(DEPDIR) gdimagearc/$(DEPDIR) gdimagebrightness/$(DEPDIR) gdimageclone/$(DEPDIR) gdimagecolor/$(DEPDIR) gdimagecolorclosest/$(DEPDIR) gdimagecolorclosesthwb/$(DEPDIR) gdimagecolordeallocate/$(DEPDIR) gdimagecolorexact/$(DEPDIR) gdimagecolormatch/$(DEPDIR) gdimagecolorreplace/$(DEPDIR) gdimagecolorresolve/$(DEPDIR) gdimagecolortransparent/$(DEPDIR) gdimagecompare/$(DEPDIR) gdimagecontrast/$(DEPDIR) gdimageconvolution/$(DEPDIR) gdimagecopy/$(DEPDIR) gdimagecopymerge/$(DEPDIR) gdimagecopymergegray/$(DEPDIR) gdimagecopyresampled/$(DEPDIR) gdimagecopyresized/$(DEPDIR) gdimagecopyrotated/$(DEPDIR) gdimagecreate/$(DEPDIR) gdimagecrop/$(DEPDIR) gdimageellipse/$(DEPDIR) gdimagefile/$(DEPDIR) gdimagefill/$(DEPDIR) gdimagefilledarc/$(DEPDIR) gdimagefilledellipse/$(DEPDIR) gdimagefilledpolygon/$(DEPDIR) gdimagefilledrectangle/$(DEPDIR) gdimagefilltoborder/$(DEPDIR) gdimagefilter/$(DEPDIR) gdimageflip/$(DEPDIR) gdimagegrayscale/$(DEPDIR) gdimageline/$(DEPDIR) gdimagenegate/$(DEPDIR) gdimageopenpolygon/$(DEPDIR) gdimagepixelate/$(DEPDIR) gdimagepolygon/$(DEPDIR) gdimagerectangle/$(DEPDIR) gdimagerotate/$(DEPDIR) gdimagescale/$(DEPDIR) gdimagescatterex/$(DEPDIR) gdimagesetinterpolationmethod/$(DEPDIR) gdimagesetpixel/$(DEPDIR) gdimagesquaretocircle/$(DEPDIR) gdimagestring/$(DEPDIR) gdimagestring16/$(DEPDIR) gdimagestringft/$(DEPDIR) gdimagestringftex/$(DEPDIR) gdimagestringup/$(DEPDIR) gdimagestringup16/$(DEPDIR) gdimagetruecolortopalette/$(DEPDIR) gdinterpolatedscale/$(DEPDIR) gdnewfilectx/$(DEPDIR) gdtest/$(DEPDIR) gdtiled/$(DEPDIR) gdtransformaffineboundingbox/$(DEPDIR) gdtransformaffinecopy/$(DEPDIR) gif/$(DEPDIR) jpeg/$(DEPDIR) png/$(DEPDIR) tga/$(DEPDIR) tiff/$(DEPDIR) wbmp/$(DEPDIR) webp/$(DEPDIR) xbm/$(DEPDIR) xpm/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: check-am install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-TESTS check-am clean \ clean-checkLIBRARIES clean-checkPROGRAMS clean-generic \ clean-libtool cscopelist-am ctags ctags-am distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am recheck tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libgd-2.3.0/tests/gdimagecopymergegray/0000775000175000017500000000000013635665564015160 500000000000000libgd-2.3.0/tests/gdimagecopymergegray/gdimagecopymergegray_exp.png0000664000175000017500000000017413635665516022654 00000000000000PNG  IHDRddJ,PLTEן6 pHYs+IDAT8c`A(o7xV`.=ȴqIENDB`libgd-2.3.0/tests/gdimagecopymergegray/Makemodule.am0000664000175000017500000000030413635665516017474 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagecopymergegray/gdimagecopymergegray endif EXTRA_DIST += \ gdimagecopymergegray/CMakeLists.txt \ gdimagecopymergegray/gdimagecopymergegray_exp.png libgd-2.3.0/tests/gdimagecopymergegray/CMakeLists.txt0000664000175000017500000000013713635665516017636 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagecopymergegray ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecopymergegray/gdimagecopymergegray.c0000664000175000017500000000122213635665516021431 00000000000000/** * Basic test for gdImageCopyMergeGray() */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr dst = NULL; gdImagePtr src = NULL; int error = 0; dst = gdImageCreate(100, 100); src = gdImageCreate(50, 50); if (gdTestAssert(!dst)) { error = 1; goto done; } if (gdTestAssert(!src)) { error = 1; goto done; } gdImageColorAllocate(src, 255, 255, 255); gdImageColorAllocate(dst, 0, 0, 0); gdImageCopyMergeGray(dst, src, 25, 25, 0, 0, 50, 50, 50); if (!gdAssertImageEqualsToFile("gdimagecopymergegray/gdimagecopymergegray_exp.png", dst)) { error = 1; } done: gdImageDestroy(dst); gdImageDestroy(src); return error; } libgd-2.3.0/tests/wbmp/0000775000175000017500000000000013635665565011733 500000000000000libgd-2.3.0/tests/wbmp/wbmp_null.c0000664000175000017500000000030413634445460014000 00000000000000#include "gd.h" int main() { gdImagePtr im; im = gdImageCreateFromWBMP(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImageWBMP(im, 0, NULL); /* noop safely */ return 0; } libgd-2.3.0/tests/wbmp/Makemodule.am0000664000175000017500000000014213635665516014246 00000000000000libgd_test_programs += \ wbmp/wbmp_null \ wbmp/wbmp_im2im EXTRA_DIST += \ wbmp/CMakeLists.txt libgd-2.3.0/tests/wbmp/wbmp_im2im.c0000664000175000017500000000236313634445460014052 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int b; void *p; int size = 0; int status = 0; CuTestImageResult result = {0, 0}; src = gdImageCreate(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } gdImageColorAllocate(src, 0xFF, 0xFF, 0xFF); /* allocate white for background color */ b = gdImageColorAllocate(src, 0, 0, 0); gdImageRectangle(src, 20, 20, 79, 79, b); gdImageEllipse(src, 70, 25, 30, 20, b); #define OUTPUT_WBMP(name) do { \ FILE *fp = gdTestTempFp(); \ gdImageWBMP(name, 1, fp); \ fclose(fp); \ } while (0) OUTPUT_WBMP(src); p = gdImageWBMPPtr(src, &size, 1); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromWBMPPtr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } OUTPUT_WBMP(dst); gdTestImageDiff(src, dst, NULL, &result); if (result.pixels_changed > 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/wbmp/CMakeLists.txt0000664000175000017500000000010113635665516014377 00000000000000LIST(APPEND TESTS_FILES wbmp_null wbmp_im2im ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecolorclosesthwb/0000775000175000017500000000000013635665564015517 500000000000000libgd-2.3.0/tests/gdimagecolorclosesthwb/gdImageColorClosestHWB.c0000664000175000017500000000060713635665516022035 00000000000000/** * Basic test for gdImageColorClosestHWB() **/ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gdimageflip", "remi.png"); im = gdImageCreateFromPng(fp); fclose(fp); int result = gdImageColorClosestHWB(im, 255, 0, 255); if (gdTestAssert(result <= 0)) { gdImageDestroy(im); return 1; } gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gdimagecolorclosesthwb/Makemodule.am0000664000175000017500000000022513635665516020035 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagecolorclosesthwb/gdImageColorClosestHWB endif EXTRA_DIST += \ gdimagecolorclosesthwb/CMakeLists.txt libgd-2.3.0/tests/gdimagecolorclosesthwb/CMakeLists.txt0000664000175000017500000000014113635665516020170 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdImageColorClosestHWB ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/png/0000775000175000017500000000000013635665565011552 500000000000000libgd-2.3.0/tests/png/bug00193.c0000664000175000017500000000126013634445460012774 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" static gdImagePtr im; #define TERMINATE(ctx, status) do { \ free(ctx); \ gdImageDestroy(im); \ exit(status); \ } while (0) static void failPutC(gdIOCtxPtr ctx, int c) { (void)c; TERMINATE(ctx, 1); } static int failPutBuf(gdIOCtxPtr ctx, const void * data, int size) { (void)data; (void)size; TERMINATE(ctx, 1); return -1; } int main() { gdIOCtxPtr ctx; gdSetErrorMethod(gdSilence); im = gdImageCreate(100, 100); ctx = (gdIOCtxPtr)malloc(sizeof(gdIOCtx)); ctx->putC = failPutC; ctx->putBuf = failPutBuf; gdImagePngCtx(im, ctx); TERMINATE(ctx, 0); return 0; } libgd-2.3.0/tests/png/bug00381_2.c0000664000175000017500000000130013634445460013207 00000000000000/** * Test that failure to convert to PNG returns NULL * * We are reading a palette image without any colors in the palette, and pass * this image to `gdImagePngPtr()` which is supposed to fail, and as such should * return NULL. * * See also */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; void *data; int size = 0; fp = gdTestFileOpen2("png", "bug00381_2.gd"); gdTestAssert(fp != NULL); im = gdImageCreateFromGd(fp); gdTestAssert(im != NULL); fclose(fp); data = gdImagePngPtr(im, &size); gdTestAssert(data == NULL); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/png/bug00088_2.png0000664000175000017500000000035613634445460013567 00000000000000PNG  IHDRdd]bKGD̿ pHYs  tIME 10tEXtCommentCreated with The GIMPd%nVIDATxA > 9H3KM#HYj!"D!B"D!B"D.K:=IENDB`libgd-2.3.0/tests/png/bug00011.c0000664000175000017500000000037513634445460012767 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen("png/emptyfile"); im = gdImageCreateFromPng(fp); fclose(fp); if (!im) { return 0; } else { return 1; } } libgd-2.3.0/tests/png/bug00088.c0000664000175000017500000000120513634445460012776 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { int error; gdImagePtr im; FILE *fp; char *path; const char * files[2] = {"bug00088_1.png", "bug00088_2.png"}; const char * files_exp[2] = {"bug00088_1_exp.png", "bug00088_2_exp.png"}; int i, cnt = 2; error = 0; for (i = 0; i < cnt; i++) { fp = gdTestFileOpen2("png", files[i]); im = gdImageCreateFromPng(fp); fclose(fp); if (!im) { error |= 1; continue; } path = gdTestFilePath2("png", files_exp[i]); if (!gdAssertImageEqualsToFile(path, im)) { error |= 1; } free(path); gdImageDestroy(im); } return error; } libgd-2.3.0/tests/png/png_null.c0000664000175000017500000000036213634445460013442 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; gdSetErrorMethod(gdSilence); im = gdImageCreateFromPng(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImagePng(im, NULL); /* noop safely */ return 0; } libgd-2.3.0/tests/png/bug00088_2_exp.png0000664000175000017500000000043413634445460014440 00000000000000PNG  IHDRddpTsRGBbKGD pHYs  tIME ' ~^CtEXtCommentCreated with The GIMPd%nsIDATxQ Ei1q~ `E͍㙹~UUk'AADAAAAADAADA8XW:1r9IENDB`libgd-2.3.0/tests/png/bug00088_1_exp.png0000664000175000017500000000534713634445460014447 00000000000000PNG  IHDR}9I$_sRGBbKGD pHYs  tIME  G9? gIDATx\?kL]SL]c9C@^e>DC7i"ѥD.i)]#>ecU?pdE=~耝d';}=@]|8b=,\ו/ODD퀿O" "_MT+YnTX5MK0]]]V3 4MC(+%MS|W9Ii|vK눌i5MSsdF!`&AqoYV*x}o߾a6Ç0 c)iڶ ]חA\4K3VMHdqΉsNYu8tu:T օsNBB^ֶ9 ð.Mvҟ]Ge 4M6޴- ՅxMy{.SM^4ee-,JF kc^ UE䅦i2pZ!˲GXn&iVx6ƙڴ$h#9%uþ5jM 7njSGߋcifA^4ES.CPj$]f j[t)sM4]~I@Wif$ <'I ض].~eY  cT3Mӥ4MVtf[C#~QRKrttZG0 Wh48PjA ֖oҼt:]uL& hiR#"cl0`ƭ`08,k/I*7xm8ajUKHvyyYd (!ng,y$)p}5Mok]̮8 +Q*2U`0XzQ0BQ !(&o\y_~ewtM%7ٕi,˪usqy^#Ѓ p8 قji& FQB4 B0ON83VY&穩M#I(U%I9L, ykbY8<[b iK@]?~gggvKGQT8dxzz*5P;K)),(0 |_ 뻮0Mmk[[UI#_N\@TAE+j6r&wM: vMBМe>Œw%E<σ#ݤIM~Y*/Qߺ#h"$>t]G=O٭=ǠJ$.k {! f#q*oix(ubeZ( 0sneYxݺL{șt~ L0M'''Fi" CXEϟ?1NNN1hXY8$ FQih4j%kUu !Am.q\Y!;ϭHkeM TI[SD1[8Y8KirIecB,11,n.X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923t{@ÊϸMc~l"h?YWWW N߰نy2>xb]pv̎.FF+l8@d,wwW3^tՙk]7HdgGy3 tmwux6 ٧.`v8 z\2bQd:S><x~ƴtqdUe#y蚟s0h<4h࠽:NІ뺼Rkݷx j\y4Cw>#ͿlVfi@_lN %`RV-WO od {<zXn :#Cz( &Hɽ @m)vm;}ӑ'8A,Ԃ*sgx~Xw}7럯r ?摅@c79$߆v3{`1yfFoJٵSI I A/xHY*˔Q?gyy` 2dU6 V`G7x5e Ne2fߴgC!di`pK ߝύdߘK}bӺNՀ ~B7R>;e%%So19 Dggrw̦%=v? 9*EE[mj f` |Ofk^ӧyr|bܓH/:?;;vۂpVWlx\ͤAAf챰6n;v7M[}Ki qpgʙm?'`̓HlNU7%pYP3LKŌ@/@6 $zbQX,j4%99hd#At/3i6ٸAFc6}/7q[G3t!s [Rν(/m,m[v8X{QhdFvJX/ -3? r sf)0Hף6q|vNf`=s`Iq<`o| [/r퓖>}+Idyb?eem3 +/@Yp@s,Z,7Zpu'mDK>ݾ~։ R=f؝ Kl 20NI@itR[_L?,A{;Il!"}5厳٬qT펷D~ ɚԓiw?oe"3.2ݸGOd`2[GV0nlj_#1*1) ( 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/png/emptyfile0000664000175000017500000000000013634445460013366 00000000000000libgd-2.3.0/tests/png/CMakeLists.txt0000664000175000017500000000041413635665516014225 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES png_im2im png_null png_resolution bug00011 bug00033 bug00086 bug00088 bug00193 bug00338 bug00381_1 ) IF(ENABLE_GD_FORMATS) LIST(APPEND TESTS_FILES bug00381_2 ) ENDIF(ENABLE_GD_FORMATS) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/png/bug00381_1.c0000664000175000017500000000113613634445460013215 00000000000000/** * Test that failure to convert to PNG returns NULL * * We are creating a palette image without allocating any colors in the palette, * and pass this image to `gdImagePngPtr()` which is supposed to fail, and as * such should return NULL. * * See also */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; void *data; int size = 0; im = gdImageCreate(100, 100); gdTestAssert(im != NULL); data = gdImagePngPtr(im, &size); gdTestAssert(data == NULL); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/png/bug00381_2.gd0000664000175000017500000002343013634445460013367 00000000000000# l,                #1B                 #1A            %&%      "0B        !( .          #     $/B                 !-C                *B                    '1@                     +A               !+B                      <                '0B           u IDATFED   %.C             ")B               *       libgd-2.3.0/tests/png/bug00338.c0000664000175000017500000000174413635665516013013 00000000000000/** * Regression test for * * We're testing that writing a PNG image with an unsupported quality * raises a GD_WARNING for the fatal libpng error, but not a GD_ERROR. * We also make sure, that the fatal libpng error is actually reported. * * See also ../jpeg/bug00338.c */ #include #include "gd.h" #include "gd_errors.h" #include "gdtest.h" #define MSG "gd-png: fatal libpng error: %s\n" static int error_handler_called = 0; static void error_handler(int priority, const char *format, va_list args) { if (!strcmp(format, MSG)) { gdTestAssertMsg(priority == GD_WARNING, "expected priority %d, but got %d", GD_WARNING, priority); error_handler_called = 1; } } int main() { gdImagePtr im; FILE *fp; gdSetErrorMethod(error_handler); im = gdImageCreateTrueColor(10, 10); fp = gdTestTempFp(); gdImagePngEx(im, fp, 100); gdImageDestroy(im); fclose(fp); gdTestAssert(error_handler_called); return gdNumFailures(); } libgd-2.3.0/tests/png/bug00033.c0000664000175000017500000000046513634445460012773 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; gdSetErrorMethod(gdSilence); fp = gdTestFileOpen("png/bug00033.png"); im = gdImageCreateFromPng(fp); fclose(fp); if (im) { gdImageDestroy(im); return 1; } else { return 0; } } libgd-2.3.0/tests/png/bug00086.c0000664000175000017500000000143713634445460013003 00000000000000/* id: gdbad3.c, Xavier Roche, May. 2007 */ /* gcc gdbad3.c -o bad -lgd && ./bad */ #include #include #include "gd.h" #include "gdtest.h" static const unsigned char pngdata[93]; int main(void) { gdImagePtr im; gdSetErrorMethod(gdSilence); if ( ( im = gdImageCreateFromPngPtr(93, (char*) &pngdata[0]) ) == NULL) { return 0; } else { gdTestErrorMsg("failed!\n"); gdImageDestroy(im); return 1; } return 0; } /* PNG data */ static const unsigned char pngdata[93] = {137,80,78,71,13,10,26,10,0,0, 0,13,73,72,68,82,0,0,0,120,0,0,0,131,8,6,0,0,0,70,49,223,8,0,0,0,6,98, 75,71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,92, 70,0,0,92,70,1,20,148,67,65,0,0,0,9,118,112,65,103,0,0,0,120,0,0,0,131, 0,226,13,249,45 }; libgd-2.3.0/tests/png/png_resolution.c0000664000175000017500000000131113635665516014675 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im; void *data; int size, red; im = gdImageCreate(100, 100); gdImageSetResolution(im, 72, 300); red = gdImageColorAllocate(im, 0xFF, 0x00, 0x00); gdImageFilledRectangle(im, 0, 0, 99, 99, red); data = gdImagePngPtr(im, &size); gdImageDestroy(im); im = gdImageCreateFromPngPtr(size, data); gdFree(data); if (!gdTestAssert(gdImageResolutionX(im) == 72) || !gdTestAssert(gdImageResolutionY(im) == 300)) { gdTestErrorMsg("failed image resolution X (%d != 72) or Y (%d != 300)\n", gdImageResolutionX(im), gdImageResolutionY(im)); gdImageDestroy(im); return 1; } gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gdinterpolatedscale/0000775000175000017500000000000013635665565015003 500000000000000libgd-2.3.0/tests/gdinterpolatedscale/gdModesAndPalettes.c0000664000175000017500000000260113634445460020562 00000000000000/* Exercise all scaling with all interpolation modes and ensure that * at least, something comes back. */ #include #include "gd.h" #include "gdtest.h" #define X 100 #define Y 100 #define NX 20 #define NY 20 int main() { int method, i; for(method = GD_BELL; method <= GD_TRIANGLE; method++) { /* GD_WEIGHTED4 is unsupported. */ gdImagePtr im[2]; // printf("Method = %d\n", method); im[0] = gdImageCreateTrueColor(X, Y); im[1] = gdImageCreatePalette(X, Y); for (i = 0; i < 2; i++) { gdImagePtr result; // printf(" %s\n", i == 0 ? "truecolor" : "palette"); gdImageFilledRectangle(im[i], 0, 0, X-1, Y-1, gdImageColorExactAlpha(im[i], 255, 255, 255, 0)); gdImageSetInterpolationMethod(im[i], method); gdTestAssert(im[i]->interpolation_id == method); /* No getter yet. */ result = gdImageScale(im[i], NX, NY); gdTestAssert(result != NULL); gdTestAssert(result != im[i]); if (result == NULL) { gdTestErrorMsg("gdImageScale failed (method: %i, im:%i).\n", method, i); break; } gdTestAssert(result->sx == NX && result->sy == NY); gdImageDestroy(result); gdImageDestroy(im[i]); }/* for */ }/* for*/ return gdNumFailures(); }/* main*/ libgd-2.3.0/tests/gdinterpolatedscale/Makemodule.am0000664000175000017500000000023513634445460017312 00000000000000libgd_test_programs += \ gdinterpolatedscale/gdModesAndPalettes \ gdinterpolatedscale/gdTrivialResize EXTRA_DIST += \ gdinterpolatedscale/CMakeLists.txt libgd-2.3.0/tests/gdinterpolatedscale/gdTrivialResize.c0000664000175000017500000000407713634445460020173 00000000000000#include #include "gd.h" #include "gdtest.h" /* Test gdImageScale() with bicubic interpolation on a simple * all-white image. */ gdImagePtr mkwhite(int x, int y) { gdImagePtr im; im = gdImageCreateTrueColor(x, y); gdImageFilledRectangle(im, 0, 0, x-1, y-1, gdImageColorExactAlpha(im, 255, 255, 255, 0)); gdTestAssert(im != NULL); gdImageSetInterpolationMethod(im, GD_BILINEAR_FIXED); // FP interp'n return im; }/* mkwhite*/ /* Fill with almost-black. */ void mkblack(gdImagePtr ptr) { gdImageFilledRectangle(ptr, 0, 0, ptr->sx - 1, ptr->sy - 1, gdImageColorExactAlpha(ptr, 2, 2, 2, 0)); }/* mkblack*/ #define CLOSE_ENOUGH 15 void scaletest(int x, int y, int nx, int ny) { gdImagePtr im, imref, tmp, same; imref = mkwhite(x, y); im = mkwhite(x, y); tmp = gdImageScale(im, nx, ny); same = gdImageScale(tmp, x, y); /* Test the result to insure that it's close enough to the * original. */ gdTestAssert(gdMaxPixelDiff(im, same) < CLOSE_ENOUGH); /* Modify the original and test for a change again. (I.e. test * for accidentally shared memory.) */ mkblack(tmp); gdTestAssert(gdMaxPixelDiff(imref, same) < CLOSE_ENOUGH); gdImageDestroy(im); gdImageDestroy(imref); gdImageDestroy(tmp); gdImageDestroy(same); }/* scaletest*/ void do_test(int x, int y, int nx, int ny) { gdImagePtr im, imref, same; im = mkwhite(x, y); imref = mkwhite(x, y); same = gdImageScale(im, x, y); /* Trivial resize should be a straight copy. */ gdTestAssert(im != same); gdTestAssert(gdMaxPixelDiff(im, same) == 0); gdTestAssert(gdMaxPixelDiff(imref, same) == 0); /* Ensure that modifying im doesn't modify same (i.e. see if we * can catch them accidentally sharing the same pixel buffer.) */ mkblack(im); gdTestAssert(gdMaxPixelDiff(imref, same) == 0); gdImageDestroy(same); gdImageDestroy(im); gdImageDestroy(imref); /* Scale horizontally, vertically and both. */ scaletest(x, y, nx, y); scaletest(x, y, x, ny); scaletest(x, y, nx, ny); } int main() { do_test(300, 300, 600, 600); do_test(1500, 1000, 600, 400); return gdNumFailures(); } libgd-2.3.0/tests/gdinterpolatedscale/CMakeLists.txt0000664000175000017500000000030613635665516017456 00000000000000LIST(APPEND TESTS_FILES gdModesAndPalettes gdTrivialResize ) ADD_GD_TESTS() # Probably should speed this test up. set_tests_properties(test_${TEST_PREFIX}_gdTrivialResize PROPERTIES TIMEOUT 20) libgd-2.3.0/tests/gdimagefill/0000775000175000017500000000000013635665564013231 500000000000000libgd-2.3.0/tests/gdimagefill/bug00002_3_exp.png0000664000175000017500000000063213634445460016103 00000000000000PNG  IHDRPLTEٟtRNS@fBIDATHm0 aoz"x]"#dHMHy1ҴLOO㼬Ś! dg 8\ p . "ݍo8\wgKpyw3pN%8W伻]3pN%8W伻G3pN%8W伻w.)'w-+r} 8\nGtt.)'w;8\pEλ$8\~n \Sp N9n}tgKpȽu^_fWYlIENDB`libgd-2.3.0/tests/gdimagefill/bug00002_4.c0000664000175000017500000000163313634445460014670 00000000000000/*ImageFill Pattern fill */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int red, blue, white, black, error = 0; im = gdImageCreate(50,100); red = gdImageColorAllocate(im, 255, 0, 0); blue = gdImageColorAllocate(im, 0,0,255); white = gdImageColorAllocate(im, 255,255,255); black = gdImageColorAllocate(im, 0,0,0); gdImageFill(im, 0,0, black); gdImageLine(im, 20,20,180,20, white); gdImageLine(im, 20,20,20,70, blue); gdImageLine(im, 20,70,180,70, red); gdImageLine(im, 180,20,180,45, white); gdImageLine(im, 180,70,180,45, red); gdImageLine(im, 20,20,100,45, blue); gdImageLine(im, 20,70,100,45, blue); gdImageLine(im, 100,45,180,45, red); gdImageFill(im, 21,45, blue); gdImageFill(im, 100,69, red); gdImageFill(im, 100,21, white); if (!gdAssertImageEqualsToFile("gdimagefill/bug00002_4_exp.png", im)) { error = 1; } /* Destroy it */ gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagefill/bug00104_1.c0000664000175000017500000000137113635665516014676 00000000000000/* test case for outside of buffer reads/write bug in _gdImageFillTiled */ #include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im, tile; int tile_red, tile_blue; int error = 0; im = gdImageCreate(200, 150); tile = gdImageCreateTrueColor(2, 2); tile_red = gdImageColorAllocate(tile, 255, 0, 0); tile_blue = gdImageColorAllocate(tile, 0, 0, 255); gdImageSetPixel(tile, 0, 0, tile_red); gdImageSetPixel(tile, 1, 1, tile_red); gdImageSetPixel(tile, 1, 0, tile_blue); gdImageSetPixel(tile, 0, 1, tile_blue); gdImageSetTile(im, tile); gdImageFill(im, 11, 12, gdTiled); if (!gdAssertImageEqualsToFile("gdimagefill/bug00104_1_exp.png", im)) { error = 1; } gdImageDestroy(im); gdImageDestroy(tile); return error; } libgd-2.3.0/tests/gdimagefill/bug00002_4_exp.png0000664000175000017500000000030013634445460016074 00000000000000PNG  IHDR2d PLTEacfr pHYs+ZIDAT8ӱ 0@FtƣJL H/cNXPD|r Pu.wYpTμvI{,g5_|U)[/&_IENDB`libgd-2.3.0/tests/gdimagefill/bug00104_1_exp.png0000664000175000017500000000021113634445460016075 00000000000000PNG  IHDRUZPLTE pHYs+)IDATH1)MO4qqqqG_L۞>IENDB`libgd-2.3.0/tests/gdimagefill/bug00002_1_exp.png0000664000175000017500000000044113634445460016077 00000000000000PNG  IHDRddIDATx w>V /dOeǙvK 6ʦhIENDB`libgd-2.3.0/tests/gdimagefill/bug00002_2.c0000664000175000017500000000212713635665516014674 00000000000000#include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im, tile; int im_black, tile_black; int x,y, error = 0; /* fputs("flag 0\n", stdout); */ im = gdImageCreate(150, 150); tile = gdImageCreate(36, 36); gdImageColorAllocate(tile,255,255,255); /* allocate white for background color */ tile_black = gdImageColorAllocate(tile,0,0,0); gdImageColorAllocate(im,255,255,255); /* allocate white for background color */ im_black = gdImageColorAllocate(im,0,0,0); /* create the dots pattern */ for (x=0; x<36; x+=2) { for (y=0; y<36; y+=2) { gdImageSetPixel(tile,x,y,tile_black); } } gdImageSetTile(im,tile); gdImageRectangle(im, 9,9,139,139, im_black); gdImageLine(im, 9,9,139,139, im_black); gdImageFill(im, 11,12, gdTiled); /* fputs("flag 1\n", stdout); */ gdImageFill(im, 0, 0, 0xffffff); /* fputs("flag 2\n", stdout); */ gdImageFill(im, 0, 0, 0xffffff); /* fputs("flag 2\n", stdout); */ if (!gdAssertImageEqualsToFile("gdimagefill/bug00002_2_exp.png", im)) { error = 1; } /* Destroy it */ gdImageDestroy(im); gdImageDestroy(tile); return error; } libgd-2.3.0/tests/gdimagefill/Makemodule.am0000664000175000017500000000060513634445460015542 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagefill/bug00002_1 \ gdimagefill/bug00002_2 \ gdimagefill/bug00002_3 \ gdimagefill/bug00002_4 \ gdimagefill/bug00104_1 endif EXTRA_DIST += \ gdimagefill/CMakeLists.txt \ gdimagefill/bug00002_1_exp.png \ gdimagefill/bug00002_2_exp.png \ gdimagefill/bug00002_3_exp.png \ gdimagefill/bug00002_4_exp.png \ gdimagefill/bug00104_1_exp.png libgd-2.3.0/tests/gdimagefill/bug00002_2_exp.png0000664000175000017500000000061113634445460016077 00000000000000PNG  IHDRPLTEU~>IDATHiP a TJr YibTBJRhd}7-ղŹ\e'd!{#=[Wp%8WwKp 9n.t%8Ww7|g+pBλ n.  p.)'伻Kp 9n. g+pBλް8\r. Kp 9uHL. Kp 9\3p N8!};1Lqe^IENDB`libgd-2.3.0/tests/gdimagefill/CMakeLists.txt0000664000175000017500000000020513634445460015674 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00002_1 bug00002_2 bug00002_3 bug00002_4 bug00104_1 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagefill/bug00002_3.c0000664000175000017500000000231313635665516014672 00000000000000#include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im, tile; int im_black, tile_white, tile_black; int x,y, error = 0; /* fputs("flag 0\n", stdout); */ im = gdImageCreate(150, 150); tile = gdImageCreateTrueColor(36, 36); tile_white = gdImageColorAllocate(tile,255,255,255); tile_black = gdImageColorAllocate(tile,55,0,0); gdImageColorAllocate(im,255,255,255); /* allocate white for background color */ im_black = gdImageColorAllocate(im,0,0,0); gdImageFill(tile, 0,0, tile_white); gdImageColorTransparent(tile, tile_black); gdImageColorTransparent(im, im_black); /* create the dots pattern */ for (x=0; x<36; x+=2) { for (y=0; y<36; y+=2) { gdImageSetPixel(tile,x,y,tile_black); } } gdImageSetTile(im,tile); gdImageRectangle(im, 9,9,139,139, im_black); gdImageLine(im, 9,9,139,139, im_black); gdImageFill(im, 11,12, gdTiled); /* fputs("flag 1\n", stdout); */ gdImageFill(im, 0, 0, 0xffffff); /* fputs("flag 2\n", stdout); */ gdImageFill(im, 0, 0, 0xffffff); /* fputs("flag 3\n", stdout); */ if (!gdAssertImageEqualsToFile("gdimagefill/bug00002_3_exp.png", im)) { error = 1; } /* Destroy it */ gdImageDestroy(im); gdImageDestroy(tile); return error; } libgd-2.3.0/tests/gdimagefill/bug00002_1.c0000664000175000017500000000122013635665516014664 00000000000000#include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; char *file; int error = 0; im = gdImageCreateTrueColor(100, 100); if (im == NULL) { gdTestErrorMsg("Cannot create image.\n"); return 1; } gdImageFill(im, 0, 0, 0xffffff); gdImageFill(im, 0, 0, 0xffffff); file = gdTestTempFile("bug00002_1.png"); fp = fopen(file, "wb"); if (fp == NULL) { gdTestErrorMsg("Cannot create image from <%s>\n", file); gdImageDestroy(im); return 1; } gdImagePng(im,fp); fclose(fp); if (!gdAssertImageEqualsToFile("gdimagefill/bug00002_1_exp.png", im)) error = 1; gdImageDestroy(im); return error; } libgd-2.3.0/tests/gdimagefilledrectangle/0000775000175000017500000000000013635665565015430 500000000000000libgd-2.3.0/tests/gdimagefilledrectangle/bug00004.c0000664000175000017500000000110513635665516016646 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int c1,c2,c3,c4,c5; im = gdImageCreateTrueColor(100,100); gdImageFilledRectangle(im, 2,2, 80,95, 0x50FFFFFF); c1 = gdImageGetTrueColorPixel(im, 2, 2); c2 = gdImageGetTrueColorPixel(im, 80, 95); c3 = gdImageGetTrueColorPixel(im, 80, 2); c4 = gdImageGetTrueColorPixel(im, 2, 95); c5 = gdImageGetTrueColorPixel(im, 49, 49); gdImageDestroy(im); if (0x005e5e5e == c1 && 0x005e5e5e == c2 && 0x005e5e5e == c3 && 0x005e5e5e == c4 && 0x005e5e5e == c5) { return 0; } else { return 1; } } libgd-2.3.0/tests/gdimagefilledrectangle/bug00078.c0000664000175000017500000000175413635665516016673 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int c1,c2,c3,c4,c5; im = gdImageCreateTrueColor(100,100); gdImageFilledRectangle(im, 2,2, 80,95, 0x50FFFFFF); c1 = gdImageGetTrueColorPixel(im, 2, 2); c2 = gdImageGetTrueColorPixel(im, 80, 95); c3 = gdImageGetTrueColorPixel(im, 80, 2); c4 = gdImageGetTrueColorPixel(im, 2, 95); c5 = gdImageGetTrueColorPixel(im, 49, 49); if (!(0x005e5e5e == c1 && 0x005e5e5e == c2 && 0x005e5e5e == c3 && 0x005e5e5e == c4)) { return 1; } gdImageFilledRectangle(im, 0, 0, 99, 99, 0x0); gdImageFilledRectangle(im, 80,95, 2,2, 0x50FFFFFF); c1 = gdImageGetTrueColorPixel(im, 2, 2); c2 = gdImageGetTrueColorPixel(im, 80, 95); c3 = gdImageGetTrueColorPixel(im, 80, 2); c4 = gdImageGetTrueColorPixel(im, 2, 95); c5 = gdImageGetTrueColorPixel(im, 49, 49); if (!(0x005e5e5e == c1 && 0x005e5e5e == c2 && 0x005e5e5e == c3 && 0x005e5e5e == c4 && 0x005e5e5e == c5)) { return 1; } gdImageDestroy(im); return 0; } libgd-2.3.0/tests/gdimagefilledrectangle/Makemodule.am0000664000175000017500000000031713634445460017740 00000000000000libgd_test_programs += \ gdimagefilledrectangle/bug00004 \ gdimagefilledrectangle/bug00078 \ gdimagefilledrectangle/bug00106_gdimagefilledrectangle EXTRA_DIST += \ gdimagefilledrectangle/CMakeLists.txt libgd-2.3.0/tests/gdimagefilledrectangle/bug00106_gdimagefilledrectangle.c0000664000175000017500000000076613635665516023407 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int c1,c2,c3,c4; im = gdImageCreateTrueColor(10,10); if (!im) { return 1; } gdImageFilledRectangle(im, 1,1, 1,1, 0x50FFFFFF); c1 = gdImageGetTrueColorPixel(im, 1, 1); c2 = gdImageGetTrueColorPixel(im, 2, 1); c3 = gdImageGetTrueColorPixel(im, 1, 2); c4 = gdImageGetTrueColorPixel(im, 2, 2); gdImageDestroy(im); if (0x005e5e5e == c1 && 0x0 == c2 && 0x0 == c3 && 0x0 == c4) { return 0; } else { return 1; } } libgd-2.3.0/tests/gdimagefilledrectangle/CMakeLists.txt0000664000175000017500000000013713634445460020076 00000000000000LIST(APPEND TESTS_FILES bug00004 bug00078 bug00106_gdimagefilledrectangle ) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagestringup/0000775000175000017500000000000013635665565014157 500000000000000libgd-2.3.0/tests/gdimagestringup/gdimagestringup_exp.png0000664000175000017500000000026413635665516020650 00000000000000PNG  IHDR2d&PLTEġ pHYs+TIDAT(c`Y ?gf24@ԋ21NnBT.hTN4.? W7%{QDIENDB`libgd-2.3.0/tests/gdimagestringup/gdimagestringup.c0000664000175000017500000000132513635665516017431 00000000000000/** * Base test for gdImageStringUp() */ #include #include #include "gdtest.h" #include int main() { /* Declare the image */ gdImagePtr im = NULL; char *s = "Hello gd"; int errorcode = 0; int foreground; gdFontPtr fontptr = gdFontGetLarge(); im = gdImageCreate(50, 100); gdImageColorAllocate(im, 202, 202, 0); foreground = gdImageColorAllocate(im, 22, 4, 238); gdImageStringUp(im, fontptr, im->sx / 2 - fontptr->h / 2, im->sy / 2 + (strlen(s) * fontptr->w / 2), (unsigned char*)s, foreground); if (!gdAssertImageEqualsToFile("gdimagestringup/gdimagestringup_exp.png", im)) errorcode = 1; /* Destroy the image im memory */ gdImageDestroy(im); return errorcode; } libgd-2.3.0/tests/gdimagestringup/Makemodule.am0000664000175000017500000000025313635665516016475 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagestringup/gdimagestringup endif EXTRA_DIST += \ gdimagestringup/CMakeLists.txt \ gdimagestringup/gdimagestringup_exp.png libgd-2.3.0/tests/gdimagestringup/CMakeLists.txt0000664000175000017500000000013213635665516016627 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagestringup ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecompare/0000775000175000017500000000000013635665564013731 500000000000000libgd-2.3.0/tests/gdimagecompare/Makemodule.am0000664000175000017500000000015013635665516016244 00000000000000libgd_test_programs += \ gdimagecompare/gdimagecompare EXTRA_DIST += \ gdimagecompare/CMakeLists.txt libgd-2.3.0/tests/gdimagecompare/gdimagecompare.c0000664000175000017500000000276113635665516016764 00000000000000/** * Base test for gdImageCompare() */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im1; gdImagePtr im2; int black; int red1, red2; int yellow1, yellow2; int white; int blue; int ret; im1 = gdImageCreate(128, 128); im2 = gdImageCreateTrueColor(256, 256); /* Set different interlace */ gdImageInterlace(im1, 1); gdImageInterlace(im2, 2); /* Set different transparent */ gdImageColorTransparent(im1, 10); gdImageColorTransparent(im2, 20); /* Allocate different color number */ black = gdImageColorAllocate(im1, 0, 0, 0); red1 = gdImageColorAllocate(im1, 255, 0, 0); yellow1 = gdImageColorAllocate(im1, 255, 255, 0); red2 = gdImageColorAllocate(im2, 255, 0, 0); yellow2 = gdImageColorAllocate(im2, 255, 255, 0); white = gdImageColorAllocate(im2, 255, 255, 255); blue = gdImageColorAllocate(im2, 0, 0, 255); /* Filled different color */ gdImageFilledRectangle(im1, 0, 0, 127, 8, black); gdImageFilledRectangle(im1, 9, 0, 127, 16, red1); gdImageFilledRectangle(im1, 17, 0, 127, 24, yellow1); gdImageFilledRectangle(im2, 0, 0, 127, 8, red2); gdImageFilledRectangle(im2, 9, 0, 127, 16, yellow2); gdImageFilledRectangle(im2, 17, 0, 127, 24, white); gdImageFilledRectangle(im2, 25, 0, 127, 32, blue); ret = gdImageCompare(im1, im2); gdTestAssert(ret == (GD_CMP_INTERLACE | GD_CMP_TRANSPARENT | GD_CMP_TRUECOLOR | GD_CMP_SIZE_X | GD_CMP_SIZE_Y | GD_CMP_COLOR | GD_CMP_IMAGE | GD_CMP_NUM_COLORS)); gdImageDestroy(im1); gdImageDestroy(im2); return gdNumFailures(); } libgd-2.3.0/tests/gdimagecompare/CMakeLists.txt0000664000175000017500000000007113635665516016404 00000000000000LIST(APPEND TESTS_FILES gdimagecompare ) ADD_GD_TESTS() libgd-2.3.0/tests/gdtiled/0000775000175000017500000000000013635665565012402 500000000000000libgd-2.3.0/tests/gdtiled/Makemodule.am0000664000175000017500000000023013634445460014704 00000000000000if HAVE_LIBPNG if HAVE_LIBZ libgd_test_programs += \ gdtiled/bug00032 endif endif EXTRA_DIST += \ gdtiled/CMakeLists.txt \ gdtiled/bug00032_exp.png libgd-2.3.0/tests/gdtiled/bug00032.c0000664000175000017500000000120213635665516013617 00000000000000#include "gd.h" #include #include "gdtest.h" int main() { gdImagePtr im, tile; gdSetErrorMethod(gdSilence); tile = gdImageCreateTrueColor(10, 10); gdImageFill(tile, 0, 0, 0xFFFFFF); gdImageLine(tile, 0,0, 9,9, 0xff0000); gdImageColorTransparent(tile, 0xFFFFFF); im = gdImageCreateTrueColor(50, 50); gdImageFilledRectangle(im, 0, 0, 25, 25, 0x00FF00); gdImageSetTile(im, tile); gdImageFilledRectangle(im, 10, 10, 49, 49, gdTiled); if (!gdAssertImageEqualsToFile("gdtiled/bug00032_exp.png", im)) { gdImageDestroy(im); gdImageDestroy(tile); return 1; } gdImageDestroy(im); gdImageDestroy(tile); return 0; } libgd-2.3.0/tests/gdtiled/CMakeLists.txt0000664000175000017500000000016413634445460015050 00000000000000IF(PNG_FOUND) IF(ZLIB_FOUND) LIST(APPEND TESTS_FILES bug00032 ) ENDIF(ZLIB_FOUND) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdtiled/bug00032_exp.png0000664000175000017500000000035113634445460015032 00000000000000PNG  IHDR22]IDATXI0 pEH8Ls5RD61fX`-"Z)[H2-"E*i[^fg&sKYAg&%g{kwM{tYg6ofnyIӖ|564plƱfmo86،c3TG<IENDB`libgd-2.3.0/tests/gd2/0000775000175000017500000000000013635665564011441 500000000000000libgd-2.3.0/tests/gd2/empty.gd20000664000175000017500000000000013634445460013071 00000000000000libgd-2.3.0/tests/gd2/bug00209.c0000664000175000017500000000104113635665516012666 00000000000000/** * Regression test for github issue #209 * * We're testing that bug00209.gd2, which claims to have 12336 x 48 pixels, but * actually provides not enough image data, is rejected, i.e. that * gdImageCreateFromGd2() returns NULL * * See . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gd2", "bug00209.gd2"); gdTestAssert(fp != NULL); im = gdImageCreateFromGd2(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/gd2/invalid_neg_size.gd20000664000175000017500000000321413634445460015256 00000000000000gd2@)oxdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAe߲lPtoW;``8jTH#&?Y$T/ gBf<7kԟ.~!ƧXY&[T7SI& 7`M1lOTa$ͮ aeʅ~}i}[)N+%s75'=_ҍȽyMD1`t p~,`:?aV ?*PIYb ϰ. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gd2", "bug00354a.gd2"); gdTestAssert(fp != NULL); im = gdImageCreateFromGd2(fp); gdTestAssert(im == NULL); fclose(fp); fp = gdTestFileOpen2("gd2", "bug00354b.gd2"); gdTestAssert(fp != NULL); im = gdImageCreateFromGd2(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/gd2/too_few_image_data.c0000664000175000017500000000071713634445460015315 00000000000000/* too_few_image_data.gd2 claims to have a size of 12336x48 pixels, but doesn't provide as much image data. We test that gdImageCreateFromGd2Ctx() returns NULL in this case. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gd2", "too_few_image_data.gd2"); gdTestAssert(fp != NULL); im = gdImageCreateFromGd2(fp); gdTestAssert(im == NULL); fclose(fp); return gdNumFailures(); } libgd-2.3.0/tests/gd2/gd2_null.c0000664000175000017500000000031713634445460013222 00000000000000#include "gd.h" int main() { gdImagePtr im; im = gdImageCreateFromGd2(NULL); if (im != NULL) { gdImageDestroy(im); return 1; } gdImageGd2(im, NULL, 0, GD2_FMT_RAW); /* noop safely */ return 0; } libgd-2.3.0/tests/gd2/bug00209.gd20000664000175000017500000000203213634445460013112 00000000000000gd2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000libgd-2.3.0/tests/gd2/bug00383.c0000664000175000017500000000126613635665516012702 00000000000000/** * Test that invalid transparent colors can't be read * * We're reading a corrupt palette image in GD2 format, which has only a single * palette entry, but claims that the transparent color would be 1. We check * that the transparency is simply ignored in this case. * * See also */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gd2", "bug00383.gd2"); gdTestAssert(fp != NULL); im = gdImageCreateFromGd2(fp); gdTestAssert(im != NULL); fclose(fp); gdTestAssert(gdImageGetTransparent(im) == -1); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gd2/conv_test_exp.png0000664000175000017500000000012713634445460014735 00000000000000PNG  IHDR PXIDATc`!`e3M4MoS>TuIENDB`libgd-2.3.0/tests/gd2/bug00354a.gd20000664000175000017500000000013413634445460013255 00000000000000gd2dd=x1 Oe @libgd-2.3.0/tests/gd2/bug_289.c0000664000175000017500000000152713635665516012706 00000000000000/** * Passing an unrecognized format to gdImageGd2() should result in * GD2_FMT_TRUECOLOR_COMPRESSED for truecolor images. * * See . */ #include "gd.h" #include "gdtest.h" #define GD2_FMT_UNRECOGNIZED 0 #define GD2_FMT_TRUECOLOR_COMPRESSED 4 #define MSG "expected %s byte to be %d, but got %d\n" int main() { gdImagePtr im; char *buffer; int size; im = gdImageCreateTrueColor(10, 10); gdTestAssert(im != NULL); buffer = (char *) gdImageGd2Ptr(im, 128, GD2_FMT_UNRECOGNIZED, &size); gdTestAssert(buffer != NULL); gdImageDestroy(im); gdTestAssertMsg(buffer[12] == 0, MSG, "1st", 0, buffer[12]); gdTestAssertMsg(buffer[13] == GD2_FMT_TRUECOLOR_COMPRESSED, MSG, "2nd", GD2_FMT_TRUECOLOR_COMPRESSED, buffer[13]); gdFree(buffer); return gdNumFailures(); } libgd-2.3.0/tests/gd2/conv_test.gd20000664000175000017500000000064713634445460013760 00000000000000gd2 libgd-2.3.0/tests/gd2/invalid_header.gd20000664000175000017500000000100013634445460014672 00000000000000gd25h I<CR "* 5z&:C nMqTt `lcfSi knd sr@@x:i $@@5@@0t@`s @@s@Fp`z$@@Ph@~,@`@s@`q@@r@$@] @@lfV< @@xs@@`$libgd-2.3.0/tests/gd2/gd2_empty_file.c0000664000175000017500000000041513634445460014404 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im; FILE *fp = gdTestFileOpen("gd2/empty.gd2"); im = gdImageCreateFromGd2(fp); fclose(fp); if (!im) { return 0; } else { gdImageDestroy(im); return 1; } } libgd-2.3.0/tests/gd2/Makemodule.am0000664000175000017500000000126013635665516013757 00000000000000if ENABLE_GD_FORMATS if HAVE_LIBZ libgd_test_programs += \ gd2/bug_289 \ gd2/bug00209 \ gd2/bug00309 \ gd2/bug00354 \ gd2/bug00383 \ gd2/createimagefromgd2part \ gd2/createimagefromgd2partptr \ gd2/gd2_empty_file \ gd2/php_bug_72339 \ gd2/gd2_null \ gd2/gd2_read_corrupt \ gd2/too_few_image_data \ gd2/gd2_im2im if HAVE_LIBPNG libgd_test_programs += \ gd2/gd2_read endif endif endif EXTRA_DIST += \ gd2/CMakeLists.txt \ gd2/bug00209.gd2 \ gd2/bug00354a.gd2 \ gd2/bug00354b.gd2 \ gd2/bug00383.gd2 \ gd2/conv_gd2_exp.gd2 \ gd2/conv_test.gd2 \ gd2/conv_test_exp.png \ gd2/empty.gd2 \ gd2/invalid_header.gd2 \ gd2/invalid_neg_size.gd2 \ gd2/too_few_image_data.gd2 libgd-2.3.0/tests/gd2/php_bug_72339.c0000664000175000017500000000114613635665516013717 00000000000000#include #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; FILE *fp; int i; const char header[] = { 0x00, 0x02, 0x00, 0x01, 0x00, 0x01, 0x00, 0x40, 0x00, 0x02, 0x54, 0xA0, 0x5B, 0x00 }; /* we're creating the test image dynamically, due to its size */ fp = gdTestTempFp(); fwrite(header, sizeof(header[0]), sizeof(header), fp); for (i = 0; i < 0x4000000; i++) { fputc(0x41, fp); } rewind(fp); im = gdImageCreateFromGd2(fp); fclose(fp); gdTestAssertMsg(im == NULL, "Image should have failed to be loaded\n"); return gdNumFailures(); } libgd-2.3.0/tests/gd2/bug00383.gd20000664000175000017500000000213113635665516013124 00000000000000gd2libgd-2.3.0/tests/gd2/gd2_read.c0000664000175000017500000000223713635665516013175 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main(int argc, char *argv[]) { int error = 0, i = 0; gdImagePtr im, exp; FILE *fp; char *path[] = { "conv_test.gd2", "invalid_neg_size.gd2", "invalid_header.gd2", NULL }; char *path_exp[] = { "conv_test_exp.png", NULL, NULL, NULL }; while (path[i] != NULL) { fp = gdTestFileOpen2("gd2", path[i]); if (!fp) { gdTestErrorMsg("failed, cannot open file: %s\n", path[0]); return 1; } im = gdImageCreateFromGd2(fp); fclose(fp); if (path_exp[i] != NULL) { fp = gdTestFileOpen2("gd2", path_exp[i]); if (!fp) { gdTestErrorMsg("failed, cannot open file: %s\n", path_exp[i]); gdImageDestroy(im); return 1; } exp = gdImageCreateFromPng(fp); if (!gdAssertImageEquals(exp, im)) { gdTestErrorMsg("image %s differs from expected result\n", path[i]); error = 1; } if (exp) { gdImageDestroy(exp); } gdImageDestroy(im); } else { /* expected to fail */ if (im) { gdTestErrorMsg("image %s should have failed to be loaded\n", path[i]); gdImageDestroy(im); error = 1; } } i++; } return error; } libgd-2.3.0/tests/gd2/bug00354b.gd20000664000175000017500000000002213634445460013252 00000000000000gd2000000libgd-2.3.0/tests/gd2/gd2_im2im.c0000664000175000017500000000263313634445460013270 00000000000000#include "gd.h" #include "gdtest.h" int main() { gdImagePtr src, dst; int r, g, b; void *p; int size = 0; int status = 0; CuTestImageResult result = {0, 0}; src = gdImageCreate(100, 100); if (src == NULL) { gdTestErrorMsg("could not create src\n"); return 1; } r = gdImageColorAllocate(src, 0xFF, 0, 0); g = gdImageColorAllocate(src, 0, 0xFF, 0); b = gdImageColorAllocate(src, 0, 0, 0xFF); gdImageFilledRectangle(src, 0, 0, 99, 99, r); gdImageRectangle(src, 20, 20, 79, 79, g); gdImageEllipse(src, 70, 25, 30, 20, b); #define OUTPUT_GD2(x) do { \ FILE *fp = gdTestTempFp(); \ gdImageGd2(x, fp, (GD2_CHUNKSIZE_MIN+GD2_CHUNKSIZE_MAX)/2, GD2_FMT_COMPRESSED); \ fclose(fp); \ } while (0) OUTPUT_GD2(src); p = gdImageGd2Ptr(src, (GD2_CHUNKSIZE_MIN+GD2_CHUNKSIZE_MAX)/2, GD2_FMT_COMPRESSED, &size); if (p == NULL) { status = 1; gdTestErrorMsg("p is null\n"); goto door0; } if (size <= 0) { status = 1; gdTestErrorMsg("size is non-positive\n"); goto door1; } dst = gdImageCreateFromGd2Ptr(size, p); if (dst == NULL) { status = 1; gdTestErrorMsg("could not create dst\n"); goto door1; } OUTPUT_GD2(dst); gdTestImageDiff(src, dst, NULL, &result); if (result.pixels_changed > 0) { status = 1; gdTestErrorMsg("pixels changed: %d\n", result.pixels_changed); } gdImageDestroy(dst); door1: gdFree(p); door0: gdImageDestroy(src); return status; } libgd-2.3.0/tests/gd2/CMakeLists.txt0000664000175000017500000000057413635665516014124 00000000000000IF(ENABLE_GD_FORMATS) IF(ZLIB_FOUND) LIST(APPEND TESTS_FILES bug_289 bug00209 bug00309 bug00354 bug00383 createimagefromgd2part createimagefromgd2partptr gd2_empty_file php_bug_72339 gd2_null gd2_read_corrupt too_few_image_data gd2_im2im ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES gd2_read ) ENDIF(PNG_FOUND) ENDIF(ZLIB_FOUND) ENDIF(ENABLE_GD_FORMATS) ADD_GD_TESTS() libgd-2.3.0/tests/gd2/createimagefromgd2part.c0000664000175000017500000000111413635665516016135 00000000000000/** *Base test for gdImageCreateFromGd2Part() */ #include "gd.h" #include "gdtest.h" #include #include int main() { gdImagePtr im; FILE *p; int expected_color = 0xffffff; int actual_color = 0; p = gdTestFileOpen2("gd2", "conv_test.gd2"); if (!p) { gdTestErrorMsg("failed, connot open gd2 file: conv_test.gd2"); return 1; } im = gdImageCreateFromGd2Part(p, 3, 3, 3, 3); fclose(p); if (!im) { return 1; } actual_color = gdImageGetPixel(im, 2, 2); gdImageDestroy(im); gdTestAssert(expected_color == actual_color); return gdNumFailures(); } libgd-2.3.0/tests/gd2/gd2_read_corrupt.c0000664000175000017500000000103213634445460014734 00000000000000/* Just try to read the invalid gd2 image & not crash. */ #include "gd.h" #include #include #include "gdtest.h" int main(int argc, char *argv[]) { gdImagePtr im; FILE *fp; fp = gdTestFileOpen2("gd2", "invalid_header.gd2"); if (!fp) { gdTestErrorMsg("failed, cannot open file: %s\n", "invalid_header.gd2"); return 1; } im = gdImageCreateFromGd2(fp); fclose(fp); if (im != NULL) { gdTestErrorMsg("image should have failed to be loaded\n"); gdImageDestroy(im); return 1; } else { return 0; } } libgd-2.3.0/tests/gd2/too_few_image_data.gd20000664000175000017500000000203213634445460015537 00000000000000gd2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000libgd-2.3.0/tests/gd2/conv_gd2_exp.gd20000664000175000017500000000000013634445460014310 00000000000000libgd-2.3.0/tests/gd2/bug00309.c0000664000175000017500000000164513634445460012672 00000000000000/** * Regression test for . * * We test that an image with 64x64 pixels reports only a single chunk in the * GD2 image header when the chunk size is 64. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; unsigned char *buf; int size, word; im = gdImageCreate(64, 64); gdImageColorAllocate(im, 0, 0, 0); buf = gdImageGd2Ptr(im, 64, 1, &size); gdImageDestroy(im); word = buf[10] << 8 | buf[11]; gdTestAssertMsg(word == 64, "chunk size is %d, but expected 64\n", word); word = buf[14] << 8 | buf[15]; gdTestAssertMsg(word == 1, "x chunk count is %d, but expected 1\n", word); word = buf[16] << 8 | buf[17]; gdTestAssertMsg(word == 1, "y chunk count is %d, but expected 1\n", word); gdTestAssertMsg(size == 5145, "file size is %d, but expected 5145\n", size); gdFree(buf); return gdNumFailures(); } libgd-2.3.0/tests/gd2/createimagefromgd2partptr.c0000664000175000017500000000176413635665516016676 00000000000000/** * Base test for gdImageCreateFromGd2PartPtr() */ #include "gd.h" #include "gdtest.h" #include int main() { FILE *p; gdImagePtr im, partim; void *pg; int size = 0; int status = 0; int actual_color = 0; int expected_color = 0xffffff; p = gdTestFileOpen2("gd2", "conv_test.gd2"); if (!p) { gdTestErrorMsg("failed, cannot open gd2 file:conv_test.gd2"); return 1; } im = gdImageCreateFromGd2(p); fclose(p); if (!im) { gdTestErrorMsg("failed, cannot create gd2 file."); return 1; } pg = gdImageGd2Ptr(im, (GD2_CHUNKSIZE_MIN + GD2_CHUNKSIZE_MAX) / 2, GD2_FMT_COMPRESSED, &size); if (!pg) { status = 1; goto done1; } if (size <= 0) { status = 1; goto done0; } partim = gdImageCreateFromGd2PartPtr(size, pg, 3, 3, 3, 3); if (!partim) { status = 1; goto done0; } actual_color = gdImageGetPixel(partim, 2, 2); status = (expected_color == actual_color) ? 0 : 1; gdImageDestroy(partim); done0: gdFree(pg); done1: gdImageDestroy(im); return status; } libgd-2.3.0/tests/gdimagefilledpolygon/0000775000175000017500000000000013635665565015153 500000000000000libgd-2.3.0/tests/gdimagefilledpolygon/bug00100.c0000664000175000017500000000666613634445460016400 00000000000000#include #include "gd.h" #include "gdtest.h" /* This is a quickie test program to show a bug in gd. * There is a red line that is drawn across the bottom of * the image that shouldn't be there. */ int main(void) { gdPoint pointy[5]; gdPoint diamond[4]; int d, x, y, top, bot, left, right, r; /* R G B */ int white = gdTrueColorAlpha(255, 255, 255, 10); int black = gdTrueColorAlpha( 0, 0, 0, 10); int red = gdTrueColorAlpha(255, 0, 0, 10); int green = gdTrueColorAlpha( 0, 255, 0, 10); int blue = gdTrueColorAlpha( 0, 0, 255, 10); int yellow = gdTrueColorAlpha(255, 255, 0, 10); int cyan = gdTrueColorAlpha( 0, 255, 255, 10); int magenta = gdTrueColorAlpha(255, 0, 255, 10); int purple = gdTrueColorAlpha(100, 0, 100, 10); gdImagePtr im = gdImageCreateTrueColor(256, 256); if (!im) exit(EXIT_FAILURE); gdImageFilledRectangle(im, 0, 0, 256, 256, white); /* M (bridge) */ top = 240; bot = 255; d = 30; x = 100; pointy[0].x = x; pointy[0].y = top; pointy[1].x = x+2*d; pointy[1].y = top; pointy[2].x = x+2*d; pointy[2].y = bot; pointy[3].x = x+d; pointy[3].y = (top+bot)/2; pointy[4].x = x; pointy[4].y = bot; gdImageFilledPolygon(im, pointy, 5, yellow); /* left-facing M not on baseline */ top = 40; bot = 70; left = 120; right = 180; pointy[0].x = left; pointy[0].y = top; pointy[1].x = right; pointy[1].y = top; pointy[2].x = right; pointy[2].y = bot; pointy[3].x = left; pointy[3].y = bot; pointy[4].x = (left+right)/2; pointy[4].y = (top+bot)/2; gdImageFilledPolygon(im, pointy, 5, purple); /* left-facing M on baseline */ top = 240; bot = 270; left = 20; right = 80; pointy[0].x = left; pointy[0].y = top; pointy[1].x = right; pointy[1].y = top; pointy[2].x = right; pointy[2].y = bot; pointy[3].x = left; pointy[3].y = bot; pointy[4].x = (left+right)/2; pointy[4].y = (top+bot)/2; gdImageFilledPolygon(im, pointy, 5, magenta); /* left-facing M on ceiling */ top = -15; bot = 15; left = 20; right = 80; pointy[0].x = left; pointy[0].y = top; pointy[1].x = right; pointy[1].y = top; pointy[2].x = right; pointy[2].y = bot; pointy[3].x = left; pointy[3].y = bot; pointy[4].x = (left+right)/2; pointy[4].y = (top+bot)/2; gdImageFilledPolygon(im, pointy, 5, blue); d = 30; x = 150; y = 150; diamond[0].x = x-d; diamond[0].y = y; diamond[1].x = x; diamond[1].y = y+d; diamond[2].x = x+d; diamond[2].y = y; diamond[3].x = x; diamond[3].y = y-d; gdImageFilledPolygon(im, diamond, 4, green); x = 180; y = 225; diamond[0].x = x-d; diamond[0].y = y; diamond[1].x = x; diamond[1].y = y+d; diamond[2].x = x+d; diamond[2].y = y; diamond[3].x = x; diamond[3].y = y-d; gdImageFilledPolygon(im, diamond, 4, red); x = 225; y = 255; diamond[0].x = x-d; diamond[0].y = y; diamond[1].x = x; diamond[1].y = y+d; diamond[2].x = x+d; diamond[2].y = y; diamond[3].x = x; diamond[3].y = y-d; gdImageFilledPolygon(im, diamond, 4, cyan); /* M (bridge) not touching bottom boundary */ top = 100; bot = 150; x = 30; pointy[0].x = x; pointy[0].y = top; pointy[1].x = x+2*d; pointy[1].y = top; pointy[2].x = x+2*d; pointy[2].y = bot; pointy[3].x = x+d; pointy[3].y = (top+bot)/2; pointy[4].x = x; pointy[4].y = bot; gdImageFilledPolygon(im, pointy, 5, black); r = gdAssertImageEqualsToFile("gdimagefilledpolygon/bug00100.png", im); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.png0000664000175000017500000000013713634445460022035 00000000000000PNG  IHDRddJ,PLTEU~IDAT8c``Q@Ox^IENDB`libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.c0000664000175000017500000000140513634445460021473 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; points[1].x = 50; points[1].y = 70; gdImageFilledPolygon(im, points, 2, black); r = gdAssertImageEqualsToFile("gdimagefilledpolygon/gdimagefilledpolygon2.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon1.c0000664000175000017500000000133713634445460021476 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; gdImageFilledPolygon(im, points, 1, black); r = gdAssertImageEqualsToFile("gdimagefilledpolygon/gdimagefilledpolygon1.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon2.png0000664000175000017500000000021413634445460022032 00000000000000PNG  IHDRddJ,PLTEU~AIDAT8Ρ  PZJGfޜFܺ)hh(tA\\CIũy,IENDB`libgd-2.3.0/tests/gdimagefilledpolygon/bug00100.png0000664000175000017500000000411413634445460016724 00000000000000PNG  IHDR?1 pHYs+IDATx]rFEa0pXHlBi y0ӷ829U0DInI<_|YVG,t>ËsL`PӇ0}Ӈ&>$(K>"jG\U0}Dw~x"FH 5@jR#FH 5@jR#FH 5@j$'y{ጯt| ?+2PC@! |2BBȠ?C=(25 @d`! $2h#z|?@`A@ [!`~[ӷ@0}; [#QL{"!L?30} kn73nFH 5@jR#FH 5@jR#FH 5@jR#FH 5ß=ϳ݃Y+R#FH 5@jR#FH 5@jR#FH›!ZVO@`s ҧQ!>!!7 / s˦ 6hsO/'ptu^֌/|zOr)8uG1^ `Ͼn~4A=VۥOtoO zⶫ-+@l_pJOhݸ XoivNS 6k➻䞸XTU:0)g xmK|W/R)Mnu 2pjw +|O6S (Ll†zkNmqm'69ulG]n  Z4wy*SFmmjdw z((B,_{eoVe @͂Y6܎Y kf{@$7w"`,GlB!}Z9?z:?{\ s _d`p^[w! a)O `L:9[0 ͩFsm`0;TF\# 9 `j&uZOjO;:|ڝ[?sY]0X ]?7Dz0jֿP_zFV1;hƤӀ}[0,_|^`x^ Y#7sC)lkӀO?v~luve=x_xK{2mj?\o V h3| Bo@y;Ӡdyv`5e?Wo`3wmX_;=7w>" \?zǧ/p pɠ[w9Fxl9s#m`$(e`@ݿx'`/JB2hjr{CXU.4dGI͙<Zw6{IENDB`libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.png0000664000175000017500000000041513634445460022036 00000000000000PNG  IHDRddJ,PLTEU~IDAT81 R?ɗR?҅c8vɵ\7bGct ѓȭH6#Ͳ|IPB)$=IO%( YP6 r5@:qNaHa5ҷD3-\ չtA* (Y0WBa$f'-/nIENDB`libgd-2.3.0/tests/gdimagefilledpolygon/php_bug_64641.c0000664000175000017500000000170613634445460017420 00000000000000/* Test drawing of 1-dimensional filled polygons We're drawing a vertical and a horizontal 1-dimensional filled polygon, which is supposed to result in a vertical and a horizontal line. See also . */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; gdPointPtr points; im = gdImageCreateTrueColor(640, 480); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); gdTestAssert(points != NULL); /* vertical line */ points[0].x = 100; points[0].y = 100; points[1].x = 100; points[1].y = 200; points[2].x = 100; points[2].y = 300; gdImageFilledPolygon(im, points, 3, 0xFFFF00); /* horizontal line */ points[0].x = 300; points[0].y = 200; points[1].x = 400; points[1].y = 200; points[2].x = 500; points[2].y = 200; gdImageFilledPolygon(im, points, 3, 0xFFFF00); gdAssertImageEqualsToFile("gdimagefilledpolygon/php_bug_64641.png", im); free(points); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.c0000664000175000017500000000113113634445460021465 00000000000000#include #include "gd.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); gdImageFilledPolygon(im, NULL, 0, black); /* no effect */ gdImageFilledPolygon(im, NULL, -1, black); /* no effect */ r = gdAssertImageEqualsToFile("gdimagefilledpolygon/gdimagefilledpolygon0.png", im); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon3.c0000664000175000017500000000145313634445460021477 00000000000000#include #include "gd.h" #include "gdhelpers.h" #include "gdtest.h" int main(void) { gdImagePtr im; int white, black, r; gdPointPtr points; im = gdImageCreate(100, 100); if (!im) exit(EXIT_FAILURE); white = gdImageColorAllocate(im, 0xff, 0xff, 0xff); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledRectangle(im, 0, 0, 99, 99, white); points = (gdPointPtr)calloc(3, sizeof(gdPoint)); if (!points) { gdImageDestroy(im); exit(EXIT_FAILURE); } points[0].x = 10; points[0].y = 10; points[1].x = 50; points[1].y = 70; points[2].x = 90; points[2].y = 30; gdImageFilledPolygon(im, points, 3, black); r = gdAssertImageEqualsToFile("gdimagefilledpolygon/gdimagefilledpolygon3.png", im); free(points); gdImageDestroy(im); if (!r) exit(EXIT_FAILURE); return EXIT_SUCCESS; } libgd-2.3.0/tests/gdimagefilledpolygon/Makemodule.am0000664000175000017500000000132413634445460017462 00000000000000if HAVE_LIBPNG libgd_test_programs += \ gdimagefilledpolygon/bug00100 \ gdimagefilledpolygon/gdimagefilledpolygon0 \ gdimagefilledpolygon/gdimagefilledpolygon1 \ gdimagefilledpolygon/gdimagefilledpolygon2 \ gdimagefilledpolygon/gdimagefilledpolygon3 \ gdimagefilledpolygon/php_bug_64641 \ gdimagefilledpolygon/self_intersecting endif EXTRA_DIST += \ gdimagefilledpolygon/CMakeLists.txt \ gdimagefilledpolygon/bug00100.png \ gdimagefilledpolygon/gdimagefilledpolygon0.png \ gdimagefilledpolygon/gdimagefilledpolygon1.png \ gdimagefilledpolygon/gdimagefilledpolygon2.png \ gdimagefilledpolygon/gdimagefilledpolygon3.png \ gdimagefilledpolygon/php_bug_64641.png \ gdimagefilledpolygon/self_intersecting_exp.png libgd-2.3.0/tests/gdimagefilledpolygon/self_intersecting.c0000664000175000017500000000117613635665516020747 00000000000000/** * We're testing the filling behavior of self-intersecting polygons, which is * *currently* using the even-odd fillrule. */ #include "gd.h" #include "gdtest.h" int main() { gdImagePtr im; int black; gdPoint points[] = {{50, 5}, {24, 86}, {93, 36}, {7, 36}, {76, 86}}; char *path; im = gdImageCreate(100, 100); gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); gdImageFilledPolygon(im, points, 5, black); path = gdTestFilePath2("gdimagefilledpolygon", "self_intersecting_exp.png"); gdAssertImageEqualsToFile(path, im); gdFree(path); gdImageDestroy(im); return gdNumFailures(); } libgd-2.3.0/tests/gdimagefilledpolygon/self_intersecting_exp.png0000664000175000017500000000057313634445460022156 00000000000000PNG  IHDRddJ,PLTEU~ pHYs+IDAT8=N0`G.L.aK\#lŊ\)7!GHڦAR,}V2~'?/?ڭGܫxN vj֩{h ȲzHuOe*tDYm:,r7v;JL-*$4#//)^s)؊=wJV.:XPJ55:4N\uVHUԽ*wP5rOsnTInssI狤׮yI" ›̮k3M)GֶL0IENDB`libgd-2.3.0/tests/gdimagefilledpolygon/CMakeLists.txt0000664000175000017500000000032113634445460017614 00000000000000IF(PNG_FOUND) LIST(APPEND TESTS_FILES gdimagefilledpolygon0 gdimagefilledpolygon1 gdimagefilledpolygon2 gdimagefilledpolygon3 bug00100 php_bug_64641 self_intersecting ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagefilledpolygon/php_bug_64641.png0000664000175000017500000000262113634445460017757 00000000000000PNG  IHDRK pHYs+CIDATx 0A#r,b2S.~mzp"@@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @1C *^`0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 @@ `0 $KskLIENDB`libgd-2.3.0/tests/gdimagefilledpolygon/gdimagefilledpolygon0.png0000664000175000017500000000013713634445460022034 00000000000000PNG  IHDRddJ,PLTEU~IDAT8c``Q@Ox^IENDB`libgd-2.3.0/tests/gdhelpers.c0000664000175000017500000000035613634445460013020 00000000000000/* * Dummy file to workaround an automake limitation: if we try to list the * file directly, automake will clean up its internal state in both the src/ * and tests/ subdirs, but only one will succeed. */ #include "../src/gdhelpers.c" libgd-2.3.0/tests/gdimagecopy/0000775000175000017500000000000013635665564013255 500000000000000libgd-2.3.0/tests/gdimagecopy/bug00081_exp.png0000664000175000017500000000013713634445460015714 00000000000000PNG  IHDRZ&IDAT8c`IbtDyQ"I/IENDB`libgd-2.3.0/tests/gdimagecopy/Makemodule.am0000664000175000017500000000030113634445460015557 00000000000000libgd_test_programs += \ gdimagecopy/bug00007 if HAVE_LIBPNG libgd_test_programs += \ gdimagecopy/bug00081 endif EXTRA_DIST += \ gdimagecopy/CMakeLists.txt \ gdimagecopy/bug00081_exp.png libgd-2.3.0/tests/gdimagecopy/CMakeLists.txt0000664000175000017500000000017013634445460015721 00000000000000LIST(APPEND TESTS_FILES bug00007 ) IF(PNG_FOUND) LIST(APPEND TESTS_FILES bug00081 ) ENDIF(PNG_FOUND) ADD_GD_TESTS() libgd-2.3.0/tests/gdimagecopy/bug00081.c0000664000175000017500000000147213634445460014501 00000000000000#include "gd.h" #include #include #include "gdtest.h" int main() { gdImagePtr im, im2; int error = 0; im = gdImageCreateTrueColor(5, 5); if (!im) { gdTestErrorMsg("can't create the src truecolor image\n"); return 1; } gdImageFilledRectangle(im, 0, 0, 49, 49, 0x00FFFFFF); gdImageColorTransparent(im, 0xFFFFFF); gdImageFilledRectangle(im, 1, 1, 4, 4, 0xFF00FF); im2 = gdImageCreateTrueColor(20, 20); if (!im2) { gdTestErrorMsg("can't create the dst truecolor image\n"); gdImageDestroy(im); return 1; } gdImageCopy(im2, im, 2, 2 , 0, 0, gdImageSX(im), gdImageSY(im)); if (!gdAssertImageEqualsToFile("gdimagecopy/bug00081_exp.png", im2)) { error = 1; gdTestErrorMsg("Reference image and destination differ\n"); } gdImageDestroy(im); gdImageDestroy(im2); return error; } libgd-2.3.0/tests/gdimagecopy/bug00007.c0000664000175000017500000000116713634445460014500 00000000000000#include #include #include "gd.h" #include "gdtest.h" int main() { gdImagePtr dst_tc, src; int c1; src = gdImageCreate(5,5); gdImageAlphaBlending(src, 0); gdImageColorAllocate(src, 255,255,255); /* allocate white for background color */ c1 = gdImageColorAllocateAlpha(src, 255,0,0,70); gdImageFilledRectangle(src, 0,0, 4,4, c1); dst_tc = gdImageCreateTrueColor(5,5); gdImageAlphaBlending(dst_tc, 0); gdImageCopy(dst_tc, src, 0,0, 0,0, gdImageSX(src), gdImageSY(src)); /* CuAssertImageEquals(tc, src, dst_tc); */ /* Destroy it */ gdImageDestroy(dst_tc); gdImageDestroy(src); return 0; } libgd-2.3.0/examples/0000775000175000017500000000000013635665516011436 500000000000000libgd-2.3.0/examples/flip.c0000664000175000017500000000226113635665516012455 00000000000000#include "gd.h" #include #include gdImagePtr loadImage(const char *name) { FILE *fp; gdImagePtr im; fp = fopen(name, "rb"); if (!fp) { fprintf(stderr, "Can't open jpeg file\n"); return NULL; } im = gdImageCreateFromJpeg(fp); fclose(fp); return im; } int savePngImage(gdImagePtr im, const char *name) { FILE *fp; fp = fopen(name, "wb"); if (!fp) { fprintf(stderr, "Can't save png image fromtiff.png\n"); return 0; } gdImagePng(im, fp); fclose(fp); return 1; } int main(int argc, char **arg) { gdImagePtr im; int returncode = 0; if (argc < 2) { fprintf(stderr, "Usage: flip [filename.png]\n"); return 1; } im = loadImage(arg[1]); if (!im) goto error; gdImageFlipHorizontal(im); if (!savePngImage(im, "flip_horizontal.png")) { goto error; } gdImageDestroy(im); im = loadImage(arg[1]); if (!im) goto error; gdImageFlipVertical(im); if (!savePngImage(im, "flip_vertical.png")) { goto error; } gdImageDestroy(im); im = loadImage(arg[1]); if (!im) goto error; gdImageFlipBoth(im); if (!savePngImage(im, "flip_both.png")) { goto error; } gdImageDestroy(im); goto done; error: returncode = 1; done: return returncode; } libgd-2.3.0/examples/noIcon.tga0000664000175000017500000045412213634445460013301 00000000000000 zzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFF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[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzlibgd-2.3.0/examples/copyrotated.c0000664000175000017500000000347313635665516014066 00000000000000#include "gd.h" #include #include #include gdImagePtr loadImage(const char *name) { FILE *fp; gdImagePtr im; fp = fopen(name, "rb"); if (!fp) { fprintf(stderr, "Can't open jpeg file\n"); return NULL; } im = gdImageCreateFromJpeg(fp); fclose(fp); return im; } int savePngImage(gdImagePtr im, const char *name) { FILE *fp; fp = fopen(name, "wb"); if (!fp) { fprintf(stderr, "Can't save png image fromtiff.png\n"); return 0; } gdImagePng(im, fp); fclose(fp); return 1; } int main(int argc, char **arg) { gdImagePtr im, im2; int new_width, new_height; double angle, a2; if (argc < 3) { fprintf(stderr, "Usage: copyrotated [angle in degree] [filename.png]\n"); return 1; } angle = strtod(arg[1], 0); im = loadImage(arg[2]); if (!im) { fprintf(stderr, "Can't load PNG file <%s>", arg[1]); return 1; } /* cos adj hyp (cos = adjacent / hypothenus) sin op hyp (sin adjacent / hypothenus) + 10 pixels margin */ /* to radian */ a2 = angle * .0174532925; new_width = fabs(ceil(cos(a2) * gdImageSX(im))) + fabs(sin(a2) * gdImageSY(im)); new_height = fabs(ceil(cos(a2) * gdImageSY(im))) + fabs(sin(a2) * gdImageSX(im)); im2 = gdImageCreateTrueColor(new_width, new_height); if (!im2) { fprintf(stderr, "Can't create a new image"); gdImageDestroy(im); return 1; } gdImageAlphaBlending(im2, 0); gdImageFilledRectangle(im2, 0, 0, gdImageSX(im2), gdImageSY(im2), gdTrueColorAlpha(127,0,0,127)); gdImageCopyRotated(im2, im, new_width/2, new_height/2, 0, 0, gdImageSX(im), gdImageSY(im), angle); gdImageSaveAlpha(im2, 1); if (!savePngImage(im2, "rotated.png")) { fprintf(stderr, "Can't save PNG file rotated.png"); gdImageDestroy(im); gdImageDestroy(im2); return 1; } gdImageDestroy(im2); gdImageDestroy(im); return 0; } libgd-2.3.0/examples/windows.c0000664000175000017500000001645613635665516013230 00000000000000/* Sample usage of GD on windows. This little program opens a window, fetch its DIB and assigns to a GD truecolor image. Thanks to Mateusz Loskot (http://mateusz.loskot.net) for the AttachBuffer function! */ #include #include #include #include gdImagePtr gdImageTrueColorAttachBuffer(int* buffer, int sx, int sy, int stride) { int i; int height; int* rowptr; gdImagePtr im; im = (gdImage *) malloc (sizeof (gdImage)); if (!im) { return 0; } memset (im, 0, sizeof (gdImage)); #if 0 if (overflow2(sizeof (int *), sy)) { return 0; } #endif im->tpixels = (int **) malloc (sizeof (int *) * sy); if (!im->tpixels) { free(im); return 0; } im->polyInts = 0; im->polyAllocated = 0; im->brush = 0; im->tile = 0; im->style = 0; height = sy; rowptr = buffer; if (stride < 0) { int startoff = (height - 1) * stride; rowptr = buffer - startoff; } i = 0; while (height--) { im->tpixels[i] = rowptr; rowptr += stride; i++; } im->sx = sx; im->sy = sy; im->transparent = (-1); im->interlace = 0; im->trueColor = 1; im->saveAlphaFlag = 0; im->alphaBlendingFlag = 1; im->thick = 1; im->AA = 0; im->cx1 = 0; im->cy1 = 0; im->cx2 = im->sx - 1; im->cy2 = im->sy - 1; return im; } void gdImageDetachBuffer(gdImagePtr im) { free(im->tpixels); free(im); } BITMAPINFO gdCreateBmp(int width, int height) { BITMAPINFO bmp_info; // Configure bitmap properties ZeroMemory(&bmp_info, sizeof(BITMAPINFO)); bmp_info.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); bmp_info.bmiHeader.biWidth = width; bmp_info.bmiHeader.biHeight = height; bmp_info.bmiHeader.biPlanes = 1; bmp_info.bmiHeader.biBitCount = 32; bmp_info.bmiHeader.biCompression = BI_RGB; bmp_info.bmiHeader.biSizeImage = 0; bmp_info.bmiHeader.biXPelsPerMeter = 0; bmp_info.bmiHeader.biYPelsPerMeter = 0; bmp_info.bmiHeader.biClrUsed = 0; bmp_info.bmiHeader.biClrImportant = 0; return bmp_info; } LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { static TCHAR szAppName[] = TEXT ("Bezier") ; HWND hwnd ; MSG msg ; WNDCLASS wndclass ; wndclass.style = CS_HREDRAW | CS_VREDRAW ; wndclass.lpfnWndProc = WndProc ; wndclass.cbClsExtra = 0 ; wndclass.cbWndExtra = 0 ; wndclass.hInstance = hInstance ; wndclass.hIcon = LoadIcon (NULL, IDI_APPLICATION) ; wndclass.hCursor = LoadCursor (NULL, IDC_ARROW) ; wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH) ; wndclass.lpszMenuName = NULL ; wndclass.lpszClassName = szAppName ; if (!RegisterClass (&wndclass)) { // UNICODE-Compilierung ist die einzige realistische Fehlermöglichkeit MessageBox (NULL, TEXT ("Programm arbeitet mit Unicode und setzt Windows NT voraus!"), szAppName, MB_ICONERROR) ; return 0 ; } hwnd = CreateWindow (szAppName, TEXT ("Bezierkurven"), WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL) ; ShowWindow (hwnd, iCmdShow) ; UpdateWindow (hwnd) ; while (GetMessage (&msg, NULL, 0, 0)) { TranslateMessage (&msg) ; DispatchMessage (&msg) ; } return msg.wParam ; } void DrawBezier (HDC hdc, POINT apt[]) { PolyBezier (hdc, apt, 4) ; MoveToEx (hdc, apt[0].x, apt[0].y, NULL) ; LineTo (hdc, apt[1].x, apt[1].y) ; MoveToEx (hdc, apt[2].x, apt[2].y, NULL) ; LineTo (hdc, apt[3].x, apt[3].y) ; } void gdDrawImage(HDC hdc, RECT *rc) { HDC mem_dc; BITMAPINFO bmp_info; void* bits; HBITMAP bmp, temp; gdImagePtr im; int width, height, stride; int white, black, blue, red; char *s = "Hello world!"; gdFontPtr lfont, gfont; width = rc->right - rc->left; height = rc->bottom - rc->top; bmp_info = gdCreateBmp(width, height); // Create memory device context mem_dc = CreateCompatibleDC(hdc); if (!mem_dc) { MessageBox(NULL, "Can't create a compatible DC!", "Error!", MB_ICONEXCLAMATION | MB_OK); return; } // bits points to a shared buffer of pixels bits = NULL; bmp = CreateDIBSection(mem_dc, &bmp_info, DIB_RGB_COLORS, (void**)&bits, 0, 0); // Selecting the object before doing anything allows you to use libgd // together with native Windows GDI. temp = (HBITMAP)SelectObject(mem_dc, bmp); /*stride = ((width * 1 + 3) >> 2) << 2;*/ // always uses 32bit in BMPINFO stride = width; im = NULL; // Attach shared buffer of pixels to GD image // Negative stride places 0,0 in upper-left corner im = gdImageTrueColorAttachBuffer((int*)bits, width, height, -stride); if (!im) { MessageBox(NULL, "GD image creation failed!", "Error!", MB_ICONEXCLAMATION | MB_OK); return; } // Start of GD drawing white = gdImageColorAllocate(im, 255, 255, 255); black = gdImageColorAllocate(im, 0, 0, 0); blue = gdImageColorAllocate(im, 0, 0, 255); // Allocate the color red, 50% transparent. red = gdImageColorAllocateAlpha(im, 255, 0, 0, 64); // Erase background with white color gdImageFilledRectangle(im, 0, 0, width, height, 0xFF0000); lfont = gdFontGetLarge(); gfont = gdFontGetGiant(); // Draw a dashed line from the upper left corner to the lower right corner. gdImageFilledRectangle(im, 25, 25, 100, 100, blue); gdImageChar(im, gfont, 35, 35, 'Q', white); gdImageFilledRectangle(im, 50, 50, 75, 175, red); gdImageLine(im, 0, 0, 150, 150, black); gdImageString(im, gdFontGetLarge(), im->sx / 2 - (strlen(s) * lfont->w / 2), im->sy / 2 - lfont->h / 2, (unsigned char*)s, black); // Copy drawing from memory context (shared bitmap buffer) to screen DC. BitBlt(hdc, rc->left, rc->top, width, height, mem_dc, 0, 0, SRCCOPY); // Free gdImageDetachBuffer(im); SelectObject(mem_dc, temp); DeleteObject(bmp); DeleteObject(mem_dc); } LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) { static POINT apt[4] ; HDC hdc ; int cxClient, cyClient ; PAINTSTRUCT ps ; RECT rc; GetClientRect(hwnd, &rc); switch (message) { case WM_SIZE: cxClient = LOWORD (lParam) ; cyClient = HIWORD (lParam) ; apt[0].x = cxClient / 4 ; apt[0].y = cyClient / 2 ; apt[1].x = cxClient / 2 ; apt[1].y = cyClient / 4 ; apt[2].x = cxClient / 2 ; apt[2].y = 3 * cyClient / 4 ; apt[3].x = 3 * cxClient / 4 ; apt[3].y = cyClient / 2 ; return 0 ; case WM_LBUTTONDOWN: case WM_RBUTTONDOWN: case WM_MOUSEMOVE: if (wParam & MK_LBUTTON || wParam & MK_RBUTTON) { hdc = GetDC (hwnd) ; // alte Kurve löschen (mit Weiß übermalen) SelectObject (hdc, GetStockObject (WHITE_PEN)) ; DrawBezier (hdc, apt) ; if (wParam & MK_LBUTTON) { apt[1].x = LOWORD (lParam) ; apt[1].y = HIWORD (lParam) ; } if (wParam & MK_RBUTTON) { apt[2].x = LOWORD (lParam) ; apt[2].y = HIWORD (lParam) ; } // neue Kurve (mit Schwarz) zeichnen SelectObject (hdc, GetStockObject (BLACK_PEN)) ; gdDrawImage(hdc, &rc); DrawBezier (hdc, apt) ; ReleaseDC (hwnd, hdc) ; } return 0 ; case WM_PAINT: hdc = BeginPaint (hwnd, &ps) ; GetClientRect(hwnd, &rc); gdDrawImage(hdc, &rc); DrawBezier (hdc, apt) ; EndPaint (hwnd, &ps) ; return 0 ; case WM_DESTROY: PostQuitMessage (0) ; return 0 ; } return DefWindowProc (hwnd, message, wParam, lParam) ; } libgd-2.3.0/examples/tgaread.c0000664000175000017500000000156413635665516013137 00000000000000/* * You can fetch a set of samples TIFF images here: * ftp://ftp.remotesensing.org/pub/libtiff/ * (pics-x.y.z.tar.gz) */ #include #include #include int main() { gdImagePtr im; FILE *fp; char path[4][2048]; int i; char dst[2048]; sprintf(path[0], "noIconAlpha.tga"); sprintf(path[1], "noIcon.tga"); for (i = 0; i < 2; i++) { printf("opening %s\n", path[i]); fp = fopen(path[i], "rb"); if (!fp) { printf("failed, cannot open file\n"); return 1; } im = gdImageCreateFromTga(fp); fclose(fp); if (!im) { fprintf(stderr, "Can't load TIFF image %s\n", path[i]); return 1; } sprintf(dst, "%i.png", i); fp = fopen(dst, "wb"); if (!fp) { fprintf(stderr, "Can't save png image fromtiff.png\n"); gdImageDestroy(im); return 1; } gdImagePng(im, fp); fclose(fp); gdImageDestroy(im); } return 0; } libgd-2.3.0/examples/noIconAlpha.tga0000664000175000017500000045412213634445460014247 00000000000000 zzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzFFFFFFFFFFFFFFFFFFFFFFFFz[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z[z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Vh5]fHCVG2E7NG_aAА{5^ ݣQN[tu 4mX#aRm≠GE/lW9钥UztgA>+z{O/7.E;P_Jc, )i}J 1f- FbC#ϐRߖFى"m|%b;&#hXB||ζpcxTlDMz>1:oK=CX-?CV7w:6? !va =\6{ ȾJږ.xRD?t=}H 5GɆڲ,Y_|Ͷ'xOmß1ro"?2TrSgtKmON]ueC_G1Gnigr}ҭڻqXgɁ},˭,cC^Z]N>@ 0]pSRPBZ[L0VqLڛըIu{(YYۊv5zfV=Wu̎^S:@njOΡ$x])tlֶrk=~ފw,EuIo 0PR\>n^ qX yɷܼFT-U'az|--u1%E C3mn26n)=kdܥlK8UuHZ6emS#( ^cl/n hG/ĩ3qU2.g,WO2|&fbwl"2^}#G A\*-@~t7LzY3r{gh9/ڇofjwEk)Ga=FnYEfj#hGp5N<*2=Aqv7>fY?}"1{5U3#@a \cFO x[F }2f)'*hk?9OtQ]Ojp0x;n}u1v'g%h*~yqdŽdoPlRqzPf=8= &{v nuof@ 3L{o!Zh쪀G3wUg)]{|X~b{& G٦'+t뚢qz?Z3JZYQ+9| %<>8p~nXme H _ cL3Ѡ0?X<OMǻ,|d@v;x '_1Iq=)dTwp<{dUVwOa .OVfwrށ}zrigԛKn'wo$vUqIENDB`libgd-2.3.0/examples/nnquant.c0000664000175000017500000000161413635665516013210 00000000000000#include "gd.h" #include #include void save_png(gdImagePtr im, const char *filename) { FILE *fp; fp = fopen(filename, "wb"); if (!fp) { fprintf(stderr, "Can't save png image %s\n", filename); return; } gdImagePng(im, fp); fclose(fp); } int main() { gdImagePtr im, im2; FILE *fp; char path[2048]; fp=fopen("resampledbug.jpeg", "rb"); if (!fp) { fprintf(stderr, "Can't load /home/pierre/IM3801.jpg\n"); return 1; } im = gdImageCreateFromJpeg(fp); fclose(fp); if (!im) { fprintf(stderr, "Can't load TIFF image %s\n", path); return 1; } im2 = gdImageNeuQuant(im, 256, 3); if (im2) { gdImageSaveAlpha(im2, 1); save_png(im2, "a_nnquant.png"); gdImageDestroy(im2); } else { printf("neu quant failed.\n"); } gdImageTrueColorToPalette(im, 1, 256); gdImageSaveAlpha(im, 1); save_png(im, "a_jquant_dither.png"); gdImageDestroy(im); return 0; } libgd-2.3.0/examples/gif.c0000664000175000017500000000201213635665516012262 00000000000000#include #include #include int main(void) { int i; FILE * out; gdImagePtr im; gdImagePtr prev =NULL; int black; im = gdImageCreate(100, 100); if (!im) { fprintf(stderr, "can't create image"); return 1; } out = fopen("anim.gif", "wb"); if (!out) { fprintf(stderr, "can't create file %s", "anim.gif"); return 1; } gdImageColorAllocate(im, 255, 255, 255); /* allocate white as side effect */ gdImageGifAnimBegin(im, out, 1, -1); for(i = 0; i < 20; i++) { int r,g,b; im = gdImageCreate(100, 100); r = rand() % 255; g = rand() % 255; b = rand() % 255; gdImageColorAllocate(im, 255, 255, 255); /* allocate white as side effect */ black = gdImageColorAllocate(im, r, g, b); printf("(%i, %i, %i)\n",r, g, b); gdImageFilledRectangle(im, rand() % 100, rand() % 100, rand() % 100, rand() % 100, black); gdImageGifAnimAdd(im, out, 1, 0, 0, 10, 1, prev); if(prev) { gdImageDestroy(prev); } prev = im; } gdImageGifAnimEnd(out); fclose(out); return 0; } libgd-2.3.0/examples/noIcon.pic0000664000175000017500000017377613634445460013316 00000000000000S4@`PICT?NzzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zzzzzzzzzzzzFFFF[[[[zBkzYBkzz߅߅zzzzzzkzYB߅zWvWv߅FFF0!߅[[[[^߅zYz!f1zzEEEEE11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zzzۋ܁FF[[͋zzzzzzzzzzzze3܁φFF[[W5!׆Ɇw!׆zzzzzzzzzzzzԴ܁SFF[[݁ڽzzzzzzzzzzzzeǂ܁ރ9FF[[W΂zzzzzzzzzzzzԃ܁FF[[́zzzzzzzzzzzzǃՇ܁܂FF[[ׇ́zzzzzzzzzzzz悢v܁!)FF[[āwzzzzzzzzzzzzeʹځ܁SFF[[Wӽ߁݈wׄ!!!wׄ!zzzzzzzzzzzz荊܁S]FF[[ꐊāzzzzzzzzzzzzΘ܁FFF[[Ӂzzzzzzzzzzzz3܁9iFFF[[+䁮zzzzzzzzzzzzۏ=܁!<FFF[[͏5|zzzzzzzzzzzz܁׌YۂFFF[[ήɁ׆ׄ!wɁ׆חzzzzzzzzzzzzԁ3v܁q9ρRFFF[[+gzzzzzzzzzzzzywe܁wqۃRFFF[[ݠiWwzzzzzzzzzzzz܁FFF[[[߸遮zzzzzzzzzzzzͮ܁FFFF[[[[zȁӸzzzzzzzzzzzz܁FFFF[[[[߃ϞσϠϤ߂ϑ߃ϞυϤ߂ϑzYz!!!E!!f1zEEEEE11ff!EEEE!f!E!EEEE!1fzzzzzzcBz!!E!EEEE!!f1fzv!+@EC/c܁FF 7F E![[[[ ^.EEzBYzzJvvvzvUUU1!zJ8vzzzzzzr11BzBzzJv8vzWvbv܁FFU #include int main() { gdImagePtr im; FILE *fp; int cor_rad = 60; im = gdImageCreateTrueColor(400, 400); gdImageFilledRectangle(im, 0, 0, 399, 399, 0x00FFFFFF); gdImageFilledArc (im, cor_rad, 399 - cor_rad, cor_rad *2, cor_rad *2, 90, 180, 0x0, gdPie); fp = fopen("b.png", "wb"); if (!fp) { fprintf(stderr, "Can't save png image.\n"); gdImageDestroy(im); return 1; } gdImagePng(im, fp); fclose(fp); gdImageDestroy(im); return 0; } libgd-2.3.0/examples/CMakeLists.txt0000664000175000017500000000233513635665516014121 00000000000000include_directories (BEFORE "${GD_SOURCE_DIR}/src" "${CMAKE_BINARY_DIR}") SET(TESTS_FILES gif ) if (PNG_FOUND) LIST(APPEND TEST_FILES arc crop tgaread) if (JPEG_FOUND) LIST(APPEND TESTS_FILES copyrotated flip nnquant) endif (JPEG_FOUND) endif (PNG_FOUND) if (JPEG_FOUND) LIST(APPEND TESTS_FILES resize) endif (JPEG_FOUND) if (TIFF_FOUND) LIST(APPEND TESTS_FILES tiffread) endif (TIFF_FOUND) if (BUILD_SHARED_LIBS) set(GD_LINK_LIB ${GD_LIB}) else() set(GD_LINK_LIB ${GD_LIB_STATIC}) endif() FOREACH(test_name ${TESTS_FILES}) add_executable(${test_name} "${test_name}.c") target_link_libraries (${test_name} ${GD_LINK_LIB}) ENDFOREACH(test_name) # Add libraries *after* we've called add_executable on all the tests. if (PNG_FOUND AND JPEG_FOUND) if (UNIX) target_link_libraries(copyrotated m) endif (UNIX) endif(PNG_FOUND AND JPEG_FOUND) if (WIN32 AND NOT MINGW AND NOT MSYS) add_executable(windows WIN32 "windows.c") target_link_libraries (windows ${GD_LINK_LIB}) else (WIN32 AND NOT MINGW AND NOT MSYS) if (MINGW OR MSYS) add_executable(windows "windows.c") add_definitions("-mwindows") target_link_libraries(windows ${GD_LINK_LIB} stdc++ gdi32) endif (MINGW OR MSYS) endif (WIN32 AND NOT MINGW AND NOT MSYS) libgd-2.3.0/examples/crop.c0000664000175000017500000000221013635665516012460 00000000000000#include "gd.h" #include #include void save_png(gdImagePtr im, const char *filename) { FILE *fp; fp = fopen(filename, "wb"); if (!fp) { fprintf(stderr, "Can't save png image %s\n", filename); return; } gdImagePng(im, fp); fclose(fp); } gdImagePtr read_png(const char *filename) { FILE * fp; gdImagePtr im; fp = fopen(filename, "rb"); if (!fp) { fprintf(stderr, "Can't read png image %s\n", filename); return NULL; } im = gdImageCreateFromPng(fp); fclose(fp); return im; } int main() { gdImagePtr im, im2; im = gdImageCreateTrueColor(400, 400); if (!im) { fprintf(stderr, "Can't create 400x400 TC image\n"); return 1; } gdImageFilledRectangle(im, 19, 29, 390, 390, 0xFFFFFF); gdImageRectangle(im, 19, 29, 390, 390, 0xFF0000); save_png(im, "a1.png"); im2 = gdImageCropAuto(im, GD_CROP_SIDES); if (im2) { save_png(im2, "a2.png"); gdImageDestroy(im2); } gdImageDestroy(im); im = read_png("test_crop_threshold.png"); if (!im) { return 1; } im2 = gdImageCropThreshold(im, 0xFFFFFF, 0.6); if (im2) { save_png(im2, "a4.png"); gdImageDestroy(im2); } gdImageDestroy(im); return 0; } libgd-2.3.0/examples/tiffread.c0000664000175000017500000000214213635665516013305 00000000000000/* * You can fetch a set of samples TIFF images here: * ftp://ftp.remotesensing.org/pub/libtiff/ * (pics-x.y.z.tar.gz) */ #include #include #include int main() { gdImagePtr im; FILE *fp; char path[9][2048]; int i; char dst[2048]; sprintf(path[0], "cramps-tile.tif"); sprintf(path[1], "cramps.tif"); sprintf(path[2], "ycbcr-cat.tif"); sprintf(path[3], "jello.tif"); sprintf(path[4], "caspian.tif"); sprintf(path[5], "strike.tif"); sprintf(path[6], "off_luv24.tif"); sprintf(path[7], "off_l16.tif"); sprintf(path[8], "fax2d.tif"); for (i = 0; i < 9; i++) { printf("opening %s\n", path[i]); fp = fopen(path[i], "rb"); if (!fp) { printf("failed, cannot open file\n"); return 1; } im = gdImageCreateFromTiff(fp); fclose(fp); if (!im) { fprintf(stderr, "Can't load TIFF image %s\n", path[i]); return 1; } sprintf(dst, "%i.png", i); fp = fopen(dst, "wb"); if (!fp) { fprintf(stderr, "Can't save png image fromtiff.png\n"); gdImageDestroy(im); return 1; } gdImagePng(im, fp); fclose(fp); gdImageDestroy(im); } return 0; } libgd-2.3.0/examples/noIcon.sgi0000664000175000017500000020205513634445460013304 00000000000000O:\untitled.rgb"X !#$D%z&&')0*f+,,.0A235n7*8A:;=?T@"AYBCEFHFGHJ&KHLzLNOMPQSTeTUW&X]YZZ\7]y^` aYbbdAefgi$j,kmo^prsFtvxiz1{*|a}~=Q!Wk Cy/eQ?u`F _ B4_g<EĈ3hʢ Q͝6щFԇեUٍ,_ޱߩd!Yz(&3iU AwU " #A$w%&&(-)c*+,-F.02_457q8:c<,=?@UABDE7FMFGI0JYK{LLN:OPRSPTjTVWYXYZ[,\j]^`<abc2dtefh iejl@moq4rsu9wxzq{]|}9BT\ @v~,bN:rRd|-m=W1g(oxĻ3fɛʧ>̄iю8yԺ؈_ݒ{19v0fR>t:p !&"\#$%&'H(~)*, ,-/V1 246=79:<>a?@AC&DTEFRGHMIJKLMJNOQRXSToU/VoWXZZ[}\]_G`abcdfg&hhiklnapqrsuw{y=z{|~SG9oa%[G}3i A3kz+xa;3y JDŽȷʬˏ!iкѓ҉ )QUܰ+y2hBHK#mE1g#E{  !g"#% &?&'()++,a,-/1s3*4679s;<=>?@BCgDEFWGWHIJL LMNPQURSTtUpVWY"ZSZ[\^>_`bbcefHgghikemnppqstSvwyz{}&~]LDzf0fR*tL:t 4VC|$H|,tM MƋ-ʱbϪј LjגRۖ*hF .V7.dP<r(333333333333333 Pa^]c`G`cc`43333333333333333333333333333333@AaaZSR0Pbd`@333333333333333333333333333333339aZW_bK`_c`S3333333333333333333333333333333=^]Zd_GZ[[SP333333333333333QQQQQQQQQQQQQQQ dtnkqoGquus4QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ\Atrjgf0ftvt@QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ9tjemqKqqusiQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ=rqktpGnqqjgQQQQQQQQQQQQQQQAAAAAAAAAAAAAAA Sdf`bcGad`g4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAdh`X[0Wf`g@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG9dfbfiKeh`gZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG=`d`fgG]bZ]ZAAAAAAAAAAAAAAAqqqqqqqqqqqqqqq B2rio;rod]m=|~7{vrln)y}D}}ZeiEzr09rrrrriqqqqqqqqqqqqqqqqqqqqsqussv;JsVqf_ozbc~yunpuZm||YcgMsnALv qqqqqqqq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9zzzzU^ s0܂= 9FF u$[[L a!Gzzzz*zzzz9zzzzUUr͹SE܄=D=*l9FF9L$[[U1ΪuCEGzzzz*zzzz9zzzzUX ܁ f fBFF3 1[[[[1 ^Gzzzz*zzzz9zzzz߻Blv, 0Cs܃w< #include int main (int argc, char *argv[]) { FILE *fp; gdImagePtr in, out; int w, h; /* Help */ if (argc<=4) { printf("%s input.jpg output.jpg width height\n", argv[0]); return 1; } /* Size */ w = atoi(argv[3]); h = atoi(argv[4]); if (w<=0 || h<=0) { fprintf(stderr, "Bad size %dx%d\n", h, w); return 2; } /* Input */ fp = fopen(argv[1], "rb"); if (!fp) { fprintf(stderr, "Can't read image %s\n", argv[1]); return 3; } in = gdImageCreateFromJpeg(fp); fclose(fp); if (!in) { fprintf(stderr, "Can't create image from %s\n", argv[1]); return 4; } /* Resize */ gdImageSetInterpolationMethod(in, GD_BILINEAR_FIXED); out = gdImageScale(in, w, h); if (!out) { fprintf(stderr, "gdImageScale fails\n"); return 5; } /* Output */ fp = fopen(argv[2], "wb"); if (!fp) { fprintf(stderr, "Can't save image %s\n", argv[2]); return 6; } gdImageJpeg(out, fp, 90); fclose(fp); /* Cleanups */ gdImageDestroy(in); gdImageDestroy(out); return 0; } libgd-2.3.0/CHANGELOG.md0000664000175000017500000001261213635665521011347 00000000000000# Change Log All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [2.3.0] - 2020-03-22 ### Security - Potential double-free in gdImage*Ptr(). (CVE-2019-6978) - gdImageColorMatch() out of bounds write on heap. (CVE-2019-6977) - Uninitialized read in gdImageCreateFromXbm(). (CVE-2019-11038) - Double-free in gdImageBmp. (CVE-2018-1000222) - Potential NULL pointer dereference in gdImageClone(). (CVE-2018-14553) - Potential infinite loop in gdImageCreateFromGifCtx(). (CVE-2018-5711) ### Fixed * Fix #597: add codecov support - Fix #596: gdTransformAffineCopy run error - Fix #589: Install dependencies move to .travis.yml - Fix #586: gdTransformAffineCopy() segfaults on palette images - Fix #585: gdTransformAffineCopy() changes interpolation method - Fix #584: gdImageSetInterpolationMethod(im, GD_DEFAULT) inconsistent - Fix #583: gdTransformAffineCopy() may use unitialized values - Fix #533: Remove cmake modules - Fix #539: Add RAQM support for cmake - Fix #499: gdImageGifAnimAddPtr: heap corruption with 2 identical images - Fix #486: gdImageCropAuto(…, GD_CROP_SIDES) crops left but not right - Fix #485: auto cropping has insufficient precision - Fix #479: Provide a suitable malloc function to liq - Fix #474: libtiff link returns 404 HTTP code - Fix #450: Failed to open 1 bit per pixel bitmap - Fix #440: new_width & new_height exception handling - Fix #432: gdImageCrop neglecting transparency - Fix #420: Potential infinite loop in gdImageCreateFromGifCtx - Fix #411: gd_gd.c format documentation appears to be incorrect - Fix #369: Fix new_a init error in gdImageConvolution() - Fix #351: gdImageFilledArc() doesn't properly draw pies - Fix #338: Fatal and normal libjpeg/libpng errors not distinguishable - Fix #169: Update var type to hold bigger w&h for ellipse - Fix #164: update doc files install directory in CMakeLists.txt - Correct some test depend errors - Update cmake min version to 3.7 - Delete libimagequant source code download action in CMakeLists.txt - Improve msys support - Fix some logic error in CMakeLists.txt - Remove the following macro: HAVE_STDLIB_H, HAVE_STRING_H, HAVE_STDDEF_H, HAVE_LIMITS_H, HAVE_ERRNO_H, AC_C_CONST ### Added - test cases for following API: gdImageCopyResized(), gdImageWebpEx(), gdImageCreateFromGd2PartPtr(), gdImageCloneMatch(), gdImageColorClosestHWB(), gdImageColorMatch(), gdImageStringUp(), gdImageStringUp16(), gdImageString(), gdImageString16(), gdImageCopyMergeGray(), gdImageCopyMerge() ## [2.2.5] - 2017-08-30 ### Security - Double-free in gdImagePngPtr(). (CVE-2017-6362) - Buffer over-read into uninitialized memory. (CVE-2017-7890) ### Fixed - Fix #109: XBM reading fails with printed error - Fix #338: Fatal and normal libjpeg/ibpng errors not distinguishable - Fix #357: 2.2.4: Segfault in test suite - Fix #386: gdImageGrayScale() may produce colors - Fix #406: webpng -i removes the transparent color - Fix Coverity #155475: Failure to restore alphaBlendingFlag - Fix Coverity #155476: potential resource leak - Fix several build issues and test failures - Fix and reenable optimized support for reading 1 bps TIFFs ### Added - The native MSVC buildchain now supports libtiff and most executables ## [2.2.4] - 2017-01-18 ### Security - gdImageCreate() doesn't check for oversized images and as such is prone to DoS vulnerabilities. (CVE-2016-9317) - double-free in gdImageWebPtr() (CVE-2016-6912) - potential unsigned underflow in gd_interpolation.c - DOS vulnerability in gdImageCreateFromGd2Ctx() ### Fixed - Fix #354: Signed Integer Overflow gd_io.c - Fix #340: System frozen - Fix OOB reads of the TGA decompression buffer - Fix DOS vulnerability in gdImageCreateFromGd2Ctx() - Fix potential unsigned underflow - Fix double-free in gdImageWebPtr() - Fix invalid read in gdImageCreateFromTiffPtr() - Fix OOB reads of the TGA decompression buffer - Fix #68: gif: buffer underflow reported by AddressSanitizer - Avoid potentially dangerous signed to unsigned conversion - Fix #304: test suite failure in gif/bug00006 [2.2.3] - Fix #329: GD_BILINEAR_FIXED gdImageScale() can cause black border - Fix #330: Integer overflow in gdImageScaleBilinearPalette() - Fix 321: Null pointer dereferences in gdImageRotateInterpolated - Fix whitespace and add missing comment block - Fix #319: gdImageRotateInterpolated can have wrong background color - Fix color quantization documentation - Fix #309: gdImageGd2() writes wrong chunk sizes on boundaries - Fix #307: GD_QUANT_NEUQUANT fails to unset trueColor flag - Fix #300: gdImageClone() assigns res_y = res_x - Fix #299: Regression regarding gdImageRectangle() with gdImageSetThickness() - Replace GNU old-style field designators with C89 compatible initializers - Fix #297: gdImageCrop() converts palette image to truecolor image - Fix #290: TGA RLE decoding is broken - Fix unnecessary non NULL checks - Fix #289: Passing unrecognized formats to gdImageGd2 results in corrupted files - Fix #280: gdImageWebpEx() `quantization` parameter is a misnomer - Publish all gdImageCreateFromWebp*() functions and gdImageWebpCtx() - Fix issue #276: Sometimes pixels are missing when storing images as BMPs - Fix issue #275: gdImageBmpCtx() may segfault for non-seekable contexts - Fix copy&paste error in gdImageScaleBicubicFixed() ### Added - More documentation - Documentation on GD and GD2 formats - More tests libgd-2.3.0/Makefile.am0000664000175000017500000000035413635665521011572 00000000000000ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src config tests EXTRA_DIST = test docs examples windows VMS cmake bootstrap.sh CMakeLists.txt CONTRIBUTORS README.md CHANGELOG.md CONTRIBUTING.md clean-local: $(srcdir)/cmake/distclean.sh --automake libgd-2.3.0/src/0000775000175000017500000000000013635665564010412 500000000000000libgd-2.3.0/src/gd_version.c0000664000175000017500000000147313634445460012630 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include "gd.h" /* These functions return the version information. We use functions * so that changes in the shared library will automatically be * reflected in executables using it without recompiling them. */ /* Function: gdMajorVersion */ BGD_DECLARE(int) gdMajorVersion() { return GD_MAJOR_VERSION; } /* Function: gdMinorVersion */ BGD_DECLARE(int) gdMinorVersion() { return GD_MINOR_VERSION; } /* Function: gdReleaseVersion */ BGD_DECLARE(int) gdReleaseVersion() { return GD_RELEASE_VERSION; } /* Function: gdExtraVersion */ BGD_DECLARE(const char *) gdExtraVersion() { return GD_EXTRA_VERSION; } /* Function: gdVersionString */ BGD_DECLARE(const char *) gdVersionString() { return GD_VERSION_STRING; } libgd-2.3.0/src/gd_nnquant.h0000664000175000017500000000101413635665516012632 00000000000000/* maximum number of colours that can be used. actual number is now passed to initcolors */ #define MAXNETSIZE 256 /* For 256 colours, fixed arrays need 8kb, plus space for the image ---------------------------------------------------------------- */ /* four primes near 500 - assume no image has a length so large */ /* that it is divisible by all four primes */ #define prime1 499 #define prime2 491 #define prime3 487 #define prime4 503 #define minpicturebytes (4*prime4) /* minimum size for input image */ libgd-2.3.0/src/gd2topng.c0000664000175000017500000000245613635665516012226 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "gd.h" /* A short program which converts a .png file into a .gd2 file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd2 format is not intended to be a general-purpose format. */ int main (int argc, char **argv) { gdImagePtr im; FILE *in, *out; int x=0, y=0, w=0, h=0; if ((argc != 3) && (argc != 7)) { fprintf (stderr, "Usage: gd2topng filename.gd2 filename.png [srcx srcy width height]\n"); fprintf (stderr, "If the coordinates are absent,t he entire image is converted.\n"); exit (1); } if (argc == 7) { x = atoi (argv[3]); y = atoi (argv[4]); w = atoi (argv[5]); h = atoi (argv[6]); } in = fopen (argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit (1); } if (argc == 7) { im = gdImageCreateFromGd2Part (in, x, y, w, h); } else { im = gdImageCreateFromGd2 (in); } fclose (in); if (!im) { fprintf(stderr, "Input is not in GD2 format!\n"); exit (1); } out = fopen (argv[2], "wb"); if (!out) { fprintf(stderr, "Output file cannot be written to!\n"); gdImageDestroy (im); exit (1); } gdImagePng (im, out); fclose (out); gdImageDestroy (im); return 0; } libgd-2.3.0/src/gd_io_stream.cxx0000664000175000017500000001013213635665516013504 00000000000000/* ***************************************************************************** ** Initial file written and documented by: ** Kevin Shepherd December 2007 ** of Scarlet Line http://www.scarletline.com/ *******************************************************************************/ /** \file gd_io_stream.cxx \brief Implementation of the methods of the gdIOCtx std stream specialization. Implements the derived specializations of gdIOCtx. These methods are not called by users of libgd, they are internal implementation. Note that half of the below methods are trivial stubs, as an input stream has no need of output methods, and vice-versa. */ #ifdef __cplusplus #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd_io_stream.h" /** Read into buffer from stream Return the number of bytes successfully read. If an error occurs, or the end-of-file is reached, the return value is a short byte count (or zero). */ int istreamIOCtx::Getbuf (struct gdIOCtx * ctx, void * buf, int size) { stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream; _str->read((char * )buf, size); return _str->gcount(); } /** Write from buffer to stream Return the number of bytes successfully written. If an error occurs, or the end-of-file is reached, the return value is a short byte count (or zero). */ int istreamIOCtx::Putbuf (struct gdIOCtx * , const void * , int ) { return 0; } /** Reads the next character from stream and returns it as an unsigned char cast to an int, or EOF on end of file or error. */ int istreamIOCtx::Getchar (struct gdIOCtx * ctx) { stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream; return _str->get(); } /** Write the character to stream Character is cast to unsigned char before writing */ void istreamIOCtx::Putchar (struct gdIOCtx * , int ) { } /** Seek to position offset from the beginning of the stream must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! */ int istreamIOCtx::Seek (struct gdIOCtx * ctx, const int pos) { stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream; _str->seekg(pos); return !_str->fail(); } /** Obtains the current value of the stream position. Returns -1 on error. */ long istreamIOCtx::Tell (struct gdIOCtx * ctx) { stream_type * _str = ( (istreamIOCtx * ) ctx )->_M_stream; return _str->tellg(); } /** Deallocate the context */ void istreamIOCtx::FreeCtx (struct gdIOCtx * ctx) { delete (istreamIOCtx * )ctx; } /** Read into buffer from stream Return the number of bytes successfully read. If an error occurs, or the end-of-file is reached, the return value is a short byte count (or zero). */ int ostreamIOCtx::Getbuf (struct gdIOCtx * , void * , int ) { return 0; } /** Write from buffer to stream Return the number of bytes successfully written. If an error occurs, or the end-of-file is reached, the return value is a short byte count (or zero). */ int ostreamIOCtx::Putbuf (struct gdIOCtx * ctx, const void * buf, int size) { stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream; _str->write((const char * )buf, size); return _str->bad()?0:size; } /** Reads the next character from stream and returns it as an unsigned char cast to an int, or EOF on end of file or error. */ int ostreamIOCtx::Getchar (struct gdIOCtx * ) { return EOF; } /** Write the character to stream Character is cast to unsigned char before writing */ void ostreamIOCtx::Putchar (struct gdIOCtx * ctx, int c) { stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream; _str->put((char)c); } /** Seek to position offset from the beginning of the stream must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! */ int ostreamIOCtx::Seek (struct gdIOCtx * ctx, const int pos) { stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream; _str->seekp(pos); return !_str->fail(); } /** Obtains the current value of the stream position. Returns -1 on error. */ long ostreamIOCtx::Tell (struct gdIOCtx * ctx) { stream_type * _str = ( (ostreamIOCtx * ) ctx )->_M_stream; return _str->tellp(); } /** Deallocate the context */ void ostreamIOCtx::FreeCtx (struct gdIOCtx * ctx) { delete (ostreamIOCtx * )ctx; } #endif /* __cplusplus */ libgd-2.3.0/src/gd_color_map.c0000664000175000017500000005533313634445460013122 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "gd.h" #include "gd_color_map.h" static const gdColorMapEntry GD_COLOR_MAP_X11_ENTRIES[] = { {"AliceBlue", 240, 248, 255}, {"AntiqueWhite", 250, 235, 215}, {"AntiqueWhite1", 255, 239, 219}, {"AntiqueWhite2", 238, 223, 204}, {"AntiqueWhite3", 205, 192, 176}, {"AntiqueWhite4", 139, 131, 120}, {"BlanchedAlmond", 255, 235, 205}, {"BlueViolet", 138, 43, 226}, {"CadetBlue", 95, 158, 160}, {"CadetBlue1", 152, 245, 255}, {"CadetBlue2", 142, 229, 238}, {"CadetBlue3", 122, 197, 205}, {"CadetBlue4", 83, 134, 139}, {"CornflowerBlue", 100, 149, 237}, {"DarkBlue", 0, 0, 139}, {"DarkCyan", 0, 139, 139}, {"DarkGoldenrod", 184, 134, 11}, {"DarkGoldenrod1", 255, 185, 15}, {"DarkGoldenrod2", 238, 173, 14}, {"DarkGoldenrod3", 205, 149, 12}, {"DarkGoldenrod4", 139, 101, 8}, {"DarkGray", 169, 169, 169}, {"DarkGreen", 0, 100, 0}, {"DarkGrey", 169, 169, 169}, {"DarkKhaki", 189, 183, 107}, {"DarkMagenta", 139, 0, 139}, {"DarkOliveGreen", 85, 107, 47}, {"DarkOliveGreen1", 202, 255, 112}, {"DarkOliveGreen2", 188, 238, 104}, {"DarkOliveGreen3", 162, 205, 90}, {"DarkOliveGreen4", 110, 139, 61}, {"DarkOrange", 255, 140, 0}, {"DarkOrange1", 255, 127, 0}, {"DarkOrange2", 238, 118, 0}, {"DarkOrange3", 205, 102, 0}, {"DarkOrange4", 139, 69, 0}, {"DarkOrchid", 153, 50, 204}, {"DarkOrchid1", 191, 62, 255}, {"DarkOrchid2", 178, 58, 238}, {"DarkOrchid3", 154, 50, 205}, {"DarkOrchid4", 104, 34, 139}, {"DarkRed", 139, 0, 0}, {"DarkSalmon", 233, 150, 122}, {"DarkSeaGreen", 143, 188, 143}, {"DarkSeaGreen1", 193, 255, 193}, {"DarkSeaGreen2", 180, 238, 180}, {"DarkSeaGreen3", 155, 205, 155}, {"DarkSeaGreen4", 105, 139, 105}, {"DarkSlateBlue", 72, 61, 139}, {"DarkSlateGray", 47, 79, 79}, {"DarkSlateGray1", 151, 255, 255}, {"DarkSlateGray2", 141, 238, 238}, {"DarkSlateGray3", 121, 205, 205}, {"DarkSlateGray4", 82, 139, 139}, {"DarkSlateGrey", 47, 79, 79}, {"DarkTurquoise", 0, 206, 209}, {"DarkViolet", 148, 0, 211}, {"DeepPink", 255, 20, 147}, {"DeepPink1", 255, 20, 147}, {"DeepPink2", 238, 18, 137}, {"DeepPink3", 205, 16, 118}, {"DeepPink4", 139, 10, 80}, {"DeepSkyBlue", 0, 191, 255}, {"DeepSkyBlue1", 0, 191, 255}, {"DeepSkyBlue2", 0, 178, 238}, {"DeepSkyBlue3", 0, 154, 205}, {"DeepSkyBlue4", 0, 104, 139}, {"DimGray", 105, 105, 105}, {"DimGrey", 105, 105, 105}, {"DodgerBlue", 30, 144, 255}, {"DodgerBlue1", 30, 144, 255}, {"DodgerBlue2", 28, 134, 238}, {"DodgerBlue3", 24, 116, 205}, {"DodgerBlue4", 16, 78, 139}, {"FloralWhite", 255, 250, 240}, {"ForestGreen", 34, 139, 34}, {"GhostWhite", 248, 248, 255}, {"GreenYellow", 173, 255, 47}, {"HotPink", 255, 105, 180}, {"HotPink1", 255, 110, 180}, {"HotPink2", 238, 106, 167}, {"HotPink3", 205, 96, 144}, {"HotPink4", 139, 58, 98}, {"IndianRed", 205, 92, 92}, {"IndianRed1", 255, 106, 106}, {"IndianRed2", 238, 99, 99}, {"IndianRed3", 205, 85, 85}, {"IndianRed4", 139, 58, 58}, {"LavenderBlush", 255, 240, 245}, {"LavenderBlush1", 255, 240, 245}, {"LavenderBlush2", 238, 224, 229}, {"LavenderBlush3", 205, 193, 197}, {"LavenderBlush4", 139, 131, 134}, {"LawnGreen", 124, 252, 0}, {"LemonChiffon", 255, 250, 205}, {"LemonChiffon1", 255, 250, 205}, {"LemonChiffon2", 238, 233, 191}, {"LemonChiffon3", 205, 201, 165}, {"LemonChiffon4", 139, 137, 112}, {"LightBlue", 173, 216, 230}, {"LightBlue1", 191, 239, 255}, {"LightBlue2", 178, 223, 238}, {"LightBlue3", 154, 192, 205}, {"LightBlue4", 104, 131, 139}, {"LightCoral", 240, 128, 128}, {"LightCyan", 224, 255, 255}, {"LightCyan1", 224, 255, 255}, {"LightCyan2", 209, 238, 238}, {"LightCyan3", 180, 205, 205}, {"LightCyan4", 122, 139, 139}, {"LightGoldenrod", 238, 221, 130}, {"LightGoldenrod1", 255, 236, 139}, {"LightGoldenrod2", 238, 220, 130}, {"LightGoldenrod3", 205, 190, 112}, {"LightGoldenrod4", 139, 129, 76}, {"LightGoldenrodYellow", 250, 250, 210}, {"LightGray", 211, 211, 211}, {"LightGreen", 144, 238, 144}, {"LightGrey", 211, 211, 211}, {"LightPink", 255, 182, 193}, {"LightPink1", 255, 174, 185}, {"LightPink2", 238, 162, 173}, {"LightPink3", 205, 140, 149}, {"LightPink4", 139, 95, 101}, {"LightSalmon", 255, 160, 122}, {"LightSalmon1", 255, 160, 122}, {"LightSalmon2", 238, 149, 114}, {"LightSalmon3", 205, 129, 98}, {"LightSalmon4", 139, 87, 66}, {"LightSeaGreen", 32, 178, 170}, {"LightSkyBlue", 135, 206, 250}, {"LightSkyBlue1", 176, 226, 255}, {"LightSkyBlue2", 164, 211, 238}, {"LightSkyBlue3", 141, 182, 205}, {"LightSkyBlue4", 96, 123, 139}, {"LightSlateBlue", 132, 112, 255}, {"LightSlateGray", 119, 136, 153}, {"LightSlateGrey", 119, 136, 153}, {"LightSteelBlue", 176, 196, 222}, {"LightSteelBlue1", 202, 225, 255}, {"LightSteelBlue2", 188, 210, 238}, {"LightSteelBlue3", 162, 181, 205}, {"LightSteelBlue4", 110, 123, 139}, {"LightYellow", 255, 255, 224}, {"LightYellow1", 255, 255, 224}, {"LightYellow2", 238, 238, 209}, {"LightYellow3", 205, 205, 180}, {"LightYellow4", 139, 139, 122}, {"LimeGreen", 50, 205, 50}, {"MediumAquamarine", 102, 205, 170}, {"MediumBlue", 0, 0, 205}, {"MediumOrchid", 186, 85, 211}, {"MediumOrchid1", 224, 102, 255}, {"MediumOrchid2", 209, 95, 238}, {"MediumOrchid3", 180, 82, 205}, {"MediumOrchid4", 122, 55, 139}, {"MediumPurple", 147, 112, 219}, {"MediumPurple1", 171, 130, 255}, {"MediumPurple2", 159, 121, 238}, {"MediumPurple3", 137, 104, 205}, {"MediumPurple4", 93, 71, 139}, {"MediumSeaGreen", 60, 179, 113}, {"MediumSlateBlue", 123, 104, 238}, {"MediumSpringGreen", 0, 250, 154}, {"MediumTurquoise", 72, 209, 204}, {"MediumVioletRed", 199, 21, 133}, {"MidnightBlue", 25, 25, 112}, {"MintCream", 245, 255, 250}, {"MistyRose", 255, 228, 225}, {"MistyRose1", 255, 228, 225}, {"MistyRose2", 238, 213, 210}, {"MistyRose3", 205, 183, 181}, {"MistyRose4", 139, 125, 123}, {"NavajoWhite", 255, 222, 173}, {"NavajoWhite1", 255, 222, 173}, {"NavajoWhite2", 238, 207, 161}, {"NavajoWhite3", 205, 179, 139}, {"NavajoWhite4", 139, 121, 94}, {"NavyBlue", 0, 0, 128}, {"OldLace", 253, 245, 230}, {"OliveDrab", 107, 142, 35}, {"OliveDrab1", 192, 255, 62}, {"OliveDrab2", 179, 238, 58}, {"OliveDrab3", 154, 205, 50}, {"OliveDrab4", 105, 139, 34}, {"OrangeRed", 255, 69, 0}, {"OrangeRed1", 255, 69, 0}, {"OrangeRed2", 238, 64, 0}, {"OrangeRed3", 205, 55, 0}, {"OrangeRed4", 139, 37, 0}, {"PaleGoldenrod", 238, 232, 170}, {"PaleGreen", 152, 251, 152}, {"PaleGreen1", 154, 255, 154}, {"PaleGreen2", 144, 238, 144}, {"PaleGreen3", 124, 205, 124}, {"PaleGreen4", 84, 139, 84}, {"PaleTurquoise", 175, 238, 238}, {"PaleTurquoise1", 187, 255, 255}, {"PaleTurquoise2", 174, 238, 238}, {"PaleTurquoise3", 150, 205, 205}, {"PaleTurquoise4", 102, 139, 139}, {"PaleVioletRed", 219, 112, 147}, {"PaleVioletRed1", 255, 130, 171}, {"PaleVioletRed2", 238, 121, 159}, {"PaleVioletRed3", 205, 104, 137}, {"PaleVioletRed4", 139, 71, 93}, {"PapayaWhip", 255, 239, 213}, {"PeachPuff", 255, 218, 185}, {"PeachPuff1", 255, 218, 185}, {"PeachPuff2", 238, 203, 173}, {"PeachPuff3", 205, 175, 149}, {"PeachPuff4", 139, 119, 101}, {"PowderBlue", 176, 224, 230}, {"RosyBrown", 188, 143, 143}, {"RosyBrown1", 255, 193, 193}, {"RosyBrown2", 238, 180, 180}, {"RosyBrown3", 205, 155, 155}, {"RosyBrown4", 139, 105, 105}, {"RoyalBlue", 65, 105, 225}, {"RoyalBlue1", 72, 118, 255}, {"RoyalBlue2", 67, 110, 238}, {"RoyalBlue3", 58, 95, 205}, {"RoyalBlue4", 39, 64, 139}, {"SaddleBrown", 139, 69, 19}, {"SandyBrown", 244, 164, 96}, {"SeaGreen", 46, 139, 87}, {"SeaGreen1", 84, 255, 159}, {"SeaGreen2", 78, 238, 148}, {"SeaGreen3", 67, 205, 128}, {"SeaGreen4", 46, 139, 87}, {"SkyBlue", 135, 206, 235}, {"SkyBlue1", 135, 206, 255}, {"SkyBlue2", 126, 192, 238}, {"SkyBlue3", 108, 166, 205}, {"SkyBlue4", 74, 112, 139}, {"SlateBlue", 106, 90, 205}, {"SlateBlue1", 131, 111, 255}, {"SlateBlue2", 122, 103, 238}, {"SlateBlue3", 105, 89, 205}, {"SlateBlue4", 71, 60, 139}, {"SlateGray", 112, 128, 144}, {"SlateGray1", 198, 226, 255}, {"SlateGray2", 185, 211, 238}, {"SlateGray3", 159, 182, 205}, {"SlateGray4", 108, 123, 139}, {"SlateGrey", 112, 128, 144}, {"SpringGreen", 0, 255, 127}, {"SpringGreen1", 0, 255, 127}, {"SpringGreen2", 0, 238, 118}, {"SpringGreen3", 0, 205, 102}, {"SpringGreen4", 0, 139, 69}, {"SteelBlue", 70, 130, 180}, {"SteelBlue1", 99, 184, 255}, {"SteelBlue2", 92, 172, 238}, {"SteelBlue3", 79, 148, 205}, {"SteelBlue4", 54, 100, 139}, {"VioletRed", 208, 32, 144}, {"VioletRed1", 255, 62, 150}, {"VioletRed2", 238, 58, 140}, {"VioletRed3", 205, 50, 120}, {"VioletRed4", 139, 34, 82}, {"WhiteSmoke", 245, 245, 245}, {"YellowGreen", 154, 205, 50}, {"alice blue", 240, 248, 255}, {"antique white", 250, 235, 215}, {"aquamarine", 127, 255, 212}, {"aquamarine1", 127, 255, 212}, {"aquamarine2", 118, 238, 198}, {"aquamarine3", 102, 205, 170}, {"aquamarine4", 69, 139, 116}, {"azure", 240, 255, 255}, {"azure1", 240, 255, 255}, {"azure2", 224, 238, 238}, {"azure3", 193, 205, 205}, {"azure4", 131, 139, 139}, {"beige", 245, 245, 220}, {"bisque", 255, 228, 196}, {"bisque1", 255, 228, 196}, {"bisque2", 238, 213, 183}, {"bisque3", 205, 183, 158}, {"bisque4", 139, 125, 107}, {"black", 0, 0, 0}, {"blanched almond", 255, 235, 205}, {"blue", 0, 0, 255}, {"blue violet", 138, 43, 226}, {"blue1", 0, 0, 255}, {"blue2", 0, 0, 238}, {"blue3", 0, 0, 205}, {"blue4", 0, 0, 139}, {"brown", 165, 42, 42}, {"brown1", 255, 64, 64}, {"brown2", 238, 59, 59}, {"brown3", 205, 51, 51}, {"brown4", 139, 35, 35}, {"burlywood", 222, 184, 135}, {"burlywood1", 255, 211, 155}, {"burlywood2", 238, 197, 145}, {"burlywood3", 205, 170, 125}, {"burlywood4", 139, 115, 85}, {"cadet blue", 95, 158, 160}, {"chartreuse", 127, 255, 0}, {"chartreuse1", 127, 255, 0}, {"chartreuse2", 118, 238, 0}, {"chartreuse3", 102, 205, 0}, {"chartreuse4", 69, 139, 0}, {"chocolate", 210, 105, 30}, {"chocolate1", 255, 127, 36}, {"chocolate2", 238, 118, 33}, {"chocolate3", 205, 102, 29}, {"chocolate4", 139, 69, 19}, {"coral", 255, 127, 80}, {"coral1", 255, 114, 86}, {"coral2", 238, 106, 80}, {"coral3", 205, 91, 69}, {"coral4", 139, 62, 47}, {"cornflower blue", 100, 149, 237}, {"cornsilk", 255, 248, 220}, {"cornsilk1", 255, 248, 220}, {"cornsilk2", 238, 232, 205}, {"cornsilk3", 205, 200, 177}, {"cornsilk4", 139, 136, 120}, {"cyan", 0, 255, 255}, {"cyan1", 0, 255, 255}, {"cyan2", 0, 238, 238}, {"cyan3", 0, 205, 205}, {"cyan4", 0, 139, 139}, {"dark blue", 0, 0, 139}, {"dark cyan", 0, 139, 139}, {"dark goldenrod", 184, 134, 11}, {"dark gray", 169, 169, 169}, {"dark green", 0, 100, 0}, {"dark grey", 169, 169, 169}, {"dark khaki", 189, 183, 107}, {"dark magenta", 139, 0, 139}, {"dark olive green", 85, 107, 47}, {"dark orange", 255, 140, 0}, {"dark orchid", 153, 50, 204}, {"dark red", 139, 0, 0}, {"dark salmon", 233, 150, 122}, {"dark sea green", 143, 188, 143}, {"dark slate blue", 72, 61, 139}, {"dark slate gray", 47, 79, 79}, {"dark slate grey", 47, 79, 79}, {"dark turquoise", 0, 206, 209}, {"dark violet", 148, 0, 211}, {"deep pink", 255, 20, 147}, {"deep sky blue", 0, 191, 255}, {"dim gray", 105, 105, 105}, {"dim grey", 105, 105, 105}, {"dodger blue", 30, 144, 255}, {"firebrick", 178, 34, 34}, {"firebrick1", 255, 48, 48}, {"firebrick2", 238, 44, 44}, {"firebrick3", 205, 38, 38}, {"firebrick4", 139, 26, 26}, {"floral white", 255, 250, 240}, {"forest green", 34, 139, 34}, {"gainsboro", 220, 220, 220}, {"ghost white", 248, 248, 255}, {"gold", 255, 215, 0}, {"gold1", 255, 215, 0}, {"gold2", 238, 201, 0}, {"gold3", 205, 173, 0}, {"gold4", 139, 117, 0}, {"goldenrod", 218, 165, 32}, {"goldenrod1", 255, 193, 37}, {"goldenrod2", 238, 180, 34}, {"goldenrod3", 205, 155, 29}, {"goldenrod4", 139, 105, 20}, {"gray", 190, 190, 190}, {"gray0", 0, 0, 0}, {"gray1", 3, 3, 3}, {"gray10", 26, 26, 26}, {"gray100", 255, 255, 255}, {"gray11", 28, 28, 28}, {"gray12", 31, 31, 31}, {"gray13", 33, 33, 33}, {"gray14", 36, 36, 36}, {"gray15", 38, 38, 38}, {"gray16", 41, 41, 41}, {"gray17", 43, 43, 43}, {"gray18", 46, 46, 46}, {"gray19", 48, 48, 48}, {"gray2", 5, 5, 5}, {"gray20", 51, 51, 51}, {"gray21", 54, 54, 54}, {"gray22", 56, 56, 56}, {"gray23", 59, 59, 59}, {"gray24", 61, 61, 61}, {"gray25", 64, 64, 64}, {"gray26", 66, 66, 66}, {"gray27", 69, 69, 69}, {"gray28", 71, 71, 71}, {"gray29", 74, 74, 74}, {"gray3", 8, 8, 8}, {"gray30", 77, 77, 77}, {"gray31", 79, 79, 79}, {"gray32", 82, 82, 82}, {"gray33", 84, 84, 84}, {"gray34", 87, 87, 87}, {"gray35", 89, 89, 89}, {"gray36", 92, 92, 92}, {"gray37", 94, 94, 94}, {"gray38", 97, 97, 97}, {"gray39", 99, 99, 99}, {"gray4", 10, 10, 10}, {"gray40", 102, 102, 102}, {"gray41", 105, 105, 105}, {"gray42", 107, 107, 107}, {"gray43", 110, 110, 110}, {"gray44", 112, 112, 112}, {"gray45", 115, 115, 115}, {"gray46", 117, 117, 117}, {"gray47", 120, 120, 120}, {"gray48", 122, 122, 122}, {"gray49", 125, 125, 125}, {"gray5", 13, 13, 13}, {"gray50", 127, 127, 127}, {"gray51", 130, 130, 130}, {"gray52", 133, 133, 133}, {"gray53", 135, 135, 135}, {"gray54", 138, 138, 138}, {"gray55", 140, 140, 140}, {"gray56", 143, 143, 143}, {"gray57", 145, 145, 145}, {"gray58", 148, 148, 148}, {"gray59", 150, 150, 150}, {"gray6", 15, 15, 15}, {"gray60", 153, 153, 153}, {"gray61", 156, 156, 156}, {"gray62", 158, 158, 158}, {"gray63", 161, 161, 161}, {"gray64", 163, 163, 163}, {"gray65", 166, 166, 166}, {"gray66", 168, 168, 168}, {"gray67", 171, 171, 171}, {"gray68", 173, 173, 173}, {"gray69", 176, 176, 176}, {"gray7", 18, 18, 18}, {"gray70", 179, 179, 179}, {"gray71", 181, 181, 181}, {"gray72", 184, 184, 184}, {"gray73", 186, 186, 186}, {"gray74", 189, 189, 189}, {"gray75", 191, 191, 191}, {"gray76", 194, 194, 194}, {"gray77", 196, 196, 196}, {"gray78", 199, 199, 199}, {"gray79", 201, 201, 201}, {"gray8", 20, 20, 20}, {"gray80", 204, 204, 204}, {"gray81", 207, 207, 207}, {"gray82", 209, 209, 209}, {"gray83", 212, 212, 212}, {"gray84", 214, 214, 214}, {"gray85", 217, 217, 217}, {"gray86", 219, 219, 219}, {"gray87", 222, 222, 222}, {"gray88", 224, 224, 224}, {"gray89", 227, 227, 227}, {"gray9", 23, 23, 23}, {"gray90", 229, 229, 229}, {"gray91", 232, 232, 232}, {"gray92", 235, 235, 235}, {"gray93", 237, 237, 237}, {"gray94", 240, 240, 240}, {"gray95", 242, 242, 242}, {"gray96", 245, 245, 245}, {"gray97", 247, 247, 247}, {"gray98", 250, 250, 250}, {"gray99", 252, 252, 252}, {"green", 0, 255, 0}, {"green yellow", 173, 255, 47}, {"green1", 0, 255, 0}, {"green2", 0, 238, 0}, {"green3", 0, 205, 0}, {"green4", 0, 139, 0}, {"grey", 190, 190, 190}, {"grey0", 0, 0, 0}, {"grey1", 3, 3, 3}, {"grey10", 26, 26, 26}, {"grey100", 255, 255, 255}, {"grey11", 28, 28, 28}, {"grey12", 31, 31, 31}, {"grey13", 33, 33, 33}, {"grey14", 36, 36, 36}, {"grey15", 38, 38, 38}, {"grey16", 41, 41, 41}, {"grey17", 43, 43, 43}, {"grey18", 46, 46, 46}, {"grey19", 48, 48, 48}, {"grey2", 5, 5, 5}, {"grey20", 51, 51, 51}, {"grey21", 54, 54, 54}, {"grey22", 56, 56, 56}, {"grey23", 59, 59, 59}, {"grey24", 61, 61, 61}, {"grey25", 64, 64, 64}, {"grey26", 66, 66, 66}, {"grey27", 69, 69, 69}, {"grey28", 71, 71, 71}, {"grey29", 74, 74, 74}, {"grey3", 8, 8, 8}, {"grey30", 77, 77, 77}, {"grey31", 79, 79, 79}, {"grey32", 82, 82, 82}, {"grey33", 84, 84, 84}, {"grey34", 87, 87, 87}, {"grey35", 89, 89, 89}, {"grey36", 92, 92, 92}, {"grey37", 94, 94, 94}, {"grey38", 97, 97, 97}, {"grey39", 99, 99, 99}, {"grey4", 10, 10, 10}, {"grey40", 102, 102, 102}, {"grey41", 105, 105, 105}, {"grey42", 107, 107, 107}, {"grey43", 110, 110, 110}, {"grey44", 112, 112, 112}, {"grey45", 115, 115, 115}, {"grey46", 117, 117, 117}, {"grey47", 120, 120, 120}, {"grey48", 122, 122, 122}, {"grey49", 125, 125, 125}, {"grey5", 13, 13, 13}, {"grey50", 127, 127, 127}, {"grey51", 130, 130, 130}, {"grey52", 133, 133, 133}, {"grey53", 135, 135, 135}, {"grey54", 138, 138, 138}, {"grey55", 140, 140, 140}, {"grey56", 143, 143, 143}, {"grey57", 145, 145, 145}, {"grey58", 148, 148, 148}, {"grey59", 150, 150, 150}, {"grey6", 15, 15, 15}, {"grey60", 153, 153, 153}, {"grey61", 156, 156, 156}, {"grey62", 158, 158, 158}, {"grey63", 161, 161, 161}, {"grey64", 163, 163, 163}, {"grey65", 166, 166, 166}, {"grey66", 168, 168, 168}, {"grey67", 171, 171, 171}, {"grey68", 173, 173, 173}, {"grey69", 176, 176, 176}, {"grey7", 18, 18, 18}, {"grey70", 179, 179, 179}, {"grey71", 181, 181, 181}, {"grey72", 184, 184, 184}, {"grey73", 186, 186, 186}, {"grey74", 189, 189, 189}, {"grey75", 191, 191, 191}, {"grey76", 194, 194, 194}, {"grey77", 196, 196, 196}, {"grey78", 199, 199, 199}, {"grey79", 201, 201, 201}, {"grey8", 20, 20, 20}, {"grey80", 204, 204, 204}, {"grey81", 207, 207, 207}, {"grey82", 209, 209, 209}, {"grey83", 212, 212, 212}, {"grey84", 214, 214, 214}, {"grey85", 217, 217, 217}, {"grey86", 219, 219, 219}, {"grey87", 222, 222, 222}, {"grey88", 224, 224, 224}, {"grey89", 227, 227, 227}, {"grey9", 23, 23, 23}, {"grey90", 229, 229, 229}, {"grey91", 232, 232, 232}, {"grey92", 235, 235, 235}, {"grey93", 237, 237, 237}, {"grey94", 240, 240, 240}, {"grey95", 242, 242, 242}, {"grey96", 245, 245, 245}, {"grey97", 247, 247, 247}, {"grey98", 250, 250, 250}, {"grey99", 252, 252, 252}, {"honeydew", 240, 255, 240}, {"honeydew1", 240, 255, 240}, {"honeydew2", 224, 238, 224}, {"honeydew3", 193, 205, 193}, {"honeydew4", 131, 139, 131}, {"hot pink", 255, 105, 180}, {"indian red", 205, 92, 92}, {"ivory", 255, 255, 240}, {"ivory1", 255, 255, 240}, {"ivory2", 238, 238, 224}, {"ivory3", 205, 205, 193}, {"ivory4", 139, 139, 131}, {"khaki", 240, 230, 140}, {"khaki1", 255, 246, 143}, {"khaki2", 238, 230, 133}, {"khaki3", 205, 198, 115}, {"khaki4", 139, 134, 78}, {"lavender", 230, 230, 250}, {"lavender blush", 255, 240, 245}, {"lawn green", 124, 252, 0}, {"lemon chiffon", 255, 250, 205}, {"light blue", 173, 216, 230}, {"light coral", 240, 128, 128}, {"light cyan", 224, 255, 255}, {"light goldenrod", 238, 221, 130}, {"light goldenrod yellow", 250, 250, 210}, {"light gray", 211, 211, 211}, {"light green", 144, 238, 144}, {"light grey", 211, 211, 211}, {"light pink", 255, 182, 193}, {"light salmon", 255, 160, 122}, {"light sea green", 32, 178, 170}, {"light sky blue", 135, 206, 250}, {"light slate blue", 132, 112, 255}, {"light slate gray", 119, 136, 153}, {"light slate grey", 119, 136, 153}, {"light steel blue", 176, 196, 222}, {"light yellow", 255, 255, 224}, {"lime green", 50, 205, 50}, {"linen", 250, 240, 230}, {"magenta", 255, 0, 255}, {"magenta1", 255, 0, 255}, {"magenta2", 238, 0, 238}, {"magenta3", 205, 0, 205}, {"magenta4", 139, 0, 139}, {"maroon", 176, 48, 96}, {"maroon1", 255, 52, 179}, {"maroon2", 238, 48, 167}, {"maroon3", 205, 41, 144}, {"maroon4", 139, 28, 98}, {"medium aquamarine", 102, 205, 170}, {"medium blue", 0, 0, 205}, {"medium orchid", 186, 85, 211}, {"medium purple", 147, 112, 219}, {"medium sea green", 60, 179, 113}, {"medium slate blue", 123, 104, 238}, {"medium spring green", 0, 250, 154}, {"medium turquoise", 72, 209, 204}, {"medium violet red", 199, 21, 133}, {"midnight blue", 25, 25, 112}, {"mint cream", 245, 255, 250}, {"misty rose", 255, 228, 225}, {"moccasin", 255, 228, 181}, {"navajo white", 255, 222, 173}, {"navy", 0, 0, 128}, {"navy blue", 0, 0, 128}, {"old lace", 253, 245, 230}, {"olive drab", 107, 142, 35}, {"orange", 255, 165, 0}, {"orange red", 255, 69, 0}, {"orange1", 255, 165, 0}, {"orange2", 238, 154, 0}, {"orange3", 205, 133, 0}, {"orange4", 139, 90, 0}, {"orchid", 218, 112, 214}, {"orchid1", 255, 131, 250}, {"orchid2", 238, 122, 233}, {"orchid3", 205, 105, 201}, {"orchid4", 139, 71, 137}, {"pale goldenrod", 238, 232, 170}, {"pale green", 152, 251, 152}, {"pale turquoise", 175, 238, 238}, {"pale violet red", 219, 112, 147}, {"papaya whip", 255, 239, 213}, {"peach puff", 255, 218, 185}, {"peru", 205, 133, 63}, {"pink", 255, 192, 203}, {"pink1", 255, 181, 197}, {"pink2", 238, 169, 184}, {"pink3", 205, 145, 158}, {"pink4", 139, 99, 108}, {"plum", 221, 160, 221}, {"plum1", 255, 187, 255}, {"plum2", 238, 174, 238}, {"plum3", 205, 150, 205}, {"plum4", 139, 102, 139}, {"powder blue", 176, 224, 230}, {"purple", 160, 32, 240}, {"purple1", 155, 48, 255}, {"purple2", 145, 44, 238}, {"purple3", 125, 38, 205}, {"purple4", 85, 26, 139}, {"red", 255, 0, 0}, {"red1", 255, 0, 0}, {"red2", 238, 0, 0}, {"red3", 205, 0, 0}, {"red4", 139, 0, 0}, {"rosy brown", 188, 143, 143}, {"royal blue", 65, 105, 225}, {"saddle brown", 139, 69, 19}, {"salmon", 250, 128, 114}, {"salmon1", 255, 140, 105}, {"salmon2", 238, 130, 98}, {"salmon3", 205, 112, 84}, {"salmon4", 139, 76, 57}, {"sandy brown", 244, 164, 96}, {"sea green", 46, 139, 87}, {"seashell", 255, 245, 238}, {"seashell1", 255, 245, 238}, {"seashell2", 238, 229, 222}, {"seashell3", 205, 197, 191}, {"seashell4", 139, 134, 130}, {"sienna", 160, 82, 45}, {"sienna1", 255, 130, 71}, {"sienna2", 238, 121, 66}, {"sienna3", 205, 104, 57}, {"sienna4", 139, 71, 38}, {"sky blue", 135, 206, 235}, {"slate blue", 106, 90, 205}, {"slate gray", 112, 128, 144}, {"slate grey", 112, 128, 144}, {"snow", 255, 250, 250}, {"snow1", 255, 250, 250}, {"snow2", 238, 233, 233}, {"snow3", 205, 201, 201}, {"snow4", 139, 137, 137}, {"spring green", 0, 255, 127}, {"steel blue", 70, 130, 180}, {"tan", 210, 180, 140}, {"tan1", 255, 165, 79}, {"tan2", 238, 154, 73}, {"tan3", 205, 133, 63}, {"tan4", 139, 90, 43}, {"thistle", 216, 191, 216}, {"thistle1", 255, 225, 255}, {"thistle2", 238, 210, 238}, {"thistle3", 205, 181, 205}, {"thistle4", 139, 123, 139}, {"tomato", 255, 99, 71}, {"tomato1", 255, 99, 71}, {"tomato2", 238, 92, 66}, {"tomato3", 205, 79, 57}, {"tomato4", 139, 54, 38}, {"turquoise", 64, 224, 208}, {"turquoise1", 0, 245, 255}, {"turquoise2", 0, 229, 238}, {"turquoise3", 0, 197, 205}, {"turquoise4", 0, 134, 139}, {"violet", 238, 130, 238}, {"violet red", 208, 32, 144}, {"wheat", 245, 222, 179}, {"wheat1", 255, 231, 186}, {"wheat2", 238, 216, 174}, {"wheat3", 205, 186, 150}, {"wheat4", 139, 126, 102}, {"white", 255, 255, 255}, {"white smoke", 245, 245, 245}, {"yellow", 255, 255, 0}, {"yellow green", 154, 205, 50}, {"yellow1", 255, 255, 0}, {"yellow2", 238, 238, 0}, {"yellow3", 205, 205, 0}, {"yellow4", 139, 139, 0}, }; BGD_EXPORT_DATA_PROT gdColorMap GD_COLOR_MAP_X11 = { sizeof(GD_COLOR_MAP_X11_ENTRIES)/sizeof(gdColorMapEntry), (gdColorMapEntry *)GD_COLOR_MAP_X11_ENTRIES }; /* Function: gdColorMapLookup */ BGD_DECLARE(int) gdColorMapLookup(const gdColorMap color_map, const char *color_name, int *r, int *g, int *b) { gdColorMapEntry *entries = color_map.entries; int low = 0; int high = color_map.num_entries - 1; while (low <= high) { int i = (low+high)/2; int result = strcmp(color_name, entries[i].color_name); if (result == 0) { *r = entries[i].red; *g = entries[i].green; *b = entries[i].blue; return 1; } else if (result < 0) { high = i - 1; } else { low = i + 1; } } return 0; } libgd-2.3.0/src/gd_bmp.c0000664000175000017500000006751513635665516011741 00000000000000/* gd_bmp.c Bitmap format support for libgd * Written 2007, Scott MacVicar --------------------------------------------------------------------------- Todo: Bitfield encoding ---------------------------------------------------------------------------- */ /** * File: BMP IO * * Read and write BMP images. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include #include "gd.h" #include "gdhelpers.h" #include "bmp.h" static int compress_row(unsigned char *uncompressed_row, int length); static int build_rle_packet(unsigned char *row, int packet_type, int length, unsigned char *data); static int bmp_read_header(gdIOCtxPtr infile, bmp_hdr_t *hdr); static int bmp_read_info(gdIOCtxPtr infile, bmp_info_t *info); static int bmp_read_windows_v3_info(gdIOCtxPtr infile, bmp_info_t *info); static int bmp_read_os2_v1_info(gdIOCtxPtr infile, bmp_info_t *info); static int bmp_read_os2_v2_info(gdIOCtxPtr infile, bmp_info_t *info); static int bmp_read_direct(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); static int bmp_read_1bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); static int bmp_read_rle(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info); static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression); #define BMP_DEBUG(s) static int gdBMPPutWord(gdIOCtx *out, int w) { /* Byte order is little-endian */ gdPutC(w & 0xFF, out); gdPutC((w >> 8) & 0xFF, out); return 0; } static int gdBMPPutInt(gdIOCtx *out, int w) { /* Byte order is little-endian */ gdPutC(w & 0xFF, out); gdPutC((w >> 8) & 0xFF, out); gdPutC((w >> 16) & 0xFF, out); gdPutC((w >> 24) & 0xFF, out); return 0; } /* Function: gdImageBmpPtr Outputs the given image as BMP data, but using a instead of a file. See . Parameters: im - the image to save. size - Output: size in bytes of the result. compression - whether to apply RLE or not. Returns: A pointer to memory containing the image data or NULL on error. */ BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) return NULL; if (!_gdImageBmpCtx(im, out, compression)) rv = gdDPExtractData(out, size); else rv = NULL; out->gd_free(out); return rv; } /* Function: gdImageBmp outputs the specified image to the specified file in BMP format. The file must be open for writing. Under MSDOS and all versions of Windows, it is important to use "wb" as opposed to simply "w" as the mode when opening the file, and under Unix there is no penalty for doing so. does not close the file; your code must do so. In addition, allows to specify whether RLE compression should be applied. Variants: write via a instead of a file handle. store the image file to memory. Parameters: im - the image to save. outFile - the output FILE* object. compression - whether to apply RLE or not. Returns: nothing */ BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageBmpCtx(im, out, compression); out->gd_free(out); } /* Function: gdImageBmpCtx Outputs the given image as BMP data, but using a instead of a file. See . Parameters: im - the image to save. out - the to write to. compression - whether to apply RLE or not. */ BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) { _gdImageBmpCtx(im, out, compression); } static int _gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression) { int bitmap_size = 0, info_size, total_size, padding; int i, row, xpos, pixel; int error = 0; unsigned char *uncompressed_row = NULL, *uncompressed_row_start = NULL; FILE *tmpfile_for_compression = NULL; gdIOCtxPtr out_original = NULL; int ret = 1; /* No compression if its true colour or we don't support seek */ if (im->trueColor) { compression = 0; } if (compression && !out->seek) { /* Try to create a temp file where we can seek */ if ((tmpfile_for_compression = tmpfile()) == NULL) { compression = 0; } else { out_original = out; if ((out = (gdIOCtxPtr)gdNewFileCtx(tmpfile_for_compression)) == NULL) { out = out_original; out_original = NULL; compression = 0; } } } bitmap_size = ((im->sx * (im->trueColor ? 24 : 8)) / 8) * im->sy; /* 40 byte Windows v3 header */ info_size = BMP_WINDOWS_V3; /* data for the palette */ if (!im->trueColor) { info_size += im->colorsTotal * 4; if (compression) { bitmap_size = 0; } } /* bitmap header + info header + data */ total_size = 14 + info_size + bitmap_size; /* write bmp header info */ gdPutBuf("BM", 2, out); gdBMPPutInt(out, total_size); gdBMPPutWord(out, 0); gdBMPPutWord(out, 0); gdBMPPutInt(out, 14 + info_size); /* write Windows v3 headers */ gdBMPPutInt(out, BMP_WINDOWS_V3); /* header size */ gdBMPPutInt(out, im->sx); /* width */ gdBMPPutInt(out, im->sy); /* height */ gdBMPPutWord(out, 1); /* colour planes */ gdBMPPutWord(out, (im->trueColor ? 24 : 8)); /* bit count */ gdBMPPutInt(out, (compression ? BMP_BI_RLE8 : BMP_BI_RGB)); /* compression */ gdBMPPutInt(out, bitmap_size); /* image size */ gdBMPPutInt(out, 0); /* H resolution */ gdBMPPutInt(out, 0); /* V ressolution */ gdBMPPutInt(out, im->colorsTotal); /* colours used */ gdBMPPutInt(out, 0); /* important colours */ /* The line must be divisible by 4, else its padded with NULLs */ padding = ((int)(im->trueColor ? 3 : 1) * im->sx) % 4; if (padding) { padding = 4 - padding; } /* 8-bit colours */ if (!im->trueColor) { for(i = 0; i< im->colorsTotal; ++i) { Putchar(gdImageBlue(im, i), out); Putchar(gdImageGreen(im, i), out); Putchar(gdImageRed(im, i), out); Putchar(0, out); } if (compression) { /* Can potentially change this to X + ((X / 128) * 3) */ uncompressed_row = uncompressed_row_start = (unsigned char *) gdCalloc(gdImageSX(im) * 2, sizeof(char)); if (!uncompressed_row) { /* malloc failed */ goto cleanup; } } for (row = (im->sy - 1); row >= 0; row--) { if (compression) { memset (uncompressed_row, 0, gdImageSX(im)); } for (xpos = 0; xpos < im->sx; xpos++) { if (compression) { *uncompressed_row++ = (unsigned char)gdImageGetPixel(im, xpos, row); } else { Putchar(gdImageGetPixel(im, xpos, row), out); } } if (!compression) { /* Add padding to make sure we have n mod 4 == 0 bytes per row */ for (xpos = padding; xpos > 0; --xpos) { Putchar('\0', out); } } else { int compressed_size = 0; uncompressed_row = uncompressed_row_start; if ((compressed_size = compress_row(uncompressed_row, gdImageSX(im))) < 0) { error = 1; break; } bitmap_size += compressed_size; gdPutBuf(uncompressed_row, compressed_size, out); Putchar(BMP_RLE_COMMAND, out); Putchar(BMP_RLE_ENDOFLINE, out); bitmap_size += 2; } } if (compression && uncompressed_row) { gdFree(uncompressed_row); if (error != 0) { goto cleanup; } /* Update filesize based on new values and set compression flag */ Putchar(BMP_RLE_COMMAND, out); Putchar(BMP_RLE_ENDOFBITMAP, out); bitmap_size += 2; /* Write new total bitmap size */ gdSeek(out, 2); gdBMPPutInt(out, total_size + bitmap_size); /* Total length of image data */ gdSeek(out, 34); gdBMPPutInt(out, bitmap_size); } } else { for (row = (im->sy - 1); row >= 0; row--) { for (xpos = 0; xpos < im->sx; xpos++) { pixel = gdImageGetPixel(im, xpos, row); Putchar(gdTrueColorGetBlue(pixel), out); Putchar(gdTrueColorGetGreen(pixel), out); Putchar(gdTrueColorGetRed(pixel), out); } /* Add padding to make sure we have n mod 4 == 0 bytes per row */ for (xpos = padding; xpos > 0; --xpos) { Putchar('\0', out); } } } /* If we needed a tmpfile for compression copy it over to out_original */ if (tmpfile_for_compression) { unsigned char* copy_buffer = NULL; int buffer_size = 0; gdSeek(out, 0); copy_buffer = (unsigned char *) gdMalloc(1024 * sizeof(unsigned char)); if (copy_buffer == NULL) { goto cleanup; } while ((buffer_size = gdGetBuf(copy_buffer, 1024, out)) != EOF) { if (buffer_size == 0) { break; } gdPutBuf(copy_buffer , buffer_size, out_original); } gdFree(copy_buffer); /* Replace the temp with the original which now has data */ out->gd_free(out); out = out_original; out_original = NULL; } ret = 0; cleanup: if (tmpfile_for_compression) { #ifdef _WIN32 _rmtmp(); #else fclose(tmpfile_for_compression); #endif tmpfile_for_compression = NULL; } if (out_original) { out_original->gd_free(out_original); } return ret; } static int compress_row(unsigned char *row, int length) { int rle_type = 0; int compressed_length = 0; int pixel = 0, compressed_run = 0, rle_compression = 0; unsigned char *uncompressed_row = NULL, *uncompressed_rowp = NULL, *uncompressed_start = NULL; uncompressed_row = (unsigned char *) gdMalloc(length); if (!uncompressed_row) { return -1; } memcpy(uncompressed_row, row, length); uncompressed_start = uncompressed_rowp = uncompressed_row; for (pixel = 0; pixel < length; pixel++) { if (compressed_run == 0) { uncompressed_row = uncompressed_rowp; compressed_run++; uncompressed_rowp++; rle_type = BMP_RLE_TYPE_RAW; continue; } if (compressed_run == 1) { /* Compare next byte */ if (memcmp(uncompressed_rowp, uncompressed_rowp - 1, 1) == 0) { rle_type = BMP_RLE_TYPE_RLE; } } if (rle_type == BMP_RLE_TYPE_RLE) { if (compressed_run >= 128 || memcmp(uncompressed_rowp, uncompressed_rowp - 1, 1) != 0) { /* more than what we can store in a single run or run is over due to non match, force write */ rle_compression = build_rle_packet(row, rle_type, compressed_run, uncompressed_row); row += rle_compression; compressed_length += rle_compression; compressed_run = 0; pixel--; } else { compressed_run++; uncompressed_rowp++; } } else { if (compressed_run >= 128 || memcmp(uncompressed_rowp, uncompressed_rowp - 1, 1) == 0) { /* more than what we can store in a single run or run is over due to match, force write */ rle_compression = build_rle_packet(row, rle_type, compressed_run, uncompressed_row); row += rle_compression; compressed_length += rle_compression; compressed_run = 0; pixel--; } else { /* add this pixel to the row */ compressed_run++; uncompressed_rowp++; } } } if (compressed_run) { compressed_length += build_rle_packet(row, rle_type, compressed_run, uncompressed_row); } gdFree(uncompressed_start); return compressed_length; } static int build_rle_packet(unsigned char *row, int packet_type, int length, unsigned char *data) { int compressed_size = 0; if (length < 1 || length > 128) { return 0; } /* Bitmap specific cases is that we can't have uncompressed rows of length 1 or 2 */ if (packet_type == BMP_RLE_TYPE_RAW && length < 3) { int i = 0; for (i = 0; i < length; i++) { compressed_size += 2; memset(row, 1, 1); row++; memcpy(row, data++, 1); row++; } } else if (packet_type == BMP_RLE_TYPE_RLE) { compressed_size = 2; memset(row, length, 1); row++; memcpy(row, data, 1); row++; } else { compressed_size = 2 + length; memset(row, BMP_RLE_COMMAND, 1); row++; memset(row, length, 1); row++; memcpy(row, data, length); row += length; /* Must be an even number for an uncompressed run */ if (length % 2) { memset(row, 0, 1); row++; compressed_size++; } } return compressed_size; } /* Function: gdImageCreateFromBmp */ BGD_DECLARE(gdImagePtr) gdImageCreateFromBmp(FILE * inFile) { gdImagePtr im = 0; gdIOCtx *in = gdNewFileCtx(inFile); if (in == NULL) return NULL; im = gdImageCreateFromBmpCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromBmpPtr */ BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpPtr(int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); if (in == NULL) return NULL; im = gdImageCreateFromBmpCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromBmpCtx */ BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpCtx(gdIOCtxPtr infile) { bmp_hdr_t *hdr; bmp_info_t *info; gdImagePtr im = NULL; int error = 0; if (!(hdr= (bmp_hdr_t *)gdCalloc(1, sizeof(bmp_hdr_t)))) { return NULL; } if (bmp_read_header(infile, hdr)) { gdFree(hdr); return NULL; } if (hdr->magic != 0x4d42) { gdFree(hdr); return NULL; } if (!(info = (bmp_info_t *)gdCalloc(1, sizeof(bmp_info_t)))) { gdFree(hdr); return NULL; } if (bmp_read_info(infile, info)) { gdFree(hdr); gdFree(info); return NULL; } BMP_DEBUG(printf("Numcolours: %d\n", info->numcolors)); BMP_DEBUG(printf("Width: %d\n", info->width)); BMP_DEBUG(printf("Height: %d\n", info->height)); BMP_DEBUG(printf("Planes: %d\n", info->numplanes)); BMP_DEBUG(printf("Depth: %d\n", info->depth)); BMP_DEBUG(printf("Offset: %d\n", hdr->off)); if (info->depth >= 16) { im = gdImageCreateTrueColor(info->width, info->height); } else { im = gdImageCreate(info->width, info->height); } if (!im) { gdFree(hdr); gdFree(info); return NULL; } switch (info->depth) { case 1: BMP_DEBUG(printf("1-bit image\n")); error = bmp_read_1bit(im, infile, info, hdr); break; case 4: BMP_DEBUG(printf("4-bit image\n")); error = bmp_read_4bit(im, infile, info, hdr); break; case 8: BMP_DEBUG(printf("8-bit image\n")); error = bmp_read_8bit(im, infile, info, hdr); break; case 16: case 24: case 32: BMP_DEBUG(printf("Direct BMP image\n")); error = bmp_read_direct(im, infile, info, hdr); break; default: BMP_DEBUG(printf("Unknown bit count\n")); error = 1; } gdFree(hdr); gdFree(info); if (error) { gdImageDestroy(im); return NULL; } return im; } static int bmp_read_header(gdIOCtx *infile, bmp_hdr_t *hdr) { if( !gdGetWordLSB(&hdr->magic, infile) || !gdGetIntLSB(&hdr->size, infile) || !gdGetWordLSB(&hdr->reserved1, infile) || !gdGetWordLSB(&hdr->reserved2 , infile) || !gdGetIntLSB(&hdr->off , infile) ) { return 1; } return 0; } static int bmp_read_info(gdIOCtx *infile, bmp_info_t *info) { /* read BMP length so we can work out the version */ if (!gdGetIntLSB(&info->len, infile)) { return 1; } switch (info->len) { /* For now treat Windows v4 + v5 as v3 */ case BMP_WINDOWS_V3: case BMP_WINDOWS_V4: case BMP_WINDOWS_V5: BMP_DEBUG(printf("Reading Windows Header\n")); if (bmp_read_windows_v3_info(infile, info)) { return 1; } break; case BMP_OS2_V1: if (bmp_read_os2_v1_info(infile, info)) { return 1; } break; case BMP_OS2_V2: if (bmp_read_os2_v2_info(infile, info)) { return 1; } break; default: BMP_DEBUG(printf("Unhandled bitmap\n")); return 1; } return 0; } static int bmp_read_windows_v3_info(gdIOCtxPtr infile, bmp_info_t *info) { if ( !gdGetIntLSB(&info->width, infile) || !gdGetIntLSB(&info->height, infile) || !gdGetWordLSB(&info->numplanes, infile) || !gdGetWordLSB(&info->depth, infile) || !gdGetIntLSB(&info->enctype, infile) || !gdGetIntLSB(&info->size, infile) || !gdGetIntLSB(&info->hres, infile) || !gdGetIntLSB(&info->vres, infile) || !gdGetIntLSB(&info->numcolors, infile) || !gdGetIntLSB(&info->mincolors, infile) ) { return 1; } /* Unlikely, but possible -- largest signed value won't fit in unsigned. */ if (info->height == 0 || info->height == INT_MIN) return 1; if (info->height < 0) { info->topdown = 1; info->height = -info->height; } else { info->topdown = 0; } info->type = BMP_PALETTE_4; /* Height was checked above. */ if (info->width <= 0 || info->numplanes <= 0 || info->depth <= 0 || info->numcolors < 0 || info->mincolors < 0) { return 1; } return 0; } static int bmp_read_os2_v1_info(gdIOCtxPtr infile, bmp_info_t *info) { if ( !gdGetWordLSB((signed short int *)&info->width, infile) || !gdGetWordLSB((signed short int *)&info->height, infile) || !gdGetWordLSB(&info->numplanes, infile) || !gdGetWordLSB(&info->depth, infile) ) { return 1; } /* OS2 v1 doesn't support topdown */ info->topdown = 0; /* The spec says the depth can only be a few value values. */ if (info->depth != 1 && info->depth != 4 && info->depth != 8 && info->depth != 16 && info->depth != 24) { return 1; } info->numcolors = 1 << info->depth; info->type = BMP_PALETTE_3; if (info->width <= 0 || info->height <= 0 || info->numplanes <= 0) { return 1; } return 0; } static int bmp_read_os2_v2_info(gdIOCtxPtr infile, bmp_info_t *info) { char useless_bytes[24]; if ( !gdGetIntLSB(&info->width, infile) || !gdGetIntLSB(&info->height, infile) || !gdGetWordLSB(&info->numplanes, infile) || !gdGetWordLSB(&info->depth, infile) || !gdGetIntLSB(&info->enctype, infile) || !gdGetIntLSB(&info->size, infile) || !gdGetIntLSB(&info->hres, infile) || !gdGetIntLSB(&info->vres, infile) || !gdGetIntLSB(&info->numcolors, infile) || !gdGetIntLSB(&info->mincolors, infile) ) { return 1; } /* Lets seek the next 24 pointless bytes, we don't care too much about it */ if (!gdGetBuf(useless_bytes, 24, infile)) { return 1; } /* Unlikely, but possible -- largest signed value won't fit in unsigned. */ if (info->height == 0 || info->height == INT_MIN) return 1; if (info->height < 0) { info->topdown = 1; info->height = -info->height; } else { info->topdown = 0; } info->type = BMP_PALETTE_4; /* Height was checked above. */ if (info->width <= 0 || info->numplanes <= 0 || info->depth <= 0 || info->numcolors < 0 || info->mincolors < 0) { return 1; } return 0; } static int bmp_read_direct(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header) { int ypos = 0, xpos = 0, row = 0; int padding = 0, alpha = 0, red = 0, green = 0, blue = 0; signed short int data = 0; switch(info->enctype) { case BMP_BI_RGB: /* no-op */ break; case BMP_BI_BITFIELDS: if (info->depth == 24) { BMP_DEBUG(printf("Bitfield compression isn't supported for 24-bit\n")); return 1; } BMP_DEBUG(printf("Currently no bitfield support\n")); return 1; break; case BMP_BI_RLE8: if (info->depth != 8) { BMP_DEBUG(printf("RLE is only valid for 8-bit images\n")); return 1; } break; case BMP_BI_RLE4: if (info->depth != 4) { BMP_DEBUG(printf("RLE is only valid for 4-bit images\n")); return 1; } break; case BMP_BI_JPEG: case BMP_BI_PNG: default: BMP_DEBUG(printf("Unsupported BMP compression format\n")); return 1; } /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { return 1; } } /* The line must be divisible by 4, else its padded with NULLs */ padding = ((int)(info->depth / 8) * info->width) % 4; if (padding) { padding = 4 - padding; } for (ypos = 0; ypos < info->height; ++ypos) { if (info->topdown) { row = ypos; } else { row = info->height - ypos - 1; } for (xpos = 0; xpos < info->width; xpos++) { if (info->depth == 16) { if (!gdGetWordLSB(&data, infile)) { return 1; } BMP_DEBUG(printf("Data: %X\n", data)); red = ((data & 0x7C00) >> 10) << 3; green = ((data & 0x3E0) >> 5) << 3; blue = (data & 0x1F) << 3; BMP_DEBUG(printf("R: %d, G: %d, B: %d\n", red, green, blue)); } else if (info->depth == 24) { if (!gdGetByte(&blue, infile) || !gdGetByte(&green, infile) || !gdGetByte(&red, infile)) { return 1; } } else { if (!gdGetByte(&blue, infile) || !gdGetByte(&green, infile) || !gdGetByte(&red, infile) || !gdGetByte(&alpha, infile)) { return 1; } } /*alpha = gdAlphaMax - (alpha >> 1);*/ gdImageSetPixel(im, xpos, row, gdTrueColor(red, green, blue)); } for (xpos = padding; xpos > 0; --xpos) { if (!gdGetByte(&red, infile)) { return 1; } } } return 0; } static int bmp_read_palette(gdImagePtr im, gdIOCtxPtr infile, int count, int read_four) { int i; int r, g, b, z; for (i = 0; i < count; i++) { if ( !gdGetByte(&b, infile) || !gdGetByte(&g, infile) || !gdGetByte(&r, infile) || (read_four && !gdGetByte(&z, infile)) ) { return 1; } im->red[i] = r; im->green[i] = g; im->blue[i] = b; im->open[i] = 1; } return 0; } static int bmp_read_1bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header) { int ypos = 0, xpos = 0, row = 0, index = 0; int padding = 0, current_byte = 0, bit = 0; if (info->enctype != BMP_BI_RGB) { return 1; } if (!info->numcolors) { info->numcolors = 2; } else if (info->numcolors < 0 || info->numcolors > 2) { return 1; } if (bmp_read_palette(im, infile, info->numcolors, (info->type == BMP_PALETTE_4))) { return 1; } im->colorsTotal = info->numcolors; /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { return 1; } } /* The line must be aligned on a 32 bits word, else it is padded with zeros */ padding = (info->width + 7) / 8 % 4; if (padding) { padding = 4 - padding; } for (ypos = 0; ypos < info->height; ++ypos) { if (info->topdown) { row = ypos; } else { row = info->height - ypos - 1; } for (xpos = 0; xpos < info->width; xpos += 8) { /* Bitmaps are always aligned in bytes so we'll never overflow */ if (!gdGetByte(¤t_byte, infile)) { return 1; } for (bit = 0; bit < 8; bit++) { index = ((current_byte & (0x80 >> bit)) != 0 ? 0x01 : 0x00); if (im->open[index]) { im->open[index] = 0; } gdImageSetPixel(im, xpos + bit, row, index); /* No need to read anything extra */ if ((xpos + bit) >= info->width) { break; } } } for (xpos = padding; xpos > 0; --xpos) { if (!gdGetByte(&index, infile)) { return 1; } } } return 0; } static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header) { int ypos = 0, xpos = 0, row = 0, index = 0; int padding = 0, current_byte = 0; if (info->enctype != BMP_BI_RGB && info->enctype != BMP_BI_RLE4) { return 1; } if (!info->numcolors) { info->numcolors = 16; } else if (info->numcolors < 0 || info->numcolors > 16) { return 1; } if (bmp_read_palette(im, infile, info->numcolors, (info->type == BMP_PALETTE_4))) { return 1; } im->colorsTotal = info->numcolors; /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { return 1; } } /* The line must be divisible by 4, else its padded with NULLs */ padding = ((int)ceil(0.5 * info->width)) % 4; if (padding) { padding = 4 - padding; } switch (info->enctype) { case BMP_BI_RGB: for (ypos = 0; ypos < info->height; ++ypos) { if (info->topdown) { row = ypos; } else { row = info->height - ypos - 1; } for (xpos = 0; xpos < info->width; xpos += 2) { if (!gdGetByte(¤t_byte, infile)) { return 1; } index = (current_byte >> 4) & 0x0f; if (im->open[index]) { im->open[index] = 0; } gdImageSetPixel(im, xpos, row, index); /* This condition may get called often, potential optimsations */ if (xpos >= info->width) { break; } index = current_byte & 0x0f; if (im->open[index]) { im->open[index] = 0; } gdImageSetPixel(im, xpos + 1, row, index); } for (xpos = padding; xpos > 0; --xpos) { if (!gdGetByte(&index, infile)) { return 1; } } } break; case BMP_BI_RLE4: if (bmp_read_rle(im, infile, info)) { return 1; } break; default: return 1; } return 0; } static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header) { int ypos = 0, xpos = 0, row = 0, index = 0; int padding = 0; if (info->enctype != BMP_BI_RGB && info->enctype != BMP_BI_RLE8) { return 1; } if (!info->numcolors) { info->numcolors = 256; } else if (info->numcolors < 0 || info->numcolors > 256) { return 1; } if (bmp_read_palette(im, infile, info->numcolors, (info->type == BMP_PALETTE_4))) { return 1; } im->colorsTotal = info->numcolors; /* There is a chance the data isn't until later, would be weird but it is possible */ if (gdTell(infile) != header->off) { /* Should make sure we don't seek past the file size */ if (!gdSeek(infile, header->off)) { return 1; } } /* The line must be divisible by 4, else its padded with NULLs */ padding = (1 * info->width) % 4; if (padding) { padding = 4 - padding; } switch (info->enctype) { case BMP_BI_RGB: for (ypos = 0; ypos < info->height; ++ypos) { if (info->topdown) { row = ypos; } else { row = info->height - ypos - 1; } for (xpos = 0; xpos < info->width; ++xpos) { if (!gdGetByte(&index, infile)) { return 1; } if (im->open[index]) { im->open[index] = 0; } gdImageSetPixel(im, xpos, row, index); } /* Could create a new variable, but it isn't really worth it */ for (xpos = padding; xpos > 0; --xpos) { if (!gdGetByte(&index, infile)) { return 1; } } } break; case BMP_BI_RLE8: if (bmp_read_rle(im, infile, info)) { return 1; } break; default: return 1; } return 0; } static int bmp_read_rle(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info) { int ypos = 0, xpos = 0, row = 0, index = 0; int rle_length = 0, rle_data = 0; int padding = 0; int i = 0, j = 0; int pixels_per_byte = 8 / info->depth; for (ypos = 0; ypos < info->height && xpos <= info->width;) { if (!gdGetByte(&rle_length, infile) || !gdGetByte(&rle_data, infile)) { return 1; } row = info->height - ypos - 1; if (rle_length != BMP_RLE_COMMAND) { if (im->open[rle_data]) { im->open[rle_data] = 0; } for (i = 0; (i < rle_length) && (xpos < info->width);) { for (j = 1; (j <= pixels_per_byte) && (xpos < info->width) && (i < rle_length); j++, xpos++, i++) { index = (rle_data & (((1 << info->depth) - 1) << (8 - (j * info->depth)))) >> (8 - (j * info->depth)); if (im->open[index]) { im->open[index] = 0; } gdImageSetPixel(im, xpos, row, index); } } } else if (rle_length == BMP_RLE_COMMAND && rle_data > 2) { /* Uncompressed RLE needs to be even */ padding = 0; for (i = 0; (i < rle_data) && (xpos < info->width); i += pixels_per_byte) { int max_pixels = pixels_per_byte; if (!gdGetByte(&index, infile)) { return 1; } padding++; if (rle_data - i < max_pixels) { max_pixels = rle_data - i; } for (j = 1; (j <= max_pixels) && (xpos < info->width); j++, xpos++) { int temp = (index >> (8 - (j * info->depth))) & ((1 << info->depth) - 1); if (im->open[temp]) { im->open[temp] = 0; } gdImageSetPixel(im, xpos, row, temp); } } /* Make sure the bytes read are even */ if (padding % 2 && !gdGetByte(&index, infile)) { return 1; } } else if (rle_length == BMP_RLE_COMMAND && rle_data == BMP_RLE_ENDOFLINE) { /* Next Line */ xpos = 0; ypos++; } else if (rle_length == BMP_RLE_COMMAND && rle_data == BMP_RLE_DELTA) { /* Delta Record, used for bmp files that contain other data*/ if (!gdGetByte(&rle_length, infile) || !gdGetByte(&rle_data, infile)) { return 1; } xpos += rle_length; ypos += rle_data; } else if (rle_length == BMP_RLE_COMMAND && rle_data == BMP_RLE_ENDOFBITMAP) { /* End of bitmap */ break; } } return 0; } libgd-2.3.0/src/gd_color.h0000664000175000017500000000027513634445460012265 00000000000000#ifndef GD_COLOR_H #define GD_COLOR_H 1 #ifdef __cplusplus extern "C" { #endif int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gdfx.c0000664000175000017500000003700713635665516011432 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include "gd.h" #include "gd_errors.h" #include /* In tests this is sufficient to prevent obvious artifacts */ #define MAG 4 #define PI 3.141592 #define DEG2RAD(x) ((x)*PI/180.) #define MAX(x,y) ((x) > (y) ? (x) : (y)) #define MIN(x,y) ((x) < (y) ? (x) : (y)) #define MAX4(x,y,z,w) \ ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w)))) #define MIN4(x,y,z,w) \ ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w)))) #define MAXX(x) MAX4(x[0],x[2],x[4],x[6]) #define MINX(x) MIN4(x[0],x[2],x[4],x[6]) #define MAXY(x) MAX4(x[1],x[3],x[5],x[7]) #define MINY(x) MIN4(x[1],x[3],x[5],x[7]) /** * Function: gdImageStringFTCircle * * Draw text curved along the top and bottom of a circular area of an image. * * Parameters: * im - The image to draw onto. * cx - The x-coordinate of the center of the circular area. * cy - The y-coordinate of the center of the circular area. * radius - The radius of the circular area. * textRadius - The height of each character; if textRadius is 1/2 of radius, * characters extend halfway from the edge to the center. * fillPortion - The percentage of the 180 degrees of the circular area * assigned to each section of text, that is actually occupied * by text. The value has to be in range 0.0 to 1.0, with useful * values from about 0.4 to 0.9; 0.9 looks better than 1.0 which * is rather crowded. * font - The fontlist that is passed to . * points - The point size, which functions as a hint. Although the size * of the text is determined by radius, textRadius and * fillPortion, a point size that 'hints' appropriately should be * passed. If it's known that the text will be large, a large * point size such as 24.0 should be passed to get the best * results. * top - The text to draw clockwise at the top of the circular area. * bottom - The text to draw counterclockwise at the bottom of the * circular area. * fgcolor - The font color. * * Returns: * NULL on success, or an error string on failure. */ BGD_DECLARE(char*) gdImageStringFTCircle (gdImagePtr im, int cx, int cy, double radius, double textRadius, double fillPortion, char *font, double points, char *top, char *bottom, int fgcolor) { char *err; int w; int brect[8]; int sx1, sx2, sy1, sy2, sx, sy; int x, y; int fr, fg, fb, fa; int ox, oy; double prop; gdImagePtr im1; gdImagePtr im2; gdImagePtr im3; /* obtain brect so that we can size the image */ err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, font, points * MAG, 0, 0, 0, bottom); if (err) { return err; } sx1 = MAXX (brect) - MINX (brect) + 6; sy1 = MAXY (brect) - MINY (brect) + 6; err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, font, points * MAG, 0, 0, 0, top); if (err) { return err; } sx2 = MAXX (brect) - MINX (brect) + 6; sy2 = MAXY (brect) - MINY (brect) + 6; /* Pad by 4 pixels to allow for slight errors observed in the bounding box returned by freetype */ if (sx1 > sx2) { sx = sx1 * 2 + 4; } else { sx = sx2 * 2 + 4; } if (sy1 > sy2) { sy = sy1; } else { sy = sy2; } im1 = gdImageCreateTrueColor (sx, sy); if (!im1) { return "could not create first image"; } err = gdImageStringFT (im1, 0, gdTrueColor (255, 255, 255), font, points * MAG, 0, ((sx / 2) - sx1) / 2, points * MAG, bottom); if (err) { gdImageDestroy (im1); return err; } /* We don't know the descent, which would be needed to do this with the angle parameter. Instead, implement a simple flip operation ourselves. */ err = gdImageStringFT (im1, 0, gdTrueColor (255, 255, 255), font, points * MAG, 0, sx / 2 + ((sx / 2) - sx2) / 2, points * MAG, top); if (err) { gdImageDestroy (im1); return err; } /* Flip in place is tricky, be careful not to double-swap things */ if (sy & 1) { for (y = 0; (y <= (sy / 2)); y++) { int xlimit = sx - 2; if (y == (sy / 2)) { /* If there is a "middle" row, be careful not to swap twice! */ xlimit -= (sx / 4); } for (x = (sx / 2) + 2; (x < xlimit); x++) { int t; int ox = sx - x + (sx / 2) - 1; int oy = sy - y - 1; t = im1->tpixels[oy][ox]; im1->tpixels[oy][ox] = im1->tpixels[y][x]; im1->tpixels[y][x] = t; } } } else { for (y = 0; (y < (sy / 2)); y++) { int xlimit = sx - 2; for (x = (sx / 2) + 2; (x < xlimit); x++) { int t; int ox = sx - x + (sx / 2) - 1; int oy = sy - y - 1; t = im1->tpixels[oy][ox]; im1->tpixels[oy][ox] = im1->tpixels[y][x]; im1->tpixels[y][x] = t; } } } #if STEP_PNGS { FILE *out = fopen ("gdfx1.png", "wb"); gdImagePng (im1, out); fclose (out); } #endif /* STEP_PNGS */ /* Resample taller; the exact proportions of the text depend on the ratio of textRadius to radius, and the value of fillPortion */ if (sx > sy * 10) { w = sx; } else { w = sy * 10; } im2 = gdImageCreateTrueColor (w, w); if (!im2) { gdImageDestroy (im1); return "could not create resampled image"; } prop = textRadius / radius; gdImageCopyResampled (im2, im1, gdImageSX (im2) * (1.0 - fillPortion) / 4, sy * 10 * (1.0 - prop), 0, 0, gdImageSX (im2) * fillPortion / 2, sy * 10 * prop, gdImageSX (im1) / 2, gdImageSY (im1)); gdImageCopyResampled (im2, im1, (gdImageSX (im2) / 2) + gdImageSX (im2) * (1.0 - fillPortion) / 4, sy * 10 * (1.0 - prop), gdImageSX (im1) / 2, 0, gdImageSX (im2) * fillPortion / 2, sy * 10 * prop, gdImageSX (im1) / 2, gdImageSY (im1)); #if STEP_PNGS { FILE *out = fopen ("gdfx2.png", "wb"); gdImagePng (im2, out); fclose (out); } #endif /* STEP_PNGS */ gdImageDestroy (im1); /* Ready to produce a circle */ im3 = gdImageSquareToCircle (im2, radius); if (im3 == NULL) { gdImageDestroy(im2); return 0; } gdImageDestroy (im2); /* Now blend im3 with the destination. Cheat a little. The source (im3) is white-on-black, so we can use the red component as a basis for alpha as long as we're careful to shift off the extra bit and invert (alpha ranges from 0 to 127 where 0 is OPAQUE). Also be careful to allow for an alpha component in the fgcolor parameter itself (gug!) */ fr = gdTrueColorGetRed (fgcolor); fg = gdTrueColorGetGreen (fgcolor); fb = gdTrueColorGetBlue (fgcolor); fa = gdTrueColorGetAlpha (fgcolor); ox = cx - (im3->sx / 2); oy = cy - (im3->sy / 2); for (y = 0; (y < im3->sy); y++) { for (x = 0; (x < im3->sx); x++) { int a = gdTrueColorGetRed (im3->tpixels[y][x]) >> 1; a *= (127 - fa); a /= 127; a = 127 - a; gdImageSetPixel (im, x + ox, y + oy, gdTrueColorAlpha (fr, fg, fb, a)); } } gdImageDestroy (im3); return 0; } #if GDFX_MAIN int main (int argc, char *argv[]) { FILE *in; FILE *out; gdImagePtr im; int radius; /* Create an image of text on a circle, with an alpha channel so that we can copy it onto a background */ in = fopen ("eleanor.jpg", "rb"); if (!in) { im = gdImageCreateTrueColor (300, 300); } else { im = gdImageCreateFromJpeg (in); fclose (in); } if (gdImageSX (im) < gdImageSY (im)) { radius = gdImageSX (im) / 2; } else { radius = gdImageSY (im) / 2; } gdImageStringFTCircle (im, gdImageSX (im) / 2, gdImageSY (im) / 2, radius, radius / 2, 0.8, "arial", 24, "top text", "bottom text", gdTrueColorAlpha (240, 240, 255, 32)); out = fopen ("gdfx.png", "wb"); if (!out) { gd_error("Can't create gdfx.png\n"); return 1; } gdImagePng (im, out); fclose (out); gdImageDestroy (im); return 0; } #endif /* GDFX_MAIN */ /* Note: don't change these */ #define SUPER 2 #define SUPERBITS1 1 #define SUPERBITS2 2 /** * Function: gdImageSquareToCircle * * Apply polar coordinate transformation to an image. * * The X axis of the original will be remapped to theta (angle) and the Y axis * of the original will be remapped to rho (distance from center). * * Parameters: * im - The image, which must be square, i.e. width == height. * radius - The radius of the new image, i.e. width == height == radius * 2. * * Returns: * The transformed image, or NULL on failure. */ BGD_DECLARE(gdImagePtr) gdImageSquareToCircle (gdImagePtr im, int radius) { int x, y; double c; gdImagePtr im2; if (im->sx != im->sy) { /* Source image must be square */ return 0; } im2 = gdImageCreateTrueColor (radius * 2, radius * 2); if (!im2) { return 0; } /* Supersampling for a nicer result */ c = (im2->sx / 2) * SUPER; for (y = 0; (y < im2->sy * SUPER); y++) { for (x = 0; (x < im2->sx * SUPER); x++) { double rho = sqrt ((x - c) * (x - c) + (y - c) * (y - c)); int pix; int cpix; double theta; double ox; double oy; int red, green, blue, alpha; if (rho > c) { continue; } theta = atan2 (x - c, y - c) + PI / 2; if (theta < 0) { theta += 2 * PI; } /* Undo supersampling */ oy = (rho * im->sx) / (im2->sx * SUPER / 2); ox = theta * im->sx / (3.141592653 * 2); pix = gdImageGetPixel (im, ox, oy); cpix = im2->tpixels[y >> SUPERBITS1][x >> SUPERBITS1]; red = (gdImageRed (im, pix) >> SUPERBITS2) + gdTrueColorGetRed (cpix); green = (gdImageGreen (im, pix) >> SUPERBITS2) + gdTrueColorGetGreen (cpix); blue = (gdImageBlue (im, pix) >> SUPERBITS2) + gdTrueColorGetBlue (cpix); alpha = (gdImageAlpha (im, pix) >> SUPERBITS2) + gdTrueColorGetAlpha (cpix); im2->tpixels[y >> SUPERBITS1][x >> SUPERBITS1] = gdTrueColorAlpha (red, green, blue, alpha); } } /* Restore full dynamic range, 0-63 yields 0-252. Replication of first 2 bits in last 2 bits has the desired effect. Note slightly different arithmetic for alpha which is 7-bit. NOTE: only correct for SUPER == 2 */ for (y = 0; (y < im2->sy); y++) { for (x = 0; (x < im2->sx); x++) { /* Copy first 2 bits to last 2 bits, matching the dynamic range of the original cheaply */ int cpix = im2->tpixels[y][x]; im2->tpixels[y][x] = gdTrueColorAlpha ((gdTrueColorGetRed (cpix) & 0xFC) + ((gdTrueColorGetRed (cpix) & 0xC0) >> 6), (gdTrueColorGetGreen (cpix) & 0xFC) + ((gdTrueColorGetGreen (cpix) & 0xC0) >> 6), (gdTrueColorGetBlue (cpix) & 0xFC) + ((gdTrueColorGetBlue (cpix) & 0xC0) >> 6), (gdTrueColorGetAlpha (cpix) & 0x7C) + ((gdTrueColorGetAlpha (cpix) & 0x60) >> 6)); } } return im2; } /* 2.0.16: Called by gdImageSharpen to avoid excessive code repetition Added on 2003-11-19 by Paul Troughton (paultroughtonieeeorg) Given filter coefficents and colours of three adjacent pixels, returns new colour for centre pixel */ int gdImageSubSharpen (int pc, int c, int nc, float inner_coeff, float outer_coeff) { float red, green, blue, alpha; red = inner_coeff * gdTrueColorGetRed (c) + outer_coeff * (gdTrueColorGetRed (pc) + gdTrueColorGetRed (nc)); green = inner_coeff * gdTrueColorGetGreen (c) + outer_coeff * (gdTrueColorGetGreen (pc) + gdTrueColorGetGreen (nc)); blue = inner_coeff * gdTrueColorGetBlue (c) + outer_coeff * (gdTrueColorGetBlue (pc) + gdTrueColorGetBlue (nc)); alpha = gdTrueColorGetAlpha (c); /* Clamping, as can overshoot bounds in either direction */ if (red > 255.0f) { red = 255.0f; } if (green > 255.0f) { green = 255.0f; } if (blue > 255.0f) { blue = 255.0f; } if (red < 0.0f) { red = 0.0f; } if (green < 0.0f) { green = 0.0f; } if (blue < 0.0f) { blue = 0.0f; } return gdTrueColorAlpha ((int) red, (int) green, (int) blue, (int) alpha); } /** * Function: gdImageSharpen * * Sharpen an image. * * Uses a simple 3x3 convolution kernel and makes use of separability. * It's faster, but less flexible, than full-blown unsharp masking. * Silently does nothing to non-truecolor images and for pct<0, as it's not a useful blurring function. * * Parameters: * pct - The sharpening percentage, which can be greater than 100. * * Author: * Paul Troughton (paultroughtonieeeorg) */ BGD_DECLARE(void) gdImageSharpen (gdImagePtr im, int pct) { int x, y; int sx, sy; float inner_coeff, outer_coeff; sx = im->sx; sy = im->sy; /* Must sum to 1 to avoid overall change in brightness. * Scaling chosen so that pct=100 gives 1-D filter [-1 6 -1]/4, * resulting in a 2-D filter [1 -6 1; -6 36 -6; 1 -6 1]/16, * which gives noticeable, but not excessive, sharpening */ outer_coeff = -pct / 400.0; inner_coeff = 1 - 2 * outer_coeff; /* Don't try to do anything with non-truecolor images, as pointless, * nor for pct<=0, as small kernel size leads to nasty artefacts when blurring */ if ((im->trueColor) && (pct > 0)) { /* First pass, 1-D convolution column-wise */ for (x = 0; x < sx; x++) { /* pc is colour of previous pixel; c of the current pixel and nc of the next */ int pc, c, nc; /* Replicate edge pixel at image boundary */ pc = gdImageGetPixel (im, x, 0); /* Stop looping before last pixel to avoid conditional within loop */ for (y = 0; y < sy - 1; y++) { c = gdImageGetPixel (im, x, y); nc = gdImageGetTrueColorPixel (im, x, y + 1); /* Update centre pixel to new colour */ gdImageSetPixel (im, x, y, gdImageSubSharpen (pc, c, nc, inner_coeff, outer_coeff)); /* Save original colour of current pixel for next time round */ pc = c; } /* Deal with last pixel, replicating current pixel at image boundary */ c = gdImageGetPixel (im, x, y); gdImageSetPixel (im, x, y, gdImageSubSharpen (pc, c, c, inner_coeff, outer_coeff)); } /* Second pass, 1-D convolution row-wise */ for (y = 0; y < sy; y++) { int pc, c; pc = gdImageGetPixel (im, 0, y); for (x = 0; x < sx - 1; x++) { int c, nc; c = gdImageGetPixel (im, x, y); nc = gdImageGetTrueColorPixel (im, x + 1, y); gdImageSetPixel (im, x, y, gdImageSubSharpen (pc, c, nc, inner_coeff, outer_coeff)); pc = c; } c = gdImageGetPixel (im, x, y); gdImageSetPixel (im, x, y, gdImageSubSharpen (pc, c, c, inner_coeff, outer_coeff)); } } } libgd-2.3.0/src/bmp.h0000664000175000017500000000460713635665516011265 00000000000000#ifndef BMP_H #define BMP_H 1 #ifdef __cplusplus extern "C" { #endif /* gd_bmp.c Bitmap format support for libgd * Written 2007, Scott MacVicar --------------------------------------------------------------------------- Todo: RLE4, RLE8 and Bitfield encoding Add full support for Windows v4 and Windows v5 header formats ---------------------------------------------------------------------------- */ #define BMP_PALETTE_3 1 #define BMP_PALETTE_4 2 #define BMP_WINDOWS_V3 40 #define BMP_OS2_V1 12 #define BMP_OS2_V2 64 #define BMP_WINDOWS_V4 108 #define BMP_WINDOWS_V5 124 #define BMP_BI_RGB 0 #define BMP_BI_RLE8 1 #define BMP_BI_RLE4 2 #define BMP_BI_BITFIELDS 3 #define BMP_BI_JPEG 4 #define BMP_BI_PNG 5 #define BMP_RLE_COMMAND 0 #define BMP_RLE_ENDOFLINE 0 #define BMP_RLE_ENDOFBITMAP 1 #define BMP_RLE_DELTA 2 #define BMP_RLE_TYPE_RAW 0 #define BMP_RLE_TYPE_RLE 1 /* BMP header. */ typedef struct { /* 16 bit - header identifying the type */ signed short int magic; /* 32bit - size of the file */ int size; /* 16bit - these two are in the spec but "reserved" */ signed short int reserved1; signed short int reserved2; /* 32 bit - offset of the bitmap header from data in bytes */ signed int off; } bmp_hdr_t; /* BMP info. */ typedef struct { /* 16bit - Type, ie Windows or OS/2 for the palette info */ signed short int type; /* 32bit - The length of the bitmap information header in bytes. */ signed int len; /* 32bit - The width of the bitmap in pixels. */ signed int width; /* 32bit - The height of the bitmap in pixels. */ signed int height; /* 8 bit - The bitmap data is specified in top-down order. */ signed char topdown; /* 16 bit - The number of planes. This must be set to a value of one. */ signed short int numplanes; /* 16 bit - The number of bits per pixel. */ signed short int depth; /* 32bit - The type of compression used. */ signed int enctype; /* 32bit - The size of the image in bytes. */ signed int size; /* 32bit - The horizontal resolution in pixels/metre. */ signed int hres; /* 32bit - The vertical resolution in pixels/metre. */ signed int vres; /* 32bit - The number of color indices used by the bitmap. */ signed int numcolors; /* 32bit - The number of color indices important for displaying the bitmap. */ signed int mincolors; } bmp_info_t; #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/pngtogd.c0000664000175000017500000000170413635665516012137 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "gd.h" /* A short program which converts a .png file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ int main (int argc, char **argv) { gdImagePtr im = NULL; FILE *in, *out; if (argc != 3) { fprintf (stderr, "Usage: pngtogd filename.png filename.gd\n"); exit (1); } in = fopen (argv[1], "rb"); if (!in) { fprintf (stderr, "Input file does not exist!\n"); exit (1); } im = gdImageCreateFromPng (in); fclose (in); if (!im) { fprintf (stderr, "Input is not in PNG format!\n"); exit (1); } out = fopen (argv[2], "wb"); if (!out) { fprintf (stderr, "Output file cannot be written to!\n"); gdImageDestroy (im); exit (1); } gdImageGd (im, out); fclose (out); gdImageDestroy (im); return 0; } libgd-2.3.0/src/bdftogd0000775000175000017500000000763513635665516011701 00000000000000#!/usr/bin/perl -w # # Simple convertor from bdf to gd font format. # # Author: Jan Pazdziora, adelton@fi.muni.cz, http://www.fi.muni.cz/~adelton/ # at Faculty of Informatics, Masaryk University in Brno, Czech Republic. # # Example of use: # fstobdf -s fontserverhost:7100 -fn 8x16 | ./bdftogd FontLarge gdfontl # use strict; my $VERSION = '0.60'; my $now = localtime; if (@ARGV != 2) { die "usage: bdftogd fontname filename, eg. bdftogd FontLarge gdfontl\n"; } my $gdname = shift; $gdname = 'gd' . $gdname unless $gdname =~ /^gd/i; my $filename = shift; $filename = 'gd' . $filename unless $filename =~ /^gd/i; if (-f "$filename.c") { die "File $filename.c already exists, won't overwrite\n"; } if (-f "$filename.h") { die "File $filename.h already exists, won't overwrite\n"; } my ($width, $height); my (@data, @left, @bottom); my ($globalleft, $globaltop); my ($minchar, $maxchar); my ($copyright, $fontdef); my $currentchar; my $gobitmap = 0; while (<>) { chomp; s/\r$//; my ($tag, $value) = split / /, $_, 2; die "Font is not fixed width\n" if $tag eq 'SPACING' and not $value =~ /[CM]/i; $currentchar = $value if $tag eq 'ENCODING'; $minchar = $currentchar if not defined $minchar or $currentchar < $minchar; $maxchar = $currentchar if not defined $maxchar or $currentchar > $maxchar; if ($tag eq 'ENDCHAR') { $gobitmap = 0; my $bottom = $globaltop - $bottom[$currentchar]; if ($bottom > 0) { $data[$currentchar] = substr $data[$currentchar], 0, length($data[$currentchar]) - $bottom * $width; } else { $data[$currentchar] .= '0' x (-$bottom * $width); } } if ($tag eq 'FONTBOUNDINGBOX') { my ($tag, $wid, $hei, $left, $top) = split / /; if (defined $top) { $globalleft = $left; $globaltop = $top; $height = $hei; $width = $wid; } } if ($tag eq 'FONT' and not defined $fontdef) { $fontdef = $value; } if ($tag eq 'COPYRIGHT' and not defined $copyright) { $copyright = $value; } if ($tag eq 'BBX') { my ($tag, $wid, $hei, $left, $bottom) = split / /; if (defined $bottom) { $left[$currentchar] = $left; $bottom[$currentchar] = $bottom; } } if ($gobitmap) { my $value = pack 'H*', $_; my $bits = unpack 'B*', $value; $bits = ('0' x $left[$currentchar]) . $bits; $bits .= '0' x ($width - length $bits); $bits = substr $bits, 0, $width; $data[$currentchar] .= $bits; } if ($tag eq 'BITMAP') { $gobitmap = 1; $data[$currentchar] = ''; } } my $info = <<"EOF"; /* This is a header file for gd font, generated using bdftogd version $VERSION by Jan Pazdziora, adelton\@fi.muni.cz from bdf font $fontdef at $now. EOF if (defined $copyright) { $info .= <<"EOF"; The original bdf was holding following copyright: $copyright */ EOF } else { $info .= <<"EOF"; No copyright info was found in the original bdf. */ EOF } open FILEC, "> $filename.c" or die "Error writing $filename.c: $!\n"; open FILEH, "> $filename.h" or die "Error writing $filename.h: $!\n"; print FILEC <<"EOF"; $info #include "$filename.h" char ${gdname}Data[] = { EOF $minchar = 0 unless defined $minchar; $maxchar = 255 unless defined $maxchar; for (my $i = $minchar; $i <= $maxchar; $i++) { $data[$i] = '' unless defined $data[$i]; $data[$i] = '0' x ($width * $height - length $data[$i]) . $data[$i]; print FILEC "/* Char $i */\n"; for my $line (0 .. $height - 1) { print FILEC join ',', split(//, substr($data[$i], $line * $width, $width)), "\n"; } print FILEC "\n"; next; for my $line (0 .. $height - 1) { print substr($data[$i], $line * $width, $width), "\n"; } } my $capdef = "\U_${filename}_H_"; print FILEC <<"EOF"; }; gdFont ${gdname}Rep = { @{[ $maxchar - $minchar + 1]}, $minchar, $width, $height, ${gdname}Data }; gdFontPtr ${gdname} = &${gdname}Rep; /* This file has not been truncated. */ EOF close FILEC; print FILEH <<"EOF"; #ifndef $capdef #define $capdef 1 $info #include "gd.h" extern gdFontPtr $gdname; #endif EOF 1; libgd-2.3.0/src/gd_io_dp.c0000664000175000017500000002003713635665516012241 00000000000000/* * io_dp.c * * Implements the dynamic pointer interface. * * Based on GD.pm code by Lincoln Stein for interfacing to libgd. * Added support for reading as well as support for 'tell' and 'seek'. * * As with all I/O modules, most functions are for local use only (called * via function pointers in the I/O context). * * gdDPExtractData is the exception to this: it will return the pointer to * the internal data, and reset the internal storage. * * Written/Modified 1999, Philip Warner. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include "gd.h" #include "gdhelpers.h" #define TRUE 1 #define FALSE 0 /* this is used for creating images in main memory */ typedef struct dpStruct { void *data; int logicalSize; int realSize; int dataGood; int pos; int freeOK; } dynamicPtr; typedef struct dpIOCtx { gdIOCtx ctx; dynamicPtr *dp; } dpIOCtx; typedef struct dpIOCtx *dpIOCtxPtr; /* these functions operate on in-memory dynamic pointers */ static int allocDynamic(dynamicPtr *dp, int initialSize, void *data); static int appendDynamic(dynamicPtr *dp, const void *src, int size); static int gdReallocDynamic(dynamicPtr *dp, int required); static int trimDynamic(dynamicPtr *dp); static void gdFreeDynamicCtx(struct gdIOCtx *ctx); static dynamicPtr *newDynamic(int initialSize, void *data, int freeOKFlag); static int dynamicPutbuf(struct gdIOCtx *, const void *, int); static void dynamicPutchar(struct gdIOCtx *, int a); static int dynamicGetbuf(gdIOCtxPtr ctx, void *buf, int len); static int dynamicGetchar(gdIOCtxPtr ctx); static int dynamicSeek(struct gdIOCtx *, const int); static long dynamicTell(struct gdIOCtx *); /* Function: gdNewDynamicCtx Return data as a dynamic pointer. */ BGD_DECLARE(gdIOCtx *) gdNewDynamicCtx(int initialSize, void *data) { /* 2.0.23: Phil Moore: 'return' keyword was missing! */ return gdNewDynamicCtxEx(initialSize, data, 1); } /* Function: gdNewDynamicCtxEx */ BGD_DECLARE(gdIOCtx *) gdNewDynamicCtxEx(int initialSize, void *data, int freeOKFlag) { dpIOCtx *ctx; dynamicPtr *dp; ctx = (dpIOCtx *)gdMalloc(sizeof (dpIOCtx)); if(ctx == NULL) { return NULL; } dp = newDynamic(initialSize, data, freeOKFlag); if(!dp) { gdFree (ctx); return NULL; }; ctx->dp = dp; ctx->ctx.getC = dynamicGetchar; ctx->ctx.putC = dynamicPutchar; ctx->ctx.getBuf = dynamicGetbuf; ctx->ctx.putBuf = dynamicPutbuf; ctx->ctx.seek = dynamicSeek; ctx->ctx.tell = dynamicTell; ctx->ctx.gd_free = gdFreeDynamicCtx; return (gdIOCtx *)ctx; } /* Function: gdDPExtractData */ BGD_DECLARE(void *) gdDPExtractData (struct gdIOCtx *ctx, int *size) { dynamicPtr *dp; dpIOCtx *dctx; void *data; dctx = (dpIOCtx *)ctx; dp = dctx->dp; /* clean up the data block and return it */ if(dp->dataGood) { trimDynamic(dp); *size = dp->logicalSize; data = dp->data; } else { *size = 0; data = NULL; /* 2.0.21: never free memory we don't own */ if((dp->data != NULL) && (dp->freeOK)) { gdFree(dp->data); } } dp->data = NULL; dp->realSize = 0; dp->logicalSize = 0; return data; } static void gdFreeDynamicCtx(struct gdIOCtx *ctx) { dynamicPtr *dp; dpIOCtx *dctx; dctx = (dpIOCtx *)ctx; dp = dctx->dp; gdFree(ctx); /* clean up the data block and return it */ /* 2.0.21: never free memory we don't own */ if((dp->data != NULL) && (dp->freeOK)) { gdFree(dp->data); dp->data = NULL; } dp->realSize = 0; dp->logicalSize = 0; gdFree(dp); } static long dynamicTell(struct gdIOCtx *ctx) { dpIOCtx *dctx; dctx = (dpIOCtx *)ctx; return (dctx->dp->pos); } static int dynamicSeek(struct gdIOCtx *ctx, const int pos) { int bytesNeeded; dynamicPtr *dp; dpIOCtx *dctx; if (pos < 0) { return FALSE; } dctx = (dpIOCtx *)ctx; dp = dctx->dp; if(!dp->dataGood) { return FALSE; } bytesNeeded = pos; if(bytesNeeded > dp->realSize) { /* 2.0.21 */ if(!dp->freeOK) { return FALSE; } if(overflow2(dp->realSize, 2)) { return FALSE; } if(!gdReallocDynamic(dp, dp->realSize * 2)) { dp->dataGood = FALSE; return FALSE; } } /* if we get here, we can be sure that we have enough bytes * to copy safely */ /* Extend the logical size if we seek beyond EOF. */ if(pos > dp->logicalSize) { dp->logicalSize = pos; }; dp->pos = pos; return TRUE; } /* return data as a dynamic pointer */ static dynamicPtr *newDynamic(int initialSize, void *data, int freeOKFlag) { dynamicPtr *dp; dp = (dynamicPtr *) gdMalloc(sizeof (dynamicPtr)); if(dp == NULL) { return NULL; } if(!allocDynamic(dp, initialSize, data)) { gdFree(dp); return NULL; } dp->pos = 0; dp->freeOK = freeOKFlag; return dp; } static int dynamicPutbuf(struct gdIOCtx *ctx, const void *buf, int size) { dpIOCtx *dctx; dctx = (dpIOCtx *)ctx; appendDynamic(dctx->dp, buf, size); if(dctx->dp->dataGood) { return size; } else { return -1; }; } static void dynamicPutchar(struct gdIOCtx *ctx, int a) { unsigned char b; dpIOCtxPtr dctx; b = a; dctx = (dpIOCtxPtr) ctx; appendDynamic(dctx->dp, &b, 1); } /* returns the number of bytes actually read; 0 on EOF and error */ static int dynamicGetbuf(gdIOCtxPtr ctx, void *buf, int len) { int rlen, remain; dpIOCtxPtr dctx; dynamicPtr *dp; dctx = (dpIOCtxPtr) ctx; dp = dctx->dp; if (dp->pos < 0 || dp->pos >= dp->realSize) { return 0; } remain = dp->logicalSize - dp->pos; if(remain >= len) { rlen = len; } else { if(remain <= 0) { return 0; } rlen = remain; } if (dp->pos + rlen > dp->realSize) { rlen = dp->realSize - dp->pos; } if (rlen < 0) { return 0; } memcpy(buf, (void *) ((char *)dp->data + dp->pos), rlen); dp->pos += rlen; return rlen; } static int dynamicGetchar(gdIOCtxPtr ctx) { unsigned char b; int rv; rv = dynamicGetbuf(ctx, &b, 1); if(rv != 1) { return EOF; } else { return b; /* (b & 0xff); */ } } /********************************************************************** * InitDynamic - Return a dynamically resizable void* **********************************************************************/ static int allocDynamic(dynamicPtr *dp, int initialSize, void *data) { if(data == NULL) { dp->logicalSize = 0; dp->dataGood = FALSE; dp->data = gdMalloc(initialSize); } else { dp->logicalSize = initialSize; dp->dataGood = TRUE; dp->data = data; } if(dp->data != NULL) { dp->realSize = initialSize; dp->dataGood = TRUE; dp->pos = 0; return TRUE; } else { dp->realSize = 0; return FALSE; } } /* append bytes to the end of a dynamic pointer */ static int appendDynamic(dynamicPtr * dp, const void *src, int size) { int bytesNeeded; char *tmp; if(!dp->dataGood) { return FALSE; } /* bytesNeeded = dp->logicalSize + size; */ bytesNeeded = dp->pos + size; if(bytesNeeded > dp->realSize) { /* 2.0.21 */ if(!dp->freeOK) { return FALSE; } if(overflow2(dp->realSize, 2)) { return FALSE; } if(!gdReallocDynamic(dp, bytesNeeded * 2)) { dp->dataGood = FALSE; return FALSE; } } /* if we get here, we can be sure that we have enough bytes * to copy safely */ /*printf("Mem OK Size: %d, Pos: %d\n", dp->realSize, dp->pos); */ tmp = (char *)dp->data; memcpy ((void *)(tmp + (dp->pos)), src, size); dp->pos += size; if(dp->pos > dp->logicalSize) { dp->logicalSize = dp->pos; }; return TRUE; } /* grow (or shrink) dynamic pointer */ static int gdReallocDynamic(dynamicPtr *dp, int required) { void *newPtr; /* First try gdRealloc(). If that doesn't work, make a new * memory block and copy. */ if((newPtr = gdRealloc(dp->data, required))) { dp->realSize = required; dp->data = newPtr; return TRUE; } /* create a new pointer */ newPtr = gdMalloc(required); if(!newPtr) { dp->dataGood = FALSE; return FALSE; } /* copy the old data into it */ memcpy(newPtr, dp->data, dp->logicalSize); gdFree(dp->data); dp->data = newPtr; dp->realSize = required; return TRUE; } /* trim pointer so that its real and logical sizes match */ static int trimDynamic(dynamicPtr *dp) { /* 2.0.21: we don't reallocate memory we don't own */ if(!dp->freeOK) { return TRUE; } return gdReallocDynamic(dp, dp->logicalSize); } libgd-2.3.0/src/gd_webp.c0000664000175000017500000002066013635665516012106 00000000000000/** * File: WebP IO * * Read and write WebP images. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include #include #include #include #include "gd.h" #include "gd_errors.h" #include "gdhelpers.h" #ifdef HAVE_LIBWEBP #include "webp/decode.h" #include "webp/encode.h" #define GD_WEBP_ALLOC_STEP (4*1024) /* Function: gdImageCreateFromWebp is called to load truecolor images from WebP format files. Invoke with an already opened pointer to a file containing the desired image. returns a to the new truecolor image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a WebP image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . *The returned image is always a truecolor image.* Variants: creates an image from WebP data already in memory. reads its data via the function pointers in a structure. Parameters: infile - The input FILE pointer. Returns: A pointer to the new *truecolor* image. This will need to be destroyed with once it is no longer needed. On error, returns NULL. */ BGD_DECLARE(gdImagePtr) gdImageCreateFromWebp (FILE * inFile) { gdImagePtr im; gdIOCtx *in = gdNewFileCtx(inFile); if (!in) { return 0; } im = gdImageCreateFromWebpCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromWebpPtr See . Parameters: size - size of WebP data in bytes. data - pointer to WebP data. */ BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpPtr (int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); if (!in) return 0; im = gdImageCreateFromWebpCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromWebpCtx See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx (gdIOCtx * infile) { int width, height; uint8_t *filedata = NULL; uint8_t *argb = NULL; unsigned char *read, *temp; size_t size = 0, n; gdImagePtr im; int x, y; uint8_t *p; do { temp = gdRealloc(filedata, size+GD_WEBP_ALLOC_STEP); if (temp) { filedata = temp; read = temp + size; } else { if (filedata) { gdFree(filedata); } gd_error("WebP decode: realloc failed"); return NULL; } n = gdGetBuf(read, GD_WEBP_ALLOC_STEP, infile); if (n>0 && n!=EOF) { size += n; } } while (n>0 && n!=EOF); if (WebPGetInfo(filedata,size, &width, &height) == 0) { gd_error("gd-webp cannot get webp info"); gdFree(temp); return NULL; } im = gdImageCreateTrueColor(width, height); if (!im) { gdFree(temp); return NULL; } argb = WebPDecodeARGB(filedata, size, &width, &height); if (!argb) { gd_error("gd-webp cannot allocate temporary buffer"); gdFree(temp); gdImageDestroy(im); return NULL; } for (y = 0, p = argb; y < height; y++) { for (x = 0; x < width; x++) { register uint8_t a = gdAlphaMax - (*(p++) >> 1); register uint8_t r = *(p++); register uint8_t g = *(p++); register uint8_t b = *(p++); im->tpixels[y][x] = gdTrueColorAlpha(r, g, b, a); } } /* do not use gdFree here, in case gdFree/alloc is mapped to something else than libc */ free(argb); gdFree(temp); im->saveAlphaFlag = 1; return im; } /* returns 0 on success, 1 on failure */ static int _gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality) { uint8_t *argb; int x, y; uint8_t *p; uint8_t *out; size_t out_size; int ret = 0; if (im == NULL) { return 1; } if (!gdImageTrueColor(im)) { gd_error("Palette image not supported by webp"); return 1; } if (quality == -1) { quality = 80; } if (overflow2(gdImageSX(im), 4)) { return 1; } if (overflow2(gdImageSX(im) * 4, gdImageSY(im))) { return 1; } argb = (uint8_t *)gdMalloc(gdImageSX(im) * 4 * gdImageSY(im)); if (!argb) { return 1; } p = argb; for (y = 0; y < gdImageSY(im); y++) { for (x = 0; x < gdImageSX(im); x++) { register int c; register char a; c = im->tpixels[y][x]; a = gdTrueColorGetAlpha(c); if (a == 127) { a = 0; } else { a = 255 - ((a << 1) + (a >> 6)); } *(p++) = gdTrueColorGetRed(c); *(p++) = gdTrueColorGetGreen(c); *(p++) = gdTrueColorGetBlue(c); *(p++) = a; } } out_size = WebPEncodeRGBA(argb, gdImageSX(im), gdImageSY(im), gdImageSX(im) * 4, quality, &out); if (out_size == 0) { gd_error("gd-webp encoding failed"); ret = 1; goto freeargb; } gdPutBuf(out, out_size, outfile); free(out); freeargb: gdFree(argb); return ret; } /* Function: gdImageWebpCtx Write the image as WebP data via a . See for more details. Parameters: im - The image to write. outfile - The output sink. quality - Image quality. Returns: Nothing. */ BGD_DECLARE(void) gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality) { _gdImageWebpCtx(im, outfile, quality); } /* Function: gdImageWebpEx outputs the specified image to the specified file in WebP format. The file must be open for writing. Under MSDOS and all versions of Windows, it is important to use "wb" as opposed to simply "w" as the mode when opening the file, and under Unix there is no penalty for doing so. does not close the file; your code must do so. If _quality_ is -1, a reasonable quality value (which should yield a good general quality / size tradeoff for most situations) is used. Otherwise _quality_ should be a value in the range 0-100, higher quality values usually implying both higher quality and larger image sizes. Variants: stores the image using a struct. stores the image to RAM. Parameters: im - The image to save. outFile - The FILE pointer to write to. quality - Compression quality (0-100). Returns: Nothing. */ BGD_DECLARE(void) gdImageWebpEx (gdImagePtr im, FILE * outFile, int quality) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) { return; } _gdImageWebpCtx(im, out, quality); out->gd_free(out); } /* Function: gdImageWebp Variant of which uses the default quality (-1). Parameters: im - The image to save outFile - The FILE pointer to write to. Returns: Nothing. */ BGD_DECLARE(void) gdImageWebp (gdImagePtr im, FILE * outFile) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) { return; } _gdImageWebpCtx(im, out, -1); out->gd_free(out); } /* Function: gdImageWebpPtr See . */ BGD_DECLARE(void *) gdImageWebpPtr (gdImagePtr im, int *size) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) { return NULL; } if (_gdImageWebpCtx(im, out, -1)) { rv = NULL; } else { rv = gdDPExtractData(out, size); } out->gd_free(out); return rv; } /* Function: gdImageWebpPtrEx See . */ BGD_DECLARE(void *) gdImageWebpPtrEx (gdImagePtr im, int *size, int quality) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) { return NULL; } if (_gdImageWebpCtx(im, out, quality)) { rv = NULL; } else { rv = gdDPExtractData(out, size); } out->gd_free(out); return rv; } #else /* !HAVE_LIBWEBP */ static void _noWebpError(void) { gd_error("WEBP image support has been disabled\n"); } BGD_DECLARE(gdImagePtr) gdImageCreateFromWebp (FILE * inFile) { _noWebpError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpPtr (int size, void *data) { _noWebpError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx (gdIOCtx * infile) { _noWebpError(); return NULL; } BGD_DECLARE(void) gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quality) { _noWebpError(); } BGD_DECLARE(void) gdImageWebpEx (gdImagePtr im, FILE * outFile, int quality) { _noWebpError(); } BGD_DECLARE(void) gdImageWebp (gdImagePtr im, FILE * outFile) { _noWebpError(); } BGD_DECLARE(void *) gdImageWebpPtr (gdImagePtr im, int *size) { _noWebpError(); return NULL; } BGD_DECLARE(void *) gdImageWebpPtrEx (gdImagePtr im, int *size, int quality) { _noWebpError(); return NULL; } #endif /* HAVE_LIBWEBP */ libgd-2.3.0/src/gdhelpers.h0000664000175000017500000000447113635665516012463 00000000000000#ifndef GDHELPERS_H #define GDHELPERS_H 1 #ifdef __cplusplus extern "C" { #endif /* sys/types.h is needed for size_t on Sparc-SunOS-4.1 */ #ifndef _WIN32_WCE #include #else #include #endif /* _WIN32_WCE */ /* TBB: strtok_r is not universal; provide an implementation of it. */ char * gd_strtok_r (char *s, char *sep, char **state); /* These functions wrap memory management. gdFree is in gd.h, where callers can utilize it to correctly free memory allocated by these functions with the right version of free(). */ void *gdCalloc (size_t nmemb, size_t size); void *gdMalloc (size_t size); void *gdRealloc (void *ptr, size_t size); /* The extended version of gdReallocEx will free *ptr if the * realloc fails */ void *gdReallocEx (void *ptr, size_t size); /* Returns nonzero if multiplying the two quantities will result in integer overflow. Also returns nonzero if either quantity is negative. By Phil Knirsch based on netpbm fixes by Alan Cox. */ int overflow2(int a, int b); /* 2.0.16: portable mutex support for thread safety. */ #if defined(CPP_SHARP) # define gdMutexDeclare(x) # define gdMutexSetup(x) # define gdMutexShutdown(x) # define gdMutexLock(x) # define gdMutexUnlock(x) #elif defined(_WIN32) /* 2.0.18: must include windows.h to get CRITICAL_SECTION. */ # include # define gdMutexDeclare(x) CRITICAL_SECTION x # define gdMutexSetup(x) InitializeCriticalSection(&x) # define gdMutexShutdown(x) DeleteCriticalSection(&x) # define gdMutexLock(x) EnterCriticalSection(&x) # define gdMutexUnlock(x) LeaveCriticalSection(&x) #elif defined(HAVE_PTHREAD) # include # define gdMutexDeclare(x) pthread_mutex_t x # define gdMutexSetup(x) pthread_mutex_init(&x, 0) # define gdMutexShutdown(x) pthread_mutex_destroy(&x) # define gdMutexLock(x) pthread_mutex_lock(&x) # define gdMutexUnlock(x) pthread_mutex_unlock(&x) #else # define gdMutexDeclare(x) # define gdMutexSetup(x) # define gdMutexShutdown(x) # define gdMutexLock(x) # define gdMutexUnlock(x) #endif /* _WIN32 || HAVE_PTHREAD */ #define DPCM2DPI(dpcm) (unsigned int)((dpcm)*2.54 + 0.5) #define DPM2DPI(dpm) (unsigned int)((dpm)*0.0254 + 0.5) #define DPI2DPCM(dpi) (unsigned int)((dpi)/2.54 + 0.5) #define DPI2DPM(dpi) (unsigned int)((dpi)/0.0254 + 0.5) #ifdef __cplusplus } #endif #endif /* GDHELPERS_H */ libgd-2.3.0/src/gdkanji.c0000664000175000017500000002764713635665516012122 00000000000000/* gdkanji.c (Kanji code converter) */ /* written by Masahito Yamaga (ma@yama-ga.com) */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include "gd.h" #include "gdhelpers.h" #include "gd_errors.h" #include #include #if defined(HAVE_ICONV_H) #include #endif #ifndef HAVE_ICONV_T_DEF typedef void *iconv_t; #endif #ifndef HAVE_ICONV #define ICONV_CONST /**/ iconv_t iconv_open (const char *, const char *); size_t iconv (iconv_t, ICONV_CONST char **, size_t *, char **, size_t *); int iconv_close (iconv_t); iconv_t iconv_open (const char *tocode, const char *fromcode) { (void)tocode; (void)fromcode; return (iconv_t) (-1); } size_t iconv (iconv_t cd, ICONV_CONST char **inbuf, size_t * inbytesleft, char **outbuf, size_t * outbytesleft) { (void)cd; (void)inbuf; (void)inbytesleft; (void)outbuf; (void)outbytesleft; return 0; } int iconv_close (iconv_t cd) { (void)cd; return 0; } #endif /* !HAVE_ICONV */ #define LIBNAME "any2eucjp()" #if defined(__MSC__) || defined(__BORLANDC__) || defined(__TURBOC__) || defined(_Windows) || defined(MSDOS) #ifndef SJISPRE #define SJISPRE 1 #endif #endif #ifdef TRUE #undef TRUE #endif #ifdef FALSE #undef FALSE #endif #define TRUE 1 #define FALSE 0 #define NEW 1 #define OLD 2 #define ESCI 3 #define NEC 4 #define EUC 5 #define SJIS 6 #define EUCORSJIS 7 #define ASCII 8 #define NEWJISSTR "JIS7" #define OLDJISSTR "jis" #define EUCSTR "eucJP" #define SJISSTR "SJIS" #define ESC 27 #define SS2 142 /* DetectKanjiCode() derived from DetectCodeType() by Ken Lunde. */ static int DetectKanjiCode (const unsigned char *str) { static int whatcode = ASCII; int oldcode = ASCII; int c, i; char *lang = NULL; c = '\1'; i = 0; if (whatcode != EUCORSJIS && whatcode != ASCII) { oldcode = whatcode; whatcode = ASCII; } while ((whatcode == EUCORSJIS || whatcode == ASCII) && c != '\0') { if ((c = str[i++]) != '\0') { if (c == ESC) { c = str[i++]; if (c == '$') { c = str[i++]; if (c == 'B') whatcode = NEW; else if (c == '@') whatcode = OLD; } else if (c == '(') { c = str[i++]; if (c == 'I') whatcode = ESCI; } else if (c == 'K') whatcode = NEC; } else if ((c >= 129 && c <= 141) || (c >= 143 && c <= 159)) whatcode = SJIS; else if (c == SS2) { c = str[i++]; if ((c >= 64 && c <= 126) || (c >= 128 && c <= 160) || (c >= 224 && c <= 252)) whatcode = SJIS; else if (c >= 161 && c <= 223) whatcode = EUCORSJIS; } else if (c >= 161 && c <= 223) { c = str[i++]; if (c >= 240 && c <= 254) whatcode = EUC; else if (c >= 161 && c <= 223) whatcode = EUCORSJIS; else if (c >= 224 && c <= 239) { whatcode = EUCORSJIS; while (c >= 64 && whatcode == EUCORSJIS) { if (c >= 129) { if (c <= 141 || (c >= 143 && c <= 159)) whatcode = SJIS; else if (c >= 253 && c <= 254) whatcode = EUC; } c = str[i++]; } } else if (c <= 159) whatcode = SJIS; } else if (c >= 240 && c <= 254) whatcode = EUC; else if (c >= 224 && c <= 239) { c = str[i++]; if ((c >= 64 && c <= 126) || (c >= 128 && c <= 160)) whatcode = SJIS; else if (c >= 253 && c <= 254) whatcode = EUC; else if (c >= 161 && c <= 252) whatcode = EUCORSJIS; } } } #ifdef DEBUG if (whatcode == ASCII) gd_error_ex(GD_DEBUG, "Kanji code not included."); else if (whatcode == EUCORSJIS) gd_error_ex(GD_DEBUG, "Kanji code not detected."); else gd_error_ex(GD_DEBUG, "Kanji code detected at %d byte.", i); #endif if (whatcode == EUCORSJIS && oldcode != ASCII) whatcode = oldcode; if (whatcode == EUCORSJIS) { if (getenv ("LC_ALL")) lang = getenv ("LC_ALL"); else if (getenv ("LC_CTYPE")) lang = getenv ("LC_CTYPE"); else if (getenv ("LANG")) lang = getenv ("LANG"); if (lang) { if (strcmp (lang, "ja_JP.SJIS") == 0 || #ifdef hpux strcmp (lang, "japanese") == 0 || #endif strcmp (lang, "ja_JP.mscode") == 0 || strcmp (lang, "ja_JP.PCK") == 0) whatcode = SJIS; else if (strncmp (lang, "ja", 2) == 0) #ifdef SJISPRE whatcode = SJIS; #else whatcode = EUC; #endif } } if (whatcode == EUCORSJIS) #ifdef SJISPRE whatcode = SJIS; #else whatcode = EUC; #endif return whatcode; } /* SJIStoJIS() is sjis2jis() by Ken Lunde. */ static void SJIStoJIS (int *p1, int *p2) { register unsigned char c1 = *p1; register unsigned char c2 = *p2; register int adjust = c2 < 159; register int rowOffset = c1 < 160 ? 112 : 176; register int cellOffset = adjust ? (31 + (c2 > 127)) : 126; *p1 = ((c1 - rowOffset) << 1) - adjust; *p2 -= cellOffset; } /* han2zen() was derived from han2zen() written by Ken Lunde. */ #define IS_DAKU(c) ((c >= 182 && c <= 196) || (c >= 202 && c <= 206) || (c == 179)) #define IS_HANDAKU(c) (c >= 202 && c <= 206) static void han2zen (int *p1, int *p2) { int c = *p1; int daku = FALSE; int handaku = FALSE; int mtable[][2] = { {129, 66}, {129, 117}, {129, 118}, {129, 65}, {129, 69}, {131, 146}, {131, 64}, {131, 66}, {131, 68}, {131, 70}, {131, 72}, {131, 131}, {131, 133}, {131, 135}, {131, 98}, {129, 91}, {131, 65}, {131, 67}, {131, 69}, {131, 71}, {131, 73}, {131, 74}, {131, 76}, {131, 78}, {131, 80}, {131, 82}, {131, 84}, {131, 86}, {131, 88}, {131, 90}, {131, 92}, {131, 94}, {131, 96}, {131, 99}, {131, 101}, {131, 103}, {131, 105}, {131, 106}, {131, 107}, {131, 108}, {131, 109}, {131, 110}, {131, 113}, {131, 116}, {131, 119}, {131, 122}, {131, 125}, {131, 126}, {131, 128}, {131, 129}, {131, 130}, {131, 132}, {131, 134}, {131, 136}, {131, 137}, {131, 138}, {131, 139}, {131, 140}, {131, 141}, {131, 143}, {131, 147}, {129, 74}, {129, 75} }; if (*p2 == 222 && IS_DAKU (*p1)) daku = TRUE; /* Daku-ten */ else if (*p2 == 223 && IS_HANDAKU (*p1)) handaku = TRUE; /* Han-daku-ten */ *p1 = mtable[c - 161][0]; *p2 = mtable[c - 161][1]; if (daku) { if ((*p2 >= 74 && *p2 <= 103) || (*p2 >= 110 && *p2 <= 122)) (*p2)++; else if (*p2 == 131 || *p2 == 69) *p2 = 148; } else if (handaku && *p2 >= 110 && *p2 <= 122) (*p2) += 2; } /* Recast strcpy to handle unsigned chars used below. */ #define ustrcpy(A,B) (strcpy((char*)(A),(const char*)(B))) #define ustrncpy(A,B, maxsize) (strncpy((char*)(A),(const char*)(B), maxsize)) static void do_convert (unsigned char **to_p, const unsigned char **from_p, const char *code) { unsigned char *to = *to_p; const unsigned char *from = *from_p; #ifdef HAVE_ICONV iconv_t cd; size_t from_len, to_len; if ((cd = iconv_open (EUCSTR, code)) == (iconv_t) - 1) { gd_error ("iconv_open() error"); if (errno == EINVAL) gd_error ("invalid code specification: \"%s\" or \"%s\"", EUCSTR, code); ustrcpy (to, from); return; } from_len = strlen ((const char *)from) + 1; to_len = BUFSIZ; if ((int) (iconv (cd, (char **)from_p, &from_len, (char **)to_p, &to_len)) == -1) { if (errno == EINVAL) gd_error ("invalid end of input string"); else if (errno == EILSEQ) gd_error ("invalid code in input string"); else if (errno == E2BIG) gd_error ("output buffer overflow at do_convert()"); else gd_error ("something happen"); ustrcpy (to, from); return; } if (iconv_close (cd) != 0) { gd_error ("iconv_close() error"); } #else int p1, p2, i, j; int jisx0208 = FALSE; int hankaku = FALSE; j = 0; if (strcmp (code, NEWJISSTR) == 0 || strcmp (code, OLDJISSTR) == 0) { for (i = 0; from[i] != '\0' && j < BUFSIZ; i++) { if (from[i] == ESC) { i++; if (from[i] == '$') { jisx0208 = TRUE; hankaku = FALSE; i++; } else if (from[i] == '(') { jisx0208 = FALSE; i++; if (from[i] == 'I') /* Hankaku Kana */ hankaku = TRUE; else hankaku = FALSE; } } else { if (jisx0208) to[j++] = from[i] + 128; else if (hankaku) { to[j++] = SS2; to[j++] = from[i] + 128; } else to[j++] = from[i]; } } } else if (strcmp (code, SJISSTR) == 0) { for (i = 0; from[i] != '\0' && j < BUFSIZ; i++) { p1 = from[i]; if (p1 < 127) to[j++] = p1; else if ((p1 >= 161) && (p1 <= 223)) { /* Hankaku Kana */ to[j++] = SS2; to[j++] = p1; } else { p2 = from[++i]; SJIStoJIS (&p1, &p2); to[j++] = p1 + 128; to[j++] = p2 + 128; } } } else { gd_error ("invalid code specification: \"%s\"", code); return; } if (j >= BUFSIZ) { gd_error ("output buffer overflow at do_convert()"); ustrcpy (to, from); } else to[j] = '\0'; #endif /* HAVE_ICONV */ } static int do_check_and_conv (unsigned char *to, const unsigned char *from) { static unsigned char tmp[BUFSIZ]; unsigned char *tmp_p = &tmp[0]; int p1, p2, i, j; int kanji = TRUE; int copy_string = FALSE; switch (DetectKanjiCode (from)) { case NEW: gd_error_ex(GD_DEBUG, "Kanji code is New JIS."); do_convert (&tmp_p, &from, NEWJISSTR); break; case OLD: gd_error_ex(GD_DEBUG, "Kanji code is Old JIS."); do_convert (&tmp_p, &from, OLDJISSTR); break; case ESCI: gd_error_ex(GD_DEBUG, "This string includes Hankaku-Kana (jisx0201) escape sequence [ESC] + ( + I."); do_convert (&tmp_p, &from, NEWJISSTR); break; case NEC: gd_error_ex(GD_DEBUG, "Kanji code is NEC Kanji."); gd_error("cannot convert NEC Kanji."); copy_string = TRUE; kanji = FALSE; break; case EUC: gd_error_ex(GD_DEBUG, "Kanji code is EUC."); copy_string = TRUE; break; case SJIS: gd_error_ex(GD_DEBUG, "Kanji code is SJIS."); do_convert (&tmp_p, &from, SJISSTR); break; case EUCORSJIS: gd_error_ex(GD_DEBUG, "Kanji code is EUC or SJIS."); copy_string = TRUE; kanji = FALSE; break; case ASCII: gd_error_ex(GD_DEBUG, "This is ASCII string."); copy_string = TRUE; kanji = FALSE; break; default: gd_error_ex(GD_DEBUG, "This string includes unknown code."); copy_string = TRUE; kanji = FALSE; break; } if (copy_string) { ustrncpy (tmp, from, BUFSIZ); tmp[BUFSIZ-1] = '\0'; } /* Hankaku Kana ---> Zenkaku Kana */ if (kanji) { j = 0; for (i = 0; tmp[i] != '\0' && j < BUFSIZ; i++) { if (tmp[i] == SS2) { p1 = tmp[++i]; if (tmp[i + 1] == SS2) { p2 = tmp[i + 2]; if (p2 == 222 || p2 == 223) i += 2; else p2 = 0; } else p2 = 0; han2zen (&p1, &p2); SJIStoJIS (&p1, &p2); to[j++] = p1 + 128; to[j++] = p2 + 128; } else to[j++] = tmp[i]; } if (j >= BUFSIZ) { gd_error("output buffer overflow at Hankaku --> Zenkaku"); ustrcpy (to, tmp); } else to[j] = '\0'; } else ustrcpy (to, tmp); return kanji; } int any2eucjp (unsigned char *dest, const unsigned char *src, unsigned int dest_max) { static unsigned char tmp_dest[BUFSIZ]; int ret; if (strlen ((const char *) src) >= BUFSIZ) { gd_error("input string too large"); return -1; } if (dest_max > BUFSIZ) { gd_error ("invalid maximum size of destination\nit should be less than %d.", BUFSIZ); return -1; } ret = do_check_and_conv (tmp_dest, src); if (strlen ((const char *) tmp_dest) >= dest_max) { gd_error("output buffer overflow"); ustrcpy (dest, src); return -1; } ustrcpy (dest, tmp_dest); return ret; } #if 0 unsigned int strwidth (unsigned char *s) { unsigned char *t; unsigned int i; t = (unsigned char *) gdMalloc (BUFSIZ); any2eucjp (t, s, BUFSIZ); i = strlen (t); gdFree (t); return i; } #ifdef DEBUG int main () { unsigned char input[BUFSIZ]; unsigned char *output; unsigned char *str; int c, i = 0; while ((c = fgetc (stdin)) != '\n' && i < BUFSIZ) input[i++] = c; input[i] = '\0'; printf ("input : %d bytes\n", strlen ((const char *) input)); printf ("output: %d bytes\n", strwidth (input)); output = (unsigned char *) gdMalloc (BUFSIZ); any2eucjp (output, input, BUFSIZ); str = output; while (*str != '\0') putchar (*(str++)); putchar ('\n'); gdFree (output); return 0; } #endif #endif libgd-2.3.0/src/gdparttopng.c0000664000175000017500000000223613635665516013027 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include /* For atoi */ #include "gd.h" /* A short program which converts a .png file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ int main (int argc, char **argv) { gdImagePtr im; FILE *in, *out; int x, y, w, h; if (argc != 7) { fprintf (stderr, "Usage: gdparttopng filename.gd filename.png x y w h\n"); exit (1); } in = fopen (argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit (1); } x = atoi (argv[3]); y = atoi (argv[4]); w = atoi (argv[5]); h = atoi (argv[6]); printf ("Extracting from (%d, %d), size is %dx%d\n", x, y, w, h); im = gdImageCreateFromGd2Part (in, x, y, w, h); fclose (in); if (!im) { fprintf(stderr, "Input is not in GD2 format!\n"); exit (1); } out = fopen (argv[2], "wb"); if (!out) { fprintf(stderr, "Output file cannot be written to!\n"); gdImageDestroy (im); exit (1); } gdImagePng (im, out); fclose (out); gdImageDestroy (im); return 0; } libgd-2.3.0/src/gdcache.h0000664000175000017500000000566213635665516012067 00000000000000#ifdef __cplusplus extern "C" { #endif /* * gdcache.h * * Caches of pointers to user structs in which the least-recently-used * element is replaced in the event of a cache miss after the cache has * reached a given size. * * John Ellson (ellson@graphviz.org) Oct 31, 1997 * * Test this with: * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c -lgd * or * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c libgd.a * * The cache is implemented by a singly-linked list of elements * each containing a pointer to a user struct that is being managed by * the cache. * * The head structure has a pointer to the most-recently-used * element, and elements are moved to this position in the list each * time they are used. The head also contains pointers to three * user defined functions: * - a function to test if a cached userdata matches some keydata * - a function to provide a new userdata struct to the cache * if there has been a cache miss. * - a function to release a userdata struct when it is * no longer being managed by the cache * * In the event of a cache miss the cache is allowed to grow up to * a specified maximum size. After the maximum size is reached then * the least-recently-used element is discarded to make room for the * new. The most-recently-returned value is always left at the * beginning of the list after retrieval. * * In the current implementation the cache is traversed by a linear * search from most-recent to least-recent. This linear search * probably limits the usefulness of this implementation to cache * sizes of a few tens of elements. */ /*********************************************************/ /* header */ /*********************************************************/ #include #ifndef NULL # define NULL (void *)0 #endif /* user defined function templates */ typedef int (*gdCacheTestFn_t)(void *userdata, void *keydata); typedef void *(*gdCacheFetchFn_t)(char **error, void *keydata); typedef void (*gdCacheReleaseFn_t)(void *userdata); /* element structure */ typedef struct gdCache_element_s gdCache_element_t; struct gdCache_element_s { gdCache_element_t *next; void *userdata; }; /* head structure */ typedef struct gdCache_head_s gdCache_head_t; struct gdCache_head_s { gdCache_element_t *mru; int size; char *error; gdCacheTestFn_t gdCacheTest; gdCacheFetchFn_t gdCacheFetch; gdCacheReleaseFn_t gdCacheRelease; }; /* function templates */ gdCache_head_t *gdCacheCreate(int size, gdCacheTestFn_t gdCacheTest, gdCacheFetchFn_t gdCacheFetch, gdCacheReleaseFn_t gdCacheRelease ); void gdCacheDelete(gdCache_head_t *head); void *gdCacheGet(gdCache_head_t *head, void *keydata); #ifdef __cplusplus } #endif libgd-2.3.0/src/gd_tga.h0000664000175000017500000000325013634445460011716 00000000000000#ifndef __TGA_H #define __TGA_H 1 #include "gd.h" #include "gdhelpers.h" #include "gd_intern.h" typedef struct oTga_ { uint8_t identsize; // size of ID field that follows 18 uint8_t header (0 usually) uint8_t colormaptype; // type of colour map 0=none, 1=has palette [IGNORED] Adrian requested no support uint8_t imagetype; // type of image 0=none,1=indexed,2=rgb,3=grey,+8=rle packed int colormapstart; // first colour map entry in palette [IGNORED] Adrian requested no support int colormaplength; // number of colours in palette [IGNORED] Adrian requested no support uint8_t colormapbits; // number of bits per palette entry 15,16,24,32 [IGNORED] Adrian requested no support int xstart; // image x origin int ystart; // image y origin int width; // image width in pixels int height; // image height in pixels uint8_t bits; // image bits per pixel 8,16,24,32 uint8_t alphabits; // alpha bits (low 4bits of header 17) uint8_t fliph; // horizontal or vertical uint8_t flipv; // flip char *ident; // identifcation tag string int *bitmap; // bitmap data } oTga; #define TGA_TYPE_NO_IMAGE 0 #define TGA_TYPE_INDEXED 1 #define TGA_TYPE_RGB 2 #define TGA_TYPE_GREYSCALE 3 #define TGA_TYPE_INDEXED_RLE 9 #define TGA_TYPE_RGB_RLE 10 #define TGA_TYPE_GREYSCALE_RLE 11 #define TGA_TYPE_INDEXED_HUFFMAN_DELTA_RLE 32 #define TGA_TYPE_RGB_HUFFMAN_DELTA_QUADTREE_RLE 33 #define TGA_BPP_8 8 #define TGA_BPP_16 16 #define TGA_BPP_24 24 #define TGA_BPP_32 32 #define TGA_RLE_FLAG 128 int read_header_tga(gdIOCtx *ctx, oTga *tga); int read_image_tga(gdIOCtx *ctx, oTga *tga); void free_tga(oTga *tga); #endif //__TGA_H libgd-2.3.0/src/gd_tiff.c0000664000175000017500000006600613635665516012105 00000000000000/* TIFF - Tagged Image File Format Encapsulation for GD Library gd_tiff.c Copyright (C) Pierre-A. Joye, M. Retallack --------------------------------------------------------------------------- ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, provided ** that the above copyright notice appear in all copies and that both that ** copyright notice and this permission notice appear in supporting ** documentation. This software is provided "as is" without express or ** implied warranty. ** --------------------------------------------------------------------------- Ctx code written by M. Retallack Todo: If we fail - cleanup Writer: Use gd error function, overflow check may not be necessary as we write our own data (check already done) Implement 2 color black/white saving using group4 fax compression Implement function to specify encoding to use when writing tiff data ---------------------------------------------------------------------------- */ /** * File: TIFF IO * * Read and write TIFF images. * * There is only most basic support for the TIFF format available for now; * for instance, multiple pages are not yet supported. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "gd.h" #include "gd_errors.h" #include "gdfonts.h" #include #include #include #include "gdhelpers.h" #ifdef HAVE_LIBTIFF #include "tiff.h" #include "tiffio.h" #define GD_SUCCESS 1 #define GD_FAILURE 0 #define TRUE 1 #define FALSE 0 /* I define those here until the new formats * are commited. We can then rely on the global * def */ #define GD_PALETTE 1 #define GD_TRUECOLOR 2 #define GD_GRAY 3 #define GD_INDEXED 4 #define GD_RGB 5 #define MIN(a,b) (a < b) ? a : b; #define MAX(a,b) (a > b) ? a : b; typedef struct tiff_handle { int size; int pos; gdIOCtx *ctx; int written; } tiff_handle; /* Functions for reading, writing and seeking in gdIOCtx This allows for non-file i/o operations with no explicit use of libtiff fileio wrapper functions Note: because libtiff requires random access, but gdIOCtx only supports streams, all writes are buffered into memory and written out on close, also all reads are done from a memory mapped version of the tiff (assuming one already exists) */ tiff_handle * new_tiff_handle(gdIOCtx *g) { tiff_handle * t; if (!g) { gd_error("Cannot create a new tiff handle, missing Ctx argument"); return NULL; } t = (tiff_handle *) gdMalloc(sizeof(tiff_handle)); if (!t) { gd_error("Failed to allocate a new tiff handle"); return NULL; } t->size = 0; t->pos = 0; t->ctx = g; t->written = 0; return t; } /* TIFFReadWriteProc tiff_readproc - Will use gdIOCtx procs to read required (previously written) TIFF file content */ static tsize_t tiff_readproc(thandle_t clientdata, tdata_t data, tsize_t size) { tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; size = (ctx->getBuf)(ctx, data, size); return size; } /* TIFFReadWriteProc tiff_writeproc - Will use gdIOCtx procs to write out TIFF data */ static tsize_t tiff_writeproc(thandle_t clientdata, tdata_t data, tsize_t size) { tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; size = (ctx->putBuf)(ctx, data, size); if(size + th->pos>th->size) { th->size = size + th->pos; th->pos += size; } return size; } /* TIFFSeekProc tiff_seekproc * used to move around the partially written TIFF */ static toff_t tiff_seekproc(thandle_t clientdata, toff_t offset, int from) { tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; int result; switch(from) { default: case SEEK_SET: /* just use offset */ break; case SEEK_END: /* invert offset, so that it is from start, not end as supplied */ offset = th->size + offset; break; case SEEK_CUR: /* add current position to translate it to 'from start', * not from durrent as supplied */ offset += th->pos; break; } /* now, move pos in both io context and buf */ if((result = (ctx->seek)(ctx, offset))) { th->pos = offset; } return result ? offset : (toff_t)-1; } /* TIFFCloseProc tiff_closeproc - used to finally close the TIFF file */ static int tiff_closeproc(thandle_t clientdata) { (void)clientdata; /*tiff_handle *th = (tiff_handle *)clientdata; gdIOCtx *ctx = th->ctx; (ctx->gd_free)(ctx);*/ return 0; } /* TIFFSizeProc tiff_sizeproc */ static toff_t tiff_sizeproc(thandle_t clientdata) { tiff_handle *th = (tiff_handle *)clientdata; return th->size; } /* TIFFMapFileProc tiff_mapproc() */ static int tiff_mapproc(thandle_t h, tdata_t *d, toff_t *o) { (void)h; (void)d; (void)o; return 0; } /* TIFFUnmapFileProc tiff_unmapproc */ static void tiff_unmapproc(thandle_t h, tdata_t d, toff_t o) { (void)h; (void)d; (void)o; } /* tiffWriter * ---------- * Write the gd image as a tiff file (called by gdImageTiffCtx) * Parameters are: * image: gd image structure; * out: the stream where to write * bitDepth: depth in bits of each pixel */ void tiffWriter(gdImagePtr image, gdIOCtx *out, int bitDepth) { int x, y; int i; int r, g, b, a; TIFF *tiff; int width, height; int color; char *scan; int samplesPerPixel = 3; int bitsPerSample; int transparentColorR = -1; int transparentColorG = -1; int transparentColorB = -1; uint16 extraSamples[1]; uint16 *colorMapRed = NULL; uint16 *colorMapGreen = NULL; uint16 *colorMapBlue = NULL; tiff_handle *th; th = new_tiff_handle(out); if (!th) { return; } extraSamples[0] = EXTRASAMPLE_ASSOCALPHA; /* read in the width/height of gd image */ width = gdImageSX(image); height = gdImageSY(image); /* reset clip region to whole image */ gdImageSetClip(image, 0, 0, width, height); /* handle old-style single-colour mapping to 100% transparency */ if(image->transparent != -1) { /* set our 100% transparent colour value */ transparentColorR = gdImageRed(image, image->transparent); transparentColorG = gdImageGreen(image, image->transparent); transparentColorB = gdImageBlue(image, image->transparent); } /* Open tiff file writing routines, but use special read/write/seek * functions so that tiff lib writes correct bits of tiff content to * correct areas of file opened and modifieable by the gdIOCtx functions */ tiff = TIFFClientOpen("", "w", th, tiff_readproc, tiff_writeproc, tiff_seekproc, tiff_closeproc, tiff_sizeproc, tiff_mapproc, tiff_unmapproc); TIFFSetField(tiff, TIFFTAG_IMAGEWIDTH, width); TIFFSetField(tiff, TIFFTAG_IMAGELENGTH, height); TIFFSetField(tiff, TIFFTAG_COMPRESSION, COMPRESSION_DEFLATE); TIFFSetField(tiff, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG); TIFFSetField(tiff, TIFFTAG_PHOTOMETRIC, (bitDepth == 24) ? PHOTOMETRIC_RGB : PHOTOMETRIC_PALETTE); bitsPerSample = (bitDepth == 24 || bitDepth == 8) ? 8 : 1; TIFFSetField(tiff, TIFFTAG_BITSPERSAMPLE, bitsPerSample); TIFFSetField(tiff, TIFFTAG_XRESOLUTION, (float)image->res_x); TIFFSetField(tiff, TIFFTAG_YRESOLUTION, (float)image->res_y); /* build the color map for 8 bit images */ if(bitDepth != 24) { colorMapRed = (uint16 *) gdMalloc(3 * (1 << bitsPerSample)); if (!colorMapRed) { gdFree(th); return; } colorMapGreen = (uint16 *) gdMalloc(3 * (1 << bitsPerSample)); if (!colorMapGreen) { gdFree(colorMapRed); gdFree(th); return; } colorMapBlue = (uint16 *) gdMalloc(3 * (1 << bitsPerSample)); if (!colorMapBlue) { gdFree(colorMapRed); gdFree(colorMapGreen); gdFree(th); return; } for(i = 0; i < image->colorsTotal; i++) { colorMapRed[i] = gdImageRed(image,i) + (gdImageRed(image,i) * 256); colorMapGreen[i] = gdImageGreen(image,i)+(gdImageGreen(image,i)*256); colorMapBlue[i] = gdImageBlue(image,i) + (gdImageBlue(image,i)*256); } TIFFSetField(tiff, TIFFTAG_COLORMAP, colorMapRed, colorMapGreen, colorMapBlue); samplesPerPixel = 1; } /* here, we check if the 'save alpha' flag is set on the source gd image */ if ((bitDepth == 24) && (image->saveAlphaFlag || image->transparent != -1)) { /* so, we need to store the alpha values too! * Also, tell TIFF what the extra sample means (associated alpha) */ samplesPerPixel = 4; TIFFSetField(tiff, TIFFTAG_SAMPLESPERPIXEL, samplesPerPixel); TIFFSetField(tiff, TIFFTAG_EXTRASAMPLES, 1, extraSamples); } else { TIFFSetField(tiff, TIFFTAG_SAMPLESPERPIXEL, samplesPerPixel); } TIFFSetField(tiff, TIFFTAG_ROWSPERSTRIP, 1); if(overflow2(width, samplesPerPixel)) { if (colorMapRed) gdFree(colorMapRed); if (colorMapGreen) gdFree(colorMapGreen); if (colorMapBlue) gdFree(colorMapBlue); gdFree(th); return; } if(!(scan = (char *)gdMalloc(width * samplesPerPixel))) { if (colorMapRed) gdFree(colorMapRed); if (colorMapGreen) gdFree(colorMapGreen); if (colorMapBlue) gdFree(colorMapBlue); gdFree(th); return; } /* loop through y-coords, and x-coords */ for(y = 0; y < height; y++) { for(x = 0; x < width; x++) { /* generate scan line for writing to tiff */ color = gdImageGetPixel(image, x, y); a = (127 - gdImageAlpha(image, color)) * 2; a = (a == 0xfe) ? 0xff : a & 0xff; b = gdImageBlue(image, color); g = gdImageGreen(image, color); r = gdImageRed(image, color); /* if this pixel has the same RGB as the transparent colour, * then set alpha fully transparent */ if (transparentColorR == r && transparentColorG == g && transparentColorB == b) { a = 0x00; } if(bitDepth != 24) { /* write out 1 or 8 bit value in 1 byte * (currently treats 1bit as 8bit) */ scan[(x * samplesPerPixel) + 0] = color; } else { /* write out 24 bit value in 3 (or 4 if transparent) bytes */ if(image->saveAlphaFlag || image->transparent != -1) { scan[(x * samplesPerPixel) + 3] = a; } scan[(x * samplesPerPixel) + 2] = b; scan[(x * samplesPerPixel) + 1] = g; scan[(x * samplesPerPixel) + 0] = r; } } /* Write the scan line to the tiff */ if(TIFFWriteEncodedStrip(tiff, y, scan, width * samplesPerPixel) == -1) { if (colorMapRed) gdFree(colorMapRed); if (colorMapGreen) gdFree(colorMapGreen); if (colorMapBlue) gdFree(colorMapBlue); gdFree(th); /* error handler here */ gd_error("Could not create TIFF\n"); return; } } /* now cloase and free up resources */ TIFFClose(tiff); gdFree(scan); gdFree(th); if(bitDepth != 24) { gdFree(colorMapRed); gdFree(colorMapGreen); gdFree(colorMapBlue); } } /* Function: gdImageTiffCtx Write the gd image as a tiff file. Parameters: image - gd image structure; out - the stream where to write */ BGD_DECLARE(void) gdImageTiffCtx(gdImagePtr image, gdIOCtx *out) { int clipx1P, clipy1P, clipx2P, clipy2P; int bitDepth = 24; /* First, switch off clipping, or we'll not get all the image! */ gdImageGetClip(image, &clipx1P, &clipy1P, &clipx2P, &clipy2P); /* use the appropriate routine depending on the bit depth of the image */ if(image->trueColor) { bitDepth = 24; } else if(image->colorsTotal == 2) { bitDepth = 1; } else { bitDepth = 8; } tiffWriter(image, out, bitDepth); /* reset clipping area to the gd image's original values */ gdImageSetClip(image, clipx1P, clipy1P, clipx2P, clipy2P); } /* Check if we are really in 8bit mode */ static int checkColorMap(n, r, g, b) int n; uint16 *r, *g, *b; { while (n-- > 0) if (*r++ >= 256 || *g++ >= 256 || *b++ >= 256) return (16); return (8); } /* Read and convert a TIFF colormap */ static int readTiffColorMap(gdImagePtr im, TIFF *tif, char is_bw, int photometric) { uint16 *redcmap, *greencmap, *bluecmap; uint16 bps; int i; if (is_bw) { if (photometric == PHOTOMETRIC_MINISWHITE) { gdImageColorAllocate(im, 255,255,255); gdImageColorAllocate(im, 0, 0, 0); } else { gdImageColorAllocate(im, 0, 0, 0); gdImageColorAllocate(im, 255,255,255); } } else { uint16 min_sample_val, max_sample_val; if (!TIFFGetField(tif, TIFFTAG_MINSAMPLEVALUE, &min_sample_val)) { min_sample_val = 0; } if (!TIFFGetField(tif, TIFFTAG_MAXSAMPLEVALUE, &max_sample_val)) { max_sample_val = 255; } if (photometric == PHOTOMETRIC_MINISBLACK || photometric == PHOTOMETRIC_MINISWHITE) { /* TODO: use TIFFTAG_MINSAMPLEVALUE and TIFFTAG_MAXSAMPLEVALUE */ /* Gray level palette */ for (i=min_sample_val; i <= max_sample_val; i++) { gdImageColorAllocate(im, i,i,i); } return GD_SUCCESS; } else if (!TIFFGetField(tif, TIFFTAG_COLORMAP, &redcmap, &greencmap, &bluecmap)) { gd_error("Cannot read the color map"); return GD_FAILURE; } TIFFGetFieldDefaulted(tif, TIFFTAG_BITSPERSAMPLE, &bps); #define CVT(x) (((x) * 255) / ((1L<<16)-1)) if (checkColorMap(1< 0; i--) { redcmap[i] = CVT(redcmap[i]); greencmap[i] = CVT(greencmap[i]); bluecmap[i] = CVT(bluecmap[i]); } } for (i = 0; i < 256; i++) { gdImageColorAllocate(im, redcmap[i], greencmap[i], bluecmap[i]); } #undef CVT } return GD_SUCCESS; } static void readTiffBw (const unsigned char *src, gdImagePtr im, uint16 photometric, int startx, int starty, int width, int height, char has_alpha, int extra, int align) { int x = startx, y = starty; (void)has_alpha; (void)extra; (void)align; for (y = starty; y < starty + height; y++) { for (x = startx; x < startx + width;) { register unsigned char curr = *src++; register unsigned char mask; if (photometric == PHOTOMETRIC_MINISWHITE) { curr = ~curr; } for (mask = 0x80; mask != 0 && x < startx + width; x++, mask >>= 1) { gdImageSetPixel(im, x, y, ((curr & mask) != 0)?0:1); } } } } static void readTiff8bit (const unsigned char *src, gdImagePtr im, uint16 photometric, int startx, int starty, int width, int height, char has_alpha, int extra, int align) { int red, green, blue, alpha; int x, y; (void)extra; (void)align; switch (photometric) { case PHOTOMETRIC_PALETTE: /* Palette has no alpha (see TIFF specs for more details */ for (y = starty; y < starty + height; y++) { for (x = startx; x < startx + width; x++) { gdImageSetPixel(im, x, y,*(src++)); } } break; case PHOTOMETRIC_RGB: if (has_alpha) { gdImageAlphaBlending(im, 0); gdImageSaveAlpha(im, 1); for (y = starty; y < starty + height; y++) { for (x = startx; x < startx + width; x++) { red = *src++; green = *src++; blue = *src++; alpha = *src++; red = MIN (red, alpha); blue = MIN (blue, alpha); green = MIN (green, alpha); if (alpha) { gdImageSetPixel(im, x, y, gdTrueColorAlpha(red * 255 / alpha, green * 255 / alpha, blue * 255 /alpha, gdAlphaMax - (alpha >> 1))); } else { gdImageSetPixel(im, x, y, gdTrueColorAlpha(red, green, blue, gdAlphaMax - (alpha >> 1))); } } } } else { for (y = 0; y < height; y++) { for (x = 0; x < width; x++) { register unsigned char r = *src++; register unsigned char g = *src++; register unsigned char b = *src++; gdImageSetPixel(im, x, y, gdTrueColor(r, g, b)); } } } break; case PHOTOMETRIC_MINISWHITE: if (has_alpha) { /* We don't process the extra yet */ } else { for (y = starty; y < starty + height; y++) { for (x = startx; x < startx + width; x++) { gdImageSetPixel(im, x, y, ~(*src++)); } } } break; case PHOTOMETRIC_MINISBLACK: if (has_alpha) { /* We don't process the extra yet */ } else { for (y = starty; y < height; y++) { for (x = 0; x < width; x++) { gdImageSetPixel(im, x, y, *src++); } } } break; } } static int createFromTiffTiles(TIFF *tif, gdImagePtr im, uint16 bps, uint16 photometric, char has_alpha, char is_bw, int extra) { uint16 planar; int im_width, im_height; int tile_width, tile_height; int x, y, height, width; unsigned char *buffer; int success = GD_SUCCESS; if (!TIFFGetField (tif, TIFFTAG_PLANARCONFIG, &planar)) { planar = PLANARCONFIG_CONTIG; } if (TIFFGetField (tif, TIFFTAG_IMAGEWIDTH, &im_width) == 0 || TIFFGetField (tif, TIFFTAG_IMAGELENGTH, &im_height) == 0 || TIFFGetField (tif, TIFFTAG_TILEWIDTH, &tile_width) == 0 || TIFFGetField (tif, TIFFTAG_TILELENGTH, &tile_height) == 0) { return FALSE; } buffer = (unsigned char *) gdMalloc (TIFFTileSize (tif)); if (!buffer) { return FALSE; } for (y = 0; y < im_height; y += tile_height) { for (x = 0; x < im_width; x += tile_width) { if (TIFFReadTile(tif, buffer, x, y, 0, 0) < 0) { success = GD_FAILURE; goto end; } width = MIN(im_width - x, tile_width); height = MIN(im_height - y, tile_height); if (bps == 16) { } else if (bps == 8) { readTiff8bit(buffer, im, photometric, x, y, width, height, has_alpha, extra, 0); } else if (is_bw) { readTiffBw(buffer, im, photometric, x, y, width, height, has_alpha, extra, 0); } else { /* TODO: implement some default reader or detect this case earlier use force_rgb */ } } } end: gdFree(buffer); return success; } static int createFromTiffLines(TIFF *tif, gdImagePtr im, uint16 bps, uint16 photometric, char has_alpha, char is_bw, int extra) { uint16 planar; uint32 im_height, im_width, y; unsigned char *buffer; int success = GD_SUCCESS; if (!TIFFGetField(tif, TIFFTAG_PLANARCONFIG, &planar)) { planar = PLANARCONFIG_CONTIG; } if (!TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &im_height)) { gd_error("Can't fetch TIFF height\n"); return FALSE; } if (!TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &im_width)) { gd_error("Can't fetch TIFF width \n"); return FALSE; } buffer = (unsigned char *)gdMalloc(im_width * 4); if (!buffer) { return GD_FAILURE; } if (planar == PLANARCONFIG_CONTIG) { switch (bps) { case 16: /* TODO * or simply use force_rgba */ break; case 8: for (y = 0; y < im_height; y++ ) { if (TIFFReadScanline (tif, buffer, y, 0) < 0) { gd_error("Error while reading scanline %i", y); success = GD_FAILURE; break; } /* reading one line at a time */ readTiff8bit(buffer, im, photometric, 0, y, im_width, 1, has_alpha, extra, 0); } break; default: if (is_bw) { for (y = 0; y < im_height; y++ ) { if (TIFFReadScanline (tif, buffer, y, 0) < 0) { gd_error("Error while reading scanline %i", y); success = GD_FAILURE; break; } /* reading one line at a time */ readTiffBw(buffer, im, photometric, 0, y, im_width, 1, has_alpha, extra, 0); } } else { /* TODO: implement some default reader or detect this case earlier > force_rgb */ } break; } } else { /* TODO: implement a reader for separate panes. We detect this case earlier for now and use force_rgb */ } gdFree(buffer); return success; } static int createFromTiffRgba(TIFF * tif, gdImagePtr im) { int a; int x, y; int alphaBlendingFlag = 0; int color; int width = im->sx; int height = im->sy; uint32 *buffer; uint32 rgba; int success; buffer = (uint32 *) gdCalloc(sizeof(uint32), width * height); if (!buffer) { return GD_FAILURE; } /* switch off colour merging on target gd image just while we write out * content - we want to preserve the alpha data until the user chooses * what to do with the image */ alphaBlendingFlag = im->alphaBlendingFlag; gdImageAlphaBlending(im, 0); success = TIFFReadRGBAImage(tif, width, height, buffer, 1); if (success) { for(y = 0; y < height; y++) { for(x = 0; x < width; x++) { /* if it doesn't already exist, allocate a new colour, * else use existing one */ rgba = buffer[(y * width + x)]; a = (0xff - TIFFGetA(rgba)) / 2; color = gdTrueColorAlpha(TIFFGetR(rgba), TIFFGetG(rgba), TIFFGetB(rgba), a); /* set pixel colour to this colour */ gdImageSetPixel(im, x, height - y - 1, color); } } } gdFree(buffer); /* now reset colour merge for alpha blending routines */ gdImageAlphaBlending(im, alphaBlendingFlag); return success; } /* Function: gdImageCreateFromTiffCtx Create a gdImage from a TIFF file input from an gdIOCtx. */ BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffCtx(gdIOCtx *infile) { TIFF *tif; tiff_handle *th; uint16 bps, spp, photometric; uint16 orientation; int width, height; uint16 extra, *extra_types; uint16 planar; char has_alpha, is_bw, is_gray; char force_rgba = FALSE; char save_transparent; int image_type; int ret; float res_float; gdImagePtr im = NULL; th = new_tiff_handle(infile); if (!th) { return NULL; } tif = TIFFClientOpen("", "rb", th, tiff_readproc, tiff_writeproc, tiff_seekproc, tiff_closeproc, tiff_sizeproc, tiff_mapproc, tiff_unmapproc); if (!tif) { gd_error("Cannot open TIFF image"); gdFree(th); return NULL; } if (!TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, &width)) { gd_error("TIFF error, Cannot read image width"); goto error; } if (!TIFFGetField(tif, TIFFTAG_IMAGELENGTH, &height)) { gd_error("TIFF error, Cannot read image width"); goto error; } TIFFGetFieldDefaulted (tif, TIFFTAG_BITSPERSAMPLE, &bps); /* Unsupported bps, force to RGBA */ if (bps != 1 /*bps > 8 && bps != 16*/) { force_rgba = TRUE; } TIFFGetFieldDefaulted (tif, TIFFTAG_SAMPLESPERPIXEL, &spp); if (!TIFFGetField (tif, TIFFTAG_EXTRASAMPLES, &extra, &extra_types)) { extra = 0; } if (!TIFFGetField (tif, TIFFTAG_PHOTOMETRIC, &photometric)) { uint16 compression; if (TIFFGetField(tif, TIFFTAG_COMPRESSION, &compression) && (compression == COMPRESSION_CCITTFAX3 || compression == COMPRESSION_CCITTFAX4 || compression == COMPRESSION_CCITTRLE || compression == COMPRESSION_CCITTRLEW)) { gd_error("Could not get photometric. " "Image is CCITT compressed, assuming min-is-white"); photometric = PHOTOMETRIC_MINISWHITE; } else { gd_error("Could not get photometric. " "Assuming min-is-black"); photometric = PHOTOMETRIC_MINISBLACK; } } save_transparent = FALSE; /* test if the extrasample represents an associated alpha channel... */ if (extra > 0 && (extra_types[0] == EXTRASAMPLE_ASSOCALPHA)) { has_alpha = TRUE; save_transparent = FALSE; --extra; } else if (extra > 0 && (extra_types[0] == EXTRASAMPLE_UNASSALPHA)) { has_alpha = TRUE; save_transparent = TRUE; --extra; } else if (extra > 0 && (extra_types[0] == EXTRASAMPLE_UNSPECIFIED)) { /* assuming unassociated alpha if unspecified */ gd_error("alpha channel type not defined, assuming alpha is not premultiplied"); has_alpha = TRUE; save_transparent = TRUE; --extra; } else { has_alpha = FALSE; } if (photometric == PHOTOMETRIC_RGB && spp > 3 + extra) { has_alpha = TRUE; extra = spp - 4; } else if (photometric != PHOTOMETRIC_RGB && spp > 1 + extra) { has_alpha = TRUE; extra = spp - 2; } is_bw = FALSE; is_gray = FALSE; switch (photometric) { case PHOTOMETRIC_MINISBLACK: case PHOTOMETRIC_MINISWHITE: if (!has_alpha && bps == 1 && spp == 1) { image_type = GD_INDEXED; is_bw = TRUE; } else { image_type = GD_GRAY; } break; case PHOTOMETRIC_RGB: image_type = GD_RGB; break; case PHOTOMETRIC_PALETTE: image_type = GD_INDEXED; break; default: force_rgba = TRUE; break; } /* Force rgba if image has 1bps, but is not bw */ if (bps == 1 && !is_bw) { force_rgba = TRUE; } if (!TIFFGetField (tif, TIFFTAG_PLANARCONFIG, &planar)) { planar = PLANARCONFIG_CONTIG; } /* Force rgba if image plans are not contiguous */ if (force_rgba || planar != PLANARCONFIG_CONTIG) { image_type = GD_RGB; } if (!force_rgba && (image_type == GD_PALETTE || image_type == GD_INDEXED || image_type == GD_GRAY)) { im = gdImageCreate(width, height); if (!im) goto error; readTiffColorMap(im, tif, is_bw, photometric); } else { im = gdImageCreateTrueColor(width, height); if (!im) goto error; } #ifdef DEBUG printf("force rgba: %i\n", force_rgba); printf("has_alpha: %i\n", has_alpha); printf("save trans: %i\n", save_transparent); printf("is_bw: %i\n", is_bw); printf("is_gray: %i\n", is_gray); printf("type: %i\n", image_type); #else (void)is_gray; (void)save_transparent; #endif if (force_rgba) { ret = createFromTiffRgba(tif, im); } else if (TIFFIsTiled(tif)) { ret = createFromTiffTiles(tif, im, bps, photometric, has_alpha, is_bw, extra); } else { ret = createFromTiffLines(tif, im, bps, photometric, has_alpha, is_bw, extra); } if (!ret) { gdImageDestroy(im); im = NULL; goto error; } if (TIFFGetField(tif, TIFFTAG_XRESOLUTION, &res_float)) { im->res_x = (unsigned int)res_float; //truncate } if (TIFFGetField(tif, TIFFTAG_YRESOLUTION, &res_float)) { im->res_y = (unsigned int)res_float; //truncate } if (TIFFGetField(tif, TIFFTAG_ORIENTATION, &orientation)) { switch (orientation) { case ORIENTATION_TOPLEFT: case ORIENTATION_TOPRIGHT: case ORIENTATION_BOTRIGHT: case ORIENTATION_BOTLEFT: break; default: gd_error("Orientation %d not handled yet!", orientation); break; } } error: TIFFClose(tif); gdFree(th); return im; } /* Function: gdImageCreateFromTIFF */ BGD_DECLARE(gdImagePtr) gdImageCreateFromTiff(FILE *inFile) { gdImagePtr im; gdIOCtx *in = gdNewFileCtx(inFile); if (in == NULL) return NULL; im = gdImageCreateFromTiffCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromTiffPtr */ BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffPtr(int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0); if (in == NULL) return NULL; im = gdImageCreateFromTiffCtx(in); in->gd_free(in); return im; } /* Function: gdImageTiff */ BGD_DECLARE(void) gdImageTiff(gdImagePtr im, FILE *outFile) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageTiffCtx(im, out); /* what's an fg again? */ out->gd_free(out); } /* Function: gdImageTiffPtr */ BGD_DECLARE(void *) gdImageTiffPtr(gdImagePtr im, int *size) { void *rv; gdIOCtx *out = gdNewDynamicCtx (2048, NULL); if (out == NULL) return NULL; gdImageTiffCtx(im, out); /* what's an fg again? */ rv = gdDPExtractData(out, size); out->gd_free(out); return rv; } #else static void _noTiffError(void) { gd_error("TIFF image support has been disabled\n"); } BGD_DECLARE(void) gdImageTiffCtx(gdImagePtr image, gdIOCtx *out) { _noTiffError(); } BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffCtx(gdIOCtx *infile) { _noTiffError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromTiff(FILE *inFile) { _noTiffError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffPtr(int size, void *data) { _noTiffError(); return NULL; } BGD_DECLARE(void) gdImageTiff(gdImagePtr im, FILE *outFile) { _noTiffError(); } BGD_DECLARE(void *) gdImageTiffPtr(gdImagePtr im, int *size) { _noTiffError(); return NULL; } #endif libgd-2.3.0/src/annotate.c0000664000175000017500000000753213635665516012313 00000000000000#ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include "gd.h" /* A neat little utility which adds freetype text to * existing JPEG images. Type annotate -h for instructions. * Thanks to Joel Dubiner for supporting this work. -TBB */ enum { left, center, right }; int main(int argc, char *argv[]) { gdImagePtr im; char *iin, *iout; FILE *in, *out; char *s; size_t len; int bounds[8]; int lines = 1; int color = gdTrueColor(0, 0, 0); char *font; int size = 12; int align = left; int x = 0, y = 0; char *fontError; font = strdup("times"); if(argc != 3) { fprintf(stderr, "Usage: annotate imagein.jpg imageout.jpg\n\n"); fprintf(stderr, "Standard input should consist of\n"); fprintf(stderr, "lines in the following formats:\n"); fprintf(stderr, "color r g b (0-255 each) [a (0-127, 0 is opaque)]\n"); fprintf(stderr, "font fontname\n"); fprintf(stderr, "size pointsize\n"); fprintf(stderr, "align (left|right|center)\n"); fprintf(stderr, "move x y\n"); fprintf(stderr, "text actual-output-text\n\n"); fprintf(stderr, "If the file 'paris.ttf' exists in /usr/share/fonts/truetype or in a\n"); fprintf(stderr, "location specified in the GDFONTPATH environment variable, 'font paris' is\n"); fprintf(stderr, "sufficient. You may also specify the full, rooted path of a font file.\n"); exit(1); } iin = argv[1]; iout = argv[2]; in = fopen(iin, "rb"); if(!in) { fprintf(stderr, "Couldn't open %s\n", iin); exit(2); } im = gdImageCreateFromJpeg(in); fclose(in); if(!im) { fprintf(stderr, "%s did not load properly\n", iin); exit(3); } s = NULL; len = 0; while (getline(&s, &len, stdin) != -1) { char *st; char *text; st = strtok(s, " \t\r\n"); if(!st) { /* Be nice about blank lines */ continue; } if(!strcmp(st, "font")) { char *st = strtok(0, " \t\r\n"); if(!st) { goto badLine; } else { free(font); font = strdup(st); if (font == NULL) { perror("Font failed"); goto badLine; } } } else if(!strcmp(st, "align")) { char *st = strtok(0, " \t\r\n"); if(!st) { goto badLine; } if(!strcmp(st, "left")) { align = 0; } else if(!strcmp(st, "center")) { align = 1; } else if(!strcmp(st, "right")) { align = 2; } } else if(!strcmp(st, "size")) { char *st = strtok(0, " \t\r\n"); if(!st) { goto badLine; } size = atoi(st); } else if(!strcmp(st, "color")) { char *st = strtok(0, "\r\n"); int r, g, b, a = 0; if(!st) { goto badLine; } if(sscanf(st, "%d %d %d %d", &r, &g, &b, &a) < 3) { fprintf(stderr, "Bad color at line %d\n", lines); exit(2); } color = gdTrueColorAlpha(r, g, b, a); } else if(!strcmp(st, "move")) { char *st = strtok(0, "\r\n"); if(!st) { goto badLine; } if(sscanf(st, "%d %d", &x, &y) != 2) { fprintf(stderr, "Missing coordinates at line %d\n", lines); exit(3); } } else if(!strcmp(st, "text")) { int rx = x; text = strtok(0, "\r\n"); if(!text) { text = ""; } gdImageStringFT(0, bounds, color, font, size, 0, x, y, text); switch(align) { case left: break; case center: rx -= (bounds[2] - bounds[0]) / 2; break; case right: rx -= (bounds[2] - bounds[0]); break; } fontError = gdImageStringFT(im, 0, color, font, size, 0, rx, y, text); if(fontError) { fprintf(stderr, "Font error at line %d: %s\n", lines, fontError); exit(7); } y -= (bounds[7] - bounds[1]); } else { goto badLine; } lines++; continue; badLine: fprintf(stderr, "Bad syntax, line %d\n", lines); exit(4); } free(font); free(s); out = fopen(iout, "wb"); if(!out) { fprintf(stderr, "Cannot create %s\n", iout); exit(5); } gdImageJpeg(im, out, 95); gdImageDestroy(im); fclose(out); return 0; } libgd-2.3.0/src/wbmp.c0000664000175000017500000001430713635665516011445 00000000000000/* WBMP * ---- * WBMP Level 0: B/W, Uncompressed * This implements the WBMP format as specified in WAPSpec 1.1 and 1.2. * It does not support ExtHeaders as defined in the spec. The spec states * that a WAP client does not need to implement ExtHeaders. * * (c) 2000 Johan Van den Brande */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include "wbmp.h" #include "gd.h" #include "gdhelpers.h" #ifdef NOTDEF # define __TEST /* Compile with main function */ # define __DEBUG /* Extra verbose when with __TEST */ # define __WRITE /* readwbmp and writewbmp(stdout) */ # define __VIEW /* view the wbmp on stdout */ #endif /* getmbi * ------ * Get a multibyte integer from a generic getin function * 'getin' can be getc, with in = NULL * you can find getin as a function just above the main function * This way you gain a lot of flexibilty about how this package * reads a wbmp file. */ int getmbi(int (*getin) (void *in), void *in) { unsigned int mbi = 0; int i; do { i = getin(in); if(i < 0) { return (-1); } mbi = (mbi << 7) | (i & 0x7f); } while(i & 0x80); return mbi; } /* putmbi * ------ * Put a multibyte intgerer in some kind of output stream * I work here with a function pointer, to make it as generic * as possible. Look at this function as an iterator on the * mbi integers it spits out. * */ void putmbi(int i, void (*putout)(int c, void *out), void *out) { int cnt, l, accu; /* Get number of septets */ accu = cnt = 0; while(accu != i) { accu += i & 0x7f << 7 * cnt++; } /* Produce the multibyte output */ for(l = cnt - 1; l > 0; l--) { putout(0x80 | (i & 0x7f << 7 * l) >> 7 * l, out); } putout(i & 0x7f, out); } /* skipheader * ---------- * Skips the ExtHeader. Not needed for the moment */ int skipheader(int (*getin)(void *in), void *in) { int i; do { i = getin(in); if(i < 0) { return (-1); } } while(i & 0x80); return 0; } /* create wbmp * ----------- * create an empty wbmp */ Wbmp *createwbmp(int width, int height, int color) { int i; Wbmp *wbmp; if((wbmp = (Wbmp *)gdMalloc(sizeof (Wbmp))) == NULL) { return (NULL); } if(overflow2(sizeof(int), width)) { gdFree(wbmp); return NULL; } if(overflow2(sizeof(int) * width, height)) { gdFree(wbmp); return NULL; } if((wbmp->bitmap = (int *)gdMalloc(sizeof(int) * width * height)) == NULL) { gdFree(wbmp); return NULL; } wbmp->width = width; wbmp->height = height; for(i = 0; i < width * height; wbmp->bitmap[i++] = color); return wbmp; } /* readwbmp * ------- * Actually reads the WBMP format from an open file descriptor * It goes along by returning a pointer to a WBMP struct. */ int readwbmp(int (*getin) (void *in), void *in, Wbmp **return_wbmp) { int row, col, byte, pel, pos; Wbmp *wbmp; if((wbmp = (Wbmp *)gdMalloc(sizeof(Wbmp))) == NULL) { return -1; } wbmp->type = getin(in); if(wbmp->type != 0) { gdFree(wbmp); return -1; } if(skipheader(getin, in)) { gdFree(wbmp); return -1; } wbmp->width = getmbi(getin, in); if(wbmp->width == -1) { gdFree(wbmp); return -1; } wbmp->height = getmbi(getin, in); if(wbmp->height == -1) { gdFree(wbmp); return -1; } #ifdef __DEBUG printf("W: %d, H: %d\n", wbmp->width, wbmp->height); #endif if( overflow2(sizeof(int), wbmp->width) || overflow2(sizeof(int) * wbmp->width, wbmp->height)) { gdFree(wbmp); return -1; } if((wbmp->bitmap = (int *)gdMalloc(sizeof(int) * wbmp->width * wbmp->height)) == NULL) { gdFree(wbmp); return -1; } #ifdef __DEBUG printf("DATA CONSTRUCTED\n"); #endif pos = 0; for(row = 0; row < wbmp->height; row++) { for(col = 0; col < wbmp->width;) { byte = getin(in); for(pel = 7; pel >= 0; pel--) { if(col++ < wbmp->width) { if(byte & 1 << pel) { wbmp->bitmap[pos] = WBMP_WHITE; } else { wbmp->bitmap[pos] = WBMP_BLACK; } pos++; } } } } *return_wbmp = wbmp; return 0; } /* writewbmp * --------- * Write a wbmp to a file descriptor * * Why not just giving a filedescriptor to this function? * Well, the incentive to write this function was the complete * integration in gd library from www.libgd.org. They use * their own io functions, so the passing of a function seemed to be * a logic(?) decision ... */ int writewbmp(Wbmp *wbmp, void (*putout)(int c, void *out), void *out) { int row, col; int bitpos, octet; /* Generate the header */ putout(0, out); /* WBMP Type 0: B/W, Uncompressed bitmap */ putout(0, out); /* FixHeaderField */ /* Size of the image */ putmbi(wbmp->width, putout, out); /* width */ putmbi(wbmp->height, putout, out); /* height */ /* Image data */ for(row = 0; row < wbmp->height; row++) { bitpos = 8; octet = 0; for(col = 0; col < wbmp->width; col++) { octet |= ((wbmp->bitmap[row * wbmp->width + col] == 1) ? WBMP_WHITE : WBMP_BLACK) << --bitpos; if(bitpos == 0) { bitpos = 8; putout(octet, out); octet = 0; } } if(bitpos != 8) { putout(octet, out); } } return 0; } /* freewbmp * -------- * gdFrees up memory occupied by a WBMP structure */ void freewbmp(Wbmp *wbmp) { gdFree(wbmp->bitmap); gdFree(wbmp); } /* printwbmp * --------- * print a WBMP to stdout for visualisation */ void printwbmp(Wbmp *wbmp) { int row, col; for(row = 0; row < wbmp->height; row++) { for(col = 0; col < wbmp->width; col++) { if(wbmp->bitmap[wbmp->width * row + col] == WBMP_BLACK) { putchar('#'); } else { putchar(' '); } } putchar('\n'); } } #ifdef __TEST /* putout to file descriptor * ------------------------- */ int putout(int c, void *out) { return (putc(c, (FILE *)out)); } /* getin from file descriptor * -------------------------- */ int getin(void *in) { return (getc((FILE *)in)); } /* Main function * ------------- */ int main(int argc, char *argv[]) { FILE *wbmp_file; Wbmp *wbmp; wbmp_file = fopen(argv[1], "rb"); if(wbmp_file) { readwbmp(&getin, wbmp_file, &wbmp); #ifdef __VIEW #ifdef __DEBUG printf("\nVIEWING IMAGE\n"); #endif printwbmp(wbmp); #endif #ifdef __WRITE #ifdef __DEBUG printf("\nDUMPING WBMP to STDOUT\n"); #endif writewbmp(wbmp, &putout, stdout); #endif freewbmp(wbmp); fclose(wbmp_file); } } #endif libgd-2.3.0/src/gdtopng.c0000664000175000017500000000167013635665516012141 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "gd.h" /* A short program which converts a .png file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ int main (int argc, char **argv) { gdImagePtr im; FILE *in, *out; if (argc != 3) { fprintf(stderr, "Usage: gdtopng filename.gd filename.png\n"); exit (1); } in = fopen (argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit (1); } im = gdImageCreateFromGd (in); fclose (in); if (!im) { fprintf(stderr, "Input is not in GD format!\n"); exit (1); } out = fopen (argv[2], "wb"); if (!out) { fprintf(stderr, "Output file cannot be written to!\n"); gdImageDestroy (im); exit (1); } gdImagePng (im, out); fclose (out); gdImageDestroy (im); return 0; } libgd-2.3.0/src/testtr.c0000664000175000017500000000231513635665516012021 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include #include "gd.h" #define FALSE 0 #define TRUE (!FALSE) int main(void) { int transparent, green, black; gdImagePtr im; im = gdImageCreateTrueColor(100,100); black = gdImageColorResolveAlpha(im, 0, 0, 0, gdAlphaOpaque); green = gdImageColorResolveAlpha(im, 0, gdGreenMax, 0, gdAlphaOpaque); transparent = gdImageColorResolveAlpha(im, gdRedMax-1, gdGreenMax, gdBlueMax, gdAlphaTransparent); gdImageColorTransparent(im, transparent); /* Blending must be off to lay a transparent basecolor. Nothing to blend with anyway. */ gdImageAlphaBlending(im, FALSE); gdImageFill (im, im->sx/2, im->sy/2, transparent); /* Blend everything else together, especially fonts over non-transparent backgrounds */ gdImageAlphaBlending(im, TRUE); gdImageFilledRectangle (im, 30, 30, 70, 70, green); gdImageStringFT (im, NULL, black, "Times", 18, 0, 50, 50, "Hello"); gdImageSaveAlpha (im, TRUE); #ifdef HAVE_LIBPNG { FILE *out = fopen("testtr.png", "wb"); gdImagePng(im, out); fclose(out); } #else fprintf(stderr, "Compiled without libpng support\n"); #endif /* HAVE_LIBPNG */ gdImageDestroy (im); return 0; } libgd-2.3.0/src/gdfonts.h0000664000175000017500000000100313634445460012127 00000000000000#ifndef _GDFONTS_H_ #define _GDFONTS_H_ 1 #ifdef __cplusplus extern "C" { #endif /* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -misc-fixed-medium-r-semicondensed-sans-12-116-75-75-c-60-iso8859-2 at Thu Jan 8 14:13:20 1998. No copyright info was found in the original bdf. */ #include "gd.h" extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontSmall; BGD_DECLARE(gdFontPtr) gdFontGetSmall(void); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gdxpm.c0000664000175000017500000001133213634445460011603 00000000000000/* * Add ability to load xpm files to gd, requires the xpm * library. * Caolan.McNamara@ul.ie * http://www.csn.ul.ie/~caolan */ /** * File: XPM Input * * Read XPM images. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include "gd.h" #include "gdhelpers.h" #include "gd_color_map.h" #include "gd_errors.h" #ifndef HAVE_LIBXPM BGD_DECLARE(gdImagePtr) gdImageCreateFromXpm(char *filename) { (void)filename; gd_error_ex(GD_ERROR, "libgd was not built with xpm support\n"); return NULL; } #else #include /* Function: gdImageCreateFromXpm is called to load images from XPM X Window System color bitmap format files. This function is available only if HAVE_XPM is selected in the Makefile and the Xpm library is linked with the application. Unlike most gd file functions, the Xpm functions *require filenames*, not file pointers. returns a to the new image, or NULL if unable to load the image (most often because the file is corrupt or does not contain an XPM bitmap format image). You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . Parameters: filename - The input filename (*not* FILE pointer) Returns: A pointer to the new image or NULL if an error occurred. Example: (start code) gdImagePtr im; FILE *in; in = fopen("myxpm.xpm", "rb"); im = gdImageCreateFromXpm(in); fclose(in); // ... Use the image ... gdImageDestroy(im); (end code) */ BGD_DECLARE(gdImagePtr) gdImageCreateFromXpm(char *filename) { XpmInfo info; XpmImage image; unsigned int i, j, k, number, len; char buf[5]; gdImagePtr im = 0; int *pointer; int red = 0, green = 0, blue = 0; int *colors; int ret; ret = XpmReadFileToXpmImage(filename, &image, &info); if(ret != XpmSuccess) { return 0; } number = image.ncolors; if(overflow2(sizeof(int), number)) { goto done; } for(i = 0; i < number; i++) { /* avoid NULL pointer dereference TODO better fix need to manage monochrome/monovisual see m_color or g4_color or g_color */ if (!image.colorTable[i].c_color) { goto done; } } colors = (int *)gdMalloc(sizeof(int) * number); if(colors == NULL) { goto done; } if(!(im = gdImageCreate(image.width, image.height))) { gdFree(colors); goto done; } for(i = 0; i < number; i++) { char *c_color = image.colorTable[i].c_color; if(strcmp(c_color, "None") == 0) { colors[i] = gdImageGetTransparent(im); if(colors[i] == -1) colors[i] = gdImageColorAllocate(im, 0, 0, 0); if(colors[i] != -1) gdImageColorTransparent(im, colors[i]); continue; } len = strlen(c_color); if(len < 1) continue; if(c_color[0] == '#') { switch(len) { case 4: buf[2] = '\0'; buf[0] = buf[1] = c_color[1]; red = strtol(buf, NULL, 16); buf[0] = buf[1] = c_color[2]; green = strtol(buf, NULL, 16); buf[0] = buf[1] = c_color[3]; blue = strtol(buf, NULL, 16); break; case 7: buf[2] = '\0'; buf[0] = c_color[1]; buf[1] = c_color[2]; red = strtol(buf, NULL, 16); buf[0] = c_color[3]; buf[1] = c_color[4]; green = strtol(buf, NULL, 16); buf[0] = c_color[5]; buf[1] = c_color[6]; blue = strtol(buf, NULL, 16); break; case 10: buf[3] = '\0'; buf[0] = c_color[1]; buf[1] = c_color[2]; buf[2] = c_color[3]; red = strtol(buf, NULL, 16); red /= 64; buf[0] = c_color[4]; buf[1] = c_color[5]; buf[2] = c_color[6]; green = strtol(buf, NULL, 16); green /= 64; buf[0] = c_color[7]; buf[1] = c_color[8]; buf[2] = c_color[9]; blue = strtol(buf, NULL, 16); blue /= 64; break; case 13: buf[4] = '\0'; buf[0] = c_color[1]; buf[1] = c_color[2]; buf[2] = c_color[3]; buf[3] = c_color[4]; red = strtol(buf, NULL, 16); red /= 256; buf[0] = c_color[5]; buf[1] = c_color[6]; buf[2] = c_color[7]; buf[3] = c_color[8]; green = strtol(buf, NULL, 16); green /= 256; buf[0] = c_color[9]; buf[1] = c_color[10]; buf[2] = c_color[11]; buf[3] = c_color[12]; blue = strtol(buf, NULL, 16); blue /= 256; break; } } else if(!gdColorMapLookup(GD_COLOR_MAP_X11, c_color, &red, &green, &blue)) { continue; } colors[i] = gdImageColorResolve(im, red, green, blue); } pointer = (int *)image.data; for(i = 0; i < image.height; i++) { for(j = 0; j < image.width; j++) { k = *pointer++; gdImageSetPixel(im, j, i, colors[k]); } } gdFree(colors); done: XpmFreeXpmImage(&image); XpmFreeXpmInfo(&info); return im; } #endif /* HAVE_LIBXPM */ libgd-2.3.0/src/gd_color.c0000664000175000017500000000170013634445460012252 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" #include "gd_color.h" /** * The threshold method works relatively well but it can be improved. * Maybe L*a*b* and Delta-E will give better results (and a better * granularity). */ int gdColorMatch(gdImagePtr im, int col1, int col2, float threshold) { const int dr = gdImageRed(im, col1) - gdImageRed(im, col2); const int dg = gdImageGreen(im, col1) - gdImageGreen(im, col2); const int db = gdImageBlue(im, col1) - gdImageBlue(im, col2); const int da = gdImageAlpha(im, col1) - gdImageAlpha(im, col2); const int dist = dr * dr + dg * dg + db * db + da * da; return (100.0 * dist / 195075) < threshold; } /* * To be implemented when we have more image formats. * Buffer like gray8 gray16 or rgb8 will require some tweak * and can be done in this function (called from the autocrop * function. (Pierre) */ #if 0 static int colors_equal (const int col1, const in col2) { } #endif libgd-2.3.0/src/gd_intern.h0000664000175000017500000000365513635665516012462 00000000000000#ifndef GD_INTERN_H #define GD_INTERN_H #include #ifndef MAXPATHLEN # ifdef PATH_MAX # define MAXPATHLEN PATH_MAX # elif defined(MAX_PATH) # define MAXPATHLEN MAX_PATH # else # if defined(__GNU__) # define MAXPATHLEN 4096 # else # define MAXPATHLEN 256 /* Should be safe for any weird systems that do not define it */ # endif # endif #endif #ifdef HAVE_STDINT_H # include #else # if defined(HAVE_INTTYPES_H) # include # else # include "msinttypes/inttypes.h" # endif #endif #include "gd.h" #ifndef MIN #define MIN(a,b) ((a)<(b)?(a):(b)) #endif #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) #ifndef MAX #define MAX(a,b) ((a)<(b)?(b):(a)) #endif #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) typedef enum { HORIZONTAL, VERTICAL, } gdAxis; /* Convert a double to an unsigned char, rounding to the nearest * integer and clamping the result between 0 and max. The absolute * value of clr must be less than the maximum value of an unsigned * short. */ static inline unsigned char uchar_clamp(double clr, unsigned char max) { unsigned short result; //assert(fabs(clr) <= SHRT_MAX); /* Casting a negative float to an unsigned short is undefined. * However, casting a float to a signed truncates toward zero and * casting a negative signed value to an unsigned of the same size * results in a bit-identical value (assuming twos-complement * arithmetic). This is what we want: all legal negative values * for clr will be greater than 255. */ /* Convert and clamp. */ result = (unsigned short)(short)(clr + 0.5); if (result > max) { result = (clr < 0) ? 0 : max; }/* if */ return result; }/* uchar_clamp*/ /* Internal prototypes: */ /* gd_rotate.c */ gdImagePtr gdImageRotate90(gdImagePtr src, int ignoretransparent); gdImagePtr gdImageRotate180(gdImagePtr src, int ignoretransparent); gdImagePtr gdImageRotate270(gdImagePtr src, int ignoretransparent); #endif libgd-2.3.0/src/gdfontmb.h0000664000175000017500000000100713634445460012267 00000000000000#ifndef _GDFONTMB_H_ #define _GDFONTMB_H_ 1 #ifdef __cplusplus extern "C" { #endif /* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -misc-fixed-bold-r-normal-sans-13-94-100-100-c-70-iso8859-2 at Thu Jan 8 13:54:57 1998. No copyright info was found in the original bdf. */ #include "gd.h" extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontMediumBold; BGD_DECLARE(gdFontPtr) gdFontGetMediumBold(void); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gd.h0000664000175000017500000016056313635665521011101 00000000000000#ifndef GD_H #define GD_H 1 #include #ifdef __cplusplus extern "C" { #endif /* Version information. This gets parsed by build scripts as well as * gcc so each #define line in this group must also be splittable on * whitespace, take the form GD_*_VERSION and contain the magical * trailing comment. */ #define GD_MAJOR_VERSION 2 /*version605b5d1778*/ #define GD_MINOR_VERSION 3 /*version605b5d1778*/ #define GD_RELEASE_VERSION 0 /*version605b5d1778*/ #define GD_EXTRA_VERSION "" /*version605b5d1778*/ /* End parsable section. */ /* The version string. This is constructed from the version number * parts above via macro abuse^Wtrickery. */ #define GDXXX_VERSION_STR(mjr, mnr, rev, ext) mjr "." mnr "." rev ext #define GDXXX_STR(s) GDXXX_SSTR(s) /* Two levels needed to expand args. */ #define GDXXX_SSTR(s) #s #define GD_VERSION_STRING \ GDXXX_VERSION_STR(GDXXX_STR(GD_MAJOR_VERSION), \ GDXXX_STR(GD_MINOR_VERSION), \ GDXXX_STR(GD_RELEASE_VERSION), \ GD_EXTRA_VERSION) /* Do the DLL dance: dllexport when building the DLL, dllimport when importing from it, nothing when not on Silly Silly Windows (tm Aardman Productions). */ /* 2.0.20: for headers */ /* 2.0.24: __stdcall also needed for Visual BASIC and other languages. This breaks ABI compatibility with previous DLL revs, but it's necessary. */ /* 2.0.29: WIN32 programmers can declare the NONDLL macro if they wish to build gd as a static library or by directly including the gd sources in a project. */ /* http://gcc.gnu.org/wiki/Visibility */ #if defined(_WIN32) || defined(CYGWIN) || defined(_WIN32_WCE) # ifdef BGDWIN32 # ifdef NONDLL # define BGD_EXPORT_DATA_PROT # else # ifdef __GNUC__ # define BGD_EXPORT_DATA_PROT __attribute__ ((__dllexport__)) # else # define BGD_EXPORT_DATA_PROT __declspec(dllexport) # endif # endif # else # ifdef __GNUC__ # define BGD_EXPORT_DATA_PROT __attribute__ ((__dllimport__)) # else # define BGD_EXPORT_DATA_PROT __declspec(dllimport) # endif # endif # define BGD_STDCALL __stdcall # define BGD_EXPORT_DATA_IMPL #else # if defined(__GNUC__) || defined(__clang__) # define BGD_EXPORT_DATA_PROT __attribute__ ((__visibility__ ("default"))) # define BGD_EXPORT_DATA_IMPL __attribute__ ((__visibility__ ("hidden"))) # else # define BGD_EXPORT_DATA_PROT # define BGD_EXPORT_DATA_IMPL # endif # define BGD_STDCALL #endif #define BGD_DECLARE(rt) BGD_EXPORT_DATA_PROT rt BGD_STDCALL /* VS2012+ disable keyword macroizing unless _ALLOW_KEYWORD_MACROS is set We define inline, snprintf, and strcasecmp if they're missing */ #ifdef _MSC_VER # define _ALLOW_KEYWORD_MACROS # ifndef inline # define inline __inline # endif # ifndef strcasecmp # define strcasecmp _stricmp # endif #if _MSC_VER < 1900 extern int snprintf(char*, size_t, const char*, ...); #endif #endif /* gd.h: declarations file for the graphic-draw module. * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose and without fee is hereby granted, provided * that the above copyright notice appear in all copies and that both that * copyright notice and this permission notice appear in supporting * documentation. This software is provided "AS IS." Thomas Boutell and * Boutell.Com, Inc. disclaim all warranties, either express or implied, * including but not limited to implied warranties of merchantability and * fitness for a particular purpose, with respect to this code and accompanying * documentation. */ /* stdio is needed for file I/O. */ #include #include #include "gd_io.h" /* The maximum number of palette entries in palette-based images. In the wonderful new world of gd 2.0, you can of course have many more colors when using truecolor mode. */ #define gdMaxColors 256 /* Image type. See functions below; you will not need to change the elements directly. Use the provided macros to access sx, sy, the color table, and colorsTotal for read-only purposes. */ /* If 'truecolor' is set true, the image is truecolor; pixels are represented by integers, which must be 32 bits wide or more. True colors are repsented as follows: ARGB Where 'A' (alpha channel) occupies only the LOWER 7 BITS of the MSB. This very small loss of alpha channel resolution allows gd 2.x to keep backwards compatibility by allowing signed integers to be used to represent colors, and negative numbers to represent special cases, just as in gd 1.x. */ #define gdAlphaMax 127 #define gdAlphaOpaque 0 #define gdAlphaTransparent 127 #define gdRedMax 255 #define gdGreenMax 255 #define gdBlueMax 255 /** * Group: Color Decomposition */ /** * Macro: gdTrueColorGetAlpha * * Gets the alpha channel value * * Parameters: * c - The color * * See also: * - */ #define gdTrueColorGetAlpha(c) (((c) & 0x7F000000) >> 24) /** * Macro: gdTrueColorGetRed * * Gets the red channel value * * Parameters: * c - The color * * See also: * - */ #define gdTrueColorGetRed(c) (((c) & 0xFF0000) >> 16) /** * Macro: gdTrueColorGetGreen * * Gets the green channel value * * Parameters: * c - The color * * See also: * - */ #define gdTrueColorGetGreen(c) (((c) & 0x00FF00) >> 8) /** * Macro: gdTrueColorGetBlue * * Gets the blue channel value * * Parameters: * c - The color * * See also: * - */ #define gdTrueColorGetBlue(c) ((c) & 0x0000FF) /** * Group: Effects * * The layering effect * * When pixels are drawn the new colors are "mixed" with the background * depending on the effect. * * Note that the effect does not apply to palette images, where pixels * are always replaced. * * Modes: * gdEffectReplace - replace pixels * gdEffectAlphaBlend - blend pixels, see * gdEffectNormal - default mode; same as gdEffectAlphaBlend * gdEffectOverlay - overlay pixels, see * gdEffectMultiply - overlay pixels with multiply effect, see * * * See also: * - */ #define gdEffectReplace 0 #define gdEffectAlphaBlend 1 #define gdEffectNormal 2 #define gdEffectOverlay 3 #define gdEffectMultiply 4 #define GD_TRUE 1 #define GD_FALSE 0 #define GD_EPSILON 1e-6 #ifndef M_PI # define M_PI 3.14159265358979323846 #endif /* This function accepts truecolor pixel values only. The source color is composited with the destination color based on the alpha channel value of the source color. The resulting color is opaque. */ BGD_DECLARE(int) gdAlphaBlend (int dest, int src); BGD_DECLARE(int) gdLayerOverlay (int dest, int src); BGD_DECLARE(int) gdLayerMultiply (int dest, int src); /** * Group: Color Quantization * * Enum: gdPaletteQuantizationMethod * * Constants: * GD_QUANT_DEFAULT - GD_QUANT_LIQ if libimagequant is available, * GD_QUANT_JQUANT otherwise. * GD_QUANT_JQUANT - libjpeg's old median cut. Fast, but only uses 16-bit * color. * GD_QUANT_NEUQUANT - NeuQuant - approximation using Kohonen neural network. * GD_QUANT_LIQ - A combination of algorithms used in libimagequant * aiming for the highest quality at cost of speed. * * Note that GD_QUANT_JQUANT does not retain the alpha channel, and * GD_QUANT_NEUQUANT does not support dithering. * * See also: * - */ enum gdPaletteQuantizationMethod { GD_QUANT_DEFAULT = 0, GD_QUANT_JQUANT = 1, GD_QUANT_NEUQUANT = 2, GD_QUANT_LIQ = 3 }; /** * Group: Transform * * Constants: gdInterpolationMethod * * GD_BELL - Bell * GD_BESSEL - Bessel * GD_BILINEAR_FIXED - fixed point bilinear * GD_BICUBIC - Bicubic * GD_BICUBIC_FIXED - fixed point bicubic integer * GD_BLACKMAN - Blackman * GD_BOX - Box * GD_BSPLINE - BSpline * GD_CATMULLROM - Catmullrom * GD_GAUSSIAN - Gaussian * GD_GENERALIZED_CUBIC - Generalized cubic * GD_HERMITE - Hermite * GD_HAMMING - Hamming * GD_HANNING - Hannig * GD_MITCHELL - Mitchell * GD_NEAREST_NEIGHBOUR - Nearest neighbour interpolation * GD_POWER - Power * GD_QUADRATIC - Quadratic * GD_SINC - Sinc * GD_TRIANGLE - Triangle * GD_WEIGHTED4 - 4 pixels weighted bilinear interpolation * GD_LINEAR - bilinear interpolation * * See also: * - * - */ typedef enum { GD_DEFAULT = 0, GD_BELL, GD_BESSEL, GD_BILINEAR_FIXED, GD_BICUBIC, GD_BICUBIC_FIXED, GD_BLACKMAN, GD_BOX, GD_BSPLINE, GD_CATMULLROM, GD_GAUSSIAN, GD_GENERALIZED_CUBIC, GD_HERMITE, GD_HAMMING, GD_HANNING, GD_MITCHELL, GD_NEAREST_NEIGHBOUR, GD_POWER, GD_QUADRATIC, GD_SINC, GD_TRIANGLE, GD_WEIGHTED4, GD_LINEAR, GD_METHOD_COUNT = 23 } gdInterpolationMethod; /* define struct with name and func ptr and add it to gdImageStruct gdInterpolationMethod interpolation; */ /* Interpolation function ptr */ typedef double (* interpolation_method )(double); /* Group: Types typedef: gdImage typedef: gdImagePtr The data structure in which gd stores images. , and the various image file-loading functions return a pointer to this type, and the other functions expect to receive a pointer to this type as their first argument. *gdImagePtr* is a pointer to *gdImage*. See also: (Previous versions of this library encouraged directly manipulating the contents ofthe struct but we are attempting to move away from this practice so the fields are no longer documented here. If you need to poke at the internals of this struct, feel free to look at *gd.h*.) */ typedef struct gdImageStruct { /* Palette-based image pixels */ unsigned char **pixels; int sx; int sy; /* These are valid in palette images only. See also 'alpha', which appears later in the structure to preserve binary backwards compatibility */ int colorsTotal; int red[gdMaxColors]; int green[gdMaxColors]; int blue[gdMaxColors]; int open[gdMaxColors]; /* For backwards compatibility, this is set to the first palette entry with 100% transparency, and is also set and reset by the gdImageColorTransparent function. Newer applications can allocate palette entries with any desired level of transparency; however, bear in mind that many viewers, notably many web browsers, fail to implement full alpha channel for PNG and provide support for full opacity or transparency only. */ int transparent; int *polyInts; int polyAllocated; struct gdImageStruct *brush; struct gdImageStruct *tile; int brushColorMap[gdMaxColors]; int tileColorMap[gdMaxColors]; int styleLength; int stylePos; int *style; int interlace; /* New in 2.0: thickness of line. Initialized to 1. */ int thick; /* New in 2.0: alpha channel for palettes. Note that only Macintosh Internet Explorer and (possibly) Netscape 6 really support multiple levels of transparency in palettes, to my knowledge, as of 2/15/01. Most common browsers will display 100% opaque and 100% transparent correctly, and do something unpredictable and/or undesirable for levels in between. TBB */ int alpha[gdMaxColors]; /* Truecolor flag and pixels. New 2.0 fields appear here at the end to minimize breakage of existing object code. */ int trueColor; int **tpixels; /* Should alpha channel be copied, or applied, each time a pixel is drawn? This applies to truecolor images only. No attempt is made to alpha-blend in palette images, even if semitransparent palette entries exist. To do that, build your image as a truecolor image, then quantize down to 8 bits. */ int alphaBlendingFlag; /* Should the alpha channel of the image be saved? This affects PNG at the moment; other future formats may also have that capability. JPEG doesn't. */ int saveAlphaFlag; /* There should NEVER BE ACCESSOR MACROS FOR ITEMS BELOW HERE, so this part of the structure can be safely changed in new releases. */ /* 2.0.12: anti-aliased globals. 2.0.26: just a few vestiges after switching to the fast, memory-cheap implementation from PHP-gd. */ int AA; int AA_color; int AA_dont_blend; /* 2.0.12: simple clipping rectangle. These values must be checked for safety when set; please use gdImageSetClip */ int cx1; int cy1; int cx2; int cy2; /* 2.1.0: allows to specify resolution in dpi */ unsigned int res_x; unsigned int res_y; /* Selects quantization method, see gdImageTrueColorToPaletteSetMethod() and gdPaletteQuantizationMethod enum. */ int paletteQuantizationMethod; /* speed/quality trade-off. 1 = best quality, 10 = best speed. 0 = method-specific default. Applicable to GD_QUANT_LIQ and GD_QUANT_NEUQUANT. */ int paletteQuantizationSpeed; /* Image will remain true-color if conversion to palette cannot achieve given quality. Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/ int paletteQuantizationMinQuality; /* Image will use minimum number of palette colors needed to achieve given quality. Must be higher than paletteQuantizationMinQuality Value from 1 to 100, 1 = ugly, 100 = perfect. Applicable to GD_QUANT_LIQ.*/ int paletteQuantizationMaxQuality; gdInterpolationMethod interpolation_id; interpolation_method interpolation; } gdImage; typedef gdImage *gdImagePtr; /* Point type for use in polygon drawing. */ /** * Group: Types * * typedef: gdPointF * Defines a point in a 2D coordinate system using floating point * values. * x - Floating point position (increase from left to right) * y - Floating point Row position (increase from top to bottom) * * typedef: gdPointFPtr * Pointer to a * * See also: * , , **/ typedef struct { double x, y; } gdPointF, *gdPointFPtr; /* Group: Types typedef: gdFont typedef: gdFontPtr A font structure, containing the bitmaps of all characters in a font. Used to declare the characteristics of a font. Text-output functions expect these as their second argument, following the argument. and both return one. You can provide your own font data by providing such a structure and the associated pixel array. You can determine the width and height of a single character in a font by examining the w and h members of the structure. If you will not be creating your own fonts, you will not need to concern yourself with the rest of the components of this structure. Please see the files gdfontl.c and gdfontl.h for an example of the proper declaration of this structure. > typedef struct { > // # of characters in font > int nchars; > // First character is numbered... (usually 32 = space) > int offset; > // Character width and height > int w; > int h; > // Font data; array of characters, one row after another. > // Easily included in code, also easily loaded from > // data files. > char *data; > } gdFont; gdFontPtr is a pointer to gdFont. */ typedef struct { /* # of characters in font */ int nchars; /* First character is numbered... (usually 32 = space) */ int offset; /* Character width and height */ int w; int h; /* Font data; array of characters, one row after another. Easily included in code, also easily loaded from data files. */ char *data; } gdFont; /* Text functions take these. */ typedef gdFont *gdFontPtr; typedef void(*gdErrorMethod)(int, const char *, va_list); BGD_DECLARE(void) gdSetErrorMethod(gdErrorMethod); BGD_DECLARE(void) gdClearErrorMethod(void); /* For backwards compatibility only. Use gdImageSetStyle() for MUCH more flexible line drawing. Also see gdImageSetBrush(). */ #define gdDashSize 4 /** * Group: Colors * * Colors are always of type int which is supposed to be at least 32 bit large. * * Kinds of colors: * true colors - ARGB values where the alpha channel is stored as most * significant, and the blue channel as least significant * byte. Note that the alpha channel only uses the 7 least * significant bits. * Don't rely on the internal representation, though, and * use to compose a truecolor value, and * , , * and to access * the respective channels. * palette indexes - The index of a color palette entry (0-255). * special colors - As listed in the following section. * * Constants: Special Colors * gdStyled - use the current style, see * gdBrushed - use the current brush, see * gdStyledBrushed - use the current style and brush * gdTiled - use the current tile, see * gdTransparent - indicate transparency, what is not the same as the * transparent color index; used for lines only * gdAntiAliased - draw anti aliased */ #define gdStyled (-2) #define gdBrushed (-3) #define gdStyledBrushed (-4) #define gdTiled (-5) #define gdTransparent (-6) #define gdAntiAliased (-7) /* Functions to manipulate images. */ /* Creates a palette-based image (up to 256 colors). */ BGD_DECLARE(gdImagePtr) gdImageCreate (int sx, int sy); /* An alternate name for the above (2.0). */ #define gdImageCreatePalette gdImageCreate /* Creates a truecolor image (millions of colors). */ BGD_DECLARE(gdImagePtr) gdImageCreateTrueColor (int sx, int sy); /* Creates an image from various file types. These functions return a palette or truecolor image based on the nature of the file being loaded. Truecolor PNG stays truecolor; palette PNG stays palette-based; JPEG is always truecolor. */ BGD_DECLARE(gdImagePtr) gdImageCreateFromPng (FILE * fd); BGD_DECLARE(gdImagePtr) gdImageCreateFromPngCtx (gdIOCtxPtr in); BGD_DECLARE(gdImagePtr) gdImageCreateFromPngPtr (int size, void *data); /* These read the first frame only */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGif (FILE * fd); BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx (gdIOCtxPtr in); BGD_DECLARE(gdImagePtr) gdImageCreateFromGifPtr (int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMP (FILE * inFile); BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPCtx (gdIOCtx * infile); BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPPtr (int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromJpeg (FILE * infile); BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegEx (FILE * infile, int ignore_warning); BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtx (gdIOCtx * infile); BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtxEx (gdIOCtx * infile, int ignore_warning); BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtr (int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtrEx (int size, void *data, int ignore_warning); BGD_DECLARE(gdImagePtr) gdImageCreateFromWebp (FILE * inFile); BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpPtr (int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx (gdIOCtx * infile); BGD_DECLARE(gdImagePtr) gdImageCreateFromTiff(FILE *inFile); BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffCtx(gdIOCtx *infile); BGD_DECLARE(gdImagePtr) gdImageCreateFromTiffPtr(int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromTga( FILE * fp ); BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaCtx(gdIOCtx* ctx); BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaPtr(int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromBmp (FILE * inFile); BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpPtr (int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpCtx (gdIOCtxPtr infile); BGD_DECLARE(gdImagePtr) gdImageCreateFromFile(const char *filename); /* Group: Types typedef: gdSource typedef: gdSourcePtr *Note:* This interface is *obsolete* and kept only for *compatibility. Use instead. Represents a source from which a PNG can be read. Programmers who do not wish to read PNGs from a file can provide their own alternate input mechanism, using the function. See the documentation of that function for an example of the proper use of this type. > typedef struct { > int (*source) (void *context, char *buffer, int len); > void *context; > } gdSource, *gdSourcePtr; The source function must return -1 on error, otherwise the number of bytes fetched. 0 is EOF, not an error! 'context' will be passed to your source function. */ typedef struct { int (*source) (void *context, char *buffer, int len); void *context; } gdSource, *gdSourcePtr; /* Deprecated in favor of gdImageCreateFromPngCtx */ BGD_DECLARE(gdImagePtr) gdImageCreateFromPngSource (gdSourcePtr in); BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * in); BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx (gdIOCtxPtr in); BGD_DECLARE(gdImagePtr) gdImageCreateFromGdPtr (int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * in); BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx (gdIOCtxPtr in); BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ptr (int size, void *data); BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * in, int srcx, int srcy, int w, int h); BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartCtx (gdIOCtxPtr in, int srcx, int srcy, int w, int h); BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy, int w, int h); /* 2.0.10: prototype was missing */ BGD_DECLARE(gdImagePtr) gdImageCreateFromXbm (FILE * in); BGD_DECLARE(void) gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out); /* NOTE: filename, not FILE */ BGD_DECLARE(gdImagePtr) gdImageCreateFromXpm (char *filename); BGD_DECLARE(void) gdImageDestroy (gdImagePtr im); /* Replaces or blends with the background depending on the most recent call to gdImageAlphaBlending and the alpha channel value of 'color'; default is to overwrite. Tiling and line styling are also implemented here. All other gd drawing functions pass through this call, allowing for many useful effects. Overlay and multiply effects are used when gdImageAlphaBlending is passed gdEffectOverlay and gdEffectMultiply */ BGD_DECLARE(void) gdImageSetPixel (gdImagePtr im, int x, int y, int color); /* FreeType 2 text output with hook to extra flags */ BGD_DECLARE(int) gdImageGetPixel (gdImagePtr im, int x, int y); BGD_DECLARE(int) gdImageGetTrueColorPixel (gdImagePtr im, int x, int y); BGD_DECLARE(void) gdImageAABlend (gdImagePtr im); BGD_DECLARE(void) gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color); /* For backwards compatibility only. Use gdImageSetStyle() for much more flexible line drawing. */ BGD_DECLARE(void) gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color); /* Corners specified (not width and height). Upper left first, lower right second. */ BGD_DECLARE(void) gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color); /* Solid bar. Upper left corner first, lower right corner second. */ BGD_DECLARE(void) gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color); BGD_DECLARE(void) gdImageSetClip(gdImagePtr im, int x1, int y1, int x2, int y2); BGD_DECLARE(void) gdImageGetClip(gdImagePtr im, int *x1P, int *y1P, int *x2P, int *y2P); BGD_DECLARE(void) gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y); BGD_DECLARE(int) gdImageBoundsSafe (gdImagePtr im, int x, int y); BGD_DECLARE(void) gdImageChar (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color); BGD_DECLARE(void) gdImageCharUp (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color); BGD_DECLARE(void) gdImageString (gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color); BGD_DECLARE(void) gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color); BGD_DECLARE(void) gdImageString16 (gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color); BGD_DECLARE(void) gdImageStringUp16 (gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color); /* 2.0.16: for thread-safe use of gdImageStringFT and friends, call this before allowing any thread to call gdImageStringFT. Otherwise it is invoked by the first thread to invoke gdImageStringFT, with a very small but real risk of a race condition. Return 0 on success, nonzero on failure to initialize freetype. */ BGD_DECLARE(int) gdFontCacheSetup (void); /* Optional: clean up after application is done using fonts in gdImageStringFT(). */ BGD_DECLARE(void) gdFontCacheShutdown (void); /* 2.0.20: for backwards compatibility. A few applications did start calling this function when it first appeared although it was never documented. Simply invokes gdFontCacheShutdown. */ BGD_DECLARE(void) gdFreeFontCache (void); /* Calls gdImageStringFT. Provided for backwards compatibility only. */ BGD_DECLARE(char *) gdImageStringTTF (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string); /* FreeType 2 text output */ BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string); /* Group: Types typedef: gdFTStringExtra typedef: gdFTStringExtraPtr A structure and associated pointer type used to pass additional parameters to the function. See for the structure definition. Thanks to Wez Furlong. */ /* 2.0.5: provides an extensible way to pass additional parameters. Thanks to Wez Furlong, sorry for the delay. */ typedef struct { int flags; /* Logical OR of gdFTEX_ values */ double linespacing; /* fine tune line spacing for '\n' */ int charmap; /* TBB: 2.0.12: may be gdFTEX_Unicode, gdFTEX_Shift_JIS, gdFTEX_Big5, or gdFTEX_Adobe_Custom; when not specified, maps are searched for in the above order. */ int hdpi; /* if (flags & gdFTEX_RESOLUTION) */ int vdpi; /* if (flags & gdFTEX_RESOLUTION) */ char *xshow; /* if (flags & gdFTEX_XSHOW) then, on return, xshow is a malloc'ed string containing xshow position data for the last string. NB. The caller is responsible for gdFree'ing the xshow string. */ char *fontpath; /* if (flags & gdFTEX_RETURNFONTPATHNAME) then, on return, fontpath is a malloc'ed string containing the actual font file path name used, which can be interesting when fontconfig is in use. The caller is responsible for gdFree'ing the fontpath string. */ } gdFTStringExtra, *gdFTStringExtraPtr; #define gdFTEX_LINESPACE 1 #define gdFTEX_CHARMAP 2 #define gdFTEX_RESOLUTION 4 #define gdFTEX_DISABLE_KERNING 8 #define gdFTEX_XSHOW 16 /* The default unless gdFTUseFontConfig(1); has been called: fontlist is a full or partial font file pathname or list thereof (i.e. just like before 2.0.29) */ #define gdFTEX_FONTPATHNAME 32 /* Necessary to use fontconfig patterns instead of font pathnames as the fontlist argument, unless gdFTUseFontConfig(1); has been called. New in 2.0.29 */ #define gdFTEX_FONTCONFIG 64 /* Sometimes interesting when fontconfig is used: the fontpath element of the structure above will contain a gdMalloc'd string copy of the actual font file pathname used, if this flag is set when the call is made */ #define gdFTEX_RETURNFONTPATHNAME 128 /* If flag is nonzero, the fontlist parameter to gdImageStringFT and gdImageStringFTEx shall be assumed to be a fontconfig font pattern if fontconfig was compiled into gd. This function returns zero if fontconfig is not available, nonzero otherwise. */ BGD_DECLARE(int) gdFTUseFontConfig(int flag); /* These are NOT flags; set one in 'charmap' if you set the gdFTEX_CHARMAP bit in 'flags'. */ #define gdFTEX_Unicode 0 #define gdFTEX_Shift_JIS 1 #define gdFTEX_Big5 2 #define gdFTEX_Adobe_Custom 3 BGD_DECLARE(char *) gdImageStringFTEx (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string, gdFTStringExtraPtr strex); /* Group: Types typedef: gdPoint typedef: gdPointPtr Represents a point in the coordinate space of the image; used by , and for polygon drawing. > typedef struct { > int x, y; > } gdPoint, *gdPointPtr; */ typedef struct { int x, y; } gdPoint, *gdPointPtr; /** * Typedef: gdRect * * A rectangle in the coordinate space of the image * * Members: * x - The x-coordinate of the upper left corner. * y - The y-coordinate of the upper left corner. * width - The width. * height - The height. * * Typedef: gdRectPtr * * A pointer to a */ typedef struct { int x, y; int width, height; } gdRect, *gdRectPtr; BGD_DECLARE(void) gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c); BGD_DECLARE(void) gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c); BGD_DECLARE(void) gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c); /* These functions still work with truecolor images, for which they never return error. */ BGD_DECLARE(int) gdImageColorAllocate (gdImagePtr im, int r, int g, int b); /* gd 2.0: palette entries with non-opaque transparency are permitted. */ BGD_DECLARE(int) gdImageColorAllocateAlpha (gdImagePtr im, int r, int g, int b, int a); /* Assumes opaque is the preferred alpha channel value */ BGD_DECLARE(int) gdImageColorClosest (gdImagePtr im, int r, int g, int b); /* Closest match taking all four parameters into account. A slightly different color with the same transparency beats the exact same color with radically different transparency */ BGD_DECLARE(int) gdImageColorClosestAlpha (gdImagePtr im, int r, int g, int b, int a); /* An alternate method */ BGD_DECLARE(int) gdImageColorClosestHWB (gdImagePtr im, int r, int g, int b); /* Returns exact, 100% opaque matches only */ BGD_DECLARE(int) gdImageColorExact (gdImagePtr im, int r, int g, int b); /* Returns an exact match only, including alpha */ BGD_DECLARE(int) gdImageColorExactAlpha (gdImagePtr im, int r, int g, int b, int a); /* Opaque only */ BGD_DECLARE(int) gdImageColorResolve (gdImagePtr im, int r, int g, int b); /* Based on gdImageColorExactAlpha and gdImageColorClosestAlpha */ BGD_DECLARE(int) gdImageColorResolveAlpha (gdImagePtr im, int r, int g, int b, int a); /* A simpler way to obtain an opaque truecolor value for drawing on a truecolor image. Not for use with palette images! */ #define gdTrueColor(r, g, b) (((r) << 16) + \ ((g) << 8) + \ (b)) /** * Group: Color Composition * * Macro: gdTrueColorAlpha * * Compose a truecolor value from its components * * Parameters: * r - The red channel (0-255) * g - The green channel (0-255) * b - The blue channel (0-255) * a - The alpha channel (0-127, where 127 is fully transparent, and 0 is * completely opaque). * * See also: * - * - * - * - * - */ #define gdTrueColorAlpha(r, g, b, a) (((a) << 24) + \ ((r) << 16) + \ ((g) << 8) + \ (b)) BGD_DECLARE(void) gdImageColorDeallocate (gdImagePtr im, int color); /* Converts a truecolor image to a palette-based image, using a high-quality two-pass quantization routine which attempts to preserve alpha channel information as well as R/G/B color information when creating a palette. If ditherFlag is set, the image will be dithered to approximate colors better, at the expense of some obvious "speckling." colorsWanted can be anything up to 256. If the original source image includes photographic information or anything that came out of a JPEG, 256 is strongly recommended. Better yet, don't use these function -- write real truecolor PNGs and JPEGs. The disk space gain of conversion to palette is not great (for small images it can be negative) and the quality loss is ugly. DIFFERENCES: gdImageCreatePaletteFromTrueColor creates and returns a new image. gdImageTrueColorToPalette modifies an existing image, and the truecolor pixels are discarded. gdImageTrueColorToPalette() returns TRUE on success, FALSE on failure. */ BGD_DECLARE(gdImagePtr) gdImageCreatePaletteFromTrueColor (gdImagePtr im, int ditherFlag, int colorsWanted); BGD_DECLARE(int) gdImageTrueColorToPalette (gdImagePtr im, int ditherFlag, int colorsWanted); BGD_DECLARE(int) gdImagePaletteToTrueColor(gdImagePtr src); /* An attempt at getting the results of gdImageTrueColorToPalette to * look a bit more like the original (im1 is the original and im2 is * the palette version */ BGD_DECLARE(int) gdImageColorMatch(gdImagePtr im1, gdImagePtr im2); /* Selects quantization method used for subsequent gdImageTrueColorToPalette calls. See gdPaletteQuantizationMethod enum (e.g. GD_QUANT_NEUQUANT, GD_QUANT_LIQ). Speed is from 1 (highest quality) to 10 (fastest). Speed 0 selects method-specific default (recommended). Returns FALSE if the given method is invalid or not available. */ BGD_DECLARE(int) gdImageTrueColorToPaletteSetMethod (gdImagePtr im, int method, int speed); /* Chooses quality range that subsequent call to gdImageTrueColorToPalette will aim for. Min and max quality is in range 1-100 (1 = ugly, 100 = perfect). Max must be higher than min. If palette cannot represent image with at least min_quality, then image will remain true-color. If palette can represent image with quality better than max_quality, then lower number of colors will be used. This function has effect only when GD_QUANT_LIQ method has been selected and the source image is true-color. */ BGD_DECLARE(void) gdImageTrueColorToPaletteSetQuality (gdImagePtr im, int min_quality, int max_quality); /* Specifies a color index (if a palette image) or an RGB color (if a truecolor image) which should be considered 100% transparent. FOR TRUECOLOR IMAGES, THIS IS IGNORED IF AN ALPHA CHANNEL IS BEING SAVED. Use gdImageSaveAlpha(im, 0); to turn off the saving of a full alpha channel in a truecolor image. Note that gdImageColorTransparent is usually compatible with older browsers that do not understand full alpha channels well. TBB */ BGD_DECLARE(void) gdImageColorTransparent (gdImagePtr im, int color); BGD_DECLARE(void) gdImagePaletteCopy (gdImagePtr dst, gdImagePtr src); typedef int (*gdCallbackImageColor)(gdImagePtr im, int src); BGD_DECLARE(int) gdImageColorReplace(gdImagePtr im, int src, int dst); BGD_DECLARE(int) gdImageColorReplaceThreshold(gdImagePtr im, int src, int dst, float threshold); BGD_DECLARE(int) gdImageColorReplaceArray(gdImagePtr im, int len, int *src, int *dst); BGD_DECLARE(int) gdImageColorReplaceCallback(gdImagePtr im, gdCallbackImageColor callback); BGD_DECLARE(void) gdImageGif (gdImagePtr im, FILE * out); BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * out); BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * out); BGD_DECLARE(void) gdImageGifCtx (gdImagePtr im, gdIOCtx * out); BGD_DECLARE(void) gdImageTiff(gdImagePtr im, FILE *outFile); BGD_DECLARE(void *) gdImageTiffPtr(gdImagePtr im, int *size); BGD_DECLARE(void) gdImageTiffCtx(gdImagePtr image, gdIOCtx *out); BGD_DECLARE(void *) gdImageBmpPtr(gdImagePtr im, int *size, int compression); BGD_DECLARE(void) gdImageBmp(gdImagePtr im, FILE *outFile, int compression); BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression); /* 2.0.12: Compression level: 0-9 or -1, where 0 is NO COMPRESSION at all, 1 is FASTEST but produces larger files, 9 provides the best compression (smallest files) but takes a long time to compress, and -1 selects the default compiled into the zlib library. */ BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * out, int level); BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * out, int level); BGD_DECLARE(void) gdImageWBMP (gdImagePtr image, int fg, FILE * out); BGD_DECLARE(void) gdImageWBMPCtx (gdImagePtr image, int fg, gdIOCtx * out); BGD_DECLARE(int) gdImageFile(gdImagePtr im, const char *filename); BGD_DECLARE(int) gdSupportsFileType(const char *filename, int writing); /* Guaranteed to correctly free memory returned by the gdImage*Ptr functions */ BGD_DECLARE(void) gdFree (void *m); /* Best to free this memory with gdFree(), not free() */ BGD_DECLARE(void *) gdImageWBMPPtr (gdImagePtr im, int *size, int fg); /* 100 is highest quality (there is always a little loss with JPEG). 0 is lowest. 10 is about the lowest useful setting. */ BGD_DECLARE(void) gdImageJpeg (gdImagePtr im, FILE * out, int quality); BGD_DECLARE(void) gdImageJpegCtx (gdImagePtr im, gdIOCtx * out, int quality); /* Best to free this memory with gdFree(), not free() */ BGD_DECLARE(void *) gdImageJpegPtr (gdImagePtr im, int *size, int quality); BGD_DECLARE(void) gdImageWebpEx (gdImagePtr im, FILE * outFile, int quantization); BGD_DECLARE(void) gdImageWebp (gdImagePtr im, FILE * outFile); BGD_DECLARE(void *) gdImageWebpPtr (gdImagePtr im, int *size); BGD_DECLARE(void *) gdImageWebpPtrEx (gdImagePtr im, int *size, int quantization); BGD_DECLARE(void) gdImageWebpCtx (gdImagePtr im, gdIOCtx * outfile, int quantization); /** * Group: GifAnim * * Legal values for Disposal. gdDisposalNone is always used by * the built-in optimizer if previm is passed. * * Constants: gdImageGifAnim * * gdDisposalUnknown - Not recommended * gdDisposalNone - Preserve previous frame * gdDisposalRestoreBackground - First allocated color of palette * gdDisposalRestorePrevious - Restore to before start of frame * * See also: * - */ enum { gdDisposalUnknown, gdDisposalNone, gdDisposalRestoreBackground, gdDisposalRestorePrevious }; BGD_DECLARE(void) gdImageGifAnimBegin(gdImagePtr im, FILE *outFile, int GlobalCM, int Loops); BGD_DECLARE(void) gdImageGifAnimAdd(gdImagePtr im, FILE *outFile, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm); BGD_DECLARE(void) gdImageGifAnimEnd(FILE *outFile); BGD_DECLARE(void) gdImageGifAnimBeginCtx(gdImagePtr im, gdIOCtx *out, int GlobalCM, int Loops); BGD_DECLARE(void) gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtx *out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm); BGD_DECLARE(void) gdImageGifAnimEndCtx(gdIOCtx *out); BGD_DECLARE(void *) gdImageGifAnimBeginPtr(gdImagePtr im, int *size, int GlobalCM, int Loops); BGD_DECLARE(void *) gdImageGifAnimAddPtr(gdImagePtr im, int *size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm); BGD_DECLARE(void *) gdImageGifAnimEndPtr(int *size); /* Group: Types typedef: gdSink typedef: gdSinkPtr *Note:* This interface is *obsolete* and kept only for *compatibility*. Use instead. Represents a "sink" (destination) to which a PNG can be written. Programmers who do not wish to write PNGs to a file can provide their own alternate output mechanism, using the function. See the documentation of that function for an example of the proper use of this type. > typedef struct { > int (*sink) (void *context, char *buffer, int len); > void *context; > } gdSink, *gdSinkPtr; The _sink_ function must return -1 on error, otherwise the number of bytes written, which must be equal to len. _context_ will be passed to your sink function. */ typedef struct { int (*sink) (void *context, const char *buffer, int len); void *context; } gdSink, *gdSinkPtr; BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr out); BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * out); BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * out, int cs, int fmt); /* Best to free this memory with gdFree(), not free() */ BGD_DECLARE(void *) gdImageGifPtr (gdImagePtr im, int *size); /* Best to free this memory with gdFree(), not free() */ BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int *size); BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, int *size, int level); /* Best to free this memory with gdFree(), not free() */ BGD_DECLARE(void *) gdImageGdPtr (gdImagePtr im, int *size); /* Best to free this memory with gdFree(), not free() */ BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size); /* Style is a bitwise OR ( | operator ) of these. gdArc and gdChord are mutually exclusive; gdChord just connects the starting and ending angles with a straight line, while gdArc produces a rounded edge. gdPie is a synonym for gdArc. gdNoFill indicates that the arc or chord should be outlined, not filled. gdEdged, used together with gdNoFill, indicates that the beginning and ending angles should be connected to the center; this is a good way to outline (rather than fill) a 'pie slice'. */ #define gdArc 0 #define gdPie gdArc #define gdChord 1 #define gdNoFill 2 #define gdEdged 4 BGD_DECLARE(void) gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color, int style); BGD_DECLARE(void) gdImageArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color); BGD_DECLARE(void) gdImageEllipse(gdImagePtr im, int cx, int cy, int w, int h, int color); BGD_DECLARE(void) gdImageFilledEllipse (gdImagePtr im, int cx, int cy, int w, int h, int color); BGD_DECLARE(void) gdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color); BGD_DECLARE(void) gdImageFill (gdImagePtr im, int x, int y, int color); BGD_DECLARE(void) gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h); BGD_DECLARE(void) gdImageCopyMerge (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct); BGD_DECLARE(void) gdImageCopyMergeGray (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct); /* Stretches or shrinks to fit, as needed. Does NOT attempt to average the entire set of source pixels that scale down onto the destination pixel. */ BGD_DECLARE(void) gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH); /* gd 2.0: stretches or shrinks to fit, as needed. When called with a truecolor destination image, this function averages the entire set of source pixels that scale down onto the destination pixel, taking into account what portion of the destination pixel each source pixel represents. This is a floating point operation, but this is not a performance issue on modern hardware, except for some embedded devices. If the destination is a palette image, gdImageCopyResized is substituted automatically. */ BGD_DECLARE(void) gdImageCopyResampled (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH); /* gd 2.0.8: gdImageCopyRotated is added. Source is a rectangle, with its upper left corner at srcX and srcY. Destination is the *center* of the rotated copy. Angle is in degrees, same as gdImageArc. Floating point destination center coordinates allow accurate rotation of objects of odd-numbered width or height. */ BGD_DECLARE(void) gdImageCopyRotated (gdImagePtr dst, gdImagePtr src, double dstX, double dstY, int srcX, int srcY, int srcWidth, int srcHeight, int angle); BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src); BGD_DECLARE(void) gdImageSetBrush (gdImagePtr im, gdImagePtr brush); BGD_DECLARE(void) gdImageSetTile (gdImagePtr im, gdImagePtr tile); BGD_DECLARE(void) gdImageSetAntiAliased (gdImagePtr im, int c); BGD_DECLARE(void) gdImageSetAntiAliasedDontBlend (gdImagePtr im, int c, int dont_blend); BGD_DECLARE(void) gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels); /* Line thickness (defaults to 1). Affects lines, ellipses, rectangles, polygons and so forth. */ BGD_DECLARE(void) gdImageSetThickness (gdImagePtr im, int thickness); /* On or off (1 or 0) for all three of these. */ BGD_DECLARE(void) gdImageInterlace (gdImagePtr im, int interlaceArg); BGD_DECLARE(void) gdImageAlphaBlending (gdImagePtr im, int alphaBlendingArg); BGD_DECLARE(void) gdImageSaveAlpha (gdImagePtr im, int saveAlphaArg); BGD_DECLARE(gdImagePtr) gdImageNeuQuant(gdImagePtr im, const int max_color, int sample_factor); enum gdPixelateMode { GD_PIXELATE_UPPERLEFT, GD_PIXELATE_AVERAGE }; BGD_DECLARE(int) gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode); typedef struct { int sub; int plus; unsigned int num_colors; int *colors; unsigned int seed; } gdScatter, *gdScatterPtr; BGD_DECLARE(int) gdImageScatter(gdImagePtr im, int sub, int plus); BGD_DECLARE(int) gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors); BGD_DECLARE(int) gdImageScatterEx(gdImagePtr im, gdScatterPtr s); BGD_DECLARE(int) gdImageSmooth(gdImagePtr im, float weight); BGD_DECLARE(int) gdImageMeanRemoval(gdImagePtr im); BGD_DECLARE(int) gdImageEmboss(gdImagePtr im); BGD_DECLARE(int) gdImageGaussianBlur(gdImagePtr im); BGD_DECLARE(int) gdImageEdgeDetectQuick(gdImagePtr src); BGD_DECLARE(int) gdImageSelectiveBlur( gdImagePtr src); BGD_DECLARE(int) gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset); BGD_DECLARE(int) gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha); BGD_DECLARE(int) gdImageContrast(gdImagePtr src, double contrast); BGD_DECLARE(int) gdImageBrightness(gdImagePtr src, int brightness); BGD_DECLARE(int) gdImageGrayScale(gdImagePtr src); BGD_DECLARE(int) gdImageNegate(gdImagePtr src); BGD_DECLARE(gdImagePtr) gdImageCopyGaussianBlurred(gdImagePtr src, int radius, double sigma); /** * Group: Accessor Macros */ /** * Macro: gdImageTrueColor * * Whether an image is a truecolor image. * * Parameters: * im - The image. * * Returns: * Non-zero if the image is a truecolor image, zero for palette images. */ #define gdImageTrueColor(im) ((im)->trueColor) /** * Macro: gdImageSX * * Gets the width (in pixels) of an image. * * Parameters: * im - The image. */ #define gdImageSX(im) ((im)->sx) /** * Macro: gdImageSY * * Gets the height (in pixels) of an image. * * Parameters: * im - The image. */ #define gdImageSY(im) ((im)->sy) /** * Macro: gdImageColorsTotal * * Gets the number of colors in the palette. * * This macro is only valid for palette images. * * Parameters: * im - The image */ #define gdImageColorsTotal(im) ((im)->colorsTotal) /** * Macro: gdImageRed * * Gets the red component value of a given color. * * Parameters: * im - The image. * c - The color. */ #define gdImageRed(im, c) ((im)->trueColor ? gdTrueColorGetRed(c) : \ (im)->red[(c)]) /** * Macro: gdImageGreen * * Gets the green component value of a given color. * * Parameters: * im - The image. * c - The color. */ #define gdImageGreen(im, c) ((im)->trueColor ? gdTrueColorGetGreen(c) : \ (im)->green[(c)]) /** * Macro: gdImageBlue * * Gets the blue component value of a given color. * * Parameters: * im - The image. * c - The color. */ #define gdImageBlue(im, c) ((im)->trueColor ? gdTrueColorGetBlue(c) : \ (im)->blue[(c)]) /** * Macro: gdImageAlpha * * Gets the alpha component value of a given color. * * Parameters: * im - The image. * c - The color. */ #define gdImageAlpha(im, c) ((im)->trueColor ? gdTrueColorGetAlpha(c) : \ (im)->alpha[(c)]) /** * Macro: gdImageGetTransparent * * Gets the transparent color of the image. * * Parameters: * im - The image. * * See also: * - */ #define gdImageGetTransparent(im) ((im)->transparent) /** * Macro: gdImageGetInterlaced * * Whether an image is interlaced. * * Parameters: * im - The image. * * Returns: * Non-zero for interlaced images, zero otherwise. * * See also: * - */ #define gdImageGetInterlaced(im) ((im)->interlace) /** * Macro: gdImagePalettePixel * * Gets the color of a pixel. * * Calling this macro is only valid for palette images. * No bounds checking is done for the coordinates. * * Parameters: * im - The image. * x - The x-coordinate. * y - The y-coordinate. * * See also: * - * - */ #define gdImagePalettePixel(im, x, y) (im)->pixels[(y)][(x)] /** * Macro: gdImageTrueColorPixel * * Gets the color of a pixel. * * Calling this macro is only valid for truecolor images. * No bounds checking is done for the coordinates. * * Parameters: * im - The image. * x - The x-coordinate. * y - The y-coordinate. * * See also: * - * - */ #define gdImageTrueColorPixel(im, x, y) (im)->tpixels[(y)][(x)] /** * Macro: gdImageResolutionX * * Gets the horizontal resolution in DPI. * * Parameters: * im - The image. * * See also: * - * - */ #define gdImageResolutionX(im) (im)->res_x /** * Macro: gdImageResolutionY * * Gets the vertical resolution in DPI. * * Parameters: * im - The image. * * See also: * - * - */ #define gdImageResolutionY(im) (im)->res_y /* I/O Support routines. */ BGD_DECLARE(gdIOCtx *) gdNewFileCtx (FILE *); /* If data is null, size is ignored and an initial data buffer is allocated automatically. NOTE: this function assumes gd has the right to free or reallocate "data" at will! Also note that gd will free "data" when the IO context is freed. If data is not null, it must point to memory allocated with gdMalloc, or by a call to gdImage[something]Ptr. If not, see gdNewDynamicCtxEx for an alternative. */ BGD_DECLARE(gdIOCtx *) gdNewDynamicCtx (int size, void *data); /* 2.0.21: if freeFlag is nonzero, gd will free and/or reallocate "data" as needed as described above. If freeFlag is zero, gd will never free or reallocate "data", which means that the context should only be used for *reading* an image from a memory buffer, or writing an image to a memory buffer which is already large enough. If the memory buffer is not large enough and an image write is attempted, the write operation will fail. Those wishing to write an image to a buffer in memory have a much simpler alternative in the gdImage[something]Ptr functions. */ BGD_DECLARE(gdIOCtx *) gdNewDynamicCtxEx (int size, void *data, int freeFlag); BGD_DECLARE(gdIOCtx *) gdNewSSCtx (gdSourcePtr in, gdSinkPtr out); BGD_DECLARE(void *) gdDPExtractData (struct gdIOCtx *ctx, int *size); #define GD2_CHUNKSIZE 128 #define GD2_CHUNKSIZE_MIN 64 #define GD2_CHUNKSIZE_MAX 4096 #define GD2_VERS 2 #define GD2_ID "gd2" #define GD2_FMT_RAW 1 #define GD2_FMT_COMPRESSED 2 /* Image comparison definitions */ BGD_DECLARE(int) gdImageCompare (gdImagePtr im1, gdImagePtr im2); BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im); BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im); BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im); #define GD_FLIP_HORINZONTAL 1 #define GD_FLIP_VERTICAL 2 #define GD_FLIP_BOTH 3 /** * Group: Crop * * Constants: gdCropMode * GD_CROP_DEFAULT - Same as GD_CROP_TRANSPARENT * GD_CROP_TRANSPARENT - Crop using the transparent color * GD_CROP_BLACK - Crop black borders * GD_CROP_WHITE - Crop white borders * GD_CROP_SIDES - Crop using colors of the 4 corners * * See also: * - **/ enum gdCropMode { GD_CROP_DEFAULT = 0, GD_CROP_TRANSPARENT, GD_CROP_BLACK, GD_CROP_WHITE, GD_CROP_SIDES, GD_CROP_THRESHOLD }; BGD_DECLARE(gdImagePtr) gdImageCrop(gdImagePtr src, const gdRect *crop); BGD_DECLARE(gdImagePtr) gdImageCropAuto(gdImagePtr im, const unsigned int mode); BGD_DECLARE(gdImagePtr) gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold); BGD_DECLARE(int) gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMethod id); BGD_DECLARE(gdInterpolationMethod) gdImageGetInterpolationMethod(gdImagePtr im); BGD_DECLARE(gdImagePtr) gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height); BGD_DECLARE(gdImagePtr) gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor); typedef enum { GD_AFFINE_TRANSLATE = 0, GD_AFFINE_SCALE, GD_AFFINE_ROTATE, GD_AFFINE_SHEAR_HORIZONTAL, GD_AFFINE_SHEAR_VERTICAL } gdAffineStandardMatrix; BGD_DECLARE(int) gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, const double affine[6]); BGD_DECLARE(int) gdAffineInvert (double dst[6], const double src[6]); BGD_DECLARE(int) gdAffineFlip (double dst_affine[6], const double src_affine[6], const int flip_h, const int flip_v); BGD_DECLARE(int) gdAffineConcat (double dst[6], const double m1[6], const double m2[6]); BGD_DECLARE(int) gdAffineIdentity (double dst[6]); BGD_DECLARE(int) gdAffineScale (double dst[6], const double scale_x, const double scale_y); BGD_DECLARE(int) gdAffineRotate (double dst[6], const double angle); BGD_DECLARE(int) gdAffineShearHorizontal (double dst[6], const double angle); BGD_DECLARE(int) gdAffineShearVertical(double dst[6], const double angle); BGD_DECLARE(int) gdAffineTranslate (double dst[6], const double offset_x, const double offset_y); BGD_DECLARE(double) gdAffineExpansion (const double src[6]); BGD_DECLARE(int) gdAffineRectilinear (const double src[6]); BGD_DECLARE(int) gdAffineEqual (const double matrix1[6], const double matrix2[6]); BGD_DECLARE(int) gdTransformAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]); BGD_DECLARE(int) gdTransformAffineCopy(gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]); /* gdTransformAffineCopy(gdImagePtr dst, int x0, int y0, int x1, int y1, const gdImagePtr src, int src_width, int src_height, const double affine[6]); */ BGD_DECLARE(int) gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox); /** * Group: Image Comparison * * Constants: * GD_CMP_IMAGE - Actual image IS different * GD_CMP_NUM_COLORS - Number of colors in pallette differ * GD_CMP_COLOR - Image colors differ * GD_CMP_SIZE_X - Image width differs * GD_CMP_SIZE_Y - Image heights differ * GD_CMP_TRANSPARENT - Transparent color differs * GD_CMP_BACKGROUND - Background color differs * GD_CMP_INTERLACE - Interlaced setting differs * GD_CMP_TRUECOLOR - Truecolor vs palette differs * * See also: * - */ #define GD_CMP_IMAGE 1 #define GD_CMP_NUM_COLORS 2 #define GD_CMP_COLOR 4 #define GD_CMP_SIZE_X 8 #define GD_CMP_SIZE_Y 16 #define GD_CMP_TRANSPARENT 32 #define GD_CMP_BACKGROUND 64 #define GD_CMP_INTERLACE 128 #define GD_CMP_TRUECOLOR 256 /* resolution affects ttf font rendering, particularly hinting */ #define GD_RESOLUTION 96 /* pixels per inch */ /* Version information functions */ BGD_DECLARE(int) gdMajorVersion(void); BGD_DECLARE(int) gdMinorVersion(void); BGD_DECLARE(int) gdReleaseVersion(void); BGD_DECLARE(const char *) gdExtraVersion(void); BGD_DECLARE(const char *) gdVersionString(void); /* newfangled special effects */ #include "gdfx.h" #ifdef __cplusplus } #endif #endif /* GD_H */ libgd-2.3.0/src/gd_tga.c0000664000175000017500000002172713635665516011731 00000000000000/** * File: TGA Input * * Read TGA images. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include #include #include #include #include "gd_tga.h" #include "gd.h" #include "gd_errors.h" #include "gdhelpers.h" /* Function: gdImageCreateFromTga Creates a gdImage from a TGA file Parameters: infile - Pointer to TGA binary file */ BGD_DECLARE(gdImagePtr) gdImageCreateFromTga(FILE *fp) { gdImagePtr image; gdIOCtx* in = gdNewFileCtx(fp); if (in == NULL) return NULL; image = gdImageCreateFromTgaCtx(in); in->gd_free( in ); return image; } /* Function: gdImageCreateFromTgaPtr */ BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaPtr(int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0); if (in == NULL) return NULL; im = gdImageCreateFromTgaCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromTgaCtx Creates a gdImage from a gdIOCtx referencing a TGA binary file. Parameters: ctx - Pointer to a gdIOCtx structure */ BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaCtx(gdIOCtx* ctx) { int bitmap_caret = 0; oTga *tga = NULL; /* int pixel_block_size = 0; int image_block_size = 0; */ volatile gdImagePtr image = NULL; int x = 0; int y = 0; tga = (oTga *) gdMalloc(sizeof(oTga)); if (!tga) { return NULL; } tga->bitmap = NULL; tga->ident = NULL; if (read_header_tga(ctx, tga) < 0) { free_tga(tga); return NULL; } /*TODO: Will this be used? pixel_block_size = tga->bits / 8; image_block_size = (tga->width * tga->height) * pixel_block_size; */ if (read_image_tga(ctx, tga) < 0) { free_tga(tga); return NULL; } image = gdImageCreateTrueColor((int)tga->width, (int)tga->height ); if (image == 0) { free_tga( tga ); return NULL; } /*! \brief Populate GD image object * Copy the pixel data from our tga bitmap buffer into the GD image * Disable blending and save the alpha channel per default */ if (tga->alphabits) { gdImageAlphaBlending(image, 0); gdImageSaveAlpha(image, 1); } /* TODO: use alphabits as soon as we support 24bit and other alpha bps (ie != 8bits) */ for (y = 0; y < tga->height; y++) { register int *tpix = image->tpixels[y]; for ( x = 0; x < tga->width; x++, tpix++) { if (tga->bits == TGA_BPP_24) { *tpix = gdTrueColor(tga->bitmap[bitmap_caret + 2], tga->bitmap[bitmap_caret + 1], tga->bitmap[bitmap_caret]); bitmap_caret += 3; } else if (tga->bits == TGA_BPP_32 && tga->alphabits) { register int a = tga->bitmap[bitmap_caret + 3]; *tpix = gdTrueColorAlpha(tga->bitmap[bitmap_caret + 2], tga->bitmap[bitmap_caret + 1], tga->bitmap[bitmap_caret], gdAlphaMax - (a >> 1)); bitmap_caret += 4; } } } if (tga->flipv && tga->fliph) { gdImageFlipBoth(image); } else if (tga->flipv) { gdImageFlipVertical(image); } else if (tga->fliph) { gdImageFlipHorizontal(image); } free_tga(tga); return image; } /*! \brief Reads a TGA header. * Reads the header block from a binary TGA file populating the referenced TGA structure. * \param ctx Pointer to TGA binary file * \param tga Pointer to TGA structure * \return int 1 on sucess, -1 on failure */ int read_header_tga(gdIOCtx *ctx, oTga *tga) { unsigned char header[18]; if (gdGetBuf(header, sizeof(header), ctx) < 18) { gd_error("fail to read header"); return -1; } tga->identsize = header[0]; tga->colormaptype = header[1]; tga->imagetype = header[2]; tga->colormapstart = header[3] + (header[4] << 8); tga->colormaplength = header[5] + (header[6] << 8); tga->colormapbits = header[7]; tga->xstart = header[8] + (header[9] << 8); tga->ystart = header[10] + (header[11] << 8); tga->width = header[12] + (header[13] << 8); tga->height = header[14] + (header[15] << 8); tga->bits = header[16]; tga->alphabits = header[17] & 0x0f; tga->fliph = (header[17] & 0x10) ? 1 : 0; tga->flipv = (header[17] & 0x20) ? 0 : 1; #if DEBUG printf("format bps: %i\n", tga->bits); printf("flip h/v: %i / %i\n", tga->fliph, tga->flipv); printf("alpha: %i\n", tga->alphabits); printf("wxh: %i %i\n", tga->width, tga->height); #endif if (!((tga->bits == TGA_BPP_24 && tga->alphabits == 0) || (tga->bits == TGA_BPP_32 && tga->alphabits == 8))) { gd_error_ex(GD_WARNING, "gd-tga: %u bits per pixel with %u alpha bits not supported\n", tga->bits, tga->alphabits); return -1; } tga->ident = NULL; if (tga->identsize > 0) { tga->ident = (char *) gdMalloc(tga->identsize * sizeof(char)); if(tga->ident == NULL) { return -1; } gdGetBuf(tga->ident, tga->identsize, ctx); } return 1; } /*! \brief Reads a TGA image data into buffer. * Reads the image data block from a binary TGA file populating the referenced TGA structure. * \param ctx Pointer to TGA binary file * \param tga Pointer to TGA structure * \return int 0 on sucess, -1 on failure */ int read_image_tga( gdIOCtx *ctx, oTga *tga ) { int pixel_block_size = (tga->bits / 8); int image_block_size; int* decompression_buffer = NULL; unsigned char* conversion_buffer = NULL; int buffer_caret = 0; int bitmap_caret = 0; int i = 0; int encoded_pixels; int rle_size; if(overflow2(tga->width, tga->height)) { return -1; } if(overflow2(tga->width * tga->height, pixel_block_size)) { return -1; } image_block_size = (tga->width * tga->height) * pixel_block_size; if(overflow2(image_block_size, sizeof(int))) { return -1; } /*! \todo Add more image type support. */ if (tga->imagetype != TGA_TYPE_RGB && tga->imagetype != TGA_TYPE_RGB_RLE) return -1; /*! \brief Allocate memmory for image block * Allocate a chunk of memory for the image block to be passed into. */ tga->bitmap = (int *) gdMalloc(image_block_size * sizeof(int)); if (tga->bitmap == NULL) return -1; switch (tga->imagetype) { case TGA_TYPE_RGB: /*! \brief Read in uncompressed RGB TGA * Chunk load the pixel data from an uncompressed RGB type TGA. */ conversion_buffer = (unsigned char *) gdMalloc(image_block_size * sizeof(unsigned char)); if (conversion_buffer == NULL) { return -1; } if (gdGetBuf(conversion_buffer, image_block_size, ctx) != image_block_size) { gd_error("gd-tga: premature end of image data\n"); gdFree(conversion_buffer); return -1; } while (buffer_caret < image_block_size) { tga->bitmap[buffer_caret] = (int) conversion_buffer[buffer_caret]; buffer_caret++; } gdFree(conversion_buffer); break; case TGA_TYPE_RGB_RLE: /*! \brief Read in RLE compressed RGB TGA * Chunk load the pixel data from an RLE compressed RGB type TGA. */ decompression_buffer = (int*) gdMalloc(image_block_size * sizeof(int)); if (decompression_buffer == NULL) { return -1; } conversion_buffer = (unsigned char *) gdMalloc(image_block_size * sizeof(unsigned char)); if (conversion_buffer == NULL) { gd_error("gd-tga: premature end of image data\n"); gdFree( decompression_buffer ); return -1; } rle_size = gdGetBuf(conversion_buffer, image_block_size, ctx); if (rle_size <= 0) { gdFree(conversion_buffer); gdFree(decompression_buffer); return -1; } buffer_caret = 0; while( buffer_caret < rle_size) { decompression_buffer[buffer_caret] = (int)conversion_buffer[buffer_caret]; buffer_caret++; } buffer_caret = 0; while( bitmap_caret < image_block_size ) { if (buffer_caret + pixel_block_size > rle_size) { gdFree( decompression_buffer ); gdFree( conversion_buffer ); return -1; } if ((decompression_buffer[buffer_caret] & TGA_RLE_FLAG) == TGA_RLE_FLAG) { encoded_pixels = ( ( decompression_buffer[ buffer_caret ] & ~TGA_RLE_FLAG ) + 1 ); buffer_caret++; if ((bitmap_caret + (encoded_pixels * pixel_block_size)) > image_block_size || buffer_caret + pixel_block_size > rle_size) { gdFree( decompression_buffer ); gdFree( conversion_buffer ); return -1; } for (i = 0; i < encoded_pixels; i++) { memcpy(tga->bitmap + bitmap_caret, decompression_buffer + buffer_caret, pixel_block_size * sizeof(int)); bitmap_caret += pixel_block_size; } buffer_caret += pixel_block_size; } else { encoded_pixels = decompression_buffer[ buffer_caret ] + 1; buffer_caret++; if ((bitmap_caret + (encoded_pixels * pixel_block_size)) > image_block_size || buffer_caret + (encoded_pixels * pixel_block_size) > rle_size) { gdFree( decompression_buffer ); gdFree( conversion_buffer ); return -1; } memcpy(tga->bitmap + bitmap_caret, decompression_buffer + buffer_caret, encoded_pixels * pixel_block_size * sizeof(int)); bitmap_caret += (encoded_pixels * pixel_block_size); buffer_caret += (encoded_pixels * pixel_block_size); } } gdFree( decompression_buffer ); gdFree( conversion_buffer ); break; } return 1; } /*! \brief Cleans up a TGA structure. * Dereferences the bitmap referenced in a TGA structure, then the structure itself * \param tga Pointer to TGA structure */ void free_tga(oTga * tga) { if (tga) { if (tga->ident) gdFree(tga->ident); if (tga->bitmap) gdFree(tga->bitmap); gdFree(tga); } } libgd-2.3.0/src/gdfontmb.c0000664000175000017500000023110213635665516012272 00000000000000/* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -misc-fixed-bold-r-normal-sans-13-94-100-100-c-70-iso8859-2 at Thu Jan 8 13:54:57 1998. No copyright info was found in the original bdf. */ /** * File: Medium Bold Font * * A medium bold ISO-8859-2 raster font (7x13 pixels). * * The font is supposed to be used with and * and their variants. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gdfontmb.h" char gdFontMediumBoldData[] = { /* Char 0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Char 1 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; gdFont gdFontMediumBoldRep = { 256, 0, 7, 13, gdFontMediumBoldData }; BGD_EXPORT_DATA_PROT gdFontPtr gdFontMediumBold = &gdFontMediumBoldRep; /** * Function: gdFontGetMediumBold * * Returns the built-in medium bold font. */ BGD_DECLARE(gdFontPtr) gdFontGetMediumBold (void) { return gdFontMediumBold; } /* This file has not been truncated. */ libgd-2.3.0/src/gd_gd2.c0000664000175000017500000006771013635665516011634 00000000000000/* * gd_gd2.c * * Implements the I/O and support for the GD2 format. * * Changing the definition of GD2_DBG (below) will cause copious messages * to be displayed while it processes requests. * * Designed, Written & Copyright 1999, Philip Warner. * */ /** * File: GD2 IO * * Read and write GD2 images. * * The GD2 image format is a proprietary image format of libgd. *It has to be* * *regarded as being obsolete, and should only be used for development and* * *testing purposes.* * * Structure of a GD2 image file: * - file header * - chunk headers (only for compressed data) * - color header (either truecolor or palette) * - chunks of image data (chunk-row-major, top to bottom, left to right) * * All numbers are stored in big-endian format. * * File header structure: * signature - 4 bytes (always "gd2\0") * version - 1 word (e.g. "\0\002") * width - 1 word * height - 1 word * chunk_size - 1 word * format - 1 word * x_chunk_count - 1 word * y_chunk_count - 1 word * * Recognized formats: * 1 - raw palette image data * 2 - compressed palette image data * 3 - raw truecolor image data * 4 - compressed truecolor image data * * Chunk header: * offset - 1 dword * size - 1 dword * * There are x_chunk_count * y_chunk_count chunk headers. * * Truecolor image color header: * truecolor - 1 byte (always "\001") * transparent - 1 dword (ARGB color); "\377\377\377\377" means that no * transparent color is set * * Palette image color header: * truecolor - 1 byte (always "\0") * count - 1 word (the number of used palette colors) * transparent - 1 dword (palette index); "\377\377\377\377" means that no * transparent color is set * palette - 256 dwords (RGBA colors) * * Chunk structure: * Sequential pixel data of a rectangular area (chunk_size x chunk_size), * row-major from top to bottom, left to right: * - 1 byte per pixel for palette images * - 1 dword (ARGB) per pixel for truecolor images * * Depending on format, the chunk may be ZLIB compressed. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* 2.0.29: no more errno.h, makes windows happy */ #include #include #include #include "gd.h" #include "gd_errors.h" #include "gdhelpers.h" /* 2.03: gd2 is no longer mandatory */ /* JCE - test after including gd.h so that HAVE_LIBZ can be set in * a config.h file included by gd.h */ #if defined(HAVE_LIBZ) && ENABLE_GD_FORMATS #include #define TRUE 1 #define FALSE 0 /* 2.11: not part of the API, as the save routine can figure it out from im->trueColor, and the load routine doesn't need to tell the end user the saved format. NOTE: adding 2 is assumed to result in the correct format value for truecolor! */ #define GD2_FMT_TRUECOLOR_RAW 3 #define GD2_FMT_TRUECOLOR_COMPRESSED 4 #define gd2_compressed(fmt) (((fmt) == GD2_FMT_COMPRESSED) || \ ((fmt) == GD2_FMT_TRUECOLOR_COMPRESSED)) #define gd2_truecolor(fmt) (((fmt) == GD2_FMT_TRUECOLOR_RAW) || \ ((fmt) == GD2_FMT_TRUECOLOR_COMPRESSED)) /* Use this for commenting out debug-print statements. */ /* Just use the first '#define' to allow all the prints... */ /*#define GD2_DBG(s) (s) */ #define GD2_DBG(s) typedef struct { int offset; int size; } t_chunk_info; extern int _gdGetColors (gdIOCtx * in, gdImagePtr im, int gd2xFlag); extern void _gdPutColors (gdImagePtr im, gdIOCtx * out); /* */ /* Read the extra info in the gd2 header. */ /* */ static int _gd2GetHeader (gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** chunkIdx) { int i; int ch; char id[5]; t_chunk_info *cidx; int sidx; int nc; GD2_DBG (printf ("Reading gd2 header info\n")); for (i = 0; i < 4; i++) { ch = gdGetC (in); if (ch == EOF) { goto fail1; }; id[i] = ch; }; id[4] = 0; GD2_DBG (printf ("Got file code: %s\n", id)); /* Equiv. of 'magick'. */ if (strcmp (id, GD2_ID) != 0) { GD2_DBG (printf ("Not a valid gd2 file\n")); goto fail1; }; /* Version */ if (gdGetWord (vers, in) != 1) { goto fail1; }; GD2_DBG (printf ("Version: %d\n", *vers)); if ((*vers != 1) && (*vers != 2)) { GD2_DBG (printf ("Bad version: %d\n", *vers)); goto fail1; }; /* Image Size */ if (!gdGetWord (sx, in)) { GD2_DBG (printf ("Could not get x-size\n")); goto fail1; } if (!gdGetWord (sy, in)) { GD2_DBG (printf ("Could not get y-size\n")); goto fail1; } GD2_DBG (printf ("Image is %dx%d\n", *sx, *sy)); /* Chunk Size (pixels, not bytes!) */ if (gdGetWord (cs, in) != 1) { goto fail1; }; GD2_DBG (printf ("ChunkSize: %d\n", *cs)); if ((*cs < GD2_CHUNKSIZE_MIN) || (*cs > GD2_CHUNKSIZE_MAX)) { GD2_DBG (printf ("Bad chunk size: %d\n", *cs)); goto fail1; }; /* Data Format */ if (gdGetWord (fmt, in) != 1) { goto fail1; }; GD2_DBG (printf ("Format: %d\n", *fmt)); if ((*fmt != GD2_FMT_RAW) && (*fmt != GD2_FMT_COMPRESSED) && (*fmt != GD2_FMT_TRUECOLOR_RAW) && (*fmt != GD2_FMT_TRUECOLOR_COMPRESSED)) { GD2_DBG (printf ("Bad data format: %d\n", *fmt)); goto fail1; }; /* # of chunks wide */ if (gdGetWord (ncx, in) != 1) { goto fail1; }; GD2_DBG (printf ("%d Chunks Wide\n", *ncx)); /* # of chunks high */ if (gdGetWord (ncy, in) != 1) { goto fail1; }; GD2_DBG (printf ("%d Chunks vertically\n", *ncy)); if (gd2_compressed (*fmt)) { if (overflow2(*ncx, *ncy)) { GD2_DBG(printf ("Illegal chunk counts: %d * %d\n", *ncx, *ncy)); goto fail1; } nc = (*ncx) * (*ncy); GD2_DBG (printf ("Reading %d chunk index entries\n", nc)); if (overflow2(sizeof(t_chunk_info), nc)) { goto fail1; } sidx = sizeof (t_chunk_info) * nc; if (sidx <= 0) { goto fail1; } cidx = gdCalloc (sidx, 1); if (cidx == NULL) { goto fail1; } for (i = 0; i < nc; i++) { if (gdGetInt (&cidx[i].offset, in) != 1) { goto fail2; }; if (gdGetInt (&cidx[i].size, in) != 1) { goto fail2; }; if (cidx[i].offset < 0 || cidx[i].size < 0 || cidx[i].size == INT_MAX) goto fail2; }; *chunkIdx = cidx; }; GD2_DBG (printf ("gd2 header complete\n")); return 1; fail2: gdFree(cidx); fail1: return 0; } static gdImagePtr _gd2CreateFromFile (gdIOCtxPtr in, int *sx, int *sy, int *cs, int *vers, int *fmt, int *ncx, int *ncy, t_chunk_info ** cidx) { gdImagePtr im; if (_gd2GetHeader (in, sx, sy, cs, vers, fmt, ncx, ncy, cidx) != 1) { GD2_DBG (printf ("Bad GD2 header\n")); goto fail1; } if (gd2_truecolor (*fmt)) { im = gdImageCreateTrueColor (*sx, *sy); } else { im = gdImageCreate (*sx, *sy); } if (im == NULL) { GD2_DBG (printf ("Could not create gdImage\n")); goto fail2; }; if (!_gdGetColors (in, im, (*vers) == 2)) { GD2_DBG (printf ("Could not read color palette\n")); goto fail3; } GD2_DBG (printf ("Image palette completed: %d colours\n", im->colorsTotal)); return im; fail3: gdImageDestroy (im); fail2: gdFree(*cidx); fail1: return 0; } static int _gd2ReadChunk (int offset, char *compBuf, int compSize, char *chunkBuf, uLongf * chunkLen, gdIOCtx * in) { int zerr; if (gdTell (in) != offset) { GD2_DBG (printf ("Positioning in file to %d\n", offset)); gdSeek (in, offset); } else { GD2_DBG (printf ("Already Positioned in file to %d\n", offset)); }; /* Read and uncompress an entire chunk. */ GD2_DBG (printf ("Reading file\n")); if (gdGetBuf (compBuf, compSize, in) != compSize) { return FALSE; }; GD2_DBG (printf ("Got %d bytes. Uncompressing into buffer of %d bytes\n", compSize, *chunkLen)); zerr = uncompress ((unsigned char *) chunkBuf, chunkLen, (unsigned char *) compBuf, compSize); if (zerr != Z_OK) { GD2_DBG (printf ("Error %d from uncompress\n", zerr)); return FALSE; }; GD2_DBG (printf ("Got chunk\n")); return TRUE; } /* Function: gdImageCreateFromGd2 is called to load images from gd2 format files. Invoke with an already opened pointer to a file containing the desired image in the gd2 file format, which is specific to gd2 and intended for fast loading of parts of large images. (It is a compressed format, but generally not as good as maximum compression of the entire image would be.) returns a to the new image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a gd format image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . Variants: creates an image from GD data (i.e. the contents of a GD2 file) already in memory. reads in an image using the functions in a struct. Parameters: infile - The input FILE pointer Returns: A pointer to the new image or NULL if an error occurred. Example: > gdImagePtr im; > FILE *in; > in = fopen("mygd.gd2", "rb"); > im = gdImageCreateFromGd2(in); > fclose(in); > // ... Use the image ... > gdImageDestroy(im); */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * inFile) { gdIOCtx *in = gdNewFileCtx (inFile); gdImagePtr im; if (in == NULL) return NULL; im = gdImageCreateFromGd2Ctx (in); in->gd_free (in); return im; } /* Function: gdImageCreateFromGd2Ptr Parameters: size - size of GD2 data in bytes. data - GD2 data (i.e. contents of a GIF file). See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ptr (int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0); if(!in) return 0; im = gdImageCreateFromGd2Ctx (in); in->gd_free (in); return im; } /* Function: gdImageCreateFromGd2Ctx Reads in a GD2 image via a struct. See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx (gdIOCtxPtr in) { int sx, sy; int i; int ncx, ncy, nc, cs, cx, cy; int x, y, ylo, yhi, xlo, xhi; int vers, fmt; t_chunk_info *chunkIdx = NULL; /* So we can gdFree it with impunity. */ unsigned char *chunkBuf = NULL; /* So we can gdFree it with impunity. */ int chunkNum = 0; int chunkMax = 0; uLongf chunkLen; int chunkPos = 0; int compMax = 0; int bytesPerPixel; char *compBuf = NULL; /* So we can gdFree it with impunity. */ gdImagePtr im; /* Get the header */ im = _gd2CreateFromFile (in, &sx, &sy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx); if (im == NULL) { /* No need to free chunkIdx as _gd2CreateFromFile does it for us. */ return 0; } bytesPerPixel = im->trueColor ? 4 : 1; if (overflow2(ncx, ncy)) goto fail; nc = ncx * ncy; if (overflow2(ncy, cs) || overflow2(ncx, cs) || overflow2(bytesPerPixel, cs)) goto fail; if (gd2_compressed (fmt)) { /* Find the maximum compressed chunk size. */ compMax = 0; for (i = 0; (i < nc); i++) { if (chunkIdx[i].size > compMax) { compMax = chunkIdx[i].size; }; }; compMax++; /* Allocate buffers */ chunkMax = cs * bytesPerPixel * cs; chunkBuf = gdCalloc (chunkMax, 1); if (!chunkBuf) { goto fail; } compBuf = gdCalloc (compMax, 1); if (!compBuf) { goto fail; } GD2_DBG (printf ("Largest compressed chunk is %d bytes\n", compMax)); }; /* if ( (ncx != sx / cs) || (ncy != sy / cs)) { */ /* goto fail2; */ /* }; */ /* Read the data... */ for (cy = 0; (cy < ncy); cy++) { for (cx = 0; (cx < ncx); cx++) { ylo = cy * cs; yhi = ylo + cs; if (yhi > im->sy) { yhi = im->sy; }; GD2_DBG (printf ("Processing Chunk %d (%d, %d), y from %d to %d\n", chunkNum, cx, cy, ylo, yhi)); if (gd2_compressed (fmt)) { chunkLen = chunkMax; if (!_gd2ReadChunk (chunkIdx[chunkNum].offset, compBuf, chunkIdx[chunkNum].size, (char *) chunkBuf, &chunkLen, in)) { GD2_DBG (printf ("Error reading comproessed chunk\n")); goto fail; }; chunkPos = 0; }; for (y = ylo; (y < yhi); y++) { xlo = cx * cs; xhi = xlo + cs; if (xhi > im->sx) { xhi = im->sx; }; /*GD2_DBG(printf("y=%d: ",y)); */ if (!gd2_compressed (fmt)) { for (x = xlo; x < xhi; x++) { if (im->trueColor) { if (!gdGetInt (&im->tpixels[y][x], in)) { gd_error("gd2: EOF while reading\n"); goto fail; } } else { int ch; if (!gdGetByte (&ch, in)) { gd_error("gd2: EOF while reading\n"); goto fail; } im->pixels[y][x] = ch; } } } else { for (x = xlo; x < xhi; x++) { if (im->trueColor) { /* 2.0.1: work around a gcc bug by being verbose. TBB */ int a = chunkBuf[chunkPos++] << 24; int r = chunkBuf[chunkPos++] << 16; int g = chunkBuf[chunkPos++] << 8; int b = chunkBuf[chunkPos++]; /* 2.0.11: tpixels */ im->tpixels[y][x] = a + r + g + b; } else { im->pixels[y][x] = chunkBuf[chunkPos++]; } }; }; /*GD2_DBG(printf("\n")); */ }; chunkNum++; }; }; GD2_DBG (printf ("Freeing memory\n")); gdFree (chunkBuf); gdFree (compBuf); gdFree (chunkIdx); GD2_DBG (printf ("Done\n")); return im; fail: gdImageDestroy (im); if (chunkBuf) { gdFree (chunkBuf); } if (compBuf) { gdFree (compBuf); } if (chunkIdx) { gdFree (chunkIdx); } return 0; } /* Function: gdImageCreateFromGd2Part is called to load parts of images from gd2 format files. Invoked in the same way as , but with extra parameters indicating the source (x, y) and width/height of the desired image. returns a to the new image, or NULL if unable to load the image. The image must eventually be destroyed using . Variants: creates an image from GD2 data (i.e. the contents of a GD2 file) already in memory. reads in an image using the functions in a struct. Parameters: infile - The input FILE pointer srcx, srcy - The source X and Y coordinates w, h - The resulting image's width and height Returns: A pointer to the new image or NULL if an error occurred. */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * inFile, int srcx, int srcy, int w, int h) { gdImagePtr im; gdIOCtx *in = gdNewFileCtx (inFile); if (in == NULL) return NULL; im = gdImageCreateFromGd2PartCtx (in, srcx, srcy, w, h); in->gd_free (in); return im; } /* Function: gdImageCreateFromGd2PartPtr Parameters: size - size of GD data in bytes. data - GD data (i.e. contents of a GIF file). srcx, srcy - The source X and Y coordinates w, h - The resulting image's width and height Reads in part of a GD2 image file stored from memory. See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy, int w, int h) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0); if(!in) return 0; im = gdImageCreateFromGd2PartCtx (in, srcx, srcy, w, h); in->gd_free (in); return im; } /* Function: gdImageCreateFromGd2PartCtx Parameters: in - The data source. srcx, srcy - The source X and Y coordinates w, h - The resulting image's width and height Reads in part of a GD2 data image file via a struct. See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartCtx (gdIOCtx * in, int srcx, int srcy, int w, int h) { int scx, scy, ecx, ecy, fsx, fsy; int nc, ncx, ncy, cs, cx, cy; int x, y, ylo, yhi, xlo, xhi; int dstart, dpos; int i; /* 2.0.12: unsigned is correct; fixes problems with color munging. Thanks to Steven Brown. */ unsigned int ch; int vers, fmt; t_chunk_info *chunkIdx = NULL; unsigned char *chunkBuf = NULL; int chunkNum; int chunkMax = 0; uLongf chunkLen; int chunkPos = 0; int compMax; char *compBuf = NULL; gdImagePtr im; /* */ /* The next few lines are basically copied from gd2CreateFromFile */ /* - we change the file size, so don't want to use the code directly. */ /* but we do need to know the file size. */ /* */ if (_gd2GetHeader (in, &fsx, &fsy, &cs, &vers, &fmt, &ncx, &ncy, &chunkIdx) != 1) { goto fail1; } GD2_DBG (printf ("File size is %dx%d\n", fsx, fsy)); /* This is the difference - make a file based on size of chunks. */ if (gd2_truecolor (fmt)) { im = gdImageCreateTrueColor (w, h); } else { im = gdImageCreate (w, h); } if (im == NULL) { goto fail1; }; if (!_gdGetColors (in, im, vers == 2)) { goto fail2; } GD2_DBG (printf ("Image palette completed: %d colours\n", im->colorsTotal)); /* Process the header info */ nc = ncx * ncy; if (gd2_compressed (fmt)) { /* Find the maximum compressed chunk size. */ compMax = 0; for (i = 0; (i < nc); i++) { if (chunkIdx[i].size > compMax) { compMax = chunkIdx[i].size; }; }; compMax++; if (im->trueColor) { chunkMax = cs * cs * 4; } else { chunkMax = cs * cs; } chunkBuf = gdCalloc (chunkMax, 1); if (!chunkBuf) { goto fail2; } compBuf = gdCalloc (compMax, 1); if (!compBuf) { goto fail2; } }; /* Don't bother with this... */ /* if ( (ncx != sx / cs) || (ncy != sy / cs)) { */ /* goto fail2; */ /* }; */ /* Work out start/end chunks */ scx = srcx / cs; scy = srcy / cs; if (scx < 0) { scx = 0; }; if (scy < 0) { scy = 0; }; ecx = (srcx + w) / cs; ecy = (srcy + h) / cs; if (ecx >= ncx) { ecx = ncx - 1; }; if (ecy >= ncy) { ecy = ncy - 1; }; /* Remember file position of image data. */ dstart = gdTell (in); GD2_DBG (printf ("Data starts at %d\n", dstart)); /* Loop through the chunks. */ for (cy = scy; (cy <= ecy); cy++) { ylo = cy * cs; yhi = ylo + cs; if (yhi > fsy) { yhi = fsy; }; for (cx = scx; (cx <= ecx); cx++) { xlo = cx * cs; xhi = xlo + cs; if (xhi > fsx) { xhi = fsx; }; GD2_DBG (printf ("Processing Chunk (%d, %d), from %d to %d\n", cx, cy, ylo, yhi)); if (!gd2_compressed (fmt)) { GD2_DBG (printf ("Using raw format data\n")); if (im->trueColor) { dpos = (cy * (cs * fsx) * 4 + cx * cs * (yhi - ylo) * 4) + dstart; } else { dpos = cy * (cs * fsx) + cx * cs * (yhi - ylo) + dstart; } /* gd 2.0.11: gdSeek returns TRUE on success, not 0. Longstanding bug. 01/16/03 */ if (!gdSeek (in, dpos)) { gd_error("Seek error\n"); goto fail2; }; GD2_DBG (printf ("Reading (%d, %d) from position %d\n", cx, cy, dpos - dstart)); } else { chunkNum = cx + cy * ncx; chunkLen = chunkMax; if (!_gd2ReadChunk (chunkIdx[chunkNum].offset, compBuf, chunkIdx[chunkNum].size, (char *) chunkBuf, &chunkLen, in)) { printf ("Error reading comproessed chunk\n"); goto fail2; }; chunkPos = 0; GD2_DBG (printf ("Reading (%d, %d) from chunk %d\n", cx, cy, chunkNum)); }; GD2_DBG (printf (" into (%d, %d) - (%d, %d)\n", xlo, ylo, xhi, yhi)); for (y = ylo; (y < yhi); y++) { for (x = xlo; x < xhi; x++) { if (!gd2_compressed (fmt)) { if (im->trueColor) { if (!gdGetInt ((int *) &ch, in)) { ch = 0; /*printf("EOF while reading file\n"); */ /*goto fail2; */ } } else { ch = gdGetC (in); if ((int) ch == EOF) { ch = 0; /*printf("EOF while reading file\n"); */ /*goto fail2; */ } } } else { if (im->trueColor) { ch = chunkBuf[chunkPos++]; ch = (ch << 8) + chunkBuf[chunkPos++]; ch = (ch << 8) + chunkBuf[chunkPos++]; ch = (ch << 8) + chunkBuf[chunkPos++]; } else { ch = chunkBuf[chunkPos++]; } }; /* Only use a point that is in the image. */ if ((x >= srcx) && (x < (srcx + w)) && (x < fsx) && (x >= 0) && (y >= srcy) && (y < (srcy + h)) && (y < fsy) && (y >= 0)) { /* 2.0.11: tpixels */ if (im->trueColor) { im->tpixels[y - srcy][x - srcx] = ch; } else { im->pixels[y - srcy][x - srcx] = ch; } } }; }; }; }; gdFree (chunkBuf); gdFree (compBuf); gdFree (chunkIdx); return im; fail2: gdImageDestroy (im); fail1: if (chunkBuf) { gdFree (chunkBuf); } if (compBuf) { gdFree (compBuf); } if (chunkIdx) { gdFree (chunkIdx); } return 0; } static void _gd2PutHeader (gdImagePtr im, gdIOCtx * out, int cs, int fmt, int cx, int cy) { int i; /* Send the gd2 id, to verify file format. */ for (i = 0; i < 4; i++) { gdPutC ((unsigned char) (GD2_ID[i]), out); }; /* */ /* We put the version info first, so future versions can easily change header info. */ /* */ gdPutWord (GD2_VERS, out); gdPutWord (im->sx, out); gdPutWord (im->sy, out); gdPutWord (cs, out); gdPutWord (fmt, out); gdPutWord (cx, out); gdPutWord (cy, out); } static void _gdImageGd2 (gdImagePtr im, gdIOCtx * out, int cs, int fmt) { int ncx, ncy, cx, cy; int x, y, ylo, yhi, xlo, xhi; int chunkLen; int chunkNum = 0; char *chunkData = NULL; /* So we can gdFree it with impunity. */ char *compData = NULL; /* So we can gdFree it with impunity. */ uLongf compLen; int idxPos = 0; int idxSize; t_chunk_info *chunkIdx = NULL; int posSave; int bytesPerPixel = im->trueColor ? 4 : 1; int compMax = 0; /*printf("Trying to write GD2 file\n"); */ /* */ /* Force fmt to a valid value since we don't return anything. */ /* */ if ((fmt != GD2_FMT_RAW) && (fmt != GD2_FMT_COMPRESSED)) { fmt = GD2_FMT_COMPRESSED; }; if (im->trueColor) { fmt += 2; } /* */ /* Make sure chunk size is valid. These are arbitrary values; 64 because it seems */ /* a little silly to expect performance improvements on a 64x64 bit scale, and */ /* 4096 because we buffer one chunk, and a 16MB buffer seems a little large - it may be */ /* OK for one user, but for another to read it, they require the buffer. */ /* */ if (cs == 0) { cs = GD2_CHUNKSIZE; } else if (cs < GD2_CHUNKSIZE_MIN) { cs = GD2_CHUNKSIZE_MIN; } else if (cs > GD2_CHUNKSIZE_MAX) { cs = GD2_CHUNKSIZE_MAX; }; /* Work out number of chunks. */ ncx = (im->sx + cs - 1) / cs; ncy = (im->sy + cs - 1) / cs; /* Write the standard header. */ _gd2PutHeader (im, out, cs, fmt, ncx, ncy); if (gd2_compressed (fmt)) { /* */ /* Work out size of buffer for compressed data, If CHUNKSIZE is large, */ /* then these will be large! */ /* */ /* The zlib notes say output buffer size should be (input size) * 1.01 * 12 */ /* - we'll use 1.02 to be paranoid. */ /* */ compMax = cs * bytesPerPixel * cs * 1.02 + 12; /* */ /* Allocate the buffers. */ /* */ chunkData = gdCalloc (cs * bytesPerPixel * cs, 1); if (!chunkData) { goto fail; } compData = gdCalloc (compMax, 1); if (!compData) { goto fail; } /* */ /* Save the file position of chunk index, and allocate enough space for */ /* each chunk_info block . */ /* */ idxPos = gdTell (out); idxSize = ncx * ncy * sizeof (t_chunk_info); GD2_DBG (printf ("Index size is %d\n", idxSize)); gdSeek (out, idxPos + idxSize); chunkIdx = gdCalloc (idxSize * sizeof (t_chunk_info), 1); if (!chunkIdx) { goto fail; } }; _gdPutColors (im, out); GD2_DBG (printf ("Size: %dx%d\n", im->sx, im->sy)); GD2_DBG (printf ("Chunks: %dx%d\n", ncx, ncy)); for (cy = 0; (cy < ncy); cy++) { for (cx = 0; (cx < ncx); cx++) { ylo = cy * cs; yhi = ylo + cs; if (yhi > im->sy) { yhi = im->sy; }; GD2_DBG (printf ("Processing Chunk (%dx%d), y from %d to %d\n", cx, cy, ylo, yhi)); chunkLen = 0; for (y = ylo; (y < yhi); y++) { /*GD2_DBG(printf("y=%d: ",y)); */ xlo = cx * cs; xhi = xlo + cs; if (xhi > im->sx) { xhi = im->sx; }; if (gd2_compressed (fmt)) { for (x = xlo; x < xhi; x++) { /* 2.0.11: use truecolor pixel array. TBB */ /*GD2_DBG(printf("%d...",x)); */ if (im->trueColor) { int p = im->tpixels[y][x]; chunkData[chunkLen++] = gdTrueColorGetAlpha (p); chunkData[chunkLen++] = gdTrueColorGetRed (p); chunkData[chunkLen++] = gdTrueColorGetGreen (p); chunkData[chunkLen++] = gdTrueColorGetBlue (p); } else { int p = im->pixels[y][x]; chunkData[chunkLen++] = p; } }; } else { for (x = xlo; x < xhi; x++) { /*GD2_DBG(printf("%d, ",x)); */ if (im->trueColor) { gdPutInt (im->tpixels[y][x], out); } else { gdPutC ((unsigned char) im->pixels[y][x], out); } }; }; /*GD2_DBG(printf("y=%d done.\n",y)); */ }; if (gd2_compressed (fmt)) { compLen = compMax; if (compress ((unsigned char *) &compData[0], &compLen, (unsigned char *) &chunkData[0], chunkLen) != Z_OK) { printf ("Error from compressing\n"); } else { chunkIdx[chunkNum].offset = gdTell (out); chunkIdx[chunkNum++].size = compLen; GD2_DBG (printf ("Chunk %d size %d offset %d\n", chunkNum, chunkIdx[chunkNum - 1].size, chunkIdx[chunkNum - 1].offset)); if (gdPutBuf (compData, compLen, out) <= 0) { gd_error("gd write error\n"); }; }; }; }; }; if (gd2_compressed (fmt)) { /* Save the position, write the index, restore position (paranoia). */ GD2_DBG (printf ("Seeking %d to write index\n", idxPos)); posSave = gdTell (out); gdSeek (out, idxPos); GD2_DBG (printf ("Writing index\n")); for (x = 0; x < chunkNum; x++) { GD2_DBG (printf ("Chunk %d size %d offset %d\n", x, chunkIdx[x].size, chunkIdx[x].offset)); gdPutInt (chunkIdx[x].offset, out); gdPutInt (chunkIdx[x].size, out); }; /* We don't use fwrite for *endian reasons. */ /*fwrite(chunkIdx, sizeof(int)*2, chunkNum, out); */ gdSeek (out, posSave); }; /*printf("Memory block size is %d\n",gdTell(out)); */ fail: GD2_DBG (printf ("Freeing memory\n")); if (chunkData) { gdFree (chunkData); } if (compData) { gdFree (compData); } if (chunkIdx) { gdFree (chunkIdx); } GD2_DBG (printf ("Done\n")); } /* Function: gdImageGd2 */ BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * outFile, int cs, int fmt) { gdIOCtx *out = gdNewFileCtx (outFile); if (out == NULL) return; _gdImageGd2 (im, out, cs, fmt); out->gd_free (out); } /* Function: gdImageGd2Ptr */ BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size) { void *rv; gdIOCtx *out = gdNewDynamicCtx (2048, NULL); if (out == NULL) return NULL; _gdImageGd2 (im, out, cs, fmt); rv = gdDPExtractData (out, size); out->gd_free (out); return rv; } #else /* no HAVE_LIBZ or !ENABLE_GD_FORMATS */ static void _noGd2Error (void) { #if !ENABLE_GD_FORMATS gd_error("GD2 image support has been disabled\n"); #else gd_error("GD2 support is not available - no libz\n"); #endif } BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * inFile) { _noGd2Error(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx (gdIOCtxPtr in) { _noGd2Error(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * inFile, int srcx, int srcy, int w, int h) { _noGd2Error(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ptr (int size, void *data) { _noGd2Error(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartCtx (gdIOCtx * in, int srcx, int srcy, int w, int h) { _noGd2Error(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartPtr (int size, void *data, int srcx, int srcy, int w, int h) { _noGd2Error(); return NULL; } BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * outFile, int cs, int fmt) { _noGd2Error(); } BGD_DECLARE(void *) gdImageGd2Ptr (gdImagePtr im, int cs, int fmt, int *size) { _noGd2Error(); return NULL; } #endif /* HAVE_LIBZ */ libgd-2.3.0/src/fontconfigtest.c0000664000175000017500000000252513635665516013533 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" int main (int argc, char *argv[]) { gdImagePtr im; int green, blue; gdFTStringExtra se; im = gdImageCreateTrueColor(300, 100); green = gdImageColorAllocate(im, 128, 255, 128); gdImageFilledRectangle(im, 0, 0, 300, 100, green); blue = gdImageColorAllocate(im, 128, 128, 255); /* Default: fontlist argument is a pathname to a truetype font */ gdImageStringFT(im, 0, blue, "arial", 12, 0, 20, 20, "plain pathname default"); /* Specifically opt for fontconfig */ se.flags = gdFTEX_FONTCONFIG; gdImageStringFTEx(im, 0, blue, "arial:bold", 12, 0, 20, 40, "fontconfig arial:bold", &se); /* Change the default to fontconfig */ if (!gdFTUseFontConfig(1)) { fprintf(stderr, "fontconfig not compiled into gd\n"); } /* Use fontconfig by (newly set) default */ gdImageStringFT(im, 0, blue, "arial:bold", 12, 0, 20, 60, "fontconfig arial:bold default"); /* Explicitly use a pathname despite fontconfig default */ se.flags = gdFTEX_FONTPATHNAME; gdImageStringFTEx(im, 0, blue, "arial", 12, 0, 20, 80, "plain pathname", &se); #ifdef HAVE_LIBPNG FILE *out = fopen("fontconfigtest.png", "wb"); gdImagePng(im, out); fclose(out); #else fprintf(stderr, "PNG not compiled into gd\n"); #endif /* HAVE_LIBPNG */ return 0; } libgd-2.3.0/src/jisx0208.h0000664000175000017500000022332713635665516012000 00000000000000#ifndef JISX0208_H #define JISX0208_H #ifdef __cplusplus extern "C" { #endif /* This file was derived from "src/VF_Ftype.c" in VFlib2-2.24.2 by Dr. Kakugawa */ /* JIS -> Unicode mapping table */ static const unsigned short UnicodeTbl[][94] = { { /* category 01 */ 0x0000, 0x3001, 0x3002, 0xFF0C, 0xFF0E, 0x30FB, 0xFF1A, 0xFF1B, 0xFF1F, 0xFF01, 0x309B, 0x309C, 0x00B4, 0xFF40, 0x00A8, 0xFF3E, 0xFFE3, 0xFF3F, 0x30FD, 0x30FE, 0x309D, 0x309E, 0x3003, 0x4EDD, 0x3005, 0x3006, 0x3007, 0x30FC, 0x2015, 0x2010, 0xFF0F, 0xFF3C, 0xFF5E, 0x2225, 0xFF5C, 0x2026, 0x2025, 0x2018, 0x2019, 0x201C, 0x201D, 0xFF08, 0xFF09, 0x3014, 0x3015, 0xFF3B, 0xFF3D, 0xFF5B, 0xFF5D, 0x3008, 0x3009, 0x300A, 0x300B, 0x300C, 0x300D, 0x300E, 0x300F, 0x3010, 0x3011, 0xFF0B, 0xFF0D, 0x00B1, 0x00D7, 0x00F7, 0xFF1D, 0x2260, 0xFF1C, 0xFF1E, 0x2266, 0x2267, 0x221E, 0x2234, 0x2642, 0x2640, 0x00B0, 0x2032, 0x2033, 0x2103, 0xFFE5, 0xFF04, 0xFFE0, 0xFFE1, 0xFF05, 0xFF03, 0xFF06, 0xFF0A, 0xFF20, 0x00A7, 0x2606, 0x2605, 0x25CB, 0x25CF, 0x25CE, 0x25C7 }, { /* category 02 */ 0x25C6, 0x25A1, 0x25A0, 0x25B3, 0x25B2, 0x25BD, 0x25BC, 0x203B, 0x3012, 0x2192, 0x2190, 0x2191, 0x2193, 0x3013, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2208, 0x220B, 0x2286, 0x2287, 0x2282, 0x2283, 0x222A, 0x2229, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2227, 0x2228, 0xFFE2, 0x21D2, 0x21D4, 0x2200, 0x2203, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x2220, 0x22A5, 0x2312, 0x2202, 0x2207, 0x2261, 0x2252, 0x226A, 0x226B, 0x221A, 0x223D, 0x221D, 0x2235, 0x222B, 0x222C, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x212B, 0x2030, 0x266F, 0x266D, 0x266A, 0x2020, 0x2021, /**/ 0x00B6, 0x0000, 0x0000, 0x0000, 0x0000, 0x25EF }, { /* category 03 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFF10, 0xFF11, 0xFF12, 0xFF13, 0xFF14, 0xFF15, 0xFF16, 0xFF17, 0xFF18, 0xFF19, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFF21, 0xFF22, 0xFF23, 0xFF24, 0xFF25, 0xFF26, 0xFF27, 0xFF28, 0xFF29, 0xFF2A, 0xFF2B, 0xFF2C, 0xFF2D, 0xFF2E, 0xFF2F, 0xFF30, 0xFF31, 0xFF32, 0xFF33, 0xFF34, 0xFF35, 0xFF36, 0xFF37, 0xFF38, 0xFF39, 0xFF3A, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0xFF41, 0xFF42, 0xFF43, 0xFF44, 0xFF45, 0xFF46, 0xFF47, 0xFF48, 0xFF49, 0xFF4A, 0xFF4B, 0xFF4C, 0xFF4D, 0xFF4E, 0xFF4F, 0xFF50, 0xFF51, 0xFF52, 0xFF53, 0xFF54, 0xFF55, 0xFF56, 0xFF57, 0xFF58, 0xFF59, 0xFF5A, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 04 */ 0x3041, 0x3042, 0x3043, 0x3044, 0x3045, 0x3046, 0x3047, 0x3048, 0x3049, 0x304A, 0x304B, 0x304C, 0x304D, 0x304E, 0x304F, 0x3050, 0x3051, 0x3052, 0x3053, 0x3054, 0x3055, 0x3056, 0x3057, 0x3058, 0x3059, 0x305A, 0x305B, 0x305C, 0x305D, 0x305E, 0x305F, 0x3060, 0x3061, 0x3062, 0x3063, 0x3064, 0x3065, 0x3066, 0x3067, 0x3068, 0x3069, 0x306A, 0x306B, 0x306C, 0x306D, 0x306E, 0x306F, 0x3070, 0x3071, 0x3072, 0x3073, 0x3074, 0x3075, 0x3076, 0x3077, 0x3078, 0x3079, 0x307A, 0x307B, 0x307C, 0x307D, 0x307E, 0x307F, 0x3080, 0x3081, 0x3082, 0x3083, 0x3084, 0x3085, 0x3086, 0x3087, 0x3088, 0x3089, 0x308A, 0x308B, 0x308C, 0x308D, 0x308E, 0x308F, 0x3090, 0x3091, 0x3092, 0x3093, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 05 */ 0x30A1, 0x30A2, 0x30A3, 0x30A4, 0x30A5, 0x30A6, 0x30A7, 0x30A8, 0x30A9, 0x30AA, 0x30AB, 0x30AC, 0x30AD, 0x30AE, 0x30AF, 0x30B0, 0x30B1, 0x30B2, 0x30B3, 0x30B4, 0x30B5, 0x30B6, 0x30B7, 0x30B8, 0x30B9, 0x30BA, 0x30BB, 0x30BC, 0x30BD, 0x30BE, 0x30BF, 0x30C0, 0x30C1, 0x30C2, 0x30C3, 0x30C4, 0x30C5, 0x30C6, 0x30C7, 0x30C8, 0x30C9, 0x30CA, 0x30CB, 0x30CC, 0x30CD, 0x30CE, 0x30CF, 0x30D0, 0x30D1, 0x30D2, 0x30D3, 0x30D4, 0x30D5, 0x30D6, 0x30D7, 0x30D8, 0x30D9, 0x30DA, 0x30DB, 0x30DC, 0x30DD, 0x30DE, 0x30DF, 0x30E0, 0x30E1, 0x30E2, 0x30E3, 0x30E4, 0x30E5, 0x30E6, 0x30E7, 0x30E8, 0x30E9, 0x30EA, 0x30EB, 0x30EC, 0x30ED, 0x30EE, 0x30EF, 0x30F0, 0x30F1, 0x30F2, 0x30F3, 0x30F4, 0x30F5, 0x30F6, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 06 */ 0x0391, 0x0392, 0x0393, 0x0394, 0x0395, 0x0396, 0x0397, 0x0398, 0x0399, 0x039A, 0x039B, 0x039C, 0x039D, 0x039E, 0x039F, 0x03A0, 0x03A1, 0x03A3, 0x03A4, 0x03A5, 0x03A6, 0x03A7, 0x03A8, 0x03A9, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x03B1, 0x03B2, 0x03B3, 0x03B4, 0x03B5, 0x03B6, 0x03B7, 0x03B8, 0x03B9, 0x03BA, 0x03BB, 0x03BC, 0x03BD, 0x03BE, 0x03BF, 0x03C0, 0x03C1, 0x03C3, 0x03C4, 0x03C5, 0x03C6, 0x03C7, 0x03C8, 0x03C9, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 07 */ 0x0410, 0x0411, 0x0412, 0x0413, 0x0414, 0x0415, 0x0401, 0x0416, 0x0417, 0x0418, 0x0419, 0x041A, 0x041B, 0x041C, 0x041D, 0x041E, 0x041F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0424, 0x0425, 0x0426, 0x0427, 0x0428, 0x0429, 0x042A, 0x042B, 0x042C, 0x042D, 0x042E, 0x042F, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0430, 0x0431, 0x0432, 0x0433, 0x0434, 0x0435, 0x0451, 0x0436, 0x0437, 0x0438, 0x0439, 0x043A, 0x043B, 0x043C, 0x043D, 0x043E, 0x043F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0444, 0x0445, 0x0446, 0x0447, 0x0448, 0x0449, 0x044A, 0x044B, 0x044C, 0x044D, 0x044E, 0x044F, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 08 */ 0x2500, 0x2502, 0x250C, 0x2510, 0x2518, 0x2514, 0x251C, 0x252C, 0x2524, 0x2534, 0x253C, 0x2501, 0x2503, 0x250F, 0x2513, 0x251B, 0x2517, 0x2523, 0x2533, 0x252B, 0x253B, 0x254B, 0x2520, 0x252F, 0x2528, 0x2537, 0x253F, 0x251D, 0x2530, 0x2525, 0x2538, 0x2542, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 09 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 10 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 11 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 12 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 13 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 14 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 15 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 16 */ 0x4E9C, 0x5516, 0x5A03, 0x963F, 0x54C0, 0x611B, 0x6328, 0x59F6, 0x9022, 0x8475, 0x831C, 0x7A50, 0x60AA, 0x63E1, 0x6E25, 0x65ED, 0x8466, 0x82A6, 0x9BF5, 0x6893, 0x5727, 0x65A1, 0x6271, 0x5B9B, 0x59D0, 0x867B, 0x98F4, 0x7D62, 0x7DBE, 0x9B8E, 0x6216, 0x7C9F, 0x88B7, 0x5B89, 0x5EB5, 0x6309, 0x6697, 0x6848, 0x95C7, 0x978D, 0x674F, 0x4EE5, 0x4F0A, 0x4F4D, 0x4F9D, 0x5049, 0x56F2, 0x5937, 0x59D4, 0x5A01, 0x5C09, 0x60DF, 0x610F, 0x6170, 0x6613, 0x6905, 0x70BA, 0x754F, 0x7570, 0x79FB, 0x7DAD, 0x7DEF, 0x80C3, 0x840E, 0x8863, 0x8B02, 0x9055, 0x907A, 0x533B, 0x4E95, 0x4EA5, 0x57DF, 0x80B2, 0x90C1, 0x78EF, 0x4E00, 0x58F1, 0x6EA2, 0x9038, 0x7A32, 0x8328, 0x828B, 0x9C2F, 0x5141, 0x5370, 0x54BD, 0x54E1, 0x56E0, 0x59FB, 0x5F15, 0x98F2, 0x6DEB, 0x80E4, 0x852D }, { /* category 17 */ 0x9662, 0x9670, 0x96A0, 0x97FB, 0x540B, 0x53F3, 0x5B87, 0x70CF, 0x7FBD, 0x8FC2, 0x96E8, 0x536F, 0x9D5C, 0x7ABA, 0x4E11, 0x7893, 0x81FC, 0x6E26, 0x5618, 0x5504, 0x6B1D, 0x851A, 0x9C3B, 0x59E5, 0x53A9, 0x6D66, 0x74DC, 0x958F, 0x5642, 0x4E91, 0x904B, 0x96F2, 0x834F, 0x990C, 0x53E1, 0x55B6, 0x5B30, 0x5F71, 0x6620, 0x66F3, 0x6804, 0x6C38, 0x6CF3, 0x6D29, 0x745B, 0x76C8, 0x7A4E, 0x9834, 0x82F1, 0x885B, 0x8A60, 0x92ED, 0x6DB2, 0x75AB, 0x76CA, 0x99C5, 0x60A6, 0x8B01, 0x8D8A, 0x95B2, 0x698E, 0x53AD, 0x5186, 0x5712, 0x5830, 0x5944, 0x5BB4, 0x5EF6, 0x6028, 0x63A9, 0x63F4, 0x6CBF, 0x6F14, 0x708E, 0x7114, 0x7159, 0x71D5, 0x733F, 0x7E01, 0x8276, 0x82D1, 0x8597, 0x9060, 0x925B, 0x9D1B, 0x5869, 0x65BC, 0x6C5A, 0x7525, 0x51F9, 0x592E, 0x5965, 0x5F80, 0x5FDC }, { /* category 18 */ 0x62BC, 0x65FA, 0x6A2A, 0x6B27, 0x6BB4, 0x738B, 0x7FC1, 0x8956, 0x9D2C, 0x9D0E, 0x9EC4, 0x5CA1, 0x6C96, 0x837B, 0x5104, 0x5C4B, 0x61B6, 0x81C6, 0x6876, 0x7261, 0x4E59, 0x4FFA, 0x5378, 0x6069, 0x6E29, 0x7A4F, 0x97F3, 0x4E0B, 0x5316, 0x4EEE, 0x4F55, 0x4F3D, 0x4FA1, 0x4F73, 0x52A0, 0x53EF, 0x5609, 0x590F, 0x5AC1, 0x5BB6, 0x5BE1, 0x79D1, 0x6687, 0x679C, 0x67B6, 0x6B4C, 0x6CB3, 0x706B, 0x73C2, 0x798D, 0x79BE, 0x7A3C, 0x7B87, 0x82B1, 0x82DB, 0x8304, 0x8377, 0x83EF, 0x83D3, 0x8766, 0x8AB2, 0x5629, 0x8CA8, 0x8FE6, 0x904E, 0x971E, 0x868A, 0x4FC4, 0x5CE8, 0x6211, 0x7259, 0x753B, 0x81E5, 0x82BD, 0x86FE, 0x8CC0, 0x96C5, 0x9913, 0x99D5, 0x4ECB, 0x4F1A, 0x89E3, 0x56DE, 0x584A, 0x58CA, 0x5EFB, 0x5FEB, 0x602A, 0x6094, 0x6062, 0x61D0, 0x6212, 0x62D0, 0x6539 }, { /* category 19 */ 0x9B41, 0x6666, 0x68B0, 0x6D77, 0x7070, 0x754C, 0x7686, 0x7D75, 0x82A5, 0x87F9, 0x958B, 0x968E, 0x8C9D, 0x51F1, 0x52BE, 0x5916, 0x54B3, 0x5BB3, 0x5D16, 0x6168, 0x6982, 0x6DAF, 0x788D, 0x84CB, 0x8857, 0x8A72, 0x93A7, 0x9AB8, 0x6D6C, 0x99A8, 0x86D9, 0x57A3, 0x67FF, 0x86CE, 0x920E, 0x5283, 0x5687, 0x5404, 0x5ED3, 0x62E1, 0x64B9, 0x683C, 0x6838, 0x6BBB, 0x7372, 0x78BA, 0x7A6B, 0x899A, 0x89D2, 0x8D6B, 0x8F03, 0x90ED, 0x95A3, 0x9694, 0x9769, 0x5B66, 0x5CB3, 0x697D, 0x984D, 0x984E, 0x639B, 0x7B20, 0x6A2B, 0x6A7F, 0x68B6, 0x9C0D, 0x6F5F, 0x5272, 0x559D, 0x6070, 0x62EC, 0x6D3B, 0x6E07, 0x6ED1, 0x845B, 0x8910, 0x8F44, 0x4E14, 0x9C39, 0x53F6, 0x691B, 0x6A3A, 0x9784, 0x682A, 0x515C, 0x7AC3, 0x84B2, 0x91DC, 0x938C, 0x565B, 0x9D28, 0x6822, 0x8305, 0x8431 }, { /* category 20 */ 0x7CA5, 0x5208, 0x82C5, 0x74E6, 0x4E7E, 0x4F83, 0x51A0, 0x5BD2, 0x520A, 0x52D8, 0x52E7, 0x5DFB, 0x559A, 0x582A, 0x59E6, 0x5B8C, 0x5B98, 0x5BDB, 0x5E72, 0x5E79, 0x60A3, 0x611F, 0x6163, 0x61BE, 0x63DB, 0x6562, 0x67D1, 0x6853, 0x68FA, 0x6B3E, 0x6B53, 0x6C57, 0x6F22, 0x6F97, 0x6F45, 0x74B0, 0x7518, 0x76E3, 0x770B, 0x7AFF, 0x7BA1, 0x7C21, 0x7DE9, 0x7F36, 0x7FF0, 0x809D, 0x8266, 0x839E, 0x89B3, 0x8ACC, 0x8CAB, 0x9084, 0x9451, 0x9593, 0x9591, 0x95A2, 0x9665, 0x97D3, 0x9928, 0x8218, 0x4E38, 0x542B, 0x5CB8, 0x5DCC, 0x73A9, 0x764C, 0x773C, 0x5CA9, 0x7FEB, 0x8D0B, 0x96C1, 0x9811, 0x9854, 0x9858, 0x4F01, 0x4F0E, 0x5371, 0x559C, 0x5668, 0x57FA, 0x5947, 0x5B09, 0x5BC4, 0x5C90, 0x5E0C, 0x5E7E, 0x5FCC, 0x63EE, 0x673A, 0x65D7, 0x65E2, 0x671F, 0x68CB, 0x68C4 }, { /* category 21 */ 0x6A5F, 0x5E30, 0x6BC5, 0x6C17, 0x6C7D, 0x757F, 0x7948, 0x5B63, 0x7A00, 0x7D00, 0x5FBD, 0x898F, 0x8A18, 0x8CB4, 0x8D77, 0x8ECC, 0x8F1D, 0x98E2, 0x9A0E, 0x9B3C, 0x4E80, 0x507D, 0x5100, 0x5993, 0x5B9C, 0x622F, 0x6280, 0x64EC, 0x6B3A, 0x72A0, 0x7591, 0x7947, 0x7FA9, 0x87FB, 0x8ABC, 0x8B70, 0x63AC, 0x83CA, 0x97A0, 0x5409, 0x5403, 0x55AB, 0x6854, 0x6A58, 0x8A70, 0x7827, 0x6775, 0x9ECD, 0x5374, 0x5BA2, 0x811A, 0x8650, 0x9006, 0x4E18, 0x4E45, 0x4EC7, 0x4F11, 0x53CA, 0x5438, 0x5BAE, 0x5F13, 0x6025, 0x6551, 0x673D, 0x6C42, 0x6C72, 0x6CE3, 0x7078, 0x7403, 0x7A76, 0x7AAE, 0x7B08, 0x7D1A, 0x7CFE, 0x7D66, 0x65E7, 0x725B, 0x53BB, 0x5C45, 0x5DE8, 0x62D2, 0x62E0, 0x6319, 0x6E20, 0x865A, 0x8A31, 0x8DDD, 0x92F8, 0x6F01, 0x79A6, 0x9B5A, 0x4EA8, 0x4EAB, 0x4EAC }, { /* category 22 */ 0x4F9B, 0x4FA0, 0x50D1, 0x5147, 0x7AF6, 0x5171, 0x51F6, 0x5354, 0x5321, 0x537F, 0x53EB, 0x55AC, 0x5883, 0x5CE1, 0x5F37, 0x5F4A, 0x602F, 0x6050, 0x606D, 0x631F, 0x6559, 0x6A4B, 0x6CC1, 0x72C2, 0x72ED, 0x77EF, 0x80F8, 0x8105, 0x8208, 0x854E, 0x90F7, 0x93E1, 0x97FF, 0x9957, 0x9A5A, 0x4EF0, 0x51DD, 0x5C2D, 0x6681, 0x696D, 0x5C40, 0x66F2, 0x6975, 0x7389, 0x6850, 0x7C81, 0x50C5, 0x52E4, 0x5747, 0x5DFE, 0x9326, 0x65A4, 0x6B23, 0x6B3D, 0x7434, 0x7981, 0x79BD, 0x7B4B, 0x7DCA, 0x82B9, 0x83CC, 0x887F, 0x895F, 0x8B39, 0x8FD1, 0x91D1, 0x541F, 0x9280, 0x4E5D, 0x5036, 0x53E5, 0x533A, 0x72D7, 0x7396, 0x77E9, 0x82E6, 0x8EAF, 0x99C6, 0x99C8, 0x99D2, 0x5177, 0x611A, 0x865E, 0x55B0, 0x7A7A, 0x5076, 0x5BD3, 0x9047, 0x9685, 0x4E32, 0x6ADB, 0x91E7, 0x5C51, 0x5C48 }, { /* category 23 */ 0x6398, 0x7A9F, 0x6C93, 0x9774, 0x8F61, 0x7AAA, 0x718A, 0x9688, 0x7C82, 0x6817, 0x7E70, 0x6851, 0x936C, 0x52F2, 0x541B, 0x85AB, 0x8A13, 0x7FA4, 0x8ECD, 0x90E1, 0x5366, 0x8888, 0x7941, 0x4FC2, 0x50BE, 0x5211, 0x5144, 0x5553, 0x572D, 0x73EA, 0x578B, 0x5951, 0x5F62, 0x5F84, 0x6075, 0x6176, 0x6167, 0x61A9, 0x63B2, 0x643A, 0x656C, 0x666F, 0x6842, 0x6E13, 0x7566, 0x7A3D, 0x7CFB, 0x7D4C, 0x7D99, 0x7E4B, 0x7F6B, 0x830E, 0x834A, 0x86CD, 0x8A08, 0x8A63, 0x8B66, 0x8EFD, 0x981A, 0x9D8F, 0x82B8, 0x8FCE, 0x9BE8, 0x5287, 0x621F, 0x6483, 0x6FC0, 0x9699, 0x6841, 0x5091, 0x6B20, 0x6C7A, 0x6F54, 0x7A74, 0x7D50, 0x8840, 0x8A23, 0x6708, 0x4EF6, 0x5039, 0x5026, 0x5065, 0x517C, 0x5238, 0x5263, 0x55A7, 0x570F, 0x5805, 0x5ACC, 0x5EFA, 0x61B2, 0x61F8, 0x62F3, 0x6372 }, { /* category 24 */ 0x691C, 0x6A29, 0x727D, 0x72AC, 0x732E, 0x7814, 0x786F, 0x7D79, 0x770C, 0x80A9, 0x898B, 0x8B19, 0x8CE2, 0x8ED2, 0x9063, 0x9375, 0x967A, 0x9855, 0x9A13, 0x9E78, 0x5143, 0x539F, 0x53B3, 0x5E7B, 0x5F26, 0x6E1B, 0x6E90, 0x7384, 0x73FE, 0x7D43, 0x8237, 0x8A00, 0x8AFA, 0x9650, 0x4E4E, 0x500B, 0x53E4, 0x547C, 0x56FA, 0x59D1, 0x5B64, 0x5DF1, 0x5EAB, 0x5F27, 0x6238, 0x6545, 0x67AF, 0x6E56, 0x72D0, 0x7CCA, 0x88B4, 0x80A1, 0x80E1, 0x83F0, 0x864E, 0x8A87, 0x8DE8, 0x9237, 0x96C7, 0x9867, 0x9F13, 0x4E94, 0x4E92, 0x4F0D, 0x5348, 0x5449, 0x543E, 0x5A2F, 0x5F8C, 0x5FA1, 0x609F, 0x68A7, 0x6A8E, 0x745A, 0x7881, 0x8A9E, 0x8AA4, 0x8B77, 0x9190, 0x4E5E, 0x9BC9, 0x4EA4, 0x4F7C, 0x4FAF, 0x5019, 0x5016, 0x5149, 0x516C, 0x529F, 0x52B9, 0x52FE, 0x539A, 0x53E3, 0x5411 }, { /* category 25 */ 0x540E, 0x5589, 0x5751, 0x57A2, 0x597D, 0x5B54, 0x5B5D, 0x5B8F, 0x5DE5, 0x5DE7, 0x5DF7, 0x5E78, 0x5E83, 0x5E9A, 0x5EB7, 0x5F18, 0x6052, 0x614C, 0x6297, 0x62D8, 0x63A7, 0x653B, 0x6602, 0x6643, 0x66F4, 0x676D, 0x6821, 0x6897, 0x69CB, 0x6C5F, 0x6D2A, 0x6D69, 0x6E2F, 0x6E9D, 0x7532, 0x7687, 0x786C, 0x7A3F, 0x7CE0, 0x7D05, 0x7D18, 0x7D5E, 0x7DB1, 0x8015, 0x8003, 0x80AF, 0x80B1, 0x8154, 0x818F, 0x822A, 0x8352, 0x884C, 0x8861, 0x8B1B, 0x8CA2, 0x8CFC, 0x90CA, 0x9175, 0x9271, 0x783F, 0x92FC, 0x95A4, 0x964D, 0x9805, 0x9999, 0x9AD8, 0x9D3B, 0x525B, 0x52AB, 0x53F7, 0x5408, 0x58D5, 0x62F7, 0x6FE0, 0x8C6A, 0x8F5F, 0x9EB9, 0x514B, 0x523B, 0x544A, 0x56FD, 0x7A40, 0x9177, 0x9D60, 0x9ED2, 0x7344, 0x6F09, 0x8170, 0x7511, 0x5FFD, 0x60DA, 0x9AA8, 0x72DB, 0x8FBC }, { /* category 26 */ 0x6B64, 0x9803, 0x4ECA, 0x56F0, 0x5764, 0x58BE, 0x5A5A, 0x6068, 0x61C7, 0x660F, 0x6606, 0x6839, 0x68B1, 0x6DF7, 0x75D5, 0x7D3A, 0x826E, 0x9B42, 0x4E9B, 0x4F50, 0x53C9, 0x5506, 0x5D6F, 0x5DE6, 0x5DEE, 0x67FB, 0x6C99, 0x7473, 0x7802, 0x8A50, 0x9396, 0x88DF, 0x5750, 0x5EA7, 0x632B, 0x50B5, 0x50AC, 0x518D, 0x6700, 0x54C9, 0x585E, 0x59BB, 0x5BB0, 0x5F69, 0x624D, 0x63A1, 0x683D, 0x6B73, 0x6E08, 0x707D, 0x91C7, 0x7280, 0x7815, 0x7826, 0x796D, 0x658E, 0x7D30, 0x83DC, 0x88C1, 0x8F09, 0x969B, 0x5264, 0x5728, 0x6750, 0x7F6A, 0x8CA1, 0x51B4, 0x5742, 0x962A, 0x583A, 0x698A, 0x80B4, 0x54B2, 0x5D0E, 0x57FC, 0x7895, 0x9DFA, 0x4F5C, 0x524A, 0x548B, 0x643E, 0x6628, 0x6714, 0x67F5, 0x7A84, 0x7B56, 0x7D22, 0x932F, 0x685C, 0x9BAD, 0x7B39, 0x5319, 0x518A, 0x5237 }, { /* category 27 */ 0x5BDF, 0x62F6, 0x64AE, 0x64E6, 0x672D, 0x6BBA, 0x85A9, 0x96D1, 0x7690, 0x9BD6, 0x634C, 0x9306, 0x9BAB, 0x76BF, 0x6652, 0x4E09, 0x5098, 0x53C2, 0x5C71, 0x60E8, 0x6492, 0x6563, 0x685F, 0x71E6, 0x73CA, 0x7523, 0x7B97, 0x7E82, 0x8695, 0x8B83, 0x8CDB, 0x9178, 0x9910, 0x65AC, 0x66AB, 0x6B8B, 0x4ED5, 0x4ED4, 0x4F3A, 0x4F7F, 0x523A, 0x53F8, 0x53F2, 0x55E3, 0x56DB, 0x58EB, 0x59CB, 0x59C9, 0x59FF, 0x5B50, 0x5C4D, 0x5E02, 0x5E2B, 0x5FD7, 0x601D, 0x6307, 0x652F, 0x5B5C, 0x65AF, 0x65BD, 0x65E8, 0x679D, 0x6B62, 0x6B7B, 0x6C0F, 0x7345, 0x7949, 0x79C1, 0x7CF8, 0x7D19, 0x7D2B, 0x80A2, 0x8102, 0x81F3, 0x8996, 0x8A5E, 0x8A69, 0x8A66, 0x8A8C, 0x8AEE, 0x8CC7, 0x8CDC, 0x96CC, 0x98FC, 0x6B6F, 0x4E8B, 0x4F3C, 0x4F8D, 0x5150, 0x5B57, 0x5BFA, 0x6148, 0x6301, 0x6642 }, { /* category 28 */ 0x6B21, 0x6ECB, 0x6CBB, 0x723E, 0x74BD, 0x75D4, 0x78C1, 0x793A, 0x800C, 0x8033, 0x81EA, 0x8494, 0x8F9E, 0x6C50, 0x9E7F, 0x5F0F, 0x8B58, 0x9D2B, 0x7AFA, 0x8EF8, 0x5B8D, 0x96EB, 0x4E03, 0x53F1, 0x57F7, 0x5931, 0x5AC9, 0x5BA4, 0x6089, 0x6E7F, 0x6F06, 0x75BE, 0x8CEA, 0x5B9F, 0x8500, 0x7BE0, 0x5072, 0x67F4, 0x829D, 0x5C61, 0x854A, 0x7E1E, 0x820E, 0x5199, 0x5C04, 0x6368, 0x8D66, 0x659C, 0x716E, 0x793E, 0x7D17, 0x8005, 0x8B1D, 0x8ECA, 0x906E, 0x86C7, 0x90AA, 0x501F, 0x52FA, 0x5C3A, 0x6753, 0x707C, 0x7235, 0x914C, 0x91C8, 0x932B, 0x82E5, 0x5BC2, 0x5F31, 0x60F9, 0x4E3B, 0x53D6, 0x5B88, 0x624B, 0x6731, 0x6B8A, 0x72E9, 0x73E0, 0x7A2E, 0x816B, 0x8DA3, 0x9152, 0x9996, 0x5112, 0x53D7, 0x546A, 0x5BFF, 0x6388, 0x6A39, 0x7DAC, 0x9700, 0x56DA, 0x53CE, 0x5468 }, { /* category 29 */ 0x5B97, 0x5C31, 0x5DDE, 0x4FEE, 0x6101, 0x62FE, 0x6D32, 0x79C0, 0x79CB, 0x7D42, 0x7E4D, 0x7FD2, 0x81ED, 0x821F, 0x8490, 0x8846, 0x8972, 0x8B90, 0x8E74, 0x8F2F, 0x9031, 0x914B, 0x916C, 0x96C6, 0x919C, 0x4EC0, 0x4F4F, 0x5145, 0x5341, 0x5F93, 0x620E, 0x67D4, 0x6C41, 0x6E0B, 0x7363, 0x7E26, 0x91CD, 0x9283, 0x53D4, 0x5919, 0x5BBF, 0x6DD1, 0x795D, 0x7E2E, 0x7C9B, 0x587E, 0x719F, 0x51FA, 0x8853, 0x8FF0, 0x4FCA, 0x5CFB, 0x6625, 0x77AC, 0x7AE3, 0x821C, 0x99FF, 0x51C6, 0x5FAA, 0x65EC, 0x696F, 0x6B89, 0x6DF3, 0x6E96, 0x6F64, 0x76FE, 0x7D14, 0x5DE1, 0x9075, 0x9187, 0x9806, 0x51E6, 0x521D, 0x6240, 0x6691, 0x66D9, 0x6E1A, 0x5EB6, 0x7DD2, 0x7F72, 0x66F8, 0x85AF, 0x85F7, 0x8AF8, 0x52A9, 0x53D9, 0x5973, 0x5E8F, 0x5F90, 0x6055, 0x92E4, 0x9664, 0x50B7, 0x511F }, { /* category 30 */ 0x52DD, 0x5320, 0x5347, 0x53EC, 0x54E8, 0x5546, 0x5531, 0x5617, 0x5968, 0x59BE, 0x5A3C, 0x5BB5, 0x5C06, 0x5C0F, 0x5C11, 0x5C1A, 0x5E84, 0x5E8A, 0x5EE0, 0x5F70, 0x627F, 0x6284, 0x62DB, 0x638C, 0x6377, 0x6607, 0x660C, 0x662D, 0x6676, 0x677E, 0x68A2, 0x6A1F, 0x6A35, 0x6CBC, 0x6D88, 0x6E09, 0x6E58, 0x713C, 0x7126, 0x7167, 0x75C7, 0x7701, 0x785D, 0x7901, 0x7965, 0x79F0, 0x7AE0, 0x7B11, 0x7CA7, 0x7D39, 0x8096, 0x83D6, 0x848B, 0x8549, 0x885D, 0x88F3, 0x8A1F, 0x8A3C, 0x8A54, 0x8A73, 0x8C61, 0x8CDE, 0x91A4, 0x9266, 0x937E, 0x9418, 0x969C, 0x9798, 0x4E0A, 0x4E08, 0x4E1E, 0x4E57, 0x5197, 0x5270, 0x57CE, 0x5834, 0x58CC, 0x5B22, 0x5E38, 0x60C5, 0x64FE, 0x6761, 0x6756, 0x6D44, 0x72B6, 0x7573, 0x7A63, 0x84B8, 0x8B72, 0x91B8, 0x9320, 0x5631, 0x57F4, 0x98FE }, { /* category 31 */ 0x62ED, 0x690D, 0x6B96, 0x71ED, 0x7E54, 0x8077, 0x8272, 0x89E6, 0x98DF, 0x8755, 0x8FB1, 0x5C3B, 0x4F38, 0x4FE1, 0x4FB5, 0x5507, 0x5A20, 0x5BDD, 0x5BE9, 0x5FC3, 0x614E, 0x632F, 0x65B0, 0x664B, 0x68EE, 0x699B, 0x6D78, 0x6DF1, 0x7533, 0x75B9, 0x771F, 0x795E, 0x79E6, 0x7D33, 0x81E3, 0x82AF, 0x85AA, 0x89AA, 0x8A3A, 0x8EAB, 0x8F9B, 0x9032, 0x91DD, 0x9707, 0x4EBA, 0x4EC1, 0x5203, 0x5875, 0x58EC, 0x5C0B, 0x751A, 0x5C3D, 0x814E, 0x8A0A, 0x8FC5, 0x9663, 0x976D, 0x7B25, 0x8ACF, 0x9808, 0x9162, 0x56F3, 0x53A8, 0x9017, 0x5439, 0x5782, 0x5E25, 0x63A8, 0x6C34, 0x708A, 0x7761, 0x7C8B, 0x7FE0, 0x8870, 0x9042, 0x9154, 0x9310, 0x9318, 0x968F, 0x745E, 0x9AC4, 0x5D07, 0x5D69, 0x6570, 0x67A2, 0x8DA8, 0x96DB, 0x636E, 0x6749, 0x6919, 0x83C5, 0x9817, 0x96C0, 0x88FE }, { /* category 32 */ 0x6F84, 0x647A, 0x5BF8, 0x4E16, 0x702C, 0x755D, 0x662F, 0x51C4, 0x5236, 0x52E2, 0x59D3, 0x5F81, 0x6027, 0x6210, 0x653F, 0x6574, 0x661F, 0x6674, 0x68F2, 0x6816, 0x6B63, 0x6E05, 0x7272, 0x751F, 0x76DB, 0x7CBE, 0x8056, 0x58F0, 0x88FD, 0x897F, 0x8AA0, 0x8A93, 0x8ACB, 0x901D, 0x9192, 0x9752, 0x9759, 0x6589, 0x7A0E, 0x8106, 0x96BB, 0x5E2D, 0x60DC, 0x621A, 0x65A5, 0x6614, 0x6790, 0x77F3, 0x7A4D, 0x7C4D, 0x7E3E, 0x810A, 0x8CAC, 0x8D64, 0x8DE1, 0x8E5F, 0x78A9, 0x5207, 0x62D9, 0x63A5, 0x6442, 0x6298, 0x8A2D, 0x7A83, 0x7BC0, 0x8AAC, 0x96EA, 0x7D76, 0x820C, 0x8749, 0x4ED9, 0x5148, 0x5343, 0x5360, 0x5BA3, 0x5C02, 0x5C16, 0x5DDD, 0x6226, 0x6247, 0x64B0, 0x6813, 0x6834, 0x6CC9, 0x6D45, 0x6D17, 0x67D3, 0x6F5C, 0x714E, 0x717D, 0x65CB, 0x7A7F, 0x7BAD, 0x7DDA }, { /* category 33 */ 0x7E4A, 0x7FA8, 0x817A, 0x821B, 0x8239, 0x85A6, 0x8A6E, 0x8CCE, 0x8DF5, 0x9078, 0x9077, 0x92AD, 0x9291, 0x9583, 0x9BAE, 0x524D, 0x5584, 0x6F38, 0x7136, 0x5168, 0x7985, 0x7E55, 0x81B3, 0x7CCE, 0x564C, 0x5851, 0x5CA8, 0x63AA, 0x66FE, 0x66FD, 0x695A, 0x72D9, 0x758F, 0x758E, 0x790E, 0x7956, 0x79DF, 0x7C97, 0x7D20, 0x7D44, 0x8607, 0x8A34, 0x963B, 0x9061, 0x9F20, 0x50E7, 0x5275, 0x53CC, 0x53E2, 0x5009, 0x55AA, 0x58EE, 0x594F, 0x723D, 0x5B8B, 0x5C64, 0x531D, 0x60E3, 0x60F3, 0x635C, 0x6383, 0x633F, 0x63BB, 0x64CD, 0x65E9, 0x66F9, 0x5DE3, 0x69CD, 0x69FD, 0x6F15, 0x71E5, 0x4E89, 0x75E9, 0x76F8, 0x7A93, 0x7CDF, 0x7DCF, 0x7D9C, 0x8061, 0x8349, 0x8358, 0x846C, 0x84BC, 0x85FB, 0x88C5, 0x8D70, 0x9001, 0x906D, 0x9397, 0x971C, 0x9A12, 0x50CF, 0x5897, 0x618E }, { /* category 34 */ 0x81D3, 0x8535, 0x8D08, 0x9020, 0x4FC3, 0x5074, 0x5247, 0x5373, 0x606F, 0x6349, 0x675F, 0x6E2C, 0x8DB3, 0x901F, 0x4FD7, 0x5C5E, 0x8CCA, 0x65CF, 0x7D9A, 0x5352, 0x8896, 0x5176, 0x63C3, 0x5B58, 0x5B6B, 0x5C0A, 0x640D, 0x6751, 0x905C, 0x4ED6, 0x591A, 0x592A, 0x6C70, 0x8A51, 0x553E, 0x5815, 0x59A5, 0x60F0, 0x6253, 0x67C1, 0x8235, 0x6955, 0x9640, 0x99C4, 0x9A28, 0x4F53, 0x5806, 0x5BFE, 0x8010, 0x5CB1, 0x5E2F, 0x5F85, 0x6020, 0x614B, 0x6234, 0x66FF, 0x6CF0, 0x6EDE, 0x80CE, 0x817F, 0x82D4, 0x888B, 0x8CB8, 0x9000, 0x902E, 0x968A, 0x9EDB, 0x9BDB, 0x4EE3, 0x53F0, 0x5927, 0x7B2C, 0x918D, 0x984C, 0x9DF9, 0x6EDD, 0x7027, 0x5353, 0x5544, 0x5B85, 0x6258, 0x629E, 0x62D3, 0x6CA2, 0x6FEF, 0x7422, 0x8A17, 0x9438, 0x6FC1, 0x8AFE, 0x8338, 0x51E7, 0x86F8, 0x53EA }, { /* category 35 */ 0x53E9, 0x4F46, 0x9054, 0x8FB0, 0x596A, 0x8131, 0x5DFD, 0x7AEA, 0x8FBF, 0x68DA, 0x8C37, 0x72F8, 0x9C48, 0x6A3D, 0x8AB0, 0x4E39, 0x5358, 0x5606, 0x5766, 0x62C5, 0x63A2, 0x65E6, 0x6B4E, 0x6DE1, 0x6E5B, 0x70AD, 0x77ED, 0x7AEF, 0x7BAA, 0x7DBB, 0x803D, 0x80C6, 0x86CB, 0x8A95, 0x935B, 0x56E3, 0x58C7, 0x5F3E, 0x65AD, 0x6696, 0x6A80, 0x6BB5, 0x7537, 0x8AC7, 0x5024, 0x77E5, 0x5730, 0x5F1B, 0x6065, 0x667A, 0x6C60, 0x75F4, 0x7A1A, 0x7F6E, 0x81F4, 0x8718, 0x9045, 0x99B3, 0x7BC9, 0x755C, 0x7AF9, 0x7B51, 0x84C4, 0x9010, 0x79E9, 0x7A92, 0x8336, 0x5AE1, 0x7740, 0x4E2D, 0x4EF2, 0x5B99, 0x5FE0, 0x62BD, 0x663C, 0x67F1, 0x6CE8, 0x866B, 0x8877, 0x8A3B, 0x914E, 0x92F3, 0x99D0, 0x6A17, 0x7026, 0x732A, 0x82E7, 0x8457, 0x8CAF, 0x4E01, 0x5146, 0x51CB, 0x558B, 0x5BF5 }, { /* category 36 */ 0x5E16, 0x5E33, 0x5E81, 0x5F14, 0x5F35, 0x5F6B, 0x5FB4, 0x61F2, 0x6311, 0x66A2, 0x671D, 0x6F6E, 0x7252, 0x753A, 0x773A, 0x8074, 0x8139, 0x8178, 0x8776, 0x8ABF, 0x8ADC, 0x8D85, 0x8DF3, 0x929A, 0x9577, 0x9802, 0x9CE5, 0x52C5, 0x6357, 0x76F4, 0x6715, 0x6C88, 0x73CD, 0x8CC3, 0x93AE, 0x9673, 0x6D25, 0x589C, 0x690E, 0x69CC, 0x8FFD, 0x939A, 0x75DB, 0x901A, 0x585A, 0x6802, 0x63B4, 0x69FB, 0x4F43, 0x6F2C, 0x67D8, 0x8FBB, 0x8526, 0x7DB4, 0x9354, 0x693F, 0x6F70, 0x576A, 0x58F7, 0x5B2C, 0x7D2C, 0x722A, 0x540A, 0x91E3, 0x9DB4, 0x4EAD, 0x4F4E, 0x505C, 0x5075, 0x5243, 0x8C9E, 0x5448, 0x5824, 0x5B9A, 0x5E1D, 0x5E95, 0x5EAD, 0x5EF7, 0x5F1F, 0x608C, 0x62B5, 0x633A, 0x63D0, 0x68AF, 0x6C40, 0x7887, 0x798E, 0x7A0B, 0x7DE0, 0x8247, 0x8A02, 0x8AE6, 0x8E44, 0x9013 }, { /* category 37 */ 0x90B8, 0x912D, 0x91D8, 0x9F0E, 0x6CE5, 0x6458, 0x64E2, 0x6575, 0x6EF4, 0x7684, 0x7B1B, 0x9069, 0x93D1, 0x6EBA, 0x54F2, 0x5FB9, 0x64A4, 0x8F4D, 0x8FED, 0x9244, 0x5178, 0x586B, 0x5929, 0x5C55, 0x5E97, 0x6DFB, 0x7E8F, 0x751C, 0x8CBC, 0x8EE2, 0x985B, 0x70B9, 0x4F1D, 0x6BBF, 0x6FB1, 0x7530, 0x96FB, 0x514E, 0x5410, 0x5835, 0x5857, 0x59AC, 0x5C60, 0x5F92, 0x6597, 0x675C, 0x6E21, 0x767B, 0x83DF, 0x8CED, 0x9014, 0x90FD, 0x934D, 0x7825, 0x783A, 0x52AA, 0x5EA6, 0x571F, 0x5974, 0x6012, 0x5012, 0x515A, 0x51AC, 0x51CD, 0x5200, 0x5510, 0x5854, 0x5858, 0x5957, 0x5B95, 0x5CF6, 0x5D8B, 0x60BC, 0x6295, 0x642D, 0x6771, 0x6843, 0x68BC, 0x68DF, 0x76D7, 0x6DD8, 0x6E6F, 0x6D9B, 0x706F, 0x71C8, 0x5F53, 0x75D8, 0x7977, 0x7B49, 0x7B54, 0x7B52, 0x7CD6, 0x7D71, 0x5230 }, { /* category 38 */ 0x8463, 0x8569, 0x85E4, 0x8A0E, 0x8B04, 0x8C46, 0x8E0F, 0x9003, 0x900F, 0x9419, 0x9676, 0x982D, 0x9A30, 0x95D8, 0x50CD, 0x52D5, 0x540C, 0x5802, 0x5C0E, 0x61A7, 0x649E, 0x6D1E, 0x77B3, 0x7AE5, 0x80F4, 0x8404, 0x9053, 0x9285, 0x5CE0, 0x9D07, 0x533F, 0x5F97, 0x5FB3, 0x6D9C, 0x7279, 0x7763, 0x79BF, 0x7BE4, 0x6BD2, 0x72EC, 0x8AAD, 0x6803, 0x6A61, 0x51F8, 0x7A81, 0x6934, 0x5C4A, 0x9CF6, 0x82EB, 0x5BC5, 0x9149, 0x701E, 0x5678, 0x5C6F, 0x60C7, 0x6566, 0x6C8C, 0x8C5A, 0x9041, 0x9813, 0x5451, 0x66C7, 0x920D, 0x5948, 0x90A3, 0x5185, 0x4E4D, 0x51EA, 0x8599, 0x8B0E, 0x7058, 0x637A, 0x934B, 0x6962, 0x99B4, 0x7E04, 0x7577, 0x5357, 0x6960, 0x8EDF, 0x96E3, 0x6C5D, 0x4E8C, 0x5C3C, 0x5F10, 0x8FE9, 0x5302, 0x8CD1, 0x8089, 0x8679, 0x5EFF, 0x65E5, 0x4E73, 0x5165 }, { /* category 39 */ 0x5982, 0x5C3F, 0x97EE, 0x4EFB, 0x598A, 0x5FCD, 0x8A8D, 0x6FE1, 0x79B0, 0x7962, 0x5BE7, 0x8471, 0x732B, 0x71B1, 0x5E74, 0x5FF5, 0x637B, 0x649A, 0x71C3, 0x7C98, 0x4E43, 0x5EFC, 0x4E4B, 0x57DC, 0x56A2, 0x60A9, 0x6FC3, 0x7D0D, 0x80FD, 0x8133, 0x81BF, 0x8FB2, 0x8997, 0x86A4, 0x5DF4, 0x628A, 0x64AD, 0x8987, 0x6777, 0x6CE2, 0x6D3E, 0x7436, 0x7834, 0x5A46, 0x7F75, 0x82AD, 0x99AC, 0x4FF3, 0x5EC3, 0x62DD, 0x6392, 0x6557, 0x676F, 0x76C3, 0x724C, 0x80CC, 0x80BA, 0x8F29, 0x914D, 0x500D, 0x57F9, 0x5A92, 0x6885, 0x6973, 0x7164, 0x72FD, 0x8CB7, 0x58F2, 0x8CE0, 0x966A, 0x9019, 0x877F, 0x79E4, 0x77E7, 0x8429, 0x4F2F, 0x5265, 0x535A, 0x62CD, 0x67CF, 0x6CCA, 0x767D, 0x7B94, 0x7C95, 0x8236, 0x8584, 0x8FEB, 0x66DD, 0x6F20, 0x7206, 0x7E1B, 0x83AB, 0x99C1, 0x9EA6 }, { /* category 40 */ 0x51FD, 0x7BB1, 0x7872, 0x7BB8, 0x8087, 0x7B48, 0x6AE8, 0x5E61, 0x808C, 0x7551, 0x7560, 0x516B, 0x9262, 0x6E8C, 0x767A, 0x9197, 0x9AEA, 0x4F10, 0x7F70, 0x629C, 0x7B4F, 0x95A5, 0x9CE9, 0x567A, 0x5859, 0x86E4, 0x96BC, 0x4F34, 0x5224, 0x534A, 0x53CD, 0x53DB, 0x5E06, 0x642C, 0x6591, 0x677F, 0x6C3E, 0x6C4E, 0x7248, 0x72AF, 0x73ED, 0x7554, 0x7E41, 0x822C, 0x85E9, 0x8CA9, 0x7BC4, 0x91C6, 0x7169, 0x9812, 0x98EF, 0x633D, 0x6669, 0x756A, 0x76E4, 0x78D0, 0x8543, 0x86EE, 0x532A, 0x5351, 0x5426, 0x5983, 0x5E87, 0x5F7C, 0x60B2, 0x6249, 0x6279, 0x62AB, 0x6590, 0x6BD4, 0x6CCC, 0x75B2, 0x76AE, 0x7891, 0x79D8, 0x7DCB, 0x7F77, 0x80A5, 0x88AB, 0x8AB9, 0x8CBB, 0x907F, 0x975E, 0x98DB, 0x6A0B, 0x7C38, 0x5099, 0x5C3E, 0x5FAE, 0x6787, 0x6BD8, 0x7435, 0x7709, 0x7F8E }, { /* category 41 */ 0x9F3B, 0x67CA, 0x7A17, 0x5339, 0x758B, 0x9AED, 0x5F66, 0x819D, 0x83F1, 0x8098, 0x5F3C, 0x5FC5, 0x7562, 0x7B46, 0x903C, 0x6867, 0x59EB, 0x5A9B, 0x7D10, 0x767E, 0x8B2C, 0x4FF5, 0x5F6A, 0x6A19, 0x6C37, 0x6F02, 0x74E2, 0x7968, 0x8868, 0x8A55, 0x8C79, 0x5EDF, 0x63CF, 0x75C5, 0x79D2, 0x82D7, 0x9328, 0x92F2, 0x849C, 0x86ED, 0x9C2D, 0x54C1, 0x5F6C, 0x658C, 0x6D5C, 0x7015, 0x8CA7, 0x8CD3, 0x983B, 0x654F, 0x74F6, 0x4E0D, 0x4ED8, 0x57E0, 0x592B, 0x5A66, 0x5BCC, 0x51A8, 0x5E03, 0x5E9C, 0x6016, 0x6276, 0x6577, 0x65A7, 0x666E, 0x6D6E, 0x7236, 0x7B26, 0x8150, 0x819A, 0x8299, 0x8B5C, 0x8CA0, 0x8CE6, 0x8D74, 0x961C, 0x9644, 0x4FAE, 0x64AB, 0x6B66, 0x821E, 0x8461, 0x856A, 0x90E8, 0x5C01, 0x6953, 0x98A8, 0x847A, 0x8557, 0x4F0F, 0x526F, 0x5FA9, 0x5E45, 0x670D }, { /* category 42 */ 0x798F, 0x8179, 0x8907, 0x8986, 0x6DF5, 0x5F17, 0x6255, 0x6CB8, 0x4ECF, 0x7269, 0x9B92, 0x5206, 0x543B, 0x5674, 0x58B3, 0x61A4, 0x626E, 0x711A, 0x596E, 0x7C89, 0x7CDE, 0x7D1B, 0x96F0, 0x6587, 0x805E, 0x4E19, 0x4F75, 0x5175, 0x5840, 0x5E63, 0x5E73, 0x5F0A, 0x67C4, 0x4E26, 0x853D, 0x9589, 0x965B, 0x7C73, 0x9801, 0x50FB, 0x58C1, 0x7656, 0x78A7, 0x5225, 0x77A5, 0x8511, 0x7B86, 0x504F, 0x5909, 0x7247, 0x7BC7, 0x7DE8, 0x8FBA, 0x8FD4, 0x904D, 0x4FBF, 0x52C9, 0x5A29, 0x5F01, 0x97AD, 0x4FDD, 0x8217, 0x92EA, 0x5703, 0x6355, 0x6B69, 0x752B, 0x88DC, 0x8F14, 0x7A42, 0x52DF, 0x5893, 0x6155, 0x620A, 0x66AE, 0x6BCD, 0x7C3F, 0x83E9, 0x5023, 0x4FF8, 0x5305, 0x5446, 0x5831, 0x5949, 0x5B9D, 0x5CF0, 0x5CEF, 0x5D29, 0x5E96, 0x62B1, 0x6367, 0x653E, 0x65B9, 0x670B }, { /* category 43 */ 0x6CD5, 0x6CE1, 0x70F9, 0x7832, 0x7E2B, 0x80DE, 0x82B3, 0x840C, 0x84EC, 0x8702, 0x8912, 0x8A2A, 0x8C4A, 0x90A6, 0x92D2, 0x98FD, 0x9CF3, 0x9D6C, 0x4E4F, 0x4EA1, 0x508D, 0x5256, 0x574A, 0x59A8, 0x5E3D, 0x5FD8, 0x5FD9, 0x623F, 0x66B4, 0x671B, 0x67D0, 0x68D2, 0x5192, 0x7D21, 0x80AA, 0x81A8, 0x8B00, 0x8C8C, 0x8CBF, 0x927E, 0x9632, 0x5420, 0x982C, 0x5317, 0x50D5, 0x535C, 0x58A8, 0x64B2, 0x6734, 0x7267, 0x7766, 0x7A46, 0x91E6, 0x52C3, 0x6CA1, 0x6B86, 0x5800, 0x5E4C, 0x5954, 0x672C, 0x7FFB, 0x51E1, 0x76C6, 0x6469, 0x78E8, 0x9B54, 0x9EBB, 0x57CB, 0x59B9, 0x6627, 0x679A, 0x6BCE, 0x54E9, 0x69D9, 0x5E55, 0x819C, 0x6795, 0x9BAA, 0x67FE, 0x9C52, 0x685D, 0x4EA6, 0x4FE3, 0x53C8, 0x62B9, 0x672B, 0x6CAB, 0x8FC4, 0x4FAD, 0x7E6D, 0x9EBF, 0x4E07, 0x6162, 0x6E80 }, { /* category 44 */ 0x6F2B, 0x8513, 0x5473, 0x672A, 0x9B45, 0x5DF3, 0x7B95, 0x5CAC, 0x5BC6, 0x871C, 0x6E4A, 0x84D1, 0x7A14, 0x8108, 0x5999, 0x7C8D, 0x6C11, 0x7720, 0x52D9, 0x5922, 0x7121, 0x725F, 0x77DB, 0x9727, 0x9D61, 0x690B, 0x5A7F, 0x5A18, 0x51A5, 0x540D, 0x547D, 0x660E, 0x76DF, 0x8FF7, 0x9298, 0x9CF4, 0x59EA, 0x725D, 0x6EC5, 0x514D, 0x68C9, 0x7DBF, 0x7DEC, 0x9762, 0x9EBA, 0x6478, 0x6A21, 0x8302, 0x5984, 0x5B5F, 0x6BDB, 0x731B, 0x76F2, 0x7DB2, 0x8017, 0x8499, 0x5132, 0x6728, 0x9ED9, 0x76EE, 0x6762, 0x52FF, 0x9905, 0x5C24, 0x623B, 0x7C7E, 0x8CB0, 0x554F, 0x60B6, 0x7D0B, 0x9580, 0x5301, 0x4E5F, 0x51B6, 0x591C, 0x723A, 0x8036, 0x91CE, 0x5F25, 0x77E2, 0x5384, 0x5F79, 0x7D04, 0x85AC, 0x8A33, 0x8E8D, 0x9756, 0x67F3, 0x85AE, 0x9453, 0x6109, 0x6108, 0x6CB9, 0x7652 }, { /* category 45 */ 0x8AED, 0x8F38, 0x552F, 0x4F51, 0x512A, 0x52C7, 0x53CB, 0x5BA5, 0x5E7D, 0x60A0, 0x6182, 0x63D6, 0x6709, 0x67DA, 0x6E67, 0x6D8C, 0x7336, 0x7337, 0x7531, 0x7950, 0x88D5, 0x8A98, 0x904A, 0x9091, 0x90F5, 0x96C4, 0x878D, 0x5915, 0x4E88, 0x4F59, 0x4E0E, 0x8A89, 0x8F3F, 0x9810, 0x50AD, 0x5E7C, 0x5996, 0x5BB9, 0x5EB8, 0x63DA, 0x63FA, 0x64C1, 0x66DC, 0x694A, 0x69D8, 0x6D0B, 0x6EB6, 0x7194, 0x7528, 0x7AAF, 0x7F8A, 0x8000, 0x8449, 0x84C9, 0x8981, 0x8B21, 0x8E0A, 0x9065, 0x967D, 0x990A, 0x617E, 0x6291, 0x6B32, 0x6C83, 0x6D74, 0x7FCC, 0x7FFC, 0x6DC0, 0x7F85, 0x87BA, 0x88F8, 0x6765, 0x83B1, 0x983C, 0x96F7, 0x6D1B, 0x7D61, 0x843D, 0x916A, 0x4E71, 0x5375, 0x5D50, 0x6B04, 0x6FEB, 0x85CD, 0x862D, 0x89A7, 0x5229, 0x540F, 0x5C65, 0x674E, 0x68A8, 0x7406, 0x7483 }, { /* category 46 */ 0x75E2, 0x88CF, 0x88E1, 0x91CC, 0x96E2, 0x9678, 0x5F8B, 0x7387, 0x7ACB, 0x844E, 0x63A0, 0x7565, 0x5289, 0x6D41, 0x6E9C, 0x7409, 0x7559, 0x786B, 0x7C92, 0x9686, 0x7ADC, 0x9F8D, 0x4FB6, 0x616E, 0x65C5, 0x865C, 0x4E86, 0x4EAE, 0x50DA, 0x4E21, 0x51CC, 0x5BEE, 0x6599, 0x6881, 0x6DBC, 0x731F, 0x7642, 0x77AD, 0x7A1C, 0x7CE7, 0x826F, 0x8AD2, 0x907C, 0x91CF, 0x9675, 0x9818, 0x529B, 0x7DD1, 0x502B, 0x5398, 0x6797, 0x6DCB, 0x71D0, 0x7433, 0x81E8, 0x8F2A, 0x96A3, 0x9C57, 0x9E9F, 0x7460, 0x5841, 0x6D99, 0x7D2F, 0x985E, 0x4EE4, 0x4F36, 0x4F8B, 0x51B7, 0x52B1, 0x5DBA, 0x601C, 0x73B2, 0x793C, 0x82D3, 0x9234, 0x96B7, 0x96F6, 0x970A, 0x9E97, 0x9F62, 0x66A6, 0x6B74, 0x5217, 0x52A3, 0x70C8, 0x88C2, 0x5EC9, 0x604B, 0x6190, 0x6F23, 0x7149, 0x7C3E, 0x7DF4, 0x806F }, { /* category 47 */ 0x84EE, 0x9023, 0x932C, 0x5442, 0x9B6F, 0x6AD3, 0x7089, 0x8CC2, 0x8DEF, 0x9732, 0x52B4, 0x5A41, 0x5ECA, 0x5F04, 0x6717, 0x697C, 0x6994, 0x6D6A, 0x6F0F, 0x7262, 0x72FC, 0x7BED, 0x8001, 0x807E, 0x874B, 0x90CE, 0x516D, 0x9E93, 0x7984, 0x808B, 0x9332, 0x8AD6, 0x502D, 0x548C, 0x8A71, 0x6B6A, 0x8CC4, 0x8107, 0x60D1, 0x67A0, 0x9DF2, 0x4E99, 0x4E98, 0x9C10, 0x8A6B, 0x85C1, 0x8568, 0x6900, 0x6E7E, 0x7897, 0x8155, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 48 */ 0x5F0C, 0x4E10, 0x4E15, 0x4E2A, 0x4E31, 0x4E36, 0x4E3C, 0x4E3F, 0x4E42, 0x4E56, 0x4E58, 0x4E82, 0x4E85, 0x8C6B, 0x4E8A, 0x8212, 0x5F0D, 0x4E8E, 0x4E9E, 0x4E9F, 0x4EA0, 0x4EA2, 0x4EB0, 0x4EB3, 0x4EB6, 0x4ECE, 0x4ECD, 0x4EC4, 0x4EC6, 0x4EC2, 0x4ED7, 0x4EDE, 0x4EED, 0x4EDF, 0x4EF7, 0x4F09, 0x4F5A, 0x4F30, 0x4F5B, 0x4F5D, 0x4F57, 0x4F47, 0x4F76, 0x4F88, 0x4F8F, 0x4F98, 0x4F7B, 0x4F69, 0x4F70, 0x4F91, 0x4F6F, 0x4F86, 0x4F96, 0x5118, 0x4FD4, 0x4FDF, 0x4FCE, 0x4FD8, 0x4FDB, 0x4FD1, 0x4FDA, 0x4FD0, 0x4FE4, 0x4FE5, 0x501A, 0x5028, 0x5014, 0x502A, 0x5025, 0x5005, 0x4F1C, 0x4FF6, 0x5021, 0x5029, 0x502C, 0x4FFE, 0x4FEF, 0x5011, 0x5006, 0x5043, 0x5047, 0x6703, 0x5055, 0x5050, 0x5048, 0x505A, 0x5056, 0x506C, 0x5078, 0x5080, 0x509A, 0x5085, 0x50B4, 0x50B2 }, { /* category 49 */ 0x50C9, 0x50CA, 0x50B3, 0x50C2, 0x50D6, 0x50DE, 0x50E5, 0x50ED, 0x50E3, 0x50EE, 0x50F9, 0x50F5, 0x5109, 0x5101, 0x5102, 0x5116, 0x5115, 0x5114, 0x511A, 0x5121, 0x513A, 0x5137, 0x513C, 0x513B, 0x513F, 0x5140, 0x5152, 0x514C, 0x5154, 0x5162, 0x7AF8, 0x5169, 0x516A, 0x516E, 0x5180, 0x5182, 0x56D8, 0x518C, 0x5189, 0x518F, 0x5191, 0x5193, 0x5195, 0x5196, 0x51A4, 0x51A6, 0x51A2, 0x51A9, 0x51AA, 0x51AB, 0x51B3, 0x51B1, 0x51B2, 0x51B0, 0x51B5, 0x51BD, 0x51C5, 0x51C9, 0x51DB, 0x51E0, 0x8655, 0x51E9, 0x51ED, 0x51F0, 0x51F5, 0x51FE, 0x5204, 0x520B, 0x5214, 0x520E, 0x5227, 0x522A, 0x522E, 0x5233, 0x5239, 0x524F, 0x5244, 0x524B, 0x524C, 0x525E, 0x5254, 0x526A, 0x5274, 0x5269, 0x5273, 0x527F, 0x527D, 0x528D, 0x5294, 0x5292, 0x5271, 0x5288, 0x5291, 0x8FA8 }, { /* category 50 */ 0x8FA7, 0x52AC, 0x52AD, 0x52BC, 0x52B5, 0x52C1, 0x52CD, 0x52D7, 0x52DE, 0x52E3, 0x52E6, 0x98ED, 0x52E0, 0x52F3, 0x52F5, 0x52F8, 0x52F9, 0x5306, 0x5308, 0x7538, 0x530D, 0x5310, 0x530F, 0x5315, 0x531A, 0x5323, 0x532F, 0x5331, 0x5333, 0x5338, 0x5340, 0x5346, 0x5345, 0x4E17, 0x5349, 0x534D, 0x51D6, 0x535E, 0x5369, 0x536E, 0x5918, 0x537B, 0x5377, 0x5382, 0x5396, 0x53A0, 0x53A6, 0x53A5, 0x53AE, 0x53B0, 0x53B6, 0x53C3, 0x7C12, 0x96D9, 0x53DF, 0x66FC, 0x71EE, 0x53EE, 0x53E8, 0x53ED, 0x53FA, 0x5401, 0x543D, 0x5440, 0x542C, 0x542D, 0x543C, 0x542E, 0x5436, 0x5429, 0x541D, 0x544E, 0x548F, 0x5475, 0x548E, 0x545F, 0x5471, 0x5477, 0x5470, 0x5492, 0x547B, 0x5480, 0x5476, 0x5484, 0x5490, 0x5486, 0x54C7, 0x54A2, 0x54B8, 0x54A5, 0x54AC, 0x54C4, 0x54C8, 0x54A8 }, { /* category 51 */ 0x54AB, 0x54C2, 0x54A4, 0x54BE, 0x54BC, 0x54D8, 0x54E5, 0x54E6, 0x550F, 0x5514, 0x54FD, 0x54EE, 0x54ED, 0x54FA, 0x54E2, 0x5539, 0x5540, 0x5563, 0x554C, 0x552E, 0x555C, 0x5545, 0x5556, 0x5557, 0x5538, 0x5533, 0x555D, 0x5599, 0x5580, 0x54AF, 0x558A, 0x559F, 0x557B, 0x557E, 0x5598, 0x559E, 0x55AE, 0x557C, 0x5583, 0x55A9, 0x5587, 0x55A8, 0x55DA, 0x55C5, 0x55DF, 0x55C4, 0x55DC, 0x55E4, 0x55D4, 0x5614, 0x55F7, 0x5616, 0x55FE, 0x55FD, 0x561B, 0x55F9, 0x564E, 0x5650, 0x71DF, 0x5634, 0x5636, 0x5632, 0x5638, 0x566B, 0x5664, 0x562F, 0x566C, 0x566A, 0x5686, 0x5680, 0x568A, 0x56A0, 0x5694, 0x568F, 0x56A5, 0x56AE, 0x56B6, 0x56B4, 0x56C2, 0x56BC, 0x56C1, 0x56C3, 0x56C0, 0x56C8, 0x56CE, 0x56D1, 0x56D3, 0x56D7, 0x56EE, 0x56F9, 0x5700, 0x56FF, 0x5704, 0x5709 }, { /* category 52 */ 0x5708, 0x570B, 0x570D, 0x5713, 0x5718, 0x5716, 0x55C7, 0x571C, 0x5726, 0x5737, 0x5738, 0x574E, 0x573B, 0x5740, 0x574F, 0x5769, 0x57C0, 0x5788, 0x5761, 0x577F, 0x5789, 0x5793, 0x57A0, 0x57B3, 0x57A4, 0x57AA, 0x57B0, 0x57C3, 0x57C6, 0x57D4, 0x57D2, 0x57D3, 0x580A, 0x57D6, 0x57E3, 0x580B, 0x5819, 0x581D, 0x5872, 0x5821, 0x5862, 0x584B, 0x5870, 0x6BC0, 0x5852, 0x583D, 0x5879, 0x5885, 0x58B9, 0x589F, 0x58AB, 0x58BA, 0x58DE, 0x58BB, 0x58B8, 0x58AE, 0x58C5, 0x58D3, 0x58D1, 0x58D7, 0x58D9, 0x58D8, 0x58E5, 0x58DC, 0x58E4, 0x58DF, 0x58EF, 0x58FA, 0x58F9, 0x58FB, 0x58FC, 0x58FD, 0x5902, 0x590A, 0x5910, 0x591B, 0x68A6, 0x5925, 0x592C, 0x592D, 0x5932, 0x5938, 0x593E, 0x7AD2, 0x5955, 0x5950, 0x594E, 0x595A, 0x5958, 0x5962, 0x5960, 0x5967, 0x596C, 0x5969 }, { /* category 53 */ 0x5978, 0x5981, 0x599D, 0x4F5E, 0x4FAB, 0x59A3, 0x59B2, 0x59C6, 0x59E8, 0x59DC, 0x598D, 0x59D9, 0x59DA, 0x5A25, 0x5A1F, 0x5A11, 0x5A1C, 0x5A09, 0x5A1A, 0x5A40, 0x5A6C, 0x5A49, 0x5A35, 0x5A36, 0x5A62, 0x5A6A, 0x5A9A, 0x5ABC, 0x5ABE, 0x5ACB, 0x5AC2, 0x5ABD, 0x5AE3, 0x5AD7, 0x5AE6, 0x5AE9, 0x5AD6, 0x5AFA, 0x5AFB, 0x5B0C, 0x5B0B, 0x5B16, 0x5B32, 0x5AD0, 0x5B2A, 0x5B36, 0x5B3E, 0x5B43, 0x5B45, 0x5B40, 0x5B51, 0x5B55, 0x5B5A, 0x5B5B, 0x5B65, 0x5B69, 0x5B70, 0x5B73, 0x5B75, 0x5B78, 0x6588, 0x5B7A, 0x5B80, 0x5B83, 0x5BA6, 0x5BB8, 0x5BC3, 0x5BC7, 0x5BC9, 0x5BD4, 0x5BD0, 0x5BE4, 0x5BE6, 0x5BE2, 0x5BDE, 0x5BE5, 0x5BEB, 0x5BF0, 0x5BF6, 0x5BF3, 0x5C05, 0x5C07, 0x5C08, 0x5C0D, 0x5C13, 0x5C20, 0x5C22, 0x5C28, 0x5C38, 0x5C39, 0x5C41, 0x5C46, 0x5C4E, 0x5C53 }, { /* category 54 */ 0x5C50, 0x5C4F, 0x5B71, 0x5C6C, 0x5C6E, 0x4E62, 0x5C76, 0x5C79, 0x5C8C, 0x5C91, 0x5C94, 0x599B, 0x5CAB, 0x5CBB, 0x5CB6, 0x5CBC, 0x5CB7, 0x5CC5, 0x5CBE, 0x5CC7, 0x5CD9, 0x5CE9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0x6021, 0x6060, 0x6019, 0x6010, 0x6029, 0x600E, 0x6031, 0x601B, 0x6015, 0x602B, 0x6026, 0x600F, 0x603A, 0x605A, 0x6041, 0x606A, 0x6077, 0x605F, 0x604A, 0x6046, 0x604D, 0x6063, 0x6043, 0x6064, 0x6042, 0x606C, 0x606B, 0x6059, 0x6081, 0x608D, 0x60E7, 0x6083, 0x609A }, { /* category 56 */ 0x6084, 0x609B, 0x6096, 0x6097, 0x6092, 0x60A7, 0x608B, 0x60E1, 0x60B8, 0x60E0, 0x60D3, 0x60B4, 0x5FF0, 0x60BD, 0x60C6, 0x60B5, 0x60D8, 0x614D, 0x6115, 0x6106, 0x60F6, 0x60F7, 0x6100, 0x60F4, 0x60FA, 0x6103, 0x6121, 0x60FB, 0x60F1, 0x610D, 0x610E, 0x6147, 0x613E, 0x6128, 0x6127, 0x614A, 0x613F, 0x613C, 0x612C, 0x6134, 0x613D, 0x6142, 0x6144, 0x6173, 0x6177, 0x6158, 0x6159, 0x615A, 0x616B, 0x6174, 0x616F, 0x6165, 0x6171, 0x615F, 0x615D, 0x6153, 0x6175, 0x6199, 0x6196, 0x6187, 0x61AC, 0x6194, 0x619A, 0x618A, 0x6191, 0x61AB, 0x61AE, 0x61CC, 0x61CA, 0x61C9, 0x61F7, 0x61C8, 0x61C3, 0x61C6, 0x61BA, 0x61CB, 0x7F79, 0x61CD, 0x61E6, 0x61E3, 0x61F6, 0x61FA, 0x61F4, 0x61FF, 0x61FD, 0x61FC, 0x61FE, 0x6200, 0x6208, 0x6209, 0x620D, 0x620C, 0x6214, 0x621B }, { /* category 57 */ 0x621E, 0x6221, 0x622A, 0x622E, 0x6230, 0x6232, 0x6233, 0x6241, 0x624E, 0x625E, 0x6263, 0x625B, 0x6260, 0x6268, 0x627C, 0x6282, 0x6289, 0x627E, 0x6292, 0x6293, 0x6296, 0x62D4, 0x6283, 0x6294, 0x62D7, 0x62D1, 0x62BB, 0x62CF, 0x62FF, 0x62C6, 0x64D4, 0x62C8, 0x62DC, 0x62CC, 0x62CA, 0x62C2, 0x62C7, 0x629B, 0x62C9, 0x630C, 0x62EE, 0x62F1, 0x6327, 0x6302, 0x6308, 0x62EF, 0x62F5, 0x6350, 0x633E, 0x634D, 0x641C, 0x634F, 0x6396, 0x638E, 0x6380, 0x63AB, 0x6376, 0x63A3, 0x638F, 0x6389, 0x639F, 0x63B5, 0x636B, 0x6369, 0x63BE, 0x63E9, 0x63C0, 0x63C6, 0x63E3, 0x63C9, 0x63D2, 0x63F6, 0x63C4, 0x6416, 0x6434, 0x6406, 0x6413, 0x6426, 0x6436, 0x651D, 0x6417, 0x6428, 0x640F, 0x6467, 0x646F, 0x6476, 0x644E, 0x652A, 0x6495, 0x6493, 0x64A5, 0x64A9, 0x6488, 0x64BC }, { /* category 58 */ 0x64DA, 0x64D2, 0x64C5, 0x64C7, 0x64BB, 0x64D8, 0x64C2, 0x64F1, 0x64E7, 0x8209, 0x64E0, 0x64E1, 0x62AC, 0x64E3, 0x64EF, 0x652C, 0x64F6, 0x64F4, 0x64F2, 0x64FA, 0x6500, 0x64FD, 0x6518, 0x651C, 0x6505, 0x6524, 0x6523, 0x652B, 0x6534, 0x6535, 0x6537, 0x6536, 0x6538, 0x754B, 0x6548, 0x6556, 0x6555, 0x654D, 0x6558, 0x655E, 0x655D, 0x6572, 0x6578, 0x6582, 0x6583, 0x8B8A, 0x659B, 0x659F, 0x65AB, 0x65B7, 0x65C3, 0x65C6, 0x65C1, 0x65C4, 0x65CC, 0x65D2, 0x65DB, 0x65D9, 0x65E0, 0x65E1, 0x65F1, 0x6772, 0x660A, 0x6603, 0x65FB, 0x6773, 0x6635, 0x6636, 0x6634, 0x661C, 0x664F, 0x6644, 0x6649, 0x6641, 0x665E, 0x665D, 0x6664, 0x6667, 0x6668, 0x665F, 0x6662, 0x6670, 0x6683, 0x6688, 0x668E, 0x6689, 0x6684, 0x6698, 0x669D, 0x66C1, 0x66B9, 0x66C9, 0x66BE, 0x66BC }, { /* category 59 */ 0x66C4, 0x66B8, 0x66D6, 0x66DA, 0x66E0, 0x663F, 0x66E6, 0x66E9, 0x66F0, 0x66F5, 0x66F7, 0x670F, 0x6716, 0x671E, 0x6726, 0x6727, 0x9738, 0x672E, 0x673F, 0x6736, 0x6741, 0x6738, 0x6737, 0x6746, 0x675E, 0x6760, 0x6759, 0x6763, 0x6764, 0x6789, 0x6770, 0x67A9, 0x677C, 0x676A, 0x678C, 0x678B, 0x67A6, 0x67A1, 0x6785, 0x67B7, 0x67EF, 0x67B4, 0x67EC, 0x67B3, 0x67E9, 0x67B8, 0x67E4, 0x67DE, 0x67DD, 0x67E2, 0x67EE, 0x67B9, 0x67CE, 0x67C6, 0x67E7, 0x6A9C, 0x681E, 0x6846, 0x6829, 0x6840, 0x684D, 0x6832, 0x684E, 0x68B3, 0x682B, 0x6859, 0x6863, 0x6877, 0x687F, 0x689F, 0x688F, 0x68AD, 0x6894, 0x689D, 0x689B, 0x6883, 0x6AAE, 0x68B9, 0x6874, 0x68B5, 0x68A0, 0x68BA, 0x690F, 0x688D, 0x687E, 0x6901, 0x68CA, 0x6908, 0x68D8, 0x6922, 0x6926, 0x68E1, 0x690C, 0x68CD }, { /* category 60 */ 0x68D4, 0x68E7, 0x68D5, 0x6936, 0x6912, 0x6904, 0x68D7, 0x68E3, 0x6925, 0x68F9, 0x68E0, 0x68EF, 0x6928, 0x692A, 0x691A, 0x6923, 0x6921, 0x68C6, 0x6979, 0x6977, 0x695C, 0x6978, 0x696B, 0x6954, 0x697E, 0x696E, 0x6939, 0x6974, 0x693D, 0x6959, 0x6930, 0x6961, 0x695E, 0x695D, 0x6981, 0x696A, 0x69B2, 0x69AE, 0x69D0, 0x69BF, 0x69C1, 0x69D3, 0x69BE, 0x69CE, 0x5BE8, 0x69CA, 0x69DD, 0x69BB, 0x69C3, 0x69A7, 0x6A2E, 0x6991, 0x69A0, 0x699C, 0x6995, 0x69B4, 0x69DE, 0x69E8, 0x6A02, 0x6A1B, 0x69FF, 0x6B0A, 0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703E, 0x7032, 0x7051, 0x7063, 0x7099, 0x7092, 0x70AF, 0x70F1, 0x70AC, 0x70B8, 0x70B3, 0x70AE, 0x70DF, 0x70CB, 0x70DD, 0x70D9, 0x7109, 0x70FD, 0x711C, 0x7119, 0x7165, 0x7155, 0x7188, 0x7166, 0x7162, 0x714C, 0x7156, 0x716C, 0x718F, 0x71FB, 0x7184, 0x7195, 0x71A8, 0x71AC, 0x71D7, 0x71B9, 0x71BE, 0x71D2, 0x71C9, 0x71D4, 0x71CE, 0x71E0, 0x71EC, 0x71E7, 0x71F5, 0x71FC }, { /* category 64 */ 0x71F9, 0x71FF, 0x720D, 0x7210, 0x721B, 0x7228, 0x722D, 0x722C, 0x7230, 0x7232, 0x723B, 0x723C, 0x723F, 0x7240, 0x7246, 0x724B, 0x7258, 0x7274, 0x727E, 0x7282, 0x7281, 0x7287, 0x7292, 0x7296, 0x72A2, 0x72A7, 0x72B9, 0x72B2, 0x72C3, 0x72C6, 0x72C4, 0x72CE, 0x72D2, 0x72E2, 0x72E0, 0x72E1, 0x72F9, 0x72F7, 0x500F, 0x7317, 0x730A, 0x731C, 0x7316, 0x731D, 0x7334, 0x732F, 0x7329, 0x7325, 0x733E, 0x734E, 0x734F, 0x9ED8, 0x7357, 0x736A, 0x7368, 0x7370, 0x7378, 0x7375, 0x737B, 0x737A, 0x73C8, 0x73B3, 0x73CE, 0x73BB, 0x73C0, 0x73E5, 0x73EE, 0x73DE, 0x74A2, 0x7405, 0x746F, 0x7425, 0x73F8, 0x7432, 0x743A, 0x7455, 0x743F, 0x745F, 0x7459, 0x7441, 0x745C, 0x7469, 0x7470, 0x7463, 0x746A, 0x7476, 0x747E, 0x748B, 0x749E, 0x74A7, 0x74CA, 0x74CF, 0x74D4, 0x73F1 }, { /* category 65 */ 0x74E0, 0x74E3, 0x74E7, 0x74E9, 0x74EE, 0x74F2, 0x74F0, 0x74F1, 0x74F8, 0x74F7, 0x7504, 0x7503, 0x7505, 0x750C, 0x750E, 0x750D, 0x7515, 0x7513, 0x751E, 0x7526, 0x752C, 0x753C, 0x7544, 0x754D, 0x754A, 0x7549, 0x755B, 0x7546, 0x755A, 0x7569, 0x7564, 0x7567, 0x756B, 0x756D, 0x7578, 0x7576, 0x7586, 0x7587, 0x7574, 0x758A, 0x7589, 0x7582, 0x7594, 0x759A, 0x759D, 0x75A5, 0x75A3, 0x75C2, 0x75B3, 0x75C3, 0x75B5, 0x75BD, 0x75B8, 0x75BC, 0x75B1, 0x75CD, 0x75CA, 0x75D2, 0x75D9, 0x75E3, 0x75DE, 0x75FE, 0x75FF, 0x75FC, 0x7601, 0x75F0, 0x75FA, 0x75F2, 0x75F3, 0x760B, 0x760D, 0x7609, 0x761F, 0x7627, 0x7620, 0x7621, 0x7622, 0x7624, 0x7634, 0x7630, 0x763B, 0x7647, 0x7648, 0x7646, 0x765C, 0x7658, 0x7661, 0x7662, 0x7668, 0x7669, 0x766A, 0x7667, 0x766C, 0x7670 }, { /* category 66 */ 0x7672, 0x7676, 0x7678, 0x767C, 0x7680, 0x7683, 0x7688, 0x768B, 0x768E, 0x7696, 0x7693, 0x7699, 0x769A, 0x76B0, 0x76B4, 0x76B8, 0x76B9, 0x76BA, 0x76C2, 0x76CD, 0x76D6, 0x76D2, 0x76DE, 0x76E1, 0x76E5, 0x76E7, 0x76EA, 0x862F, 0x76FB, 0x7708, 0x7707, 0x7704, 0x7729, 0x7724, 0x771E, 0x7725, 0x7726, 0x771B, 0x7737, 0x7738, 0x7747, 0x775A, 0x7768, 0x776B, 0x775B, 0x7765, 0x777F, 0x777E, 0x7779, 0x778E, 0x778B, 0x7791, 0x77A0, 0x779E, 0x77B0, 0x77B6, 0x77B9, 0x77BF, 0x77BC, 0x77BD, 0x77BB, 0x77C7, 0x77CD, 0x77D7, 0x77DA, 0x77DC, 0x77E3, 0x77EE, 0x77FC, 0x780C, 0x7812, 0x7926, 0x7820, 0x792A, 0x7845, 0x788E, 0x7874, 0x7886, 0x787C, 0x789A, 0x788C, 0x78A3, 0x78B5, 0x78AA, 0x78AF, 0x78D1, 0x78C6, 0x78CB, 0x78D4, 0x78BE, 0x78BC, 0x78C5, 0x78CA, 0x78EC }, { /* category 67 */ 0x78E7, 0x78DA, 0x78FD, 0x78F4, 0x7907, 0x7912, 0x7911, 0x7919, 0x792C, 0x792B, 0x7940, 0x7960, 0x7957, 0x795F, 0x795A, 0x7955, 0x7953, 0x797A, 0x797F, 0x798A, 0x799D, 0x79A7, 0x9F4B, 0x79AA, 0x79AE, 0x79B3, 0x79B9, 0x79BA, 0x79C9, 0x79D5, 0x79E7, 0x79EC, 0x79E1, 0x79E3, 0x7A08, 0x7A0D, 0x7A18, 0x7A19, 0x7A20, 0x7A1F, 0x7980, 0x7A31, 0x7A3B, 0x7A3E, 0x7A37, 0x7A43, 0x7A57, 0x7A49, 0x7A61, 0x7A62, 0x7A69, 0x9F9D, 0x7A70, 0x7A79, 0x7A7D, 0x7A88, 0x7A97, 0x7A95, 0x7A98, 0x7A96, 0x7AA9, 0x7AC8, 0x7AB0, 0x7AB6, 0x7AC5, 0x7AC4, 0x7ABF, 0x9083, 0x7AC7, 0x7ACA, 0x7ACD, 0x7ACF, 0x7AD5, 0x7AD3, 0x7AD9, 0x7ADA, 0x7ADD, 0x7AE1, 0x7AE2, 0x7AE6, 0x7AED, 0x7AF0, 0x7B02, 0x7B0F, 0x7B0A, 0x7B06, 0x7B33, 0x7B18, 0x7B19, 0x7B1E, 0x7B35, 0x7B28, 0x7B36, 0x7B50 }, { /* category 68 */ 0x7B7A, 0x7B04, 0x7B4D, 0x7B0B, 0x7B4C, 0x7B45, 0x7B75, 0x7B65, 0x7B74, 0x7B67, 0x7B70, 0x7B71, 0x7B6C, 0x7B6E, 0x7B9D, 0x7B98, 0x7B9F, 0x7B8D, 0x7B9C, 0x7B9A, 0x7B8B, 0x7B92, 0x7B8F, 0x7B5D, 0x7B99, 0x7BCB, 0x7BC1, 0x7BCC, 0x7BCF, 0x7BB4, 0x7BC6, 0x7BDD, 0x7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79, 0x7E6A, 0x7E69, 0x7E7C, 0x7E7B, 0x7E83, 0x7DD5, 0x7E7D, 0x8FAE, 0x7E7F, 0x7E88, 0x7E89, 0x7E8C, 0x7E92, 0x7E90, 0x7E93, 0x7E94, 0x7E96, 0x7E8E, 0x7E9B, 0x7E9C, 0x7F38, 0x7F3A }, { /* category 70 */ 0x7F45, 0x7F4C, 0x7F4D, 0x7F4E, 0x7F50, 0x7F51, 0x7F55, 0x7F54, 0x7F58, 0x7F5F, 0x7F60, 0x7F68, 0x7F69, 0x7F67, 0x7F78, 0x7F82, 0x7F86, 0x7F83, 0x7F88, 0x7F87, 0x7F8C, 0x7F94, 0x7F9E, 0x7F9D, 0x7F9A, 0x7FA3, 0x7FAF, 0x7FB2, 0x7FB9, 0x7FAE, 0x7FB6, 0x7FB8, 0x8B71, 0x7FC5, 0x7FC6, 0x7FCA, 0x7FD5, 0x7FD4, 0x7FE1, 0x7FE6, 0x7FE9, 0x7FF3, 0x7FF9, 0x98DC, 0x8006, 0x8004, 0x800B, 0x8012, 0x8018, 0x8019, 0x801C, 0x8021, 0x8028, 0x803F, 0x803B, 0x804A, 0x8046, 0x8052, 0x8058, 0x805A, 0x805F, 0x8062, 0x8068, 0x8073, 0x8072, 0x8070, 0x8076, 0x8079, 0x807D, 0x807F, 0x8084, 0x8086, 0x8085, 0x809B, 0x8093, 0x809A, 0x80AD, 0x5190, 0x80AC, 0x80DB, 0x80E5, 0x80D9, 0x80DD, 0x80C4, 0x80DA, 0x80D6, 0x8109, 0x80EF, 0x80F1, 0x811B, 0x8129, 0x8123, 0x812F, 0x814B }, { /* category 71 */ 0x968B, 0x8146, 0x813E, 0x8153, 0x8151, 0x80FC, 0x8171, 0x816E, 0x8165, 0x8166, 0x8174, 0x8183, 0x8188, 0x818A, 0x8180, 0x8182, 0x81A0, 0x8195, 0x81A4, 0x81A3, 0x815F, 0x8193, 0x81A9, 0x81B0, 0x81B5, 0x81BE, 0x81B8, 0x81BD, 0x81C0, 0x81C2, 0x81BA, 0x81C9, 0x81CD, 0x81D1, 0x81D9, 0x81D8, 0x81C8, 0x81DA, 0x81DF, 0x81E0, 0x81E7, 0x81FA, 0x81FB, 0x81FE, 0x8201, 0x8202, 0x8205, 0x8207, 0x820A, 0x820D, 0x8210, 0x8216, 0x8229, 0x822B, 0x8238, 0x8233, 0x8240, 0x8259, 0x8258, 0x825D, 0x825A, 0x825F, 0x8264, 0x8262, 0x8268, 0x826A, 0x826B, 0x822E, 0x8271, 0x8277, 0x8278, 0x827E, 0x828D, 0x8292, 0x82AB, 0x829F, 0x82BB, 0x82AC, 0x82E1, 0x82E3, 0x82DF, 0x82D2, 0x82F4, 0x82F3, 0x82FA, 0x8393, 0x8303, 0x82FB, 0x82F9, 0x82DE, 0x8306, 0x82DC, 0x8309, 0x82D9 }, { /* category 72 */ 0x8335, 0x8334, 0x8316, 0x8332, 0x8331, 0x8340, 0x8339, 0x8350, 0x8345, 0x832F, 0x832B, 0x8317, 0x8318, 0x8385, 0x839A, 0x83AA, 0x839F, 0x83A2, 0x8396, 0x8323, 0x838E, 0x8387, 0x838A, 0x837C, 0x83B5, 0x8373, 0x8375, 0x83A0, 0x8389, 0x83A8, 0x83F4, 0x8413, 0x83EB, 0x83CE, 0x83FD, 0x8403, 0x83D8, 0x840B, 0x83C1, 0x83F7, 0x8407, 0x83E0, 0x83F2, 0x840D, 0x8422, 0x8420, 0x83BD, 0x8438, 0x8506, 0x83FB, 0x846D, 0x842A, 0x843C, 0x855A, 0x8484, 0x8477, 0x846B, 0x84AD, 0x846E, 0x8482, 0x8469, 0x8446, 0x842C, 0x846F, 0x8479, 0x8435, 0x84CA, 0x8462, 0x84B9, 0x84BF, 0x849F, 0x84D9, 0x84CD, 0x84BB, 0x84DA, 0x84D0, 0x84C1, 0x84C6, 0x84D6, 0x84A1, 0x8521, 0x84FF, 0x84F4, 0x8517, 0x8518, 0x852C, 0x851F, 0x8515, 0x8514, 0x84FC, 0x8540, 0x8563, 0x8558, 0x8548 }, { /* category 73 */ 0x8541, 0x8602, 0x854B, 0x8555, 0x8580, 0x85A4, 0x8588, 0x8591, 0x858A, 0x85A8, 0x856D, 0x8594, 0x859B, 0x85EA, 0x8587, 0x859C, 0x8577, 0x857E, 0x8590, 0x85C9, 0x85BA, 0x85CF, 0x85B9, 0x85D0, 0x85D5, 0x85DD, 0x85E5, 0x85DC, 0x85F9, 0x860A, 0x8613, 0x860B, 0x85FE, 0x85FA, 0x8606, 0x8622, 0x861A, 0x8630, 0x863F, 0x864D, 0x4E55, 0x8654, 0x865F, 0x8667, 0x8671, 0x8693, 0x86A3, 0x86A9, 0x86AA, 0x868B, 0x868C, 0x86B6, 0x86AF, 0x86C4, 0x86C6, 0x86B0, 0x86C9, 0x8823, 0x86AB, 0x86D4, 0x86DE, 0x86E9, 0x86EC, 0x86DF, 0x86DB, 0x86EF, 0x8712, 0x8706, 0x8708, 0x8700, 0x8703, 0x86FB, 0x8711, 0x8709, 0x870D, 0x86F9, 0x870A, 0x8734, 0x873F, 0x8737, 0x873B, 0x8725, 0x8729, 0x871A, 0x8760, 0x875F, 0x8778, 0x874C, 0x874E, 0x8774, 0x8757, 0x8768, 0x876E, 0x8759 }, { /* category 74 */ 0x8753, 0x8763, 0x876A, 0x8805, 0x87A2, 0x879F, 0x8782, 0x87AF, 0x87CB, 0x87BD, 0x87C0, 0x87D0, 0x96D6, 0x87AB, 0x87C4, 0x87B3, 0x87C7, 0x87C6, 0x87BB, 0x87EF, 0x87F2, 0x87E0, 0x880F, 0x880D, 0x87FE, 0x87F6, 0x87F7, 0x880E, 0x87D2, 0x8811, 0x8816, 0x8815, 0x8822, 0x8821, 0x8831, 0x8836, 0x8839, 0x8827, 0x883B, 0x8844, 0x8842, 0x8852, 0x8859, 0x885E, 0x8862, 0x886B, 0x8881, 0x887E, 0x889E, 0x8875, 0x887D, 0x88B5, 0x8872, 0x8882, 0x8897, 0x8892, 0x88AE, 0x8899, 0x88A2, 0x888D, 0x88A4, 0x88B0, 0x88BF, 0x88B1, 0x88C3, 0x88C4, 0x88D4, 0x88D8, 0x88D9, 0x88DD, 0x88F9, 0x8902, 0x88FC, 0x88F4, 0x88E8, 0x88F2, 0x8904, 0x890C, 0x890A, 0x8913, 0x8943, 0x891E, 0x8925, 0x892A, 0x892B, 0x8941, 0x8944, 0x893B, 0x8936, 0x8938, 0x894C, 0x891D, 0x8960, 0x895E }, { /* category 75 */ 0x8966, 0x8964, 0x896D, 0x896A, 0x896F, 0x8974, 0x8977, 0x897E, 0x8983, 0x8988, 0x898A, 0x8993, 0x8998, 0x89A1, 0x89A9, 0x89A6, 0x89AC, 0x89AF, 0x89B2, 0x89BA, 0x89BD, 0x89BF, 0x89C0, 0x89DA, 0x89DC, 0x89DD, 0x89E7, 0x89F4, 0x89F8, 0x8A03, 0x8A16, 0x8A10, 0x8A0C, 0x8A1B, 0x8A1D, 0x8A25, 0x8A36, 0x8A41, 0x8A5B, 0x8A52, 0x8A46, 0x8A48, 0x8A7C, 0x8A6D, 0x8A6C, 0x8A62, 0x8A85, 0x8A82, 0x8A84, 0x8AA8, 0x8AA1, 0x8A91, 0x8AA5, 0x8AA6, 0x8A9A, 0x8AA3, 0x8AC4, 0x8ACD, 0x8AC2, 0x8ADA, 0x8AEB, 0x8AF3, 0x8AE7, 0x8AE4, 0x8AF1, 0x8B14, 0x8AE0, 0x8AE2, 0x8AF7, 0x8ADE, 0x8ADB, 0x8B0C, 0x8B07, 0x8B1A, 0x8AE1, 0x8B16, 0x8B10, 0x8B17, 0x8B20, 0x8B33, 0x97AB, 0x8B26, 0x8B2B, 0x8B3E, 0x8B28, 0x8B41, 0x8B4C, 0x8B4F, 0x8B4E, 0x8B49, 0x8B56, 0x8B5B, 0x8B5A, 0x8B6B }, { /* category 76 */ 0x8B5F, 0x8B6C, 0x8B6F, 0x8B74, 0x8B7D, 0x8B80, 0x8B8C, 0x8B8E, 0x8B92, 0x8B93, 0x8B96, 0x8B99, 0x8B9A, 0x8C3A, 0x8C41, 0x8C3F, 0x8C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, 0x8F4C, 0x8F49, 0x8F46, 0x8F4E, 0x8F57, 0x8F5C, 0x8F62, 0x8F63, 0x8F64, 0x8F9C, 0x8F9F, 0x8FA3, 0x8FAD, 0x8FAF, 0x8FB7, 0x8FDA, 0x8FE5, 0x8FE2, 0x8FEA, 0x8FEF, 0x9087, 0x8FF4, 0x9005, 0x8FF9, 0x8FFA, 0x9011, 0x9015, 0x9021, 0x900D, 0x901E, 0x9016, 0x900B, 0x9027, 0x9036, 0x9035, 0x9039, 0x8FF8 }, { /* category 78 */ 0x904F, 0x9050, 0x9051, 0x9052, 0x900E, 0x9049, 0x903E, 0x9056, 0x9058, 0x905E, 0x9068, 0x906F, 0x9076, 0x96A8, 0x9072, 0x9082, 0x907D, 0x9081, 0x9080, 0x908A, 0x9089, 0x908F, 0x90A8, 0x90AF, 0x90B1, 0x90B5, 0x90E2, 0x90E4, 0x6248, 0x90DB, 0x9102, 0x9112, 0x9119, 0x9132, 0x9130, 0x914A, 0x9156, 0x9158, 0x9163, 0x9165, 0x9169, 0x9173, 0x9172, 0x918B, 0x9189, 0x9182, 0x91A2, 0x91AB, 0x91AF, 0x91AA, 0x91B5, 0x91B4, 0x91BA, 0x91C0, 0x91C1, 0x91C9, 0x91CB, 0x91D0, 0x91D6, 0x91DF, 0x91E1, 0x91DB, 0x91FC, 0x91F5, 0x91F6, 0x921E, 0x91FF, 0x9214, 0x922C, 0x9215, 0x9211, 0x925E, 0x9257, 0x9245, 0x9249, 0x9264, 0x9248, 0x9295, 0x923F, 0x924B, 0x9250, 0x929C, 0x9296, 0x9293, 0x929B, 0x925A, 0x92CF, 0x92B9, 0x92B7, 0x92E9, 0x930F, 0x92FA, 0x9344, 0x932E }, { /* category 79 */ 0x9319, 0x9322, 0x931A, 0x9323, 0x933A, 0x9335, 0x933B, 0x935C, 0x9360, 0x937C, 0x936E, 0x9356, 0x93B0, 0x93AC, 0x93AD, 0x9394, 0x93B9, 0x93D6, 0x93D7, 0x93E8, 0x93E5, 0x93D8, 0x93C3, 0x93DD, 0x93D0, 0x93C8, 0x93E4, 0x941A, 0x9414, 0x9413, 0x9403, 0x9407, 0x9410, 0x9436, 0x942B, 0x9435, 0x9421, 0x943A, 0x9441, 0x9452, 0x9444, 0x945B, 0x9460, 0x9462, 0x945E, 0x946A, 0x9229, 0x9470, 0x9475, 0x9477, 0x947D, 0x945A, 0x947C, 0x947E, 0x9481, 0x947F, 0x9582, 0x9587, 0x958A, 0x9594, 0x9596, 0x9598, 0x9599, 0x95A0, 0x95A8, 0x95A7, 0x95AD, 0x95BC, 0x95BB, 0x95B9, 0x95BE, 0x95CA, 0x6FF6, 0x95C3, 0x95CD, 0x95CC, 0x95D5, 0x95D4, 0x95D6, 0x95DC, 0x95E1, 0x95E5, 0x95E2, 0x9621, 0x9628, 0x962E, 0x962F, 0x9642, 0x964C, 0x964F, 0x964B, 0x9677, 0x965C, 0x965E }, { /* category 80 */ 0x965D, 0x965F, 0x9666, 0x9672, 0x966C, 0x968D, 0x9698, 0x9695, 0x9697, 0x96AA, 0x96A7, 0x96B1, 0x96B2, 0x96B0, 0x96B4, 0x96B6, 0x96B8, 0x96B9, 0x96CE, 0x96CB, 0x96C9, 0x96CD, 0x894D, 0x96DC, 0x970D, 0x96D5, 0x96F9, 0x9704, 0x9706, 0x9708, 0x9713, 0x970E, 0x9711, 0x970F, 0x9716, 0x9719, 0x9724, 0x972A, 0x9730, 0x9739, 0x973D, 0x973E, 0x9744, 0x9746, 0x9748, 0x9742, 0x9749, 0x975C, 0x9760, 0x9764, 0x9766, 0x9768, 0x52D2, 0x976B, 0x9771, 0x9779, 0x9785, 0x977C, 0x9781, 0x977A, 0x9786, 0x978B, 0x978F, 0x9790, 0x979C, 0x97A8, 0x97A6, 0x97A3, 0x97B3, 0x97B4, 0x97C3, 0x97C6, 0x97C8, 0x97CB, 0x97DC, 0x97ED, 0x9F4F, 0x97F2, 0x7ADF, 0x97F6, 0x97F5, 0x980F, 0x980C, 0x9838, 0x9824, 0x9821, 0x9837, 0x983D, 0x9846, 0x984F, 0x984B, 0x986B, 0x986F, 0x9870 }, { /* category 81 */ 0x9871, 0x9874, 0x9873, 0x98AA, 0x98AF, 0x98B1, 0x98B6, 0x98C4, 0x98C3, 0x98C6, 0x98E9, 0x98EB, 0x9903, 0x9909, 0x9912, 0x9914, 0x9918, 0x9921, 0x991D, 0x991E, 0x9924, 0x9920, 0x992C, 0x992E, 0x993D, 0x993E, 0x9942, 0x9949, 0x9945, 0x9950, 0x994B, 0x9951, 0x9952, 0x994C, 0x9955, 0x9997, 0x9998, 0x99A5, 0x99AD, 0x99AE, 0x99BC, 0x99DF, 0x99DB, 0x99DD, 0x99D8, 0x99D1, 0x99ED, 0x99EE, 0x99F1, 0x99F2, 0x99FB, 0x99F8, 0x9A01, 0x9A0F, 0x9A05, 0x99E2, 0x9A19, 0x9A2B, 0x9A37, 0x9A45, 0x9A42, 0x9A40, 0x9A43, 0x9A3E, 0x9A55, 0x9A4D, 0x9A5B, 0x9A57, 0x9A5F, 0x9A62, 0x9A65, 0x9A64, 0x9A69, 0x9A6B, 0x9A6A, 0x9AAD, 0x9AB0, 0x9ABC, 0x9AC0, 0x9ACF, 0x9AD1, 0x9AD3, 0x9AD4, 0x9ADE, 0x9ADF, 0x9AE2, 0x9AE3, 0x9AE6, 0x9AEF, 0x9AEB, 0x9AEE, 0x9AF4, 0x9AF1, 0x9AF7 }, { /* category 82 */ 0x9AFB, 0x9B06, 0x9B18, 0x9B1A, 0x9B1F, 0x9B22, 0x9B23, 0x9B25, 0x9B27, 0x9B28, 0x9B29, 0x9B2A, 0x9B2E, 0x9B2F, 0x9B32, 0x9B44, 0x9B43, 0x9B4F, 0x9B4D, 0x9B4E, 0x9B51, 0x9B58, 0x9B74, 0x9B93, 0x9B83, 0x9B91, 0x9B96, 0x9B97, 0x9B9F, 0x9BA0, 0x9BA8, 0x9BB4, 0x9BC0, 0x9BCA, 0x9BB9, 0x9BC6, 0x9BCF, 0x9BD1, 0x9BD2, 0x9BE3, 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F54, 0x9F63, 0x9F5F, 0x9F60, 0x9F61, 0x9F66, 0x9F67, 0x9F6C, 0x9F6A, 0x9F77, 0x9F72, 0x9F76, 0x9F95, 0x9F9C, 0x9FA0 }, { /* category 84 */ 0x582F, 0x69C7, 0x9059, 0x7464, 0x51DC, 0x7199, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 85 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 86 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 87 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 88 */ 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 }, { /* category 89 */ 0x7E8A, 0x891C, 0x9348, 0x9288, 0x84DC, 0x4FC9, 0x70BB, 0x6631, 0x68C8, 0x92F9, 0x66FB, 0x5F45, 0x4E28, 0x4EE1, 0x4EFC, 0x4F00, 0x4F03, 0x4F39, 0x4F56, 0x4F92, 0x4F8A, 0x4F9A, 0x4F94, 0x4FCD, 0x5040, 0x5022, 0x4FFF, 0x501E, 0x5046, 0x5070, 0x5042, 0x5094, 0x50F4, 0x50D8, 0x514A, 0x5164, 0x519D, 0x51BE, 0x51EC, 0x5215, 0x529C, 0x52A6, 0x52C0, 0x52DB, 0x5300, 0x5307, 0x5324, 0x5372, 0x5393, 0x53B2, 0x53DD, 0xFA0E, 0x549C, 0x548A, 0x54A9, 0x54FF, 0x5586, 0x5759, 0x5765, 0x57AC, 0x57C8, 0x57C7, 0xFA0F, 0xFA10, 0x589E, 0x58B2, 0x590B, 0x5953, 0x595B, 0x595D, 0x5963, 0x59A4, 0x59BA, 0x5B56, 0x5BC0, 0x752F, 0x5BD8, 0x5BEC, 0x5C1E, 0x5CA6, 0x5CBA, 0x5CF5, 0x5D27, 0x5D53, 0xFA11, 0x5D42, 0x5D6D, 0x5DB8, 0x5DB9, 0x5DD0, 0x5F21, 0x5F34, 0x5F67, 0x5FB7 }, { /* category 90 */ 0x5FDE, 0x605D, 0x6085, 0x608A, 0x60DE, 0x60D5, 0x6120, 0x60F2, 0x6111, 0x6137, 0x6130, 0x6198, 0x6213, 0x62A6, 0x63F5, 0x6460, 0x649D, 0x64CE, 0x654E, 0x6600, 0x6615, 0x663B, 0x6609, 0x662E, 0x661E, 0x6624, 0x6665, 0x6657, 0x6659, 0xFA12, 0x6673, 0x6699, 0x66A0, 0x66B2, 0x66BF, 0x66FA, 0x670E, 0xF929, 0x6766, 0x67BB, 0x6852, 0x67C0, 0x6801, 0x6844, 0x68CF, 0xFA13, 0x6968, 0xFA14, 0x6998, 0x69E2, 0x6A30, 0x6A6B, 0x6A46, 0x6A73, 0x6A7E, 0x6AE2, 0x6AE4, 0x6BD6, 0x6C3F, 0x6C5C, 0x6C86, 0x6C6F, 0x6CDA, 0x6D04, 0x6D87, 0x6D6F, 0x6D96, 0x6DAC, 0x6DCF, 0x6DF8, 0x6DF2, 0x6DFC, 0x6E39, 0x6E5C, 0x6E27, 0x6E3C, 0x6EBF, 0x6F88, 0x6FB5, 0x6FF5, 0x7005, 0x7007, 0x7028, 0x7085, 0x70AB, 0x710F, 0x7104, 0x715C, 0x7146, 0x7147, 0xFA15, 0x71C1, 0x71FE, 0x72B1 }, { /* category 91 */ 0x72BE, 0x7324, 0xFA16, 0x7377, 0x73BD, 0x73C9, 0x73D6, 0x73E3, 0x73D2, 0x7407, 0x73F5, 0x7426, 0x742A, 0x7429, 0x742E, 0x7462, 0x7489, 0x749F, 0x7501, 0x756F, 0x7682, 0x769C, 0x769E, 0x769B, 0x76A6, 0xFA17, 0x7746, 0x52AF, 0x7821, 0x784E, 0x7864, 0x787A, 0x7930, 0xFA18, 0xFA19, 0xFA1A, 0x7994, 0xFA1B, 0x799B, 0x7AD1, 0x7AE7, 0xFA1C, 0x7AEB, 0x7B9E, 0xFA1D, 0x7D48, 0x7D5C, 0x7DB7, 0x7DA0, 0x7DD6, 0x7E52, 0x7F47, 0x7FA1, 0xFA1E, 0x8301, 0x8362, 0x837F, 0x83C7, 0x83F6, 0x8448, 0x84B4, 0x8553, 0x8559, 0x856B, 0xFA1F, 0x85B0, 0xFA20, 0xFA21, 0x8807, 0x88F5, 0x8A12, 0x8A37, 0x8A79, 0x8AA7, 0x8ABE, 0x8ADF, 0xFA22, 0x8AF6, 0x8B53, 0x8B7F, 0x8CF0, 0x8CF4, 0x8D12, 0x8D76, 0xFA23, 0x8ECF, 0xFA24, 0xFA25, 0x9067, 0x90DE, 0xFA26, 0x9115, 0x9127, 0x91DA }, { /* category 92 */ 0x91D7, 0x91DE, 0x91ED, 0x91EE, 0x91E4, 0x91E5, 0x9206, 0x9210, 0x920A, 0x923A, 0x9240, 0x923C, 0x924E, 0x9259, 0x9251, 0x9239, 0x9267, 0x92A7, 0x9277, 0x9278, 0x92E7, 0x92D7, 0x92D9, 0x92D0, 0xFA27, 0x92D5, 0x92E0, 0x92D3, 0x9325, 0x9321, 0x92FB, 0xFA28, 0x931E, 0x92FF, 0x931D, 0x9302, 0x9370, 0x9357, 0x93A4, 0x93C6, 0x93DE, 0x93F8, 0x9431, 0x9445, 0x9448, 0x9592, 0xF9DC, 0xFA29, 0x969D, 0x96AF, 0x9733, 0x973B, 0x9743, 0x974D, 0x974F, 0x9751, 0x9755, 0x9857, 0x9865, 0xFA2A, 0xFA2B, 0x9927, 0xFA2C, 0x999E, 0x9A4E, 0x9AD9, 0x9ADC, 0x9B75, 0x9B72, 0x9B8F, 0x9BB1, 0x9BBB, 0x9C00, 0x9D70, 0x9D6B, 0xFA2D, 0x9E19, 0x9ED1, 0x0000, 0x0000, 0x2170, 0x2171, 0x2172, 0x2173, 0x2174, 0x2175, 0x2176, 0x2177, 0x2178, 0x2179, 0xFFE2, 0xFFE4, 0xFF07, 0xFF02 } }; #ifdef __cplusplus } #endif #endif /* JISX0208_H */ libgd-2.3.0/src/giftogd2.c0000664000175000017500000000217613635665516012206 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include #include #include "gd.h" /* A short program which converts a .gif file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ int main(int argc, char **argv) { gdImagePtr im; FILE *in, *out; int cs, fmt; if (argc != 5) { fprintf(stderr, "Usage: giftogd2 filename.gif filename.gd2 cs fmt\n"); fprintf(stderr, " where cs is the chunk size\n"); fprintf(stderr, " fmt is 1 for raw, 2 for compressed\n"); exit(1); } in = fopen(argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit(1); } im = gdImageCreateFromGif(in); fclose(in); if (!im) { fprintf(stderr, "Input is not in GIF format!\n"); exit(1); } out = fopen(argv[2], "wb"); if (!out) { fprintf(stderr, "Output file cannot be written to!\n"); gdImageDestroy(im); exit(1); } cs = atoi(argv[3]); fmt = atoi(argv[4]); gdImageGd2(im, out, cs, fmt); fclose(out); gdImageDestroy(im); return 0; } libgd-2.3.0/src/gdfx.h0000664000175000017500000000076013635665516011433 00000000000000#ifndef GDFX_H #define GDFX_H 1 #ifdef __cplusplus extern "C" { #endif BGD_DECLARE(gdImagePtr) gdImageSquareToCircle(gdImagePtr im, int radius); BGD_DECLARE(char *) gdImageStringFTCircle( gdImagePtr im, int cx, int cy, double radius, double textRadius, double fillPortion, char *font, double points, char *top, char *bottom, int fgcolor); BGD_DECLARE(void) gdImageSharpen (gdImagePtr im, int pct); #ifdef __cplusplus } #endif #endif /* GDFX_H */ libgd-2.3.0/src/entities.html0000664000175000017500000012214113635665516013042 00000000000000 Character entity references in HTML 4

24 Character entity references in HTML 4

24.1 Introduction to character entity references

A character entity reference is an SGML construct that references a character of the document character set.

This version of HTML supports several sets of character entity references:

The following sections present the complete lists of character entity references. Although, by convention, [ISO10646] the comments following each entry are usually written with uppercase letters, we have converted them to lowercase in this specification for reasons of readability.

24.2 Character entity references for ISO 8859-1 characters

The character entity references in this section produce characters whose numeric equivalents should already be supported by conforming HTML 2.0 user agents. Thus, the character entity reference &divide; is a more convenient form than &#247; for obtaining the division sign ().

To support these named entities, user agents need only recognize the entity names and convert them to characters that lie within the repertoire of [ISO88591].

Character 65533 (FFFD hexadecimal) is the last valid character in UCS-2. 65534 (FFFE hexadecimal) is unassigned and reserved as the byte-swapped version of ZERO WIDTH NON-BREAKING SPACE for byte-order detection purposes. 65535 (FFFF hexadecimal) is unassigned.

24.2.1 The list of characters

<!-- Portions  International Organization for Standardization 1986
     Permission to copy in any form is granted for use with
     conforming SGML systems and applications as defined in
     ISO 8879, provided this notice is included in all copies.
-->
<!-- Character entity set. Typical invocation:
     <!ENTITY % HTMLlat1 PUBLIC
       "-//W3C//ENTITIES Latin 1//EN//HTML">
     %HTMLlat1;
-->

<!ENTITY nbsp   CDATA "&#160;" -- no-break space = non-breaking space,
                                  U+00A0 ISOnum -->
<!ENTITY iexcl  CDATA "&#161;" -- inverted exclamation mark, U+00A1 ISOnum -->
<!ENTITY cent   CDATA "&#162;" -- cent sign, U+00A2 ISOnum -->
<!ENTITY pound  CDATA "&#163;" -- pound sign, U+00A3 ISOnum -->
<!ENTITY curren CDATA "&#164;" -- currency sign, U+00A4 ISOnum -->
<!ENTITY yen    CDATA "&#165;" -- yen sign = yuan sign, U+00A5 ISOnum -->
<!ENTITY brvbar CDATA "&#166;" -- broken bar = broken vertical bar,
                                  U+00A6 ISOnum -->
<!ENTITY sect   CDATA "&#167;" -- section sign, U+00A7 ISOnum -->
<!ENTITY uml    CDATA "&#168;" -- diaeresis = spacing diaeresis,
                                  U+00A8 ISOdia -->
<!ENTITY copy   CDATA "&#169;" -- copyright sign, U+00A9 ISOnum -->
<!ENTITY ordf   CDATA "&#170;" -- feminine ordinal indicator, U+00AA ISOnum -->
<!ENTITY laquo  CDATA "&#171;" -- left-pointing double angle quotation mark
                                  = left pointing guillemet, U+00AB ISOnum -->
<!ENTITY not    CDATA "&#172;" -- not sign, U+00AC ISOnum -->
<!ENTITY shy    CDATA "&#173;" -- soft hyphen = discretionary hyphen,
                                  U+00AD ISOnum -->
<!ENTITY reg    CDATA "&#174;" -- registered sign = registered trade mark sign,
                                  U+00AE ISOnum -->
<!ENTITY macr   CDATA "&#175;" -- macron = spacing macron = overline
                                  = APL overbar, U+00AF ISOdia -->
<!ENTITY deg    CDATA "&#176;" -- degree sign, U+00B0 ISOnum -->
<!ENTITY plusmn CDATA "&#177;" -- plus-minus sign = plus-or-minus sign,
                                  U+00B1 ISOnum -->
<!ENTITY sup2   CDATA "&#178;" -- superscript two = superscript digit two
                                  = squared, U+00B2 ISOnum -->
<!ENTITY sup3   CDATA "&#179;" -- superscript three = superscript digit three
                                  = cubed, U+00B3 ISOnum -->
<!ENTITY acute  CDATA "&#180;" -- acute accent = spacing acute,
                                  U+00B4 ISOdia -->
<!ENTITY micro  CDATA "&#181;" -- micro sign, U+00B5 ISOnum -->
<!ENTITY para   CDATA "&#182;" -- pilcrow sign = paragraph sign,
                                  U+00B6 ISOnum -->
<!ENTITY middot CDATA "&#183;" -- middle dot = Georgian comma
                                  = Greek middle dot, U+00B7 ISOnum -->
<!ENTITY cedil  CDATA "&#184;" -- cedilla = spacing cedilla, U+00B8 ISOdia -->
<!ENTITY sup1   CDATA "&#185;" -- superscript one = superscript digit one,
                                  U+00B9 ISOnum -->
<!ENTITY ordm   CDATA "&#186;" -- masculine ordinal indicator,
                                  U+00BA ISOnum -->
<!ENTITY raquo  CDATA "&#187;" -- right-pointing double angle quotation mark
                                  = right pointing guillemet, U+00BB ISOnum -->
<!ENTITY frac14 CDATA "&#188;" -- vulgar fraction one quarter
                                  = fraction one quarter, U+00BC ISOnum -->
<!ENTITY frac12 CDATA "&#189;" -- vulgar fraction one half
                                  = fraction one half, U+00BD ISOnum -->
<!ENTITY frac34 CDATA "&#190;" -- vulgar fraction three quarters
                                  = fraction three quarters, U+00BE ISOnum -->
<!ENTITY iquest CDATA "&#191;" -- inverted question mark
                                  = turned question mark, U+00BF ISOnum -->
<!ENTITY Agrave CDATA "&#192;" -- latin capital letter A with grave
                                  = latin capital letter A grave,
                                  U+00C0 ISOlat1 -->
<!ENTITY Aacute CDATA "&#193;" -- latin capital letter A with acute,
                                  U+00C1 ISOlat1 -->
<!ENTITY Acirc  CDATA "&#194;" -- latin capital letter A with circumflex,
                                  U+00C2 ISOlat1 -->
<!ENTITY Atilde CDATA "&#195;" -- latin capital letter A with tilde,
                                  U+00C3 ISOlat1 -->
<!ENTITY Auml   CDATA "&#196;" -- latin capital letter A with diaeresis,
                                  U+00C4 ISOlat1 -->
<!ENTITY Aring  CDATA "&#197;" -- latin capital letter A with ring above
                                  = latin capital letter A ring,
                                  U+00C5 ISOlat1 -->
<!ENTITY AElig  CDATA "&#198;" -- latin capital letter AE
                                  = latin capital ligature AE,
                                  U+00C6 ISOlat1 -->
<!ENTITY Ccedil CDATA "&#199;" -- latin capital letter C with cedilla,
                                  U+00C7 ISOlat1 -->
<!ENTITY Egrave CDATA "&#200;" -- latin capital letter E with grave,
                                  U+00C8 ISOlat1 -->
<!ENTITY Eacute CDATA "&#201;" -- latin capital letter E with acute,
                                  U+00C9 ISOlat1 -->
<!ENTITY Ecirc  CDATA "&#202;" -- latin capital letter E with circumflex,
                                  U+00CA ISOlat1 -->
<!ENTITY Euml   CDATA "&#203;" -- latin capital letter E with diaeresis,
                                  U+00CB ISOlat1 -->
<!ENTITY Igrave CDATA "&#204;" -- latin capital letter I with grave,
                                  U+00CC ISOlat1 -->
<!ENTITY Iacute CDATA "&#205;" -- latin capital letter I with acute,
                                  U+00CD ISOlat1 -->
<!ENTITY Icirc  CDATA "&#206;" -- latin capital letter I with circumflex,
                                  U+00CE ISOlat1 -->
<!ENTITY Iuml   CDATA "&#207;" -- latin capital letter I with diaeresis,
                                  U+00CF ISOlat1 -->
<!ENTITY ETH    CDATA "&#208;" -- latin capital letter ETH, U+00D0 ISOlat1 -->
<!ENTITY Ntilde CDATA "&#209;" -- latin capital letter N with tilde,
                                  U+00D1 ISOlat1 -->
<!ENTITY Ograve CDATA "&#210;" -- latin capital letter O with grave,
                                  U+00D2 ISOlat1 -->
<!ENTITY Oacute CDATA "&#211;" -- latin capital letter O with acute,
                                  U+00D3 ISOlat1 -->
<!ENTITY Ocirc  CDATA "&#212;" -- latin capital letter O with circumflex,
                                  U+00D4 ISOlat1 -->
<!ENTITY Otilde CDATA "&#213;" -- latin capital letter O with tilde,
                                  U+00D5 ISOlat1 -->
<!ENTITY Ouml   CDATA "&#214;" -- latin capital letter O with diaeresis,
                                  U+00D6 ISOlat1 -->
<!ENTITY times  CDATA "&#215;" -- multiplication sign, U+00D7 ISOnum -->
<!ENTITY Oslash CDATA "&#216;" -- latin capital letter O with stroke
                                  = latin capital letter O slash,
                                  U+00D8 ISOlat1 -->
<!ENTITY Ugrave CDATA "&#217;" -- latin capital letter U with grave,
                                  U+00D9 ISOlat1 -->
<!ENTITY Uacute CDATA "&#218;" -- latin capital letter U with acute,
                                  U+00DA ISOlat1 -->
<!ENTITY Ucirc  CDATA "&#219;" -- latin capital letter U with circumflex,
                                  U+00DB ISOlat1 -->
<!ENTITY Uuml   CDATA "&#220;" -- latin capital letter U with diaeresis,
                                  U+00DC ISOlat1 -->
<!ENTITY Yacute CDATA "&#221;" -- latin capital letter Y with acute,
                                  U+00DD ISOlat1 -->
<!ENTITY THORN  CDATA "&#222;" -- latin capital letter THORN,
                                  U+00DE ISOlat1 -->
<!ENTITY szlig  CDATA "&#223;" -- latin small letter sharp s = ess-zed,
                                  U+00DF ISOlat1 -->
<!ENTITY agrave CDATA "&#224;" -- latin small letter a with grave
                                  = latin small letter a grave,
                                  U+00E0 ISOlat1 -->
<!ENTITY aacute CDATA "&#225;" -- latin small letter a with acute,
                                  U+00E1 ISOlat1 -->
<!ENTITY acirc  CDATA "&#226;" -- latin small letter a with circumflex,
                                  U+00E2 ISOlat1 -->
<!ENTITY atilde CDATA "&#227;" -- latin small letter a with tilde,
                                  U+00E3 ISOlat1 -->
<!ENTITY auml   CDATA "&#228;" -- latin small letter a with diaeresis,
                                  U+00E4 ISOlat1 -->
<!ENTITY aring  CDATA "&#229;" -- latin small letter a with ring above
                                  = latin small letter a ring,
                                  U+00E5 ISOlat1 -->
<!ENTITY aelig  CDATA "&#230;" -- latin small letter ae
                                  = latin small ligature ae, U+00E6 ISOlat1 -->
<!ENTITY ccedil CDATA "&#231;" -- latin small letter c with cedilla,
                                  U+00E7 ISOlat1 -->
<!ENTITY egrave CDATA "&#232;" -- latin small letter e with grave,
                                  U+00E8 ISOlat1 -->
<!ENTITY eacute CDATA "&#233;" -- latin small letter e with acute,
                                  U+00E9 ISOlat1 -->
<!ENTITY ecirc  CDATA "&#234;" -- latin small letter e with circumflex,
                                  U+00EA ISOlat1 -->
<!ENTITY euml   CDATA "&#235;" -- latin small letter e with diaeresis,
                                  U+00EB ISOlat1 -->
<!ENTITY igrave CDATA "&#236;" -- latin small letter i with grave,
                                  U+00EC ISOlat1 -->
<!ENTITY iacute CDATA "&#237;" -- latin small letter i with acute,
                                  U+00ED ISOlat1 -->
<!ENTITY icirc  CDATA "&#238;" -- latin small letter i with circumflex,
                                  U+00EE ISOlat1 -->
<!ENTITY iuml   CDATA "&#239;" -- latin small letter i with diaeresis,
                                  U+00EF ISOlat1 -->
<!ENTITY eth    CDATA "&#240;" -- latin small letter eth, U+00F0 ISOlat1 -->
<!ENTITY ntilde CDATA "&#241;" -- latin small letter n with tilde,
                                  U+00F1 ISOlat1 -->
<!ENTITY ograve CDATA "&#242;" -- latin small letter o with grave,
                                  U+00F2 ISOlat1 -->
<!ENTITY oacute CDATA "&#243;" -- latin small letter o with acute,
                                  U+00F3 ISOlat1 -->
<!ENTITY ocirc  CDATA "&#244;" -- latin small letter o with circumflex,
                                  U+00F4 ISOlat1 -->
<!ENTITY otilde CDATA "&#245;" -- latin small letter o with tilde,
                                  U+00F5 ISOlat1 -->
<!ENTITY ouml   CDATA "&#246;" -- latin small letter o with diaeresis,
                                  U+00F6 ISOlat1 -->
<!ENTITY divide CDATA "&#247;" -- division sign, U+00F7 ISOnum -->
<!ENTITY oslash CDATA "&#248;" -- latin small letter o with stroke,
                                  = latin small letter o slash,
                                  U+00F8 ISOlat1 -->
<!ENTITY ugrave CDATA "&#249;" -- latin small letter u with grave,
                                  U+00F9 ISOlat1 -->
<!ENTITY uacute CDATA "&#250;" -- latin small letter u with acute,
                                  U+00FA ISOlat1 -->
<!ENTITY ucirc  CDATA "&#251;" -- latin small letter u with circumflex,
                                  U+00FB ISOlat1 -->
<!ENTITY uuml   CDATA "&#252;" -- latin small letter u with diaeresis,
                                  U+00FC ISOlat1 -->
<!ENTITY yacute CDATA "&#253;" -- latin small letter y with acute,
                                  U+00FD ISOlat1 -->
<!ENTITY thorn  CDATA "&#254;" -- latin small letter thorn,
                                  U+00FE ISOlat1 -->
<!ENTITY yuml   CDATA "&#255;" -- latin small letter y with diaeresis,
                                  U+00FF ISOlat1 -->

24.3 Character entity references for symbols, mathematical symbols, and Greek letters

The character entity references in this section produce characters that may be represented by glyphs in the widely available Adobe Symbol font, including Greek characters, various bracketing symbols, and a selection of mathematical operators such as gradient, product, and summation symbols.

To support these entities, user agents may support full [ISO10646] or use other means. Display of glyphs for these characters may be obtained by being able to display the relevant [ISO10646] characters or by other means, such as internally mapping the listed entities, numeric character references, and characters to the appropriate position in some font that contains the requisite glyphs.

When to use Greek entities. This entity set contains all the letters used in modern Greek. However, it does not include Greek punctuation, precomposed accented characters nor the non-spacing accents (tonos, dialytika) required to compose them. There are no archaic letters, Coptic-unique letters, or precomposed letters for Polytonic Greek. The entities defined here are not intended for the representation of modern Greek text and would not be an efficient representation; rather, they are intended for occasional Greek letters used in technical and mathematical works.

24.3.1 The list of characters

<!-- Mathematical, Greek and Symbolic characters for HTML -->

<!-- Character entity set. Typical invocation:
     <!ENTITY % HTMLsymbol PUBLIC
       "-//W3C//ENTITIES Symbols//EN//HTML">
     %HTMLsymbol; -->

<!-- Portions  International Organization for Standardization 1986:
     Permission to copy in any form is granted for use with
     conforming SGML systems and applications as defined in
     ISO 8879, provided this notice is included in all copies.
-->

<!-- Relevant ISO entity set is given unless names are newly introduced.
     New names (i.e., not in ISO 8879 list) do not clash with any
     existing ISO 8879 entity names. ISO 10646 character numbers
     are given for each character, in hex. CDATA values are decimal
     conversions of the ISO 10646 values and refer to the document
     character set. Names are ISO 10646 names.

-->

<!-- Latin Extended-B -->
<!ENTITY fnof     CDATA "&#402;" -- latin small f with hook = function
                                    = florin, U+0192 ISOtech -->

<!-- Greek -->
<!ENTITY Alpha    CDATA "&#913;" -- greek capital letter alpha, U+0391 -->
<!ENTITY Beta     CDATA "&#914;" -- greek capital letter beta, U+0392 -->
<!ENTITY Gamma    CDATA "&#915;" -- greek capital letter gamma,
                                    U+0393 ISOgrk3 -->
<!ENTITY Delta    CDATA "&#916;" -- greek capital letter delta,
                                    U+0394 ISOgrk3 -->
<!ENTITY Epsilon  CDATA "&#917;" -- greek capital letter epsilon, U+0395 -->
<!ENTITY Zeta     CDATA "&#918;" -- greek capital letter zeta, U+0396 -->
<!ENTITY Eta      CDATA "&#919;" -- greek capital letter eta, U+0397 -->
<!ENTITY Theta    CDATA "&#920;" -- greek capital letter theta,
                                    U+0398 ISOgrk3 -->
<!ENTITY Iota     CDATA "&#921;" -- greek capital letter iota, U+0399 -->
<!ENTITY Kappa    CDATA "&#922;" -- greek capital letter kappa, U+039A -->
<!ENTITY Lambda   CDATA "&#923;" -- greek capital letter lambda,
                                    U+039B ISOgrk3 -->
<!ENTITY Mu       CDATA "&#924;" -- greek capital letter mu, U+039C -->
<!ENTITY Nu       CDATA "&#925;" -- greek capital letter nu, U+039D -->
<!ENTITY Xi       CDATA "&#926;" -- greek capital letter xi, U+039E ISOgrk3 -->
<!ENTITY Omicron  CDATA "&#927;" -- greek capital letter omicron, U+039F -->
<!ENTITY Pi       CDATA "&#928;" -- greek capital letter pi, U+03A0 ISOgrk3 -->
<!ENTITY Rho      CDATA "&#929;" -- greek capital letter rho, U+03A1 -->
<!-- there is no Sigmaf, and no U+03A2 character either -->
<!ENTITY Sigma    CDATA "&#931;" -- greek capital letter sigma,
                                    U+03A3 ISOgrk3 -->
<!ENTITY Tau      CDATA "&#932;" -- greek capital letter tau, U+03A4 -->
<!ENTITY Upsilon  CDATA "&#933;" -- greek capital letter upsilon,
                                    U+03A5 ISOgrk3 -->
<!ENTITY Phi      CDATA "&#934;" -- greek capital letter phi,
                                    U+03A6 ISOgrk3 -->
<!ENTITY Chi      CDATA "&#935;" -- greek capital letter chi, U+03A7 -->
<!ENTITY Psi      CDATA "&#936;" -- greek capital letter psi,
                                    U+03A8 ISOgrk3 -->
<!ENTITY Omega    CDATA "&#937;" -- greek capital letter omega,
                                    U+03A9 ISOgrk3 -->

<!ENTITY alpha    CDATA "&#945;" -- greek small letter alpha,
                                    U+03B1 ISOgrk3 -->
<!ENTITY beta     CDATA "&#946;" -- greek small letter beta, U+03B2 ISOgrk3 -->
<!ENTITY gamma    CDATA "&#947;" -- greek small letter gamma,
                                    U+03B3 ISOgrk3 -->
<!ENTITY delta    CDATA "&#948;" -- greek small letter delta,
                                    U+03B4 ISOgrk3 -->
<!ENTITY epsilon  CDATA "&#949;" -- greek small letter epsilon,
                                    U+03B5 ISOgrk3 -->
<!ENTITY zeta     CDATA "&#950;" -- greek small letter zeta, U+03B6 ISOgrk3 -->
<!ENTITY eta      CDATA "&#951;" -- greek small letter eta, U+03B7 ISOgrk3 -->
<!ENTITY theta    CDATA "&#952;" -- greek small letter theta,
                                    U+03B8 ISOgrk3 -->
<!ENTITY iota     CDATA "&#953;" -- greek small letter iota, U+03B9 ISOgrk3 -->
<!ENTITY kappa    CDATA "&#954;" -- greek small letter kappa,
                                    U+03BA ISOgrk3 -->
<!ENTITY lambda   CDATA "&#955;" -- greek small letter lambda,
                                    U+03BB ISOgrk3 -->
<!ENTITY mu       CDATA "&#956;" -- greek small letter mu, U+03BC ISOgrk3 -->
<!ENTITY nu       CDATA "&#957;" -- greek small letter nu, U+03BD ISOgrk3 -->
<!ENTITY xi       CDATA "&#958;" -- greek small letter xi, U+03BE ISOgrk3 -->
<!ENTITY omicron  CDATA "&#959;" -- greek small letter omicron, U+03BF NEW -->
<!ENTITY pi       CDATA "&#960;" -- greek small letter pi, U+03C0 ISOgrk3 -->
<!ENTITY rho      CDATA "&#961;" -- greek small letter rho, U+03C1 ISOgrk3 -->
<!ENTITY sigmaf   CDATA "&#962;" -- greek small letter final sigma,
                                    U+03C2 ISOgrk3 -->
<!ENTITY sigma    CDATA "&#963;" -- greek small letter sigma,
                                    U+03C3 ISOgrk3 -->
<!ENTITY tau      CDATA "&#964;" -- greek small letter tau, U+03C4 ISOgrk3 -->
<!ENTITY upsilon  CDATA "&#965;" -- greek small letter upsilon,
                                    U+03C5 ISOgrk3 -->
<!ENTITY phi      CDATA "&#966;" -- greek small letter phi, U+03C6 ISOgrk3 -->
<!ENTITY chi      CDATA "&#967;" -- greek small letter chi, U+03C7 ISOgrk3 -->
<!ENTITY psi      CDATA "&#968;" -- greek small letter psi, U+03C8 ISOgrk3 -->
<!ENTITY omega    CDATA "&#969;" -- greek small letter omega,
                                    U+03C9 ISOgrk3 -->
<!ENTITY thetasym CDATA "&#977;" -- greek small letter theta symbol,
                                    U+03D1 NEW -->
<!ENTITY upsih    CDATA "&#978;" -- greek upsilon with hook symbol,
                                    U+03D2 NEW -->
<!ENTITY piv      CDATA "&#982;" -- greek pi symbol, U+03D6 ISOgrk3 -->

<!-- General Punctuation -->
<!ENTITY bull     CDATA "&#8226;" -- bullet = black small circle,
                                     U+2022 ISOpub  -->
<!-- bullet is NOT the same as bullet operator, U+2219 -->
<!ENTITY hellip   CDATA "&#8230;" -- horizontal ellipsis = three dot leader,
                                     U+2026 ISOpub  -->
<!ENTITY prime    CDATA "&#8242;" -- prime = minutes = feet, U+2032 ISOtech -->
<!ENTITY Prime    CDATA "&#8243;" -- double prime = seconds = inches,
                                     U+2033 ISOtech -->
<!ENTITY oline    CDATA "&#8254;" -- overline = spacing overscore,
                                     U+203E NEW -->
<!ENTITY frasl    CDATA "&#8260;" -- fraction slash, U+2044 NEW -->

<!-- Letterlike Symbols -->
<!ENTITY weierp   CDATA "&#8472;" -- script capital P = power set
                                     = Weierstrass p, U+2118 ISOamso -->
<!ENTITY image    CDATA "&#8465;" -- blackletter capital I = imaginary part,
                                     U+2111 ISOamso -->
<!ENTITY real     CDATA "&#8476;" -- blackletter capital R = real part symbol,
                                     U+211C ISOamso -->
<!ENTITY trade    CDATA "&#8482;" -- trade mark sign, U+2122 ISOnum -->
<!ENTITY alefsym  CDATA "&#8501;" -- alef symbol = first transfinite cardinal,
                                     U+2135 NEW -->
<!-- alef symbol is NOT the same as hebrew letter alef,
     U+05D0 although the same glyph could be used to depict both characters -->

<!-- Arrows -->
<!ENTITY larr     CDATA "&#8592;" -- leftwards arrow, U+2190 ISOnum -->
<!ENTITY uarr     CDATA "&#8593;" -- upwards arrow, U+2191 ISOnum-->
<!ENTITY rarr     CDATA "&#8594;" -- rightwards arrow, U+2192 ISOnum -->
<!ENTITY darr     CDATA "&#8595;" -- downwards arrow, U+2193 ISOnum -->
<!ENTITY harr     CDATA "&#8596;" -- left right arrow, U+2194 ISOamsa -->
<!ENTITY crarr    CDATA "&#8629;" -- downwards arrow with corner leftwards
                                     = carriage return, U+21B5 NEW -->
<!ENTITY lArr     CDATA "&#8656;" -- leftwards double arrow, U+21D0 ISOtech -->
<!-- ISO 10646 does not say that lArr is the same as the 'is implied by' arrow
    but also does not have any other character for that function. So ? lArr can
    be used for 'is implied by' as ISOtech suggests -->
<!ENTITY uArr     CDATA "&#8657;" -- upwards double arrow, U+21D1 ISOamsa -->
<!ENTITY rArr     CDATA "&#8658;" -- rightwards double arrow,
                                     U+21D2 ISOtech -->
<!-- ISO 10646 does not say this is the 'implies' character but does not have
     another character with this function so ?
     rArr can be used for 'implies' as ISOtech suggests -->
<!ENTITY dArr     CDATA "&#8659;" -- downwards double arrow, U+21D3 ISOamsa -->
<!ENTITY hArr     CDATA "&#8660;" -- left right double arrow,
                                     U+21D4 ISOamsa -->

<!-- Mathematical Operators -->
<!ENTITY forall   CDATA "&#8704;" -- for all, U+2200 ISOtech -->
<!ENTITY part     CDATA "&#8706;" -- partial differential, U+2202 ISOtech  -->
<!ENTITY exist    CDATA "&#8707;" -- there exists, U+2203 ISOtech -->
<!ENTITY empty    CDATA "&#8709;" -- empty set = null set = diameter,
                                     U+2205 ISOamso -->
<!ENTITY nabla    CDATA "&#8711;" -- nabla = backward difference,
                                     U+2207 ISOtech -->
<!ENTITY isin     CDATA "&#8712;" -- element of, U+2208 ISOtech -->
<!ENTITY notin    CDATA "&#8713;" -- not an element of, U+2209 ISOtech -->
<!ENTITY ni       CDATA "&#8715;" -- contains as member, U+220B ISOtech -->
<!-- should there be a more memorable name than 'ni'? -->
<!ENTITY prod     CDATA "&#8719;" -- n-ary product = product sign,
                                     U+220F ISOamsb -->
<!-- prod is NOT the same character as U+03A0 'greek capital letter pi' though
     the same glyph might be used for both -->
<!ENTITY sum      CDATA "&#8721;" -- n-ary sumation, U+2211 ISOamsb -->
<!-- sum is NOT the same character as U+03A3 'greek capital letter sigma'
     though the same glyph might be used for both -->
<!ENTITY minus    CDATA "&#8722;" -- minus sign, U+2212 ISOtech -->
<!ENTITY lowast   CDATA "&#8727;" -- asterisk operator, U+2217 ISOtech -->
<!ENTITY radic    CDATA "&#8730;" -- square root = radical sign,
                                     U+221A ISOtech -->
<!ENTITY prop     CDATA "&#8733;" -- proportional to, U+221D ISOtech -->
<!ENTITY infin    CDATA "&#8734;" -- infinity, U+221E ISOtech -->
<!ENTITY ang      CDATA "&#8736;" -- angle, U+2220 ISOamso -->
<!ENTITY and      CDATA "&#8743;" -- logical and = wedge, U+2227 ISOtech -->
<!ENTITY or       CDATA "&#8744;" -- logical or = vee, U+2228 ISOtech -->
<!ENTITY cap      CDATA "&#8745;" -- intersection = cap, U+2229 ISOtech -->
<!ENTITY cup      CDATA "&#8746;" -- union = cup, U+222A ISOtech -->
<!ENTITY int      CDATA "&#8747;" -- integral, U+222B ISOtech -->
<!ENTITY there4   CDATA "&#8756;" -- therefore, U+2234 ISOtech -->
<!ENTITY sim      CDATA "&#8764;" -- tilde operator = varies with = similar to,
                                     U+223C ISOtech -->
<!-- tilde operator is NOT the same character as the tilde, U+007E,
     although the same glyph might be used to represent both  -->
<!ENTITY cong     CDATA "&#8773;" -- approximately equal to, U+2245 ISOtech -->
<!ENTITY asymp    CDATA "&#8776;" -- almost equal to = asymptotic to,
                                     U+2248 ISOamsr -->
<!ENTITY ne       CDATA "&#8800;" -- not equal to, U+2260 ISOtech -->
<!ENTITY equiv    CDATA "&#8801;" -- identical to, U+2261 ISOtech -->
<!ENTITY le       CDATA "&#8804;" -- less-than or equal to, U+2264 ISOtech -->
<!ENTITY ge       CDATA "&#8805;" -- greater-than or equal to,
                                     U+2265 ISOtech -->
<!ENTITY sub      CDATA "&#8834;" -- subset of, U+2282 ISOtech -->
<!ENTITY sup      CDATA "&#8835;" -- superset of, U+2283 ISOtech -->
<!-- note that nsup, 'not a superset of, U+2283' is not covered by the Symbol
     font encoding and is not included. Should it be, for symmetry?
     It is in ISOamsn  -->
<!ENTITY nsub     CDATA "&#8836;" -- not a subset of, U+2284 ISOamsn -->
<!ENTITY sube     CDATA "&#8838;" -- subset of or equal to, U+2286 ISOtech -->
<!ENTITY supe     CDATA "&#8839;" -- superset of or equal to,
                                     U+2287 ISOtech -->
<!ENTITY oplus    CDATA "&#8853;" -- circled plus = direct sum,
                                     U+2295 ISOamsb -->
<!ENTITY otimes   CDATA "&#8855;" -- circled times = vector product,
                                     U+2297 ISOamsb -->
<!ENTITY perp     CDATA "&#8869;" -- up tack = orthogonal to = perpendicular,
                                     U+22A5 ISOtech -->
<!ENTITY sdot     CDATA "&#8901;" -- dot operator, U+22C5 ISOamsb -->
<!-- dot operator is NOT the same character as U+00B7 middle dot -->

<!-- Miscellaneous Technical -->
<!ENTITY lceil    CDATA "&#8968;" -- left ceiling = apl upstile,
                                     U+2308 ISOamsc  -->
<!ENTITY rceil    CDATA "&#8969;" -- right ceiling, U+2309 ISOamsc  -->
<!ENTITY lfloor   CDATA "&#8970;" -- left floor = apl downstile,
                                     U+230A ISOamsc  -->
<!ENTITY rfloor   CDATA "&#8971;" -- right floor, U+230B ISOamsc  -->
<!ENTITY lang     CDATA "&#9001;" -- left-pointing angle bracket = bra,
                                     U+2329 ISOtech -->
<!-- lang is NOT the same character as U+003C 'less than'
     or U+2039 'single left-pointing angle quotation mark' -->
<!ENTITY rang     CDATA "&#9002;" -- right-pointing angle bracket = ket,
                                     U+232A ISOtech -->
<!-- rang is NOT the same character as U+003E 'greater than'
     or U+203A 'single right-pointing angle quotation mark' -->

<!-- Geometric Shapes -->
<!ENTITY loz      CDATA "&#9674;" -- lozenge, U+25CA ISOpub -->

<!-- Miscellaneous Symbols -->
<!ENTITY spades   CDATA "&#9824;" -- black spade suit, U+2660 ISOpub -->
<!-- black here seems to mean filled as opposed to hollow -->
<!ENTITY clubs    CDATA "&#9827;" -- black club suit = shamrock,
                                     U+2663 ISOpub -->
<!ENTITY hearts   CDATA "&#9829;" -- black heart suit = valentine,
                                     U+2665 ISOpub -->
<!ENTITY diams    CDATA "&#9830;" -- black diamond suit, U+2666 ISOpub -->

24.4 Character entity references for markup-significant and internationalization characters

The character entity references in this section are for escaping markup-significant characters (these are the same as those in HTML 2.0 and 3.2), for denoting spaces and dashes. Other characters in this section apply to internationalization issues such as the disambiguation of bidirectional text (see the section on bidirectional text for details).

Entities have also been added for the remaining characters occurring in CP-1252 which do not occur in the HTMLlat1 or HTMLsymbol entity sets. These all occur in the 128 to 159 range within the CP-1252 charset. These entities permit the characters to be denoted in a platform-independent manner.

To support these entities, user agents may support full [ISO10646] or use other means. Display of glyphs for these characters may be obtained by being able to display the relevant [ISO10646] characters or by other means, such as internally mapping the listed entities, numeric character references, and characters to the appropriate position in some font that contains the requisite glyphs.

24.4.1 The list of characters

<!-- Special characters for HTML -->

<!-- Character entity set. Typical invocation:
     <!ENTITY % HTMLspecial PUBLIC
       "-//W3C//ENTITIES Special//EN//HTML">
     %HTMLspecial; -->

<!-- Portions  International Organization for Standardization 1986:
     Permission to copy in any form is granted for use with
     conforming SGML systems and applications as defined in
     ISO 8879, provided this notice is included in all copies.
-->

<!-- Relevant ISO entity set is given unless names are newly introduced.
     New names (i.e., not in ISO 8879 list) do not clash with any
     existing ISO 8879 entity names. ISO 10646 character numbers
     are given for each character, in hex. CDATA values are decimal
     conversions of the ISO 10646 values and refer to the document
     character set. Names are ISO 10646 names.

-->

<!-- C0 Controls and Basic Latin -->
<!ENTITY quot    CDATA "&#34;"   -- quotation mark = APL quote,
                                    U+0022 ISOnum -->
<!ENTITY amp     CDATA "&#38;"   -- ampersand, U+0026 ISOnum -->
<!ENTITY lt      CDATA "&#60;"   -- less-than sign, U+003C ISOnum -->
<!ENTITY gt      CDATA "&#62;"   -- greater-than sign, U+003E ISOnum -->

<!-- Latin Extended-A -->
<!ENTITY OElig   CDATA "&#338;"  -- latin capital ligature OE,
                                    U+0152 ISOlat2 -->
<!ENTITY oelig   CDATA "&#339;"  -- latin small ligature oe, U+0153 ISOlat2 -->
<!-- ligature is a misnomer, this is a separate character in some languages -->
<!ENTITY Scaron  CDATA "&#352;"  -- latin capital letter S with caron,
                                    U+0160 ISOlat2 -->
<!ENTITY scaron  CDATA "&#353;"  -- latin small letter s with caron,
                                    U+0161 ISOlat2 -->
<!ENTITY Yuml    CDATA "&#376;"  -- latin capital letter Y with diaeresis,
                                    U+0178 ISOlat2 -->

<!-- Spacing Modifier Letters -->
<!ENTITY circ    CDATA "&#710;"  -- modifier letter circumflex accent,
                                    U+02C6 ISOpub -->
<!ENTITY tilde   CDATA "&#732;"  -- small tilde, U+02DC ISOdia -->

<!-- General Punctuation -->
<!ENTITY ensp    CDATA "&#8194;" -- en space, U+2002 ISOpub -->
<!ENTITY emsp    CDATA "&#8195;" -- em space, U+2003 ISOpub -->
<!ENTITY thinsp  CDATA "&#8201;" -- thin space, U+2009 ISOpub -->
<!ENTITY zwnj    CDATA "&#8204;" -- zero width non-joiner,
                                    U+200C NEW RFC 2070 -->
<!ENTITY zwj     CDATA "&#8205;" -- zero width joiner, U+200D NEW RFC 2070 -->
<!ENTITY lrm     CDATA "&#8206;" -- left-to-right mark, U+200E NEW RFC 2070 -->
<!ENTITY rlm     CDATA "&#8207;" -- right-to-left mark, U+200F NEW RFC 2070 -->
<!ENTITY ndash   CDATA "&#8211;" -- en dash, U+2013 ISOpub -->
<!ENTITY mdash   CDATA "&#8212;" -- em dash, U+2014 ISOpub -->
<!ENTITY lsquo   CDATA "&#8216;" -- left single quotation mark,
                                    U+2018 ISOnum -->
<!ENTITY rsquo   CDATA "&#8217;" -- right single quotation mark,
                                    U+2019 ISOnum -->
<!ENTITY sbquo   CDATA "&#8218;" -- single low-9 quotation mark, U+201A NEW -->
<!ENTITY ldquo   CDATA "&#8220;" -- left double quotation mark,
                                    U+201C ISOnum -->
<!ENTITY rdquo   CDATA "&#8221;" -- right double quotation mark,
                                    U+201D ISOnum -->
<!ENTITY bdquo   CDATA "&#8222;" -- double low-9 quotation mark, U+201E NEW -->
<!ENTITY dagger  CDATA "&#8224;" -- dagger, U+2020 ISOpub -->
<!ENTITY Dagger  CDATA "&#8225;" -- double dagger, U+2021 ISOpub -->
<!ENTITY permil  CDATA "&#8240;" -- per mille sign, U+2030 ISOtech -->
<!ENTITY lsaquo  CDATA "&#8249;" -- single left-pointing angle quotation mark,
                                    U+2039 ISO proposed -->
<!-- lsaquo is proposed but not yet ISO standardized -->
<!ENTITY rsaquo  CDATA "&#8250;" -- single right-pointing angle quotation mark,
                                    U+203A ISO proposed -->
<!-- rsaquo is proposed but not yet ISO standardized -->
<!ENTITY euro   CDATA "&#8364;"  -- euro sign, U+20AC NEW -->
libgd-2.3.0/src/Makefile.am0000664000175000017500000000424013635665516012363 00000000000000## Process this file with automake to produce Makefile.in -*-Makefile-*- bin_PROGRAMS = gdcmpgif check_PROGRAMS = gifanimtest gd_color_map_test if HAVE_LIBPNG bin_PROGRAMS += gdtopng pngtogd webpng check_PROGRAMS += circletexttest fontsizetest fontwheeltest gddemo testac if HAVE_LIBZ bin_PROGRAMS += gdparttopng gd2topng pngtogd2 check_PROGRAMS += gdtest endif endif if HAVE_LIBJPEG if !HAVE_LIBPNG check_PROGRAMS += fontsizetest fontwheeltest endif endif if HAVE_LIBFONTCONFIG check_PROGRAMS += fontconfigtest endif if HAVE_LIBFREETYPE if HAVE_LIBJPEG bin_PROGRAMS += annotate endif check_PROGRAMS += gdtestft testtr endif if HAVE_LIBZ bin_PROGRAMS += gd2copypal gd2togif giftogd2 endif bin_SCRIPTS = bdftogd if HAVE_LIBZ check_PROGRAMS += gd2time endif EXTRA_DIST = \ bdftogd \ demoin.png \ entities.html \ entities.tcl \ CMakeLists.txt \ config.h.cmake \ gd_io_stream.cxx \ gdpp.cxx \ getopt.c \ snprintf.c \ msinttypes/inttypes.h \ msinttypes/stdint.h include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h gd_color_map.h gd_errors.h gdpp.h lib_LTLIBRARIES = libgd.la libgd_la_SOURCES = \ bmp.h \ gd.c \ gd.h \ gd_bmp.c \ gd_color.c \ gd_color.h \ gd_color_map.c \ gd_color_map.h \ gd_color_match.c \ gd_crop.c \ gd_filename.c \ gd_filter.c \ gd_gd.c \ gd_gd2.c \ gd_gif_in.c \ gd_gif_out.c \ gd_intern.h \ gd_interpolation.c \ gd_io.c \ gd_io.h \ gd_io_dp.c \ gd_io_file.c \ gd_io_ss.c \ gd_io_stream.h \ gd_jpeg.c \ gd_matrix.c \ gd_nnquant.c \ gd_nnquant.h \ gd_png.c \ gd_rotate.c \ gd_security.c \ gd_ss.c \ gd_tga.c \ gd_tga.h \ gd_tiff.c \ gd_topal.c \ gd_transform.c \ gd_version.c \ gd_wbmp.c \ gd_webp.c \ gd_xbm.c \ gdcache.c \ gdcache.h \ gdfontg.c \ gdfontg.h \ gdfontl.c \ gdfontl.h \ gdfontmb.c \ gdfontmb.h \ gdfonts.c \ gdfonts.h \ gdfontt.c \ gdfontt.h \ gdft.c \ gdfx.c \ gdfx.h \ gdhelpers.c \ gdhelpers.h \ gdkanji.c \ gdtables.c \ gdxpm.c \ jisx0208.h \ wbmp.c \ wbmp.h libgd_la_LDFLAGS = -version-info $(GDLIB_LT_CURRENT):$(GDLIB_LT_REVISION):$(GDLIB_LT_AGE) -no-undefined libgd_la_LIBADD = $(LTLIBICONV) LDADD = libgd.la $(LIBICONV) libgd-2.3.0/src/circletexttest.c0000664000175000017500000000261113635665516013541 00000000000000#ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include "gd.h" int main(void) { /* 2.0.22: can't depend on PNG either */ char *error; #ifdef HAVE_LIBJPEG FILE *in = 0; #endif FILE *out; gdImagePtr im; int radius; /* Create an image of text on a circle, with an * alpha channel so that we can copy it onto a * background * TBB: 2.0.18: shouldn't depend on JPEG */ #ifdef HAVE_LIBJPEG in = fopen("eleanor.jpg", "rb"); if(!in) { im = gdImageCreateTrueColor(300, 300); } else { im = gdImageCreateFromJpeg(in); fclose(in); } #else im = gdImageCreateTrueColor(300, 300); #endif /* HAVE_LIBJPEG */ if(!im) { fprintf(stderr, "gdImageCreateTrueColor failed \n"); return 1; } if(gdImageSX(im) < gdImageSY(im)) { radius = gdImageSX(im) / 2; } else { radius = gdImageSY(im) / 2; } error = gdImageStringFTCircle(im, gdImageSX(im) / 2, gdImageSY(im) / 2, radius, radius / 2, 0.8, "arial", 24, "top text", "bottom text", gdTrueColorAlpha(192, 100, 255, 32) ); if(error) { fprintf(stderr, "gdImageStringFTEx error: %s\n", error); } out = fopen("gdfx.png", "wb"); if(!out) { fprintf(stderr, "Can't create gdfx.png\n"); return 1; } gdImagePng(im, out); fclose(out); gdImageDestroy(im); return 0; } libgd-2.3.0/src/gd_topal.c0000664000175000017500000016162513635665516012277 00000000000000/* TODO: oim and nim in the lower level functions; correct use of stub (sigh). */ /* 2.0.12: a new adaptation from the same original, this time by Barend Gehrels. My attempt to incorporate alpha channel into the result worked poorly and degraded the quality of palette conversion even when the source contained no alpha channel data. This version does not attempt to produce an output file with transparency in some of the palette indexes, which, in practice, doesn't look so hot anyway. TBB */ /* * gd_topal, adapted from jquant2.c * * Copyright (C) 1991-1996, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains 2-pass color quantization (color mapping) routines. * These routines provide selection of a custom color map for an image, * followed by mapping of the image to that color map, with optional * Floyd-Steinberg dithering. * It is also possible to use just the second pass to map to an arbitrary * externally-given color map. * * Note: ordered dithering is not supported, since there isn't any fast * way to compute intercolor distances; it's unclear that ordered dither's * fundamental assumptions even hold with an irregularly spaced color map. */ /** * File: Color Quantization * * Functions for truecolor to palette conversion */ /* * THOMAS BOUTELL & BAREND GEHRELS, february 2003 * adapted the code to work within gd rather than within libjpeg. * If it is not working, it's not Thomas G. Lane's fault. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "gd.h" #include "gdhelpers.h" #ifdef HAVE_LIBIMAGEQUANT #include #endif /* (Re)define some defines known by libjpeg */ #define QUANT_2PASS_SUPPORTED #define RGB_RED 0 #define RGB_GREEN 1 #define RGB_BLUE 2 #define JSAMPLE unsigned char #define MAXJSAMPLE (gdMaxColors-1) #define BITS_IN_JSAMPLE 8 #define JSAMPROW int* #define JDIMENSION int #define METHODDEF(type) static type #define LOCAL(type) static type /* We assume that right shift corresponds to signed division by 2 with * rounding towards minus infinity. This is correct for typical "arithmetic * shift" instructions that shift in copies of the sign bit. But some * C compilers implement >> with an unsigned shift. For these machines you * must define RIGHT_SHIFT_IS_UNSIGNED. * RIGHT_SHIFT provides a proper signed right shift of an INT32 quantity. * It is only applied with constant shift counts. SHIFT_TEMPS must be * included in the variables of any routine using RIGHT_SHIFT. */ #ifdef RIGHT_SHIFT_IS_UNSIGNED #define SHIFT_TEMPS INT32 shift_temp; #define RIGHT_SHIFT(x,shft) \ ((shift_temp = (x)) < 0 ? \ (shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \ (shift_temp >> (shft))) #else #define SHIFT_TEMPS #define RIGHT_SHIFT(x,shft) ((x) >> (shft)) #endif #define range_limit(x) { if(x<0) x=0; if (x>255) x=255; } #ifndef INT16 #define INT16 short #endif #ifndef UINT16 #define UINT16 unsigned short #endif #ifndef INT32 #define INT32 int #endif #ifndef FAR #define FAR #endif #ifndef boolean #define boolean int #endif #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif #define input_buf (oim->tpixels) #define output_buf (nim->pixels) #ifdef QUANT_2PASS_SUPPORTED /* * This module implements the well-known Heckbert paradigm for color * quantization. Most of the ideas used here can be traced back to * Heckbert's seminal paper * Heckbert, Paul. "Color Image Quantization for Frame Buffer Display", * Proc. SIGGRAPH '82, Computer Graphics v.16 #3 (July 1982), pp 297-304. * * In the first pass over the image, we accumulate a histogram showing the * usage count of each possible color. To keep the histogram to a reasonable * size, we reduce the precision of the input; typical practice is to retain * 5 or 6 bits per color, so that 8 or 4 different input values are counted * in the same histogram cell. * * Next, the color-selection step begins with a box representing the whole * color space, and repeatedly splits the "largest" remaining box until we * have as many boxes as desired colors. Then the mean color in each * remaining box becomes one of the possible output colors. * * The second pass over the image maps each input pixel to the closest output * color (optionally after applying a Floyd-Steinberg dithering correction). * This mapping is logically trivial, but making it go fast enough requires * considerable care. * * Heckbert-style quantizers vary a good deal in their policies for choosing * the "largest" box and deciding where to cut it. The particular policies * used here have proved out well in experimental comparisons, but better ones * may yet be found. * * In earlier versions of the IJG code, this module quantized in YCbCr color * space, processing the raw upsampled data without a color conversion step. * This allowed the color conversion math to be done only once per colormap * entry, not once per pixel. However, that optimization precluded other * useful optimizations (such as merging color conversion with upsampling) * and it also interfered with desired capabilities such as quantizing to an * externally-supplied colormap. We have therefore abandoned that approach. * The present code works in the post-conversion color space, typically RGB. * * To improve the visual quality of the results, we actually work in scaled * RGB space, giving G distances more weight than R, and R in turn more than * B. To do everything in integer math, we must use integer scale factors. * The 2/3/1 scale factors used here correspond loosely to the relative * weights of the colors in the NTSC grayscale equation. * If you want to use this code to quantize a non-RGB color space, you'll * probably need to change these scale factors. */ #define R_SCALE 2 /* scale R distances by this much */ #define G_SCALE 3 /* scale G distances by this much */ #define B_SCALE 1 /* and B by this much */ /* Relabel R/G/B as components 0/1/2, respecting the RGB ordering defined * in jmorecfg.h. As the code stands, it will do the right thing for R,G,B * and B,G,R orders. If you define some other weird order in jmorecfg.h, * you'll get compile errors until you extend this logic. In that case * you'll probably want to tweak the histogram sizes too. */ #if RGB_RED == 0 #define C0_SCALE R_SCALE #endif #if RGB_BLUE == 0 #define C0_SCALE B_SCALE #endif #if RGB_GREEN == 1 #define C1_SCALE G_SCALE #endif #if RGB_RED == 2 #define C2_SCALE R_SCALE #endif #if RGB_BLUE == 2 #define C2_SCALE B_SCALE #endif /* * First we have the histogram data structure and routines for creating it. * * The number of bits of precision can be adjusted by changing these symbols. * We recommend keeping 6 bits for G and 5 each for R and B. * If you have plenty of memory and cycles, 6 bits all around gives marginally * better results; if you are short of memory, 5 bits all around will save * some space but degrade the results. * To maintain a fully accurate histogram, we'd need to allocate a "long" * (preferably unsigned long) for each cell. In practice this is overkill; * we can get by with 16 bits per cell. Few of the cell counts will overflow, * and clamping those that do overflow to the maximum value will give close- * enough results. This reduces the recommended histogram size from 256Kb * to 128Kb, which is a useful savings on PC-class machines. * (In the second pass the histogram space is re-used for pixel mapping data; * in that capacity, each cell must be able to store zero to the number of * desired colors. 16 bits/cell is plenty for that too.) * Since the JPEG code is intended to run in small memory model on 80x86 * machines, we can't just allocate the histogram in one chunk. Instead * of a true 3-D array, we use a row of pointers to 2-D arrays. Each * pointer corresponds to a C0 value (typically 2^5 = 32 pointers) and * each 2-D array has 2^6*2^5 = 2048 or 2^6*2^6 = 4096 entries. Note that * on 80x86 machines, the pointer row is in near memory but the actual * arrays are in far memory (same arrangement as we use for image arrays). */ #define MAXNUMCOLORS (MAXJSAMPLE+1) /* maximum size of colormap */ /* These will do the right thing for either R,G,B or B,G,R color order, * but you may not like the results for other color orders. */ #define HIST_C0_BITS 5 /* bits of precision in R/B histogram */ #define HIST_C1_BITS 6 /* bits of precision in G histogram */ #define HIST_C2_BITS 5 /* bits of precision in B/R histogram */ /* Number of elements along histogram axes. */ #define HIST_C0_ELEMS (1<histogram; int row; JDIMENSION col; int width = oim->sx; int num_rows = oim->sy; (void)nim; for (row = 0; row < num_rows; row++) { ptr = input_buf[row]; for (col = width; col > 0; col--) { int r = gdTrueColorGetRed (*ptr) >> C0_SHIFT; int g = gdTrueColorGetGreen (*ptr) >> C1_SHIFT; int b = gdTrueColorGetBlue (*ptr) >> C2_SHIFT; /* 2.0.12: Steven Brown: support a single totally transparent color in the original. */ if ((oim->transparent >= 0) && (*ptr == oim->transparent)) { ptr++; continue; } /* get pixel value and index into the histogram */ histp = &histogram[r][g][b]; /* increment, check for overflow and undo increment if so. */ if (++(*histp) == 0) (*histp)--; ptr++; } } } /* * Next we have the really interesting routines: selection of a colormap * given the completed histogram. * These routines work with a list of "boxes", each representing a rectangular * subset of the input color space (to histogram precision). */ typedef struct { /* The bounds of the box (inclusive); expressed as histogram indexes */ int c0min, c0max; int c1min, c1max; int c2min, c2max; /* The volume (actually 2-norm) of the box */ INT32 volume; /* The number of nonzero histogram cells within this box */ long colorcount; } box; typedef box *boxptr; LOCAL (boxptr) find_biggest_color_pop (boxptr boxlist, int numboxes) /* Find the splittable box with the largest color population */ /* Returns NULL if no splittable boxes remain */ { register boxptr boxp; register int i; register long maxc = 0; boxptr which = NULL; for (i = 0, boxp = boxlist; i < numboxes; i++, boxp++) { if (boxp->colorcount > maxc && boxp->volume > 0) { which = boxp; maxc = boxp->colorcount; } } return which; } LOCAL (boxptr) find_biggest_volume (boxptr boxlist, int numboxes) /* Find the splittable box with the largest (scaled) volume */ /* Returns NULL if no splittable boxes remain */ { register boxptr boxp; register int i; register INT32 maxv = 0; boxptr which = NULL; for (i = 0, boxp = boxlist; i < numboxes; i++, boxp++) { if (boxp->volume > maxv) { which = boxp; maxv = boxp->volume; } } return which; } LOCAL (void) update_box (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, boxptr boxp) { hist3d histogram = cquantize->histogram; histptr histp; int c0, c1, c2; int c0min, c0max, c1min, c1max, c2min, c2max; INT32 dist0, dist1, dist2; long ccount; (void)oim; (void)nim; c0min = boxp->c0min; c0max = boxp->c0max; c1min = boxp->c1min; c1max = boxp->c1max; c2min = boxp->c2min; c2max = boxp->c2max; if (c0max > c0min) for (c0 = c0min; c0 <= c0max; c0++) for (c1 = c1min; c1 <= c1max; c1++) { histp = &histogram[c0][c1][c2min]; for (c2 = c2min; c2 <= c2max; c2++) if (*histp++ != 0) { boxp->c0min = c0min = c0; goto have_c0min; } } have_c0min: if (c0max > c0min) for (c0 = c0max; c0 >= c0min; c0--) for (c1 = c1min; c1 <= c1max; c1++) { histp = &histogram[c0][c1][c2min]; for (c2 = c2min; c2 <= c2max; c2++) if (*histp++ != 0) { boxp->c0max = c0max = c0; goto have_c0max; } } have_c0max: if (c1max > c1min) for (c1 = c1min; c1 <= c1max; c1++) for (c0 = c0min; c0 <= c0max; c0++) { histp = &histogram[c0][c1][c2min]; for (c2 = c2min; c2 <= c2max; c2++) if (*histp++ != 0) { boxp->c1min = c1min = c1; goto have_c1min; } } have_c1min: if (c1max > c1min) for (c1 = c1max; c1 >= c1min; c1--) for (c0 = c0min; c0 <= c0max; c0++) { histp = &histogram[c0][c1][c2min]; for (c2 = c2min; c2 <= c2max; c2++) if (*histp++ != 0) { boxp->c1max = c1max = c1; goto have_c1max; } } have_c1max: if (c2max > c2min) for (c2 = c2min; c2 <= c2max; c2++) for (c0 = c0min; c0 <= c0max; c0++) { histp = &histogram[c0][c1min][c2]; for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS) if (*histp != 0) { boxp->c2min = c2min = c2; goto have_c2min; } } have_c2min: if (c2max > c2min) for (c2 = c2max; c2 >= c2min; c2--) for (c0 = c0min; c0 <= c0max; c0++) { histp = &histogram[c0][c1min][c2]; for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS) if (*histp != 0) { boxp->c2max = c2max = c2; goto have_c2max; } } have_c2max: /* Update box volume. * We use 2-norm rather than real volume here; this biases the method * against making long narrow boxes, and it has the side benefit that * a box is splittable iff norm > 0. * Since the differences are expressed in histogram-cell units, * we have to shift back to JSAMPLE units to get consistent distances; * after which, we scale according to the selected distance scale factors. */ dist0 = ((c0max - c0min) << C0_SHIFT) * C0_SCALE; dist1 = ((c1max - c1min) << C1_SHIFT) * C1_SCALE; dist2 = ((c2max - c2min) << C2_SHIFT) * C2_SCALE; boxp->volume = dist0 * dist0 + dist1 * dist1 + dist2 * dist2; /* Now scan remaining volume of box and compute population */ ccount = 0; for (c0 = c0min; c0 <= c0max; c0++) for (c1 = c1min; c1 <= c1max; c1++) { histp = &histogram[c0][c1][c2min]; for (c2 = c2min; c2 <= c2max; c2++, histp++) if (*histp != 0) { ccount++; } } boxp->colorcount = ccount; } LOCAL (int) median_cut (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, boxptr boxlist, int numboxes, int desired_colors) /* Repeatedly select and split the largest box until we have enough boxes */ { int n, lb; int c0, c1, c2, cmax; register boxptr b1, b2; while (numboxes < desired_colors) { /* Select box to split. * Current algorithm: by population for first half, then by volume. */ if (numboxes * 2 <= desired_colors) { b1 = find_biggest_color_pop (boxlist, numboxes); } else { b1 = find_biggest_volume (boxlist, numboxes); } if (b1 == NULL) /* no splittable boxes left! */ break; b2 = &boxlist[numboxes]; /* where new box will go */ /* Copy the color bounds to the new box. */ b2->c0max = b1->c0max; b2->c1max = b1->c1max; b2->c2max = b1->c2max; b2->c0min = b1->c0min; b2->c1min = b1->c1min; b2->c2min = b1->c2min; /* Choose which axis to split the box on. * Current algorithm: longest scaled axis. * See notes in update_box about scaling distances. */ c0 = ((b1->c0max - b1->c0min) << C0_SHIFT) * C0_SCALE; c1 = ((b1->c1max - b1->c1min) << C1_SHIFT) * C1_SCALE; c2 = ((b1->c2max - b1->c2min) << C2_SHIFT) * C2_SCALE; /* We want to break any ties in favor of green, then red, blue last. * This code does the right thing for R,G,B or B,G,R color orders only. */ #if RGB_RED == 0 cmax = c1; n = 1; if (c0 > cmax) { cmax = c0; n = 0; } if (c2 > cmax) { n = 2; } #else cmax = c1; n = 1; if (c2 > cmax) { cmax = c2; n = 2; } if (c0 > cmax) { n = 0; } #endif /* Choose split point along selected axis, and update box bounds. * Current algorithm: split at halfway point. * (Since the box has been shrunk to minimum volume, * any split will produce two nonempty subboxes.) * Note that lb value is max for lower box, so must be < old max. */ switch (n) { case 0: lb = (b1->c0max + b1->c0min) / 2; b1->c0max = lb; b2->c0min = lb + 1; break; case 1: lb = (b1->c1max + b1->c1min) / 2; b1->c1max = lb; b2->c1min = lb + 1; break; case 2: lb = (b1->c2max + b1->c2min) / 2; b1->c2max = lb; b2->c2min = lb + 1; break; } /* Update stats for boxes */ update_box (oim, nim, cquantize, b1); update_box (oim, nim, cquantize, b2); numboxes++; } return numboxes; } LOCAL (void) compute_color (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, boxptr boxp, int icolor) { hist3d histogram = cquantize->histogram; histptr histp; int c0, c1, c2; int c0min, c0max, c1min, c1max, c2min, c2max; long count = 0; /* 2.0.28: = 0 */ long total = 0; long c0total = 0; long c1total = 0; long c2total = 0; (void)oim; c0min = boxp->c0min; c0max = boxp->c0max; c1min = boxp->c1min; c1max = boxp->c1max; c2min = boxp->c2min; c2max = boxp->c2max; for (c0 = c0min; c0 <= c0max; c0++) for (c1 = c1min; c1 <= c1max; c1++) { histp = &histogram[c0][c1][c2min]; for (c2 = c2min; c2 <= c2max; c2++) { if ((count = *histp++) != 0) { total += count; c0total += ((c0 << C0_SHIFT) + ((1 << C0_SHIFT) >> 1)) * count; c1total += ((c1 << C1_SHIFT) + ((1 << C1_SHIFT) >> 1)) * count; c2total += ((c2 << C2_SHIFT) + ((1 << C2_SHIFT) >> 1)) * count; } } } /* 2.0.16: Paul den Dulk found an occasion where total can be 0 */ if (total) { nim->red[icolor] = (int) ((c0total + (total >> 1)) / total); nim->green[icolor] = (int) ((c1total + (total >> 1)) / total); nim->blue[icolor] = (int) ((c2total + (total >> 1)) / total); } else { nim->red[icolor] = 255; nim->green[icolor] = 255; nim->blue[icolor] = 255; } nim->open[icolor] = 0; } LOCAL (void) select_colors (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, int desired_colors) /* Master routine for color selection */ { boxptr boxlist; int numboxes; int i; /* Allocate workspace for box list */ /* This can't happen because we clamp desired_colors at gdMaxColors, but anyway */ if (overflow2(desired_colors, sizeof (box))) { return; } boxlist = (boxptr) gdMalloc (desired_colors * sizeof (box)); if (!boxlist) { return; } /* Initialize one box containing whole space */ numboxes = 1; boxlist[0].c0min = 0; boxlist[0].c0max = MAXJSAMPLE >> C0_SHIFT; boxlist[0].c1min = 0; boxlist[0].c1max = MAXJSAMPLE >> C1_SHIFT; boxlist[0].c2min = 0; boxlist[0].c2max = MAXJSAMPLE >> C2_SHIFT; /* Shrink it to actually-used volume and set its statistics */ update_box (oim, nim, cquantize, &boxlist[0]); /* Perform median-cut to produce final box list */ numboxes = median_cut (oim, nim, cquantize, boxlist, numboxes, desired_colors); /* Compute the representative color for each box, fill colormap */ for (i = 0; i < numboxes; i++) compute_color (oim, nim, cquantize, &boxlist[i], i); nim->colorsTotal = numboxes; /* If we had a pure transparency color, add it as the last palette entry. * Skip incrementing the color count so that the dither / matching phase * won't use it on pixels that shouldn't have been transparent. We'll * increment it after all that finishes. */ if (oim->transparent >= 0) { /* Save the transparent color. */ nim->red[nim->colorsTotal] = gdTrueColorGetRed (oim->transparent); nim->green[nim->colorsTotal] = gdTrueColorGetGreen (oim->transparent); nim->blue[nim->colorsTotal] = gdTrueColorGetBlue (oim->transparent); nim->alpha[nim->colorsTotal] = gdAlphaTransparent; nim->open[nim->colorsTotal] = 0; } gdFree (boxlist); } /* * These routines are concerned with the time-critical task of mapping input * colors to the nearest color in the selected colormap. * * We re-use the histogram space as an "inverse color map", essentially a * cache for the results of nearest-color searches. All colors within a * histogram cell will be mapped to the same colormap entry, namely the one * closest to the cell's center. This may not be quite the closest entry to * the actual input color, but it's almost as good. A zero in the cache * indicates we haven't found the nearest color for that cell yet; the array * is cleared to zeroes before starting the mapping pass. When we find the * nearest color for a cell, its colormap index plus one is recorded in the * cache for future use. The pass2 scanning routines call fill_inverse_cmap * when they need to use an unfilled entry in the cache. * * Our method of efficiently finding nearest colors is based on the "locally * sorted search" idea described by Heckbert and on the incremental distance * calculation described by Spencer W. Thomas in chapter III.1 of Graphics * Gems II (James Arvo, ed. Academic Press, 1991). Thomas points out that * the distances from a given colormap entry to each cell of the histogram can * be computed quickly using an incremental method: the differences between * distances to adjacent cells themselves differ by a constant. This allows a * fairly fast implementation of the "brute force" approach of computing the * distance from every colormap entry to every histogram cell. Unfortunately, * it needs a work array to hold the best-distance-so-far for each histogram * cell (because the inner loop has to be over cells, not colormap entries). * The work array elements have to be INT32s, so the work array would need * 256Kb at our recommended precision. This is not feasible in DOS machines. * * To get around these problems, we apply Thomas' method to compute the * nearest colors for only the cells within a small subbox of the histogram. * The work array need be only as big as the subbox, so the memory usage * problem is solved. Furthermore, we need not fill subboxes that are never * referenced in pass2; many images use only part of the color gamut, so a * fair amount of work is saved. An additional advantage of this * approach is that we can apply Heckbert's locality criterion to quickly * eliminate colormap entries that are far away from the subbox; typically * three-fourths of the colormap entries are rejected by Heckbert's criterion, * and we need not compute their distances to individual cells in the subbox. * The speed of this approach is heavily influenced by the subbox size: too * small means too much overhead, too big loses because Heckbert's criterion * can't eliminate as many colormap entries. Empirically the best subbox * size seems to be about 1/512th of the histogram (1/8th in each direction). * * Thomas' article also describes a refined method which is asymptotically * faster than the brute-force method, but it is also far more complex and * cannot efficiently be applied to small subboxes. It is therefore not * useful for programs intended to be portable to DOS machines. On machines * with plenty of memory, filling the whole histogram in one shot with Thomas' * refined method might be faster than the present code --- but then again, * it might not be any faster, and it's certainly more complicated. */ /* log2(histogram cells in update box) for each axis; this can be adjusted */ #define BOX_C0_LOG (HIST_C0_BITS-3) #define BOX_C1_LOG (HIST_C1_BITS-3) #define BOX_C2_LOG (HIST_C2_BITS-3) #define BOX_C0_ELEMS (1<colorsTotal; int maxc0, maxc1, maxc2; int centerc0, centerc1, centerc2; int i, x, ncolors; INT32 minmaxdist, min_dist, max_dist, tdist; INT32 mindist[MAXNUMCOLORS]; /* min distance to colormap entry i */ (void)oim; (void)cquantize; /* Compute true coordinates of update box's upper corner and center. * Actually we compute the coordinates of the center of the upper-corner * histogram cell, which are the upper bounds of the volume we care about. * Note that since ">>" rounds down, the "center" values may be closer to * min than to max; hence comparisons to them must be "<=", not "<". */ maxc0 = minc0 + ((1 << BOX_C0_SHIFT) - (1 << C0_SHIFT)); centerc0 = (minc0 + maxc0) >> 1; maxc1 = minc1 + ((1 << BOX_C1_SHIFT) - (1 << C1_SHIFT)); centerc1 = (minc1 + maxc1) >> 1; maxc2 = minc2 + ((1 << BOX_C2_SHIFT) - (1 << C2_SHIFT)); centerc2 = (minc2 + maxc2) >> 1; /* For each color in colormap, find: * 1. its minimum squared-distance to any point in the update box * (zero if color is within update box); * 2. its maximum squared-distance to any point in the update box. * Both of these can be found by considering only the corners of the box. * We save the minimum distance for each color in mindist[]; * only the smallest maximum distance is of interest. */ minmaxdist = 0x7FFFFFFFL; for (i = 0; i < numcolors; i++) { /* We compute the squared-c0-distance term, then add in the other two. */ x = nim->red[i]; if (x < minc0) { tdist = (x - minc0) * C0_SCALE; min_dist = tdist * tdist; tdist = (x - maxc0) * C0_SCALE; max_dist = tdist * tdist; } else if (x > maxc0) { tdist = (x - maxc0) * C0_SCALE; min_dist = tdist * tdist; tdist = (x - minc0) * C0_SCALE; max_dist = tdist * tdist; } else { /* within cell range so no contribution to min_dist */ min_dist = 0; if (x <= centerc0) { tdist = (x - maxc0) * C0_SCALE; max_dist = tdist * tdist; } else { tdist = (x - minc0) * C0_SCALE; max_dist = tdist * tdist; } } x = nim->green[i]; if (x < minc1) { tdist = (x - minc1) * C1_SCALE; min_dist += tdist * tdist; tdist = (x - maxc1) * C1_SCALE; max_dist += tdist * tdist; } else if (x > maxc1) { tdist = (x - maxc1) * C1_SCALE; min_dist += tdist * tdist; tdist = (x - minc1) * C1_SCALE; max_dist += tdist * tdist; } else { /* within cell range so no contribution to min_dist */ if (x <= centerc1) { tdist = (x - maxc1) * C1_SCALE; max_dist += tdist * tdist; } else { tdist = (x - minc1) * C1_SCALE; max_dist += tdist * tdist; } } x = nim->blue[i]; if (x < minc2) { tdist = (x - minc2) * C2_SCALE; min_dist += tdist * tdist; tdist = (x - maxc2) * C2_SCALE; max_dist += tdist * tdist; } else if (x > maxc2) { tdist = (x - maxc2) * C2_SCALE; min_dist += tdist * tdist; tdist = (x - minc2) * C2_SCALE; max_dist += tdist * tdist; } else { /* within cell range so no contribution to min_dist */ if (x <= centerc2) { tdist = (x - maxc2) * C2_SCALE; max_dist += tdist * tdist; } else { tdist = (x - minc2) * C2_SCALE; max_dist += tdist * tdist; } } mindist[i] = min_dist; /* save away the results */ if (max_dist < minmaxdist) minmaxdist = max_dist; } /* Now we know that no cell in the update box is more than minmaxdist * away from some colormap entry. Therefore, only colors that are * within minmaxdist of some part of the box need be considered. */ ncolors = 0; for (i = 0; i < numcolors; i++) { if (mindist[i] <= minmaxdist) colorlist[ncolors++] = (JSAMPLE) i; } return ncolors; } LOCAL (void) find_best_colors ( gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, int minc0, int minc1, int minc2, int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[]) /* Find the closest colormap entry for each cell in the update box, * given the list of candidate colors prepared by find_nearby_colors. * Return the indexes of the closest entries in the bestcolor[] array. * This routine uses Thomas' incremental distance calculation method to * find the distance from a colormap entry to successive cells in the box. */ { int ic0, ic1, ic2; int i, icolor; register INT32 *bptr; /* pointer into bestdist[] array */ JSAMPLE *cptr; /* pointer into bestcolor[] array */ INT32 dist0, dist1; /* initial distance values */ register INT32 dist2; /* current distance in inner loop */ INT32 xx0, xx1; /* distance increments */ register INT32 xx2; INT32 inc0, inc1, inc2; /* initial values for increments */ /* This array holds the distance to the nearest-so-far color for each cell */ INT32 bestdist[BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS]; (void)oim; (void)cquantize; /* Initialize best-distance for each cell of the update box */ bptr = bestdist; for (i = BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS - 1; i >= 0; i--) *bptr++ = 0x7FFFFFFFL; /* For each color selected by find_nearby_colors, * compute its distance to the center of each cell in the box. * If that's less than best-so-far, update best distance and color number. */ /* Nominal steps between cell centers ("x" in Thomas article) */ #define STEP_C0 ((1 << C0_SHIFT) * C0_SCALE) #define STEP_C1 ((1 << C1_SHIFT) * C1_SCALE) #define STEP_C2 ((1 << C2_SHIFT) * C2_SCALE) for (i = 0; i < numcolors; i++) { int r, g, b; icolor = colorlist[i]; r = nim->red[icolor]; g = nim->green[icolor]; b = nim->blue[icolor]; /* Compute (square of) distance from minc0/c1/c2 to this color */ inc0 = (minc0 - r) * C0_SCALE; dist0 = inc0 * inc0; inc1 = (minc1 - g) * C1_SCALE; dist0 += inc1 * inc1; inc2 = (minc2 - b) * C2_SCALE; dist0 += inc2 * inc2; /* Form the initial difference increments */ inc0 = inc0 * (2 * STEP_C0) + STEP_C0 * STEP_C0; inc1 = inc1 * (2 * STEP_C1) + STEP_C1 * STEP_C1; inc2 = inc2 * (2 * STEP_C2) + STEP_C2 * STEP_C2; /* Now loop over all cells in box, updating distance per Thomas method */ bptr = bestdist; cptr = bestcolor; xx0 = inc0; for (ic0 = BOX_C0_ELEMS - 1; ic0 >= 0; ic0--) { dist1 = dist0; xx1 = inc1; for (ic1 = BOX_C1_ELEMS - 1; ic1 >= 0; ic1--) { dist2 = dist1; xx2 = inc2; for (ic2 = BOX_C2_ELEMS - 1; ic2 >= 0; ic2--) { if (dist2 < *bptr) { *bptr = dist2; *cptr = (JSAMPLE) icolor; } dist2 += xx2; xx2 += 2 * STEP_C2 * STEP_C2; bptr++; cptr++; } dist1 += xx1; xx1 += 2 * STEP_C1 * STEP_C1; } dist0 += xx0; xx0 += 2 * STEP_C0 * STEP_C0; } } } LOCAL (void) fill_inverse_cmap ( gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize, int c0, int c1, int c2) /* Fill the inverse-colormap entries in the update box that contains */ /* histogram cell c0/c1/c2. (Only that one cell MUST be filled, but */ /* we can fill as many others as we wish.) */ { hist3d histogram = cquantize->histogram; int minc0, minc1, minc2; /* lower left corner of update box */ int ic0, ic1, ic2; register JSAMPLE *cptr; /* pointer into bestcolor[] array */ register histptr cachep; /* pointer into main cache array */ /* This array lists the candidate colormap indexes. */ JSAMPLE colorlist[MAXNUMCOLORS]; int numcolors; /* number of candidate colors */ /* This array holds the actually closest colormap index for each cell. */ JSAMPLE bestcolor[BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS]; /* Convert cell coordinates to update box ID */ c0 >>= BOX_C0_LOG; c1 >>= BOX_C1_LOG; c2 >>= BOX_C2_LOG; /* Compute true coordinates of update box's origin corner. * Actually we compute the coordinates of the center of the corner * histogram cell, which are the lower bounds of the volume we care about. */ minc0 = (c0 << BOX_C0_SHIFT) + ((1 << C0_SHIFT) >> 1); minc1 = (c1 << BOX_C1_SHIFT) + ((1 << C1_SHIFT) >> 1); minc2 = (c2 << BOX_C2_SHIFT) + ((1 << C2_SHIFT) >> 1); /* Determine which colormap entries are close enough to be candidates * for the nearest entry to some cell in the update box. */ numcolors = find_nearby_colors (oim, nim, cquantize, minc0, minc1, minc2, colorlist); find_best_colors (oim, nim, cquantize, minc0, minc1, minc2, numcolors, colorlist, bestcolor); /* Save the best color numbers (plus 1) in the main cache array */ c0 <<= BOX_C0_LOG; /* convert ID back to base cell indexes */ c1 <<= BOX_C1_LOG; c2 <<= BOX_C2_LOG; cptr = bestcolor; for (ic0 = 0; ic0 < BOX_C0_ELEMS; ic0++) { for (ic1 = 0; ic1 < BOX_C1_ELEMS; ic1++) { cachep = &histogram[c0 + ic0][c1 + ic1][c2]; for (ic2 = 0; ic2 < BOX_C2_ELEMS; ic2++) { *cachep++ = (histcell) ((*cptr++) + 1); } } } } /* * Map some rows of pixels to the output colormapped representation. */ METHODDEF (void) pass2_no_dither (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize) { register int *inptr; register unsigned char *outptr; int width = oim->sx; int num_rows = oim->sy; hist3d histogram = cquantize->histogram; register int c0, c1, c2; int row; JDIMENSION col; register histptr cachep; for (row = 0; row < num_rows; row++) { inptr = input_buf[row]; outptr = output_buf[row]; for (col = width; col > 0; col--) { /* get pixel value and index into the cache */ int r, g, b; r = gdTrueColorGetRed (*inptr); g = gdTrueColorGetGreen (*inptr); /* 2.0.24: inptr must not be incremented until after transparency check, if any. Thanks to "Super Pikeman." */ b = gdTrueColorGetBlue (*inptr); /* If the pixel is transparent, we assign it the palette index that * will later be added at the end of the palette as the transparent * index. */ if ((oim->transparent >= 0) && (oim->transparent == *inptr)) { *outptr++ = nim->colorsTotal; inptr++; continue; } inptr++; c0 = r >> C0_SHIFT; c1 = g >> C1_SHIFT; c2 = b >> C2_SHIFT; cachep = &histogram[c0][c1][c2]; /* If we have not seen this color before, find nearest colormap entry */ /* and update the cache */ if (*cachep == 0) fill_inverse_cmap (oim, nim, cquantize, c0, c1, c2); /* Now emit the colormap index for this cell */ *outptr++ = (*cachep - 1); } } } METHODDEF (void) pass2_fs_dither (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize) { hist3d histogram = cquantize->histogram; register LOCFSERROR cur0, cur1, cur2; /* current error or pixel value */ LOCFSERROR belowerr0, belowerr1, belowerr2; /* error for pixel below cur */ LOCFSERROR bpreverr0, bpreverr1, bpreverr2; /* error for below/prev col */ register FSERRPTR errorptr; /* => fserrors[] at column before current */ histptr cachep; int dir; /* +1 or -1 depending on direction */ int dir3; /* 3*dir, for advancing inptr & errorptr */ int row; JDIMENSION col; int *inptr; /* => current input pixel */ unsigned char *outptr; /* => current output pixel */ int width = oim->sx; int num_rows = oim->sy; int *colormap0 = nim->red; int *colormap1 = nim->green; int *colormap2 = nim->blue; int *error_limit = cquantize->error_limiter; SHIFT_TEMPS for (row = 0; row < num_rows; row++) { inptr = input_buf[row]; outptr = output_buf[row]; if (cquantize->on_odd_row) { /* work right to left in this row */ inptr += (width - 1) * 3; /* so point to rightmost pixel */ outptr += width - 1; dir = -1; dir3 = -3; errorptr = cquantize->fserrors + (width + 1) * 3; /* => entry after last column */ } else { /* work left to right in this row */ dir = 1; dir3 = 3; errorptr = cquantize->fserrors; /* => entry before first real column */ } /* Preset error values: no error propagated to first pixel from left */ cur0 = cur1 = cur2 = 0; /* and no error propagated to row below yet */ belowerr0 = belowerr1 = belowerr2 = 0; bpreverr0 = bpreverr1 = bpreverr2 = 0; for (col = width; col > 0; col--) { /* If this pixel is transparent, we want to assign it to the special * transparency color index past the end of the palette rather than * go through matching / dithering. */ if ((oim->transparent >= 0) && (*inptr == oim->transparent)) { *outptr = nim->colorsTotal; errorptr[0] = 0; errorptr[1] = 0; errorptr[2] = 0; errorptr[3] = 0; inptr += dir; outptr += dir; errorptr += dir3; continue; } /* curN holds the error propagated from the previous pixel on the * current line. Add the error propagated from the previous line * to form the complete error correction term for this pixel, and * round the error term (which is expressed * 16) to an integer. * RIGHT_SHIFT rounds towards minus infinity, so adding 8 is correct * for either sign of the error value. * Note: errorptr points to *previous* column's array entry. */ cur0 = RIGHT_SHIFT (cur0 + errorptr[dir3 + 0] + 8, 4); cur1 = RIGHT_SHIFT (cur1 + errorptr[dir3 + 1] + 8, 4); cur2 = RIGHT_SHIFT (cur2 + errorptr[dir3 + 2] + 8, 4); /* Limit the error using transfer function set by init_error_limit. * See comments with init_error_limit for rationale. */ cur0 = error_limit[cur0]; cur1 = error_limit[cur1]; cur2 = error_limit[cur2]; /* Form pixel value + error, and range-limit to 0..MAXJSAMPLE. * The maximum error is +- MAXJSAMPLE (or less with error limiting); * this sets the required size of the range_limit array. */ cur0 += gdTrueColorGetRed (*inptr); cur1 += gdTrueColorGetGreen (*inptr); cur2 += gdTrueColorGetBlue (*inptr); range_limit (cur0); range_limit (cur1); range_limit (cur2); /* Index into the cache with adjusted pixel value */ cachep = &histogram[cur0 >> C0_SHIFT][cur1 >> C1_SHIFT][cur2 >> C2_SHIFT]; /* If we have not seen this color before, find nearest colormap */ /* entry and update the cache */ if (*cachep == 0) fill_inverse_cmap (oim, nim, cquantize, cur0 >> C0_SHIFT, cur1 >> C1_SHIFT, cur2 >> C2_SHIFT); /* Now emit the colormap index for this cell */ { register int pixcode = *cachep - 1; *outptr = (JSAMPLE) pixcode; /* Compute representation error for this pixel */ #define GETJSAMPLE cur0 -= GETJSAMPLE (colormap0[pixcode]); cur1 -= GETJSAMPLE (colormap1[pixcode]); cur2 -= GETJSAMPLE (colormap2[pixcode]); #undef GETJSAMPLE } /* Compute error fractions to be propagated to adjacent pixels. * Add these into the running sums, and simultaneously shift the * next-line error sums left by 1 column. */ { register LOCFSERROR bnexterr, delta; bnexterr = cur0; /* Process component 0 */ delta = cur0 * 2; cur0 += delta; /* form error * 3 */ errorptr[0] = (FSERROR) (bpreverr0 + cur0); cur0 += delta; /* form error * 5 */ bpreverr0 = belowerr0 + cur0; belowerr0 = bnexterr; cur0 += delta; /* form error * 7 */ bnexterr = cur1; /* Process component 1 */ delta = cur1 * 2; cur1 += delta; /* form error * 3 */ errorptr[1] = (FSERROR) (bpreverr1 + cur1); cur1 += delta; /* form error * 5 */ bpreverr1 = belowerr1 + cur1; belowerr1 = bnexterr; cur1 += delta; /* form error * 7 */ bnexterr = cur2; /* Process component 2 */ delta = cur2 * 2; cur2 += delta; /* form error * 3 */ errorptr[2] = (FSERROR) (bpreverr2 + cur2); cur2 += delta; /* form error * 5 */ bpreverr2 = belowerr2 + cur2; belowerr2 = bnexterr; cur2 += delta; /* form error * 7 */ } /* At this point curN contains the 7/16 error value to be propagated * to the next pixel on the current line, and all the errors for the * next line have been shifted over. We are therefore ready to move on. */ inptr += dir; /* Advance pixel pointers to next column */ outptr += dir; errorptr += dir3; /* advance errorptr to current column */ } /* Post-loop cleanup: we must unload the final error values into the * final fserrors[] entry. Note we need not unload belowerrN because * it is for the dummy column before or after the actual array. */ errorptr[0] = (FSERROR) bpreverr0; /* unload prev errs into array */ errorptr[1] = (FSERROR) bpreverr1; errorptr[2] = (FSERROR) bpreverr2; } } /* * Initialize the error-limiting transfer function (lookup table). * The raw F-S error computation can potentially compute error values of up to * +- MAXJSAMPLE. But we want the maximum correction applied to a pixel to be * much less, otherwise obviously wrong pixels will be created. (Typical * effects include weird fringes at color-area boundaries, isolated bright * pixels in a dark area, etc.) The standard advice for avoiding this problem * is to ensure that the "corners" of the color cube are allocated as output * colors; then repeated errors in the same direction cannot cause cascading * error buildup. However, that only prevents the error from getting * completely out of hand; Aaron Giles reports that error limiting improves * the results even with corner colors allocated. * A simple clamping of the error values to about +- MAXJSAMPLE/8 works pretty * well, but the smoother transfer function used below is even better. Thanks * to Aaron Giles for this idea. */ LOCAL (void) init_error_limit (gdImagePtr oim, gdImagePtr nim, my_cquantize_ptr cquantize) /* Allocate and fill in the error_limiter table */ { int *table; int in, out; (void)oim; (void)nim; cquantize->error_limiter_storage = (int *) gdMalloc ((MAXJSAMPLE * 2 + 1) * sizeof (int)); if (!cquantize->error_limiter_storage) { return; } table = cquantize->error_limiter_storage; table += MAXJSAMPLE; /* so can index -MAXJSAMPLE .. +MAXJSAMPLE */ cquantize->error_limiter = table; #define STEPSIZE ((MAXJSAMPLE+1)/16) /* Map errors 1:1 up to +- MAXJSAMPLE/16 */ out = 0; for (in = 0; in < STEPSIZE; in++, out++) { table[in] = out; table[-in] = -out; } /* Map errors 1:2 up to +- 3*MAXJSAMPLE/16 */ for (; in < STEPSIZE * 3; in++, out += (in & 1) ? 0 : 1) { table[in] = out; table[-in] = -out; } /* Clamp the rest to final out value (which is (MAXJSAMPLE+1)/8) */ for (; in <= MAXJSAMPLE; in++) { table[in] = out; table[-in] = -out; } #undef STEPSIZE } /* * Finish up at the end of each pass. */ static void zeroHistogram (hist3d histogram) { int i; /* Zero the histogram or inverse color map */ for (i = 0; i < HIST_C0_ELEMS; i++) { memset (histogram[i], 0, HIST_C1_ELEMS * HIST_C2_ELEMS * sizeof (histcell)); } } /** * Function: gdImageTrueColorToPaletteSetMethod * * Selects the quantization method * * That quantization method is used for all subsequent * and calls. * * Parameters: * im - The image. * method - The quantization method, see . * speed - The quantization speed between 1 (highest quality) and * 10 (fastest). 0 selects a method-specific default (recommended). * * Returns: * Zero if the given method is invalid or not available; non-zero otherwise. * * See also: * - */ BGD_DECLARE(int) gdImageTrueColorToPaletteSetMethod (gdImagePtr im, int method, int speed) { #ifndef HAVE_LIBIMAGEQUANT if (method == GD_QUANT_LIQ) { return FALSE; } #endif if (method >= GD_QUANT_DEFAULT && method <= GD_QUANT_LIQ) { im->paletteQuantizationMethod = method; if (speed < 0 || speed > 10) { speed = 0; } im->paletteQuantizationSpeed = speed; } return TRUE; } /** * Function: gdImageTrueColorToPaletteSetQuality * * Chooses a quality range for quantization * * That quality range is used in all subsequent calls to * and * if the quantization method is . * * Parameters: * im - The image. * min_quality - The minimum quality in range 1-100 (1 = ugly, 100 = perfect). * If the palette cannot represent the image with at least * min_quality, then no conversion is done. * max_quality - The maximum quality in range 1-100 (1 = ugly, 100 = perfect), * which must be higher than the min_quality. If the palette can * represent the image with a quality better than max_quality, * then fewer colors than requested will be used. */ BGD_DECLARE(void) gdImageTrueColorToPaletteSetQuality (gdImagePtr im, int min_quality, int max_quality) { if (min_quality >= 0 && min_quality <= 100 && max_quality >= 0 && max_quality <= 100 && min_quality <= max_quality) { im->paletteQuantizationMinQuality = min_quality; im->paletteQuantizationMaxQuality = max_quality; } } static int gdImageTrueColorToPaletteBody (gdImagePtr oim, int dither, int colorsWanted, gdImagePtr *cimP); /** * Function: gdImageCreatePaletteFromTrueColor * * Creates a new palette image from a truecolor image * * Parameters: * im - The image. * dither - Whether dithering should be applied. * colorsWanted - The number of desired palette entries. * * Returns: * A newly create palette image; NULL on failure. * * See also: * - * - * - */ BGD_DECLARE(gdImagePtr) gdImageCreatePaletteFromTrueColor (gdImagePtr im, int dither, int colorsWanted) { gdImagePtr nim; if (TRUE == gdImageTrueColorToPaletteBody(im, dither, colorsWanted, &nim)) { return nim; } return NULL; } /** * Function: gdImageTrueColorToPalette * * Converts a truecolor image to a palette image * * Parameters: * im - The image. * dither - Whether dithering should be applied. * colorsWanted - The number of desired palette entries. * * Returns: * Non-zero if the conversion succeeded, zero otherwise. * * See also: * - * - * - */ BGD_DECLARE(int) gdImageTrueColorToPalette (gdImagePtr im, int dither, int colorsWanted) { return gdImageTrueColorToPaletteBody(im, dither, colorsWanted, 0); } #ifdef HAVE_LIBIMAGEQUANT /** LIQ library needs pixels in RGBA order with alpha 0-255 (opaque 255). This callback is run whenever source rows need to be converted from GD's format. */ static void convert_gdpixel_to_rgba(liq_color output_row[], int y, int width, void *userinfo) { gdImagePtr oim = userinfo; int x; for(x = 0; x < width; x++) { output_row[x].r = gdTrueColorGetRed(input_buf[y][x]) * 255/gdRedMax; output_row[x].g = gdTrueColorGetGreen(input_buf[y][x]) * 255/gdGreenMax; output_row[x].b = gdTrueColorGetBlue(input_buf[y][x]) * 255/gdBlueMax; int alpha = gdTrueColorGetAlpha(input_buf[y][x]); if (gdAlphaOpaque < gdAlphaTransparent) { alpha = gdAlphaTransparent - alpha; } output_row[x].a = alpha * 255/gdAlphaMax; } } #endif static void free_truecolor_image_data(gdImagePtr oim) { int i; oim->trueColor = 0; /* Junk the truecolor pixels */ for (i = 0; i < oim->sy; i++) { gdFree (oim->tpixels[i]); } gdFree (oim->tpixels); oim->tpixels = 0; } #ifdef HAVE_LIBIMAGEQUANT /* liq requires 16 byte aligned heap memory */ static void *malloc16(size_t size) { void *p; return posix_memalign(&p, 16, size) == 0 ? p : NULL; } #endif /* * Module initialization routine for 2-pass color quantization. */ static int gdImageTrueColorToPaletteBody (gdImagePtr oim, int dither, int colorsWanted, gdImagePtr *cimP) { my_cquantize_ptr cquantize = NULL; int i, conversionSucceeded=0; /* Allocate the JPEG palette-storage */ size_t arraysize; int maxColors = gdMaxColors; gdImagePtr nim; if (cimP) { nim = gdImageCreate(oim->sx, oim->sy); *cimP = nim; if (!nim) { return FALSE; } } else { nim = oim; } if (!oim->trueColor) { /* (Almost) nothing to do! */ if (cimP) { gdImageCopy(nim, oim, 0, 0, 0, 0, oim->sx, oim->sy); *cimP = nim; } return TRUE; } /* If we have a transparent color (the alphaless mode of transparency), we * must reserve a palette entry for it at the end of the palette. */ if (oim->transparent >= 0) { maxColors--; } if (colorsWanted > maxColors) { colorsWanted = maxColors; } if (!cimP) { nim->pixels = gdCalloc (sizeof (unsigned char *), oim->sy); if (!nim->pixels) { /* No can do */ goto outOfMemory; } for (i = 0; (i < nim->sy); i++) { nim->pixels[i] = (unsigned char *) gdCalloc (sizeof (unsigned char), oim->sx); if (!nim->pixels[i]) { goto outOfMemory; } } } if (oim->paletteQuantizationMethod == GD_QUANT_NEUQUANT) { if (cimP) { /* NeuQuant alwasy creates a copy, so the new blank image can't be used */ gdImageDestroy(nim); } nim = gdImageNeuQuant(oim, colorsWanted, oim->paletteQuantizationSpeed ? oim->paletteQuantizationSpeed : 2); if (cimP) { *cimP = nim; } if (!nim) { return FALSE; } else { free_truecolor_image_data(oim); gdImageCopy(oim, nim, 0, 0, 0, 0, oim->sx, oim->sy); gdImageDestroy(nim); } return TRUE; } #ifdef HAVE_LIBIMAGEQUANT if (oim->paletteQuantizationMethod == GD_QUANT_DEFAULT || oim->paletteQuantizationMethod == GD_QUANT_LIQ) { liq_attr *attr = liq_attr_create_with_allocator(malloc16, free); liq_image *image; liq_result *remap; int remapped_ok = 0; liq_set_max_colors(attr, colorsWanted); /* by default make it fast to match speed of previous implementation */ liq_set_speed(attr, oim->paletteQuantizationSpeed ? oim->paletteQuantizationSpeed : 9); if (oim->paletteQuantizationMaxQuality) { liq_set_quality(attr, oim->paletteQuantizationMinQuality, oim->paletteQuantizationMaxQuality); } image = liq_image_create_custom(attr, convert_gdpixel_to_rgba, oim, oim->sx, oim->sy, 0); remap = liq_quantize_image(attr, image); if (!remap) { /* minimum quality not met, leave image unmodified */ liq_image_destroy(image); liq_attr_destroy(attr); goto outOfMemory; } liq_set_dithering_level(remap, dither ? 1 : 0); if (LIQ_OK == liq_write_remapped_image_rows(remap, image, output_buf)) { remapped_ok = 1; const liq_palette *pal = liq_get_palette(remap); nim->transparent = -1; unsigned int icolor; for(icolor=0; icolor < pal->count; icolor++) { nim->open[icolor] = 0; nim->red[icolor] = pal->entries[icolor].r * gdRedMax/255; nim->green[icolor] = pal->entries[icolor].g * gdGreenMax/255; nim->blue[icolor] = pal->entries[icolor].b * gdBlueMax/255; int alpha = pal->entries[icolor].a * gdAlphaMax/255; if (gdAlphaOpaque < gdAlphaTransparent) { alpha = gdAlphaTransparent - alpha; } nim->alpha[icolor] = alpha; if (nim->transparent == -1 && alpha == gdAlphaTransparent) { nim->transparent = icolor; } } nim->colorsTotal = pal->count; } liq_result_destroy(remap); liq_image_destroy(image); liq_attr_destroy(attr); if (remapped_ok) { if (!cimP) { free_truecolor_image_data(oim); } return TRUE; } } #endif cquantize = (my_cquantize_ptr) gdCalloc (sizeof (my_cquantizer), 1); if (!cquantize) { /* No can do */ goto outOfMemory; } cquantize->fserrors = NULL; /* flag optional arrays not allocated */ cquantize->error_limiter = NULL; /* Allocate the histogram/inverse colormap storage */ cquantize->histogram = (hist3d) gdMalloc (HIST_C0_ELEMS * sizeof (hist2d)); for (i = 0; i < HIST_C0_ELEMS; i++) { cquantize->histogram[i] = (hist2d) gdMalloc (HIST_C1_ELEMS * HIST_C2_ELEMS * sizeof (histcell)); if (!cquantize->histogram[i]) { goto outOfMemory; } } cquantize->fserrors = (FSERRPTR) gdMalloc (3 * sizeof (FSERROR)); init_error_limit (oim, nim, cquantize); arraysize = (size_t) ((nim->sx + 2) * (3 * sizeof (FSERROR))); /* Allocate Floyd-Steinberg workspace. */ cquantize->fserrors = gdReallocEx(cquantize->fserrors, arraysize); if (!cquantize->fserrors) { goto outOfMemory; } memset(cquantize->fserrors, 0, arraysize); cquantize->on_odd_row = FALSE; /* Do the work! */ zeroHistogram (cquantize->histogram); prescan_quantize (oim, nim, cquantize); /* TBB 2.0.5: pass colorsWanted, not 256! */ select_colors (oim, nim, cquantize, colorsWanted); zeroHistogram (cquantize->histogram); if (dither) { pass2_fs_dither (oim, nim, cquantize); } else { pass2_no_dither (oim, nim, cquantize); } #if 0 /* 2.0.12; we no longer attempt full alpha in palettes */ if (cquantize->transparentIsPresent) { int mt = -1; int mtIndex = -1; for (i = 0; (i < im->colorsTotal); i++) { if (im->alpha[i] > mt) { mtIndex = i; mt = im->alpha[i]; } } for (i = 0; (i < im->colorsTotal); i++) { if (im->alpha[i] == mt) { im->alpha[i] = gdAlphaTransparent; } } } if (cquantize->opaqueIsPresent) { int mo = 128; int moIndex = -1; for (i = 0; (i < im->colorsTotal); i++) { if (im->alpha[i] < mo) { moIndex = i; mo = im->alpha[i]; } } for (i = 0; (i < im->colorsTotal); i++) { if (im->alpha[i] == mo) { im->alpha[i] = gdAlphaOpaque; } } } #endif /* If we had a 'transparent' color, increment the color count so it's * officially in the palette and convert the transparent variable to point to * an index rather than a color (Its data already exists and transparent * pixels have already been mapped to it by this point, it is done late as to * avoid color matching / dithering with it). */ if (oim->transparent >= 0) { nim->transparent = nim->colorsTotal; nim->colorsTotal++; } /* Success! Get rid of the truecolor image data. */ conversionSucceeded = TRUE; if (!cimP) { free_truecolor_image_data(oim); } goto freeQuantizeData; /* Tediously free stuff. */ outOfMemory: conversionSucceeded = FALSE; if (oim->trueColor) { if (!cimP) { /* On failure only */ if (nim->pixels) { for (i = 0; i < nim->sy; i++) { if (nim->pixels[i]) { gdFree (nim->pixels[i]); } } gdFree (nim->pixels); } nim->pixels = NULL; } else { gdImageDestroy(nim); *cimP = 0; } } freeQuantizeData: if (cquantize) { if (cquantize->histogram) { for (i = 0; i < HIST_C0_ELEMS; i++) { if (cquantize->histogram[i]) { gdFree (cquantize->histogram[i]); } } gdFree (cquantize->histogram); } if (cquantize->fserrors) { gdFree (cquantize->fserrors); } if (cquantize->error_limiter_storage) { gdFree (cquantize->error_limiter_storage); } gdFree (cquantize); } return conversionSucceeded; } #endif libgd-2.3.0/src/gdfontt.c0000664000175000017500000011205313635665516012142 00000000000000/* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-2 at Thu Jan 8 13:49:54 1998. The original bdf was holding following copyright: "Libor Skarvada, libor@informatics.muni.cz" */ /** * File: Tiny Font * * A very small ISO-8859-2 raster font (5x8 pixels). * * The font is supposed to be used with and * and their variants. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gdfontt.h" char gdFontTinyData[] = { /*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 254 */ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, /* Char 255 */ 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; gdFont gdFontTinyRep = { 256, 0, 5, 8, gdFontTinyData }; BGD_EXPORT_DATA_PROT gdFontPtr gdFontTiny = &gdFontTinyRep; /** * Function: gdFontGetTiny * * Returns the built-in tiny font. */ BGD_DECLARE(gdFontPtr) gdFontGetTiny (void) { return gdFontTiny; } /* This file has not been truncated. */ libgd-2.3.0/src/fontsizetest.c0000664000175000017500000000400713635665516013235 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" void dosizes (gdImagePtr im, int color, char *fontfile, int x, int y, const char *string) { int brect[8]; double curang = 0.0; char *cp; int cursize; char buf[60]; for (cursize = 1; cursize <= 20; cursize++) { sprintf (buf, "%d: %s", cursize, string); /* The case of newlines is taken care of in the gdImageStringTTF call */ cp = gdImageStringFT (im, brect, color, fontfile, cursize, curang, x, y, buf); if (cp) fprintf(stderr, "%s\n", cp); y += cursize + 4; /* render the same fontsize with antialiasing turned off */ cp = gdImageStringFT (im, brect, 0 - color, fontfile, cursize, curang, x, y, buf); if (cp) fprintf(stderr, "%s\n", cp); y += cursize + 4; } } void dotest (char *font, int w, int h, char *string, const char *filename) { gdImagePtr im; FILE *out; int bg; int fc; im = gdImageCreate (w, h); bg = gdImageColorAllocate (im, 0, 0, 0); gdImageFilledRectangle (im, 1, 1, w - 1, h - 1, bg); fc = gdImageColorAllocate (im, 255, 192, 192); out = fopen (filename, "wb"); dosizes (im, fc, font, 20, 20, string); #if defined(HAVE_LIBPNG) gdImagePng (im, out); #elif defined(HAVE_LIBJPEG) gdImageJpeg (im, out, -1); #endif fclose (out); } int main(void) { #if defined(HAVE_LIBPNG) dotest ("times", 400, 600, ".....Hello, there!", "fontsizetest1.png"); dotest ("cour", 400, 600, ".....Hello, there!", "fontsizetest2.png"); dotest ("arial", 400, 600, ".....Hello, there!", "fontsizetest3.png"); dotest ("luximr", 400, 600, ".....Hello, there!", "fontsizetest4.png"); #elif defined(HAVE_LIBJPEG) dotest ("times", 400, 600, ".....Hello, there!", "fontsizetest1.jpeg"); dotest ("cour", 400, 600, ".....Hello, there!", "fontsizetest2.jpeg"); dotest ("arial", 400, 600, ".....Hello, there!", "fontsizetest3.jpeg"); dotest ("luximr", 400, 600, ".....Hello, there!", "fontsizetest4.jpeg"); #else fprintf(stderr, "no PNG or JPEG support\n"); #endif return 0; } libgd-2.3.0/src/gdtables.c0000664000175000017500000001125513635665516012264 00000000000000const int gdCosT[] = { 1024, 1023, 1023, 1022, 1021, 1020, 1018, 1016, 1014, 1011, 1008, 1005, 1001, 997, 993, 989, 984, 979, 973, 968, 962, 955, 949, 942, 935, 928, 920, 912, 904, 895, 886, 877, 868, 858, 848, 838, 828, 817, 806, 795, 784, 772, 760, 748, 736, 724, 711, 698, 685, 671, 658, 644, 630, 616, 601, 587, 572, 557, 542, 527, 512, 496, 480, 464, 448, 432, 416, 400, 383, 366, 350, 333, 316, 299, 282, 265, 247, 230, 212, 195, 177, 160, 142, 124, 107, 89, 71, 53, 35, 17, 0, -17, -35, -53, -71, -89, -107, -124, -142, -160, -177, -195, -212, -230, -247, -265, -282, -299, -316, -333, -350, -366, -383, -400, -416, -432, -448, -464, -480, -496, -512, -527, -542, -557, -572, -587, -601, -616, -630, -644, -658, -671, -685, -698, -711, -724, -736, -748, -760, -772, -784, -795, -806, -817, -828, -838, -848, -858, -868, -877, -886, -895, -904, -912, -920, -928, -935, -942, -949, -955, -962, -968, -973, -979, -984, -989, -993, -997, -1001, -1005, -1008, -1011, -1014, -1016, -1018, -1020, -1021, -1022, -1023, -1023, -1024, -1023, -1023, -1022, -1021, -1020, -1018, -1016, -1014, -1011, -1008, -1005, -1001, -997, -993, -989, -984, -979, -973, -968, -962, -955, -949, -942, -935, -928, -920, -912, -904, -895, -886, -877, -868, -858, -848, -838, -828, -817, -806, -795, -784, -772, -760, -748, -736, -724, -711, -698, -685, -671, -658, -644, -630, -616, -601, -587, -572, -557, -542, -527, -512, -496, -480, -464, -448, -432, -416, -400, -383, -366, -350, -333, -316, -299, -282, -265, -247, -230, -212, -195, -177, -160, -142, -124, -107, -89, -71, -53, -35, -17, 0, 17, 35, 53, 71, 89, 107, 124, 142, 160, 177, 195, 212, 230, 247, 265, 282, 299, 316, 333, 350, 366, 383, 400, 416, 432, 448, 464, 480, 496, 512, 527, 542, 557, 572, 587, 601, 616, 630, 644, 658, 671, 685, 698, 711, 724, 736, 748, 760, 772, 784, 795, 806, 817, 828, 838, 848, 858, 868, 877, 886, 895, 904, 912, 920, 928, 935, 942, 949, 955, 962, 968, 973, 979, 984, 989, 993, 997, 1001, 1005, 1008, 1011, 1014, 1016, 1018, 1020, 1021, 1022, 1023, 1023 }; const int gdSinT[] = { 0, 17, 35, 53, 71, 89, 107, 124, 142, 160, 177, 195, 212, 230, 247, 265, 282, 299, 316, 333, 350, 366, 383, 400, 416, 432, 448, 464, 480, 496, 512, 527, 542, 557, 572, 587, 601, 616, 630, 644, 658, 671, 685, 698, 711, 724, 736, 748, 760, 772, 784, 795, 806, 817, 828, 838, 848, 858, 868, 877, 886, 895, 904, 912, 920, 928, 935, 942, 949, 955, 962, 968, 973, 979, 984, 989, 993, 997, 1001, 1005, 1008, 1011, 1014, 1016, 1018, 1020, 1021, 1022, 1023, 1023, 1024, 1023, 1023, 1022, 1021, 1020, 1018, 1016, 1014, 1011, 1008, 1005, 1001, 997, 993, 989, 984, 979, 973, 968, 962, 955, 949, 942, 935, 928, 920, 912, 904, 895, 886, 877, 868, 858, 848, 838, 828, 817, 806, 795, 784, 772, 760, 748, 736, 724, 711, 698, 685, 671, 658, 644, 630, 616, 601, 587, 572, 557, 542, 527, 512, 496, 480, 464, 448, 432, 416, 400, 383, 366, 350, 333, 316, 299, 282, 265, 247, 230, 212, 195, 177, 160, 142, 124, 107, 89, 71, 53, 35, 17, 0, -17, -35, -53, -71, -89, -107, -124, -142, -160, -177, -195, -212, -230, -247, -265, -282, -299, -316, -333, -350, -366, -383, -400, -416, -432, -448, -464, -480, -496, -512, -527, -542, -557, -572, -587, -601, -616, -630, -644, -658, -671, -685, -698, -711, -724, -736, -748, -760, -772, -784, -795, -806, -817, -828, -838, -848, -858, -868, -877, -886, -895, -904, -912, -920, -928, -935, -942, -949, -955, -962, -968, -973, -979, -984, -989, -993, -997, -1001, -1005, -1008, -1011, -1014, -1016, -1018, -1020, -1021, -1022, -1023, -1023, -1024, -1023, -1023, -1022, -1021, -1020, -1018, -1016, -1014, -1011, -1008, -1005, -1001, -997, -993, -989, -984, -979, -973, -968, -962, -955, -949, -942, -935, -928, -920, -912, -904, -895, -886, -877, -868, -858, -848, -838, -828, -817, -806, -795, -784, -772, -760, -748, -736, -724, -711, -698, -685, -671, -658, -644, -630, -616, -601, -587, -572, -557, -542, -527, -512, -496, -480, -464, -448, -432, -416, -400, -383, -366, -350, -333, -316, -299, -282, -265, -247, -230, -212, -195, -177, -160, -142, -124, -107, -89, -71, -53, -35, -17 }; libgd-2.3.0/src/gd_gd.c0000664000175000017500000002306713635665516011547 00000000000000/** * File: GD IO * * Read and write GD images. * * The GD image format is a proprietary image format of libgd. *It has to be* * *regarded as being obsolete, and should only be used for development and* * *testing purposes.* * * Structure of a GD image file: * - file header * - color header (either truecolor or palette) * - image data * * All numbers are stored in big-endian format. Note that all GD output is done * in the GD 2.x format (not to be confused with the GD2 format), but input may * also be in the GD 1.x format. * * GD 1.x file header structure: * width - 1 word * height - 1 word * * GD 1.x color header (palette only): * count - 1 byte (the number of used palette colors) * transparent - 1 word (257 signals no transparency) * palette - 256×3 bytes (RGB triplets) * * GD 2.x file header structure: * signature - 1 word ("\xFF\xFE" for truecolor, "\xFF\xFF" for palette) * width - 1 word * height - 1 word * * GD 2.x truecolor image color header: * truecolor - 1 byte (always "\001") * transparent - 1 dword (ARGB color); "\377\377\377\377" means that no * transparent color is set * * GD 2.x palette image color header: * truecolor - 1 byte (always "\0") * count - 1 word (the number of used palette colors) * transparent - 1 dword (palette index); "\377\377\377\377" means that no * transparent color is set * palette - 256 dwords (RGBA colors) * * Image data: * Sequential pixel data; row-major from top to bottom, left to right: * - 1 byte per pixel for palette images * - 1 dword (ARGB) per pixel for truecolor images */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "gd.h" #include "gd_errors.h" /* 2.3: gd is no longer mandatory */ #if ENABLE_GD_FORMATS #define TRUE 1 #define FALSE 0 /* Use this for commenting out debug-print statements. */ /* Just use the first '#define' to allow all the prints... */ /*#define GD2_DBG(s) (s) */ #define GD2_DBG(s) /* */ /* Shared code to read color tables from gd file. */ /* */ int _gdGetColors (gdIOCtx * in, gdImagePtr im, int gd2xFlag) { int i; if (gd2xFlag) { int trueColorFlag; if (!gdGetByte (&trueColorFlag, in)) { goto fail1; } /* 2.0.12: detect bad truecolor .gd files created by pre-2.0.12. Beginning in 2.0.12 truecolor is indicated by the initial 2-byte signature. */ if (trueColorFlag != im->trueColor) { goto fail1; } /* This should have been a word all along */ if (!im->trueColor) { if (!gdGetWord (&im->colorsTotal, in)) { goto fail1; } if (im->colorsTotal > gdMaxColors) { goto fail1; } } /* Int to accommodate truecolor single-color transparency */ if (!gdGetInt (&im->transparent, in)) { goto fail1; } } else { if (!gdGetByte (&im->colorsTotal, in)) { goto fail1; } if (!gdGetWord (&im->transparent, in)) { goto fail1; } } /* Make sure transparent index is within bounds of the palette. */ if (!(im->trueColor) && (im->transparent >= im->colorsTotal || im->transparent < 0)) { im->transparent = (-1); } GD2_DBG (printf ("Palette had %d colours (T=%d)\n", im->colorsTotal, im->transparent)); if (im->trueColor) { return TRUE; } for (i = 0; (i < gdMaxColors); i++) { if (!gdGetByte (&im->red[i], in)) { goto fail1; } if (!gdGetByte (&im->green[i], in)) { goto fail1; } if (!gdGetByte (&im->blue[i], in)) { goto fail1; } if (gd2xFlag) { if (!gdGetByte (&im->alpha[i], in)) { goto fail1; } } } for (i = 0; (i < im->colorsTotal); i++) { im->open[i] = 0; }; return TRUE; fail1: return FALSE; } /* */ /* Use the common basic header info to make the image object. */ /* */ static gdImagePtr _gdCreateFromFile (gdIOCtx * in, int *sx, int *sy) { gdImagePtr im; int gd2xFlag = 0; int trueColorFlag = 0; if (!gdGetWord (sx, in)) { goto fail1; } if ((*sx == 65535) || (*sx == 65534)) { /* This is a gd 2.0 .gd file */ gd2xFlag = 1; /* 2.0.12: 65534 signals a truecolor .gd file. There is a slight redundancy here but we can live with it. */ if (*sx == 65534) { trueColorFlag = 1; } if (!gdGetWord (sx, in)) { goto fail1; } } if (!gdGetWord (sy, in)) { goto fail1; } GD2_DBG (printf ("Image is %dx%d\n", *sx, *sy)); if (trueColorFlag) { im = gdImageCreateTrueColor (*sx, *sy); } else { im = gdImageCreate (*sx, *sy); } if (!im) { goto fail1; } if (!_gdGetColors (in, im, gd2xFlag)) { goto fail2; } return im; fail2: gdImageDestroy (im); fail1: return 0; } /* Function: gdImageCreateFromGd is called to load images from gd format files. Invoke with an already opened pointer to a file containing the desired image in the gd file format, which is specific to gd and intended for very fast loading. (It is not intended for compression; for compression, use PNG or JPEG.) returns a to the new image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a gd format image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . Variants: creates an image from GD data (i.e. the contents of a GD file) already in memory. reads in an image using the functions in a struct. Parameters: infile - The input FILE pointer Returns: A pointer to the new image or NULL if an error occurred. Example: > gdImagePtr im; > FILE *in; > in = fopen("mygd.gd", "rb"); > im = gdImageCreateFromGd(in); > fclose(in); > // ... Use the image ... > gdImageDestroy(im); */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * inFile) { gdImagePtr im; gdIOCtx *in; in = gdNewFileCtx (inFile); if (in == NULL) return NULL; im = gdImageCreateFromGdCtx (in); in->gd_free (in); return im; } /* Function: gdImageCreateFromGdPtr Parameters: size - size of GD data in bytes. data - GD data (i.e. contents of a GIF file). Reads in GD data from memory. See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGdPtr (int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0); if(!in) return 0; im = gdImageCreateFromGdCtx (in); in->gd_free (in); return im; } /* Function: gdImageCreateFromGdCtx Reads in a GD image via a struct. See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx (gdIOCtxPtr in) { int sx, sy; int x, y; gdImagePtr im; /* Read the header */ im = _gdCreateFromFile (in, &sx, &sy); if (im == NULL) { goto fail1; }; /* Then the data... */ /* 2.0.12: support truecolor properly in .gd as well as in .gd2. Problem reported by Andreas Pfaller. */ if (im->trueColor) { for (y = 0; (y < sy); y++) { for (x = 0; (x < sx); x++) { int pix; if (!gdGetInt (&pix, in)) { goto fail2; } im->tpixels[y][x] = pix; } } } else { for (y = 0; (y < sy); y++) { for (x = 0; (x < sx); x++) { int ch; ch = gdGetC (in); if (ch == EOF) { goto fail2; } /* ROW-MAJOR IN GD 1.3 */ im->pixels[y][x] = ch; } } } return im; fail2: gdImageDestroy (im); fail1: return 0; } void _gdPutColors (gdImagePtr im, gdIOCtx * out) { int i; gdPutC (im->trueColor, out); if (!im->trueColor) { gdPutWord (im->colorsTotal, out); } gdPutInt (im->transparent, out); if (!im->trueColor) { for (i = 0; (i < gdMaxColors); i++) { gdPutC ((unsigned char) im->red[i], out); gdPutC ((unsigned char) im->green[i], out); gdPutC ((unsigned char) im->blue[i], out); gdPutC ((unsigned char) im->alpha[i], out); } } } static void _gdPutHeader (gdImagePtr im, gdIOCtx * out) { /* 65535 indicates this is a gd 2.x .gd file. 2.0.12: 65534 indicates truecolor. */ if (im->trueColor) { gdPutWord (65534, out); } else { gdPutWord (65535, out); } gdPutWord (im->sx, out); gdPutWord (im->sy, out); _gdPutColors (im, out); } static void _gdImageGd (gdImagePtr im, gdIOCtx * out) { int x, y; _gdPutHeader (im, out); for (y = 0; (y < im->sy); y++) { for (x = 0; (x < im->sx); x++) { /* ROW-MAJOR IN GD 1.3 */ if (im->trueColor) { gdPutInt (im->tpixels[y][x], out); } else { gdPutC ((unsigned char) im->pixels[y][x], out); } } } } /* Function: gdImageGd */ BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * outFile) { gdIOCtx *out = gdNewFileCtx (outFile); if (out == NULL) return; _gdImageGd (im, out); out->gd_free (out); } /* Function: gdImageGdPtr */ BGD_DECLARE(void *) gdImageGdPtr (gdImagePtr im, int *size) { void *rv; gdIOCtx *out = gdNewDynamicCtx (2048, NULL); if (out == NULL) return NULL; _gdImageGd (im, out); rv = gdDPExtractData (out, size); out->gd_free (out); return rv; } #else /* no HAVE_LIBZ or !ENABLE_GD_FORMATS */ static void _noGdError (void) { gd_error("GD image support has been disabled\n"); } BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * inFile) { _noGdError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromGdPtr (int size, void *data) { _noGdError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx (gdIOCtxPtr in) { _noGdError(); return NULL; } BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * outFile) { _noGdError(); } BGD_DECLARE(void *) gdImageGdPtr (gdImagePtr im, int *size) { _noGdError(); return NULL; } #endif /* ENABLE_GD_FORMATS */ libgd-2.3.0/src/gd_wbmp.c0000664000175000017500000001563213635665516012121 00000000000000/* * WBMP: Wireless Bitmap Type 0: B/W, Uncompressed Bitmap * Specification of the WBMP format can be found in the file: * SPEC-WAESpec-19990524.pdf * You can download the WAP specification on: http://www.wapforum.com/ * * gd_wbmp.c * * Copyright (C) Johan Van den Brande (johan@vandenbrande.com) * * Fixed: gdImageWBMPPtr, gdImageWBMP * * Recoded: gdImageWBMPCtx for use with my wbmp library * (wbmp library included, but you can find the latest distribution * at http://www.vandenbrande.com/wbmp) * * Implemented: gdImageCreateFromWBMPCtx, gdImageCreateFromWBMP * *-------------------------------------------------------------------------- * * Parts of this code are from Maurice Smurlo. * ** Copyright (C) Maurice Szmurlo --- T-SIT --- January 2000 ** (Maurice.Szmurlo@info.unicaen.fr) ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, provided ** that the above copyright notice appear in all copies and that both that ** copyright notice and this permission notice appear in supporting ** documentation. This software is provided "as is" without express or ** implied warranty. * *-------------------------------------------------------------------------- * * Parts of this code are inspired by 'pbmtowbmp.c' and 'wbmptopbm.c' by * Terje Sannum . * ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, provided ** that the above copyright notice appear in all copies and that both that ** copyright notice and this permission notice appear in supporting ** documentation. This software is provided "as is" without express or ** implied warranty. * *-------------------------------------------------------------------------- * * Todo: * * gdCreateFromWBMP function for reading WBMP files * *-------------------------------------------------------------------------- */ /** * File: WBMP IO * * Read and write WBMP images. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "gd.h" #include "gd_errors.h" #include "gdfonts.h" #include #include #include #include "wbmp.h" /* gd_putout * --------- * Wrapper around gdPutC for use with writewbmp */ void gd_putout(int i, void *out) { gdPutC(i, (gdIOCtx *)out); } /* gd_getin * -------- * Wrapper around gdGetC for use with readwbmp */ int gd_getin(void *in) { return (gdGetC((gdIOCtx *)in)); } static int _gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out); /* Function: gdImageWBMPCtx Write the image as a wbmp file Parameters: image - gd image structure fg - the index of the foreground color. any other value will be considered as background and will not be written out - the stream where to write */ BGD_DECLARE(void) gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out) { _gdImageWBMPCtx(image, fg, out); } /* returns 0 on success, 1 on failure */ static int _gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtx *out) { int x, y, pos; Wbmp *wbmp; /* create the WBMP */ if((wbmp = createwbmp(gdImageSX(image), gdImageSY(image), WBMP_WHITE)) == NULL) { gd_error("Could not create WBMP\n"); return 1; } /* fill up the WBMP structure */ pos = 0; for(y = 0; y < gdImageSY(image); y++) { for(x = 0; x < gdImageSX(image); x++) { if(gdImageGetPixel(image, x, y) == fg) { wbmp->bitmap[pos] = WBMP_BLACK; } pos++; } } /* write the WBMP to a gd file descriptor */ if(writewbmp(wbmp, &gd_putout, out)) { freewbmp(wbmp); gd_error("Could not save WBMP\n"); return 1; } /* des submitted this bugfix: gdFree the memory. */ freewbmp(wbmp); return 0; } /* Function: gdImageCreateFromWBMPCtx Reads in a WBMP image via a struct. See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPCtx(gdIOCtx *infile) { Wbmp *wbmp; gdImagePtr im = NULL; int black, white; int col, row, pos; if(readwbmp(&gd_getin, infile, &wbmp)) { return (NULL); } if(!(im = gdImageCreate(wbmp->width, wbmp->height))) { freewbmp(wbmp); return NULL; } /* create the background color */ white = gdImageColorAllocate(im, 255, 255, 255); /* create foreground color */ black = gdImageColorAllocate(im, 0, 0, 0); /* fill in image (in a wbmp 1 = white/ 0 = black) */ pos = 0; for(row = 0; row < wbmp->height; row++) { for(col = 0; col < wbmp->width; col++) { if(wbmp->bitmap[pos++] == WBMP_WHITE) { gdImageSetPixel(im, col, row, white); } else { gdImageSetPixel(im, col, row, black); } } } freewbmp(wbmp); return im; } /* Function: gdImageCreateFromWBMP is called to load images from WBMP format files. Invoke with an already opened pointer to a file containing the desired image. returns a gdImagePtr to the new image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a WBMP image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . Variants: creates an image from WBMP data (i.e. the contents of a WBMP file) already in memory. reads in an image using the functions in a struct. Parameters: infile - The input FILE pointer Returns: A pointer to the new image or NULL if an error occurred. Example: (start code) gdImagePtr im; FILE *in; in = fopen("mywbmp.wbmp", "rb"); im = gdImageCreateFromWBMP(in); fclose(in); // ... Use the image ... gdImageDestroy(im); (end code) */ BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMP(FILE *inFile) { gdImagePtr im; gdIOCtx *in = gdNewFileCtx(inFile); if (in == NULL) return NULL; im = gdImageCreateFromWBMPCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromWBMPPtr Parameters: size - size of WBMP data in bytes. data - WBMP data (i.e. contents of a WBMP file). See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPPtr(int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); if(!in) { return 0; } im = gdImageCreateFromWBMPCtx(in); in->gd_free(in); return im; } /* Function: gdImageWBMP */ BGD_DECLARE(void) gdImageWBMP(gdImagePtr im, int fg, FILE *outFile) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageWBMPCtx(im, fg, out); out->gd_free(out); } /* Function: gdImageWBMPPtr */ BGD_DECLARE(void *) gdImageWBMPPtr(gdImagePtr im, int *size, int fg) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) return NULL; if (!_gdImageWBMPCtx(im, fg, out)) { rv = gdDPExtractData(out, size); } else { rv = NULL; } out->gd_free(out); return rv; } libgd-2.3.0/src/gdcmpgif.c0000664000175000017500000000355413635665516012262 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #ifndef _WIN32 #include /* For unlink function */ #endif #include "gd.h" /* A short program which converts a .png file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ void CompareImages(char *msg, gdImagePtr im1, gdImagePtr im2); int main(int argc, char **argv) { gdImagePtr im1, im2; FILE *in; if (argc != 3) { fprintf(stderr, "Usage: gdcmpgif filename.gif filename.gif\n"); exit(1); } in = fopen(argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit(1); } im1 = gdImageCreateFromGif(in); fclose(in); if (!im1) { fprintf(stderr, "Input is not in GIF format!\n"); exit(1); } in = fopen(argv[2], "rb"); if (!in) { fprintf(stderr, "Input file 2 does not exist!\n"); exit(1); } im2 = gdImageCreateFromGif(in); fclose(in); if (!im2) { fprintf(stderr, "Input 2 is not in GIF format!\n"); exit(1); } CompareImages("gdcmpgif", im1, im2); gdImageDestroy(im1); gdImageDestroy(im2); return 0; } void CompareImages(char *msg, gdImagePtr im1, gdImagePtr im2) { int cmpRes; cmpRes = gdImageCompare(im1, im2); if (cmpRes & GD_CMP_IMAGE) { printf("%%%s: ERROR images differ: BAD\n",msg); } else if (cmpRes != 0) { printf("%%%s: WARNING images differ: WARNING - Probably OK\n",msg); } else { printf("%%%s: OK\n",msg); return; } if (cmpRes & (GD_CMP_SIZE_X + GD_CMP_SIZE_Y)) { printf("-%s: INFO image sizes differ\n",msg); } if (cmpRes & GD_CMP_NUM_COLORS) { printf("-%s: INFO number of palette entries differ %d Vs. %d\n",msg, im1->colorsTotal, im2->colorsTotal); } if (cmpRes & GD_CMP_COLOR) { printf("-%s: INFO actual colours of pixels differ\n",msg); } } libgd-2.3.0/src/gd_ss.c0000664000175000017500000000243113634445460011563 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "gd.h" #include "gd_errors.h" #define TRUE 1 #define FALSE 0 /* Use this for commenting out debug-print statements. */ /* Just use the first '#define' to allow all the prints... */ /*#define GD_SS_DBG(s) (s) */ #define GD_SS_DBG(s) #ifdef HAVE_LIBPNG /* Function: gdImagePngToSink */ BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr outSink) { gdIOCtx *out = gdNewSSCtx (NULL, outSink); gdImagePngCtx (im, out); out->gd_free (out); } /* Function: gdImageCreateFromPngSource See for documentation. This is obsolete; use instead. */ BGD_DECLARE(gdImagePtr) gdImageCreateFromPngSource (gdSourcePtr inSource) { gdIOCtx *in = gdNewSSCtx (inSource, NULL); gdImagePtr im; im = gdImageCreateFromPngCtx (in); in->gd_free (in); return im; } #else /* no HAVE_LIBPNG */ BGD_DECLARE(void) gdImagePngToSink (gdImagePtr im, gdSinkPtr outSink) { (void)im; (void)outSink; gd_error("PNG support is not available\n"); } BGD_DECLARE(gdImagePtr) gdImageCreateFromPngSource (gdSourcePtr inSource) { (void)inSource; gd_error("PNG support is not available\n"); return NULL; } #endif /* HAVE_LIBPNG */ libgd-2.3.0/src/gd2togif.c0000664000175000017500000000165213635665516012204 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "gd.h" /* A short program which converts a .gif file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ int main(int argc, char **argv) { gdImagePtr im; FILE *in, *out; if (argc != 3) { fprintf(stderr, "Usage: gd2togif filename.gd2 filename.gif\n"); exit(1); } in = fopen(argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit(1); } im = gdImageCreateFromGd2(in); fclose(in); if (!im) { fprintf(stderr, "Input is not in GD2 format!\n"); exit(1); } out = fopen(argv[2], "wb"); if (!out) { fprintf(stderr, "Output file cannot be written to!\n"); gdImageDestroy(im); exit(1); } gdImageGif(im, out); fclose(out); gdImageDestroy(im); return 0; } libgd-2.3.0/src/gdft.c0000664000175000017500000015103213635665516011421 00000000000000/********************************************/ /* gd interface to freetype library */ /* */ /* John Ellson ellson@graphviz.org */ /********************************************/ /** * File: FreeType font rendering */ #include #include #include #include #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" #include "gdhelpers.h" #include "gd_intern.h" /* 2.0.10: WIN32, not MSWIN32 */ #if !defined(_WIN32) && !defined(_WIN32_WCE) #include #elif defined(_WIN32_WCE) #include /* getenv() */ #include /* access() */ #define getenv wceex_getenv #define access wceex_access #else /* _WIN32_WCE */ #include #ifndef R_OK #define R_OK 04 /* Needed in Windows */ #endif #endif /* number of antialised colors for indexed bitmaps */ #define GD_NUMCOLORS 8 #ifdef HAVE_LIBFONTCONFIG static int fontConfigFlag = 0; /* translate a fontconfig fontpattern into a fontpath. return NULL if OK, else return error string */ static char *font_pattern(char **fontpath, char *fontpattern); #endif #ifdef HAVE_LIBFREETYPE #include "entities.h" static char *font_path(char **fontpath, char *name_list); #endif /* 2.0.30: move these up here so we can build correctly without freetype but with fontconfig */ /* * The character (space) used to separate alternate fonts in the * fontlist parameter to gdImageStringFT. 2.0.18: space was a * poor choice for this. */ #define LISTSEPARATOR ";" /* * DEFAULT_FONTPATH and PATHSEPARATOR are host type dependent and * are normally set by configure in config.h. These are just * some last resort values that might match some Un*x system * if building this version of gd separate from graphviz. */ #ifndef DEFAULT_FONTPATH # if defined(_WIN32) # define DEFAULT_FONTPATH "C:\\WINDOWS\\FONTS;C:\\WINNT\\FONTS" # elif defined(__APPLE__) || (defined(__MWERKS__) && defined(macintosh)) # define DEFAULT_FONTPATH "/usr/share/fonts/truetype:/System/Library/Fonts:/Library/Fonts" # else /* default fontpath for unix systems - whatever happened to standards ! */ # define DEFAULT_FONTPATH "/usr/X11R6/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/truetype:/usr/X11R6/lib/X11/fonts/TTF:/usr/share/fonts/TrueType:/usr/share/fonts/truetype:/usr/openwin/lib/X11/fonts/TrueType:/usr/X11R6/lib/X11/fonts/Type1:/usr/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/Type1" # endif #endif #ifndef PATHSEPARATOR # if defined(_WIN32) # define PATHSEPARATOR ";" # else # define PATHSEPARATOR ":" # endif #endif #ifndef TRUE #define FALSE 0 #define TRUE !FALSE #endif /** * Function: gdImageStringTTF * * Alias of . */ BGD_DECLARE(char *) gdImageStringTTF (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string) { /* 2.0.6: valid return */ return gdImageStringFT (im, brect, fg, fontlist, ptsize, angle, x, y, string); } #ifndef HAVE_LIBFREETYPE BGD_DECLARE(char *) gdImageStringFTEx (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string, gdFTStringExtraPtr strex) { (void)im; (void)brect; (void)fg; (void)fontlist; (void)ptsize; (void)angle; (void)x; (void)y; (void)string; (void)strex; return "libgd was not built with FreeType font support\n"; } BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string) { (void)im; (void)brect; (void)fg; (void)fontlist; (void)ptsize; (void)angle; (void)x; (void)y; (void)string; return "libgd was not built with FreeType font support\n"; } #else #include "gdcache.h" /* 2.0.16 Christophe Thomas: starting with FreeType 2.1.6, this is mandatory, and it has been supported for a long while. */ #ifdef HAVE_FT2BUILD_H #include #include FT_FREETYPE_H #include FT_GLYPH_H #include FT_SIZES_H #else #include #include #include #endif /* number of fonts cached before least recently used is replaced */ #define FONTCACHESIZE 6 /* number of antialias color lookups cached */ #define TWEENCOLORCACHESIZE 32 /* * Line separation as a factor of font height. * No space between if LINESPACE = 1.00 * Line separation will be rounded up to next pixel row. */ #define LINESPACE 1.05 typedef struct { char *fontlist; /* key */ int flags; /* key */ char *fontpath; FT_Library *library; FT_Face face; } font_t; typedef struct { const char *fontlist; /* key */ int flags; /* key */ FT_Library *library; } fontkey_t; typedef struct { int pixel; /* key */ int bgcolor; /* key */ int fgcolor; /* key *//* -ve means no antialias */ gdImagePtr im; /* key */ int tweencolor; } tweencolor_t; typedef struct { int pixel; /* key */ int bgcolor; /* key */ int fgcolor; /* key *//* -ve means no antialias */ gdImagePtr im; /* key */ } tweencolorkey_t; /******************************************************************** * gdTcl_UtfToUniChar is borrowed from Tcl ... */ /* * tclUtf.c -- * * Routines for manipulating UTF-8 strings. * * Copyright (c) 1997-1998 Sun Microsystems, Inc. * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * SCCS: @(#) tclUtf.c 1.25 98/01/28 18:02:43 */ /* *--------------------------------------------------------------------------- * * gdTcl_UtfToUniChar -- * * Extract the Tcl_UniChar represented by the UTF-8 string. Bad * UTF-8 sequences are converted to valid Tcl_UniChars and processing * continues. Equivalent to Plan 9 chartorune(). * * The caller must ensure that the source buffer is long enough that * this routine does not run off the end and dereference non-existent * memory looking for trail bytes. If the source buffer is known to * be '\0' terminated, this cannot happen. Otherwise, the caller * should call Tcl_UtfCharComplete() before calling this routine to * ensure that enough bytes remain in the string. * * Results: * *chPtr is filled with the Tcl_UniChar, and the return value is the * number of bytes from the UTF-8 string that were consumed. * * Side effects: * None. * *--------------------------------------------------------------------------- */ #ifdef JISX0208 #include "jisx0208.h" #endif static int comp_entities(const void *e1, const void *e2) { struct entities_s *en1 = (struct entities_s *) e1; struct entities_s *en2 = (struct entities_s *) e2; return strcmp(en1->name, en2->name); } extern int any2eucjp (char *, const char *, unsigned int); /* Persistent font cache until explicitly cleared */ /* Fonts can be used across multiple images */ /* 2.0.16: thread safety (the font cache is shared) */ gdMutexDeclare (gdFontCacheMutex); static gdCache_head_t *fontCache; static FT_Library library; #define Tcl_UniChar int #define TCL_UTF_MAX 3 static int gdTcl_UtfToUniChar (const char *str, Tcl_UniChar * chPtr) /* str is the UTF8 next character pointer */ /* chPtr is the int for the result */ { int byte; char entity_name_buf[ENTITY_NAME_LENGTH_MAX+1]; char *p; struct entities_s key, *res; /* HTML4.0 entities in decimal form, e.g. Å */ /* or in hexadecimal form, e.g. 水 */ byte = *((unsigned char *) str); if (byte == '&') { int i, n = 0; byte = *((unsigned char *) (str + 1)); if (byte == '#') { byte = *((unsigned char *) (str + 2)); if (byte == 'x' || byte == 'X') { for (i = 3; i < 8; i++) { byte = *((unsigned char *) (str + i)); if (byte >= 'A' && byte <= 'F') byte = byte - 'A' + 10; else if (byte >= 'a' && byte <= 'f') byte = byte - 'a' + 10; else if (byte >= '0' && byte <= '9') byte = byte - '0'; else break; n = (n * 16) + byte; } } else { for (i = 2; i < 8; i++) { byte = *((unsigned char *) (str + i)); if (byte >= '0' && byte <= '9') n = (n * 10) + (byte - '0'); else break; } } if (byte == ';') { *chPtr = (Tcl_UniChar) n; return ++i; } } else { key.name = p = entity_name_buf; for (i = 1; i <= 1 + ENTITY_NAME_LENGTH_MAX; i++) { byte = *((unsigned char *) (str + i)); if (byte == '\0') break; if (byte == ';') { *p++ = '\0'; res = bsearch(&key, entities, NR_OF_ENTITIES, sizeof(entities[0]), *comp_entities); if (res) { *chPtr = (Tcl_UniChar) res->value; return ++i; } break; } *p++ = byte; } } } /* * Unroll 1 to 3 byte UTF-8 sequences, use loop to handle longer ones. */ byte = *((unsigned char *) str); #ifdef JISX0208 if (0xA1 <= byte && byte <= 0xFE) { int ku, ten; ku = (byte & 0x7F) - 0x20; ten = (str[1] & 0x7F) - 0x20; if ((ku < 1 || ku > 92) || (ten < 1 || ten > 94)) { *chPtr = (Tcl_UniChar) byte; return 1; } *chPtr = (Tcl_UniChar) UnicodeTbl[ku - 1][ten - 1]; return 2; } else #endif /* JISX0208 */ if (byte < 0xC0) { /* * Handles properly formed UTF-8 characters between * 0x01 and 0x7F. Also treats \0 and naked trail * bytes 0x80 to 0xBF as valid characters representing * themselves. */ *chPtr = (Tcl_UniChar) byte; return 1; } else if (byte < 0xE0) { if ((str[1] & 0xC0) == 0x80) { /* * Two-byte-character lead-byte followed * by a trail-byte. */ *chPtr = (Tcl_UniChar) (((byte & 0x1F) << 6) | (str[1] & 0x3F)); return 2; } /* * A two-byte-character lead-byte not followed by trail-byte * represents itself. */ *chPtr = (Tcl_UniChar) byte; return 1; } else if (byte < 0xF0) { if (((str[1] & 0xC0) == 0x80) && ((str[2] & 0xC0) == 0x80)) { /* * Three-byte-character lead byte followed by * two trail bytes. */ *chPtr = (Tcl_UniChar) (((byte & 0x0F) << 12) | ((str[1] & 0x3F) << 6) | (str[2] & 0x3F)); return 3; } /* * A three-byte-character lead-byte not followed by * two trail-bytes represents itself. */ *chPtr = (Tcl_UniChar) byte; return 1; } #if TCL_UTF_MAX > 3 else { int ch, total, trail; total = totalBytes[byte]; trail = total - 1; if (trail > 0) { ch = byte & (0x3F >> trail); do { str++; if ((*str & 0xC0) != 0x80) { *chPtr = byte; return 1; } ch <<= 6; ch |= (*str & 0x3F); trail--; } while (trail > 0); *chPtr = ch; return total; } } #endif *chPtr = (Tcl_UniChar) byte; return 1; } #ifdef HAVE_LIBRAQM #include #endif typedef struct { unsigned int index; FT_Pos x_advance; FT_Pos x_offset; FT_Pos y_offset; uint32_t cluster; } glyphInfo; static size_t textLayout(uint32_t *text, int len, FT_Face face, gdFTStringExtraPtr strex, glyphInfo **glyph_info) { size_t count; glyphInfo *info; #ifdef HAVE_LIBRAQM size_t i; raqm_glyph_t *glyphs; raqm_t *rq = raqm_create (); if (!rq || !raqm_set_text (rq, text, len) || !raqm_set_freetype_face (rq, face) || !raqm_set_par_direction (rq, RAQM_DIRECTION_DEFAULT) || !raqm_layout (rq)) { raqm_destroy (rq); return 0; } glyphs = raqm_get_glyphs (rq, &count); if (!glyphs) { raqm_destroy (rq); return 0; } info = (glyphInfo*) gdMalloc (sizeof (glyphInfo) * count); if (!info) { raqm_destroy (rq); return 0; } for (i = 0; i < count; i++) { info[i].index = glyphs[i].index; info[i].x_offset = glyphs[i].x_offset; info[i].y_offset = glyphs[i].y_offset; info[i].x_advance = glyphs[i].x_advance; info[i].cluster = glyphs[i].cluster; } raqm_destroy (rq); #else FT_UInt glyph_index = 0, previous = 0; FT_Vector delta; FT_Error err; info = (glyphInfo*) gdMalloc (sizeof (glyphInfo) * len); if (!info) { return 0; } for (count = 0; count < len; count++) { /* Convert character code to glyph index */ glyph_index = FT_Get_Char_Index (face, text[count]); /* retrieve kerning distance */ if (! (strex && (strex->flags & gdFTEX_DISABLE_KERNING)) && ! FT_IS_FIXED_WIDTH(face) && FT_HAS_KERNING(face) && previous && glyph_index) FT_Get_Kerning (face, previous, glyph_index, ft_kerning_default, &delta); else delta.x = delta.y = 0; err = FT_Load_Glyph (face, glyph_index, FT_LOAD_DEFAULT); if (err) { gdFree (info); return 0; } info[count].index = glyph_index; info[count].x_offset = 0; info[count].y_offset = 0; if (delta.x != 0) info[count - 1].x_advance += delta.x; info[count].x_advance = face->glyph->metrics.horiAdvance; info[count].cluster = count; /* carriage returns or newlines */ if (text[count] == '\r' || text[count] == '\n') previous = 0; /* clear kerning flag */ else previous = glyph_index; } #endif *glyph_info = info; return count; } /********************************************************************/ /* font cache functions */ static int fontTest (void *element, void *key) { font_t *a = (font_t *) element; fontkey_t *b = (fontkey_t *) key; return (strcmp (a->fontlist, b->fontlist) == 0 && a->flags == b->flags); } #ifdef HAVE_LIBFONTCONFIG static int useFontConfig(int flag) { if (fontConfigFlag) { return (!(flag & gdFTEX_FONTPATHNAME)); } return flag & gdFTEX_FONTCONFIG; } #endif static void * fontFetch (char **error, void *key) { font_t *a; fontkey_t *b = (fontkey_t *) key; char *suffix; FT_Error err; const unsigned int b_font_list_len = strlen(b->fontlist); *error = NULL; a = (font_t *) gdMalloc (sizeof (font_t)); if (!a) { return NULL; } a->fontlist = (char *) gdMalloc(b_font_list_len + 1); if (a->fontlist == NULL) { gdFree(a); return "could not alloc full list of fonts"; } memcpy(a->fontlist, b->fontlist, b_font_list_len); a->fontlist[b_font_list_len] = 0; a->flags = b->flags; a->library = b->library; a->fontpath = NULL; #ifdef HAVE_LIBFONTCONFIG if (!useFontConfig(b->flags)) *error = font_path(&(a->fontpath), a->fontlist); else *error = font_pattern(&(a->fontpath), a->fontlist); #else *error = font_path(&(a->fontpath), a->fontlist); #endif /* HAVE_LIBFONTCONFIG */ if (*error || !a->fontpath || !a->fontpath[0]) { gdFree(a->fontlist); if (a->fontpath) free(a->fontpath); gdFree(a); if (!*error) *error = "font_path() returned an empty font pathname"; return NULL; } err = FT_New_Face(*b->library, a->fontpath, 0, &a->face); /* Read kerning metrics for Postscript fonts. */ if (!err && ((suffix = strstr(a->fontpath, ".pfa")) || (suffix = strstr(a->fontpath, ".pfb"))) && ((strcpy(suffix, ".afm") && (access(a->fontpath, R_OK) == 0)) || (strcpy(suffix, ".pfm") && (access(a->fontpath, R_OK) == 0)))) { err = FT_Attach_File(a->face, a->fontpath); } if (err) { gdFree (a->fontlist); free(a->fontpath); gdFree(a); *error = "Could not read font"; return NULL; } return (void *) a; } static void fontRelease (void *element) { font_t *a = (font_t *) element; FT_Done_Face (a->face); gdFree (a->fontlist); gdFree (a->fontpath); gdFree ((char *) element); } /********************************************************************/ /* tweencolor cache functions */ static int tweenColorTest (void *element, void *key) { tweencolor_t *a = (tweencolor_t *) element; tweencolorkey_t *b = (tweencolorkey_t *) key; return (a->pixel == b->pixel && a->bgcolor == b->bgcolor && a->fgcolor == b->fgcolor && a->im == b->im); } /* * Computes a color in im's color table that is part way between * the background and foreground colors proportional to the gray * pixel value in the range 0-GD_NUMCOLORS. The fg and bg colors must already * be in the color table for palette images. For truecolor images the * returned value simply has an alpha component and gdImageAlphaBlend * does the work so that text can be alpha blended across a complex * background (TBB; and for real in 2.0.2). */ static void * tweenColorFetch (char **error, void *key) { tweencolor_t *a; tweencolorkey_t *b = (tweencolorkey_t *) key; int pixel, npixel, bg, fg; gdImagePtr im; (void)error; a = (tweencolor_t *) gdMalloc (sizeof (tweencolor_t)); if (!a) { return NULL; } pixel = a->pixel = b->pixel; bg = a->bgcolor = b->bgcolor; fg = a->fgcolor = b->fgcolor; im = a->im = b->im; /* if fg is specified by a negative color idx, then don't antialias */ if (fg < 0) { if ((pixel + pixel) >= GD_NUMCOLORS) a->tweencolor = -fg; else a->tweencolor = bg; } else { npixel = GD_NUMCOLORS - pixel; if (im->trueColor) { /* 2.0.1: use gdImageSetPixel to do the alpha blending work, or to just store the alpha level. All we have to do here is incorporate our knowledge of the percentage of this pixel that is really "lit" by pushing the alpha value up toward transparency in edge regions. */ a->tweencolor = gdTrueColorAlpha (gdTrueColorGetRed (fg), gdTrueColorGetGreen (fg), gdTrueColorGetBlue (fg), gdAlphaMax - (gdTrueColorGetAlpha (fg) * pixel / GD_NUMCOLORS)); } else { a->tweencolor = gdImageColorResolve (im, (pixel * im->red[fg] + npixel * im->red[bg]) / GD_NUMCOLORS, (pixel * im->green[fg] + npixel * im->green[bg]) / GD_NUMCOLORS, (pixel * im->blue[fg] + npixel * im->blue[bg]) / GD_NUMCOLORS); } } return (void *) a; } static void tweenColorRelease (void *element) { gdFree ((char *) element); } /* draw_bitmap - transfers glyph bitmap to GD image */ static char * gdft_draw_bitmap (gdCache_head_t * tc_cache, gdImage * im, int fg, FT_Bitmap bitmap, int pen_x, int pen_y) { unsigned char *pixel = NULL; int *tpixel = NULL; int opixel; int x, y, row, col, pc, pcr; tweencolor_t *tc_elem; tweencolorkey_t tc_key; /* copy to image, mapping colors */ tc_key.fgcolor = fg; tc_key.im = im; /* Truecolor version; does not require the cache */ if (im->trueColor) { for (row = 0; row < bitmap.rows; row++) { pc = row * bitmap.pitch; pcr = pc; y = pen_y + row; /* clip if out of bounds */ /* 2.0.16: clipping rectangle, not image bounds */ if ((y > im->cy2) || (y < im->cy1)) continue; for (col = 0; col < bitmap.width; col++, pc++) { int level; if (bitmap.pixel_mode == ft_pixel_mode_grays) { /* * Scale to 128 levels of alpha for gd use. * alpha 0 is opacity, so be sure to invert at the end */ level = (bitmap.buffer[pc] * gdAlphaMax / (bitmap.num_grays - 1)); } else if (bitmap.pixel_mode == ft_pixel_mode_mono) { /* 2.0.5: mode_mono fix from Giuliano Pochini */ level = ((bitmap. buffer[(col >> 3) + pcr]) & (1 << (~col & 0x07))) ? gdAlphaTransparent : gdAlphaOpaque; } else { return "Unsupported ft_pixel_mode"; } if (level == 0) /* if background */ continue; if ((fg >= 0) && (im->trueColor)) { /* Consider alpha in the foreground color itself to be an upper bound on how opaque things get, when truecolor is available. Without truecolor this results in far too many color indexes. */ level = level * (gdAlphaMax - gdTrueColorGetAlpha (fg)) / gdAlphaMax; } level = gdAlphaMax - level; /* inverting to get alpha */ x = pen_x + col; /* clip if out of bounds */ /* 2.0.16: clip to clipping rectangle, Matt McNabb */ if ((x > im->cx2) || (x < im->cx1)) continue; /* get pixel location in gd buffer */ tpixel = &im->tpixels[y][x]; if (fg < 0) { if (level < (gdAlphaMax / 2)) { *tpixel = -fg; } } else { if (im->alphaBlendingFlag) { opixel = *tpixel; if (gdTrueColorGetAlpha(opixel) != gdAlphaTransparent) { *tpixel = gdAlphaBlend (opixel, (level << 24) + (fg & 0xFFFFFF)); } else { *tpixel = (level << 24) + (fg & 0xFFFFFF); } } else { *tpixel = (level << 24) + (fg & 0xFFFFFF); } } } } return (char *) NULL; } /* Non-truecolor case, restored to its more or less original form */ for (row = 0; row < bitmap.rows; row++) { int pcr; pc = row * bitmap.pitch; pcr = pc; if (bitmap.pixel_mode == ft_pixel_mode_mono) pc *= 8; /* pc is measured in bits for monochrome images */ y = pen_y + row; /* clip if out of bounds */ if (y > im->cy2 || y < im->cy1) continue; for (col = 0; col < bitmap.width; col++, pc++) { if (bitmap.pixel_mode == ft_pixel_mode_grays) { /* * Round to GD_NUMCOLORS levels of antialiasing for * index color images since only 256 colors are * available. */ tc_key.pixel = ((bitmap.buffer[pc] * GD_NUMCOLORS) + bitmap.num_grays / 2) / (bitmap.num_grays - 1); } else if (bitmap.pixel_mode == ft_pixel_mode_mono) { /* 2.0.5: mode_mono fix from Giuliano Pochini */ tc_key.pixel = ((bitmap. buffer[(col >> 3) + pcr]) & (1 << (~col & 0x07))) ? GD_NUMCOLORS : 0; } else { return "Unsupported ft_pixel_mode"; } if (tc_key.pixel == 0) /* if background */ continue; x = pen_x + col; /* clip if out of bounds */ if (x > im->cx2 || x < im->cx1) continue; /* get pixel location in gd buffer */ pixel = &im->pixels[y][x]; if (tc_key.pixel == GD_NUMCOLORS) { /* use fg color directly. gd 2.0.2: watch out for negative indexes (thanks to David Marwood). */ *pixel = (fg < 0) ? -fg : fg; } else { /* find antialised color */ tc_key.bgcolor = *pixel; tc_elem = (tweencolor_t *) gdCacheGet (tc_cache, &tc_key); if (!tc_elem) return tc_cache->error; *pixel = tc_elem->tweencolor; } } } return (char *) NULL; } /** * Function: gdFreeFontCache * * Alias of . */ BGD_DECLARE(void) gdFreeFontCache () { gdFontCacheShutdown (); } /** * Function: gdFontCacheShutdown * * Shut down the font cache and free the allocated resources. * * Important: * This function has to be called whenever FreeType operations have been * invoked, to avoid resource leaks. It doesn't harm to call this function * multiple times. */ BGD_DECLARE(void) gdFontCacheShutdown () { if (fontCache) { gdMutexLock(gdFontCacheMutex); gdCacheDelete (fontCache); /* 2.0.16: Gustavo Scotti: make sure we don't free this twice */ fontCache = 0; gdMutexUnlock(gdFontCacheMutex); gdMutexShutdown (gdFontCacheMutex); FT_Done_FreeType (library); } } /** * Function: gdImageStringFT * * Render an UTF-8 string onto a gd image. * * Parameters: * im - The image to draw onto. * brect - The bounding rectangle as array of 8 integers where each pair * represents the x- and y-coordinate of a point. The points * specify the lower left, lower right, upper right and upper left * corner. * fg - The font color. * fontlist - The semicolon delimited list of font filenames to look for. * ptsize - The height of the font in typographical points (pt). * angle - The angle in radian to rotate the font counter-clockwise. * x - The x-coordinate of the basepoint (roughly the lower left corner) of the first letter. * y - The y-coordinate of the basepoint (roughly the lower left corner) of the first letter. * string - The string to render. * * Variant: * - * * See also: * - */ BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string) { return gdImageStringFTEx (im, brect, fg, fontlist, ptsize, angle, x, y, string, 0); } /** * Function: gdFontCacheSetup * * Set up the font cache. * * This is called automatically from the string rendering functions, if it * has not already been called. So there's no need to call this function * explicitly. */ BGD_DECLARE(int) gdFontCacheSetup (void) { if (fontCache) { /* Already set up */ return 0; } gdMutexSetup (gdFontCacheMutex); if (FT_Init_FreeType (&library)) { gdMutexShutdown (gdFontCacheMutex); return -1; } fontCache = gdCacheCreate (FONTCACHESIZE, fontTest, fontFetch, fontRelease); if (!fontCache) { return -2; } return 0; } /* Function: gdImageStringFTEx gdImageStringFTEx extends the capabilities of gdImageStringFT by providing a way to pass additional parameters. If the strex parameter is not null, it must point to a gdFTStringExtra structure. As of gd 2.0.5, this structure is defined as follows: (start code) typedef struct { // logical OR of gdFTEX_ values int flags; // fine tune line spacing for '\n' double linespacing; // Preferred character mapping int charmap; // Rendering resolution int hdpi; int vdpi; char *xshow; char *fontpath; } gdFTStringExtra, *gdFTStringExtraPtr; (end code) To output multiline text with a specific line spacing, include gdFTEX_LINESPACE in the setting of flags: > flags |= gdFTEX_LINESPACE; And also set linespacing to the desired spacing, expressed as a multiple of the font height. Thus a line spacing of 1.0 is the minimum to guarantee that lines of text do not collide. If gdFTEX_LINESPACE is not present, or strex is null, or gdImageStringFT is called, linespacing defaults to 1.05. To specify a preference for Unicode, Shift_JIS Big5 character encoding, set or To output multiline text with a specific line spacing, include gdFTEX_CHARMAP in the setting of flags: > flags |= gdFTEX_CHARMAP; And set charmap to the desired value, which can be any of gdFTEX_Unicode, gdFTEX_Shift_JIS, gdFTEX_Big5, or gdFTEX_Adobe_Custom. If you do not specify a preference, Unicode will be tried first. If the preferred character mapping is not found in the font, other character mappings are attempted. GD operates on the assumption that the output image will be rendered to a computer screen. By default, gd passes a resolution of 96 dpi to the freetype text rendering engine. This influences the "hinting" decisions made by the renderer. To specify a different resolution, set hdpi and vdpi accordingly (in dots per inch) and add gdFTEX_RESOLUTION to flags: > flags | gdFTEX_RESOLUTION; GD 2.0.29 and later will normally attempt to apply kerning tables, if fontconfig is available, to adjust the relative positions of consecutive characters more ideally for that pair of characters. This can be turn off by specifying the gdFTEX_DISABLE_KERNING flag: > flags | gdFTEX_DISABLE_KERNING; GD 2.0.29 and later can return a vector of individual character position advances, occasionally useful in applications that must know exactly where each character begins. This is returned in the xshow element of the gdFTStringExtra structure if the gdFTEX_XSHOW flag is set: > flags | gdFTEX_XSHOW; The caller is responsible for calling gdFree() on the xshow element after the call if gdFTEX_XSHOW is set. GD 2.0.29 and later can also return the path to the actual font file used if the gdFTEX_RETURNFONTPATHNAME flag is set. This is useful because GD 2.0.29 and above are capable of selecting a font automatically based on a fontconfig font pattern when fontconfig is available. This information is returned in the fontpath element of the gdFTStringExtra structure. > flags | gdFTEX_RETURNFONTPATHNAME; The caller is responsible for calling gdFree() on the fontpath element after the call if gdFTEX_RETURNFONTPATHNAME is set. GD 2.0.29 and later can use fontconfig to resolve font names, including fontconfig patterns, if the gdFTEX_FONTCONFIG flag is set. As a convenience, this behavior can be made the default by calling with a nonzero value. In that situation it is not necessary to set the gdFTEX_FONTCONFIG flag on every call; however explicit font path names can still be used if the gdFTEX_FONTPATHNAME flag is set: > flags | gdFTEX_FONTPATHNAME; Unless has been called with a nonzero value, GD 2.0.29 and later will still expect the fontlist argument to the freetype text output functions to be a font file name or list thereof as in previous versions. If you do not wish to make fontconfig the default, it is still possible to force the use of fontconfig for a single call to the freetype text output functions by setting the gdFTEX_FONTCONFIG flag: > flags | gdFTEX_FONTCONFIG; GD 2.0.29 and above can use fontconfig to resolve font names, including fontconfig patterns, if the gdFTEX_FONTCONFIG flag is set. As a convenience, this behavior can be made the default by calling with a nonzero value. In that situation it is not necessary to set the gdFTEX_FONTCONFIG flag on every call; however explicit font path names can still be used if the gdFTEX_FONTPATHNAME flag is set: > flags | gdFTEX_FONTPATHNAME; For more information, see . */ /* the platform-independent resolution used for size and position calculations */ /* the size of the error introduced by rounding is affected by this number */ #define METRIC_RES 300 BGD_DECLARE(char *) gdImageStringFTEx (gdImage * im, int *brect, int fg, const char *fontlist, double ptsize, double angle, int x, int y, const char *string, gdFTStringExtraPtr strex) { FT_Matrix matrix; FT_Vector penf, oldpenf, total_min = {0,0}, total_max = {0,0}, glyph_min, glyph_max; FT_Face face; FT_CharMap charmap = NULL; FT_Glyph image; FT_GlyphSlot slot; FT_Error err; FT_UInt glyph_index; double sin_a = sin (angle); double cos_a = cos (angle); int i, ch; font_t *font; fontkey_t fontkey; const char *next; char *tmpstr = 0; uint32_t *text; glyphInfo *info = NULL; size_t count; int render = (im && (im->trueColor || (fg <= 255 && fg >= -255))); FT_BitmapGlyph bm; /* 2.0.13: Bob Ostermann: don't force autohint, that's just for testing freetype and doesn't look as good */ int render_mode = FT_LOAD_DEFAULT; int encoding, encodingfound; /* Now tuneable thanks to Wez Furlong */ double linespace = LINESPACE; /* 2.0.6: put this declaration with the other declarations! */ /* * make a new tweenColorCache on every call * because caching colormappings between calls * is not safe. If the im-pointer points to a * brand new image, the cache gives out bogus * colorindexes. -- 27.06.2001 */ gdCache_head_t *tc_cache; /* Tuneable horizontal and vertical resolution in dots per inch */ int hdpi, vdpi, horiAdvance, xshow_alloc = 0, xshow_pos = 0; FT_Size platform_specific, platform_independent; if (strex) { if ((strex->flags & gdFTEX_LINESPACE) == gdFTEX_LINESPACE) { linespace = strex->linespacing; } } tc_cache = gdCacheCreate (TWEENCOLORCACHESIZE, tweenColorTest, tweenColorFetch, tweenColorRelease); /***** initialize font library and font cache on first call ******/ if (!fontCache) { if (gdFontCacheSetup () != 0) { gdCacheDelete (tc_cache); return "Failure to initialize font library"; } } /*****/ gdMutexLock (gdFontCacheMutex); /* get the font (via font cache) */ fontkey.fontlist = fontlist; if (strex) fontkey.flags = strex->flags & (gdFTEX_FONTPATHNAME | gdFTEX_FONTCONFIG); else fontkey.flags = 0; fontkey.library = &library; font = (font_t *) gdCacheGet (fontCache, &fontkey); if (!font) { gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return fontCache->error; } face = font->face; /* shortcut */ slot = face->glyph; /* shortcut */ if (brect) { total_min.x = total_min.y = 0; total_max.x = total_max.y = 0; } /* * Added hdpi and vdpi to support images at non-screen resolutions, i.e. 300 dpi TIFF, * or 100h x 50v dpi FAX format. 2.0.23. * 2004/02/27 Mark Shackelford, mark.shackelford@acs-inc.com */ hdpi = GD_RESOLUTION; vdpi = GD_RESOLUTION; encoding = gdFTEX_Unicode; if (strex) { if (strex->flags & gdFTEX_RESOLUTION) { hdpi = strex->hdpi; vdpi = strex->vdpi; } if (strex->flags & gdFTEX_XSHOW) { strex->xshow = NULL; } /* 2.0.12: allow explicit specification of the preferred map; but we still fall back if it is not available. */ if (strex->flags & gdFTEX_CHARMAP) { encoding = strex->charmap; } /* 2.0.29: we can return the font path if desired */ if (strex->flags & gdFTEX_RETURNFONTPATHNAME) { const unsigned int fontpath_len = strlen(font->fontpath); strex->fontpath = (char *) gdMalloc(fontpath_len + 1); if (strex->fontpath == NULL) { gdCacheDelete(tc_cache); gdMutexUnlock(gdFontCacheMutex); return "could not alloc full list of fonts"; } memcpy(strex->fontpath, font->fontpath, fontpath_len); strex->fontpath[fontpath_len] = 0; } } matrix.xx = (FT_Fixed) (cos_a * (1 << 16)); matrix.yx = (FT_Fixed) (sin_a * (1 << 16)); matrix.xy = -matrix.yx; matrix.yy = matrix.xx; /* set rotation transform */ FT_Set_Transform (face, &matrix, NULL); FT_New_Size (face, &platform_independent); FT_Activate_Size (platform_independent); if (FT_Set_Char_Size (face, 0, (FT_F26Dot6)(ptsize*64), METRIC_RES, METRIC_RES)) { gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Could not set character size"; } if (render) { FT_New_Size (face, &platform_specific); FT_Activate_Size (platform_specific); if (FT_Set_Char_Size (face, 0, (FT_F26Dot6)(ptsize*64), hdpi, vdpi)) { gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Could not set character size"; } } if (fg < 0) render_mode |= FT_LOAD_MONOCHROME; /* find requested charmap */ encodingfound = 0; for (i = 0; i < face->num_charmaps; i++) { charmap = face->charmaps[i]; #if ((defined(FREETYPE_MAJOR)) && (((FREETYPE_MAJOR == 2) && (((FREETYPE_MINOR == 1) && (FREETYPE_PATCH >= 3)) || (FREETYPE_MINOR > 1))) || (FREETYPE_MAJOR > 2))) if (encoding == gdFTEX_Unicode) { if (charmap->encoding == FT_ENCODING_MS_SYMBOL || charmap->encoding == FT_ENCODING_UNICODE || charmap->encoding == FT_ENCODING_ADOBE_CUSTOM || charmap->encoding == FT_ENCODING_ADOBE_STANDARD) { encodingfound++; break; } } else if (encoding == gdFTEX_Adobe_Custom) { if (charmap->encoding == FT_ENCODING_ADOBE_CUSTOM) { encodingfound++; break; } } else if (encoding == gdFTEX_Big5) { /* renamed sometime after freetype-2.1.4 */ #ifndef FT_ENCODING_BIG5 #define FT_ENCODING_BIG5 FT_ENCODING_MS_BIG5 #endif if (charmap->encoding == FT_ENCODING_BIG5) { encodingfound++; break; } } else if (encoding == gdFTEX_Shift_JIS) { /* renamed sometime after freetype-2.1.4 */ #ifndef FT_ENCODING_SJIS #define FT_ENCODING_SJIS FT_ENCODING_MS_SJIS #endif if (charmap->encoding == FT_ENCODING_SJIS) { encodingfound++; break; } } #else if (encoding == gdFTEX_Unicode) { if ((charmap->platform_id = 3 && charmap->encoding_id == 1) /* Windows Unicode */ || (charmap->platform_id == 3 && charmap->encoding_id == 0) /* Windows Symbol */ || (charmap->platform_id == 2 && charmap->encoding_id == 1) /* ISO Unicode */ || (charmap->platform_id == 0)) { /* Apple Unicode */ encodingfound++; break; } } else if (encoding == gdFTEX_Big5) { if (charmap->platform_id == 3 && charmap->encoding_id == 4) { /* Windows Big5 */ encodingfound++; break; } } else if (encoding == gdFTEX_Shift_JIS) { if (charmap->platform_id == 3 && charmap->encoding_id == 2) { /* Windows Sjis */ encodingfound++; break; } } #endif } if (encodingfound) { FT_Set_Charmap(face, charmap); } else { /* No character set found! */ gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "No character set found"; } #ifndef JISX0208 if (encoding == gdFTEX_Shift_JIS) { #endif if ((tmpstr = (char *) gdMalloc (BUFSIZ))) { any2eucjp (tmpstr, string, BUFSIZ); next = tmpstr; } else { next = string; } #ifndef JISX0208 } else { next = string; } #endif oldpenf.x = oldpenf.y = 0; /* for postscript xshow operator */ penf.x = penf.y = 0; /* running position of non-rotated glyphs */ text = (uint32_t*) gdCalloc (sizeof (uint32_t), strlen(next)); i = 0; while (*next) { int len; ch = *next; switch (encoding) { case gdFTEX_Unicode: { /* use UTF-8 mapping from ASCII */ len = gdTcl_UtfToUniChar (next, &ch); /* EAM DEBUG */ /* TBB: get this exactly right: 2.1.3 *or better*, all possible cases. */ /* 2.0.24: David R. Morrison: use the more complete ifdef here. */ #if ((defined(FREETYPE_MAJOR)) && (((FREETYPE_MAJOR == 2) && (((FREETYPE_MINOR == 1) && (FREETYPE_PATCH >= 3)) || (FREETYPE_MINOR > 1))) || (FREETYPE_MAJOR > 2))) if (charmap->encoding == FT_ENCODING_MS_SYMBOL) #else if (charmap->platform_id == 3 && charmap->encoding_id == 0) #endif /* Freetype 2.1 or better */ { /* I do not know the significance of the constant 0xf000. */ /* It was determined by inspection of the character codes */ /* stored in Microsoft font symbol.ttf */ ch |= 0xf000; } /* EAM DEBUG */ next += len; } break; case gdFTEX_Shift_JIS: { unsigned char c; int jiscode; c = *next; if (0xA1 <= c && c <= 0xFE) { next++; jiscode = 0x100 * (c & 0x7F) + ((*next) & 0x7F); ch = (jiscode >> 8) & 0xFF; jiscode &= 0xFF; if (ch & 1) jiscode += 0x40 - 0x21; else jiscode += 0x9E - 0x21; if (jiscode >= 0x7F) jiscode++; ch = (ch - 0x21) / 2 + 0x81; if (ch >= 0xA0) ch += 0x40; ch = (ch << 8) + jiscode; } else { ch = c & 0xFF; /* don't extend sign */ } if (*next) next++; } break; case gdFTEX_Big5: { /* * Big 5 mapping: * use "JIS-8 half-width katakana" coding from 8-bit characters. Ref: * ftp://ftp.ora.com/pub/examples/nutshell/ujip/doc/japan.inf-032092.sjs */ ch = (*next) & 0xFF; /* don't extend sign */ next++; if (ch >= 161 /* first code of JIS-8 pair */ && *next) { /* don't advance past '\0' */ /* TBB: Fix from Kwok Wah On: & 255 needed */ ch = (ch * 256) + ((*next) & 255); next++; } } break; case gdFTEX_Adobe_Custom: default: ch &= 0xFF; next++; break; } text[i] = ch; i++; } FT_Activate_Size (platform_independent); count = textLayout (text , i, face, strex, &info); if (!count) { gdFree (text); gdFree (tmpstr); gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Problem doing text layout"; } for (i = 0; i < count; i++) { FT_Activate_Size (platform_independent); ch = text[info[i].cluster]; /* carriage returns */ if (ch == '\r') { penf.x = 0; continue; } /* newlines */ if (ch == '\n') { /* 2.0.13: reset penf.x. Christopher J. Grayce */ penf.x = 0; penf.y += linespace * ptsize * 64 * METRIC_RES / 72; penf.y &= ~63; /* round down to 1/METRIC_RES */ continue; } glyph_index = info[i].index; /* When we know the position of the second or subsequent character, save the (kerned) advance from the preceeding character in the xshow vector */ if (i && strex && (strex->flags & gdFTEX_XSHOW)) { /* make sure we have enough allocation for two numbers so we don't have to recheck for the terminating number */ if (! xshow_alloc) { xshow_alloc = 100; strex->xshow = gdMalloc(xshow_alloc); if (!strex->xshow) { if (tmpstr) gdFree (tmpstr); gdFree(text); gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Problem allocating memory"; } xshow_pos = 0; } else if (xshow_pos + 20 > xshow_alloc) { xshow_alloc += 100; strex->xshow = gdReallocEx(strex->xshow, xshow_alloc); if (!strex->xshow) { if (tmpstr) gdFree (tmpstr); gdFree(text); gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Problem allocating memory"; } } xshow_pos += sprintf(strex->xshow + xshow_pos, "%g ", (double)(penf.x - oldpenf.x) * hdpi / (64 * METRIC_RES)); } oldpenf.x = penf.x; /* load glyph image into the slot (erase previous one) */ err = FT_Load_Glyph (face, glyph_index, render_mode); if (err) { if (tmpstr) gdFree (tmpstr); gdFree(text); gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Problem loading glyph"; } horiAdvance = info[i].x_advance; if (brect) { /* only if need brect */ glyph_min.x = penf.x + slot->metrics.horiBearingX; glyph_min.y = penf.y - slot->metrics.horiBearingY; #if 0 if (ch == ' ') { /* special case for trailing space */ glyph_max.x = penf.x + horiAdvance; } else { glyph_max.x = glyph_min.x + slot->metrics.width; } #else glyph_max.x = penf.x + horiAdvance; #endif glyph_max.y = glyph_min.y + slot->metrics.height; if (i==0) { total_min = glyph_min; total_max = glyph_max; } else { if (glyph_min.x < total_min.x) total_min.x = glyph_min.x; if (glyph_min.y < total_min.y) total_min.y = glyph_min.y; if (glyph_max.x > total_max.x) total_max.x = glyph_max.x; if (glyph_max.y > total_max.y) total_max.y = glyph_max.y; } } if (render) { FT_Activate_Size (platform_specific); /* load glyph again into the slot (erase previous one) - this time with scaling */ err = FT_Load_Glyph (face, glyph_index, render_mode); if (err) { if (tmpstr) gdFree (tmpstr); gdFree(text); gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Problem loading glyph"; } /* load and transform glyph image */ FT_Get_Glyph (slot, &image); if (image->format != ft_glyph_format_bitmap) { err = FT_Glyph_To_Bitmap (&image, ft_render_mode_normal, 0, 1); if (err) { FT_Done_Glyph(image); if (tmpstr) gdFree (tmpstr); gdFree(text); gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return "Problem rendering glyph"; } } /* now, draw to our target surface */ bm = (FT_BitmapGlyph) image; /* position rounded down to nearest pixel at current dpi (the estimate was rounded up to next 1/METRIC_RES, so this should fit) */ FT_Pos pen_x = penf.x + info[i].x_offset; FT_Pos pen_y = penf.y - info[i].y_offset; gdft_draw_bitmap (tc_cache, im, fg, bm->bitmap, (int)(x + (pen_x * cos_a + pen_y * sin_a)*hdpi/(METRIC_RES*64) + bm->left), (int)(y - (pen_x * sin_a - pen_y * cos_a)*vdpi/(METRIC_RES*64) - bm->top)); FT_Done_Glyph (image); } penf.x += horiAdvance; } gdFree(text); gdFree(info); /* Save the (unkerned) advance from the last character in the xshow vector */ if (strex && (strex->flags & gdFTEX_XSHOW) && strex->xshow) { sprintf(strex->xshow + xshow_pos, "%g", (double)(penf.x - oldpenf.x) * hdpi / (64 * METRIC_RES) ); } if (brect) { /* only if need brect */ double scalex = (double)hdpi / (64 * METRIC_RES); double scaley = (double)vdpi / (64 * METRIC_RES); /* rotate bounding rectangle, scale and round to int pixels, and translate */ brect[0] = x + (total_min.x * cos_a + total_max.y * sin_a)*scalex; brect[1] = y - (total_min.x * sin_a - total_max.y * cos_a)*scaley; brect[2] = x + (total_max.x * cos_a + total_max.y * sin_a)*scalex; brect[3] = y - (total_max.x * sin_a - total_max.y * cos_a)*scaley; brect[4] = x + (total_max.x * cos_a + total_min.y * sin_a)*scalex; brect[5] = y - (total_max.x * sin_a - total_min.y * cos_a)*scaley; brect[6] = x + (total_min.x * cos_a + total_min.y * sin_a)*scalex; brect[7] = y - (total_min.x * sin_a - total_min.y * cos_a)*scaley; } FT_Done_Size (platform_independent); if (render) FT_Done_Size (platform_specific); if (tmpstr) gdFree (tmpstr); gdCacheDelete (tc_cache); gdMutexUnlock (gdFontCacheMutex); return (char *) NULL; } #endif /* HAVE_LIBFREETYPE */ #ifdef HAVE_LIBFONTCONFIG /* Code to find font path, with special mapping for Postscript font names. * * Dag Lem */ #include /* #define NO_POSTSCRIPT_ALIAS 1 */ #ifndef NO_POSTSCRIPT_ALIAS typedef struct _PostscriptAlias { char* name; char* family; char* style; } PostscriptAlias; /* This table maps standard Postscript font names to URW Type 1 fonts. The mapping is converted from Ghostscript (Fontmap.GS) for use with fontconfig. */ static PostscriptAlias postscript_alias[] = { { "AvantGarde-Book", "URW Gothic L", "Book" }, { "AvantGarde-BookOblique", "URW Gothic L", "Book Oblique" }, { "AvantGarde-Demi", "URW Gothic L", "Demi" }, { "AvantGarde-DemiOblique", "URW Gothic L", "Demi Oblique" }, { "Bookman-Demi", "URW Bookman L", "Demi Bold" }, { "Bookman-DemiItalic", "URW Bookman L", "Demi Bold Italic" }, { "Bookman-Light", "URW Bookman L", "Light" }, { "Bookman-LightItalic", "URW Bookman L", "Light Italic" }, { "Courier", "Nimbus Mono L", "Regular" }, { "Courier-Oblique", "Nimbus Mono L", "Regular Oblique" }, { "Courier-Bold", "Nimbus Mono L", "Bold" }, { "Courier-BoldOblique", "Nimbus Mono L", "Bold Oblique" }, { "Helvetica", "Nimbus Sans L", "Regular" }, { "Helvetica-Oblique", "Nimbus Sans L", "Regular Italic" }, { "Helvetica-Bold", "Nimbus Sans L", "Bold" }, { "Helvetica-BoldOblique", "Nimbus Sans L", "Bold Italic" }, { "Helvetica-Narrow", "Nimbus Sans L", "Regular Condensed" }, { "Helvetica-Narrow-Oblique", "Nimbus Sans L", "Regular Condensed Italic" }, { "Helvetica-Narrow-Bold", "Nimbus Sans L", "Bold Condensed" }, { "Helvetica-Narrow-BoldOblique", "Nimbus Sans L", "Bold Condensed Italic" }, { "NewCenturySchlbk-Roman", "Century Schoolbook L", "Roman" }, { "NewCenturySchlbk-Italic", "Century Schoolbook L", "Italic" }, { "NewCenturySchlbk-Bold", "Century Schoolbook L", "Bold" }, { "NewCenturySchlbk-BoldItalic", "Century Schoolbook L", "Bold Italic" }, { "Palatino-Roman", "URW Palladio L", "Roman" }, { "Palatino-Italic", "URW Palladio L", "Italic" }, { "Palatino-Bold", "URW Palladio L", "Bold" }, { "Palatino-BoldItalic", "URW Palladio L", "Bold Italic" }, { "Symbol", "Standard Symbols L", "Regular" }, { "Times-Roman", "Nimbus Roman No9 L", "Regular" }, { "Times-Italic", "Nimbus Roman No9 L", "Regular Italic" }, { "Times-Bold", "Nimbus Roman No9 L", "Medium" }, { "Times-BoldItalic", "Nimbus Roman No9 L", "Medium Italic" }, { "ZapfChancery-MediumItalic", "URW Chancery L", "Medium Italic" }, { "ZapfDingbats", "Dingbats", "" }, }; #endif static FcPattern* find_font(FcPattern* pattern) { FcResult result; FcConfigSubstitute(0, pattern, FcMatchPattern); FcConfigSubstitute(0, pattern, FcMatchFont); FcDefaultSubstitute(pattern); return FcFontMatch(0, pattern, &result); } #ifndef NO_POSTSCRIPT_ALIAS static char* find_postscript_font(FcPattern **fontpattern, char* fontname) { FcPattern* font = NULL; size_t i; *fontpattern = NULL; for (i = 0; i < sizeof(postscript_alias)/sizeof(*postscript_alias); i++) { if (strcmp(fontname, postscript_alias[i].name) == 0) { FcChar8* family; FcPattern* pattern = FcPatternBuild(0, FC_FAMILY, FcTypeString, postscript_alias[i].family, FC_STYLE, FcTypeString, postscript_alias[i].style, (char*)0); font = find_font(pattern); FcPatternDestroy(pattern); if (!font) return "fontconfig: Couldn't find font."; if (FcPatternGetString(font, FC_FAMILY, 0, &family) != FcResultMatch) { FcPatternDestroy(font); return "fontconfig: Couldn't retrieve font family name."; } /* Check whether we got the font family we wanted. */ if (strcmp((const char *)family, postscript_alias[i].family) != 0) { FcPatternDestroy(font); return "fontconfig: Didn't find expected font family. Perhaps URW Type 1 fonts need installing?"; } break; } } *fontpattern = font; return NULL; } #endif static char * font_pattern(char **fontpath, char *fontpattern) { FcPattern* font = NULL; FcChar8* file; FcPattern* pattern; #ifndef NO_POSTSCRIPT_ALIAS char *error; #endif *fontpath = NULL; #ifndef NO_POSTSCRIPT_ALIAS error = find_postscript_font(&font, fontpattern); if (!font) { if (error) return error; #endif pattern = FcNameParse((const FcChar8 *)fontpattern); font = find_font(pattern); FcPatternDestroy(pattern); #ifndef NO_POSTSCRIPT_ALIAS } #endif if (!font) return "fontconfig: Couldn't find font."; if (FcPatternGetString(font, FC_FILE, 0, &file) != FcResultMatch) { FcPatternDestroy(font); return "fontconfig: Couldn't retrieve font file name."; } else { const unsigned int file_len = strlen((const char *)file); *fontpath = (char *) gdMalloc(file_len + 1); if (*fontpath == NULL) { return "could not alloc font path"; } memcpy(*fontpath, (const char *)file, file_len); (*fontpath)[file_len] = 0; } FcPatternDestroy(font); return NULL; } #endif /* HAVE_LIBFONTCONFIG */ #ifdef HAVE_LIBFREETYPE /* Look up font using font names as file names. */ static char * font_path(char **fontpath, char *name_list) { int font_found = 0; char *fontsearchpath, *fontlist; char *fullname = NULL; char *name, *dir; char *path; char *strtok_ptr = NULL; const unsigned int name_list_len = strlen(name_list); /* * Search the pathlist for any of a list of font names. */ *fontpath = NULL; fontsearchpath = getenv ("GDFONTPATH"); if (!fontsearchpath) fontsearchpath = DEFAULT_FONTPATH; path = (char *) gdMalloc(sizeof(char) * strlen(fontsearchpath) + 1); if( path == NULL ) { return "could not alloc full list of fonts"; } path[0] = 0; fontlist = (char *) gdMalloc(name_list_len + 1); if (fontlist == NULL) { gdFree(path); return "could not alloc full list of fonts"; } memcpy(fontlist, name_list, name_list_len); fontlist[name_list_len] = 0; /* * Must use gd_strtok_r else pointer corrupted by strtok in nested loop. */ for (name = gd_strtok_r (fontlist, LISTSEPARATOR, &strtok_ptr); name; name = gd_strtok_r (0, LISTSEPARATOR, &strtok_ptr)) { char *path_ptr = NULL; /* make a fresh copy each time - strtok corrupts it. */ sprintf (path, "%s", fontsearchpath); /* * Allocate an oversized buffer that is guaranteed to be * big enough for all paths to be tested. */ /* 2.0.22: Thorben Kundinger: +8 is needed, not +6. */ fullname = gdReallocEx(fullname, strlen (fontsearchpath) + strlen (name) + 8); if (!fullname) { gdFree(fontlist); gdFree(path); return "could not alloc full path of font"; } /* if name is an absolute or relative pathname then test directly */ if (strchr (name, '/') || (name[0] != 0 && name[1] == ':' && (name[2] == '/' || name[2] == '\\'))) { sprintf (fullname, "%s", name); if (access (fullname, R_OK) == 0) { font_found++; break; } } for (dir = gd_strtok_r (path, PATHSEPARATOR, &path_ptr); dir; dir = gd_strtok_r (0, PATHSEPARATOR, &path_ptr)) { if (strchr (name, '.')) { sprintf (fullname, "%s/%s", dir, name); if (access (fullname, R_OK) == 0) { font_found++; break; } else { continue; } } sprintf (fullname, "%s/%s.ttf", dir, name); if (access (fullname, R_OK) == 0) { font_found++; break; } sprintf (fullname, "%s/%s.pfa", dir, name); if (access (fullname, R_OK) == 0) { font_found++; break; } sprintf (fullname, "%s/%s.pfb", dir, name); if (access (fullname, R_OK) == 0) { font_found++; break; } sprintf (fullname, "%s/%s.dfont", dir, name); if (access (fullname, R_OK) == 0) { font_found++; break; } } if (font_found) break; } gdFree (path); if (fontlist != NULL) { gdFree (fontlist); fontlist = NULL; } if (!font_found) { gdFree (fullname); return "Could not find/open font"; } *fontpath = fullname; return NULL; } #endif /** * Function: gdFTUseFontConfig * * Enable or disable fontconfig by default. * * If GD is built without libfontconfig support, this function is a NOP. * * Parameters: * flag - Zero to disable, nonzero to enable. * * See also: * - */ BGD_DECLARE(int) gdFTUseFontConfig(int flag) { #ifdef HAVE_LIBFONTCONFIG fontConfigFlag = flag; return 1; #else (void)flag; return 0; #endif /* HAVE_LIBFONTCONFIG */ } libgd-2.3.0/src/gd_io.h0000664000175000017500000000605713635665516011571 00000000000000#ifndef GD_IO_H #define GD_IO_H 1 #include #ifdef __cplusplus extern "C" { #endif #ifdef VMS # define Putchar gdPutchar #endif /* Group: Types typedef: gdIOCtx gdIOCtx structures hold function pointers for doing image IO. Most of the gd functions that read and write files, such as also have variants that accept a structure; see and . Those who wish to provide their own custom routines to read and write images can populate a gdIOCtx structure with functions of their own devising to to read and write data. For image reading, the only mandatory functions are getC and getBuf, which must return the number of characters actually read, or a negative value on error or EOF. These functions must read the number of characters requested unless at the end of the file. For image writing, the only mandatory functions are putC and putBuf, which return the number of characters written; these functions must write the number of characters requested except in the event of an error. The seek and tell functions are only required in conjunction with the gd2 file format, which supports quick loading of partial images. The gd_free function will not be invoked when calling the standard Ctx functions; it is an implementation convenience when adding new data types to gd. For examples, see gd_png.c, gd_gd2.c, gd_jpeg.c, etc., all of which rely on gdIOCtx to implement the standard image read and write functions. > typedef struct gdIOCtx > { > int (*getC) (struct gdIOCtx *); > int (*getBuf) (struct gdIOCtx *, void *, int wanted); > > void (*putC) (struct gdIOCtx *, int); > int (*putBuf) (struct gdIOCtx *, const void *, int wanted); > > // seek must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! > int (*seek) (struct gdIOCtx *, const int); > long (*tell) (struct gdIOCtx *); > > void (*gd_free) (struct gdIOCtx *); > } gdIOCtx; */ typedef struct gdIOCtx { int (*getC)(struct gdIOCtx *); int (*getBuf)(struct gdIOCtx *, void *, int); void (*putC)(struct gdIOCtx *, int); int (*putBuf)(struct gdIOCtx *, const void *, int); /* seek must return 1 on SUCCESS, 0 on FAILURE. Unlike fseek! */ int (*seek)(struct gdIOCtx *, const int); long (*tell)(struct gdIOCtx *); void (*gd_free)(struct gdIOCtx *); void *data; } gdIOCtx; typedef struct gdIOCtx *gdIOCtxPtr; void Putword(int w, gdIOCtx *ctx); void Putchar(int c, gdIOCtx *ctx); void gdPutC(const unsigned char c, gdIOCtx *ctx); int gdPutBuf(const void *, int, gdIOCtx *); void gdPutWord(int w, gdIOCtx *ctx); void gdPutInt(int w, gdIOCtx *ctx); int gdGetC(gdIOCtx *ctx); int gdGetBuf(void *, int, gdIOCtx *); int gdGetByte(int *result, gdIOCtx *ctx); int gdGetWord(int *result, gdIOCtx *ctx); int gdGetWordLSB(signed short int *result, gdIOCtx *ctx); int gdGetInt(int *result, gdIOCtx *ctx); int gdGetIntLSB(signed int *result, gdIOCtx *ctx); int gdSeek(gdIOCtx *ctx, const int offset); long gdTell(gdIOCtx *ctx); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gd_io_ss.c0000664000175000017500000000524313634445460012256 00000000000000/* * io_ss.c * * Implements the Source/Sink interface. * * As will all I/O modules, most functions are for local use only (called * via function pointers in the I/O context). * * The Source/Sink model is the primary 'user' interface for alternate data * sources; the IOCtx interface is intended (at least in version 1.5) to be * used internally until it settles down a bit. * * This module just layers the Source/Sink interface on top of the IOCtx; no * support is provided for tell/seek, so GD2 writing is not possible, and * retrieving parts of GD2 files is also not possible. * * A new SS context does not need to be created with both a Source and a Sink. * * Written/Modified 1999, Philip Warner. * */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include "gd.h" #include "gdhelpers.h" /* this is used for creating images in main memory */ typedef struct ssIOCtx { gdIOCtx ctx; gdSourcePtr src; gdSinkPtr snk; } ssIOCtx; typedef struct ssIOCtx *ssIOCtxPtr; static int sourceGetbuf(gdIOCtx *, void *, int); static int sourceGetchar(gdIOCtx *ctx); static int sinkPutbuf(gdIOCtx *ctx, const void *buf, int size); static void sinkPutchar(gdIOCtx *ctx, int a); static void gdFreeSsCtx(gdIOCtx *ctx); /* Function: gdNewSSCtx Return data as a dynamic pointer. */ BGD_DECLARE(gdIOCtx *) gdNewSSCtx(gdSourcePtr src, gdSinkPtr snk) { ssIOCtxPtr ctx; ctx = (ssIOCtxPtr)gdMalloc(sizeof (ssIOCtx)); if (ctx == NULL) { return NULL; } ctx->src = src; ctx->snk = snk; ctx->ctx.getC = sourceGetchar; ctx->ctx.getBuf = sourceGetbuf; ctx->ctx.putC = sinkPutchar; ctx->ctx.putBuf = sinkPutbuf; ctx->ctx.tell = NULL; ctx->ctx.seek = NULL; ctx->ctx.gd_free = gdFreeSsCtx; return (gdIOCtx *)ctx; } static void gdFreeSsCtx(gdIOCtx *ctx) { gdFree(ctx); } static int sourceGetbuf(gdIOCtx *ctx, void *buf, int size) { ssIOCtx *lctx; int res; lctx = (ssIOCtx *)ctx; res = ((lctx->src->source)(lctx->src->context, buf, size)); /* * Translate the return values from the Source object: * 0 is EOF, -1 is error */ if (res == 0) { return 0; } else if (res < 0) { return 0; } else { return res; } } static int sourceGetchar(gdIOCtx *ctx) { int res; unsigned char buf; res = sourceGetbuf(ctx, &buf, 1); if (res == 1) { return buf; } else { return EOF; } } static int sinkPutbuf(gdIOCtx *ctx, const void *buf, int size) { ssIOCtxPtr lctx; int res; lctx = (ssIOCtx *)ctx; res = (lctx->snk->sink)(lctx->snk->context, buf, size); if (res <= 0) { return 0; } else { return res; } } static void sinkPutchar(gdIOCtx *ctx, int a) { unsigned char b; b = a; sinkPutbuf(ctx, &b, 1); } libgd-2.3.0/src/gd_jpeg.c0000664000175000017500000010732513635665516012102 00000000000000/* * gd_jpeg.c: Read and write JPEG (JFIF) format image files using the * gd graphics library (http://www.libgd.org). * * This software is based in part on the work of the Independent JPEG * Group. For more information on the IJG JPEG software (and JPEG * documentation, etc.), see ftp://ftp.uu.net/graphics/jpeg/. * * NOTE: IJG 12-bit JSAMPLE (BITS_IN_JSAMPLE == 12) mode is not * supported at all on read in gd 2.0, and is not supported on write * except for palette images, which is sort of pointless (TBB). Even that * has never been tested according to DB. * * Copyright 2000 Doug Becker, mailto:thebeckers@home.com * * Modification 4/18/00 TBB: JPEG_DEBUG rather than just DEBUG, * so VC++ builds don't spew to standard output, causing * major CGI brain damage * * 2.0.10: more efficient gdImageCreateFromJpegCtx, thanks to * Christian Aberger */ /** * File: JPEG IO * * Read and write JPEG images. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include "gd.h" #include "gd_errors.h" /* TBB: move this up so include files are not brought in */ /* JCE: arrange HAVE_LIBJPEG so that it can be set in gd.h */ #ifdef HAVE_LIBJPEG #include "gdhelpers.h" #if defined(_WIN32) && defined(__MINGW32__) # define HAVE_BOOLEAN #endif /* 1.8.1: remove dependency on jinclude.h */ #include "jpeglib.h" #include "jerror.h" static const char *const GD_JPEG_VERSION = "1.0"; typedef struct _jmpbuf_wrapper { jmp_buf jmpbuf; int ignore_warning; } jmpbuf_wrapper; static void jpeg_emit_message(j_common_ptr jpeg_info, int level) { char message[JMSG_LENGTH_MAX]; jmpbuf_wrapper *jmpbufw; int ignore_warning = 0; jmpbufw = (jmpbuf_wrapper *) jpeg_info->client_data; if (jmpbufw != 0) { ignore_warning = jmpbufw->ignore_warning; } (jpeg_info->err->format_message)(jpeg_info,message); /* It is a warning message */ if (level < 0) { /* display only the 1st warning, as would do a default libjpeg * unless strace_level >= 3 */ if ((jpeg_info->err->num_warnings == 0) || (jpeg_info->err->trace_level >= 3)) { if (!ignore_warning) { gd_error("gd-jpeg, libjpeg: recoverable error: %s\n", message); } } jpeg_info->err->num_warnings++; } else { /* strace msg, Show it if trace_level >= level. */ if (jpeg_info->err->trace_level >= level) { if (!ignore_warning) { gd_error("gd-jpeg, libjpeg: strace message: %s\n", message); } } } } /* Called by the IJG JPEG library upon encountering a fatal error */ static void fatal_jpeg_error(j_common_ptr cinfo) { jmpbuf_wrapper *jmpbufw; char buffer[JMSG_LENGTH_MAX]; (*cinfo->err->format_message)(cinfo, buffer); gd_error_ex(GD_WARNING, "gd-jpeg: JPEG library reports unrecoverable error: %s", buffer); jmpbufw = (jmpbuf_wrapper *)cinfo->client_data; jpeg_destroy(cinfo); if(jmpbufw != 0) { longjmp(jmpbufw->jmpbuf, 1); gd_error_ex(GD_ERROR, "gd-jpeg: EXTREMELY fatal error: longjmp returned control; terminating\n"); } else { gd_error_ex(GD_ERROR, "gd-jpeg: EXTREMELY fatal error: jmpbuf unrecoverable; terminating\n"); } exit(99); } static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality); /* * Write IM to OUTFILE as a JFIF-formatted JPEG image, using quality * QUALITY. If QUALITY is in the range 0-100, increasing values * represent higher quality but also larger image size. If QUALITY is * negative, the IJG JPEG library's default quality is used (which * should be near optimal for many applications). See the IJG JPEG * library documentation for more details. */ /* Function: gdImageJpeg outputs the specified image to the specified file in JPEG format. The file must be open for writing. Under MSDOS and all versions of Windows, it is important to use "wb" as opposed to simply "w" as the mode when opening the file, and under Unix there is no penalty for doing so. does not close the file; your code must do so. If _quality_ is negative, the default IJG JPEG quality value (which should yield a good general quality / size tradeoff for most situations) is used. Otherwise, for practical purposes, _quality_ should be a value in the range 0-95, higher quality values usually implying both higher quality and larger image sizes. If you have set image interlacing using , this function will interpret that to mean you wish to output a progressive JPEG. Some programs (e.g., Web browsers) can display progressive JPEGs incrementally; this can be useful when browsing over a relatively slow communications link, for example. Progressive JPEGs can also be slightly smaller than sequential (non-progressive) JPEGs. Variants: stores the image using a struct. stores the image to RAM. Parameters: im - The image to save outFile - The FILE pointer to write to. quality - Compression quality (0-95, 0 means use the default). Returns: Nothing. Example: (start code) gdImagePtr im; int black, white; FILE *out; // Create the image im = gdImageCreate(100, 100); // Allocate background white = gdImageColorAllocate(im, 255, 255, 255); // Allocate drawing color black = gdImageColorAllocate(im, 0, 0, 0); // Draw rectangle gdImageRectangle(im, 0, 0, 99, 99, black); // Open output file in binary mode out = fopen("rect.jpg", "wb"); // Write JPEG using default quality gdImageJpeg(im, out, -1); // Close file fclose(out); // Destroy image gdImageDestroy(im); (end code) */ BGD_DECLARE(void) gdImageJpeg(gdImagePtr im, FILE *outFile, int quality) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageJpegCtx(im, out, quality); out->gd_free(out); } /* Function: gdImageJpegPtr Identical to except that it returns a pointer to a memory area with the JPEG data. This memory must be freed by the caller when it is no longer needed. The caller *must* invoke , not free(). This is because it is not guaranteed that libgd will use the same implementation of malloc, free, etc. as your proggram. The 'size' parameter receives the total size of the block of memory. Parameters: im - The image to write size - Output: the size of the resulting image. quality - Compression quality. Returns: A pointer to the JPEG data or NULL if an error occurred. */ BGD_DECLARE(void *) gdImageJpegPtr(gdImagePtr im, int *size, int quality) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) return NULL; if (!_gdImageJpegCtx(im, out, quality)) { rv = gdDPExtractData(out, size); } else { rv = NULL; } out->gd_free(out); return rv; } void jpeg_gdIOCtx_dest(j_compress_ptr cinfo, gdIOCtx *outfile); /* Function: gdImageJpegCtx Write the image as JPEG data via a . See for more details. Parameters: im - The image to write. outfile - The output sink. quality - Image quality. */ BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) { _gdImageJpegCtx(im, outfile, quality); } /* returns 0 on success, 1 on failure */ static int _gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) { struct jpeg_compress_struct cinfo; struct jpeg_error_mgr jerr; int i, j, jidx; /* volatile so we can gdFree it on return from longjmp */ volatile JSAMPROW row = 0; JSAMPROW rowptr[1]; jmpbuf_wrapper jmpbufw; JDIMENSION nlines; char comment[255]; #ifdef JPEG_DEBUG gd_error_ex(GD_DEBUG, "gd-jpeg: gd JPEG version %s\n", GD_JPEG_VERSION); gd_error_ex(GD_DEBUG, "gd-jpeg: JPEG library version %d, %d-bit sample values\n", JPEG_LIB_VERSION, BITS_IN_JSAMPLE); if (!im->trueColor) { for(i = 0; i < im->colorsTotal; i++) { if(!im->open[i]) { gd_error_ex(GD_DEBUG, "gd-jpeg: gd colormap index %d: (%d, %d, %d)\n", i, im->red[i], im->green[i], im->blue[i]); } } } #endif /* JPEG_DEBUG */ memset(&cinfo, 0, sizeof(cinfo)); memset(&jerr, 0, sizeof(jerr)); cinfo.err = jpeg_std_error(&jerr); cinfo.client_data = &jmpbufw; if(setjmp(jmpbufw.jmpbuf) != 0) { /* we're here courtesy of longjmp */ if(row) { gdFree(row); } return 1; } cinfo.err->emit_message = jpeg_emit_message; cinfo.err->error_exit = fatal_jpeg_error; jpeg_create_compress(&cinfo); cinfo.image_width = im->sx; cinfo.image_height = im->sy; cinfo.input_components = 3; /* # of color components per pixel */ cinfo.in_color_space = JCS_RGB; /* colorspace of input image */ jpeg_set_defaults(&cinfo); cinfo.density_unit = 1; cinfo.X_density = im->res_x; cinfo.Y_density = im->res_y; if(quality >= 0) { jpeg_set_quality(&cinfo, quality, TRUE); if (quality >= 90) { cinfo.comp_info[0].h_samp_factor = 1; cinfo.comp_info[0].v_samp_factor = 1; } } /* If user requests interlace, translate that to progressive JPEG */ if(gdImageGetInterlaced(im)) { #ifdef JPEG_DEBUG gd_error_ex(GD_DEBUG, "gd-jpeg: interlace set, outputting progressive JPEG image\n"); #endif jpeg_simple_progression(&cinfo); } jpeg_gdIOCtx_dest(&cinfo, outfile); row = (JSAMPROW)gdCalloc(1, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE)); if(row == 0) { gd_error("gd-jpeg: error: unable to allocate JPEG row structure: gdCalloc returns NULL\n"); jpeg_destroy_compress(&cinfo); return 1; } rowptr[0] = row; jpeg_start_compress(&cinfo, TRUE); sprintf(comment, "CREATOR: gd-jpeg v%s (using IJG JPEG v%d),", GD_JPEG_VERSION, JPEG_LIB_VERSION); if(quality >= 0) { sprintf (comment + strlen(comment), " quality = %d\n", quality); } else { strcat(comment + strlen(comment), " default quality\n"); } jpeg_write_marker(&cinfo, JPEG_COM, (unsigned char *) comment, (unsigned int)strlen(comment)); if(im->trueColor) { #if BITS_IN_JSAMPLE == 12 gd_error( "gd-jpeg: error: jpeg library was compiled for 12-bit\n" "precision. This is mostly useless, because JPEGs on the web are\n" "8-bit and such versions of the jpeg library won't read or write\n" "them. GD doesn't support these unusual images. Edit your\n" "jmorecfg.h file to specify the correct precision and completely\n" "'make clean' and 'make install' libjpeg again. Sorry.\n" ); goto error; #endif /* BITS_IN_JSAMPLE == 12 */ for(i = 0; i < im->sy; i++) { for(jidx = 0, j = 0; j < im->sx; j++) { int val = im->tpixels[i][j]; row[jidx++] = gdTrueColorGetRed(val); row[jidx++] = gdTrueColorGetGreen(val); row[jidx++] = gdTrueColorGetBlue(val); } nlines = jpeg_write_scanlines(&cinfo, rowptr, 1); if(nlines != 1) { gd_error("gd_jpeg: warning: jpeg_write_scanlines returns %u -- expected 1\n", nlines); } } } else { for(i = 0; i < im->sy; i++) { for(jidx = 0, j = 0; j < im->sx; j++) { int idx = im->pixels[i][j]; /* * NB: Although gd RGB values are ints, their max value is * 255 (see the documentation for gdImageColorAllocate()) * -- perfect for 8-bit JPEG encoding (which is the norm) */ #if BITS_IN_JSAMPLE == 8 row[jidx++] = im->red[idx]; row[jidx++] = im->green[idx]; row[jidx++] = im->blue[idx]; #elif BITS_IN_JSAMPLE == 12 row[jidx++] = im->red[idx] << 4; row[jidx++] = im->green[idx] << 4; row[jidx++] = im->blue[idx] << 4; #else #error IJG JPEG library BITS_IN_JSAMPLE value must be 8 or 12 #endif } nlines = jpeg_write_scanlines(&cinfo, rowptr, 1); if(nlines != 1) { gd_error("gd_jpeg: warning: jpeg_write_scanlines" " returns %u -- expected 1\n", nlines); } } } jpeg_finish_compress(&cinfo); jpeg_destroy_compress(&cinfo); gdFree(row); return 0; } /* Function: gdImageCreateFromJpeg See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromJpeg(FILE *inFile) { return gdImageCreateFromJpegEx(inFile, 1); } /* Function: gdImageCreateFromJpegEx is called to load truecolor images from JPEG format files. Invoke with an already opened pointer to a file containing the desired image. returns a to the new truecolor image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a JPEG image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . *The returned image is always a truecolor image.* Variants: creates an image from JPEG data already in memory. reads its data via the function pointers in a structure. , and are equivalent to calling their _Ex_-named counterparts with an ignore_warning set to 1 (i.e. TRUE). Parameters: infile - The input FILE pointer. ignore_warning - Flag. If true, ignores recoverable warnings. Returns: A pointer to the new *truecolor* image. This will need to be destroyed with once it is no longer needed. On error, returns NULL. Example: (start code) gdImagePtr im; FILE *in; in = fopen("myjpeg.jpg", "rb"); im = gdImageCreateFromJpegEx(in, GD_TRUE); fclose(in); // ... Use the image ... gdImageDestroy(im); (end code) */ BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegEx(FILE *inFile, int ignore_warning) { gdImagePtr im; gdIOCtx *in = gdNewFileCtx(inFile); if (in == NULL) return NULL; im = gdImageCreateFromJpegCtxEx(in, ignore_warning); in->gd_free(in); return im; } /* Function: gdImageCreateFromJpegPtr Parameters: size - size of JPEG data in bytes. data - pointer to JPEG data. See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtr(int size, void *data) { return gdImageCreateFromJpegPtrEx(size, data, 1); } /* Function: gdImageCreateFromJpegPtrEx Parameters: size - size of JPEG data in bytes. data - pointer to JPEG data. ignore_warning - if true, ignore recoverable warnings See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtrEx(int size, void *data, int ignore_warning) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); if(!in) { return 0; } im = gdImageCreateFromJpegCtxEx(in, ignore_warning); in->gd_free(in); return im; } void jpeg_gdIOCtx_src(j_decompress_ptr cinfo, gdIOCtx *infile); static int CMYKToRGB(int c, int m, int y, int k, int inverted); /* Function: gdImageCreateFromJpegCtx See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtx(gdIOCtx *infile) { return gdImageCreateFromJpegCtxEx(infile, 1); } /* Function: gdImageCreateFromJpegCtxEx See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtxEx(gdIOCtx *infile, int ignore_warning) { struct jpeg_decompress_struct cinfo; struct jpeg_error_mgr jerr; jmpbuf_wrapper jmpbufw; /* volatile so we can gdFree them after longjmp */ volatile JSAMPROW row = 0; volatile gdImagePtr im = 0; JSAMPROW rowptr[1]; JDIMENSION i, j; int retval; JDIMENSION nrows; int channels = 3; int inverted = 0; #ifdef JPEG_DEBUG gd_error_ex(GD_DEBUG, "gd-jpeg: gd JPEG version %s\n", GD_JPEG_VERSION); gd_error_ex(GD_DEBUG, "gd-jpeg: JPEG library version %d, %d-bit sample values\n", JPEG_LIB_VERSION, BITS_IN_JSAMPLE); gd_error_ex(GD_DEBUG, "sizeof: %d\n", sizeof(struct jpeg_decompress_struct)); #endif memset(&cinfo, 0, sizeof(cinfo)); memset(&jerr, 0, sizeof(jerr)); jmpbufw.ignore_warning = ignore_warning; cinfo.err = jpeg_std_error(&jerr); cinfo.client_data = &jmpbufw; cinfo.err->emit_message = jpeg_emit_message; if(setjmp(jmpbufw.jmpbuf) != 0) { /* we're here courtesy of longjmp */ if(row) { gdFree(row); } if(im) { gdImageDestroy(im); } return 0; } cinfo.err->error_exit = fatal_jpeg_error; jpeg_create_decompress(&cinfo); jpeg_gdIOCtx_src(&cinfo, infile); /* 2.0.22: save the APP14 marker to check for Adobe Photoshop CMYK * files with inverted components. */ jpeg_save_markers(&cinfo, JPEG_APP0 + 14, 256); retval = jpeg_read_header(&cinfo, TRUE); if(retval != JPEG_HEADER_OK) { gd_error("gd-jpeg: warning: jpeg_read_header returns" " %d, expected %d\n", retval, JPEG_HEADER_OK); } if(cinfo.image_height > INT_MAX) { gd_error("gd-jpeg: warning: JPEG image height (%u) is" " greater than INT_MAX (%d) (and thus greater than" " gd can handle)", cinfo.image_height, INT_MAX); } if(cinfo.image_width > INT_MAX) { gd_error("gd-jpeg: warning: JPEG image width (%u) is" " greater than INT_MAX (%d) (and thus greater than" " gd can handle)\n", cinfo.image_width, INT_MAX); } im = gdImageCreateTrueColor((int)cinfo.image_width, (int)cinfo.image_height); if(im == 0) { gd_error("gd-jpeg error: cannot allocate gdImage struct\n"); goto error; } /* check if the resolution is specified */ switch (cinfo.density_unit) { case 1: im->res_x = cinfo.X_density; im->res_y = cinfo.Y_density; break; case 2: im->res_x = DPCM2DPI(cinfo.X_density); im->res_y = DPCM2DPI(cinfo.Y_density); break; } /* 2.0.22: very basic support for reading CMYK colorspace files. Nice for * thumbnails but there's no support for fussy adjustment of the * assumed properties of inks and paper. */ if((cinfo.jpeg_color_space == JCS_CMYK) || (cinfo.jpeg_color_space == JCS_YCCK)) { cinfo.out_color_space = JCS_CMYK; } else { cinfo.out_color_space = JCS_RGB; } if(jpeg_start_decompress(&cinfo) != TRUE) { gd_error("gd-jpeg: warning: jpeg_start_decompress" " reports suspended data source\n"); } #ifdef JPEG_DEBUG gd_error_ex(GD_DEBUG, "gd-jpeg: JPEG image information:"); if(cinfo.saw_JFIF_marker) { gd_error_ex(GD_DEBUG, " JFIF version %d.%.2d", (int)cinfo.JFIF_major_version, (int)cinfo.JFIF_minor_version); } else if(cinfo.saw_Adobe_marker) { gd_error_ex(GD_DEBUG, " Adobe format"); } else { gd_error_ex(GD_DEBUG, " UNKNOWN format"); } gd_error_ex(GD_DEBUG, " %ux%u (raw) / %ux%u (scaled) %d-bit", cinfo.image_width, cinfo.image_height, cinfo.output_width, cinfo.output_height, cinfo.data_precision ); gd_error_ex(GD_DEBUG, " %s", (cinfo.progressive_mode ? "progressive" : "baseline")); gd_error_ex(GD_DEBUG, " image, %d quantized colors, ", cinfo.actual_number_of_colors); switch(cinfo.jpeg_color_space) { case JCS_GRAYSCALE: gd_error_ex(GD_DEBUG, "grayscale"); break; case JCS_RGB: gd_error_ex(GD_DEBUG, "RGB"); break; case JCS_YCbCr: gd_error_ex(GD_DEBUG, "YCbCr (a.k.a. YUV)"); break; case JCS_CMYK: gd_error_ex(GD_DEBUG, "CMYK"); break; case JCS_YCCK: gd_error_ex(GD_DEBUG, "YCbCrK"); break; default: gd_error_ex(GD_DEBUG, "UNKNOWN (value: %d)", (int)cinfo.jpeg_color_space); break; } gd_error_ex(GD_DEBUG, " colorspace\n"); fflush(stdout); #endif /* JPEG_DEBUG */ /* REMOVED by TBB 2/12/01. This field of the structure is * documented as private, and sure enough it's gone in the * latest libjpeg, replaced by something else. Unfortunately * there is still no right way to find out if the file was * progressive or not; just declare your intent before you * write one by calling gdImageInterlace(im, 1) yourself. * After all, we're not really supposed to rework JPEGs and * write them out again anyway. Lossy compression, remember? */ #if 0 gdImageInterlace (im, cinfo.progressive_mode != 0); #endif if(cinfo.out_color_space == JCS_RGB) { if(cinfo.output_components != 3) { gd_error("gd-jpeg: error: JPEG color quantization" " request resulted in output_components == %d" " (expected 3 for RGB)\n", cinfo.output_components); goto error; } channels = 3; } else if(cinfo.out_color_space == JCS_CMYK) { jpeg_saved_marker_ptr marker; if(cinfo.output_components != 4) { gd_error("gd-jpeg: error: JPEG color quantization" " request resulted in output_components == %d" " (expected 4 for CMYK)\n", cinfo.output_components); goto error; } channels = 4; marker = cinfo.marker_list; while(marker) { if( (marker->marker == (JPEG_APP0 + 14)) && (marker->data_length >= 12) && (!strncmp((const char *)marker->data, "Adobe", 5))) { inverted = 1; break; } marker = marker->next; } } else { gd_error("gd-jpeg: error: unexpected colorspace\n"); goto error; } #if BITS_IN_JSAMPLE == 12 gd_error_ex(GD_ERROR, "gd-jpeg: error: jpeg library was compiled for 12-bit\n" "precision. This is mostly useless, because JPEGs on the web are\n" "8-bit and such versions of the jpeg library won't read or write\n" "them. GD doesn't support these unusual images. Edit your\n" "jmorecfg.h file to specify the correct precision and completely\n" "'make clean' and 'make install' libjpeg again. Sorry.\n"); goto error; #endif /* BITS_IN_JSAMPLE == 12 */ row = gdCalloc(cinfo.output_width *channels, sizeof(JSAMPLE)); if(row == 0) { gd_error("gd-jpeg: error: unable to allocate row for" " JPEG scanline: gdCalloc returns NULL\n"); goto error; } rowptr[0] = row; if(cinfo.out_color_space == JCS_CMYK) { for(i = 0; i < cinfo.output_height; i++) { register JSAMPROW currow = row; register int *tpix = im->tpixels[i]; nrows = jpeg_read_scanlines(&cinfo, rowptr, 1); if(nrows != 1) { gd_error("gd-jpeg: error: jpeg_read_scanlines" " returns %u, expected 1\n", nrows); goto error; } for(j = 0; j < cinfo.output_width; j++, currow += 4, tpix++) { *tpix = CMYKToRGB(currow[0], currow[1], currow[2], currow[3], inverted); } } } else { for(i = 0; i < cinfo.output_height; i++) { register JSAMPROW currow = row; register int *tpix = im->tpixels[i]; nrows = jpeg_read_scanlines(&cinfo, rowptr, 1); if(nrows != 1) { gd_error("gd-jpeg: error: jpeg_read_scanlines" " returns %u, expected 1\n", nrows); goto error; } for(j = 0; j < cinfo.output_width; j++, currow += 3, tpix++) { *tpix = gdTrueColor(currow[0], currow[1], currow[2]); } } } if(jpeg_finish_decompress (&cinfo) != TRUE) { gd_error("gd-jpeg: warning: jpeg_finish_decompress" " reports suspended data source\n"); } /* TBB 2.0.29: we should do our best to read whatever we can read, and a * warning is a warning. A fatal error on warnings doesn't make sense. */ #if 0 /* This was originally added by Truxton Fulton */ if (cinfo.err->num_warnings > 0) goto error; #endif jpeg_destroy_decompress(&cinfo); gdFree(row); return im; error: jpeg_destroy_decompress(&cinfo); if(row) { gdFree(row); } if(im) { gdImageDestroy(im); } return 0; } /* A very basic conversion approach, TBB */ static int CMYKToRGB(int c, int m, int y, int k, int inverted) { if(inverted) { c = 255 - c; m = 255 - m; y = 255 - y; k = 255 - k; } return gdTrueColor( (255 - c) * (255 - k) / 255, (255 - m) * (255 - k) / 255, (255 - y) * (255 - k) / 255 ); #if 0 if (inverted) { c = 255 - c; m = 255 - m; y = 255 - y; k = 255 - k; } c = c * (255 - k) / 255 + k; if (c > 255) { c = 255; } if (c < 0) { c = 0; } m = m * (255 - k) / 255 + k; if (m > 255) { m = 255; } if (m < 0) { m = 0; } y = y * (255 - k) / 255 + k; if (y > 255) { y = 255; } if (y < 0) { y = 0; } c = 255 - c; m = 255 - m; y = 255 - y; return gdTrueColor (c, m, y); #endif } /* * gdIOCtx JPEG data sources and sinks, T. Boutell * almost a simple global replace from T. Lane's stdio versions. */ /* Expanded data source object for gdIOCtx input */ typedef struct { struct jpeg_source_mgr pub; /* public fields */ gdIOCtx *infile; /* source stream */ unsigned char *buffer; /* start of buffer */ boolean start_of_file; /* have we gotten any data yet? */ } my_source_mgr; typedef my_source_mgr *my_src_ptr; #define INPUT_BUF_SIZE 4096 /* choose an efficiently fread'able size */ /* * Initialize source --- called by jpeg_read_header * before any data is actually read. */ void init_source(j_decompress_ptr cinfo) { my_src_ptr src = (my_src_ptr)cinfo->src; /* We reset the empty-input-file flag for each image, * but we don't clear the input buffer. * This is correct behavior for reading a series of images from one source. */ src->start_of_file = TRUE; } /* * Fill the input buffer --- called whenever buffer is emptied. * * In typical applications, this should read fresh data into the buffer * (ignoring the current state of next_input_byte & bytes_in_buffer), * reset the pointer & count to the start of the buffer, and return TRUE * indicating that the buffer has been reloaded. It is not necessary to * fill the buffer entirely, only to obtain at least one more byte. * * There is no such thing as an EOF return. If the end of the file has been * reached, the routine has a choice of ERREXIT() or inserting fake data into * the buffer. In most cases, generating a warning message and inserting a * fake EOI marker is the best course of action --- this will allow the * decompressor to output however much of the image is there. However, * the resulting error message is misleading if the real problem is an empty * input file, so we handle that case specially. * * In applications that need to be able to suspend compression due to input * not being available yet, a FALSE return indicates that no more data can be * obtained right now, but more may be forthcoming later. In this situation, * the decompressor will return to its caller (with an indication of the * number of scanlines it has read, if any). The application should resume * decompression after it has loaded more data into the input buffer. Note * that there are substantial restrictions on the use of suspension --- see * the documentation. * * When suspending, the decompressor will back up to a convenient restart point * (typically the start of the current MCU). next_input_byte & bytes_in_buffer * indicate where the restart point will be if the current call returns FALSE. * Data beyond this point must be rescanned after resumption, so move it to * the front of the buffer rather than discarding it. */ #define END_JPEG_SEQUENCE "\r\n[*]--:END JPEG:--[*]\r\n" boolean fill_input_buffer(j_decompress_ptr cinfo) { my_src_ptr src = (my_src_ptr)cinfo->src; /* 2.0.12: signed size. Thanks to Geert Jansen */ /* 2.0.14: some platforms (mingw-msys) don't have ssize_t. Call * an int an int. */ int nbytes = 0; memset(src->buffer, 0, INPUT_BUF_SIZE); while(nbytes < INPUT_BUF_SIZE) { int got = gdGetBuf(src->buffer + nbytes, INPUT_BUF_SIZE - nbytes, src->infile); if((got == EOF) || (got == 0)) { /* EOF or error. If we got any data, don't worry about it. * If we didn't, then this is unexpected. */ if(!nbytes) { nbytes = -1; } break; } nbytes += got; } if(nbytes <= 0) { if(src->start_of_file) { /* Treat empty input file as fatal error */ ERREXIT(cinfo, JERR_INPUT_EMPTY); } WARNMS(cinfo, JWRN_JPEG_EOF); /* Insert a fake EOI marker */ src->buffer[0] = (unsigned char)0xFF; src->buffer[1] = (unsigned char)JPEG_EOI; nbytes = 2; } src->pub.next_input_byte = src->buffer; src->pub.bytes_in_buffer = nbytes; src->start_of_file = FALSE; return TRUE; } /* * Skip data --- used to skip over a potentially large amount of * uninteresting data (such as an APPn marker). * * Writers of suspendable-input applications must note that skip_input_data * is not granted the right to give a suspension return. If the skip extends * beyond the data currently in the buffer, the buffer can be marked empty so * that the next read will cause a fill_input_buffer call that can suspend. * Arranging for additional bytes to be discarded before reloading the input * buffer is the application writer's problem. */ void skip_input_data(j_decompress_ptr cinfo, long num_bytes) { my_src_ptr src = (my_src_ptr)cinfo->src; /* Just a dumb implementation for now. Not clear that being smart is worth * any trouble anyway --- large skips are infrequent. */ if(num_bytes > 0) { while(num_bytes > (long)src->pub.bytes_in_buffer) { num_bytes -= (long)src->pub.bytes_in_buffer; (void)fill_input_buffer(cinfo); /* note we assume that fill_input_buffer will never return FALSE, * so suspension need not be handled. */ } src->pub.next_input_byte += (size_t)num_bytes; src->pub.bytes_in_buffer -= (size_t)num_bytes; } } /* * An additional method that can be provided by data source modules is the * resync_to_restart method for error recovery in the presence of RST markers. * For the moment, this source module just uses the default resync method * provided by the JPEG library. That method assumes that no backtracking * is possible. */ /* * Terminate source --- called by jpeg_finish_decompress * after all data has been read. Often a no-op. * * NB: *not* called by jpeg_abort or jpeg_destroy; surrounding * application must deal with any cleanup that should happen even * for error exit. */ void term_source(j_decompress_ptr cinfo) { (void)cinfo; } /* * Prepare for input from a gdIOCtx stream. * The caller must have already opened the stream, and is responsible * for closing it after finishing decompression. */ void jpeg_gdIOCtx_src(j_decompress_ptr cinfo, gdIOCtx *infile) { my_src_ptr src; /* The source object and input buffer are made permanent so that a series * of JPEG images can be read from the same file by calling jpeg_gdIOCtx_src * only before the first one. (If we discarded the buffer at the end of * one image, we'd likely lose the start of the next one.) * This makes it unsafe to use this manager and a different source * manager serially with the same JPEG object. Caveat programmer. */ if(cinfo->src == NULL) { /* first time for this JPEG object? */ cinfo->src = (struct jpeg_source_mgr *) (*cinfo->mem->alloc_small)((j_common_ptr)cinfo, JPOOL_PERMANENT, sizeof(my_source_mgr)); src = (my_src_ptr)cinfo->src; src->buffer = (unsigned char *) (*cinfo->mem->alloc_small)((j_common_ptr)cinfo, JPOOL_PERMANENT, INPUT_BUF_SIZE * sizeof(unsigned char)); } src = (my_src_ptr)cinfo->src; src->pub.init_source = init_source; src->pub.fill_input_buffer = fill_input_buffer; src->pub.skip_input_data = skip_input_data; src->pub.resync_to_restart = jpeg_resync_to_restart; /* use default method */ src->pub.term_source = term_source; src->infile = infile; src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ src->pub.next_input_byte = NULL; /* until buffer loaded */ } /* Expanded data destination object for stdio output */ typedef struct { struct jpeg_destination_mgr pub; /* public fields */ gdIOCtx *outfile; /* target stream */ unsigned char *buffer; /* start of buffer */ } my_destination_mgr; typedef my_destination_mgr *my_dest_ptr; #define OUTPUT_BUF_SIZE 4096 /* choose an efficiently fwrite'able size */ /* * Initialize destination --- called by jpeg_start_compress * before any data is actually written. */ void init_destination(j_compress_ptr cinfo) { my_dest_ptr dest = (my_dest_ptr)cinfo->dest; /* Allocate the output buffer --- it will be released when done with image */ dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small)((j_common_ptr)cinfo, JPOOL_IMAGE, OUTPUT_BUF_SIZE * sizeof(unsigned char)); dest->pub.next_output_byte = dest->buffer; dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; } /* * Empty the output buffer --- called whenever buffer fills up. * * In typical applications, this should write the entire output buffer * (ignoring the current state of next_output_byte & free_in_buffer), * reset the pointer & count to the start of the buffer, and return TRUE * indicating that the buffer has been dumped. * * In applications that need to be able to suspend compression due to output * overrun, a FALSE return indicates that the buffer cannot be emptied now. * In this situation, the compressor will return to its caller (possibly with * an indication that it has not accepted all the supplied scanlines). The * application should resume compression after it has made more room in the * output buffer. Note that there are substantial restrictions on the use of * suspension --- see the documentation. * * When suspending, the compressor will back up to a convenient restart point * (typically the start of the current MCU). next_output_byte & free_in_buffer * indicate where the restart point will be if the current call returns FALSE. * Data beyond this point will be regenerated after resumption, so do not * write it out when emptying the buffer externally. */ boolean empty_output_buffer(j_compress_ptr cinfo) { my_dest_ptr dest = (my_dest_ptr)cinfo->dest; if(gdPutBuf(dest->buffer, OUTPUT_BUF_SIZE, dest->outfile) != (size_t)OUTPUT_BUF_SIZE) { ERREXIT(cinfo, JERR_FILE_WRITE); } dest->pub.next_output_byte = dest->buffer; dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; return TRUE; } /* * Terminate destination --- called by jpeg_finish_compress * after all data has been written. Usually needs to flush buffer. * * NB: *not* called by jpeg_abort or jpeg_destroy; surrounding * application must deal with any cleanup that should happen even * for error exit. */ void term_destination(j_compress_ptr cinfo) { my_dest_ptr dest = (my_dest_ptr) cinfo->dest; int datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; /* Write any data remaining in the buffer */ if(datacount > 0) { if(gdPutBuf(dest->buffer, datacount, dest->outfile) != datacount) { ERREXIT(cinfo, JERR_FILE_WRITE); } } } /* * Prepare for output to a stdio stream. * The caller must have already opened the stream, and is responsible * for closing it after finishing compression. */ void jpeg_gdIOCtx_dest(j_compress_ptr cinfo, gdIOCtx *outfile) { my_dest_ptr dest; /* The destination object is made permanent so that multiple JPEG images * can be written to the same file without re-executing jpeg_stdio_dest. * This makes it dangerous to use this manager and a different destination * manager serially with the same JPEG object, because their private object * sizes may be different. Caveat programmer. */ if(cinfo->dest == NULL) { /* first time for this JPEG object? */ cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small)((j_common_ptr)cinfo, JPOOL_PERMANENT, sizeof(my_destination_mgr)); } dest = (my_dest_ptr)cinfo->dest; dest->pub.init_destination = init_destination; dest->pub.empty_output_buffer = empty_output_buffer; dest->pub.term_destination = term_destination; dest->outfile = outfile; } #else /* !HAVE_LIBJPEG */ static void _noJpegError(void) { gd_error("JPEG image support has been disabled\n"); } BGD_DECLARE(void) gdImageJpeg(gdImagePtr im, FILE *outFile, int quality) { _noJpegError(); } BGD_DECLARE(void *) gdImageJpegPtr(gdImagePtr im, int *size, int quality) { _noJpegError(); return NULL; } BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtx *outfile, int quality) { _noJpegError(); } BGD_DECLARE(gdImagePtr) gdImageCreateFromJpeg(FILE *inFile) { _noJpegError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegEx(FILE *inFile, int ignore_warning) { _noJpegError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtr(int size, void *data) { _noJpegError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegPtrEx(int size, void *data, int ignore_warning) { _noJpegError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtx(gdIOCtx *infile) { _noJpegError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtxEx(gdIOCtx *infile, int ignore_warning) { _noJpegError(); return NULL; } #endif /* HAVE_LIBJPEG */ libgd-2.3.0/src/gd_io.c0000664000175000017500000000667113635665516011566 00000000000000/* * io.c * * Implements the simple I/O 'helper' routines. * * Not really essential, but these routines were used extensively in GD, * so they were moved here. They also make IOCtx calls look better... * * Written (or, at least, moved) 1999, Philip Warner. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include "gd.h" /* Use this for commenting out debug-print statements. */ /* Just use the first '#define' to allow all the prints... */ /*#define IO_DBG(s) (s) */ #define IO_DBG(s) #define GD_IO_EOF_CHK(r) \ if(r == EOF) { \ return 0; \ } /* * Write out a word to the I/O context pointer */ void Putword(int w, gdIOCtx *ctx) { unsigned char buf[2]; buf[0] = w & 0xff; buf[1] = (w / 256) & 0xff; (ctx->putBuf)(ctx, (char *)buf, 2); } void Putchar(int c, gdIOCtx *ctx) { (ctx->putC)(ctx, c & 0xff); } void gdPutC(const unsigned char c, gdIOCtx *ctx) { (ctx->putC)(ctx, c); } void gdPutWord (int w, gdIOCtx *ctx) { IO_DBG(printf("Putting word...\n")); (ctx->putC)(ctx, (unsigned char)(w >> 8)); (ctx->putC)(ctx, (unsigned char)(w & 0xFF)); IO_DBG(printf("put.\n")); } void gdPutInt (int w, gdIOCtx *ctx) { IO_DBG(printf("Putting int...\n")); (ctx->putC)(ctx, (unsigned char) (w >> 24)); (ctx->putC)(ctx, (unsigned char) ((w >> 16) & 0xFF)); (ctx->putC)(ctx, (unsigned char) ((w >> 8) & 0xFF)); (ctx->putC)(ctx, (unsigned char) (w & 0xFF)); IO_DBG(printf("put.\n")); } int gdGetC(gdIOCtx *ctx) { return ((ctx->getC)(ctx)); } int gdGetByte(int *result, gdIOCtx *ctx) { int r; r = (ctx->getC)(ctx); if(r == EOF) { return 0; } *result = r; return 1; } int gdGetWord(int *result, gdIOCtx *ctx) { int r; r = (ctx->getC)(ctx); if(r == EOF) { return 0; } *result = r << 8; r = (ctx->getC)(ctx); if(r == EOF) { return 0; } *result += r; return 1; } int gdGetWordLSB(signed short int *result, gdIOCtx *ctx) { int high = 0, low = 0; low = (ctx->getC) (ctx); if (low == EOF) { return 0; } high = (ctx->getC) (ctx); if (high == EOF) { return 0; } if (result) { *result = (high << 8) | low; } return 1; } int gdGetInt(int *result, gdIOCtx *ctx) { unsigned int r; r = (ctx->getC)(ctx); if(r == EOF) { return 0; } *result = r << 24; r = (ctx->getC)(ctx); if(r == EOF) { return 0; } *result += r << 16; r = (ctx->getC)(ctx); if(r == EOF) { return 0; } *result += r << 8; r = (ctx->getC)(ctx); if(r == EOF) { return 0; } *result += r; return 1; } int gdGetIntLSB(signed int *result, gdIOCtx *ctx) { unsigned int c; unsigned int r = 0; c = (ctx->getC) (ctx); if (c == EOF) { return 0; } r |= (c << 24); r >>= 8; c = (ctx->getC) (ctx); if (c == EOF) { return 0; } r |= (c << 24); r >>= 8; c = (ctx->getC) (ctx); if (c == EOF) { return 0; } r |= (c << 24); r >>= 8; c = (ctx->getC) (ctx); if (c == EOF) { return 0; } r |= (c << 24); if (result) { *result = (signed int)r; } return 1; } int gdPutBuf(const void *buf, int size, gdIOCtx *ctx) { IO_DBG(printf("Putting buf...\n")); return (ctx->putBuf)(ctx, buf, size); IO_DBG(printf("put.\n")); } int gdGetBuf(void *buf, int size, gdIOCtx *ctx) { return (ctx->getBuf)(ctx, buf, size); } int gdSeek(gdIOCtx *ctx, const int pos) { IO_DBG(printf("Seeking...\n")); return ((ctx->seek)(ctx, pos)); IO_DBG(printf("Done.\n")); } long gdTell(gdIOCtx *ctx) { IO_DBG(printf("Telling...\n")); return ((ctx->tell)(ctx)); IO_DBG(printf("told.\n")); } libgd-2.3.0/src/gd_security.c0000664000175000017500000000126413634445460013010 00000000000000/* * gd_security.c * * Implements buffer overflow check routines. * * Written 2004, Phil Knirsch. * Based on netpbm fixes by Alan Cox. * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include "gd.h" #include "gd_errors.h" int overflow2(int a, int b) { if(a <= 0 || b <= 0) { gd_error_ex(GD_WARNING, "one parameter to a memory allocation multiplication is negative or zero, failing operation gracefully\n"); return 1; } if(a > INT_MAX / b) { gd_error_ex(GD_WARNING, "product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully\n"); return 1; } return 0; } libgd-2.3.0/src/gd_matrix.c0000664000175000017500000001767113635665516012465 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include "gd.h" #include #ifndef M_PI # define M_PI 3.14159265358979323846 #endif /** * Title: Matrix * Group: Affine Matrix */ /** * Function: gdAffineApplyToPointF * Applies an affine transformation to a point (floating point * gdPointF) * * * Parameters: * dst - Where to store the resulting point * affine - Source Point * flip_horz - affine matrix * * Returns: * GD_TRUE if the affine is rectilinear or GD_FALSE */ BGD_DECLARE(int) gdAffineApplyToPointF (gdPointFPtr dst, const gdPointFPtr src, const double affine[6]) { double x = src->x; double y = src->y; dst->x = x * affine[0] + y * affine[2] + affine[4]; dst->y = x * affine[1] + y * affine[3] + affine[5]; return GD_TRUE; } /** * Function: gdAffineInvert * Find the inverse of an affine transformation. * * All non-degenerate affine transforms are invertible. Applying the * inverted matrix will restore the original values. Multiplying * by (commutative) will return the identity affine (rounding * error possible). * * Parameters: * dst - Where to store the resulting affine transform * src_affine - Original affine matrix * flip_horz - Whether or not to flip horizontally * flip_vert - Whether or not to flip vertically * * See also: * * * Returns: * GD_TRUE on success or GD_FALSE on failure */ BGD_DECLARE(int) gdAffineInvert (double dst[6], const double src[6]) { double r_det = (src[0] * src[3] - src[1] * src[2]); if (fabs(r_det) <= 0.0) { return GD_FALSE; } r_det = 1.0 / r_det; dst[0] = src[3] * r_det; dst[1] = -src[1] * r_det; dst[2] = -src[2] * r_det; dst[3] = src[0] * r_det; dst[4] = -src[4] * dst[0] - src[5] * dst[2]; dst[5] = -src[4] * dst[1] - src[5] * dst[3]; return GD_TRUE; } /** * Function: gdAffineFlip * Flip an affine transformation horizontally or vertically. * * Flips the affine transform, giving GD_FALSE for and * will clone the affine matrix. GD_TRUE for both will * copy a 180° rotation. * * Parameters: * dst - Where to store the resulting affine transform * src_affine - Original affine matrix * flip_h - Whether or not to flip horizontally * flip_v - Whether or not to flip vertically * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineFlip (double dst[6], const double src[6], const int flip_h, const int flip_v) { dst[0] = flip_h ? - src[0] : src[0]; dst[1] = flip_h ? - src[1] : src[1]; dst[2] = flip_v ? - src[2] : src[2]; dst[3] = flip_v ? - src[3] : src[3]; dst[4] = flip_h ? - src[4] : src[4]; dst[5] = flip_v ? - src[5] : src[5]; return GD_TRUE; } /** * Function: gdAffineConcat * Concat (Multiply) two affine transformation matrices. * * Concats two affine transforms together, i.e. the result * will be the equivalent of doing first the transformation m1 and then * m2. All parameters can be the same matrix (safe to call using * the same array for all three arguments). * * Parameters: * dst - Where to store the resulting affine transform * m1 - First affine matrix * m2 - Second affine matrix * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineConcat (double dst[6], const double m1[6], const double m2[6]) { double dst0, dst1, dst2, dst3, dst4, dst5; dst0 = m1[0] * m2[0] + m1[1] * m2[2]; dst1 = m1[0] * m2[1] + m1[1] * m2[3]; dst2 = m1[2] * m2[0] + m1[3] * m2[2]; dst3 = m1[2] * m2[1] + m1[3] * m2[3]; dst4 = m1[4] * m2[0] + m1[5] * m2[2] + m2[4]; dst5 = m1[4] * m2[1] + m1[5] * m2[3] + m2[5]; dst[0] = dst0; dst[1] = dst1; dst[2] = dst2; dst[3] = dst3; dst[4] = dst4; dst[5] = dst5; return GD_TRUE; } /** * Function: gdAffineIdentity * Set up the identity matrix. * * Parameters: * dst - Where to store the resulting affine transform * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineIdentity (double dst[6]) { dst[0] = 1; dst[1] = 0; dst[2] = 0; dst[3] = 1; dst[4] = 0; dst[5] = 0; return GD_TRUE; } /** * Function: gdAffineScale * Set up a scaling matrix. * * Parameters: * scale_x - X scale factor * scale_y - Y scale factor * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineScale (double dst[6], const double scale_x, const double scale_y) { dst[0] = scale_x; dst[1] = 0; dst[2] = 0; dst[3] = scale_y; dst[4] = 0; dst[5] = 0; return GD_TRUE; } /** * Function: gdAffineRotate * Set up a rotation affine transform. * * Like the other angle in libGD, in which increasing y moves * downward, this is a counterclockwise rotation. * * Parameters: * dst - Where to store the resulting affine transform * angle - Rotation angle in degrees * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineRotate (double dst[6], const double angle) { const double sin_t = sin (angle * M_PI / 180.0); const double cos_t = cos (angle * M_PI / 180.0); dst[0] = cos_t; dst[1] = sin_t; dst[2] = -sin_t; dst[3] = cos_t; dst[4] = 0; dst[5] = 0; return GD_TRUE; } /** * Function: gdAffineShearHorizontal * Set up a horizontal shearing matrix || becomes \\. * * Parameters: * dst - Where to store the resulting affine transform * angle - Shear angle in degrees * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineShearHorizontal(double dst[6], const double angle) { dst[0] = 1; dst[1] = 0; dst[2] = tan(angle * M_PI / 180.0); dst[3] = 1; dst[4] = 0; dst[5] = 0; return GD_TRUE; } /** * Function: gdAffineShearVertical * Set up a vertical shearing matrix, columns are untouched. * * Parameters: * dst - Where to store the resulting affine transform * angle - Shear angle in degrees * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineShearVertical(double dst[6], const double angle) { dst[0] = 1; dst[1] = tan(angle * M_PI / 180.0); dst[2] = 0; dst[3] = 1; dst[4] = 0; dst[5] = 0; return GD_TRUE; } /** * Function: gdAffineTranslate * Set up a translation matrix. * * Parameters: * dst - Where to store the resulting affine transform * offset_x - Horizontal translation amount * offset_y - Vertical translation amount * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineTranslate (double dst[6], const double offset_x, const double offset_y) { dst[0] = 1; dst[1] = 0; dst[2] = 0; dst[3] = 1; dst[4] = offset_x; dst[5] = offset_y; return GD_TRUE; } /** * gdAffineexpansion: Find the affine's expansion factor. * @src: The affine transformation. * * Finds the expansion factor, i.e. the square root of the factor * by which the affine transform affects area. In an affine transform * composed of scaling, rotation, shearing, and translation, returns * the amount of scaling. * * GD_TRUE on success or GD_FALSE **/ BGD_DECLARE(double) gdAffineExpansion (const double src[6]) { return sqrt (fabs (src[0] * src[3] - src[1] * src[2])); } /** * Function: gdAffineRectilinear * Determines whether the affine transformation is axis aligned. A * tolerance has been implemented using GD_EPSILON. * * Parameters: * m - The affine transformation * * Returns: * GD_TRUE if the affine is rectilinear or GD_FALSE */ BGD_DECLARE(int) gdAffineRectilinear (const double m[6]) { return ((fabs (m[1]) < GD_EPSILON && fabs (m[2]) < GD_EPSILON) || (fabs (m[0]) < GD_EPSILON && fabs (m[3]) < GD_EPSILON)); } /** * Function: gdAffineEqual * Determines whether two affine transformations are equal. A tolerance * has been implemented using GD_EPSILON. * * Parameters: * m1 - The first affine transformation * m2 - The first affine transformation * * Returns: * GD_TRUE on success or GD_FALSE */ BGD_DECLARE(int) gdAffineEqual (const double m1[6], const double m2[6]) { return (fabs (m1[0] - m2[0]) < GD_EPSILON && fabs (m1[1] - m2[1]) < GD_EPSILON && fabs (m1[2] - m2[2]) < GD_EPSILON && fabs (m1[3] - m2[3]) < GD_EPSILON && fabs (m1[4] - m2[4]) < GD_EPSILON && fabs (m1[5] - m2[5]) < GD_EPSILON); } libgd-2.3.0/src/gd2time.c0000664000175000017500000000230713634445460012021 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include /* for atoi */ #include /* For time */ #include "gd.h" /* A short program which converts a .png file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ int main (int argc, char **argv) { gdImagePtr im; FILE *in; int x, y, w, h; int c; int i; int t0; if (argc != 7) { fprintf(stderr, "Usage: gd2time filename.gd count x y w h\n"); exit (1); } c = atoi (argv[2]); x = atoi (argv[3]); y = atoi (argv[4]); w = atoi (argv[5]); h = atoi (argv[6]); printf ("Extracting %d times from (%d, %d), size is %dx%d\n", c, x, y, w, h); t0 = time (0); for (i = 0; i < c; i++) { in = fopen (argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit (1); } im = gdImageCreateFromGd2Part (in, x, y, w, h); fclose (in); if (!im) { fprintf(stderr, "Error reading source file!\n"); exit (1); } gdImageDestroy (im); }; t0 = time (0) - t0; printf ("%d seconds to extract (& destroy) %d times\n", t0, c); return 0; } libgd-2.3.0/src/gdpp.h0000664000175000017500000014535313635665516011445 00000000000000/* ***************************************************************************** ** Initial file written and documented by: ** Kevin Shepherd December 2007 ** of Scarlet Line http://www.scarletline.com/ ** with contributions from Torben Nielsen. *******************************************************************************/ /** \file gdpp.h \brief Object Oriented C++ wrappers around libgd functionality. Example usage, convert png to gif: #include #include std::ifstream in("image.png", std::ios_base::in | std::ios_base::binary ); GD::Image im(in, GD::Png_tag()); if (im.good()) { std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary ); im.Gif(out); } */ #ifndef _gdpp_h #define _gdpp_h #ifdef __cplusplus #include "gd_io_stream.h" #include /// namespace GD:: contains the C++ wrapper classes for libgd /** This namespace is primarily to avoid name clashes, and to contain all of the gd classes within one namespace. It is not recommended to use the "using namespace" directive with this namespace. Example usage: GD::Image im(64, 32, true); // Create a truecolor image 64 pixels wide by 32 pixels high GD::Point pt(10, 8); // The point at x=10, y=8. GD::Size sz(16, 8); // The size width=16, height=8. GD::TrueColor col(0xFF, 0, 0); // The colour red; R=255, G=0, B=0. im.Rectangle(pt, sz, col.Int()); // Draw a red rectangle with top left corner at pt, of size sz. */ namespace GD { /** This class GD::Point stores a point in two dimensions, somewhere on the plane of an image. */ class BGD_EXPORT_DATA_PROT Point { public: // Constructors Point(int x, int y) :_x(x), _y(y) {} Point(const Point & p) :_x(p._x), _y(p._y) {} Point() :_x(0), _y(0) {} Point & operator=(const Point & p) { _x = p._x; _y = p._y; return (* this); } // Accessors int X() const { return _x; } int Y() const { return _y; } // Updaters void X(int x) { _x = x; } void Y(int y) { _y = y; } void set(int x, int y) { _x = x; _y = y; } int & lhsX() { return _x; } int & lhsY() { return _y; } gdPointPtr as_gdPointPtr() { return (gdPointPtr) this; } protected: int _x, _y; }; typedef Point * PointPtr; /** This class GD::Size stores length in two dimensions. Giving the size of an area as width and height. */ class BGD_EXPORT_DATA_PROT Size { public: // Constructors Size(int w, int h) :_w(w), _h(h) {} Size(const Size & p) :_w(p._w), _h(p._h) {} Size() :_w(0), _h(0) {} Size & operator=(const Size & p) { _w = p._w; _h = p._h; return (* this); } // Accessors int W() const { return _w; } int H() const { return _h; } // Updaters void W(int w) { _w = w; } void H(int h) { _h = h; } void set(int w, int h) { _w = w; _h = h; } int & lhsW() { return _w; } int & lhsH() { return _h; } protected: int _w, _h; }; typedef Size * SizePtr; /** This class GD::TrueColor stores a colour as an RGBA quadruplet. It can also be read as an integer, and in other colour formats. */ class BGD_EXPORT_DATA_PROT TrueColor { public: union as_types { int as_int; struct uchars { unsigned char blue, green, red, alpha; } as_uchar; }; TrueColor() { internal.as_int = 0; } TrueColor(int c) { internal.as_int = c; } TrueColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a = 0) { internal.as_uchar.alpha = a; internal.as_uchar.red = r; internal.as_uchar.green = g; internal.as_uchar.blue = b; } // Accessors int Int() const { return internal.as_int; } unsigned char Red() const { return internal.as_uchar.red; } unsigned char Green() const { return internal.as_uchar.green; } unsigned char Blue() const { return internal.as_uchar.blue; } unsigned char Alpha() const { return internal.as_uchar.alpha; } // Updaters void set(int c) { internal.as_int = c; } void set(unsigned char r, unsigned char g, unsigned char b, unsigned char a = 0) { internal.as_uchar.alpha = a; internal.as_uchar.red = r; internal.as_uchar.green = g; internal.as_uchar.blue = b; } void Red(unsigned char c) { internal.as_uchar.red = c; } void Green(unsigned char c) { internal.as_uchar.green = c; } void Blue(unsigned char c) { internal.as_uchar.blue = c; } void Alpha(unsigned char c) { internal.as_uchar.alpha = c; } protected: as_types internal; }; /* The following tags are simply empty structures which are used to tell the compiler which constructor we want when we know the image file format. */ struct BGD_EXPORT_DATA_PROT Png_tag {}; struct BGD_EXPORT_DATA_PROT Gif_tag {}; struct BGD_EXPORT_DATA_PROT WBMP_tag {}; struct BGD_EXPORT_DATA_PROT Jpeg_tag {}; struct BGD_EXPORT_DATA_PROT Gd_tag {}; struct BGD_EXPORT_DATA_PROT Gd2_tag {}; struct BGD_EXPORT_DATA_PROT Xbm_tag {}; /** This class GD::Image wraps all of the 'C' libgd functionality for the convenience of C++ users. An instance of this class corresponds to a single image. */ class BGD_EXPORT_DATA_PROT Image { public: /** Construct a null image */ Image() :im(0) {} /** Construct a blank image, of the given size and colour format type. \param[in] sx Width of the image \param[in] sy Height of the image \param[in] istruecolor Create a true colour image, defaults to false, i.e. create an indexed palette image. */ Image(int sx, int sy, bool istruecolor = false) :im(0) { if (istruecolor) CreateTrueColor(sx, sy); else Create(sx, sy); } /** Construct a blank image, of the given size and colour format type. \param[in] s Width and height of the image \param[in] istruecolor Create a true colour image, defaults to false, i.e. create an indexed palette image. */ Image(const Size & s, bool istruecolor = false) :im(0) { if (istruecolor) CreateTrueColor(s); else Create(s); } /** Construct an instance of the GD::Image class, given the internal gdImage poimter. Note that gdImageDestroy will be called on the image pointer in the destructor. \param[in] i Pointer to the internal gdImage */ Image(gdImagePtr i) :im(i) {} /** Copy constructor. Construct an instance of the GD::Image class, by making a copy of the GD::Image provided. \param[in] i Reference to the image to be copied */ Image(const GD::Image & i) :im(0) { Copy(i); } /** Construct an image by reading from \p in. This constructor will first attempt to determine the file format. \param[in] in The stream containing the image data */ Image(std::istream & in) :im(0) { CreateFrom(in); } /** Construct an image by reading from \p in. This constructor will first attempt to determine the file format. \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in) :im(0) { CreateFrom(in); } /** Construct an image by reading from memory block \p data. This constructor will first attempt to determine the image formatting. \param[in] size The byte count of the memory block \param[in] data Pointer to the memory block */ Image(int size, void * data) :im(0) { CreateFrom(size, data); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Png_tag()); // read a png file from input \param[in] in The stream containing the image data */ Image(std::istream & in, Png_tag) :im(0) { CreateFromPng(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Png_tag()); // read a png file from input \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in, Png_tag) :im(0) { CreateFromPng(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Png_tag()); // read a png file from input \param[in] in The io context from which to read the image data */ Image(gdIOCtx * in, Png_tag) :im(0) { CreateFromPng(in); } /** Construct an image by reading from memory block \p data. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(sz, dat, GD::Png_tag()); // read a png file from dat \param[in] size The byte count of the memory block \param[in] data Pointer to the memory block */ Image(int size, void * data, Png_tag) :im(0) { CreateFromPng(size, data); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gif_tag()); // read a gif file from input \param[in] in The stream containing the image data */ Image(std::istream & in, Gif_tag) :im(0) { CreateFromGif(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gif_tag()); // read a gif file from input \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in, Gif_tag) :im(0) { CreateFromGif(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gif_tag()); // read a gif file from input \param[in] in The io context from which to read the image data */ Image(gdIOCtx * in, Gif_tag) :im(0) { CreateFromGif(in); } /** Construct an image by reading from memory block \p data. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(sz, dat, GD::Gif_tag()); // read a gif file from dat \param[in] size The byte count of the memory block \param[in] data Pointer to the memory block */ Image(int size, void * data, Gif_tag) :im(0) { CreateFromGif(size, data); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::WBMP_tag()); // read a monchrome WBMP file from input \param[in] in The stream containing the image data */ Image(std::istream & in, WBMP_tag) :im(0) { CreateFromWBMP(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::WBMP_tag()); // read a monchrome WBMP file from input \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in, WBMP_tag) :im(0) { CreateFromWBMP(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::WBMP_tag()); // read a monchrome WBMP file from input \param[in] in The io context from which to read the image data */ Image(gdIOCtx * in, WBMP_tag) :im(0) { CreateFromWBMP(in); } /** Construct an image by reading from memory block \p data. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(sz, dat, GD::WBMP_tag()); // read a monchrome WBMP file from dat \param[in] size The byte count of the memory block \param[in] data Pointer to the memory block */ Image(int size, void * data, WBMP_tag) :im(0) { CreateFromWBMP(size, data); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Jpeg_tag()); // read a jpeg file from input \param[in] in The stream containing the image data */ Image(std::istream & in, Jpeg_tag) :im(0) { CreateFromJpeg(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Jpeg_tag()); // read a jpeg file from input \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in, Jpeg_tag) :im(0) { CreateFromJpeg(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Jpeg_tag()); // read a jpeg file from input \param[in] in The io context from which to read the image data */ Image(gdIOCtx * in, Jpeg_tag) :im(0) { CreateFromJpeg(in); } /** Construct an image by reading from memory block \p data. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(sz, dat, GD::Jpeg_tag()); // read a jpeg file from dat \param[in] size The byte count of the memory block \param[in] data Pointer to the memory block */ Image(int size, void * data, Jpeg_tag) :im(0) { CreateFromJpeg(size, data); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gd_tag()); // read a gd file from input \param[in] in The stream containing the image data */ Image(std::istream & in, Gd_tag) :im(0) { CreateFromGd(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gd_tag()); // read a gd file from input \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in, Gd_tag) :im(0) { CreateFromGd(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gd_tag()); // read a gd file from input \param[in] in The io context from which to read the image data */ Image(gdIOCtx * in, Gd_tag) :im(0) { CreateFromGd(in); } /** Construct an image by reading from memory block \p data. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(sz, dat, GD::Gd_tag()); // read a gd file from dat \param[in] size The byte count of the memory block \param[in] data Pointer to the memory block */ Image(int size, void * data, Gd_tag) :im(0) { CreateFromGd(size, data); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gd2_tag()); // read a gd2 file from input \param[in] in The stream containing the image data */ Image(std::istream & in, Gd2_tag) :im(0) { CreateFromGd2(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Png_tag()); // read a png file from input \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in, Gd2_tag) :im(0) { CreateFromGd2(in); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Gd2_tag()); // read a gd2 file from input \param[in] in The io context from which to read the image data */ Image(gdIOCtx * in, Gd2_tag) :im(0) { CreateFromGd2(in); } /** Construct an image by reading from memory block \p data. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(sz, dat, GD::Gd2_tag()); // read a gd2 file from dat \param[in] size The byte count of the memory block \param[in] data Pointer to the memory block */ Image(int size, void * data, Gd2_tag) :im(0) { CreateFromGd2(size, data); } /** Construct an image by reading from \p in. The tag is an empty struct which simply tells the compiler which image read function to use. e.g. GD::Image img(input, GD::Xbm_tag()); // read an xbm file from input \param[in] in An opened FILE * handle to a file containing the image data */ Image(FILE * in, Xbm_tag) :im(0) { CreateFromXbm(in); } ~Image() { clear(); } /** Assignment Operator. Make this a copy of the GD::Image provided. \param[in] src Reference to the image to be copied */ GD::Image & operator=(const GD::Image & src) { Copy(src); return (* this); } /** Make this an exact copy of the GD::Image provided. Any existing iamge data is discarded. \param[in] src Reference to the image to be copied */ void Copy(const GD::Image & src) { int w = src.Width(), h = src.Height(); if (src.IsTrueColor()) CreateTrueColor(w, h); else { Create(w, h); PaletteCopy(src); } Copy(src, 0, 0, 0, 0, w, h); } /** Check to see if this appears to be a valid image */ bool good() const { return (im != 0); } // Creation: /** Create a palette-based image, with no more than 256 colors. \param sx Width of the desired image \param sy Height of the desired image \return true if it worked, else false */ bool Create(int sx, int sy) { clear(); return ((im = gdImageCreate(sx, sy)) != 0); } /** Create a truecolor image. \param sx Width of the desired image \param sy Height of the desired image \return true if it worked, else false */ bool CreateTrueColor(int sx, int sy) { clear(); return ((im = gdImageCreateTrueColor(sx, sy)) != 0); } /** Create a palette-based image, with no more than 256 colors. \param s Width and height of the desired image \return true if it worked, else false */ bool Create(const Size & s) { return Create(s.W(), s.H()); } /** Create a truecolor image. \param s Width and height of the desired image \return true if it worked, else false */ bool CreateTrueColor(const Size & s) { return CreateTrueColor(s.W(), s.H()); } // Create, determining the image format from the data /// Read an image from an open FILE * handle, after determining the image format bool CreateFrom(FILE * in); /// Read an image from an open standard library input stream, after determining the image format bool CreateFrom(std::istream & in); /// Read an image from a memory block, after determining the image format bool CreateFrom(int size, void * data); // Png bool CreateFromPng(FILE * in) { clear(); return ((im = gdImageCreateFromPng(in)) != 0); } bool CreateFromPng(gdIOCtx * in) { clear(); return ((im = gdImageCreateFromPngCtx(in)) != 0); } bool CreateFromPng(int size, void * data) { clear(); return ((im = gdImageCreateFromPngPtr(size, data)) != 0); } bool CreateFromPng(std::istream & in) { clear(); istreamIOCtx _in_ctx(in); return ((im = gdImageCreateFromPngCtx( & _in_ctx)) != 0); } // Gif bool CreateFromGif(FILE * in) { clear(); return ((im = gdImageCreateFromGif(in)) != 0); } bool CreateFromGif(gdIOCtx * in) { clear(); return ((im = gdImageCreateFromGifCtx(in)) != 0); } bool CreateFromGif(int size, void * data) { clear(); return ((im = gdImageCreateFromGifPtr(size, data)) != 0); } bool CreateFromGif(std::istream & in) { clear(); istreamIOCtx _in_ctx(in); return ((im = gdImageCreateFromGifCtx( & _in_ctx)) != 0); } // WBMP bool CreateFromWBMP(FILE * in) { clear(); return ((im = gdImageCreateFromWBMP(in)) != 0); } bool CreateFromWBMP(gdIOCtx * in) { clear(); return ((im = gdImageCreateFromWBMPCtx(in)) != 0); } bool CreateFromWBMP(int size, void * data) { clear(); return ((im = gdImageCreateFromWBMPPtr(size, data)) != 0); } bool CreateFromWBMP(std::istream & in) { clear(); istreamIOCtx _in_ctx(in); return ((im = gdImageCreateFromWBMPCtx( & _in_ctx)) != 0); } // Jpeg /** Load a truecolor image from a JPEG format file. Invoke CreateFromJpeg with an already opened pointer to a file containing the desired image. CreateFromJpeg does not close the file. \return true for success, or false if unable to load the image (most often because the file is corrupt or does not contain a JPEG image). You can call Width() and Height() member functions of the image to determine its size. The returned image is always a truecolor image. */ bool CreateFromJpeg(FILE * in) { clear(); return ((im = gdImageCreateFromJpeg(in)) != 0); } /** Load a truecolor image from a JPEG format file. Invoke CreateFromJpeg with an already opened pointer to a file containing the desired image. CreateFromJpeg does not close the file. \return true for success, or false if unable to load the image (most often because the file is corrupt or does not contain a JPEG image). You can call Width() and Height() member functions of the image to determine its size. The returned image is always a truecolor image. */ bool CreateFromJpeg(gdIOCtx * in) { clear(); return ((im = gdImageCreateFromJpegCtx(in)) != 0); } /** Load a truecolor image from a JPEG format file. Invoke CreateFromJpeg with an already opened pointer to a file containing the desired image. CreateFromJpeg does not close the file. \return true for success, or false if unable to load the image (most often because the file is corrupt or does not contain a JPEG image). You can call Width() and Height() member functions of the image to determine its size. The returned image is always a truecolor image. */ bool CreateFromJpeg(int size, void * data) { clear(); return ((im = gdImageCreateFromJpegPtr(size, data)) != 0); } /** Load a truecolor image from a JPEG format file. Invoke CreateFromJpeg with an image file in memory. \return true for success, or false if unable to load the image (most often because the format is corrupt or does not contain a JPEG image). You can call Width() and Height() member functions of the image to determine its size. The returned image is always a truecolor image. */ bool CreateFromJpeg(std::istream & in) { clear(); istreamIOCtx _in_ctx(in); return ((im = gdImageCreateFromJpegCtx( & _in_ctx)) != 0); } // Gd bool CreateFromGd(FILE * in) { clear(); return ((im = gdImageCreateFromGd(in)) != 0); } bool CreateFromGd(gdIOCtx * in) { clear(); return ((im = gdImageCreateFromGdCtx(in)) != 0); } bool CreateFromGd(int size, void * data) { clear(); return ((im = gdImageCreateFromGdPtr(size, data)) != 0); } bool CreateFromGd(std::istream & in) { clear(); istreamIOCtx _in_ctx(in); return ((im = gdImageCreateFromGdCtx( & _in_ctx)) != 0); } // Gd2 bool CreateFromGd2(FILE * in) { clear(); return ((im = gdImageCreateFromGd2(in)) != 0); } bool CreateFromGd2(gdIOCtx * in) { clear(); return ((im = gdImageCreateFromGd2Ctx(in)) != 0); } bool CreateFromGd2(int size, void * data) { clear(); return ((im = gdImageCreateFromGd2Ptr(size, data)) != 0); } bool CreateFromGd2(std::istream & in) { clear(); istreamIOCtx _in_ctx(in); return ((im = gdImageCreateFromGd2Ctx( & _in_ctx)) != 0); } // Gd2 Part bool CreateFromGd2Part(FILE * in, int srcx, int srcy, int w, int h) { clear(); return ((im = gdImageCreateFromGd2Part(in, srcx, srcy, w, h)) != 0); } bool CreateFromGd2Part(gdIOCtx * in, int srcx, int srcy, int w, int h) { clear(); return ((im = gdImageCreateFromGd2PartCtx(in, srcx, srcy, w, h)) != 0); } bool CreateFromGd2Part(int size, void * data, int srcx, int srcy, int w, int h) { clear(); return ((im = gdImageCreateFromGd2PartPtr(size, data, srcx, srcy, w, h)) != 0); } bool CreateFromGd2Part(std::istream & in, int srcx, int srcy, int w, int h) { clear(); istreamIOCtx _in_ctx(in); return ((im = gdImageCreateFromGd2PartCtx( & _in_ctx, srcx, srcy, w, h)) != 0); } bool CreateFromGd2Part(FILE * in, const Point & src, const Size & s) { return CreateFromGd2Part(in, src.X(), src.Y(), s.W(), s.H()); } bool CreateFromGd2Part(gdIOCtx * in, const Point & src, const Size & s) { return CreateFromGd2Part(in, src.X(), src.Y(), s.W(), s.H()); } bool CreateFromGd2Part(int size, void * data, const Point & src, const Size & s) { return CreateFromGd2Part(size, data, src.X(), src.Y(), s.W(), s.H()); } bool CreateFromGd2Part(std::istream & in, const Point & src, const Size & s) { return CreateFromGd2Part(in, src.X(), src.Y(), s.W(), s.H()); } // Xbm bool CreateFromXbm(FILE * in) { clear(); return ((im = gdImageCreateFromXbm(in)) != 0); } // Xpm bool CreateFromXpm(char * filename) { clear(); return ((im = gdImageCreateFromXpm(filename)) != 0); } bool CreateFromXpm(std::string & filename) { return CreateFromXpm((char *)(filename.c_str())); } // Accessors, Updaters & Methods: void SetPixel(int x, int y, int color) { gdImageSetPixel(im, x, y, color); } void SetPixel(const Point & p, int color) { SetPixel(p.X(), p.Y(), color); } int GetPixel(int x, int y) const { return gdImageGetPixel(im, x, y); } int GetPixel(const Point & p) const { return GetPixel(p.X(), p.Y()); } int GetTrueColorPixel(int x, int y) const { return gdImageGetTrueColorPixel(im, x, y); } int GetTrueColorPixel(const Point & p) const { return GetTrueColorPixel(p.X(), p.Y()); } void SetPixel(int x, int y, TrueColor c) { SetPixel(x, y, c.Int()); } void SetPixel(const Point & p, TrueColor c) { SetPixel(p.X(), p.Y(), c.Int()); } void GetTrueColorPixel(TrueColor & c, int x, int y) const { c.set(GetTrueColorPixel(x, y)); } void GetTrueColorPixel(TrueColor & c, const Point & p) const { c.set(GetTrueColorPixel(p.X(), p.Y())); } void AABlend() { gdImageAABlend(im); } void Line(int x1, int y1, int x2, int y2, int color) { gdImageLine(im, x1, y1, x2, y2, color); } void Line(const Point & p1, const Point & p2, int color) { Line(p1.X(), p1.Y(), p2.X(), p2.Y(), color); } void Rectangle(int x1, int y1, int x2, int y2, int color) { gdImageRectangle(im, x1, y1, x2, y2, color); } void Rectangle(const Point & p1, const Point & p2, int color) { Rectangle(p1.X(), p1.Y(), p2.X(), p2.Y(), color); } void Rectangle(const Point & p, const Size & s, int color) { Rectangle(p.X(), p.Y(), p.X() + s.W(), p.Y() + s.H(), color); } void FilledRectangle(int x1, int y1, int x2, int y2, int color) { gdImageFilledRectangle(im, x1, y1, x2, y2, color); } void FilledRectangle(const Point & p1, const Point & p2, int color) { FilledRectangle(p1.X(), p1.Y(), p2.X(), p2.Y(), color); } void FilledRectangle(const Point & p, const Size & s, int color) { FilledRectangle(p.X(), p.Y(), p.X() + s.W(), p.Y() + s.H(), color); } void SetClip(int x1, int y1, int x2, int y2) { gdImageSetClip(im, x1, y1, x2, y2); } void SetClip(const Point & p1, const Point & p2) { SetClip(p1.X(), p1.Y(), p2.X(), p2.Y()); } void SetClip(const Point & p, const Size & s) { SetClip(p.X(), p.Y(), p.X() + s.W(), p.Y() + s.H()); } void GetClip(int & x1, int & y1, int & x2, int & y2) const { gdImageGetClip(im, & x1, & y1, & x2, & y2); } void GetClip(Point & p1, Point & p2) const { GetClip(p1.lhsX(), p1.lhsY(), p2.lhsX(), p2.lhsY()); } void GetClip(Point & p, Size & s) const { Point p2; GetClip(p.lhsX(), p.lhsY(), p2.lhsX(), p2.lhsY()); s.set(p2.X() - p.X(), p2.Y() - p.Y()); } bool BoundsSafe(int x, int y) const { return (gdImageBoundsSafe(im, x, y)?true:false); } bool BoundsSafe(const Point & p) const { return BoundsSafe(p.X(), p.Y()); } void Char(gdFontPtr f, int x, int y, int c, int color) { gdImageChar(im, f, x, y, c, color); } void CharUp(gdFontPtr f, int x, int y, int c, int color) { gdImageCharUp(im, f, x, y, c, color); } void Char(gdFontPtr f, const Point & p, int c, int color) { Char(f, p.X(), p.Y(), c, color); } void CharUp(gdFontPtr f, const Point & p, int c, int color) { CharUp(f, p.X(), p.Y(), c, color); } void String(gdFontPtr f, int x, int y, unsigned char * s, int color) { gdImageString(im, f, x, y, (unsigned char *)s, color); } void StringUp(gdFontPtr f, int x, int y, unsigned char * s, int color) { gdImageStringUp(im, f, x, y, (unsigned char *)s, color); } void String(gdFontPtr f, int x, int y, unsigned short * s, int color) { gdImageString16(im, f, x, y, (unsigned short *)s, color); } void StringUp(gdFontPtr f, int x, int y, unsigned short * s, int color) { gdImageStringUp16(im, f, x, y, (unsigned short *)s, color); } void String(gdFontPtr f, int x, int y, char * s, int color) { gdImageString(im, f, x, y, (unsigned char *)s, color); } void StringUp(gdFontPtr f, int x, int y, char * s, int color) { gdImageStringUp(im, f, x, y, (unsigned char *)s, color); } void String(gdFontPtr f, int x, int y, const std::string & s, int color) { String(f, x, y, (char *)s.c_str(), color); } void StringUp(gdFontPtr f, int x, int y, const std::string & s, int color) { StringUp(f, x, y, (char *)s.c_str(), color); } void String(gdFontPtr f, const Point & p, unsigned char * s, int color) { String(f, p.X(), p.Y(), (unsigned char *)s, color); } void StringUp(gdFontPtr f, const Point & p, unsigned char * s, int color) { StringUp(f, p.X(), p.Y(), (unsigned char *)s, color); } void String(gdFontPtr f, const Point & p, unsigned short * s, int color) { String(f, p.X(), p.Y(), (unsigned short *)s, color); } void StringUp(gdFontPtr f, const Point & p, unsigned short * s, int color) { StringUp(f, p.X(), p.Y(), (unsigned short *)s, color); } void String(gdFontPtr f, const Point & p, char * s, int color) { String(f, p.X(), p.Y(), (unsigned char *)s, color); } void StringUp(gdFontPtr f, const Point & p, char * s, int color) { StringUp(f, p.X(), p.Y(), (unsigned char *)s, color); } void String(gdFontPtr f, const Point & p, const std::string & s, int color) { String(f, p, (char *)s.c_str(), color); } void StringUp(gdFontPtr f, const Point & p, const std::string & s, int color) { StringUp(f, p, (char *)s.c_str(), color); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, int x, int y, char * string) { return gdImageStringFT(im, brect, fg, fontlist, ptsize, angle, x, y, string); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, int x, int y, char * string, gdFTStringExtraPtr strex) { return gdImageStringFTEx(im, brect, fg, fontlist, ptsize, angle, x, y, string, strex); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, int x, int y, const std::string & string) { return StringFT(brect, fg, fontlist, ptsize, angle, x, y, (char *)string.c_str()); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, int x, int y, const std::string & string, gdFTStringExtraPtr strex) { return StringFT(brect, fg, fontlist, ptsize, angle, x, y, (char *)string.c_str(), strex); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, const Point & p, char * string) { return StringFT(brect, fg, fontlist, ptsize, angle, p.X(), p.Y(), string); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, const Point & p, char * string, gdFTStringExtraPtr strex) { return StringFT(brect, fg, fontlist, ptsize, angle, p.X(), p.Y(), string, strex); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, const Point & p, const std::string & string) { return StringFT(brect, fg, fontlist, ptsize, angle, p, (char *)string.c_str()); } char * StringFT(int * brect, int fg, char * fontlist, double ptsize, double angle, const Point & p, const std::string & string, gdFTStringExtraPtr strex) { return StringFT(brect, fg, fontlist, ptsize, angle, p, (char *)string.c_str(), strex); } void Polygon(gdPointPtr p, int n, int c) { gdImagePolygon(im, p, n, c); } void OpenPolygon(gdPointPtr p, int n, int c) { gdImageOpenPolygon(im, p, n, c); } void FilledPolygon(gdPointPtr p, int n, int c) { gdImageFilledPolygon(im, p, n, c); } void Polygon(PointPtr p, int n, int c) { Polygon(p->as_gdPointPtr(), n, c); } void OpenPolygon(PointPtr p, int n, int c) { OpenPolygon(p->as_gdPointPtr(), n, c); } void FilledPolygon(PointPtr p, int n, int c) { FilledPolygon(p->as_gdPointPtr(), n, c); } int ColorAllocate(int r, int g, int b) { return gdImageColorAllocate(im, r, g, b); } int ColorAllocate(int r, int g, int b, int a) { return gdImageColorAllocateAlpha(im, r, g, b, a); } int ColorClosest(int r, int g, int b) const { return gdImageColorClosest(im, r, g, b); } int ColorClosest(int r, int g, int b, int a) const { return gdImageColorClosestAlpha(im, r, g, b, a); } int ColorClosestHWB(int r, int g, int b) const { return gdImageColorClosestHWB(im, r, g, b); } int ColorExact(int r, int g, int b) const { return gdImageColorExact(im, r, g, b); } int ColorExact(int r, int g, int b, int a) const { return gdImageColorExactAlpha(im, r, g, b, a); } int ColorResolve(int r, int g, int b) { return gdImageColorResolve(im, r, g, b); } int ColorResolve(int r, int g, int b, int a) { return gdImageColorResolveAlpha(im, r, g, b, a); } void ColorDeallocate(int color) { gdImageColorDeallocate(im, color); } void TrueColorToPalette(int ditherFlag, int colorsWanted) { gdImageTrueColorToPalette(im, ditherFlag, colorsWanted); } void ColorTransparent(int color) { gdImageColorTransparent(im, color); } void PaletteCopy(gdImagePtr src) { gdImagePaletteCopy(im, src); } void PaletteCopy(const GD::Image & src) { PaletteCopy(src.im); } /** Write out this image in GIF file format to \p out. \param out A FILE * handle */ void Gif(FILE * out) const { gdImageGif(im, out); } /** Write out this image in GIF file format to \p out. \param out A gdIOCtx * handle */ void Gif(gdIOCtx * out) const { gdImageGifCtx(im, out); } /** Allocate sufficient memory, and write this image, in GIF file format, to that memory. \param size A pointer for the allocated memory \return A pointer to the allocated memory, containing the image GIF file formatted. Caller is responsible for freeing with gdFree(). */ void * Gif(int * size) const { return gdImageGifPtr(im, size); } /** Write out this image in GIF file format to \p out. \param out An output stream, already opened. */ void Gif(std::ostream & out) const { ostreamIOCtx _out_ctx(out); gdImageGifCtx(im, & _out_ctx); } /** Write out this image in PNG file format to \p out. \param out A FILE * handle */ void Png(FILE * out) const { gdImagePng(im, out); } /** Write out this image in PNG file format to \p out. \param out A gdIOCtx * handle */ void Png(gdIOCtx * out) const { gdImagePngCtx(im, out); } /** Allocate sufficient memory, and write this image, in PNG file format, to that memory. \param size A pointer for the allocated memory \return A pointer to the allocated memory, containing the image PNG file formatted. Caller is responsible for freeing with gdFree(). */ void * Png(int * size) const { return gdImagePngPtr(im, size); } /** Write out this image in PNG file format to \p out. \param out An output stream, already opened. */ void Png(std::ostream & out) const { ostreamIOCtx _out_ctx(out); gdImagePngCtx(im, & _out_ctx); } /** Write out this image in PNG file format to \p out. \param out A FILE * handle \param level The level of compression: 0 == "no compression", 1 == "compressed as quickly as possible" --> 9 == "compressed as much as possible", -1 == zlib default compression level */ void Png(FILE * out, int level) const { gdImagePngEx(im, out, level); } /** Write out this image in PNG file format to \p out. \param out A gdIOCtx * handle \param level The level of compression: 0 == "no compression", 1 == "compressed as quickly as possible" --> 9 == "compressed as much as possible", -1 == zlib default compression level */ void Png(gdIOCtx * out, int level) const { gdImagePngCtxEx(im, out, level); } /** Allocate sufficient memory, and write this image, in PNG file format, to that memory. \param size A pointer for the allocated memory \param level The level of compression: 0 == "no compression", 1 == "compressed as quickly as possible" --> 9 == "compressed as much as possible", -1 == zlib default compression level \return A pointer to the allocated memory, containing the image PNG file formatted. Caller is responsible for freeing with gdFree(). */ void * Png(int * size, int level) const { return gdImagePngPtrEx(im, size, level); } /** Write out this image in PNG file format to \p out. \param out An output stream, already opened. \param level The level of compression: 0 == "no compression", 1 == "compressed as quickly as possible" --> 9 == "compressed as much as possible", -1 == zlib default compression level */ void Png(std::ostream & out, int level) const { ostreamIOCtx _out_ctx(out); gdImagePngCtxEx(im, & _out_ctx, level); } /** Write out this image in WBMP file format ( black and white only ) to \p out. \param fg The color index of the foreground. All other pixels considered background. \param out A FILE * handle */ void WBMP(int fg, FILE * out) const { gdImageWBMP(im, fg, out); } /** Write out this image in WBMP file format ( black and white only ) to \p out. \param fg The color index of the foreground. All other pixels considered background. \param out A gdIOCtx * handle */ void WBMP(int fg, gdIOCtx * out) const { gdImageWBMPCtx(im, fg, out); } /** Allocate sufficient memory, and write this image, in WBMP file format ( black and white only ), to that memory. \param size A pointer for the allocated memory \param fg The color index of the foreground. All other pixels considered background. \return A pointer to the allocated memory, containing the image WBMP file formatted. Caller is responsible for freeing with gdFree(). */ void * WBMP(int * size, int fg) const { return gdImageWBMPPtr(im, size, fg); } /** Write out this image in WBMP file format ( black and white only ) to \p out. \param fg The color index of the foreground. All other pixels considered background. \param out An output stream, already opened. */ void WBMP(int fg, std::ostream & out) const { ostreamIOCtx _out_ctx(out); gdImageWBMPCtx(im, fg, & _out_ctx); } /** Write out this image in JPEG file format to \p out. \param out A FILE * handle \param quality Should be a value in the range 0-95, higher numbers imply both higher quality and larger image size. Default value is -1, indicating "use a sensible default value". */ void Jpeg(FILE * out, int quality = -1) const { gdImageJpeg(im, out, quality); } /** Write out this image in JPEG file format to \p out. \param out A gdIOCtx * handle \param quality Should be a value in the range 0-95, higher numbers imply both higher quality and larger image size. Default value is -1, indicating "use a sensible default value". */ void Jpeg(gdIOCtx * out, int quality = -1) const { gdImageJpegCtx(im, out, quality); } /** Allocate sufficient memory, and write this image, in JPEG file format, to that memory. \param size A pointer for the allocated memory \param quality Should be a value in the range 0-95, higher numbers imply both higher quality and larger image size. Default value is -1, indicating "use a sensible default value". \return A pointer to the allocated memory, containing the image JPEG file formatted. Caller is responsible for freeing with gdFree(). */ void * Jpeg(int * size, int quality = -1) const { return gdImageJpegPtr(im, size, quality); } /** Write out this image in JPEG file format to \p out. \param out An output stream, already opened. \param quality Should be a value in the range 0-95, higher numbers imply both higher quality and larger image size. Default value is -1, indicating "use a sensible default value". */ void Jpeg(std::ostream & out, int quality = -1) const { ostreamIOCtx _out_ctx(out); gdImageJpegCtx(im, & _out_ctx, quality); } void GifAnimBegin(FILE * out, int GlobalCM, int Loops) const { gdImageGifAnimBegin(im, out, GlobalCM, Loops); } void GifAnimAdd(FILE * out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm) const { gdImageGifAnimAdd(im, out, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm); } void GifAnimAdd(FILE * out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, const GD::Image & previm) const { GifAnimAdd(out, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm.im); } inline static void GifAnimEnd(FILE * out) { gdImageGifAnimEnd(out); } void GifAnimBegin(gdIOCtx * out, int GlobalCM, int Loops) const { gdImageGifAnimBeginCtx(im, out, GlobalCM, Loops); } void GifAnimAdd(gdIOCtx * out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm) const { gdImageGifAnimAddCtx(im, out, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm); } void GifAnimAdd(gdIOCtx * out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, const GD::Image & previm) const { GifAnimAdd(out, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm.im); } inline static void GifAnimEnd(gdIOCtx * out) { gdImageGifAnimEndCtx(out); } void * GifAnimBegin(int * size, int GlobalCM, int Loops) const { return gdImageGifAnimBeginPtr(im, size, GlobalCM, Loops); } void * GifAnimAdd(int * size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm) const { return gdImageGifAnimAddPtr(im, size, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm); } void * GifAnimAdd(int * size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, const GD::Image & previm) const { return GifAnimAdd(size, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm.im); } inline static void * GifAnimEnd(int * size) { return gdImageGifAnimEndPtr(size); } void Gd(FILE * out) const { gdImageGd(im, out); } void* Gd(int * size) const { return gdImageGdPtr(im, size); } void Gd2(FILE * out, int cs, int fmt) const { gdImageGd2(im, out, cs, fmt); } void* Gd2(int cs, int fmt, int * size) const { return gdImageGd2Ptr(im, cs, fmt, size); } void Ellipse(int cx, int cy, int w, int h, int color) { gdImageEllipse(im, cx, cy, w, h, color); } /** Draw a partial ellipse centered at the given point, with the specified width and height in pixels. */ void FilledArc(int cx, int cy, int w, int h, int s, int e, int color, int style) { gdImageFilledArc(im, cx, cy, w, h, s, e, color, style); } void Arc(int cx, int cy, int w, int h, int s, int e, int color) { gdImageArc(im, cx, cy, w, h, s, e, color); } void FilledEllipse(int cx, int cy, int w, int h, int color) { gdImageFilledEllipse(im, cx, cy, w, h, color); } void FillToBorder(int x, int y, int border, int color) { gdImageFillToBorder(im, x, y, border, color); } void Fill(int x, int y, int color) { gdImageFill(im, x, y, color); } void Ellipse(const Point & c, const Size & s, int color) { Ellipse(c.X(), c.Y(), s.W(), s.H(), color); } void FilledArc(const Point & c, const Size & si, int s, int e, int color, int style) { FilledArc(c.X(), c.Y(), si.W(), si.H(), s, e, color, style); } void Arc(const Point & c, const Size & si, int s, int e, int color) { Arc(c.X(), c.Y(), si.W(), si.H(), s, e, color); } void FilledEllipse(const Point & c, const Size & s, int color) { FilledEllipse(c.X(), c.Y(), s.W(), s.H(), color); } void FillToBorder(const Point & p, int border, int color) { FillToBorder(p.X(), p.Y(), border, color); } void Fill(const Point & p, int color) { Fill(p.X(), p.Y(), color); } void Copy(const gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h) { gdImageCopy(im, src, dstX, dstY, srcX, srcY, w, h); } void CopyMerge(const gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) { gdImageCopyMerge(im, src, dstX, dstY, srcX, srcY, w, h, pct); } void CopyMergeGray(const gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) { gdImageCopyMergeGray(im, src, dstX, dstY, srcX, srcY, w, h, pct); } void CopyResized(const gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) { gdImageCopyResized(im, src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH); } void CopyResampled(const gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) { gdImageCopyResampled(im, src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH); } void CopyRotated(const gdImagePtr src, double dstX, double dstY, int srcX, int srcY, int srcWidth, int srcHeight, int angle) { gdImageCopyRotated(im, src, dstX, dstY, srcX, srcY, srcWidth, srcHeight, angle); } Image * CopyGaussianBlurred(int radius, double sigma) { return new Image(gdImageCopyGaussianBlurred(im, radius, sigma)); } void Copy(const gdImagePtr src, const Point & dstP, const Point & srcP, const Size & s) { Copy(src, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), s.W(), s.H()); } void CopyMerge(const gdImagePtr src, const Point & dstP, const Point & srcP, const Size & s, int pct) { CopyMerge(src, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), s.W(), s.H(), pct); } void CopyMergeGray(const gdImagePtr src, const Point & dstP, const Point & srcP, const Size & s, int pct) { CopyMergeGray(src, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), s.W(), s.H(), pct); } void CopyResized(const gdImagePtr src, const Point & dstP, const Point & srcP, const Size & dstS, const Size & srcS) { CopyResized(src, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), dstS.W(), dstS.H(), srcS.W(), srcS.H()); } void CopyResampled(const gdImagePtr src, const Point & dstP, const Point & srcP, const Size & dstS, const Size & srcS) { CopyResampled(src, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), dstS.W(), dstS.H(), srcS.W(), srcS.H()); } void CopyRotated(const gdImagePtr src, double dstX, double dstY, const Point & srcP, const Size & srcS, int angle) { CopyRotated(src, dstX, dstY, srcP.X(), srcP.Y(), srcS.W(), srcS.H(), angle); } void Copy(const GD::Image & src, int dstX, int dstY, int srcX, int srcY, int w, int h) { Copy(src.im, dstX, dstY, srcX, srcY, w, h); } void CopyMerge(const GD::Image & src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) { CopyMerge(src.im, dstX, dstY, srcX, srcY, w, h, pct); } void CopyMergeGray(const GD::Image & src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) { CopyMergeGray(src.im, dstX, dstY, srcX, srcY, w, h, pct); } void CopyResized(const GD::Image & src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) { CopyResized(src.im, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH); } void CopyResampled(const GD::Image & src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) { CopyResampled(src.im, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH); } void CopyRotated(const GD::Image & src, double dstX, double dstY, int srcX, int srcY, int srcWidth, int srcHeight, int angle) { CopyRotated(src.im, dstX, dstY, srcX, srcY, srcWidth, srcHeight, angle); } void Copy(const GD::Image & src, const Point & dstP, const Point & srcP, const Size & s) { Copy(src.im, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), s.W(), s.H()); } void CopyMerge(const GD::Image & src, const Point & dstP, const Point & srcP, const Size & s, int pct) { CopyMerge(src.im, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), s.W(), s.H(), pct); } void CopyMergeGray(const GD::Image & src, const Point & dstP, const Point & srcP, const Size & s, int pct) { CopyMergeGray(src.im, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), s.W(), s.H(), pct); } void CopyResized(const GD::Image & src, const Point & dstP, const Point & srcP, const Size & dstS, const Size & srcS) { CopyResized(src.im, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), dstS.W(), dstS.H(), srcS.W(), srcS.H()); } void CopyResampled(const GD::Image & src, const Point & dstP, const Point & srcP, const Size & dstS, const Size & srcS) { CopyResampled(src.im, dstP.X(), dstP.Y(), srcP.X(), srcP.Y(), dstS.W(), dstS.H(), srcS.W(), srcS.H()); } void CopyRotated(const GD::Image & src, double dstX, double dstY, const Point & srcP, const Size & srcS, int angle) { CopyRotated(src.im, dstX, dstY, srcP.X(), srcP.Y(), srcS.W(), srcS.H(), angle); } Image * Clone() { return new Image(gdImageClone(im)); } void SetBrush(gdImagePtr brush) { gdImageSetBrush(im, brush); } void SetBrush(const GD::Image & brush) { SetBrush(brush.im); } void SetTile(gdImagePtr tile) { gdImageSetTile(im, tile); } void SetTile(const GD::Image & tile) { SetTile(tile.im); } void SetAntiAliased(int c) { gdImageSetAntiAliased(im, c); } void SetAntiAliasedDontBlend(int c, int dont_blend) { gdImageSetAntiAliasedDontBlend(im, c, dont_blend); } void SetStyle(int * style, int noOfPixels) { gdImageSetStyle(im, style, noOfPixels); } void SetThickness(int thickness) { gdImageSetThickness(im, thickness); } void SetResolution(int res_x, int res_y) { gdImageSetResolution(im, res_x, res_y); } void SetInterpolationMethod(gdInterpolationMethod interpolation_method) { gdImageSetInterpolationMethod(im, interpolation_method); } Image * RotateInterpolated(const float angle, int bgcolor) { return new Image(gdImageRotateInterpolated(im, angle, bgcolor)); } void Interlace(bool interlaceArg) { gdImageInterlace(im, interlaceArg?1:0); } void AlphaBlending(bool alphaBlendingArg) { gdImageAlphaBlending(im, alphaBlendingArg?1:0); } void SaveAlpha(bool saveAlphaArg) { gdImageSaveAlpha(im, saveAlphaArg?1:0); } int ColorReplace(int src, int dst) { return gdImageColorReplace(im, src, dst); } int ColorReplaceArray(int len, int * src, int * dst) { return gdImageColorReplaceArray(im, len, src, dst); } int ColorReplaceCallback(gdCallbackImageColor callback) { return gdImageColorReplaceCallback(im, callback); } int ColorReplaceThreshold(int src, int dst, float threshold) { return gdImageColorReplaceThreshold(im, src, dst, threshold); } bool Pixelate(int block_size, gdPixelateMode mode) { return gdImagePixelate(im, block_size, mode) == 0 ? false : true; } Image * Scale(int new_width, int new_height) { return new Image(gdImageScale(im, new_width, new_height)); } bool IsTrueColor() const { return (gdImageTrueColor(im)?true:false); } int SX() const { return gdImageSX(im); } int SY() const { return gdImageSY(im); } int Width() const { return SX(); } int Height() const { return SY(); } int ResX() const { return gdImageResolutionX(im); } int ResY() const { return gdImageResolutionY(im); } void GetSize(Size & s) const { s.set(SX(), SY()); } int ColorsTotal() const { return gdImageColorsTotal(im); } int Red(int color) const { return gdImageRed(im, color); } int Green(int color) const { return gdImageGreen(im, color); } int Blue(int color) const { return gdImageBlue(im, color); } int Alpha(int color) const { return gdImageAlpha(im, color); } int GetTransparent() const { return gdImageGetTransparent(im); } int GetInterlaced() const { return gdImageGetInterlaced(im); } int PalettePixel(int x, int y) const { return gdImagePalettePixel(im, x, y); } int TrueColorPixel(int x, int y) const { return gdImageTrueColorPixel(im, x, y); } const gdImagePtr GetPtr() const { return im; } protected: /// Free the internal image pointer void clear() { if (im) gdImageDestroy(im); im = 0; } gdImagePtr im; }; } // namespace GD /// Read in an image from a standard library input stream std::istream & operator>> (std::istream & in, GD::Image & img); #endif /* __cplusplus */ #endif /* _gdpp_h */ libgd-2.3.0/src/config.hin0000664000175000017500000000630113635665564012277 00000000000000/* src/config.hin. Generated from configure.ac by autoheader. */ /* Define is you are building for Win32 API */ #undef BGDWIN32 /* Whether to support gd image formats */ #undef ENABLE_GD_FORMATS /* Define to 1 if you have the header file. */ #undef HAVE_DIRENT_H /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define if you have the ft2build.h header. */ #undef HAVE_FT2BUILD_H /* Define if you have the iconv() function and it works. */ #undef HAVE_ICONV /* Define to 1 if you have the header file. */ #undef HAVE_ICONV_H /* Define if defines iconv_t. */ #undef HAVE_ICONV_T_DEF /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if you have fontconfig */ #undef HAVE_LIBFONTCONFIG /* Define if you have freetype */ #undef HAVE_LIBFREETYPE /* Define if you have liq */ #undef HAVE_LIBIMAGEQUANT /* Define if you have jpeg */ #undef HAVE_LIBJPEG /* Define to 1 if you have the `m' library (-lm). */ #undef HAVE_LIBM /* Define if you have png */ #undef HAVE_LIBPNG /* Define if you have raqm */ #undef HAVE_LIBRAQM /* Define if you have tiff */ #undef HAVE_LIBTIFF /* Define if you have webp */ #undef HAVE_LIBWEBP /* Define if you have xpm */ #undef HAVE_LIBXPM /* Define if you have zlib */ #undef HAVE_LIBZ /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define if OpenMP is enabled */ #undef HAVE_OPENMP /* Define if you have POSIX threads libraries and header files. */ #undef HAVE_PTHREAD /* Have PTHREAD_PRIO_INHERIT. */ #undef HAVE_PTHREAD_PRIO_INHERIT /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 or 0, depending whether the compiler supports simple visibility declarations. */ #undef HAVE_VISIBILITY /* Define as const if the declaration of iconv() needs const. */ #undef ICONV_CONST /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to necessary symbol if this constant uses a non-standard name on your system. */ #undef PTHREAD_CREATE_JOINABLE /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION libgd-2.3.0/src/gdfontl.h0000664000175000017500000000104713634445460012130 00000000000000#ifndef _GDFONTL_H_ #define _GDFONTL_H_ 1 #ifdef __cplusplus extern "C" { #endif /* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -misc-fixed-medium-r-normal--16-140-75-75-c-80-iso8859-2 at Tue Jan 6 19:39:27 1998. The original bdf was holding following copyright: "Libor Skarvada, libor@informatics.muni.cz" */ #include "gd.h" extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontLarge; BGD_DECLARE(gdFontPtr) gdFontGetLarge(void); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/webpng.c0000664000175000017500000001462613635665516011766 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif /* Bring in standard I/O and string manipulation functions */ #include #include #include #include #include #ifdef HAVE_UNISTD_H #include #endif #ifdef __clang__ /* Workaround broken clang behavior: https://llvm.org/bugs/show_bug.cgi?id=20144 */ #undef strcmp #endif /* Bring in the gd library functions */ #include "gd.h" #define KEEP_TRANS (-100) static const char argv0[] = "webpng"; static void usage(const char *msg) { /* If the command failed, output an explanation. */ fprintf(msg == NULL ? stdout : stderr, "Usage: %s [-i y|n] [-l] [-t index|none] [-d] [-a] pngname.png\n" " -i Turns on/off interlace\n" " -l Prints the table of color indexes\n" " -t Set the transparent color to the specified index (0-255 or \"none\")\n" " -d Reports the dimensions and other characteristics of the image\n" " -a Prints all alpha channels that are not 100%% opaque\n" "\n" "If you specify '-' as the input file, stdin/stdout will be used as input/output.\n", argv0); if (msg) fprintf(stderr, "\nError: %s\n", msg); exit(msg == NULL ? 0 : 1); } static void err(const char *fmt, ...) { va_list ap; int e = errno; fprintf(stderr, "%s: error: ", argv0); va_start(ap, fmt); vfprintf(stderr, fmt, ap); va_end(ap); if (e) fprintf(stderr, ": %s", strerror(e)); fputs("\n", stderr); exit(1); } int main(int argc, char **argv) { FILE *in; FILE *out; const char *infile; char *tmpfile; int i; int use_stdin_stdout = 0; int interlace = -100; int list_color_table = 0; int trans_col = KEEP_TRANS; int report_details = 0; int print_alpha = 0; /* Declare our image pointer */ gdImagePtr im = 0; /* We'll set 'write' once we know the user's request requires that the image be written back to disk. */ int write = 0; int got_a_flag = 0; /* Consider each argument in turn. */ opterr = 0; while ((i = getopt(argc, argv, "i:lt:da")) != -1) { got_a_flag = 1; switch (i) { case 'i': /* -i turns on and off interlacing. */ if (strcmp(optarg, "y") == 0) interlace = 1; else if (strcmp(optarg, "n") == 0) interlace = 0; else usage("-i specified without y or n"); write = 1; break; case 'l': /* List the colors in the color table. */ list_color_table = 1; break; case 't': /* Set transparent index (or none). */ if (strcmp(optarg, "none") == 0) { /* -1 means not transparent. */ trans_col = -1; } else { /* XXX: Should check for errors. */ trans_col = atoi(optarg); if (trans_col < 0 || trans_col > 255) err("-t has to be in the range of 0 and 255 (inclusive)"); } write = 1; break; case 'd': /* Output dimensions, etc. */ report_details = 1; break; case 'a': /* Alpha channel info -- thanks to Wez Furlong */ print_alpha = 1; break; case 'h': usage(NULL); break; default: case '?': if (optind < argc && strcmp(argv[optind], "--help") == 0) usage(NULL); usage("unknown option"); break; } } if (got_a_flag == 0) usage("missing operation flag"); if (argc == optind) usage("missing filename"); else if (argc != optind + 1) usage("can only specify one file"); infile = argv[optind]; if (strcmp(infile, "-") == 0) { /* - is synonymous with STDIN */ use_stdin_stdout = 1; in = stdin; } else in = fopen(infile, "rb"); if (!in) err("can't open file %s", infile); /* Now load the image. */ im = gdImageCreateFromPng(in); fclose(in); /* If the load failed, it must not be a PNG file. */ if (!im) err("%s is not a valid PNG file", infile); if (list_color_table) { /* List the colors in the color table. */ if (!im->trueColor) { int j; /* Tabs used below. */ printf("Index Red Green Blue Alpha\n"); for (j = 0; j < gdImageColorsTotal(im); ++j) { /* Use access macros to learn colors. */ printf("%d %d %d %d %d\n", j, gdImageRed(im, j), gdImageGreen(im, j), gdImageBlue(im, j), gdImageAlpha(im, j)); } } else printf("Truecolor image, no palette entries to list.\n"); } if (report_details) { /* Output dimensions, etc. */ int t; printf("Width: %d Height: %d Colors: %d\n", gdImageSX(im), gdImageSY(im), gdImageColorsTotal(im)); /* -1 means the image is not transparent. */ t = gdImageGetTransparent(im); if (t != -1) printf("First 100%% transparent index: %d\n", t); else printf("First 100%% transparent index: none\n"); if (gdImageGetInterlaced(im)) printf("Interlaced: yes\n"); else printf("Interlaced: no\n"); } if (print_alpha) { /* Alpha channel info -- thanks to Wez Furlong */ int maxx, maxy, x, y, alpha, pix, nalpha = 0; maxx = gdImageSX(im); maxy = gdImageSY(im); printf("alpha channel information:\n"); if (im->trueColor) { for (y = 0; y < maxy; y++) { for (x = 0; x < maxx; x++) { pix = gdImageGetPixel(im, x, y); alpha = gdTrueColorGetAlpha(pix); if (alpha > gdAlphaOpaque) { /* Use access macros to learn colors. */ printf("%d %d %d %d\n", gdTrueColorGetRed(pix), gdTrueColorGetGreen(pix), gdTrueColorGetBlue(pix), alpha); nalpha++; } } } } else printf("NOT a true color image\n"); printf("%d alpha channels\n", nalpha); } /* If no modifications requested, break out. */ if (write == 0) { gdImageDestroy(im); return 0; } if (interlace == 1) gdImageInterlace(im, 1); else if (interlace == 0) gdImageInterlace(im, 0); if (trans_col != KEEP_TRANS) gdImageColorTransparent(im, trans_col); if (use_stdin_stdout) { out = stdout; } else { /* Open a temporary file. */ size_t filelen = strlen(infile); size_t len = filelen + 8; int outfd; tmpfile = malloc(len); if (tmpfile == NULL) err("could not create a tempfile"); memcpy(tmpfile, infile, filelen); strcpy(tmpfile + filelen, ".XXXXXX"); outfd = mkstemp(tmpfile); if (outfd == -1) err("could not open %s", tmpfile); out = fdopen(outfd, "wb"); if (!out) err("could not open %s", tmpfile); } /* Write the new PNG. */ gdImagePng(im, out); if (!use_stdin_stdout) { fclose(out); /* Erase the old PNG. */ unlink(infile); /* Rename the new to the old. */ if (rename(tmpfile, infile) != 0) err("unable to rename %s to %s", infile, tmpfile); } /* Delete the image from memory. */ gdImageDestroy(im); /* All's well that ends well. */ return 0; } libgd-2.3.0/src/gd_interpolation.c0000664000175000017500000017436213635665516014051 00000000000000/* * The two pass scaling function is based on: * Filtered Image Rescaling * Based on Gems III * - Schumacher general filtered image rescaling * (pp. 414-424) * by Dale Schumacher * * Additional changes by Ray Gardener, Daylon Graphics Ltd. * December 4, 1999 * * Ported to libgd by Pierre Joye. Support for multiple channels * added (argb for now). * * Initial sources code is avaibable in the Gems Source Code Packages: * http://www.acm.org/pubs/tog/GraphicsGems/GGemsIII.tar.gz * */ /* Summary: - Horizontal filter contributions are calculated on the fly, as each column is mapped from src to dst image. This lets us omit having to allocate a temporary full horizontal stretch of the src image. - If none of the src pixels within a sampling region differ, then the output pixel is forced to equal (any of) the source pixel. This ensures that filters do not corrupt areas of constant color. - Filter weight contribution results, after summing, are rounded to the nearest pixel color value instead of being casted to ILubyte (usually an int or char). Otherwise, artifacting occurs. */ /* Additional functions are available for simple rotation or up/downscaling. downscaling using the fixed point implementations are usually much faster than the existing gdImageCopyResampled while having a similar or better quality. For image rotations, the optimized versions have a lazy antialiasing for the edges of the images. For a much better antialiased result, the affine function is recommended. */ /* TODO: - Optimize pixel accesses and loops once we have continuous buffer - Add scale support for a portion only of an image (equivalent of copyresized/resampled) */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include #include #include #include #undef NDEBUG /* Comment out this line to enable asserts. * TODO: This logic really belongs in cmake and configure. */ #define NDEBUG 1 #include #include "gd.h" #include "gdhelpers.h" #include "gd_intern.h" #ifdef _MSC_VER # pragma optimize("t", on) # include #endif static gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height); static gdImagePtr gdImageScaleBicubicFixed(gdImagePtr src, const unsigned int width, const unsigned int height); static gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, const unsigned int width, const unsigned int height); static gdImagePtr gdImageRotateNearestNeighbour(gdImagePtr src, const float degrees, const int bgColor); static gdImagePtr gdImageRotateGeneric(gdImagePtr src, const float degrees, const int bgColor); #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) /* only used here, let do a generic fixed point integers later if required by other part of GD */ typedef long gdFixed; /* Integer to fixed point */ #define gd_itofx(x) ((x) << 8) /* Float to fixed point */ #define gd_ftofx(x) (long)((x) * 256) /* Double to fixed point */ #define gd_dtofx(x) (long)((x) * 256) /* Fixed point to integer */ #define gd_fxtoi(x) ((x) >> 8) /* Fixed point to float */ # define gd_fxtof(x) ((float)(x) / 256) /* Fixed point to double */ #define gd_fxtod(x) ((double)(x) / 256) /* Multiply a fixed by a fixed */ #define gd_mulfx(x,y) (((x) * (y)) >> 8) /* Divide a fixed by a fixed */ #define gd_divfx(x,y) (((x) << 8) / (y)) typedef struct { double *Weights; /* Normalized weights of neighboring pixels */ int Left,Right; /* Bounds of source pixels window */ } ContributionType; /* Contirbution information for a single pixel */ typedef struct { ContributionType *ContribRow; /* Row (or column) of contribution weights */ unsigned int WindowSize, /* Filter window size (of affecting source pixels) */ LineLength; /* Length of line (no. or rows / cols) */ } LineContribType; /* Each core filter has its own radius */ #define DEFAULT_FILTER_LINEAR 1.0f #define DEFAULT_FILTER_BICUBIC 3.0f #define DEFAULT_FILTER_BOX 0.5f #define DEFAULT_FILTER_GENERALIZED_CUBIC 0.5f #define DEFAULT_FILTER_RADIUS 1.0f #define DEFAULT_LANCZOS8_RADIUS 8.0f #define DEFAULT_LANCZOS3_RADIUS 3.0f #define DEFAULT_HERMITE_RADIUS 1.0f #define DEFAULT_BOX_RADIUS 0.5f #define DEFAULT_TRIANGLE_RADIUS 1.0f #define DEFAULT_BELL_RADIUS 1.5f #define DEFAULT_CUBICSPLINE_RADIUS 2.0f #define DEFAULT_MITCHELL_RADIUS 2.0f #define DEFAULT_COSINE_RADIUS 1.0f #define DEFAULT_CATMULLROM_RADIUS 2.0f #define DEFAULT_QUADRATIC_RADIUS 1.5f #define DEFAULT_QUADRATICBSPLINE_RADIUS 1.5f #define DEFAULT_CUBICCONVOLUTION_RADIUS 3.0f #define DEFAULT_GAUSSIAN_RADIUS 1.0f #define DEFAULT_HANNING_RADIUS 1.0f #define DEFAULT_HAMMING_RADIUS 1.0f #define DEFAULT_SINC_RADIUS 1.0f #define DEFAULT_WELSH_RADIUS 1.0f static double KernelBessel_J1(const double x) { double p, q; register long i; static const double Pone[] = { 0.581199354001606143928050809e+21, -0.6672106568924916298020941484e+20, 0.2316433580634002297931815435e+19, -0.3588817569910106050743641413e+17, 0.2908795263834775409737601689e+15, -0.1322983480332126453125473247e+13, 0.3413234182301700539091292655e+10, -0.4695753530642995859767162166e+7, 0.270112271089232341485679099e+4 }, Qone[] = { 0.11623987080032122878585294e+22, 0.1185770712190320999837113348e+20, 0.6092061398917521746105196863e+17, 0.2081661221307607351240184229e+15, 0.5243710262167649715406728642e+12, 0.1013863514358673989967045588e+10, 0.1501793594998585505921097578e+7, 0.1606931573481487801970916749e+4, 0.1e+1 }; p = Pone[8]; q = Qone[8]; for (i=7; i >= 0; i--) { p = p*x*x+Pone[i]; q = q*x*x+Qone[i]; } return (double)(p/q); } static double KernelBessel_P1(const double x) { double p, q; register long i; static const double Pone[] = { 0.352246649133679798341724373e+5, 0.62758845247161281269005675e+5, 0.313539631109159574238669888e+5, 0.49854832060594338434500455e+4, 0.2111529182853962382105718e+3, 0.12571716929145341558495e+1 }, Qone[] = { 0.352246649133679798068390431e+5, 0.626943469593560511888833731e+5, 0.312404063819041039923015703e+5, 0.4930396490181088979386097e+4, 0.2030775189134759322293574e+3, 0.1e+1 }; p = Pone[5]; q = Qone[5]; for (i=4; i >= 0; i--) { p = p*(8.0/x)*(8.0/x)+Pone[i]; q = q*(8.0/x)*(8.0/x)+Qone[i]; } return (double)(p/q); } static double KernelBessel_Q1(const double x) { double p, q; register long i; static const double Pone[] = { 0.3511751914303552822533318e+3, 0.7210391804904475039280863e+3, 0.4259873011654442389886993e+3, 0.831898957673850827325226e+2, 0.45681716295512267064405e+1, 0.3532840052740123642735e-1 }, Qone[] = { 0.74917374171809127714519505e+4, 0.154141773392650970499848051e+5, 0.91522317015169922705904727e+4, 0.18111867005523513506724158e+4, 0.1038187585462133728776636e+3, 0.1e+1 }; p = Pone[5]; q = Qone[5]; for (i=4; i >= 0; i--) { p = p*(8.0/x)*(8.0/x)+Pone[i]; q = q*(8.0/x)*(8.0/x)+Qone[i]; } return (double)(p/q); } static double KernelBessel_Order1(double x) { double p, q; if (x == 0.0) return (0.0f); p = x; if (x < 0.0) x=(-x); if (x < 8.0) return (p*KernelBessel_J1(x)); q = (double)sqrt(2.0f/(M_PI*x))*(double)(KernelBessel_P1(x)*(1.0f/sqrt(2.0f)*(sin(x)-cos(x)))-8.0f/x*KernelBessel_Q1(x)* (-1.0f/sqrt(2.0f)*(sin(x)+cos(x)))); if (p < 0.0f) q = (-q); return (q); } static double filter_bessel(const double x) { if (x == 0.0f) return (double)(M_PI/4.0f); return (KernelBessel_Order1((double)M_PI*x)/(2.0f*x)); } static double filter_blackman(const double x) { return (0.42f+0.5f*(double)cos(M_PI*x)+0.08f*(double)cos(2.0f*M_PI*x)); } double filter_linear(const double x) { double ax = fabs(x); if (ax < 1.0f) { return (1.0f - ax); } return 0.0f; } /** * Bicubic interpolation kernel (a=-1): \verbatim / | 1-2|t|**2+|t|**3 , if |t| < 1 h(t) = | 4-8|t|+5|t|**2-|t|**3 , if 1<=|t|<2 | 0 , otherwise \ \endverbatim * ***bd*** 2.2004 */ static double filter_bicubic(const double t) { const double abs_t = (double)fabs(t); const double abs_t_sq = abs_t * abs_t; if (abs_t<1) return 1-2*abs_t_sq+abs_t_sq*abs_t; if (abs_t<2) return 4 - 8*abs_t +5*abs_t_sq - abs_t_sq*abs_t; return 0; } /** * Generalized cubic kernel (for a=-1 it is the same as BicubicKernel): \verbatim / | (a+2)|t|**3 - (a+3)|t|**2 + 1 , |t| <= 1 h(t) = | a|t|**3 - 5a|t|**2 + 8a|t| - 4a , 1 < |t| <= 2 | 0 , otherwise \ \endverbatim * Often used values for a are -1 and -1/2. */ static double filter_generalized_cubic(const double t) { const double a = -DEFAULT_FILTER_GENERALIZED_CUBIC; double abs_t = (double)fabs(t); double abs_t_sq = abs_t * abs_t; if (abs_t < 1) return (a + 2) * abs_t_sq * abs_t - (a + 3) * abs_t_sq + 1; if (abs_t < 2) return a * abs_t_sq * abs_t - 5 * a * abs_t_sq + 8 * a * abs_t - 4 * a; return 0; } #ifdef FUNCTION_NOT_USED_YET /* CubicSpline filter, default radius 2 */ static double filter_cubic_spline(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; if (x < 1.0 ) { const double x2 = x*x; return (0.5 * x2 * x - x2 + 2.0 / 3.0); } if (x < 2.0) { return (pow(2.0 - x, 3.0)/6.0); } return 0; } #endif #ifdef FUNCTION_NOT_USED_YET /* CubicConvolution filter, default radius 3 */ static double filter_cubic_convolution(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; const double x2 = x1 * x1; const double x2_x = x2 * x; if (x <= 1.0) return ((4.0 / 3.0)* x2_x - (7.0 / 3.0) * x2 + 1.0); if (x <= 2.0) return (- (7.0 / 12.0) * x2_x + 3 * x2 - (59.0 / 12.0) * x + 2.5); if (x <= 3.0) return ( (1.0/12.0) * x2_x - (2.0 / 3.0) * x2 + 1.75 * x - 1.5); return 0; } #endif static double filter_box(double x) { if (x < - DEFAULT_FILTER_BOX) return 0.0f; if (x < DEFAULT_FILTER_BOX) return 1.0f; return 0.0f; } static double filter_catmullrom(const double x) { if (x < -2.0) return(0.0f); if (x < -1.0) return(0.5f*(4.0f+x*(8.0f+x*(5.0f+x)))); if (x < 0.0) return(0.5f*(2.0f+x*x*(-5.0f-3.0f*x))); if (x < 1.0) return(0.5f*(2.0f+x*x*(-5.0f+3.0f*x))); if (x < 2.0) return(0.5f*(4.0f+x*(-8.0f+x*(5.0f-x)))); return(0.0f); } #ifdef FUNCTION_NOT_USED_YET static double filter_filter(double t) { /* f(t) = 2|t|^3 - 3|t|^2 + 1, -1 <= t <= 1 */ if(t < 0.0) t = -t; if(t < 1.0) return((2.0 * t - 3.0) * t * t + 1.0); return(0.0); } #endif #ifdef FUNCTION_NOT_USED_YET /* Lanczos8 filter, default radius 8 */ static double filter_lanczos8(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; #define R DEFAULT_LANCZOS8_RADIUS if ( x == 0.0) return 1; if ( x < R) { return R * sin(x*M_PI) * sin(x * M_PI/ R) / (x * M_PI * x * M_PI); } return 0.0; #undef R } #endif #ifdef FUNCTION_NOT_USED_YET /* Lanczos3 filter, default radius 3 */ static double filter_lanczos3(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; #define R DEFAULT_LANCZOS3_RADIUS if ( x == 0.0) return 1; if ( x < R) { return R * sin(x*M_PI) * sin(x * M_PI / R) / (x * M_PI * x * M_PI); } return 0.0; #undef R } #endif /* Hermite filter, default radius 1 */ static double filter_hermite(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; if (x < 1.0) return ((2.0 * x - 3) * x * x + 1.0 ); return 0.0; } /* Trangle filter, default radius 1 */ static double filter_triangle(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; if (x < 1.0) return (1.0 - x); return 0.0; } /* Bell filter, default radius 1.5 */ static double filter_bell(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; if (x < 0.5) return (0.75 - x*x); if (x < 1.5) return (0.5 * pow(x - 1.5, 2.0)); return 0.0; } /* Mitchell filter, default radius 2.0 */ static double filter_mitchell(const double x) { #define KM_B (1.0f/3.0f) #define KM_C (1.0f/3.0f) #define KM_P0 (( 6.0f - 2.0f * KM_B ) / 6.0f) #define KM_P2 ((-18.0f + 12.0f * KM_B + 6.0f * KM_C) / 6.0f) #define KM_P3 (( 12.0f - 9.0f * KM_B - 6.0f * KM_C) / 6.0f) #define KM_Q0 (( 8.0f * KM_B + 24.0f * KM_C) / 6.0f) #define KM_Q1 ((-12.0f * KM_B - 48.0f * KM_C) / 6.0f) #define KM_Q2 (( 6.0f * KM_B + 30.0f * KM_C) / 6.0f) #define KM_Q3 (( -1.0f * KM_B - 6.0f * KM_C) / 6.0f) if (x < -2.0) return(0.0f); if (x < -1.0) return(KM_Q0-x*(KM_Q1-x*(KM_Q2-x*KM_Q3))); if (x < 0.0f) return(KM_P0+x*x*(KM_P2-x*KM_P3)); if (x < 1.0f) return(KM_P0+x*x*(KM_P2+x*KM_P3)); if (x < 2.0f) return(KM_Q0+x*(KM_Q1+x*(KM_Q2+x*KM_Q3))); return(0.0f); } #ifdef FUNCTION_NOT_USED_YET /* Cosine filter, default radius 1 */ static double filter_cosine(const double x) { if ((x >= -1.0) && (x <= 1.0)) return ((cos(x * M_PI) + 1.0)/2.0); return 0; } #endif /* Quadratic filter, default radius 1.5 */ static double filter_quadratic(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; if (x <= 0.5) return (- 2.0 * x * x + 1); if (x <= 1.5) return (x * x - 2.5* x + 1.5); return 0.0; } static double filter_bspline(const double x) { if (x>2.0f) { return 0.0f; } else { double a, b, c, d; /* Was calculated anyway cause the "if((x-1.0f) < 0)" */ const double xm1 = x - 1.0f; const double xp1 = x + 1.0f; const double xp2 = x + 2.0f; if ((xp2) <= 0.0f) a = 0.0f; else a = xp2*xp2*xp2; if ((xp1) <= 0.0f) b = 0.0f; else b = xp1*xp1*xp1; if (x <= 0) c = 0.0f; else c = x*x*x; if ((xm1) <= 0.0f) d = 0.0f; else d = xm1*xm1*xm1; return (0.16666666666666666667f * (a - (4.0f * b) + (6.0f * c) - (4.0f * d))); } } #ifdef FUNCTION_NOT_USED_YET /* QuadraticBSpline filter, default radius 1.5 */ static double filter_quadratic_bspline(const double x1) { const double x = x1 < 0.0 ? -x1 : x1; if (x <= 0.5) return (- x * x + 0.75); if (x <= 1.5) return (0.5 * x * x - 1.5 * x + 1.125); return 0.0; } #endif static double filter_gaussian(const double x) { /* return(exp((double) (-2.0 * x * x)) * sqrt(2.0 / M_PI)); */ return (double)(exp(-2.0f * x * x) * 0.79788456080287f); } static double filter_hanning(const double x) { /* A Cosine windowing function */ return(0.5 + 0.5 * cos(M_PI * x)); } static double filter_hamming(const double x) { /* should be (0.54+0.46*cos(M_PI*(double) x)); but this approximation is sufficient */ if (x < -1.0f) return 0.0f; if (x < 0.0f) return 0.92f*(-2.0f*x-3.0f)*x*x+1.0f; if (x < 1.0f) return 0.92f*(2.0f*x-3.0f)*x*x+1.0f; return 0.0f; } static double filter_power(const double x) { const double a = 2.0f; if (fabs(x)>1) return 0.0f; return (1.0f - (double)fabs(pow(x,a))); } static double filter_sinc(const double x) { /* X-scaled Sinc(x) function. */ if (x == 0.0) return(1.0); return (sin(M_PI * (double) x) / (M_PI * (double) x)); } #ifdef FUNCTION_NOT_USED_YET static double filter_welsh(const double x) { /* Welsh parabolic windowing filter */ if (x < 1.0) return(1 - x*x); return(0.0); } #endif #if defined(_MSC_VER) && !defined(inline) # define inline __inline #endif /* keep it for future usage for affine copy over an existing image, targetting fix for 2.2.2 */ #ifdef FUNCTION_NOT_USED_YET /* Copied from upstream's libgd */ static inline int _color_blend (const int dst, const int src) { const int src_alpha = gdTrueColorGetAlpha(src); if( src_alpha == gdAlphaOpaque ) { return src; } else { const int dst_alpha = gdTrueColorGetAlpha(dst); if( src_alpha == gdAlphaTransparent ) return dst; if( dst_alpha == gdAlphaTransparent ) { return src; } else { register int alpha, red, green, blue; const int src_weight = gdAlphaTransparent - src_alpha; const int dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; const int tot_weight = src_weight + dst_weight; alpha = src_alpha * dst_alpha / gdAlphaMax; red = (gdTrueColorGetRed(src) * src_weight + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; green = (gdTrueColorGetGreen(src) * src_weight + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; blue = (gdTrueColorGetBlue(src) * src_weight + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; return ((alpha << 24) + (red << 16) + (green << 8) + blue); } } } static inline int _setEdgePixel(const gdImagePtr src, unsigned int x, unsigned int y, gdFixed coverage, const int bgColor) { const gdFixed f_127 = gd_itofx(127); register int c = src->tpixels[y][x]; c = c | (( (int) (gd_fxtof(gd_mulfx(coverage, f_127)) + 50.5f)) << 24); return _color_blend(bgColor, c); } #endif static inline int getPixelOverflowTC(gdImagePtr im, const int x, const int y, const int bgColor) { if (gdImageBoundsSafe(im, x, y)) { const int c = im->tpixels[y][x]; if (c == im->transparent) { return bgColor == -1 ? gdTrueColorAlpha(0, 0, 0, 127) : bgColor; } return c; } else { return bgColor; } } #define colorIndex2RGBA(c) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(c)]) #define colorIndex2RGBcustomA(c, a) gdTrueColorAlpha(im->red[(c)], im->green[(c)], im->blue[(c)], im->alpha[(a)]) static inline int getPixelOverflowPalette(gdImagePtr im, const int x, const int y, const int bgColor) { if (gdImageBoundsSafe(im, x, y)) { const int c = im->pixels[y][x]; if (c == im->transparent) { return bgColor == -1 ? gdTrueColorAlpha(0, 0, 0, 127) : bgColor; } return colorIndex2RGBA(c); } else { return bgColor; } } static int getPixelInterpolateWeight(gdImagePtr im, const double x, const double y, const int bgColor) { /* Closest pixel <= (xf,yf) */ int sx = (int)(x); int sy = (int)(y); const double xf = x - (double)sx; const double yf = y - (double)sy; const double nxf = (double) 1.0 - xf; const double nyf = (double) 1.0 - yf; const double m1 = xf * yf; const double m2 = nxf * yf; const double m3 = xf * nyf; const double m4 = nxf * nyf; /* get color values of neighbouring pixels */ const int c1 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy, bgColor) : getPixelOverflowPalette(im, sx, sy, bgColor); const int c2 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy, bgColor) : getPixelOverflowPalette(im, sx - 1, sy, bgColor); const int c3 = im->trueColor == 1 ? getPixelOverflowTC(im, sx, sy - 1, bgColor) : getPixelOverflowPalette(im, sx, sy - 1, bgColor); const int c4 = im->trueColor == 1 ? getPixelOverflowTC(im, sx - 1, sy - 1, bgColor) : getPixelOverflowPalette(im, sx, sy - 1, bgColor); int r, g, b, a; if (x < 0) sx--; if (y < 0) sy--; /* component-wise summing-up of color values */ if (im->trueColor) { r = (int)(m1*gdTrueColorGetRed(c1) + m2*gdTrueColorGetRed(c2) + m3*gdTrueColorGetRed(c3) + m4*gdTrueColorGetRed(c4)); g = (int)(m1*gdTrueColorGetGreen(c1) + m2*gdTrueColorGetGreen(c2) + m3*gdTrueColorGetGreen(c3) + m4*gdTrueColorGetGreen(c4)); b = (int)(m1*gdTrueColorGetBlue(c1) + m2*gdTrueColorGetBlue(c2) + m3*gdTrueColorGetBlue(c3) + m4*gdTrueColorGetBlue(c4)); a = (int)(m1*gdTrueColorGetAlpha(c1) + m2*gdTrueColorGetAlpha(c2) + m3*gdTrueColorGetAlpha(c3) + m4*gdTrueColorGetAlpha(c4)); } else { r = (int)(m1*im->red[(c1)] + m2*im->red[(c2)] + m3*im->red[(c3)] + m4*im->red[(c4)]); g = (int)(m1*im->green[(c1)] + m2*im->green[(c2)] + m3*im->green[(c3)] + m4*im->green[(c4)]); b = (int)(m1*im->blue[(c1)] + m2*im->blue[(c2)] + m3*im->blue[(c3)] + m4*im->blue[(c4)]); a = (int)(m1*im->alpha[(c1)] + m2*im->alpha[(c2)] + m3*im->alpha[(c3)] + m4*im->alpha[(c4)]); } r = CLAMP(r, 0, 255); g = CLAMP(g, 0, 255); b = CLAMP(b, 0, 255); a = CLAMP(a, 0, gdAlphaMax); return gdTrueColorAlpha(r, g, b, a); } /** * InternalFunction: getPixelInterpolated * Returns the interpolated color value using the default interpolation * method. The returned color is always in the ARGB format (truecolor). * * Parameters: * im - Image to set the default interpolation method * y - X value of the ideal position * y - Y value of the ideal position * method - Interpolation method * * Returns: * GD_TRUE if the affine is rectilinear or GD_FALSE * * See also: * */ int getPixelInterpolated(gdImagePtr im, const double x, const double y, const int bgColor) { const int xi=(int)(x); const int yi=(int)(y); int yii; int i; double kernel, kernel_cache_y; double kernel_x[12], kernel_y[4]; double new_r = 0.0f, new_g = 0.0f, new_b = 0.0f, new_a = 0.0f; /* These methods use special implementations */ if (im->interpolation_id == GD_NEAREST_NEIGHBOUR) { return -1; } if (im->interpolation_id == GD_WEIGHTED4) { return getPixelInterpolateWeight(im, x, y, bgColor); } if (im->interpolation_id == GD_NEAREST_NEIGHBOUR) { if (im->trueColor == 1) { return getPixelOverflowTC(im, xi, yi, bgColor); } else { return getPixelOverflowPalette(im, xi, yi, bgColor); } } if (im->interpolation) { for (i=0; i<4; i++) { kernel_x[i] = (double) im->interpolation((double)(xi+i-1-x)); kernel_y[i] = (double) im->interpolation((double)(yi+i-1-y)); } } else { return -1; } /* * TODO: use the known fast rgba multiplication implementation once * the new formats are in place */ for (yii = yi-1; yii < yi+3; yii++) { int xii; kernel_cache_y = kernel_y[yii-(yi-1)]; if (im->trueColor) { for (xii=xi-1; xiiWindowSize = windows_size; res->LineLength = line_length; if (overflow2(line_length, sizeof(ContributionType))) { gdFree(res); return NULL; } res->ContribRow = (ContributionType *) gdMalloc(line_length * sizeof(ContributionType)); if (res->ContribRow == NULL) { gdFree(res); return NULL; } for (u = 0 ; u < line_length ; u++) { res->ContribRow[u].Weights = (double *) gdMalloc(weights_size); if (res->ContribRow[u].Weights == NULL) { unsigned int i; for (i=0;iContribRow[i].Weights); } gdFree(res->ContribRow); gdFree(res); return NULL; } } return res; } static inline void _gdContributionsFree(LineContribType * p) { unsigned int u; for (u = 0; u < p->LineLength; u++) { gdFree(p->ContribRow[u].Weights); } gdFree(p->ContribRow); gdFree(p); } static inline LineContribType *_gdContributionsCalc(unsigned int line_size, unsigned int src_size, double scale_d, const interpolation_method pFilter) { double width_d; double scale_f_d = 1.0; const double filter_width_d = DEFAULT_BOX_RADIUS; int windows_size; unsigned int u; LineContribType *res; if (scale_d < 1.0) { width_d = filter_width_d / scale_d; scale_f_d = scale_d; } else { width_d= filter_width_d; } windows_size = 2 * (int)ceil(width_d) + 1; res = _gdContributionsAlloc(line_size, windows_size); if (res == NULL) { return NULL; } for (u = 0; u < line_size; u++) { const double dCenter = (double)u / scale_d; /* get the significant edge points affecting the pixel */ register int iLeft = MAX(0, (int)floor (dCenter - width_d)); int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); double dTotalWeight = 0.0; int iSrc; /* Cut edge points to fit in filter window in case of spill-off */ if (iRight - iLeft + 1 > windows_size) { if (iLeft < ((int)src_size - 1 / 2)) { iLeft++; } else { iRight--; } } res->ContribRow[u].Left = iLeft; res->ContribRow[u].Right = iRight; for (iSrc = iLeft; iSrc <= iRight; iSrc++) { dTotalWeight += (res->ContribRow[u].Weights[iSrc-iLeft] = scale_f_d * (*pFilter)(scale_f_d * (dCenter - (double)iSrc))); } if (dTotalWeight < 0.0) { _gdContributionsFree(res); return NULL; } if (dTotalWeight > 0.0) { for (iSrc = iLeft; iSrc <= iRight; iSrc++) { res->ContribRow[u].Weights[iSrc-iLeft] /= dTotalWeight; } } } return res; } static inline void _gdScaleOneAxis(gdImagePtr pSrc, gdImagePtr dst, unsigned int dst_len, unsigned int row, LineContribType *contrib, gdAxis axis) { unsigned int ndx; for (ndx = 0; ndx < dst_len; ndx++) { double r = 0, g = 0, b = 0, a = 0; const int left = contrib->ContribRow[ndx].Left; const int right = contrib->ContribRow[ndx].Right; int *dest = (axis == HORIZONTAL) ? &dst->tpixels[row][ndx] : &dst->tpixels[ndx][row]; int i; /* Accumulate each channel */ for (i = left; i <= right; i++) { const int left_channel = i - left; const int srcpx = (axis == HORIZONTAL) ? pSrc->tpixels[row][i] : pSrc->tpixels[i][row]; r += contrib->ContribRow[ndx].Weights[left_channel] * (double)(gdTrueColorGetRed(srcpx)); g += contrib->ContribRow[ndx].Weights[left_channel] * (double)(gdTrueColorGetGreen(srcpx)); b += contrib->ContribRow[ndx].Weights[left_channel] * (double)(gdTrueColorGetBlue(srcpx)); a += contrib->ContribRow[ndx].Weights[left_channel] * (double)(gdTrueColorGetAlpha(srcpx)); }/* for */ *dest = gdTrueColorAlpha(uchar_clamp(r, 0xFF), uchar_clamp(g, 0xFF), uchar_clamp(b, 0xFF), uchar_clamp(a, 0x7F)); /* alpha is 0..127 */ }/* for */ }/* _gdScaleOneAxis*/ static inline int _gdScalePass(const gdImagePtr pSrc, const unsigned int src_len, const gdImagePtr pDst, const unsigned int dst_len, const unsigned int num_lines, const gdAxis axis) { unsigned int line_ndx; LineContribType * contrib; /* Same dim, just copy it. */ assert(dst_len != src_len); // TODO: caller should handle this. contrib = _gdContributionsCalc(dst_len, src_len, (double)dst_len / (double)src_len, pSrc->interpolation); if (contrib == NULL) { return 0; } /* Scale each line */ for (line_ndx = 0; line_ndx < num_lines; line_ndx++) { _gdScaleOneAxis(pSrc, pDst, dst_len, line_ndx, contrib, axis); } _gdContributionsFree (contrib); return 1; }/* _gdScalePass*/ static gdImagePtr gdImageScaleTwoPass(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height) { const unsigned int src_width = src->sx; const unsigned int src_height = src->sy; gdImagePtr tmp_im = NULL; gdImagePtr dst = NULL; int scale_pass_res; assert(src != NULL); /* First, handle the trivial case. */ if (src_width == new_width && src_height == new_height) { return gdImageClone(src); }/* if */ /* Convert to truecolor if it isn't; this code requires it. */ if (!src->trueColor) { gdImagePaletteToTrueColor(src); }/* if */ /* Scale horizontally unless sizes are the same. */ if (src_width == new_width) { tmp_im = src; } else { tmp_im = gdImageCreateTrueColor(new_width, src_height); if (tmp_im == NULL) { return NULL; } gdImageSetInterpolationMethod(tmp_im, src->interpolation_id); scale_pass_res = _gdScalePass(src, src_width, tmp_im, new_width, src_height, HORIZONTAL); if (scale_pass_res != 1) { gdImageDestroy(tmp_im); return NULL; } }/* if .. else*/ /* If vertical sizes match, we're done. */ if (src_height == new_height) { assert(tmp_im != src); return tmp_im; }/* if */ /* Otherwise, we need to scale vertically. */ dst = gdImageCreateTrueColor(new_width, new_height); if (dst != NULL) { gdImageSetInterpolationMethod(dst, src->interpolation_id); scale_pass_res = _gdScalePass(tmp_im, src_height, dst, new_height, new_width, VERTICAL); if (scale_pass_res != 1) { gdImageDestroy(dst); if (src != tmp_im) { gdImageDestroy(tmp_im); } return NULL; } }/* if */ if (src != tmp_im) { gdImageDestroy(tmp_im); }/* if */ return dst; }/* gdImageScaleTwoPass*/ /* BilinearFixed, BicubicFixed and nearest implementations are rewamped versions of the implementation in CBitmapEx http://www.codeproject.com/Articles/29121/CBitmapEx-Free-C-Bitmap-Manipulation-Class Integer only implementation, good to have for common usages like pre scale very large images before using another interpolation methods for the last step. */ static gdImagePtr gdImageScaleNearestNeighbour(gdImagePtr im, const unsigned int width, const unsigned int height) { const unsigned long new_width = MAX(1, width); const unsigned long new_height = MAX(1, height); const float dx = (float)im->sx / (float)new_width; const float dy = (float)im->sy / (float)new_height; const gdFixed f_dx = gd_ftofx(dx); const gdFixed f_dy = gd_ftofx(dy); gdImagePtr dst_img; unsigned long dst_offset_x; unsigned long dst_offset_y = 0; unsigned int i; dst_img = gdImageCreateTrueColor(new_width, new_height); if (dst_img == NULL) { return NULL; } for (i=0; itrueColor) { for (j=0; jtpixels[dst_offset_y][dst_offset_x++] = im->tpixels[m][n]; } } else { for (j=0; jtpixels[dst_offset_y][dst_offset_x++] = colorIndex2RGBA(im->pixels[m][n]); } } dst_offset_y++; } return dst_img; } #if 0 static inline int getPixelOverflowColorTC(gdImagePtr im, const int x, const int y, const int color) { if (gdImageBoundsSafe(im, x, y)) { const int c = im->tpixels[y][x]; if (c == im->transparent) { return gdTrueColorAlpha(0, 0, 0, 127); } return c; } else { register int border = 0; if (y < im->cy1) { border = im->tpixels[0][im->cx1]; goto processborder; } if (y < im->cy1) { border = im->tpixels[0][im->cx1]; goto processborder; } if (y > im->cy2) { if (x >= im->cx1 && x <= im->cx1) { border = im->tpixels[im->cy2][x]; goto processborder; } else { return gdTrueColorAlpha(0, 0, 0, 127); } } /* y is bound safe at this point */ if (x < im->cx1) { border = im->tpixels[y][im->cx1]; goto processborder; } if (x > im->cx2) { border = im->tpixels[y][im->cx2]; } processborder: if (border == im->transparent) { return gdTrueColorAlpha(0, 0, 0, 127); } else{ return gdTrueColorAlpha(gdTrueColorGetRed(border), gdTrueColorGetGreen(border), gdTrueColorGetBlue(border), 127); } } } #endif static gdImagePtr gdImageScaleBilinearPalette(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) { long _width = MAX(1, new_width); long _height = MAX(1, new_height); float dx = (float)gdImageSX(im) / (float)_width; float dy = (float)gdImageSY(im) / (float)_height; gdFixed f_dx = gd_ftofx(dx); gdFixed f_dy = gd_ftofx(dy); gdFixed f_1 = gd_itofx(1); int dst_offset_h; int dst_offset_v = 0; long i; gdImagePtr new_img; const int transparent = im->transparent; new_img = gdImageCreateTrueColor(new_width, new_height); if (new_img == NULL) { return NULL; } if (transparent < 0) { /* uninitialized */ new_img->transparent = -1; } else { new_img->transparent = gdTrueColorAlpha(im->red[transparent], im->green[transparent], im->blue[transparent], im->alpha[transparent]); } for (i=0; i < _height; i++) { long j; const gdFixed f_i = gd_itofx(i); const gdFixed f_a = gd_mulfx(f_i, f_dy); register long m = gd_fxtoi(f_a); dst_offset_h = 0; for (j=0; j < _width; j++) { /* Update bitmap */ gdFixed f_j = gd_itofx(j); gdFixed f_b = gd_mulfx(f_j, f_dx); const long n = gd_fxtoi(f_b); gdFixed f_f = f_a - gd_itofx(m); gdFixed f_g = f_b - gd_itofx(n); const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); const gdFixed f_w4 = gd_mulfx(f_f, f_g); unsigned int pixel1; unsigned int pixel2; unsigned int pixel3; unsigned int pixel4; register gdFixed f_r1, f_r2, f_r3, f_r4, f_g1, f_g2, f_g3, f_g4, f_b1, f_b2, f_b3, f_b4, f_a1, f_a2, f_a3, f_a4; /* 0 for bgColor; (n,m) is supposed to be valid anyway */ pixel1 = getPixelOverflowPalette(im, n, m, 0); pixel2 = getPixelOverflowPalette(im, n + 1, m, pixel1); pixel3 = getPixelOverflowPalette(im, n, m + 1, pixel1); pixel4 = getPixelOverflowPalette(im, n + 1, m + 1, pixel1); f_r1 = gd_itofx(gdTrueColorGetRed(pixel1)); f_r2 = gd_itofx(gdTrueColorGetRed(pixel2)); f_r3 = gd_itofx(gdTrueColorGetRed(pixel3)); f_r4 = gd_itofx(gdTrueColorGetRed(pixel4)); f_g1 = gd_itofx(gdTrueColorGetGreen(pixel1)); f_g2 = gd_itofx(gdTrueColorGetGreen(pixel2)); f_g3 = gd_itofx(gdTrueColorGetGreen(pixel3)); f_g4 = gd_itofx(gdTrueColorGetGreen(pixel4)); f_b1 = gd_itofx(gdTrueColorGetBlue(pixel1)); f_b2 = gd_itofx(gdTrueColorGetBlue(pixel2)); f_b3 = gd_itofx(gdTrueColorGetBlue(pixel3)); f_b4 = gd_itofx(gdTrueColorGetBlue(pixel4)); f_a1 = gd_itofx(gdTrueColorGetAlpha(pixel1)); f_a2 = gd_itofx(gdTrueColorGetAlpha(pixel2)); f_a3 = gd_itofx(gdTrueColorGetAlpha(pixel3)); f_a4 = gd_itofx(gdTrueColorGetAlpha(pixel4)); { const unsigned char red = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3, f_r3) + gd_mulfx(f_w4, f_r4)); const unsigned char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3, f_g3) + gd_mulfx(f_w4, f_g4)); const unsigned char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3, f_b3) + gd_mulfx(f_w4, f_b4)); const unsigned char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3, f_a3) + gd_mulfx(f_w4, f_a4)); new_img->tpixels[dst_offset_v][dst_offset_h] = gdTrueColorAlpha(red, green, blue, alpha); } dst_offset_h++; } dst_offset_v++; } return new_img; } static gdImagePtr gdImageScaleBilinearTC(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) { long dst_w = MAX(1, new_width); long dst_h = MAX(1, new_height); float dx = (float)gdImageSX(im) / (float)dst_w; float dy = (float)gdImageSY(im) / (float)dst_h; gdFixed f_dx = gd_ftofx(dx); gdFixed f_dy = gd_ftofx(dy); gdFixed f_1 = gd_itofx(1); int dst_offset_h; int dst_offset_v = 0; long i; gdImagePtr new_img; new_img = gdImageCreateTrueColor(new_width, new_height); if (!new_img){ return NULL; } for (i=0; i < dst_h; i++) { long j; dst_offset_h = 0; for (j=0; j < dst_w; j++) { /* Update bitmap */ gdFixed f_i = gd_itofx(i); gdFixed f_j = gd_itofx(j); gdFixed f_a = gd_mulfx(f_i, f_dy); gdFixed f_b = gd_mulfx(f_j, f_dx); const long m = gd_fxtoi(f_a); const long n = gd_fxtoi(f_b); gdFixed f_f = f_a - gd_itofx(m); gdFixed f_g = f_b - gd_itofx(n); const gdFixed f_w1 = gd_mulfx(f_1-f_f, f_1-f_g); const gdFixed f_w2 = gd_mulfx(f_1-f_f, f_g); const gdFixed f_w3 = gd_mulfx(f_f, f_1-f_g); const gdFixed f_w4 = gd_mulfx(f_f, f_g); unsigned int pixel1; unsigned int pixel2; unsigned int pixel3; unsigned int pixel4; register gdFixed f_r1, f_r2, f_r3, f_r4, f_g1, f_g2, f_g3, f_g4, f_b1, f_b2, f_b3, f_b4, f_a1, f_a2, f_a3, f_a4; /* 0 for bgColor; (n,m) is supposed to be valid anyway */ pixel1 = getPixelOverflowTC(im, n, m, 0); pixel2 = getPixelOverflowTC(im, n + 1, m, pixel1); pixel3 = getPixelOverflowTC(im, n, m + 1, pixel1); pixel4 = getPixelOverflowTC(im, n + 1, m + 1, pixel1); f_r1 = gd_itofx(gdTrueColorGetRed(pixel1)); f_r2 = gd_itofx(gdTrueColorGetRed(pixel2)); f_r3 = gd_itofx(gdTrueColorGetRed(pixel3)); f_r4 = gd_itofx(gdTrueColorGetRed(pixel4)); f_g1 = gd_itofx(gdTrueColorGetGreen(pixel1)); f_g2 = gd_itofx(gdTrueColorGetGreen(pixel2)); f_g3 = gd_itofx(gdTrueColorGetGreen(pixel3)); f_g4 = gd_itofx(gdTrueColorGetGreen(pixel4)); f_b1 = gd_itofx(gdTrueColorGetBlue(pixel1)); f_b2 = gd_itofx(gdTrueColorGetBlue(pixel2)); f_b3 = gd_itofx(gdTrueColorGetBlue(pixel3)); f_b4 = gd_itofx(gdTrueColorGetBlue(pixel4)); f_a1 = gd_itofx(gdTrueColorGetAlpha(pixel1)); f_a2 = gd_itofx(gdTrueColorGetAlpha(pixel2)); f_a3 = gd_itofx(gdTrueColorGetAlpha(pixel3)); f_a4 = gd_itofx(gdTrueColorGetAlpha(pixel4)); { const unsigned char red = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_r1) + gd_mulfx(f_w2, f_r2) + gd_mulfx(f_w3, f_r3) + gd_mulfx(f_w4, f_r4)); const unsigned char green = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_g1) + gd_mulfx(f_w2, f_g2) + gd_mulfx(f_w3, f_g3) + gd_mulfx(f_w4, f_g4)); const unsigned char blue = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_b1) + gd_mulfx(f_w2, f_b2) + gd_mulfx(f_w3, f_b3) + gd_mulfx(f_w4, f_b4)); const unsigned char alpha = (unsigned char) gd_fxtoi(gd_mulfx(f_w1, f_a1) + gd_mulfx(f_w2, f_a2) + gd_mulfx(f_w3, f_a3) + gd_mulfx(f_w4, f_a4)); new_img->tpixels[dst_offset_v][dst_offset_h] = gdTrueColorAlpha(red, green, blue, alpha); } dst_offset_h++; } dst_offset_v++; } return new_img; } static gdImagePtr gdImageScaleBilinear(gdImagePtr im, const unsigned int new_width, const unsigned int new_height) { if (im->trueColor) { return gdImageScaleBilinearTC(im, new_width, new_height); } else { return gdImageScaleBilinearPalette(im, new_width, new_height); } } static gdImagePtr gdImageScaleBicubicFixed(gdImagePtr src, const unsigned int width, const unsigned int height) { const long new_width = MAX(1, width); const long new_height = MAX(1, height); const int src_w = gdImageSX(src); const int src_h = gdImageSY(src); const gdFixed f_dx = gd_ftofx((float)src_w / (float)new_width); const gdFixed f_dy = gd_ftofx((float)src_h / (float)new_height); const gdFixed f_1 = gd_itofx(1); const gdFixed f_2 = gd_itofx(2); const gdFixed f_4 = gd_itofx(4); const gdFixed f_6 = gd_itofx(6); const gdFixed f_gamma = gd_ftofx(1.04f); gdImagePtr dst; unsigned int dst_offset_x; unsigned int dst_offset_y = 0; long i; /* impact perf a bit, but not that much. Implementation for palette images can be done at a later point. */ if (src->trueColor == 0) { gdImagePaletteToTrueColor(src); } dst = gdImageCreateTrueColor(new_width, new_height); if (!dst) { return NULL; } dst->saveAlphaFlag = 1; for (i=0; i < new_height; i++) { long j; dst_offset_x = 0; for (j=0; j < new_width; j++) { const gdFixed f_a = gd_mulfx(gd_itofx(i), f_dy); const gdFixed f_b = gd_mulfx(gd_itofx(j), f_dx); const long m = gd_fxtoi(f_a); const long n = gd_fxtoi(f_b); const gdFixed f_f = f_a - gd_itofx(m); const gdFixed f_g = f_b - gd_itofx(n); unsigned int src_offset_x[16], src_offset_y[16]; long k; register gdFixed f_red = 0, f_green = 0, f_blue = 0, f_alpha = 0; unsigned char red, green, blue, alpha = 0; int *dst_row = dst->tpixels[dst_offset_y]; if ((m < 1) || (n < 1)) { src_offset_x[0] = n; src_offset_y[0] = m; } else { src_offset_x[0] = n - 1; src_offset_y[0] = m; } src_offset_x[1] = n; src_offset_y[1] = m; if ((m < 1) || (n >= src_w - 1)) { src_offset_x[2] = n; src_offset_y[2] = m; } else { src_offset_x[2] = n + 1; src_offset_y[2] = m; } if ((m < 1) || (n >= src_w - 2)) { src_offset_x[3] = n; src_offset_y[3] = m; } else { src_offset_x[3] = n + 1 + 1; src_offset_y[3] = m; } if (n < 1) { src_offset_x[4] = n; src_offset_y[4] = m; } else { src_offset_x[4] = n - 1; src_offset_y[4] = m; } src_offset_x[5] = n; src_offset_y[5] = m; if (n >= src_w-1) { src_offset_x[6] = n; src_offset_y[6] = m; } else { src_offset_x[6] = n + 1; src_offset_y[6] = m; } if (n >= src_w - 2) { src_offset_x[7] = n; src_offset_y[7] = m; } else { src_offset_x[7] = n + 1 + 1; src_offset_y[7] = m; } if ((m >= src_h - 1) || (n < 1)) { src_offset_x[8] = n; src_offset_y[8] = m; } else { src_offset_x[8] = n - 1; src_offset_y[8] = m; } src_offset_x[9] = n; src_offset_y[9] = m; if ((m >= src_h-1) || (n >= src_w-1)) { src_offset_x[10] = n; src_offset_y[10] = m; } else { src_offset_x[10] = n + 1; src_offset_y[10] = m; } if ((m >= src_h - 1) || (n >= src_w - 2)) { src_offset_x[11] = n; src_offset_y[11] = m; } else { src_offset_x[11] = n + 1 + 1; src_offset_y[11] = m; } if ((m >= src_h - 2) || (n < 1)) { src_offset_x[12] = n; src_offset_y[12] = m; } else { src_offset_x[12] = n - 1; src_offset_y[12] = m; } if (!(m >= src_h - 2)) { src_offset_x[13] = n; src_offset_y[13] = m; } if ((m >= src_h - 2) || (n >= src_w - 1)) { src_offset_x[14] = n; src_offset_y[14] = m; } else { src_offset_x[14] = n + 1; src_offset_y[14] = m; } if ((m >= src_h - 2) || (n >= src_w - 2)) { src_offset_x[15] = n; src_offset_y[15] = m; } else { src_offset_x[15] = n + 1 + 1; src_offset_y[15] = m; } for (k = -1; k < 3; k++) { const gdFixed f = gd_itofx(k)-f_f; const gdFixed f_fm1 = f - f_1; const gdFixed f_fp1 = f + f_1; const gdFixed f_fp2 = f + f_2; register gdFixed f_a = 0, f_b = 0, f_d = 0, f_c = 0; register gdFixed f_RY; int l; if (f_fp2 > 0) f_a = gd_mulfx(f_fp2, gd_mulfx(f_fp2,f_fp2)); if (f_fp1 > 0) f_b = gd_mulfx(f_fp1, gd_mulfx(f_fp1,f_fp1)); if (f > 0) f_c = gd_mulfx(f, gd_mulfx(f,f)); if (f_fm1 > 0) f_d = gd_mulfx(f_fm1, gd_mulfx(f_fm1,f_fm1)); f_RY = gd_divfx((f_a - gd_mulfx(f_4,f_b) + gd_mulfx(f_6,f_c) - gd_mulfx(f_4,f_d)),f_6); for (l = -1; l < 3; l++) { const gdFixed f = gd_itofx(l) - f_g; const gdFixed f_fm1 = f - f_1; const gdFixed f_fp1 = f + f_1; const gdFixed f_fp2 = f + f_2; register gdFixed f_a = 0, f_b = 0, f_c = 0, f_d = 0; register gdFixed f_RX, f_R, f_rs, f_gs, f_bs, f_ba; register int c; const int _k = ((k+1)*4) + (l+1); if (f_fp2 > 0) f_a = gd_mulfx(f_fp2,gd_mulfx(f_fp2,f_fp2)); if (f_fp1 > 0) f_b = gd_mulfx(f_fp1,gd_mulfx(f_fp1,f_fp1)); if (f > 0) f_c = gd_mulfx(f,gd_mulfx(f,f)); if (f_fm1 > 0) f_d = gd_mulfx(f_fm1,gd_mulfx(f_fm1,f_fm1)); f_RX = gd_divfx((f_a-gd_mulfx(f_4,f_b)+gd_mulfx(f_6,f_c)-gd_mulfx(f_4,f_d)),f_6); f_R = gd_mulfx(f_RY,f_RX); c = src->tpixels[*(src_offset_y + _k)][*(src_offset_x + _k)]; f_rs = gd_itofx(gdTrueColorGetRed(c)); f_gs = gd_itofx(gdTrueColorGetGreen(c)); f_bs = gd_itofx(gdTrueColorGetBlue(c)); f_ba = gd_itofx(gdTrueColorGetAlpha(c)); f_red += gd_mulfx(f_rs,f_R); f_green += gd_mulfx(f_gs,f_R); f_blue += gd_mulfx(f_bs,f_R); f_alpha += gd_mulfx(f_ba,f_R); } } red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gamma)), 0, 255); green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gamma)), 0, 255); blue = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_blue, f_gamma)), 0, 255); alpha = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_alpha, f_gamma)), 0, 127); *(dst_row + dst_offset_x) = gdTrueColorAlpha(red, green, blue, alpha); dst_offset_x++; } dst_offset_y++; } return dst; } /** * Function: gdImageScale * * Scale an image * * Creates a new image, scaled to the requested size using the current * . * * Note that GD_WEIGHTED4 is not yet supported by this function. * * Parameters: * src - The source image. * new_width - The new width. * new_height - The new height. * * Returns: * The scaled image on success, NULL on failure. * * See also: * - * - */ BGD_DECLARE(gdImagePtr) gdImageScale(const gdImagePtr src, const unsigned int new_width, const unsigned int new_height) { gdImagePtr im_scaled = NULL; if (src == NULL || (uintmax_t)src->interpolation_id >= GD_METHOD_COUNT) { return NULL; } if (new_width == 0 || new_height == 0) { return NULL; } if (new_width == gdImageSX(src) && new_height == gdImageSY(src)) { return gdImageClone(src); } switch (src->interpolation_id) { /*Special cases, optimized implementations */ case GD_NEAREST_NEIGHBOUR: im_scaled = gdImageScaleNearestNeighbour(src, new_width, new_height); break; case GD_BILINEAR_FIXED: case GD_LINEAR: im_scaled = gdImageScaleBilinear(src, new_width, new_height); break; case GD_BICUBIC_FIXED: case GD_BICUBIC: im_scaled = gdImageScaleBicubicFixed(src, new_width, new_height); break; /* generic */ default: if (src->interpolation == NULL) { return NULL; } im_scaled = gdImageScaleTwoPass(src, new_width, new_height); break; } return im_scaled; } static int gdRotatedImageSize(gdImagePtr src, const float angle, gdRectPtr bbox) { gdRect src_area; double m[6]; gdAffineRotate(m, angle); src_area.x = 0; src_area.y = 0; src_area.width = gdImageSX(src); src_area.height = gdImageSY(src); if (gdTransformAffineBoundingBox(&src_area, m, bbox) != GD_TRUE) { return GD_FALSE; } return GD_TRUE; } static gdImagePtr gdImageRotateNearestNeighbour(gdImagePtr src, const float degrees, const int bgColor) { float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); const int src_w = gdImageSX(src); const int src_h = gdImageSY(src); const gdFixed f_0_5 = gd_ftofx(0.5f); const gdFixed f_H = gd_itofx(src_h/2); const gdFixed f_W = gd_itofx(src_w/2); const gdFixed f_cos = gd_ftofx(cos(-_angle)); const gdFixed f_sin = gd_ftofx(sin(-_angle)); unsigned int dst_offset_x; unsigned int dst_offset_y = 0; unsigned int i; gdImagePtr dst; gdRect bbox; int new_height, new_width; gdRotatedImageSize(src, degrees, &bbox); new_width = bbox.width; new_height = bbox.height; dst = gdImageCreateTrueColor(new_width, new_height); if (!dst) { return NULL; } dst->saveAlphaFlag = 1; for (i = 0; i < new_height; i++) { unsigned int j; dst_offset_x = 0; for (j = 0; j < new_width; j++) { gdFixed f_i = gd_itofx((int)i - (int)new_height / 2); gdFixed f_j = gd_itofx((int)j - (int)new_width / 2); gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_0_5 + f_H; gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_0_5 + f_W; long m = gd_fxtoi(f_m); long n = gd_fxtoi(f_n); if ((m > 0) && (m < src_h-1) && (n > 0) && (n < src_w-1)) { if (dst_offset_y < new_height) { dst->tpixels[dst_offset_y][dst_offset_x++] = src->tpixels[m][n]; } } else { if (dst_offset_y < new_height) { dst->tpixels[dst_offset_y][dst_offset_x++] = bgColor; } } } dst_offset_y++; } return dst; } static gdImagePtr gdImageRotateGeneric(gdImagePtr src, const float degrees, const int bgColor) { float _angle = ((float) (-degrees / 180.0f) * (float)M_PI); const int src_w = gdImageSX(src); const int src_h = gdImageSY(src); const gdFixed f_H = gd_itofx(src_h/2); const gdFixed f_W = gd_itofx(src_w/2); const gdFixed f_cos = gd_ftofx(cos(-_angle)); const gdFixed f_sin = gd_ftofx(sin(-_angle)); unsigned int dst_offset_x; unsigned int dst_offset_y = 0; unsigned int i; gdImagePtr dst; int new_width, new_height; gdRect bbox; if (bgColor < 0) { return NULL; } if (src->interpolation == NULL) { gdImageSetInterpolationMethod(src, GD_DEFAULT); } gdRotatedImageSize(src, degrees, &bbox); new_width = bbox.width; new_height = bbox.height; dst = gdImageCreateTrueColor(new_width, new_height); if (!dst) { return NULL; } dst->saveAlphaFlag = 1; for (i = 0; i < new_height; i++) { unsigned int j; dst_offset_x = 0; for (j = 0; j < new_width; j++) { gdFixed f_i = gd_itofx((int)i - (int)new_height / 2); gdFixed f_j = gd_itofx((int)j - (int)new_width / 2); gdFixed f_m = gd_mulfx(f_j,f_sin) + gd_mulfx(f_i,f_cos) + f_H; gdFixed f_n = gd_mulfx(f_j,f_cos) - gd_mulfx(f_i,f_sin) + f_W; long m = gd_fxtoi(f_m); long n = gd_fxtoi(f_n); if (m < -1 || n < -1 || m >= src_h || n >= src_w ) { dst->tpixels[dst_offset_y][dst_offset_x++] = bgColor; } else { dst->tpixels[dst_offset_y][dst_offset_x++] = getPixelInterpolated(src, gd_fxtod(f_n), gd_fxtod(f_m), bgColor); } } dst_offset_y++; } return dst; } /** * Function: gdImageRotateInterpolated * * Rotate an image * * Creates a new image, counter-clockwise rotated by the requested angle * using the current . Non-square angles will add a * border with bgcolor. * * Parameters: * src - The source image. * angle - The angle in degrees. * bgcolor - The color to fill the added background with. * * Returns: * The rotated image on success, NULL on failure. * * See also: * - */ BGD_DECLARE(gdImagePtr) gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor) { /* round to two decimals and keep the 100x multiplication to use it in the common square angles case later. Keep the two decimal precisions so smaller rotation steps can be done, useful for slow animations, f.e. */ const int angle_rounded = fmod((int) floorf(angle * 100), 360 * 100); if (src == NULL || bgcolor < 0) { return NULL; } /* impact perf a bit, but not that much. Implementation for palette images can be done at a later point. */ if (src->trueColor == 0) { if (bgcolor < gdMaxColors) { bgcolor = gdTrueColorAlpha(src->red[bgcolor], src->green[bgcolor], src->blue[bgcolor], src->alpha[bgcolor]); } gdImagePaletteToTrueColor(src); } /* 0 && 90 degrees multiple rotation, 0 rotation simply clones the return image and convert it to truecolor, as we must return truecolor image. */ switch (angle_rounded) { case 0: { gdImagePtr dst = gdImageClone(src); if (dst == NULL) { return NULL; } if (dst->trueColor == 0) { gdImagePaletteToTrueColor(dst); } return dst; } case -27000: case 9000: return gdImageRotate90(src, 0); case -18000: case 18000: return gdImageRotate180(src, 0); case -9000: case 27000: return gdImageRotate270(src, 0); } if (src->interpolation_id < 1 || src->interpolation_id > GD_METHOD_COUNT) { return NULL; } switch (src->interpolation_id) { case GD_NEAREST_NEIGHBOUR: return gdImageRotateNearestNeighbour(src, angle, bgcolor); break; case GD_BILINEAR_FIXED: case GD_BICUBIC_FIXED: default: return gdImageRotateGeneric(src, angle, bgcolor); } return NULL; } /** * Group: Affine Transformation **/ static void gdImageClipRectangle(gdImagePtr im, gdRectPtr r) { int c1x, c1y, c2x, c2y; int x1,y1; gdImageGetClip(im, &c1x, &c1y, &c2x, &c2y); x1 = r->x + r->width - 1; y1 = r->y + r->height - 1; r->x = CLAMP(r->x, c1x, c2x); r->y = CLAMP(r->y, c1y, c2y); r->width = CLAMP(x1, c1x, c2x) - r->x + 1; r->height = CLAMP(y1, c1y, c2y) - r->y + 1; } void gdDumpRect(const char *msg, gdRectPtr r) { printf("%s (%i, %i) (%i, %i)\n", msg, r->x, r->y, r->width, r->height); } /** * Function: gdTransformAffineGetImage * Applies an affine transformation to a region and return an image * containing the complete transformation. * * Parameters: * dst - Pointer to a gdImagePtr to store the created image, NULL when * the creation or the transformation failed * src - Source image * src_area - rectangle defining the source region to transform * dstY - Y position in the destination image * affine - The desired affine transformation * * Returns: * GD_TRUE if the affine is rectilinear or GD_FALSE */ BGD_DECLARE(int) gdTransformAffineGetImage(gdImagePtr *dst, const gdImagePtr src, gdRectPtr src_area, const double affine[6]) { int res; double m[6]; gdRect bbox; gdRect area_full; if (src_area == NULL) { area_full.x = 0; area_full.y = 0; area_full.width = gdImageSX(src); area_full.height = gdImageSY(src); src_area = &area_full; } gdTransformAffineBoundingBox(src_area, affine, &bbox); *dst = gdImageCreateTrueColor(bbox.width, bbox.height); if (*dst == NULL) { return GD_FALSE; } (*dst)->saveAlphaFlag = 1; if (!src->trueColor) { gdImagePaletteToTrueColor(src); } /* Translate to dst origin (0,0) */ gdAffineTranslate(m, -bbox.x, -bbox.y); gdAffineConcat(m, affine, m); gdImageAlphaBlending(*dst, 0); res = gdTransformAffineCopy(*dst, 0,0, src, src_area, m); if (res != GD_TRUE) { gdImageDestroy(*dst); *dst = NULL; return GD_FALSE; } else { return GD_TRUE; } } /** Function: getPixelRgbInterpolated * get the index of the image's colors * * Parameters: * im - Image to draw the transformed image * tcolor - TrueColor * * Return: * index of colors */ static int getPixelRgbInterpolated(gdImagePtr im, const int tcolor) { unsigned char r, g, b, a; int ct; b = (unsigned char)tcolor; g = (unsigned char)tcolor >> 8; r = (unsigned char)tcolor >> 16; a = (unsigned char)tcolor >> 24; b = CLAMP(b, 0, 255); g = CLAMP(g, 0, 255); r = CLAMP(r, 0, 255); a = CLAMP(a, 0, 127); for (int i = 0; i < im->colorsTotal; i++) { if (im->red[i] == r && im->green[i] == g && im->blue[i] == b && im->alpha[i] == a) { return i; } } ct = im->colorsTotal; if (ct == gdMaxColors) { return -1; } im->colorsTotal++; im->red[ct] = r; im->green[ct] = g; im->blue[ct] = b; im->alpha[ct] = a; im->open[ct] = 0; return ct; } /** * Function: gdTransformAffineCopy * Applies an affine transformation to a region and copy the result * in a destination to the given position. * * Parameters: * dst - Image to draw the transformed image * src - Source image * dstX - X position in the destination image * dstY - Y position in the destination image * src_area - Rectangular region to rotate in the src image * * Returns: * GD_TRUE on success or GD_FALSE on failure */ BGD_DECLARE(int) gdTransformAffineCopy(gdImagePtr dst, int dst_x, int dst_y, const gdImagePtr src, gdRectPtr src_region, const double affine[6]) { int c1x,c1y,c2x,c2y; int backclip = 0; int backup_clipx1, backup_clipy1, backup_clipx2, backup_clipy2; register int x, y, src_offset_x, src_offset_y; double inv[6]; gdPointF pt, src_pt; gdRect bbox; int end_x, end_y; gdInterpolationMethod interpolation_id_bak = src->interpolation_id; /* These methods use special implementations */ if (src->interpolation_id == GD_BILINEAR_FIXED || src->interpolation_id == GD_BICUBIC_FIXED || src->interpolation_id == GD_NEAREST_NEIGHBOUR) { gdImageSetInterpolationMethod(src, GD_BICUBIC); } gdImageClipRectangle(src, src_region); c1x = src_region->x; c1y = src_region->y; c2x = src_region->x + src_region->width -1; c2y = src_region->y + src_region->height -1; if (src_region->x > 0 || src_region->y > 0 || src_region->width < gdImageSX(src) || src_region->height < gdImageSY(src)) { backclip = 1; gdImageGetClip(src, &backup_clipx1, &backup_clipy1, &backup_clipx2, &backup_clipy2); gdImageSetClip(src, src_region->x, src_region->y, src_region->x + src_region->width - 1, src_region->y + src_region->height - 1); } if (!gdTransformAffineBoundingBox(src_region, affine, &bbox)) { if (backclip) { gdImageSetClip(src, backup_clipx1, backup_clipy1, backup_clipx2, backup_clipy2); } gdImageSetInterpolationMethod(src, interpolation_id_bak); return GD_FALSE; } end_x = bbox.width + abs(bbox.x); end_y = bbox.height + abs(bbox.y); /* Get inverse affine to let us work with destination -> source */ if (gdAffineInvert(inv, affine) == GD_FALSE) { gdImageSetInterpolationMethod(src, interpolation_id_bak); return GD_FALSE; } src_offset_x = src_region->x; src_offset_y = src_region->y; if (dst->alphaBlendingFlag) { for (y = bbox.y; y <= end_y; y++) { pt.y = y + 0.5; for (x = bbox.x; x <= end_x; x++) { pt.x = x + 0.5; gdAffineApplyToPointF(&src_pt, &pt, inv); if (floor(src_offset_x + src_pt.x) < c1x || floor(src_offset_x + src_pt.x) > c2x || floor(src_offset_y + src_pt.y) < c1y || floor(src_offset_y + src_pt.y) > c2y) { continue; } gdImageSetPixel(dst, dst_x + x, dst_y + y, getPixelInterpolated(src, (int)(src_offset_x + src_pt.x), (int)(src_offset_y + src_pt.y), 0)); } } } else { for (y = bbox.y; y <= end_y; y++) { unsigned char *dst_p = NULL; int *tdst_p = NULL; pt.y = y + 0.5; if ((dst_y + y) < 0 || ((dst_y + y) > gdImageSY(dst) -1)) { continue; } if (dst->trueColor) { tdst_p = dst->tpixels[dst_y + y] + dst_x; } else { dst_p = dst->pixels[dst_y + y] + dst_x; } for (x = bbox.x; x <= end_x; x++) { pt.x = x + 0.5; gdAffineApplyToPointF(&src_pt, &pt, inv); if ((dst_x + x) < 0 || (dst_x + x) > (gdImageSX(dst) - 1)) { break; } if (floor(src_offset_x + src_pt.x) < c1x || floor(src_offset_x + src_pt.x) > c2x || floor(src_offset_y + src_pt.y) < c1y || floor(src_offset_y + src_pt.y) > c2y) { continue; } if (dst->trueColor) { *(tdst_p + dst_x + x) = getPixelInterpolated(src, (int)(src_offset_x + src_pt.x), (int)(src_offset_y + src_pt.y), -1); } else { *(dst_p + dst_x + x) = getPixelRgbInterpolated(dst, getPixelInterpolated(src, (int)(src_offset_x + src_pt.x), (int)(src_offset_y + src_pt.y), -1)); } } } } /* Restore clip if required */ if (backclip) { gdImageSetClip(src, backup_clipx1, backup_clipy1, backup_clipx2, backup_clipy2); } gdImageSetInterpolationMethod(src, interpolation_id_bak); return GD_TRUE; } /** * Function: gdTransformAffineBoundingBox * Returns the bounding box of an affine transformation applied to a * rectangular area * * Parameters: * src - Rectangular source area for the affine transformation * affine - the affine transformation * bbox - the resulting bounding box * * Returns: * GD_TRUE if the affine is rectilinear or GD_FALSE */ BGD_DECLARE(int) gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox) { gdPointF extent[4], min, max, point; int i; extent[0].x=0.0; extent[0].y=0.0; extent[1].x=(double) src->width; extent[1].y=0.0; extent[2].x=(double) src->width; extent[2].y=(double) src->height; extent[3].x=0.0; extent[3].y=(double) src->height; for (i=0; i < 4; i++) { point=extent[i]; if (gdAffineApplyToPointF(&extent[i], &point, affine) != GD_TRUE) { return GD_FALSE; } } min=extent[0]; max=extent[0]; for (i=1; i < 4; i++) { if (min.x > extent[i].x) min.x=extent[i].x; if (min.y > extent[i].y) min.y=extent[i].y; if (max.x < extent[i].x) max.x=extent[i].x; if (max.y < extent[i].y) max.y=extent[i].y; } bbox->x = (int) min.x; bbox->y = (int) min.y; bbox->width = (int) ceil((max.x - min.x)); bbox->height = (int) ceil(max.y - min.y); return GD_TRUE; } /** * Group: Interpolation Method */ /** * Function: gdImageSetInterpolationMethod * * Set the interpolation method for subsequent operations * * Parameters: * im - The image. * id - The interpolation method. * * Returns: * Non-zero on success, zero on failure. * * See also: * - * - */ BGD_DECLARE(int) gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMethod id) { if (im == NULL || (uintmax_t)id > GD_METHOD_COUNT) { return 0; } switch (id) { case GD_NEAREST_NEIGHBOUR: case GD_WEIGHTED4: im->interpolation = NULL; break; /* generic versions*/ /* GD_BILINEAR_FIXED and GD_BICUBIC_FIXED are kept for BC reasons */ case GD_BILINEAR_FIXED: case GD_LINEAR: im->interpolation = filter_linear; break; case GD_BELL: im->interpolation = filter_bell; break; case GD_BESSEL: im->interpolation = filter_bessel; break; case GD_BICUBIC_FIXED: case GD_BICUBIC: im->interpolation = filter_bicubic; break; case GD_BLACKMAN: im->interpolation = filter_blackman; break; case GD_BOX: im->interpolation = filter_box; break; case GD_BSPLINE: im->interpolation = filter_bspline; break; case GD_CATMULLROM: im->interpolation = filter_catmullrom; break; case GD_GAUSSIAN: im->interpolation = filter_gaussian; break; case GD_GENERALIZED_CUBIC: im->interpolation = filter_generalized_cubic; break; case GD_HERMITE: im->interpolation = filter_hermite; break; case GD_HAMMING: im->interpolation = filter_hamming; break; case GD_HANNING: im->interpolation = filter_hanning; break; case GD_MITCHELL: im->interpolation = filter_mitchell; break; case GD_POWER: im->interpolation = filter_power; break; case GD_QUADRATIC: im->interpolation = filter_quadratic; break; case GD_SINC: im->interpolation = filter_sinc; break; case GD_TRIANGLE: im->interpolation = filter_triangle; break; case GD_DEFAULT: id = GD_LINEAR; im->interpolation = filter_linear; break; default: return 0; } im->interpolation_id = id; return 1; } /** * Function: gdImageGetInterpolationMethod * * Get the current interpolation method * * This is here so that the value can be read via a language or VM with an FFI * but no (portable) way to extract the value from the struct. * * Parameters: * im - The image. * * Returns: * The current interpolation method. * * See also: * - * - */ BGD_DECLARE(gdInterpolationMethod) gdImageGetInterpolationMethod(gdImagePtr im) { return im->interpolation_id; } #ifdef _MSC_VER # pragma optimize("", on) #endif libgd-2.3.0/src/gdfontl.c0000664000175000017500000032206513635665516012140 00000000000000/* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -misc-fixed-medium-r-normal--16-140-75-75-c-80-iso8859-2 at Tue Jan 6 19:39:27 1998. The original bdf was holding following copyright: "Libor Skarvada, libor@informatics.muni.cz" */ /** * File: Large Font * * A large ISO-8859-2 raster font (8x16 pixels). * * The font is supposed to be used with and * and their variants. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gdfontl.h" char gdFontLargeData[] = { /* Char 0 */ 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; gdFont gdFontLargeRep = { 256, 0, 8, 16, gdFontLargeData }; BGD_EXPORT_DATA_PROT gdFontPtr gdFontLarge = &gdFontLargeRep; /** * Function: gdFontGetLarge * * Returns the built-in large font. */ BGD_DECLARE(gdFontPtr) gdFontGetLarge (void) { return gdFontLarge; } /* This file has not been truncated. */ libgd-2.3.0/src/gd_xbm.c0000664000175000017500000001452213635665516011737 00000000000000/** * File: XBM IO * * Read and write XBM images. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include #include #include #include #include "gd.h" #include "gd_errors.h" #include "gdhelpers.h" #ifdef _MSC_VER # define strcasecmp _stricmp #endif #define MAX_XBM_LINE_SIZE 255 /* Function: gdImageCreateFromXbm is called to load images from X bitmap format files. Invoke with an already opened pointer to a file containing the desired image. returns a to the new image, or NULL if unable to load the image (most often because the file is corrupt or does not contain an X bitmap format image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . X11 X bitmaps (which define a char[]) as well as X10 X bitmaps (which define a short[]) are supported. Parameters: fd - The input FILE pointer Returns: A pointer to the new image or NULL if an error occurred. Example: (start code) gdImagePtr im; FILE *in; in = fopen("myxbm.xbm", "rb"); im = gdImageCreateFromXbm(in); fclose(in); // ... Use the image ... gdImageDestroy(im); (end code) */ BGD_DECLARE(gdImagePtr) gdImageCreateFromXbm(FILE * fd) { char fline[MAX_XBM_LINE_SIZE]; char iname[MAX_XBM_LINE_SIZE]; char *type; int value; unsigned int width = 0, height = 0; int fail = 0; int max_bit = 0; gdImagePtr im; int bytes = 0, i; int bit, x = 0, y = 0; int ch; char h[8]; unsigned int b; rewind(fd); while (fgets(fline, MAX_XBM_LINE_SIZE, fd)) { fline[MAX_XBM_LINE_SIZE-1] = '\0'; if (strlen(fline) == MAX_XBM_LINE_SIZE-1) { return 0; } if (sscanf(fline, "#define %s %d", iname, &value) == 2) { if (!(type = strrchr(iname, '_'))) { type = iname; } else { type++; } if (!strcmp("width", type)) { width = (unsigned int) value; } if (!strcmp("height", type)) { height = (unsigned int) value; } } else { if ( sscanf(fline, "static unsigned char %s = {", iname) == 1 || sscanf(fline, "static char %s = {", iname) == 1) { max_bit = 128; } else if (sscanf(fline, "static unsigned short %s = {", iname) == 1 || sscanf(fline, "static short %s = {", iname) == 1) { max_bit = 32768; } if (max_bit) { bytes = (width + 7) / 8 * height; if (!bytes) { return 0; } if (!(type = strrchr(iname, '_'))) { type = iname; } else { type++; } if (!strcmp("bits[]", type)) { break; } } } } if (!bytes || !max_bit) { return 0; } if(!(im = gdImageCreate(width, height))) { return 0; } gdImageColorAllocate(im, 255, 255, 255); gdImageColorAllocate(im, 0, 0, 0); h[2] = '\0'; h[4] = '\0'; for (i = 0; i < bytes; i++) { while (1) { if ((ch=getc(fd)) == EOF) { fail = 1; break; } if (ch == 'x') { break; } } if (fail) { break; } /* Get hex value */ if ((ch=getc(fd)) == EOF) { break; } h[0] = ch; if ((ch=getc(fd)) == EOF) { break; } h[1] = ch; if (max_bit == 32768) { if ((ch=getc(fd)) == EOF) { break; } h[2] = ch; if ((ch=getc(fd)) == EOF) { break; } h[3] = ch; } if (sscanf(h, "%x", &b) != 1) { gd_error("invalid XBM"); gdImageDestroy(im); return 0; } for (bit = 1; bit <= max_bit; bit = bit << 1) { gdImageSetPixel(im, x++, y, (b & bit) ? 1 : 0); if (x == im->sx) { x = 0; y++; if (y == im->sy) { return im; } break; } } } gd_error("EOF before image was complete"); gdImageDestroy(im); return 0; } /* {{{ gdCtxPrintf */ static void gdCtxPrintf(gdIOCtx * out, const char *format, ...) { char buf[1024]; int len; va_list args; va_start(args, format); len = vsnprintf(buf, sizeof(buf)-1, format, args); va_end(args); out->putBuf(out, buf, len); } /* }}} */ /* The compiler will optimize strlen(constant) to a constant number. */ #define gdCtxPuts(out, s) out->putBuf(out, s, strlen(s)) /** * Function: gdImageXbmCtx * * Writes an image to an IO context in X11 bitmap format. * * Parameters: * * image - The to write. * file_name - The prefix of the XBM's identifiers. Illegal characters are * automatically stripped. * gd - Which color to use as forground color. All pixels with another * color are unset. * out - The to write the image file to. * */ BGD_DECLARE(void) gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtx * out) { int x, y, c, b, sx, sy, p; char *name, *f; size_t i, l; name = file_name; if ((f = strrchr(name, '/')) != NULL) name = f+1; if ((f = strrchr(name, '\\')) != NULL) name = f+1; name = strdup(name); if ((f = strrchr(name, '.')) != NULL && !strcasecmp(f, ".XBM")) *f = '\0'; if ((l = strlen(name)) == 0) { free(name); name = strdup("image"); } else { for (i=0; i_width 1234 */ gdCtxPuts(out, "#define "); gdCtxPuts(out, name); gdCtxPuts(out, "_width "); gdCtxPrintf(out, "%d\n", gdImageSX(image)); /* #define _height 1234 */ gdCtxPuts(out, "#define "); gdCtxPuts(out, name); gdCtxPuts(out, "_height "); gdCtxPrintf(out, "%d\n", gdImageSY(image)); /* static unsigned char _bits[] = {\n */ gdCtxPuts(out, "static unsigned char "); gdCtxPuts(out, name); gdCtxPuts(out, "_bits[] = {\n "); free(name); b = 1; p = 0; c = 0; sx = gdImageSX(image); sy = gdImageSY(image); for (y = 0; y < sy; y++) { for (x = 0; x < sx; x++) { if (gdImageGetPixel(image, x, y) == fg) { c |= b; } if ((b == 128) || (x == sx - 1)) { b = 1; if (p) { gdCtxPuts(out, ", "); if (!(p%12)) { gdCtxPuts(out, "\n "); p = 12; } } p++; gdCtxPrintf(out, "0x%02X", c); c = 0; } else { b <<= 1; } } } gdCtxPuts(out, "};\n"); } libgd-2.3.0/src/gdpp.cxx0000664000175000017500000001435513635665516012015 00000000000000/* ***************************************************************************** ** Initial file written and documented by: ** Kevin Shepherd December 2007 ** of Scarlet Line http://www.scarletline.com/ *******************************************************************************/ /** \file gdpp.cxx \brief Implements the non-trivial methods of GD::Image. Implementation of the more complex methods defined in gdpp.h. Notably includes the methods which determine the image file format of a file before reading it into memory. */ #ifdef __cplusplus #include "gdpp.h" namespace GD { /** Load an image from a file, after attempting to determine it's image file format. Invoke CreateFrom with an already opened pointer to a file containing the desired image. CreateFrom does not close the file. \param[in] in An opened FILE * pointer. \return true for success, or false if unable to load the image (most often because the file is corrupt or does not contain a recognized image format). You can call Width() and Height() member functions of the image to determine its size. */ bool Image::CreateFrom(FILE * in) { bool rtn; int c = fgetc(in); ungetc(c, in); switch (c) { /* PNG The first eight bytes of a PNG file always contain the following (decimal) values: 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A == .PNG\r\n.\n */ case 0x89: // PNG rtn = CreateFromPng(in); break; /* GIF 0x47 0x49 0x46 */ case 0x47: // GIF rtn = CreateFromGif(in); break; /* JPEG A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0, followed by two variable bytes (often hex 00 10), followed by 'JFIF'. */ case 0xFF: // JPEG rtn = CreateFromJpeg(in); break; /* WBMP WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type */ case 0x00: // WBMP rtn = CreateFromWBMP(in); break; /* GD2 0x67 0x64 0x32 0x00 == GD2\0 Starts with gd2 */ case 0x67: // GD2 rtn = CreateFromGd2(in); break; /* GD 0xFF 0xFE or 0xFF 0xFF Conflicts with Jpeg */ /* XBM #define test_width 16 #define test_height 7 */ case 0x23: // XBM rtn = CreateFromXbm(in); break; default: rtn = false; break; } return rtn; } /** Load an image from a standard input stream, after attempting to determine it's image file format. Invoke CreateFrom with an already opened stream containing the desired image. CreateFrom does not close the stream. \param[in] in An opened standard library input stream. \return true for success, or false if unable to load the image (most often because the file is corrupt or does not contain a recognized image format). You can call Width() and Height() member functions of the image to determine its size. Example usage, convert anything to gif: #include #include std::ifstream in("image.xxx", std::ios_base::in | std::ios_base::binary ); GD::Image im; im.CreateFrom(in); if (im.good()) { std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary ); im.Gif(out); } */ bool Image::CreateFrom(std::istream & in) { bool rtn; switch (in.peek()) { /* PNG The first eight bytes of a PNG file always contain the following (decimal) values: 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A == .PNG\r\n.\n */ case 0x89: // PNG rtn = CreateFromPng(in); break; /* GIF 0x47 0x49 0x46 */ case 0x47: // GIF rtn = CreateFromGif(in); break; /* JPEG A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0, followed by two variable bytes (often hex 00 10), followed by 'JFIF'. */ case 0xFF: // JPEG rtn = CreateFromJpeg(in); break; /* WBMP WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type */ case 0x00: // WBMP rtn = CreateFromWBMP(in); break; /* GD2 0x67 0x64 0x32 0x00 == GD2\0 Starts with gd2 */ case 0x67: // GD2 rtn = CreateFromGd2(in); break; /* GD 0xFF 0xFE or 0xFF 0xFF Conflicts with Jpeg */ default: rtn = false; break; } return rtn; } /** Load an image from an in-RAM memory block, after attempting to determine it's image format. CreateFrom does not de-allocate the memory. \param[in] size The byte count of the memory block. \param[in] data A pointer to the memory block. \return true for success, or false if unable to load the image (most often because the formatting is corrupt or does not contain a recognized image format). You can call Width() and Height() member functions of the image to determine its size. */ bool Image::CreateFrom(int size, void * data) { bool rtn; switch (((unsigned char * )data)[0]) { /* PNG The first eight bytes of a PNG file always contain the following (decimal) values: 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A == .PNG\r\n.\n */ case 0x89: // PNG rtn = CreateFromPng(size, data); break; /* GIF 0x47 0x49 0x46 */ case 0x47: // GIF rtn = CreateFromGif(size, data); break; /* JPEG A JFIF-standard file will start with the four bytes (hex) FF D8 FF E0, followed by two variable bytes (often hex 00 10), followed by 'JFIF'. */ case 0xFF: // JPEG rtn = CreateFromJpeg(size, data); break; /* WBMP WBMP Type 0: B/W, Uncompressed bitmap is the only gd supported type */ case 0x00: // WBMP rtn = CreateFromWBMP(size, data); break; /* GD2 0x67 0x64 0x32 0x00 == GD2\0 Starts with gd2 */ case 0x67: // GD2 rtn = CreateFromGd2(size, data); break; /* GD 0xFF 0xFE or 0xFF 0xFF Conflicts with Jpeg */ default: rtn = false; break; } return rtn; } } // namespace GD /** Load an image from a standard input stream, regardless of it's image file format. You can call Width() and Height() member functions of the image to determine its size. Example usage, convert anything to gif: #include #include std::ifstream in("image.xxx", std::ios_base::in | std::ios_base::binary ); GD::Image im; in >> im; if (im.good()) { std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary ); im.Gif(out); } */ std::istream & operator>> (std::istream & in, GD::Image & img) { img.CreateFrom(in); return in; } #endif /* __cplusplus */ libgd-2.3.0/src/pngtogd2.c0000664000175000017500000000220613635665516012217 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "gd.h" /* A short program which converts a .png file into a .gd2 file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd2 format is not intended to be a general-purpose format. */ int main (int argc, char **argv) { gdImagePtr im; FILE *in, *out; int cs, fmt; if (argc != 5) { fprintf(stderr, "Usage: pngtogd2 filename.png filename.gd2 cs fmt\n"); fprintf(stderr, " where cs is the chunk size\n"); fprintf(stderr, " fmt is 1 for raw, 2 for compressed\n"); exit (1); } in = fopen (argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit (1); } im = gdImageCreateFromPng (in); fclose (in); if (!im) { fprintf(stderr, "Input is not in PNG format!\n"); exit (1); } out = fopen (argv[2], "wb"); if (!out) { fprintf(stderr, "Output file cannot be written to!\n"); gdImageDestroy (im); exit (1); } cs = atoi (argv[3]); fmt = atoi (argv[4]); gdImageGd2 (im, out, cs, fmt); fclose (out); gdImageDestroy (im); return 0; } libgd-2.3.0/src/demoin.png0000664000175000017500000002345313634445460012310 00000000000000PNG  IHDRPLTE3f3f3f333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ifi2 F4 }b4f-n5JO8j*$>ie dKMr֠=J&j:hvcOl:@IS9v#>(:"1OϪz<|1HX@& ;By1fBaэ^GkMўnu7W~|z(}V?"y>fX< P=Xii*mGd"d>2dFzG?vJi 3!UH=c@sMOLNRࡌSF: /nҧ()UiB5MG#uZ<ĀBJ>#L_R%O ^$qhoQTdAJ[4ZVPPM>9^gn0&\ D8Jv+ R @n@JZq"DgPԲ!l= 8f(Fj`Y*DUx[ e:Oڥ HaNZ!J"}Q{_^@Iu0bEDpKujy]}Tx>Rx BWso=â'N pՁ"UqZV^Q@ Px0(BJEZupO#ebJe _Azma^{k T#d)xqUOU0:pƸ @M]n@)<#鰯Z~c|ߵbtB//T+AVj5A\U4/^JGW\i>4kbDg`aӿzo Q c <ӑ cIN4A``vDU(j7pA.I5y_*0}5ِw9S+8ҺW?f( Uz.j ؑ~<ɐF N='Y2i+42vO:[ T ܕZZ_܇Ȃߐ]βPKdm|`4po޸+F ϛ4*%TY'rPWԳ|ٞhcK%#Etkk+zXtgzɧ@GVj8F<N)5hC.346'tVdw[ {#!qkBHZ (Щ@R xREV4 $B[Bi ґh*@~1p ,R`\9J]P[>ޘQЃzhz̍*}<([C m>A[ t{7:P}^ӈ|v]_Hhr7hHUq܏E&"VxgH?U*qyj"VjĤ2qU\xIB ģPxU‚:>ZnTu~kuf}YUWz j\ۍ~q^k ؏35^/U=N'r.i \pyb{f=P9F01TXx UnL߯Ě(/GW0 > tDžU2%9cHmrKÇO*?@}7rH ZNCO?µUU5y6I #include #include #include "gd.h" #include "gdhelpers.h" /* this is used for creating images in main memory */ typedef struct fileIOCtx { gdIOCtx ctx; FILE *f; } fileIOCtx; gdIOCtx *newFileCtx(FILE *f); static int fileGetbuf(gdIOCtx *, void *, int); static int filePutbuf(gdIOCtx *, const void *, int); static void filePutchar(gdIOCtx *, int); static int fileGetchar(gdIOCtx *ctx); static int fileSeek(struct gdIOCtx *, const int); static long fileTell(struct gdIOCtx *); static void gdFreeFileCtx(gdIOCtx *ctx); /* Function: gdNewFileCtx Return data as a dynamic pointer. */ BGD_DECLARE(gdIOCtx *) gdNewFileCtx(FILE *f) { fileIOCtx *ctx; if (f == NULL) return NULL; ctx = (fileIOCtx *)gdMalloc(sizeof(fileIOCtx)); if(ctx == NULL) { return NULL; } ctx->f = f; ctx->ctx.getC = fileGetchar; ctx->ctx.putC = filePutchar; ctx->ctx.getBuf = fileGetbuf; ctx->ctx.putBuf = filePutbuf; ctx->ctx.tell = fileTell; ctx->ctx.seek = fileSeek; ctx->ctx.gd_free = gdFreeFileCtx; return (gdIOCtx *)ctx; } static void gdFreeFileCtx(gdIOCtx *ctx) { gdFree(ctx); } static int filePutbuf(gdIOCtx *ctx, const void *buf, int size) { fileIOCtx *fctx; fctx = (fileIOCtx *)ctx; return fwrite(buf, 1, size, fctx->f); } static int fileGetbuf(gdIOCtx *ctx, void *buf, int size) { fileIOCtx *fctx; fctx = (fileIOCtx *)ctx; return (fread(buf, 1, size, fctx->f)); } static void filePutchar(gdIOCtx *ctx, int a) { unsigned char b; fileIOCtx *fctx; fctx = (fileIOCtx *)ctx; b = a; putc(b, fctx->f); } static int fileGetchar(gdIOCtx *ctx) { fileIOCtx *fctx; fctx = (fileIOCtx *)ctx; return getc(fctx->f); } static int fileSeek(struct gdIOCtx *ctx, const int pos) { fileIOCtx *fctx; fctx = (fileIOCtx *)ctx; return (fseek(fctx->f, pos, SEEK_SET) == 0); } static long fileTell (struct gdIOCtx *ctx) { fileIOCtx *fctx; fctx = (fileIOCtx *)ctx; return ftell(fctx->f); } libgd-2.3.0/src/gd_errors.h0000664000175000017500000000273713634445460012470 00000000000000#ifndef GD_ERRORS_H #define GD_ERRORS_H #ifndef _WIN32 # include #else /* * priorities/facilities are encoded into a single 32-bit quantity, where the * bottom 3 bits are the priority (0-7) and the top 28 bits are the facility * (0-big number). Both the priorities and the facilities map roughly * one-to-one to strings in the syslogd(8) source code. This mapping is * included in this file. * * priorities (these are ordered) */ # define LOG_EMERG 0 /* system is unusable */ # define LOG_ALERT 1 /* action must be taken immediately */ # define LOG_CRIT 2 /* critical conditions */ # define LOG_ERR 3 /* error conditions */ # define LOG_WARNING 4 /* warning conditions */ # define LOG_NOTICE 5 /* normal but significant condition */ # define LOG_INFO 6 /* informational */ # define LOG_DEBUG 7 /* debug-level messages */ #endif /* LOG_EMERG system is unusable LOG_ALERT action must be taken immediately LOG_CRIT critical conditions LOG_ERR error conditions LOG_WARNING warning conditions LOG_NOTICE normal, but significant, condition LOG_INFO informational message LOG_DEBUG debug-level message */ #define GD_ERROR LOG_ERR #define GD_WARNING LOG_WARNING #define GD_NOTICE LOG_NOTICE #define GD_INFO LOG_INFO #define GD_DEBUG LOG_DEBUG void gd_error(const char *format, ...); void gd_error_ex(int priority, const char *format, ...); #endif libgd-2.3.0/src/gd_nnquant.c0000664000175000017500000003673613635665516012650 00000000000000/* NeuQuant Neural-Net Quantization Algorithm * ------------------------------------------ * * Copyright (c) 1994 Anthony Dekker * * NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994. * See "Kohonen neural networks for optimal colour quantization" * in "Network: Computation in Neural Systems" Vol. 5 (1994) pp 351-367. * for a discussion of the algorithm. * See also http://members.ozemail.com.au/~dekker/NEUQUANT.HTML * * Any party obtaining a copy of these files from the author, directly or * indirectly, is granted, free of charge, a full and unrestricted irrevocable, * world-wide, paid up, royalty-free, nonexclusive right and license to deal * in this software and documentation files (the "Software"), including without * limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons who receive * copies from any such party to do so, with the only requirement being * that this copyright notice remain intact. * * * Modified to process 32bit RGBA images. * Stuart Coyle 2004-2007 * From: http://pngnq.sourceforge.net/ * * Ported to libgd by Pierre A. Joye * (and make it thread safety by droping static and global variables) */ #ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include #include #include "gd.h" #include "gdhelpers.h" #include "gd_errors.h" #include "gd_nnquant.h" /* Network Definitions ------------------- */ #define maxnetpos (MAXNETSIZE-1) #define netbiasshift 4 /* bias for colour values */ #define ncycles 100 /* no. of learning cycles */ /* defs for freq and bias */ #define intbiasshift 16 /* bias for fractions */ #define intbias (((int) 1)<>betashift) /* beta = 1/1024 */ #define betagamma (intbias<<(gammashift-betashift)) /* defs for decreasing radius factor */ #define initrad (MAXNETSIZE>>3) /* for 256 cols, radius starts */ #define radiusbiasshift 6 /* at 32.0 biased by 6 bits */ #define radiusbias (((int) 1)<network, 0, sizeof(nq_pixel)*MAXNETSIZE); nnq->thepicture = thepic; nnq->lengthcount = len; nnq->samplefac = sample; nnq->netsize = colours; for (i=0; i < nnq->netsize; i++) { p = nnq->network[i]; p[0] = p[1] = p[2] = p[3] = (i << (netbiasshift+8)) / nnq->netsize; nnq->freq[i] = intbias / nnq->netsize; /* 1/netsize */ nnq->bias[i] = 0; } } /* -------------------------- */ /* Unbias network to give byte values 0..255 and record * position i to prepare for sort */ /* -------------------------- */ void unbiasnet(nn_quant *nnq) { int i,j,temp; for (i=0; i < nnq->netsize; i++) { for (j=0; j<4; j++) { /* OLD CODE: network[i][j] >>= netbiasshift; */ /* Fix based on bug report by Juergen Weigert jw@suse.de */ temp = (nnq->network[i][j] + (1 << (netbiasshift - 1))) >> netbiasshift; if (temp > 255) temp = 255; nnq->network[i][j] = temp; } nnq->network[i][4] = i; /* record colour no */ } } /* Output colour map ----------------- */ void writecolourmap(nnq, f) nn_quant *nnq; FILE *f; { int i,j; for (i=3; i>=0; i--) for (j=0; j < nnq->netsize; j++) putc(nnq->network[j][i], f); } /* Output colormap to unsigned char ptr in RGBA format */ void getcolormap(nnq, map) nn_quant *nnq; unsigned char *map; { int i,j; for(j=0; j < nnq->netsize; j++) { for (i=3; i>=0; i--) { *map = nnq->network[j][i]; map++; } } } /* Insertion sort of network and building of netindex[0..255] (to do after unbias) ------------------------------------------------------------------------------- */ void inxbuild(nn_quant *nnq) { register int i,j,smallpos,smallval; register int *p,*q; int previouscol,startpos; previouscol = 0; startpos = 0; for (i=0; i < nnq->netsize; i++) { p = nnq->network[i]; smallpos = i; smallval = p[2]; /* index on g */ /* find smallest in i..netsize-1 */ for (j=i+1; j < nnq->netsize; j++) { q = nnq->network[j]; if (q[2] < smallval) { /* index on g */ smallpos = j; smallval = q[2]; /* index on g */ } } q = nnq->network[smallpos]; /* swap p (i) and q (smallpos) entries */ if (i != smallpos) { j = q[0]; q[0] = p[0]; p[0] = j; j = q[1]; q[1] = p[1]; p[1] = j; j = q[2]; q[2] = p[2]; p[2] = j; j = q[3]; q[3] = p[3]; p[3] = j; j = q[4]; q[4] = p[4]; p[4] = j; } /* smallval entry is now in position i */ if (smallval != previouscol) { nnq->netindex[previouscol] = (startpos+i)>>1; for (j=previouscol+1; jnetindex[j] = i; previouscol = smallval; startpos = i; } } nnq->netindex[previouscol] = (startpos+maxnetpos)>>1; for (j=previouscol+1; j<256; j++) nnq->netindex[j] = maxnetpos; /* really 256 */ } /* Search for ABGR values 0..255 (after net is unbiased) and return colour index ---------------------------------------------------------------------------- */ unsigned int inxsearch(nnq, al,b,g,r) nn_quant *nnq; register int al, b, g, r; { register int i, j, dist, a, bestd; register int *p; unsigned int best; bestd = 1000; /* biggest possible dist is 256*3 */ best = 0; i = nnq->netindex[g]; /* index on g */ j = i-1; /* start at netindex[g] and work outwards */ while ((inetsize) || (j>=0)) { if (i< nnq->netsize) { p = nnq->network[i]; dist = p[2] - g; /* inx key */ if (dist >= bestd) i = nnq->netsize; /* stop iter */ else { i++; if (dist<0) dist = -dist; a = p[1] - b; if (a<0) a = -a; dist += a; if (dist=0) { p = nnq->network[j]; dist = g - p[2]; /* inx key - reverse dif */ if (dist >= bestd) j = -1; /* stop iter */ else { j--; if (dist<0) dist = -dist; a = p[1] - b; if (a<0) a = -a; dist += a; if (distbias; f = nnq->freq; for (i=0; i< nnq->netsize; i++) { n = nnq->network[i]; dist = n[0] - al; if (dist<0) dist = -dist; a = n[1] - b; if (a<0) a = -a; dist += a; a = n[2] - g; if (a<0) a = -a; dist += a; a = n[3] - r; if (a<0) a = -a; dist += a; if (dist>(intbiasshift-netbiasshift)); if (biasdist> betashift); *f++ -= betafreq; *p++ += (betafreq<freq[bestpos] += beta; nnq->bias[bestpos] -= betagamma; return(bestbiaspos); } /* Move neuron i towards biased (a,b,g,r) by factor alpha ---------------------------------------------------- */ void altersingle(nnq, alpha,i,al,b,g,r) nn_quant *nnq; register int alpha,i,al,b,g,r; { register int *n; n = nnq->network[i]; /* alter hit neuron */ *n -= (alpha*(*n - al)) / initalpha; n++; *n -= (alpha*(*n - b)) / initalpha; n++; *n -= (alpha*(*n - g)) / initalpha; n++; *n -= (alpha*(*n - r)) / initalpha; } /* Move adjacent neurons by precomputed alpha*(1-((i-j)^2/[r]^2)) in radpower[|i-j|] --------------------------------------------------------------------------------- */ void alterneigh(nnq, rad,i,al,b,g,r) nn_quant *nnq; int rad,i; register int al,b,g,r; { register int j,k,lo,hi,a; register int *p, *q; lo = i-rad; if (lo<-1) lo=-1; hi = i+rad; if (hi>nnq->netsize) hi=nnq->netsize; j = i+1; k = i-1; q = nnq->radpower; while ((jlo)) { a = (*(++q)); if (jnetwork[j]; *p -= (a*(*p - al)) / alpharadbias; p++; *p -= (a*(*p - b)) / alpharadbias; p++; *p -= (a*(*p - g)) / alpharadbias; p++; *p -= (a*(*p - r)) / alpharadbias; j++; } if (k>lo) { p = nnq->network[k]; *p -= (a*(*p - al)) / alpharadbias; p++; *p -= (a*(*p - b)) / alpharadbias; p++; *p -= (a*(*p - g)) / alpharadbias; p++; *p -= (a*(*p - r)) / alpharadbias; k--; } } } /* Main Learning Loop ------------------ */ void learn(nnq, verbose) /* Stu: N.B. added parameter so that main() could control verbosity. */ nn_quant *nnq; int verbose; { register int i,j,al,b,g,r; int radius,rad,alpha,step,delta,samplepixels; register unsigned char *p; unsigned char *lim; nnq->alphadec = 30 + ((nnq->samplefac-1)/3); p = nnq->thepicture; lim = nnq->thepicture + nnq->lengthcount; samplepixels = nnq->lengthcount/(4 * nnq->samplefac); /* here's a problem with small images: samplepixels < ncycles => delta = 0 */ delta = samplepixels/ncycles; /* kludge to fix */ if(delta==0) delta = 1; alpha = initalpha; radius = initradius; rad = radius >> radiusbiasshift; for (i=0; iradpower[i] = alpha*(((rad*rad - i*i)*radbias)/(rad*rad)); if (verbose) gd_error_ex(GD_NOTICE, "beginning 1D learning: initial radius=%d\n", rad); if ((nnq->lengthcount%prime1) != 0) step = 4*prime1; else { if ((nnq->lengthcount%prime2) !=0) step = 4*prime2; else { if ((nnq->lengthcount%prime3) !=0) step = 4*prime3; else step = 4*prime4; } } i = 0; while (i < samplepixels) { al = p[ALPHA] << netbiasshift; b = p[BLUE] << netbiasshift; g = p[GREEN] << netbiasshift; r = p[RED] << netbiasshift; j = contest(nnq, al,b,g,r); altersingle(nnq, alpha,j,al,b,g,r); if (rad) alterneigh(nnq, rad,j,al,b,g,r); /* alter neighbours */ p += step; while (p >= lim) p -= nnq->lengthcount; i++; if (i%delta == 0) { /* FPE here if delta=0*/ alpha -= alpha / nnq->alphadec; radius -= radius / radiusdec; rad = radius >> radiusbiasshift; if (rad <= 1) rad = 0; for (j=0; jradpower[j] = alpha*(((rad*rad - j*j)*radbias)/(rad*rad)); } } if (verbose) gd_error_ex(GD_NOTICE, "finished 1D learning: final alpha=%f !\n",((float)alpha)/initalpha); } /** * Function: gdImageNeuQuant * * Creates a new palette image from a truecolor image * * This is the same as calling with the * quantization method . * * Parameters: * im - The image. * max_color - The number of desired palette entries. * sample_factor - The quantization precision between 1 (highest quality) and * 10 (fastest). * * Returns: * A newly create palette image; NULL on failure. */ BGD_DECLARE(gdImagePtr) gdImageNeuQuant(gdImagePtr im, const int max_color, int sample_factor) { const int newcolors = max_color; const int verbose = 1; int bot_idx, top_idx; /* for remapping of indices */ int remap[MAXNETSIZE]; int i,x; unsigned char map[MAXNETSIZE][4]; unsigned char *d; nn_quant *nnq = NULL; int row; unsigned char *rgba = NULL; gdImagePtr dst = NULL; /* Default it to 3 */ if (sample_factor < 1) { sample_factor = 3; } /* Start neuquant */ /* Pierre: * This implementation works with aligned contiguous buffer only * Upcoming new buffers are contiguous and will be much faster. * let don't bloat this code to support our good "old" 31bit format. * It alos lets us convert palette image, if one likes to reduce * a palette */ if (overflow2(gdImageSX(im), gdImageSY(im)) || overflow2(gdImageSX(im) * gdImageSY(im), 4)) { goto done; } rgba = (unsigned char *) gdMalloc(gdImageSX(im) * gdImageSY(im) * 4); if (!rgba) { goto done; } d = rgba; for (row = 0; row < gdImageSY(im); row++) { int *p = im->tpixels[row]; register int c; for (i = 0; i < gdImageSX(im); i++) { c = *p; *d++ = gdImageAlpha(im, c); *d++ = gdImageRed(im, c); *d++ = gdImageBlue(im, c); *d++ = gdImageGreen(im, c); p++; } } nnq = (nn_quant *) gdMalloc(sizeof(nn_quant)); if (!nnq) { goto done; } initnet(nnq, rgba, gdImageSY(im) * gdImageSX(im) * 4, sample_factor, newcolors); learn(nnq, verbose); unbiasnet(nnq); getcolormap(nnq, (unsigned char*)map); inxbuild(nnq); /* remapping colormap to eliminate opaque tRNS-chunk entries... */ for (top_idx = newcolors-1, bot_idx = x = 0; x < newcolors; ++x) { if (map[x][3] == 255) { /* maxval */ remap[x] = top_idx--; } else { remap[x] = bot_idx++; } } if (bot_idx != top_idx + 1) { gd_error(" internal logic error: remapped bot_idx = %d, top_idx = %d\n", bot_idx, top_idx); goto done; } dst = gdImageCreate(gdImageSX(im), gdImageSY(im)); if (!dst) { goto done; } for (x = 0; x < newcolors; ++x) { dst->red[remap[x]] = map[x][0]; dst->green[remap[x]] = map[x][1]; dst->blue[remap[x]] = map[x][2]; dst->alpha[remap[x]] = map[x][3]; dst->open[remap[x]] = 0; dst->colorsTotal++; } /* Do each image row */ for ( row = 0; row < gdImageSY(im); ++row ) { int offset; unsigned char *p = dst->pixels[row]; /* Assign the new colors */ offset = row * gdImageSX(im) * 4; for(i=0; i < gdImageSX(im); i++) { p[i] = remap[ inxsearch(nnq, rgba[i * 4 + offset + ALPHA], rgba[i * 4 + offset + BLUE], rgba[i * 4 + offset + GREEN], rgba[i * 4 + offset + RED]) ]; } } done: if (rgba) { gdFree(rgba); } if (nnq) { gdFree(nnq); } return dst; } libgd-2.3.0/src/gd_io_stream.h0000664000175000017500000000720213635665516013135 00000000000000/* ***************************************************************************** ** Initial file written and documented by: ** Kevin Shepherd December 2007 ** of Scarlet Line http://www.scarletline.com/ *******************************************************************************/ /** \file gd_io_stream.h \brief C++ standard library iostream specializations of gdIOCtx. Note that all of the methods defined in this header are internal to the libgd library, except for the constructors. Only the constructors are needed by a user of the libgd API. This file does not use or need gdpp.h, but if GD::Image is used, then C++ coding becomes even simpler, and the classes below become entirely hidden implementation details. Example usage, convert png to gif: #include #include "gd_io_stream.h" std::ifstream in("image.png", std::ios_base::in | std::ios_base::binary ); if (in.good()) { istreamIOCtx _in_ctx(in); gdImagePtr im_in = gdImageCreateFromPngCtx ( & _in_ctx); std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary ); ostreamIOCtx _out_ctx(out); gdImageGifCtx(im_in, & _out_ctx); } gdImageDestroy(im_in); */ #ifndef _gd_io_stream_h #define _gd_io_stream_h #ifdef __cplusplus #include "gd.h" #include /** Standard library input stream specialization of gdIOCtx */ class BGD_EXPORT_DATA_IMPL istreamIOCtx : public gdIOCtx { public: typedef std::istream stream_type; /** Construct an instance of this input stream specialization, given an input stream. For example: std::ifstream in("image.png", std::ios_base::in | std::ios_base::binary ); istreamIOCtx in_ctx(in); */ istreamIOCtx(stream_type & __stream) { init( & __stream); } static int Getbuf (struct gdIOCtx * ctx, void * buf, int size); static int Putbuf (struct gdIOCtx * , const void * , int ); static void Putchar (struct gdIOCtx * , int ); static int Getchar (struct gdIOCtx * ctx); static int Seek (struct gdIOCtx * ctx, const int pos); static long Tell (struct gdIOCtx * ctx); static void FreeCtx (struct gdIOCtx * ctx); void init(stream_type * __stream) { getC = Getchar; putC = Putchar; getBuf = Getbuf; putBuf = Putbuf; tell = Tell; seek = Seek; gd_free = FreeCtx; _M_stream = __stream; } private: stream_type * _M_stream; }; /** Allocate a new instance of the class */ inline gdIOCtx * gdNewIstreamCtx (std::istream * __stream) { return new istreamIOCtx(* __stream); } /** Standard library output stream specialization of gdIOCtx */ class BGD_EXPORT_DATA_IMPL ostreamIOCtx : public gdIOCtx { public: typedef std::ostream stream_type; /** Construct an instance of this output stream specialization, given an output stream. For example: std::ofstream out("image.gif", std::ios_base::out | std::ios_base::binary ); ostreamIOCtx out_ctx(out); */ ostreamIOCtx(stream_type & __stream) { init( & __stream); } static int Getbuf (struct gdIOCtx * , void * , int ); static int Putbuf (struct gdIOCtx * ctx, const void * buf, int size); static int Getchar (struct gdIOCtx * ); static void Putchar (struct gdIOCtx * ctx, int a); static int Seek (struct gdIOCtx * ctx, const int pos); static long Tell (struct gdIOCtx * ctx); static void FreeCtx (struct gdIOCtx * ctx); void init(stream_type * __stream) { getC = Getchar; putC = Putchar; getBuf = Getbuf; putBuf = Putbuf; tell = Tell; seek = Seek; gd_free = FreeCtx; _M_stream = __stream; } private: stream_type * _M_stream; }; /** Allocate a new instance of the class */ inline gdIOCtx * gdNewOstreamCtx (std::ostream * __stream) { return new ostreamIOCtx(* __stream); } #endif /* __cplusplus */ #endif /* _gd_io_stream_h */ libgd-2.3.0/src/gd_gif_out.c0000664000175000017500000012364213635665516012611 00000000000000/** * File: GIF Output * * Write GIF images. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "gd.h" #include "gdhelpers.h" /* Code drawn from ppmtogif.c, from the pbmplus package ** ** Based on GIFENCOD by David Rowley . A ** Lempel-Zim compression based on "compress". ** ** Modified by Marcel Wijkstra ** ** Copyright (C) 1989 by Jef Poskanzer. ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, provided ** that the above copyright notice appear in all copies and that both that ** copyright notice and this permission notice appear in supporting ** documentation. This software is provided "as is" without express or ** implied warranty. ** ** The Graphics Interchange Format(c) is the Copyright property of ** CompuServe Incorporated. GIF(sm) is a Service Mark property of ** CompuServe Incorporated. */ /* a code_int must be able to hold 2**GIFBITS values of type int, and also -1 */ typedef int code_int; #ifdef SIGNED_COMPARE_SLOW typedef unsigned long int count_int; typedef unsigned short int count_short; #else /* SIGNED_COMPARE_SLOW */ typedef long int count_int; #endif /* SIGNED_COMPARE_SLOW */ /* 2.0.28: threadsafe */ #define maxbits GIFBITS /* should NEVER generate this code */ #define maxmaxcode ((code_int)1 << GIFBITS) #define HSIZE 5003 /* 80% occupancy */ #define hsize HSIZE /* Apparently invariant, left over from compress */ typedef struct { int Width, Height; int curx, cury; long CountDown; int Pass; int Interlace; int n_bits; code_int maxcode; count_int htab [HSIZE]; unsigned short codetab [HSIZE]; /* first unused entry */ code_int free_ent; /* block compression parameters -- after all codes are used up, * and compression rate changes, start over. */ int clear_flg; int offset; long int in_count; /* # of codes output (for debugging) */ long int out_count; int g_init_bits; gdIOCtx * g_outfile; int ClearCode; int EOFCode; unsigned long cur_accum; int cur_bits; int a_count; char accum[ 256 ]; } GifCtx; static int gifPutWord(int w, gdIOCtx *out); static int colorstobpp(int colors); static void BumpPixel(GifCtx *ctx); static int GIFNextPixel(gdImagePtr im, GifCtx *ctx); static void GIFEncode(gdIOCtxPtr fp, int GWidth, int GHeight, int GInterlace, int Background, int Transparent, int BitsPerPixel, int *Red, int *Green, int *Blue, gdImagePtr im); static void GIFAnimEncode(gdIOCtxPtr fp, int IWidth, int IHeight, int LeftOfs, int TopOfs, int GInterlace, int Transparent, int Delay, int Disposal, int BitsPerPixel, int *Red, int *Green, int *Blue, gdImagePtr im); static void compress(int init_bits, gdIOCtx *outfile, gdImagePtr im, GifCtx *ctx); static void output(code_int code, GifCtx *ctx); static void cl_block(GifCtx *ctx); static void cl_hash(register count_int chsize, GifCtx *ctx); static void char_init(GifCtx *ctx); static void char_out(int c, GifCtx *ctx); static void flush_char(GifCtx *ctx); static int _gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out); static int _gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtxPtr out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm); /* Function: gdImageGifPtr Identical to except that it returns a pointer to a memory area with the GIF data. This memory must be freed by the caller when it is no longer needed. The caller *must* invoke , not _free()_. This is because it is not guaranteed that libgd will use the same implementation of malloc, free, etc. as your proggram. The 'size' parameter receives the total size of the block of memory. Parameters: im - The image to write size - Output: the size of the resulting image. Returns: A pointer to the GIF data or NULL if an error occurred. */ BGD_DECLARE(void *) gdImageGifPtr(gdImagePtr im, int *size) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) return NULL; if (!_gdImageGifCtx(im, out)) { rv = gdDPExtractData(out, size); } else { rv = NULL; } out->gd_free(out); return rv; } /* Function: gdImageGif outputs the specified image to the specified file in GIF format. The file must be open for binary writing. (Under MSDOS and all versions of Windows, it is important to use "wb" as opposed to simply "w" as the mode when opening the file; under Unix there is no penalty for doing so). does not close the file; your code must do so. GIF does not support true color; GIF images can contain a maximum of 256 colors. If the image to be written is a truecolor image, such as those created with gdImageCreateTrueColor or loaded from a JPEG or a truecolor PNG image file, a palette-based temporary image will automatically be created internally using the function. The original image pixels are not modified. This conversion produces high quality palettes but does require some CPU time. If you are regularly converting truecolor to palette in this way, you should consider creating your image as a palette-based image in the first place. Variants: outputs the image via a struct. stores the image in a large array of bytes. Parameters: im - The image to write outFile - The FILE pointer to write the image to. Returns: Nothing Example: > gdImagePtr im; > int black, white; > FILE *out; > // Create the image > im = gdImageCreate(100, 100); > // Allocate background > white = gdImageColorAllocate(im, 255, 255, 255); > // Allocate drawing color > black = gdImageColorAllocate(im, 0, 0, 0); > // Draw rectangle > gdImageRectangle(im, 0, 0, 99, 99, black); > // Open output file in binary mode > out = fopen("rect.gif", "wb"); > // Write GIF > gdImageGif(im, out); > // Close file > fclose(out); > // Destroy image > gdImageDestroy(im); */ BGD_DECLARE(void) gdImageGif(gdImagePtr im, FILE *outFile) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageGifCtx(im, out); out->gd_free(out); } /* Function: gdImageGifCtx Writes a GIF image via a . See . Parameters: im - The image to write out - The struct used to do the writing. Returns: Nothing. */ BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out) { _gdImageGifCtx(im, out); } /* returns 0 on success, 1 on failure */ static int _gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out) { gdImagePtr pim = 0, tim = im; int interlace, BitsPerPixel; interlace = im->interlace; if(im->trueColor) { /* Expensive, but the only way that produces an acceptable result: mix down to a palette based temporary image. */ pim = gdImageCreatePaletteFromTrueColor(im, 1, 256); if(!pim) { return 1; } tim = pim; } BitsPerPixel = colorstobpp(tim->colorsTotal); /* All set, let's do it. */ GIFEncode( out, tim->sx, tim->sy, interlace, 0, tim->transparent, BitsPerPixel, tim->red, tim->green, tim->blue, tim); if(pim) { /* Destroy palette based temporary image. */ gdImageDestroy( pim); } return 0; } /* Function: gdImageGifAnimBeginPtr Like except that it outputs to a memory buffer. See . The returned memory must be freed by the caller when it is no longer needed. **The caller must invoke (), not free()**, unless the caller is absolutely certain that the same implementations of malloc, free, etc. are used both at library build time and at application build time (but don't; it could always change). The 'size' parameter receives the total size of the block of memory. Parameters: im - The reference image size - Output: the size in bytes of the result. GlobalCM - Global colormap flag: 1 -> yes, 0 -> no, -1 -> do default Loops - Loop count; 0 -> infinite, -1 means no loop Returns: A pointer to the resulting data (the contents of the start of the GIF) or NULL if an error occurred. */ BGD_DECLARE(void *) gdImageGifAnimBeginPtr(gdImagePtr im, int *size, int GlobalCM, int Loops) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) return NULL; gdImageGifAnimBeginCtx(im, out, GlobalCM, Loops); rv = gdDPExtractData(out, size); out->gd_free(out); return rv; } /* Function: gdImageGifAnimBegin This function must be called as the first function when creating a GIF animation. It writes the correct GIF file headers to selected file output, and prepares for frames to be added for the animation. The image argument is not used to produce an image frame to the file, it is only used to establish the GIF animation frame size, interlacing options and the color palette. is used to add the first and subsequent frames to the animation, and the animation must be terminated by writing a semicolon character (;) to it or by using gdImageGifAnimEnd to do that. The GlobalCM flag indicates if a global color map (or palette) is used in the GIF89A header. A nonzero value specifies that a global color map should be used to reduce the size of the animation. Of course, if the color maps of individual frames differ greatly, a global color map may not be a good idea. GlobalCM=1 means write global color map, GlobalCM=0 means do not, and GlobalCM=-1 means to do the default, which currently is to use a global color map. If Loops is 0 or greater, the Netscape 2.0 extension for animation loop count is written. 0 means infinite loop count. -1 means that the extension is not added which results in no looping. -1 is the default. Variants: outputs the image via a struct. stores the image in a large array of bytes. Parameters: im - The reference image outfile - The output FILE*. GlobalCM - Global colormap flag: 1 -> yes, 0 -> no, -1 -> do default Loops - Loop count; 0 -> infinite, -1 means no loop Returns: Nothing. Example: See . */ BGD_DECLARE(void) gdImageGifAnimBegin(gdImagePtr im, FILE *outFile, int GlobalCM, int Loops) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageGifAnimBeginCtx(im, out, GlobalCM, Loops); out->gd_free(out); } /* Function: gdImageGifAnimBeginCtx Like except that it outputs to . See . Parameters: im - The reference image out - Pointer to the output . GlobalCM - Global colormap flag: 1 -> yes, 0 -> no, -1 -> do default Loops - Loop count; 0 -> infinite, -1 means no loop Returns: Nothing. */ BGD_DECLARE(void) gdImageGifAnimBeginCtx(gdImagePtr im, gdIOCtxPtr out, int GlobalCM, int Loops) { int B; int RWidth, RHeight; int Resolution; int ColorMapSize; int BitsPerPixel; int Background = 0; int i; /* Default is to use global color map */ if (GlobalCM < 0) { GlobalCM = 1; } BitsPerPixel = colorstobpp(im->colorsTotal); ColorMapSize = 1 << BitsPerPixel; RWidth = im->sx; RHeight = im->sy; Resolution = BitsPerPixel; /* Write the Magic header */ gdPutBuf("GIF89a", 6, out); /* Write out the screen width and height */ gifPutWord(RWidth, out); gifPutWord(RHeight, out); /* Indicate that there is a global colour map */ B = GlobalCM ? 0x80 : 0; /* OR in the resolution */ B |= (Resolution - 1) << 4; /* OR in the Bits per Pixel */ B |= (BitsPerPixel - 1); /* Write it out */ gdPutC(B, out); /* Write out the Background colour */ gdPutC(Background, out); /* Byte of 0's (future expansion) */ gdPutC(0, out); /* Write out the Global Colour Map */ if(GlobalCM) { for(i = 0; i < ColorMapSize; ++i) { gdPutC(im->red[i], out); gdPutC(im->green[i], out); gdPutC(im->blue[i], out); } } if(Loops >= 0) { gdPutBuf("!\377\13NETSCAPE2.0\3\1", 16, out); gifPutWord(Loops, out); gdPutC(0, out); } } /* Function: gdImageGifAnimAddPtr Like (which contains more information) except that it stores the data to write into memory and returns a pointer to it. This memory must be freed by the caller when it is no longer needed. **The caller must invoke (), not free(),** unless the caller is absolutely certain that the same implementations of malloc, free, etc. are used both at library build time and at application build time (but don't; it could always change). The 'size' parameter receives the total size of the block of memory. Parameters: im - The image to add. size - Output: the size of the resulting buffer. LocalCM - Flag. If 1, use a local color map for this frame. LeftOfs - Left offset of image in frame. TopOfs - Top offset of image in frame. Delay - Delay before next frame (in 1/100 seconds) Disposal - MODE: How to treat this frame when the next one loads. previm - NULL or a pointer to the previous image written. Returns: Pointer to the resulting data or NULL if an error occurred. */ BGD_DECLARE(void *) gdImageGifAnimAddPtr(gdImagePtr im, int *size, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm) { void *rv; gdIOCtx *out = gdNewDynamicCtx(2048, NULL); if (out == NULL) return NULL; if (!_gdImageGifAnimAddCtx(im, out, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm)) { rv = gdDPExtractData(out, size); } else { rv = NULL; } out->gd_free(out); return rv; } /* Function: gdImageGifAnimAdd This function writes GIF animation frames to GIF animation, which was initialized with . With _LeftOfs_ and _TopOfs_ you can place this frame in different offset than (0,0) inside the image screen as defined in . Delay between the previous frame and this frame is in 1/100s units. _Disposal_ is usually , meaning that the pixels changed by this frame should remain on the display when the next frame begins to render, but can also be (not recommended), (restores the first allocated color of the global palette), or (restores the appearance of the affected area before the frame was rendered). Only is a sensible choice for the first frame. If _previm_ is passed, the built-in GIF optimizer will always use regardless of the Disposal parameter. Setting the _LocalCM_ flag to 1 adds a local palette for this image to the animation. Otherwise the global palette is assumed and the user must make sure the palettes match. Use to do that. Automatic optimization is activated by giving the previous image as a parameter. This function then compares the images and only writes the changed pixels to the new frame in animation. The _Disposal_ parameter for optimized animations must be set to 1, also for the first frame. _LeftOfs_ and _TopOfs_ parameters are ignored for optimized frames. To achieve good optimization, it is usually best to use a single global color map. To allow to compress unchanged pixels via the use of a transparent color, the image must include a transparent color. Variants: outputs its data via a struct. outputs its data to a memory buffer which it returns. Parameters: im - The image to add. outfile - The output FILE* being written. LocalCM - Flag. If 1, use a local color map for this frame. LeftOfs - Left offset of image in frame. TopOfs - Top offset of image in frame. Delay - Delay before next frame (in 1/100 seconds) Disposal - MODE: How to treat this frame when the next one loads. previm - NULL or a pointer to the previous image written. Returns: Nothing. Example: (start code) { gdImagePtr im, im2, im3; int black, white, trans; FILE *out; im = gdImageCreate(100, 100); // Create the image white = gdImageColorAllocate(im, 255, 255, 255); // Allocate background black = gdImageColorAllocate(im, 0, 0, 0); // Allocate drawing color trans = gdImageColorAllocate(im, 1, 1, 1); // trans clr for compression gdImageRectangle(im, 0, 0, 10, 10, black); // Draw rectangle out = fopen("anim.gif", "wb");// Open output file in binary mode gdImageGifAnimBegin(im, out, 1, 3);// Write GIF hdr, global clr map,loops // Write the first frame. No local color map. Delay = 1s gdImageGifAnimAdd(im, out, 0, 0, 0, 100, 1, NULL); // construct the second frame im2 = gdImageCreate(100, 100); (void)gdImageColorAllocate(im2, 255, 255, 255); // White background gdImagePaletteCopy (im2, im); // Make sure the palette is identical gdImageRectangle(im2, 0, 0, 15, 15, black); // Draw something // Allow animation compression with transparent pixels gdImageColorTransparent (im2, trans); gdImageGifAnimAdd(im2, out, 0, 0, 0, 100, 1, im); // Add second frame // construct the third frame im3 = gdImageCreate(100, 100); (void)gdImageColorAllocate(im3, 255, 255, 255); // white background gdImagePaletteCopy (im3, im); // Make sure the palette is identical gdImageRectangle(im3, 0, 0, 15, 20, black); // Draw something // Allow animation compression with transparent pixels gdImageColorTransparent (im3, trans); // Add the third frame, compressing against the second one gdImageGifAnimAdd(im3, out, 0, 0, 0, 100, 1, im2); gdImageGifAnimEnd(out); // End marker, same as putc(';', out); fclose(out); // Close file // Destroy images gdImageDestroy(im); gdImageDestroy(im2); gdImageDestroy(im3); } (end code) */ BGD_DECLARE(void) gdImageGifAnimAdd(gdImagePtr im, FILE *outFile, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm) { gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageGifAnimAddCtx(im, out, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm); out->gd_free(out); } static int comparewithmap(gdImagePtr im1, gdImagePtr im2, int c1, int c2, int *colorMap) { if(!colorMap) { return c1 == c2; } if(-2 != colorMap[c1]) { return colorMap[c1] == c2; } return (colorMap[c1] = gdImageColorExactAlpha(im2, im1->red[c1], im1->green[c1], im1->blue[c1], im1->alpha[c1])) == c2; } /* Function: gdImageGifAnimAddCtx Adds an animation frame via a . See gdImageGifAnimAdd>. Parameters: im - The image to add. out - The output . LocalCM - Flag. If 1, use a local color map for this frame. LeftOfs - Left offset of image in frame. TopOfs - Top offset of image in frame. Delay - Delay before next frame (in 1/100 seconds) Disposal - MODE: How to treat this frame when the next one loads. previm - NULL or a pointer to the previous image written. Returns: Nothing. */ BGD_DECLARE(void) gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtxPtr out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm) { _gdImageGifAnimAddCtx(im, out, LocalCM, LeftOfs, TopOfs, Delay, Disposal, previm); } /* returns 0 on success, 1 on failure */ static int _gdImageGifAnimAddCtx(gdImagePtr im, gdIOCtxPtr out, int LocalCM, int LeftOfs, int TopOfs, int Delay, int Disposal, gdImagePtr previm) { gdImagePtr pim = NULL, tim = im; int interlace, transparent, BitsPerPixel; interlace = im->interlace; transparent = im->transparent; /* Default is no local color map */ if(LocalCM < 0) { LocalCM = 0; } if(im->trueColor) { /* Expensive, but the only way that produces an acceptable result: mix down to a palette based temporary image. */ pim = gdImageCreatePaletteFromTrueColor(im, 1, 256); if (!pim) { return 1; } tim = pim; } if (previm) { /* create optimized animation. Compare this image to the previous image and crop the temporary copy of current image to include only changed rectangular area. Also replace unchanged pixels inside this area with transparent color. Transparent color needs to be already allocated! Preconditions: TopOfs, LeftOfs are assumed 0 Images should be of same size. If not, a temporary copy is made with the same size as previous image. */ gdImagePtr prev_pim = 0, prev_tim = previm; int x, y; int min_x = 0; int min_y = tim->sy; int max_x = 0; int max_y = 0; int colorMap[256]; if (previm->trueColor) { prev_pim = gdImageCreatePaletteFromTrueColor(previm, 1, 256); if (!prev_pim) { goto fail_end; } prev_tim = prev_pim; } for (x = 0; x < 256; ++x) { colorMap[x] = -2; } /* First find bounding box of changed areas. */ /* first find the top changed row */ for (y = 0; y < tim->sy; ++y) { for (x = 0; x < tim->sx; ++x) { if (!comparewithmap(prev_tim, tim, prev_tim->pixels[y][x], tim->pixels[y][x], colorMap)) { min_y = max_y = y; min_x = max_x = x; goto break_top; } } } break_top: if (tim->sy == min_y) { /* No changes in this frame!! Encode empty image. */ transparent = 0; min_x = min_y = 1; max_x = max_y = 0; } else { /* Then the bottom row */ for (y = tim->sy - 1; y > min_y; --y) { for (x = 0; x < tim->sx; ++x) { if (!comparewithmap (prev_tim, tim, prev_tim->pixels[y][x], tim->pixels[y][x], colorMap)) { max_y = y; if(x < min_x) { min_x = x; } if(x > max_x) { max_x = x; } goto break_bot; } } } break_bot: /* left side */ for (x = 0; x < min_x; ++x) { for (y = min_y; y <= max_y; ++y) { if (!comparewithmap (prev_tim, tim, prev_tim->pixels[y][x], tim->pixels[y][x], colorMap)) { min_x = x; goto break_left; } } } break_left: /* right side */ for (x = tim->sx - 1; x > max_x; --x) { for (y = min_y; y <= max_y; ++y) { if (!comparewithmap (prev_tim, tim, prev_tim->pixels[y][x], tim->pixels[y][x], colorMap)) { max_x = x; goto break_right; } } } break_right: ; } LeftOfs = min_x; TopOfs = min_y; Disposal = 1; /* Make a copy of the image with the new offsets. But only if necessary. */ if (min_x != 0 || max_x != tim->sx - 1 || min_y != 0 || max_y != tim->sy - 1 || transparent >= 0) { gdImagePtr pim2 = gdImageCreate(max_x-min_x + 1, max_y-min_y + 1); if (!pim2) { if (prev_pim) { gdImageDestroy(prev_pim); } goto fail_end; } gdImagePaletteCopy(pim2, LocalCM ? tim : prev_tim); gdImageCopy(pim2, tim, 0, 0, min_x, min_y, max_x - min_x + 1, max_y - min_y + 1); if (pim) { gdImageDestroy(pim); } tim = pim = pim2; } /* now let's compare pixels for transparent optimization. But only if transparent is set. */ if (transparent >= 0) { for(y = 0; y < tim->sy; ++y) { for (x = 0; x < tim->sx; ++x) { if(comparewithmap (prev_tim, tim, prev_tim->pixels[min_y + y][min_x + x], tim->pixels[y][x], 0)) { gdImageSetPixel(tim, x, y, transparent); break; } } } } if(prev_pim) { gdImageDestroy(prev_pim); } } BitsPerPixel = colorstobpp(tim->colorsTotal); /* All set, let's do it. */ GIFAnimEncode( out, tim->sx, tim->sy, LeftOfs, TopOfs, interlace, transparent, Delay, Disposal, BitsPerPixel, LocalCM ? tim->red : 0, tim->green, tim->blue, tim); return 0; fail_end: if(pim) { /* Destroy palette based temporary image. */ gdImageDestroy(pim); } return 1; } /* Function: gdImageGifAnimEnd Terminates the GIF file properly. (Previous versions of this function's documentation suggested just manually writing a semicolon (';') instead since that is all this function does. While that has no longer changed, we now suggest that you do not do this and instead always call (or equivalent) since later versions could possibly do more or different things.) Variants: outputs its data via a struct. outputs its data to a memory buffer which it returns. Parameters: outfile - the destination FILE*. Returns: Nothing. */ BGD_DECLARE(void) gdImageGifAnimEnd(FILE *outFile) { #if 1 putc(';', outFile); #else gdIOCtx *out = gdNewFileCtx(outFile); if (out == NULL) return; gdImageGifAnimEndCtx(out); out->gd_free(out); #endif } /* Function: gdImageGifAnimEndPtr Like (which contains more information) except that it stores the data to write into memory and returns a pointer to it. This memory must be freed by the caller when it is no longer needed. **The caller must invoke (), not free(),** unless the caller is absolutely certain that the same implementations of malloc, free, etc. are used both at library build time and at application build time (but don't; it could always change). The 'size' parameter receives the total size of the block of memory. Parameters: size - Output: the size of the resulting buffer. Returns: Pointer to the resulting data or NULL if an error occurred. */ BGD_DECLARE(void *) gdImageGifAnimEndPtr(int *size) { char *rv = (char *) gdMalloc(1); if(!rv) { return 0; } *rv = ';'; *size = 1; return (void *)rv; } /* Function: gdImageGifAnimEndCtx Like , but writes its data via a . Parameters: out - the destination . Returns: Nothing. */ BGD_DECLARE(void) gdImageGifAnimEndCtx(gdIOCtx *out) { /* * Write the GIF file terminator */ gdPutC(';', out); } static int colorstobpp(int colors) { int bpp = 0; if(colors <= 2) bpp = 1; else if(colors <= 4) bpp = 2; else if(colors <= 8) bpp = 3; else if(colors <= 16) bpp = 4; else if(colors <= 32) bpp = 5; else if(colors <= 64) bpp = 6; else if(colors <= 128) bpp = 7; else if(colors <= 256) bpp = 8; return bpp; } /***************************************************************************** * * GIFENCODE.C - GIF Image compression interface * * GIFEncode( FName, GHeight, GWidth, GInterlace, Background, Transparent, * BitsPerPixel, Red, Green, Blue, gdImagePtr ) * *****************************************************************************/ #define TRUE 1 #define FALSE 0 /* Bump the 'curx' and 'cury' to point to the next pixel */ static void BumpPixel(GifCtx *ctx) { /* Bump the current X position */ ++(ctx->curx); /* If we are at the end of a scan line, set curx back to the beginning * If we are interlaced, bump the cury to the appropriate spot, * otherwise, just increment it. */ if(ctx->curx == ctx->Width) { ctx->curx = 0; if(!ctx->Interlace) { ++(ctx->cury); } else { switch(ctx->Pass) { case 0: ctx->cury += 8; if(ctx->cury >= ctx->Height) { ++(ctx->Pass); ctx->cury = 4; } break; case 1: ctx->cury += 8; if(ctx->cury >= ctx->Height) { ++(ctx->Pass); ctx->cury = 2; } break; case 2: ctx->cury += 4; if(ctx->cury >= ctx->Height) { ++(ctx->Pass); ctx->cury = 1; } break; case 3: ctx->cury += 2; break; } } } } /* Return the next pixel from the image */ static int GIFNextPixel(gdImagePtr im, GifCtx *ctx) { int r; if(ctx->CountDown == 0) { return EOF; } --(ctx->CountDown); r = gdImageGetPixel(im, ctx->curx, ctx->cury); BumpPixel(ctx); return r; } /* public */ static void GIFEncode(gdIOCtxPtr fp, int GWidth, int GHeight, int GInterlace, int Background, int Transparent, int BitsPerPixel, int *Red, int *Green, int *Blue, gdImagePtr im) { int B; int RWidth, RHeight; int LeftOfs, TopOfs; int Resolution; int ColorMapSize; int InitCodeSize; int i; GifCtx ctx; memset(&ctx, 0, sizeof(ctx)); ctx.Interlace = GInterlace; ctx.in_count = 1; ColorMapSize = 1 << BitsPerPixel; RWidth = ctx.Width = GWidth; RHeight = ctx.Height = GHeight; LeftOfs = TopOfs = 0; Resolution = BitsPerPixel; /* Calculate number of bits we are expecting */ ctx.CountDown = (long)ctx.Width * (long)ctx.Height; /* Indicate which pass we are on (if interlace) */ ctx.Pass = 0; /* The initial code size */ if(BitsPerPixel <= 1) { InitCodeSize = 2; } else { InitCodeSize = BitsPerPixel; } /* Set up the current x and y position */ ctx.curx = ctx.cury = 0; /* Write the Magic header */ gdPutBuf(Transparent < 0 ? "GIF87a" : "GIF89a", 6, fp); /* Write out the screen width and height */ gifPutWord(RWidth, fp); gifPutWord(RHeight, fp); /* Indicate that there is a global colour map */ /* Yes, there is a color map */ B = 0x80; /* OR in the resolution */ B |= (Resolution - 1) << 4; /* OR in the Bits per Pixel */ B |= (BitsPerPixel - 1); /* Write it out */ gdPutC(B, fp); /* Write out the Background colour */ gdPutC(Background, fp); /* Byte of 0's (future expansion) */ gdPutC(0, fp); /* Write out the Global Colour Map */ for(i = 0; i < ColorMapSize; ++i) { gdPutC(Red[i], fp); gdPutC(Green[i], fp); gdPutC(Blue[i], fp); } /* Write out extension for transparent colour index, if necessary. */ if(Transparent >= 0) { gdPutC('!', fp); gdPutC(0xf9, fp); gdPutC(4, fp); gdPutC(1, fp); gdPutC(0, fp); gdPutC(0, fp); gdPutC((unsigned char) Transparent, fp); gdPutC(0, fp); } /* Write an Image separator */ gdPutC(',', fp); /* Write the Image header */ gifPutWord(LeftOfs, fp); gifPutWord(TopOfs, fp); gifPutWord(ctx.Width, fp); gifPutWord(ctx.Height, fp); /* Write out whether or not the image is interlaced */ if(ctx.Interlace) { gdPutC(0x40, fp); } else { gdPutC(0x00, fp); } /* Write out the initial code size */ gdPutC(InitCodeSize, fp); /* Go and actually compress the data */ compress(InitCodeSize + 1, fp, im, &ctx); /* Write out a Zero-length packet (to end the series) */ gdPutC(0, fp); /* Write the GIF file terminator */ gdPutC(';', fp); } static void GIFAnimEncode(gdIOCtxPtr fp, int IWidth, int IHeight, int LeftOfs, int TopOfs, int GInterlace, int Transparent, int Delay, int Disposal, int BitsPerPixel, int *Red, int *Green, int *Blue, gdImagePtr im) { int B; int ColorMapSize; int InitCodeSize; int i; GifCtx ctx; memset(&ctx, 0, sizeof(ctx)); ctx.Interlace = GInterlace; ctx.in_count = 1; ColorMapSize = 1 << BitsPerPixel; if(LeftOfs < 0) { LeftOfs = 0; } if(TopOfs < 0) { TopOfs = 0; } if(Delay < 0) { Delay = 100; } if(Disposal < 0) { Disposal = 1; } ctx.Width = IWidth; ctx.Height = IHeight; /* Calculate number of bits we are expecting */ ctx.CountDown = (long)ctx.Width * (long)ctx.Height; /* Indicate which pass we are on (if interlace) */ ctx.Pass = 0; /* The initial code size */ if(BitsPerPixel <= 1) { InitCodeSize = 2; } else { InitCodeSize = BitsPerPixel; } /* Set up the current x and y position */ ctx.curx = ctx.cury = 0; /* Write out extension for image animation and looping */ gdPutC('!', fp); gdPutC(0xf9, fp); gdPutC(4, fp); gdPutC((Transparent >= 0 ? 1 : 0) | (Disposal << 2), fp); gdPutC((unsigned char)(Delay & 255), fp); gdPutC((unsigned char)((Delay >> 8) & 255), fp); gdPutC((unsigned char) Transparent, fp); gdPutC(0, fp); /* Write an Image separator */ gdPutC(',', fp); /* Write out the Image header */ gifPutWord(LeftOfs, fp); gifPutWord(TopOfs, fp); gifPutWord(ctx.Width, fp); gifPutWord(ctx.Height, fp); /* Indicate that there is a local colour map */ B = (Red && Green && Blue) ? 0x80 : 0; /* OR in the interlacing */ B |= ctx.Interlace ? 0x40 : 0; /* OR in the Bits per Pixel */ B |= (Red && Green && Blue) ? (BitsPerPixel - 1) : 0; /* Write it out */ gdPutC(B, fp); /* Write out the Local Colour Map */ if(Red && Green && Blue) { for(i = 0; i < ColorMapSize; ++i) { gdPutC(Red[i], fp); gdPutC(Green[i], fp); gdPutC(Blue[i], fp); } } /* Write out the initial code size */ gdPutC(InitCodeSize, fp); /* Go and actually compress the data */ compress(InitCodeSize + 1, fp, im, &ctx); /* Write out a Zero-length packet (to end the series) */ gdPutC(0, fp); } /*************************************************************************** * * GIFCOMPR.C - GIF Image compression routines * * Lempel-Ziv compression based on 'compress'. GIF modifications by * David Rowley (mgardi@watdcsu.waterloo.edu) * ***************************************************************************/ /* General DEFINEs */ #define GIFBITS 12 #ifdef NO_UCHAR typedef char char_type; #else /* NO_UCHAR */ typedef unsigned char char_type; #endif /* NO_UCHAR */ /* * * GIF Image compression - modified 'compress' * * Based on: compress.c - File compression ala IEEE Computer, June 1984. * * By Authors: Spencer W. Thomas (decvax!harpo!utah-cs!utah-gr!thomas) * Jim McKie (decvax!mcvax!jim) * Steve Davies (decvax!vax135!petsd!peora!srd) * Ken Turkowski (decvax!decwrl!turtlevax!ken) * James A. Woods (decvax!ihnp4!ames!jaw) * Joe Orost (decvax!vax135!petsd!joe) * */ #include #define ARGVAL() (*++(*argv) || (--argc && *++argv)) #ifdef COMPATIBLE /* But wrong! */ # define MAXCODE(n_bits) ((code_int) 1 << (n_bits) - 1) #else /* COMPATIBLE */ # define MAXCODE(n_bits) (((code_int) 1 << (n_bits)) - 1) #endif /* COMPATIBLE */ #define HashTabOf(i) ctx->htab[i] #define CodeTabOf(i) ctx->codetab[i] /* * To save much memory, we overlay the table used by compress() with those * used by decompress(). The tab_prefix table is the same size and type * as the codetab. The tab_suffix table needs 2**GIFBITS characters. We * get this from the beginning of htab. The output stack uses the rest * of htab, and contains characters. There is plenty of room for any * possible stack (stack used to be 8000 characters). */ #define tab_prefixof(i) CodeTabOf(i) #define tab_suffixof(i) ((char_type*)(htab))[i] #define de_stack ((char_type*)&tab_suffixof((code_int)1 << GIFBITS)) /* * compress stdin to stdout * * Algorithm: use open addressing double hashing (no chaining) on the * prefix code / next character combination. We do a variant of Knuth's * algorithm D (vol. 3, sec. 6.4) along with G. Knott's relatively-prime * secondary probe. Here, the modular division first probe is gives way * to a faster exclusive-or manipulation. Also do block compression with * an adaptive reset, whereby the code table is cleared when the compression * ratio decreases, but after the table fills. The variable-length output * codes are re-sized at this point, and a special CLEAR code is generated * for the decompressor. Late addition: construct the table according to * file size for noticeable speed improvement on small files. Please direct * questions about this implementation to ames!jaw. */ static void output(code_int code, GifCtx *ctx); static void compress(int init_bits, gdIOCtxPtr outfile, gdImagePtr im, GifCtx *ctx) { register long fcode; register code_int i; register int c; register code_int ent; register code_int disp; register code_int hsize_reg; register int hshift; /* Set up the globals: * g_init_bits - initial number of bits * g_outfile - pointer to output file */ ctx->g_init_bits = init_bits; ctx->g_outfile = outfile; /* Set up the necessary values */ ctx->offset = 0; ctx->out_count = 0; ctx->clear_flg = 0; ctx->in_count = 1; ctx->maxcode = MAXCODE(ctx->n_bits = ctx->g_init_bits); ctx->ClearCode = (1 << (init_bits - 1)); ctx->EOFCode = ctx->ClearCode + 1; ctx->free_ent = ctx->ClearCode + 2; char_init(ctx); ent = GIFNextPixel(im, ctx); hshift = 0; for(fcode = (long)hsize; fcode < 65536L; fcode *= 2L) { ++hshift; } hshift = 8 - hshift; /* set hash code range bound */ hsize_reg = hsize; cl_hash((count_int) hsize_reg, ctx); /* clear hash table */ output((code_int)ctx->ClearCode, ctx); #ifdef SIGNED_COMPARE_SLOW while((c = GIFNextPixel(im, ctx)) != (unsigned) EOF) { #else /* SIGNED_COMPARE_SLOW */ while((c = GIFNextPixel(im, ctx)) != EOF) { #endif /* SIGNED_COMPARE_SLOW */ ++(ctx->in_count); fcode = (long) (((long) c << maxbits) + ent); i = (((code_int)c << hshift) ^ ent); /* xor hashing */ if(HashTabOf(i) == fcode) { ent = CodeTabOf (i); continue; } else if ((long)HashTabOf (i) < 0) {/* empty slot */ goto nomatch; } disp = hsize_reg - i; /* secondary hash (after G. Knott) */ if(i == 0) { disp = 1; } probe: if((i -= disp) < 0) { i += hsize_reg; } if(HashTabOf(i) == fcode) { ent = CodeTabOf (i); continue; } if((long)HashTabOf(i) > 0) { goto probe; } nomatch: output((code_int) ent, ctx); ++(ctx->out_count); ent = c; #ifdef SIGNED_COMPARE_SLOW if((unsigned) ctx->free_ent < (unsigned) maxmaxcode) { #else /*SIGNED_COMPARE_SLOW*/ if (ctx->free_ent < maxmaxcode) { /* } */ #endif /*SIGNED_COMPARE_SLOW*/ CodeTabOf(i) = ctx->free_ent++; /* code -> hashtable */ HashTabOf(i) = fcode; } else { cl_block(ctx); } } /* Put out the final code. */ output((code_int)ent, ctx); ++(ctx->out_count); output((code_int) ctx->EOFCode, ctx); } /***************************************************************** * TAG( output ) * * Output the given code. * Inputs: * code: A n_bits-bit integer. If == -1, then EOF. This assumes * that n_bits =< (long)wordsize - 1. * Outputs: * Outputs code to the file. * Assumptions: * Chars are 8 bits long. * Algorithm: * Maintain a GIFBITS character long buffer (so that 8 codes will * fit in it exactly). Use the VAX insv instruction to insert each * code in turn. When the buffer fills up empty it and start over. */ static const unsigned long masks[] = { 0x0000, 0x0001, 0x0003, 0x0007, 0x000F, 0x001F, 0x003F, 0x007F, 0x00FF, 0x01FF, 0x03FF, 0x07FF, 0x0FFF, 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF }; /* Arbitrary value to mark output is done. When we see EOFCode, then we don't * expect to see any more data. If we do (e.g. corrupt image inputs), cur_bits * might be negative, so flag it to return early. */ #define CUR_BITS_FINISHED -1000 static void output(code_int code, GifCtx *ctx) { if (ctx->cur_bits == CUR_BITS_FINISHED) return; ctx->cur_accum &= masks[ctx->cur_bits]; if(ctx->cur_bits > 0) { ctx->cur_accum |= ((long)code << ctx->cur_bits); } else { ctx->cur_accum = code; } ctx->cur_bits += ctx->n_bits; while(ctx->cur_bits >= 8) { char_out((unsigned int)(ctx->cur_accum & 0xff), ctx); ctx->cur_accum >>= 8; ctx->cur_bits -= 8; } /* * If the next entry is going to be too big for the code size, * then increase it, if possible. */ if(ctx->free_ent > ctx->maxcode || ctx->clear_flg) { if(ctx->clear_flg) { ctx->maxcode = MAXCODE (ctx->n_bits = ctx->g_init_bits); ctx->clear_flg = 0; } else { ++(ctx->n_bits); if(ctx->n_bits == maxbits) { ctx->maxcode = maxmaxcode; } else { ctx->maxcode = MAXCODE(ctx->n_bits); } } } if(code == ctx->EOFCode) { /* At EOF, write the rest of the buffer. */ while(ctx->cur_bits > 0) { char_out((unsigned int)(ctx->cur_accum & 0xff), ctx); ctx->cur_accum >>= 8; ctx->cur_bits -= 8; } /* Flag that it's done to prevent re-entry. */ ctx->cur_bits = CUR_BITS_FINISHED; flush_char(ctx); } } /* * Clear out the hash table */ static void cl_block (GifCtx *ctx) /* table clear for block compress */ { cl_hash((count_int) hsize, ctx); ctx->free_ent = ctx->ClearCode + 2; ctx->clear_flg = 1; output((code_int)ctx->ClearCode, ctx); } static void cl_hash(register count_int chsize, GifCtx *ctx) /* reset code table */ { register count_int *htab_p = ctx->htab+chsize; register long i; register long m1 = -1; i = chsize - 16; do { /* might use Sys V memset(3) here */ *(htab_p - 16) = m1; *(htab_p - 15) = m1; *(htab_p - 14) = m1; *(htab_p - 13) = m1; *(htab_p - 12) = m1; *(htab_p - 11) = m1; *(htab_p - 10) = m1; *(htab_p - 9) = m1; *(htab_p - 8) = m1; *(htab_p - 7) = m1; *(htab_p - 6) = m1; *(htab_p - 5) = m1; *(htab_p - 4) = m1; *(htab_p - 3) = m1; *(htab_p - 2) = m1; *(htab_p - 1) = m1; htab_p -= 16; } while((i -= 16) >= 0); for(i += 16; i > 0; --i) { *--htab_p = m1; } } /****************************************************************************** * * GIF Specific routines * ******************************************************************************/ /* * Set up the 'byte output' routine */ static void char_init(GifCtx *ctx) { ctx->a_count = 0; } /* * Add a character to the end of the current packet, and if it is 254 * characters, flush the packet to disk. */ static void char_out(int c, GifCtx *ctx) { ctx->accum[ctx->a_count++] = c; if(ctx->a_count >= 254) { flush_char(ctx); } } /* * Flush the packet to disk, and reset the accumulator */ static void flush_char(GifCtx *ctx) { if(ctx->a_count > 0) { gdPutC(ctx->a_count, ctx->g_outfile); gdPutBuf(ctx->accum, ctx->a_count, ctx->g_outfile); ctx->a_count = 0; } } static int gifPutWord(int w, gdIOCtx *out) { /* Byte order is little-endian */ gdPutC(w & 0xFF, out); gdPutC((w >> 8) & 0xFF, out); return 0; } libgd-2.3.0/src/gdfonts.c0000664000175000017500000020541713634445460012141 00000000000000/* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -misc-fixed-medium-r-semicondensed-sans-12-116-75-75-c-60-iso8859-2 at Thu Jan 8 14:13:20 1998. No copyright info was found in the original bdf. */ /** * File: Small Font * * A small ISO-8859-2 raster font (7x13 pixels). * * The font is supposed to be used with and * and their variants. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gdfonts.h" char gdFontSmallData[] = { /* Char 0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* Char 1 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, /* Char 255 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; gdFont gdFontSmallRep = { 256, 0, 6, 13, gdFontSmallData }; BGD_EXPORT_DATA_PROT gdFontPtr gdFontSmall = &gdFontSmallRep; /** * Function: gdFontGetSmall * * Returns the built-in small font. */ BGD_DECLARE(gdFontPtr) gdFontGetSmall (void) { return gdFontSmall; } /* This file has not been truncated. */ libgd-2.3.0/src/gd_rotate.c0000664000175000017500000001736413634445460012447 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif /* HAVE_CONFIG_H */ #include "gd.h" #include "gd_intern.h" #include /* * Rotate function Added on 2003/12 * by Pierre-Alain Joye (pierre@php.net) **/ /* Begin rotate function */ #ifdef ROTATE_PI #undef ROTATE_PI #endif /* ROTATE_PI */ typedef int (BGD_STDCALL *FuncPtr)(gdImagePtr, int, int); #define ROTATE_DEG2RAD 3.1415926535897932384626433832795/180 void gdImageSkewX (gdImagePtr dst, gdImagePtr src, int uRow, int iOffset, double dWeight, int clrBack, int ignoretransparent) { int i, r, g, b, a, clrBackR, clrBackG, clrBackB, clrBackA; FuncPtr f; int pxlOldLeft, pxlLeft=0, pxlSrc; /* Keep clrBack as color index if required */ if (src->trueColor) { pxlOldLeft = clrBack; f = gdImageGetTrueColorPixel; } else { pxlOldLeft = clrBack; clrBackR = gdImageRed(src, clrBack); clrBackG = gdImageGreen(src, clrBack); clrBackB = gdImageBlue(src, clrBack); clrBackA = gdImageAlpha(src, clrBack); clrBack = gdTrueColorAlpha(clrBackR, clrBackG, clrBackB, clrBackA); f = gdImageGetPixel; } for (i = 0; i < iOffset; i++) { gdImageSetPixel (dst, i, uRow, clrBack); } if (i < dst->sx) { gdImageSetPixel (dst, i, uRow, clrBack); } for (i = 0; i < src->sx; i++) { pxlSrc = f (src,i,uRow); r = (int)(gdImageRed(src,pxlSrc) * dWeight); g = (int)(gdImageGreen(src,pxlSrc) * dWeight); b = (int)(gdImageBlue(src,pxlSrc) * dWeight); a = (int)(gdImageAlpha(src,pxlSrc) * dWeight); if (r>255) { r = 255; } if (g>255) { g = 255; } if (b>255) { b = 255; } if (a>127) { a = 127; } pxlLeft = gdTrueColorAlpha(r, g, b, a); r = gdImageRed(src,pxlSrc) - (r - gdImageRed(src,pxlOldLeft)); g = gdImageGreen(src,pxlSrc) - (g - gdImageGreen(src,pxlOldLeft)); b = gdImageBlue(src,pxlSrc) - (b - gdImageBlue(src,pxlOldLeft)); a = gdImageAlpha(src,pxlSrc) - (a - gdImageAlpha(src,pxlOldLeft)); if (r>255) { r = 255; } if (g>255) { g = 255; } if (b>255) { b = 255; } if (a>127) { a = 127; } if (ignoretransparent && pxlSrc == dst->transparent) { pxlSrc = dst->transparent; } else { pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); if (pxlSrc == -1) { pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); } } if ((i + iOffset >= 0) && (i + iOffset < dst->sx)) { gdImageSetPixel (dst, i+iOffset, uRow, pxlSrc); } pxlOldLeft = pxlLeft; } i += iOffset; if (i < dst->sx) { gdImageSetPixel (dst, i, uRow, pxlLeft); } gdImageSetPixel (dst, iOffset, uRow, clrBack); i--; while (++i < dst->sx) { gdImageSetPixel (dst, i, uRow, clrBack); } } void gdImageSkewY (gdImagePtr dst, gdImagePtr src, int uCol, int iOffset, double dWeight, int clrBack, int ignoretransparent) { int i, iYPos=0, r, g, b, a; FuncPtr f; int pxlOldLeft, pxlLeft=0, pxlSrc; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } for (i = 0; i<=iOffset; i++) { gdImageSetPixel (dst, uCol, i, clrBack); } r = (int)((double)gdImageRed(src,clrBack) * dWeight); g = (int)((double)gdImageGreen(src,clrBack) * dWeight); b = (int)((double)gdImageBlue(src,clrBack) * dWeight); a = (int)((double)gdImageAlpha(src,clrBack) * dWeight); pxlOldLeft = gdImageColorAllocateAlpha(dst, r, g, b, a); for (i = 0; i < src->sy; i++) { pxlSrc = f (src, uCol, i); iYPos = i + iOffset; r = (int)((double)gdImageRed(src,pxlSrc) * dWeight); g = (int)((double)gdImageGreen(src,pxlSrc) * dWeight); b = (int)((double)gdImageBlue(src,pxlSrc) * dWeight); a = (int)((double)gdImageAlpha(src,pxlSrc) * dWeight); if (r>255) { r = 255; } if (g>255) { g = 255; } if (b>255) { b = 255; } if (a>127) { a = 127; } pxlLeft = gdTrueColorAlpha(r, g, b, a); r = gdImageRed(src,pxlSrc) - (r - gdImageRed(src,pxlOldLeft)); g = gdImageGreen(src,pxlSrc) - (g - gdImageGreen(src,pxlOldLeft)); b = gdImageBlue(src,pxlSrc) - (b - gdImageBlue(src,pxlOldLeft)); a = gdImageAlpha(src,pxlSrc) - (a - gdImageAlpha(src,pxlOldLeft)); if (r>255) { r = 255; } if (g>255) { g = 255; } if (b>255) { b = 255; } if (a>127) { a = 127; } if (ignoretransparent && pxlSrc == dst->transparent) { pxlSrc = dst->transparent; } else { pxlSrc = gdImageColorAllocateAlpha(dst, r, g, b, a); if (pxlSrc == -1) { pxlSrc = gdImageColorClosestAlpha(dst, r, g, b, a); } } if ((iYPos >= 0) && (iYPos < dst->sy)) { gdImageSetPixel (dst, uCol, iYPos, pxlSrc); } pxlOldLeft = pxlLeft; } i = iYPos; if (i < dst->sy) { gdImageSetPixel (dst, uCol, i, pxlLeft); } i--; while (++i < dst->sy) { gdImageSetPixel (dst, uCol, i, clrBack); } } /* Rotates an image by 90 degrees (counter clockwise) */ gdImagePtr gdImageRotate90 (gdImagePtr src, int ignoretransparent) { int uY, uX; int c,r,g,b,a; gdImagePtr dst; FuncPtr f; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } dst = gdImageCreateTrueColor(src->sy, src->sx); if (dst != NULL) { int old_blendmode = dst->alphaBlendingFlag; dst->alphaBlendingFlag = 0; dst->transparent = src->transparent; gdImagePaletteCopy (dst, src); for (uY = 0; uYsy; uY++) { for (uX = 0; uXsx; uX++) { c = f (src, uX, uY); if (!src->trueColor) { r = gdImageRed(src,c); g = gdImageGreen(src,c); b = gdImageBlue(src,c); a = gdImageAlpha(src,c); c = gdTrueColorAlpha(r, g, b, a); } if (ignoretransparent && c == dst->transparent) { gdImageSetPixel(dst, uY, (dst->sy - uX - 1), dst->transparent); } else { gdImageSetPixel(dst, uY, (dst->sy - uX - 1), c); } } } dst->alphaBlendingFlag = old_blendmode; } return dst; } /* Rotates an image by 180 degrees (counter clockwise) */ gdImagePtr gdImageRotate180 (gdImagePtr src, int ignoretransparent) { int uY, uX; int c,r,g,b,a; gdImagePtr dst; FuncPtr f; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } dst = gdImageCreateTrueColor(src->sx, src->sy); if (dst != NULL) { int old_blendmode = dst->alphaBlendingFlag; dst->alphaBlendingFlag = 0; dst->transparent = src->transparent; gdImagePaletteCopy (dst, src); for (uY = 0; uYsy; uY++) { for (uX = 0; uXsx; uX++) { c = f (src, uX, uY); if (!src->trueColor) { r = gdImageRed(src,c); g = gdImageGreen(src,c); b = gdImageBlue(src,c); a = gdImageAlpha(src,c); c = gdTrueColorAlpha(r, g, b, a); } if (ignoretransparent && c == dst->transparent) { gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), dst->transparent); } else { gdImageSetPixel(dst, (dst->sx - uX - 1), (dst->sy - uY - 1), c); } } } dst->alphaBlendingFlag = old_blendmode; } return dst; } /* Rotates an image by 270 degrees (counter clockwise) */ gdImagePtr gdImageRotate270 (gdImagePtr src, int ignoretransparent) { int uY, uX; int c,r,g,b,a; gdImagePtr dst; FuncPtr f; if (src->trueColor) { f = gdImageGetTrueColorPixel; } else { f = gdImageGetPixel; } dst = gdImageCreateTrueColor (src->sy, src->sx); if (dst != NULL) { int old_blendmode = dst->alphaBlendingFlag; dst->alphaBlendingFlag = 0; dst->transparent = src->transparent; gdImagePaletteCopy (dst, src); for (uY = 0; uYsy; uY++) { for (uX = 0; uXsx; uX++) { c = f (src, uX, uY); if (!src->trueColor) { r = gdImageRed(src,c); g = gdImageGreen(src,c); b = gdImageBlue(src,c); a = gdImageAlpha(src,c); c = gdTrueColorAlpha(r, g, b, a); } if (ignoretransparent && c == dst->transparent) { gdImageSetPixel(dst, (dst->sx - uY - 1), uX, dst->transparent); } else { gdImageSetPixel(dst, (dst->sx - uY - 1), uX, c); } } } dst->alphaBlendingFlag = old_blendmode; } return dst; } libgd-2.3.0/src/gd_filter.c0000664000175000017500000006026313635665516012441 00000000000000/** * File: Image Filters */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" #include "gdhelpers.h" #include "gd_intern.h" #ifdef _WIN32 # include #else # include #endif #include #include #include #undef NDEBUG /* Comment out this line to enable asserts. * TODO: This logic really belongs in cmake and configure. */ #define NDEBUG 1 #include typedef int (BGD_STDCALL *FuncPtr)(gdImagePtr, int, int); #define GET_PIXEL_FUNCTION(src)(src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel) #define MIN(a,b) ((a)<(b)?(a):(b)) #define MAX(a,b) ((a)<(b)?(b):(a)) #ifdef _WIN32 # define GD_SCATTER_SEED() (unsigned int)(time(0) * GetCurrentProcessId()) #else # define GD_SCATTER_SEED() (unsigned int)(time(0) * getpid()) #endif /* Function: gdImageScatter */ BGD_DECLARE(int) gdImageScatter(gdImagePtr im, int sub, int plus) { gdScatter s; s.sub = sub; s.plus = plus; s.num_colors = 0; s.seed = GD_SCATTER_SEED(); return gdImageScatterEx(im, &s); } /* Function: gdImageScatterColor */ BGD_DECLARE(int) gdImageScatterColor(gdImagePtr im, int sub, int plus, int colors[], unsigned int num_colors) { gdScatter s; s.sub = sub; s.plus = plus; s.colors = colors; s.num_colors = num_colors; s.seed = GD_SCATTER_SEED(); return gdImageScatterEx(im, &s); } /* Function: gdImageScatterEx */ BGD_DECLARE(int) gdImageScatterEx(gdImagePtr im, gdScatterPtr scatter) { register int x, y; int dest_x, dest_y; int pxl, new_pxl; unsigned int n; int sub = scatter->sub, plus = scatter->plus; if (plus == 0 && sub == 0) { return 1; } else if (sub >= plus) { return 0; } (void)srand(scatter->seed); if (scatter->num_colors) { for (y = 0; y < im->sy; y++) { for (x = 0; x < im->sx; x++) { dest_x = (int) (x + ((rand() % (plus - sub)) + sub)); dest_y = (int) (y + ((rand() % (plus - sub)) + sub)); if (!gdImageBoundsSafe(im, dest_x, dest_y)) { continue; } pxl = gdImageGetPixel(im, x, y); new_pxl = gdImageGetPixel(im, dest_x, dest_y); for (n = 0; n < scatter->num_colors; n++) { if (pxl == scatter->colors[n]) { gdImageSetPixel(im, dest_x, dest_y, pxl); gdImageSetPixel(im, x, y, new_pxl); } } } } } else { for (y = 0; y < im->sy; y++) { for (x = 0; x < im->sx; x++) { dest_x = (int) (x + ((rand() % (plus - sub)) + sub)); dest_y = (int) (y + ((rand() % (plus - sub)) + sub)); if (!gdImageBoundsSafe(im, dest_x, dest_y)) { continue; } pxl = gdImageGetPixel(im, x, y); new_pxl = gdImageGetPixel(im, dest_x, dest_y); gdImageSetPixel(im, dest_x, dest_y, pxl); gdImageSetPixel(im, x, y, new_pxl); } } } return 1; } /* Function: gdImagePixelate */ BGD_DECLARE(int) gdImagePixelate(gdImagePtr im, int block_size, const unsigned int mode) { int x, y; if (block_size <= 0) { return 0; } else if (block_size == 1) { return 1; } switch (mode) { case GD_PIXELATE_UPPERLEFT: for (y = 0; y < im->sy; y += block_size) { for (x = 0; x < im->sx; x += block_size) { if (gdImageBoundsSafe(im, x, y)) { int c = gdImageGetPixel(im, x, y); gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); } } } break; case GD_PIXELATE_AVERAGE: for (y = 0; y < im->sy; y += block_size) { for (x = 0; x < im->sx; x += block_size) { int a, r, g, b, c; int total; int cx, cy; a = r = g = b = c = total = 0; /* sampling */ for (cy = 0; cy < block_size; cy++) { for (cx = 0; cx < block_size; cx++) { if (!gdImageBoundsSafe(im, x + cx, y + cy)) { continue; } c = gdImageGetPixel(im, x + cx, y + cy); a += gdImageAlpha(im, c); r += gdImageRed(im, c); g += gdImageGreen(im, c); b += gdImageBlue(im, c); total++; } } /* drawing */ if (total > 0) { c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); } } } break; default: return 0; } return 1; } /** * Function: gdImageNegate * * Invert an image * * Parameters: * src - The image. * * Returns: * Non-zero on success, zero on failure. */ BGD_DECLARE(int) gdImageNegate(gdImagePtr src) { int x, y; int r,g,b,a; int new_pxl, pxl; FuncPtr f; if (src==NULL) { return 0; } f = GET_PIXEL_FUNCTION(src); for (y=0; ysy; ++y) { for (x=0; xsx; ++x) { pxl = f (src, x, y); r = gdImageRed(src, pxl); g = gdImageGreen(src, pxl); b = gdImageBlue(src, pxl); a = gdImageAlpha(src, pxl); new_pxl = gdImageColorAllocateAlpha(src, 255-r, 255-g, 255-b, a); if (new_pxl == -1) { new_pxl = gdImageColorClosestAlpha(src, 255-r, 255-g, 255-b, a); } gdImageSetPixel (src, x, y, new_pxl); } } return 1; } /** * Function: gdImageGrayScale * * Convert an image to grayscale * * The red, green and blue components of each pixel are replaced by their * weighted sum using the same coefficients as the REC.601 luma (Y') * calculation. The alpha components are retained. * * For palette images the result may differ due to palette limitations. * * Parameters: * src - The image. * * Returns: * Non-zero on success, zero on failure. */ BGD_DECLARE(int) gdImageGrayScale(gdImagePtr src) { int x, y; int r,g,b,a; int new_pxl, pxl; FuncPtr f; int alpha_blending; if (src==NULL) { return 0; } alpha_blending = src->alphaBlendingFlag; gdImageAlphaBlending(src, gdEffectReplace); f = GET_PIXEL_FUNCTION(src); for (y=0; ysy; ++y) { for (x=0; xsx; ++x) { pxl = f (src, x, y); r = gdImageRed(src, pxl); g = gdImageGreen(src, pxl); b = gdImageBlue(src, pxl); a = gdImageAlpha(src, pxl); r = g = b = (int) (.299 * r + .587 * g + .114 * b); new_pxl = gdImageColorAllocateAlpha(src, r, g, b, a); if (new_pxl == -1) { new_pxl = gdImageColorClosestAlpha(src, r, g, b, a); } gdImageSetPixel (src, x, y, new_pxl); } } gdImageAlphaBlending(src, alpha_blending); return 1; } /** * Function: gdImageBrightness * * Change the brightness of an image * * Parameters: * src - The image. * brightness - The value to add to the color channels of all pixels. * * Returns: * Non-zero on success, zero on failure. * * See also: * - * - */ BGD_DECLARE(int) gdImageBrightness(gdImagePtr src, int brightness) { int x, y; int r,g,b,a; int new_pxl, pxl; FuncPtr f; if (src==NULL || (brightness < -255 || brightness > 255)) { return 0; } if (brightness==0) { return 1; } f = GET_PIXEL_FUNCTION(src); for (y=0; ysy; ++y) { for (x=0; xsx; ++x) { pxl = f (src, x, y); r = gdImageRed(src, pxl); g = gdImageGreen(src, pxl); b = gdImageBlue(src, pxl); a = gdImageAlpha(src, pxl); r = r + brightness; g = g + brightness; b = b + brightness; r = (r > 255)? 255 : ((r < 0)? 0:r); g = (g > 255)? 255 : ((g < 0)? 0:g); b = (b > 255)? 255 : ((b < 0)? 0:b); new_pxl = gdImageColorAllocateAlpha(src, (int)r, (int)g, (int)b, a); if (new_pxl == -1) { new_pxl = gdImageColorClosestAlpha(src, (int)r, (int)g, (int)b, a); } gdImageSetPixel (src, x, y, new_pxl); } } return 1; } /** * Function: gdImageContrast * * Change the contrast of an image * * Parameters: * src - The image. * contrast - The contrast adjustment value. Negative values increase, postive * values decrease the contrast. The larger the absolute value, the * stronger the effect. * * Returns: * Non-zero on success, zero on failure. * * See also: * - */ BGD_DECLARE(int) gdImageContrast(gdImagePtr src, double contrast) { int x, y; int r,g,b,a; double rf,gf,bf; int new_pxl, pxl; FuncPtr f; if (src==NULL) { return 0; } f = GET_PIXEL_FUNCTION(src); contrast = (double)(100.0-contrast)/100.0; contrast = contrast*contrast; for (y=0; ysy; ++y) { for (x=0; xsx; ++x) { pxl = f(src, x, y); r = gdImageRed(src, pxl); g = gdImageGreen(src, pxl); b = gdImageBlue(src, pxl); a = gdImageAlpha(src, pxl); rf = (double)r/255.0; rf = rf-0.5; rf = rf*contrast; rf = rf+0.5; rf = rf*255.0; bf = (double)b/255.0; bf = bf-0.5; bf = bf*contrast; bf = bf+0.5; bf = bf*255.0; gf = (double)g/255.0; gf = gf-0.5; gf = gf*contrast; gf = gf+0.5; gf = gf*255.0; rf = (rf > 255.0)? 255.0 : ((rf < 0.0)? 0.0:rf); gf = (gf > 255.0)? 255.0 : ((gf < 0.0)? 0.0:gf); bf = (bf > 255.0)? 255.0 : ((bf < 0.0)? 0.0:bf); new_pxl = gdImageColorAllocateAlpha(src, (int)rf, (int)gf, (int)bf, a); if (new_pxl == -1) { new_pxl = gdImageColorClosestAlpha(src, (int)rf, (int)gf, (int)bf, a); } gdImageSetPixel (src, x, y, new_pxl); } } return 1; } /** * Function: gdImageColor * * Change channel values of an image * * Parameters: * src - The image. * red - The value to add to the red channel of all pixels. * green - The value to add to the green channel of all pixels. * blue - The value to add to the blue channel of all pixels. * alpha - The value to add to the alpha channel of all pixels. * * Returns: * Non-zero on success, zero on failure. * * See also: * - */ BGD_DECLARE(int) gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) { int x, y; int new_pxl, pxl; FuncPtr f; if (src == NULL) { return 0; } f = GET_PIXEL_FUNCTION(src); for (y=0; ysy; ++y) { for (x=0; xsx; ++x) { int r,g,b,a; pxl = f(src, x, y); r = gdImageRed(src, pxl); g = gdImageGreen(src, pxl); b = gdImageBlue(src, pxl); a = gdImageAlpha(src, pxl); r = r + red; g = g + green; b = b + blue; a = a + alpha; r = (r > 255)? 255 : ((r < 0)? 0 : r); g = (g > 255)? 255 : ((g < 0)? 0 : g); b = (b > 255)? 255 : ((b < 0)? 0 : b); a = (a > 127)? 127 : ((a < 0)? 0 : a); new_pxl = gdImageColorAllocateAlpha(src, r, g, b, a); if (new_pxl == -1) { new_pxl = gdImageColorClosestAlpha(src, r, g, b, a); } gdImageSetPixel (src, x, y, new_pxl); } } return 1; } /** * Function: gdImageConvolution * * Apply a convolution matrix to an image * * Depending on the matrix a wide range of effects can be accomplished, e.g. * blurring, sharpening, embossing and edge detection. * * Parameters: * src - The image. * filter - The 3x3 convolution matrix. * filter_div - The value to divide the convoluted channel values by. * offset - The value to add to the convoluted channel values. * * Returns: * Non-zero on success, zero on failure. * * See also: * - * - * - * - * - */ BGD_DECLARE(int) gdImageConvolution(gdImagePtr src, float filter[3][3], float filter_div, float offset) { int x, y, i, j, new_a; float new_r, new_g, new_b; int new_pxl, pxl=0; gdImagePtr srcback; FuncPtr f; if (src==NULL) { return 0; } /* We need the orinal image with each safe neoghb. pixel */ srcback = gdImageCreateTrueColor (src->sx, src->sy); if (srcback==NULL) { return 0; } gdImageSaveAlpha(srcback, 1); new_pxl = gdImageColorAllocateAlpha(srcback, 0, 0, 0, 127); gdImageFill(srcback, 0, 0, new_pxl); gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); f = GET_PIXEL_FUNCTION(src); for ( y=0; ysy; y++) { for(x=0; xsx; x++) { new_r = new_g = new_b = 0; pxl = f(srcback, x, y); new_a = gdImageAlpha(srcback, pxl); for (j=0; j<3; j++) { int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); for (i=0; i<3; i++) { pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv); new_r += (float)gdImageRed(srcback, pxl) * filter[j][i]; new_g += (float)gdImageGreen(srcback, pxl) * filter[j][i]; new_b += (float)gdImageBlue(srcback, pxl) * filter[j][i]; } } new_r = (new_r/filter_div)+offset; new_g = (new_g/filter_div)+offset; new_b = (new_b/filter_div)+offset; new_r = (new_r > 255.0f)? 255.0f : ((new_r < 0.0f)? 0.0f:new_r); new_g = (new_g > 255.0f)? 255.0f : ((new_g < 0.0f)? 0.0f:new_g); new_b = (new_b > 255.0f)? 255.0f : ((new_b < 0.0f)? 0.0f:new_b); new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); if (new_pxl == -1) { new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); } gdImageSetPixel (src, x, y, new_pxl); } } gdImageDestroy(srcback); return 1; } /* Function: gdImageSelectiveBlur */ BGD_DECLARE(int) gdImageSelectiveBlur( gdImagePtr src) { int x, y, i, j; float new_r, new_g, new_b; int new_pxl, cpxl, pxl, new_a=0; float flt_r [3][3]; float flt_g [3][3]; float flt_b [3][3]; float flt_r_sum, flt_g_sum, flt_b_sum; gdImagePtr srcback; FuncPtr f; if (src==NULL) { return 0; } /* We need the orinal image with each safe neoghb. pixel */ srcback = gdImageCreateTrueColor (src->sx, src->sy); if (srcback==NULL) { return 0; } gdImageCopy(srcback, src,0,0,0,0,src->sx,src->sy); f = GET_PIXEL_FUNCTION(src); for(y = 0; ysy; y++) { for (x=0; xsx; x++) { flt_r_sum = flt_g_sum = flt_b_sum = 0.0; cpxl = f(src, x, y); for (j=0; j<3; j++) { for (i=0; i<3; i++) { if ((j == 1) && (i == 1)) { flt_r[1][1] = flt_g[1][1] = flt_b[1][1] = 0.5; } else { pxl = f(src, x-(3>>1)+i, y-(3>>1)+j); new_a = gdImageAlpha(srcback, pxl); new_r = ((float)gdImageRed(srcback, cpxl)) - ((float)gdImageRed (srcback, pxl)); if (new_r < 0.0f) { new_r = -new_r; } if (new_r != 0) { flt_r[j][i] = 1.0f/new_r; } else { flt_r[j][i] = 1.0f; } new_g = ((float)gdImageGreen(srcback, cpxl)) - ((float)gdImageGreen(srcback, pxl)); if (new_g < 0.0f) { new_g = -new_g; } if (new_g != 0) { flt_g[j][i] = 1.0f/new_g; } else { flt_g[j][i] = 1.0f; } new_b = ((float)gdImageBlue(srcback, cpxl)) - ((float)gdImageBlue(srcback, pxl)); if (new_b < 0.0f) { new_b = -new_b; } if (new_b != 0) { flt_b[j][i] = 1.0f/new_b; } else { flt_b[j][i] = 1.0f; } } flt_r_sum += flt_r[j][i]; flt_g_sum += flt_g[j][i]; flt_b_sum += flt_b [j][i]; } } for (j=0; j<3; j++) { for (i=0; i<3; i++) { if (flt_r_sum != 0.0) { flt_r[j][i] /= flt_r_sum; } if (flt_g_sum != 0.0) { flt_g[j][i] /= flt_g_sum; } if (flt_b_sum != 0.0) { flt_b [j][i] /= flt_b_sum; } } } new_r = new_g = new_b = 0.0; for (j=0; j<3; j++) { for (i=0; i<3; i++) { pxl = f(src, x-(3>>1)+i, y-(3>>1)+j); new_r += (float)gdImageRed(srcback, pxl) * flt_r[j][i]; new_g += (float)gdImageGreen(srcback, pxl) * flt_g[j][i]; new_b += (float)gdImageBlue(srcback, pxl) * flt_b[j][i]; } } new_r = (new_r > 255.0f)? 255.0f : ((new_r < 0.0f)? 0.0f:new_r); new_g = (new_g > 255.0f)? 255.0f : ((new_g < 0.0f)? 0.0f:new_g); new_b = (new_b > 255.0f)? 255.0f : ((new_b < 0.0f)? 0.0f:new_b); new_pxl = gdImageColorAllocateAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); if (new_pxl == -1) { new_pxl = gdImageColorClosestAlpha(src, (int)new_r, (int)new_g, (int)new_b, new_a); } gdImageSetPixel (src, x, y, new_pxl); } } gdImageDestroy(srcback); return 1; } /** * Function: gdImageEdgeDetectQuick * * Edge detection of an image * * (see edge_detect_quick.jpg) * * Parameters: * src - The image. * * Returns: * Non-zero on success, zero on failure. * * See also: * - * - */ BGD_DECLARE(int) gdImageEdgeDetectQuick(gdImagePtr src) { float filter[3][3] = {{-1.0,0.0,-1.0}, {0.0,4.0,0.0}, {-1.0,0.0,-1.0}}; return gdImageConvolution(src, filter, 1, 127); } /* Function: gdImageGaussianBlur performs a Gaussian blur of radius 1 on the image. The image is modified in place. *NOTE:* You will almost certain want to use instead, as it allows you to change your kernel size and sigma value. Future versions of this function may fall back to calling it instead of , causing subtle changes so be warned. Parameters: im - The image to blur Returns: GD_TRUE (1) on success, GD_FALSE (0) on failure. */ BGD_DECLARE(int) gdImageGaussianBlur(gdImagePtr im) { float filter[3][3] = { {1.0, 2.0, 1.0}, {2.0, 4.0, 2.0}, {1.0, 2.0, 1.0} }; return gdImageConvolution(im, filter, 16, 0); } /** * Function: gdImageEmboss * * Emboss an image * * (see emboss.jpg) * * Parameters: * im - The image. * * Returns: * Non-zero on success, zero on failure. * * See also: * - */ BGD_DECLARE(int) gdImageEmboss(gdImagePtr im) { /* float filter[3][3] = {{1.0,1.0,1.0}, {0.0,0.0,0.0}, {-1.0,-1.0,-1.0}}; */ float filter[3][3] = {{ 1.5, 0.0, 0.0}, { 0.0, 0.0, 0.0}, { 0.0, 0.0,-1.5}}; return gdImageConvolution(im, filter, 1, 127); } /** * Function: gdImageMeanRemoval * * Mean removal of an image * * (see mean_removal.jpg) * * Parameters: * im - The image. * * Returns: * Non-zero on success, zero on failure. * * See also: * - * - */ BGD_DECLARE(int) gdImageMeanRemoval(gdImagePtr im) { float filter[3][3] = {{-1.0,-1.0,-1.0}, {-1.0,9.0,-1.0}, {-1.0,-1.0,-1.0}}; return gdImageConvolution(im, filter, 1, 0); } /** * Function: gdImageSmooth * * Smooth an image * * (see smooth.jpg) * * Parameters: * im - The image. * weight - The strength of the smoothing. * * Returns: * Non-zero on success, zero on failure. * * See also: * - */ BGD_DECLARE(int) gdImageSmooth(gdImagePtr im, float weight) { float filter[3][3] = {{1.0,1.0,1.0}, {1.0,0.0,1.0}, {1.0,1.0,1.0}}; filter[1][1] = weight; return gdImageConvolution(im, filter, weight+8, 0); } /* ======================== Gaussian Blur Code ======================== */ /* Return an array of coefficients for 'radius' and 'sigma' (sigma >= * 0 means compute it). Result length is 2*radius+1. */ static double * gaussian_coeffs(int radius, double sigmaArg) { const double sigma = (sigmaArg <= 0.0) ? (2.0/3.0)*radius : sigmaArg; const double s = 2.0 * sigma * sigma; double *result; double sum = 0; int x, n, count; count = 2*radius + 1; result = gdMalloc(sizeof(double) * count); if (!result) { return NULL; }/* if */ for (x = -radius; x <= radius; x++) { double coeff = exp(-(x*x)/s); sum += coeff; result[x + radius] = coeff; }/* for */ for (n = 0; n < count; n++) { result[n] /= sum; }/* for */ return result; }/* gaussian_coeffs*/ static inline int reflect(int max, int x) { assert(x > -max && x < 2*max); if(x < 0) return -x; if(x >= max) return max - (x - max) - 1; return x; }/* reflect*/ static inline void applyCoeffsLine(gdImagePtr src, gdImagePtr dst, int line, int linelen, double *coeffs, int radius, gdAxis axis) { int ndx; for (ndx = 0; ndx < linelen; ndx++) { double r = 0, g = 0, b = 0, a = 0; int cndx; int *dest = (axis == HORIZONTAL) ? &dst->tpixels[line][ndx] : &dst->tpixels[ndx][line]; for (cndx = -radius; cndx <= radius; cndx++) { const double coeff = coeffs[cndx + radius]; const int rndx = reflect(linelen, ndx + cndx); const int srcpx = (axis == HORIZONTAL) ? src->tpixels[line][rndx] : src->tpixels[rndx][line]; r += coeff * (double)gdTrueColorGetRed(srcpx); g += coeff * (double)gdTrueColorGetGreen(srcpx); b += coeff * (double)gdTrueColorGetBlue(srcpx); a += coeff * (double)gdTrueColorGetAlpha(srcpx); }/* for */ *dest = gdTrueColorAlpha(uchar_clamp(r, 0xFF), uchar_clamp(g, 0xFF), uchar_clamp(b, 0xFF), uchar_clamp(a, 0x7F)); }/* for */ }/* applyCoeffsLine*/ static void applyCoeffs(gdImagePtr src, gdImagePtr dst, double *coeffs, int radius, gdAxis axis) { int line, numlines, linelen; if (axis == HORIZONTAL) { numlines = src->sy; linelen = src->sx; } else { numlines = src->sx; linelen = src->sy; }/* if .. else*/ for (line = 0; line < numlines; line++) { applyCoeffsLine(src, dst, line, linelen, coeffs, radius, axis); }/* for */ }/* applyCoeffs*/ /* Function: gdImageCopyGaussianBlurred Return a copy of the source image _src_ blurred according to the parameters using the Gaussian Blur algorithm. _radius_ is a radius, not a diameter so a radius of 2 (for example) will blur across a region 5 pixels across (2 to the center, 1 for the center itself and another 2 to the other edge). _sigma_ represents the "fatness" of the curve (lower == fatter). If _sigma_ is less than or equal to 0, ignores it and instead computes an "optimal" value. Be warned that future versions of this function may compute sigma differently. The resulting image is always truecolor. More Details: A Gaussian Blur is generated by replacing each pixel's color values with the average of the surrounding pixels' colors. This region is a circle whose radius is given by argument _radius_. Thus, a larger radius will yield a blurrier image. This average is not a simple mean of the values. Instead, values are weighted using the Gaussian function (roughly a bell curve centered around the destination pixel) giving it much more influence on the result than its neighbours. Thus, a fatter curve will give the center pixel more weight and make the image less blurry; lower _sigma_ values will yield flatter curves. Currently, computes the default sigma as (2/3)*radius Note, however that we reserve the right to change this if we find a better ratio. If you absolutely need the current sigma value, you should set it yourself. Parameters: src - the source image radius - the blur radius (*not* diameter--range is 2*radius + 1) sigma - the sigma value or a value <= 0.0 to use the computed default Returns: The new image or NULL if an error occurred. The result is always truecolor. Example: (start code) FILE *in; gdImagePtr result, src; in = fopen("foo.png", "rb"); src = gdImageCreateFromPng(in); result = gdImageCopyGaussianBlurred(im, src->sx / 10, -1.0); (end code) */ /* TODO: Look into turning this into a generic seperable filter * function with Gaussian Blur being one special case. (At the * moment, I can't find any other useful separable filter so for not, * it's just blur.) */ BGD_DECLARE(gdImagePtr) gdImageCopyGaussianBlurred(gdImagePtr src, int radius, double sigma) { gdImagePtr tmp = NULL, result = NULL; double *coeffs; int freeSrc = 0; if (radius < 1) { return NULL; }/* if */ /* Compute the coefficients. */ coeffs = gaussian_coeffs(radius, sigma); if (!coeffs) { return NULL; }/* if */ /* If the image is not truecolor, we first make a truecolor * scratch copy. */ if (!src->trueColor) { int tcstat; src = gdImageClone(src); if (!src) { gdFree(coeffs); return NULL; } tcstat = gdImagePaletteToTrueColor(src); if (!tcstat) { gdImageDestroy(src); gdFree(coeffs); return NULL; }/* if */ freeSrc = 1; }/* if */ /* Apply the filter horizontally. */ tmp = gdImageCreateTrueColor(src->sx, src->sy); if (!tmp) { gdFree(coeffs); return NULL; } applyCoeffs(src, tmp, coeffs, radius, HORIZONTAL); /* Apply the filter vertically. */ result = gdImageCreateTrueColor(src->sx, src->sy); if (result) { applyCoeffs(tmp, result, coeffs, radius, VERTICAL); }/* if */ gdImageDestroy(tmp); gdFree(coeffs); if (freeSrc) gdImageDestroy(src); return result; }/* gdImageCopyGaussianBlurred*/ libgd-2.3.0/src/entities.h0000664000175000017500000001150213634445460012314 00000000000000/* * Generated file - do not edit directly. * * This file was generated from: * http://www.w3.org/TR/REC-html40/sgml/entities.html * by means of the script: * entities.tcl */ #ifdef __cplusplus extern "C" { #endif static struct entities_s { char *name; int value; } entities[] = { {"AElig", 198}, {"Aacute", 193}, {"Acirc", 194}, {"Agrave", 192}, {"Alpha", 913}, {"Aring", 197}, {"Atilde", 195}, {"Auml", 196}, {"Beta", 914}, {"Ccedil", 199}, {"Chi", 935}, {"Dagger", 8225}, {"Delta", 916}, {"ETH", 208}, {"Eacute", 201}, {"Ecirc", 202}, {"Egrave", 200}, {"Epsilon", 917}, {"Eta", 919}, {"Euml", 203}, {"Gamma", 915}, {"Iacute", 205}, {"Icirc", 206}, {"Igrave", 204}, {"Iota", 921}, {"Iuml", 207}, {"Kappa", 922}, {"Lambda", 923}, {"Mu", 924}, {"Ntilde", 209}, {"Nu", 925}, {"OElig", 338}, {"Oacute", 211}, {"Ocirc", 212}, {"Ograve", 210}, {"Omega", 937}, {"Omicron", 927}, {"Oslash", 216}, {"Otilde", 213}, {"Ouml", 214}, {"Phi", 934}, {"Pi", 928}, {"Prime", 8243}, {"Psi", 936}, {"Rho", 929}, {"Scaron", 352}, {"Sigma", 931}, {"THORN", 222}, {"Tau", 932}, {"Theta", 920}, {"Uacute", 218}, {"Ucirc", 219}, {"Ugrave", 217}, {"Upsilon", 933}, {"Uuml", 220}, {"Xi", 926}, {"Yacute", 221}, {"Yuml", 376}, {"Zeta", 918}, {"aacute", 225}, {"acirc", 226}, {"acute", 180}, {"aelig", 230}, {"agrave", 224}, {"alefsym", 8501}, {"alpha", 945}, {"amp", 38}, {"and", 8743}, {"ang", 8736}, {"aring", 229}, {"asymp", 8776}, {"atilde", 227}, {"auml", 228}, {"bdquo", 8222}, {"beta", 946}, {"brvbar", 166}, {"bull", 8226}, {"cap", 8745}, {"ccedil", 231}, {"cedil", 184}, {"cent", 162}, {"chi", 967}, {"circ", 710}, {"clubs", 9827}, {"cong", 8773}, {"copy", 169}, {"crarr", 8629}, {"cup", 8746}, {"curren", 164}, {"dArr", 8659}, {"dagger", 8224}, {"darr", 8595}, {"deg", 176}, {"delta", 948}, {"diams", 9830}, {"divide", 247}, {"eacute", 233}, {"ecirc", 234}, {"egrave", 232}, {"empty", 8709}, {"emsp", 8195}, {"ensp", 8194}, {"epsilon", 949}, {"equiv", 8801}, {"eta", 951}, {"eth", 240}, {"euml", 235}, {"euro", 8364}, {"exist", 8707}, {"fnof", 402}, {"forall", 8704}, {"frac12", 189}, {"frac14", 188}, {"frac34", 190}, {"frasl", 8260}, {"gamma", 947}, {"ge", 8805}, {"gt", 62}, {"hArr", 8660}, {"harr", 8596}, {"hearts", 9829}, {"hellip", 8230}, {"iacute", 237}, {"icirc", 238}, {"iexcl", 161}, {"igrave", 236}, {"image", 8465}, {"infin", 8734}, {"int", 8747}, {"iota", 953}, {"iquest", 191}, {"isin", 8712}, {"iuml", 239}, {"kappa", 954}, {"lArr", 8656}, {"lambda", 955}, {"lang", 9001}, {"laquo", 171}, {"larr", 8592}, {"lceil", 8968}, {"ldquo", 8220}, {"le", 8804}, {"lfloor", 8970}, {"lowast", 8727}, {"loz", 9674}, {"lrm", 8206}, {"lsaquo", 8249}, {"lsquo", 8216}, {"lt", 60}, {"macr", 175}, {"mdash", 8212}, {"micro", 181}, {"middot", 183}, {"minus", 8722}, {"mu", 956}, {"nabla", 8711}, {"nbsp", 160}, {"ndash", 8211}, {"ne", 8800}, {"ni", 8715}, {"not", 172}, {"notin", 8713}, {"nsub", 8836}, {"ntilde", 241}, {"nu", 957}, {"oacute", 243}, {"ocirc", 244}, {"oelig", 339}, {"ograve", 242}, {"oline", 8254}, {"omega", 969}, {"omicron", 959}, {"oplus", 8853}, {"or", 8744}, {"ordf", 170}, {"ordm", 186}, {"oslash", 248}, {"otilde", 245}, {"otimes", 8855}, {"ouml", 246}, {"para", 182}, {"part", 8706}, {"permil", 8240}, {"perp", 8869}, {"phi", 966}, {"pi", 960}, {"piv", 982}, {"plusmn", 177}, {"pound", 163}, {"prime", 8242}, {"prod", 8719}, {"prop", 8733}, {"psi", 968}, {"quot", 34}, {"rArr", 8658}, {"radic", 8730}, {"rang", 9002}, {"raquo", 187}, {"rarr", 8594}, {"rceil", 8969}, {"rdquo", 8221}, {"real", 8476}, {"reg", 174}, {"rfloor", 8971}, {"rho", 961}, {"rlm", 8207}, {"rsaquo", 8250}, {"rsquo", 8217}, {"sbquo", 8218}, {"scaron", 353}, {"sdot", 8901}, {"sect", 167}, {"shy", 173}, {"sigma", 963}, {"sigmaf", 962}, {"sim", 8764}, {"spades", 9824}, {"sub", 8834}, {"sube", 8838}, {"sum", 8721}, {"sup", 8835}, {"sup1", 185}, {"sup2", 178}, {"sup3", 179}, {"supe", 8839}, {"szlig", 223}, {"tau", 964}, {"there4", 8756}, {"theta", 952}, {"thetasym", 977}, {"thinsp", 8201}, {"thorn", 254}, {"tilde", 732}, {"times", 215}, {"trade", 8482}, {"uArr", 8657}, {"uacute", 250}, {"uarr", 8593}, {"ucirc", 251}, {"ugrave", 249}, {"uml", 168}, {"upsih", 978}, {"upsilon", 965}, {"uuml", 252}, {"weierp", 8472}, {"xi", 958}, {"yacute", 253}, {"yen", 165}, {"yuml", 255}, {"zeta", 950}, {"zwj", 8205}, {"zwnj", 8204}, }; #define ENTITY_NAME_LENGTH_MAX 8 #define NR_OF_ENTITIES 252 #ifdef __cplusplus } #endif libgd-2.3.0/src/gd_png.c0000664000175000017500000010022713635665516011733 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "gd.h" #include "gd_errors.h" /* JCE: Arrange HAVE_LIBPNG so that it can be set in gd.h */ #ifdef HAVE_LIBPNG #include "gdhelpers.h" #include "png.h" /* includes zlib.h and setjmp.h */ #define TRUE 1 #define FALSE 0 /*--------------------------------------------------------------------------- gd_png.c Copyright 1999 Greg Roelofs and Thomas Boutell The routines in this file, gdImagePng*() and gdImageCreateFromPng*(), are drop-in replacements for gdImageGif*() and gdImageCreateFromGif*(), except that these functions are noisier in the case of errors (comment out all fprintf() statements to disable that). GD 2.0 supports RGBA truecolor and will read and write truecolor PNGs. GD 2.0 supports 8 bits of color resolution per channel and 7 bits of alpha channel resolution. Images with more than 8 bits per channel are reduced to 8 bits. Images with an alpha channel are only able to resolve down to '1/128th opaque' instead of '1/256th', and this conversion is also automatic. I very much doubt you can see it. Both tRNS and true alpha are supported. Gamma is ignored, and there is no support for text annotations. Last updated: 9 February 2001 ---------------------------------------------------------------------------*/ /** * File: PNG IO * * Read and write PNG images. */ #ifdef PNG_SETJMP_SUPPORTED typedef struct _jmpbuf_wrapper { jmp_buf jmpbuf; } jmpbuf_wrapper; static void gdPngErrorHandler (png_structp png_ptr, png_const_charp msg) { jmpbuf_wrapper *jmpbuf_ptr; /* This function, aside from the extra step of retrieving the "error * pointer" (below) and the fact that it exists within the application * rather than within libpng, is essentially identical to libpng's * default error handler. The second point is critical: since both * setjmp() and longjmp() are called from the same code, they are * guaranteed to have compatible notions of how big a jmp_buf is, * regardless of whether _BSD_SOURCE or anything else has (or has not) * been defined. */ gd_error_ex(GD_WARNING, "gd-png: fatal libpng error: %s\n", msg); jmpbuf_ptr = png_get_error_ptr (png_ptr); if (jmpbuf_ptr == NULL) { /* we are completely hosed now */ gd_error_ex(GD_ERROR, "gd-png: EXTREMELY fatal error: jmpbuf unrecoverable; terminating.\n"); exit (99); } longjmp (jmpbuf_ptr->jmpbuf, 1); } #endif static void gdPngReadData (png_structp png_ptr, png_bytep data, png_size_t length) { int check; check = gdGetBuf (data, length, (gdIOCtx *) png_get_io_ptr (png_ptr)); if (check != (int)length) { png_error(png_ptr, "Read Error: truncated data"); } } static void gdPngWriteData (png_structp png_ptr, png_bytep data, png_size_t length) { gdPutBuf (data, length, (gdIOCtx *) png_get_io_ptr (png_ptr)); } static void gdPngFlushData (png_structp png_ptr) { (void)png_ptr; } /* Function: gdImageCreateFromPng is called to load images from PNG format files. Invoke with an already opened pointer to a FILE containing the desired image. returns a to the new image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a PNG image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using gdImageDestroy(). If the PNG image being loaded is a truecolor image, the resulting gdImagePtr will refer to a truecolor image. If the PNG image being loaded is a palette or grayscale image, the resulting gdImagePtr will refer to a palette image. gd retains only 8 bits of resolution for each of the red, green and blue channels, and only 7 bits of resolution for the alpha channel. The former restriction affects only a handful of very rare 48-bit color and 16-bit grayscale PNG images. The second restriction affects all semitransparent PNG images, but the difference is essentially invisible to the eye. 7 bits of alpha channel resolution is, in practice, quite a lot. Variants: creates an image from PNG data (i.e. the contents of a PNG file) already in memory. reads in an image using the functions in a struct. is similar to but uses the old interface. It is *obsolete*. Parameters: infile - The input FILE pointer. Returns: A pointer to the new image or NULL if an error occurred. Example: (start code) gdImagePtr im; ... inside a function ... FILE *in; in = fopen("mypng.png", "rb"); im = gdImageCreateFromPng(in); fclose(in); // ... Use the image ... gdImageDestroy(im); (end code) */ BGD_DECLARE(gdImagePtr) gdImageCreateFromPng (FILE * inFile) { gdImagePtr im; gdIOCtx *in = gdNewFileCtx (inFile); if (in == NULL) return NULL; im = gdImageCreateFromPngCtx (in); in->gd_free (in); return im; } /* Function: gdImageCreateFromPngPtr See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromPngPtr (int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx (size, data, 0); if(!in) return 0; im = gdImageCreateFromPngCtx (in); in->gd_free (in); return im; } /* This routine is based in part on the Chapter 13 demo code in * "PNG: The Definitive Guide" (http://www.libpng.org/pub/png/book/). */ /* Function: gdImageCreateFromPngCtx See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromPngCtx (gdIOCtx * infile) { png_byte sig[8]; #ifdef PNG_SETJMP_SUPPORTED jmpbuf_wrapper jbw; #endif png_structp png_ptr; png_infop info_ptr; png_uint_32 width, height, rowbytes, w, h, res_x, res_y; int bit_depth, color_type, interlace_type, unit_type; int num_palette = 0, num_trans; png_colorp palette; png_color_16p trans_gray_rgb; png_color_16p trans_color_rgb; png_bytep trans; png_bytep image_data = NULL; png_bytepp row_pointers = NULL; gdImagePtr im = NULL; int i, j, *open = NULL; volatile int transparent = -1; volatile int palette_allocated = FALSE; /* Make sure the signature can't match by dumb luck -- TBB */ /* GRR: isn't sizeof(infile) equal to the size of the pointer? */ memset (sig, 0, sizeof (sig)); /* first do a quick check that the file really is a PNG image; could * have used slightly more general png_sig_cmp() function instead */ if (gdGetBuf (sig, 8, infile) < 8) { return NULL; } if (png_sig_cmp(sig, 0, 8) != 0) { /* bad signature */ return NULL; /* bad signature */ } #ifdef PNG_SETJMP_SUPPORTED png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, &jbw, gdPngErrorHandler, NULL); #else png_ptr = png_create_read_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); #endif if (png_ptr == NULL) { gd_error("gd-png error: cannot allocate libpng main struct\n"); return NULL; } info_ptr = png_create_info_struct (png_ptr); if (info_ptr == NULL) { gd_error("gd-png error: cannot allocate libpng info struct\n"); png_destroy_read_struct (&png_ptr, NULL, NULL); return NULL; } /* we could create a second info struct here (end_info), but it's only * useful if we want to keep pre- and post-IDAT chunk info separated * (mainly for PNG-aware image editors and converters) */ /* setjmp() must be called in every non-callback function that calls a * PNG-reading libpng function. We must reset it everytime we get a * new allocation that we save in a stack variable. */ #ifdef PNG_SETJMP_SUPPORTED if (setjmp(jbw.jmpbuf)) { gd_error("gd-png error: setjmp returns error condition 1\n"); png_destroy_read_struct (&png_ptr, &info_ptr, NULL); return NULL; } #endif png_set_sig_bytes (png_ptr, 8); /* we already read the 8 signature bytes */ png_set_read_fn (png_ptr, (void *) infile, gdPngReadData); png_read_info (png_ptr, info_ptr); /* read all PNG info up to image data */ png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, &interlace_type, NULL, NULL); if ((color_type == PNG_COLOR_TYPE_RGB) || (color_type == PNG_COLOR_TYPE_RGB_ALPHA) || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) { im = gdImageCreateTrueColor ((int) width, (int) height); } else { im = gdImageCreate ((int) width, (int) height); } if (im == NULL) { gd_error("gd-png error: cannot allocate gdImage struct\n"); goto error; } if (bit_depth == 16) { png_set_strip_16 (png_ptr); } else if (bit_depth < 8) { png_set_packing (png_ptr); /* expand to 1 byte per pixel */ } /* setjmp() must be called in every non-callback function that calls a * PNG-reading libpng function. We must reset it everytime we get a * new allocation that we save in a stack variable. */ #ifdef PNG_SETJMP_SUPPORTED if (setjmp(jbw.jmpbuf)) { gd_error("gd-png error: setjmp returns error condition 2\n"); goto error; } #endif #ifdef PNG_pHYs_SUPPORTED /* check if the resolution is specified */ if (png_get_valid(png_ptr, info_ptr, PNG_INFO_pHYs)) { if (png_get_pHYs(png_ptr, info_ptr, &res_x, &res_y, &unit_type)) { switch (unit_type) { case PNG_RESOLUTION_METER: im->res_x = DPM2DPI(res_x); im->res_y = DPM2DPI(res_y); break; } } } #endif switch (color_type) { case PNG_COLOR_TYPE_PALETTE: png_get_PLTE (png_ptr, info_ptr, &palette, &num_palette); #ifdef DEBUG gd_error("gd-png color_type is palette, colors: %d\n", num_palette); #endif /* DEBUG */ if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS)) { /* gd 2.0: we support this rather thoroughly now. Grab the * first fully transparent entry, if any, as the value of * the simple-transparency index, mostly for backwards * binary compatibility. The alpha channel is where it's * really at these days. */ int firstZero = 1; png_get_tRNS (png_ptr, info_ptr, &trans, &num_trans, NULL); for (i = 0; i < num_trans; ++i) { im->alpha[i] = gdAlphaMax - (trans[i] >> 1); if ((trans[i] == 0) && (firstZero)) { /* 2.0.5: long-forgotten patch from Wez Furlong */ transparent = i; firstZero = 0; } } } break; case PNG_COLOR_TYPE_GRAY: /* create a fake palette and check for single-shade transparency */ if ((palette = (png_colorp) gdMalloc (256 * sizeof (png_color))) == NULL) { gd_error("gd-png error: cannot allocate gray palette\n"); goto error; } palette_allocated = TRUE; if (bit_depth < 8) { num_palette = 1 << bit_depth; for (i = 0; i < 256; ++i) { j = (255 * i) / (num_palette - 1); palette[i].red = palette[i].green = palette[i].blue = j; } } else { num_palette = 256; for (i = 0; i < 256; ++i) { palette[i].red = palette[i].green = palette[i].blue = i; } } if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS)) { png_get_tRNS (png_ptr, info_ptr, NULL, NULL, &trans_gray_rgb); if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ transparent = trans_gray_rgb->gray >> 8; } else { transparent = trans_gray_rgb->gray; } /* Note slight error in 16-bit case: up to 256 16-bit shades * may get mapped to a single 8-bit shade, and only one of them * is supposed to be transparent. IOW, both opaque pixels and * transparent pixels will be mapped into the transparent entry. * There is no particularly good way around this in the case * that all 256 8-bit shades are used, but one could write some * custom 16-bit code to handle the case where there are gdFree * palette entries. This error will be extremely rare in * general, though. (Quite possibly there is only one such * image in existence.) */ } break; case PNG_COLOR_TYPE_GRAY_ALPHA: png_set_gray_to_rgb(png_ptr); case PNG_COLOR_TYPE_RGB: case PNG_COLOR_TYPE_RGB_ALPHA: /* gd 2.0: we now support truecolor. See the comment above for a rare situation in which the transparent pixel may not work properly with 16-bit channels. */ if (png_get_valid (png_ptr, info_ptr, PNG_INFO_tRNS)) { png_get_tRNS (png_ptr, info_ptr, NULL, NULL, &trans_color_rgb); if (bit_depth == 16) { /* png_set_strip_16() not yet in effect */ transparent = gdTrueColor (trans_color_rgb->red >> 8, trans_color_rgb->green >> 8, trans_color_rgb->blue >> 8); } else { transparent = gdTrueColor (trans_color_rgb->red, trans_color_rgb->green, trans_color_rgb->blue); } } break; default: gd_error("gd-png color_type is unknown: %d\n", color_type); goto error; } png_read_update_info (png_ptr, info_ptr); /* allocate space for the PNG image data */ rowbytes = png_get_rowbytes (png_ptr, info_ptr); if (overflow2(rowbytes, height)) goto error; image_data = (png_bytep) gdMalloc (rowbytes * height); if (!image_data) { gd_error("gd-png error: cannot allocate image data\n"); goto error; } if (overflow2(height, sizeof (png_bytep))) goto error; row_pointers = (png_bytepp) gdMalloc (height * sizeof (png_bytep)); if (!row_pointers) { gd_error("gd-png error: cannot allocate row pointers\n"); goto error; } /* setjmp() must be called in every non-callback function that calls a * PNG-reading libpng function. We must reset it everytime we get a * new allocation that we save in a stack variable. */ #ifdef PNG_SETJMP_SUPPORTED if (setjmp(jbw.jmpbuf)) { gd_error("gd-png error: setjmp returns error condition 3\n"); goto error; } #endif /* set the individual row_pointers to point at the correct offsets */ for (h = 0; h < height; ++h) { row_pointers[h] = image_data + h * rowbytes; } png_read_image (png_ptr, row_pointers); /* read whole image... */ png_read_end (png_ptr, NULL); /* ...done! */ if (!im->trueColor) { im->colorsTotal = num_palette; /* load the palette and mark all entries "open" (unused) for now */ open = im->open; for (i = 0; i < num_palette; ++i) { im->red[i] = palette[i].red; im->green[i] = palette[i].green; im->blue[i] = palette[i].blue; open[i] = 1; } for (i = num_palette; i < gdMaxColors; ++i) { open[i] = 1; } } /* 2.0.12: Slaven Rezic: palette images are not the only images with a simple transparent color setting */ im->transparent = transparent; im->interlace = (interlace_type == PNG_INTERLACE_ADAM7); /* can't nuke structs until done with palette */ png_destroy_read_struct (&png_ptr, &info_ptr, NULL); switch (color_type) { case PNG_COLOR_TYPE_RGB: for (h = 0; h < height; h++) { int boffset = 0; for (w = 0; w < width; w++) { register png_byte r = row_pointers[h][boffset++]; register png_byte g = row_pointers[h][boffset++]; register png_byte b = row_pointers[h][boffset++]; im->tpixels[h][w] = gdTrueColor (r, g, b); } } break; case PNG_COLOR_TYPE_GRAY_ALPHA: case PNG_COLOR_TYPE_RGB_ALPHA: for (h = 0; h < height; h++) { int boffset = 0; for (w = 0; w < width; w++) { register png_byte r = row_pointers[h][boffset++]; register png_byte g = row_pointers[h][boffset++]; register png_byte b = row_pointers[h][boffset++]; /* gd has only 7 bits of alpha channel resolution, and * 127 is transparent, 0 opaque. A moment of convenience, * a lifetime of compatibility. */ register png_byte a = gdAlphaMax - (row_pointers[h][boffset++] >> 1); im->tpixels[h][w] = gdTrueColorAlpha(r, g, b, a); } } break; default: if (!im->trueColor) { /* Palette image, or something coerced to be one */ for (h = 0; h < height; ++h) { for (w = 0; w < width; ++w) { register png_byte idx = row_pointers[h][w]; im->pixels[h][w] = idx; open[idx] = 0; } } } } #ifdef DEBUG if (!im->trueColor) { for (i = num_palette; i < gdMaxColors; ++i) { if (!open[i]) { fprintf (stderr, "gd-png warning: image data references out-of-range" " color index (%d)\n", i); } } } #endif done: if (palette_allocated) { gdFree (palette); } if (image_data) gdFree(image_data); if (row_pointers) gdFree(row_pointers); return im; error: png_destroy_read_struct(&png_ptr, &info_ptr, NULL); if (im) { gdImageDestroy(im); im = NULL; } goto done; } /* Function: gdImagePngEx outputs the specified image to the specified file in PNG format. The file must be open for writing. Under MSDOS and all versions of Windows, it is important to use "wb" as opposed to simply "w" as the mode when opening the file, and under Unix there is no penalty for doing so. does not close the file; your code must do so. In addition, allows the level of compression to be specified. A compression level of 0 means "no compression." A compression level of 1 means "compressed, but as quickly as possible." A compression level of 9 means "compressed as much as possible to produce the smallest possible file." A compression level of -1 will use the default compression level at the time zlib was compiled on your system. Variants: is equivalent to calling with compression of -1. and write via a instead of a file handle. and store the image file to memory. Parameters: im - the image to write outFile - the output FILE* object. level - compression level: 0 -> none, 1-9 -> level, -1 -> default Returns: Nothing. Example: (start code) gdImagePtr im; int black, white; FILE *out; im = gdImageCreate(100, 100); // Create the image white = gdImageColorAllocate(im, 255, 255, 255); // Alloc background black = gdImageColorAllocate(im, 0, 0, 0); // Allocate drawing color gdImageRectangle(im, 0, 0, 99, 99, black); // Draw rectangle out = fopen("rect.png", "wb"); // Open output file (binary) gdImagePngEx(im, out, 9); // Write PNG, max compression fclose(out); // Close file gdImageDestroy(im); // Destroy image (end code) */ BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * outFile, int level) { gdIOCtx *out = gdNewFileCtx (outFile); if (out == NULL) return; gdImagePngCtxEx (im, out, level); out->gd_free (out); } /* Function: gdImagePng Equivalent to calling with compression of -1. Parameters: im - the image to save. outFile - the output FILE*. Returns: Nothing. */ BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * outFile) { gdIOCtx *out = gdNewFileCtx (outFile); if (out == NULL) return; gdImagePngCtxEx (im, out, -1); out->gd_free (out); } static int _gdImagePngCtxEx(gdImagePtr im, gdIOCtx * outfile, int level); /* Function: gdImagePngPtr Equivalent to calling with compression of -1. See for more information. Parameters: im - the image to save. size - Output: size in bytes of the result. Returns: A pointer to memory containing the image data or NULL on error. */ BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int *size) { void *rv; gdIOCtx *out = gdNewDynamicCtx (2048, NULL); if (out == NULL) return NULL; if (!_gdImagePngCtxEx (im, out, -1)) { rv = gdDPExtractData (out, size); } else { rv = NULL; } out->gd_free (out); return rv; } /* Function: gdImagePngPtrEx Identical to except that it returns a pointer to a memory area with the PNG data. This memory must be freed by the caller when it is no longer needed. **The caller must invoke gdFree(), not free()** The 'size' parameter receives the total size of the block of memory. See for more information. Parameters: im - the image to save. size - Output: size in bytes of the result. level - compression level: 0 -> none, 1-9 -> level, -1 -> default Returns: A pointer to memory containing the image data or NULL on error. */ BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, int *size, int level) { void *rv; gdIOCtx *out = gdNewDynamicCtx (2048, NULL); if (out == NULL) return NULL; if (!_gdImagePngCtxEx (im, out, level)) { rv = gdDPExtractData (out, size); } else { rv = NULL; } out->gd_free (out); return rv; } /* Function: gdImagePngCtx Equivalent to calling with compression of -1. See for more information. Parameters: im - the image to save. outfile - the to write to. Returns: Nothing. */ BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * outfile) { /* 2.0.13: 'return' here was an error, thanks to Kevin Smith */ gdImagePngCtxEx (im, outfile, -1); } /* Function: gdImagePngCtxEx Outputs the given image as PNG data, but using a instead of a file. See . Parameters: im - the image to save. outfile - the to write to. level - compression level: 0 -> none, 1-9 -> level, -1 -> default Returns: Nothing. */ BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * outfile, int level) { _gdImagePngCtxEx(im, outfile, level); } /* This routine is based in part on code from Dale Lutz (Safe Software Inc.) * and in part on demo code from Chapter 15 of "PNG: The Definitive Guide" * (http://www.libpng.org/pub/png/book/). */ /* returns 0 on success, 1 on failure */ static int _gdImagePngCtxEx(gdImagePtr im, gdIOCtx * outfile, int level) { int i, j, bit_depth = 0, interlace_type; int width = im->sx; int height = im->sy; int colors = im->colorsTotal; int *open = im->open; int mapping[gdMaxColors]; /* mapping[gd_index] == png_index */ png_byte trans_values[256]; png_color_16 trans_rgb_value; png_color palette[gdMaxColors]; png_structp png_ptr; png_infop info_ptr; png_bytep *row_pointers = NULL; volatile int transparent = im->transparent; volatile int remap = FALSE; #ifdef PNG_SETJMP_SUPPORTED jmpbuf_wrapper jbw; #endif int ret = 0; /* width or height of value 0 is invalid in IHDR; see http://www.w3.org/TR/PNG-Chunks.html */ if (width == 0 || height ==0) return 1; #ifdef PNG_SETJMP_SUPPORTED png_ptr = png_create_write_struct (PNG_LIBPNG_VER_STRING, &jbw, gdPngErrorHandler, NULL); #else png_ptr = png_create_write_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); #endif if (png_ptr == NULL) { gd_error("gd-png error: cannot allocate libpng main struct\n"); return 1; } info_ptr = png_create_info_struct (png_ptr); if (info_ptr == NULL) { gd_error("gd-png error: cannot allocate libpng info struct\n"); png_destroy_write_struct (&png_ptr, (png_infopp) NULL); return 1; } #ifdef PNG_SETJMP_SUPPORTED if (setjmp(jbw.jmpbuf)) { gd_error("gd-png error: setjmp returns error condition\n"); png_destroy_write_struct (&png_ptr, &info_ptr); if (row_pointers) { for (i = 0; i < height; ++i) gdFree(row_pointers[i]); gdFree(row_pointers); } return 1; } #endif png_set_write_fn (png_ptr, (void *) outfile, gdPngWriteData, gdPngFlushData); /* This is best for palette images, and libpng defaults to it for palette images anyway, so we don't need to do it explicitly. What to ideally do for truecolor images depends, alas, on the image. gd is intentionally imperfect and doesn't spend a lot of time fussing with such things. */ /* Faster if this is uncommented, but may produce larger truecolor files. Wait for gdImagePngCtxEx. */ #if 0 png_set_filter (png_ptr, 0, PNG_FILTER_NONE); #endif /* 2.0.12: this is finally a parameter */ png_set_compression_level (png_ptr, level); #ifdef PNG_pHYs_SUPPORTED /* 2.1.0: specify the resolution */ png_set_pHYs(png_ptr, info_ptr, DPI2DPM(im->res_x), DPI2DPM(im->res_y), PNG_RESOLUTION_METER); #endif /* can set this to a smaller value without compromising compression if all * image data is 16K or less; will save some decoder memory [min == 8] */ /* png_set_compression_window_bits(png_ptr, 15); */ if (!im->trueColor) { if (transparent >= im->colorsTotal || (transparent >= 0 && open[transparent])) transparent = -1; } if (!im->trueColor) { for (i = 0; i < gdMaxColors; ++i) mapping[i] = -1; } if (!im->trueColor) { /* count actual number of colors used (colorsTotal == high-water mark) */ colors = 0; for (i = 0; i < im->colorsTotal; ++i) { if (!open[i]) { mapping[i] = colors; ++colors; } } if (colors == 0) { gd_error("gd-png error: no colors in palette\n"); ret = 1; goto bail; } if (colors < im->colorsTotal) { remap = TRUE; } if (colors <= 2) bit_depth = 1; else if (colors <= 4) bit_depth = 2; else if (colors <= 16) bit_depth = 4; else bit_depth = 8; } interlace_type = im->interlace ? PNG_INTERLACE_ADAM7 : PNG_INTERLACE_NONE; if (im->trueColor) { if (im->saveAlphaFlag) { png_set_IHDR (png_ptr, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB_ALPHA, interlace_type, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); } else { png_set_IHDR (png_ptr, info_ptr, width, height, 8, PNG_COLOR_TYPE_RGB, interlace_type, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); } } else { png_set_IHDR (png_ptr, info_ptr, width, height, bit_depth, PNG_COLOR_TYPE_PALETTE, interlace_type, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT); } if (im->trueColor && (!im->saveAlphaFlag) && (transparent >= 0)) { /* 2.0.9: fixed by Thomas Winzig */ trans_rgb_value.red = gdTrueColorGetRed (im->transparent); trans_rgb_value.green = gdTrueColorGetGreen (im->transparent); trans_rgb_value.blue = gdTrueColorGetBlue (im->transparent); png_set_tRNS (png_ptr, info_ptr, 0, 0, &trans_rgb_value); } if (!im->trueColor) { /* Oy veh. Remap the PNG palette to put the entries with interesting alpha channel values first. This minimizes the size of the tRNS chunk and thus the size of the PNG file as a whole. */ int tc = 0; int i; int j; int k; for (i = 0; (i < im->colorsTotal); i++) { if ((!im->open[i]) && (im->alpha[i] != gdAlphaOpaque)) { tc++; } } if (tc) { #if 0 for (i = 0; (i < im->colorsTotal); i++) { trans_values[i] = 255 - ((im->alpha[i] << 1) + (im->alpha[i] >> 6)); } png_set_tRNS (png_ptr, info_ptr, trans_values, 256, NULL); #endif if (!remap) { remap = TRUE; } /* (Semi-)transparent indexes come up from the bottom of the list of real colors; opaque indexes come down from the top */ j = 0; k = colors - 1; for (i = 0; (i < im->colorsTotal); i++) { if (!im->open[i]) { if (im->alpha[i] != gdAlphaOpaque) { /* Andrew Hull: >> 6, not >> 7! (gd 2.0.5) */ trans_values[j] = 255 - ((im->alpha[i] << 1) + (im->alpha[i] >> 6)); mapping[i] = j++; } else { mapping[i] = k--; } } } png_set_tRNS (png_ptr, info_ptr, trans_values, tc, NULL); } } /* convert palette to libpng layout */ if (!im->trueColor) { if (remap) for (i = 0; i < im->colorsTotal; ++i) { if (mapping[i] < 0) continue; palette[mapping[i]].red = im->red[i]; palette[mapping[i]].green = im->green[i]; palette[mapping[i]].blue = im->blue[i]; } else for (i = 0; i < colors; ++i) { palette[i].red = im->red[i]; palette[i].green = im->green[i]; palette[i].blue = im->blue[i]; } png_set_PLTE (png_ptr, info_ptr, palette, colors); } /* write out the PNG header info (everything up to first IDAT) */ png_write_info (png_ptr, info_ptr); /* make sure < 8-bit images are packed into pixels as tightly as possible */ png_set_packing (png_ptr); /* This code allocates a set of row buffers and copies the gd image data * into them only in the case that remapping is necessary; in gd 1.3 and * later, the im->pixels array is laid out identically to libpng's row * pointers and can be passed to png_write_image() function directly. * The remapping case could be accomplished with less memory for non- * interlaced images, but interlacing causes some serious complications. */ if (im->trueColor) { /* performance optimizations by Phong Tran */ int channels = im->saveAlphaFlag ? 4 : 3; /* Our little 7-bit alpha channel trick costs us a bit here. */ unsigned char *pOutputRow; int **ptpixels = im->tpixels; int *pThisRow; unsigned char a; int thisPixel; png_bytep *prow_pointers; int saveAlphaFlag = im->saveAlphaFlag; if (overflow2(sizeof (png_bytep), height)) { ret = 1; goto bail; } /* Need to use calloc so we can clean it up sanely in the error handler. */ row_pointers = gdCalloc(height, sizeof (png_bytep)); if (row_pointers == NULL) { gd_error("gd-png error: unable to allocate row_pointers\n"); ret = 1; goto bail; } prow_pointers = row_pointers; for (j = 0; j < height; ++j) { if (overflow2(width, channels) || ((*prow_pointers = (png_bytep) gdMalloc (width * channels)) == NULL)) { gd_error("gd-png error: unable to allocate rows\n"); for (i = 0; i < j; ++i) gdFree (row_pointers[i]); /* 2.0.29: memory leak TBB */ gdFree(row_pointers); ret = 1; goto bail; } pOutputRow = *prow_pointers++; pThisRow = *ptpixels++; for (i = 0; i < width; ++i) { thisPixel = *pThisRow++; *pOutputRow++ = gdTrueColorGetRed (thisPixel); *pOutputRow++ = gdTrueColorGetGreen (thisPixel); *pOutputRow++ = gdTrueColorGetBlue (thisPixel); if (saveAlphaFlag) { /* convert the 7-bit alpha channel to an 8-bit alpha channel. We do a little bit-flipping magic, repeating the MSB as the LSB, to ensure that 0 maps to 0 and 127 maps to 255. We also have to invert to match PNG's convention in which 255 is opaque. */ a = gdTrueColorGetAlpha (thisPixel); /* Andrew Hull: >> 6, not >> 7! (gd 2.0.5) */ *pOutputRow++ = 255 - ((a << 1) + (a >> 6)); } } } png_write_image (png_ptr, row_pointers); png_write_end (png_ptr, info_ptr); for (j = 0; j < height; ++j) gdFree (row_pointers[j]); gdFree (row_pointers); } else { if (remap) { png_bytep *row_pointers; if (overflow2(sizeof (png_bytep), height)) { ret = 1; goto bail; } row_pointers = gdMalloc (sizeof (png_bytep) * height); if (row_pointers == NULL) { gd_error("gd-png error: unable to allocate row_pointers\n"); ret = 1; goto bail; } for (j = 0; j < height; ++j) { if ((row_pointers[j] = (png_bytep) gdMalloc (width)) == NULL) { gd_error("gd-png error: unable to allocate rows\n"); for (i = 0; i < j; ++i) gdFree (row_pointers[i]); /* TBB: memory leak */ gdFree (row_pointers); ret = 1; goto bail; } for (i = 0; i < width; ++i) row_pointers[j][i] = mapping[im->pixels[j][i]]; } png_write_image (png_ptr, row_pointers); png_write_end (png_ptr, info_ptr); for (j = 0; j < height; ++j) gdFree (row_pointers[j]); gdFree (row_pointers); } else { png_write_image (png_ptr, im->pixels); png_write_end (png_ptr, info_ptr); } } /* 1.6.3: maybe we should give that memory BACK! TBB */ bail: png_destroy_write_struct (&png_ptr, &info_ptr); return ret; } #else /* !HAVE_LIBPNG */ static void _noPngError(void) { gd_error("PNG image support has been disabled\n"); } BGD_DECLARE(gdImagePtr) gdImageCreateFromPng (FILE * inFile) { _noPngError(); return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromPngPtr (int size, void *data) { return NULL; } BGD_DECLARE(gdImagePtr) gdImageCreateFromPngCtx (gdIOCtx * infile) { return NULL; } BGD_DECLARE(void) gdImagePngEx (gdImagePtr im, FILE * outFile, int level) { _noPngError(); } BGD_DECLARE(void) gdImagePng (gdImagePtr im, FILE * outFile) { _noPngError(); } BGD_DECLARE(void *) gdImagePngPtr (gdImagePtr im, int *size) { return NULL; } BGD_DECLARE(void *) gdImagePngPtrEx (gdImagePtr im, int *size, int level) { return NULL; } BGD_DECLARE(void) gdImagePngCtx (gdImagePtr im, gdIOCtx * outfile) { _noPngError(); } BGD_DECLARE(void) gdImagePngCtxEx (gdImagePtr im, gdIOCtx * outfile, int level) { _noPngError(); } #endif /* HAVE_LIBPNG */ libgd-2.3.0/src/entities.tcl0000664000175000017500000000254513634445460012656 00000000000000#!/usr/bin/tclsh # get names for html-4.0 characters from: # http://www.w3.org/TR/REC-html40/sgml/entities.html set f [open entities.html r] set entity_name_length_max 0 set nr_of_entities 0 while {! [eof $f]} { set rec [gets $f] if {[scan $rec {<!ENTITY %s CDATA "&#%d;"; --} name val] == 2} { set entity($name) $val set entity_name_length [string length $name] if {$entity_name_length > $entity_name_length_max} { set entity_name_length_max $entity_name_length } incr nr_of_entities } } close $f set f [open entities.h w] puts $f "/*" puts $f " * Generated file - do not edit directly." puts $f " *" puts $f " * This file was generated from:" puts $f " * http://www.w3.org/TR/REC-html40/sgml/entities.html" puts $f " * by means of the script:" puts $f " * entities.tcl" puts $f " */" puts $f "" puts $f "#ifdef __cplusplus" puts $f "extern \"C\" {" puts $f "#endif" puts $f "" puts $f "static struct entities_s {" puts $f " char *name;" puts $f " int value;" puts $f "} entities\[\] = {" foreach name [lsort [array names entity]] { puts $f " {\"$name\", $entity($name)}," } puts $f "};" puts $f "" puts $f "#define ENTITY_NAME_LENGTH_MAX $entity_name_length_max" puts $f "#define NR_OF_ENTITIES $nr_of_entities" puts $f "" puts $f "#ifdef __cplusplus" puts $f "}" puts $f "#endif" close $f libgd-2.3.0/src/gd.c0000664000175000017500000032035313635665516011073 00000000000000#include #include #include #include #include #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd_intern.h" /* 2.03: don't include zlib here or we can't build without PNG */ #include "gd.h" #include "gdhelpers.h" #include "gd_color.h" #include "gd_errors.h" /* 2.0.12: this now checks the clipping rectangle */ #define gdImageBoundsSafeMacro(im, x, y) (!((((y) < (im)->cy1) || ((y) > (im)->cy2)) || (((x) < (im)->cx1) || ((x) > (im)->cx2)))) #ifdef _OSD_POSIX /* BS2000 uses the EBCDIC char set instead of ASCII */ #define CHARSET_EBCDIC #define __attribute__(any) /*nothing */ #endif /*_OSD_POSIX*/ #ifndef CHARSET_EBCDIC #define ASC(ch) ch #else /*CHARSET_EBCDIC */ #define ASC(ch) gd_toascii[(unsigned char)ch] static const unsigned char gd_toascii[256] = { /*00 */ 0x00, 0x01, 0x02, 0x03, 0x85, 0x09, 0x86, 0x7f, 0x87, 0x8d, 0x8e, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, /*................ */ /*10 */ 0x10, 0x11, 0x12, 0x13, 0x8f, 0x0a, 0x08, 0x97, 0x18, 0x19, 0x9c, 0x9d, 0x1c, 0x1d, 0x1e, 0x1f, /*................ */ /*20 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x92, 0x17, 0x1b, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x05, 0x06, 0x07, /*................ */ /*30 */ 0x90, 0x91, 0x16, 0x93, 0x94, 0x95, 0x96, 0x04, 0x98, 0x99, 0x9a, 0x9b, 0x14, 0x15, 0x9e, 0x1a, /*................ */ /*40 */ 0x20, 0xa0, 0xe2, 0xe4, 0xe0, 0xe1, 0xe3, 0xe5, 0xe7, 0xf1, 0x60, 0x2e, 0x3c, 0x28, 0x2b, 0x7c, /* .........`.<(+| */ /*50 */ 0x26, 0xe9, 0xea, 0xeb, 0xe8, 0xed, 0xee, 0xef, 0xec, 0xdf, 0x21, 0x24, 0x2a, 0x29, 0x3b, 0x9f, /*&.........!$*);. */ /*60 */ 0x2d, 0x2f, 0xc2, 0xc4, 0xc0, 0xc1, 0xc3, 0xc5, 0xc7, 0xd1, 0x5e, 0x2c, 0x25, 0x5f, 0x3e, 0x3f, /*-/........^,%_>?*/ /*70 */ 0xf8, 0xc9, 0xca, 0xcb, 0xc8, 0xcd, 0xce, 0xcf, 0xcc, 0xa8, 0x3a, 0x23, 0x40, 0x27, 0x3d, 0x22, /*..........:#@'=" */ /*80 */ 0xd8, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, 0x68, 0x69, 0xab, 0xbb, 0xf0, 0xfd, 0xfe, 0xb1, /*.abcdefghi...... */ /*90 */ 0xb0, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, 0x71, 0x72, 0xaa, 0xba, 0xe6, 0xb8, 0xc6, 0xa4, /*.jklmnopqr...... */ /*a0 */ 0xb5, 0xaf, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, 0x79, 0x7a, 0xa1, 0xbf, 0xd0, 0xdd, 0xde, 0xae, /*..stuvwxyz...... */ /*b0 */ 0xa2, 0xa3, 0xa5, 0xb7, 0xa9, 0xa7, 0xb6, 0xbc, 0xbd, 0xbe, 0xac, 0x5b, 0x5c, 0x5d, 0xb4, 0xd7, /*...........[\].. */ /*c0 */ 0xf9, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0xad, 0xf4, 0xf6, 0xf2, 0xf3, 0xf5, /*.ABCDEFGHI...... */ /*d0 */ 0xa6, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0xb9, 0xfb, 0xfc, 0xdb, 0xfa, 0xff, /*.JKLMNOPQR...... */ /*e0 */ 0xd9, 0xf7, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0xb2, 0xd4, 0xd6, 0xd2, 0xd3, 0xd5, /*..STUVWXYZ...... */ /*f0 */ 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0xb3, 0x7b, 0xdc, 0x7d, 0xda, 0x7e /*0123456789.{.}.~ */ }; #endif /*CHARSET_EBCDIC */ extern const int gdCosT[]; extern const int gdSinT[]; /** * Group: Error Handling */ void gd_stderr_error(int priority, const char *format, va_list args) { switch (priority) { case GD_ERROR: fputs("GD Error: ", stderr); break; case GD_WARNING: fputs("GD Warning: ", stderr); break; case GD_NOTICE: fputs("GD Notice: ", stderr); break; case GD_INFO: fputs("GD Info: ", stderr); break; case GD_DEBUG: fputs("GD Debug: ", stderr); break; } vfprintf(stderr, format, args); fflush(stderr); } static gdErrorMethod gd_error_method = gd_stderr_error; static void _gd_error_ex(int priority, const char *format, va_list args) { if (gd_error_method) { gd_error_method(priority, format, args); } } void gd_error(const char *format, ...) { va_list args; va_start(args, format); _gd_error_ex(GD_WARNING, format, args); va_end(args); } void gd_error_ex(int priority, const char *format, ...) { va_list args; va_start(args, format); _gd_error_ex(priority, format, args); va_end(args); } /* Function: gdSetErrorMethod */ BGD_DECLARE(void) gdSetErrorMethod(gdErrorMethod error_method) { gd_error_method = error_method; } /* Function: gdClearErrorMethod */ BGD_DECLARE(void) gdClearErrorMethod(void) { gd_error_method = gd_stderr_error; } static void gdImageBrushApply (gdImagePtr im, int x, int y); static void gdImageTileApply (gdImagePtr im, int x, int y); BGD_DECLARE(int) gdImageGetTrueColorPixel (gdImagePtr im, int x, int y); /** * Group: Creation and Destruction */ /* Function: gdImageCreate gdImageCreate is called to create palette-based images, with no more than 256 colors. The image must eventually be destroyed using gdImageDestroy(). Parameters: sx - The image width. sy - The image height. Returns: A pointer to the new image or NULL if an error occurred. Example: (start code) gdImagePtr im; im = gdImageCreate(64, 64); // ... Use the image ... gdImageDestroy(im); (end code) See Also: */ BGD_DECLARE(gdImagePtr) gdImageCreate (int sx, int sy) { int i; gdImagePtr im; if (overflow2(sx, sy)) { return NULL; } if (overflow2(sizeof (unsigned char *), sy)) { return NULL; } if (overflow2(sizeof (unsigned char), sx)) { return NULL; } im = (gdImage *) gdCalloc(1, sizeof(gdImage)); if (!im) { return NULL; } /* Row-major ever since gd 1.3 */ im->pixels = (unsigned char **) gdMalloc (sizeof (unsigned char *) * sy); if (!im->pixels) { gdFree(im); return NULL; } im->polyInts = 0; im->polyAllocated = 0; im->brush = 0; im->tile = 0; im->style = 0; for (i = 0; (i < sy); i++) { /* Row-major ever since gd 1.3 */ im->pixels[i] = (unsigned char *) gdCalloc (sx, sizeof (unsigned char)); if (!im->pixels[i]) { for (--i ; i >= 0; i--) { gdFree(im->pixels[i]); } gdFree(im->pixels); gdFree(im); return NULL; } } im->sx = sx; im->sy = sy; im->colorsTotal = 0; im->transparent = (-1); im->interlace = 0; im->thick = 1; im->AA = 0; for (i = 0; (i < gdMaxColors); i++) { im->open[i] = 1; }; im->trueColor = 0; im->tpixels = 0; im->cx1 = 0; im->cy1 = 0; im->cx2 = im->sx - 1; im->cy2 = im->sy - 1; im->res_x = GD_RESOLUTION; im->res_y = GD_RESOLUTION; im->interpolation = NULL; im->interpolation_id = GD_BILINEAR_FIXED; return im; } /* Function: gdImageCreateTrueColor is called to create truecolor images, with an essentially unlimited number of colors. Invoke with the x and y dimensions of the desired image. returns a to the new image, or NULL if unable to allocate the image. The image must eventually be destroyed using (). Truecolor images are always filled with black at creation time. There is no concept of a "background" color index. Parameters: sx - The image width. sy - The image height. Returns: A pointer to the new image or NULL if an error occurred. Example: (start code) gdImagePtr im; im = gdImageCreateTrueColor(64, 64); // ... Use the image ... gdImageDestroy(im); (end code) See Also: */ BGD_DECLARE(gdImagePtr) gdImageCreateTrueColor (int sx, int sy) { int i; gdImagePtr im; if (overflow2(sx, sy)) { return NULL; } if (overflow2(sizeof (int *), sy)) { return 0; } if (overflow2(sizeof(int), sx)) { return NULL; } im = (gdImage *) gdMalloc (sizeof (gdImage)); if (!im) { return 0; } memset (im, 0, sizeof (gdImage)); im->tpixels = (int **) gdMalloc (sizeof (int *) * sy); if (!im->tpixels) { gdFree(im); return 0; } im->polyInts = 0; im->polyAllocated = 0; im->brush = 0; im->tile = 0; im->style = 0; for (i = 0; (i < sy); i++) { im->tpixels[i] = (int *) gdCalloc (sx, sizeof (int)); if (!im->tpixels[i]) { /* 2.0.34 */ i--; while (i >= 0) { gdFree(im->tpixels[i]); i--; } gdFree(im->tpixels); gdFree(im); return 0; } } im->sx = sx; im->sy = sy; im->transparent = (-1); im->interlace = 0; im->trueColor = 1; /* 2.0.2: alpha blending is now on by default, and saving of alpha is off by default. This allows font antialiasing to work as expected on the first try in JPEGs -- quite important -- and also allows for smaller PNGs when saving of alpha channel is not really desired, which it usually isn't! */ im->saveAlphaFlag = 0; im->alphaBlendingFlag = 1; im->thick = 1; im->AA = 0; im->cx1 = 0; im->cy1 = 0; im->cx2 = im->sx - 1; im->cy2 = im->sy - 1; im->res_x = GD_RESOLUTION; im->res_y = GD_RESOLUTION; im->interpolation = NULL; im->interpolation_id = GD_BILINEAR_FIXED; return im; } /* Function: gdImageDestroy is used to free the memory associated with an image. It is important to invoke before exiting your program or assigning a new image to a variable. Parameters: im - Pointer to the gdImage to delete. Returns: Nothing. Example: (start code) gdImagePtr im; im = gdImageCreate(10, 10); // ... Use the image ... // Now destroy it gdImageDestroy(im); (end code) */ BGD_DECLARE(void) gdImageDestroy (gdImagePtr im) { int i; if (im->pixels) { for (i = 0; (i < im->sy); i++) { gdFree (im->pixels[i]); } gdFree (im->pixels); } if (im->tpixels) { for (i = 0; (i < im->sy); i++) { gdFree (im->tpixels[i]); } gdFree (im->tpixels); } if (im->polyInts) { gdFree (im->polyInts); } if (im->style) { gdFree (im->style); } gdFree (im); } /** * Group: Color */ /** * Function: gdImageColorClosest * * Gets the closest color of the image * * This is a simplified variant of where the alpha * channel is always opaque. * * Parameters: * im - The image. * r - The value of the red component. * g - The value of the green component. * b - The value of the blue component. * * Returns: * The closest color already available in the palette for palette images; * the color value of the given components for truecolor images. * * See also: * - */ BGD_DECLARE(int) gdImageColorClosest (gdImagePtr im, int r, int g, int b) { return gdImageColorClosestAlpha (im, r, g, b, gdAlphaOpaque); } /** * Function: gdImageColorClosestAlpha * * Gets the closest color of the image * * Parameters: * im - The image. * r - The value of the red component. * g - The value of the green component. * b - The value of the blue component. * a - The value of the alpha component. * * Returns: * The closest color already available in the palette for palette images; * the color value of the given components for truecolor images. * * See also: * - */ BGD_DECLARE(int) gdImageColorClosestAlpha (gdImagePtr im, int r, int g, int b, int a) { int i; long rd, gd, bd, ad; int ct = (-1); int first = 1; long mindist = 0; if (im->trueColor) { return gdTrueColorAlpha (r, g, b, a); } for (i = 0; (i < (im->colorsTotal)); i++) { long dist; if (im->open[i]) { continue; } rd = (im->red[i] - r); gd = (im->green[i] - g); bd = (im->blue[i] - b); /* gd 2.02: whoops, was - b (thanks to David Marwood) */ /* gd 2.16: was blue rather than alpha! Geez! Thanks to Artur Jakub Jerzak */ ad = (im->alpha[i] - a); dist = rd * rd + gd * gd + bd * bd + ad * ad; if (first || (dist < mindist)) { mindist = dist; ct = i; first = 0; } } return ct; } /* This code is taken from http://www.acm.org/jgt/papers/SmithLyons96/hwb_rgb.html, an article * on colour conversion to/from RBG and HWB colour systems. * It has been modified to return the converted value as a * parameter. */ #define RETURN_HWB(h, w, b) {HWB->H = h; HWB->W = w; HWB->B = b; return HWB;} #define RETURN_RGB(r, g, b) {RGB->R = r; RGB->G = g; RGB->B = b; return RGB;} #define HWB_UNDEFINED -1 #define SETUP_RGB(s, r, g, b) {s.R = r/255.0; s.G = g/255.0; s.B = b/255.0;} #define MIN(a,b) ((a)<(b)?(a):(b)) #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) #define MAX(a,b) ((a)<(b)?(b):(a)) #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c))) /* * Theoretically, hue 0 (pure red) is identical to hue 6 in these transforms. Pure * red always maps to 6 in this implementation. Therefore UNDEFINED can be * defined as 0 in situations where only unsigned numbers are desired. */ typedef struct { float R, G, B; } RGBType; typedef struct { float H, W, B; } HWBType; static HWBType * RGB_to_HWB (RGBType RGB, HWBType * HWB) { /* * RGB are each on [0, 1]. W and B are returned on [0, 1] and H is * returned on [0, 6]. Exception: H is returned UNDEFINED if W == 1 - B. */ float R = RGB.R, G = RGB.G, B = RGB.B, w, v, b, f; int i; w = MIN3 (R, G, B); v = MAX3 (R, G, B); b = 1 - v; if (v == w) RETURN_HWB (HWB_UNDEFINED, w, b); f = (R == w) ? G - B : ((G == w) ? B - R : R - G); i = (R == w) ? 3 : ((G == w) ? 5 : 1); RETURN_HWB (i - f / (v - w), w, b); } static float HWB_Diff (int r1, int g1, int b1, int r2, int g2, int b2) { RGBType RGB1, RGB2; HWBType HWB1, HWB2; float diff; SETUP_RGB (RGB1, r1, g1, b1); SETUP_RGB (RGB2, r2, g2, b2); RGB_to_HWB (RGB1, &HWB1); RGB_to_HWB (RGB2, &HWB2); /* * I made this bit up; it seems to produce OK results, and it is certainly * more visually correct than the current RGB metric. (PJW) */ if ((HWB1.H == HWB_UNDEFINED) || (HWB2.H == HWB_UNDEFINED)) { diff = 0; /* Undefined hues always match... */ } else { diff = fabs (HWB1.H - HWB2.H); if (diff > 3) { diff = 6 - diff; /* Remember, it's a colour circle */ } } diff = diff * diff + (HWB1.W - HWB2.W) * (HWB1.W - HWB2.W) + (HWB1.B - HWB2.B) * (HWB1.B - HWB2.B); return diff; } #if 0 /* * This is not actually used, but is here for completeness, in case someone wants to * use the HWB stuff for anything else... */ static RGBType * HWB_to_RGB (HWBType HWB, RGBType * RGB) { /* * H is given on [0, 6] or UNDEFINED. W and B are given on [0, 1]. * RGB are each returned on [0, 1]. */ float h = HWB.H, w = HWB.W, b = HWB.B, v, n, f; int i; v = 1 - b; if (h == HWB_UNDEFINED) RETURN_RGB (v, v, v); i = floor (h); f = h - i; if (i & 1) f = 1 - f; /* if i is odd */ n = w + f * (v - w); /* linear interpolation between w and v */ switch (i) { case 6: case 0: RETURN_RGB (v, n, w); case 1: RETURN_RGB (n, v, w); case 2: RETURN_RGB (w, v, n); case 3: RETURN_RGB (w, n, v); case 4: RETURN_RGB (n, w, v); case 5: RETURN_RGB (v, w, n); } return RGB; } #endif /* Function: gdImageColorClosestHWB */ BGD_DECLARE(int) gdImageColorClosestHWB (gdImagePtr im, int r, int g, int b) { int i; /* long rd, gd, bd; */ int ct = (-1); int first = 1; float mindist = 0; if (im->trueColor) { return gdTrueColor (r, g, b); } for (i = 0; (i < (im->colorsTotal)); i++) { float dist; if (im->open[i]) { continue; } dist = HWB_Diff (im->red[i], im->green[i], im->blue[i], r, g, b); if (first || (dist < mindist)) { mindist = dist; ct = i; first = 0; } } return ct; } /** * Function: gdImageColorExact * * Gets the exact color of the image * * This is a simplified variant of where the alpha * channel is always opaque. * * Parameters: * im - The image. * r - The value of the red component. * g - The value of the green component. * b - The value of the blue component. * * Returns: * The exact color already available in the palette for palette images; if * there is no exact color, -1 is returned. * For truecolor images the color value of the given components is returned. * * See also: * - */ BGD_DECLARE(int) gdImageColorExact (gdImagePtr im, int r, int g, int b) { return gdImageColorExactAlpha (im, r, g, b, gdAlphaOpaque); } /** * Function: gdImageColorExactAlpha * * Gets the exact color of the image * * Parameters: * im - The image. * r - The value of the red component. * g - The value of the green component. * b - The value of the blue component. * a - The value of the alpha component. * * Returns: * The exact color already available in the palette for palette images; if * there is no exact color, -1 is returned. * For truecolor images the color value of the given components is returned. * * See also: * - * - */ BGD_DECLARE(int) gdImageColorExactAlpha (gdImagePtr im, int r, int g, int b, int a) { int i; if (im->trueColor) { return gdTrueColorAlpha (r, g, b, a); } for (i = 0; (i < (im->colorsTotal)); i++) { if (im->open[i]) { continue; } if ((im->red[i] == r) && (im->green[i] == g) && (im->blue[i] == b) && (im->alpha[i] == a)) { return i; } } return -1; } /** * Function: gdImageColorAllocate * * Allocates a color * * This is a simplified variant of where the alpha * channel is always opaque. * * Parameters: * im - The image. * r - The value of the red component. * g - The value of the green component. * b - The value of the blue component. * * Returns: * The color value. * * See also: * - */ BGD_DECLARE(int) gdImageColorAllocate (gdImagePtr im, int r, int g, int b) { return gdImageColorAllocateAlpha (im, r, g, b, gdAlphaOpaque); } /** * Function: gdImageColorAllocateAlpha * * Allocates a color * * This is typically used for palette images, but can be used for truecolor * images as well. * * Parameters: * im - The image. * r - The value of the red component. * g - The value of the green component. * b - The value of the blue component. * * Returns: * The color value. * * See also: * - */ BGD_DECLARE(int) gdImageColorAllocateAlpha (gdImagePtr im, int r, int g, int b, int a) { int i; int ct = (-1); if (im->trueColor) { return gdTrueColorAlpha (r, g, b, a); } for (i = 0; (i < (im->colorsTotal)); i++) { if (im->open[i]) { ct = i; break; } } if (ct == (-1)) { ct = im->colorsTotal; if (ct == gdMaxColors) { return -1; } im->colorsTotal++; } im->red[ct] = r; im->green[ct] = g; im->blue[ct] = b; im->alpha[ct] = a; im->open[ct] = 0; return ct; } /* Function: gdImageColorResolve gdImageColorResolve is an alternative for the code fragment (start code) if ((color=gdImageColorExact(im,R,G,B)) < 0) if ((color=gdImageColorAllocate(im,R,G,B)) < 0) color=gdImageColorClosest(im,R,G,B); (end code) in a single function. Its advantage is that it is guaranteed to return a color index in one search over the color table. */ BGD_DECLARE(int) gdImageColorResolve (gdImagePtr im, int r, int g, int b) { return gdImageColorResolveAlpha (im, r, g, b, gdAlphaOpaque); } /* Function: gdImageColorResolveAlpha */ BGD_DECLARE(int) gdImageColorResolveAlpha (gdImagePtr im, int r, int g, int b, int a) { int c; int ct = -1; int op = -1; long rd, gd, bd, ad, dist; long mindist = 4 * 255 * 255; /* init to max poss dist */ if (im->trueColor) { return gdTrueColorAlpha (r, g, b, a); } for (c = 0; c < im->colorsTotal; c++) { if (im->open[c]) { op = c; /* Save open slot */ continue; /* Color not in use */ } if (c == im->transparent) { /* don't ever resolve to the color that has * been designated as the transparent color */ continue; } rd = (long) (im->red[c] - r); gd = (long) (im->green[c] - g); bd = (long) (im->blue[c] - b); ad = (long) (im->alpha[c] - a); dist = rd * rd + gd * gd + bd * bd + ad * ad; if (dist < mindist) { if (dist == 0) { return c; /* Return exact match color */ } mindist = dist; ct = c; } } /* no exact match. We now know closest, but first try to allocate exact */ if (op == -1) { op = im->colorsTotal; if (op == gdMaxColors) { /* No room for more colors */ return ct; /* Return closest available color */ } im->colorsTotal++; } im->red[op] = r; im->green[op] = g; im->blue[op] = b; im->alpha[op] = a; im->open[op] = 0; return op; /* Return newly allocated color */ } /** * Function: gdImageColorDeallocate * * Removes a palette entry * * This is a no-op for truecolor images. * * Parameters: * im - The image. * color - The palette index. * * See also: * - * - */ BGD_DECLARE(void) gdImageColorDeallocate (gdImagePtr im, int color) { if (im->trueColor || (color >= gdMaxColors) || (color < 0)) { return; } /* Mark it open. */ im->open[color] = 1; } /** * Function: gdImageColorTransparent * * Sets the transparent color of the image * * Parameter: * im - The image. * color - The color. * * See also: * - */ BGD_DECLARE(void) gdImageColorTransparent (gdImagePtr im, int color) { if (color < 0) { return; } if (!im->trueColor) { if (color >= gdMaxColors) { return; } if (im->transparent != -1) { im->alpha[im->transparent] = gdAlphaOpaque; } im->alpha[color] = gdAlphaTransparent; } im->transparent = color; } /* Function: gdImagePaletteCopy */ BGD_DECLARE(void) gdImagePaletteCopy (gdImagePtr to, gdImagePtr from) { int i; int x, y, p; int xlate[256]; if (to->trueColor) { return; } if (from->trueColor) { return; } for (i = 0; i < 256; i++) { xlate[i] = -1; }; for (y = 0; y < (to->sy); y++) { for (x = 0; x < (to->sx); x++) { /* Optimization: no gdImageGetPixel */ p = to->pixels[y][x]; if (xlate[p] == -1) { /* This ought to use HWB, but we don't have an alpha-aware version of that yet. */ xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]); /*printf("Mapping %d (%d, %d, %d, %d) to %d (%d, %d, %d, %d)\n", */ /* p, to->red[p], to->green[p], to->blue[p], to->alpha[p], */ /* xlate[p], from->red[xlate[p]], from->green[xlate[p]], from->blue[xlate[p]], from->alpha[xlate[p]]); */ }; /* Optimization: no gdImageSetPixel */ to->pixels[y][x] = xlate[p]; }; }; for (i = 0; (i < (from->colorsTotal)); i++) { /*printf("Copying color %d (%d, %d, %d, %d)\n", i, from->red[i], from->blue[i], from->green[i], from->alpha[i]); */ to->red[i] = from->red[i]; to->blue[i] = from->blue[i]; to->green[i] = from->green[i]; to->alpha[i] = from->alpha[i]; to->open[i] = 0; }; for (i = from->colorsTotal; (i < to->colorsTotal); i++) { to->open[i] = 1; }; to->colorsTotal = from->colorsTotal; } /* Function: gdImageColorReplace */ BGD_DECLARE(int) gdImageColorReplace (gdImagePtr im, int src, int dst) { register int x, y; int n = 0; if (src == dst) { return 0; } #define REPLACING_LOOP(pixel) do { \ for (y = im->cy1; y <= im->cy2; y++) { \ for (x = im->cx1; x <= im->cx2; x++) { \ if (pixel(im, x, y) == src) { \ gdImageSetPixel(im, x, y, dst); \ n++; \ } \ } \ } \ } while (0) if (im->trueColor) { REPLACING_LOOP(gdImageTrueColorPixel); } else { REPLACING_LOOP(gdImagePalettePixel); } #undef REPLACING_LOOP return n; } /* Function: gdImageColorReplaceThreshold */ BGD_DECLARE(int) gdImageColorReplaceThreshold (gdImagePtr im, int src, int dst, float threshold) { register int x, y; int n = 0; if (src == dst) { return 0; } #define REPLACING_LOOP(pixel) do { \ for (y = im->cy1; y <= im->cy2; y++) { \ for (x = im->cx1; x <= im->cx2; x++) { \ if (gdColorMatch(im, src, pixel(im, x, y), threshold)) { \ gdImageSetPixel(im, x, y, dst); \ n++; \ } \ } \ } \ } while (0) if (im->trueColor) { REPLACING_LOOP(gdImageTrueColorPixel); } else { REPLACING_LOOP(gdImagePalettePixel); } #undef REPLACING_LOOP return n; } static int colorCmp (const void *x, const void *y) { int a = *(int const *)x; int b = *(int const *)y; return (a > b) - (a < b); } /* Function: gdImageColorReplaceArray */ BGD_DECLARE(int) gdImageColorReplaceArray (gdImagePtr im, int len, int *src, int *dst) { register int x, y; int c, *d, *base; int i, n = 0; if (len <= 0 || src == dst) { return 0; } if (len == 1) { return gdImageColorReplace(im, src[0], dst[0]); } if (overflow2(len, sizeof(int)<<1)) { return -1; } base = (int *)gdMalloc(len * (sizeof(int)<<1)); if (!base) { return -1; } for (i = 0; i < len; i++) { base[(i<<1)] = src[i]; base[(i<<1)+1] = dst[i]; } qsort(base, len, sizeof(int)<<1, colorCmp); #define REPLACING_LOOP(pixel) do { \ for (y = im->cy1; y <= im->cy2; y++) { \ for (x = im->cx1; x <= im->cx2; x++) { \ c = pixel(im, x, y); \ if ( (d = (int *)bsearch(&c, base, len, sizeof(int)<<1, colorCmp)) ) { \ gdImageSetPixel(im, x, y, d[1]); \ n++; \ } \ } \ } \ } while (0) if (im->trueColor) { REPLACING_LOOP(gdImageTrueColorPixel); } else { REPLACING_LOOP(gdImagePalettePixel); } #undef REPLACING_LOOP gdFree(base); return n; } /* Function: gdImageColorReplaceCallback */ BGD_DECLARE(int) gdImageColorReplaceCallback (gdImagePtr im, gdCallbackImageColor callback) { int c, d, n = 0; if (!callback) { return 0; } if (im->trueColor) { register int x, y; for (y = im->cy1; y <= im->cy2; y++) { for (x = im->cx1; x <= im->cx2; x++) { c = gdImageTrueColorPixel(im, x, y); if ( (d = callback(im, c)) != c) { gdImageSetPixel(im, x, y, d); n++; } } } } else { /* palette */ int *sarr, *darr; int k, len = 0; sarr = (int *)gdCalloc(im->colorsTotal, sizeof(int)); if (!sarr) { return -1; } for (c = 0; c < im->colorsTotal; c++) { if (!im->open[c]) { sarr[len++] = c; } } darr = (int *)gdCalloc(len, sizeof(int)); if (!darr) { gdFree(sarr); return -1; } for (k = 0; k < len; k++) { darr[k] = callback(im, sarr[k]); } n = gdImageColorReplaceArray(im, k, sarr, darr); gdFree(darr); gdFree(sarr); } return n; } /* 2.0.10: before the drawing routines, some code to clip points that are * outside the drawing window. Nick Atty (nick@canalplan.org.uk) * * This is the Sutherland Hodgman Algorithm, as implemented by * Duvanenko, Robbins and Gyurcsik - SH(DRG) for short. See Dr Dobb's * Journal, January 1996, pp107-110 and 116-117 * * Given the end points of a line, and a bounding rectangle (which we * know to be from (0,0) to (SX,SY)), adjust the endpoints to be on * the edges of the rectangle if the line should be drawn at all, * otherwise return a failure code */ /* this does "one-dimensional" clipping: note that the second time it is called, all the x parameters refer to height and the y to width - the comments ignore this (if you can understand it when it's looking at the X parameters, it should become clear what happens on the second call!) The code is simplified from that in the article, as we know that gd images always start at (0,0) */ /* 2.0.26, TBB: we now have to respect a clipping rectangle, it won't necessarily start at 0. */ static int clip_1d (int *x0, int *y0, int *x1, int *y1, int mindim, int maxdim) { double m; /* gradient of line */ if (*x0 < mindim) { /* start of line is left of window */ if (*x1 < mindim) /* as is the end, so the line never cuts the window */ return 0; m = (*y1 - *y0) / (double) (*x1 - *x0); /* calculate the slope of the line */ /* adjust x0 to be on the left boundary (ie to be zero), and y0 to match */ *y0 -= (int)(m * (*x0 - mindim)); *x0 = mindim; /* now, perhaps, adjust the far end of the line as well */ if (*x1 > maxdim) { *y1 += m * (maxdim - *x1); *x1 = maxdim; } return 1; } if (*x0 > maxdim) { /* start of line is right of window - complement of above */ if (*x1 > maxdim) /* as is the end, so the line misses the window */ return 0; m = (*y1 - *y0) / (double) (*x1 - *x0); /* calculate the slope of the line */ *y0 += (int)(m * (maxdim - *x0)); /* adjust so point is on the right boundary */ *x0 = maxdim; /* now, perhaps, adjust the end of the line */ if (*x1 < mindim) { *y1 -= (int)(m * (*x1 - mindim)); *x1 = mindim; } return 1; } /* the final case - the start of the line is inside the window */ if (*x1 > maxdim) { /* other end is outside to the right */ m = (*y1 - *y0) / (double) (*x1 - *x0); /* calculate the slope of the line */ *y1 += (int)(m * (maxdim - *x1)); *x1 = maxdim; return 1; } if (*x1 < mindim) { /* other end is outside to the left */ m = (*y1 - *y0) / (double) (*x1 - *x0); /* calculate the slope of the line */ *y1 -= (int)(m * (*x1 - mindim)); *x1 = mindim; return 1; } /* only get here if both points are inside the window */ return 1; } /* end of line clipping code */ /** * Group: Pixels */ /* Function: gdImageSetPixel */ BGD_DECLARE(void) gdImageSetPixel (gdImagePtr im, int x, int y, int color) { int p; switch (color) { case gdStyled: if (!im->style) { /* Refuse to draw if no style is set. */ return; } else { p = im->style[im->stylePos++]; } if (p != (gdTransparent)) { gdImageSetPixel (im, x, y, p); } im->stylePos = im->stylePos % im->styleLength; break; case gdStyledBrushed: if (!im->style) { /* Refuse to draw if no style is set. */ return; } p = im->style[im->stylePos++]; if ((p != gdTransparent) && (p != 0)) { gdImageSetPixel (im, x, y, gdBrushed); } im->stylePos = im->stylePos % im->styleLength; break; case gdBrushed: gdImageBrushApply (im, x, y); break; case gdTiled: gdImageTileApply (im, x, y); break; case gdAntiAliased: /* This shouldn't happen (2.0.26) because we just call gdImageAALine now, but do something sane. */ gdImageSetPixel(im, x, y, im->AA_color); break; default: if (gdImageBoundsSafeMacro (im, x, y)) { if (im->trueColor) { switch (im->alphaBlendingFlag) { default: case gdEffectReplace: im->tpixels[y][x] = color; break; case gdEffectAlphaBlend: case gdEffectNormal: im->tpixels[y][x] = gdAlphaBlend(im->tpixels[y][x], color); break; case gdEffectOverlay : im->tpixels[y][x] = gdLayerOverlay(im->tpixels[y][x], color); break; case gdEffectMultiply : im->tpixels[y][x] = gdLayerMultiply(im->tpixels[y][x], color); break; } } else { im->pixels[y][x] = color; } } break; } } static void gdImageBrushApply (gdImagePtr im, int x, int y) { int lx, ly; int hy; int hx; int x1, y1, x2, y2; int srcx, srcy; if (!im->brush) { return; } hy = gdImageSY (im->brush) / 2; y1 = y - hy; y2 = y1 + gdImageSY (im->brush); hx = gdImageSX (im->brush) / 2; x1 = x - hx; x2 = x1 + gdImageSX (im->brush); srcy = 0; if (im->trueColor) { if (im->brush->trueColor) { for (ly = y1; (ly < y2); ly++) { srcx = 0; for (lx = x1; (lx < x2); lx++) { int p; p = gdImageGetTrueColorPixel (im->brush, srcx, srcy); /* 2.0.9, Thomas Winzig: apply simple full transparency */ if (p != gdImageGetTransparent (im->brush)) { gdImageSetPixel (im, lx, ly, p); } srcx++; } srcy++; } } else { /* 2.0.12: Brush palette, image truecolor (thanks to Thorben Kundinger for pointing out the issue) */ for (ly = y1; (ly < y2); ly++) { srcx = 0; for (lx = x1; (lx < x2); lx++) { int p, tc; p = gdImageGetPixel (im->brush, srcx, srcy); tc = gdImageGetTrueColorPixel (im->brush, srcx, srcy); /* 2.0.9, Thomas Winzig: apply simple full transparency */ if (p != gdImageGetTransparent (im->brush)) { gdImageSetPixel (im, lx, ly, tc); } srcx++; } srcy++; } } } else { for (ly = y1; (ly < y2); ly++) { srcx = 0; for (lx = x1; (lx < x2); lx++) { int p; p = gdImageGetPixel (im->brush, srcx, srcy); /* Allow for non-square brushes! */ if (p != gdImageGetTransparent (im->brush)) { /* Truecolor brush. Very slow on a palette destination. */ if (im->brush->trueColor) { gdImageSetPixel (im, lx, ly, gdImageColorResolveAlpha (im, gdTrueColorGetRed (p), gdTrueColorGetGreen (p), gdTrueColorGetBlue (p), gdTrueColorGetAlpha (p))); } else { gdImageSetPixel (im, lx, ly, im->brushColorMap[p]); } } srcx++; } srcy++; } } } static void gdImageTileApply (gdImagePtr im, int x, int y) { gdImagePtr tile = im->tile; int srcx, srcy; int p; if (!tile) { return; } srcx = x % gdImageSX (tile); srcy = y % gdImageSY (tile); if (im->trueColor) { p = gdImageGetPixel (tile, srcx, srcy); if (p != gdImageGetTransparent (tile)) { if (!tile->trueColor) { p = gdTrueColorAlpha(tile->red[p], tile->green[p], tile->blue[p], tile->alpha[p]); } gdImageSetPixel (im, x, y, p); } } else { p = gdImageGetPixel (tile, srcx, srcy); /* Allow for transparency */ if (p != gdImageGetTransparent (tile)) { if (tile->trueColor) { /* Truecolor tile. Very slow on a palette destination. */ gdImageSetPixel (im, x, y, gdImageColorResolveAlpha (im, gdTrueColorGetRed (p), gdTrueColorGetGreen (p), gdTrueColorGetBlue (p), gdTrueColorGetAlpha (p))); } else { gdImageSetPixel (im, x, y, im->tileColorMap[p]); } } } } /** * Function: gdImageGetPixel * * Gets a pixel color as stored in the image. * * Parameters: * im - The image. * x - The x-coordinate. * y - The y-coordinate. * * See also: * - * - * - */ BGD_DECLARE(int) gdImageGetPixel (gdImagePtr im, int x, int y) { if (gdImageBoundsSafeMacro (im, x, y)) { if (im->trueColor) { return im->tpixels[y][x]; } else { return im->pixels[y][x]; } } else { return 0; } } /** * Function: gdImageGetTrueColorPixel * * Gets a pixel color always as truecolor value. * * Parameters: * im - The image. * x - The x-coordinate. * y - The y-coordinate. * * See also: * - * - */ BGD_DECLARE(int) gdImageGetTrueColorPixel (gdImagePtr im, int x, int y) { int p = gdImageGetPixel (im, x, y); if (!im->trueColor) { return gdTrueColorAlpha (im->red[p], im->green[p], im->blue[p], (im->transparent == p) ? gdAlphaTransparent : im->alpha[p]); } else { return p; } } /** * Group: Primitives */ /* Function: gdImageAABlend NO-OP, kept for library compatibility. */ BGD_DECLARE(void) gdImageAABlend (gdImagePtr im) { (void)im; } static void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int col); static void _gdImageFilledHRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color); static void gdImageHLine(gdImagePtr im, int y, int x1, int x2, int col) { if (im->thick > 1) { int thickhalf = im->thick >> 1; _gdImageFilledHRectangle(im, x1, y - thickhalf, x2, y + im->thick - thickhalf - 1, col); } else { if (x2 < x1) { int t = x2; x2 = x1; x1 = t; } for (; x1 <= x2; x1++) { gdImageSetPixel(im, x1, y, col); } } return; } static void gdImageVLine(gdImagePtr im, int x, int y1, int y2, int col) { if (im->thick > 1) { int thickhalf = im->thick >> 1; gdImageFilledRectangle(im, x - thickhalf, y1, x + im->thick - thickhalf - 1, y2, col); } else { if (y2 < y1) { int t = y1; y1 = y2; y2 = t; } for (; y1 <= y2; y1++) { gdImageSetPixel(im, x, y1, col); } } return; } /* Function: gdImageLine Bresenham as presented in Foley & Van Dam. */ BGD_DECLARE(void) gdImageLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) { int dx, dy, incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag; int wid; int w, wstart; int thick; if (color == gdAntiAliased) { /* gdAntiAliased passed as color: use the much faster, much cheaper and equally attractive gdImageAALine implementation. That clips too, so don't clip twice. */ gdImageAALine(im, x1, y1, x2, y2, im->AA_color); return; } /* 2.0.10: Nick Atty: clip to edges of drawing rectangle, return if no points need to be drawn. 2.0.26, TBB: clip to edges of clipping rectangle. We were getting away with this because gdImageSetPixel is used for actual drawing, but this is still more efficient and opens the way to skip per-pixel bounds checking in the future. */ if (clip_1d (&x1, &y1, &x2, &y2, im->cx1, im->cx2) == 0) return; if (clip_1d (&y1, &x1, &y2, &x2, im->cy1, im->cy2) == 0) return; thick = im->thick; dx = abs (x2 - x1); dy = abs (y2 - y1); if (dx == 0) { gdImageVLine(im, x1, y1, y2, color); return; } else if (dy == 0) { gdImageHLine(im, y1, x1, x2, color); return; } if (dy <= dx) { /* More-or-less horizontal. use wid for vertical stroke */ /* Doug Claar: watch out for NaN in atan2 (2.0.5) */ /* 2.0.12: Michael Schwartz: divide rather than multiply; TBB: but watch out for /0! */ double ac = cos (atan2 (dy, dx)); if (ac != 0) { wid = thick / ac; } else { wid = 1; } if (wid == 0) { wid = 1; } d = 2 * dy - dx; incr1 = 2 * dy; incr2 = 2 * (dy - dx); if (x1 > x2) { x = x2; y = y2; ydirflag = (-1); xend = x1; } else { x = x1; y = y1; ydirflag = 1; xend = x2; } /* Set up line thickness */ wstart = y - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, x, w, color); if (((y2 - y1) * ydirflag) > 0) { while (x < xend) { x++; if (d < 0) { d += incr1; } else { y++; d += incr2; } wstart = y - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, x, w, color); } } else { while (x < xend) { x++; if (d < 0) { d += incr1; } else { y--; d += incr2; } wstart = y - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, x, w, color); } } } else { /* More-or-less vertical. use wid for horizontal stroke */ /* 2.0.12: Michael Schwartz: divide rather than multiply; TBB: but watch out for /0! */ double as = sin (atan2 (dy, dx)); if (as != 0) { wid = thick / as; } else { wid = 1; } if (wid == 0) wid = 1; d = 2 * dx - dy; incr1 = 2 * dx; incr2 = 2 * (dx - dy); if (y1 > y2) { y = y2; x = x2; yend = y1; xdirflag = (-1); } else { y = y1; x = x1; yend = y2; xdirflag = 1; } /* Set up line thickness */ wstart = x - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, w, y, color); if (((x2 - x1) * xdirflag) > 0) { while (y < yend) { y++; if (d < 0) { d += incr1; } else { x++; d += incr2; } wstart = x - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, w, y, color); } } else { while (y < yend) { y++; if (d < 0) { d += incr1; } else { x--; d += incr2; } wstart = x - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, w, y, color); } } } } static void dashedSet (gdImagePtr im, int x, int y, int color, int *onP, int *dashStepP, int wid, int vert); /* Function: gdImageDashedLine */ BGD_DECLARE(void) gdImageDashedLine (gdImagePtr im, int x1, int y1, int x2, int y2, int color) { int dx, dy, incr1, incr2, d, x, y, xend, yend, xdirflag, ydirflag; int dashStep = 0; int on = 1; int wid; int vert; int thick = im->thick; dx = abs (x2 - x1); dy = abs (y2 - y1); if (dy <= dx) { /* More-or-less horizontal. use wid for vertical stroke */ /* 2.0.12: Michael Schwartz: divide rather than multiply; TBB: but watch out for /0! */ double as = sin (atan2 (dy, dx)); if (as != 0) { wid = thick / as; } else { wid = 1; } vert = 1; d = 2 * dy - dx; incr1 = 2 * dy; incr2 = 2 * (dy - dx); if (x1 > x2) { x = x2; y = y2; ydirflag = (-1); xend = x1; } else { x = x1; y = y1; ydirflag = 1; xend = x2; } dashedSet (im, x, y, color, &on, &dashStep, wid, vert); if (((y2 - y1) * ydirflag) > 0) { while (x < xend) { x++; if (d < 0) { d += incr1; } else { y++; d += incr2; } dashedSet (im, x, y, color, &on, &dashStep, wid, vert); } } else { while (x < xend) { x++; if (d < 0) { d += incr1; } else { y--; d += incr2; } dashedSet (im, x, y, color, &on, &dashStep, wid, vert); } } } else { /* 2.0.12: Michael Schwartz: divide rather than multiply; TBB: but watch out for /0! */ double as = sin (atan2 (dy, dx)); if (as != 0) { wid = thick / as; } else { wid = 1; } vert = 0; d = 2 * dx - dy; incr1 = 2 * dx; incr2 = 2 * (dx - dy); if (y1 > y2) { y = y2; x = x2; yend = y1; xdirflag = (-1); } else { y = y1; x = x1; yend = y2; xdirflag = 1; } dashedSet (im, x, y, color, &on, &dashStep, wid, vert); if (((x2 - x1) * xdirflag) > 0) { while (y < yend) { y++; if (d < 0) { d += incr1; } else { x++; d += incr2; } dashedSet (im, x, y, color, &on, &dashStep, wid, vert); } } else { while (y < yend) { y++; if (d < 0) { d += incr1; } else { x--; d += incr2; } dashedSet (im, x, y, color, &on, &dashStep, wid, vert); } } } } static void dashedSet (gdImagePtr im, int x, int y, int color, int *onP, int *dashStepP, int wid, int vert) { int dashStep = *dashStepP; int on = *onP; int w, wstart; dashStep++; if (dashStep == gdDashSize) { dashStep = 0; on = !on; } if (on) { if (vert) { wstart = y - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, x, w, color); } else { wstart = x - wid / 2; for (w = wstart; w < wstart + wid; w++) gdImageSetPixel (im, w, y, color); } } *dashStepP = dashStep; *onP = on; } /* Function: gdImageBoundsSafe */ BGD_DECLARE(int) gdImageBoundsSafe (gdImagePtr im, int x, int y) { return gdImageBoundsSafeMacro (im, x, y); } /** * Function: gdImageChar * * Draws a single character. * * Parameters: * im - The image to draw onto. * f - The raster font. * x - The x coordinate of the upper left pixel. * y - The y coordinate of the upper left pixel. * c - The character. * color - The color. * * Variants: * - * * See also: * - */ BGD_DECLARE(void) gdImageChar (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color) { int cx, cy; int px, py; int fline; cx = 0; cy = 0; #ifdef CHARSET_EBCDIC c = ASC (c); #endif /*CHARSET_EBCDIC */ if ((c < f->offset) || (c >= (f->offset + f->nchars))) { return; } fline = (c - f->offset) * f->h * f->w; for (py = y; (py < (y + f->h)); py++) { for (px = x; (px < (x + f->w)); px++) { if (f->data[fline + cy * f->w + cx]) { gdImageSetPixel (im, px, py, color); } cx++; } cx = 0; cy++; } } /** * Function: gdImageCharUp */ BGD_DECLARE(void) gdImageCharUp (gdImagePtr im, gdFontPtr f, int x, int y, int c, int color) { int cx, cy; int px, py; int fline; cx = 0; cy = 0; #ifdef CHARSET_EBCDIC c = ASC (c); #endif /*CHARSET_EBCDIC */ if ((c < f->offset) || (c >= (f->offset + f->nchars))) { return; } fline = (c - f->offset) * f->h * f->w; for (py = y; (py > (y - f->w)); py--) { for (px = x; (px < (x + f->h)); px++) { if (f->data[fline + cy * f->w + cx]) { gdImageSetPixel (im, px, py, color); } cy++; } cy = 0; cx++; } } /** * Function: gdImageString * * Draws a character string. * * Parameters: * im - The image to draw onto. * f - The raster font. * x - The x coordinate of the upper left pixel. * y - The y coordinate of the upper left pixel. * c - The character string. * color - The color. * * Variants: * - * - * - * * See also: * - * - */ BGD_DECLARE(void) gdImageString (gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color) { int i; int l; l = strlen ((char *) s); for (i = 0; (i < l); i++) { gdImageChar (im, f, x, y, s[i], color); x += f->w; } } /** * Function: gdImageStringUp */ BGD_DECLARE(void) gdImageStringUp (gdImagePtr im, gdFontPtr f, int x, int y, unsigned char *s, int color) { int i; int l; l = strlen ((char *) s); for (i = 0; (i < l); i++) { gdImageCharUp (im, f, x, y, s[i], color); y -= f->w; } } static int strlen16 (unsigned short *s); /** * Function: gdImageString16 */ BGD_DECLARE(void) gdImageString16 (gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color) { int i; int l; l = strlen16 (s); for (i = 0; (i < l); i++) { gdImageChar (im, f, x, y, s[i], color); x += f->w; } } /** * Function: gdImageStringUp16 */ BGD_DECLARE(void) gdImageStringUp16 (gdImagePtr im, gdFontPtr f, int x, int y, unsigned short *s, int color) { int i; int l; l = strlen16 (s); for (i = 0; (i < l); i++) { gdImageCharUp (im, f, x, y, s[i], color); y -= f->w; } } static int strlen16 (unsigned short *s) { int len = 0; while (*s) { s++; len++; } return len; } #ifndef HAVE_LSQRT /* If you don't have a nice square root function for longs, you can use ** this hack */ long lsqrt (long n) { long result = (long) sqrt ((double) n); return result; } #endif /* s and e are integers modulo 360 (degrees), with 0 degrees being the rightmost extreme and degrees changing clockwise. cx and cy are the center in pixels; w and h are the horizontal and vertical diameter in pixels. */ /* Function: gdImageArc */ BGD_DECLARE(void) gdImageArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color) { gdImageFilledArc (im, cx, cy, w, h, s, e, color, gdNoFill); } /* Function: gdImageFilledArc */ BGD_DECLARE(void) gdImageFilledArc (gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color, int style) { gdPoint pts[363]; int i, pti; int lx = 0, ly = 0; int fx = 0, fy = 0; int startx = -1, starty = -1, endx = -1, endy = -1; if ((s % 360) == (e % 360)) { s = 0; e = 360; } else { if (s > 360) { s = s % 360; } if (e > 360) { e = e % 360; } while (s < 0) { s += 360; } while (e < s) { e += 360; } if (s == e) { s = 0; e = 360; } } for (i = s, pti = 1; (i <= e); i++, pti++) { int x, y; x = endx = ((long) gdCosT[i % 360] * (long) w / (2 * 1024)) + cx; y = endy = ((long) gdSinT[i % 360] * (long) h / (2 * 1024)) + cy; if (i != s) { if (!(style & gdChord)) { if (style & gdNoFill) { gdImageLine (im, lx, ly, x, y, color); } else { if (y == ly) { pti--; /* don't add this point */ if (((i > 270 || i < 90) && x > lx) || ((i > 90 && i < 270) && x < lx)) { /* replace the old x coord, if increasing on the right side or decreasing on the left side */ pts[pti].x = x; } } else { pts[pti].x = x; pts[pti].y = y; } } } } else { fx = x; fy = y; if (!(style & (gdChord | gdNoFill))) { pts[0].x = cx; pts[0].y = cy; pts[pti].x = startx = x; pts[pti].y = starty = y; } } lx = x; ly = y; } if (style & gdChord) { if (style & gdNoFill) { if (style & gdEdged) { gdImageLine (im, cx, cy, lx, ly, color); gdImageLine (im, cx, cy, fx, fy, color); } gdImageLine (im, fx, fy, lx, ly, color); } else { pts[0].x = fx; pts[0].y = fy; pts[1].x = lx; pts[1].y = ly; pts[2].x = cx; pts[2].y = cy; gdImageFilledPolygon (im, pts, 3, color); } } else { if (style & gdNoFill) { if (style & gdEdged) { gdImageLine (im, cx, cy, lx, ly, color); gdImageLine (im, cx, cy, fx, fy, color); } } else { if (e - s < 360) { if (pts[1].x != startx && pts[1].y == starty) { /* start point has been removed due to y-coord fix => insert it */ for (i = pti; i > 1; i--) { pts[i].x = pts[i-1].x; pts[i].y = pts[i-1].y; } pts[1].x = startx; pts[1].y = starty; pti++; } if (pts[pti-1].x != endx && pts[pti-1].y == endy) { /* end point has been removed due to y-coord fix => insert it */ pts[pti].x = endx; pts[pti].y = endy; pti++; } } pts[pti].x = cx; pts[pti].y = cy; gdImageFilledPolygon(im, pts, pti+1, color); } } } /* Function: gdImageEllipse */ BGD_DECLARE(void) gdImageEllipse(gdImagePtr im, int mx, int my, int w, int h, int c) { int x=0,mx1=0,mx2=0,my1=0,my2=0; int64_t aq,bq,dx,dy,r,rx,ry,a,b; a=w>>1; b=h>>1; gdImageSetPixel(im,mx+a, my, c); gdImageSetPixel(im,mx-a, my, c); mx1 = mx-a; my1 = my; mx2 = mx+a; my2 = my; aq = a * a; bq = b * b; dx = aq << 1; dy = bq << 1; r = a * bq; rx = r << 1; ry = 0; x = a; while (x > 0) { if (r > 0) { my1++; my2--; ry +=dx; r -=ry; } if (r <= 0) { x--; mx1++; mx2--; rx -=dy; r +=rx; } gdImageSetPixel(im,mx1, my1, c); gdImageSetPixel(im,mx1, my2, c); gdImageSetPixel(im,mx2, my1, c); gdImageSetPixel(im,mx2, my2, c); } } /* Function: gdImageFilledEllipse */ BGD_DECLARE(void) gdImageFilledEllipse (gdImagePtr im, int mx, int my, int w, int h, int c) { int x=0,mx1=0,mx2=0,my1=0,my2=0; int64_t aq,bq,dx,dy,r,rx,ry,a,b; int i; int old_y2; a=w>>1; b=h>>1; for (x = mx-a; x <= mx+a; x++) { gdImageSetPixel(im, x, my, c); } mx1 = mx-a; my1 = my; mx2 = mx+a; my2 = my; aq = a * a; bq = b * b; dx = aq << 1; dy = bq << 1; r = a * bq; rx = r << 1; ry = 0; x = a; old_y2=-2; while (x > 0) { if (r > 0) { my1++; my2--; ry +=dx; r -=ry; } if (r <= 0) { x--; mx1++; mx2--; rx -=dy; r +=rx; } if(old_y2!=my2) { for(i=mx1; i<=mx2; i++) { gdImageSetPixel(im,i,my2,c); gdImageSetPixel(im,i,my1,c); } } old_y2 = my2; } } /* Function: gdImageFillToBorder */ BGD_DECLARE(void) gdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color) { int lastBorder; /* Seek left */ int leftLimit, rightLimit; int i; int restoreAlphaBleding; if (border < 0 || color < 0) { /* Refuse to fill to a non-solid border */ return; } if (!im->trueColor) { if (color > (im->colorsTotal - 1) || border > (im->colorsTotal - 1)) { return; } } leftLimit = (-1); restoreAlphaBleding = im->alphaBlendingFlag; im->alphaBlendingFlag = 0; if (x >= im->sx) { x = im->sx - 1; } else if (x < 0) { x = 0; } if (y >= im->sy) { y = im->sy - 1; } else if (y < 0) { y = 0; } for (i = x; (i >= 0); i--) { if (gdImageGetPixel (im, i, y) == border) { break; } gdImageSetPixel (im, i, y, color); leftLimit = i; } if (leftLimit == (-1)) { im->alphaBlendingFlag = restoreAlphaBleding; return; } /* Seek right */ rightLimit = x; for (i = (x + 1); (i < im->sx); i++) { if (gdImageGetPixel (im, i, y) == border) { break; } gdImageSetPixel (im, i, y, color); rightLimit = i; } /* Look at lines above and below and start paints */ /* Above */ if (y > 0) { lastBorder = 1; for (i = leftLimit; (i <= rightLimit); i++) { int c; c = gdImageGetPixel (im, i, y - 1); if (lastBorder) { if ((c != border) && (c != color)) { gdImageFillToBorder (im, i, y - 1, border, color); lastBorder = 0; } } else if ((c == border) || (c == color)) { lastBorder = 1; } } } /* Below */ if (y < ((im->sy) - 1)) { lastBorder = 1; for (i = leftLimit; (i <= rightLimit); i++) { int c = gdImageGetPixel (im, i, y + 1); if (lastBorder) { if ((c != border) && (c != color)) { gdImageFillToBorder (im, i, y + 1, border, color); lastBorder = 0; } } else if ((c == border) || (c == color)) { lastBorder = 1; } } } im->alphaBlendingFlag = restoreAlphaBleding; } /* * set the pixel at (x,y) and its 4-connected neighbors * with the same pixel value to the new pixel value nc (new color). * A 4-connected neighbor: pixel above, below, left, or right of a pixel. * ideas from comp.graphics discussions. * For tiled fill, the use of a flag buffer is mandatory. As the tile image can * contain the same color as the color to fill. To do not bloat normal filling * code I added a 2nd private function. */ static int gdImageTileGet (gdImagePtr im, int x, int y) { int srcx, srcy; int tileColor,p; if (!im->tile) { return -1; } srcx = x % gdImageSX(im->tile); srcy = y % gdImageSY(im->tile); p = gdImageGetPixel(im->tile, srcx, srcy); if (p == im->tile->transparent) { tileColor = im->transparent; } else if (im->trueColor) { if (im->tile->trueColor) { tileColor = p; } else { tileColor = gdTrueColorAlpha( gdImageRed(im->tile,p), gdImageGreen(im->tile,p), gdImageBlue (im->tile,p), gdImageAlpha (im->tile,p)); } } else { if (im->tile->trueColor) { tileColor = gdImageColorResolveAlpha(im, gdTrueColorGetRed (p), gdTrueColorGetGreen (p), gdTrueColorGetBlue (p), gdTrueColorGetAlpha (p)); } else { tileColor = gdImageColorResolveAlpha(im, gdImageRed (im->tile,p), gdImageGreen (im->tile,p), gdImageBlue (im->tile,p), gdImageAlpha (im->tile,p)); } } return tileColor; } /* horizontal segment of scan line y */ struct seg { int y, xl, xr, dy; }; /* max depth of stack */ #define FILL_MAX ((int)(im->sy*im->sx)/4) #define FILL_PUSH(Y, XL, XR, DY) \ if (sp=0 && Y+(DY)y = Y; sp->xl = XL; sp->xr = XR; sp->dy = DY; sp++;} #define FILL_POP(Y, XL, XR, DY) \ {sp--; Y = sp->y+(DY = sp->dy); XL = sp->xl; XR = sp->xr;} static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc); /* Function: gdImageFill */ BGD_DECLARE(void) gdImageFill(gdImagePtr im, int x, int y, int nc) { int l, x1, x2, dy; int oc; /* old pixel value */ int wx2,wy2; int alphablending_bak; /* stack of filled segments */ /* struct seg stack[FILL_MAX],*sp = stack; */ struct seg *stack; struct seg *sp; if (!im->trueColor && nc > (im->colorsTotal - 1)) { return; } alphablending_bak = im->alphaBlendingFlag; im->alphaBlendingFlag = 0; if (nc==gdTiled) { _gdImageFillTiled(im,x,y,nc); im->alphaBlendingFlag = alphablending_bak; return; } wx2=im->sx; wy2=im->sy; oc = gdImageGetPixel(im, x, y); if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { im->alphaBlendingFlag = alphablending_bak; return; } /* Do not use the 4 neighbors implementation with * small images */ if (im->sx < 4) { int ix = x, iy = y, c; do { do { c = gdImageGetPixel(im, ix, iy); if (c != oc) { goto done; } gdImageSetPixel(im, ix, iy, nc); } while(ix++ < (im->sx -1)); ix = x; } while(iy++ < (im->sy -1)); goto done; } if(overflow2(im->sy, im->sx)) { return; } if(overflow2(sizeof(struct seg), ((im->sy * im->sx) / 4))) { return; } stack = (struct seg *)gdMalloc(sizeof(struct seg) * ((int)(im->sy*im->sx)/4)); if (!stack) { return; } sp = stack; /* required! */ FILL_PUSH(y,x,x,1); /* seed segment (popped 1st) */ FILL_PUSH(y+1, x, x, -1); while (sp>stack) { FILL_POP(y, x1, x2, dy); for (x=x1; x>=0 && gdImageGetPixel(im,x, y)==oc; x--) { gdImageSetPixel(im,x, y, nc); } if (x>=x1) { goto skip; } l = x+1; /* leak on left? */ if (lx2+1) { FILL_PUSH(y, x2+1, x-1, -dy); } skip: for (x++; x<=x2 && (gdImageGetPixel(im, x, y)!=oc); x++); l = x; } while (x<=x2); } gdFree(stack); done: im->alphaBlendingFlag = alphablending_bak; } static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) { int l, x1, x2, dy; int oc; /* old pixel value */ int wx2,wy2; /* stack of filled segments */ struct seg *stack; struct seg *sp; char *pts; if (!im->tile) { return; } wx2=im->sx; wy2=im->sy; if(overflow2(im->sy, im->sx)) { return; } if(overflow2(sizeof(struct seg), ((im->sy * im->sx) / 4))) { return; } pts = (char *) gdCalloc(im->sy * im->sx, sizeof(char)); if (!pts) { return; } stack = (struct seg *)gdMalloc(sizeof(struct seg) * ((int)(im->sy*im->sx)/4)); if (!stack) { gdFree(pts); return; } sp = stack; oc = gdImageGetPixel(im, x, y); /* required! */ FILL_PUSH(y,x,x,1); /* seed segment (popped 1st) */ FILL_PUSH(y+1, x, x, -1); while (sp>stack) { FILL_POP(y, x1, x2, dy); for (x=x1; x>=0 && (!pts[y + x*wy2] && gdImageGetPixel(im,x,y)==oc); x--) { nc = gdImageTileGet(im,x,y); pts[y + x*wy2]=1; gdImageSetPixel(im,x, y, nc); } if (x>=x1) { goto skip; } l = x+1; /* leak on left? */ if (lx2+1) { FILL_PUSH(y, x2+1, x-1, -dy); } skip: for (x++; x<=x2 && (pts[y + x*wy2] || gdImageGetPixel(im,x, y)!=oc); x++); l = x; } while (x<=x2); } gdFree(pts); gdFree(stack); } /** * Function: gdImageRectangle * * Draws a rectangle. * * Parameters: * im - The image. * x1 - The x-coordinate of one of the corners. * y1 - The y-coordinate of one of the corners. * x2 - The x-coordinate of another corner. * y2 - The y-coordinate of another corner. * color - The color. * * See also: * - */ BGD_DECLARE(void) gdImageRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) { int thick = im->thick; if (x1 == x2 && y1 == y2 && thick == 1) { gdImageSetPixel(im, x1, y1, color); return; } if (y2 < y1) { int t = y1; y1 = y2; y2 = t; } if (x2 < x1) { int t = x1; x1 = x2; x2 = t; } if (thick > 1) { int cx, cy, x1ul, y1ul, x2lr, y2lr; int half = thick >> 1; x1ul = x1 - half; y1ul = y1 - half; x2lr = x2 + half; y2lr = y2 + half; cy = y1ul + thick; while (cy-- > y1ul) { cx = x1ul - 1; while (cx++ < x2lr) { gdImageSetPixel(im, cx, cy, color); } } cy = y2lr - thick; while (cy++ < y2lr) { cx = x1ul - 1; while (cx++ < x2lr) { gdImageSetPixel(im, cx, cy, color); } } cy = y1ul + thick - 1; while (cy++ < y2lr -thick) { cx = x1ul - 1; while (cx++ < x1ul + thick) { gdImageSetPixel(im, cx, cy, color); } } cy = y1ul + thick - 1; while (cy++ < y2lr -thick) { cx = x2lr - thick - 1; while (cx++ < x2lr) { gdImageSetPixel(im, cx, cy, color); } } return; } else { if (x1 == x2 || y1 == y2) { gdImageLine(im, x1, y1, x2, y2, color); } else { gdImageLine(im, x1, y1, x2, y1, color); gdImageLine(im, x1, y2, x2, y2, color); gdImageLine(im, x1, y1 + 1, x1, y2 - 1, color); gdImageLine(im, x2, y1 + 1, x2, y2 - 1, color); } } } static void _gdImageFilledHRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) { int x, y; if (x1 == x2 && y1 == y2) { gdImageSetPixel(im, x1, y1, color); return; } if (x1 > x2) { x = x1; x1 = x2; x2 = x; } if (y1 > y2) { y = y1; y1 = y2; y2 = y; } if (x1 < 0) { x1 = 0; } if (x2 >= gdImageSX(im)) { x2 = gdImageSX(im) - 1; } if (y1 < 0) { y1 = 0; } if (y2 >= gdImageSY(im)) { y2 = gdImageSY(im) - 1; } for (x = x1; (x <= x2); x++) { for (y = y1; (y <= y2); y++) { gdImageSetPixel (im, x, y, color); } } } static void _gdImageFilledVRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) { int x, y; if (x1 == x2 && y1 == y2) { gdImageSetPixel(im, x1, y1, color); return; } if (x1 > x2) { x = x1; x1 = x2; x2 = x; } if (y1 > y2) { y = y1; y1 = y2; y2 = y; } if (x1 < 0) { x1 = 0; } if (x2 >= gdImageSX(im)) { x2 = gdImageSX(im) - 1; } if (y1 < 0) { y1 = 0; } if (y2 >= gdImageSY(im)) { y2 = gdImageSY(im) - 1; } for (y = y1; (y <= y2); y++) { for (x = x1; (x <= x2); x++) { gdImageSetPixel (im, x, y, color); } } } /* Function: gdImageFilledRectangle */ BGD_DECLARE(void) gdImageFilledRectangle (gdImagePtr im, int x1, int y1, int x2, int y2, int color) { _gdImageFilledVRectangle(im, x1, y1, x2, y2, color); } /** * Group: Cloning and Copying */ /** * Function: gdImageClone * * Clones an image * * Creates an exact duplicate of the given image. * * Parameters: * src - The source image. * * Returns: * The cloned image on success, NULL on failure. */ BGD_DECLARE(gdImagePtr) gdImageClone (gdImagePtr src) { gdImagePtr dst; register int i, x; if (src->trueColor) { dst = gdImageCreateTrueColor(src->sx , src->sy); } else { dst = gdImageCreate(src->sx , src->sy); } if (dst == NULL) { return NULL; } if (src->trueColor == 0) { dst->colorsTotal = src->colorsTotal; for (i = 0; i < gdMaxColors; i++) { dst->red[i] = src->red[i]; dst->green[i] = src->green[i]; dst->blue[i] = src->blue[i]; dst->alpha[i] = src->alpha[i]; dst->open[i] = src->open[i]; } for (i = 0; i < src->sy; i++) { for (x = 0; x < src->sx; x++) { dst->pixels[i][x] = src->pixels[i][x]; } } } else { for (i = 0; i < src->sy; i++) { for (x = 0; x < src->sx; x++) { dst->tpixels[i][x] = src->tpixels[i][x]; } } } dst->interlace = src->interlace; dst->alphaBlendingFlag = src->alphaBlendingFlag; dst->saveAlphaFlag = src->saveAlphaFlag; dst->AA = src->AA; dst->AA_color = src->AA_color; dst->AA_dont_blend = src->AA_dont_blend; dst->cx1 = src->cx1; dst->cy1 = src->cy1; dst->cx2 = src->cx2; dst->cy2 = src->cy2; dst->res_x = src->res_x; dst->res_y = src->res_y; dst->paletteQuantizationMethod = src->paletteQuantizationMethod; dst->paletteQuantizationSpeed = src->paletteQuantizationSpeed; dst->paletteQuantizationMinQuality = src->paletteQuantizationMinQuality; dst->paletteQuantizationMinQuality = src->paletteQuantizationMinQuality; dst->interpolation_id = src->interpolation_id; dst->interpolation = src->interpolation; if (src->brush) { dst->brush = gdImageClone(src->brush); } if (src->tile) { dst->tile = gdImageClone(src->tile); } if (src->style) { gdImageSetStyle(dst, src->style, src->styleLength); dst->stylePos = src->stylePos; } for (i = 0; i < gdMaxColors; i++) { dst->brushColorMap[i] = src->brushColorMap[i]; dst->tileColorMap[i] = src->tileColorMap[i]; } if (src->polyAllocated > 0) { dst->polyAllocated = src->polyAllocated; for (i = 0; i < src->polyAllocated; i++) { dst->polyInts[i] = src->polyInts[i]; } } return dst; } /** * Function: gdImageCopy * * Copy an area of an image to another image * * Parameters: * dst - The destination image. * src - The source image. * dstX - The x-coordinate of the upper left corner to copy to. * dstY - The y-coordinate of the upper left corner to copy to. * srcX - The x-coordinate of the upper left corner to copy from. * srcY - The y-coordinate of the upper left corner to copy from. * w - The width of the area to copy. * h - The height of the area to copy. * * See also: * - * - */ BGD_DECLARE(void) gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h) { int c; int x, y; int tox, toy; int i; int colorMap[gdMaxColors]; if (dst->trueColor) { /* 2.0: much easier when the destination is truecolor. */ /* 2.0.10: needs a transparent-index check that is still valid if * * the source is not truecolor. Thanks to Frank Warmerdam. */ if (src->trueColor) { for (y = 0; (y < h); y++) { for (x = 0; (x < w); x++) { int c = gdImageGetTrueColorPixel (src, srcX + x, srcY + y); if (c != src->transparent) { gdImageSetPixel (dst, dstX + x, dstY + y, c); } } } } else { /* source is palette based */ for (y = 0; (y < h); y++) { for (x = 0; (x < w); x++) { int c = gdImageGetPixel (src, srcX + x, srcY + y); if (c != src->transparent) { gdImageSetPixel(dst, dstX + x, dstY + y, gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c])); } } } } return; } for (i = 0; (i < gdMaxColors); i++) { colorMap[i] = (-1); } toy = dstY; for (y = srcY; (y < (srcY + h)); y++) { tox = dstX; for (x = srcX; (x < (srcX + w)); x++) { int nc; int mapTo; c = gdImageGetPixel (src, x, y); /* Added 7/24/95: support transparent copies */ if (gdImageGetTransparent (src) == c) { tox++; continue; } /* Have we established a mapping for this color? */ if (src->trueColor) { /* 2.05: remap to the palette available in the destination image. This is slow and works badly, but it beats crashing! Thanks to Padhrig McCarthy. */ mapTo = gdImageColorResolveAlpha (dst, gdTrueColorGetRed (c), gdTrueColorGetGreen (c), gdTrueColorGetBlue (c), gdTrueColorGetAlpha (c)); } else if (colorMap[c] == (-1)) { /* If it's the same image, mapping is trivial */ if (dst == src) { nc = c; } else { /* Get best match possible. This function never returns error. */ nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); } colorMap[c] = nc; mapTo = colorMap[c]; } else { mapTo = colorMap[c]; } gdImageSetPixel (dst, tox, toy, mapTo); tox++; } toy++; } } /** * Function: gdImageCopyMerge * * Copy an area of an image to another image ignoring alpha * * The source area will be copied to the destination are by merging the pixels. * * Note: * This function is a substitute for real alpha channel operations, * so it doesn't pay attention to the alpha channel. * * Parameters: * dst - The destination image. * src - The source image. * dstX - The x-coordinate of the upper left corner to copy to. * dstY - The y-coordinate of the upper left corner to copy to. * srcX - The x-coordinate of the upper left corner to copy from. * srcY - The y-coordinate of the upper left corner to copy from. * w - The width of the area to copy. * h - The height of the area to copy. * pct - The percentage in range 0..100. * * See also: * - * - */ BGD_DECLARE(void) gdImageCopyMerge (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) { int c, dc; int x, y; int tox, toy; int ncR, ncG, ncB; toy = dstY; for (y = srcY; (y < (srcY + h)); y++) { tox = dstX; for (x = srcX; (x < (srcX + w)); x++) { int nc; c = gdImageGetPixel (src, x, y); /* Added 7/24/95: support transparent copies */ if (gdImageGetTransparent (src) == c) { tox++; continue; } /* If it's the same image, mapping is trivial */ if (dst == src) { nc = c; } else { dc = gdImageGetPixel (dst, tox, toy); ncR = gdImageRed (src, c) * (pct / 100.0) + gdImageRed (dst, dc) * ((100 - pct) / 100.0); ncG = gdImageGreen (src, c) * (pct / 100.0) + gdImageGreen (dst, dc) * ((100 - pct) / 100.0); ncB = gdImageBlue (src, c) * (pct / 100.0) + gdImageBlue (dst, dc) * ((100 - pct) / 100.0); /* Find a reasonable color */ nc = gdImageColorResolve (dst, ncR, ncG, ncB); } gdImageSetPixel (dst, tox, toy, nc); tox++; } toy++; } } /** * Function: gdImageCopyMergeGray * * Copy an area of an image to another image ignoring alpha * * The source area will be copied to the grayscaled destination area by merging * the pixels. * * Note: * This function is a substitute for real alpha channel operations, * so it doesn't pay attention to the alpha channel. * * Parameters: * dst - The destination image. * src - The source image. * dstX - The x-coordinate of the upper left corner to copy to. * dstY - The y-coordinate of the upper left corner to copy to. * srcX - The x-coordinate of the upper left corner to copy from. * srcY - The y-coordinate of the upper left corner to copy from. * w - The width of the area to copy. * h - The height of the area to copy. * pct - The percentage of the source color intensity in range 0..100. * * See also: * - * - */ BGD_DECLARE(void) gdImageCopyMergeGray (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int w, int h, int pct) { int c, dc; int x, y; int tox, toy; int ncR, ncG, ncB; float g; toy = dstY; for (y = srcY; (y < (srcY + h)); y++) { tox = dstX; for (x = srcX; (x < (srcX + w)); x++) { int nc; c = gdImageGetPixel (src, x, y); /* Added 7/24/95: support transparent copies */ if (gdImageGetTransparent (src) == c) { tox++; continue; } /* * If it's the same image, mapping is NOT trivial since we * merge with greyscale target, but if pct is 100, the grey * value is not used, so it becomes trivial. pjw 2.0.12. */ if (dst == src && pct == 100) { nc = c; } else { dc = gdImageGetPixel (dst, tox, toy); g = 0.29900 * gdImageRed(dst, dc) + 0.58700 * gdImageGreen(dst, dc) + 0.11400 * gdImageBlue(dst, dc); ncR = gdImageRed (src, c) * (pct / 100.0) + g * ((100 - pct) / 100.0); ncG = gdImageGreen (src, c) * (pct / 100.0) + g * ((100 - pct) / 100.0); ncB = gdImageBlue (src, c) * (pct / 100.0) + g * ((100 - pct) / 100.0); /* First look for an exact match */ nc = gdImageColorExact (dst, ncR, ncG, ncB); if (nc == (-1)) { /* No, so try to allocate it */ nc = gdImageColorAllocate (dst, ncR, ncG, ncB); /* If we're out of colors, go for the closest color */ if (nc == (-1)) { nc = gdImageColorClosest (dst, ncR, ncG, ncB); } } } gdImageSetPixel (dst, tox, toy, nc); tox++; } toy++; } } /** * Function: gdImageCopyResized * * Copy a resized area from an image to another image * * If the source and destination area differ in size, the area will be resized * using nearest-neighbor interpolation. * * Parameters: * dst - The destination image. * src - The source image. * dstX - The x-coordinate of the upper left corner to copy to. * dstY - The y-coordinate of the upper left corner to copy to. * srcX - The x-coordinate of the upper left corner to copy from. * srcY - The y-coordinate of the upper left corner to copy from. * dstW - The width of the area to copy to. * dstH - The height of the area to copy to. * srcW - The width of the area to copy from. * srcH - The height of the area to copy from. * * See also: * - * - */ BGD_DECLARE(void) gdImageCopyResized (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) { int c; int x, y; int tox, toy; int ydest; int i; int colorMap[gdMaxColors]; /* Stretch vectors */ int *stx; int *sty; /* We only need to use floating point to determine the correct stretch vector for one line's worth. */ if (overflow2(sizeof (int), srcW)) { return; } if (overflow2(sizeof (int), srcH)) { return; } stx = (int *) gdMalloc (sizeof (int) * srcW); if (!stx) { return; } sty = (int *) gdMalloc (sizeof (int) * srcH); if (!sty) { gdFree(stx); return; } /* Fixed by Mao Morimoto 2.0.16 */ for (i = 0; (i < srcW); i++) { stx[i] = dstW * (i + 1) / srcW - dstW * i / srcW; } for (i = 0; (i < srcH); i++) { sty[i] = dstH * (i + 1) / srcH - dstH * i / srcH; } for (i = 0; (i < gdMaxColors); i++) { colorMap[i] = (-1); } toy = dstY; for (y = srcY; (y < (srcY + srcH)); y++) { for (ydest = 0; (ydest < sty[y - srcY]); ydest++) { tox = dstX; for (x = srcX; (x < (srcX + srcW)); x++) { int nc = 0; int mapTo; if (!stx[x - srcX]) { continue; } if (dst->trueColor) { /* 2.0.9: Thorben Kundinger: Maybe the source image is not a truecolor image */ if (!src->trueColor) { int tmp = gdImageGetPixel (src, x, y); mapTo = gdImageGetTrueColorPixel (src, x, y); if (gdImageGetTransparent (src) == tmp) { /* 2.0.21, TK: not tox++ */ tox += stx[x - srcX]; continue; } } else { /* TK: old code follows */ mapTo = gdImageGetTrueColorPixel (src, x, y); /* Added 7/24/95: support transparent copies */ if (gdImageGetTransparent (src) == mapTo) { /* 2.0.21, TK: not tox++ */ tox += stx[x - srcX]; continue; } } } else { c = gdImageGetPixel (src, x, y); /* Added 7/24/95: support transparent copies */ if (gdImageGetTransparent (src) == c) { tox += stx[x - srcX]; continue; } if (src->trueColor) { /* Remap to the palette available in the destination image. This is slow and works badly. */ mapTo = gdImageColorResolveAlpha (dst, gdTrueColorGetRed (c), gdTrueColorGetGreen (c), gdTrueColorGetBlue (c), gdTrueColorGetAlpha (c)); } else { /* Have we established a mapping for this color? */ if (colorMap[c] == (-1)) { /* If it's the same image, mapping is trivial */ if (dst == src) { nc = c; } else { /* Find or create the best match */ /* 2.0.5: can't use gdTrueColorGetRed, etc with palette */ nc = gdImageColorResolveAlpha (dst, gdImageRed (src, c), gdImageGreen (src, c), gdImageBlue (src, c), gdImageAlpha (src, c)); } colorMap[c] = nc; } mapTo = colorMap[c]; } } for (i = 0; (i < stx[x - srcX]); i++) { gdImageSetPixel (dst, tox, toy, mapTo); tox++; } } toy++; } } gdFree (stx); gdFree (sty); } /** * Function: gdImageCopyRotated * * Copy a rotated area from an image to another image * * The area is counter-clockwise rotated using nearest-neighbor interpolation. * * Parameters: * dst - The destination image. * src - The source image. * dstX - The x-coordinate of the center of the area to copy to. * dstY - The y-coordinate of the center of the area to copy to. * srcX - The x-coordinate of the upper left corner to copy from. * srcY - The y-coordinate of the upper left corner to copy from. * srcW - The width of the area to copy from. * srcH - The height of the area to copy from. * angle - The angle in degrees. * * See also: * - */ BGD_DECLARE(void) gdImageCopyRotated (gdImagePtr dst, gdImagePtr src, double dstX, double dstY, int srcX, int srcY, int srcWidth, int srcHeight, int angle) { double dx, dy; double radius = sqrt (srcWidth * srcWidth + srcHeight * srcHeight); double aCos = cos (angle * .0174532925); double aSin = sin (angle * .0174532925); double scX = srcX + ((double) srcWidth) / 2; double scY = srcY + ((double) srcHeight) / 2; int cmap[gdMaxColors]; int i; /* 2.0.34: transparency preservation. The transparentness of the transparent color is more important than its hue. */ if (src->transparent != -1) { if (dst->transparent == -1) { dst->transparent = src->transparent; } } for (i = 0; (i < gdMaxColors); i++) { cmap[i] = (-1); } for (dy = dstY - radius; (dy <= dstY + radius); dy++) { for (dx = dstX - radius; (dx <= dstX + radius); dx++) { double sxd = (dx - dstX) * aCos - (dy - dstY) * aSin; double syd = (dy - dstY) * aCos + (dx - dstX) * aSin; int sx = sxd + scX; int sy = syd + scY; if ((sx >= srcX) && (sx < srcX + srcWidth) && (sy >= srcY) && (sy < srcY + srcHeight)) { int c = gdImageGetPixel (src, sx, sy); /* 2.0.34: transparency wins */ if (c == src->transparent) { gdImageSetPixel (dst, dx, dy, dst->transparent); } else if (!src->trueColor) { /* Use a table to avoid an expensive lookup on every single pixel */ if (cmap[c] == -1) { cmap[c] = gdImageColorResolveAlpha (dst, gdImageRed (src, c), gdImageGreen (src, c), gdImageBlue (src, c), gdImageAlpha (src, c)); } gdImageSetPixel (dst, dx, dy, cmap[c]); } else { gdImageSetPixel (dst, dx, dy, gdImageColorResolveAlpha (dst, gdImageRed (src, c), gdImageGreen (src, c), gdImageBlue (src, c), gdImageAlpha (src, c))); } } } } } /* When gd 1.x was first created, floating point was to be avoided. These days it is often faster than table lookups or integer arithmetic. The routine below is shamelessly, gloriously floating point. TBB */ /* 2.0.10: cast instead of floor() yields 35% performance improvement. Thanks to John Buckman. */ #define floor2(exp) ((long) exp) /*#define floor2(exp) floor(exp)*/ /** * Function: gdImageCopyResampled * * Copy a resampled area from an image to another image * * If the source and destination area differ in size, the area will be resized * using bilinear interpolation for truecolor images, and nearest-neighbor * interpolation for palette images. * * Parameters: * dst - The destination image. * src - The source image. * dstX - The x-coordinate of the upper left corner to copy to. * dstY - The y-coordinate of the upper left corner to copy to. * srcX - The x-coordinate of the upper left corner to copy from. * srcY - The y-coordinate of the upper left corner to copy from. * dstW - The width of the area to copy to. * dstH - The height of the area to copy to. * srcW - The width of the area to copy from. * srcH - The height of the area to copy from. * * See also: * - * - */ BGD_DECLARE(void) gdImageCopyResampled (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH) { int x, y; if (!dst->trueColor) { gdImageCopyResized (dst, src, dstX, dstY, srcX, srcY, dstW, dstH, srcW, srcH); return; } for (y = dstY; (y < dstY + dstH); y++) { for (x = dstX; (x < dstX + dstW); x++) { float sy1, sy2, sx1, sx2; float sx, sy; float spixels = 0.0; float red = 0.0, green = 0.0, blue = 0.0, alpha = 0.0; float alpha_factor, alpha_sum = 0.0, contrib_sum = 0.0; sy1 = ((float)(y - dstY)) * (float)srcH / (float)dstH; sy2 = ((float)(y + 1 - dstY)) * (float) srcH / (float) dstH; sy = sy1; do { float yportion; if (floorf(sy) == floorf(sy1)) { yportion = 1.0 - (sy - floorf(sy)); if (yportion > sy2 - sy1) { yportion = sy2 - sy1; } sy = floorf(sy); } else if (sy == floorf(sy2)) { yportion = sy2 - floorf(sy2); } else { yportion = 1.0; } sx1 = ((float)(x - dstX)) * (float) srcW / dstW; sx2 = ((float)(x + 1 - dstX)) * (float) srcW / dstW; sx = sx1; do { float xportion; float pcontribution; int p; if (floorf(sx) == floorf(sx1)) { xportion = 1.0 - (sx - floorf(sx)); if (xportion > sx2 - sx1) { xportion = sx2 - sx1; } sx = floorf(sx); } else if (sx == floorf(sx2)) { xportion = sx2 - floorf(sx2); } else { xportion = 1.0; } pcontribution = xportion * yportion; p = gdImageGetTrueColorPixel(src, (int) sx + srcX, (int) sy + srcY); alpha_factor = ((gdAlphaMax - gdTrueColorGetAlpha(p))) * pcontribution; red += gdTrueColorGetRed (p) * alpha_factor; green += gdTrueColorGetGreen (p) * alpha_factor; blue += gdTrueColorGetBlue (p) * alpha_factor; alpha += gdTrueColorGetAlpha (p) * pcontribution; alpha_sum += alpha_factor; contrib_sum += pcontribution; spixels += xportion * yportion; sx += 1.0; } while (sx < sx2); sy += 1.0f; } while (sy < sy2); if (spixels != 0.0) { red /= spixels; green /= spixels; blue /= spixels; alpha /= spixels; } if ( alpha_sum != 0.0) { if( contrib_sum != 0.0) { alpha_sum /= contrib_sum; } red /= alpha_sum; green /= alpha_sum; blue /= alpha_sum; } /* Clamping to allow for rounding errors above */ if (red > 255.0) { red = 255.0; } if (green > 255.0) { green = 255.0; } if (blue > 255.0f) { blue = 255.0; } if (alpha > gdAlphaMax) { alpha = gdAlphaMax; } gdImageSetPixel(dst, x, y, gdTrueColorAlpha ((int) red, (int) green, (int) blue, (int) alpha)); } } } /** * Group: Polygons */ /** * Function: gdImagePolygon * * Draws a closed polygon * * Parameters: * im - The image. * p - The vertices as array of s. * n - The number of vertices. * c - The color. * * See also: * - * - */ BGD_DECLARE(void) gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c) { if (n <= 0) { return; } gdImageLine (im, p->x, p->y, p[n - 1].x, p[n - 1].y, c); gdImageOpenPolygon (im, p, n, c); } /** * Function: gdImageOpenPolygon * * Draws an open polygon * * Parameters: * im - The image. * p - The vertices as array of s. * n - The number of vertices. * c - The color * * See also: * - */ BGD_DECLARE(void) gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c) { int i; int lx, ly; if (n <= 0) { return; } lx = p->x; ly = p->y; for (i = 1; (i < n); i++) { p++; gdImageLine (im, lx, ly, p->x, p->y, c); lx = p->x; ly = p->y; } } /* THANKS to Kirsten Schulz for the polygon fixes! */ /* The intersection finding technique of this code could be improved */ /* by remembering the previous intertersection, and by using the slope. */ /* That could help to adjust intersections to produce a nice */ /* interior_extrema. */ /** * Function: gdImageFilledPolygon * * Draws a filled polygon * * The polygon is filled using the even-odd fillrule what can leave unfilled * regions inside of self-intersecting polygons. This behavior might change in * a future version. * * Parameters: * im - The image. * p - The vertices as array of s. * n - The number of vertices. * c - The color * * See also: * - */ BGD_DECLARE(void) gdImageFilledPolygon (gdImagePtr im, gdPointPtr p, int n, int c) { int i; int j; int index; int y; int miny, maxy, pmaxy; int x1, y1; int x2, y2; int ind1, ind2; int ints; int fill_color; if (n <= 0) { return; } if (c == gdAntiAliased) { fill_color = im->AA_color; } else { fill_color = c; } if (!im->polyAllocated) { if (overflow2(sizeof (int), n)) { return; } im->polyInts = (int *) gdMalloc (sizeof (int) * n); if (!im->polyInts) { return; } im->polyAllocated = n; } if (im->polyAllocated < n) { while (im->polyAllocated < n) { im->polyAllocated *= 2; } if (overflow2(sizeof (int), im->polyAllocated)) { return; } im->polyInts = (int *) gdReallocEx (im->polyInts, sizeof (int) * im->polyAllocated); if (!im->polyInts) { return; } } miny = p[0].y; maxy = p[0].y; for (i = 1; (i < n); i++) { if (p[i].y < miny) { miny = p[i].y; } if (p[i].y > maxy) { maxy = p[i].y; } } /* necessary special case: horizontal line */ if (n > 1 && miny == maxy) { x1 = x2 = p[0].x; for (i = 1; (i < n); i++) { if (p[i].x < x1) { x1 = p[i].x; } else if (p[i].x > x2) { x2 = p[i].x; } } gdImageLine(im, x1, miny, x2, miny, c); return; } pmaxy = maxy; /* 2.0.16: Optimization by Ilia Chipitsine -- don't waste time offscreen */ /* 2.0.26: clipping rectangle is even better */ if (miny < im->cy1) { miny = im->cy1; } if (maxy > im->cy2) { maxy = im->cy2; } /* Fix in 1.3: count a vertex only once */ for (y = miny; (y <= maxy); y++) { ints = 0; for (i = 0; (i < n); i++) { if (!i) { ind1 = n - 1; ind2 = 0; } else { ind1 = i - 1; ind2 = i; } y1 = p[ind1].y; y2 = p[ind2].y; if (y1 < y2) { x1 = p[ind1].x; x2 = p[ind2].x; } else if (y1 > y2) { y2 = p[ind1].y; y1 = p[ind2].y; x2 = p[ind1].x; x1 = p[ind2].x; } else { continue; } /* Do the following math as float intermediately, and round to ensure * that Polygon and FilledPolygon for the same set of points have the * same footprint. */ if ((y >= y1) && (y < y2)) { im->polyInts[ints++] = (int) ((float) ((y - y1) * (x2 - x1)) / (float) (y2 - y1) + 0.5 + x1); } else if ((y == pmaxy) && (y == y2)) { im->polyInts[ints++] = x2; } } /* 2.0.26: polygons pretty much always have less than 100 points, and most of the time they have considerably less. For such trivial cases, insertion sort is a good choice. Also a good choice for future implementations that may wish to indirect through a table. */ for (i = 1; (i < ints); i++) { index = im->polyInts[i]; j = i; while ((j > 0) && (im->polyInts[j - 1] > index)) { im->polyInts[j] = im->polyInts[j - 1]; j--; } im->polyInts[j] = index; } for (i = 0; (i < (ints-1)); i += 2) { /* 2.0.29: back to gdImageLine to prevent segfaults when performing a pattern fill */ gdImageLine (im, im->polyInts[i], y, im->polyInts[i + 1], y, fill_color); } } /* If we are drawing this AA, then redraw the border with AA lines. */ /* This doesn't work as well as I'd like, but it doesn't clash either. */ if (c == gdAntiAliased) { gdImagePolygon (im, p, n, c); } } /** * Group: other */ static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t); /** * Function: gdImageSetStyle * * Sets the style for following drawing operations * * Parameters: * im - The image. * style - An array of color values. * noOfPixel - The number of color values. */ BGD_DECLARE(void) gdImageSetStyle (gdImagePtr im, int *style, int noOfPixels) { if (im->style) { gdFree (im->style); } if (overflow2(sizeof (int), noOfPixels)) { return; } im->style = (int *) gdMalloc (sizeof (int) * noOfPixels); if (!im->style) { return; } memcpy (im->style, style, sizeof (int) * noOfPixels); im->styleLength = noOfPixels; im->stylePos = 0; } /** * Function: gdImageSetThickness * * Sets the thickness for following drawing operations * * Parameters: * im - The image. * thickness - The thickness in pixels. */ BGD_DECLARE(void) gdImageSetThickness (gdImagePtr im, int thickness) { im->thick = thickness; } /** * Function: gdImageSetBrush * * Sets the brush for following drawing operations * * Parameters: * im - The image. * brush - The brush image. */ BGD_DECLARE(void) gdImageSetBrush (gdImagePtr im, gdImagePtr brush) { int i; im->brush = brush; if ((!im->trueColor) && (!im->brush->trueColor)) { for (i = 0; (i < gdImageColorsTotal (brush)); i++) { int index; index = gdImageColorResolveAlpha (im, gdImageRed (brush, i), gdImageGreen (brush, i), gdImageBlue (brush, i), gdImageAlpha (brush, i)); im->brushColorMap[i] = index; } } } /* Function: gdImageSetTile */ BGD_DECLARE(void) gdImageSetTile (gdImagePtr im, gdImagePtr tile) { int i; im->tile = tile; if ((!im->trueColor) && (!im->tile->trueColor)) { for (i = 0; (i < gdImageColorsTotal (tile)); i++) { int index; index = gdImageColorResolveAlpha (im, gdImageRed (tile, i), gdImageGreen (tile, i), gdImageBlue (tile, i), gdImageAlpha (tile, i)); im->tileColorMap[i] = index; } } } /** * Function: gdImageSetAntiAliased * * Set the color for subsequent anti-aliased drawing * * If is passed as color to drawing operations that support * anti-aliased drawing (such as and ), the actual * color to be used can be set with this function. * * Example: draw an anti-aliased blue line: * | gdImageSetAntiAliased(im, gdTrueColorAlpha(0, 0, gdBlueMax, gdAlphaOpaque)); * | gdImageLine(im, 10,10, 20,20, gdAntiAliased); * * Parameters: * im - The image. * c - The color. * * See also: * - */ BGD_DECLARE(void) gdImageSetAntiAliased (gdImagePtr im, int c) { im->AA = 1; im->AA_color = c; im->AA_dont_blend = -1; } /** * Function: gdImageSetAntiAliasedDontBlend * * Set the color and "dont_blend" color for subsequent anti-aliased drawing * * This extended variant of allows to also specify a * (background) color that will not be blended in anti-aliased drawing * operations. * * Parameters: * im - The image. * c - The color. * dont_blend - Whether to blend. */ BGD_DECLARE(void) gdImageSetAntiAliasedDontBlend (gdImagePtr im, int c, int dont_blend) { im->AA = 1; im->AA_color = c; im->AA_dont_blend = dont_blend; } /** * Function: gdImageInterlace * * Sets whether an image is interlaced * * This is relevant only when saving the image in a format that supports * interlacing. * * Parameters: * im - The image. * interlaceArg - Whether the image is interlaced. * * See also: * - */ BGD_DECLARE(void) gdImageInterlace (gdImagePtr im, int interlaceArg) { im->interlace = interlaceArg; } /** * Function: gdImageCompare * * Compare two images * * Parameters: * im1 - An image. * im2 - Another image. * * Returns: * A bitmask of flags where each set flag signals * which attributes of the images are different. */ BGD_DECLARE(int) gdImageCompare (gdImagePtr im1, gdImagePtr im2) { int x, y; int p1, p2; int cmpStatus = 0; int sx, sy; if (im1->interlace != im2->interlace) { cmpStatus |= GD_CMP_INTERLACE; } if (im1->transparent != im2->transparent) { cmpStatus |= GD_CMP_TRANSPARENT; } if (im1->trueColor != im2->trueColor) { cmpStatus |= GD_CMP_TRUECOLOR; } sx = im1->sx; if (im1->sx != im2->sx) { cmpStatus |= GD_CMP_SIZE_X + GD_CMP_IMAGE; if (im2->sx < im1->sx) { sx = im2->sx; } } sy = im1->sy; if (im1->sy != im2->sy) { cmpStatus |= GD_CMP_SIZE_Y + GD_CMP_IMAGE; if (im2->sy < im1->sy) { sy = im2->sy; } } if (im1->colorsTotal != im2->colorsTotal) { cmpStatus |= GD_CMP_NUM_COLORS; } for (y = 0; (y < sy); y++) { for (x = 0; (x < sx); x++) { p1 = im1->trueColor ? gdImageTrueColorPixel (im1, x, y) : gdImagePalettePixel (im1, x, y); p2 = im2->trueColor ? gdImageTrueColorPixel (im2, x, y) : gdImagePalettePixel (im2, x, y); if (gdImageRed (im1, p1) != gdImageRed (im2, p2)) { cmpStatus |= GD_CMP_COLOR + GD_CMP_IMAGE; break; } if (gdImageGreen (im1, p1) != gdImageGreen (im2, p2)) { cmpStatus |= GD_CMP_COLOR + GD_CMP_IMAGE; break; } if (gdImageBlue (im1, p1) != gdImageBlue (im2, p2)) { cmpStatus |= GD_CMP_COLOR + GD_CMP_IMAGE; break; } #if 0 /* Soon we'll add alpha channel to palettes */ if (gdImageAlpha (im1, p1) != gdImageAlpha (im2, p2)) { cmpStatus |= GD_CMP_COLOR + GD_CMP_IMAGE; break; } #endif } if (cmpStatus & GD_CMP_COLOR) { break; }; } return cmpStatus; } /* Thanks to Frank Warmerdam for this superior implementation of gdAlphaBlend(), which merges alpha in the destination color much better. */ /** * Function: gdAlphaBlend * * Blend two colors * * Parameters: * dst - The color to blend onto. * src - The color to blend. * * See also: * - * - * - */ BGD_DECLARE(int) gdAlphaBlend (int dst, int src) { int src_alpha = gdTrueColorGetAlpha(src); int dst_alpha, alpha, red, green, blue; int src_weight, dst_weight, tot_weight; /* -------------------------------------------------------------------- */ /* Simple cases we want to handle fast. */ /* -------------------------------------------------------------------- */ if( src_alpha == gdAlphaOpaque ) return src; dst_alpha = gdTrueColorGetAlpha(dst); if( src_alpha == gdAlphaTransparent ) return dst; if( dst_alpha == gdAlphaTransparent ) return src; /* -------------------------------------------------------------------- */ /* What will the source and destination alphas be? Note that */ /* the destination weighting is substantially reduced as the */ /* overlay becomes quite opaque. */ /* -------------------------------------------------------------------- */ src_weight = gdAlphaTransparent - src_alpha; dst_weight = (gdAlphaTransparent - dst_alpha) * src_alpha / gdAlphaMax; tot_weight = src_weight + dst_weight; /* -------------------------------------------------------------------- */ /* What red, green and blue result values will we use? */ /* -------------------------------------------------------------------- */ alpha = src_alpha * dst_alpha / gdAlphaMax; red = (gdTrueColorGetRed(src) * src_weight + gdTrueColorGetRed(dst) * dst_weight) / tot_weight; green = (gdTrueColorGetGreen(src) * src_weight + gdTrueColorGetGreen(dst) * dst_weight) / tot_weight; blue = (gdTrueColorGetBlue(src) * src_weight + gdTrueColorGetBlue(dst) * dst_weight) / tot_weight; /* -------------------------------------------------------------------- */ /* Return merged result. */ /* -------------------------------------------------------------------- */ return ((alpha << 24) + (red << 16) + (green << 8) + blue); } static int gdAlphaOverlayColor (int src, int dst, int max ); /** * Function: gdLayerOverlay * * Overlay two colors * * Parameters: * dst - The color to overlay onto. * src - The color to overlay. * * See also: * - * - * - */ BGD_DECLARE(int) gdLayerOverlay (int dst, int src) { int a1, a2; a1 = gdAlphaMax - gdTrueColorGetAlpha(dst); a2 = gdAlphaMax - gdTrueColorGetAlpha(src); return ( ((gdAlphaMax - a1*a2/gdAlphaMax) << 24) + (gdAlphaOverlayColor( gdTrueColorGetRed(src), gdTrueColorGetRed(dst), gdRedMax ) << 16) + (gdAlphaOverlayColor( gdTrueColorGetGreen(src), gdTrueColorGetGreen(dst), gdGreenMax ) << 8) + (gdAlphaOverlayColor( gdTrueColorGetBlue(src), gdTrueColorGetBlue(dst), gdBlueMax )) ); } /* Apply 'overlay' effect - background pixels are colourised by the foreground colour */ static int gdAlphaOverlayColor (int src, int dst, int max ) { dst = dst << 1; if( dst > max ) { /* in the "light" zone */ return dst + (src << 1) - (dst * src / max) - max; } else { /* in the "dark" zone */ return dst * src / max; } } /** * Function: gdLayerMultiply * * Overlay two colors with multiply effect * * Parameters: * dst - The color to overlay onto. * src - The color to overlay. * * See also: * - * - * - */ BGD_DECLARE(int) gdLayerMultiply (int dst, int src) { int a1, a2, r1, r2, g1, g2, b1, b2; a1 = gdAlphaMax - gdTrueColorGetAlpha(src); a2 = gdAlphaMax - gdTrueColorGetAlpha(dst); r1 = gdRedMax - (a1 * (gdRedMax - gdTrueColorGetRed(src))) / gdAlphaMax; r2 = gdRedMax - (a2 * (gdRedMax - gdTrueColorGetRed(dst))) / gdAlphaMax; g1 = gdGreenMax - (a1 * (gdGreenMax - gdTrueColorGetGreen(src))) / gdAlphaMax; g2 = gdGreenMax - (a2 * (gdGreenMax - gdTrueColorGetGreen(dst))) / gdAlphaMax; b1 = gdBlueMax - (a1 * (gdBlueMax - gdTrueColorGetBlue(src))) / gdAlphaMax; b2 = gdBlueMax - (a2 * (gdBlueMax - gdTrueColorGetBlue(dst))) / gdAlphaMax ; a1 = gdAlphaMax - a1; a2 = gdAlphaMax - a2; return ( ((a1*a2/gdAlphaMax) << 24) + ((r1*r2/gdRedMax) << 16) + ((g1*g2/gdGreenMax) << 8) + ((b1*b2/gdBlueMax)) ); } /** * Function: gdImageAlphaBlending * * Set the effect for subsequent drawing operations * * Note that the effect is used for truecolor images only. * * Parameters: * im - The image. * alphaBlendingArg - The effect. * * See also: * - */ BGD_DECLARE(void) gdImageAlphaBlending (gdImagePtr im, int alphaBlendingArg) { im->alphaBlendingFlag = alphaBlendingArg; } /** * Function: gdImageSaveAlpha * * Sets the save alpha flag * * The save alpha flag specifies whether the alpha channel of the pixels should * be saved. This is supported only for image formats that support full alpha * transparency, e.g. PNG. */ BGD_DECLARE(void) gdImageSaveAlpha (gdImagePtr im, int saveAlphaArg) { im->saveAlphaFlag = saveAlphaArg; } /** * Function: gdImageSetClip * * Sets the clipping rectangle * * The clipping rectangle restricts the drawing area for following drawing * operations. * * Parameters: * im - The image. * x1 - The x-coordinate of the upper left corner. * y1 - The y-coordinate of the upper left corner. * x2 - The x-coordinate of the lower right corner. * y2 - The y-coordinate of the lower right corner. * * See also: * - */ BGD_DECLARE(void) gdImageSetClip (gdImagePtr im, int x1, int y1, int x2, int y2) { if (x1 < 0) { x1 = 0; } if (x1 >= im->sx) { x1 = im->sx - 1; } if (x2 < 0) { x2 = 0; } if (x2 >= im->sx) { x2 = im->sx - 1; } if (y1 < 0) { y1 = 0; } if (y1 >= im->sy) { y1 = im->sy - 1; } if (y2 < 0) { y2 = 0; } if (y2 >= im->sy) { y2 = im->sy - 1; } im->cx1 = x1; im->cy1 = y1; im->cx2 = x2; im->cy2 = y2; } /** * Function: gdImageGetClip * * Gets the current clipping rectangle * * Parameters: * im - The image. * x1P - (out) The x-coordinate of the upper left corner. * y1P - (out) The y-coordinate of the upper left corner. * x2P - (out) The x-coordinate of the lower right corner. * y2P - (out) The y-coordinate of the lower right corner. * * See also: * - */ BGD_DECLARE(void) gdImageGetClip (gdImagePtr im, int *x1P, int *y1P, int *x2P, int *y2P) { *x1P = im->cx1; *y1P = im->cy1; *x2P = im->cx2; *y2P = im->cy2; } /** * Function: gdImageSetResolution * * Sets the resolution of an image. * * Parameters: * im - The image. * res_x - The horizontal resolution in DPI. * res_y - The vertical resolution in DPI. * * See also: * - * - */ BGD_DECLARE(void) gdImageSetResolution(gdImagePtr im, const unsigned int res_x, const unsigned int res_y) { if (res_x > 0) im->res_x = res_x; if (res_y > 0) im->res_y = res_y; } /* * Added on 2003/12 by Pierre-Alain Joye (pajoye@pearfr.org) * */ #define BLEND_COLOR(a, nc, c, cc) \ nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8); static void gdImageSetAAPixelColor(gdImagePtr im, int x, int y, int color, int t) { int dr,dg,db,p,r,g,b; /* 2.0.34: watch out for out of range calls */ if (!gdImageBoundsSafeMacro(im, x, y)) { return; } p = gdImageGetPixel(im,x,y); /* TBB: we have to implement the dont_blend stuff to provide the full feature set of the old implementation */ if ((p == color) || ((p == im->AA_dont_blend) && (t != 0x00))) { return; } dr = gdTrueColorGetRed(color); dg = gdTrueColorGetGreen(color); db = gdTrueColorGetBlue(color); r = gdTrueColorGetRed(p); g = gdTrueColorGetGreen(p); b = gdTrueColorGetBlue(p); BLEND_COLOR(t, dr, r, dr); BLEND_COLOR(t, dg, g, dg); BLEND_COLOR(t, db, b, db); im->tpixels[y][x] = gdTrueColorAlpha(dr, dg, db, gdAlphaOpaque); } static void gdImageAALine (gdImagePtr im, int x1, int y1, int x2, int y2, int col) { /* keep them as 32bits */ long x, y, inc, frac; long dx, dy,tmp; int w, wid, wstart; int thick = im->thick; if (!im->trueColor) { /* TBB: don't crash when the image is of the wrong type */ gdImageLine(im, x1, y1, x2, y2, col); return; } /* TBB: use the clipping rectangle */ if (clip_1d (&x1, &y1, &x2, &y2, im->cx1, im->cx2) == 0) return; if (clip_1d (&y1, &x1, &y2, &x2, im->cy1, im->cy2) == 0) return; dx = x2 - x1; dy = y2 - y1; if (dx == 0 && dy == 0) { /* TBB: allow setting points */ gdImageSetPixel(im, x1, y1, col); return; } else { double ag; /* Cast the long to an int to avoid compiler warnings about truncation. * This isn't a problem as computed dy/dx values came from ints above. */ ag = fabs(abs((int)dy) < abs((int)dx) ? cos(atan2(dy, dx)) : sin(atan2(dy, dx))); if (ag != 0) { wid = thick / ag; } else { wid = 1; } if (wid == 0) { wid = 1; } } /* Axis aligned lines */ if (dx == 0) { gdImageVLine(im, x1, y1, y2, col); return; } else if (dy == 0) { gdImageHLine(im, y1, x1, x2, col); return; } if (abs((int)dx) > abs((int)dy)) { if (dx < 0) { tmp = x1; x1 = x2; x2 = tmp; tmp = y1; y1 = y2; y2 = tmp; dx = x2 - x1; dy = y2 - y1; } y = y1; inc = (dy * 65536) / dx; frac = 0; /* TBB: set the last pixel for consistency (<=) */ for (x = x1 ; x <= x2 ; x++) { wstart = y - wid / 2; for (w = wstart; w < wstart + wid; w++) { gdImageSetAAPixelColor(im, x , w , col , (frac >> 8) & 0xFF); gdImageSetAAPixelColor(im, x , w + 1 , col, (~frac >> 8) & 0xFF); } frac += inc; if (frac >= 65536) { frac -= 65536; y++; } else if (frac < 0) { frac += 65536; y--; } } } else { if (dy < 0) { tmp = x1; x1 = x2; x2 = tmp; tmp = y1; y1 = y2; y2 = tmp; dx = x2 - x1; dy = y2 - y1; } x = x1; inc = (dx * 65536) / dy; frac = 0; /* TBB: set the last pixel for consistency (<=) */ for (y = y1 ; y <= y2 ; y++) { wstart = x - wid / 2; for (w = wstart; w < wstart + wid; w++) { gdImageSetAAPixelColor(im, w , y , col, (frac >> 8) & 0xFF); gdImageSetAAPixelColor(im, w + 1, y, col, (~frac >> 8) & 0xFF); } frac += inc; if (frac >= 65536) { frac -= 65536; x++; } else if (frac < 0) { frac += 65536; x--; } } } } /** * Function: gdImagePaletteToTrueColor * * Convert a palette image to true color * * Parameters: * src - The image. * * Returns: * Non-zero if the conversion succeeded, zero otherwise. * * See also: * - */ BGD_DECLARE(int) gdImagePaletteToTrueColor(gdImagePtr src) { unsigned int y; unsigned int yy; if (src == NULL) { return 0; } if (src->trueColor == 1) { return 1; } else { unsigned int x; const unsigned int sy = gdImageSY(src); const unsigned int sx = gdImageSX(src); src->tpixels = (int **) gdMalloc(sizeof(int *) * sy); if (src->tpixels == NULL) { return 0; } for (y = 0; y < sy; y++) { const unsigned char *src_row = src->pixels[y]; int * dst_row; /* no need to calloc it, we overwrite all pxl anyway */ src->tpixels[y] = (int *) gdMalloc(sx * sizeof(int)); if (src->tpixels[y] == NULL) { goto clean_on_error; } dst_row = src->tpixels[y]; for (x = 0; x < sx; x++) { const unsigned char c = *(src_row + x); if (c == src->transparent) { *(dst_row + x) = gdTrueColorAlpha(0, 0, 0, 127); } else { *(dst_row + x) = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); } } } } /* free old palette buffer (y is sy) */ for (yy = 0; yy < y; yy++) { gdFree(src->pixels[yy]); } gdFree(src->pixels); src->trueColor = 1; src->pixels = NULL; src->alphaBlendingFlag = 0; src->saveAlphaFlag = 1; if (src->transparent >= 0) { const unsigned char c = src->transparent; src->transparent = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]); } return 1; clean_on_error: /* free new true color buffer (y is not allocated, have failed) */ for (yy = 0; yy < y; yy++) { gdFree(src->tpixels[yy]); } gdFree(src->tpixels); return 0; } libgd-2.3.0/src/gdfontg.c0000664000175000017500000033407413635665516012136 00000000000000/* This is a header file for gd font, generated using bdftogd version 0.51 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -Misc-Fixed-Bold-R-Normal-Sans-15-140-75-75-C-90-ISO8859-2 at Mon Jan 26 14:45:58 1998. The original bdf was holding following copyright: "Libor Skarvada, libor@informatics.muni.cz" */ /** * File: Giant Font * * A very large ISO-8859-2 raster font (9x15 pixels). * * The font is supposed to be used with and * and their variants. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gdfontg.h" char gdFontGiantData[] = { /* Char 0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; gdFont gdFontGiantRep = { 256, 0, 9, 15, gdFontGiantData }; BGD_EXPORT_DATA_PROT gdFontPtr gdFontGiant = &gdFontGiantRep; /** * Function: gdFontGetGiant * * Returns the built-in giant font. */ BGD_DECLARE(gdFontPtr) gdFontGetGiant (void) { return gdFontGiant; } /* This file has not been truncated. */ libgd-2.3.0/src/gd_color_map.h0000664000175000017500000000073613634445460013124 00000000000000#ifndef GD_COLOR_MAP_H #define GD_COLOR_MAP_H 1 #include "gd.h" #ifdef __cplusplus extern "C" { #endif typedef struct { char *color_name; int red; int green; int blue; } gdColorMapEntry; typedef struct { int num_entries; gdColorMapEntry *entries; } gdColorMap; extern BGD_EXPORT_DATA_PROT gdColorMap GD_COLOR_MAP_X11; BGD_DECLARE(int) gdColorMapLookup(const gdColorMap color_map, const char *color_name, int *r, int *g, int *b); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gd2copypal.c0000664000175000017500000000240213635665516012535 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "gd.h" /* A short program which converts a .png file into a .gd file, for your convenience in creating images on the fly from a basis image that must be loaded quickly. The .gd format is not intended to be a general-purpose format. */ int main (int argc, char **argv) { gdImagePtr im; gdImagePtr pal; FILE *in, *out; if (argc != 3) { fprintf(stderr, "Usage: gd2copypal palettefile.gd2 filename.gd2\n"); exit (1); } in = fopen (argv[1], "rb"); if (!in) { fprintf(stderr, "Palette file does not exist!\n"); exit (1); } pal = gdImageCreateFromGd2 (in); fclose (in); if (!pal) { fprintf(stderr, "Palette is not in GD2 format!\n"); exit (1); } in = fopen (argv[2], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit (1); } im = gdImageCreateFromGd2 (in); fclose (in); if (!im) { fprintf(stderr, "Input is not in GD2 format!\n"); exit (1); } gdImagePaletteCopy (im, pal); out = fopen (argv[2], "wb"); if (!out) { fprintf(stderr, "Output file cannot be written to!\n"); gdImageDestroy (im); exit (1); } gdImageGd2 (im, out, 128, 2); fclose (out); gdImageDestroy (pal); gdImageDestroy (im); return 0; } libgd-2.3.0/src/msinttypes/0000775000175000017500000000000013635665564012631 500000000000000libgd-2.3.0/src/msinttypes/inttypes.h0000664000175000017500000001747313635665516014612 00000000000000// ISO C9x compliant inttypes.h for Microsoft Visual Studio // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 // // Copyright (c) 2006 Alexander Chemeris // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // 3. The name of the author may be used to endorse or promote products // derived from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // /////////////////////////////////////////////////////////////////////////////// #ifndef _MSC_VER // [ #error "Use this header only with Microsoft Visual C++ compilers!" #endif // _MSC_VER ] #ifndef _MSC_INTTYPES_H_ // [ #define _MSC_INTTYPES_H_ #if _MSC_VER > 1000 #pragma once #endif #include "stdint.h" // 7.8 Format conversion of integer types typedef struct { intmax_t quot; intmax_t rem; } imaxdiv_t; // 7.8.1 Macros for format specifiers #if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [ See footnote 185 at page 198 // The fprintf macros for signed integers are: #define PRId8 "d" #define PRIi8 "i" #define PRIdLEAST8 "d" #define PRIiLEAST8 "i" #define PRIdFAST8 "d" #define PRIiFAST8 "i" #define PRId16 "hd" #define PRIi16 "hi" #define PRIdLEAST16 "hd" #define PRIiLEAST16 "hi" #define PRIdFAST16 "hd" #define PRIiFAST16 "hi" #define PRId32 "I32d" #define PRIi32 "I32i" #define PRIdLEAST32 "I32d" #define PRIiLEAST32 "I32i" #define PRIdFAST32 "I32d" #define PRIiFAST32 "I32i" #define PRId64 "I64d" #define PRIi64 "I64i" #define PRIdLEAST64 "I64d" #define PRIiLEAST64 "I64i" #define PRIdFAST64 "I64d" #define PRIiFAST64 "I64i" #define PRIdMAX "I64d" #define PRIiMAX "I64i" #define PRIdPTR "Id" #define PRIiPTR "Ii" // The fprintf macros for unsigned integers are: #define PRIo8 "o" #define PRIu8 "u" #define PRIx8 "x" #define PRIX8 "X" #define PRIoLEAST8 "o" #define PRIuLEAST8 "u" #define PRIxLEAST8 "x" #define PRIXLEAST8 "X" #define PRIoFAST8 "o" #define PRIuFAST8 "u" #define PRIxFAST8 "x" #define PRIXFAST8 "X" #define PRIo16 "ho" #define PRIu16 "hu" #define PRIx16 "hx" #define PRIX16 "hX" #define PRIoLEAST16 "ho" #define PRIuLEAST16 "hu" #define PRIxLEAST16 "hx" #define PRIXLEAST16 "hX" #define PRIoFAST16 "ho" #define PRIuFAST16 "hu" #define PRIxFAST16 "hx" #define PRIXFAST16 "hX" #define PRIo32 "I32o" #define PRIu32 "I32u" #define PRIx32 "I32x" #define PRIX32 "I32X" #define PRIoLEAST32 "I32o" #define PRIuLEAST32 "I32u" #define PRIxLEAST32 "I32x" #define PRIXLEAST32 "I32X" #define PRIoFAST32 "I32o" #define PRIuFAST32 "I32u" #define PRIxFAST32 "I32x" #define PRIXFAST32 "I32X" #define PRIo64 "I64o" #define PRIu64 "I64u" #define PRIx64 "I64x" #define PRIX64 "I64X" #define PRIoLEAST64 "I64o" #define PRIuLEAST64 "I64u" #define PRIxLEAST64 "I64x" #define PRIXLEAST64 "I64X" #define PRIoFAST64 "I64o" #define PRIuFAST64 "I64u" #define PRIxFAST64 "I64x" #define PRIXFAST64 "I64X" #define PRIoMAX "I64o" #define PRIuMAX "I64u" #define PRIxMAX "I64x" #define PRIXMAX "I64X" #define PRIoPTR "Io" #define PRIuPTR "Iu" #define PRIxPTR "Ix" #define PRIXPTR "IX" // The fscanf macros for signed integers are: #define SCNd8 "d" #define SCNi8 "i" #define SCNdLEAST8 "d" #define SCNiLEAST8 "i" #define SCNdFAST8 "d" #define SCNiFAST8 "i" #define SCNd16 "hd" #define SCNi16 "hi" #define SCNdLEAST16 "hd" #define SCNiLEAST16 "hi" #define SCNdFAST16 "hd" #define SCNiFAST16 "hi" #define SCNd32 "ld" #define SCNi32 "li" #define SCNdLEAST32 "ld" #define SCNiLEAST32 "li" #define SCNdFAST32 "ld" #define SCNiFAST32 "li" #define SCNd64 "I64d" #define SCNi64 "I64i" #define SCNdLEAST64 "I64d" #define SCNiLEAST64 "I64i" #define SCNdFAST64 "I64d" #define SCNiFAST64 "I64i" #define SCNdMAX "I64d" #define SCNiMAX "I64i" #ifdef _WIN64 // [ # define SCNdPTR "I64d" # define SCNiPTR "I64i" #else // _WIN64 ][ # define SCNdPTR "ld" # define SCNiPTR "li" #endif // _WIN64 ] // The fscanf macros for unsigned integers are: #define SCNo8 "o" #define SCNu8 "u" #define SCNx8 "x" #define SCNX8 "X" #define SCNoLEAST8 "o" #define SCNuLEAST8 "u" #define SCNxLEAST8 "x" #define SCNXLEAST8 "X" #define SCNoFAST8 "o" #define SCNuFAST8 "u" #define SCNxFAST8 "x" #define SCNXFAST8 "X" #define SCNo16 "ho" #define SCNu16 "hu" #define SCNx16 "hx" #define SCNX16 "hX" #define SCNoLEAST16 "ho" #define SCNuLEAST16 "hu" #define SCNxLEAST16 "hx" #define SCNXLEAST16 "hX" #define SCNoFAST16 "ho" #define SCNuFAST16 "hu" #define SCNxFAST16 "hx" #define SCNXFAST16 "hX" #define SCNo32 "lo" #define SCNu32 "lu" #define SCNx32 "lx" #define SCNX32 "lX" #define SCNoLEAST32 "lo" #define SCNuLEAST32 "lu" #define SCNxLEAST32 "lx" #define SCNXLEAST32 "lX" #define SCNoFAST32 "lo" #define SCNuFAST32 "lu" #define SCNxFAST32 "lx" #define SCNXFAST32 "lX" #define SCNo64 "I64o" #define SCNu64 "I64u" #define SCNx64 "I64x" #define SCNX64 "I64X" #define SCNoLEAST64 "I64o" #define SCNuLEAST64 "I64u" #define SCNxLEAST64 "I64x" #define SCNXLEAST64 "I64X" #define SCNoFAST64 "I64o" #define SCNuFAST64 "I64u" #define SCNxFAST64 "I64x" #define SCNXFAST64 "I64X" #define SCNoMAX "I64o" #define SCNuMAX "I64u" #define SCNxMAX "I64x" #define SCNXMAX "I64X" #ifdef _WIN64 // [ # define SCNoPTR "I64o" # define SCNuPTR "I64u" # define SCNxPTR "I64x" # define SCNXPTR "I64X" #else // _WIN64 ][ # define SCNoPTR "lo" # define SCNuPTR "lu" # define SCNxPTR "lx" # define SCNXPTR "lX" #endif // _WIN64 ] #endif // __STDC_FORMAT_MACROS ] // 7.8.2 Functions for greatest-width integer types // 7.8.2.1 The imaxabs function #define imaxabs _abs64 // 7.8.2.2 The imaxdiv function // This is modified version of div() function from Microsoft's div.c found // in %MSVC.NET%\crt\src\div.c #ifdef STATIC_IMAXDIV // [ static #else // STATIC_IMAXDIV ][ _inline #endif // STATIC_IMAXDIV ] imaxdiv_t __cdecl imaxdiv(intmax_t numer, intmax_t denom) { imaxdiv_t result; result.quot = numer / denom; result.rem = numer % denom; if (numer < 0 && result.rem > 0) { // did division wrong; must fix up ++result.quot; result.rem -= denom; } return result; } // 7.8.2.3 The strtoimax and strtoumax functions #define strtoimax _strtoi64 #define strtoumax _strtoui64 // 7.8.2.4 The wcstoimax and wcstoumax functions #define wcstoimax _wcstoi64 #define wcstoumax _wcstoui64 #endif // _MSC_INTTYPES_H_ ] libgd-2.3.0/src/msinttypes/stdint.h0000664000175000017500000001704713635665516014235 00000000000000// ISO C9x compliant stdint.h for Microsoft Visual Studio // Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124 // // Copyright (c) 2006-2008 Alexander Chemeris // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // // 2. Redistributions in binary form must reproduce the above copyright // notice, this list of conditions and the following disclaimer in the // documentation and/or other materials provided with the distribution. // // 3. The name of the author may be used to endorse or promote products // derived from this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED // WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF // MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO // EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // /////////////////////////////////////////////////////////////////////////////// #ifndef _MSC_VER // [ #error "Use this header only with Microsoft Visual C++ compilers!" #endif // _MSC_VER ] #ifndef _MSC_STDINT_H_ // [ #define _MSC_STDINT_H_ #if _MSC_VER > 1000 #pragma once #endif #include // For Visual Studio 6 in C++ mode and for many Visual Studio versions when // compiling for ARM we should wrap include with 'extern "C++" {}' // or compiler give many errors like this: // error C2733: second C linkage of overloaded function 'wmemchr' not allowed #ifdef __cplusplus extern "C" { #endif # include #ifdef __cplusplus } #endif // Define _W64 macros to mark types changing their size, like intptr_t. #ifndef _W64 # if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && _MSC_VER >= 1300 # define _W64 __w64 # else # define _W64 # endif #endif // 7.18.1 Integer types // 7.18.1.1 Exact-width integer types // Visual Studio 6 and Embedded Visual C++ 4 doesn't // realize that, e.g. char has the same size as __int8 // so we give up on __intX for them. #if (_MSC_VER < 1300) typedef signed char int8_t; typedef signed short int16_t; typedef signed int int32_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; #else typedef signed __int8 int8_t; typedef signed __int16 int16_t; typedef signed __int32 int32_t; typedef unsigned __int8 uint8_t; typedef unsigned __int16 uint16_t; typedef unsigned __int32 uint32_t; #endif typedef signed __int64 int64_t; typedef unsigned __int64 uint64_t; // 7.18.1.2 Minimum-width integer types typedef int8_t int_least8_t; typedef int16_t int_least16_t; typedef int32_t int_least32_t; typedef int64_t int_least64_t; typedef uint8_t uint_least8_t; typedef uint16_t uint_least16_t; typedef uint32_t uint_least32_t; typedef uint64_t uint_least64_t; // 7.18.1.3 Fastest minimum-width integer types typedef int8_t int_fast8_t; typedef int16_t int_fast16_t; typedef int32_t int_fast32_t; typedef int64_t int_fast64_t; typedef uint8_t uint_fast8_t; typedef uint16_t uint_fast16_t; typedef uint32_t uint_fast32_t; typedef uint64_t uint_fast64_t; // 7.18.1.4 Integer types capable of holding object pointers #ifdef _WIN64 // [ typedef signed __int64 intptr_t; typedef unsigned __int64 uintptr_t; #else // _WIN64 ][ typedef _W64 signed int intptr_t; typedef _W64 unsigned int uintptr_t; #endif // _WIN64 ] // 7.18.1.5 Greatest-width integer types typedef int64_t intmax_t; typedef uint64_t uintmax_t; // 7.18.2 Limits of specified-width integer types #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS) // [ See footnote 220 at page 257 and footnote 221 at page 259 // 7.18.2.1 Limits of exact-width integer types #define INT8_MIN ((int8_t)_I8_MIN) #define INT8_MAX _I8_MAX #define INT16_MIN ((int16_t)_I16_MIN) #define INT16_MAX _I16_MAX #define INT32_MIN ((int32_t)_I32_MIN) #define INT32_MAX _I32_MAX #define INT64_MIN ((int64_t)_I64_MIN) #define INT64_MAX _I64_MAX #define UINT8_MAX _UI8_MAX #define UINT16_MAX _UI16_MAX #define UINT32_MAX _UI32_MAX #define UINT64_MAX _UI64_MAX // 7.18.2.2 Limits of minimum-width integer types #define INT_LEAST8_MIN INT8_MIN #define INT_LEAST8_MAX INT8_MAX #define INT_LEAST16_MIN INT16_MIN #define INT_LEAST16_MAX INT16_MAX #define INT_LEAST32_MIN INT32_MIN #define INT_LEAST32_MAX INT32_MAX #define INT_LEAST64_MIN INT64_MIN #define INT_LEAST64_MAX INT64_MAX #define UINT_LEAST8_MAX UINT8_MAX #define UINT_LEAST16_MAX UINT16_MAX #define UINT_LEAST32_MAX UINT32_MAX #define UINT_LEAST64_MAX UINT64_MAX // 7.18.2.3 Limits of fastest minimum-width integer types #define INT_FAST8_MIN INT8_MIN #define INT_FAST8_MAX INT8_MAX #define INT_FAST16_MIN INT16_MIN #define INT_FAST16_MAX INT16_MAX #define INT_FAST32_MIN INT32_MIN #define INT_FAST32_MAX INT32_MAX #define INT_FAST64_MIN INT64_MIN #define INT_FAST64_MAX INT64_MAX #define UINT_FAST8_MAX UINT8_MAX #define UINT_FAST16_MAX UINT16_MAX #define UINT_FAST32_MAX UINT32_MAX #define UINT_FAST64_MAX UINT64_MAX // 7.18.2.4 Limits of integer types capable of holding object pointers #ifdef _WIN64 // [ # define INTPTR_MIN INT64_MIN # define INTPTR_MAX INT64_MAX # define UINTPTR_MAX UINT64_MAX #else // _WIN64 ][ # define INTPTR_MIN INT32_MIN # define INTPTR_MAX INT32_MAX # define UINTPTR_MAX UINT32_MAX #endif // _WIN64 ] // 7.18.2.5 Limits of greatest-width integer types #define INTMAX_MIN INT64_MIN #define INTMAX_MAX INT64_MAX #define UINTMAX_MAX UINT64_MAX // 7.18.3 Limits of other integer types #ifdef _WIN64 // [ # define PTRDIFF_MIN _I64_MIN # define PTRDIFF_MAX _I64_MAX #else // _WIN64 ][ # define PTRDIFF_MIN _I32_MIN # define PTRDIFF_MAX _I32_MAX #endif // _WIN64 ] #define SIG_ATOMIC_MIN INT_MIN #define SIG_ATOMIC_MAX INT_MAX #ifndef SIZE_MAX // [ # ifdef _WIN64 // [ # define SIZE_MAX _UI64_MAX # else // _WIN64 ][ # define SIZE_MAX _UI32_MAX # endif // _WIN64 ] #endif // SIZE_MAX ] // WCHAR_MIN and WCHAR_MAX are also defined in #ifndef WCHAR_MIN // [ # define WCHAR_MIN 0 #endif // WCHAR_MIN ] #ifndef WCHAR_MAX // [ # define WCHAR_MAX _UI16_MAX #endif // WCHAR_MAX ] #define WINT_MIN 0 #define WINT_MAX _UI16_MAX #endif // __STDC_LIMIT_MACROS ] // 7.18.4 Limits of other integer types #if !defined(__cplusplus) || defined(__STDC_CONSTANT_MACROS) // [ See footnote 224 at page 260 // 7.18.4.1 Macros for minimum-width integer constants #define INT8_C(val) val##i8 #define INT16_C(val) val##i16 #define INT32_C(val) val##i32 #define INT64_C(val) val##i64 #define UINT8_C(val) val##ui8 #define UINT16_C(val) val##ui16 #define UINT32_C(val) val##ui32 #define UINT64_C(val) val##ui64 // 7.18.4.2 Macros for greatest-width integer constants #define INTMAX_C INT64_C #define UINTMAX_C UINT64_C #endif // __STDC_CONSTANT_MACROS ] #endif // _MSC_STDINT_H_ ] libgd-2.3.0/src/fontwheeltest.c0000664000175000017500000000612413635665516013371 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "gd.h" #define DEGTORAD(x) ( (x) * (2.0 * 3.14159265) / 360.0 ) void doerr (FILE * err, const char *msg) { if (err) { fprintf (err, "%s\n", msg); fflush (err); } } void dowheel (gdImagePtr im, int color, char *fontfile, int fontsize, double angle, int x, int y, int offset, char *string) { int brect[8]; FILE *err; double curangrads, curang, x0, y0; char *cp; err = fopen ("err.out", "a"); doerr (err, "------------- New fontwheel --------------"); doerr (err, fontfile); doerr (err, string); doerr (err, "------------------------------------------"); for (curang = 0.0; curang < 360.0; curang += angle) { curangrads = DEGTORAD(curang); x0 = x + cos (curangrads) * offset; y0 = y - sin (curangrads) * offset; /* The case of newlines is taken care of in the gdImageStringTTF call */ cp = gdImageStringFT (im, brect, color, fontfile, fontsize, curangrads, x0, y0, string); if (cp) doerr (err, cp); gdImagePolygon (im, (gdPointPtr)brect, 4, color); } fclose (err); } #if 0 void dolines (gdImagePtr im, int color, double incr, int x, int y, int offset, int length) { double curang; double angle; double x0, x1, y0, y1; for (curang = 0.0; curang < 360.0; curang += incr) { angle = curang * (2.0 * 3.14159265) / 360.0; x0 = cos (angle) * offset + x; x1 = cos (angle) * (offset + length) + x; y0 = sin (angle) * offset + y; y1 = sin (angle) * (offset + length) + y; gdImageLine (im, x0, y0, x1, y1, color); } } #endif void dotest (char *font, int size, double incr, int w, int h, char *string, const char *filename) { gdImagePtr im; FILE *out; int bg; int fc; #if 0 int lc; #endif int xc = w / 2; int yc = h / 2; im = gdImageCreate (w, h); bg = gdImageColorAllocate (im, 0, 0, 0); gdImageFilledRectangle (im, 1, 1, w - 1, h - 1, bg); fc = gdImageColorAllocate (im, 255, 192, 192); #if 0 lc = gdImageColorAllocate (im, 192, 255, 255); #endif out = fopen (filename, "wb"); dowheel (im, fc, font, size, incr, xc, yc, 20, string); #if 0 dolines (im, lc, incr, xc, yc, 20, 120); #endif #if defined(HAVE_LIBPNG) gdImagePng (im, out); #elif defined(HAVE_LIBJPEG) gdImageJpeg (im, out, -1); #endif fclose (out); } int main(void) { #if defined(HAVE_LIBPNG) dotest ("times", 16, 20.0, 400, 400, "Hello, there!", "fontwheeltest1.png"); dotest ("times", 16, 30.0, 400, 400, "Hello, there!", "fontwheeltest2.png"); dotest ("arial", 16, 45.0, 400, 400, "Hello, there!", "fontwheeltest3.png"); dotest ("arial", 16, 90.0, 400, 400, "Hello\nthere!", "fontwheeltest4.png"); #elif defined(HAVE_LIBJPEG) dotest ("times", 16, 20.0, 400, 400, "Hello, there!", "fontwheeltest1.jpeg"); dotest ("times", 16, 30.0, 400, 400, "Hello, there!", "fontwheeltest2.jpeg"); dotest ("arial", 16, 45.0, 400, 400, "Hello, there!", "fontwheeltest3.jpeg"); dotest ("arial", 16, 90.0, 400, 400, "Hello\nthere!", "fontwheeltest4.jpeg"); #else fprintf(stderr, "no PNG or JPEG support\n"); #endif return 0; } libgd-2.3.0/src/snprintf.c0000664000175000017500000000111113634445460012321 00000000000000/* Provide a snprintf on Windows for older Visual Studio builds. * VS2013 and older do not support C99 snprintf(). The subsitute _snprintf() * does not correctly NUL-terminate buffers in case of overflow. * This implementation emulates the ISO C99 snprintf() for VS2013 and older. */ #if defined(_MSC_VER) && _MSC_VER < 1900 #include #include int snprintf(char* buf, size_t len, const char* fmt, ...) { int n; va_list ap; va_start(ap, fmt); n = _vscprintf(fmt, ap); vsnprintf_s(buf, len, _TRUNCATE, fmt, ap); va_end(ap); return n; } #endif libgd-2.3.0/src/CMakeLists.txt0000664000175000017500000001011613635665516013066 00000000000000SET (LIBGD_SRC_FILES bmp.h gd.c gd.h gd_bmp.c gd_color.c gd_color.h gd_color_map.c gd_color_map.h gd_color_match.c gd_crop.c gd_filename.c gd_filter.c gd_gd.c gd_gd2.c gd_gif_in.c gd_gif_out.c gd_intern.h gd_interpolation.c gd_io.c gd_io.h gd_io_dp.c gd_io_file.c gd_io_ss.c gd_io_stream.cxx gd_io_stream.h gd_jpeg.c gd_matrix.c gd_nnquant.c gd_nnquant.h gd_png.c gd_rotate.c gd_security.c gd_ss.c gd_tga.c gd_tga.h gd_tiff.c gd_topal.c gd_transform.c gd_version.c gd_wbmp.c gd_webp.c gd_xbm.c gdcache.c gdcache.h gdfontg.c gdfontg.h gdfontl.c gdfontl.h gdfontmb.c gdfontmb.h gdfonts.c gdfonts.h gdfontt.c gdfontt.h gdft.c gdfx.c gdfx.h gdhelpers.c gdhelpers.h gdkanji.c gdpp.cxx gdpp.h gdtables.c gdxpm.c jisx0208.h wbmp.c wbmp.h ) # Static library just for utility programs. SET (GD_PROGRAMS_LIB_SRC_FILES) if(MSVC) set(GD_PROGRAMS_LIB_SRC_FILES ${GD_PROGRAMS_LIB_SRC_FILES} getopt.c ) if(MSVC_VERSION LESS 1900) set(LIBGD_SRC_FILES ${LIBGD_SRC_FILES} snprintf.c ) endif(MSVC_VERSION LESS 1900) endif(MSVC) include(GNUInstallDirs) if (BUILD_SHARED_LIBS) add_library(${GD_LIB} ${LIBGD_SRC_FILES}) set_target_properties(${GD_LIB} PROPERTIES SOVERSION ${GDLIB_LIB_SOVERSION} VERSION ${GDLIB_LIB_VERSION} C_VISIBILITY_PRESET hidden CXX_VISIBILITY_PRESET hidden ) endif() if (BUILD_STATIC_LIBS) add_library(${GD_LIB_STATIC} STATIC ${LIBGD_SRC_FILES}) if (UNIX) set_target_properties(${GD_LIB_STATIC} PROPERTIES OUTPUT_NAME ${GD_LIB}) endif() endif() if (NOT "${GD_PROGRAMS_LIB_SRC_FILES}" STREQUAL "") add_library(gd_programs_lib STATIC ${GD_PROGRAMS_LIB_SRC_FILES}) endif() if (WIN32 AND NOT MINGW AND NOT MSYS) # SET_TARGET_PROPERTIES(${GD_LIB} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:msvcrt.lib") if (BUILD_STATIC_LIBS) SET_PROPERTY(TARGET ${GD_LIB_STATIC} APPEND PROPERTY COMPILE_DEFINITIONS NONDLL=1) endif() ENDIF(WIN32 AND NOT MINGW AND NOT MSYS) if (MINGW OR MSYS) ADD_DEFINITIONS("-mms-bitfields") if (BUILD_STATIC_LIBS) set_target_properties(${GD_LIB_STATIC} PROPERTIES OUTPUT_NAME ${GD_LIB}) endif() endif (MINGW OR MSYS) INCLUDE_DIRECTORIES(BEFORE "${PROJECT_BINARY_DIR}" "${CMAKE_BINARY_DIR}" "${GD_SOURCE_DIR}/src") SET(LIBGD_DEP_LIBS ${ZLIB_LIBRARIES} ${FREETYPE_LIBRARIES} ${PNG_LIBRARIES} ${ICONV_LIBRARIES} ${LIQ_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${XPM_LIBRARIES} ${FONTCONFIG_LIBRARY} ${WEBP_LIBRARIES} ${RAQM_LIBRARIES} ) if (BUILD_SHARED_LIBS) target_link_libraries(${GD_LIB} ${LIBGD_DEP_LIBS}) endif() if (BUILD_STATIC_LIBS) target_link_libraries(${GD_LIB_STATIC} ${LIBGD_DEP_LIBS}) endif() set(GD_PROGRAMS gdcmpgif) if (PNG_FOUND) set(GD_PROGRAMS ${GD_PROGRAMS} gdtopng pngtogd webpng) if (ZLIB_FOUND) set(GD_PROGRAMS ${GD_PROGRAMS} gdparttopng gd2topng pngtogd2) endif() endif() if (FREETYPE_FOUND AND JPEG_FOUND) set(GD_PROGRAMS ${GD_PROGRAMS} annotate) endif() if (ZLIB_FOUND) set(GD_PROGRAMS ${GD_PROGRAMS} gd2copypal gd2togif giftogd2) endif() foreach(program ${GD_PROGRAMS}) add_executable(${program} ${program}.c) if (BUILD_SHARED_LIBS) target_link_libraries(${program} ${GD_LIB}) else() target_link_libraries(${program} ${GD_LIB_STATIC}) endif() if (NOT "${GD_PROGRAMS_LIB_SRC_FILES}" STREQUAL "") target_link_libraries(${program} gd_programs_lib) endif() endforeach(program) set(GD_INSTALL_TARGETS ${GD_PROGRAMS}) if (BUILD_SHARED_LIBS) set(GD_INSTALL_TARGETS ${GD_INSTALL_TARGETS} ${GD_LIB}) endif() if (BUILD_STATIC_LIBS) set(GD_INSTALL_TARGETS ${GD_INSTALL_TARGETS} ${GD_LIB_STATIC}) endif() install(TARGETS ${GD_INSTALL_TARGETS} RUNTIME DESTINATION bin LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) install(PROGRAMS bdftogd DESTINATION bin) install(FILES entities.h gd.h gd_color_map.h gd_errors.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h gdfx.h gdpp.h DESTINATION include) CONFIGURE_FILE(../config/gdlib.pc.cmake gdlib.pc @ONLY) INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/gdlib.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") libgd-2.3.0/src/gd_filename.c0000664000175000017500000001461213635665516012731 00000000000000/* Convenience functions to read or write images from or to disk, * determining file type from the filename extension. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include #include #include "gd.h" typedef gdImagePtr (BGD_STDCALL *ReadFn)(FILE *in); typedef void (BGD_STDCALL *WriteFn)(gdImagePtr im, FILE *out); typedef gdImagePtr (BGD_STDCALL *LoadFn)(char *filename); #ifdef HAVE_LIBZ static void BGD_STDCALL writegd2(gdImagePtr im, FILE *out) { gdImageGd2(im, out, 0, GD2_FMT_COMPRESSED); }/* writegd*/ #endif #ifdef HAVE_LIBJPEG static void BGD_STDCALL writejpeg(gdImagePtr im, FILE *out) { gdImageJpeg(im, out, -1); }/* writejpeg*/ #endif static void BGD_STDCALL writewbmp(gdImagePtr im, FILE *out) { int fg = gdImageColorClosest(im, 0, 0, 0); gdImageWBMP(im, fg, out); }/* writejpeg*/ static void BGD_STDCALL writebmp(gdImagePtr im, FILE *out) { gdImageBmp(im, out, GD_TRUE); }/* writejpeg*/ enum FType {UNKNOWN, PNG, JPG, GIF, TIFF, GD, GD2, WEBP}; static struct FileType { const char *ext; ReadFn reader; WriteFn writer; LoadFn loader; } Types[] = { {".gif", gdImageCreateFromGif, gdImageGif, NULL}, {".gd", gdImageCreateFromGd, gdImageGd, NULL}, {".wbmp", gdImageCreateFromWBMP, writewbmp, NULL}, {".bmp", gdImageCreateFromBmp, writebmp, NULL}, {".xbm", gdImageCreateFromXbm, NULL, NULL}, {".tga", gdImageCreateFromTga, NULL, NULL}, #ifdef HAVE_LIBPNG {".png", gdImageCreateFromPng, gdImagePng, NULL}, #endif #ifdef HAVE_LIBJPEG {".jpg", gdImageCreateFromJpeg, writejpeg, NULL}, {".jpeg", gdImageCreateFromJpeg, writejpeg, NULL}, #endif #ifdef HAVE_LIBTIFF {".tiff", gdImageCreateFromTiff, gdImageTiff, NULL}, {".tif" , gdImageCreateFromTiff, gdImageTiff, NULL}, #endif #ifdef HAVE_LIBZ {".gd2", gdImageCreateFromGd2, writegd2, NULL}, #endif #ifdef HAVE_LIBWEBP {".webp", gdImageCreateFromWebp, gdImageWebp, NULL}, #endif #ifdef HAVE_LIBXPM {".xpm", NULL, NULL, gdImageCreateFromXpm}, #endif {NULL, NULL, NULL} }; struct FileType * ftype(const char *filename) { int n; char *ext; /* Find the file extension (i.e. the last period in the string. */ ext = strrchr(filename, '.'); if (!ext) return NULL; for (n = 0; Types[n].ext; n++) { if (strcasecmp(ext, Types[n].ext) == 0) { return &Types[n]; }/* if */ }/* for */ return NULL; }/* ftype*/ /* Function: gdSupportsFileType Tests if a given file type is supported by GD. Given the name of an image file (which does not have to exist), returns 1 (i.e. TRUE) if can read a file of that type. This is useful if you do not know which image types were enabled at compile time. If _writing_ is true, the result will be true only if can write a file of this type. Note that filename parsing is done exactly the same as is done by and and is subject to the same limitations. Assuming LibGD is compiled with support for these image types, the following extensions are supported: - .gif - .gd, .gd2 - .wbmp - .bmp - .xbm - .tga - .png - .jpg, .jpeg - .tiff, .tif - .webp - .xpm Names are parsed case-insenstively. Parameters: filename - Filename with tested extension. writing - Flag: true tests if writing works Returns: GD_TRUE (1) if the file type is supported, GD_FALSE (0) if not. */ BGD_DECLARE(int) gdSupportsFileType(const char *filename, int writing) { struct FileType *entry = ftype(filename); return !!entry && (!writing || !!entry->writer); }/* gdSupportsFileType*/ /* Function: gdImageCreateFromFile Read an image file of any supported. Given the path to a file, will open the file, read its contents with the appropriate _gdImageCreateFrom*_ function and return it. File type is determined by the filename extension, so having an incorrect extension will probably not work. For example, renaming PNG image "foo.png" to "foo.gif" and then attempting to load it will fail even if GD supports both formats. See for more details. NULL is returned on error. Parameters: filename - the input file name Returns: A pointer to the new image or NULL if an error occurred. */ BGD_DECLARE(gdImagePtr) gdImageCreateFromFile(const char *filename) { struct FileType *entry = ftype(filename); FILE *fh; gdImagePtr result; if (!entry) return NULL; if (entry->loader) return entry->loader((char *)filename); if (!entry->reader) return NULL; fh = fopen(filename, "rb"); if (!fh) return NULL; result = entry->reader(fh); fclose(fh); return result; }/* gdImageCreateFromFile*/ /* Function: gdImageFile Writes an image to a file in the format indicated by the filename. File type is determined by the extension of the file name. See for an overview of the parsing. For file types that require extra arguments, attempts to use sane defaults: - chunk size = 0, compression is enabled. - quality = -1 (i.e. the reasonable default) - foreground is the darkest available color Everything else is called with the two-argument function and so will use the default values. has some rudimentary error detection and will return GD_FALSE (0) if a detectable error occurred. However, the image loaders do not normally return their error status so a result of GD_TRUE (1) does **not** mean the file was saved successfully. Parameters: im - The image to save. filename - The path to the file to which the image is saved. Returns: GD_FALSE (0) if an error was detected, GD_TRUE (1) if not. */ BGD_DECLARE(int) gdImageFile(gdImagePtr im, const char *filename) { struct FileType *entry = ftype(filename); FILE *fh; if (!entry || !entry->writer) return GD_FALSE; fh = fopen(filename, "wb"); if (!fh) return GD_FALSE; entry->writer(im, fh); fclose(fh); return GD_TRUE; }/* gdImageFile*/ libgd-2.3.0/src/gdcache.c0000664000175000017500000001253013635665516012052 00000000000000#ifdef HAVE_CONFIG_H # include "config.h" #endif #include "gd.h" #include "gdhelpers.h" #ifdef HAVE_LIBTTF # define NEED_CACHE 1 #else #ifdef HAVE_LIBFREETYPE # define NEED_CACHE 1 #endif #endif #ifdef NEED_CACHE /* * gdcache.c * * Caches of pointers to user structs in which the least-recently-used * element is replaced in the event of a cache miss after the cache has * reached a given size. * * John Ellson (ellson@graphviz.org) Oct 31, 1997 * * Test this with: * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c -lgd * or * gcc -o gdcache -g -Wall -DTEST -DNEED_CACHE gdcache.c libgd.a * * The cache is implemented by a singly-linked list of elements * each containing a pointer to a user struct that is being managed by * the cache. * * The head structure has a pointer to the most-recently-used * element, and elements are moved to this position in the list each * time they are used. The head also contains pointers to three * user defined functions: * - a function to test if a cached userdata matches some keydata * - a function to provide a new userdata struct to the cache * if there has been a cache miss. * - a function to release a userdata struct when it is * no longer being managed by the cache * * In the event of a cache miss the cache is allowed to grow up to * a specified maximum size. After the maximum size is reached then * the least-recently-used element is discarded to make room for the * new. The most-recently-returned value is always left at the * beginning of the list after retrieval. * * In the current implementation the cache is traversed by a linear * search from most-recent to least-recent. This linear search * probably limits the usefulness of this implementation to cache * sizes of a few tens of elements. */ #include "gdcache.h" /*********************************************************/ /* implementation */ /*********************************************************/ /* create a new cache */ gdCache_head_t *gdCacheCreate(int size, gdCacheTestFn_t gdCacheTest, gdCacheFetchFn_t gdCacheFetch, gdCacheReleaseFn_t gdCacheRelease) { gdCache_head_t *head; head = (gdCache_head_t *)gdMalloc(sizeof(gdCache_head_t)); if(!head) { return NULL; } head->mru = NULL; head->size = size; head->gdCacheTest = gdCacheTest; head->gdCacheFetch = gdCacheFetch; head->gdCacheRelease = gdCacheRelease; return head; } void gdCacheDelete(gdCache_head_t *head) { gdCache_element_t *elem, *prev; elem = head->mru; while(elem) { (*(head->gdCacheRelease))(elem->userdata); prev = elem; elem = elem->next; gdFree((char *)prev); } gdFree((char *)head); } void * gdCacheGet(gdCache_head_t *head, void *keydata) { int i = 0; gdCache_element_t *elem, *prev = NULL, *prevprev = NULL; void *userdata; elem = head->mru; while(elem) { if((*(head->gdCacheTest))(elem->userdata, keydata)) { if(i) { /* if not already most-recently-used */ /* relink to top of list */ prev->next = elem->next; elem->next = head->mru; head->mru = elem; } return elem->userdata; } prevprev = prev; prev = elem; elem = elem->next; i++; } userdata = (*(head->gdCacheFetch))(&(head->error), keydata); if(!userdata) { /* if there was an error in the fetch then don't cache */ return NULL; } if(i < head->size) { /* cache still growing - add new elem */ elem = (gdCache_element_t *)gdMalloc(sizeof(gdCache_element_t)); if(!elem) { (*(head->gdCacheRelease)) (userdata); return NULL; } } else { /* cache full - replace least-recently-used */ if(!prevprev) { /* cache size is 1 */ head->mru = NULL; } else { /* prevprev becomes new end of list */ prevprev->next = NULL; } elem = prev; (*(head->gdCacheRelease))(elem->userdata); } /* relink to top of list */ elem->next = head->mru; head->mru = elem; elem->userdata = userdata; return userdata; } /*********************************************************/ /* test stub */ /*********************************************************/ #ifdef TEST #include typedef struct { int key; int value; } key_value_t; static int cacheTest(void *map, void *key) { return (((key_value_t *)map)->key == *(int *)key); } static void *cacheFetch(char **error, void *key) { key_value_t *map; map = (key_value_t *)gdMalloc(sizeof(key_value_t)); if (!map) { *error = "gdMalloc failed"; return NULL; } map->key = *(int *)key; map->value = 3; *error = NULL; return (void *)map; } static void cacheRelease(void *map) { gdFree((char *)map); } int main(int argc, char **argv) { gdCache_head_t *cacheTable; int elem, key; cacheTable = gdCacheCreate(3, cacheTest, cacheFetch, cacheRelease); if(!cacheTable) { exit(1); } key = 20; elem = *(int *)gdCacheGet(cacheTable, &key); key = 30; elem = *(int *)gdCacheGet(cacheTable, &key); key = 40; elem = *(int *)gdCacheGet(cacheTable, &key); key = 50; elem = *(int *)gdCacheGet(cacheTable, &key); key = 30; elem = *(int *)gdCacheGet(cacheTable, &key); key = 30; elem = *(int *)gdCacheGet(cacheTable, &key); gdCacheDelete(cacheTable); return 0; } #endif /* TEST */ #endif /* NEED_CACHE */ libgd-2.3.0/src/gd_color_map_test.c0000664000175000017500000000107213634445460014150 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "gd.h" #include "gd_color_map.h" int main(void) { int r, g, b; int i; for (i=0; i * - */ BGD_DECLARE(void) gdImageFlipVertical(gdImagePtr im) { register int x, y; if (im->trueColor) { for (y = 0; y < im->sy / 2; y++) { int *row_dst = im->tpixels[y]; int *row_src = im->tpixels[im->sy - 1 - y]; for (x = 0; x < im->sx; x++) { register int p; p = row_dst[x]; row_dst[x] = im->tpixels[im->sy - 1 - y][x]; row_src[x] = p; } } } else { unsigned char p; for (y = 0; y < im->sy / 2; y++) { for (x = 0; x < im->sx; x++) { p = im->pixels[y][x]; im->pixels[y][x] = im->pixels[im->sy - 1 - y][x]; im->pixels[im->sy - 1 - y][x] = p; } } } return; } /** * Function: gdImageFlipHorizontal * * Flip an image horizontally * * The image is mirrored left-right. * * Parameters: * im - The image. * * See also: * - * - */ BGD_DECLARE(void) gdImageFlipHorizontal(gdImagePtr im) { int x, y; if (im->trueColor) { int *px1, *px2, tmp; for (y = 0; y < im->sy; y++) { px1 = im->tpixels[y]; px2 = im->tpixels[y] + im->sx - 1; for (x = 0; x < (im->sx >> 1); x++) { tmp = *px1; *px1 = *px2; *px2 = tmp; px1++; px2--; } } } else { unsigned char *px1, *px2, tmp; for (y = 0; y < im->sy; y++) { px1 = im->pixels[y]; px2 = im->pixels[y] + im->sx - 1; for (x = 0; x < (im->sx >> 1); x++) { tmp = *px1; *px1 = *px2; *px2 = tmp; px1++; px2--; } } } } /** * Function: gdImageFlipBoth * * Flip an image vertically and horizontally * * The image is mirrored upside-down and left-right. * * Parameters: * im - The image. * * See also: * - * - */ BGD_DECLARE(void) gdImageFlipBoth(gdImagePtr im) { gdImageFlipVertical(im); gdImageFlipHorizontal(im); } libgd-2.3.0/src/COPYING0000664000175000017500000000434213635665516011365 00000000000000 Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 by Cold Spring Harbor Laboratory. Funded under Grant P41-RR02188 by the National Institutes of Health. Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 by Boutell.Com, Inc. Portions relating to GD2 format copyright 1999, 2000, 2001, 2002 Philip Warner. Portions relating to PNG copyright 1999, 2000, 2001, 2002 Greg Roelofs. Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002 John Ellson (ellson@lucent.com). Portions relating to gdft.c copyright 2001, 2002 John Ellson (ellson@lucent.com). Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 2008 Pierre-Alain Joye (pierre@libgd.org). Portions relating to JPEG and to color quantization copyright 2000, 2001, 2002, Doug Becker and copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, Thomas G. Lane. This software is based in part on the work of the Independent JPEG Group. See the file README-JPEG.TXT for more information. Portions relating to WBMP copyright 2000, 2001, 2002 Maurice Szmurlo and Johan Van den Brande. Permission has been granted to copy, distribute and modify gd in any context without fee, including a commercial application, provided that this notice is present in user-accessible supporting documentation. This does not affect your ownership of the derived work itself, and the intent is to assure proper credit for the authors of gd, not to interfere with your productive use of gd. If you have questions, ask. "Derived works" includes all programs that utilize the library. Credit must be given in user-accessible documentation. This software is provided "AS IS." The copyright holders disclaim all warranties, either express or implied, including but not limited to implied warranties of merchantability and fitness for a particular purpose, with respect to this code and accompanying documentation. Although their code does not appear in gd, the authors wish to thank David Koblas, David Rowley, and Hutchison Avenue Software Corporation for their prior contributions. libgd-2.3.0/src/Makefile.in0000664000175000017500000012732013635665557012406 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = gdcmpgif$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \ $(am__EXEEXT_3) $(am__EXEEXT_4) check_PROGRAMS = gifanimtest$(EXEEXT) gd_color_map_test$(EXEEXT) \ $(am__EXEEXT_5) $(am__EXEEXT_6) $(am__EXEEXT_7) \ $(am__EXEEXT_8) $(am__EXEEXT_9) $(am__EXEEXT_10) @HAVE_LIBPNG_TRUE@am__append_1 = gdtopng pngtogd webpng @HAVE_LIBPNG_TRUE@am__append_2 = circletexttest fontsizetest fontwheeltest gddemo testac @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__append_3 = gdparttopng gd2topng pngtogd2 @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__append_4 = gdtest @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_FALSE@am__append_5 = fontsizetest fontwheeltest @HAVE_LIBFONTCONFIG_TRUE@am__append_6 = fontconfigtest @HAVE_LIBFREETYPE_TRUE@@HAVE_LIBJPEG_TRUE@am__append_7 = annotate @HAVE_LIBFREETYPE_TRUE@am__append_8 = gdtestft testtr @HAVE_LIBZ_TRUE@am__append_9 = gd2copypal gd2togif giftogd2 @HAVE_LIBZ_TRUE@am__append_10 = gd2time subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \ $(top_srcdir)/m4/ax_openmp.m4 $(top_srcdir)/m4/ax_pthread.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/w32.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(include_HEADERS) \ $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)" LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libgd_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libgd_la_OBJECTS = gd.lo gd_bmp.lo gd_color.lo gd_color_map.lo \ gd_color_match.lo gd_crop.lo gd_filename.lo gd_filter.lo \ gd_gd.lo gd_gd2.lo gd_gif_in.lo gd_gif_out.lo \ gd_interpolation.lo gd_io.lo gd_io_dp.lo gd_io_file.lo \ gd_io_ss.lo gd_jpeg.lo gd_matrix.lo gd_nnquant.lo gd_png.lo \ gd_rotate.lo gd_security.lo gd_ss.lo gd_tga.lo gd_tiff.lo \ gd_topal.lo gd_transform.lo gd_version.lo gd_wbmp.lo \ gd_webp.lo gd_xbm.lo gdcache.lo gdfontg.lo gdfontl.lo \ gdfontmb.lo gdfonts.lo gdfontt.lo gdft.lo gdfx.lo gdhelpers.lo \ gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo libgd_la_OBJECTS = $(am_libgd_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = libgd_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(libgd_la_LDFLAGS) $(LDFLAGS) -o $@ @HAVE_LIBPNG_TRUE@am__EXEEXT_1 = gdtopng$(EXEEXT) pngtogd$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ webpng$(EXEEXT) @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__EXEEXT_2 = gdparttopng$(EXEEXT) \ @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@ gd2topng$(EXEEXT) \ @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@ pngtogd2$(EXEEXT) @HAVE_LIBFREETYPE_TRUE@@HAVE_LIBJPEG_TRUE@am__EXEEXT_3 = \ @HAVE_LIBFREETYPE_TRUE@@HAVE_LIBJPEG_TRUE@ annotate$(EXEEXT) @HAVE_LIBZ_TRUE@am__EXEEXT_4 = gd2copypal$(EXEEXT) gd2togif$(EXEEXT) \ @HAVE_LIBZ_TRUE@ giftogd2$(EXEEXT) @HAVE_LIBPNG_TRUE@am__EXEEXT_5 = circletexttest$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ fontsizetest$(EXEEXT) fontwheeltest$(EXEEXT) \ @HAVE_LIBPNG_TRUE@ gddemo$(EXEEXT) testac$(EXEEXT) @HAVE_LIBPNG_TRUE@@HAVE_LIBZ_TRUE@am__EXEEXT_6 = gdtest$(EXEEXT) @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_FALSE@am__EXEEXT_7 = \ @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_FALSE@ fontsizetest$(EXEEXT) \ @HAVE_LIBJPEG_TRUE@@HAVE_LIBPNG_FALSE@ fontwheeltest$(EXEEXT) @HAVE_LIBFONTCONFIG_TRUE@am__EXEEXT_8 = fontconfigtest$(EXEEXT) @HAVE_LIBFREETYPE_TRUE@am__EXEEXT_9 = gdtestft$(EXEEXT) \ @HAVE_LIBFREETYPE_TRUE@ testtr$(EXEEXT) @HAVE_LIBZ_TRUE@am__EXEEXT_10 = gd2time$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) annotate_SOURCES = annotate.c annotate_OBJECTS = annotate.$(OBJEXT) annotate_LDADD = $(LDADD) annotate_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) circletexttest_SOURCES = circletexttest.c circletexttest_OBJECTS = circletexttest.$(OBJEXT) circletexttest_LDADD = $(LDADD) circletexttest_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) fontconfigtest_SOURCES = fontconfigtest.c fontconfigtest_OBJECTS = fontconfigtest.$(OBJEXT) fontconfigtest_LDADD = $(LDADD) fontconfigtest_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) fontsizetest_SOURCES = fontsizetest.c fontsizetest_OBJECTS = fontsizetest.$(OBJEXT) fontsizetest_LDADD = $(LDADD) fontsizetest_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) fontwheeltest_SOURCES = fontwheeltest.c fontwheeltest_OBJECTS = fontwheeltest.$(OBJEXT) fontwheeltest_LDADD = $(LDADD) fontwheeltest_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gd2copypal_SOURCES = gd2copypal.c gd2copypal_OBJECTS = gd2copypal.$(OBJEXT) gd2copypal_LDADD = $(LDADD) gd2copypal_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gd2time_SOURCES = gd2time.c gd2time_OBJECTS = gd2time.$(OBJEXT) gd2time_LDADD = $(LDADD) gd2time_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gd2togif_SOURCES = gd2togif.c gd2togif_OBJECTS = gd2togif.$(OBJEXT) gd2togif_LDADD = $(LDADD) gd2togif_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gd2topng_SOURCES = gd2topng.c gd2topng_OBJECTS = gd2topng.$(OBJEXT) gd2topng_LDADD = $(LDADD) gd2topng_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gd_color_map_test_SOURCES = gd_color_map_test.c gd_color_map_test_OBJECTS = gd_color_map_test.$(OBJEXT) gd_color_map_test_LDADD = $(LDADD) gd_color_map_test_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gdcmpgif_SOURCES = gdcmpgif.c gdcmpgif_OBJECTS = gdcmpgif.$(OBJEXT) gdcmpgif_LDADD = $(LDADD) gdcmpgif_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gddemo_SOURCES = gddemo.c gddemo_OBJECTS = gddemo.$(OBJEXT) gddemo_LDADD = $(LDADD) gddemo_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gdparttopng_SOURCES = gdparttopng.c gdparttopng_OBJECTS = gdparttopng.$(OBJEXT) gdparttopng_LDADD = $(LDADD) gdparttopng_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gdtest_SOURCES = gdtest.c gdtest_OBJECTS = gdtest.$(OBJEXT) gdtest_LDADD = $(LDADD) gdtest_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gdtestft_SOURCES = gdtestft.c gdtestft_OBJECTS = gdtestft.$(OBJEXT) gdtestft_LDADD = $(LDADD) gdtestft_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gdtopng_SOURCES = gdtopng.c gdtopng_OBJECTS = gdtopng.$(OBJEXT) gdtopng_LDADD = $(LDADD) gdtopng_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) gifanimtest_SOURCES = gifanimtest.c gifanimtest_OBJECTS = gifanimtest.$(OBJEXT) gifanimtest_LDADD = $(LDADD) gifanimtest_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) giftogd2_SOURCES = giftogd2.c giftogd2_OBJECTS = giftogd2.$(OBJEXT) giftogd2_LDADD = $(LDADD) giftogd2_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) pngtogd_SOURCES = pngtogd.c pngtogd_OBJECTS = pngtogd.$(OBJEXT) pngtogd_LDADD = $(LDADD) pngtogd_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) pngtogd2_SOURCES = pngtogd2.c pngtogd2_OBJECTS = pngtogd2.$(OBJEXT) pngtogd2_LDADD = $(LDADD) pngtogd2_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) testac_SOURCES = testac.c testac_OBJECTS = testac.$(OBJEXT) testac_LDADD = $(LDADD) testac_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) testtr_SOURCES = testtr.c testtr_OBJECTS = testtr.$(OBJEXT) testtr_LDADD = $(LDADD) testtr_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) webpng_SOURCES = webpng.c webpng_OBJECTS = webpng.$(OBJEXT) webpng_LDADD = $(LDADD) webpng_DEPENDENCIES = libgd.la $(am__DEPENDENCIES_1) SCRIPTS = $(bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/config/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(libgd_la_SOURCES) annotate.c circletexttest.c \ fontconfigtest.c fontsizetest.c fontwheeltest.c gd2copypal.c \ gd2time.c gd2togif.c gd2topng.c gd_color_map_test.c gdcmpgif.c \ gddemo.c gdparttopng.c gdtest.c gdtestft.c gdtopng.c \ gifanimtest.c giftogd2.c pngtogd.c pngtogd2.c testac.c \ testtr.c webpng.c DIST_SOURCES = $(libgd_la_SOURCES) annotate.c circletexttest.c \ fontconfigtest.c fontsizetest.c fontwheeltest.c gd2copypal.c \ gd2time.c gd2togif.c gd2topng.c gd_color_map_test.c gdcmpgif.c \ gddemo.c gdparttopng.c gdtest.c gdtestft.c gdtopng.c \ gifanimtest.c giftogd2.c pngtogd.c pngtogd2.c testac.c \ testtr.c webpng.c am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac HEADERS = $(include_HEADERS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.hin # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.hin \ $(top_srcdir)/config/depcomp COPYING depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDLIB_LT_AGE = @GDLIB_LT_AGE@ GDLIB_LT_CURRENT = @GDLIB_LT_CURRENT@ GDLIB_LT_REVISION = @GDLIB_LT_REVISION@ GREP = @GREP@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBFONTCONFIG_CFLAGS = @LIBFONTCONFIG_CFLAGS@ LIBFONTCONFIG_LIBS = @LIBFONTCONFIG_LIBS@ LIBFREETYPE_CFLAGS = @LIBFREETYPE_CFLAGS@ LIBFREETYPE_LIBS = @LIBFREETYPE_LIBS@ LIBICONV = @LIBICONV@ LIBJPEG_CFLAGS = @LIBJPEG_CFLAGS@ LIBJPEG_LIBS = @LIBJPEG_LIBS@ LIBOBJS = @LIBOBJS@ LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ LIBPNG_LIBS = @LIBPNG_LIBS@ LIBRAQM_CFLAGS = @LIBRAQM_CFLAGS@ LIBRAQM_LIBS = @LIBRAQM_LIBS@ LIBS = @LIBS@ LIBTIFF_CFLAGS = @LIBTIFF_CFLAGS@ LIBTIFF_LIBS = @LIBTIFF_LIBS@ LIBTOOL = @LIBTOOL@ LIBXPM_CFLAGS = @LIBXPM_CFLAGS@ LIBXPM_LIBS = @LIBXPM_LIBS@ LIBZ_CFLAGS = @LIBZ_CFLAGS@ LIBZ_LIBS = @LIBZ_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMKMF = @XMKMF@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ ax_pthread_config = @ax_pthread_config@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ bin_SCRIPTS = bdftogd EXTRA_DIST = \ bdftogd \ demoin.png \ entities.html \ entities.tcl \ CMakeLists.txt \ config.h.cmake \ gd_io_stream.cxx \ gdpp.cxx \ getopt.c \ snprintf.c \ msinttypes/inttypes.h \ msinttypes/stdint.h include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h entities.h gd_color_map.h gd_errors.h gdpp.h lib_LTLIBRARIES = libgd.la libgd_la_SOURCES = \ bmp.h \ gd.c \ gd.h \ gd_bmp.c \ gd_color.c \ gd_color.h \ gd_color_map.c \ gd_color_map.h \ gd_color_match.c \ gd_crop.c \ gd_filename.c \ gd_filter.c \ gd_gd.c \ gd_gd2.c \ gd_gif_in.c \ gd_gif_out.c \ gd_intern.h \ gd_interpolation.c \ gd_io.c \ gd_io.h \ gd_io_dp.c \ gd_io_file.c \ gd_io_ss.c \ gd_io_stream.h \ gd_jpeg.c \ gd_matrix.c \ gd_nnquant.c \ gd_nnquant.h \ gd_png.c \ gd_rotate.c \ gd_security.c \ gd_ss.c \ gd_tga.c \ gd_tga.h \ gd_tiff.c \ gd_topal.c \ gd_transform.c \ gd_version.c \ gd_wbmp.c \ gd_webp.c \ gd_xbm.c \ gdcache.c \ gdcache.h \ gdfontg.c \ gdfontg.h \ gdfontl.c \ gdfontl.h \ gdfontmb.c \ gdfontmb.h \ gdfonts.c \ gdfonts.h \ gdfontt.c \ gdfontt.h \ gdft.c \ gdfx.c \ gdfx.h \ gdhelpers.c \ gdhelpers.h \ gdkanji.c \ gdtables.c \ gdxpm.c \ jisx0208.h \ wbmp.c \ wbmp.h libgd_la_LDFLAGS = -version-info $(GDLIB_LT_CURRENT):$(GDLIB_LT_REVISION):$(GDLIB_LT_AGE) -no-undefined libgd_la_LIBADD = $(LTLIBICONV) LDADD = libgd.la $(LIBICONV) all: config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status src/config.h $(srcdir)/config.hin: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ } uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } libgd.la: $(libgd_la_OBJECTS) $(libgd_la_DEPENDENCIES) $(EXTRA_libgd_la_DEPENDENCIES) $(AM_V_CCLD)$(libgd_la_LINK) -rpath $(libdir) $(libgd_la_OBJECTS) $(libgd_la_LIBADD) $(LIBS) install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ || test -f $$p1 \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list clean-checkPROGRAMS: @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list annotate$(EXEEXT): $(annotate_OBJECTS) $(annotate_DEPENDENCIES) $(EXTRA_annotate_DEPENDENCIES) @rm -f annotate$(EXEEXT) $(AM_V_CCLD)$(LINK) $(annotate_OBJECTS) $(annotate_LDADD) $(LIBS) circletexttest$(EXEEXT): $(circletexttest_OBJECTS) $(circletexttest_DEPENDENCIES) $(EXTRA_circletexttest_DEPENDENCIES) @rm -f circletexttest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(circletexttest_OBJECTS) $(circletexttest_LDADD) $(LIBS) fontconfigtest$(EXEEXT): $(fontconfigtest_OBJECTS) $(fontconfigtest_DEPENDENCIES) $(EXTRA_fontconfigtest_DEPENDENCIES) @rm -f fontconfigtest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fontconfigtest_OBJECTS) $(fontconfigtest_LDADD) $(LIBS) fontsizetest$(EXEEXT): $(fontsizetest_OBJECTS) $(fontsizetest_DEPENDENCIES) $(EXTRA_fontsizetest_DEPENDENCIES) @rm -f fontsizetest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fontsizetest_OBJECTS) $(fontsizetest_LDADD) $(LIBS) fontwheeltest$(EXEEXT): $(fontwheeltest_OBJECTS) $(fontwheeltest_DEPENDENCIES) $(EXTRA_fontwheeltest_DEPENDENCIES) @rm -f fontwheeltest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(fontwheeltest_OBJECTS) $(fontwheeltest_LDADD) $(LIBS) gd2copypal$(EXEEXT): $(gd2copypal_OBJECTS) $(gd2copypal_DEPENDENCIES) $(EXTRA_gd2copypal_DEPENDENCIES) @rm -f gd2copypal$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2copypal_OBJECTS) $(gd2copypal_LDADD) $(LIBS) gd2time$(EXEEXT): $(gd2time_OBJECTS) $(gd2time_DEPENDENCIES) $(EXTRA_gd2time_DEPENDENCIES) @rm -f gd2time$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2time_OBJECTS) $(gd2time_LDADD) $(LIBS) gd2togif$(EXEEXT): $(gd2togif_OBJECTS) $(gd2togif_DEPENDENCIES) $(EXTRA_gd2togif_DEPENDENCIES) @rm -f gd2togif$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2togif_OBJECTS) $(gd2togif_LDADD) $(LIBS) gd2topng$(EXEEXT): $(gd2topng_OBJECTS) $(gd2topng_DEPENDENCIES) $(EXTRA_gd2topng_DEPENDENCIES) @rm -f gd2topng$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd2topng_OBJECTS) $(gd2topng_LDADD) $(LIBS) gd_color_map_test$(EXEEXT): $(gd_color_map_test_OBJECTS) $(gd_color_map_test_DEPENDENCIES) $(EXTRA_gd_color_map_test_DEPENDENCIES) @rm -f gd_color_map_test$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gd_color_map_test_OBJECTS) $(gd_color_map_test_LDADD) $(LIBS) gdcmpgif$(EXEEXT): $(gdcmpgif_OBJECTS) $(gdcmpgif_DEPENDENCIES) $(EXTRA_gdcmpgif_DEPENDENCIES) @rm -f gdcmpgif$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdcmpgif_OBJECTS) $(gdcmpgif_LDADD) $(LIBS) gddemo$(EXEEXT): $(gddemo_OBJECTS) $(gddemo_DEPENDENCIES) $(EXTRA_gddemo_DEPENDENCIES) @rm -f gddemo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gddemo_OBJECTS) $(gddemo_LDADD) $(LIBS) gdparttopng$(EXEEXT): $(gdparttopng_OBJECTS) $(gdparttopng_DEPENDENCIES) $(EXTRA_gdparttopng_DEPENDENCIES) @rm -f gdparttopng$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdparttopng_OBJECTS) $(gdparttopng_LDADD) $(LIBS) gdtest$(EXEEXT): $(gdtest_OBJECTS) $(gdtest_DEPENDENCIES) $(EXTRA_gdtest_DEPENDENCIES) @rm -f gdtest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtest_OBJECTS) $(gdtest_LDADD) $(LIBS) gdtestft$(EXEEXT): $(gdtestft_OBJECTS) $(gdtestft_DEPENDENCIES) $(EXTRA_gdtestft_DEPENDENCIES) @rm -f gdtestft$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtestft_OBJECTS) $(gdtestft_LDADD) $(LIBS) gdtopng$(EXEEXT): $(gdtopng_OBJECTS) $(gdtopng_DEPENDENCIES) $(EXTRA_gdtopng_DEPENDENCIES) @rm -f gdtopng$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gdtopng_OBJECTS) $(gdtopng_LDADD) $(LIBS) gifanimtest$(EXEEXT): $(gifanimtest_OBJECTS) $(gifanimtest_DEPENDENCIES) $(EXTRA_gifanimtest_DEPENDENCIES) @rm -f gifanimtest$(EXEEXT) $(AM_V_CCLD)$(LINK) $(gifanimtest_OBJECTS) $(gifanimtest_LDADD) $(LIBS) giftogd2$(EXEEXT): $(giftogd2_OBJECTS) $(giftogd2_DEPENDENCIES) $(EXTRA_giftogd2_DEPENDENCIES) @rm -f giftogd2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(giftogd2_OBJECTS) $(giftogd2_LDADD) $(LIBS) pngtogd$(EXEEXT): $(pngtogd_OBJECTS) $(pngtogd_DEPENDENCIES) $(EXTRA_pngtogd_DEPENDENCIES) @rm -f pngtogd$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pngtogd_OBJECTS) $(pngtogd_LDADD) $(LIBS) pngtogd2$(EXEEXT): $(pngtogd2_OBJECTS) $(pngtogd2_DEPENDENCIES) $(EXTRA_pngtogd2_DEPENDENCIES) @rm -f pngtogd2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(pngtogd2_OBJECTS) $(pngtogd2_LDADD) $(LIBS) testac$(EXEEXT): $(testac_OBJECTS) $(testac_DEPENDENCIES) $(EXTRA_testac_DEPENDENCIES) @rm -f testac$(EXEEXT) $(AM_V_CCLD)$(LINK) $(testac_OBJECTS) $(testac_LDADD) $(LIBS) testtr$(EXEEXT): $(testtr_OBJECTS) $(testtr_DEPENDENCIES) $(EXTRA_testtr_DEPENDENCIES) @rm -f testtr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(testtr_OBJECTS) $(testtr_LDADD) $(LIBS) webpng$(EXEEXT): $(webpng_OBJECTS) $(webpng_DEPENDENCIES) $(EXTRA_webpng_DEPENDENCIES) @rm -f webpng$(EXEEXT) $(AM_V_CCLD)$(LINK) $(webpng_OBJECTS) $(webpng_LDADD) $(LIBS) install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/annotate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/circletexttest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontconfigtest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontsizetest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fontwheeltest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd2copypal.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd2time.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd2togif.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd2topng.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_bmp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_color.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_color_map.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_color_map_test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_color_match.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_crop.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_filename.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_filter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_gd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_gd2.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_gif_in.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_gif_out.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_interpolation.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_io.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_io_dp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_io_file.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_io_ss.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_jpeg.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_matrix.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_nnquant.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_png.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_rotate.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_security.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_ss.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_tga.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_tiff.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_topal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_transform.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_version.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_wbmp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_webp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gd_xbm.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdcache.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdcmpgif.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gddemo.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdfontg.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdfontl.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdfontmb.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdfonts.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdfontt.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdft.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdfx.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdhelpers.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdkanji.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdparttopng.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdtables.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdtest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdtestft.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdtopng.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdxpm.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gifanimtest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/giftogd2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtogd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pngtogd2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testac.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testtr.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wbmp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/webpng.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) check: check-am all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) $(HEADERS) \ config.h install-binPROGRAMS: install-libLTLIBRARIES installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(includedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ clean-libLTLIBRARIES clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-includeHEADERS install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-binSCRIPTS \ install-libLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-binSCRIPTS \ uninstall-includeHEADERS uninstall-libLTLIBRARIES .MAKE: all check-am install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-checkPROGRAMS clean-generic \ clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ ctags-am distclean distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binPROGRAMS install-binSCRIPTS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am \ install-includeHEADERS install-info install-info-am \ install-libLTLIBRARIES install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-binSCRIPTS uninstall-includeHEADERS \ uninstall-libLTLIBRARIES .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libgd-2.3.0/src/depcomp0000664000175000017500000002753313634445460011704 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects # Copyright 1999, 2000 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # `libtool' can also be set to `yes' or `no'. if test -z "$depfile"; then base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` dir=`echo "$object" | sed 's,/.*$,/,'` if test "$dir" = "$object"; then dir= fi # FIXME: should be _deps on DOS. depfile="$dir.deps/$base" fi tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. This file always lives in the current directory. # Also, the AIX compiler puts `$object:' at the start of each line; # $object doesn't have directory information. stripped=`echo "$object" | sed -e 's,^.*/,,' -e 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" outname="$stripped.o" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1="$dir.libs/$base.lo.d" tmpdepfile2="$dir.libs/$base.d" "$@" -Wc,-MD else tmpdepfile1="$dir$base.o.d" tmpdepfile2="$dir$base.d" "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi if test -f "$tmpdepfile1"; then tmpdepfile="$tmpdepfile1" else tmpdepfile="$tmpdepfile2" fi if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a space and a tab in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the proprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. We will use -o /dev/null later, # however we can't do the remplacement now because # `-o $object' might simply not be used IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M "$@" -o /dev/null $dashmflag | sed 's:^[^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; -*) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the proprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the proprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 libgd-2.3.0/src/testac.c0000664000175000017500000000776113635665516011771 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include "gd.h" /* If palette is true, we convert from truecolor to palette at the end, to test gdImageTrueColorToPalette and see file size/ quality tradeoffs. */ void testDrawing (gdImagePtr im_in, double scale, int blending, int palette, char *filename); int main (int argc, char *argv[]) { /* Input and output files */ FILE *in; /* Input image */ gdImagePtr im_in = 0; if (argc != 2) { fprintf (stderr, "Usage: testac filename.png\n"); exit (1); } /* Load original PNG, which should contain alpha channel information. We will use it in two ways: preserving it literally, for use with compatible browsers, and compositing it ourselves against a background of our choosing (alpha blending). We'll change its size and try creating palette versions of it. */ in = fopen (argv[1], "rb"); if (!in) { fprintf (stderr, "Can't load %s.\n", argv[1]); exit (1); } else { im_in = gdImageCreateFromPng (in); fclose (in); } testDrawing (im_in, 1.0, 0, 0, "noblending-fullsize-truecolor.png"); testDrawing (im_in, 1.0, 1, 0, "blending-fullsize-truecolor.png"); testDrawing (im_in, 0.5, 0, 0, "noblending-halfsize-truecolor.png"); testDrawing (im_in, 0.5, 1, 0, "blending-halfsize-truecolor.png"); testDrawing (im_in, 2.0, 0, 0, "noblending-doublesize-truecolor.png"); testDrawing (im_in, 2.0, 1, 0, "blending-doublesize-truecolor.png"); testDrawing (im_in, 1.0, 0, 1, "noblending-fullsize-palette.png"); testDrawing (im_in, 1.0, 1, 1, "blending-fullsize-palette.png"); testDrawing (im_in, 0.5, 0, 1, "noblending-halfsize-palette.png"); testDrawing (im_in, 0.5, 1, 1, "blending-halfsize-palette.png"); testDrawing (im_in, 2.0, 0, 1, "noblending-doublesize-palette.png"); testDrawing (im_in, 2.0, 1, 1, "blending-doublesize-palette.png"); gdImageDestroy (im_in); return 0; } /* If palette is true, we convert from truecolor to palette at the end, to test gdImageTrueColorToPalette and see file size/ quality tradeoffs. */ void testDrawing (gdImagePtr im_in, double scale, int blending, int palette, char *filename) { gdImagePtr im_out; FILE *out; /* Create output image. */ im_out = gdImageCreateTrueColor ((int) (gdImageSX (im_in) * scale), (int) (gdImageSY (im_in) * scale)); /* Request alpha blending. This causes future drawing operations to perform alpha channel blending with the background, resulting in an opaque image. Without this call, pixels in the foreground color are copied literally, *including* the alpha channel value, resulting in an output image which is potentially not opaque. This flag can be set and cleared as often as desired. */ gdImageAlphaBlending (im_out, blending); /* Flood with light blue. */ gdImageFill (im_out, (int) (gdImageSX (im_in) * scale / 2), (int) (gdImageSY (im_in) * scale / 2), gdTrueColor (192, 192, 255)); /* Copy the source image. Alpha blending should result in compositing against red. With blending turned off, the browser or viewer will composite against its preferred background, or, if it does not support an alpha channel, we will see the original colors for the pixels that ought to be transparent or semitransparent. */ gdImageCopyResampled (im_out, im_in, 0, 0, 0, 0, (int) (gdImageSX (im_in) * scale), (int) (gdImageSY (im_in) * scale), gdImageSX (im_in), gdImageSY (im_in)); /* Write PNG */ out = fopen (filename, "wb"); /* If this image is the result of alpha channel blending, it will not contain an interesting alpha channel itself. Save a little file size by not saving the alpha channel. Otherwise the file would typically be slightly larger. */ gdImageSaveAlpha (im_out, !blending); /* If requested, convert from truecolor to palette. */ if (palette) { /* Dithering, 256 colors. */ gdImageTrueColorToPalette (im_out, 1, 256); } gdImagePng (im_out, out); fclose (out); gdImageDestroy (im_out); } libgd-2.3.0/src/gifanimtest.c0000664000175000017500000000125113635665516013004 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" int main(void) { gdImagePtr im; gdImagePtr last, cim; int blue; FILE *out; int i; im = gdImageCreate(100, 100); blue = gdImageColorAllocate(im, 0, 0, 255); out = fopen("gifanim.gif", "wb"); gdImageGifAnimBegin(im, out, 1, 10); last = 0; for (i = 0; (i <= 100); i += 2) { cim = gdImageCreate(100, 100); gdImagePaletteCopy(cim, im); gdImageArc(cim, 50, 50, i, i, 0, 360, blue); gdImageGifAnimAdd(cim, out, 0, 0, 0, 10, gdDisposalNone, last); if (last) { gdImageDestroy(last); } last = cim; } gdImageDestroy(last); gdImageGifAnimEnd(out); fclose(out); gdImageDestroy(im); return 0; } libgd-2.3.0/src/gd_crop.c0000664000175000017500000001602113635665516012110 00000000000000/** * File: Cropping * * Crop an image * * Some functions to crop images, automatically (auto detection of the border * color), using a given color (with or without tolerance) or using a given * rectangle. * * Example: * (start code) * im2 = gdImageAutoCrop(im, GD_CROP_SIDES); * if (im2) { * gdImageDestroy(im); // unless you need the original image subsequently * // do something with the cropped image * } * gdImageDestroy(im2); * (end code) */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "gd.h" #include "gd_color.h" static int gdGuessBackgroundColorFromCorners(gdImagePtr im, int *color); /** * Function: gdImageCrop * * Crop an image to a given rectangle * * Parameters: * src - The image. * crop - The cropping rectangle, see . * * Returns: * The newly created cropped image, or NULL on failure. * * See also: * - * - */ BGD_DECLARE(gdImagePtr) gdImageCrop(gdImagePtr src, const gdRect *crop) { gdImagePtr dst; int alphaBlendingFlag; if (gdImageTrueColor(src)) { dst = gdImageCreateTrueColor(crop->width, crop->height); } else { dst = gdImageCreate(crop->width, crop->height); } if (!dst) return NULL; alphaBlendingFlag = dst->alphaBlendingFlag; gdImageAlphaBlending(dst, gdEffectReplace); gdImageCopy(dst, src, 0, 0, crop->x, crop->y, crop->width, crop->height); gdImageAlphaBlending(dst, alphaBlendingFlag); return dst; } /** * Function: gdImageCropAuto * * Crop an image automatically * * This function detects the cropping area according to the given _mode_. * * Parameters: * im - The image. * mode - The cropping mode, see . * * Returns: * The newly created cropped image, or NULL on failure. * * See also: * - * - */ BGD_DECLARE(gdImagePtr) gdImageCropAuto(gdImagePtr im, const unsigned int mode) { const int width = gdImageSX(im); const int height = gdImageSY(im); int x,y; int color, match; gdRect crop; crop.x = 0; crop.y = 0; crop.width = 0; crop.height = 0; switch (mode) { case GD_CROP_TRANSPARENT: color = gdImageGetTransparent(im); break; case GD_CROP_BLACK: color = gdImageColorClosestAlpha(im, 0, 0, 0, 0); break; case GD_CROP_WHITE: color = gdImageColorClosestAlpha(im, 255, 255, 255, 0); break; case GD_CROP_SIDES: gdGuessBackgroundColorFromCorners(im, &color); break; case GD_CROP_DEFAULT: default: color = gdImageGetTransparent(im); break; } /* TODO: Add gdImageGetRowPtr and works with ptr at the row level * for the true color and palette images * new formats will simply work with ptr */ match = 1; for (y = 0; match && y < height; y++) { for (x = 0; match && x < width; x++) { match = (color == gdImageGetPixel(im, x,y)); } } /* Whole image would be cropped > bye */ if (match) { return NULL; } crop.y = y - 1; match = 1; for (y = height - 1; match && y >= 0; y--) { for (x = 0; match && x < width; x++) { match = (color == gdImageGetPixel(im, x,y)); } } crop.height = y - crop.y + 2; match = 1; for (x = 0; match && x < width; x++) { for (y = 0; match && y < crop.y + crop.height; y++) { match = (color == gdImageGetPixel(im, x,y)); } } crop.x = x - 1; match = 1; for (x = width - 1; match && x >= 0; x--) { for (y = 0; match && y < crop.y + crop.height; y++) { match = (color == gdImageGetPixel(im, x,y)); } } crop.width = x - crop.x + 2; return gdImageCrop(im, &crop); } /** * Function: gdImageCropThreshold * * Crop an image using a given color * * The _threshold_ defines the tolerance to be used while comparing the image * color and the color to crop. The method used to calculate the color * difference is based on the color distance in the RGB(A) cube. * * Parameters: * im - The image. * color - The crop color. * threshold - The crop threshold. * * Returns: * The newly created cropped image, or NULL on failure. * * See also: * - * - */ BGD_DECLARE(gdImagePtr) gdImageCropThreshold(gdImagePtr im, const unsigned int color, const float threshold) { const int width = gdImageSX(im); const int height = gdImageSY(im); int x,y; int match; gdRect crop; crop.x = 0; crop.y = 0; crop.width = 0; crop.height = 0; /* Pierre: crop everything sounds bad */ if (threshold > 100.0) { return NULL; } if (!gdImageTrueColor(im) && color >= gdImageColorsTotal(im)) { return NULL; } /* TODO: Add gdImageGetRowPtr and works with ptr at the row level * for the true color and palette images * new formats will simply work with ptr */ match = 1; for (y = 0; match && y < height; y++) { for (x = 0; match && x < width; x++) { match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; } } /* Whole image would be cropped > bye */ if (match) { return NULL; } crop.y = y - 1; match = 1; for (y = height - 1; match && y >= 0; y--) { for (x = 0; match && x < width; x++) { match = (gdColorMatch(im, color, gdImageGetPixel(im, x, y), threshold)) > 0; } } crop.height = y - crop.y + 2; match = 1; for (x = 0; match && x < width; x++) { for (y = 0; match && y < crop.y + crop.height; y++) { match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; } } crop.x = x - 1; match = 1; for (x = width - 1; match && x >= 0; x--) { for (y = 0; match && y < crop.y + crop.height; y++) { match = (gdColorMatch(im, color, gdImageGetPixel(im, x,y), threshold)) > 0; } } crop.width = x - crop.x + 2; return gdImageCrop(im, &crop); } /* This algorithm comes from pnmcrop (http://netpbm.sourceforge.net/) * Three steps: * - if 3 corners are equal. * - if two are equal. * - Last solution: average the colors */ static int gdGuessBackgroundColorFromCorners(gdImagePtr im, int *color) { const int tl = gdImageGetPixel(im, 0, 0); const int tr = gdImageGetPixel(im, gdImageSX(im) - 1, 0); const int bl = gdImageGetPixel(im, 0, gdImageSY(im) -1); const int br = gdImageGetPixel(im, gdImageSX(im) - 1, gdImageSY(im) -1); if (tr == bl && tr == br) { *color = tr; return 3; } else if (tl == bl && tl == br) { *color = tl; return 3; } else if (tl == tr && tl == br) { *color = tl; return 3; } else if (tl == tr && tl == bl) { *color = tl; return 3; } else if (tl == tr || tl == bl || tl == br) { *color = tl; return 2; } else if (tr == bl || tr == br) { *color = tr; return 2; } else if (br == bl) { *color = bl; return 2; } else { register int r,b,g,a; r = (int)(0.5f + (gdImageRed(im, tl) + gdImageRed(im, tr) + gdImageRed(im, bl) + gdImageRed(im, br)) / 4); g = (int)(0.5f + (gdImageGreen(im, tl) + gdImageGreen(im, tr) + gdImageGreen(im, bl) + gdImageGreen(im, br)) / 4); b = (int)(0.5f + (gdImageBlue(im, tl) + gdImageBlue(im, tr) + gdImageBlue(im, bl) + gdImageBlue(im, br)) / 4); a = (int)(0.5f + (gdImageAlpha(im, tl) + gdImageAlpha(im, tr) + gdImageAlpha(im, bl) + gdImageAlpha(im, br)) / 4); *color = gdImageColorClosestAlpha(im, r, g, b, a); return 0; } } libgd-2.3.0/src/gdfontg.h0000664000175000017500000000105113634445460012116 00000000000000#ifndef _GDFONTG_H_ #define _GDFONTG_H_ 1 #ifdef __cplusplus extern "C" { #endif /* This is a header file for gd font, generated using bdftogd version 0.51 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -Misc-Fixed-Bold-R-Normal-Sans-15-140-75-75-C-90-ISO8859-2 at Mon Jan 26 14:45:58 1998. The original bdf was holding following copyright: "Libor Skarvada, libor@informatics.muni.cz" */ #include "gd.h" extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontGiant; BGD_DECLARE(gdFontPtr) gdFontGetGiant(void); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gd_gif_in.c0000664000175000017500000003611713635665516012410 00000000000000/** * File: GIF Input * * Read GIF images. */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include #include "gd.h" /* Used only when debugging GIF compression code */ /* #define DEBUGGING_ENVARS */ #ifdef DEBUGGING_ENVARS static int verbose_set = 0; static int verbose; #define VERBOSE (verbose_set ? verbose : set_verbose()) static int set_verbose(void) { verbose = !!getenv("GIF_VERBOSE"); verbose_set = 1; return(verbose); } #else #define VERBOSE 0 #endif #define MAXCOLORMAPSIZE 256 #define TRUE 1 #define FALSE 0 #define CM_RED 0 #define CM_GREEN 1 #define CM_BLUE 2 #define MAX_LWZ_BITS 12 #define INTERLACE 0x40 #define LOCALCOLORMAP 0x80 #define BitSet(byte, bit) (((byte) & (bit)) == (bit)) #define ReadOK(file, buffer, len) (gdGetBuf(buffer, len, file) == len) #define LM_to_uint(a, b) (((b)<<8)|(a)) /* We may eventually want to use this information, but def it out for now */ #if 0 static struct { unsigned int Width; unsigned int Height; unsigned char ColorMap[3][MAXCOLORMAPSIZE]; unsigned int BitPixel; unsigned int ColorResolution; unsigned int Background; unsigned int AspectRatio; } GifScreen; #endif #if 0 static struct { int transparent; int delayTime; int inputFlag; int disposal; } Gif89 = { -1, -1, -1, 0 }; #endif #define STACK_SIZE ((1<<(MAX_LWZ_BITS))*2) #define CSD_BUF_SIZE 280 typedef struct { unsigned char buf[CSD_BUF_SIZE]; int curbit; int lastbit; int done; int last_byte; } CODE_STATIC_DATA; typedef struct { int fresh; int code_size, set_code_size; int max_code, max_code_size; int firstcode, oldcode; int clear_code, end_code; int table[2][(1<< MAX_LWZ_BITS)]; int stack[STACK_SIZE], *sp; CODE_STATIC_DATA scd; } LZW_STATIC_DATA; static int ReadColorMap (gdIOCtx *fd, int number, unsigned char (*buffer)[256]); static int DoExtension (gdIOCtx *fd, int label, int *Transparent, int *ZeroDataBlockP); static int GetDataBlock (gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP); static int GetCode (gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP); static int LWZReadByte (gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP); static void ReadImage (gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP); /*1.4//, int ignore); */ /* Function: gdImageCreateFromGif is called to load images from GIF format files. Invoke with an already opened pointer to a file containing the desired image. returns a to the new image, or NULL if unable to load the image (most often because the file is corrupt or does not contain a GIF image). does not close the file. You can inspect the sx and sy members of the image to determine its size. The image must eventually be destroyed using . Variants: creates an image from GIF data (i.e. the contents of a GIF file) already in memory. reads in an image using the functions in a struct. Parameters: infile - The input FILE pointer Returns: A pointer to the new image or NULL if an error occurred. Example: > gdImagePtr im; > ... inside a function ... > FILE *in; > in = fopen("mygif.gif", "rb"); > im = gdImageCreateFromGif(in); > fclose(in); > // ... Use the image ... > gdImageDestroy(im); */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGif(FILE *fdFile) { gdIOCtx *fd = gdNewFileCtx(fdFile); gdImagePtr im; if (fd == NULL) return NULL; im = gdImageCreateFromGifCtx(fd); fd->gd_free(fd); return im; } /* Function: gdImageCreateFromGifPtr Parameters: size - size of GIF data in bytes. data - GIF data (i.e. contents of a GIF file). See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGifPtr (int size, void *data) { gdImagePtr im; gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); if(!in) { return 0; } im = gdImageCreateFromGifCtx(in); in->gd_free(in); return im; } /* Function: gdImageCreateFromGifCtx See . */ BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr fd) { int BitPixel; #if 0 int ColorResolution; int Background; int AspectRatio; #endif int Transparent = (-1); unsigned char buf[16]; unsigned char c; unsigned char ColorMap[3][MAXCOLORMAPSIZE]; unsigned char localColorMap[3][MAXCOLORMAPSIZE]; int imw, imh, screen_width, screen_height; int useGlobalColormap; int bitPixel, i; /*1.4//int imageCount = 0; */ /* 2.0.28: threadsafe storage */ int ZeroDataBlock = FALSE; int haveGlobalColormap; gdImagePtr im = 0; memset(ColorMap, 0, 3 * MAXCOLORMAPSIZE); memset(localColorMap, 0, 3 * MAXCOLORMAPSIZE); if(!ReadOK(fd, buf, 6)) { return 0; } if(strncmp((char *)buf, "GIF", 3) != 0) { return 0; } if(memcmp((char *)buf + 3, "87a", 3) == 0) { /* GIF87a */ } else if(memcmp((char *)buf + 3, "89a", 3) == 0) { /* GIF89a */ } else { return 0; } if(!ReadOK(fd, buf, 7)) { return 0; } BitPixel = 2 << (buf[4] & 0x07); #if 0 ColorResolution = (int) (((buf[4]&0x70)>>3)+1); Background = buf[5]; AspectRatio = buf[6]; #endif screen_width = imw = LM_to_uint(buf[0], buf[1]); screen_height = imh = LM_to_uint(buf[2], buf[3]); haveGlobalColormap = BitSet(buf[4], LOCALCOLORMAP); /* Global Colormap */ if(haveGlobalColormap) { if(ReadColorMap(fd, BitPixel, ColorMap)) { return 0; } } for (;;) { int top, left; int width, height; if(!ReadOK(fd, &c, 1)) { return 0; } if (c == ';') { /* GIF terminator */ goto terminated; } if(c == '!') { /* Extension */ if(!ReadOK(fd, &c, 1)) { return 0; } DoExtension(fd, c, &Transparent, &ZeroDataBlock); continue; } if(c != ',') { /* Not a valid start character */ continue; } /*1.4//++imageCount; */ if(!ReadOK(fd, buf, 9)) { return 0; } useGlobalColormap = !BitSet(buf[8], LOCALCOLORMAP); bitPixel = 1 << ((buf[8] & 0x07) + 1); left = LM_to_uint(buf[0], buf[1]); top = LM_to_uint(buf[2], buf[3]); width = LM_to_uint(buf[4], buf[5]); height = LM_to_uint(buf[6], buf[7]); if(((left + width) > screen_width) || ((top + height) > screen_height)) { if(VERBOSE) { printf("Frame is not confined to screen dimension.\n"); } return 0; } if(!(im = gdImageCreate(width, height))) { return 0; } im->interlace = BitSet(buf[8], INTERLACE); if(!useGlobalColormap) { if(ReadColorMap(fd, bitPixel, localColorMap)) { gdImageDestroy(im); return 0; } ReadImage(im, fd, width, height, localColorMap, BitSet(buf[8], INTERLACE), &ZeroDataBlock); } else { if(!haveGlobalColormap) { gdImageDestroy(im); return 0; } ReadImage(im, fd, width, height, ColorMap, BitSet(buf[8], INTERLACE), &ZeroDataBlock); } if(Transparent != (-1)) { gdImageColorTransparent(im, Transparent); } goto terminated; } terminated: /* Terminator before any image was declared! */ if(!im) { return 0; } /* Check for open colors at the end, so * we can reduce colorsTotal and ultimately * BitsPerPixel */ for(i = im->colorsTotal - 1; i >= 0; i--) { if(im->open[i]) { im->colorsTotal--; } else { break; } } if(!im->colorsTotal) { gdImageDestroy(im); return 0; } return im; } static int ReadColorMap(gdIOCtx *fd, int number, unsigned char (*buffer)[256]) { int i; unsigned char rgb[3]; for(i = 0; i < number; ++i) { if(!ReadOK(fd, rgb, sizeof(rgb))) { return TRUE; } buffer[CM_RED][i] = rgb[0]; buffer[CM_GREEN][i] = rgb[1]; buffer[CM_BLUE][i] = rgb[2]; } return FALSE; } static int DoExtension(gdIOCtx *fd, int label, int *Transparent, int *ZeroDataBlockP) { unsigned char buf[256]; switch(label) { case 0xf9: /* Graphic Control Extension */ memset(buf, 0, 4); /* initialize a few bytes in the case the next function fails */ (void) GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP); #if 0 Gif89.disposal = (buf[0] >> 2) & 0x7; Gif89.inputFlag = (buf[0] >> 1) & 0x1; Gif89.delayTime = LM_to_uint(buf[1], buf[2]); #endif if((buf[0] & 0x1) != 0) { *Transparent = buf[3]; } while(GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0); return FALSE; default: break; } while(GetDataBlock(fd, (unsigned char*) buf, ZeroDataBlockP) > 0); return FALSE; } static int GetDataBlock_(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) { unsigned char count; if(!ReadOK(fd, &count, 1)) { return -1; } *ZeroDataBlockP = count == 0; if((count != 0) && (!ReadOK(fd, buf, count))) { return -1; } return count; } static int GetDataBlock(gdIOCtx *fd, unsigned char *buf, int *ZeroDataBlockP) { int rv, i; rv = GetDataBlock_(fd,buf, ZeroDataBlockP); if(VERBOSE) { printf("[GetDataBlock returning %d",rv); if(rv > 0) { printf(":"); for(i = 0; i < rv; i++) { printf(" %02x",buf[i]); } } printf("]\n"); } return rv; } static int GetCode_(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) { int i, j, ret; int count; if(flag) { scd->curbit = 0; scd->lastbit = 0; scd->last_byte = 2; scd->done = FALSE; return 0; } if((scd->curbit + code_size) >= scd->lastbit) { if(scd->done) { if(scd->curbit >= scd->lastbit) { /* Oh well */ } return -1; } scd->buf[0] = scd->buf[scd->last_byte - 2]; scd->buf[1] = scd->buf[scd->last_byte - 1]; if((count = GetDataBlock(fd, &scd->buf[2], ZeroDataBlockP)) <= 0) { scd->done = TRUE; } scd->last_byte = 2 + count; scd->curbit = (scd->curbit - scd->lastbit) + 16; scd->lastbit = (2 + count) * 8; } if ((scd->curbit + code_size - 1) >= (CSD_BUF_SIZE * 8)) { ret = -1; } else { ret = 0; for (i = scd->curbit, j = 0; j < code_size; ++i, ++j) { ret |= ((scd->buf[i / 8] & (1 << (i % 8))) != 0) << j; } } scd->curbit += code_size; return ret; } static int GetCode(gdIOCtx *fd, CODE_STATIC_DATA *scd, int code_size, int flag, int *ZeroDataBlockP) { int rv; rv = GetCode_(fd, scd, code_size,flag, ZeroDataBlockP); if(VERBOSE) { printf("[GetCode(,%d,%d) returning %d]\n",code_size,flag,rv); } return rv; } static int LWZReadByte_(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) { int code, incode, i; if(flag) { sd->set_code_size = input_code_size; sd->code_size = sd->set_code_size + 1; sd->clear_code = 1 << sd->set_code_size; sd->end_code = sd->clear_code + 1; sd->max_code_size = 2 * sd->clear_code; sd->max_code = sd->clear_code + 2; GetCode(fd, &sd->scd, 0, TRUE, ZeroDataBlockP); sd->fresh = TRUE; for(i = 0; i < sd->clear_code; ++i) { sd->table[0][i] = 0; sd->table[1][i] = i; } for(; i < (1 << MAX_LWZ_BITS); ++i) { sd->table[0][i] = sd->table[1][0] = 0; } sd->sp = sd->stack; return 0; } else if(sd->fresh) { sd->fresh = FALSE; do { sd->firstcode = sd->oldcode = GetCode(fd, &sd->scd, sd->code_size, FALSE, ZeroDataBlockP); } while(sd->firstcode == sd->clear_code); return sd->firstcode; } if(sd->sp > sd->stack) { return *--sd->sp; } while((code = GetCode(fd, &sd->scd, sd->code_size, FALSE, ZeroDataBlockP)) >= 0) { if(code == sd->clear_code) { for(i = 0; i < sd->clear_code; ++i) { sd->table[0][i] = 0; sd->table[1][i] = i; } for (; i < (1 << MAX_LWZ_BITS); ++i) { sd->table[0][i] = sd->table[1][i] = 0; } sd->code_size = sd->set_code_size + 1; sd->max_code_size = 2 * sd->clear_code; sd->max_code = sd->clear_code + 2; sd->sp = sd->stack; sd->firstcode = sd->oldcode = GetCode(fd, &sd->scd, sd->code_size, FALSE, ZeroDataBlockP); return sd->firstcode; } else if(code == sd->end_code) { int count; unsigned char buf[260]; if(*ZeroDataBlockP) { return -2; } while((count = GetDataBlock(fd, buf, ZeroDataBlockP)) > 0); if(count != 0) { return -2; } } incode = code; if(sd->sp == (sd->stack + STACK_SIZE)) { /* Bad compressed data stream */ return -1; } if(code >= sd->max_code) { *sd->sp++ = sd->firstcode; code = sd->oldcode; } while(code >= sd->clear_code) { if(sd->sp == (sd->stack + STACK_SIZE)) { /* Bad compressed data stream */ return -1; } if(code >= (1 << MAX_LWZ_BITS)) { /* Corrupted code */ return -1; } *sd->sp++ = sd->table[1][code]; if(code == sd->table[0][code]) { /* Oh well */ } code = sd->table[0][code]; } if(code >= (1 << MAX_LWZ_BITS)) { /* Corrupted code */ return -1; } *sd->sp++ = sd->firstcode = sd->table[1][code]; if((code = sd->max_code) < (1 << MAX_LWZ_BITS)) { sd->table[0][code] = sd->oldcode; sd->table[1][code] = sd->firstcode; ++sd->max_code; if((sd->max_code >= sd->max_code_size) && (sd->max_code_size < (1<max_code_size *= 2; ++sd->code_size; } } sd->oldcode = incode; if(sd->sp > sd->stack) { return *--sd->sp; } } return code; } static int LWZReadByte(gdIOCtx *fd, LZW_STATIC_DATA *sd, char flag, int input_code_size, int *ZeroDataBlockP) { int rv; rv = LWZReadByte_(fd, sd, flag, input_code_size, ZeroDataBlockP); if(VERBOSE) { printf("[LWZReadByte(,%d,%d) returning %d]\n",flag,input_code_size,rv); } return rv; } static void ReadImage(gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlace, int *ZeroDataBlockP) /*1.4//, int ignore) */ { unsigned char c; int xpos = 0, ypos = 0, pass = 0; int v, i; LZW_STATIC_DATA sd; /* Initialize the Compression routines */ if(!ReadOK(fd, &c, 1)) { return; } if(c > MAX_LWZ_BITS) { return; } /* Stash the color map into the image */ for(i=0; (i < gdMaxColors); i++) { im->red[i] = cmap[CM_RED][i]; im->green[i] = cmap[CM_GREEN][i]; im->blue[i] = cmap[CM_BLUE][i]; im->open[i] = 1; } /* Many (perhaps most) of these colors will remain marked open. */ im->colorsTotal = gdMaxColors; if(LWZReadByte(fd, &sd, TRUE, c, ZeroDataBlockP) < 0) { return; } /* ** If this is an "uninteresting picture" ignore it. ** REMOVED For 1.4 */ /*if (ignore) { */ /* while (LWZReadByte(fd, &sd, FALSE, c) >= 0) */ /* ; */ /* return; */ /*} */ while((v = LWZReadByte(fd, &sd, FALSE, c, ZeroDataBlockP)) >= 0 ) { if(v >= gdMaxColors) { v = 0; } /* This how we recognize which colors are actually used. */ if(im->open[v]) { im->open[v] = 0; } gdImageSetPixel(im, xpos, ypos, v); ++xpos; if(xpos == len) { xpos = 0; if(interlace) { switch (pass) { case 0: case 1: ypos += 8; break; case 2: ypos += 4; break; case 3: ypos += 2; break; } if(ypos >= height) { ++pass; switch (pass) { case 1: ypos = 4; break; case 2: ypos = 2; break; case 3: ypos = 1; break; default: goto fini; } } } else { ++ypos; } } if(ypos >= height) { break; } } fini: if(LWZReadByte(fd, &sd, FALSE, c, ZeroDataBlockP) >=0) { /* Ignore extra */ } } libgd-2.3.0/src/gddemo.c0000664000175000017500000001251313635665516011734 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #include #include "gd.h" #include "gdfontt.h" #include "gdfonts.h" #include "gdfontmb.h" #include "gdfontl.h" #include "gdfontg.h" int main (void) { /* Input and output files */ FILE *in; FILE *out; /* Input and output images */ gdImagePtr im_in = 0, im_out = 0; /* Brush image */ gdImagePtr brush; /* Color indexes */ int white; int blue; int red; int green; /* Points for polygon */ gdPoint points[3]; int i; /* gd fonts for font test */ gdFontPtr fonts[5]; int y; /* Create output image, in true color. */ im_out = gdImageCreateTrueColor (256 + 384, 384); /* 2.0.2: first color allocated would automatically be background in a palette based image. Since this is a truecolor image, with an automatic background of black, we must fill it explicitly. */ white = gdImageColorAllocate (im_out, 255, 255, 255); gdImageFilledRectangle (im_out, 0, 0, gdImageSX (im_out), gdImageSY (im_out), white); /* Set transparent color. */ gdImageColorTransparent (im_out, white); /* Try to load demoin.png and paste part of it into the output image. */ in = fopen ("demoin.png", "rb"); if (!in) { fprintf(stderr, "Can't load source image; this demo\n"); fprintf(stderr, "is much more impressive if demoin.png\n"); fprintf(stderr, "is available.\n"); im_in = 0; } else { int a; im_in = gdImageCreateFromPng (in); fclose (in); /* Now copy, and magnify as we do so */ gdImageCopyResampled (im_out, im_in, 32, 32, 0, 0, 192, 192, 255, 255); /* Now display variously rotated space shuttles in a circle of our own */ for (a = 0; (a < 360); a += 45) { int cx = cos (a * .0174532925) * 128; int cy = -sin (a * .0174532925) * 128; gdImageCopyRotated (im_out, im_in, 256 + 192 + cx, 192 + cy, 0, 0, gdImageSX (im_in), gdImageSY (im_in), a); } } red = gdImageColorAllocate (im_out, 255, 0, 0); green = gdImageColorAllocate (im_out, 0, 255, 0); blue = gdImageColorAllocate (im_out, 0, 0, 255); /* Fat Rectangle */ gdImageSetThickness (im_out, 4); gdImageLine (im_out, 16, 16, 240, 16, green); gdImageLine (im_out, 240, 16, 240, 240, green); gdImageLine (im_out, 240, 240, 16, 240, green); gdImageLine (im_out, 16, 240, 16, 16, green); gdImageSetThickness (im_out, 1); /* Circle */ gdImageArc (im_out, 128, 128, 60, 20, 0, 720, blue); /* Arc */ gdImageArc (im_out, 128, 128, 40, 40, 90, 270, blue); /* Flood fill: doesn't do much on a continuously variable tone jpeg original. */ gdImageFill (im_out, 8, 8, blue); /* Polygon */ points[0].x = 64; points[0].y = 0; points[1].x = 0; points[1].y = 128; points[2].x = 128; points[2].y = 128; gdImageFilledPolygon (im_out, points, 3, green); /* 2.0.12: Antialiased Polygon */ gdImageSetAntiAliased (im_out, green); for (i = 0; (i < 3); i++) { points[i].x += 128; } gdImageFilledPolygon (im_out, points, 3, gdAntiAliased); /* Brush. A fairly wild example also involving a line style! */ if (im_in) { int style[8]; brush = gdImageCreateTrueColor (16, 16); gdImageCopyResized (brush, im_in, 0, 0, 0, 0, gdImageSX (brush), gdImageSY (brush), gdImageSX (im_in), gdImageSY (im_in)); gdImageSetBrush (im_out, brush); /* With a style, so they won't overprint each other. Normally, they would, yielding a fat-brush effect. */ style[0] = 0; style[1] = 0; style[2] = 0; style[3] = 0; style[4] = 0; style[5] = 0; style[6] = 0; style[7] = 1; gdImageSetStyle (im_out, style, 8); /* Draw the styled, brushed line */ gdImageLine (im_out, 0, 255, 255, 0, gdStyledBrushed); } /* Text (non-truetype; see gdtestft for a freetype demo) */ fonts[0] = gdFontGetTiny (); fonts[1] = gdFontGetSmall (); fonts[2] = gdFontGetMediumBold (); fonts[3] = gdFontGetLarge (); fonts[4] = gdFontGetGiant (); y = 0; for (i = 0; (i <= 4); i++) { gdImageString (im_out, fonts[i], 32, 32 + y, (unsigned char *) "hi", red); y += fonts[i]->h; } y = 0; for (i = 0; (i <= 4); i++) { gdImageStringUp (im_out, fonts[i], 64 + y, 64, (unsigned char *) "hi", red); y += fonts[i]->h; } /* Random antialiased lines; coordinates all over the image, but the output will respect a small clipping rectangle */ gdImageSetClip (im_out, 0, gdImageSY (im_out) - 100, 100, gdImageSY (im_out)); /* Fixed seed for reproducibility of results */ srand (100); for (i = 0; (i < 100); i++) { int x1 = rand () % gdImageSX (im_out); int y1 = rand () % gdImageSY (im_out); int x2 = rand () % gdImageSX (im_out); int y2 = rand () % gdImageSY (im_out); gdImageSetAntiAliased (im_out, white); gdImageLine (im_out, x1, y1, x2, y2, gdAntiAliased); } /* Make output image interlaced (progressive, in the case of JPEG) */ gdImageInterlace (im_out, 1); out = fopen ("demoout.png", "wb"); /* Write PNG */ gdImagePng (im_out, out); fclose (out); out = fopen ("demoout.gif", "wb"); /* Write GIF (2.0.28) */ gdImageGif (im_out, out); fclose (out); /* 2.0.12: also write a paletteized png comparable to the gif */ out = fopen ("demooutp.png", "wb"); gdImageTrueColorToPalette (im_out, 0, 256); gdImagePng (im_out, out); fclose (out); gdImageDestroy (im_out); if (im_in) { gdImageDestroy (im_in); } return 0; } libgd-2.3.0/src/gdfontt.h0000664000175000017500000000104213634445460012133 00000000000000#ifndef _GDFONTT_H_ #define _GDFONTT_H_ 1 #ifdef __cplusplus extern "C" { #endif /* This is a header file for gd font, generated using bdftogd version 0.5 by Jan Pazdziora, adelton@fi.muni.cz from bdf font -Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-2 at Thu Jan 8 13:49:54 1998. The original bdf was holding following copyright: "Libor Skarvada, libor@informatics.muni.cz" */ #include "gd.h" extern BGD_EXPORT_DATA_PROT gdFontPtr gdFontTiny; BGD_DECLARE(gdFontPtr) gdFontGetTiny(void); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gdtestft.c0000664000175000017500000001232113635665516012316 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" #include #include #define PI 3.141592 #define DEG2RAD(x) ((x)*PI/180.) #define MAX(x,y) ((x) > (y) ? (x) : (y)) #define MIN(x,y) ((x) < (y) ? (x) : (y)) #define MAX4(x,y,z,w) \ ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w)))) #define MIN4(x,y,z,w) \ ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w)))) #define MAXX(x) MAX4(x[0],x[2],x[4],x[6]) #define MINX(x) MIN4(x[0],x[2],x[4],x[6]) #define MAXY(x) MAX4(x[1],x[3],x[5],x[7]) #define MINY(x) MIN4(x[1],x[3],x[5],x[7]) int main (int argc, char *argv[]) { gdImagePtr im; int blue; int blueAlpha; int white; int brect[8]; int x, y, sx, sy; char *err; #ifdef JISX0208 char *s = "Hello. ɂ Qyjpqg,"; /* String to draw. */ #else char *s = "Hello. こんにちは Qyjpqg,"; /* String to draw. */ #endif double sz = 40.; #if 0 double angle = 0.; #else double angle = DEG2RAD (90); #endif char *f; if (argc == 2) { f = argv[1]; } else { /* 2.02: usage message. Defaulting to Times wasn't working well for the many people with no /usr/share/fonts/truetype. */ fprintf(stderr, "Usage: gdtestft fontfilename\n" "If fontfilename is not a full or relative path, GDFONTPATH is searched for\n" "it. If GDFONTPATH is not set, /usr/share/fonts/truetype is searched.\n"); return 1; } /* obtain brect so that we can size the image */ err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s); if (err) { fprintf(stderr, "%s\n", err); return 1; } /* create an image just big enough for the string (x3) */ sx = MAXX (brect) - MINX (brect) + 6; sy = MAXY (brect) - MINY (brect) + 6; #if 0 /* Would be palette color 8-bit (which of course is still allowed, but not impressive when used with a JPEG background and antialiasing and alpha channel and so on!) */ im = gdImageCreate (sx * 3, sy); #else /* gd 2.0: true color images can use freetype too, and they can do antialiasing against arbitrary complex backgrounds. */ im = gdImageCreateTrueColor (sx * 3, sy); #endif /* Background color. gd 2.0: fill the image with it; truecolor images have a black background otherwise. */ white = gdImageColorResolve (im, 255, 255, 255); /* Load a pretty background and resample it to cover the entire image */ { FILE *in = fopen ("eleanor.jpg", "rb"); gdImagePtr imb = NULL; if (in) { #ifdef HAVE_LIBJPEG imb = gdImageCreateFromJpeg (in); #else fprintf(stderr, "No JPEG library support.\n"); #endif fclose(in); if (!imb) { fprintf(stderr, "gdImageCreateFromJpeg failed\n"); return 1; } if (!im->trueColor) { /* If destination is not truecolor, convert the JPEG to a reasonably high-quality palette version. This is not as good as creating a truecolor output file, of course. Leave many colors for text smoothing. */ #if 1 gdImageTrueColorToPalette (imb, 0, 128); #endif } /* Resample background image to cover new image exactly */ gdImageCopyResampled (im, imb, 0, 0, 0, 0, sx * 3, sy, gdImageSX (imb), gdImageSY (imb)); } else { /* Can't get background, so paint a simple one */ /* Truecolor images start out black, so paint it white */ gdImageFilledRectangle (im, 0, 0, sx * 3, sy, white); } } /* TBB 2.0.2: only black was working, and I didn't know it because the test program used black. Funny, huh? Let's do a more interesting color this time. */ blue = gdImageColorResolve (im, 128, 192, 255); /* Almost-transparent blue (alpha blending), with antialiasing */ blueAlpha = gdImageColorResolveAlpha (im, 128, 192, 255, gdAlphaMax / 2); /* render the string, offset origin to center string */ x = 0 - MINX (brect) + 3; y = 0 - MINY (brect) + 3; /* With antialiasing (positive color value) */ err = gdImageStringFT (im, NULL, blue, f, sz, angle, x, y, s); if (err) { fprintf(stderr, "%s\n", err); return 1; } /* Without antialiasing (negative color value) */ err = gdImageStringFT (im, NULL, -blue, f, sz, angle, sx + x, y, s); if (err) { fprintf(stderr, "%s\n", err); return 1; } /* With antialiasing, and 50% alpha blending (truecolor only) */ err = gdImageStringFT (im, NULL, blueAlpha, f, sz, angle, sx * 2 + x, y, s); if (err) { fprintf(stderr, "%s\n", err); return 1; } /* TBB: Write img to test/fttest.jpg or test/fttest.png */ if (im->trueColor) { #ifdef HAVE_LIBJPEG FILE *out = fopen ("test/fttest.jpg", "wb"); if (!out) { fprintf(stderr, "Can't create test/fttest.jpg\n"); exit (1); } /* Fairly high JPEG quality setting */ gdImageJpeg (im, out, 90); fclose (out); fprintf(stderr, "Test image written to test/fttest.jpg\n"); #else fprintf(stderr, "Test image not written; No JPEG library support.\n"); #endif } else { #ifdef HAVE_LIBPNG FILE *out = fopen ("test/fttest.png", "wb"); if (!out) { fprintf(stderr, "Can't create test/fttest.png\n"); exit (1); } /* 2.0.10: correct ifdef, thanks to Gabriele Verzeletti */ gdImagePng (im, out); fclose (out); fprintf(stderr, "Test image written to test/fttest.png\n"); #else fprintf(stderr, "Test image not written; No PNG library support.\n"); #endif } /* Destroy it */ gdImageDestroy (im); return 0; } libgd-2.3.0/src/gdtest.c0000664000175000017500000002425413635665516011774 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include #ifdef _WIN32 #include int unlink (const char *filename) { return _unlink (filename); } #else #include /* for getpid(), unlink() */ #endif #include "gd.h" void CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2); static int freadWrapper (void *context, char *buf, int len); static int fwriteWrapper (void *context, const char *buffer, int len); int main (int argc, char **argv) { gdImagePtr im, ref, im2, im3; FILE *in, *out; void *iptr; int sz; char of[256]; int colRed, colBlu; gdSource imgsrc; gdSink imgsnk; int foreground; int i; if (argc != 2) { fprintf(stderr, "Usage: gdtest filename.png\n"); exit (1); } in = fopen (argv[1], "rb"); if (!in) { fprintf(stderr, "Input file does not exist!\n"); exit (1); } im = gdImageCreateFromPng (in); rewind (in); ref = gdImageCreateFromPng (in); fclose (in); if (!im) { fprintf(stderr, "gdImageCreateFromPng failed.\n"); exit (1); } if (!ref) { fprintf(stderr, "gdImageCreateFromPng failed.\n"); exit (1); } printf ("Reference File has %d Palette entries\n", ref->colorsTotal); CompareImages ("Initial Versions", ref, im); /* */ /* Send to PNG File then Ptr */ /* */ #ifdef VMS sprintf (of, "%s-png", argv[1]); #else sprintf (of, "%s.png", argv[1]); #endif out = fopen (of, "wb"); if (!out) { fprintf(stderr, "PNG Output file does not exist!\n"); exit (1); } gdImagePng (im, out); fclose (out); in = fopen (of, "rb"); if (!in) { fprintf(stderr, "PNG Output file does not exist!\n"); exit (1); } im2 = gdImageCreateFromPng (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromPng failed.\n"); exit (1); } CompareImages ("GD->PNG File->GD", ref, im2); unlink (of); gdImageDestroy (im2); /* 2.0.21: use the new From*Ptr functions */ iptr = gdImagePngPtr (im, &sz); im2 = gdImageCreateFromPngPtr (sz, iptr); gdFree (iptr); if (!im2) { fprintf(stderr, "gdImageCreateFromPngPtr failed.\n"); exit (1); } CompareImages ("GD->PNG ptr->GD", ref, im2); gdImageDestroy (im2); /* */ /* Send to GD2 File then Ptr */ /* */ #ifdef VMS sprintf (of, "%s-gd2", argv[1]); #else sprintf (of, "%s.gd2", argv[1]); #endif out = fopen (of, "wb"); if (!out) { fprintf(stderr, "GD2 Output file does not exist!\n"); exit (1); } gdImageGd2 (im, out, 128, 2); fclose (out); in = fopen (of, "rb"); if (!in) { fprintf(stderr, "GD2 Output file does not exist!\n"); exit (1); } im2 = gdImageCreateFromGd2 (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromGd2 failed.\n"); exit (1); } CompareImages ("GD->GD2 File->GD", ref, im2); unlink (of); gdImageDestroy (im2); iptr = gdImageGd2Ptr (im, 128, 2, &sz); /*printf("Got ptr %d (size %d)\n",iptr, sz); */ im2 = gdImageCreateFromGd2Ptr (sz, iptr); gdFree (iptr); /*printf("Got img2 %d\n",im2); */ if (!im2) { fprintf(stderr, "gdImageCreateFromGd2Ptr failed.\n"); exit (1); } CompareImages ("GD->GD2 ptr->GD", ref, im2); gdImageDestroy (im2); /* */ /* Send to GD File then Ptr */ /* */ #ifdef VMS sprintf (of, "%s-gd", argv[1]); #else sprintf (of, "%s.gd", argv[1]); #endif out = fopen (of, "wb"); if (!out) { fprintf(stderr, "GD Output file does not exist!\n"); exit (1); } gdImageGd (im, out); fclose (out); in = fopen (of, "rb"); if (!in) { fprintf(stderr, "GD Output file does not exist!\n"); exit (1); } im2 = gdImageCreateFromGd (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromGd failed.\n"); exit (1); } CompareImages ("GD->GD File->GD", ref, im2); unlink (of); gdImageDestroy (im2); iptr = gdImageGdPtr (im, &sz); /*printf("Got ptr %d (size %d)\n",iptr, sz); */ im2 = gdImageCreateFromGdPtr (sz, iptr); gdFree (iptr); /*printf("Got img2 %d\n",im2); */ if (!im2) { fprintf(stderr, "gdImageCreateFromGdPtr failed.\n"); exit (1); } CompareImages ("GD->GD ptr->GD", ref, im2); gdImageDestroy (im2); /* * Test gdImageCreateFromPngSource' */ in = fopen (argv[1], "rb"); imgsrc.source = freadWrapper; imgsrc.context = in; im2 = gdImageCreateFromPngSource (&imgsrc); fclose (in); if (im2 == NULL) { printf ("GD Source: ERROR Null returned by gdImageCreateFromPngSource\n"); } else { CompareImages ("GD Source", ref, im2); gdImageDestroy (im2); }; /* * Test gdImagePngToSink' */ #ifdef VMS sprintf (of, "%s-snk", argv[1]); #else sprintf (of, "%s.snk", argv[1]); #endif out = fopen (of, "wb"); if (!out) { fprintf (stderr, "GD Sink: ERROR - GD Sink Output file does not exist!\n"); exit (1); } imgsnk.sink = fwriteWrapper; imgsnk.context = out; gdImagePngToSink (im, &imgsnk); fclose (out); in = fopen (of, "rb"); if (!in) { fprintf (stderr, "GD Sink: ERROR - GD Sink Output file does not exist!\n"); } else { im2 = gdImageCreateFromPng (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromPng failed.\n"); exit (1); } CompareImages ("GD Sink", ref, im2); gdImageDestroy (im2); }; unlink (of); /* */ /* Test Extraction */ /* */ in = fopen ("test/gdtest_200_300_150_100.png", "rb"); if (!in) { fprintf(stderr, "gdtest_200_300_150_100.png does not exist!\n"); exit (1); } im2 = gdImageCreateFromPng (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromPng failed.\n"); exit (1); } in = fopen ("test/gdtest.gd2", "rb"); if (!in) { fprintf(stderr, "gdtest.gd2 does not exist!\n"); exit (1); } im3 = gdImageCreateFromGd2Part (in, 200, 300, 150, 100); fclose (in); if (!im3) { fprintf(stderr, "gdImageCreateFromGd2Part failed.\n"); exit (1); } CompareImages ("GD2Part (gdtest_200_300_150_100.png, gdtest.gd2(part))", im2, im3); gdImageDestroy (im2); gdImageDestroy (im3); /* */ /* Copy Blend */ /* */ in = fopen ("test/gdtest.png", "rb"); if (!in) { fprintf(stderr, "gdtest.png does not exist!\n"); exit (1); } im2 = gdImageCreateFromPng (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromPng failed.\n"); exit (1); } im3 = gdImageCreate (100, 60); if (!im3) { fprintf(stderr, "gdImageCreate failed.\n"); exit (1); } colRed = gdImageColorAllocate (im3, 255, 0, 0); colBlu = gdImageColorAllocate (im3, 0, 0, 255); gdImageFilledRectangle (im3, 0, 0, 49, 30, colRed); gdImageFilledRectangle (im3, 50, 30, 99, 59, colBlu); gdImageCopyMerge (im2, im3, 150, 200, 10, 10, 90, 50, 50); gdImageCopyMerge (im2, im3, 180, 70, 10, 10, 90, 50, 50); gdImageCopyMergeGray (im2, im3, 250, 160, 10, 10, 90, 50, 50); gdImageCopyMergeGray (im2, im3, 80, 70, 10, 10, 90, 50, 50); gdImageDestroy (im3); in = fopen ("test/gdtest_merge.png", "rb"); if (!in) { fprintf(stderr, "gdtest_merge.png does not exist!\n"); exit (1); } im3 = gdImageCreateFromPng (in); fclose (in); if (!im3) { fprintf(stderr, "gdImageCreateFromPng failed.\n"); exit (1); } printf ("[Merged Image has %d colours]\n", im2->colorsTotal); CompareImages ("Merged (gdtest.png, gdtest_merge.png)", im2, im3); gdImageDestroy (im2); gdImageDestroy (im3); #ifdef HAVE_LIBJPEG out = fopen ("test/gdtest.jpg", "wb"); if (!out) { fprintf(stderr, "Can't create file test/gdtest.jpg.\n"); exit (1); } gdImageJpeg (im, out, -1); fclose (out); in = fopen ("test/gdtest.jpg", "rb"); if (!in) { fprintf(stderr, "Can't open file test/gdtest.jpg.\n"); exit (1); } im2 = gdImageCreateFromJpeg (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromJpeg failed.\n"); exit (1); } gdImageDestroy (im2); printf ("Created test/gdtest.jpg successfully. Compare this image\n" "to the input image manually. Some difference must be\n" "expected as JPEG is a lossy file format.\n"); #endif /* HAVE_LIBJPEG */ /* Assume the color closest to black is the foreground color for the B&W wbmp image. */ fprintf (stderr, "NOTE: the WBMP output image will NOT match the original unless the original\n" "is also black and white. This is OK!\n"); foreground = gdImageColorClosest (im, 0, 0, 0); fprintf(stderr, "Foreground index is %d\n", foreground); if (foreground == -1) { fprintf(stderr, "Source image has no colors, skipping wbmp test.\n"); } else { out = fopen ("test/gdtest.wbmp", "wb"); if (!out) { fprintf(stderr, "Can't create file test/gdtest.wbmp.\n"); exit (1); } gdImageWBMP (im, foreground, out); fclose (out); in = fopen ("test/gdtest.wbmp", "rb"); if (!in) { fprintf(stderr, "Can't open file test/gdtest.wbmp.\n"); exit (1); } im2 = gdImageCreateFromWBMP (in); fclose (in); if (!im2) { fprintf(stderr, "gdImageCreateFromWBMP failed.\n"); exit (1); } fprintf(stderr, "WBMP has %d colors\n", gdImageColorsTotal (im2)); fprintf(stderr, "WBMP colors are:\n"); for (i = 0; (i < gdImageColorsTotal (im2)); i++) { fprintf(stderr, "%02X%02X%02X\n", gdImageRed (im2, i), gdImageGreen (im2, i), gdImageBlue (im2, i)); } CompareImages ("WBMP test (gdtest.png, gdtest.wbmp)", ref, im2); out = fopen ("test/gdtest_wbmp_to_png.png", "wb"); if (!out) { fprintf (stderr, "Can't create file test/gdtest_wbmp_to_png.png.\n"); exit (1); } gdImagePng (im2, out); fclose (out); gdImageDestroy (im2); } gdImageDestroy (im); gdImageDestroy (ref); return 0; } void CompareImages (char *msg, gdImagePtr im1, gdImagePtr im2) { int cmpRes; cmpRes = gdImageCompare (im1, im2); if (cmpRes & GD_CMP_IMAGE) { printf ("%%%s: ERROR images differ: BAD\n", msg); } else if (cmpRes != 0) { printf ("%%%s: WARNING images differ: WARNING - Probably OK\n", msg); } else { printf ("%%%s: OK\n", msg); return; } if (cmpRes & (GD_CMP_SIZE_X + GD_CMP_SIZE_Y)) { printf ("-%s: INFO image sizes differ\n", msg); } if (cmpRes & GD_CMP_NUM_COLORS) { printf ("-%s: INFO number of palette entries differ %d Vs. %d\n", msg, im1->colorsTotal, im2->colorsTotal); } if (cmpRes & GD_CMP_COLOR) { printf ("-%s: INFO actual colours of pixels differ\n", msg); } } static int freadWrapper (void *context, char *buf, int len) { int got = fread (buf, 1, len, (FILE *) context); return got; } static int fwriteWrapper (void *context, const char *buffer, int len) { return fwrite (buffer, 1, len, (FILE *) context); } libgd-2.3.0/src/wbmp.h0000664000175000017500000000231113635665516011442 00000000000000 /* WBMP * ---- * WBMP Level 0: B/W, Uncompressed * This implements the WBMP format as specified in WAPSpec 1.1 and 1.2. * It does not support ExtHeaders as defined in the spec. The spec states * that a WAP client does not need to implement ExtHeaders. * * (c) 2000 Johan Van den Brande * * Header file */ #ifndef __WBMP_H #define __WBMP_H 1 #ifdef __cplusplus extern "C" { #endif /* WBMP struct * ----------- * A Wireless bitmap structure */ typedef struct Wbmp_ { int type; /* type of the wbmp */ int width; /* width of the image */ int height; /* height of the image */ int *bitmap;/* pointer to data: 0 = WHITE , 1 = BLACK */ } Wbmp; #define WBMP_WHITE 1 #define WBMP_BLACK 0 /* Proto's * ------- */ void putmbi(int i, void (*putout)(int c, void *out), void *out); int getmbi(int (*getin)(void *in), void *in); int skipheader(int (*getin)(void *in), void *in); Wbmp *createwbmp(int width, int height, int color); int readwbmp(int (*getin)(void *in), void *in, Wbmp **wbmp); int writewbmp(Wbmp *wbmp, void (*putout)(int c, void *out), void *out); void freewbmp(Wbmp *wbmp); void printwbmp(Wbmp *wbmp); #ifdef __cplusplus } #endif #endif libgd-2.3.0/src/gd_color_match.c0000664000175000017500000000275513635665516013450 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include #include "gd.h" #include "gdhelpers.h" /* Function: gdImageColorMatch Bring the palette colors in im2 to be closer to im1. */ BGD_DECLARE(int) gdImageColorMatch (gdImagePtr im1, gdImagePtr im2) { unsigned long *buf; /* stores our calculations */ unsigned long *bp; /* buf ptr */ int color, rgb; int x,y; int count; if (!im1->trueColor) { return -1; /* im1 must be True Color */ } if (im2->trueColor) { return -2; /* im2 must be indexed */ } if ((im1->sx != im2->sx) || (im1->sy != im2->sy)) { return -3; /* the images are meant to be the same dimensions */ } if (im2->colorsTotal < 1) { return -4; /* At least 1 color must be allocated */ } buf = (unsigned long *)gdMalloc(sizeof(unsigned long) * 5 * gdMaxColors); memset (buf, 0, sizeof(unsigned long) * 5 * gdMaxColors ); for (x=0; x < im1->sx; x++) { for( y=0; ysy; y++ ) { color = im2->pixels[y][x]; rgb = im1->tpixels[y][x]; bp = buf + (color * 5); (*(bp++))++; *(bp++) += gdTrueColorGetRed(rgb); *(bp++) += gdTrueColorGetGreen(rgb); *(bp++) += gdTrueColorGetBlue(rgb); *(bp++) += gdTrueColorGetAlpha(rgb); } } bp = buf; for (color=0; color < im2->colorsTotal; color++) { count = *(bp++); if( count > 0 ) { im2->red[color] = *(bp++) / count; im2->green[color] = *(bp++) / count; im2->blue[color] = *(bp++) / count; im2->alpha[color] = *(bp++) / count; } else { bp += 4; } } gdFree(buf); return 0; } libgd-2.3.0/src/config.h.cmake0000664000175000017500000000646513635665516013037 00000000000000/* Generated from config.hin via autoheader for cmake; see bootstrap.sh. */ /* Define is you are building for Win32 API */ #cmakedefine BGDWIN32 /* Whether to support gd image formats */ #define ENABLE_GD_FORMATS @ENABLE_GD_FORMATS@ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_DIRENT_H /* Define to 1 if you have the header file. */ #cmakedefine HAVE_DLFCN_H /* Define if you have the ft2build.h header. */ #cmakedefine HAVE_FT2BUILD_H /* Define if you have the iconv() function and it works. */ #cmakedefine HAVE_ICONV /* Define to 1 if you have the header file. */ #cmakedefine HAVE_ICONV_H /* Define if defines iconv_t. */ #cmakedefine HAVE_ICONV_T_DEF /* Define to 1 if you have the header file. */ #cmakedefine HAVE_INTTYPES_H /* Define if you have fontconfig */ #cmakedefine HAVE_LIBFONTCONFIG /* Define if you have freetype */ #cmakedefine HAVE_LIBFREETYPE /* Define if you have liq */ #cmakedefine HAVE_LIBIMAGEQUANT /* Define if you have jpeg */ #cmakedefine HAVE_LIBJPEG /* Define to 1 if you have the `m' library (-lm). */ #cmakedefine HAVE_LIBM /* Define if you have png */ #cmakedefine HAVE_LIBPNG /* Define if you have raqm */ #cmakedefine HAVE_LIBRAQM /* Define if you have tiff */ #cmakedefine HAVE_LIBTIFF /* Define if you have webp */ #cmakedefine HAVE_LIBWEBP /* Define if you have xpm */ #cmakedefine HAVE_LIBXPM /* Define if you have zlib */ #cmakedefine HAVE_LIBZ /* Define to 1 if you have the header file. */ #cmakedefine HAVE_MEMORY_H /* Define if OpenMP is enabled */ #cmakedefine HAVE_OPENMP /* Define if you have POSIX threads libraries and header files. */ #cmakedefine HAVE_PTHREAD /* Have PTHREAD_PRIO_INHERIT. */ #cmakedefine HAVE_PTHREAD_PRIO_INHERIT /* Define to 1 if you have the header file. */ #cmakedefine HAVE_STDINT_H /* Define to 1 if you have the header file. */ #cmakedefine HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #cmakedefine HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #cmakedefine HAVE_UNISTD_H /* Define to 1 or 0, depending whether the compiler supports simple visibility declarations. */ #cmakedefine HAVE_VISIBILITY /* Define as const if the declaration of iconv() needs const. */ #cmakedefine ICONV_CONST /* Define to the sub-directory where libtool stores uninstalled libraries. */ #cmakedefine LT_OBJDIR /* Name of package */ #cmakedefine PACKAGE /* Define to the address where bug reports for this package should be sent. */ #cmakedefine PACKAGE_BUGREPORT /* Define to the full name of this package. */ #cmakedefine PACKAGE_NAME /* Define to the full name and version of this package. */ #cmakedefine PACKAGE_STRING /* Define to the one symbol short name of this package. */ #cmakedefine PACKAGE_TARNAME /* Define to the home page for this package. */ #cmakedefine PACKAGE_URL /* Define to the version of this package. */ #cmakedefine PACKAGE_VERSION /* Define to necessary symbol if this constant uses a non-standard name on your system. */ #cmakedefine PTHREAD_CREATE_JOINABLE /* Define to 1 if you have the ANSI C header files. */ #cmakedefine STDC_HEADERS /* Version number of package */ #cmakedefine VERSION libgd-2.3.0/src/getopt.c0000664000175000017500000000766713635665516012015 00000000000000/* $NetBSD: getopt.c,v 1.29 2014/06/05 22:00:22 christos Exp $ */ /* * Copyright (c) 1987, 1993, 1994 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include #include #include #include #include int opterr = 1, /* if error message should be printed */ optind = 1, /* index into parent argv vector */ optopt, /* character checked for validity */ optreset; /* reset getopt */ char *optarg; /* argument associated with option */ #define BADCH (int)'?' #define BADARG (int)':' #define EMSG "" /* * getopt -- * Parse argc/argv argument vector. */ int getopt(int nargc, char * const nargv[], const char *ostr) { static const char *place = EMSG; /* option letter processing */ char *oli; /* option letter list index */ if (optreset || *place == 0) { /* update scanning pointer */ optreset = 0; place = nargv[optind]; if (optind >= nargc || *place++ != '-') { /* Argument is absent or is not an option */ place = EMSG; return (-1); } optopt = *place++; if (optopt == '-' && *place == 0) { /* "--" => end of options */ ++optind; place = EMSG; return (-1); } if (optopt == 0) { /* Solitary '-', treat as a '-' option if the program (eg su) is looking for it. */ place = EMSG; if (strchr(ostr, '-') == NULL) return -1; optopt = '-'; } } else optopt = *place++; /* See if option letter is one the caller wanted... */ if (optopt == ':' || (oli = strchr(ostr, optopt)) == NULL) { if (*place == 0) ++optind; if (opterr && *ostr != ':') (void)fprintf(stderr, "%s: unknown option -- %c\n", nargv[0], optopt); return (BADCH); } /* Does this option need an argument? */ if (oli[1] != ':') { /* don't need argument */ optarg = NULL; if (*place == 0) ++optind; } else { /* Option-argument is either the rest of this argument or the entire next argument. */ if (*place) optarg = (char *)place; else if (oli[2] == ':') /* * GNU Extension, for optional arguments if the rest of * the argument is empty, we return NULL */ optarg = NULL; else if (nargc > ++optind) optarg = nargv[optind]; else { /* option-argument absent */ place = EMSG; if (*ostr == ':') return (BADARG); if (opterr) (void)fprintf(stderr, "%s: option requires an argument -- %c\n", nargv[0], optopt); return (BADCH); } place = EMSG; ++optind; } return (optopt); /* return option letter */ } libgd-2.3.0/src/gdhelpers.c0000664000175000017500000000404213635665516012450 00000000000000#ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gd.h" #include "gdhelpers.h" #include #include #include #include /* TBB: gd_strtok_r is not portable; provide an implementation */ #define SEP_TEST (separators[*((unsigned char *) s)]) char * gd_strtok_r (char *s, char *sep, char **state) { char separators[256]; char *result = 0; memset (separators, 0, sizeof (separators)); while (*sep) { separators[*((unsigned char *) sep)] = 1; sep++; } if (!s) { /* Pick up where we left off */ s = *state; } /* 1. EOS */ if (!(*s)) { *state = s; return 0; } /* 2. Leading separators, if any */ if (SEP_TEST) { do { s++; } while (SEP_TEST); /* 2a. EOS after separators only */ if (!(*s)) { *state = s; return 0; } } /* 3. A token */ result = s; do { /* 3a. Token at end of string */ if (!(*s)) { *state = s; return result; } s++; } while (!SEP_TEST); /* 4. Terminate token and skip trailing separators */ *s = '\0'; do { s++; } while (SEP_TEST); /* 5. Return token */ *state = s; return result; } void * gdCalloc (size_t nmemb, size_t size) { return calloc (nmemb, size); } void * gdMalloc (size_t size) { return malloc (size); } void * gdRealloc (void *ptr, size_t size) { return realloc (ptr, size); } void * gdReallocEx (void *ptr, size_t size) { void *newPtr = gdRealloc (ptr, size); if (!newPtr && ptr) gdFree(ptr); return newPtr; } /* Function: gdFree Frees memory that has been allocated by libgd functions. Unless more specialized functions exists (for instance, ), all memory that has been allocated by public libgd functions has to be freed by calling , and not by free(3), because libgd internally doesn't use alloc(3) and friends but rather its own allocation functions, which are, however, not publicly available. Parameters: ptr - Pointer to the memory space to free. If it is NULL, no operation is performed. Returns: Nothing. */ BGD_DECLARE(void) gdFree (void *ptr) { free (ptr); } libgd-2.3.0/aclocal.m40000664000175000017500000032530213635665556011411 00000000000000# generated automatically by aclocal 1.15.1 -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, [m4_warning([this file was generated for autoconf 2.69. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) # iconv.m4 serial 19 (gettext-0.18.2) dnl Copyright (C) 2000-2002, 2007-2014, 2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], [ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_LIB_LINKFLAGS_BODY([iconv]) ]) AC_DEFUN([AM_ICONV_LINK], [ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl those with the standalone portable GNU libiconv installed). AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV dnl accordingly. AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) dnl Add $INCICONV to CPPFLAGS before performing the following checks, dnl because if the user has installed libiconv and not disabled its use dnl via --without-libiconv-prefix, he wants to use it. The first dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. am_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_func_iconv=yes]) if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[ #include #include ]], [[iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd);]])], [am_cv_lib_iconv=yes] [am_cv_func_iconv=yes]) LIBS="$am_save_LIBS" fi ]) if test "$am_cv_func_iconv" = yes; then AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, dnl Solaris 10. am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do AC_RUN_IFELSE( [AC_LANG_PROGRAM( [[ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif ]], [[int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) result |= 16; return result; ]])], [am_cv_func_iconv_works=yes], , [case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac]) test "$am_cv_func_iconv_works" = no || break done LIBS="$am_save_LIBS" ]) case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then AC_DEFINE([HAVE_ICONV], [1], [Define if you have the iconv() function and it works.]) fi if test "$am_cv_lib_iconv" = yes; then AC_MSG_CHECKING([how to link with libiconv]) AC_MSG_RESULT([$LIBICONV]) else dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV dnl either. CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi AC_SUBST([LIBICONV]) AC_SUBST([LTLIBICONV]) ]) dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to dnl avoid warnings like dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". dnl This is tricky because of the way 'aclocal' is implemented: dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. dnl Otherwise aclocal's initial scan pass would miss the macro definition. dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. dnl Otherwise aclocal would emit many "Use of uninitialized value $1" dnl warnings. m4_define([gl_iconv_AC_DEFUN], m4_version_prereq([2.64], [[AC_DEFUN_ONCE( [$1], [$2])]], [m4_ifdef([gl_00GNULIB], [[AC_DEFUN_ONCE( [$1], [$2])]], [[AC_DEFUN( [$1], [$2])]])])) gl_iconv_AC_DEFUN([AM_ICONV], [ AM_ICONV_LINK if test "$am_cv_func_iconv" = yes; then AC_MSG_CHECKING([for iconv declaration]) AC_CACHE_VAL([am_cv_proto_iconv], [ AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif ]], [[]])], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"]) am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` AC_MSG_RESULT([ $am_cv_proto_iconv]) AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], [Define as const if the declaration of iconv() needs const.]) dnl Also substitute ICONV_CONST in the gnulib generated . m4_ifdef([gl_ICONV_H_DEFAULTS], [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) if test -n "$am_cv_proto_iconv_arg1"; then ICONV_CONST="const" fi ]) fi ]) # lib-ld.m4 serial 6 dnl Copyright (C) 1996-2003, 2009-2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl Subroutines of libtool.m4, dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid dnl collision with libtool.m4. dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], [# I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 /dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL([acl_cv_path_LD], [if test -z "$LD"; then acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 = 1.10 to complain if config.rpath is missing. m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE([rpath], [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_FROMPACKAGE(name, package) dnl declares that libname comes from the given package. The configure file dnl will then not have a --with-libname-prefix option but a dnl --with-package-prefix option. Several libraries can come from the same dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar dnl macro call that searches for libname. AC_DEFUN([AC_LIB_FROMPACKAGE], [ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_frompackage_]NAME, [$2]) popdef([NAME]) pushdef([PACK],[$2]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) define([acl_libsinpackage_]PACKUP, m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) popdef([PACKUP]) popdef([PACK]) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) dnl Autoconf >= 2.61 supports dots in --with options. pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_ARG_WITH(P_A_C_K[-prefix], [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= LIB[]NAME[]_PREFIX= dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been dnl computed. So it has to be reset here. HAVE_LIB[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" dnl The same code as in the loop below: dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` dnl First look for a shared library. if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi dnl Then look for a static library. if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$acl_hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = '$1'; then LIB[]NAME[]_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi popdef([P_A_C_K]) popdef([PACKLIBS]) popdef([PACKUP]) popdef([PACK]) popdef([NAME]) ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) dnl For those cases where a variable contains several -L and -l options dnl referring to unknown libraries and directories, this macro determines the dnl necessary additional linker options for the runtime path. dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) dnl sets LDADDVAR to linker options needed together with LIBSVALUE. dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, dnl otherwise linking without libtool is assumed. AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], [ AC_REQUIRE([AC_LIB_RPATH]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) $1= if test "$enable_rpath" != no; then if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then dnl Use an explicit option to hardcode directories into the resulting dnl binary. rpathdirs= next= for opt in $2; do if test -n "$next"; then dir="$next" dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= else case $opt in -L) next=yes ;; -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` dnl No need to hardcode the standard /usr/lib. if test "X$dir" != "X/usr/$acl_libdirstem" \ && test "X$dir" != "X/usr/$acl_libdirstem2"; then rpathdirs="$rpathdirs $dir" fi next= ;; *) next= ;; esac fi done if test "X$rpathdirs" != "X"; then if test -n ""$3""; then dnl libtool is used for linking. Use -R options. for dir in $rpathdirs; do $1="${$1}${$1:+ }-R$dir" done else dnl The linker is used for linking directly. if test -n "$acl_hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user dnl must pass all path elements in one option. alldirs= for dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="$flag" else dnl The -rpath options are cumulative. for dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" $1="${$1}${$1:+ }$flag" done fi fi fi fi fi AC_SUBST([$1]) ]) # lib-prefix.m4 serial 7 (gettext-0.18) dnl Copyright (C) 2001-2005, 2008-2016 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) dnl AC_LIB_PREPARE_MULTILIB creates dnl - a variable acl_libdirstem, containing the basename of the libdir, either dnl "lib" or "lib64" or "lib/64", dnl - a variable acl_libdirstem2, as a secondary possible value for dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or dnl "lib/amd64". AC_DEFUN([AC_LIB_PREPARE_MULTILIB], [ dnl There is no formal standard regarding lib and lib64. dnl On glibc systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine dnl the compiler's default mode by looking at the compiler's library search dnl path. If at least one of its elements ends in /lib64 or points to a dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. dnl Otherwise we use the default, namely "lib". dnl On Solaris systems, the current practice is that on a system supporting dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. AC_REQUIRE([AC_CANONICAL_HOST]) acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment dnl . dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the dnl symlink is missing, so we set acl_libdirstem2 too. AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], [AC_EGREP_CPP([sixtyfour bits], [ #ifdef _LP64 sixtyfour bits #endif ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) ]) if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" ]) dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- dnl serial 11 (pkg-config-0.29.1) dnl dnl Copyright © 2004 Scott James Remnant . dnl Copyright © 2012-2015 Dan Nicholson dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by dnl the Free Software Foundation; either version 2 of the License, or dnl (at your option) any later version. dnl dnl This program is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU dnl General Public License for more details. dnl dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA dnl 02111-1307, USA. dnl dnl As a special exception to the GNU General Public License, if you dnl distribute this file as part of a program that contains a dnl configuration script generated by Autoconf, you may include it under dnl the same distribution terms that you use for the rest of that dnl program. dnl PKG_PREREQ(MIN-VERSION) dnl ----------------------- dnl Since: 0.29 dnl dnl Verify that the version of the pkg-config macros are at least dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's dnl installed version of pkg-config, this checks the developer's version dnl of pkg.m4 when generating configure. dnl dnl To ensure that this macro is defined, also add: dnl m4_ifndef([PKG_PREREQ], dnl [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])]) dnl dnl See the "Since" comment for each macro you use to see what version dnl of the macros you require. m4_defun([PKG_PREREQ], [m4_define([PKG_MACROS_VERSION], [0.29.1]) m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1, [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])]) ])dnl PKG_PREREQ dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) dnl ---------------------------------- dnl Since: 0.16 dnl dnl Search for the pkg-config tool and set the PKG_CONFIG variable to dnl first found in the path. Checks that the version of pkg-config found dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is dnl used since that's the first version where most current features of dnl pkg-config existed. AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$]) m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])dnl PKG_PROG_PKG_CONFIG dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------------------------------- dnl Since: 0.18 dnl dnl Check to see whether a particular set of modules exists. Similar to dnl PKG_CHECK_MODULES(), but does not set variables or print errors. dnl dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) dnl only at the first occurence in configure.ac, so if the first place dnl it's called might be skipped (such as if it is within an "if", you dnl have to call PKG_CHECK_EXISTS manually AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) dnl --------------------------------------------- dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting dnl pkg_failed based on the result. m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes ], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])dnl _PKG_CONFIG dnl _PKG_SHORT_ERRORS_SUPPORTED dnl --------------------------- dnl Internal check to see if pkg-config supports short errors. AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])dnl _PKG_SHORT_ERRORS_SUPPORTED dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl -------------------------------------------------------------- dnl Since: 0.4.0 dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES might not happen, you should be sure to include an dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT])[]dnl ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])[]dnl ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])dnl PKG_CHECK_MODULES dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], dnl [ACTION-IF-NOT-FOUND]) dnl --------------------------------------------------------------------- dnl Since: 0.29 dnl dnl Checks for existence of MODULES and gathers its build flags with dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags dnl and VARIABLE-PREFIX_LIBS from --libs. dnl dnl Note that if there is a possibility the first call to dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to dnl include an explicit call to PKG_PROG_PKG_CONFIG in your dnl configure.ac. AC_DEFUN([PKG_CHECK_MODULES_STATIC], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl _save_PKG_CONFIG=$PKG_CONFIG PKG_CONFIG="$PKG_CONFIG --static" PKG_CHECK_MODULES($@) PKG_CONFIG=$_save_PKG_CONFIG[]dnl ])dnl PKG_CHECK_MODULES_STATIC dnl PKG_INSTALLDIR([DIRECTORY]) dnl ------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable pkgconfigdir as the location where a module dnl should install pkg-config .pc files. By default the directory is dnl $libdir/pkgconfig, but the default can be changed by passing dnl DIRECTORY. The user can override through the --with-pkgconfigdir dnl parameter. AC_DEFUN([PKG_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([pkgconfigdir], [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],, [with_pkgconfigdir=]pkg_default) AC_SUBST([pkgconfigdir], [$with_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_INSTALLDIR dnl PKG_NOARCH_INSTALLDIR([DIRECTORY]) dnl -------------------------------- dnl Since: 0.27 dnl dnl Substitutes the variable noarch_pkgconfigdir as the location where a dnl module should install arch-independent pkg-config .pc files. By dnl default the directory is $datadir/pkgconfig, but the default can be dnl changed by passing DIRECTORY. The user can override through the dnl --with-noarch-pkgconfigdir parameter. AC_DEFUN([PKG_NOARCH_INSTALLDIR], [m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])]) m4_pushdef([pkg_description], [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@]) AC_ARG_WITH([noarch-pkgconfigdir], [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],, [with_noarch_pkgconfigdir=]pkg_default) AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir]) m4_popdef([pkg_default]) m4_popdef([pkg_description]) ])dnl PKG_NOARCH_INSTALLDIR dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) dnl ------------------------------------------- dnl Since: 0.28 dnl dnl Retrieves the value of the pkg-config variable for the given module. AC_DEFUN([PKG_CHECK_VAR], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl _PKG_CONFIG([$1], [variable="][$3]["], [$2]) AS_VAR_COPY([$1], [pkg_cv_][$1]) AS_VAR_IF([$1], [""], [$5], [$4])dnl ])dnl PKG_CHECK_VAR # Copyright (C) 2002-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.15' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.15.1], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.15.1])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # Copyright (C) 2011-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_AR([ACT-IF-FAIL]) # ------------------------- # Try to determine the archiver interface, and trigger the ar-lib wrapper # if it is needed. If the detection of archiver interface fails, run # ACT-IF-FAIL (default is to abort configure with a proper error message). AC_DEFUN([AM_PROG_AR], [AC_BEFORE([$0], [LT_INIT])dnl AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([ar-lib])dnl AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false]) : ${AR=ar} AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface], [AC_LANG_PUSH([C]) am_cv_ar_interface=ar AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])], [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([am_ar_try]) if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a ]) AC_LANG_POP([C])]) case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) m4_default([$1], [AC_MSG_ERROR([could not determine $AR interface])]) ;; esac AC_SUBST([AR])dnl ]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to # '$srcdir', '$srcdir/..', or '$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is '.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ([2.52])dnl m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], [$1], [CXX], [depcc="$CXX" am_compiler_list=], [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], [$1], [UPC], [depcc="$UPC" am_compiler_list=], [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES. AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE([dependency-tracking], [dnl AS_HELP_STRING( [--enable-dependency-tracking], [do not reject slow dependency extractors]) AS_HELP_STRING( [--disable-dependency-tracking], [speeds up one-time build])]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each '.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC]) [_AM_PROG_CC_C_O ]) # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.65])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [AC_DIAGNOSE([obsolete], [$0: two- and three-arguments forms are deprecated.]) m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if( m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), [ok:ok],, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) AM_MISSING_PROG([AUTOCONF], [autoconf]) AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) AM_MISSING_PROG([AUTOHEADER], [autoheader]) AM_MISSING_PROG([MAKEINFO], [makeinfo]) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # AC_SUBST([mkdir_p], ['$(MKDIR_P)']) # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES([CC])], [m4_define([AC_PROG_CC], m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES([CXX])], [m4_define([AC_PROG_CXX], m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES([OBJC])], [m4_define([AC_PROG_OBJC], m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], [_AM_DEPENDENCIES([OBJCXX])], [m4_define([AC_PROG_OBJCXX], m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl ]) AC_REQUIRE([AM_SILENT_RULES])dnl dnl The testsuite driver may need to know about EXEEXT, so add the dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) fi fi dnl The trailing newline in this macro's definition is deliberate, for dnl backward compatibility and to allow trailing 'dnl'-style comments dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. ]) dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST([install_sh])]) # Copyright (C) 2003-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it is modern enough. # If it is, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= AC_MSG_WARN(['missing' script is too old or missing]) fi ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), [1])]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_CC_C_O # --------------- # Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC # to automatically call this. AC_DEFUN([_AM_PROG_CC_C_O], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl AC_LANG_PUSH([C])dnl AC_CACHE_CHECK( [whether $CC understands -c and -o together], [am_cv_prog_cc_c_o], [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i]) if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi AC_LANG_POP([C])]) # For backward compatibility. AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi if test "$[2]" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT([yes]) # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi AC_CONFIG_COMMANDS_PRE( [AC_MSG_CHECKING([that generated files are newer than configure]) if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi AC_MSG_RESULT([done])]) rm -f conftest.file ]) # Copyright (C) 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_SILENT_RULES([DEFAULT]) # -------------------------- # Enable less verbose build rules; with the default set to DEFAULT # ("yes" being less verbose, "no" or empty being verbose). AC_DEFUN([AM_SILENT_RULES], [AC_ARG_ENABLE([silent-rules], [dnl AS_HELP_STRING( [--enable-silent-rules], [less verbose build output (undo: "make V=1")]) AS_HELP_STRING( [--disable-silent-rules], [verbose build output (undo: "make V=0")])dnl ]) case $enable_silent_rules in @%:@ ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; esac dnl dnl A few 'make' implementations (e.g., NonStop OS and NextStep) dnl do not support nested variable expansions. dnl See automake bug#9928 and bug#10237. am_make=${MAKE-make} AC_CACHE_CHECK([whether $am_make supports nested variables], [am_cv_make_support_nested_variables], [if AS_ECHO([['TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi]) if test $am_cv_make_support_nested_variables = yes; then dnl Using '$V' instead of '$(V)' breaks IRIX make. AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AC_SUBST([AM_V])dnl AM_SUBST_NOTMAKE([AM_V])dnl AC_SUBST([AM_DEFAULT_V])dnl AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl AC_SUBST([AM_DEFAULT_VERBOSITY])dnl AM_BACKSLASH='\' AC_SUBST([AM_BACKSLASH])dnl _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl ]) # Copyright (C) 2001-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor 'install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in "make install-strip", and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of 'v7', 'ustar', or 'pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar # AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar], [# The POSIX 1988 'ustar' format is defined with fixed-size fields. # There is notably a 21 bits limit for the UID and the GID. In fact, # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 # and bug#13588). am_max_uid=2097151 # 2^21 - 1 am_max_gid=$am_max_uid # The $UID and $GID variables are not portable, so we need to resort # to the POSIX-mandated id(1) utility. Errors in the 'id' calls # below are definitely unexpected, so allow the users to see them # (that is, avoid stderr redirection). am_uid=`id -u || echo unknown` am_gid=`id -g || echo unknown` AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) if test $am_uid -le $am_max_uid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) if test $am_gid -le $am_max_gid; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) _am_tools=none fi], [pax], [], [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Go ahead even if we have the value already cached. We do so because we # need to set the values for the 'am__tar' and 'am__untar' variables. _am_tools=${am_cv_prog_tar_$1-$_am_tools} for _am_tool in $_am_tools; do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works. rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([m4/ax_append_flag.m4]) m4_include([m4/ax_cflags_warn_all.m4]) m4_include([m4/ax_openmp.m4]) m4_include([m4/ax_pthread.m4]) m4_include([m4/ax_require_defined.m4]) m4_include([m4/libtool.m4]) m4_include([m4/ltoptions.m4]) m4_include([m4/ltsugar.m4]) m4_include([m4/ltversion.m4]) m4_include([m4/lt~obsolete.m4]) m4_include([m4/visibility.m4]) m4_include([m4/w32.m4]) libgd-2.3.0/windows/0000775000175000017500000000000013635665516011312 500000000000000libgd-2.3.0/windows/libgd.rc0000775000175000017500000000304113635665516012642 00000000000000/* This is a template RC file. * Do not edit with MSVC */ #ifdef APSTUDIO_INVOKED # error dont edit with MSVC #endif #include "winres.h" #include "../gd.h" LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #ifdef WANT_LOGO 0 ICON gdlib.ico #endif //Version VS_VERSION_INFO VERSIONINFO FILEVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0 PRODUCTVERSION GD_MAJOR_VERSION,GD_MINOR_VERSION,GD_RELEASE_VERSION,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS VS_FF_DEBUG #else FILEFLAGS 0x0L #endif FILEOS VOS__WINDOWS32 FILETYPE VFT_DLL FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904b0" BEGIN VALUE "Comments", "Thanks to Thomas Boutell" "\0" VALUE "CompanyName", "LIBGD Development Team\0" VALUE "FileDescription", "LIBGD" "\0" VALUE "FileVersion", GD_VERSION_STRING "\0" VALUE "InternalName", "bgd.dll" "\0" VALUE "LegalCopyright", "Copyright 1997-2008 Thomas Boutell, Pierre A. Joye and contributors, see COPYING\0" VALUE "LegalTrademarks", "Thomas Boutell, Pierre A. Joye and contributors\0" VALUE "OriginalFilename", "bgd.dll" "\0" VALUE "PrivateBuild", "\0" VALUE "ProductName", "LIBGD dynamic link library" "\0" VALUE "SpecialBuild", "win32" "\0" VALUE "URL", "http://www.libgd.org/" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1200 END END #ifdef MC_INCLUDE #include MC_INCLUDE #endif libgd-2.3.0/windows/Makefiletest.vc0000664000175000017500000000612113635665516014201 00000000000000TESTS=bmp\bmp_im2im \ bmp\bmp_null \ freetype\bug00132 \ gd\gd_im2im \ gd\gd_null \ gd\gd_num_colors \ gd\gd_versiontest \ gd2\gd2_empty_file \ gd2\gd2_im2im \ gd2\gd2_null \ gd2\gd2_read \ gd2\gd2_read_corrupt \ gd2\php_bug_72339 \ gdimagearc\bug00079 \ gdimagecolorclosest\gdimagecolorclosest \ gdimagecolordeallocate\gdimagecolordeallocate \ gdimagecolorexact\gdimagecolorexact \ gdimagecolorreplace\gdimagecolorreplace \ gdimagecolorresolve\gdimagecolorresolve \ gdimagecolortransparent\gdimagecolortransparent \ gdimagecopy\bug00007 \ gdimagecopy\bug00081 \ gdimagecopyrotated\bug00020 \ gdimagecrop\php_bug_72494 \ gdimagefile\gdnametest \ gdimagefill\bug00002_1 \ gdimagefill\bug00002_2 \ gdimagefill\bug00002_3 \ gdimagefill\bug00002_4 \ gdimagefill\bug00104_1 \ gdimagefilledellipse\bug00010 \ gdimagefilledellipse\bug00191 \ gdimagefilledellipse\github_bug_00238 \ gdimagefilledpolygon\bug00100 \ gdimagefilledpolygon\gdimagefilledpolygon0 \ gdimagefilledpolygon\gdimagefilledpolygon1 \ gdimagefilledpolygon\gdimagefilledpolygon2 \ gdimagefilledpolygon\gdimagefilledpolygon3 \ gdimagefilledpolygon\php_bug_64641 \ gdimagefilledrectangle\bug00004 \ gdimagefilledrectangle\bug00078 \ gdimagefilledrectangle\bug00106_gdimagefilledrectangle \ gdimagefilltoborder\bug00037 \ gdimagefilltoborder\github_bug_215 \ gdimagefilter\gdCopyBlurred \ gdimageline\bug00072 \ gdimageline\bug00077 \ gdimageline\bug00111 \ gdimageline\gdImageAALine_thickness \ gdimageline\gdimageline_aa \ gdimageline\gdimageline_aa_outofrange \ gdimageline\gdimageline_bug5 \ gdimageline\github_bug_167 \ gdimageopenpolygon\gdimageopenpolygon0 \ gdimageopenpolygon\gdimageopenpolygon1 \ gdimageopenpolygon\gdimageopenpolygon2 \ gdimageopenpolygon\gdimageopenpolygon3 \ gdimagepixelate\gdimagepixelate \ gdimagepolygon\gdimagepolygon0 \ gdimagepolygon\gdimagepolygon1 \ gdimagepolygon\gdimagepolygon2 \ gdimagepolygon\gdimagepolygon3 \ gdimagerectangle\bug00003 \ gdimagerectangle\bug00106_gdimagerectangle \ gdimagerectangle\github_bug_00172 \ gdimagerotate\bug00067 \ gdimagerotate\php_bug_64898 \ gdimagescale\github_bug_00218 \ gdimagescatterex\bug00208_1 \ gdimagescatterex\bug00208_2 \ gdimagesetpixel\bug00186 \ gdimagesetpixel\gdeffectmultiply \ gdimagesetpixel\gdeffectoverlay \ gdimagestringft\gdimagestringft_bbox \ gdimagestringftex\gdimagestringftex_returnfontpathname \ gdinterpolatedscale\gdModesAndPalettes \ gdinterpolatedscale\gdTrivialResize \ gdnewfilectx\gdnewfilectx_null \ gdtiled\bug00032 \ gdtransformaffineboundingbox\github_bug_00221 \ gif\bug00005 \ gif\bug00005_2 \ gif\bug00006 \ gif\bug00060 \ gif\bug00066 \ gif\bug00181 \ gif\bug00227 \ gif\gif_im2im \ gif\gif_null \ jpeg\bug_github_18 \ jpeg\jpeg_empty_file \ jpeg\jpeg_im2im \ jpeg\jpeg_null \ jpeg\jpeg_read \ jpeg\jpeg_resolution \ png\bug00011 \ png\bug00033 \ png\bug00086 \ png\bug00088 \ png\bug00193 \ png\png_im2im \ png\png_null \ png\png_resolution \ tga\bug00084 \ tga\bug00247 \ tga\bug00247a \ tga\tga_null \ tiff\tiff_dpi \ tiff\tiff_im2im \ tiff\tiff_null \ wbmp\wbmp_im2im \ wbmp\wbmp_null \ webp\bug00111 \ xbm\github_bug_170 \ xpm\bug00166 \ xpm\bug00185 \ xpm\color_name libgd-2.3.0/windows/msys/0000775000175000017500000000000013635665516012305 500000000000000libgd-2.3.0/windows/msys/README.MSYS.md0000664000175000017500000000474613635665516014311 00000000000000# MSYS Fallback Makefile This is a simple, straightforward Makefile for building LibGD with MinGW on MSYS (or possibly Cygwin). It is here for anyone who doesn't want to deal with autotools or CMake on Windows or who can't get either of them working on their particular setup. Note that this Makefile only builds the library and test cases; the standalone utilities are ignored. If you need those, you'll need to use one of the other build systems (or add them yourself.) ## To build LibGD: 1. Install MinGW and MSYS (see ). You will need to install zip and unzip as well as the 32-bit C compiler and related tools. 2. Install LibJpeg, LibPng, LibTiff, Zlib and FreeType from and install them all in `c:/tools/GnuWin32/`. (You can get these libraries from other places and/or install them in different locations, but you'll need to edit the Makefile accordingly if you do.) 3. Skip ahead to the next step. If that doesn't work, edit the Makefile to fix what went wrong. Things to try include: * Ensure SRC contains an up-to-date list of source files. (Take a look at libgd_la_SOURCES src/Makefile.am for a reference.) * Ensure that the paths and #defines for unsupported libraries are commented out. They're nicely grouped into clusters to simplify that. 4. `cd` to this directory and type: make make check If both commands succeed, you're done. (Note that some of the testcases will fail, just because they test features not enabled here. This is fine. As long as most tests pass, you're probably okay.) 5. Type make dist This will create libgd-win.zip, a zip file containing the new library and its dependants. Note that this step may pick up extra DLLs; it sweeps up all of the DLLs in the directories pointed to by *_DLLDIR Makefile variables. Before type "make dist", please make sure you have installed zip command in msys. Or you can try: * If you use msys, you can install msys-zip(lib, docs, lic) in MinGW Installation Manager/all package. * If you use msys2, you can install msys/zip by pacman and running: pacman -S msys/zip Alternately, you can copy the lib (in src/) to wherever it needs to go. ## Stuff that Doesn't Work * LibXpm: It's probably nothing serious, just more trouble than it's worth. * LibFontconfig: I couldn't find Windows binaries for it anywhere reputable. libgd-2.3.0/windows/msys/Makefile0000664000175000017500000000721613635665516013673 00000000000000# Simple makefile for building and testing libgd under MSYS/MinGW on # Windows # The version LIBVER=3.0.1 # Misc. config flags. CDEFS=-DHAVE_ICONV -DHAVE_ICONV_H \ -DHAVE_ICONV_T_DEF -DHAVE_INTTYPES_H \ -DHAVE_STDINT_H -DHAVE_VISIBILITY -DICONV_CONST \ -DENABLE_GD_FORMATS=1 # GnuWin32 libs should all be installed in one place. GNUDIR=/c/tools/GnuWin32 GNUINC=-I$(GNUDIR)/include GNULIB=-L$(GNUDIR)/lib GNUDLL=$(GNUDIR)/bin/ # Various optional components. Comment-out the ones you don't have # and edit the paths and options as needed if you do. The default # assumes GnuWin32 packages installed in /c/Program Files/GnuWin32. JPEG_D=-DHAVE_LIBJPEG JPEG_L=-ljpeg JPEG_I=$(GNUINC) JPEG_LIBDIR=$(GNULIB) JPEG_DLLDIR=$(GNUDLL) PNG_D=-DHAVE_LIBPNG PNG_L=-lpng PNG_I= #$(GNUINC) PNG_LIBDIR= #$(GNULIB) PNG_DLLDIR= #$(GNUDLL) TIFF_D=-DHAVE_LIBTIFF TIFF_L=-ltiff TIFF_I= #$(GNUINC) TIFF_LIBDIR= #$(GNULIB) TIFF_DLLDIR= #$(GNUDLL) LIBZ_D=-DHAVE_LIBZ LIBZ_L=-lz LIBZ_I= #$(GNUINC) LIBZ_LIBDIR= #$(GNULIB) LIBZ_DLLDIR= #$(GNUDLL) # LIBXPM_D=-DHAVE_LIBXPM # LIBXPM_L=-lxpm # LIBXPM_I= #$(GNUINC) # LIBXPM_LIBDIR= #$(GNULIB) FREETYPE_D=-DHAVE_LIBFREETYPE -DHAVE_FT2BUILD_H FREETYPE_L=-lfreetype FREETYPE_I=$(GNUINC)/freetype2/ FREETYPE_LIBDIR= #$(GNULIB) FREETYPE_DLLDIR= #$(GNUDLL) # FONTCONFIG_D=-DHAVE_LIBFONTCONFIG # FONTCONFIG_L= # FONTCONFIG_I= # FONTCONFIG_LIBDIR= ALL_D=$(FREETYPE_D) $(JPEG_D) $(PNG_D) $(TIFF_D) $(LIBZ_D) $(LIBXPM_D) ALL_L=$(FREETYPE_L) $(JPEG_L) $(PNG_L) $(TIFF_L) $(LIBZ_L) $(LIBXPM_L) ALL_I=$(FREETYPE_I) $(JPEG_I) $(PNG_I) $(TIFF_I) $(LIBZ_I) $(LIBXPM_I) ALL_LIBDIR=$(FREETYPE_LIBDIR) $(JPEG_LIBDIR) $(PNG_LIBDIR) $(TIFF_LIBDIR) \ $(LIBZ_LIBDIR) $(LIBXPM_LIBDIR) ALL_DLLDIR=$(FREETYPE_DLLDIR) $(JPEG_DLLDIR) $(PNG_DLLDIR) $(TIFF_DLLDIR) \ $(LIBZ_DLLDIR) $(LIBXPM_DLLDIR) # We need libiconv for internationalization. We default to static # linking because that reduces the number of dependencies. However, # libiconv is released under the GNU GPL which may impose extra # restrictions on redistribution. LIBICONV=/c/MinGW/lib/libiconv.a #LIBICONV=-liconv DEFS=$(CDEFS) $(ALL_D) INCLUDES=$(ALL_I) CC=gcc CFLAGS=-g -O2 -I. -std=gnu99 -fvisibility=hidden -static-libgcc \ -D_WIN32 -DBGDWIN32 $(DEFS) $(INCLUDES) LD=gcc LDFLAGS=-g -O2 -fvisibility=hidden -static-libgcc $(ALL_LIBDIR) LIBS=$(ALL_L) $(LIBICONV) ZIP=zip -j9 DIST=libgd-win.zip # Get this list from c files in libgd_la_SOURCES in Makefile.mk SRC=gd.c gd_color.c gd_color_map.c gd_transform.c gdfx.c \ gd_security.c gd_gd.c gd_gd2.c gd_io.c gd_io_dp.c gd_gif_in.c \ gd_gif_out.c gd_io_file.c gd_io_ss.c gd_jpeg.c gd_png.c gd_ss.c \ gd_topal.c gd_wbmp.c gdcache.c gdfontg.c gdfontl.c gdfontmb.c \ gdfonts.c gdfontt.c gdft.c gdhelpers.c gdkanji.c gdtables.c gdxpm.c \ wbmp.c gd_filter.c gd_nnquant.c gd_rotate.c gd_matrix.c \ gd_interpolation.c gd_crop.c gd_webp.c gd_tiff.c gd_tga.c \ gd_bmp.c gd_xbm.c gd_color_match.c gd_version.c gd_filename.c OBJ=$(SRC:.c=.o) TARGETBASE=libgd TARGET=$(TARGETBASE).dll TARGET_A=$(TARGETBASE).a all: (cd ../../src; make -f ../windows/msys/Makefile $(TARGET)) # BUG: this sucks in all the DLLs in the lib installation directory, # including those you may not need. dist: all (cd ../..; $(ZIP) $(DIST) src/*.dll src/*.a $$(for d in $(ALL_DLLDIR); do echo $$d/*.dll; done | sort -u) ) clean: -rm ../../$(DIST) (cd ../../src; rm -f *.dll *.a $(OBJ) deps.mk; true) check: all bash run_tests.sh "$(GNUDIR)/bin" "$(INCLUDES)" deps.mk: [ -f gd.h ] # Sanity check: we're in src/, right? gcc -MM $(DEFS) $(INCLUDES) $(SRC) > deps.mk $(TARGET): $(OBJ) gcc -shared -o $(TARGET) $(LDFLAGS) -Wl,--out-implib,$(TARGET_A) \ $(OBJ) $(LIBS) include deps.mk libgd-2.3.0/windows/msys/run_tests.sh0000775000175000017500000000256713635665516014624 00000000000000#!/bin/bash set -e # Parameters DLLPATH_EXTRA=$1 # Path to supporting DLLs CFLAGS_EXTRA=$2 # Extra C flags LOG=run_tests.log CFLAGS="-g -Igdtest/ -I. -I../src/ -D_WIN32 -DHAVE_SYS_STAT_H $CFLAGS_EXTRA" LDFLAGS='-L../src -llibgd' DLLPATH=../src:$DLLPATH_EXTRA function run_gcc { if msg=`gcc $* 2>&1`; then true else echo "COMMAND: gcc $*" >> $LOG echo $msg >> $LOG false fi } # Switch to the working directory export PATH=$PATH:$DLLPATH cd ../../tests # Initial setup echo "Setting up..." [ -f $LOG ] && rm -f $LOG [ -f test_config.h ] || echo '#define GDTEST_TOP_DIR "."' > test_config.h run_gcc -c $CFLAGS gdtest/gdtest.c echo "Running tests:" count=0 failures=0 compile_failures=0 for test in `find . -name \*.c | grep -vE '^./(fontconfig|gdtest|gdhelpers|xpm)'`; do count=`expr $count + 1` exe=${test%.c}.exe if run_gcc -o $exe $CFLAGS $LDFLAGS $test gdtest.o; then true; else echo "COMPILE_FAIL: $test" compile_failures=`expr $compile_failures + 1` continue fi echo "Running $exe:" >> $LOG if $exe 2>&1 >> $LOG; then echo "PASS: $test" else failures=`expr $failures + 1` echo "FAIL: $test" fi echo >> $LOG done echo "$failures failures and $compile_failures compile failures out of $count tests." echo "Error messages in $LOG" libgd-2.3.0/windows/msys/deps.mk0000775000175000017500000000006013634445460013501 00000000000000# Nothing to see here. (But it shuts up make.) libgd-2.3.0/windows/Makefile.vc0000664000175000017500000001666513635665516013317 00000000000000# To build locally get a copy of the dependancies (http://windows.php.net/downloads/php-sdk/deps/) # These are the dependencies used by PHP and largely used and tested. These binaries are built using # the sources available at https://github.com/winlibs # Then run 'nmake /f windows\Makefile.vc' in MS dev console # To build tests as well 'nmake /f windows\Makefile.vc all' # To build tests and execute them 'nmake /f windows\Makefile.vc check' CC=cl LD=link LB=lib !IFNDEF DEBUG DEBUG=0 !ENDIF !IFNDEF WITH_DEVEL WITH_DEVEL=..\deps !ENDIF !IFNDEF WITH_BUILD WITH_BUILD=..\gdbuild !ENDIF LIBGD_SRC_DIR=src LIBGD_OBJ_DIR=$(WITH_BUILD) LIBGD_BIN_DIR=$(WITH_BUILD)\bin LIBGD_TEST_DIR=test !IFNDEF PLATFORM PLATFORM=x86 !ENDIF # detect x64 cross-compiler env !IF "$(PREFERREDTOOLARCHITECTURE)" == "x64" PLATFORM=x64 !ENDIF PLATFORM=$(PLATFORM:X=x) BUILD_DIR=$(WITH_BUILD) !MESSAGE library source: $(LIBGD_SRC_DIR) GD_DLL=libgd.dll GD_LIB=libgd_a.lib GD_CONFIG_H=$(LIBGD_SRC_DIR)\config.h SDR=$(BUILD_DIR)^\ TDR=$(BUILD_DIR)\tests^\ TARGETDLL=$(BUILD_DIR)\$(GD_DLL) TARGETLIB=$(BUILD_DIR)\$(GD_LIB) LIB_OBJS= \ $(LIBGD_OBJ_DIR)\gd.obj \ $(LIBGD_OBJ_DIR)\gdcache.obj \ $(LIBGD_OBJ_DIR)\gd_color.obj \ $(LIBGD_OBJ_DIR)\gd_color_match.obj \ $(LIBGD_OBJ_DIR)\gdfontg.obj \ $(LIBGD_OBJ_DIR)\gdfontl.obj \ $(LIBGD_OBJ_DIR)\gdfontmb.obj \ $(LIBGD_OBJ_DIR)\gdfonts.obj \ $(LIBGD_OBJ_DIR)\gdfontt.obj \ $(LIBGD_OBJ_DIR)\gdft.obj \ $(LIBGD_OBJ_DIR)\gdfx.obj \ $(LIBGD_OBJ_DIR)\gd_filename.obj \ $(LIBGD_OBJ_DIR)\gd_filter.obj \ $(LIBGD_OBJ_DIR)\gd_bmp.obj \ $(LIBGD_OBJ_DIR)\gd_gd2.obj \ $(LIBGD_OBJ_DIR)\gd_gd.obj \ $(LIBGD_OBJ_DIR)\gd_gif_in.obj \ $(LIBGD_OBJ_DIR)\gd_gif_out.obj \ $(LIBGD_OBJ_DIR)\gdhelpers.obj \ $(LIBGD_OBJ_DIR)\gd_io.obj \ $(LIBGD_OBJ_DIR)\gd_io_dp.obj \ $(LIBGD_OBJ_DIR)\gd_io_file.obj \ $(LIBGD_OBJ_DIR)\gd_io_ss.obj \ $(LIBGD_OBJ_DIR)\gd_jpeg.obj \ $(LIBGD_OBJ_DIR)\gd_security.obj \ $(LIBGD_OBJ_DIR)\gd_tga.obj \ $(LIBGD_OBJ_DIR)\gd_tiff.obj \ $(LIBGD_OBJ_DIR)\gd_xbm.obj \ $(LIBGD_OBJ_DIR)\gdkanji.obj \ $(LIBGD_OBJ_DIR)\gd_nnquant.obj \ $(LIBGD_OBJ_DIR)\gd_png.obj \ $(LIBGD_OBJ_DIR)\gd_ss.obj \ $(LIBGD_OBJ_DIR)\gdtables.obj \ $(LIBGD_OBJ_DIR)\gd_topal.obj \ $(LIBGD_OBJ_DIR)\gd_transform.obj \ $(LIBGD_OBJ_DIR)\gd_wbmp.obj \ $(LIBGD_OBJ_DIR)\gdxpm.obj \ $(LIBGD_OBJ_DIR)\wbmp.obj \ $(LIBGD_OBJ_DIR)\gd_interpolation.obj \ $(LIBGD_OBJ_DIR)\gd_matrix.obj \ $(LIBGD_OBJ_DIR)\gd_rotate.obj \ $(LIBGD_OBJ_DIR)\gd_version.obj \ $(LIBGD_OBJ_DIR)\gd_crop.obj \ $(LIBGD_OBJ_DIR)\gd_color_map.obj \ $(LIBGD_OBJ_DIR)\gd_webp.obj LIBS=kernel32.lib ole32.lib user32.lib advapi32.lib shell32.lib ws2_32.lib Dnsapi.lib Gdi32.Lib LIBS_GD=libjpeg_a.lib freetype_a.lib libpng_a.lib libiconv_a.lib zlib_a.lib libwebp_a.lib libxpm_a.lib libtiff.lib PROG_EXES= \ $(LIBGD_OBJ_DIR)\gdcmpgif.exe \ $(LIBGD_OBJ_DIR)\gdtopng.exe \ $(LIBGD_OBJ_DIR)\pngtogd.exe \ $(LIBGD_OBJ_DIR)\gdparttopng.exe \ $(LIBGD_OBJ_DIR)\gd2topng.exe \ $(LIBGD_OBJ_DIR)\pngtogd2.exe \ $(LIBGD_OBJ_DIR)\annotate.exe \ $(LIBGD_OBJ_DIR)\gd2copypal.exe \ $(LIBGD_OBJ_DIR)\gd2togif.exe \ $(LIBGD_OBJ_DIR)\giftogd2.exe PROG_OBJS=$(PROG_EXES:exe=obj) INCLUDES=/Isrc /I$(WITH_DEVEL)\include -I$(WITH_DEVEL)\include\libpng16 -I$(WITH_DEVEL)\include\freetype -I$(WITH_DEVEL)\include\freetype2 /Itests /Itests\gdtest -I$(WITH_DEVEL)\include\ LDFLAGS=/nologo /nodefaultlib:libcmt /libpath:$(WITH_DEVEL)\lib /MACHINE:$(PLATFORM) !IF $(DEBUG) LDFLAGS=$(LDFLAGS) /DEBUG !ENDIF !IF $(DEBUG) CFLAGS=/nologo /Qvec-report:1 /MD /TC /Zi !ELSE CFLAGS=/nologo /O2 /Qvec-report:1 /MD /TC !ENDIF CFLAGS= $(CFLAGS) \ /DWIN32=1\ /D_WIN32=1\ /DMSWIN32=1\ /DBGDWIN32=1\ /DENABLE_GD_FORMATS=1\ /DHAVE_FT2BUILD_H=1\ /DHAVE_GD_H=1\ /DHAVE_ICONV_H=1\ /DHAVE_LIBFREETYPE=1\ /DHAVE_LIBJPEG=1\ /DHAVE_LIBPNG=1\ /DHAVE_LIBWEBP=1\ /DHAVE_LIBZ=1\ /DHAVE_LIBXPM=1\ /DHAVE_LIBTIFF=1\ $(INCLUDES) TEST_CFLAGS=$(CFLAGS) TEST_LDFLAGS=$(LDFLAGS) $(SDR)readdir.obj $(SDR)gdtest.obj $(BUILD_DIR)\libgd.lib TEST_LIST=$(TDR)testlist.txt TEST_MK=$(TDR)Maketests.vc TEST_OBJS=$(TEST_EXES:tests=obj) TEST_OBJS=$(TEST_OBJS:exe=obj) # create buil dir and test exe dir. test ext dir may not be called but easier like this # so we can include the gentest file !IF [if not exist $(BUILD_DIR) mkdir $(BUILD_DIR)] !ENDIF !IF [if not exist $(TDR) mkdir $(TDR)] !ENDIF !IF [$(MAKEDIR)\windows\gentest.bat tests $(BUILD_DIR) "$(TEST_CFLAGS)" "$(TEST_LDFLAGS)" $(CC) $(LD) "$(TEST_MK)" "$(TEST_LIST)"] !ENDIF # pseudotargets build_libs: make_dirs $(TARGETDLL) $(TARGETLIB) build_progs: build_libs $(PROG_OBJS) $(PROG_EXES) all: build_libs build_tests build_progs check: all run_tests clean: @if exist $(SDR) rd $(SDR) /s /q @if exist $(TDR) rd $(TDR) /s /q @if exist $(BUILD_DIR)\*.exe del $(BUILD_DIR)\*.exe /q # helpers make_dirs: @if not exist $(BUILD_DIR) mkdir $(BUILD_DIR) @if not exist $(SDR) mkdir $(SDR) @echo #ifndef HAVE_FT2BUILD_H> $(GD_CONFIG_H) @echo #define HAVE_FT2BUILD_H>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_ICONV_H>> $(GD_CONFIG_H) @echo #define HAVE_ICONV_H>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_LIBFREETYPE>> $(GD_CONFIG_H) @echo #define HAVE_LIBFREETYPE>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_LIBJPEG>> $(GD_CONFIG_H) @echo #define HAVE_LIBJPEG>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_LIBPNG>> $(GD_CONFIG_H) @echo #define HAVE_LIBPNG>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_LIBWEBP>> $(GD_CONFIG_H) @echo #define HAVE_LIBWEBP>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_LIBZ>> $(GD_CONFIG_H) @echo #define HAVE_LIBZ>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_LIBXPM>> $(GD_CONFIG_H) @echo #define HAVE_LIBXPM>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_INTTYPES_H>> $(GD_CONFIG_H) @echo #define HAVE_INTTYPES_H>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_SYS_STAT_H>> $(GD_CONFIG_H) @echo #define HAVE_SYS_STAT_H>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) @echo #ifndef HAVE_LIBTIFF>> $(GD_CONFIG_H) @echo #define HAVE_LIBTIFF>> $(GD_CONFIG_H) @echo #endif>> $(GD_CONFIG_H) run_tests: pretest @cd $(TDR) @$(MAKEDIR)\windows\run_tests # libgd $(LIBGD_OBJ_DIR): @if not exist $(LIBGD_OBJ_DIR) mkdir $(LIBGD_OBJ_DIR) $(LIBGD_BIN_DIR): @if not exist $(LIBGD_BIN_DIR) mkdir $(LIBGD_BIN_DIR) $(TARGETDLL): $(LIB_OBJS) @$(LD) /DLL /OUT:$@ $(LIB_OBJS) $(LIBS_GD) $(LIBS) $(LDFLAGS) $(TARGETLIB): $(LIB_OBJS) @$(LB) /OUT:$@ $(LIB_OBJS) $(LDFLAGS) {$(LIBGD_SRC_DIR)\}.c{$(LIBGD_OBJ_DIR)\}.obj: $(CC) $(CFLAGS) /c /Fo"$@" /Fd$*.pdb $< all: $(LIBGD_OBJ_DIR) $(LIBGD_BIN_DIR) $(LIB_OBJS) $(STATICLIB) .SUFFIXES: .c .obj .res .exe # tests !INCLUDE $(TEST_MK) build_tests: $(TEST_LIST) $(SDR)readdir.obj $(SDR)gdtest.obj $(TEST_EXES) $(SDR)gdtest.obj: $(TARGETDLL) tests\gdtest\gdtest.c @$(CC) $(CFLAGS) /DGDTEST_TOP_DIR=\"$(MAKEDIR:\=\\)\\tests\" /c tests\gdtest\gdtest.c /Fd$(SDR)gdtest.pdb /Fo$(SDR)gdtest.obj $(SDR)readdir.obj: $(TARGETDLL) tests\gdtest\readdir.c @$(CC) $(CFLAGS) /c tests\gdtest\readdir.c /Fd$(SDR)readdir.pdb /Fo$(SDR)readdir.obj pretest: $(TARGETDLL) if not exist $(TDR) mkdir $(TDR) copy $(TARGETDLL) $(TDR)$(GD_DLL) # programs {$(LIBGD_OBJ_DIR)}.obj{$(LIBGD_OBJ_DIR)}.exe: $(LD) $(LDFLAGS) $** $(BUILD_DIR)\libgd.lib /out:$@ libgd-2.3.0/windows/gentest.bat0000664000175000017500000000176413635665516013403 00000000000000SETLOCAL ENABLEDELAYEDEXPANSION @echo off set testsdir=%~1 set builddir=%~2 set CFLAGS=%~3 set LDFLAGS=%~4 set CC=%~5 set LD=%~6 set TESTMK=%~7 set TESTLIST=%~8 echo %* echo recieved !testsdir! !builddir! !CFLAGS! !LDFLAGS! !CC! copy NUL !TESTMK! > nul copy NUL !TESTLIST! > nul for /D %%d in (!testsdir!/*) do ( if NOT "%%d"=="fontconfig" if NOT "%%d"=="gdtest" for %%f in (!testsdir!/%%d/*.c) do ( echo TEST_EXES=!builddir!\tests\%%d_%%~nf.exe ^$^(TEST_EXES^) >> !TESTMK! ) ) for /D %%d in (!testsdir!/*) do ( if NOT "%%d"=="fontconfig" if NOT "%%d"=="gdtest" for %%f in (!testsdir!/%%d/*.c) do ( echo !builddir!\%%d_%%~nf.obj: !testsdir!\%%d\%%f; ^$^(CC^) ^$^(TEST_CFLAGS^) /c ^$** /Fd$*.pdb /Fo:$@ >> !TESTMK! ) ) for /D %%d in (!testsdir!/*) do ( if NOT "%%d"=="fontconfig" if NOT "%%d"=="gdtest" for %%f in (!testsdir!/%%d/*.c) do ( echo !builddir!\tests\%%d_%%~nf.exe: !builddir!\%%d_%%~nf.obj; !LD! !LDFLAGS! $** /out:$@ >> !TESTMK! echo %%d_%%~nf.exe >> !TESTLIST! ) ) ENDLOCAL libgd-2.3.0/windows/readme.md0000664000175000017500000000230613635665516013012 00000000000000# Building on Windows with Visual Studio 2015 * Get the required dependencies from http://windows.php.net/downloads/php-sdk/deps/vc14/ and http://windows.php.net/downloads/pecl/deps/, respectively. Choose the x86 or x64 packages depending on your needs. * freetype * libiconv * libjpeg * libpng * libtiff * libwebp * libxpm * zlib * Unpack all dependency packages into the same folder. * Open the VS2015 x86 or x64 Native Tools Command Prompt. * Set the environment variable `WITH_DEVEL` to the path where you have unpacked the dependencies. `WITH_DEVEL` defaults to `..\deps`. * If you want a debug build, do ```` set DEBUG=1 ```` * `cd` into the libgd source folder. * To build the libraries, do: ``` nmake /f windows\Makefile.vc ``` * To build and run the tests, do: ```` nmake /f windows\Makefile.vc check ```` * To build the executable programs, do: ```` nmake /f windows\Makefile.vc build_progs ```` * After a successful build, you find the libraries and test executables in `..\gdbuild`. You can change the build folder by setting the environment variable `WITH_BUILD` to the desired path. * Before rebuilding, you may have to run: ``` nmake /f windows\Makefile.vc clean ``` libgd-2.3.0/windows/run_tests.bat0000664000175000017500000000230613635665516013751 00000000000000@echo off setlocal EnableDelayedExpansion if [%PLATFORM%]==[] set PLATFORM=x86 if [%PREFERREDTOOLARCHITECTURE%]==[x64] set PLATFORM=x64 set PLATFORM=%PLATFORM:X=x% set total=0 set total_passed=0 set total_failed=0 set total_missing=0 for /f %%T in (testlist.txt) do ( set test=%%T set output=test: !test!.................................................................... set target=%%~nT.exe if not exist !target! SET result=NotFound call !target! && (SET result=Passed) || (SET result=Failed) rem > last_test.out 2> last_test.err rem set /p testerr= int main() { iconv_t cd; cd = iconv_open ((const char *)0, (const char *)0); } $TMP = $STATUS $DEAS SYS$OUTPUT $IF (TMP .NE. %X10B90001) $ THEN $ HAVE_ICONV=0 $ENDIF $DEFINE SYS$OUTPUT _NLA0: $LINK/EXE=TEST TEST $TMP = $STATUS $!WRITE SYS$OUTPUT TMP $IF (TMP .NE. %X10000001) $ THEN $ HAVE_ICONV=0 $ ELSE $ HAVE_ICONV=1 $ENDIF $DEAS SYS$OUTPUT $IF (HAVE_ICONV.EQ.1) $ THEN $ WRITE SYS$OUTPUT "Checking for system iconv library... Yes" $ ELSE $ WRITE SYS$OUTPUT "Checking for system iconv library... No" $ENDIF $! $!"Checking for correct zlib library " $ ZLIB_STATIC=0 $ DEFINE SYS$OUTPUT _NLA0: $ CC/OBJECT=TEST.OBJ/INCLUDE=(ZLIB) SYS$INPUT #include #include #include int main() { printf("checking version zlib: %s\n",zlibVersion()); } $TMP = $STATUS $DEAS SYS$OUTPUT $IF (TMP .NE. %X10B90001) $ THEN $ HAVE_ZLIB=0 $ GOTO NEXT1 $ENDIF $DEFINE SYS$OUTPUT _NLA0: $!Testing for shared ZLIB $COPY SYS$INPUT [.SRC]OPT.OPT SYS$SHARE:LIBZSHR/SHARE $LINK/EXE=TEST TEST,[.SRC]OPT/OPT $TMP = $STATUS $DEL [.SRC]OPT.OPT;* $!WRITE SYS$OUTPUT TMP $IF (TMP .NE. %X10000001) $ THEN $ LINK/EXE=TEST TEST,ZLIB:LIBZ/LIB $ TMP = $STATUS $ IF (TMP .NE. %X10000001) $ THEN $ HAVE_ZLIB=0 $ ELSE $ HAVE_ZLIB=1 $ ZLIB_STATIC=1 $ ENDIF $ ELSE $ HAVE_ZLIB=1 $ENDIF $NEXT1: $DEAS SYS$OUTPUT $IF (HAVE_ZLIB.EQ.1) $ THEN $ WRITE SYS$OUTPUT "Checking for correct zlib library ... Yes" $ ELSE $ WRITE SYS$OUTPUT "Checking for correct zlib library ... No" $ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html" $ GOTO EXIT $ENDIF $RUN TEST $! $! $FREETYPE_STATIC=0 $!"Checking for correct Freetype2 library" $ DEFINE SYS$OUTPUT _NLA0: $ CC/OBJECT=TEST.OBJ/INCLUDE=(FREETYPE2) SYS$INPUT #include #include int main(int argc, char *argv[]) { #if FREETYPE_MAJOR == 2 && FREETYPE_MINOR <= 1 printf("This version is too old. Please get newest\n"); printf("From fafner.dyndns.org/~alexey/libsdl/required.html\n"); exit(2); #endif printf("checking version FreeType : %d.%d.%d\n", FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH); return(0); } $TMP = $STATUS $DEAS SYS$OUTPUT $IF (TMP .NE. %X10B90001) $ THEN $ HAVE_FREETYPE=0 $ GOTO NEXT0 $ENDIF $DEAS SYS$OUTPUT $DEFINE SYS$OUTPUT _NLA0: $LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/OPT $TMP = $STATUS $IF (TMP .NE. %X10000001) $ THEN $ LINK/EXE=TEST TEST,FREETYPE2:FREETYPE/LIB,ZLIB:LIBZ/LIB $ TMP = $STATUS $ IF (TMP .NE. %X10000001) $ THEN $ TMP = $STATUS $ HAVE_FREETYPE=0 $ GOTO NEXT0 $ ELSE $ FREETYPE_STATIC=1 $ ENDIF $ENDIF $! $RUN TEST $IF ($STATUS .NE. %X00000001) $ THEN $ HAVE_FREETYPE=0 $ GOTO NEXT0 $ ELSE $ HAVE_FREETYPE=1 $ENDIF $NEXT0: $DEAS SYS$OUTPUT $IF (HAVE_FREETYPE.EQ.1) $ THEN $ WRITE SYS$OUTPUT "Checking for correct FreeType ... Yes" $ RUN TEST $ ELSE $ WRITE SYS$OUTPUT "Checking for correct FreeType ... No" $ WRITE SYS$OUTPUT "This is required library " $ WRITE SYS$OUTPUT "install it first from fafner.dyndns.org/~alexey/libsdl/required.html" $ GOTO EXIT $ENDIF $! $! $HAVE_TIFF=0 $!"Checking for libPNG " $ DEFINE SYS$OUTPUT _NLA0: $ CC/OBJECT=TEST.OBJ/INCLUDE=(PNG,ZLIB) SYS$INPUT #include #include int main() { png_uint_32 n,n1,n2,n3; n=png_access_version_number(); n3=n%100; n=n/100; n2=n%100; n=n/100; n1=n%100; if ( (n1<=1)&&(n2<2) ) { printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3); printf("This version is too old. Please get newest\n"); printf("From fafner.dyndns.org/~alexey/libsdl/public.html\n"); exit(2); } printf("checking version libPNG: %d.%d.%d\n",n1,n2,n3); } $! $TMP = $STATUS $DEAS SYS$OUTPUT $IF (TMP .NE. %X10B90001) $ THEN $ HAVE_LIBPNG=0 $ GOTO NEXT2 $ENDIF $DEFINE SYS$OUTPUT _NLA0: $LINK/EXE=TEST TEST,PNG:LIBPNG$SHR/OPT,ZLIB:LIBZ/LIB $TMP = $STATUS $!WRITE SYS$OUTPUT TMP $IF (TMP .NE. %X10000001) $ THEN $! Trying for static libpng $ LINK/EXE=TEST TEST,PNG:LIBPNG/LIB,ZLIB:LIBZ/LIB $ TMP = $STATUS $ IF (TMP .NE. %X10000001) $ THEN $ LIBPNG_STATIC=0 $ HAVE_LIBPNG=0 $ GOTO NEXT2 $ ELSE $ HAVE_LIBPNG=1 $ LIBPNG_STATIC=1 $ ENDIF $ ELSE $ HAVE_LIBPNG=1 $ LIBPNG_STATIC=0 $ENDIF $! $RUN TEST $IF ($STATUS .NE. %X00000001) $ THEN $ HAVE_LIBPNG=0 $ ELSE $ HAVE_LIBPNG=1 $ENDIF $NEXT2: $DEAS SYS$OUTPUT $IF (HAVE_LIBPNG.EQ.1) $ THEN $ WRITE SYS$OUTPUT "Checking for correct libPNG ... Yes" $ RUN TEST $ ELSE $ WRITE SYS$OUTPUT "Checking for correct libPNG ... No" $ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html" $ GOTO EXIT $ENDIF $! $! $! $! Checking for JPEG ... $ DEFINE SYS$OUTPUT _NLA0: $ CC/OBJECT=TEST.OBJ/INCLUDE=(JPEG) SYS$INPUT #include #include #include #include int main() { printf("checking version jpeg: %s\n",JVERSION); jpeg_quality_scaling(0); return 0; } $TMP = $STATUS $DEAS SYS$OUTPUT $!WRITE SYS$OUTPUT TMP $IF (TMP .NE. %X10B90001) $ THEN $ HAVE_JPEG=0 $ GOTO NEXT3 $ENDIF $DEFINE SYS$OUTPUT _NLA0: $LINK/EXE=TEST TEST,JPEG:LIBJPEG$SHR/OPT $TMP = $STATUS $!WRITE SYS$OUTPUT TMP $IF (TMP .NE. %X10000001) $ THEN $ LINK/EXE=TEST TEST,JPEG:LIBJPEG/OPT $ TMP = $STATUS $ IF (TMP .NE. %X10000001) $ THEN $ HAVE_JPEG=0 $ JPEG_STATIC=0 $ GOTO NEXT3 $ ELSE $ HAVE_JPEG=1 $ JPEG_STATIC=1 $ ENDIF $ ELSE $ HAVE_JPEG=1 $ JPEG_STATIC=0 $ENDIF $! $NEXT3: $DEAS SYS$OUTPUT $IF (HAVE_JPEG.EQ.1) $ THEN $ WRITE SYS$OUTPUT "Checking for correct jpeg library ... Yes" $ ELSE $ WRITE SYS$OUTPUT "Checking for correct jpeg library ... No" $ WRITE SYS$OUTPUT "This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html" $ GOTO EXIT $ENDIF $RUN TEST $! $! $!Checking for libTIFF $ DEFINE SYS$OUTPUT _NLA0: $ DEL TEST.*;* $ CC/OBJECT=TEST.OBJ/INCLUDE=(TIFF) SYS$INPUT #include #include #include int main() { printf("checking libTIFF version:\t%s\n\n", TIFFGetVersion()); return 0; } $! $TMP = $STATUS $DEAS SYS$OUTPUT $IF (TMP .NE. %X10B90001) $ THEN $ HAVE_TIFF=0 $ GOTO NEXT4 $ENDIF $DEFINE SYS$OUTPUT _NLA0: $LINK TEST, TIFF:LIBTIFF/OPT, ZLIB:LIBZ/LIB $TMP = $STATUS $!WRITE SYS$OUTPUT TMP $IF (TMP .NE. %X10000001) $ THEN $ HAVE_TIFF=0 $ ELSE $ HAVE_TIFF=1 $ENDIF $NEXT4: $DEAS SYS$OUTPUT $IF (HAVE_TIFF.EQ.1) $ THEN $ WRITE SYS$OUTPUT "Checking for TIFF library ... Yes" $ TIFF_LIBRARY_PATH="TIFF:LIBTIFF/OPT" $ RUN TEST $ ELSE $ WRITE SYS$OUTPUT "Checking for TIFF library ... No" $ WRITE SYS$OUTPUT "No TIFF library installed. This is fatal. Please download and install good library from fafner.dyndns.org/~alexey/libsdl/public.html" $ GOTO EXIT $ENDIF $! $! $!WRITING BUILD FILES $! $IF (SHARED.EQ.64) $ THEN $ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT SYMBOL_VECTOR= (- gdAlphaBlend=PROCEDURE,- gdImageCreate=PROCEDURE,- gdImageCreateTrueColor=PROCEDURE,- gdImageCreateFromPng=PROCEDURE,- gdImageCreateFromPngCtx=PROCEDURE,- gdImageCreateFromPngPtr=PROCEDURE,- gdImageCreateFromGif=PROCEDURE,- gdImageCreateFromGifCtx=PROCEDURE,- gdImageCreateFromGifPtr=PROCEDURE,- gdImageCreateFromWBMP=PROCEDURE,- gdImageCreateFromWBMPCtx=PROCEDURE,- gdImageCreateFromWBMPPtr=PROCEDURE,- gdImageCreateFromJpeg=PROCEDURE,- gdImageCreateFromJpegCtx=PROCEDURE,- gdImageCreateFromJpegPtr=PROCEDURE,- gdImageCreateFromPngSource=PROCEDURE,- gdImageCreateFromGd=PROCEDURE,- gdImageCreateFromGdCtx=PROCEDURE,- gdImageCreateFromGdPtr=PROCEDURE,- gdImageCreateFromGd2=PROCEDURE,- gdImageCreateFromGd2Ctx=PROCEDURE,- gdImageCreateFromGd2Ptr=PROCEDURE,- gdImageCreateFromGd2Part=PROCEDURE,- gdImageCreateFromGd2PartCtx=PROCEDURE,- gdImageCreateFromGd2PartPtr=PROCEDURE,- gdImageCreateFromXbm=PROCEDURE,- gdImageCreateFromXpm=PROCEDURE,- gdImageStringFTCircle=PROCEDURE,- gdImageDestroy=PROCEDURE,- gdImageSetPixel=PROCEDURE,- gdImageGetPixel=PROCEDURE,- gdImageGetTrueColorPixel=PROCEDURE,- gdImageAABlend=PROCEDURE,- gdImageLine=PROCEDURE,- gdImageDashedLine=PROCEDURE,- gdImageRectangle=PROCEDURE,- gdImageFilledRectangle=PROCEDURE,- gdImageSetClip=PROCEDURE,- gdImageGetClip=PROCEDURE,- gdImageBoundsSafe=PROCEDURE,- gdImageChar=PROCEDURE,- gdImageCharUp=PROCEDURE,- gdImageString=PROCEDURE,- gdImageStringUp=PROCEDURE,- gdImageString16=PROCEDURE,- gdImageStringUp16=PROCEDURE,- gdFontCacheSetup=PROCEDURE,- gdFontCacheShutdown=PROCEDURE,- gdFreeFontCache=PROCEDURE,- gdImageStringTTF=PROCEDURE,- gdImageStringFT=PROCEDURE,- gdFTUseFontConfig=PROCEDURE,- gdImageStringFTEx=PROCEDURE,- gdImagePolygon=PROCEDURE,- gdImageOpenPolygon=PROCEDURE,- gdImageFilledPolygon=PROCEDURE,- gdImageColorAllocate=PROCEDURE,- gdImageColorAllocateAlpha=PROCEDURE,- gdImageColorClosest=PROCEDURE,- gdImageColorClosestAlpha=PROCEDURE,- gdImageColorClosestHWB=PROCEDURE,- gdImageColorExact=PROCEDURE,- gdImageColorExactAlpha=PROCEDURE,- gdImageColorResolve=PROCEDURE,- gdImageColorResolveAlpha=PROCEDURE,- gdImageColorDeallocate=PROCEDURE,- gdImageCreatePaletteFromTrueCol=PROCEDURE,- gdImageTrueColorToPalette=PROCEDURE,- gdImageColorTransparent=PROCEDURE,- gdImagePaletteCopy=PROCEDURE,- gdImageGif=PROCEDURE,- gdImagePng=PROCEDURE,- gdImagePngCtx=PROCEDURE,- gdImageGifCtx=PROCEDURE,- gdImagePngEx=PROCEDURE,- gdImagePngCtxEx=PROCEDURE,- gdImageWBMP=PROCEDURE,- gdImageWBMPCtx=PROCEDURE,- gdFree=PROCEDURE,- gdImageWBMPPtr=PROCEDURE,- gdImageJpeg=PROCEDURE,- gdImageJpegCtx=PROCEDURE,- gdImageJpegPtr=PROCEDURE,- gdImageGifAnimBegin=PROCEDURE,- gdImageGifAnimAdd=PROCEDURE,- gdImageGifAnimEnd=PROCEDURE,- gdImageGifAnimBeginCtx=PROCEDURE,- gdImageGifAnimAddCtx=PROCEDURE,- gdImageGifAnimEndCtx=PROCEDURE,- gdImageGifAnimBeginPtr=PROCEDURE,- gdImageGifAnimAddPtr=PROCEDURE,- gdImageGifAnimEndPtr=PROCEDURE,- gdImagePngToSink=PROCEDURE,- gdImageGd=PROCEDURE,- gdImageGd2=PROCEDURE,- gdImageGifPtr=PROCEDURE,- gdImagePngPtr=PROCEDURE,- gdImagePngPtrEx=PROCEDURE,- gdImageGdPtr=PROCEDURE,- gdImageGd2Ptr=PROCEDURE,- gdImageFilledArc=PROCEDURE,- gdImageArc=PROCEDURE,- gdImageFilledEllipse=PROCEDURE,- gdImageFillToBorder=PROCEDURE,- gdImageFill=PROCEDURE,- gdImageCopy=PROCEDURE,- gdImageCopyMerge=PROCEDURE,- gdImageCopyMergeGray=PROCEDURE,- gdImageCopyResized=PROCEDURE,- gdImageCopyResampled=PROCEDURE,- gdImageCopyRotated=PROCEDURE,- gdImageSetBrush=PROCEDURE,- gdImageSetTile=PROCEDURE,- gdImageSetAntiAliased=PROCEDURE,- gdImageSetAntiAliasedDontBlend=PROCEDURE,- gdImageSetStyle=PROCEDURE,- gdImageSetThickness=PROCEDURE,- gdImageInterlace=PROCEDURE,- gdImageAlphaBlending=PROCEDURE,- gdImageSaveAlpha=PROCEDURE,- gdNewFileCtx=PROCEDURE,- gdNewDynamicCtx=PROCEDURE,- gdNewDynamicCtxEx=PROCEDURE,- gdNewSSCtx=PROCEDURE,- gdDPExtractData=PROCEDURE,- gdFontGetGiant=PROCEDURE,- gdFontGetLarge=PROCEDURE,- gdFontGetMediumBold=PROCEDURE,- gdFontGetSmall=PROCEDURE,- gdFontGetTiny=PROCEDURE,- gdImageCompare=PROCEDURE,- gdImageCreateFromTiff=PROCEDURE,- gdImageCreateFromTiffCtx=PROCEDURE,- gdImageCreateFromTiffPtr=PROCEDURE,- gdImageCreateFromTga=PROCEDURE,- gdImageCreateFromTgaCtx=PROCEDURE,- gdImageCreateFromTgaPtr=PROCEDURE,- gdImageTiff=PROCEDURE,- gdImageTiffPtr=PROCEDURE,- gdImageTiffCtx=PROCEDURE,- gdImageCrop=PROCEDURE,- gdImageAutoCrop=PROCEDURE,- gdImageThresholdCrop=PROCEDURE,- gdFontGiant=DATA,- GDFONTLARGE=DATA,- GDFONTMEDIUMBOLD=DATA,- GDFONTSMALL=DATA,- GDFONTTINY=DATA- ) $ENDIF $! $IF (SHARED.EQ.32) $ THEN $ COPY SYS$INPUT [.SRC]LIBGD$DEF.OPT UNIVERSAL=gdAlphaBlend UNIVERSAL=gdImageCreate UNIVERSAL=gdImageCreateTrueColor UNIVERSAL=gdImageCreateFromPng UNIVERSAL=gdImageCreateFromPngCtx UNIVERSAL=gdImageCreateFromPngPtr UNIVERSAL=gdImageCreateFromGif UNIVERSAL=gdImageCreateFromGifCtx UNIVERSAL=gdImageCreateFromGifPtr UNIVERSAL=gdImageCreateFromWBMP UNIVERSAL=gdImageCreateFromWBMPCtx UNIVERSAL=gdImageCreateFromWBMPPtr UNIVERSAL=gdImageCreateFromJpeg UNIVERSAL=gdImageStringFTCircle UNIVERSAL=gdImageCreateFromJpegCtx UNIVERSAL=gdImageCreateFromJpegPtr UNIVERSAL=gdImageCreateFromPngSource UNIVERSAL=gdImageCreateFromGd UNIVERSAL=gdImageCreateFromGdCtx UNIVERSAL=gdImageCreateFromGdPtr UNIVERSAL=gdImageCreateFromGd2 UNIVERSAL=gdImageCreateFromGd2Ctx UNIVERSAL=gdImageCreateFromGd2Ptr UNIVERSAL=gdImageCreateFromGd2Part UNIVERSAL=gdImageCreateFromGd2PartCtx UNIVERSAL=gdImageCreateFromGd2PartPtr UNIVERSAL=gdImageCreateFromXbm UNIVERSAL=gdImageCreateFromXpm UNIVERSAL=gdImageDestroy UNIVERSAL=gdImageSetPixel UNIVERSAL=gdImageGetPixel UNIVERSAL=gdImageGetTrueColorPixel UNIVERSAL=gdImageAABlend UNIVERSAL=gdImageLine UNIVERSAL=gdImageDashedLine UNIVERSAL=gdImageRectangle UNIVERSAL=gdImageFilledRectangle UNIVERSAL=gdImageSetClip UNIVERSAL=gdImageGetClip UNIVERSAL=gdImageBoundsSafe UNIVERSAL=gdImageChar UNIVERSAL=gdImageCharUp UNIVERSAL=gdImageString UNIVERSAL=gdImageStringUp UNIVERSAL=gdImageString16 UNIVERSAL=gdImageStringUp16 UNIVERSAL=gdFontCacheSetup UNIVERSAL=gdFontCacheShutdown UNIVERSAL=gdFreeFontCache UNIVERSAL=gdImageStringTTF UNIVERSAL=gdImageStringFT UNIVERSAL=gdFTUseFontConfig UNIVERSAL=gdImageStringFTEx UNIVERSAL=gdImagePolygon UNIVERSAL=gdImageOpenPolygon UNIVERSAL=gdImageFilledPolygon UNIVERSAL=gdImageColorAllocate UNIVERSAL=gdImageColorAllocateAlpha UNIVERSAL=gdImageColorClosest UNIVERSAL=gdImageColorClosestAlpha UNIVERSAL=gdImageColorClosestHWB UNIVERSAL=gdImageColorExact UNIVERSAL=gdImageColorExactAlpha UNIVERSAL=gdImageColorResolve UNIVERSAL=gdImageColorResolveAlpha UNIVERSAL=gdImageColorDeallocate UNIVERSAL=gdImageCreatePaletteFromTrueCol UNIVERSAL=gdImageTrueColorToPalette UNIVERSAL=gdImageColorTransparent UNIVERSAL=gdImagePaletteCopy UNIVERSAL=gdImageGif UNIVERSAL=gdImagePng UNIVERSAL=gdImagePngCtx UNIVERSAL=gdImageGifCtx UNIVERSAL=gdImagePngEx UNIVERSAL=gdImagePngCtxEx UNIVERSAL=gdImageWBMP UNIVERSAL=gdImageWBMPCtx UNIVERSAL=gdFree UNIVERSAL=gdImageWBMPPtr UNIVERSAL=gdImageJpeg UNIVERSAL=gdImageJpegCtx UNIVERSAL=gdImageJpegPtr UNIVERSAL=gdImageGifAnimBegin UNIVERSAL=gdImageGifAnimAdd UNIVERSAL=gdImageGifAnimEnd UNIVERSAL=gdImageGifAnimBeginCtx UNIVERSAL=gdImageGifAnimAddCtx UNIVERSAL=gdImageGifAnimEndCtx UNIVERSAL=gdImageGifAnimBeginPtr UNIVERSAL=gdImageGifAnimAddPtr UNIVERSAL=gdImageGifAnimEndPtr UNIVERSAL=gdImagePngToSink UNIVERSAL=gdImageGd UNIVERSAL=gdImageGd2 UNIVERSAL=gdImageGifPtr UNIVERSAL=gdImagePngPtr UNIVERSAL=gdImagePngPtrEx UNIVERSAL=gdImageGdPtr UNIVERSAL=gdImageGd2Ptr UNIVERSAL=gdImageFilledArc UNIVERSAL=gdImageArc UNIVERSAL=gdImageFilledEllipse UNIVERSAL=gdImageFillToBorder UNIVERSAL=gdImageFill UNIVERSAL=gdImageCopy UNIVERSAL=gdImageCopyMerge UNIVERSAL=gdImageCopyMergeGray UNIVERSAL=gdImageCopyResized UNIVERSAL=gdImageCopyResampled UNIVERSAL=gdImageCopyRotated UNIVERSAL=gdImageSetBrush UNIVERSAL=gdImageSetTile UNIVERSAL=gdImageSetAntiAliased UNIVERSAL=gdImageSetAntiAliasedDontBlend UNIVERSAL=gdImageSetStyle UNIVERSAL=gdImageSetThickness UNIVERSAL=gdImageInterlace UNIVERSAL=gdImageAlphaBlending UNIVERSAL=gdImageSaveAlpha UNIVERSAL=gdNewFileCtx UNIVERSAL=gdNewDynamicCtx UNIVERSAL=gdNewDynamicCtxEx UNIVERSAL=gdNewSSCtx UNIVERSAL=gdDPExtractData UNIVERSAL=gdFontGetGiant UNIVERSAL=gdFontGetLarge UNIVERSAL=gdFontGetMediumBold UNIVERSAL=gdFontGetSmall UNIVERSAL=gdFontGetTiny UNIVERSAL=gdImageCompare UNIVERSAL=gdFontGiant UNIVERSAL=gdImageCreateFromTiff UNIVERSAL=gdImageCreateFromTiffCtx UNIVERSAL=gdImageCreateFromTiffPtr UNIVERSAL=gdImageCreateFromTga UNIVERSAL=gdImageCreateFromTgaCtx UNIVERSAL=gdImageCreateFromTgaPtr UNIVERSAL=gdImageTiff UNIVERSAL=gdImageTiffPtr UNIVERSAL=gdImageTiffCtx UNIVERSAL=gdImageCrop UNIVERSAL=gdImageAutoCrop UNIVERSAL=gdImageThresholdCrop UNIVERSAL=GDFONTLARGE UNIVERSAL=GDFONTMEDIUMBOLD UNIVERSAL=GDFONTSMALL UNIVERSAL=GDFONTTINY $ENDIF $! $! $DEF SYS$OUTPUT _NL0: $! $!Making OPT file for GD$SHR.EXE, i.e without reference to himself $COPY SYS$INPUT [.SRC]OPT.OPT []GD/LIB $IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1)) $ THEN $ APP SYS$INPUT [.SRC]OPT.OPT PNG:LIBPNG/LIB $ENDIF $IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0)) $ THEN $ APP PNG:LIBPNG$SHR.OPT [.SRC]OPT.OPT $ENDIF $! $IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.1) .AND. (HAVE_TIFF.NE.1)) $ THEN $ APP SYS$INPUT [.SRC]OPT.OPT JPEG:LIBJPEG/LIB $ENDIF $IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1)) $ THEN $ APP JPEG:LIBJPEG$SHR.OPT [.SRC]OPT.OPT $ENDIF $! $IF (HAVE_TIFF.EQ.1) $ THEN $ APP TIFF:LIBTIFF.OPT [.SRC]OPT.OPT $ENDIF $! $IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1) $ THEN $ APP SYS$INPUT [.SRC]OPT.OPT FREETYPE2:FREETYPE/LIB ZLIB:LIBZ/LIB $ENDIF $IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0) $ THEN $ APP FREETYPE2:FREETYPE.OPT [.SRC]OPT.OPT $ENDIF $! $IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1)) $ THEN $ IF (ZLIB_STATIC.EQ.0) $ THEN $ APP SYS$INPUT [.SRC]OPT.OPT SYS$SHARE:LIBZSHR/SHARE $ ELSE $ APP SYS$INPUT [.SRC]OPT.OPT ZLIB:LIBZ/LIB $ ENDIF $ ELSE $ APP SYS$INPUT [.SRC]OPT.OPT ZLIB:LIBZ/LIB $ENDIF $! $! $PURGE [.SRC]OPT.OPT $! $! $!Making working LIBGD.OPT file $! $IF (SHARED.GT.0) $ THEN $COPY SYS$INPUT [.SRC]LIBGD.OPT SYS$SHARE:GD$SHR/SHARE $ ELSE $COPY SYS$INPUT [.SRC]LIBGD.OPT LIBGD:GD/LIB $ENDIF $! $!Append OPT files to LIBGD.OPT $IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.1)) $ THEN $ APP SYS$INPUT [.SRC]LIBGD.OPT PNG:LIBPNG/LIB $ENDIF $IF ((HAVE_LIBPNG.EQ.1) .AND. (LIBPNG_STATIC.EQ.0)) $ THEN $ APP PNG:LIBPNG$SHR.OPT [.SRC]LIBGD.OPT $ENDIF $! $IF ((HAVE_JPEG.EQ.1) .AND. (HAVE_TIFF.NE.1) .AND. (JPEG_STATIC.EQ.1)) $ THEN $ APP JPEG:LIBJPEG.OPT [.SRC]LIBGD.OPT $ENDIF $IF ((HAVE_JPEG.EQ.1) .AND. (JPEG_STATIC.EQ.0) .AND. (HAVE_TIFF.NE.1)) $ THEN $ APP JPEG:LIBJPEG$SHR.OPT [.SRC]LIBGD.OPT $ENDIF $! $IF (HAVE_TIFF.EQ.1) $ THEN $ APP TIFF:LIBTIFF.OPT [.SRC]LIBGD.OPT $ENDIF $! $IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.1) $ THEN $ APP SYS$INPUT [.SRC]LIBGD.OPT FREETYPE2:FREETYPE/LIB ZLIB:LIBZ/LIB $ENDIF $IF (HAVE_FREETYPE.EQ.1) .AND. (FREETYPE_STATIC.EQ.0) $ THEN $ APP FREETYPE2:FREETYPE.OPT [.SRC]LIBGD.OPT $ENDIF $! $IF (HAVE_ZLIB.EQ.1) .AND. ((FREETYPE_STATIC.NE.1).AND.(JPEG_STATIC.NE.1)) $ THEN $ IF (ZLIB_STATIC.EQ.0) $ THEN $ APP SYS$INPUT [.SRC]LIBGD.OPT SYS$SHARE:LIBZSHR/SHARE $ ELSE $ APP SYS$INPUT [.SRC]LIBGD.OPT ZLIB:LIBZ/LIB $ ENDIF $ENDIF $! $PURGE LIBGD.OPT $! $DEAS SYS$OUTPUT $! $OPEN/WRITE OUT BUILD.COM $ WRITE OUT "$SET DEF [.SRC]" $ WRITE OUT "$",MAKE $ WRITE OUT "$ CURRENT = F$ENVIRONMENT (""DEFAULT"") " $ WRITE OUT "$TMP=CURRENT" $ WRITE OUT "$OPEN/WRITE OUTT [-]LIBGD$STARTUP.COM" $ WRITE OUT "$WRITE OUTT ""DEFINE LIBGD """"", "'","'","TMP'""""""" $ WRITE OUT "$WRITE OUTT ""GD2COPYPAL==""""$","'","'","TMP'"",""GD2COPYPAL"""" " $ WRITE OUT "$WRITE OUTT ""GD2TIME==""""$","'","'","TMP'"",""GD2TIME"""" " $ WRITE OUT "$WRITE OUTT ""GD2TOGIF==""""$","'","'","TMP'"",""GD2TOGIF"""" " $ WRITE OUT "$WRITE OUTT ""GD2TOPNG==""""$","'","'","TMP'"",""GD2TOPNG"""" " $ WRITE OUT "$WRITE OUTT ""GDCMPGIF==""""$","'","'","TMP'"",""GDCMPGIF"""" " $ WRITE OUT "$WRITE OUTT ""GDTOPNG==""""$","'","'","TMP'"",""GDTOPNG"""" " $ WRITE OUT "$WRITE OUTT ""GIFTOGD2==""""$","'","'","TMP'"",""GIFTOGD2"""" " $ WRITE OUT "$WRITE OUTT ""PNGTOGD==""""$","'","'","TMP'"",""PNGTOGD"""" " $ WRITE OUT "$WRITE OUTT ""PNGTOGD2==""""$","'","'","TMP'"",""PNGTOGD2"""" " $ WRITE OUT "$WRITE OUTT ""WEBPNG==""""$","'","'","TMP'"",""WEBPNG"""" " $ WRITE OUT "$CLOSE OUTT" $! $ WRITE OUT "$WRITE SYS$OUTPUT "" "" " $ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" " $ WRITE OUT "$WRITE SYS$OUTPUT ""LIBGD$STARTUP.COM has been created. "" " $ WRITE OUT "$WRITE SYS$OUTPUT ""This file setups all logicals needed. It should be execute before using "" " $ WRITE OUT "$WRITE SYS$OUTPUT ""Nice place to call it - LOGIN.COM "" " $ WRITE OUT "$WRITE SYS$OUTPUT """" " $ WRITE OUT "$WRITE SYS$OUTPUT ""Using:"" " $ WRITE OUT "$WRITE SYS$OUTPUT ""CC/INCL=LIBGD PROG"" " $ WRITE OUT "$WRITE SYS$OUTPUT ""LINK PROG, LIBGD:LIBGD/OPT"" " $ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" " $ WRITE OUT "$WRITE SYS$OUTPUT ""***************************************************************************** "" " $ WRITE OUT "$SET DEF [-]" $CLOSE OUT $! $! $!Writing config.h $COPY SYS$INPUT [.SRC]CONFIG.H /* Generated by configure.com for OpenVMS */ /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 #define PACKAGE_NAME "GD" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "GD 2.1.0" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "GD" /* Define to the version of this package. */ #define PACKAGE_VERSION "2.1.0" /* Define to necessary symbol if this constant uses a non-standard name on * your system. */ /* #undef PTHREAD_CREATE_JOINABLE */ /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 /* Version number of package */ #define VERSION "2.1.0" /* Define to 1 if you have the `m' library (-lm). */ #define HAVE_LIBM 1 /* Define to 1 if you have the header file. */ /* #undef HAVE_LIBPNG_PNG_H */ /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define if you have POSIX threads libraries and header files. */ #define HAVE_PTHREAD 1 /* Define to 1 if you have the header file. */ //#define HAVE_STDINT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 /* Define as const if the declaration of iconv() needs const. */ //#define ICONV_CONST /* Name of package */ #define PACKAGE "gd" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "http://bugs.libgd.org" /* Define to the full name of this package. */ $IF HAVE_ICONV.EQ.1 $ THEN $ APP SYS$INPUT [.SRC]CONFIG.H /* Define if you have the iconv() function. */ #define HAVE_ICONV 1 /* Define to 1 if you have the header file. */ #define HAVE_ICONV_H 1 /* Define if defines iconv_t. */ #define HAVE_ICONV_T_DEF 1 $ENDIF $IF HAVE_TIFF.EQ.1 $ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBTIFF 1 $ENDIF $IF HAVE_LIBPNG.EQ.1 $ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBPNG 1 $ENDIF $IF HAVE_FREETYPE.EQ.1 $ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBFREETYPE 1 #define HAVE_FT2BUILD_H 1 $ENDIF $IF HAVE_JPEG.EQ.1 $ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBJPEG 1 $ENDIF $IF HAVE_ZLIB.EQ.1 $ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBZ 1 $ENDIF $IF HAVE_TIFF.EQ.1 $ THEN $ APP SYS$INPUT [.SRC]CONFIG.H #define HAVE_LIBTIFF 1 $ENDIF $! $! $! $! $COP SYS$INPUT [.SRC]DESCRIP.MMS # Generated by CONFIGURE.COM # Alexey Chupahin elvis_75@mail.ru # OpenVMS 7.3-1,8.2 DEC 2000 mod.300 # OpenVMS 8.3 HP rx1620 .FIRST DEF LIBGD [] CC=cc CFLAGS=/OPT=(INLINE=SPEED) /INCL=([],JPEG,PNG,FREETYPE2,ZLIB,TIFF) /DEF=(HAVE_CONFIG_H)/WARN=(DIS=MACROREDEF) LIBS=[]LIBGD/OPT ALL : \ gd.olb,\ $IF (SHARED.GT.0) $ THEN $ APP SYS$INPUT [.SRC]DESCRIP.MMS gd$shr.exe,\ $ENDIF $! $APP SYS$INPUT [.SRC]DESCRIP.MMS annotate.exe,\ circletexttest.exe,\ fontconfigtest.exe,\ circletexttest.exe,\ fontconfigtest.exe,\ fontsizetest.exe,\ fontwheeltest.exe,\ gd2copypal.exe,\ gd2time.exe,\ gd2togif.exe,\ gd2topng.exe,\ gdcmpgif.exe,\ gddemo.exe,\ gdtest.exe,\ gdtestft.exe,\ gdtopng.exe,\ gifanimtest.exe,\ giftogd2.exe,\ pngtogd.exe,\ pngtogd2.exe,\ testac.exe,\ testtr.exe,\ webpng.exe,\ gdparttopng.exe $! annotate.exe : annotate.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* circletexttest.exe : circletexttest.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* fontconfigtest.exe : fontconfigtest.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* fontsizetest.exe : fontsizetest.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* fontwheeltest.exe : fontwheeltest.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gd2copypal.exe : gd2copypal.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gd2time.exe : gd2time.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gd2togif.exe : gd2togif.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gd2topng.exe : gd2topng.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gdcmpgif.exe : gdcmpgif.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gddemo.exe : gddemo.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gdtest.exe : gdtest.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gdtestft.exe : gdtestft.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gdtopng.exe : gdtopng.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gifanimtest.exe : gifanimtest.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* giftogd2.exe : giftogd2.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* giftogd2.obj : giftogd2.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* pngtogd.exe : pngtogd.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* pngtogd2.exe : pngtogd2.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* testac.exe : testac.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* testtr.exe : testtr.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* webpng.exe : webpng.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* gdparttopng.exe : gdparttopng.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=TMP.OBJ LINK/EXE=$(MMS$TARGET) TMP.OBJ, $(LIBS) DEL TMP.OBJ;* OBJ=\ gd.obj,\ gdcache.obj,\ gdfontg.obj,\ gdfontl.obj,\ gdfontmb.obj,\ gdfonts.obj,\ gdfontt.obj,\ gdft.obj,\ gdfx.obj,\ gdhelpers.obj,\ gdkanji.obj,\ gdtables.obj,\ gdxpm.obj,\ gd_bmp.obj,\ gd_gd.obj,\ gd_gd2.obj,\ gd_gif_in.obj,\ gd_gif_out.obj,\ gd_io.obj,\ gd_io_dp.obj,\ gd_io_file.obj,\ gd_io_ss.obj,\ gd_jpeg.obj,\ gd_png.obj,\ gd_security.obj,\ gd_ss.obj,\ gd_crop.obj,\ gd_tga.obj,\ gd_tiff.obj,\ gd_transform.obj,\ gd_topal.obj,\ gd_wbmp.obj,\ wbmp.obj gd_transform.obj : gd_transform.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_tiff.obj : gd_tiff.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_tga.obj : gd_tga.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_bmp.obj : gd_bmp.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_crop.obj : gd_crop.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd.obj : gd.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdcache.obj : gdcache.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdfontg.obj : gdfontg.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdfontl.obj : gdfontl.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdfontmb.obj : gdfontmb.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdfonts.obj : gdfonts.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdfontt.obj : gdfontt.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdft.obj : gdft.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdfx.obj : gdfx.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdhelpers.obj : gdhelpers.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdkanji.obj : gdkanji.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdtables.obj : gdtables.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gdxpm.obj : gdxpm.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_gd.obj : gd_gd.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_gd2.obj : gd_gd2.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_gif_in.obj : gd_gif_in.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_gif_out.obj : gd_gif_out.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_io.obj : gd_io.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_io_dp.obj : gd_io_dp.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_io_file.obj : gd_io_file.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_io_ss.obj : gd_io_ss.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_jpeg.obj : gd_jpeg.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_png.obj : gd_png.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_security.obj : gd_security.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_ss.obj : gd_ss.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_topal.obj : gd_topal.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) gd_wbmp.obj : gd_wbmp.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) wbmp.obj : wbmp.c $(CC) $(CFLAGS) $(MMS$SOURCE) /OBJ=$(MMS$TARGET) GD.OLB : $(OBJ) LIB/CREA GD.OLB $(OBJ) GD$SHR.EXE : $(OBJ) LINK/SHARE=GD$SHR GD.OBJ,LIBGD$DEF/OPT,OPT/OPT COPY GD$SHR.EXE SYS$SHARE CLEAN : DEL [...]*.OBJ;* DEL [...]*.OLB;* DEL [...]*.EXE;* $!DEL TMP.MMS;* $! $IF (F$SEARCH("[.SRC]GD.H;2").EQS."") $ THEN $ WRITE SYS$OUTPUT "Patching GD.H" $ DEF SYS$OUTPUT "_NLA0:" $ COPY SYS$INPUT [.SRC]GD.H;2 #define gdImageCreatePaletteFromTrueColor gdImageCreatePaletteFromTrueCol $ APP [.SRC]GD.H;1 [.SRC]GD.H;2 $ DEAS SYS$INPUT $ENDIF $! $! $! $! $WRITE SYS$OUTPUT " " $WRITE SYS$OUTPUT " " $WRITE SYS$OUTPUT "Now you can type @BUILD " $! $EXIT: $DEFINE SYS$OUTPUT _NLA0: $DEL TEST.OBJ;* $DEL TEST.C;* $DEL TEST.EXE;* $DEAS SYS$OUTPUT libgd-2.3.0/VMS/README.VMS0000664000175000017500000000341713635665516011536 00000000000000Dear OpenVMS user, Installation process is identical to one in *nix* world and consist to four simple steps: 1. Installing required libraries 2. Configuration 3. Compiling 4. Installation. 1. Please install required libraries first: 1. ZLIB 1.2 or newer 2. PNG 1.2.12 or newer 3. FreeType 2 4. JPEG 6B All may be found at OpenVMS libSDL porting project site http://fafner.dyndns.org/~alexey/libsdl/required.html Also, system should have MMS make utility from DEC or free analogue MMK. And C compiler with runtime, of course. ;) 2. Configuration is doing automatically by a configuration script: $@[.VMS]CONFIGURE The script detects hardware,system and required libraries have been installed. Compilation stage will be prepeared to create shared and static libraries. Alpha,IA64 or VAX platform are supported. Optional argument "static" tells to configurator to make static libraries only: $@[.VMS]CONFIGURE STATIC CONFIGURE script checks your ZLIB, FREETYPE, JPEG, PNG libraries. If it detects any troubles, you may get and install good and tested ones from OpenVMS libSDL porting project site: http://fafner.dyndns.org/~alexey/libsdl/required.html When success, it creates a building script named BUILD.COM 3. Compilation: $@BUILD It should be error-free. When success, it creates a setup script named LIBGD$STARTUP.COM 4. Setup OpenVMS environment before using libGD: $@LIBGD$STARTUP LIBGD and its utilites are ready to using. Optionally you may insert this startup file into your LOGIN.COM to set libGD environment every time you login automatically. To learn libGD please refer libGD official documentation. Compiling with library should be: $CC/INCL=LIBGD PROG $LINK PROG, LIBGD:LIBGD/OPT yours, Alexey Chupahin Rostov-on-Don, Russia elvis_75@mail.ru alex@rostov.rs-ultra.ru libgd-2.3.0/test/0000775000175000017500000000000013634445460010570 500000000000000libgd-2.3.0/test/gdtest.gd20000664000175000017500000006776513634445460012425 00000000000000gd25h I<CR "* 5z&:C nMqTt `lcfSi knd sr@@x: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|Z{Ʒr&Ӵ-{[lFK\7ܱktq07սM~R؝G6hZhh%BⅢ]itf& CFFn=HaID- w^ߴB8YqH83&-:]P:&q=_cNͰ~Q.۠x?&6/7nA_vIENDB`libgd-2.3.0/CMakeLists.txt0000664000175000017500000002073413635665516012306 00000000000000CMAKE_MINIMUM_REQUIRED(VERSION 3.7 FATAL_ERROR) SET(PACKAGE GD) SET(PACKAGE_NAME GD) PROJECT(GD) SET(CMAKE_MODULE_PATH "${GD_SOURCE_DIR}/cmake/modules") include(gd) OPTION(ENABLE_GD_FORMATS "Enable GD image formats" 0) OPTION(ENABLE_PNG "Enable PNG support" 0) OPTION(ENABLE_LIQ "Enable libimagequant support" 0) OPTION(ENABLE_JPEG "Enable JPEG support" 0) OPTION(ENABLE_TIFF "Enable TIFF support" 0) OPTION(ENABLE_ICONV "Enable ICONV support" 0) OPTION(ENABLE_XPM "Enable XPM support" 0) OPTION(ENABLE_FREETYPE "Enable Freetype2 support" 0) OPTION(ENABLE_FONTCONFIG "Enable FontConfig support" 0) OPTION(ENABLE_WEBP "Enable WebP support" 0) OPTION(ENABLE_RAQM "Enable RAQM support" 0) if (BUILD_TEST) ENABLE_TESTING() endif(BUILD_TEST) # if you would like to pass C flags to the compiler, then just # - specify -DCMAKE_C_FLAGS=... on invocation of cmake, or # - specify CFLAGS=... on invocation of make IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_C_FLAGS_DEBUG "-g -Wall -Wextra -O0") # will be added to CMAKE_C_FLAGS when CMAKE_BUILD_TYPE is "Debug" ENDIF(CMAKE_COMPILER_IS_GNUCC) SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin CACHE PATH "Single Directory for all Libraries" ) # --------- Setup the Executable output Directory ------------- SET (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin CACHE PATH "Single Directory for all Executables." ) # --------- Setup the Executable output Directory ------------- SET (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin CACHE PATH "Single Directory for all static libraries." ) if (USE_EXT_GD) message("Using GD at: ${USE_EXT_GD}") INCLUDE_DIRECTORIES(BEFORE ${GD_INCLUDE_DIR}) FIND_PACKAGE(GD) if (GD_FOUND) INCLUDE_DIRECTORIES(BEFORE ${GD_INCLUDE_DIR}) LINK_DIRECTORIES(${GD_LIBRARIES}) SET(GD_LIB ${GD_LIBRARIES}) SET(GD_LIBS_DIR ${GD_LIBRARY}) message("GD libs #: ${GD_LIBRARIES}") message("GD lib #: ${GD_LIBRARY}") message("GD include: ${GD_INCLUDE_DIR}") else (GD_FOUND) message("No gd found") endif (GD_FOUND) else (USE_EXT_GD) MACRO(GV VER VAR) execute_process( COMMAND perl ${CMAKE_CURRENT_SOURCE_DIR}/config/getver.pl ${VER} OUTPUT_VARIABLE ${VAR} ) ENDMACRO(GV) GV(MAJOR GDLIB_MAJOR) GV(MINOR GDLIB_MINOR) GV(RELEASE GDLIB_REVISION) GV(EXTRA GDLIB_EXTRA) SET(GDLIB_VERSION "${GDLIB_MAJOR}.${GDLIB_MINOR}.${GDLIB_REVISION}${GDLIB_EXTRA}") MESSAGE(STATUS "gd version ${GDLIB_VERSION}") MACRO(GV_LT VER VAR) execute_process( COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/config/getlib.sh ${VER} OUTPUT_VARIABLE ${VAR} ) ENDMACRO(GV_LT) GV_LT(SONAME GDLIB_LIB_SOVERSION) GV_LT(VERSION GDLIB_LIB_VERSION) MESSAGE(STATUS "gd shared lib version ${GDLIB_LIB_SOVERSION} (${GDLIB_LIB_VERSION})") SET(CMAKE_REQUIRED_INCLUDES "/usr/include" "/usr/local/include") include(CheckIncludeFiles) include(CheckIncludeFile) include(AC_HEADER_STDC) include(CheckPrototypeExists) if (ENABLE_PNG) FIND_PACKAGE(PNG REQUIRED) endif (ENABLE_PNG) if (ENABLE_ICONV) FIND_PACKAGE(ICONV REQUIRED) endif (ENABLE_ICONV) FIND_PACKAGE(ZLIB) IF (ENABLE_WEBP) FIND_PACKAGE(WEBP) ENDIF (ENABLE_WEBP) IF (ENABLE_LIQ) FIND_PACKAGE(LIQ) ENDIF (ENABLE_LIQ) IF (NOT WIN32) FIND_PACKAGE(PTHREAD) ENDIF (NOT WIN32) if (ENABLE_JPEG) FIND_PACKAGE(JPEG) endif (ENABLE_JPEG) if (ENABLE_TIFF) FIND_PACKAGE(TIFF) endif (ENABLE_TIFF) if (ENABLE_FREETYPE) FIND_PACKAGE(Freetype) endif (ENABLE_FREETYPE) if (ENABLE_XPM) FIND_PACKAGE(XPM) endif (ENABLE_XPM) if (ENABLE_FONTCONFIG) FIND_PACKAGE(FontConfig) endif (ENABLE_FONTCONFIG) if (ENABLE_RAQM) FIND_PACKAGE(RAQM) endif (ENABLE_RAQM) SET(ENABLE_GD_FORMATS ${ENABLE_GD_FORMATS}) if (FREETYPE_FOUND) INCLUDE_DIRECTORIES(${FREETYPE_INCLUDE_DIRS}) SET(HAVE_FT2BUILD_H 1) SET(HAVE_LIBFREETYPE 1) ENDIF(FREETYPE_FOUND) IF(ZLIB_FOUND) INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR}) SET(HAVE_LIBZ 1) ENDIF(ZLIB_FOUND) IF(WEBP_FOUND) INCLUDE_DIRECTORIES(${WEBP_INCLUDE_DIR}) SET(HAVE_LIBWEBP 1) ENDIF(WEBP_FOUND) IF(PNG_FOUND) INCLUDE_DIRECTORIES(${PNG_INCLUDE_DIR}) SET(HAVE_LIBPNG 1) ENDIF(PNG_FOUND) IF(ICONV_FOUND) INCLUDE_DIRECTORIES(${ICONV_INCLUDE_DIR}) SET(HAVE_ICONV 1) SET(HAVE_ICONV_H 1) ENDIF(ICONV_FOUND) IF(LIQ_FOUND) INCLUDE_DIRECTORIES(${LIQ_INCLUDE_DIR}) SET(HAVE_LIBIMAGEQUANT 1) ENDIF(LIQ_FOUND) IF(XPM_FOUND) INCLUDE_DIRECTORIES(${XPM_INCLUDE_DIR}) SET(HAVE_LIBXPM 1) ENDIF(XPM_FOUND) IF(JPEG_FOUND) INCLUDE_DIRECTORIES(${JPEG_INCLUDE_DIR}) SET(HAVE_LIBJPEG 1) ENDIF(JPEG_FOUND) IF(TIFF_FOUND) INCLUDE_DIRECTORIES(${TIFF_INCLUDE_DIR}) SET(HAVE_LIBTIFF 1) ENDIF(TIFF_FOUND) IF(FONTCONFIG_FOUND) INCLUDE_DIRECTORIES(${FONTCONFIG_INCLUDE_DIR}) SET(HAVE_LIBFONTCONFIG 1) ELSE (FONTCONFIG_FOUND) SET(FONTCONFIG_LIBRARY "") SET(FONTCONFIG_INCLUDE_DIR "") SET(FONTCONFIG_LIB_DIR "") ENDIF(FONTCONFIG_FOUND) IF(RAQM_FOUND) INCLUDE_DIRECTORIES(${RAQM_INCLUDE_DIR}) ENDIF(RAQM_FOUND) SET(HAVE_CONFIG_H 1) ADD_DEFINITIONS(-DHAVE_CONFIG_H) CHECK_INCLUDE_FILE("stdint.h" HAVE_STDINT_H) CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H) CONFIGURE_FILE(${GD_SOURCE_DIR}/src/config.h.cmake ${GD_SOURCE_DIR}/src/config.h ESCAPE_QUOTES) option(BUILD_SHARED_LIBS "Build shared libs" ON) option(BUILD_STATIC_LIBS "Build static libs" OFF) if (WIN32) SET(GD_LIB libgd) ADD_DEFINITIONS( -DWIN32 -D_WIN32 -DMSWIN32 -DBGDWIN32 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0600) if(NOT MINGW AND MSVC_VERSION GREATER 1399) ADD_DEFINITIONS("/D_CRT_SECURE_NO_DEPRECATE") endif(NOT MINGW AND MSVC_VERSION GREATER 1399) if (MINGW OR MSYS) ADD_DEFINITIONS("-mms-bitfields") # -m32 endif (MINGW OR MSYS) else (WIN32) SET(GD_LIB gd) endif (WIN32) SET(GD_LIB_STATIC "${GD_LIB}_static") IF(PROFILE) add_definitions("-pg") set(CMAKE_EXE_LINKER_FLAGS ${LINK_FLAGS} "-pg") ENDIF(PROFILE) SET(GD_INCLUDE_DIR "${GD_SOURCE_DIR}/src" "${GD_SOURCE_DIR}") INCLUDE_DIRECTORIES(before ${FONTCONFIG_INCLUDE_DIR}) add_subdirectory(src) endif (USE_EXT_GD) add_subdirectory(tests) add_subdirectory(examples) add_custom_target(distclean ${GD_SOURCE_DIR}/cmake/distclean.sh) SET(CPACK_PACKAGE_NAME "libgd") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "libGD, powerful and easy to use graphic library") SET(CPACK_PACKAGE_VENDOR "https://www.libgd.org") SET(CPACK_PACKAGE_VERSION_MAJOR ${GDLIB_MAJOR}) SET(CPACK_PACKAGE_VERSION_MINOR ${GDLIB_MINOR}) SET(CPACK_PACKAGE_VERSION_PATCH ${GDLIB_REVISION}${GDLIB_EXTRA}) if(WIN32) set(CPACK_GENERATOR ZIP) else(WIN32) set(CPACK_GENERATOR TGZ) endif(WIN32) INSTALL(FILES docs/INSTALL DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES docs/README.JPN DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES docs/README.CMAKE DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES docs/README.TESTING DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES docs/README.TXT DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/arc.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/copyrotated.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/crop.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/flip.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/gif.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/nnquant.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/noIcon.pic DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/noIcon.sgi DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/noIcon.tga DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/noIconAlpha.tga DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/test_crop_threshold.png DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/tgaread.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/tiffread.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) INSTALL(FILES examples/windows.c DESTINATION share/doc/gd-${GDLIB_MAJOR}.${GDLIB_MINOR}) set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_SOURCE_DIR}/COPYING") set(CPACK_SOURCE_GENERATOR TGZ) set(CPACK_SOURCE_IGNORE_FILES "~$" "\\\\.swp$" "\\\\.gitignore$" "^${PROJECT_SOURCE_DIR}/debian/" "^${PROJECT_SOURCE_DIR}/old/" "^${PROJECT_SOURCE_DIR}/bld/" ) install(FILES ${top_level_DOCFILES} DESTINATION ${DOC_DIR}) INCLUDE(CPack) libgd-2.3.0/COPYING0000664000175000017500000000563213635665516010601 00000000000000Credits and license terms: In order to resolve any possible confusion regarding the authorship of gd, the following copyright statement covers all of the authors who have required such a statement. If you are aware of any oversights in this copyright notice, please contact Pierre-A. Joye who will be pleased to correct them. * Portions copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 by Cold Spring Harbor Laboratory. Funded under Grant P41-RR02188 by the National Institutes of Health. * Portions copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 by Boutell.Com, Inc. * Portions relating to GD2 format copyright 1999, 2000, 2001, 2002, 2003, 2004 Philip Warner. * Portions relating to PNG copyright 1999, 2000, 2001, 2002, 2003, 2004 Greg Roelofs. * Portions relating to gdttf.c copyright 1999, 2000, 2001, 2002, 2003, 2004 John Ellson (ellson@graphviz.org). * Portions relating to gdft.c copyright 2001, 2002, 2003, 2004 John Ellson (ellson@graphviz.org). * Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Pierre-Alain Joye (pierre@libgd.org). * Portions relating to JPEG and to color quantization copyright 2000, 2001, 2002, 2003, 2004, Doug Becker and copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Thomas G. Lane. This software is based in part on the work of the Independent JPEG Group. See the file README-JPEG.TXT for more information. * Portions relating to GIF compression copyright 1989 by Jef Poskanzer and David Rowley, with modifications for thread safety by Thomas Boutell. * Portions relating to GIF decompression copyright 1990, 1991, 1993 by David Koblas, with modifications for thread safety by Thomas Boutell. * Portions relating to WBMP copyright 2000, 2001, 2002, 2003, 2004 Maurice Szmurlo and Johan Van den Brande. * Portions relating to GIF animations copyright 2004 Jaakko Hyvätti (jaakko.hyvatti@iki.fi) Permission has been granted to copy, distribute and modify gd in any context without fee, including a commercial application, provided that this notice is present in user-accessible supporting documentation. This does not affect your ownership of the derived work itself, and the intent is to assure proper credit for the authors of gd, not to interfere with your productive use of gd. If you have questions, ask. "Derived works" includes all programs that utilize the library. Credit must be given in user-accessible documentation. This software is provided "AS IS." The copyright holders disclaim all warranties, either express or implied, including but not limited to implied warranties of merchantability and fitness for a particular purpose, with respect to this code and accompanying documentation. Although their code does not appear in the current release, the authors wish to thank David Koblas, David Rowley, and Hutchison Avenue Software Corporation for their prior contributions. libgd-2.3.0/Makefile.in0000664000175000017500000006361313635665557011623 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \ $(top_srcdir)/m4/ax_openmp.m4 $(top_srcdir)/m4/ax_pthread.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/w32.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/src/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/config/ar-lib \ $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ $(top_srcdir)/config/config.rpath \ $(top_srcdir)/config/config.sub \ $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \ $(top_srcdir)/config/missing COPYING DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.xz GZIP_ENV = --best DIST_TARGETS = dist-xz dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDLIB_LT_AGE = @GDLIB_LT_AGE@ GDLIB_LT_CURRENT = @GDLIB_LT_CURRENT@ GDLIB_LT_REVISION = @GDLIB_LT_REVISION@ GREP = @GREP@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBFONTCONFIG_CFLAGS = @LIBFONTCONFIG_CFLAGS@ LIBFONTCONFIG_LIBS = @LIBFONTCONFIG_LIBS@ LIBFREETYPE_CFLAGS = @LIBFREETYPE_CFLAGS@ LIBFREETYPE_LIBS = @LIBFREETYPE_LIBS@ LIBICONV = @LIBICONV@ LIBJPEG_CFLAGS = @LIBJPEG_CFLAGS@ LIBJPEG_LIBS = @LIBJPEG_LIBS@ LIBOBJS = @LIBOBJS@ LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ LIBPNG_LIBS = @LIBPNG_LIBS@ LIBRAQM_CFLAGS = @LIBRAQM_CFLAGS@ LIBRAQM_LIBS = @LIBRAQM_LIBS@ LIBS = @LIBS@ LIBTIFF_CFLAGS = @LIBTIFF_CFLAGS@ LIBTIFF_LIBS = @LIBTIFF_LIBS@ LIBTOOL = @LIBTOOL@ LIBXPM_CFLAGS = @LIBXPM_CFLAGS@ LIBXPM_LIBS = @LIBXPM_LIBS@ LIBZ_CFLAGS = @LIBZ_CFLAGS@ LIBZ_LIBS = @LIBZ_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMKMF = @XMKMF@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ ax_pthread_config = @ax_pthread_config@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src config tests EXTRA_DIST = test docs examples windows VMS cmake bootstrap.sh CMakeLists.txt CONTRIBUTORS README.md CHANGELOG.md CONTRIBUTING.md all: all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ clean-libtool clean-local cscope cscopelist-am ctags ctags-am \ dist dist-all dist-bzip2 dist-gzip dist-lzip dist-shar \ dist-tarZ dist-xz dist-zip distcheck distclean \ distclean-generic distclean-libtool distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile clean-local: $(srcdir)/cmake/distclean.sh --automake # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libgd-2.3.0/m4/0000775000175000017500000000000013635665563010142 500000000000000libgd-2.3.0/m4/ax_append_flag.m40000664000175000017500000000302013635665516013245 00000000000000# =========================================================================== # https://www.gnu.org/software/autoconf-archive/ax_append_flag.html # =========================================================================== # # SYNOPSIS # # AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE]) # # DESCRIPTION # # FLAG is appended to the FLAGS-VARIABLE shell variable, with a space # added in between. # # If FLAGS-VARIABLE is not specified, the current language's flags (e.g. # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly # FLAG. # # NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. # # LICENSE # # Copyright (c) 2008 Guido U. Draheim # Copyright (c) 2011 Maarten Bosmans # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. #serial 8 AC_DEFUN([AX_APPEND_FLAG], [dnl AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])]) AS_VAR_SET_IF(FLAGS,[ AS_CASE([" AS_VAR_GET(FLAGS) "], [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])], [ AS_VAR_APPEND(FLAGS,[" $1"]) AC_RUN_LOG([: FLAGS="$FLAGS"]) ]) ], [ AS_VAR_SET(FLAGS,[$1]) AC_RUN_LOG([: FLAGS="$FLAGS"]) ]) AS_VAR_POPDEF([FLAGS])dnl ])dnl AX_APPEND_FLAG libgd-2.3.0/m4/w32.m40000664000175000017500000000062013634445460010724 00000000000000# MINGW_AC_WIN32_NATIVE_HOST # -------------------------- # Check if the runtime platform is a native Win32 host. # AC_DEFUN([MINGW_AC_WIN32_NATIVE_HOST], [AC_CACHE_CHECK([whether we are building for a Win32 host], [mingw_cv_win32_host], AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #ifdef _WIN32 choke me #endif]])], [mingw_cv_win32_host=no], [mingw_cv_win32_host=yes]))dnl ])# MINGW_AC_WIN32_NATIVE_HOST libgd-2.3.0/m4/ax_cflags_warn_all.m40000664000175000017500000001170313635665516014132 00000000000000# =========================================================================== # https://www.gnu.org/software/autoconf-archive/ax_cflags_warn_all.html # =========================================================================== # # SYNOPSIS # # AX_CFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] # AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] # AX_FCFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])] # # DESCRIPTION # # Try to find a compiler option that enables most reasonable warnings. # # For the GNU compiler it will be -Wall (and -ansi -pedantic) The result # is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default. # # Currently this macro knows about the GCC, Solaris, Digital Unix, AIX, # HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and # Intel compilers. For a given compiler, the Fortran flags are much more # experimental than their C equivalents. # # - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS # - $2 add-value-if-not-found : nothing # - $3 action-if-found : add value to shellvariable # - $4 action-if-not-found : nothing # # NOTE: These macros depend on AX_APPEND_FLAG. # # LICENSE # # Copyright (c) 2008 Guido U. Draheim # Copyright (c) 2010 Rhys Ulerich # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 16 AC_DEFUN([AX_FLAGS_WARN_ALL],[dnl AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl AS_VAR_PUSHDEF([VAR],[ac_cv_[]_AC_LANG_ABBREV[]flags_warn_all])dnl AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for maximum warnings], VAR,[VAR="no, unknown" ac_save_[]FLAGS="$[]FLAGS" for ac_arg dnl in "-warn all % -warn all" dnl Intel "-pedantic % -Wall" dnl GCC "-xstrconst % -v" dnl Solaris C "-std1 % -verbose -w0 -warnprotos" dnl Digital Unix "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" dnl AIX "-ansi -ansiE % -fullwarn" dnl IRIX "+ESlit % +w1" dnl HP-UX C "-Xc % -pvctl[,]fullmsg" dnl NEC SX-5 (Super-UX 10) "-h conform % -h msglevel 2" dnl Cray C (Unicos) # do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break]) done FLAGS="$ac_save_[]FLAGS" ]) AS_VAR_POPDEF([FLAGS])dnl AX_REQUIRE_DEFINED([AX_APPEND_FLAG]) case ".$VAR" in .ok|.ok,*) m4_ifvaln($3,$3) ;; .|.no|.no,*) m4_default($4,[m4_ifval($2,[AX_APPEND_FLAG([$2], [$1])])]) ;; *) m4_default($3,[AX_APPEND_FLAG([$VAR], [$1])]) ;; esac AS_VAR_POPDEF([VAR])dnl ])dnl AX_FLAGS_WARN_ALL dnl implementation tactics: dnl the for-argument contains a list of options. The first part of dnl these does only exist to detect the compiler - usually it is dnl a global option to enable -ansi or -extrawarnings. All other dnl compilers will fail about it. That was needed since a lot of dnl compilers will give false positives for some option-syntax dnl like -Woption or -Xoption as they think of it is a pass-through dnl to later compile stages or something. The "%" is used as a dnl delimiter. A non-option comment can be given after "%%" marks dnl which will be shown but not added to the respective C/CXXFLAGS. AC_DEFUN([AX_CFLAGS_WARN_ALL],[dnl AC_LANG_PUSH([C]) AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4]) AC_LANG_POP([C]) ]) AC_DEFUN([AX_CXXFLAGS_WARN_ALL],[dnl AC_LANG_PUSH([C++]) AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4]) AC_LANG_POP([C++]) ]) AC_DEFUN([AX_FCFLAGS_WARN_ALL],[dnl AC_LANG_PUSH([Fortran]) AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4]) AC_LANG_POP([Fortran]) ]) libgd-2.3.0/m4/ltversion.m40000644000175000017500000000127313634445507012343 00000000000000# ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 4179 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.6]) m4_define([LT_PACKAGE_REVISION], [2.4.6]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.6' macro_revision='2.4.6' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) libgd-2.3.0/m4/libtool.m40000644000175000017500000112617113634445507011770 00000000000000# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . ]) # serial 58 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_PREPARE_CC_BASENAME # ----------------------- m4_defun([_LT_PREPARE_CC_BASENAME], [ # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in @S|@*""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } ])# _LT_PREPARE_CC_BASENAME # _LT_CC_BASENAME(CC) # ------------------- # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, # but that macro is also expanded into generated libtool script, which # arranges for $SED and $ECHO to be set by different means. m4_defun([_LT_CC_BASENAME], [m4_require([_LT_PREPARE_CC_BASENAME])dnl AC_REQUIRE([_LT_DECL_SED])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl func_cc_basename $1 cc_basename=$func_cc_basename_result ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl m4_require([_LT_CMD_TRUNCATE])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from 'configure', and 'config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # 'config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain=$ac_aux_dir/ltmain.sh ])# _LT_PROG_LTMAIN ## ------------------------------------- ## ## Accumulate code for creating libtool. ## ## ------------------------------------- ## # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the 'libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) ## ------------------------ ## ## FIXME: Eliminate VARNAME ## ## ------------------------ ## # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to 'config.status' so that its # declaration there will have the same value as in 'configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags='_LT_TAGS'dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the 'libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into 'config.status', and then the shell code to quote escape them in # for loops in 'config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # '#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test 0 = "$lt_write_fail" && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ '$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test 0 != $[#] do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try '$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try '$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test yes = "$silent" && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 _LT_COPYING _LT_LIBTOOL_TAGS # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE _LT_PREPARE_MUNGE_PATH_LIST _LT_PREPARE_CC_BASENAME # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS=$save_LDFLAGS ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF 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 echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test yes = "$lt_cv_ld_force_load"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then 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(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" m4_if([$1], [CXX], [ if test 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_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script that will find a shell with a builtin # printf (that we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case $ECHO in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@], [Search for dependent libraries within DIR (or the compiler's sysroot if not specified).])], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([$with_sysroot]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and where our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test yes = "[$]$2"; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS ]) if test yes = "[$]$2"; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n "$lt_cv_sys_max_cmd_len"; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes = "$cross_compiling"; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[ lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen=shl_load], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen=dlopen], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld]) ]) ]) ]) ]) ]) ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links=nottested if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test no = "$hard_links"; then AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/", [Define to the sub-directory where libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then # We can hardcode non-existent directories. if test no != "$_LT_TAGVAR(hardcode_direct, $1)" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" && test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test relink = "$_LT_TAGVAR(hardcode_action, $1)" || test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_PREPARE_MUNGE_PATH_LIST # --------------------------- # Make sure func_munge_path_list() is defined correctly. m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], [[# func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x@S|@2 in x) ;; *:) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" ;; x:*) eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; *::*) eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\" ;; *) eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" ;; esac } ]])# _LT_PREPARE_PATH_LIST # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown AC_ARG_VAR([LT_SYS_LIBRARY_PATH], [User-defined run-time library search path.]) case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a[(]lib.so.V[)]' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # 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|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], [Detected run-time system search path for libraries]) _LT_DECL([], [configure_time_lt_sys_library_path], [2], [Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program that can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$1"; then lt_cv_path_MAGIC_CMD=$ac_dir/"$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac]) MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program that can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test no = "$withval" || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd], [if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi]) rm -f conftest.i conftest2.i conftest.out]) ])# _LT_PATH_DD # _LT_CMD_TRUNCATE # ---------------- # find command to truncate a binary pipe m4_defun([_LT_CMD_TRUNCATE], [m4_require([_LT_PATH_DD]) AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin], [printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"]) _LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1], [Command to truncate a binary pipe]) ])# _LT_CMD_TRUNCATE # _LT_CHECK_MAGIC_METHOD # ---------------------- # how to check for library dependencies # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_MAGIC_METHOD], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) AC_CACHE_CHECK([how to recognize dependent libraries], lt_cv_deplibs_check_method, [lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[[4-9]]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[[45]]*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi]) if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # _LT_DLL_DEF_P([FILE]) # --------------------- # True iff FILE is a Windows DLL '.def' file. # Keep in sync with func_dll_def_p in the libtool script AC_DEFUN([_LT_DLL_DEF_P], [dnl test DEF = "`$SED -n dnl -e '\''s/^[[ ]]*//'\'' dnl Strip leading whitespace -e '\''/^\(;.*\)*$/d'\'' dnl Delete empty lines and comments -e '\''s/^\(EXPORTS\|LIBRARY\)\([[ ]].*\)*$/DEF/p'\'' dnl -e q dnl Only consider the first "real" line $1`" dnl ])# _LT_DLL_DEF_P # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw) AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM=-lm) ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test yes = "$GCC"; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. 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_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1], [Transform the output of nm into a list of symbols to manually relocate]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([nm_interface], [lt_cv_nm_interface], [1], [The name lister interface]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' if test ia64 != "$host_cpu"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64, which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test yes = "$GCC"; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) case $host_os in os2*) _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 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' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) _LT_TAGVAR(link_all_deplibs, $1)=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $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(enable_shared_with_static_runtimes, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 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' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS=$save_LDFLAGS]) if test yes = "$lt_cv_irix_exported_symbol"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi _LT_TAGVAR(link_all_deplibs, $1)=no else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler _LT_TAGVAR(ld_shlibs, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $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(enable_shared_with_static_runtimes, $1)=yes ;; osf3*) if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test yes = "$GCC"; then wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test yes,yes = "$GCC,$enable_shared"; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting $shlibpath_var if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC=$CC AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report what library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC=$lt_save_CC ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to 'libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test no != "$CXX" && ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || (test g++ != "$CXX"))); then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_caught_CXX_error"; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test yes = "$GXX"; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test yes = "$GXX"; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test yes = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='$wl' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no ;; esac if test yes = "$GXX"; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag=$shared_flag' $wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. # The "-G" linker flag allows undefined symbols. _LT_TAGVAR(no_undefined_flag, $1)='-bernotok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ func_to_tool_file "$lt_outputfile"~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported shrext_cmds=.dll _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $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(enable_shared_with_static_runtimes, $1)=yes ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test no = "$with_gnu_ld"; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test yes = "$GXX"; then if test no = "$with_gnu_ld"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E' _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test yes,no = "$GXX,$with_gnu_ld"; then _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require '-G' NOT '-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no _LT_TAGVAR(GCC, $1)=$GXX _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test yes != "$_lt_caught_CXX_error" AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case @S|@2 in .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;; *) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case $prev$p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test x-L = "$p" || test x-R = "$p"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test no = "$pre_test_object_deps_done"; then case $prev in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)=$prev$p else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test no = "$pre_test_object_deps_done"; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)=$p else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)=$p else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test no = "$F77"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_F77"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$G77 _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_F77" AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test no = "$FC"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test yes != "$_lt_disable_FC"; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu _LT_TAGVAR(LD, $1)=$LD ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test yes != "$_lt_disable_FC" AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)=$LD _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to 'libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code=$lt_simple_compile_test_code # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ ############################################################ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # ############################################################ m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f "$lt_ac_sed" && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test 10 -lt "$lt_ac_count" && break lt_ac_count=`expr $lt_ac_count + 1` if test "$lt_ac_count" -gt "$lt_ac_max"; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine what file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS libgd-2.3.0/m4/ax_pthread.m40000664000175000017500000005052213635665516012445 00000000000000# =========================================================================== # https://www.gnu.org/software/autoconf-archive/ax_pthread.html # =========================================================================== # # SYNOPSIS # # AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) # # DESCRIPTION # # This macro figures out how to build C programs using POSIX threads. It # sets the PTHREAD_LIBS output variable to the threads library and linker # flags, and the PTHREAD_CFLAGS output variable to any special C compiler # flags that are needed. (The user can also force certain compiler # flags/libs to be tested by setting these environment variables.) # # Also sets PTHREAD_CC to any special C compiler that is needed for # multi-threaded programs (defaults to the value of CC otherwise). (This # is necessary on AIX to use the special cc_r compiler alias.) # # NOTE: You are assumed to not only compile your program with these flags, # but also to link with them as well. For example, you might link with # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS # # If you are only building threaded programs, you may wish to use these # variables in your default LIBS, CFLAGS, and CC: # # LIBS="$PTHREAD_LIBS $LIBS" # CFLAGS="$CFLAGS $PTHREAD_CFLAGS" # CC="$PTHREAD_CC" # # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant # has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to # that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX). # # Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the # PTHREAD_PRIO_INHERIT symbol is defined when compiling with # PTHREAD_CFLAGS. # # ACTION-IF-FOUND is a list of shell commands to run if a threads library # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it # is not found. If ACTION-IF-FOUND is not specified, the default action # will define HAVE_PTHREAD. # # Please let the authors know if this macro fails on any platform, or if # you have any other suggestions or comments. This macro was based on work # by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help # from M. Frigo), as well as ac_pthread and hb_pthread macros posted by # Alejandro Forero Cuervo to the autoconf macro repository. We are also # grateful for the helpful feedback of numerous users. # # Updated for Autoconf 2.68 by Daniel Richard G. # # LICENSE # # Copyright (c) 2008 Steven G. Johnson # Copyright (c) 2011 Daniel Richard G. # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 24 AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD]) AC_DEFUN([AX_PTHREAD], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_PROG_SED]) AC_LANG_PUSH([C]) ax_pthread_ok=no # We used to check for pthread.h first, but this fails if pthread.h # requires special compiler flags (e.g. on Tru64 or Sequent). # It gets checked for in the link test anyway. # First of all, check if the user has set any of the PTHREAD_LIBS, # etcetera environment variables, and if threads linking works using # them: if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then ax_pthread_save_CC="$CC" ax_pthread_save_CFLAGS="$CFLAGS" ax_pthread_save_LIBS="$LIBS" AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"]) CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS]) AC_LINK_IFELSE([AC_LANG_CALL([], [pthread_join])], [ax_pthread_ok=yes]) AC_MSG_RESULT([$ax_pthread_ok]) if test "x$ax_pthread_ok" = "xno"; then PTHREAD_LIBS="" PTHREAD_CFLAGS="" fi CC="$ax_pthread_save_CC" CFLAGS="$ax_pthread_save_CFLAGS" LIBS="$ax_pthread_save_LIBS" fi # We must check for the threads library under a number of different # names; the ordering is very important because some systems # (e.g. DEC) have both -lpthread and -lpthreads, where one of the # libraries is broken (non-POSIX). # Create a list of thread flags to try. Items starting with a "-" are # C compiler flags, and other items are library names, except for "none" # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: # pthreads: AIX (must check this before -lpthread) # none: in case threads are in libc; should be tried before -Kthread and # other compiler flags to prevent continual compiler warnings # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64 # (Note: HP C rejects this with "bad form for `-t' option") # -pthreads: Solaris/gcc (Note: HP C also rejects) # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it # doesn't hurt to check since this sometimes defines pthreads and # -D_REENTRANT too), HP C (must be checked before -lpthread, which # is present but should not be used directly; and before -mthreads, # because the compiler interprets this as "-mt" + "-hreads") # -mthreads: Mingw32/gcc, Lynx/gcc # pthread: Linux, etcetera # --thread-safe: KAI C++ # pthread-config: use pthread-config program (for GNU Pth library) case $host_os in freebsd*) # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) ax_pthread_flags="-kthread lthread $ax_pthread_flags" ;; hpux*) # From the cc(1) man page: "[-mt] Sets various -D flags to enable # multi-threading and also sets -lpthread." ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags" ;; openedition*) # IBM z/OS requires a feature-test macro to be defined in order to # enable POSIX threads at all, so give the user a hint if this is # not set. (We don't define these ourselves, as they can affect # other portions of the system API in unpredictable ways.) AC_EGREP_CPP([AX_PTHREAD_ZOS_MISSING], [ # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS) AX_PTHREAD_ZOS_MISSING # endif ], [AC_MSG_WARN([IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support.])]) ;; solaris*) # On Solaris (at least, for some versions), libc contains stubbed # (non-functional) versions of the pthreads routines, so link-based # tests will erroneously succeed. (N.B.: The stubs are missing # pthread_cleanup_push, or rather a function called by this macro, # so we could check for that, but who knows whether they'll stub # that too in a future libc.) So we'll check first for the # standard Solaris way of linking pthreads (-mt -lpthread). ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags" ;; esac # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC) AS_IF([test "x$GCC" = "xyes"], [ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"]) # The presence of a feature test macro requesting re-entrant function # definitions is, on some systems, a strong hint that pthreads support is # correctly enabled case $host_os in darwin* | hpux* | linux* | osf* | solaris*) ax_pthread_check_macro="_REENTRANT" ;; aix*) ax_pthread_check_macro="_THREAD_SAFE" ;; *) ax_pthread_check_macro="--" ;; esac AS_IF([test "x$ax_pthread_check_macro" = "x--"], [ax_pthread_check_cond=0], [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"]) # Are we compiling with Clang? AC_CACHE_CHECK([whether $CC is Clang], [ax_cv_PTHREAD_CLANG], [ax_cv_PTHREAD_CLANG=no # Note that Autoconf sets GCC=yes for Clang as well as GCC if test "x$GCC" = "xyes"; then AC_EGREP_CPP([AX_PTHREAD_CC_IS_CLANG], [/* Note: Clang 2.7 lacks __clang_[a-z]+__ */ # if defined(__clang__) && defined(__llvm__) AX_PTHREAD_CC_IS_CLANG # endif ], [ax_cv_PTHREAD_CLANG=yes]) fi ]) ax_pthread_clang="$ax_cv_PTHREAD_CLANG" ax_pthread_clang_warning=no # Clang needs special handling, because older versions handle the -pthread # option in a rather... idiosyncratic way if test "x$ax_pthread_clang" = "xyes"; then # Clang takes -pthread; it has never supported any other flag # (Note 1: This will need to be revisited if a system that Clang # supports has POSIX threads in a separate library. This tends not # to be the way of modern systems, but it's conceivable.) # (Note 2: On some systems, notably Darwin, -pthread is not needed # to get POSIX threads support; the API is always present and # active. We could reasonably leave PTHREAD_CFLAGS empty. But # -pthread does define _REENTRANT, and while the Darwin headers # ignore this macro, third-party headers might not.) PTHREAD_CFLAGS="-pthread" PTHREAD_LIBS= ax_pthread_ok=yes # However, older versions of Clang make a point of warning the user # that, in an invocation where only linking and no compilation is # taking place, the -pthread option has no effect ("argument unused # during compilation"). They expect -pthread to be passed in only # when source code is being compiled. # # Problem is, this is at odds with the way Automake and most other # C build frameworks function, which is that the same flags used in # compilation (CFLAGS) are also used in linking. Many systems # supported by AX_PTHREAD require exactly this for POSIX threads # support, and in fact it is often not straightforward to specify a # flag that is used only in the compilation phase and not in # linking. Such a scenario is extremely rare in practice. # # Even though use of the -pthread flag in linking would only print # a warning, this can be a nuisance for well-run software projects # that build with -Werror. So if the active version of Clang has # this misfeature, we search for an option to squash it. AC_CACHE_CHECK([whether Clang needs flag to prevent "argument unused" warning when linking with -pthread], [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG], [ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown # Create an alternate version of $ac_link that compiles and # links in two steps (.c -> .o, .o -> exe) instead of one # (.c -> exe), because the warning occurs only in the second # step ax_pthread_save_ac_link="$ac_link" ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g' ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"` ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)" ax_pthread_save_CFLAGS="$CFLAGS" for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do AS_IF([test "x$ax_pthread_try" = "xunknown"], [break]) CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" ac_link="$ax_pthread_save_ac_link" AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], [ac_link="$ax_pthread_2step_ac_link" AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(void){return 0;}]])], [break]) ]) done ac_link="$ax_pthread_save_ac_link" CFLAGS="$ax_pthread_save_CFLAGS" AS_IF([test "x$ax_pthread_try" = "x"], [ax_pthread_try=no]) ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try" ]) case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in no | unknown) ;; *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;; esac fi # $ax_pthread_clang = yes if test "x$ax_pthread_ok" = "xno"; then for ax_pthread_try_flag in $ax_pthread_flags; do case $ax_pthread_try_flag in none) AC_MSG_CHECKING([whether pthreads work without any flags]) ;; -mt,pthread) AC_MSG_CHECKING([whether pthreads work with -mt -lpthread]) PTHREAD_CFLAGS="-mt" PTHREAD_LIBS="-lpthread" ;; -*) AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag]) PTHREAD_CFLAGS="$ax_pthread_try_flag" ;; pthread-config) AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no]) AS_IF([test "x$ax_pthread_config" = "xno"], [continue]) PTHREAD_CFLAGS="`pthread-config --cflags`" PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" ;; *) AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag]) PTHREAD_LIBS="-l$ax_pthread_try_flag" ;; esac ax_pthread_save_CFLAGS="$CFLAGS" ax_pthread_save_LIBS="$LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" # Check for various functions. We must include pthread.h, # since some functions may be macros. (On the Sequent, we # need a special flag -Kthread to make this header compile.) # We check for pthread_join because it is in -lpthread on IRIX # while pthread_create is in libc. We check for pthread_attr_init # due to DEC craziness with -lpthreads. We check for # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. AC_LINK_IFELSE([AC_LANG_PROGRAM([#include # if $ax_pthread_check_cond # error "$ax_pthread_check_macro must be defined" # endif static void routine(void *a) { a = 0; } static void *start_routine(void *a) { return a; }], [pthread_t th; pthread_attr_t attr; pthread_create(&th, 0, start_routine, 0); pthread_join(th, 0); pthread_attr_init(&attr); pthread_cleanup_push(routine, 0); pthread_cleanup_pop(0) /* ; */])], [ax_pthread_ok=yes], []) CFLAGS="$ax_pthread_save_CFLAGS" LIBS="$ax_pthread_save_LIBS" AC_MSG_RESULT([$ax_pthread_ok]) AS_IF([test "x$ax_pthread_ok" = "xyes"], [break]) PTHREAD_LIBS="" PTHREAD_CFLAGS="" done fi # Various other checks: if test "x$ax_pthread_ok" = "xyes"; then ax_pthread_save_CFLAGS="$CFLAGS" ax_pthread_save_LIBS="$LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. AC_CACHE_CHECK([for joinable pthread attribute], [ax_cv_PTHREAD_JOINABLE_ATTR], [ax_cv_PTHREAD_JOINABLE_ATTR=unknown for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ], [int attr = $ax_pthread_attr; return attr /* ; */])], [ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break], []) done ]) AS_IF([test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \ test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \ test "x$ax_pthread_joinable_attr_defined" != "xyes"], [AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], [$ax_cv_PTHREAD_JOINABLE_ATTR], [Define to necessary symbol if this constant uses a non-standard name on your system.]) ax_pthread_joinable_attr_defined=yes ]) AC_CACHE_CHECK([whether more special flags are required for pthreads], [ax_cv_PTHREAD_SPECIAL_FLAGS], [ax_cv_PTHREAD_SPECIAL_FLAGS=no case $host_os in solaris*) ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS" ;; esac ]) AS_IF([test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \ test "x$ax_pthread_special_flags_added" != "xyes"], [PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS" ax_pthread_special_flags_added=yes]) AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT], [ax_cv_PTHREAD_PRIO_INHERIT], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[int i = PTHREAD_PRIO_INHERIT;]])], [ax_cv_PTHREAD_PRIO_INHERIT=yes], [ax_cv_PTHREAD_PRIO_INHERIT=no]) ]) AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \ test "x$ax_pthread_prio_inherit_defined" != "xyes"], [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.]) ax_pthread_prio_inherit_defined=yes ]) CFLAGS="$ax_pthread_save_CFLAGS" LIBS="$ax_pthread_save_LIBS" # More AIX lossage: compile with *_r variant if test "x$GCC" != "xyes"; then case $host_os in aix*) AS_CASE(["x/$CC"], [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6], [#handle absolute path differently from PATH based program lookup AS_CASE(["x$CC"], [x/*], [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])], [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])]) ;; esac fi fi test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" AC_SUBST([PTHREAD_LIBS]) AC_SUBST([PTHREAD_CFLAGS]) AC_SUBST([PTHREAD_CC]) # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test "x$ax_pthread_ok" = "xyes"; then ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1]) : else ax_pthread_ok=no $2 fi AC_LANG_POP ])dnl AX_PTHREAD libgd-2.3.0/m4/lt~obsolete.m40000644000175000017500000001377413634445507012701 00000000000000# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software # Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN), # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) libgd-2.3.0/m4/ax_require_defined.m40000664000175000017500000000230213635665516014141 00000000000000# =========================================================================== # https://www.gnu.org/software/autoconf-archive/ax_require_defined.html # =========================================================================== # # SYNOPSIS # # AX_REQUIRE_DEFINED(MACRO) # # DESCRIPTION # # AX_REQUIRE_DEFINED is a simple helper for making sure other macros have # been defined and thus are available for use. This avoids random issues # where a macro isn't expanded. Instead the configure script emits a # non-fatal: # # ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found # # It's like AC_REQUIRE except it doesn't expand the required macro. # # Here's an example: # # AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG]) # # LICENSE # # Copyright (c) 2014 Mike Frysinger # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. #serial 2 AC_DEFUN([AX_REQUIRE_DEFINED], [dnl m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])]) ])dnl AX_REQUIRE_DEFINED libgd-2.3.0/m4/ax_openmp.m40000664000175000017500000001057113634445460012305 00000000000000# =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_openmp.html # =========================================================================== # # SYNOPSIS # # AX_OPENMP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) # # DESCRIPTION # # This macro tries to find out how to compile programs that use OpenMP a # standard API and set of compiler directives for parallel programming # (see http://www-unix.mcs/) # # On success, it sets the OPENMP_CFLAGS/OPENMP_CXXFLAGS/OPENMP_F77FLAGS # output variable to the flag (e.g. -omp) used both to compile *and* link # OpenMP programs in the current language. # # NOTE: You are assumed to not only compile your program with these flags, # but also link it with them as well. # # If you want to compile everything with OpenMP, you should set: # # CFLAGS="$CFLAGS $OPENMP_CFLAGS" # #OR# CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS" # #OR# FFLAGS="$FFLAGS $OPENMP_FFLAGS" # # (depending on the selected language). # # The user can override the default choice by setting the corresponding # environment variable (e.g. OPENMP_CFLAGS). # # ACTION-IF-FOUND is a list of shell commands to run if an OpenMP flag is # found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is # not found. If ACTION-IF-FOUND is not specified, the default action will # define HAVE_OPENMP. # # LICENSE # # Copyright (c) 2008 Steven G. Johnson # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 9 AC_DEFUN([AX_OPENMP], [ AC_PREREQ(2.59) dnl for _AC_LANG_PREFIX AC_CACHE_CHECK([for OpenMP flag of _AC_LANG compiler], ax_cv_[]_AC_LANG_ABBREV[]_openmp, [save[]_AC_LANG_PREFIX[]FLAGS=$[]_AC_LANG_PREFIX[]FLAGS ax_cv_[]_AC_LANG_ABBREV[]_openmp=unknown # Flags to try: -fopenmp (gcc), -openmp (icc), -mp (SGI & PGI), # -xopenmp (Sun), -omp (Tru64), -qsmp=omp (AIX), none ax_openmp_flags="-fopenmp -openmp -mp -xopenmp -omp -qsmp=omp none" if test "x$OPENMP_[]_AC_LANG_PREFIX[]FLAGS" != x; then ax_openmp_flags="$OPENMP_[]_AC_LANG_PREFIX[]FLAGS $ax_openmp_flags" fi for ax_openmp_flag in $ax_openmp_flags; do case $ax_openmp_flag in none) []_AC_LANG_PREFIX[]FLAGS=$save[]_AC_LANG_PREFIX[] ;; *) []_AC_LANG_PREFIX[]FLAGS="$save[]_AC_LANG_PREFIX[]FLAGS $ax_openmp_flag" ;; esac AC_TRY_LINK([#ifdef __cplusplus extern "C" #endif void omp_set_num_threads(int);], [const int N = 100000; int i, arr[N]; omp_set_num_threads(2); #pragma omp parallel for for (i = 0; i < N; i++) { arr[i] = i; }], [ax_cv_[]_AC_LANG_ABBREV[]_openmp=$ax_openmp_flag; break]) done []_AC_LANG_PREFIX[]FLAGS=$save[]_AC_LANG_PREFIX[]FLAGS ]) if test "x$ax_cv_[]_AC_LANG_ABBREV[]_openmp" = "xunknown"; then m4_default([$2],:) else if test "x$ax_cv_[]_AC_LANG_ABBREV[]_openmp" != "xnone"; then OPENMP_[]_AC_LANG_PREFIX[]FLAGS=$ax_cv_[]_AC_LANG_ABBREV[]_openmp fi m4_default([$1], [AC_DEFINE(HAVE_OPENMP,1,[Define if OpenMP is enabled])]) fi ])dnl AX_OPENMP libgd-2.3.0/m4/ltsugar.m40000644000175000017500000001044013634445507011773 00000000000000# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59, which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) libgd-2.3.0/m4/ltoptions.m40000644000175000017500000003426213634445507012355 00000000000000# Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software # Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 8 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option '$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl 'shared' nor 'disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4], [_LT_WITH_AIX_SONAME([aix])]) ]) ])# _LT_SET_OPTIONS ## --------------------------------- ## ## Macros to handle LT_INIT options. ## ## --------------------------------- ## # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the 'shared' and # 'disable-shared' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the 'static' and # 'disable-static' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the 'fast-install' # and 'disable-fast-install' LT_INIT options. # DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_AIX_SONAME([DEFAULT]) # ---------------------------------- # implement the --with-aix-soname flag, and support the `aix-soname=aix' # and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT # is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'. m4_define([_LT_WITH_AIX_SONAME], [m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[[5-9]]*,yes) AC_MSG_CHECKING([which variant of shared library versioning to provide]) AC_ARG_WITH([aix-soname], [AS_HELP_STRING([--with-aix-soname=aix|svr4|both], [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])], [case $withval in aix|svr4|both) ;; *) AC_MSG_ERROR([Unknown argument to --with-aix-soname]) ;; esac lt_cv_with_aix_soname=$with_aix_soname], [AC_CACHE_VAL([lt_cv_with_aix_soname], [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT) with_aix_soname=$lt_cv_with_aix_soname]) AC_MSG_RESULT([$with_aix_soname]) if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac _LT_DECL([], [shared_archive_member_spec], [0], [Shared archive member basename, for filename based shared library versioning on AIX])dnl ])# _LT_WITH_AIX_SONAME LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])]) LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])]) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the 'pic-only' and 'no-pic' # LT_INIT options. # MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac], [pic_mode=m4_default([$1], [default])]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the 'pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) ## ----------------- ## ## LTDL_INIT Options ## ## ----------------- ## m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) libgd-2.3.0/m4/visibility.m40000664000175000017500000000413013634445460012500 00000000000000# visibility.m4 serial 1 (gettext-0.15) dnl Copyright (C) 2005 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl From Bruno Haible. dnl Tests whether the compiler supports the command-line option dnl -fvisibility=hidden and the function and variable attributes dnl __attribute__((__visibility__("hidden"))) and dnl __attribute__((__visibility__("default"))). dnl Does *not* test for __visibility__("protected") - which has tricky dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on dnl MacOS X. dnl Does *not* test for __visibility__("internal") - which has processor dnl dependent semantics. dnl Does *not* test for #pragma GCC visibility push(hidden) - which is dnl "really only recommended for legacy code". dnl Set the variable CFLAG_VISIBILITY. dnl Defines and sets the variable HAVE_VISIBILITY. AC_DEFUN([gl_VISIBILITY], [ AC_REQUIRE([AC_PROG_CC]) CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then AC_MSG_CHECKING([for simple visibility declarations]) AC_CACHE_VAL(gl_cv_cc_visibility, [ gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" AC_TRY_COMPILE( [extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void);], [], gl_cv_cc_visibility=yes, gl_cv_cc_visibility=no) CFLAGS="$gl_save_CFLAGS"]) AC_MSG_RESULT([$gl_cv_cc_visibility]) if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi AC_SUBST([CFLAG_VISIBILITY]) AC_SUBST([HAVE_VISIBILITY]) AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) ]) libgd-2.3.0/bootstrap.sh0000775000175000017500000000150013635665516012110 00000000000000#!/bin/sh -- # Small shell script to build gd from source v() { echo "$@"; "$@"; } # Generate the manual (unless naturaldocs isn't installed). Source # dists should include the docs so that end users don't need to # install naturaldocs. At the same time, we tolerate it being missing # so that random hackers don't need it just to build the code. v docs/naturaldocs/run_docs.sh --nonfatal if echo "${OSTYPE:-$(uname)}" | grep -q '^darwin' ; then echo "Having trouble on OS X? Try: brew install autoconf libtool automake gettext pkg-config cmake" fi if ! v autoreconf -f -i ; then exit 1 fi ( echo "/* Generated from config.hin via autoheader for cmake; see bootstrap.sh. */" sed -E \ -e '1d' \ -e '/ENABLE_/{s:#undef:#define:;s:([^ ]*)$:\1 @\1@:;}' \ -e 's:#undef:#cmakedefine:' \ src/config.hin ) > src/config.h.cmake libgd-2.3.0/CONTRIBUTING.md0000664000175000017500000001557413635665516012005 00000000000000# Contributing to libgd :+1::tada: First off, thanks for taking the time to contribute! :tada::+1: #### Table Of Contents [What should I know before I get started?](#what-should-i-know-before-i-get-started) * [Code of Conduct](#code-of-conduct) * [Repositories](#Repositories) [How Can I Contribute?](#how-can-i-contribute) * [Reporting Bugs](#reporting-bugs) * [Suggesting Enhancements](#suggesting-enhancements) * [Your First Code Contribution](#your-first-code-contribution) * [Pull Requests](#pull-requests) [Styleguides](#styleguides) * [Git Commit Messages](#git-commit-messages) * [Coding standard](#coding-standard) * [Documentation Styleguide](#documentation-styleguide) ## What should I know before I get started? ### Code of Conduct This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [security@libg.org](mailto:security@libgd.org). ### Repositories * [The main libGD repository](https://github.com/libgd/libgd) for the library and utilities released as part of libgd * [The libgd website repository](https://github.com/libgd/website) for the libgd.org website * [The Pango support for libgd repository](https://github.com/libgd/gd-pango) for the for libGD Pango support ## How Can I Contribute? ### Reporting Bugs This section guides you through submitting a bug report for Atom. Following these guidelines helps maintainers and the community understand your report :pencil:, reproduce the behavior :computer: :computer:, and find related reports :mag_right:. Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). If you'd like, you can use [this template](#template-for-submitting-bug-reports) to structure the information. #### Before Submitting A Bug Report * **Determine [which repository the problem should be reported in](#atom-and-packages)**. * **Perform a [cursory search](https://github.com/issues?q=+is%3Aissue+user%3Alibgd)** to see if the problem has already been reported. If it has, add a comment to the existing issue instead of opening a new one. #### How Do I Submit A (Good) Bug Report? For security related bugs, github does not support private issues, that's why we have to handle security issues outside the issues tracker for now. Please drop a mail to [security@libg.org](mailto:security@libgd.org). Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/). After you've determined [which repository](#repositories) your bug is related to, create an issue on that repository and provide the following information. Explain the problem and include additional details to help maintainers reproduce the problem: * **Use a clear and descriptive title** for the issue to identify the problem. * **Describe the exact steps which reproduce the problem** in as many details as possible. * **Provide specific examples to demonstrate the steps**. Include links to files or GitHub projects, or copy/pasteable workable example (for example see [this simple test case](https://github.com/libgd/libgd/blob/master/tests/gd/gd_null.c), which you use in those examples. If you're providing snippets in the issue, use [Markdown code blocks](https://help.github.com/articles/markdown-basics/#multiple-lines). * **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior. * **Explain which behavior you expected to see instead and why.** * **Include images, expected and result images** which show you following the described steps and clearly demonstrate the problem. * **If you're reporting that libGD crashed**, include a crash report with a stack trace from the operating system. Include the crash report in the issue in a [code block](https://help.github.com/articles/markdown-basics/#multiple-lines), a [file attachment](https://help.github.com/articles/file-attachments-on-issues-and-pull-requests/), or put it in a [gist](https://gist.github.com/) and provide link to that gist. This text has been largely inspired by the Atom contributing notes, which are amazingly complete. ## Styleguides These sections tend to bore people. But if you don't follow them, it slows down reviews from developers (and tends to tire/annoy them). Please give it a look over and feel free to ask questions. ### Git Commit Messages Rather than duplicate a ton of great explanations, please read this site: http://chris.beams.io/posts/git-commit/ Yes, it's long, but once you read and understand it once, it applies to every git project out there, not just GD. In case that site is broken, here is an archived link: http://web.archive.org/web/20160706012209/http://chris.beams.io/posts/git-commit/ ### Coding standard #### Style First, coding style should be consistent. If you're modifying a file that might not follow this section, stick with that file's style. If we want to fix the style later, we can. As for the rest, TBD! #### Practices Check for invalid settings (where reasonable) and return an error directly. Do not use `assert` and do not require the user to follow the documented API. e.g. Check for `NULL` pointers, and check enum values are within range. The GD library is used in a lot of hostile environments (like websites) and is given hostile (user controlled) data. When GD mishandles memory, that can be used to attack servers. When GD crashes (or calls `assert`), that can take out a web session. #### Testing We love unit tests. Every bugfix, new API, etc... should include a test update to make sure future work doesn't break things or regress. We want to fix bugs just once, not over and over again. Note that we say "should". While we really like tests, we understand that not all changes are trivial to verify. Some general guidelines: * Tests should be standalone: One test should test one thing only. * Tests should be reproducible: Avoid relying on system settings like /etc. * Tests must be fast: A good guideline is that they should take <1 second, and must take <5 seconds. * Tests must be documented: Just add a comment block to the top of the file with a short description and any existing bugs/URLs. ### Documentation Styleguide Do everything in markdown. It's readable even in plain text, and converts well into other formats (e.g. HTML). The question is which flavor! For files that end in `.md`, use [GitHub markdown](https://guides.github.com/features/mastering-markdown/). For API documentation (embedded in the code), we use [Natural Docs](http://www.naturaldocs.org/). You can find more info about it under the [docs/naturaldocs/](docs/naturaldocs/) subdirectory. Try to keep the file linewrapped to 80 cols. Sometimes you won't be able to because of long strings (like links), and that's OK. libgd-2.3.0/config/0000775000175000017500000000000013635665564011070 500000000000000libgd-2.3.0/config/install-sh0000755000175000017500000003546313634445513013012 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2014-09-12.12; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) # $RANDOM is not portable (e.g. dash); use it when possible to # lower collision chance tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 # As "mkdir -p" follows symlinks and we work in /tmp possibly; so # create the $tmpdir first (and fail if unsuccessful) to make sure # that nobody tries to guess the $tmpdir name. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { 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 $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: libgd-2.3.0/config/gdlib.pc.cmake0000664000175000017500000000034013635665516013466 00000000000000libdir=@CMAKE_INSTALL_FULL_LIBDIR@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ Name: gd Description: GD graphics library Version: @GDLIB_VERSION@ Cflags: -I${includedir} Libs.private: @LIBGD_DEP_LIBS@ Libs: -L${libdir} -lgd libgd-2.3.0/config/test-driver0000755000175000017500000001104013634445513013165 00000000000000#! /bin/sh # test-driver - basic testsuite driver script. scriptversion=2013-07-13.22; # UTC # Copyright (C) 2011-2014 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . # Make unconditional expansion of undefined variables an error. This # helps a lot in preventing typo-related bugs. set -u usage_error () { echo "$0: $*" >&2 print_usage >&2 exit 2 } print_usage () { cat <$log_file 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then tweaked_estatus=1 else tweaked_estatus=$estatus fi case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac # Report the test outcome and exit status in the logs, so that one can # know whether the test passed or failed simply by looking at the '.log' # file, without the need of also peaking into the corresponding '.trs' # file (automake bug#11814). echo "$res $test_name (exit status: $estatus)" >>$log_file # Report outcome to console. echo "${col}${res}${std}: $test_name" # Register the test result, and other relevant metadata. echo ":test-result: $res" > $trs_file echo ":global-test-result: $res" >> $trs_file echo ":recheck: $recheck" >> $trs_file echo ":copy-in-global-log: $gcopy" >> $trs_file # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: libgd-2.3.0/config/config.sub0000755000175000017500000010645013634445513012764 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2018 Free Software Foundation, Inc. timestamp='2018-02-22' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS Canonicalize a configuration name. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo "$1" exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ kopensolaris*-gnu* | cloudabi*-eabi* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo "$1" | sed 's/-[^-]*$//'` if [ "$basic_machine" != "$1" ] then os=`echo "$1" | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo "$1" | sed -e 's/86-.*/86-sequent/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia16 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pru \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ | wasm32 \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | ba-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia16-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pru-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ | wasm32-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-pc os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2*) basic_machine=m68k-bull os=-sysv3 ;; e500v[12]) basic_machine=powerpc-unknown os=$os"spe" ;; e500v[12]-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=$os"spe" ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo "$1" | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo "$basic_machine" | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo "$basic_machine" | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo "$basic_machine" | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; nsv-tandem) basic_machine=nsv-tandem ;; nsx-tandem) basic_machine=nsx-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo "$basic_machine" | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh5el) basic_machine=sh5le-unknown ;; simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo "$basic_machine" | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; x64) basic_machine=x86_64-pc ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo "$basic_machine" | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`"$1"\': machine \`"$basic_machine"\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo "$basic_machine" | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo "$basic_machine" | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases that might get confused # with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # es1800 is here to avoid being matched by es* (a different OS) -es1800*) os=-ose ;; # Now accept the basic system types. # The portable systems comes first. # Each alternative MUST end in a * to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox* | -bme* \ | -midnightbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -xray | -os68k* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo "$os" | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo "$os" | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo "$os" | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4*) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -pikeos*) # Until real need of OS specific support for # particular features comes up, bare metal # configurations are quite functional. case $basic_machine in arm*) os=-eabi ;; *) os=-elf ;; esac ;; -nacl*) ;; -ios) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; pru-*) os=-elf ;; *-be) os=-beos ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo "$basic_machine" | sed "s/unknown/$vendor/"` ;; esac echo "$basic_machine$os" exit # Local variables: # eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: libgd-2.3.0/config/Makefile.am0000664000175000017500000000027113635665521013035 00000000000000## Process this file with automake to produce Makefile.in -*-Makefile-*- EXTRA_DIST = gdlib.pc.cmake gdlib.pc.in getver.pl pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gdlib.pc libgd-2.3.0/config/config.rpath0000664000175000017500000004443513634445460013315 00000000000000#! /bin/sh # Output a system dependent set of variables, describing how to set the # run time search path of shared libraries in an executable. # # Copyright 1996-2012 Free Software Foundation, Inc. # Taken from GNU libtool, 2001 # Originally by Gordon Matzigkeit , 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # # The first argument passed to this file is the canonical host specification, # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld # should be set by the caller. # # The set of defined variables is at the end of this script. # Known limitations: # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer # than 256 bytes, otherwise the compiler driver will dump core. The only # known workaround is to choose shorter directory names for the build # directory and/or the installation directory. # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a shrext=.so host="$1" host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` # Code taken from libtool.m4's _LT_CC_BASENAME. for cc_temp in $CC""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` # Code taken from libtool.m4's _LT_COMPILER_PIC. wl= if test "$GCC" = yes; then wl='-Wl,' else case "$host_os" in aix*) wl='-Wl,' ;; mingw* | cygwin* | pw32* | os2* | cegcc*) ;; hpux9* | hpux10* | hpux11*) wl='-Wl,' ;; irix5* | irix6* | nonstopux*) wl='-Wl,' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in ecc*) wl='-Wl,' ;; icc* | ifort*) wl='-Wl,' ;; lf95*) wl='-Wl,' ;; nagfor*) wl='-Wl,-Wl,,' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) wl='-Wl,' ;; ccc*) wl='-Wl,' ;; xl* | bgxl* | bgf* | mpixl*) wl='-Wl,' ;; como) wl='-lopt=' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ F* | *Sun*Fortran*) wl= ;; *Sun\ C*) wl='-Wl,' ;; esac ;; esac ;; newsos6) ;; *nto* | *qnx*) ;; osf3* | osf4* | osf5*) wl='-Wl,' ;; rdos*) ;; solaris*) case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) wl='-Qoption ld ' ;; *) wl='-Wl,' ;; esac ;; sunos4*) wl='-Qoption ld ' ;; sysv4 | sysv4.2uw2* | sysv4.3*) wl='-Wl,' ;; sysv4*MP*) ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) wl='-Wl,' ;; unicos*) wl='-Wl,' ;; uts4*) ;; esac fi # Code taken from libtool.m4's _LT_LINKER_SHLIBS. hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no case "$host_os" in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. # Unlike libtool, we use -rpath here, not --rpath, since the documented # option of GNU ld is called -rpath, not --rpath. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' case "$host_os" in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then : else ld_shlibs=no fi ;; haiku*) ;; interix[3-9]*) hardcode_direct=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; netbsd*) ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' else ld_shlibs=no fi ;; esac ;; sunos4*) hardcode_direct=yes ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then : else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then hardcode_libdir_flag_spec= fi else case "$host_os" in aix3*) # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac fi hardcode_direct=yes hardcode_libdir_separator=':' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac fi # Begin _LT_AC_SYS_LIBPATH_AIX. echo 'int main () { return 0; }' > conftest.c ${CC} ${LDFLAGS} conftest.c -o conftest aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` fi if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib" fi rm -f conftest.c conftest # End _LT_AC_SYS_LIBPATH_AIX. if test "$aix_use_runtimelinking" = yes; then hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' else hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" fi fi ;; amigaos*) case "$host_cpu" in powerpc) ;; m68k) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' libext=lib ;; darwin* | rhapsody*) hardcode_direct=no if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then : else ld_shlibs=no fi ;; dgux*) hardcode_libdir_flag_spec='-L$libdir' ;; freebsd2.2*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; freebsd2*) hardcode_direct=yes hardcode_minus_L=yes ;; freebsd* | dragonfly*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; hpux9*) hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; hpux10*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no ;; *) hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; netbsd*) hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes ;; newsos6) hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then hardcode_libdir_flag_spec='${wl}-rpath,$libdir' else case "$host_os" in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) hardcode_libdir_flag_spec='-R$libdir' ;; *) hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; osf3*) hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) if test "$GCC" = yes; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else # Both cc and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) hardcode_libdir_flag_spec='-R$libdir' ;; sunos4*) hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes ;; sysv4) case $host_vendor in sni) hardcode_direct=yes # is this really true??? ;; siemens) hardcode_direct=no ;; motorola) hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac ;; sysv4.3*) ;; sysv4*MP*) if test -d /usr/nec; then ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) ;; sysv5* | sco3.2v5* | sco5v6*) hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' ;; uts4*) hardcode_libdir_flag_spec='-L$libdir' ;; *) ld_shlibs=no ;; esac fi # Check dynamic linker characteristics # Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. # Unlike libtool.m4, here we don't care about _all_ names of the library, but # only about the one the linker finds when passed -lNAME. This is the last # element of library_names_spec in libtool.m4, or possibly two of them if the # linker has special search rules. library_names_spec= # the last element of library_names_spec in libtool.m4 libname_spec='lib$name' case "$host_os" in aix3*) library_names_spec='$libname.a' ;; aix[4-9]*) library_names_spec='$libname$shrext' ;; amigaos*) case "$host_cpu" in powerpc*) library_names_spec='$libname$shrext' ;; m68k) library_names_spec='$libname.a' ;; esac ;; beos*) library_names_spec='$libname$shrext' ;; bsdi[45]*) library_names_spec='$libname$shrext' ;; cygwin* | mingw* | pw32* | cegcc*) shrext=.dll library_names_spec='$libname.dll.a $libname.lib' ;; darwin* | rhapsody*) shrext=.dylib library_names_spec='$libname$shrext' ;; dgux*) library_names_spec='$libname$shrext' ;; freebsd* | dragonfly*) case "$host_os" in freebsd[123]*) library_names_spec='$libname$shrext$versuffix' ;; *) library_names_spec='$libname$shrext' ;; esac ;; gnu*) library_names_spec='$libname$shrext' ;; haiku*) library_names_spec='$libname$shrext' ;; hpux9* | hpux10* | hpux11*) case $host_cpu in ia64*) shrext=.so ;; hppa*64*) shrext=.sl ;; *) shrext=.sl ;; esac library_names_spec='$libname$shrext' ;; interix[3-9]*) library_names_spec='$libname$shrext' ;; irix5* | irix6* | nonstopux*) library_names_spec='$libname$shrext' case "$host_os" in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; *) libsuff= shlibsuff= ;; esac ;; esac ;; linux*oldld* | linux*aout* | linux*coff*) ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) library_names_spec='$libname$shrext' ;; knetbsd*-gnu) library_names_spec='$libname$shrext' ;; netbsd*) library_names_spec='$libname$shrext' ;; newsos6) library_names_spec='$libname$shrext' ;; *nto* | *qnx*) library_names_spec='$libname$shrext' ;; openbsd*) library_names_spec='$libname$shrext$versuffix' ;; os2*) libname_spec='$name' shrext=.dll library_names_spec='$libname.a' ;; osf3* | osf4* | osf5*) library_names_spec='$libname$shrext' ;; rdos*) ;; solaris*) library_names_spec='$libname$shrext' ;; sunos4*) library_names_spec='$libname$shrext$versuffix' ;; sysv4 | sysv4.3*) library_names_spec='$libname$shrext' ;; sysv4*MP*) library_names_spec='$libname$shrext' ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) library_names_spec='$libname$shrext' ;; tpf*) library_names_spec='$libname$shrext' ;; uts4*) library_names_spec='$libname$shrext' ;; esac sed_quote_subst='s/\(["`$\\]\)/\\\1/g' escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` shlibext=`echo "$shrext" | sed -e 's,^\.,,'` escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <, 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: libgd-2.3.0/config/gdlib.pc.in0000664000175000017500000000033713634445460013013 00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: gd Description: GD graphics library Version: @VERSION@ Cflags: -I${includedir} Libs.private: @LIBS@ @LIBICONV@ Libs: -L${libdir} -lgd libgd-2.3.0/config/compile0000755000175000017500000001624513634445513012361 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: libgd-2.3.0/config/getver.pl0000775000175000017500000000207113635665516012641 00000000000000#!/usr/bin/env perl # Simple script to extract the version number parts from src/gd.h. If # called with the middle word of the version macro, it prints the # value of that macro. If called with no argument, it outputs a # human-readable version string. This must be run in the project # root. It is used by configure.ac and docs/naturaldocs/run_docs.sh. use strict; use FindBin; my $key = shift; my @version_parts = (); my $dir = $FindBin::Bin; open FH, "<$dir/../src/gd.h" # old-style filehandle for max. portability or die "Unable to open 'gd.h' for reading.\n"; while() { next unless m{version605b5d1778}; next unless /^#define\s+GD_([A-Z0-9]+)_VERSION+\s+(\S+)/; my ($lk, $lv) = ($1, $2); if ($lk eq $key) { chomp $lv; $lv =~ s/"//g; print $lv; # no newline exit(0); # success! } push @version_parts, $lv if (!$key); } close(FH); if (scalar @version_parts == 4) { my $result = join(".", @version_parts[0..2]); $result .= $version_parts[3]; $result =~ s/"//g; print $result; exit(0); } exit(1); # failure libgd-2.3.0/config/ltmain.sh0000644000175000017500000117147413634445507012635 00000000000000#! /bin/sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in ## by inline-source v2014-01-03.01 # libtool (GNU libtool) 2.4.6 # Provide generalized library-building support services. # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . PROGRAM=libtool PACKAGE=libtool VERSION="2.4.6 Debian-2.4.6-2" package_revision=2.4.6 ## ------ ## ## Usage. ## ## ------ ## # Run './libtool --help' for help with using this script from the # command line. ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # After configure completes, it has a better idea of some of the # shell tools we need than the defaults used by the functions shared # with bootstrap, so set those here where they can still be over- # ridden by the user, but otherwise take precedence. : ${AUTOCONF="autoconf"} : ${AUTOMAKE="automake"} ## -------------------------- ## ## Source external libraries. ## ## -------------------------- ## # Much of our low-level functionality needs to be sourced from external # libraries, which are installed to $pkgauxdir. # Set a version string for this script. scriptversion=2015-01-20.17; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 # Copyright (C) 2004-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # As a special exception to the GNU General Public License, if you distribute # this file as part of a program or library that is built using GNU Libtool, # you may include this file under the same distribution terms that you use # for the rest of that program. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # Evaluate this file near the top of your script to gain access to # the functions and variables defined here: # # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh # # If you need to override any of the default environment variable # settings, do that before evaluating this file. ## -------------------- ## ## Shell normalisation. ## ## -------------------- ## # Some shells need a little help to be as Bourne compatible as possible. # Before doing anything else, make sure all that help has been provided! DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # NLS nuisances: We save the old values in case they are required later. _G_user_locale= _G_safe_locale= for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test set = \"\${$_G_var+set}\"; then save_$_G_var=\$$_G_var $_G_var=C export $_G_var _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Make sure IFS has a sensible default sp=' ' nl=' ' IFS="$sp $nl" # There are apparently some retarded systems that use ';' as a PATH separator! if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi ## ------------------------- ## ## Locate command utilities. ## ## ------------------------- ## # func_executable_p FILE # ---------------------- # Check that FILE is an executable regular file. func_executable_p () { test -f "$1" && test -x "$1" } # func_path_progs PROGS_LIST CHECK_FUNC [PATH] # -------------------------------------------- # Search for either a program that responds to --version with output # containing "GNU", or else returned by CHECK_FUNC otherwise, by # trying all the directories in PATH with each of the elements of # PROGS_LIST. # # CHECK_FUNC should accept the path to a candidate program, and # set $func_check_prog_result if it truncates its output less than # $_G_path_prog_max characters. func_path_progs () { _G_progs_list=$1 _G_check_func=$2 _G_PATH=${3-"$PATH"} _G_path_prog_max=0 _G_path_prog_found=false _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} for _G_dir in $_G_PATH; do IFS=$_G_save_IFS test -z "$_G_dir" && _G_dir=. for _G_prog_name in $_G_progs_list; do for _exeext in '' .EXE; do _G_path_prog=$_G_dir/$_G_prog_name$_exeext func_executable_p "$_G_path_prog" || continue case `"$_G_path_prog" --version 2>&1` in *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; *) $_G_check_func $_G_path_prog func_path_progs_result=$func_check_prog_result ;; esac $_G_path_prog_found && break 3 done done done IFS=$_G_save_IFS test -z "$func_path_progs_result" && { echo "no acceptable sed could be found in \$PATH" >&2 exit 1 } } # We want to be able to use the functions in this file before configure # has figured out where the best binaries are kept, which means we have # to search for them ourselves - except when the results are already set # where we skip the searches. # Unless the user overrides by setting SED, search the path for either GNU # sed, or the sed that truncates its output the least. test -z "$SED" && { _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for _G_i in 1 2 3 4 5 6 7; do _G_sed_script=$_G_sed_script$nl$_G_sed_script done echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed _G_sed_script= func_check_prog_sed () { _G_path_prog=$1 _G_count=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo '' >> conftest.nl "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin rm -f conftest.sed SED=$func_path_progs_result } # Unless the user overrides by setting GREP, search the path for either GNU # grep, or the grep that truncates its output the least. test -z "$GREP" && { func_check_prog_grep () { _G_path_prog=$1 _G_count=0 _G_path_prog_max=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo 'GREP' >> conftest.nl "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin GREP=$func_path_progs_result } ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # All uppercase variable names are used for environment variables. These # variables can be overridden by the user before calling a script that # uses them if a suitable command of that name is not already available # in the command search PATH. : ${CP="cp -f"} : ${ECHO="printf %s\n"} : ${EGREP="$GREP -E"} : ${FGREP="$GREP -F"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} ## -------------------- ## ## Useful sed snippets. ## ## -------------------- ## sed_dirname='s|/[^/]*$||' sed_basename='s|^.*/||' # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s|\([`"$\\]\)|\\\1|g' # Same as above, but do not quote variable references. sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' # Sed substitution that converts a w32 file name or path # that contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-'\' parameter expansions in output of sed_double_quote_subst that # were '\'-ed in input to the same. If an odd number of '\' preceded a # '$' in input to sed_double_quote_subst, that '$' was protected from # expansion. Since each input '\' is now two '\'s, look for any number # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. _G_bs='\\' _G_bs2='\\\\' _G_bs4='\\\\\\\\' _G_dollar='\$' sed_double_backslash="\ s/$_G_bs4/&\\ /g s/^$_G_bs2$_G_dollar/$_G_bs&/ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" ## ----------------- ## ## Global variables. ## ## ----------------- ## # Except for the global variables explicitly listed below, the following # functions in the '^func_' namespace, and the '^require_' namespace # variables initialised in the 'Resource management' section, sourcing # this file will not pollute your global namespace with anything # else. There's no portable way to scope variables in Bourne shell # though, so actually running these functions will sometimes place # results into a variable named after the function, and often use # temporary variables in the '^_G_' namespace. If you are careful to # avoid using those namespaces casually in your sourcing script, things # should continue to work as you expect. And, of course, you can freely # overwrite any of the functions or variables defined here before # calling anything to customize them. EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. # Allow overriding, eg assuming that you follow the convention of # putting '$debug_cmd' at the start of all your functions, you can get # bash to show function call trace with: # # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name debug_cmd=${debug_cmd-":"} exit_cmd=: # By convention, finish your script with: # # exit $exit_status # # so that you can set exit_status to non-zero if you want to indicate # something went wrong during execution without actually bailing out at # the point of failure. exit_status=$EXIT_SUCCESS # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath=$0 # The name of this program. progname=`$ECHO "$progpath" |$SED "$sed_basename"` # Make sure we have an absolute progpath for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` progdir=`cd "$progdir" && pwd` progpath=$progdir/$progname ;; *) _G_IFS=$IFS IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS=$_G_IFS test -x "$progdir/$progname" && break done IFS=$_G_IFS test -n "$progdir" || progdir=`pwd` progpath=$progdir/$progname ;; esac ## ----------------- ## ## Standard options. ## ## ----------------- ## # The following options affect the operation of the functions defined # below, and should be set appropriately depending on run-time para- # meters passed on the command line. opt_dry_run=false opt_quiet=false opt_verbose=false # Categories 'all' and 'none' are always available. Append any others # you will pass as the first argument to func_warning from your own # code. warning_categories= # By default, display warnings according to 'opt_warning_types'. Set # 'warning_func' to ':' to elide all warnings, or func_fatal_error to # treat the next displayed warning as a fatal error. warning_func=func_warn_and_continue # Set to 'all' to display all warnings, 'none' to suppress all # warnings, or a space delimited list of some subset of # 'warning_categories' to display only the listed warnings. opt_warning_types=all ## -------------------- ## ## Resource management. ## ## -------------------- ## # This section contains definitions for functions that each ensure a # particular resource (a file, or a non-empty configuration variable for # example) is available, and if appropriate to extract default values # from pertinent package files. Call them using their associated # 'require_*' variable to ensure that they are executed, at most, once. # # It's entirely deliberate that calling these functions can set # variables that don't obey the namespace limitations obeyed by the rest # of this file, in order that that they be as useful as possible to # callers. # require_term_colors # ------------------- # Allow display of bold text on terminals that support it. require_term_colors=func_require_term_colors func_require_term_colors () { $debug_cmd test -t 1 && { # COLORTERM and USE_ANSI_COLORS environment variables take # precedence, because most terminfo databases neglect to describe # whether color sequences are supported. test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} if test 1 = "$USE_ANSI_COLORS"; then # Standard ANSI escape sequences tc_reset='' tc_bold=''; tc_standout='' tc_red=''; tc_green='' tc_blue=''; tc_cyan='' else # Otherwise trust the terminfo database after all. test -n "`tput sgr0 2>/dev/null`" && { tc_reset=`tput sgr0` test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` tc_standout=$tc_bold test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` } fi } require_term_colors=: } ## ----------------- ## ## Function library. ## ## ----------------- ## # This section contains a variety of useful functions to call in your # scripts. Take note of the portable wrappers for features provided by # some modern shells, which will fall back to slower equivalents on # less featureful shells. # func_append VAR VALUE # --------------------- # Append VALUE onto the existing contents of VAR. # We should try to minimise forks, especially on Windows where they are # unreasonably slow, so skip the feature probes when bash or zsh are # being used: if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then : ${_G_HAVE_ARITH_OP="yes"} : ${_G_HAVE_XSI_OPS="yes"} # The += operator was introduced in bash 3.1 case $BASH_VERSION in [12].* | 3.0 | 3.0*) ;; *) : ${_G_HAVE_PLUSEQ_OP="yes"} ;; esac fi # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is # useable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes if test yes = "$_G_HAVE_PLUSEQ_OP" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_append () { $debug_cmd eval "$1+=\$2" }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_append () { $debug_cmd eval "$1=\$$1\$2" } fi # func_append_quoted VAR VALUE # ---------------------------- # Quote VALUE and append to the end of shell variable VAR, separated # by a space. if test yes = "$_G_HAVE_PLUSEQ_OP"; then eval 'func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1+=\\ \$func_quote_for_eval_result" }' else func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1=\$$1\\ \$func_quote_for_eval_result" } fi # func_append_uniq VAR VALUE # -------------------------- # Append unique VALUE onto the existing contents of VAR, assuming # entries are delimited by the first character of VALUE. For example: # # func_append_uniq options " --another-option option-argument" # # will only append to $options if " --another-option option-argument " # is not already present somewhere in $options already (note spaces at # each end implied by leading space in second argument). func_append_uniq () { $debug_cmd eval _G_current_value='`$ECHO $'$1'`' _G_delim=`expr "$2" : '\(.\)'` case $_G_delim$_G_current_value$_G_delim in *"$2$_G_delim"*) ;; *) func_append "$@" ;; esac } # func_arith TERM... # ------------------ # Set func_arith_result to the result of evaluating TERMs. test -z "$_G_HAVE_ARITH_OP" \ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ && _G_HAVE_ARITH_OP=yes if test yes = "$_G_HAVE_ARITH_OP"; then eval 'func_arith () { $debug_cmd func_arith_result=$(( $* )) }' else func_arith () { $debug_cmd func_arith_result=`expr "$@"` } fi # func_basename FILE # ------------------ # Set func_basename_result to FILE with everything up to and including # the last / stripped. if test yes = "$_G_HAVE_XSI_OPS"; then # If this shell supports suffix pattern removal, then use it to avoid # forking. Hide the definitions single quotes in case the shell chokes # on unsupported syntax... _b='func_basename_result=${1##*/}' _d='case $1 in */*) func_dirname_result=${1%/*}$2 ;; * ) func_dirname_result=$3 ;; esac' else # ...otherwise fall back to using sed. _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` if test "X$func_dirname_result" = "X$1"; then func_dirname_result=$3 else func_append func_dirname_result "$2" fi' fi eval 'func_basename () { $debug_cmd '"$_b"' }' # func_dirname FILE APPEND NONDIR_REPLACEMENT # ------------------------------------------- # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. eval 'func_dirname () { $debug_cmd '"$_d"' }' # func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT # -------------------------------------------------------- # Perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () { $debug_cmd '"$_b"' '"$_d"' }' # func_echo ARG... # ---------------- # Echo program name prefixed message. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname: $_G_line" done IFS=$func_echo_IFS } # func_echo_all ARG... # -------------------- # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_echo_infix_1 INFIX ARG... # ------------------------------ # Echo program name, followed by INFIX on the first line, with any # additional lines not showing INFIX. func_echo_infix_1 () { $debug_cmd $require_term_colors _G_infix=$1; shift _G_indent=$_G_infix _G_prefix="$progname: $_G_infix: " _G_message=$* # Strip color escape sequences before counting printable length for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" do test -n "$_G_tc" && { _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` } done _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes func_echo_infix_1_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_infix_1_IFS $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 _G_prefix=$_G_indent done IFS=$func_echo_infix_1_IFS } # func_error ARG... # ----------------- # Echo program name prefixed message to standard error. func_error () { $debug_cmd $require_term_colors func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 } # func_fatal_error ARG... # ----------------------- # Echo program name prefixed message to standard error, and exit. func_fatal_error () { $debug_cmd func_error "$*" exit $EXIT_FAILURE } # func_grep EXPRESSION FILENAME # ----------------------------- # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $debug_cmd $GREP "$1" "$2" >/dev/null 2>&1 } # func_len STRING # --------------- # Set func_len_result to the length of STRING. STRING may not # start with a hyphen. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_len () { $debug_cmd func_len_result=${#1} }' else func_len () { $debug_cmd func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } fi # func_mkdir_p DIRECTORY-PATH # --------------------------- # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { $debug_cmd _G_directory_path=$1 _G_dir_list= if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then # Protect directory names starting with '-' case $_G_directory_path in -*) _G_directory_path=./$_G_directory_path ;; esac # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done case $_G_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` done _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` func_mkdir_p_IFS=$IFS; IFS=: for _G_dir in $_G_dir_list; do IFS=$func_mkdir_p_IFS # mkdir can fail with a 'File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$_G_dir" 2>/dev/null || : done IFS=$func_mkdir_p_IFS # Bail out if we (or some other process) failed to create a directory. test -d "$_G_directory_path" || \ func_fatal_error "Failed to create '$1'" fi } # func_mktempdir [BASENAME] # ------------------------- # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, BASENAME is the basename for that directory. func_mktempdir () { $debug_cmd _G_template=${TMPDIR-/tmp}/${1-$progname} if test : = "$opt_dry_run"; then # Return a directory name, but don't create it in dry-run mode _G_tmpdir=$_G_template-$$ else # If mktemp works, use that first and foremost _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` if test ! -d "$_G_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race _G_tmpdir=$_G_template-${RANDOM-0}$$ func_mktempdir_umask=`umask` umask 0077 $MKDIR "$_G_tmpdir" umask $func_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$_G_tmpdir" || \ func_fatal_error "cannot create temporary directory '$_G_tmpdir'" fi $ECHO "$_G_tmpdir" } # func_normal_abspath PATH # ------------------------ # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. func_normal_abspath () { $debug_cmd # These SED scripts presuppose an absolute path with a trailing slash. _G_pathcar='s|^/\([^/]*\).*$|\1|' _G_pathcdr='s|^/[^/]*||' _G_removedotparts=':dotsl s|/\./|/|g t dotsl s|/\.$|/|' _G_collapseslashes='s|/\{1,\}|/|g' _G_finalslash='s|/*$|/|' # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` while :; do # Processed it all yet? if test / = "$func_normal_abspath_tpath"; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result"; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_notquiet ARG... # -------------------- # Echo program name prefixed message only when not in quiet mode. func_notquiet () { $debug_cmd $opt_quiet || func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_relative_path SRCDIR DSTDIR # -------------------------------- # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. func_relative_path () { $debug_cmd func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=$func_dirname_result if test -z "$func_relative_path_tlibdir"; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test -n "$func_stripname_result"; then func_append func_relative_path_result "/$func_stripname_result" fi # Normalisation. If bindir is libdir, return '.' else relative path. if test -n "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result" func_relative_path_result=$func_stripname_result fi test -n "$func_relative_path_result" || func_relative_path_result=. : } # func_quote_for_eval ARG... # -------------------------- # Aesthetically quote ARGs to be evaled later. # This function returns two values: # i) func_quote_for_eval_result # double-quoted, suitable for a subsequent eval # ii) func_quote_for_eval_unquoted_result # has all characters that are still active within double # quotes backslashified. func_quote_for_eval () { $debug_cmd func_quote_for_eval_unquoted_result= func_quote_for_eval_result= while test 0 -lt $#; do case $1 in *[\\\`\"\$]*) _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; *) _G_unquoted_arg=$1 ;; esac if test -n "$func_quote_for_eval_unquoted_result"; then func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" else func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" fi case $_G_unquoted_arg in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and variable expansion # for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_quoted_arg=\"$_G_unquoted_arg\" ;; *) _G_quoted_arg=$_G_unquoted_arg ;; esac if test -n "$func_quote_for_eval_result"; then func_append func_quote_for_eval_result " $_G_quoted_arg" else func_append func_quote_for_eval_result "$_G_quoted_arg" fi shift done } # func_quote_for_expand ARG # ------------------------- # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { $debug_cmd case $1 in *[\\\`\"]*) _G_arg=`$ECHO "$1" | $SED \ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; *) _G_arg=$1 ;; esac case $_G_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_arg=\"$_G_arg\" ;; esac func_quote_for_expand_result=$_G_arg } # func_stripname PREFIX SUFFIX NAME # --------------------------------- # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_stripname () { $debug_cmd # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary variable first. func_stripname_result=$3 func_stripname_result=${func_stripname_result#"$1"} func_stripname_result=${func_stripname_result%"$2"} }' else func_stripname () { $debug_cmd case $2 in .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; esac } fi # func_show_eval CMD [FAIL_EXP] # ----------------------------- # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} func_quote_for_expand "$_G_cmd" eval "func_notquiet $func_quote_for_expand_result" $opt_dry_run || { eval "$_G_cmd" _G_status=$? if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_show_eval_locale CMD [FAIL_EXP] # ------------------------------------ # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} $opt_quiet || { func_quote_for_expand "$_G_cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || { eval "$_G_user_locale $_G_cmd" _G_status=$? eval "$_G_safe_locale" if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_tr_sh # ---------- # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { $debug_cmd case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_verbose ARG... # ------------------- # Echo program name prefixed message in verbose mode only. func_verbose () { $debug_cmd $opt_verbose && func_echo "$*" : } # func_warn_and_continue ARG... # ----------------------------- # Echo program name prefixed warning message to standard error. func_warn_and_continue () { $debug_cmd $require_term_colors func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 } # func_warning CATEGORY ARG... # ---------------------------- # Echo program name prefixed warning message to standard error. Warning # messages can be filtered according to CATEGORY, where this function # elides messages where CATEGORY is not listed in the global variable # 'opt_warning_types'. func_warning () { $debug_cmd # CATEGORY must be in the warning_categories list! case " $warning_categories " in *" $1 "*) ;; *) func_internal_error "invalid warning category '$1'" ;; esac _G_category=$1 shift case " $opt_warning_types " in *" $_G_category "*) $warning_func ${1+"$@"} ;; esac } # func_sort_ver VER1 VER2 # ----------------------- # 'sort -V' is not generally available. # Note this deviates from the version comparison in automake # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a # but this should suffice as we won't be specifying old # version formats or redundant trailing .0 in bootstrap.conf. # If we did want full compatibility then we should probably # use m4_version_compare from autoconf. func_sort_ver () { $debug_cmd printf '%s\n%s\n' "$1" "$2" \ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n } # func_lt_ver PREV CURR # --------------------- # Return true if PREV and CURR are in the correct order according to # func_sort_ver, otherwise false. Use it like this: # # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." func_lt_ver () { $debug_cmd test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: #! /bin/sh # Set a version string for this script. scriptversion=2014-01-07.03; # UTC # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 # Copyright (C) 2010-2015 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # This file is a library for parsing options in your shell scripts along # with assorted other useful supporting features that you can make use # of too. # # For the simplest scripts you might need only: # # #!/bin/sh # . relative/path/to/funclib.sh # . relative/path/to/options-parser # scriptversion=1.0 # func_options ${1+"$@"} # eval set dummy "$func_options_result"; shift # ...rest of your script... # # In order for the '--version' option to work, you will need to have a # suitably formatted comment like the one at the top of this file # starting with '# Written by ' and ending with '# warranty; '. # # For '-h' and '--help' to work, you will also need a one line # description of your script's purpose in a comment directly above the # '# Written by ' line, like the one at the top of this file. # # The default options also support '--debug', which will turn on shell # execution tracing (see the comment above debug_cmd below for another # use), and '--verbose' and the func_verbose function to allow your script # to display verbose messages only when your user has specified # '--verbose'. # # After sourcing this file, you can plug processing for additional # options by amending the variables from the 'Configuration' section # below, and following the instructions in the 'Option parsing' # section further down. ## -------------- ## ## Configuration. ## ## -------------- ## # You should override these variables in your script after sourcing this # file so that they reflect the customisations you have added to the # option parser. # The usage line for option parsing errors and the start of '-h' and # '--help' output messages. You can embed shell variables for delayed # expansion at the time the message is displayed, but you will need to # quote other shell meta-characters carefully to prevent them being # expanded when the contents are evaled. usage='$progpath [OPTION]...' # Short help message in response to '-h' and '--help'. Add to this or # override it after sourcing this library to reflect the full set of # options your script accepts. usage_message="\ --debug enable verbose shell tracing -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -v, --verbose verbosely report processing --version print version information and exit -h, --help print short or long help message and exit " # Additional text appended to 'usage_message' in response to '--help'. long_help_message=" Warning categories include: 'all' show all warnings 'none' turn off all the warnings 'error' warnings are treated as fatal errors" # Help message printed before fatal option parsing errors. fatal_help="Try '\$progname --help' for more information." ## ------------------------- ## ## Hook function management. ## ## ------------------------- ## # This section contains functions for adding, removing, and running hooks # to the main code. A hook is just a named list of of function, that can # be run in order later on. # func_hookable FUNC_NAME # ----------------------- # Declare that FUNC_NAME will run hooks added with # 'func_add_hook FUNC_NAME ...'. func_hookable () { $debug_cmd func_append hookable_fns " $1" } # func_add_hook FUNC_NAME HOOK_FUNC # --------------------------------- # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must # first have been declared "hookable" by a call to 'func_hookable'. func_add_hook () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not accept hook functions." ;; esac eval func_append ${1}_hooks '" $2"' } # func_remove_hook FUNC_NAME HOOK_FUNC # ------------------------------------ # Remove HOOK_FUNC from the list of functions called by FUNC_NAME. func_remove_hook () { $debug_cmd eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' } # func_run_hooks FUNC_NAME [ARG]... # --------------------------------- # Run all hook functions registered to FUNC_NAME. # It is assumed that the list of hook functions contains nothing more # than a whitespace-delimited list of legal shell function names, and # no effort is wasted trying to catch shell meta-characters or preserve # whitespace. func_run_hooks () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not support hook funcions.n" ;; esac eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do eval $_G_hook '"$@"' # store returned options list back into positional # parameters for next 'cmd' execution. eval _G_hook_result=\$${_G_hook}_result eval set dummy "$_G_hook_result"; shift done func_quote_for_eval ${1+"$@"} func_run_hooks_result=$func_quote_for_eval_result } ## --------------- ## ## Option parsing. ## ## --------------- ## # In order to add your own option parsing hooks, you must accept the # full positional parameter list in your hook function, remove any # options that you action, and then pass back the remaining unprocessed # options in '_result', escaped suitably for # 'eval'. Like this: # # my_options_prep () # { # $debug_cmd # # # Extend the existing usage message. # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' # # func_quote_for_eval ${1+"$@"} # my_options_prep_result=$func_quote_for_eval_result # } # func_add_hook func_options_prep my_options_prep # # # my_silent_option () # { # $debug_cmd # # # Note that for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in # --silent|-s) opt_silent=: ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift # ;; # *) set dummy "$_G_opt" "$*"; shift; break ;; # esac # done # # func_quote_for_eval ${1+"$@"} # my_silent_option_result=$func_quote_for_eval_result # } # func_add_hook func_parse_options my_silent_option # # # my_option_validation () # { # $debug_cmd # # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." # # func_quote_for_eval ${1+"$@"} # my_option_validation_result=$func_quote_for_eval_result # } # func_add_hook func_validate_options my_option_validation # # You'll alse need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the # individual implementations for details. func_hookable func_options func_options () { $debug_cmd func_options_prep ${1+"$@"} eval func_parse_options \ ${func_options_prep_result+"$func_options_prep_result"} eval func_validate_options \ ${func_parse_options_result+"$func_parse_options_result"} eval func_run_hooks func_options \ ${func_validate_options_result+"$func_validate_options_result"} # save modified positional parameters for caller func_options_result=$func_run_hooks_result } # func_options_prep [ARG]... # -------------------------- # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and # needs to propogate that back to rest of this script, then the complete # modified list must be put in 'func_run_hooks_result' before # returning. func_hookable func_options_prep func_options_prep () { $debug_cmd # Option defaults: opt_verbose=false opt_warning_types= func_run_hooks func_options_prep ${1+"$@"} # save modified positional parameters for caller func_options_prep_result=$func_run_hooks_result } # func_parse_options [ARG]... # --------------------------- # The main option parsing loop. func_hookable func_parse_options func_parse_options () { $debug_cmd func_parse_options_result= # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. func_run_hooks func_parse_options ${1+"$@"} # Adjust func_parse_options positional parameters to match eval set dummy "$func_run_hooks_result"; shift # Break out of the loop if we already parsed every option. test $# -gt 0 || break _G_opt=$1 shift case $_G_opt in --debug|-x) debug_cmd='set -x' func_echo "enabling shell trace mode" $debug_cmd ;; --no-warnings|--no-warning|--no-warn) set dummy --warnings none ${1+"$@"} shift ;; --warnings|--warning|-W) test $# = 0 && func_missing_arg $_G_opt && break case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above func_append_uniq opt_warning_types " $1" ;; *all) opt_warning_types=$warning_categories ;; *none) opt_warning_types=none warning_func=: ;; *error) opt_warning_types=$warning_categories warning_func=func_fatal_error ;; *) func_fatal_error \ "unsupported warning category: '$1'" ;; esac shift ;; --verbose|-v) opt_verbose=: ;; --version) func_version ;; -\?|-h) func_usage ;; --help) func_help ;; # Separate optargs to long options (plugins may need this): --*=*) func_split_equals "$_G_opt" set dummy "$func_split_equals_lhs" \ "$func_split_equals_rhs" ${1+"$@"} shift ;; # Separate optargs to short options: -W*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "$func_split_short_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-v*|-x*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} func_parse_options_result=$func_quote_for_eval_result } # func_validate_options [ARG]... # ------------------------------ # Perform any sanity checks on option settings and/or unconsumed # arguments. func_hookable func_validate_options func_validate_options () { $debug_cmd # Display all warnings if -W was not given. test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" func_run_hooks func_validate_options ${1+"$@"} # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE # save modified positional parameters for caller func_validate_options_result=$func_run_hooks_result } ## ----------------- ## ## Helper functions. ## ## ----------------- ## # This section contains the helper functions used by the rest of the # hookable option parser framework in ascii-betical order. # func_fatal_help ARG... # ---------------------- # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { $debug_cmd eval \$ECHO \""Usage: $usage"\" eval \$ECHO \""$fatal_help"\" func_error ${1+"$@"} exit $EXIT_FAILURE } # func_help # --------- # Echo long help message to standard output and exit. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message" exit 0 } # func_missing_arg ARGNAME # ------------------------ # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $debug_cmd func_error "Missing argument for '$1'." exit_cmd=exit } # func_split_equals STRING # ------------------------ # Set func_split_equals_lhs and func_split_equals_rhs shell variables after # splitting STRING at the '=' sign. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_equals () { $debug_cmd func_split_equals_lhs=${1%%=*} func_split_equals_rhs=${1#*=} test "x$func_split_equals_lhs" = "x$1" \ && func_split_equals_rhs= }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_equals () { $debug_cmd func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` func_split_equals_rhs= test "x$func_split_equals_lhs" = "x$1" \ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` } fi #func_split_equals # func_split_short_opt SHORTOPT # ----------------------------- # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_short_opt () { $debug_cmd func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"} }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_short_opt () { $debug_cmd func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` } fi #func_split_short_opt # func_usage # ---------- # Echo short help message to standard output and exit. func_usage () { $debug_cmd func_usage_message $ECHO "Run '$progname --help |${PAGER-more}' for full usage" exit 0 } # func_usage_message # ------------------ # Echo short help message to standard output. func_usage_message () { $debug_cmd eval \$ECHO \""Usage: $usage"\" echo $SED -n 's|^# || /^Written by/{ x;p;x } h /^Written by/q' < "$progpath" echo eval \$ECHO \""$usage_message"\" } # func_version # ------------ # Echo version message to standard output and exit. func_version () { $debug_cmd printf '%s\n' "$progname $scriptversion" $SED -n ' /(C)/!b go :more /\./!{ N s|\n# | | b more } :go /^# Written by /,/# warranty; / { s|^# || s|^# *$|| s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| p } /^# Written by / { s|^# || p } /^warranty; /q' < "$progpath" exit $? } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: # Set a version string. scriptversion='(GNU libtool) 2.4.6' # func_echo ARG... # ---------------- # Libtool also displays the current mode in messages, so override # funclib.sh func_echo with this custom definition. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" done IFS=$func_echo_IFS } # func_warning ARG... # ------------------- # Libtool warnings are not categorized, so override funclib.sh # func_warning with this simpler definition. func_warning () { $debug_cmd $warning_func ${1+"$@"} } ## ---------------- ## ## Options parsing. ## ## ---------------- ## # Hook in the functions to make sure our own options are parsed during # the option parsing loop. usage='$progpath [OPTION]... [MODE-ARG]...' # Short help message in response to '-h'. usage_message="Options: --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --mode=MODE use operation mode MODE --no-warnings equivalent to '-Wnone' --preserve-dup-deps don't remove duplicate dependency libraries --quiet, --silent don't print informational messages --tag=TAG use configuration variables from tag TAG -v, --verbose print more informational messages than default --version print version information -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -h, --help, --help-all print short, long, or detailed help message " # Additional text appended to 'usage_message' in response to '--help'. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. When passed as first option, '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. Try '$progname --help --mode=MODE' for a more detailed description of MODE. When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) version: $progname $scriptversion Debian-2.4.6-2 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . GNU libtool home page: . General help using GNU software: ." exit 0 } # func_lo2o OBJECT-NAME # --------------------- # Transform OBJECT-NAME from a '.lo' suffix to the platform specific # object suffix. lo2o=s/\\.lo\$/.$objext/ o2lo=s/\\.$objext\$/.lo/ if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_lo2o () { case $1 in *.lo) func_lo2o_result=${1%.lo}.$objext ;; * ) func_lo2o_result=$1 ;; esac }' # func_xform LIBOBJ-OR-SOURCE # --------------------------- # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) # suffix to a '.lo' libtool-object suffix. eval 'func_xform () { func_xform_result=${1%.*}.lo }' else # ...otherwise fall back to using sed. func_lo2o () { func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` } func_xform () { func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` } fi # func_fatal_configuration ARG... # ------------------------------- # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func__fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "Fatal configuration error." } # func_config # ----------- # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # ------------- # Display the features supported by this script. func_features () { echo "host: $host" if test yes = "$build_libtool_libs"; then echo "enable shared libraries" else echo "disable shared libraries" fi if test yes = "$build_old_libs"; then echo "enable static libraries" else echo "disable static libraries" fi exit $? } # func_enable_tag TAGNAME # ----------------------- # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname=$1 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf=/$re_begincf/,/$re_endcf/p # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # ------------------------ # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # libtool_options_prep [ARG]... # ----------------------------- # Preparation for options parsed by libtool. libtool_options_prep () { $debug_mode # Option defaults: opt_config=false opt_dlopen= opt_dry_run=false opt_help=false opt_mode= opt_preserve_dup_deps=false opt_quiet=false nonopt= preserve_args= # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Pass back the list of options. func_quote_for_eval ${1+"$@"} libtool_options_prep_result=$func_quote_for_eval_result } func_add_hook func_options_prep libtool_options_prep # libtool_parse_options [ARG]... # --------------------------------- # Provide handling for libtool specific options. libtool_parse_options () { $debug_cmd # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do _G_opt=$1 shift case $_G_opt in --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) func_config ;; --dlopen|-dlopen) opt_dlopen="${opt_dlopen+$opt_dlopen }$1" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) func_features ;; --finish) set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $_G_opt && break opt_mode=$1 case $1 in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $_G_opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_quiet=false func_append preserve_args " $_G_opt" ;; --no-warnings|--no-warning|--no-warn) opt_warning=false func_append preserve_args " $_G_opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $_G_opt" ;; --silent|--quiet) opt_quiet=: opt_verbose=false func_append preserve_args " $_G_opt" ;; --tag) test $# = 0 && func_missing_arg $_G_opt && break opt_tag=$1 func_append preserve_args " $_G_opt $1" func_enable_tag "$1" shift ;; --verbose|-v) opt_quiet=false opt_verbose=: func_append preserve_args " $_G_opt" ;; # An option not handled by this hook function: *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} libtool_parse_options_result=$func_quote_for_eval_result } func_add_hook func_parse_options libtool_parse_options # libtool_validate_options [ARG]... # --------------------------------- # Perform any sanity checks on option settings and/or unconsumed # arguments. libtool_validate_options () { # save first non-option argument if test 0 -lt $#; then nonopt=$1 shift fi # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" case $host in # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match test yes != "$build_libtool_libs" \ && test yes != "$build_old_libs" \ && func_fatal_configuration "not configured to build any kind of library" # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test execute != "$opt_mode"; then func_error "unrecognized option '-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help=$help help="Try '$progname --help --mode=$opt_mode' for more information." } # Pass back the unparsed argument list func_quote_for_eval ${1+"$@"} libtool_validate_options_result=$func_quote_for_eval_result } func_add_hook func_validate_options libtool_validate_options # Process options as early as possible so that --help and --version # can return quickly. func_options ${1+"$@"} eval set dummy "$func_options_result"; shift ## ----------- ## ## Main. ## ## ----------- ## magic='%%%MAGIC variable%%%' magic_exe='%%%MAGIC EXE variable%%%' # Global variables. extracted_archives= extracted_serial=0 # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # func_generated_by_libtool # True iff stdin has been generated by Libtool. This function is only # a basic sanity check; it will hardly flush out determined imposters. func_generated_by_libtool_p () { $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p } # func_lalib_unsafe_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if 'file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case $lalib_p_line in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test yes = "$lalib_p" } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { test -f "$1" && $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $debug_cmd save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # 'FILE.' does not work on cygwin managed mounts. func_source () { $debug_cmd case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case $lt_sysroot:$1 in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result='='$func_stripname_result ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $debug_cmd if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with '--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=$1 if test yes = "$build_libtool_libs"; then write_lobj=\'$2\' else write_lobj=none fi if test yes = "$build_old_libs"; then write_oldobj=\'$3\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $debug_cmd # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result= if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result"; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $debug_cmd if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $debug_cmd # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $debug_cmd if test -z "$2" && test -n "$1"; then func_error "Could not determine host file name corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result=$1 fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $debug_cmd if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " '$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result=$3 fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $debug_cmd case $4 in $1 ) func_to_host_path_result=$3$func_to_host_path_result ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via '$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $debug_cmd $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $debug_cmd case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result=$1 } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result=$func_convert_core_msys_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result=$func_convert_core_file_wine_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via '$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $debug_cmd if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd=func_convert_path_$func_stripname_result fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $debug_cmd func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result=$1 } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_msys_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_path_wine_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_dll_def_p FILE # True iff FILE is a Windows DLL '.def' file. # Keep in sync with _LT_DLL_DEF_P in libtool.m4 func_dll_def_p () { $debug_cmd func_dll_def_p_tmp=`$SED -n \ -e 's/^[ ]*//' \ -e '/^\(;.*\)*$/d' \ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ -e q \ "$1"` test DEF = "$func_dll_def_p_tmp" } # func_mode_compile arg... func_mode_compile () { $debug_cmd # Get the compilation command and the source file. base_compile= srcfile=$nonopt # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg=$arg arg_mode=normal ;; target ) libobj=$arg arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify '-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs=$IFS; IFS=, for arg in $args; do IFS=$save_ifs func_append_quoted lastarg "$arg" done IFS=$save_ifs func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg=$srcfile srcfile=$arg ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with '-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj=$func_basename_result } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from '$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test yes = "$build_libtool_libs" \ || func_fatal_configuration "cannot build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name '$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname=$func_basename_result xdir=$func_dirname_result lobj=$xdir$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test yes = "$build_old_libs"; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test no = "$compiler_c_o"; then output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext lockfile=$output_obj.lock else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test yes = "$need_locks"; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test warn = "$need_locks"; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test yes = "$build_libtool_libs"; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test no != "$pic_mode"; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test yes = "$suppress_opt"; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test yes = "$build_old_libs"; then if test yes != "$pic_mode"; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test yes = "$compiler_c_o"; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test no != "$need_locks"; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test compile = "$opt_mode" && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a '.o' file suitable for static linking -static only build a '.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a 'standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix '.c' with the library object suffix, '.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to '-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the '--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the 'install' or 'cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE use a list of object files found in FILE to specify objects -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with '-') are ignored. Every other argument is treated as a filename. Files ending in '.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in '.la', then a libtool library is created, only library objects ('.lo' files) may be specified, and '-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created using 'ar' and 'ranlib', or on Windows using 'lib'. If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode '$opt_mode'" ;; esac echo $ECHO "Try '$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test : = "$opt_help"; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | $SED -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | $SED '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $debug_cmd # The first argument is the command name. cmd=$nonopt test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "'$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "'$file' was not linked with '-export-dynamic'" continue fi func_dirname "$file" "" "." dir=$func_dirname_result if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir=$func_dirname_result ;; *) func_warning "'-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir=$absdir # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic=$magic # Check if any of the arguments is a wrapper script. args= for file do case $file in -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file=$progdir/$program elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file=$progdir/$program fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if $opt_dry_run; then # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS else if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd=\$cmd$args fi } test execute = "$opt_mode" && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $debug_cmd libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "'$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument '$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and '=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_quiet && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the '-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the '$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the '$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the '$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test finish = "$opt_mode" && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $debug_cmd # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || # Allow the use of GNU shtool's install command. case $nonopt in *shtool*) :;; *) false;; esac then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=false stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=: ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test X-m = "X$prev" && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the '$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=: if $isdir; then destdir=$dest destname= else func_dirname_and_basename "$dest" "" "." destdir=$func_dirname_result destname=$func_basename_result # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "'$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "'$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir=$func_dirname_result func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking '$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname=$1 shift srcname=$realname test -n "$relink_command" && srcname=${realname}T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme=$stripme case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme= ;; esac ;; os2*) case $realname in *_dll.a) tstripme= ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try 'ln -sf' first, because the 'ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib=$destdir/$realname func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name=$func_basename_result instname=$dir/${name}i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest=$destfile destfile= ;; *) func_fatal_help "cannot copy a libtool object to '$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test yes = "$build_old_libs"; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext= case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=.exe fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script '$wrapper'" finalize=: for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` if test -n "$libdir" && test ! -f "$libfile"; then func_warning "'$lib' has not been installed in '$libdir'" finalize=false fi done relink_command= func_source "$wrapper" outputname= if test no = "$fast_install" && test -n "$relink_command"; then $opt_dry_run || { if $finalize; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file=$func_basename_result outputname=$tmpdir/$file # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_quiet || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink '$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file=$outputname else func_warning "cannot relink '$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name=$func_basename_result # Set up the ranlib parameters. oldlib=$destdir/$name func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run '$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test install = "$opt_mode" && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $debug_cmd my_outputname=$1 my_originator=$2 my_pic_p=${3-false} my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms=${my_outputname}S.c else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist=$output_objdir/$my_outputname.nm func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* External symbol declarations for the compiler. */\ " if test yes = "$dlself"; then func_verbose "generating symbol list for '$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from '$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols=$output_objdir/$outputname.exp $opt_dry_run || { $RM $export_symbols eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from '$dlprefile'" func_basename "$dlprefile" name=$func_basename_result case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename= if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname"; then func_basename "$dlprefile_dlname" dlprefile_dlbasename=$func_basename_result else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename"; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi func_show_eval '$RM "${nlist}I"' if test -n "$global_symbol_to_import"; then eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[];\ " if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ static void lt_syminit(void) { LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; for (; symbol->name; ++symbol) {" $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" echo >> "$output_objdir/$my_dlsyms" "\ } }" fi echo >> "$output_objdir/$my_dlsyms" "\ LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = { {\"$my_originator\", (void *) 0}," if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ {\"@INIT@\", (void *) <_syminit}," fi case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) $my_pic_p && pic_flag_for_symtable=" $pic_flag" ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' # Transform the symbol file into the correct name. symfileobj=$output_objdir/${my_outputname}S.$objext case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for '$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $debug_cmd win32_libid_type=unknown win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || func_cygming_gnu_implib_p "$1" then win32_nmres=import else win32_nmres= fi ;; *) func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s|.*|import| p q } }'` ;; esac case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $debug_cmd sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $debug_cmd match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive that possess that section. Heuristic: eliminate # all those that have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $debug_cmd if func_cygming_gnu_implib_p "$1"; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1"; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result= fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $debug_cmd f_ex_an_ar_dir=$1; shift f_ex_an_ar_oldlib=$1 if test yes = "$lock_old_archive_extraction"; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test yes = "$lock_old_archive_extraction"; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $debug_cmd my_gentop=$1; shift my_oldlibs=${1+"$@"} my_oldobjs= my_xlib= my_xabs= my_xdir= for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib=$func_basename_result my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir=$my_gentop/$my_xlib_u func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` func_basename "$darwin_archive" darwin_base_archive=$func_basename_result darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches; do func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" cd "unfat-$$/$darwin_base_archive-$darwin_arch" func_extract_an_archive "`pwd`" "$darwin_base_archive" cd "$darwin_curdir" $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result=$my_oldobjs } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory where it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ that is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options that match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test yes = "$fast_install"; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else \$ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* declarations of non-ANSI functions */ #if defined __MINGW32__ # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined __CYGWIN__ # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined other_platform || defined ... */ #endif /* portability defines, excluding path handling macros */ #if defined _MSC_VER # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC #elif defined __MINGW32__ # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined __CYGWIN__ # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined other platforms ... */ #endif #if defined PATH_MAX # define LT_PATHMAX PATH_MAX #elif defined MAXPATHLEN # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ defined __OS2__ # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free (stale); stale = 0; } \ } while (0) #if defined LT_DEBUGWRAPPER static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; size_t tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined HAVE_DOS_BASED_FILE_SYSTEM if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined HAVE_DOS_BASED_FILE_SYSTEM } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = (size_t) (q - p); p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (STREQ (str, pat)) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else size_t len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { size_t orig_value_len = strlen (orig_value); size_t add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ size_t len = strlen (new_value); while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[--len] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $debug_cmd case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_suncc_cstd_abi # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! # Several compiler flags select an ABI that is incompatible with the # Cstd library. Avoid specifying it if any are in CXXFLAGS. func_suncc_cstd_abi () { $debug_cmd case " $compile_command " in *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) suncc_use_cstd_abi=no ;; *) suncc_use_cstd_abi=yes ;; esac } # func_mode_link arg... func_mode_link () { $debug_cmd case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # what system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll that has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= os2dllname= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=false prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module=$wl-single_module func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test yes != "$build_libtool_libs" \ && func_fatal_configuration "cannot build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg=$1 shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir=$arg prev= continue ;; dlfiles|dlprefiles) $preload || { # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=: } case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test no = "$dlself"; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test dlprefiles = "$prev"; then dlself=yes elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test dlfiles = "$prev"; then func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols=$arg test -f "$arg" \ || func_fatal_error "symbol file '$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex=$arg prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir=$arg prev= continue ;; mllvm) # Clang does not use LLVM to link, so we can simply discard any # '-mllvm $arg' options when doing the link step. prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result if test none != "$pic_object"; then # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object fi # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file '$arg' does not exist" fi arg=$save_arg prev= continue ;; os2dllname) os2dllname=$arg prev= continue ;; precious_regex) precious_files_regex=$arg prev= continue ;; release) release=-$arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test rpath = "$prev"; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds=$arg prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg=$arg case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "'-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test X-export-symbols = "X$arg"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between '-L' and '$1'" else func_fatal_error "need path for '-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of '$dir'" dir=$absdir ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test X-lc = "X$arg" || test X-lm = "X$arg"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test X-lc = "X$arg" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test X-lc = "X$arg" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test X-lc = "X$arg" && continue ;; esac elif test X-lc_r = "X$arg"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -mllvm) prev=mllvm continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module=$wl-multi_module continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "'-no-install' is ignored for $host" func_warning "assuming '-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -os2dllname) prev=os2dllname continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # -fstack-protector* stack protector flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -specs=*|-fsanitize=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; -Z*) if test os2 = "`expr $host : '.*\(os2\)'`"; then # OS/2 uses -Zxxx to specify OS/2-specific options compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case $arg in -Zlinker | -Zstack) prev=xcompiler ;; esac continue else # Otherwise treat like 'Some other compiler flag' below func_quote_for_eval "$arg" arg=$func_quote_for_eval_result fi ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result test none = "$pic_object" || { # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object } # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test dlfiles = "$prev"; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test dlprefiles = "$prev"; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the '$prevarg' option requires an argument" if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname=$func_basename_result libobjs_save=$libobjs if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" # Definition is injected by LT_CONFIG during libtool generation. func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" func_dirname "$output" "/" "" output_objdir=$func_dirname_result$objdir func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_preserve_dup_deps; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test lib = "$linkmode"; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=false newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test lib,link = "$linkmode,$pass"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs=$tmp_deplibs fi if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass"; then libs=$deplibs deplibs= fi if test prog = "$linkmode"; then case $pass in dlopen) libs=$dlfiles ;; dlpreopen) libs=$dlprefiles ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test lib,dlpreopen = "$linkmode,$pass"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs=$dlprefiles fi if test dlopen = "$pass"; then # Collect dlpreopened libraries save_deplibs=$deplibs deplibs= fi for deplib in $libs; do lib= found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test lib != "$linkmode" && test prog != "$linkmode"; then func_warning "'-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test lib = "$linkmode"; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib=$searchdir/lib$name$search_ext if test -f "$lib"; then if test .la = "$search_ext"; then found=: else found=false fi break 2 fi done done if $found; then # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll=$l done if test "X$ll" = "X$old_library"; then # only static version available found=false func_dirname "$lib" "" "." ladir=$func_dirname_result lib=$ladir/$old_library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi else # deplib doesn't seem to be a libtool library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi ;; # -l *.ltframework) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test conv = "$pass" && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi if test scan = "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "'-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test link = "$pass"; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=false case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=: fi ;; pass_all) valid_a_lib=: ;; esac if $valid_a_lib; then echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" else echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." fi ;; esac continue ;; prog) if test link != "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test conv = "$pass"; then deplibs="$deplib $deplibs" elif test prog = "$linkmode"; then if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=: continue ;; esac # case $deplib $found || test -f "$lib" \ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "'$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir=$func_dirname_result dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass" || { test prog != "$linkmode" && test lib != "$linkmode"; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test conv = "$pass"; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for '$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done elif test prog != "$linkmode" && test lib != "$linkmode"; then func_fatal_error "'$lib' is not a convenience library" fi continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test yes = "$prefer_static_libs" || test built,no = "$prefer_static_libs,$installed"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib=$l done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for '$lib'" fi # This library was specified with -dlopen. if test dlopen = "$pass"; then test -z "$libdir" \ && func_fatal_error "cannot -dlopen a convenience library: '$lib'" if test -z "$dlname" || test yes != "$dlopen_support" || test no = "$build_libtool_libs" then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append newdlfiles " $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of '$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir=$ladir fi ;; esac func_basename "$lib" laname=$func_basename_result # Find the relevant object directory and library name. if test yes = "$installed"; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library '$lib' was moved." dir=$ladir absdir=$abs_ladir libdir=$abs_ladir else dir=$lt_sysroot$libdir absdir=$lt_sysroot$libdir fi test yes = "$hardcode_automatic" && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir=$ladir absdir=$abs_ladir # Remove this search path later func_append notinst_path " $abs_ladir" else dir=$ladir/$objdir absdir=$abs_ladir/$objdir # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test dlpreopen = "$pass"; then if test -z "$libdir" && test prog = "$linkmode"; then func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" fi case $host in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test lib = "$linkmode"; then deplibs="$dir/$old_library $deplibs" elif test prog,link = "$linkmode,$pass"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test prog = "$linkmode" && test link != "$pass"; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=false if test no != "$link_all_deplibs" || test -z "$library_names" || test no = "$build_libtool_libs"; then linkalldeplibs=: fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if $linkalldeplibs; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test prog,link = "$linkmode,$pass"; then if test -n "$library_names" && { { test no = "$prefer_static_libs" || test built,yes = "$prefer_static_libs,$installed"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then # Make sure the rpath contains only unique directories. case $temp_rpath: in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi # $linkmode,$pass = prog,link... if $alldeplibs && { test pass_all = "$deplibs_check_method" || { test yes = "$build_libtool_libs" && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test built = "$use_static_libs" && test yes = "$installed"; then use_static_libs=no fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc* | *os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test no = "$installed"; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule= for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule=$dlpremoduletest break fi done if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test lib = "$linkmode" && test yes = "$hardcode_into_libs"; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname=$1 shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname=$dlname elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc* | *os2*) func_arith $current - $age major=$func_arith_result versuffix=-$major ;; esac eval soname=\"$soname_spec\" else soname=$realname fi # Make a new name for the extract_expsyms_cmds to use soroot=$soname func_basename "$soroot" soname=$func_basename_result func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from '$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for '$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test prog = "$linkmode" || test relink != "$opt_mode"; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test no = "$hardcode_direct"; then add=$dir/$linklib case $host in *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; *-*-sysv4*uw2*) add_dir=-L$dir ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir=-L$dir ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we cannot # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library"; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add=$dir/$old_library fi elif test -n "$old_library"; then add=$dir/$old_library fi fi esac elif test no = "$hardcode_minus_L"; then case $host in *-*-sunos*) add_shlibpath=$dir ;; esac add_dir=-L$dir add=-l$name elif test no = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; relink) if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$dir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$absdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name elif test yes = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; *) lib_linked=no ;; esac if test yes != "$lib_linked"; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test prog = "$linkmode"; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test yes != "$hardcode_direct" && test yes != "$hardcode_minus_L" && test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test prog = "$linkmode" || test relink = "$opt_mode"; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add=-l$name elif test yes = "$hardcode_automatic"; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib"; then add=$inst_prefix_dir$libdir/$linklib else add=$libdir/$linklib fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir=-L$libdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name fi if test prog = "$linkmode"; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test prog = "$linkmode"; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test unsupported != "$hardcode_direct"; then test -n "$old_library" && linklib=$old_library compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test yes = "$build_libtool_libs"; then # Not a shared library if test pass_all != "$deplibs_check_method"; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system cannot link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test yes = "$module"; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test lib = "$linkmode"; then if test -n "$dependency_libs" && { test yes != "$hardcode_into_libs" || test yes = "$build_old_libs" || test yes = "$link_static"; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs=$temp_deplibs fi func_append newlib_search_path " $absdir" # Link against this library test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test no != "$link_all_deplibs"; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path=$deplib ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of '$dir'" absdir=$dir fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names"; then for tmp in $deplibrary_names; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl"; then depdepl=$absdir/$objdir/$depdepl darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" path= fi fi ;; *) path=-L$absdir/$objdir ;; esac else eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "'$deplib' seems to be moved" path=-L$absdir fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test link = "$pass"; then if test prog = "$linkmode"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs=$newdependency_libs if test dlpreopen = "$pass"; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test dlopen != "$pass"; then test conv = "$pass" || { # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= } if test prog,link = "$linkmode,$pass"; then vars="compile_deplibs finalize_deplibs" else vars=deplibs fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Add Sun CC postdeps if required: test CXX = "$tagname" && { case $host_os in linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; solaris*) func_cc_basename "$CC" case $func_cc_basename_result in CC* | sunCC*) func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; esac } # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i= ;; esac if test -n "$i"; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test prog = "$linkmode"; then dlfiles=$newdlfiles fi if test prog = "$linkmode" || test lib = "$linkmode"; then dlprefiles=$newdlprefiles fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "'-R' is ignored for archives" test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "'-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "'-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs=$output func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form 'libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test no = "$module" \ && func_fatal_help "libtool library '$output' must begin with 'lib'" if test no != "$need_lib_prefix"; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test pass_all != "$deplibs_check_method"; then func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test no = "$dlself" \ || func_warning "'-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test 1 -lt "$#" \ && func_warning "ignoring multiple '-rpath's for a libtool library" install_libdir=$1 oldlibs= if test -z "$rpath"; then if test yes = "$build_libtool_libs"; then # Building a libtool convenience library. # Some compilers have problems with a '.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "'-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs=$IFS; IFS=: set dummy $vinfo 0 0 0 shift IFS=$save_ifs test -n "$7" && \ func_fatal_help "too many parameters to '-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major=$1 number_minor=$2 number_revision=$3 # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # that has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|freebsd-elf|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; freebsd-aout|qnx|sunos) current=$number_major revision=$number_minor age=0 ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_minor lt_irix_increment=no ;; *) func_fatal_configuration "$modename: unknown library version type '$version_type'" ;; esac ;; no) current=$1 revision=$2 age=$3 ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT '$current' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION '$revision' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE '$age' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE '$age' is greater than the current interface number '$current'" func_fatal_error "'$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" # On Darwin other compilers case $CC in nagfor*) verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" ;; *) verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; esac ;; freebsd-aout) major=.$current versuffix=.$current.$revision ;; freebsd-elf) func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; irix | nonstopux) if test no = "$lt_irix_increment"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring=$verstring_prefix$major.$revision # Add in all the interfaces that we are compatible with. loop=$revision while test 0 -ne "$loop"; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring_prefix$major.$iface:$verstring done # Before this point, $major must not contain '.'. major=.$major versuffix=$major.$revision ;; linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=.$current.$age.$revision verstring=$current.$age.$revision # Add in all the interfaces that we are compatible with. loop=$age while test 0 -ne "$loop"; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring:$iface.0 done # Make executables depend on our current version. func_append verstring ":$current.0" ;; qnx) major=.$current versuffix=.$current ;; sco) major=.$current versuffix=.$current ;; sunos) major=.$current versuffix=.$current.$revision ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 file systems. func_arith $current - $age major=$func_arith_result versuffix=-$major ;; *) func_fatal_configuration "unknown library version type '$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring=0.0 ;; esac if test no = "$need_version"; then versuffix= else versuffix=.0.0 fi fi # Remove version info from name if versioning should be avoided if test yes,no = "$avoid_version,$need_version"; then major= versuffix= verstring= fi # Check to see if the archive will have undefined symbols. if test yes = "$allow_undefined"; then if test unsupported = "$allow_undefined_flag"; then if test yes = "$build_old_libs"; then func_warning "undefined symbols not allowed in $host shared libraries; building static only" build_libtool_libs=no else func_fatal_error "can't build $host shared library unless -no-undefined is specified" fi fi else # Don't allow undefined symbols. allow_undefined_flag=$no_undefined_flag fi fi func_generate_dlsyms "$libname" "$libname" : func_append libobjs " $symfileobj" test " " = "$libobjs" && libobjs= if test relink != "$opt_mode"; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) if test -n "$precious_files_regex"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles=$dlfiles dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) func_append dlfiles " $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles=$dlprefiles dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test yes = "$build_libtool_libs"; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test yes = "$build_libtool_need_lc"; then func_append deplibs " -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release= versuffix= major= newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib=$potent_lib while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | $SED 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib= ;; esac fi if test -n "$a_deplib"; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib=$potent_lib # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs= tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test yes = "$allow_libtool_libs_with_static_runtimes"; then for i in $predeps $postdeps; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test none = "$deplibs_check_method"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test yes = "$droppeddeps"; then if test yes = "$module"; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test no = "$allow_undefined"; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs=$new_libs # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test yes = "$build_libtool_libs"; then # Remove $wl instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test yes = "$hardcode_into_libs"; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath=$finalize_rpath test relink = "$opt_mode" || rpath=$compile_rpath$rpath for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath=$finalize_shlibpath test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname=$1 shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname=$realname fi if test -z "$dlname"; then dlname=$soname fi lib=$output_objdir/$realname linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols=$output_objdir/$libname.uexp func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile func_dll_def_p "$export_symbols" || { # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols=$export_symbols export_symbols= always_export_symbols=yes } fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs=$IFS; IFS='~' for cmd1 in $cmds; do IFS=$save_ifs # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test yes = "$try_normal_branch" \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=$output_objdir/$output_la.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS=$save_ifs if test -n "$export_symbols_regex" && test : != "$skipped_export"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test : != "$skipped_export" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs=$tmp_deplibs if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test yes = "$compiler_needs_object" && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test : != "$skipped_export" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then output=$output_objdir/$output_la.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then output=$output_objdir/$output_la.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test yes = "$compiler_needs_object"; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-$k.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test -z "$objlist" || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test 1 -eq "$k"; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-$k.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-$k.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi ${skipped_export-false} && { func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi } test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs=$IFS; IFS='~' for cmd in $concat_cmds; do IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi ${skipped_export-false} && { if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi } libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs=$IFS; IFS='~' for cmd in $cmds; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs # Restore the uninstalled library and exit if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test yes = "$module" || test yes = "$export_dynamic"; then # On all known operating systems, these are identical. dlname=$soname fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "'-R' is ignored for objects" test -n "$vinfo" && \ func_warning "'-version-info' is ignored for objects" test -n "$release" && \ func_warning "'-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object '$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj=$output ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # if reload_cmds runs $LD directly, get rid of -Wl from # whole_archive_flag_spec and hope we can get by with turning comma # into space. case $reload_cmds in *\$LD[\ \$]*) wl= ;; esac if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags else gentop=$output_objdir/${obj}x func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test yes = "$build_libtool_libs" || libobjs=$non_pic_objects # Create the old-style object. reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs output=$obj func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi test yes = "$build_libtool_libs" || { if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS } if test -n "$pic_flag" || test default != "$pic_mode"; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output=$libobj func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "'-version-info' is ignored for programs" test -n "$release" && \ func_warning "'-release' is ignored for programs" $preload \ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test CXX = "$tagname"; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " $wl-bind_at_load" func_append finalize_command " $wl-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs=$new_libs func_append compile_command " $compile_deplibs" func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath=$rpath rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append finalize_perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath=$rpath if test -n "$libobjs" && test yes = "$build_old_libs"; then # Transform all the library objects into standard objects. compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" false # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=: case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=false ;; *cygwin* | *mingw* ) test yes = "$build_libtool_libs" || wrappers_required=false ;; *) if test no = "$need_relink" || test yes != "$build_libtool_libs"; then wrappers_required=false fi ;; esac $wrappers_required || { # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command=$compile_command$compile_rpath # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.$objext"; then func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' fi exit $exit_status } if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test yes = "$no_install"; then # We don't need to create a wrapper script. link_command=$compile_var$compile_command$compile_rpath # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS fi case $hardcode_action,$fast_install in relink,*) # Fast installation is not supported link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath func_warning "this platform does not like uninstalled shared libraries" func_warning "'$output' will be relinked during installation" ;; *,yes) link_command=$finalize_var$compile_command$finalize_rpath relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` ;; *,no) link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath ;; *,needless) link_command=$finalize_var$compile_command$finalize_rpath relink_command= ;; esac # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource=$output_path/$objdir/lt-$output_name.c cwrapper=$output_path/$output_name.exe $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host"; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do case $build_libtool_libs in convenience) oldobjs="$libobjs_save $symfileobj" addlibs=$convenience build_libtool_libs=no ;; module) oldobjs=$libobjs_save addlibs=$old_convenience build_libtool_libs=no ;; *) oldobjs="$old_deplibs $non_pic_objects" $preload && test -f "$symfileobj" \ && func_append oldobjs " $symfileobj" addlibs=$old_convenience ;; esac if test -n "$addlibs"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase=$func_basename_result case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj"; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test -z "$oldobjs"; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test yes = "$build_old_libs" && old_library=$libname.$libext func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test yes = "$hardcode_automatic"; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test yes = "$installed"; then if test -z "$install_libdir"; then break fi output=$output_objdir/${outputname}i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name=$func_basename_result func_resolve_sysroot "$deplib" eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs=$newdependency_libs newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles=$newdlprefiles else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles=$newdlprefiles fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test -n "$bindir"; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result/$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that cannot go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test no,yes = "$installed,$need_relink"; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } if test link = "$opt_mode" || test relink = "$opt_mode"; then func_mode_link ${1+"$@"} fi # func_mode_uninstall arg... func_mode_uninstall () { $debug_cmd RM=$nonopt files= rmforce=false exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic for arg do case $arg in -f) func_append RM " $arg"; rmforce=: ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir=$func_dirname_result if test . = "$dir"; then odir=$objdir else odir=$dir/$objdir fi func_basename "$file" name=$func_basename_result test uninstall = "$opt_mode" && odir=$dir # Remember odir for removal later, being careful to avoid duplicates if test clean = "$opt_mode"; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif $rmforce; then continue fi rmfiles=$file case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case $opt_mode in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test none != "$pic_object"; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test none != "$non_pic_object"; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test clean = "$opt_mode"; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.$objext" if test yes = "$fast_install" && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name"; then func_append rmfiles " $odir/lt-$noexename.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done # Try to remove the $objdir's in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then func_mode_uninstall ${1+"$@"} fi test -z "$opt_mode" && { help=$generic_help func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode '$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # where we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: libgd-2.3.0/config/ar-lib0000755000175000017500000001330213634445513012066 00000000000000#! /bin/sh # Wrapper for Microsoft lib.exe me=ar-lib scriptversion=2012-03-01.08; # UTC # Copyright (C) 2010-2017 Free Software Foundation, Inc. # Written by Peter Rosin . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . # func_error message func_error () { echo "$me: $1" 1>&2 exit 1 } file_conv= # func_file_conv build_file # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv in mingw) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin) file=`cygpath -m "$file" || echo "$file"` ;; wine) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_at_file at_file operation archive # Iterate over all members in AT_FILE performing OPERATION on ARCHIVE # for each of them. # When interpreting the content of the @FILE, do NOT use func_file_conv, # since the user would need to supply preconverted file names to # binutils ar, at least for MinGW. func_at_file () { operation=$2 archive=$3 at_file_contents=`cat "$1"` eval set x "$at_file_contents" shift for member do $AR -NOLOGO $operation:"$member" "$archive" || exit $? done } case $1 in '') func_error "no command. Try '$0 --help' for more information." ;; -h | --h*) cat <. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # Please send patches to . me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Options: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > "$dummy.c" ; for c in cc gcc c89 c99 ; do if ($c -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "$UNAME_SYSTEM" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval "$set_cc_for_build" cat <<-EOF > "$dummy.c" #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" # If ldd exists, use it to detect musl libc. if command -v ldd >/dev/null && \ ldd --version 2>&1 | grep -q ^musl then LIBC=musl fi ;; esac # Note: order is significant - the case branches are not exclusive. case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ "/sbin/$sysctl" 2>/dev/null || \ "/usr/sbin/$sysctl" 2>/dev/null || \ echo unknown)` case "$UNAME_MACHINE_ARCH" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` machine="${arch}${endian}"-unknown ;; *) machine="$UNAME_MACHINE_ARCH"-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently (or will in the future) and ABI. case "$UNAME_MACHINE_ARCH" in earm*) os=netbsdelf ;; arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval "$set_cc_for_build" if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # Determine ABI tags. case "$UNAME_MACHINE_ARCH" in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "$UNAME_VERSION" in Debian*) release='-gnu' ;; *) release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "$machine-${os}${release}${abi}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" exit ;; *:LibertyBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" exit ;; *:MidnightBSD:*:*) echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" exit ;; *:ekkoBSD:*:*) echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" exit ;; *:SolidBSD:*:*) echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd"$UNAME_RELEASE" exit ;; *:MirBSD:*:*) echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" exit ;; *:Sortix:*:*) echo "$UNAME_MACHINE"-unknown-sortix exit ;; *:Redox:*:*) echo "$UNAME_MACHINE"-unknown-redox exit ;; mips:OSF1:*.*) echo mips-dec-osf1 exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE=alpha ;; "EV4.5 (21064)") UNAME_MACHINE=alpha ;; "LCA4 (21066/21068)") UNAME_MACHINE=alpha ;; "EV5 (21164)") UNAME_MACHINE=alphaev5 ;; "EV5.6 (21164A)") UNAME_MACHINE=alphaev56 ;; "EV5.6 (21164PC)") UNAME_MACHINE=alphapca56 ;; "EV5.7 (21164PC)") UNAME_MACHINE=alphapca57 ;; "EV6 (21264)") UNAME_MACHINE=alphaev6 ;; "EV6.7 (21264A)") UNAME_MACHINE=alphaev67 ;; "EV6.8CB (21264C)") UNAME_MACHINE=alphaev68 ;; "EV6.8AL (21264B)") UNAME_MACHINE=alphaev68 ;; "EV6.8CX (21264D)") UNAME_MACHINE=alphaev68 ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE=alphaev69 ;; "EV7 (21364)") UNAME_MACHINE=alphaev7 ;; "EV7.9 (21364A)") UNAME_MACHINE=alphaev79 ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo "$UNAME_MACHINE"-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo "$UNAME_MACHINE"-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix"$UNAME_RELEASE" exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux"$UNAME_RELEASE" exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval "$set_cc_for_build" SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi echo "$SUN_ARCH"-pc-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos"$UNAME_RELEASE" exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos"$UNAME_RELEASE" ;; sun4) echo sparc-sun-sunos"$UNAME_RELEASE" ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos"$UNAME_RELEASE" exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint"$UNAME_RELEASE" exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint"$UNAME_RELEASE" exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint"$UNAME_RELEASE" exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint"$UNAME_RELEASE" exit ;; m68k:machten:*:*) echo m68k-apple-machten"$UNAME_RELEASE" exit ;; powerpc:machten:*:*) echo powerpc-apple-machten"$UNAME_RELEASE" exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix"$UNAME_RELEASE" exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix"$UNAME_RELEASE" exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix"$UNAME_RELEASE" exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`"$dummy" "$dummyarg"` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos"$UNAME_RELEASE" exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] then if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ [ "$TARGET_BINARY_INTERFACE"x = x ] then echo m88k-dg-dgux"$UNAME_RELEASE" else echo m88k-dg-dguxbcs"$UNAME_RELEASE" fi else echo i586-dg-dgux"$UNAME_RELEASE" fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" fi echo "$IBM_ARCH"-ibm-aix"$IBM_REV" exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` case "$UNAME_MACHINE" in 9000/31?) HP_ARCH=m68000 ;; 9000/[34]??) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "$sc_cpu_version" in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "$sc_kernel_bits" in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi if [ "$HP_ARCH" = "" ]; then eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ "$HP_ARCH" = hppa2.0w ] then eval "$set_cc_for_build" # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH=hppa2.0w else HP_ARCH=hppa64 fi fi echo "$HP_ARCH"-hp-hpux"$HPUX_REV" exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux"$HPUX_REV" exit ;; 3050*:HI-UX:*:*) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo "$UNAME_MACHINE"-unknown-osf1mk else echo "$UNAME_MACHINE"-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi"$UNAME_RELEASE" exit ;; *:BSD/OS:*:*) echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case "$UNAME_PROCESSOR" in amd64) UNAME_PROCESSOR=x86_64 ;; i386) UNAME_PROCESSOR=i586 ;; esac echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" exit ;; i*:CYGWIN*:*) echo "$UNAME_MACHINE"-pc-cygwin exit ;; *:MINGW64*:*) echo "$UNAME_MACHINE"-pc-mingw64 exit ;; *:MINGW*:*) echo "$UNAME_MACHINE"-pc-mingw32 exit ;; *:MSYS*:*) echo "$UNAME_MACHINE"-pc-msys exit ;; i*:PW*:*) echo "$UNAME_MACHINE"-pc-pw32 exit ;; *:Interix*:*) case "$UNAME_MACHINE" in x86) echo i586-pc-interix"$UNAME_RELEASE" exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix"$UNAME_RELEASE" exit ;; IA64) echo ia64-unknown-interix"$UNAME_RELEASE" exit ;; esac ;; i*:UWIN*:*) echo "$UNAME_MACHINE"-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" exit ;; *:GNU:*:*) # the GNU system echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" exit ;; i*86:Minix:*:*) echo "$UNAME_MACHINE"-pc-minix exit ;; aarch64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC=gnulibc1 ; fi echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; arm*:Linux:*:*) eval "$set_cc_for_build" if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi else echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf fi fi exit ;; avr32*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; cris:Linux:*:*) echo "$UNAME_MACHINE"-axis-linux-"$LIBC" exit ;; crisv32:Linux:*:*) echo "$UNAME_MACHINE"-axis-linux-"$LIBC" exit ;; e2k:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; frv:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; hexagon:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; i*86:Linux:*:*) echo "$UNAME_MACHINE"-pc-linux-"$LIBC" exit ;; ia64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; k1om:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; m32r*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; m68*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval "$set_cc_for_build" sed 's/^ //' << EOF > "$dummy.c" #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } ;; mips64el:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-"$LIBC" exit ;; or32:Linux:*:* | or1k*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; padre:Linux:*:*) echo sparc-unknown-linux-"$LIBC" exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-"$LIBC" exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; *) echo hppa-unknown-linux-"$LIBC" ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-"$LIBC" exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-"$LIBC" exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-"$LIBC" exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-"$LIBC" exit ;; riscv32:Linux:*:* | riscv64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" exit ;; sh64*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; sh*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; tile*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; vax:Linux:*:*) echo "$UNAME_MACHINE"-dec-linux-"$LIBC" exit ;; x86_64:Linux:*:*) if objdump -f /bin/sh | grep -q elf32-x86-64; then echo "$UNAME_MACHINE"-pc-linux-"$LIBC"x32 else echo "$UNAME_MACHINE"-pc-linux-"$LIBC" fi exit ;; xtensa*:Linux:*:*) echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo "$UNAME_MACHINE"-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo "$UNAME_MACHINE"-unknown-stop exit ;; i*86:atheos:*:*) echo "$UNAME_MACHINE"-unknown-atheos exit ;; i*86:syllable:*:*) echo "$UNAME_MACHINE"-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos"$UNAME_RELEASE" exit ;; i*86:*DOS:*:*) echo "$UNAME_MACHINE"-pc-msdosdjgpp exit ;; i*86:*:4.*:*) UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" else echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" else echo "$UNAME_MACHINE"-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos"$UNAME_RELEASE" exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos"$UNAME_RELEASE" exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos"$UNAME_RELEASE" exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos"$UNAME_RELEASE" exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv"$UNAME_RELEASE" exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo "$UNAME_MACHINE"-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo "$UNAME_MACHINE"-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux"$UNAME_RELEASE" exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv"$UNAME_RELEASE" else echo mips-unknown-sysv"$UNAME_RELEASE" fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux"$UNAME_RELEASE" exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux"$UNAME_RELEASE" exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux"$UNAME_RELEASE" exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux"$UNAME_RELEASE" exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux"$UNAME_RELEASE" exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux"$UNAME_RELEASE" exit ;; SX-ACE:SUPER-UX:*:*) echo sxace-nec-superux"$UNAME_RELEASE" exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody"$UNAME_RELEASE" exit ;; *:Rhapsody:*:*) echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval "$set_cc_for_build" if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_PPC >/dev/null then UNAME_PROCESSOR=powerpc fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = x86; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-*:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk"$UNAME_RELEASE" exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk"$UNAME_RELEASE" exit ;; NSR-*:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk"$UNAME_RELEASE" exit ;; NSV-*:NONSTOP_KERNEL:*:*) echo nsv-tandem-nsk"$UNAME_RELEASE" exit ;; NSX-*:NONSTOP_KERNEL:*:*) echo nsx-tandem-nsk"$UNAME_RELEASE" exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = 386; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo "$UNAME_MACHINE"-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux"$UNAME_RELEASE" exit ;; *:DragonFly:*:*) echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "$UNAME_MACHINE" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" exit ;; i*86:rdos:*:*) echo "$UNAME_MACHINE"-pc-rdos exit ;; i*86:AROS:*:*) echo "$UNAME_MACHINE"-pc-aros exit ;; x86_64:VMkernel:*:*) echo "$UNAME_MACHINE"-unknown-esx exit ;; amd64:Isilon\ OneFS:*:*) echo x86_64-unknown-onefs exit ;; esac echo "$0: unable to guess system type" >&2 case "$UNAME_MACHINE:$UNAME_SYSTEM" in mips:Linux | mips64:Linux) # If we got here on MIPS GNU/Linux, output extra information. cat >&2 <&2 </dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = "$UNAME_MACHINE" UNAME_RELEASE = "$UNAME_RELEASE" UNAME_SYSTEM = "$UNAME_SYSTEM" UNAME_VERSION = "$UNAME_VERSION" EOF exit 1 # Local variables: # eval: (add-hook 'write-file-functions 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: libgd-2.3.0/config/Makefile.in0000664000175000017500000003671013635665557013066 00000000000000# Makefile.in generated by automake 1.15.1 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2017 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = config ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_append_flag.m4 \ $(top_srcdir)/m4/ax_cflags_warn_all.m4 \ $(top_srcdir)/m4/ax_openmp.m4 $(top_srcdir)/m4/ax_pthread.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/visibility.m4 \ $(top_srcdir)/m4/w32.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/src/config.h CONFIG_CLEAN_FILES = gdlib.pc CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkgconfigdir)" DATA = $(pkgconfig_DATA) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/gdlib.pc.in ar-lib \ compile config.guess config.rpath config.sub depcomp \ install-sh ltmain.sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GDLIB_LT_AGE = @GDLIB_LT_AGE@ GDLIB_LT_CURRENT = @GDLIB_LT_CURRENT@ GDLIB_LT_REVISION = @GDLIB_LT_REVISION@ GREP = @GREP@ HAVE_VISIBILITY = @HAVE_VISIBILITY@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBFONTCONFIG_CFLAGS = @LIBFONTCONFIG_CFLAGS@ LIBFONTCONFIG_LIBS = @LIBFONTCONFIG_LIBS@ LIBFREETYPE_CFLAGS = @LIBFREETYPE_CFLAGS@ LIBFREETYPE_LIBS = @LIBFREETYPE_LIBS@ LIBICONV = @LIBICONV@ LIBJPEG_CFLAGS = @LIBJPEG_CFLAGS@ LIBJPEG_LIBS = @LIBJPEG_LIBS@ LIBOBJS = @LIBOBJS@ LIBPNG_CFLAGS = @LIBPNG_CFLAGS@ LIBPNG_LIBS = @LIBPNG_LIBS@ LIBRAQM_CFLAGS = @LIBRAQM_CFLAGS@ LIBRAQM_LIBS = @LIBRAQM_LIBS@ LIBS = @LIBS@ LIBTIFF_CFLAGS = @LIBTIFF_CFLAGS@ LIBTIFF_LIBS = @LIBTIFF_LIBS@ LIBTOOL = @LIBTOOL@ LIBXPM_CFLAGS = @LIBXPM_CFLAGS@ LIBXPM_LIBS = @LIBXPM_LIBS@ LIBZ_CFLAGS = @LIBZ_CFLAGS@ LIBZ_LIBS = @LIBZ_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBICONV = @LTLIBICONV@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PTHREAD_CC = @PTHREAD_CC@ PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ PTHREAD_LIBS = @PTHREAD_LIBS@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ XMKMF = @XMKMF@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ ax_pthread_config = @ax_pthread_config@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = gdlib.pc.cmake gdlib.pc.in getver.pl pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gdlib.pc all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign config/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign config/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): gdlib.pc: $(top_builddir)/config.status $(srcdir)/gdlib.pc.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) tags TAGS: ctags CTAGS: cscope cscopelist: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-pkgconfigDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkgconfigDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ cscopelist-am ctags-am distclean distclean-generic \ distclean-libtool distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags-am uninstall uninstall-am \ uninstall-pkgconfigDATA .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libgd-2.3.0/config/depcomp0000755000175000017500000005601713634445513012361 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2016-01-11.22; # UTC # Copyright (C) 1999-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC0" # time-stamp-end: "; # UTC" # End: libgd-2.3.0/configure0000775000175000017500000215744513635665557011476 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for GD 2.3.0. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: https://github.com/libgd/libgd/issues about your $0: system, including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='GD' PACKAGE_TARNAME='libgd' PACKAGE_VERSION='2.3.0' PACKAGE_STRING='GD 2.3.0' PACKAGE_BUGREPORT='https://github.com/libgd/libgd/issues' PACKAGE_URL='http://lib.gd' ac_unique_file="src/gd.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_header_list= ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS HAVE_VISIBILITY CFLAG_VISIBILITY HAVE_LIBWEBP_FALSE HAVE_LIBWEBP_TRUE HAVE_LIBTIFF_FALSE HAVE_LIBTIFF_TRUE LIBTIFF_LIBS LIBTIFF_CFLAGS HAVE_LIBXPM_FALSE HAVE_LIBXPM_TRUE LIBXPM_LIBS LIBXPM_CFLAGS HAVE_LIBIMAGEQUANT_FALSE HAVE_LIBIMAGEQUANT_TRUE HAVE_LIBJPEG_FALSE HAVE_LIBJPEG_TRUE LIBJPEG_LIBS LIBJPEG_CFLAGS HAVE_LIBFONTCONFIG_FALSE HAVE_LIBFONTCONFIG_TRUE LIBFONTCONFIG_LIBS LIBFONTCONFIG_CFLAGS HAVE_LIBRAQM_FALSE HAVE_LIBRAQM_TRUE LIBRAQM_LIBS LIBRAQM_CFLAGS HAVE_LIBFREETYPE_FALSE HAVE_LIBFREETYPE_TRUE LIBFREETYPE_LIBS LIBFREETYPE_CFLAGS HAVE_LIBPNG_FALSE HAVE_LIBPNG_TRUE LIBPNG_LIBS LIBPNG_CFLAGS HAVE_LIBZ_FALSE HAVE_LIBZ_TRUE LIBZ_LIBS LIBZ_CFLAGS ENABLE_GD_FORMATS_FALSE ENABLE_GD_FORMATS_TRUE PTHREAD_CFLAGS PTHREAD_LIBS PTHREAD_CC ax_pthread_config LTLIBICONV LIBICONV XMKMF PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG CPP LT_SYS_LIBRARY_PATH OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB DLLTOOL OBJDUMP LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP EGREP GREP SED LIBTOOL am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC ac_ct_AR AR AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM GDLIB_LT_AGE GDLIB_LT_REVISION GDLIB_LT_CURRENT host_os host_vendor host_cpu host build_os build_vendor build_cpu build target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_shared enable_static with_pic enable_fast_install with_aix_soname with_gnu_ld with_sysroot enable_libtool_lock with_x enable_rpath with_libiconv_prefix enable_gd_formats with_zlib with_png with_freetype with_raqm with_fontconfig with_jpeg with_liq with_xpm with_tiff with_webp enable_werror ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS LT_SYS_LIBRARY_PATH CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR XMKMF LIBZ_CFLAGS LIBZ_LIBS LIBPNG_CFLAGS LIBPNG_LIBS LIBFREETYPE_CFLAGS LIBFREETYPE_LIBS LIBRAQM_CFLAGS LIBRAQM_LIBS LIBFONTCONFIG_CFLAGS LIBFONTCONFIG_LIBS LIBJPEG_CFLAGS LIBJPEG_LIBS LIBXPM_CFLAGS LIBXPM_LIBS LIBTIFF_CFLAGS LIBTIFF_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures GD 2.3.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/libgd] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of GD 2.3.0:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-rpath do not hardcode runtime library paths --disable-gd-formats Disable support for the legacy/testing gd image formats --enable-werror treat compile warnings as errors Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-x use the X Window System --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib --without-libiconv-prefix don't search for libiconv in includedir and libdir --with-zlib[=DIR] Support zlib (optionally in DIR) --with-png[=DIR] Support png (optionally in DIR) --with-freetype[=DIR] Support freetype (optionally in DIR) --with-raqm[=DIR] Support raqm (optionally in DIR) --with-fontconfig[=DIR] Support fontconfig (optionally in DIR) --with-jpeg[=DIR] Support jpeg (optionally in DIR) --with-liq[=DIR] Support liq (optionally in DIR) --with-xpm[=DIR] Support xpm (optionally in DIR) --with-tiff[=DIR] Support tiff (optionally in DIR) --with-webp[=DIR] Support webp (optionally in DIR) Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory LT_SYS_LIBRARY_PATH User-defined run-time library search path. CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path XMKMF Path to xmkmf, Makefile generator for X Window System LIBZ_CFLAGS C compiler flags for LIBZ, overriding pkg-config LIBZ_LIBS linker flags for LIBZ, overriding pkg-config LIBPNG_CFLAGS C compiler flags for LIBPNG, overriding pkg-config LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config LIBFREETYPE_CFLAGS C compiler flags for LIBFREETYPE, overriding pkg-config LIBFREETYPE_LIBS linker flags for LIBFREETYPE, overriding pkg-config LIBRAQM_CFLAGS C compiler flags for LIBRAQM, overriding pkg-config LIBRAQM_LIBS linker flags for LIBRAQM, overriding pkg-config LIBFONTCONFIG_CFLAGS C compiler flags for LIBFONTCONFIG, overriding pkg-config LIBFONTCONFIG_LIBS linker flags for LIBFONTCONFIG, overriding pkg-config LIBJPEG_CFLAGS C compiler flags for LIBJPEG, overriding pkg-config LIBJPEG_LIBS linker flags for LIBJPEG, overriding pkg-config LIBXPM_CFLAGS C compiler flags for LIBXPM, overriding pkg-config LIBXPM_LIBS linker flags for LIBXPM, overriding pkg-config LIBTIFF_CFLAGS C compiler flags for LIBTIFF, overriding pkg-config LIBTIFF_LIBS linker flags for LIBTIFF, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . GD home page: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF GD configure 2.3.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ---------------------------------------------------- ## ## Report this to https://github.com/libgd/libgd/issues ## ## ---------------------------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GD $as_me 2.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi as_fn_append ac_header_list " dirent.h" as_fn_append ac_header_list " inttypes.h" as_fn_append ac_header_list " stdint.h" as_fn_append ac_header_list " strings.h" as_fn_append ac_header_list " unistd.h" as_fn_append ac_header_list " sys/stat.h" as_fn_append ac_header_list " sys/types.h" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in config "$srcdir"/config; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac GDLIB_LT_CURRENT=3 GDLIB_LT_REVISION=8 GDLIB_LT_AGE=0 am__api_version='1.15' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='libgd' VERSION='2.3.0' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi ac_config_headers="$ac_config_headers src/config.h:src/config.hin" DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi if test -n "$ac_tool_prefix"; then for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar lib "link -lib" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 $as_echo_n "checking the archiver ($AR) interface... " >&6; } if ${am_cv_ar_interface+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am_cv_ar_interface=ar cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int some_variable = 0; _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=ar else am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 (eval $am_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then am_cv_ar_interface=lib else am_cv_ar_interface=unknown fi fi rm -f conftest.lib libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 $as_echo "$am_cv_ar_interface" >&6; } case $am_cv_ar_interface in ar) ;; lib) # Microsoft lib, so override with the ar-lib wrapper script. # FIXME: It is wrong to rewrite AR. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__AR in this case, # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something # similar. AR="$am_aux_dir/ar-lib $AR" ;; unknown) as_fn_error $? "could not determine $AR interface" "$LINENO" 5 ;; esac case $ac_cv_prog_cc_stdc in #( no) : ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( *) : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } if ${ac_cv_prog_cc_c99+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c99=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include #include // Check varargs macros. These examples are taken from C99 6.10.3.5. #define debug(...) fprintf (stderr, __VA_ARGS__) #define showlist(...) puts (#__VA_ARGS__) #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) static void test_varargs_macros (void) { int x = 1234; int y = 5678; debug ("Flag"); debug ("X = %d\n", x); showlist (The first, second, and third items.); report (x>y, "x is %d but y is %d", x, y); } // Check long long types. #define BIG64 18446744073709551615ull #define BIG32 4294967295ul #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) #if !BIG_OK your preprocessor is broken; #endif #if BIG_OK #else your preprocessor is broken; #endif static long long int bignum = -9223372036854775807LL; static unsigned long long int ubignum = BIG64; struct incomplete_array { int datasize; double data[]; }; struct named_init { int number; const wchar_t *name; double average; }; typedef const char *ccp; static inline int test_restrict (ccp restrict text) { // See if C++-style comments work. // Iterate through items via the restricted pointer. // Also check for declarations in for loops. for (unsigned int i = 0; *(text+i) != '\0'; ++i) continue; return 0; } // Check varargs and va_copy. static void test_varargs (const char *format, ...) { va_list args; va_start (args, format); va_list args_copy; va_copy (args_copy, args); const char *str; int number; float fnumber; while (*format) { switch (*format++) { case 's': // string str = va_arg (args_copy, const char *); break; case 'd': // int number = va_arg (args_copy, int); break; case 'f': // float fnumber = va_arg (args_copy, double); break; default: break; } } va_end (args_copy); va_end (args); } int main () { // Check bool. _Bool success = false; // Check restrict. if (test_restrict ("String literal") == 0) success = true; char *restrict newvar = "Another string"; // Check varargs. test_varargs ("s, d' f .", "string", 65, 34.234); test_varargs_macros (); // Check flexible array members. struct incomplete_array *ia = malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); ia->datasize = 10; for (int i = 0; i < ia->datasize; ++i) ia->data[i] = i * 1.234; // Check named initializers. struct named_init ni = { .number = 34, .name = L"Test wide string", .average = 543.34343, }; ni.number = 58; int dynamic_array[ni.number]; dynamic_array[ni.number - 1] = 543; // work around unused variable warnings return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' || dynamic_array[ni.number - 1] != 543); ; return 0; } _ACEOF for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99 do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c99=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c99" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c99" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c99" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; esac if test "x$ac_cv_prog_cc_c99" != xno; then : ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 else ac_cv_prog_cc_stdc=no fi fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } if ${ac_cv_prog_cc_stdc+:} false; then : $as_echo_n "(cached) " >&6 fi case $ac_cv_prog_cc_stdc in #( no) : { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; #( '') : { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; #( *) : { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; esac case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.6' macro_revision='2.4.6' ltmain=$ac_aux_dir/ltmain.sh # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case $ECHO in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n "$lt_cv_sys_max_cmd_len"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi ;; darwin*) if test yes = "$GCC"; then reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. 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_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 $as_echo "$with_sysroot" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 $as_echo_n "checking for a working dd... " >&6; } if ${ac_cv_path_lt_DD+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then ac_path_lt_DD_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in dd; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi $ac_path_lt_DD_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_lt_DD"; then : fi else ac_cv_path_lt_DD=$lt_DD fi rm -f conftest.i conftest2.i conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 $as_echo "$ac_cv_path_lt_DD" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 $as_echo_n "checking how to truncate binary pipes... " >&6; } if ${lt_cv_truncate_bin+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 $as_echo "$lt_cv_truncate_bin" >&6; } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[012][,.]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options enable_dlopen=no enable_win32_dll=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac else enable_static=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac else pic_mode=default fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac else enable_fast_install=yes fi shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. if test "${with_aix_soname+set}" = set; then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 ;; esac lt_cv_with_aix_soname=$with_aix_soname else if ${lt_cv_with_aix_soname+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 $as_echo "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o func_cc_basename $compiler cc_basename=$func_cc_basename_result # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/${ac_tool_prefix}file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC=$CC ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test yes = "$GCC"; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test yes = "$GCC"; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi lt_prog_compiler_pic='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works"; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test yes = "$lt_cv_prog_compiler_static_works"; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test no = "$hard_links"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) link_all_deplibs=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; *\ \(GNU\ Binutils\)\ [3-9]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='$wl--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' link_all_deplibs=yes ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $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' enable_shared_with_static_runtimes=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test no = "$ld_shlibs"; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 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' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. hardcode_direct=no hardcode_direct_absolute=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi export_dynamic_flag_spec='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' $wl-bernotok' allow_undefined_flag=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test yes = "$lt_cv_ld_force_load"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then 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" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test yes = "$GCC"; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test yes = "$lt_cv_prog_compiler__b"; then archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi link_all_deplibs=no else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' else archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='$wl-rpath,$libdir' fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $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' enable_shared_with_static_runtimes=yes ;; osf3*) if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then wlarc='$wl' archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='$wl-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='$wl-z,text' allow_undefined_flag='$wl-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='$wl-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test no = "$ld_shlibs" && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test yes,yes = "$GCC,$enable_shared"; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([A-Za-z]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[4-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a(lib.so.V)' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # 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|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[3-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. hardcode_libdir_flag_spec='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test yes = "$hardcode_automatic"; then # We can hardcode non-existent directories. if test no != "$hardcode_direct" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && test no != "$hardcode_minus_L"; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test relink = "$hardcode_action" || test yes = "$inherit_rpath"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen=shl_load else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen=dlopen else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi fi fi fi fi fi ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report what library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC ac_config_commands="$ac_config_commands libtool" # Only expand once: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 $as_echo_n "checking for X... " >&6; } # Check whether --with-x was given. if test "${with_x+set}" = set; then : withval=$with_x; fi # $have_x is `yes', `no', `disabled', or empty when we do not yet know. if test "x$with_x" = xno; then # The user explicitly disabled X. have_x=disabled else case $x_includes,$x_libraries in #( *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : $as_echo_n "(cached) " >&6 else # One or both of the vars are not set, and there is no cached value. ac_x_includes=no ac_x_libraries=no rm -f -r conftest.dir if mkdir conftest.dir; then cd conftest.dir cat >Imakefile <<'_ACEOF' incroot: @echo incroot='${INCROOT}' usrlibdir: @echo usrlibdir='${USRLIBDIR}' libdir: @echo libdir='${LIBDIR}' _ACEOF if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. for ac_var in incroot usrlibdir libdir; do eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" done # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. for ac_extension in a so sl dylib la dll; do if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && test -f "$ac_im_libdir/libX11.$ac_extension"; then ac_im_usrlibdir=$ac_im_libdir; break fi done # Screen out bogus values from the imake configuration. They are # bogus both because they are the default anyway, and because # using them would break gcc on systems where it needs fixed includes. case $ac_im_incroot in /usr/include) ac_x_includes= ;; *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in /usr/lib | /usr/lib64 | /lib | /lib64) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi cd .. rm -f -r conftest.dir fi # Standard set of common directories for X headers. # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include /usr/X11R7/include /usr/X11R6/include /usr/X11R5/include /usr/X11R4/include /usr/include/X11 /usr/include/X11R7 /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 /usr/local/X11/include /usr/local/X11R7/include /usr/local/X11R6/include /usr/local/X11R5/include /usr/local/X11R4/include /usr/local/include/X11 /usr/local/include/X11R7 /usr/local/include/X11R6 /usr/local/include/X11R5 /usr/local/include/X11R4 /usr/X386/include /usr/x386/include /usr/XFree86/include/X11 /usr/include /usr/local/include /usr/unsupported/include /usr/athena/include /usr/local/x11r5/include /usr/lpp/Xamples/include /usr/openwin/include /usr/openwin/share/include' if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # We can compile using X headers with no special include directory. ac_x_includes= else for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir break fi done fi rm -f conftest.err conftest.i conftest.$ac_ext fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then # Check for the libraries. # See if we find them without any special options. # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lX11 $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { XrmInitialize () ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else LIBS=$ac_save_LIBS for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! for ac_extension in a so sl dylib la dll; do if test -r "$ac_dir/libX11.$ac_extension"; then ac_x_libraries=$ac_dir break 2 fi done done fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no case $ac_x_includes,$ac_x_libraries in #( no,* | *,no | *\'*) # Didn't find X, or a directory has "'" in its name. ac_cv_have_x="have_x=no";; #( *) # Record where we found X for the cache. ac_cv_have_x="have_x=yes\ ac_x_includes='$ac_x_includes'\ ac_x_libraries='$ac_x_libraries'" esac fi ;; #( *) have_x=yes;; esac eval "$ac_cv_have_x" fi # $with_x != no if test "$have_x" != yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 $as_echo "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. test "x$x_includes" = xNONE && x_includes=$ac_x_includes test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries # Update the cache value to reflect the command line values. ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 $as_echo "libraries $x_libraries, headers $x_includes" >&6; } fi if test -n "$x_includes" && test "x$x_includes" != xNONE ; then CFLAGS="$CFLAGS -I$x_includes" fi if test -n "$x_libraries" && test "x$x_libraries" != xNONE ; then LDFLAGS="$LDFLAGS -L$x_libraries" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi for ac_header in $ac_header_list do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi # Prepare PATH_SEPARATOR. # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which # contains only /bin. Note that ksh looks also at the FPATH variable, # so we have to set that as well for the test. PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ || PATH_SEPARATOR=';' } fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$acl_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 $as_echo_n "checking for shared library run path origin... " >&6; } if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 $as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" acl_libext="$acl_cv_libext" acl_shlibext="$acl_cv_shlibext" acl_libname_spec="$acl_cv_libname_spec" acl_library_names_spec="$acl_cv_library_names_spec" acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" acl_hardcode_direct="$acl_cv_hardcode_direct" acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes fi acl_libdirstem=lib acl_libdirstem2= case "$host_os" in solaris*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 $as_echo_n "checking for 64-bit host... " >&6; } if ${gl_cv_solaris_64bit+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _LP64 sixtyfour bits #endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "sixtyfour bits" >/dev/null 2>&1; then : gl_cv_solaris_64bit=yes else gl_cv_solaris_64bit=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 $as_echo "$gl_cv_solaris_64bit" >&6; } if test $gl_cv_solaris_64bit = yes; then acl_libdirstem=lib/64 case "$host_cpu" in sparc*) acl_libdirstem2=lib/sparcv9 ;; i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; esac fi ;; *) searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` if test -n "$searchpath"; then acl_save_IFS="${IFS= }"; IFS=":" for searchdir in $searchpath; do if test -d "$searchdir"; then case "$searchdir" in */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; */../ | */.. ) # Better ignore directories of this form. They are misleading. ;; *) searchdir=`cd "$searchdir" && pwd` case "$searchdir" in */lib64 ) acl_libdirstem=lib64 ;; esac ;; esac fi done IFS="$acl_save_IFS" fi ;; esac test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" use_additional=yes acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" # Check whether --with-libiconv-prefix was given. if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" else additional_includedir="$withval/include" additional_libdir="$withval/$acl_libdirstem" if test "$acl_libdirstem2" != "$acl_libdirstem" \ && ! test -d "$withval/$acl_libdirstem"; then additional_libdir="$withval/$acl_libdirstem2" fi fi fi fi LIBICONV= LTLIBICONV= INCICONV= LIBICONV_PREFIX= HAVE_LIBICONV= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='iconv ' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" else : fi else found_dir= found_la= found_so= found_a= eval libname=\"$acl_libname_spec\" # typically: libname=lib$name if test -n "$acl_shlibext"; then shrext=".$acl_shlibext" # typically: shrext=.so else shrext= fi if test $use_additional = yes; then dir="$additional_libdir" if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$acl_shlibext"; then if test -f "$dir/$libname$shrext"; then found_dir="$dir" found_so="$dir/$libname$shrext" else if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then ver=`(cd "$dir" && \ for f in "$libname$shrext".*; do echo "$f"; done \ | sed -e "s,^$libname$shrext\\\\.,," \ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ | sed 1q ) 2>/dev/null` if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then found_dir="$dir" found_so="$dir/$libname$shrext.$ver" fi else eval library_names=\"$acl_library_names_spec\" for f in $library_names; do if test -f "$dir/$f"; then found_dir="$dir" found_so="$dir/$f" break fi done fi fi fi if test "X$found_dir" = "X"; then if test -f "$dir/$libname.$acl_libext"; then found_dir="$dir" found_a="$dir/$libname.$acl_libext" fi fi if test "X$found_dir" != "X"; then if test -f "$dir/$libname.la"; then found_la="$dir/$libname.la" fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then if test "$enable_rpath" = no \ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi if test "$acl_hardcode_direct" = yes; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" fi if test "$acl_hardcode_minus_L" != no; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" else LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" fi fi additional_includedir= case "$found_dir" in */$acl_libdirstem | */$acl_libdirstem/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; */$acl_libdirstem2 | */$acl_libdirstem2/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` if test "$name" = 'iconv'; then LIBICONV_PREFIX="$basedir" fi additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INCICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" fi fi fi fi fi if test -n "$found_la"; then save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then haveit= if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then if test -n "$GCC"; then case $host_os in linux* | gnu* | k*bsd*-gnu) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIBICONV; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" ;; esac done fi else LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$acl_hardcode_libdir_separator"; then alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" done acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" else for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$acl_hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then for found_dir in $ltrpathdirs; do LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" done fi am_save_CPPFLAGS="$CPPFLAGS" for element in $INCICONV; do haveit= for x in $CPPFLAGS; do acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" eval x=\"$x\" exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 $as_echo_n "checking for iconv... " >&6; } if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { iconv_t cd = iconv_open("",""); iconv(cd,NULL,NULL,NULL,NULL); iconv_close(cd); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 $as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 $as_echo_n "checking for working iconv... " >&6; } if ${am_cv_func_iconv_works+:} false; then : $as_echo_n "(cached) " >&6 else am_save_LIBS="$LIBS" if test $am_cv_lib_iconv = yes; then LIBS="$LIBS $LIBICONV" fi am_cv_func_iconv_works=no for ac_iconv_const in '' 'const'; do if test "$cross_compiling" = yes; then : case "$host_os" in aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; *) am_cv_func_iconv_works="guessing yes" ;; esac else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef ICONV_CONST # define ICONV_CONST $ac_iconv_const #endif int main () { int result = 0; /* Test against AIX 5.1 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); if (cd_utf8_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */ char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_utf8_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 1; iconv_close (cd_utf8_to_88591); } } /* Test against Solaris 10 bug: Failures are not distinguishable from successful returns. */ { iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); if (cd_ascii_to_88591 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\263"; char buf[10]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_ascii_to_88591, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res == 0) result |= 2; iconv_close (cd_ascii_to_88591); } } /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ { iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304"; static char buf[2] = { (char)0xDE, (char)0xAD }; ICONV_CONST char *inptr = input; size_t inbytesleft = 1; char *outptr = buf; size_t outbytesleft = 1; size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) result |= 4; iconv_close (cd_88591_to_utf8); } } #if 0 /* This bug could be worked around by the caller. */ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ { iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); if (cd_88591_to_utf8 != (iconv_t)(-1)) { static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; char buf[50]; ICONV_CONST char *inptr = input; size_t inbytesleft = strlen (input); char *outptr = buf; size_t outbytesleft = sizeof (buf); size_t res = iconv (cd_88591_to_utf8, &inptr, &inbytesleft, &outptr, &outbytesleft); if ((int)res > 0) result |= 8; iconv_close (cd_88591_to_utf8); } } #endif /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is provided. */ if (/* Try standardized names. */ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) /* Try IRIX, OSF/1 names. */ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) /* Try AIX names. */ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) /* Try HP-UX names. */ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) result |= 16; return result; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : am_cv_func_iconv_works=yes fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi test "$am_cv_func_iconv_works" = no || break done LIBS="$am_save_LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 $as_echo "$am_cv_func_iconv_works" >&6; } case "$am_cv_func_iconv_works" in *no) am_func_iconv=no am_cv_lib_iconv=no ;; *) am_func_iconv=yes ;; esac else am_func_iconv=no am_cv_lib_iconv=no fi if test "$am_func_iconv" = yes; then $as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 $as_echo_n "checking how to link with libiconv... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 $as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= LTLIBICONV= fi if test "$am_cv_func_iconv" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 $as_echo_n "checking for iconv declaration... " >&6; } if ${am_cv_proto_iconv+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include extern #ifdef __cplusplus "C" #endif #if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); #else size_t iconv(); #endif int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : am_cv_proto_iconv_arg1="" else am_cv_proto_iconv_arg1="const" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_proto_iconv" >&5 $as_echo " $am_cv_proto_iconv" >&6; } cat >>confdefs.h <<_ACEOF #define ICONV_CONST $am_cv_proto_iconv_arg1 _ACEOF fi # if test -n "$LIBICONV" ; then # LIBS="$LIBS $LIBICONV" # fi for ac_header in iconv.h do : ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default" if test "x$ac_cv_header_iconv_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_ICONV_H 1 _ACEOF { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv.h defines iconv_t" >&5 $as_echo_n "checking whether iconv.h defines iconv_t... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "typedef.*iconv_t" >/dev/null 2>&1; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_ICONV_T_DEF 1" >>confdefs.h else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi rm -f conftest* fi done # Checks for typedefs, structures, and compiler characteristics. #AC_TYPE_SIZE_T # Checks for library functions. #AC_FUNC_ERROR_AT_LINE #AC_FUNC_MALLOC #AC_FUNC_REALLOC #AC_CHECK_FUNCS([floor memset sqrt strchr strdup strtol]) ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin" if test "x$ac_cv_func_sin" = xyes; then : else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 $as_echo_n "checking for sin in -lm... " >&6; } if ${ac_cv_lib_m_sin+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char sin (); int main () { return sin (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_m_sin=yes else ac_cv_lib_m_sin=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 $as_echo "$ac_cv_lib_m_sin" >&6; } if test "x$ac_cv_lib_m_sin" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBM 1 _ACEOF LIBS="-lm $LIBS" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ax_pthread_ok=no # We used to check for pthread.h first, but this fails if pthread.h # requires special compiler flags (e.g. on Tru64 or Sequent). # It gets checked for in the link test anyway. # First of all, check if the user has set any of the PTHREAD_LIBS, # etcetera environment variables, and if threads linking works using # them: if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then ax_pthread_save_CC="$CC" ax_pthread_save_CFLAGS="$CFLAGS" ax_pthread_save_LIBS="$LIBS" if test "x$PTHREAD_CC" != "x"; then : CC="$PTHREAD_CC" fi CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char pthread_join (); int main () { return pthread_join (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ax_pthread_ok=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 $as_echo "$ax_pthread_ok" >&6; } if test "x$ax_pthread_ok" = "xno"; then PTHREAD_LIBS="" PTHREAD_CFLAGS="" fi CC="$ax_pthread_save_CC" CFLAGS="$ax_pthread_save_CFLAGS" LIBS="$ax_pthread_save_LIBS" fi # We must check for the threads library under a number of different # names; the ordering is very important because some systems # (e.g. DEC) have both -lpthread and -lpthreads, where one of the # libraries is broken (non-POSIX). # Create a list of thread flags to try. Items starting with a "-" are # C compiler flags, and other items are library names, except for "none" # which indicates that we try without any flags at all, and "pthread-config" # which is a program returning the flags for the Pth emulation library. ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" # The ordering *is* (sometimes) important. Some notes on the # individual items follow: # pthreads: AIX (must check this before -lpthread) # none: in case threads are in libc; should be tried before -Kthread and # other compiler flags to prevent continual compiler warnings # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64 # (Note: HP C rejects this with "bad form for `-t' option") # -pthreads: Solaris/gcc (Note: HP C also rejects) # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it # doesn't hurt to check since this sometimes defines pthreads and # -D_REENTRANT too), HP C (must be checked before -lpthread, which # is present but should not be used directly; and before -mthreads, # because the compiler interprets this as "-mt" + "-hreads") # -mthreads: Mingw32/gcc, Lynx/gcc # pthread: Linux, etcetera # --thread-safe: KAI C++ # pthread-config: use pthread-config program (for GNU Pth library) case $host_os in freebsd*) # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) ax_pthread_flags="-kthread lthread $ax_pthread_flags" ;; hpux*) # From the cc(1) man page: "[-mt] Sets various -D flags to enable # multi-threading and also sets -lpthread." ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags" ;; openedition*) # IBM z/OS requires a feature-test macro to be defined in order to # enable POSIX threads at all, so give the user a hint if this is # not set. (We don't define these ourselves, as they can affect # other portions of the system API in unpredictable ways.) cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS) AX_PTHREAD_ZOS_MISSING # endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then : { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;} fi rm -f conftest* ;; solaris*) # On Solaris (at least, for some versions), libc contains stubbed # (non-functional) versions of the pthreads routines, so link-based # tests will erroneously succeed. (N.B.: The stubs are missing # pthread_cleanup_push, or rather a function called by this macro, # so we could check for that, but who knows whether they'll stub # that too in a future libc.) So we'll check first for the # standard Solaris way of linking pthreads (-mt -lpthread). ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags" ;; esac # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC) if test "x$GCC" = "xyes"; then : ax_pthread_flags="-pthread -pthreads $ax_pthread_flags" fi # The presence of a feature test macro requesting re-entrant function # definitions is, on some systems, a strong hint that pthreads support is # correctly enabled case $host_os in darwin* | hpux* | linux* | osf* | solaris*) ax_pthread_check_macro="_REENTRANT" ;; aix*) ax_pthread_check_macro="_THREAD_SAFE" ;; *) ax_pthread_check_macro="--" ;; esac if test "x$ax_pthread_check_macro" = "x--"; then : ax_pthread_check_cond=0 else ax_pthread_check_cond="!defined($ax_pthread_check_macro)" fi # Are we compiling with Clang? { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5 $as_echo_n "checking whether $CC is Clang... " >&6; } if ${ax_cv_PTHREAD_CLANG+:} false; then : $as_echo_n "(cached) " >&6 else ax_cv_PTHREAD_CLANG=no # Note that Autoconf sets GCC=yes for Clang as well as GCC if test "x$GCC" = "xyes"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Note: Clang 2.7 lacks __clang_[a-z]+__ */ # if defined(__clang__) && defined(__llvm__) AX_PTHREAD_CC_IS_CLANG # endif _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then : ax_cv_PTHREAD_CLANG=yes fi rm -f conftest* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; } ax_pthread_clang="$ax_cv_PTHREAD_CLANG" ax_pthread_clang_warning=no # Clang needs special handling, because older versions handle the -pthread # option in a rather... idiosyncratic way if test "x$ax_pthread_clang" = "xyes"; then # Clang takes -pthread; it has never supported any other flag # (Note 1: This will need to be revisited if a system that Clang # supports has POSIX threads in a separate library. This tends not # to be the way of modern systems, but it's conceivable.) # (Note 2: On some systems, notably Darwin, -pthread is not needed # to get POSIX threads support; the API is always present and # active. We could reasonably leave PTHREAD_CFLAGS empty. But # -pthread does define _REENTRANT, and while the Darwin headers # ignore this macro, third-party headers might not.) PTHREAD_CFLAGS="-pthread" PTHREAD_LIBS= ax_pthread_ok=yes # However, older versions of Clang make a point of warning the user # that, in an invocation where only linking and no compilation is # taking place, the -pthread option has no effect ("argument unused # during compilation"). They expect -pthread to be passed in only # when source code is being compiled. # # Problem is, this is at odds with the way Automake and most other # C build frameworks function, which is that the same flags used in # compilation (CFLAGS) are also used in linking. Many systems # supported by AX_PTHREAD require exactly this for POSIX threads # support, and in fact it is often not straightforward to specify a # flag that is used only in the compilation phase and not in # linking. Such a scenario is extremely rare in practice. # # Even though use of the -pthread flag in linking would only print # a warning, this can be a nuisance for well-run software projects # that build with -Werror. So if the active version of Clang has # this misfeature, we search for an option to squash it. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; } if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then : $as_echo_n "(cached) " >&6 else ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown # Create an alternate version of $ac_link that compiles and # links in two steps (.c -> .o, .o -> exe) instead of one # (.c -> exe), because the warning occurs only in the second # step ax_pthread_save_ac_link="$ac_link" ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g' ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"` ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)" ax_pthread_save_CFLAGS="$CFLAGS" for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do if test "x$ax_pthread_try" = "xunknown"; then : break fi CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS" ac_link="$ax_pthread_save_ac_link" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main(void){return 0;} _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_link="$ax_pthread_2step_ac_link" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main(void){return 0;} _ACEOF if ac_fn_c_try_link "$LINENO"; then : break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done ac_link="$ax_pthread_save_ac_link" CFLAGS="$ax_pthread_save_CFLAGS" if test "x$ax_pthread_try" = "x"; then : ax_pthread_try=no fi ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; } case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in no | unknown) ;; *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;; esac fi # $ax_pthread_clang = yes if test "x$ax_pthread_ok" = "xno"; then for ax_pthread_try_flag in $ax_pthread_flags; do case $ax_pthread_try_flag in none) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 $as_echo_n "checking whether pthreads work without any flags... " >&6; } ;; -mt,pthread) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; } PTHREAD_CFLAGS="-mt" PTHREAD_LIBS="-lpthread" ;; -*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; } PTHREAD_CFLAGS="$ax_pthread_try_flag" ;; pthread-config) # Extract the first word of "pthread-config", so it can be a program name with args. set dummy pthread-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ax_pthread_config+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ax_pthread_config"; then ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ax_pthread_config="yes" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no" fi fi ax_pthread_config=$ac_cv_prog_ax_pthread_config if test -n "$ax_pthread_config"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5 $as_echo "$ax_pthread_config" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ax_pthread_config" = "xno"; then : continue fi PTHREAD_CFLAGS="`pthread-config --cflags`" PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; } PTHREAD_LIBS="-l$ax_pthread_try_flag" ;; esac ax_pthread_save_CFLAGS="$CFLAGS" ax_pthread_save_LIBS="$LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" # Check for various functions. We must include pthread.h, # since some functions may be macros. (On the Sequent, we # need a special flag -Kthread to make this header compile.) # We check for pthread_join because it is in -lpthread on IRIX # while pthread_create is in libc. We check for pthread_attr_init # due to DEC craziness with -lpthreads. We check for # pthread_cleanup_push because it is one of the few pthread # functions on Solaris that doesn't have a non-functional libc stub. # We try pthread_create on general principles. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include # if $ax_pthread_check_cond # error "$ax_pthread_check_macro must be defined" # endif static void routine(void *a) { a = 0; } static void *start_routine(void *a) { return a; } int main () { pthread_t th; pthread_attr_t attr; pthread_create(&th, 0, start_routine, 0); pthread_join(th, 0); pthread_attr_init(&attr); pthread_cleanup_push(routine, 0); pthread_cleanup_pop(0) /* ; */ ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ax_pthread_ok=yes fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$ax_pthread_save_CFLAGS" LIBS="$ax_pthread_save_LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 $as_echo "$ax_pthread_ok" >&6; } if test "x$ax_pthread_ok" = "xyes"; then : break fi PTHREAD_LIBS="" PTHREAD_CFLAGS="" done fi # Various other checks: if test "x$ax_pthread_ok" = "xyes"; then ax_pthread_save_CFLAGS="$CFLAGS" ax_pthread_save_LIBS="$LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS" LIBS="$PTHREAD_LIBS $LIBS" # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 $as_echo_n "checking for joinable pthread attribute... " >&6; } if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then : $as_echo_n "(cached) " >&6 else ax_cv_PTHREAD_JOINABLE_ATTR=unknown for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int attr = $ax_pthread_attr; return attr /* ; */ ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; } if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \ test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \ test "x$ax_pthread_joinable_attr_defined" != "xyes"; then : cat >>confdefs.h <<_ACEOF #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR _ACEOF ax_pthread_joinable_attr_defined=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; } if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then : $as_echo_n "(cached) " >&6 else ax_cv_PTHREAD_SPECIAL_FLAGS=no case $host_os in solaris*) ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS" ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; } if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \ test "x$ax_pthread_special_flags_added" != "xyes"; then : PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS" ax_pthread_special_flags_added=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; } if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { int i = PTHREAD_PRIO_INHERIT; ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ax_cv_PTHREAD_PRIO_INHERIT=yes else ax_cv_PTHREAD_PRIO_INHERIT=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; } if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \ test "x$ax_pthread_prio_inherit_defined" != "xyes"; then : $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h ax_pthread_prio_inherit_defined=yes fi CFLAGS="$ax_pthread_save_CFLAGS" LIBS="$ax_pthread_save_LIBS" # More AIX lossage: compile with *_r variant if test "x$GCC" != "xyes"; then case $host_os in aix*) case "x/$CC" in #( x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) : #handle absolute path differently from PATH based program lookup case "x$CC" in #( x/*) : if as_fn_executable_p ${CC}_r; then : PTHREAD_CC="${CC}_r" fi ;; #( *) : for ac_prog in ${CC}_r do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_PTHREAD_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$PTHREAD_CC"; then ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_PTHREAD_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi PTHREAD_CC=$ac_cv_prog_PTHREAD_CC if test -n "$PTHREAD_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 $as_echo "$PTHREAD_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$PTHREAD_CC" && break done test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" ;; esac ;; #( *) : ;; esac ;; esac fi fi test -n "$PTHREAD_CC" || PTHREAD_CC="$CC" # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test "x$ax_pthread_ok" = "xyes"; then $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h : else ax_pthread_ok=no fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenMP flag of C compiler" >&5 $as_echo_n "checking for OpenMP flag of C compiler... " >&6; } if ${ax_cv_c_openmp+:} false; then : $as_echo_n "(cached) " >&6 else saveCFLAGS=$CFLAGS ax_cv_c_openmp=unknown # Flags to try: -fopenmp (gcc), -openmp (icc), -mp (SGI & PGI), # -xopenmp (Sun), -omp (Tru64), -qsmp=omp (AIX), none ax_openmp_flags="-fopenmp -openmp -mp -xopenmp -omp -qsmp=omp none" if test "x$OPENMP_CFLAGS" != x; then ax_openmp_flags="$OPENMP_CFLAGS $ax_openmp_flags" fi for ax_openmp_flag in $ax_openmp_flags; do case $ax_openmp_flag in none) CFLAGS=$saveC ;; *) CFLAGS="$saveCFLAGS $ax_openmp_flag" ;; esac cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __cplusplus extern "C" #endif void omp_set_num_threads(int); int main () { const int N = 100000; int i, arr[N]; omp_set_num_threads(2); #pragma omp parallel for for (i = 0; i < N; i++) { arr[i] = i; } ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ax_cv_c_openmp=$ax_openmp_flag; break fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext done CFLAGS=$saveCFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_c_openmp" >&5 $as_echo "$ax_cv_c_openmp" >&6; } if test "x$ax_cv_c_openmp" = "xunknown"; then : else if test "x$ax_cv_c_openmp" != "xnone"; then OPENMP_CFLAGS=$ax_cv_c_openmp fi $as_echo "#define HAVE_OPENMP 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support gd image formats" >&5 $as_echo_n "checking whether to support gd image formats... " >&6; } # Check whether --enable-gd-formats was given. if test "${enable_gd_formats+set}" = set; then : enableval=$enable_gd_formats; gd_enable_gd_formats=$enableval else gd_enable_gd_formats=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_enable_gd_formats" >&5 $as_echo "$gd_enable_gd_formats" >&6; } if test "$gd_enable_gd_formats" = yes; then gd_ac_value=1 else gd_ac_value=0 fi cat >>confdefs.h <<_ACEOF #define ENABLE_GD_FORMATS $gd_ac_value _ACEOF if test "$gd_enable_gd_formats" = yes; then ENABLE_GD_FORMATS_TRUE= ENABLE_GD_FORMATS_FALSE='#' else ENABLE_GD_FORMATS_TRUE='#' ENABLE_GD_FORMATS_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support zlib" >&5 $as_echo_n "checking whether to support zlib... " >&6; } # Check whether --with-zlib was given. if test "${with_zlib+set}" = set; then : withval=$with_zlib; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBZ" >&5 $as_echo_n "checking for LIBZ... " >&6; } if test -n "$LIBZ_CFLAGS"; then pkg_cv_LIBZ_CFLAGS="$LIBZ_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBZ_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBZ_LIBS"; then pkg_cv_LIBZ_LIBS="$LIBZ_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBZ_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1` else LIBZ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBZ_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 $as_echo_n "checking for deflate in -lz... " >&6; } if ${ac_cv_lib_z_deflate+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char deflate (); int main () { return deflate (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_z_deflate=yes else ac_cv_lib_z_deflate=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 $as_echo "$ac_cv_lib_z_deflate" >&6; } if test "x$ac_cv_lib_z_deflate" = xyes; then : as_fn_append LIBZ_LIBS " -lz" gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5 $as_echo_n "checking for deflate in -lz... " >&6; } if ${ac_cv_lib_z_deflate+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lz $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char deflate (); int main () { return deflate (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_z_deflate=yes else ac_cv_lib_z_deflate=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5 $as_echo "$ac_cv_lib_z_deflate" >&6; } if test "x$ac_cv_lib_z_deflate" = xyes; then : as_fn_append LIBZ_LIBS " -lz" gd_found_lib=yes fi else LIBZ_CFLAGS=$pkg_cv_LIBZ_CFLAGS LIBZ_LIBS=$pkg_cv_LIBZ_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBZ 1" >>confdefs.h LIBZ_LIBS="$gd_lib_ldflags $LIBZ_LIBS" LIBZ_CFLAGS="$gd_lib_cflags $LIBZ_CFLAGS" as_fn_append LIBS " $LIBZ_LIBS" as_fn_append CPPFLAGS " $LIBZ_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "zlib requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for zlib" >&5 $as_echo "$as_me: Disabling support for zlib" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBZ_TRUE= HAVE_LIBZ_FALSE='#' else HAVE_LIBZ_TRUE='#' HAVE_LIBZ_FALSE= fi gd_with_LIBZ=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support png" >&5 $as_echo_n "checking whether to support png... " >&6; } # Check whether --with-png was given. if test "${with_png+set}" = set; then : withval=$with_png; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5 $as_echo_n "checking for LIBPNG... " >&6; } if test -n "$LIBPNG_CFLAGS"; then pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBPNG_LIBS"; then pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng" 2>&1` else LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBPNG_PKG_ERRORS" >&5 LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config if test -e "$LIBPNG_CONFIG"; then LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags` LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags` gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } LIBPNG_CONFIG=$gd_with_lib/bin/libpng-config if test -e "$LIBPNG_CONFIG"; then LIBPNG_CFLAGS=`$LIBPNG_CONFIG --cflags` LIBPNG_LIBS=`$LIBPNG_CONFIG --ldflags` gd_found_lib=yes fi else LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBPNG 1" >>confdefs.h LIBPNG_LIBS="$gd_lib_ldflags $LIBPNG_LIBS" LIBPNG_CFLAGS="$gd_lib_cflags $LIBPNG_CFLAGS" as_fn_append LIBS " $LIBPNG_LIBS" as_fn_append CPPFLAGS " $LIBPNG_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "png requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for png" >&5 $as_echo "$as_me: Disabling support for png" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBPNG_TRUE= HAVE_LIBPNG_FALSE='#' else HAVE_LIBPNG_TRUE='#' HAVE_LIBPNG_FALSE= fi gd_with_LIBPNG=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support freetype" >&5 $as_echo_n "checking whether to support freetype... " >&6; } # Check whether --with-freetype was given. if test "${with_freetype+set}" = set; then : withval=$with_freetype; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFREETYPE" >&5 $as_echo_n "checking for LIBFREETYPE... " >&6; } if test -n "$LIBFREETYPE_CFLAGS"; then pkg_cv_LIBFREETYPE_CFLAGS="$LIBFREETYPE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.8.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.8.3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBFREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.8.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBFREETYPE_LIBS"; then pkg_cv_LIBFREETYPE_LIBS="$LIBFREETYPE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.8.3\""; } >&5 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.8.3") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBFREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.8.3" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBFREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2 >= 9.8.3" 2>&1` else LIBFREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2 >= 9.8.3" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBFREETYPE_PKG_ERRORS" >&5 FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config if test -e "$FREETYPE_CONFIG"; then LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs` gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } FREETYPE_CONFIG=$gd_with_lib/bin/freetype-config if test -e "$FREETYPE_CONFIG"; then LIBFREETYPE_CFLAGS=`$FREETYPE_CONFIG --cflags` LIBFREETYPE_LIBS=`$FREETYPE_CONFIG --libs` gd_found_lib=yes fi else LIBFREETYPE_CFLAGS=$pkg_cv_LIBFREETYPE_CFLAGS LIBFREETYPE_LIBS=$pkg_cv_LIBFREETYPE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBFREETYPE 1" >>confdefs.h LIBFREETYPE_LIBS="$gd_lib_ldflags $LIBFREETYPE_LIBS" LIBFREETYPE_CFLAGS="$gd_lib_cflags $LIBFREETYPE_CFLAGS" as_fn_append LIBS " $LIBFREETYPE_LIBS" as_fn_append CPPFLAGS " $LIBFREETYPE_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "freetype requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for freetype" >&5 $as_echo "$as_me: Disabling support for freetype" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBFREETYPE_TRUE= HAVE_LIBFREETYPE_FALSE='#' else HAVE_LIBFREETYPE_TRUE='#' HAVE_LIBFREETYPE_FALSE= fi gd_with_LIBFREETYPE=$gd_found_lib if test "$gd_with_LIBFREETYPE" = "yes"; then $as_echo "#define HAVE_FT2BUILD_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support raqm" >&5 $as_echo_n "checking whether to support raqm... " >&6; } # Check whether --with-raqm was given. if test "${with_raqm+set}" = set; then : withval=$with_raqm; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBRAQM" >&5 $as_echo_n "checking for LIBRAQM... " >&6; } if test -n "$LIBRAQM_CFLAGS"; then pkg_cv_LIBRAQM_CFLAGS="$LIBRAQM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"raqm\""; } >&5 ($PKG_CONFIG --exists --print-errors "raqm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBRAQM_CFLAGS=`$PKG_CONFIG --cflags "raqm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBRAQM_LIBS"; then pkg_cv_LIBRAQM_LIBS="$LIBRAQM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"raqm\""; } >&5 ($PKG_CONFIG --exists --print-errors "raqm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBRAQM_LIBS=`$PKG_CONFIG --libs "raqm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBRAQM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "raqm" 2>&1` else LIBRAQM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "raqm" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBRAQM_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raqm_create in -lraqm" >&5 $as_echo_n "checking for raqm_create in -lraqm... " >&6; } if ${ac_cv_lib_raqm_raqm_create+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lraqm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char raqm_create (); int main () { return raqm_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_raqm_raqm_create=yes else ac_cv_lib_raqm_raqm_create=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_raqm_raqm_create" >&5 $as_echo "$ac_cv_lib_raqm_raqm_create" >&6; } if test "x$ac_cv_lib_raqm_raqm_create" = xyes; then : as_fn_append LIBRAQM_LIBS " -lraqm -lfreetype" gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raqm_create in -lraqm" >&5 $as_echo_n "checking for raqm_create in -lraqm... " >&6; } if ${ac_cv_lib_raqm_raqm_create+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lraqm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char raqm_create (); int main () { return raqm_create (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_raqm_raqm_create=yes else ac_cv_lib_raqm_raqm_create=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_raqm_raqm_create" >&5 $as_echo "$ac_cv_lib_raqm_raqm_create" >&6; } if test "x$ac_cv_lib_raqm_raqm_create" = xyes; then : as_fn_append LIBRAQM_LIBS " -lraqm -lfreetype" gd_found_lib=yes fi else LIBRAQM_CFLAGS=$pkg_cv_LIBRAQM_CFLAGS LIBRAQM_LIBS=$pkg_cv_LIBRAQM_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBRAQM 1" >>confdefs.h LIBRAQM_LIBS="$gd_lib_ldflags $LIBRAQM_LIBS" LIBRAQM_CFLAGS="$gd_lib_cflags $LIBRAQM_CFLAGS" as_fn_append LIBS " $LIBRAQM_LIBS" as_fn_append CPPFLAGS " $LIBRAQM_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "raqm requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for raqm" >&5 $as_echo "$as_me: Disabling support for raqm" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBRAQM_TRUE= HAVE_LIBRAQM_FALSE='#' else HAVE_LIBRAQM_TRUE='#' HAVE_LIBRAQM_FALSE= fi gd_with_LIBRAQM=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support fontconfig" >&5 $as_echo_n "checking whether to support fontconfig... " >&6; } # Check whether --with-fontconfig was given. if test "${with_fontconfig+set}" = set; then : withval=$with_fontconfig; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBFONTCONFIG" >&5 $as_echo_n "checking for LIBFONTCONFIG... " >&6; } if test -n "$LIBFONTCONFIG_CFLAGS"; then pkg_cv_LIBFONTCONFIG_CFLAGS="$LIBFONTCONFIG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBFONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBFONTCONFIG_LIBS"; then pkg_cv_LIBFONTCONFIG_LIBS="$LIBFONTCONFIG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5 ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBFONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBFONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig" 2>&1` else LIBFONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBFONTCONFIG_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcInit in -lfontconfig" >&5 $as_echo_n "checking for FcInit in -lfontconfig... " >&6; } if ${ac_cv_lib_fontconfig_FcInit+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfontconfig $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char FcInit (); int main () { return FcInit (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_fontconfig_FcInit=yes else ac_cv_lib_fontconfig_FcInit=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcInit" >&5 $as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; } if test "x$ac_cv_lib_fontconfig_FcInit" = xyes; then : as_fn_append LIBFONTCONFIG_LIBS " -lfontconfig" gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcInit in -lfontconfig" >&5 $as_echo_n "checking for FcInit in -lfontconfig... " >&6; } if ${ac_cv_lib_fontconfig_FcInit+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lfontconfig $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char FcInit (); int main () { return FcInit (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_fontconfig_FcInit=yes else ac_cv_lib_fontconfig_FcInit=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcInit" >&5 $as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; } if test "x$ac_cv_lib_fontconfig_FcInit" = xyes; then : as_fn_append LIBFONTCONFIG_LIBS " -lfontconfig" gd_found_lib=yes fi else LIBFONTCONFIG_CFLAGS=$pkg_cv_LIBFONTCONFIG_CFLAGS LIBFONTCONFIG_LIBS=$pkg_cv_LIBFONTCONFIG_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBFONTCONFIG 1" >>confdefs.h LIBFONTCONFIG_LIBS="$gd_lib_ldflags $LIBFONTCONFIG_LIBS" LIBFONTCONFIG_CFLAGS="$gd_lib_cflags $LIBFONTCONFIG_CFLAGS" as_fn_append LIBS " $LIBFONTCONFIG_LIBS" as_fn_append CPPFLAGS " $LIBFONTCONFIG_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "fontconfig requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for fontconfig" >&5 $as_echo "$as_me: Disabling support for fontconfig" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBFONTCONFIG_TRUE= HAVE_LIBFONTCONFIG_FALSE='#' else HAVE_LIBFONTCONFIG_TRUE='#' HAVE_LIBFONTCONFIG_FALSE= fi gd_with_LIBFONTCONFIG=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support jpeg" >&5 $as_echo_n "checking whether to support jpeg... " >&6; } # Check whether --with-jpeg was given. if test "${with_jpeg+set}" = set; then : withval=$with_jpeg; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBJPEG" >&5 $as_echo_n "checking for LIBJPEG... " >&6; } if test -n "$LIBJPEG_CFLAGS"; then pkg_cv_LIBJPEG_CFLAGS="$LIBJPEG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libjpeg\""; } >&5 ($PKG_CONFIG --exists --print-errors "libjpeg") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBJPEG_CFLAGS=`$PKG_CONFIG --cflags "libjpeg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBJPEG_LIBS"; then pkg_cv_LIBJPEG_LIBS="$LIBJPEG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libjpeg\""; } >&5 ($PKG_CONFIG --exists --print-errors "libjpeg") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBJPEG_LIBS=`$PKG_CONFIG --libs "libjpeg" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBJPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libjpeg" 2>&1` else LIBJPEG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libjpeg" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBJPEG_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5 $as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; } if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ljpeg $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char jpeg_set_defaults (); int main () { return jpeg_set_defaults (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_jpeg_jpeg_set_defaults=yes else ac_cv_lib_jpeg_jpeg_set_defaults=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5 $as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; } if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then : as_fn_append LIBJPEG_LIBS " -ljpeg" gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5 $as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; } if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ljpeg $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char jpeg_set_defaults (); int main () { return jpeg_set_defaults (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_jpeg_jpeg_set_defaults=yes else ac_cv_lib_jpeg_jpeg_set_defaults=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5 $as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; } if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then : as_fn_append LIBJPEG_LIBS " -ljpeg" gd_found_lib=yes fi else LIBJPEG_CFLAGS=$pkg_cv_LIBJPEG_CFLAGS LIBJPEG_LIBS=$pkg_cv_LIBJPEG_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBJPEG 1" >>confdefs.h LIBJPEG_LIBS="$gd_lib_ldflags $LIBJPEG_LIBS" LIBJPEG_CFLAGS="$gd_lib_cflags $LIBJPEG_CFLAGS" as_fn_append LIBS " $LIBJPEG_LIBS" as_fn_append CPPFLAGS " $LIBJPEG_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "jpeg requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for jpeg" >&5 $as_echo "$as_me: Disabling support for jpeg" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBJPEG_TRUE= HAVE_LIBJPEG_FALSE='#' else HAVE_LIBJPEG_TRUE='#' HAVE_LIBJPEG_FALSE= fi gd_with_LIBJPEG=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support liq" >&5 $as_echo_n "checking whether to support liq... " >&6; } # Check whether --with-liq was given. if test "${with_liq+set}" = set; then : withval=$with_liq; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac ac_fn_c_check_header_mongrel "$LINENO" "libimagequant.h" "ac_cv_header_libimagequant_h" "$ac_includes_default" if test "x$ac_cv_header_libimagequant_h" = xyes; then : save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $OPENMP_CFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liq_attr_create_with_allocator in -limagequant" >&5 $as_echo_n "checking for liq_attr_create_with_allocator in -limagequant... " >&6; } if ${ac_cv_lib_imagequant_liq_attr_create_with_allocator+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-limagequant $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char liq_attr_create_with_allocator (); int main () { return liq_attr_create_with_allocator (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_imagequant_liq_attr_create_with_allocator=yes else ac_cv_lib_imagequant_liq_attr_create_with_allocator=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_imagequant_liq_attr_create_with_allocator" >&5 $as_echo "$ac_cv_lib_imagequant_liq_attr_create_with_allocator" >&6; } if test "x$ac_cv_lib_imagequant_liq_attr_create_with_allocator" = xyes; then : as_fn_append LIBIMAGEQUANT_LIBS " -limagequant $OPENMP_CFLAGS" gd_found_lib=yes fi CFLAGS=$save_CFLAGS fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBIMAGEQUANT 1" >>confdefs.h LIBIMAGEQUANT_LIBS="$gd_lib_ldflags $LIBIMAGEQUANT_LIBS" LIBIMAGEQUANT_CFLAGS="$gd_lib_cflags $LIBIMAGEQUANT_CFLAGS" as_fn_append LIBS " $LIBIMAGEQUANT_LIBS" as_fn_append CPPFLAGS " $LIBIMAGEQUANT_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "liq requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for liq" >&5 $as_echo "$as_me: Disabling support for liq" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBIMAGEQUANT_TRUE= HAVE_LIBIMAGEQUANT_FALSE='#' else HAVE_LIBIMAGEQUANT_TRUE='#' HAVE_LIBIMAGEQUANT_FALSE= fi gd_with_LIBIMAGEQUANT=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support xpm" >&5 $as_echo_n "checking whether to support xpm... " >&6; } # Check whether --with-xpm was given. if test "${with_xpm+set}" = set; then : withval=$with_xpm; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXPM" >&5 $as_echo_n "checking for LIBXPM... " >&6; } if test -n "$LIBXPM_CFLAGS"; then pkg_cv_LIBXPM_CFLAGS="$LIBXPM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5 ($PKG_CONFIG --exists --print-errors "xpm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXPM_CFLAGS=`$PKG_CONFIG --cflags "xpm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBXPM_LIBS"; then pkg_cv_LIBXPM_LIBS="$LIBXPM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xpm\""; } >&5 ($PKG_CONFIG --exists --print-errors "xpm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXPM_LIBS=`$PKG_CONFIG --libs "xpm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xpm" 2>&1` else LIBXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xpm" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBXPM_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToXpmImage in -lXpm" >&5 $as_echo_n "checking for XpmReadFileToXpmImage in -lXpm... " >&6; } if ${ac_cv_lib_Xpm_XpmReadFileToXpmImage+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXpm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XpmReadFileToXpmImage (); int main () { return XpmReadFileToXpmImage (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_Xpm_XpmReadFileToXpmImage=yes else ac_cv_lib_Xpm_XpmReadFileToXpmImage=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&5 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&6; } if test "x$ac_cv_lib_Xpm_XpmReadFileToXpmImage" = xyes; then : as_fn_append LIBXPM_LIBS " -lXpm" gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpmReadFileToXpmImage in -lXpm" >&5 $as_echo_n "checking for XpmReadFileToXpmImage in -lXpm... " >&6; } if ${ac_cv_lib_Xpm_XpmReadFileToXpmImage+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lXpm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char XpmReadFileToXpmImage (); int main () { return XpmReadFileToXpmImage (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_Xpm_XpmReadFileToXpmImage=yes else ac_cv_lib_Xpm_XpmReadFileToXpmImage=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&5 $as_echo "$ac_cv_lib_Xpm_XpmReadFileToXpmImage" >&6; } if test "x$ac_cv_lib_Xpm_XpmReadFileToXpmImage" = xyes; then : as_fn_append LIBXPM_LIBS " -lXpm" gd_found_lib=yes fi else LIBXPM_CFLAGS=$pkg_cv_LIBXPM_CFLAGS LIBXPM_LIBS=$pkg_cv_LIBXPM_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBXPM 1" >>confdefs.h LIBXPM_LIBS="$gd_lib_ldflags $LIBXPM_LIBS" LIBXPM_CFLAGS="$gd_lib_cflags $LIBXPM_CFLAGS" as_fn_append LIBS " $LIBXPM_LIBS" as_fn_append CPPFLAGS " $LIBXPM_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "xpm requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for xpm" >&5 $as_echo "$as_me: Disabling support for xpm" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBXPM_TRUE= HAVE_LIBXPM_FALSE='#' else HAVE_LIBXPM_TRUE='#' HAVE_LIBXPM_FALSE= fi gd_with_LIBXPM=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support tiff" >&5 $as_echo_n "checking whether to support tiff... " >&6; } # Check whether --with-tiff was given. if test "${with_tiff+set}" = set; then : withval=$with_tiff; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBTIFF" >&5 $as_echo_n "checking for LIBTIFF... " >&6; } if test -n "$LIBTIFF_CFLAGS"; then pkg_cv_LIBTIFF_CFLAGS="$LIBTIFF_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBTIFF_CFLAGS=`$PKG_CONFIG --cflags "libtiff-4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBTIFF_LIBS"; then pkg_cv_LIBTIFF_LIBS="$LIBTIFF_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtiff-4\""; } >&5 ($PKG_CONFIG --exists --print-errors "libtiff-4") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBTIFF_LIBS=`$PKG_CONFIG --libs "libtiff-4" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBTIFF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libtiff-4" 2>&1` else LIBTIFF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libtiff-4" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBTIFF_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; } if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltiff $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char TIFFClientOpen (); int main () { return TIFFClientOpen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_tiff_TIFFClientOpen=yes else ac_cv_lib_tiff_TIFFClientOpen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; } if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then : as_fn_append LIBTIFF_LIBS " -ltiff" gd_found_lib=yes fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in -ltiff" >&5 $as_echo_n "checking for TIFFClientOpen in -ltiff... " >&6; } if ${ac_cv_lib_tiff_TIFFClientOpen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ltiff $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char TIFFClientOpen (); int main () { return TIFFClientOpen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_tiff_TIFFClientOpen=yes else ac_cv_lib_tiff_TIFFClientOpen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFClientOpen" >&5 $as_echo "$ac_cv_lib_tiff_TIFFClientOpen" >&6; } if test "x$ac_cv_lib_tiff_TIFFClientOpen" = xyes; then : as_fn_append LIBTIFF_LIBS " -ltiff" gd_found_lib=yes fi else LIBTIFF_CFLAGS=$pkg_cv_LIBTIFF_CFLAGS LIBTIFF_LIBS=$pkg_cv_LIBTIFF_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBTIFF 1" >>confdefs.h LIBTIFF_LIBS="$gd_lib_ldflags $LIBTIFF_LIBS" LIBTIFF_CFLAGS="$gd_lib_cflags $LIBTIFF_CFLAGS" as_fn_append LIBS " $LIBTIFF_LIBS" as_fn_append CPPFLAGS " $LIBTIFF_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "tiff requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for tiff" >&5 $as_echo "$as_me: Disabling support for tiff" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBTIFF_TRUE= HAVE_LIBTIFF_FALSE='#' else HAVE_LIBTIFF_TRUE='#' HAVE_LIBTIFF_FALSE= fi gd_with_LIBTIFF=$gd_found_lib { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support webp" >&5 $as_echo_n "checking whether to support webp... " >&6; } # Check whether --with-webp was given. if test "${with_webp+set}" = set; then : withval=$with_webp; gd_with_lib=$withval else gd_with_lib=auto fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gd_with_lib" >&5 $as_echo "$gd_with_lib" >&6; } gd_found_lib=no if test "$gd_with_lib" != "no"; then save_CPPFLAGS=$CPPFLAGS save_LDFLAGS=$LDFLAGS gd_lib_ldflags= gd_lib_cflags= case $gd_with_lib in yes|no|auto|"") ;; *) if test -d "$gd_with_lib/lib"; then gd_lib_ldflags="-L$gd_with_lib/lib" as_fn_append LDFLAGS " $gd_lib_ldflags" fi if test -d "$gd_with_lib/include"; then gd_lib_cflags="-I$gd_with_lib/include" as_fn_append CPPFLAGS " $gd_lib_cflags" fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WebPGetInfo in -lwebp" >&5 $as_echo_n "checking for WebPGetInfo in -lwebp... " >&6; } if ${ac_cv_lib_webp_WebPGetInfo+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lwebp $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char WebPGetInfo (); int main () { return WebPGetInfo (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_webp_WebPGetInfo=yes else ac_cv_lib_webp_WebPGetInfo=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_webp_WebPGetInfo" >&5 $as_echo "$ac_cv_lib_webp_WebPGetInfo" >&6; } if test "x$ac_cv_lib_webp_WebPGetInfo" = xyes; then : as_fn_append LIBWEBP_LIBS " -lwebp" gd_found_lib=yes fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS if test "$gd_found_lib" = "yes"; then $as_echo "#define HAVE_LIBWEBP 1" >>confdefs.h LIBWEBP_LIBS="$gd_lib_ldflags $LIBWEBP_LIBS" LIBWEBP_CFLAGS="$gd_lib_cflags $LIBWEBP_CFLAGS" as_fn_append LIBS " $LIBWEBP_LIBS" as_fn_append CPPFLAGS " $LIBWEBP_CFLAGS" elif test "$gd_with_lib" = "yes"; then as_fn_error $? "webp requested but not found" "$LINENO" 5 else { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling support for webp" >&5 $as_echo "$as_me: Disabling support for webp" >&6;} fi fi if test "$gd_found_lib" = yes; then HAVE_LIBWEBP_TRUE= HAVE_LIBWEBP_FALSE='#' else HAVE_LIBWEBP_TRUE='#' HAVE_LIBWEBP_FALSE= fi gd_with_LIBWEBP=$gd_found_lib CFLAG_VISIBILITY= HAVE_VISIBILITY=0 if test -n "$GCC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 $as_echo_n "checking for simple visibility declarations... " >&6; } if ${gl_cv_cc_visibility+:} false; then : $as_echo_n "(cached) " >&6 else gl_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -fvisibility=hidden" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ extern __attribute__((__visibility__("hidden"))) int hiddenvar; extern __attribute__((__visibility__("default"))) int exportedvar; extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); extern __attribute__((__visibility__("default"))) int exportedfunc (void); int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : gl_cv_cc_visibility=yes else gl_cv_cc_visibility=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS="$gl_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 $as_echo "$gl_cv_cc_visibility" >&6; } if test $gl_cv_cc_visibility = yes; then CFLAG_VISIBILITY="-fvisibility=hidden" HAVE_VISIBILITY=1 fi fi cat >>confdefs.h <<_ACEOF #define HAVE_VISIBILITY $HAVE_VISIBILITY _ACEOF CFLAGS="$CFLAGS $CFLAG_VISIBILITY" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are building for a Win32 host" >&5 $as_echo_n "checking whether we are building for a Win32 host... " >&6; } if ${mingw_cv_win32_host+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef _WIN32 choke me #endif _ACEOF if ac_fn_c_try_compile "$LINENO"; then : mingw_cv_win32_host=no else mingw_cv_win32_host=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mingw_cv_win32_host" >&5 $as_echo "$mingw_cv_win32_host" >&6; } if test "$mingw_cv_win32_host" = yes; then $as_echo "#define BGDWIN32 /**/" >>confdefs.h fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking CFLAGS for maximum warnings" >&5 $as_echo_n "checking CFLAGS for maximum warnings... " >&6; } if ${ac_cv_cflags_warn_all+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_cflags_warn_all="no, unknown" ac_save_CFLAGS="$CFLAGS" for ac_arg in "-warn all % -warn all" "-pedantic % -Wall" "-xstrconst % -v" "-std1 % -verbose -w0 -warnprotos" "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" "-ansi -ansiE % -fullwarn" "+ESlit % +w1" "-Xc % -pvctl,fullmsg" "-h conform % -h msglevel 2" # do CFLAGS="$ac_save_CFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'` cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_cflags_warn_all=`echo $ac_arg | sed -e 's,.*% *,,'` ; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext done CFLAGS="$ac_save_CFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags_warn_all" >&5 $as_echo "$ac_cv_cflags_warn_all" >&6; } case ".$ac_cv_cflags_warn_all" in .ok|.ok,*) ;; .|.no|.no,*) ;; *) if ${CFLAGS+:} false; then : case " $CFLAGS " in #( *" $ac_cv_cflags_warn_all "*) : { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS already contains \$ac_cv_cflags_warn_all"; } >&5 (: CFLAGS already contains $ac_cv_cflags_warn_all) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; #( *) : as_fn_append CFLAGS " $ac_cv_cflags_warn_all" { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } ;; esac else CFLAGS=$ac_cv_cflags_warn_all { { $as_echo "$as_me:${as_lineno-$LINENO}: : CFLAGS=\"\$CFLAGS\""; } >&5 (: CFLAGS="$CFLAGS") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } fi ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Check whether --enable-werror was given. if test "${enable_werror+set}" = set; then : enableval=$enable_werror; fi if test "$enable_werror" = "yes" || \ test "$GCC" = "yes" -a "$enable_werror" != "no" -a -d "$srcdir/.git"; then CFLAGS="-Werror $CFLAGS" CXXFLAGS="-Werror $CXXFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: ** Configuration summary for $PACKAGE $VERSION: Support for gd/gd2 images: $gd_enable_gd_formats Support for Zlib: $gd_with_LIBZ Support for PNG library: $gd_with_LIBPNG Support for JPEG library: $gd_with_LIBJPEG Support for WebP library: $gd_with_LIBWEBP Support for TIFF library: $gd_with_LIBTIFF Support for Freetype 2.x library: $gd_with_LIBFREETYPE Support for Fontconfig library: $gd_with_LIBFONTCONFIG Support for Xpm library: $gd_with_LIBXPM Support for liq library: $gd_with_LIBIMAGEQUANT Support for complex text: $gd_with_LIBRAQM Support for pthreads: $ax_pthread_ok " >&5 $as_echo " ** Configuration summary for $PACKAGE $VERSION: Support for gd/gd2 images: $gd_enable_gd_formats Support for Zlib: $gd_with_LIBZ Support for PNG library: $gd_with_LIBPNG Support for JPEG library: $gd_with_LIBJPEG Support for WebP library: $gd_with_LIBWEBP Support for TIFF library: $gd_with_LIBTIFF Support for Freetype 2.x library: $gd_with_LIBFREETYPE Support for Fontconfig library: $gd_with_LIBFONTCONFIG Support for Xpm library: $gd_with_LIBXPM Support for liq library: $gd_with_LIBIMAGEQUANT Support for complex text: $gd_with_LIBRAQM Support for pthreads: $ax_pthread_ok " >&6; } ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile config/Makefile config/gdlib.pc" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_GD_FORMATS_TRUE}" && test -z "${ENABLE_GD_FORMATS_FALSE}"; then as_fn_error $? "conditional \"ENABLE_GD_FORMATS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBZ_TRUE}" && test -z "${HAVE_LIBZ_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBZ\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBPNG_TRUE}" && test -z "${HAVE_LIBPNG_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBPNG\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBFREETYPE_TRUE}" && test -z "${HAVE_LIBFREETYPE_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBFREETYPE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBRAQM_TRUE}" && test -z "${HAVE_LIBRAQM_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBRAQM\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBFONTCONFIG_TRUE}" && test -z "${HAVE_LIBFONTCONFIG_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBFONTCONFIG\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBJPEG_TRUE}" && test -z "${HAVE_LIBJPEG_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBJPEG\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBIMAGEQUANT_TRUE}" && test -z "${HAVE_LIBIMAGEQUANT_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBIMAGEQUANT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBXPM_TRUE}" && test -z "${HAVE_LIBXPM_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBXPM\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBTIFF_TRUE}" && test -z "${HAVE_LIBTIFF_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBTIFF\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBWEBP_TRUE}" && test -z "${HAVE_LIBWEBP_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBWEBP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by GD $as_me 2.3.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to . GD home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ GD config.status 2.3.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_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_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $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_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $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_FLAGS='`$ECHO "$AR_FLAGS" | $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"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_import \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_nm_interface \ nm_file_list_spec \ lt_cv_truncate_bin \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ configure_time_dlsearch_path \ configure_time_lt_sys_library_path; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.hin" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;; "config/gdlib.pc") CONFIG_FILES="$CONFIG_FILES config/gdlib.pc" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi cfgfile=${ofile}T trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # Generated automatically by $as_me ($PACKAGE) $VERSION # NOTE: Changes made to this file will be lost: look at ltmain.sh. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 # Copyright (C) 2014 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program or library that is built # using GNU Libtool, you may include this file under the same # distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # The names of the tagged configurations supported by this script. available_tags='' # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shared archive member basename,for filename based shared library versioning on AIX. shared_archive_member_spec=$shared_archive_member_spec # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # DLL creation program. DLLTOOL=$lt_DLLTOOL # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm into a list of symbols to manually relocate. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # The name lister interface. nm_interface=$lt_lt_cv_nm_interface # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and where our libraries should be installed. lt_sysroot=$lt_sysroot # Command to truncate a binary pipe. lt_truncate_bin=$lt_lt_cv_truncate_bin # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Detected run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \$shlibpath_var if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # ### END FUNCTIONS SHARED WITH CONFIGURE _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain=$ac_aux_dir/ltmain.sh # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi libgd-2.3.0/README.md0000664000175000017500000000437413635665516011027 00000000000000# GD Graphics (Draw) Library [![Build Status](https://travis-ci.org/libgd/libgd.svg?branch=master)](https://travis-ci.org/libgd/libgd) [![Build Status](https://scan.coverity.com/projects/3810/badge.svg)](https://scan.coverity.com/projects/libgd) [![Chat](https://badges.gitter.im/libgd/libgd.svg)](https://gitter.im/libgd/libgd) [![codecov.io](https://codecov.io/github/libgd/libgd/coverage.svg?branch=master)](https://codecov.io/github/libgd/libgd/) GD is an open source code library for the dynamic creation of images by programmers. GD is written in C, and "wrappers" are available for Perl, PHP and other languages. GD can read and write many different image formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. The most common applications of GD involve website development, although it can be used with any standalone application! The library was originally developed by Thomas Boutell and is now maintained by many contributors (see the [CONTRIBUTORS](CONTRIBUTORS) file) under the umbrella of PHP.net. If you like to contribute, report bugs, see [how to contribute document](CONTRIBUTING.md) For security related issues, please contact us at security@libgd.org ## Downloads/etc... Please visit our [homepage](http://www.libgd.org/) for more details. ## Supported Image Formats GD has builtin support for: * [BMP](https://en.wikipedia.org/wiki/BMP_file_format) * [GIF](https://en.wikipedia.org/wiki/GIF) * [TGA](https://en.wikipedia.org/wiki/Truevision_TGA) * [WBMP](https://en.wikipedia.org/wiki/Wireless_Application_Protocol_Bitmap_Format) It also has optional support for more formats via external libraries: * [JPEG](https://en.wikipedia.org/wiki/JPEG) via [IJG/libjpeg](http://www.ijg.org/) or [libjpeg-turbo](http://libjpeg-turbo.virtualgl.org/) * Does not include [JPEG 2000](https://en.wikipedia.org/wiki/JPEG_2000) * [PNG](https://en.wikipedia.org/wiki/Portable_Network_Graphics) via [libpng](http://www.libpng.org/) * [TIFF](https://en.wikipedia.org/wiki/Tagged_Image_File_Format) via [libtiff](http://www.libtiff.org/) * [WebP](https://en.wikipedia.org/wiki/WebP) via [libwebp](https://developers.google.com/speed/webp/) * [XPM](https://en.wikipedia.org/wiki/X_PixMap) via [libXpm](http://xorg.freedesktop.org/) libgd-2.3.0/CONTRIBUTORS0000664000175000017500000000053513635665516011423 00000000000000chapg Chen Pingping (Wilson) Chris Reuter Christoph M. Becker Colin Watson Dimitar Dobrev edink Gilles Espinasse guenter Kornel Lesiński kshepherd lhecking Marcin Wojdyr mattias Mike Frysinger Mateusz Loskot (mloskot) Nathanael Jones nlopess Ondřej Surý Pierre Joye pornel Remi Collet scottmac tabe Takeshi Abe Tim Toohey tostercx Vincent Bernat