./PaxHeaders.22062/cairomm-1.12.20000644000000000000000000000013213012573361013035 xustar0030 mtime=1479210737.733938555 30 atime=1479210737.737938553 30 ctime=1479210737.733938555 cairomm-1.12.2/0000755000175000017500000000000013012573361014453 5ustar00murraycmurrayc00000000000000cairomm-1.12.2/PaxHeaders.22062/build0000644000000000000000000000013213012573361013777 xustar0030 mtime=1479210737.717938558 30 atime=1479210737.737938553 30 ctime=1479210737.717938558 cairomm-1.12.2/build/0000755000175000017500000000000013012573361015552 5ustar00murraycmurrayc00000000000000cairomm-1.12.2/build/PaxHeaders.22062/missing0000644000000000000000000000013213012573315015447 xustar0030 mtime=1479210701.109950056 30 atime=1479210717.125944529 30 ctime=1479210737.305938666 cairomm-1.12.2/build/missing0000755000175000017500000001533013012573315017152 0ustar00murraycmurrayc00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi 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: cairomm-1.12.2/build/PaxHeaders.22062/dist-changelog.am0000644000000000000000000000013213012573300017254 xustar0030 mtime=1479210688.365955043 30 atime=1479210717.125944529 30 ctime=1479210737.301938667 cairomm-1.12.2/build/dist-changelog.am0000644000175000017500000000235713012573300020761 0ustar00murraycmurrayc00000000000000## Copyright (c) 2009 Daniel Elstner ## ## This file is part of mm-common. ## ## mm-common 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. ## ## mm-common 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 mm-common. If not, see . if MAINTAINER_MODE dist-hook: dist-changelog else dist-hook: endif .PHONY: dist-changelog dist-changelog: $(AM_V_at)if git --git-dir=$(top_srcdir)/.git --work-tree=$(top_srcdir) \ log --no-merges --date=short --pretty='tformat:%cd %an <%ae>%n%n%s%n%n%b' | \ $(SED) -e '/^[12]...-[01].-[0123]. [^<>]* <[^<>]*>$$/,/^$$/ b' \ -e '/[^ ]/,/^[ ]*$$/ !d' \ -e 's/^[ ]*/ /' \ -e 's/^[ ]*$$//' >.ChangeLog.tmp; \ then mv -f .ChangeLog.tmp "$(top_distdir)/ChangeLog"; \ else rm -f .ChangeLog.tmp; exit 1; fi cairomm-1.12.2/build/PaxHeaders.22062/test-driver0000644000000000000000000000013213012573315016246 xustar0030 mtime=1479210701.349949967 30 atime=1479210717.277944481 30 ctime=1479210737.473938622 cairomm-1.12.2/build/test-driver0000755000175000017500000001104013012573315017743 0ustar00murraycmurrayc00000000000000#! /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: cairomm-1.12.2/build/PaxHeaders.22062/compile0000644000000000000000000000013113012573315015425 xustar0030 mtime=1479210701.101950058 29 atime=1479210717.12194453 30 ctime=1479210737.297938669 cairomm-1.12.2/build/compile0000755000175000017500000001624513012573315017137 0ustar00murraycmurrayc00000000000000#! /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: cairomm-1.12.2/build/PaxHeaders.22062/reduced.m40000644000000000000000000000013212556635625015747 xustar0030 mtime=1438333845.574094641 30 atime=1479210717.085944542 30 ctime=1479210737.265938676 cairomm-1.12.2/build/reduced.m40000664000175000017500000000114012556635625017443 0ustar00murraycmurrayc00000000000000## CAIROMM_ARG_ENABLE_API_EXCEPTIONS() ## ## Provide the --enable-api-exceptions configure argument, enabled ## by default. ## AC_DEFUN([CAIROMM_ARG_ENABLE_API_EXCEPTIONS], [ AC_ARG_ENABLE([api-exceptions], [ --enable-api-exceptions Build exceptions API. [[default=yes]]], [cairomm_enable_api_exceptions="$enableval"], [cairomm_enable_api_exceptions='yes']) if test "x$cairomm_enable_api_exceptions" = "xyes"; then { AC_DEFINE([CAIROMM_EXCEPTIONS_ENABLED],[1], [Defined when the --enable-api-exceptions configure argument was given]) } fi ]) cairomm-1.12.2/build/PaxHeaders.22062/doc-reference.am0000644000000000000000000000013113012573300017064 xustar0030 mtime=1479210688.369955041 29 atime=1479210701.23395001 30 ctime=1479210737.717938558 cairomm-1.12.2/build/doc-reference.am0000644000175000017500000002164113012573300020567 0ustar00murraycmurrayc00000000000000## Copyright (c) 2009, 2011 Openismus GmbH ## ## This file is part of mm-common. ## ## mm-common 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. ## ## mm-common 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 mm-common. If not, see . ## Parameters: book_name ## Overrides: doc_outdir, doc_config, book_title, htmlref_patterns, ## doc_postprocess, doc_install, tagfile_to_devhelp2, ## doxytagfile, devhelpfile ## Files: doc_input ## Output: dist_noinst_DATA, DISTCLEANFILES, MAINTAINERCLEANFILES # The name of the sub-directory where the generated documentation # will be placed. doc_outdir ?= reference # The name of the Doxygen configuration file. doc_config ?= $(doc_outdir)/Doxyfile # The title of the generated Devhelp book. book_title ?= $(PACKAGE_NAME) Reference Manual # A list of wildcard patterns matching the files from the HTML directory # generated by Doxygen which should be distributed and installed. htmlref_patterns ?= $(addprefix $(doc_outdir)/html/*.,css gif html js png) # Locations of utilities shipped with glibmm. Made overridable # in case the installed utilities cannot be used for some reason. doc_postprocess ?= $(PERL) -- "$(MMDOCTOOLDIR)/doc-postprocess.pl" doc_install ?= $(PERL) -- "$(MMDOCTOOLDIR)/doc-install.pl" tagfile_to_devhelp2 ?= "$(MMDOCTOOLDIR)/tagfile-to-devhelp2.xsl" # Names of the main output files. doxytagfile ?= $(doc_outdir)/$(book_name).tag devhelpfile ?= $(doc_outdir)/$(book_name).devhelp2 # Function: $(call vpath_listall,PATTERN ...) # Get all filenames which match a PATTERN from the list. Look for files # relative to either the current directory or $(srcdir). Strip $(srcdir)/ # again before returning and remove any duplicates. vpath_srclist = $(patsubst $(srcdir)/%,%,$(wildcard $(addprefix $(srcdir)/,$(1)))) vpath_listall = $(sort $(wildcard $(1)) $(if $(srcdir:.=),$(vpath_srclist))) # Installation directories. libdocdir = $(datarootdir)/doc/$(book_name) referencedir = $(libdocdir)/reference htmlrefdir = $(referencedir)/html devhelpdir = $(datadir)/devhelp/books/$(book_name) # Optionally, the documentation utilities may be included in source tarballs # so that mm-common is only required when building in maintainer mode. if DIST_DOCTOOLS doctools_dist_files = $(addprefix $(MMDOCTOOLDIR)/,doc-postprocess.pl doc-install.pl tagfile-to-devhelp2.xsl doxygen-extra.css) else doctools_dist_files = endif if ENABLE_DOCUMENTATION doc_build_files = $(doxytagfile) $(devhelpfile) doc_inst_targets = install-htmlref install-devhelp doc_inst_files = $(doxytagfile) doc_dist_files = $(devhelpfile) $(call vpath_listall,$(htmlref_patterns)) else doc_build_files = doc_inst_targets = doc_inst_files = doc_dist_files = endif dist_reference_DATA = $(strip $(doc_inst_files)) dist_noinst_DATA = $(strip $(doctools_dist_files) $(doc_dist_files)) DISTCLEANFILES = $(doc_outdir)/doxygen.log MAINTAINERCLEANFILES = $(doxytagfile) $(devhelpfile) $(doc_outdir)/html/* # The generic bit of the doc-install.pl command line. doc_install_cmd = $(doc_install) --verbose --mode=0644 # Transform $(datarootdir) into a URI to match MM_ARG_WITH_TAGFILE_DOC(). datarootdir_esc = $(subst $(subst ,, ),%20,$(subst \,/,$(datarootdir))) docdir_base_uri = file:///$(patsubst /%,%,$(datarootdir_esc:/=))/doc # The command and options used to install the files from the HTML reference # documentation. The $(subst) magic translates external tag references from # absolute to relative paths if the destination is on the local file system # and installed under the same prefix as the package being built. htmlref_relinst = $(subst @$(docdir_base_uri)/,@../../../,$(DOCINSTALL_FLAGS)) htmlref_install = $(doc_install_cmd) $(htmlref_relinst) # The command and options used to install the Devhelp file. devhelp_install = $(doc_install_cmd) --book-base='$(htmlrefdir:/=)' # Helper variables to replicate each pattern with a $(srcdir)/ prefix. # Also add quoting to prevent the shell from expanding the patterns. htmlref_patterns_dup = $(foreach item,$(htmlref_patterns),'$(item)' '$(srcdir)/$(item)') htmlref_patterns_quote = $(patsubst %,'%',$(htmlref_patterns)) htmlref_patterns_vpath = $(if $(srcdir:.=),$(htmlref_patterns_dup),$(htmlref_patterns_quote)) # Expand to a list of -name 'PATTERN' arguments for use with 'find'. htmlref_find_patterns = $(patsubst %,-name '%' -o,$(notdir $(htmlref_patterns))) -false # The parameters to the Doxygen-to-Devhelp XSLT script dh_xsl_params = --stringparam book_title '$(book_title)' \ --stringparam book_name '$(book_name)' \ --stringparam book_base html # Generated configuration files which, when updated, should cause the # reference documentation to be rebuilt. doc_config_deps = $(CONFIG_HEADER) $(srcdir)/$(doc_config).in $(srcdir)/Makefile.in # Regenerate the documentation automatically only in maintainer mode. # Depend on the generated configuration header files to trigger a rebuild # if a configuration value changed. The configuration header files only # have their timestamp modified when the content actually changed, which # is not the case for any other files generated by configure. if MAINTAINER_MODE doc_dependencies = $(doc_config_deps) $(doc_input) else doc_dependencies = endif # Export this variable for use in the Doxygen configuration file. export MMDOCTOOLDIR # Depend on files that we know shall be built. # $(call vpath_listall,$(htmlref_patterns)) is not used as a prerequisite. # It would expand to files that exist when the make command is issued, # which is not necessarily the set of files that shall be built. all-local: $(doc_build_files) # Hook up custom rules for translating references to external documentation # to the actual location at install time. install-data-local: $(doc_inst_targets) # Hook up corresponding custom uninstall rules. uninstall-local: $(addprefix un,$(doc_inst_targets)) # Install the HTML reference documentation files with just one invocation # of doc-install.pl to speed up the build process. Make use of the --glob # option, which tells it to perform filename globbing itself, like 'find'. # This helps to avoid excessively long command lines, as some platforms # have rather restrictive limits. install-htmlref: $(doc_outdir)/html/index.html @$(NORMAL_INSTALL) $(MKDIR_P) '$(DESTDIR)$(htmlrefdir)' $(htmlref_install) -t '$(DESTDIR)$(htmlrefdir)' --glob -- $(htmlref_patterns_vpath) # Delete files from the html installation directory. Avoid recursive # directory removal, and apply the same wildcard pattern as was used to # select files for installation. uninstall-htmlref: @$(NORMAL_UNINSTALL) (cd '$(DESTDIR)$(htmlrefdir)' 2>/dev/null || exit 0; \ find . -type f '(' $(htmlref_find_patterns) ')' -exec rm -f '{}' '+') -test ! -r '$(DESTDIR)$(htmlrefdir)' || rmdir '$(DESTDIR)$(htmlrefdir)' # Install the Devhelp file, translating the base path on the fly. install-devhelp: $(devhelpfile) @$(NORMAL_INSTALL) $(MKDIR_P) '$(DESTDIR)$(devhelpdir)' $(devhelp_install) -t '$(DESTDIR)$(devhelpdir)' -- $^ # Remove the installed Devhelp file and directory. uninstall-devhelp: @$(NORMAL_UNINSTALL) rm -f '$(DESTDIR)$(devhelpdir)/$(notdir $(devhelpfile))' -test ! -r '$(DESTDIR)$(devhelpdir)' || rmdir '$(DESTDIR)$(devhelpdir)' # Regenerate the Doxygen configuration file automatically. In the # top-level build directory Automake already takes care of this. ifneq ($(subdir),.) $(doc_config): $(srcdir)/$(doc_config).in $(top_builddir)/config.status $(AM_V_GEN)cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ endif # Make sure that the documentation will always have been generated before # executing commands of a rule that depends on files in $(doc_outdir)/html/. $(doc_outdir)/html/%: | $(doxytagfile) # Run Doxygen to build the reference documentation. The generated tag file # also functions as time stamp target for the documentation as a whole. $(doxytagfile): $(doc_dependencies) | $(doc_config) -$(AM_V_at)rm -f $@ -$(AM_V_at)rm -fr $(doc_outdir)/html $(AM_V_GEN)(echo '@INCLUDE =' $(doc_config) && echo 'INPUT =' $(doc_input)) | "$(DOXYGEN)" - $(AM_V_at)$(doc_postprocess) '$(doc_outdir)/html/*.html' # Run XSL transformation to generate a Devhelp book from a Doxygen tag file. %.devhelp2: %.tag $(AM_V_GEN)$(XSLTPROC) $(dh_xsl_params) -o $@ $(tagfile_to_devhelp2) $< .PHONY: install-htmlref uninstall-htmlref install-devhelp uninstall-devhelp # Instruct GNU make to delete the targets of a rule after it failed, in # order to avoid the complication of handling that situation manually. .DELETE_ON_ERROR: cairomm-1.12.2/build/PaxHeaders.22062/ax_boost_unit_test_framework.m40000644000000000000000000000013212556635625022325 xustar0030 mtime=1438333845.574094641 30 atime=1479210717.073944545 30 ctime=1479210737.253938679 cairomm-1.12.2/build/ax_boost_unit_test_framework.m40000664000175000017500000001326512556635625024034 0ustar00murraycmurrayc00000000000000##### http://autoconf-archive.cryp.to/ax_boost_unit_test_framework.html # # SYNOPSIS # # AX_BOOST_UNIT_TEST_FRAMEWORK # # DESCRIPTION # # Test for Unit_Test_Framework library from the Boost C++ libraries. # The macro requires a preceding call to AX_BOOST_BASE. Further # documentation is available at # . # # This macro calls: # # AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB) # # And sets: # # HAVE_BOOST_UNIT_TEST_FRAMEWORK # # LAST MODIFICATION # # 2006-12-28 # # COPYLEFT # # Copyright (c) 2006 Thomas Porschberg # # 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. AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK], [ AC_ARG_WITH([boost-unit-test-framework], AS_HELP_STRING([--with-boost-unit-test-framework@<:@=special-lib@:>@], [use the Unit_Test_Framework library from boost - it is possible to specify a certain library for the linker e.g. --with-boost-unit-test-framework=boost_unit_test_framework-gcc ]), [ if test "$withval" = "no"; then want_boost="no" elif test "$withval" = "yes"; then want_boost="yes" ax_boost_user_unit_test_framework_lib="" else want_boost="yes" ax_boost_user_unit_test_framework_lib="$withval" fi ], [want_boost="yes"] ) if test "x$want_boost" = "xyes"; then AC_REQUIRE([AC_PROG_CC]) CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS AC_CACHE_CHECK(whether the Boost::Unit_Test_Framework library is available, ax_cv_boost_unit_test_framework, [AC_LANG_PUSH([C++]) AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include ]], [[using boost::unit_test::test_suite; test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); return 0;]]), ax_cv_boost_unit_test_framework=yes, ax_cv_boost_unit_test_framework=no) AC_LANG_POP([C++]) ]) if test "x$ax_cv_boost_unit_test_framework" = "xyes"; then AC_DEFINE(HAVE_BOOST_UNIT_TEST_FRAMEWORK,,[define if the Boost::Unit_Test_Framework library is available]) BN=boost_unit_test_framework if test "x$ax_boost_user_unit_test_framework_lib" = "x"; then saved_ldflags="${LDFLAGS}" for ax_lib in $BN $BN-mt $BN-mt-s $BN-s \ $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \ lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \ $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do LDFLAGS="${LDFLAGS} -l$ax_lib" AC_CACHE_CHECK(Boost::UnitTestFramework library linkage, ax_cv_boost_unit_test_framework_link, [AC_LANG_PUSH([C++]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include using boost::unit_test::test_suite; test_suite* init_unit_test_suite( int argc, char * argv[] ) { test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); return test; } ]], [[ return 0;]])], link_unit_test_framework="yes",link_unit_test_framework="no") AC_LANG_POP([C++]) ]) LDFLAGS="${saved_ldflags}" if test "x$link_unit_test_framework" = "xyes"; then BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB) break fi done else saved_ldflags="${LDFLAGS}" for ax_lib in $ax_boost_user_unit_test_framework_lib $BN-$ax_boost_user_unit_test_framework_lib; do LDFLAGS="${LDFLAGS} -l$ax_lib" AC_CACHE_CHECK(Boost::UnitTestFramework library linkage, ax_cv_boost_unit_test_framework_link, [AC_LANG_PUSH([C++]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[@%:@include using boost::unit_test::test_suite; test_suite* init_unit_test_suite( int argc, char * argv[] ) { test_suite* test= BOOST_TEST_SUITE( "Unit test example 1" ); return test; } ]], [[ return 0;]])], link_unit_test_framework="yes",link_unit_test_framework="no") AC_LANG_POP([C++]) ]) LDFLAGS="${saved_ldflags}" if test "x$link_unit_test_framework" = "xyes"; then BOOST_UNIT_TEST_FRAMEWORK_LIB="-l$ax_lib" AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB) break fi done fi if test "x$link_unit_test_framework" = "xno"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi ]) cairomm-1.12.2/build/PaxHeaders.22062/config.sub0000644000000000000000000000013113012573315016032 xustar0030 mtime=1479210701.105950057 29 atime=1479210717.12194453 30 ctime=1479210737.301938667 cairomm-1.12.2/build/config.sub0000755000175000017500000010647713012573315017553 0ustar00murraycmurrayc00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2016 Free Software Foundation, Inc. timestamp='2016-03-30' # 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: # http://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. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2016 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* | \ 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/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | 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 | 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 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | 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 \ | we32k \ | 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 | z8k) ;; 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-* | 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-* \ | 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-* \ | 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-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; 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* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; 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 ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; 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 ;; 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 | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | 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 ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; 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 ;; 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 ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -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* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ | -onefs* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -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 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: cairomm-1.12.2/build/PaxHeaders.22062/config.h.in0000644000000000000000000000013013012573314016073 xustar0029 mtime=1479210700.34595034 29 atime=1479210717.12194453 30 ctime=1479210737.301938667 cairomm-1.12.2/build/config.h.in0000644000175000017500000000406213012573314017575 0ustar00murraycmurrayc00000000000000/* build/config.h.in. Generated from configure.ac by autoheader. */ /* Defined when the --enable-api-exceptions configure argument was given */ #undef CAIROMM_EXCEPTIONS_ENABLED /* Major version number of cairomm. */ #undef CAIROMM_MAJOR_VERSION /* Micro version number of cairomm. */ #undef CAIROMM_MICRO_VERSION /* Minor version number of cairomm. */ #undef CAIROMM_MINOR_VERSION /* define if the Boost library is available */ #undef HAVE_BOOST /* define if the Boost::Unit_Test_Framework library is available */ #undef HAVE_BOOST_UNIT_TEST_FRAMEWORK /* define if the compiler supports basic C++11 syntax */ #undef HAVE_CXX11 /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* 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 the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS cairomm-1.12.2/build/PaxHeaders.22062/ltversion.m40000644000000000000000000000013213012573306016342 xustar0030 mtime=1479210694.729952485 30 atime=1479210717.081944543 30 ctime=1479210737.261938677 cairomm-1.12.2/build/ltversion.m40000644000175000017500000000127313012573306020043 0ustar00murraycmurrayc00000000000000# 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) ]) cairomm-1.12.2/build/PaxHeaders.22062/ltmain.sh0000644000000000000000000000013213012573306015673 xustar0030 mtime=1479210694.617952529 30 atime=1479210717.125944529 30 ctime=1479210737.305938666 cairomm-1.12.2/build/ltmain.sh0000644000175000017500000117147413012573306017410 0ustar00murraycmurrayc00000000000000#! /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-1" 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 Debian-2.4.6-1' # 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 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: cairomm-1.12.2/build/PaxHeaders.22062/install-sh0000644000000000000000000000013213012573315016054 xustar0030 mtime=1479210701.105950057 30 atime=1479210717.125944529 30 ctime=1479210737.305938666 cairomm-1.12.2/build/install-sh0000755000175000017500000003546313012573315017570 0ustar00murraycmurrayc00000000000000#!/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: cairomm-1.12.2/build/PaxHeaders.22062/ltsugar.m40000644000000000000000000000013213012573306015776 xustar0030 mtime=1479210694.701952496 30 atime=1479210717.077944545 30 ctime=1479210737.257938679 cairomm-1.12.2/build/ltsugar.m40000644000175000017500000001044013012573306017473 0ustar00murraycmurrayc00000000000000# 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 ]) cairomm-1.12.2/build/PaxHeaders.22062/ax_boost_base.m40000644000000000000000000000013212556635625017144 xustar0030 mtime=1438333845.574094641 30 atime=1479210717.073944545 30 ctime=1479210737.253938679 cairomm-1.12.2/build/ax_boost_base.m40000664000175000017500000001463712556635625020657 0ustar00murraycmurrayc00000000000000##### http://autoconf-archive.cryp.to/ax_boost_base.html # # SYNOPSIS # # AX_BOOST_BASE([MINIMUM-VERSION]) # # DESCRIPTION # # Test for the Boost C++ libraries of a particular version (or newer) # # If no path to the installed boost library is given the macro # searchs under /usr, /usr/local, and /opt, and evaluates the # $BOOST_ROOT environment variable. Further documentation is # available at . # # This macro calls: # # AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS) # # And sets: # # HAVE_BOOST # # LAST MODIFICATION # # 2006-12-28 # # COPYLEFT # # Copyright (c) 2006 Thomas Porschberg # # 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. AC_DEFUN([AX_BOOST_BASE], [ AC_ARG_WITH([boost], AS_HELP_STRING([--with-boost@<:@=DIR@:>@], [use boost (default is No) - it is possible to specify the root directory for boost (optional)]), [ if test "$withval" = "no"; then want_boost="no" elif test "$withval" = "yes"; then want_boost="yes" ac_boost_path="" else want_boost="yes" ac_boost_path="$withval" fi ], [want_boost="yes"]) if test "x$want_boost" = "xyes"; then boost_lib_version_req=ifelse([$1], ,1.20.0,$1) boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([[0-9]]*\.[[0-9]]*\)'` boost_lib_version_req_major=`expr $boost_lib_version_req : '\([[0-9]]*\)'` boost_lib_version_req_minor=`expr $boost_lib_version_req : '[[0-9]]*\.\([[0-9]]*\)'` boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[[0-9]]*\.[[0-9]]*\.\([[0-9]]*\)'` if test "x$boost_lib_version_req_sub_minor" = "x" ; then boost_lib_version_req_sub_minor="0" fi WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor` AC_MSG_CHECKING(for boostlib >= $boost_lib_version_req) succeeded=no dnl first we check the system location for boost libraries dnl this location ist chosen if boost libraries are installed with the --layout=system option dnl or if you install boost with RPM if test "$ac_boost_path" != ""; then BOOST_LDFLAGS="-L$ac_boost_path/lib" BOOST_CPPFLAGS="-I$ac_boost_path/include" else for ac_boost_path_tmp in /usr /usr/local /opt ; do if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then BOOST_LDFLAGS="-L$ac_boost_path_tmp/lib" BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" break; fi done fi CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS AC_LANG_PUSH(C++) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ #if BOOST_VERSION >= $WANT_BOOST_VERSION // Everything is okay #else # error Boost version is too old #endif ]])],[ AC_MSG_RESULT(yes) succeeded=yes found_system=yes ],[ ]) AC_LANG_POP([C++]) dnl if we found no boost with system layout we search for boost libraries dnl built and installed without the --layout=system option or for a staged(not installed) version if test "x$succeeded" != "xyes"; then _version=0 if test "$ac_boost_path" != ""; then BOOST_LDFLAGS="-L$ac_boost_path/lib" if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` V_CHECK=`expr $_version_tmp \> $_version` if test "$V_CHECK" = "1" ; then _version=$_version_tmp fi VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE" done fi else for ac_boost_path in /usr /usr/local /opt ; do if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do _version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'` V_CHECK=`expr $_version_tmp \> $_version` if test "$V_CHECK" = "1" ; then _version=$_version_tmp best_path=$ac_boost_path fi done fi done VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'` BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE" BOOST_LDFLAGS="-L$best_path/lib" if test "x$BOOST_ROOT" != "x"; then if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/lib" && test -r "$BOOST_ROOT/stage/lib"; then version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'` stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'` stage_version_shorten=`expr $stage_version : '\([[0-9]]*\.[[0-9]]*\)'` V_CHECK=`expr $stage_version_shorten \>\= $_version` if test "$V_CHECK" = "1" ; then AC_MSG_NOTICE(We will use a staged boost library from $BOOST_ROOT) BOOST_CPPFLAGS="-I$BOOST_ROOT" BOOST_LDFLAGS="-L$BOOST_ROOT/stage/lib" fi fi fi fi CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS AC_LANG_PUSH(C++) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ #if BOOST_VERSION >= $WANT_BOOST_VERSION // Everything is okay #else # error Boost version is too old #endif ]])],[ AC_MSG_RESULT(yes) succeeded=yes found_system=yes ],[ ]) AC_LANG_POP([C++]) fi if test "$succeeded" != "yes" ; then if test "$_version" = "0" ; then AC_MSG_ERROR([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.]]) else AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).]) fi else AC_SUBST(BOOST_CPPFLAGS) AC_SUBST(BOOST_LDFLAGS) AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available]) fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi ]) cairomm-1.12.2/build/PaxHeaders.22062/config.guess0000644000000000000000000000013113012573315016367 xustar0030 mtime=1479210701.105950057 29 atime=1479210717.12194453 30 ctime=1479210737.301938667 cairomm-1.12.2/build/config.guess0000755000175000017500000012536413012573315020104 0ustar00murraycmurrayc00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2016 Free Software Foundation, Inc. timestamp='2016-04-02' # 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"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess # # 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. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2016 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'` ;; 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. case "${UNAME_MACHINE_ARCH}" in arm*|earm*|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 ;; *: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 ;; 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 ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH=i386 # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != no_compiler_found ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH=x86_64 fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = x && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[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:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH=hppa2.0n ;; 64) HP_ARCH=hppa2.0w ;; '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS="" $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = hppa2.0w ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH=hppa2.0w else HP_ARCH=hppa64 fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac 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*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${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; } ;; 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 ;; 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:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} 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.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB 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 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 ;; *: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 cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: cairomm-1.12.2/build/PaxHeaders.22062/depcomp0000644000000000000000000000013213012573315015425 xustar0030 mtime=1479210701.321949977 30 atime=1479210717.193944507 30 ctime=1479210737.389938644 cairomm-1.12.2/build/depcomp0000755000175000017500000005601613012573315017136 0ustar00murraycmurrayc00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-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. # 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: "UTC" # time-stamp-end: "; # UTC" # End: cairomm-1.12.2/build/PaxHeaders.22062/lt~obsolete.m40000644000000000000000000000013213012573306016667 xustar0030 mtime=1479210694.757952475 30 atime=1479210717.081944543 30 ctime=1479210737.261938677 cairomm-1.12.2/build/lt~obsolete.m40000644000175000017500000001377413012573306020401 0ustar00murraycmurrayc00000000000000# 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])]) cairomm-1.12.2/build/PaxHeaders.22062/ltoptions.m40000644000000000000000000000013113012573306016347 xustar0029 mtime=1479210694.66995251 30 atime=1479210717.077944545 30 ctime=1479210737.257938679 cairomm-1.12.2/build/ltoptions.m40000644000175000017500000003426213012573306020055 0ustar00murraycmurrayc00000000000000# 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])]) cairomm-1.12.2/build/PaxHeaders.22062/libtool.m40000644000000000000000000000013213012573306015761 xustar0030 mtime=1479210694.645952518 30 atime=1479210717.077944545 30 ctime=1479210737.257938679 cairomm-1.12.2/build/libtool.m40000644000175000017500000112617113012573306017470 0ustar00murraycmurrayc00000000000000# 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 cairomm-1.12.2/PaxHeaders.22062/aclocal.m40000644000000000000000000000013113012573313014611 xustar0030 mtime=1479210699.141950791 29 atime=1479210717.08994454 30 ctime=1479210737.265938676 cairomm-1.12.2/aclocal.m40000644000175000017500000021524013012573313016314 0ustar00murraycmurrayc00000000000000# generated automatically by aclocal 1.15 -*- Autoconf -*- # Copyright (C) 1996-2014 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'.])]) 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 # ============================================================================ # http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html # ============================================================================ # # SYNOPSIS # # MM_AX_CXX_COMPILE_STDCXX_11([ext|noext],[mandatory|optional]) # # DESCRIPTION # # Check for baseline language coverage in the compiler for the C++11 # standard; if necessary, add switches to CXXFLAGS to enable support. # # The first argument, if specified, indicates whether you insist on an # extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g. # -std=c++11). If neither is specified, you get whatever works, with # preference for an extended mode. # # The second argument, if specified 'mandatory' or if left unspecified, # indicates that baseline C++11 support is required and that the macro # should error out if no mode with that support is found. If specified # 'optional', then configuration proceeds regardless, after defining # HAVE_CXX11 if and only if a supporting mode is found. # # LICENSE # # Copyright (c) 2008 Benjamin Kosnik # Copyright (c) 2012 Zack Weinberg # Copyright (c) 2013 Roy Stogner # Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov # # 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. # Copied from ax_cxx_compile_stdcxx_11.m4 and added MM_ prefix to avoid # possible conflict with AX_CXX_COMPILE_STDCXX_11 in other modules. #serial 11 m4_define([_MM_AX_CXX_COMPILE_STDCXX_11_testbody], [[ template struct check { static_assert(sizeof(int) <= sizeof(T), "not big enough"); }; struct Base { virtual void f() {} }; struct Child : public Base { virtual void f() override {} }; typedef check> right_angle_brackets; int a; decltype(a) b; typedef check check_type; check_type c; check_type&& cr = static_cast(c); auto d = a; auto l = [](){}; // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable] struct use_l { use_l() { l(); } }; // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this namespace test_template_alias_sfinae { struct foo {}; template using member = typename T::member_type; template void func(...) {} template void func(member*) {} void test(); void test() { func(0); } } ]]) AC_DEFUN([MM_AX_CXX_COMPILE_STDCXX_11], [dnl m4_if([$1], [], [], [$1], [ext], [], [$1], [noext], [], [m4_fatal([invalid argument `$1' to MM_AX_CXX_COMPILE_STDCXX_11])])dnl m4_if([$2], [], [ax_cxx_compile_cxx11_required=true], [$2], [mandatory], [ax_cxx_compile_cxx11_required=true], [$2], [optional], [ax_cxx_compile_cxx11_required=false], [m4_fatal([invalid second argument `$2' to MM_AX_CXX_COMPILE_STDCXX_11])]) AC_LANG_PUSH([C++])dnl ac_success=no AC_CACHE_CHECK(whether $CXX supports C++11 features by default, ax_cv_cxx_compile_cxx11, [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_MM_AX_CXX_COMPILE_STDCXX_11_testbody])], [ax_cv_cxx_compile_cxx11=yes], [ax_cv_cxx_compile_cxx11=no])]) if test x$ax_cv_cxx_compile_cxx11 = xyes; then ac_success=yes fi m4_if([$1], [noext], [], [dnl if test x$ac_success = xno; then for switch in -std=gnu++11 -std=gnu++0x; do cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch]) AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch, $cachevar, [ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $switch" AC_COMPILE_IFELSE([AC_LANG_SOURCE([_MM_AX_CXX_COMPILE_STDCXX_11_testbody])], [eval $cachevar=yes], [eval $cachevar=no]) CXXFLAGS="$ac_save_CXXFLAGS"]) if eval test x\$$cachevar = xyes; then CXXFLAGS="$CXXFLAGS $switch" ac_success=yes break fi done fi]) m4_if([$1], [ext], [], [dnl if test x$ac_success = xno; then dnl HP's aCC needs +std=c++11 according to: dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf for switch in -std=c++11 -std=c++0x +std=c++11; do cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx11_$switch]) AC_CACHE_CHECK(whether $CXX supports C++11 features with $switch, $cachevar, [ac_save_CXXFLAGS="$CXXFLAGS" CXXFLAGS="$CXXFLAGS $switch" AC_COMPILE_IFELSE([AC_LANG_SOURCE([_MM_AX_CXX_COMPILE_STDCXX_11_testbody])], [eval $cachevar=yes], [eval $cachevar=no]) CXXFLAGS="$ac_save_CXXFLAGS"]) if eval test x\$$cachevar = xyes; then CXXFLAGS="$CXXFLAGS $switch" ac_success=yes break fi done fi]) AC_LANG_POP([C++]) if test x$ax_cxx_compile_cxx11_required = xtrue; then if test x$ac_success = xno; then AC_MSG_ERROR([*** A compiler with support for C++11 language features is required.]) fi else if test x$ac_success = xno; then HAVE_CXX11=0 AC_MSG_NOTICE([No compiler with C++11 support was found]) else HAVE_CXX11=1 AC_DEFINE(HAVE_CXX11,1, [define if the compiler supports basic C++11 syntax]) fi AC_SUBST(HAVE_CXX11) fi ]) #serial 20090814 AC_DEFUN([_MM_PRE_INIT], [m4_pattern_forbid([^_?MM_])]) m4_define([_MM_PREREQ], [dnl m4_if(m4_quote(m4_version_compare([$2], [$3])), [-1], [m4_fatal([$4 requires $1 $3 (version $2 is installed)])])[]dnl ]) AC_DEFUN([MM_PREREQ], [dnl m4_assert([$# >= 1])[]dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl _MM_PREREQ([mm-common], [0.9.10], [$1], m4_defn([AC_PACKAGE_NAME]))[]dnl ]) #serial 20110327 m4_define([_MM_CONFIG_DOCTOOL_DIR], [dnl AC_PROVIDE([$0])[]dnl AC_REQUIRE([PKG_PROG_PKG_CONFIG])[]dnl dnl AC_MSG_CHECKING([location of documentation utilities]) AS_IF([test "x$MMDOCTOOLDIR" = x], [ MMDOCTOOLDIR=`$PKG_CONFIG --variable=doctooldir mm-common-util 2>&AS_MESSAGE_LOG_FD` AS_IF([test "[$]?" -ne 0], [AC_MSG_ERROR([[not found The required module mm-common-util could not be found on this system. If you are running a binary distribution and the mm-common package is installed, make sure that any separate development package for mm-common is installed as well. If you built mm-common yourself, it may be necessary to adjust the PKG_CONFIG_PATH environment variable for pkg-config to find it. ]])]) ]) AC_MSG_RESULT([$MMDOCTOOLDIR])[]dnl ]) AC_DEFUN([MM_CONFIG_DOCTOOL_DIR], [dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([MM_CHECK_GNU_MAKE])[]dnl m4_ifval([$1], [MMDOCTOOLDIR='[$]{top_srcdir}/$1'], [AC_REQUIRE([_MM_CONFIG_DOCTOOL_DIR])]) AM_CONDITIONAL([DIST_DOCTOOLS], [test 'x$1' != 'x'])dnl AC_SUBST([MMDOCTOOLDIR])[]dnl ]) m4_define([_MM_ARG_ENABLE_DOCUMENTATION], [dnl AC_PROVIDE([$0])[]dnl dnl AC_ARG_VAR([DOT], [path to dot utility])[]dnl AC_ARG_VAR([DOXYGEN], [path to Doxygen utility])[]dnl AC_ARG_VAR([XSLTPROC], [path to xsltproc utility])[]dnl dnl AC_PATH_PROG([DOT], [dot], [dot]) AC_PATH_PROG([DOXYGEN], [doxygen], [doxygen]) AC_PATH_PROG([XSLTPROC], [xsltproc], [xsltproc]) dnl AC_ARG_ENABLE([documentation], [AS_HELP_STRING([--disable-documentation], [do not build or install the documentation])], [ENABLE_DOCUMENTATION=$enableval], [ENABLE_DOCUMENTATION=auto]) AS_IF([test "x$ENABLE_DOCUMENTATION" != xno], [ mm_err= AS_IF([test "x$MMDOCTOOLDIR" = x], [mm_err='dnl The mm-common-util module is available, but the installation of mm-common on this machine is missing the shared documentation utilities of the GNOME C++ bindings. It may be necessary to upgrade to a more recent release of mm-common in order to build '$PACKAGE_NAME' and install the documentation.'], [test "x$PERL" = xperl], [mm_err='Perl is required for installing the documentation.'], [test "x$USE_MAINTAINER_MODE" != xno], [ test "x$DOT" != xdot || mm_err=' dot' test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen" test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc" test -z "$mm_err" || mm_err='The documentation cannot be generated because not all of the required tools are available:'$mm_err ]) AS_IF([test -z "$mm_err"], [ENABLE_DOCUMENTATION=yes], [test "x$ENABLE_DOCUMENTATION" = xyes], [AC_MSG_FAILURE([[$mm_err]])], [ENABLE_DOCUMENTATION=no; AC_MSG_WARN([[$mm_err]])]) ]) AM_CONDITIONAL([ENABLE_DOCUMENTATION], [test "x$ENABLE_DOCUMENTATION" = xyes]) AC_SUBST([DOXYGEN_TAGFILES], [[]]) AC_SUBST([DOCINSTALL_FLAGS], [[]])[]dnl ]) AC_DEFUN([MM_ARG_ENABLE_DOCUMENTATION], [dnl AC_BEFORE([$0], [MM_ARG_WITH_TAGFILE_DOC])[]dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([MM_CONFIG_DOCTOOL_DIR])[]dnl AC_REQUIRE([MM_PATH_PERL])[]dnl AC_REQUIRE([_MM_ARG_ENABLE_DOCUMENTATION])[]dnl ]) m4_define([_MM_TR_URI], [dnl [`expr "X$1" : 'X\(.*[^\\/]\)[\\/]*' 2>&]AS_MESSAGE_LOG_FD[ |]dnl [ sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&]AS_MESSAGE_LOG_FD[`]dnl ]) m4_define([_MM_ARG_WITH_TAGFILE_DOC], [dnl AC_MSG_CHECKING([for $1 documentation]) AC_ARG_WITH([$1-doc], [AS_HELP_STRING([[--with-$1-doc=[TAGFILE@]HTMLREFDIR]], [Link to external $1 documentation]m4_ifval([$4], [[ [auto]]]))], [ mm_htmlrefdir=`[expr "X@$withval" : '.*@\(.*\)' 2>&]AS_MESSAGE_LOG_FD` mm_tagname=`[expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&]AS_MESSAGE_LOG_FD` mm_tagpath=`[expr "X$withval" : 'X\([^@]*\)@' 2>&]AS_MESSAGE_LOG_FD` test "x$mm_tagname" != x || mm_tagname="$3" test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname[]dnl ], [ mm_htmlrefdir= mm_tagname="$3" mm_tagpath=$mm_tagname[]dnl ]) # Prepend working direcory if the tag file path starts with ./ or ../ AS_CASE([$mm_tagpath], [[.[\\/]*|..[\\/]*]], [mm_tagpath=`pwd`/$mm_tagpath]) m4_ifval([$4], [dnl # If no local directory was specified, get the default from the .pc file AS_IF([test "x$mm_htmlrefdir" = x], [ mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "$4" 2>&AS_MESSAGE_LOG_FD`dnl ]) # If the user specified a Web URL, allow it to override the public location AS_CASE([$mm_htmlrefdir], [[http://*|https://*]], [mm_htmlrefpub=$mm_htmlrefdir], [ mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "$4" 2>&AS_MESSAGE_LOG_FD` test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub ]) # The user-supplied tag-file name takes precedence if it includes the path AS_CASE([$mm_tagpath], [[*[\\/]*]],, [ mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "$4" 2>&AS_MESSAGE_LOG_FD` test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile ]) # Remove trailing slashes and translate to URI mm_htmlrefpub=_MM_TR_URI([$mm_htmlrefpub]) ])[]dnl mm_htmlrefdir=_MM_TR_URI([$mm_htmlrefdir]) AC_MSG_RESULT([$mm_tagpath@$mm_htmlrefdir]) AS_IF([test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"], [AC_MSG_WARN([Doxygen tag file $3 not found])]) AS_IF([test "x$mm_htmlrefdir" = x], [AC_MSG_WARN([Location of external $1 documentation not set])], [AS_IF([test "x$DOCINSTALL_FLAGS" = x], [DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"], [DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"])]) AS_IF([test "x$mm_$2" = x], [mm_val=$mm_tagpath], [mm_val="$mm_tagpath=$mm_$2"]) AS_IF([test "x$DOXYGEN_TAGFILES" = x], [DOXYGEN_TAGFILES=[\]"$mm_val[\]"], [DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "[\]"$mm_val[\]"])[]dnl ]) AC_DEFUN([MM_ARG_WITH_TAGFILE_DOC], [dnl m4_assert([$# >= 1])[]dnl m4_ifval([$2], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])])[]dnl AC_REQUIRE([MM_CONFIG_DOCTOOL_DIR])[]dnl AC_REQUIRE([_MM_ARG_ENABLE_DOCUMENTATION])[]dnl dnl AS_IF([test "x$ENABLE_DOCUMENTATION" != xno], [_MM_ARG_WITH_TAGFILE_DOC(m4_quote(m4_bpatsubst([$1], [[+]*\([-+][0123456789]\|[._]\).*$])), [htmlref]m4_ifval([$2], [[pub]], [[dir]]), [$1], [$2])])[]dnl ]) #serial 20091228 m4_define([_MM_INIT_MODULE_VERSION], [dnl m4_ifval([$3], [AC_SUBST([$2][_MAJOR_VERSION], [$3]) AC_DEFINE([$2][_MAJOR_VERSION], [$3], [Major version number of $1.]) ])[]dnl m4_ifval([$4], [AC_SUBST([$2][_MINOR_VERSION], [$4]) AC_DEFINE([$2][_MINOR_VERSION], [$4], [Minor version number of $1.]) ])[]dnl m4_ifval([$5], [AC_SUBST([$2][_MICRO_VERSION], [$5]) AC_DEFINE([$2][_MICRO_VERSION], [$5], [Micro version number of $1.]) ])[]dnl ]) m4_define([_MM_INIT_MODULE_SUBST], [dnl AC_SUBST([$5][_MODULE_NAME], ['$1']) AC_SUBST([$5][_VERSION], ['$2']) m4_ifval([$4], [AC_SUBST([$5][_API_VERSION], ['$4']) ])[]dnl _MM_INIT_MODULE_VERSION([$3], [$5], m4_bpatsubst([$2], [[^0123456789]+], [,]))[]dnl ]) m4_define([_MM_INIT_MODULE_BASENAME], [_MM_INIT_MODULE_SUBST([$1], [$2], [$3], [$4], m4_quote(AS_TR_CPP(m4_quote(m4_translit([$3], [+], [X])))))]) AC_DEFUN([MM_INIT_MODULE], [dnl m4_assert([$# >= 1])[]dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([MM_CHECK_GNU_MAKE])[]dnl _MM_INIT_MODULE_BASENAME([$1], m4_quote(m4_ifval([$2], [$2], m4_defn([AC_PACKAGE_VERSION]))), m4_quote(m4_bpatsubst([$1], [[-.0123456789]+$])), m4_quote(m4_bregexp([$1], [-?\([.0123456789]+\)$], [\1])))[]dnl ]) #serial 20090822 m4_define([_MM_CHECK_GNU_MAKE], [dnl AC_PROVIDE([$0])[]dnl AC_MSG_CHECKING([whether [$]{MAKE-make} supports GNU make features]) cat >conftest.make <<'_MMEOF' override reverse = [$](2)[$](subst ,, )[$](1) override result := [$](word 2,[$](call reverse,success,failure)) all: ; test '[$](result)' = success .PHONY: all _MMEOF AS_IF([[$]{MAKE-make} -f conftest.make >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD], [mm_gnu_make=yes], [mm_gnu_make=no]) rm -f conftest.make AC_MSG_RESULT([$mm_gnu_make]) AS_IF([test "x$mm_gnu_make" != xyes], [AC_MSG_FAILURE([[The GNU make program is required to build $PACKAGE_NAME.]])])[]dnl ]) AC_DEFUN([MM_CHECK_GNU_MAKE], [dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([_MM_CHECK_GNU_MAKE])[]dnl ]) m4_define([_MM_PATH_PERL], [dnl AC_PROVIDE([$0])[]dnl AC_ARG_VAR([PERL], [path to Perl interpreter])[]dnl AC_PATH_PROG([PERL], [perl], [perl])[]dnl ]) AC_DEFUN([MM_PATH_PERL], [dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([_MM_PATH_PERL])[]dnl ]) m4_define([_MM_CHECK_PERL], [dnl AS_IF([$PERL -e "require v$1; exit 0;" >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD], [$2], m4_ifval([$2$3], [[$3]], [[AC_MSG_FAILURE([[At least Perl ]$1[ is required to build $PACKAGE_NAME.]])]]))[]dnl ]) AC_DEFUN([MM_CHECK_PERL], [dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([_MM_PATH_PERL])[]dnl _MM_CHECK_PERL(m4_ifval([$1], [[$1]], [[5.6.0]]), [$2], [$3])[]dnl ]) AC_DEFUN([MM_PKG_CONFIG_SUBST], [dnl m4_assert([$# >= 2])[]dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([PKG_PROG_PKG_CONFIG])[]dnl AC_MSG_CHECKING([for $1]) dnl AS_IF([test -z "[$]{$1+set}"], [$1=`$PKG_CONFIG $2 2>&AS_MESSAGE_LOG_FD` AS_IF([test "[$]?" -eq 0], [$3], [$4])]) dnl AC_MSG_RESULT([[$]$1]) AC_SUBST([$1])[]dnl ]) #serial 20091103 m4_define([_MM_ARG_ENABLE_WARNINGS_OPTION], [dnl AC_PROVIDE([$0])[]dnl AC_ARG_ENABLE([warnings], [AS_HELP_STRING([[--enable-warnings[=min|max|fatal|no]]], [set compiler pedantry level [default=min]])], [mm_enable_warnings=$enableval], [mm_enable_warnings=min])[]dnl ]) AC_DEFUN([MM_ARG_ENABLE_WARNINGS], [dnl m4_assert([$# >= 3])[]dnl AC_REQUIRE([_MM_PRE_INIT])[]dnl AC_REQUIRE([_MM_ARG_ENABLE_WARNINGS_OPTION])[]dnl dnl AS_CASE([$ac_compile], [[*'$CXXFLAGS '*]], [mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.[$]{ac_ext-cc}"], [[*'$CFLAGS '*]], [mm_lang=C mm_cc=$CC mm_conftest="conftest.[$]{ac_ext-c}"], [AC_MSG_ERROR([[current language is neither C nor C++]])]) dnl AC_MSG_CHECKING([which $mm_lang compiler warning flags to use]) m4_ifval([$4], [mm_deprecation_flags= ])mm_tested_flags= dnl AS_CASE([$mm_enable_warnings], [no], [mm_warning_flags=], [max], [mm_warning_flags="$3"], [fatal], [mm_warning_flags="$3 -Werror"[]m4_ifval([$4], [ for mm_prefix in $4 do mm_deprecation_flags="$mm_deprecation_flags-D[$]{mm_prefix}_DISABLE_DEPRECATED " done])], [mm_warning_flags="$2"]) dnl AS_IF([test "x$mm_warning_flags" != x], [ # Keep in mind that the dummy source must be devoid of any # problems that might cause diagnostics. AC_LANG_CONFTEST([AC_LANG_SOURCE([[ int main(int argc, char** argv) { return !argv ? 0 : argc; } ]])]) for mm_flag in $mm_warning_flags do # Test whether the compiler accepts the flag. Look at standard output, # since GCC only shows a warning message if an option is not supported. mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed` rm -f "conftest.[$]{OBJEXT-o}" AS_IF([test "x$mm_cc_out" = x], [AS_IF([test "x$mm_tested_flags" = x], [mm_tested_flags=$mm_flag], [mm_tested_flags="$mm_tested_flags $mm_flag"])], [cat <<_MMEOF >&AS_MESSAGE_LOG_FD $mm_cc: $mm_cc_out _MMEOF ]) done rm -f "$mm_conftest" ]) mm_all_flags=m4_ifval([$4], [$mm_deprecation_flags])$mm_tested_flags AC_SUBST([$1], [$mm_all_flags]) dnl test "x$mm_all_flags" != x || mm_all_flags=none AC_MSG_RESULT([$mm_all_flags])[]dnl ]) # Copyright (C) 2002-2014 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], [], [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])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996-2014 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_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless 'enable' is passed literally. # For symmetry, 'disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode], am_maintainer_other[ make rules and dependencies not useful (and sometimes confusing) to the casual installer])], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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-2014 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([build/ax_boost_base.m4]) m4_include([build/ax_boost_unit_test_framework.m4]) m4_include([build/libtool.m4]) m4_include([build/ltoptions.m4]) m4_include([build/ltsugar.m4]) m4_include([build/ltversion.m4]) m4_include([build/lt~obsolete.m4]) m4_include([build/reduced.m4]) cairomm-1.12.2/PaxHeaders.22062/ChangeLog0000644000000000000000000000013213012573361014527 xustar0030 mtime=1479210737.733938555 30 atime=1479210737.721938557 30 ctime=1479210737.733938555 cairomm-1.12.2/ChangeLog0000644000175000017500000030117013012573361016227 0ustar00murraycmurrayc000000000000002016-11-15 Murray Cumming 1.12.2 2016-11-15 Murray Cumming Revert "Added C++ wrapper around cairo_recording_surface" This reverts commit 14bda0b09cd1650b46c758d2b0a9dbae8f007d62. New API should not be added in a stable branch. 2016-11-15 Murray Cumming 1.12.1 2016-11-15 Murray Cumming Revert "RecordingSurface: Correct some whitespace." This reverts commit d5dda4daa8dbf4fec6e420d54f67669264827e30. API additions shouldn't be in a stable branch. 2016-04-10 Murray Cumming C++11: RefPtr: Make operator bool explicit. See https://bugzilla.gnome.org/show_bug.cgi?id=626858#c4 2016-04-10 Murray Cumming RecordingSurface: Correct some whitespace. 2016-04-10 Jason Rhinelander Added C++ wrapper around cairo_recording_surface Bug #121359 2016-02-09 Murray Cumming C++11: Use override keyword on destructors. 2015-11-23 Murray Cumming RefPtr: Use nullptr instead of 0. 2015-09-21 Murray Cumming 1.12.0 2015-09-21 Murray Cumming RefPtr: Use noexcept, as in Glib::RefPtr. 2015-09-10 Chun-wei Fan cairomm/exception.h: Allow Build on Visual Studio 2013 Visual Studio 2013 has one catch for its C++-11 support: It does not support noexcept, but has its own _NOEXCEPT for the same purpose. Add a define for it, while defining the _ALLOW_KEYWORD_MACROS as newer Visual Studio Versions do not allow one to define known keywords, even if it is not supported, by default. 2015-09-10 Chun-wei Fan MSVC Builds: Support Visual Studio 2013 (and later) Only This removes the Visual Studio 2005 and 2008 projects, and updates the Visual Studio 2010 projects to become 2013 projects, as only Visual Studio 2013 and later support enough of C++-11 to build cairomm in its current state. Also update the README in MSVC_Net2013/ to reflect on this situation. 2015-08-21 Murray Cumming MSVC_Net2010/filelist.am: Correct the .props filenames 2015-08-20 Chun-wei Fan Overhaul The Visual Studio 2010 Projects Like the Visual Studio 2008 Projects, give the Visual Studio 2010 Projects an overhaul by using property sheets to consolidate commonly-used items, and moving all the projects to MSVC_Net2010, so that they can be more easily maintained. https://bugs.freedesktop.org/show_bug.cgi?id=84030 2015-08-20 Chun-wei Fan Update and Overhaul the Visual Studio 2008 Projects Move all the projects to MSVC_Net2008/, and add property sheets for the projects so that commonly-used items can be consolidated and referred from the projects, which will help simplify future maintenance. Also remove items from the projects that aren't really needed, as they add quite a bit of clutter. Add the newly-added source files to the cairomm project as well, as the cairomm project has bit rotted a little. https://bugs.freedesktop.org/show_bug.cgi?id=84030 2015-08-20 Chun-wei Fan fontface/fontoption: Check for CAIRO_HAS_FC_FONT This updates the fontface and fontoptions sources so that they will check for whether Cairo was built with FontConfig (in addition to FreeType) so that cairomm would still build when we have Cairo built with FreeType but without FontConfig, which for example may well be the case on Windows builds. https://bugs.freedesktop.org/show_bug.cgi?id=84033 2015-08-20 Murray Cumming Add TODO about using std::shared_ptr<> instead. 2015-08-20 Murray Cumming RefPtr: Add move constructors and move operator=(). Roughly based on the same changes in Glib::RefPtr<>. 2015-08-12 Murray Cumming 1.11.4 2015-07-31 Murray Cumming C++11: Use = delete instead of private constructors. 2015-07-31 Murray Cumming C++11: Use of nullptr. 2015-07-31 Murray Cumming C++11: Use auto. 2015-07-31 Murray Cumming C++11: Use the override keyword. 2015-07-31 Murray Cumming C++11: Use noexcept instead of throw(). 2015-07-31 Murray Cumming configure.ac: Add some more warnings for --enable-warnings=fatal. Not using -Wshadow because that breaks the build: matrix.cc:28:80: error: declaration of 'y0' shadows a member of 'this' [-Werror=shadow] Matrix::Matrix(double xx, double yx, double xy, double yy, double x0, double y0) 2015-07-31 Murray Cumming configure.ac: Avoid deprecated libsigc++ API. No code changes were necessary. 2015-07-31 Murray Cumming Use (and require) C++11. And use the latest version of libsigc++, which also requires C++11. 2014-04-09 David Weiß Update MSVC.Net 2010 project files. https://bugs.freedesktop.org/show_bug.cgi?id=76820 2014-02-21 Povilas Kanapickas Wrap cairo script device and script surface APIs 2014-02-21 Povilas Kanapickas Wrap FtFontFace::{get,set,unset}_synthesize 2014-02-21 Povilas Kanapickas Remove no longer useful .cvsignore files 2014-02-11 Murray Cumming Updating version to odd number for git. 2014-02-11 Murray Cumming 1.11.2, because we use even micros for releases. 2014-02-11 Murray Cumming 1.11.1 2014-02-11 Murray Cumming Autogenerate the ChangeLog 2014-01-28 Murray Cumming Improve some deprecation comments. 2014-01-28 Povilas Kanapickas Add Pattern::{set_extend,get_extend} * cairomm/pattern.{cc,h}: set_extend and get_extend functions apply not only to surface patterns, but to linear and radial gradients too. Bug #73775 2014-01-28 Anton Bachin Allow use from Objective-C instead of just allowing building. * cairomm/fontface.h: Surround the include line in surface.h with some directives that undefine nil and then redefine it. * cairomm/surface.h: This aso undefined nil but this appears to be unnecessary. Bug #66328 2014-01-28 Murray Cumming Avoid dereferencing empty std::vector<>s. * cairomm/context.cc: Check with empty() before using [0] on a vector. Apparently gcc allows this, but MSVC (probably correctly) does not. This fixes a crash on MS Windows. Bug #36020 (Robert Kurjata) 2014-01-28 Murray Cumming ScaledFont: Add the missing get_extents() method implementation. Bug #53981 (cheshirekow) 2012-03-12 Mark Vender Use GNOME style in the documentation 2012-03-12 Murray Cumming Fix linker problem with the examples. * examples/Makefile.am: Add CAIROMM_LIBS. This is needed now to a change in behaviour of the linker in recent distro versions. 2012-03-12 Mark Vender Update the documentation 2011-05-09 Murray Cumming 1.10.0 2010-12-31 Jonathon Jongsma Ignore some more msvc build files 2010-12-31 Jonathon Jongsma Bump micro version after release 2010-12-31 Jonathon Jongsma Disable fatal warnings on distcheck for now cairo.h has an extra comma at the end of an enumeration, which causes a warning, so making warnings fatal in distcheck makes it impossible to release. 2010-12-31 Jonathon Jongsma Update NEWS for 1.9.8 release, bump version Also require a newer cairo (1.10.0) 2010-12-30 Jonathon Jongsma Wrap cairo_surface_create_for_rectangle() 2010-12-30 Jonathon Jongsma Add PDF versioning API New PdfSurface functions: get_versions() restrict_to_version() version_to_string() 2010-12-30 Jonathon Jongsma Add Device documentation 2010-12-30 Jonathon Jongsma Add Device::Lock for acquiring devices safely To aid in acquiring devices in an exception-safe manner, a convenience class Device::Lock was added that acquires the specified device for the duration of the object. 2010-12-30 Jonathon Jongsma Wrap cairo_device_acquire|release() 2010-12-30 Jonathon Jongsma Wrap cairo_surface_get_device() 2010-12-30 Jonathon Jongsma Add Region documentation 2010-12-30 Jonathon Jongsma Wrap cairo_region_xor_* 2010-12-30 Jonathon Jongsma Wrap cairo_region_create_rectangles() 2010-12-30 Jonathon Jongsma Wrap Region::copy() 2010-12-30 Jonathon Jongsma Provide static factory functions for Region Since Region objects are ref-counted, don't allow them to be instantiated manually, but provide static create() functions for automatically managing them with RefPtrs. Also, remember to check the error status when creating them. 2010-12-30 Jonathon Jongsma Fix Region api to throw exception rather than return status All other API throws exceptions instead of returning error statuses, so make this be consistent as well. (the only possible error for these operations is NO_MEMORY) 2010-12-30 Jonathon Jongsma Add new surface type enums These are not really used in cairomm, but it's nice to have them defined in any case. 2010-11-03 Murray Cumming A NEWS entry for a future release. 2010-11-03 Murray Cumming Context::arc(): Correct the documentation, as in the C documentation. * cairomm/context.h: arc(): Update the documentation based on the latest version of the cairo_arc() documentation, which was apparently fixed since we last wrote the C++ documentation based on it. This fixes bug #31345 (Christopher Head) about bad math in arc() documentation. 2010-10-26 Murray Cumming Post-release version increment 2010-10-26 Armin Burgmeier Fix the build with MSVC (really) The previous commit only included the ChangeLog for some reason. 2009-10-26 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: * MSVC_Net2008/cairomm/cairomm.rc.in: Replaced GENERIC_MAJOR_VERSION et al. by CAIROMM_MAJOR_VERSION, so that they are properly replaced during configure. * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/user-font/user-font.vcproj: Added $(SolutionDir)/cairomm to the include search paths, so that cairommconfig.h is found even if configure did not run. * cairomm/fontface.cc: MSVC does not allow to reinterpret_cast a bool to void*, so use an int instead. * examples/surfaces/image-surface.cc: * examples/surfaces/pdf-surface.cc: * examples/surfaces/ps-surface.cc: * examples/surfaces/svg-surface.cc: * examples/text/text-rotate.cc: Define _USE_MATH_DEFINES before including anything, to make sure we get the defines even if math.h is included indirectly via another header. * cairomm/context.cc: In set_dash(std::valarray), copy the valarray into a vector and then call set_dash(std::vector). The reason is that there is no guarantee that the memory in a std::valarray is contiguous, and also that in MSVC's STL (and also in the C++ standard) std::valarray::operator[](size_t) const returns a T, not a const T&, so &dashes[0] is a compiler error if dashes is a const std::valarray&. 2010-10-22 Armin Burgmeier Added support for 64 bit and Visual Studio 2010. * MSVC_Net2008/.cvsignore: * MSVC_Net2005/examples/png-file/png-file.vcproj: * MSVC_Net2008/examples/png-file/png-file.vcproj: Removed. * MSVC_Net2005/README: * MSVC_Net2005/cairomm.sln: * MSVC_Net2005/cairomm/cairomm.vcproj: * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2005/gendef/gendef.vcproj: * MSVC_Net2008/README: * MSVC_Net2008/cairomm.sln: * MSVC_Net2008/cairomm/cairomm.vcproj: * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/user-font/user-font.vcproj: * MSVC_Net2008/gendef/gendef.vcproj: * MSVC_Net2010/README: * MSVC_Net2010/cairomm.sln: * MSVC_Net2010/cairomm/cairomm.rc.in: * MSVC_Net2010/cairomm/cairomm.vcxproj: * MSVC_Net2010/cairomm/cairomm.vcxproj.filters: * MSVC_Net2010/examples/image-surface/image-surface.vcxproj: * MSVC_Net2010/examples/image-surface/image-surface.vcxproj.filters: * MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj: * MSVC_Net2010/examples/pdf-surface/pdf-surface.vcxproj.filters: * MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj: * MSVC_Net2010/examples/ps-surface/ps-surface.vcxproj.filters: * MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj: * MSVC_Net2010/examples/svg-surface/svg-surface.vcxproj.filters: * MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj: * MSVC_Net2010/examples/text-rotate/text-rotate.vcxproj.filters: * MSVC_Net2010/examples/toy-text/toy-text.vcxproj: * MSVC_Net2010/examples/toy-text/toy-text.vcxproj.filters: * MSVC_Net2010/examples/user-font/user-font.vcxproj: * MSVC_Net2010/examples/user-font/user-font.vcxproj.filters: * MSVC_Net2010/filelist.am: * MSVC_Net2010/gendef/gendef.cc: * MSVC_Net2010/gendef/gendef.vcxproj: * MSVC_Net2010/gendef/gendef.vcxproj.filters: * Makefile.am: * configure.ac: Added support for 64 bit and Visual Studio 2010. 2010-10-22 Murray Cumming Update for the 1.9.4 release that I made without pulling 2010-09-10 Murray Cumming Context, Surface: Add some new methods. * cairomm/context.[h|cc]: Added in_clip(). * cairomm/surface.[h|cc]: Added get_mime_data(), set_mime_data(), unset_mime_data(). 2010-09-07 Murray Cumming Added Device class. * cairomm/device.[h|cc]: Added these files, wrapping cairo_device_t. * cairomm/filelist.am: * cairomm/cairomm.h: Mention the new file. 2010-09-06 Murray Cumming 1.9.2 2010-09-02 Murray Cumming Context: set_dash(): Make the dashes parameter const. * cairomm/context.[h|cc]: set_dash(): Add versions that take a const vector parameter, deprecating the old versions. 2010-09-02 Murray Cumming Context: Make some methods const, deprecating the non-const versions. * cairomm/context.h: device_to_user(, device_to_user_distance(), user_to_device(), user_to_device_distance(): Deprecate the non-const versions, adding const versions. 2010-09-02 Ian Britten 2010-06-10 Ian Britten Cleanup of most -Weffc++ warnings (Continuation of previous commit) Bug #28246 * cairomm/fontface.h (FontFace::FontFace): * cairomm/path.h (Path::Path): * cairomm/pattern.h (Pattern::Pattern): * cairomm/scaledfont.h (ScaledFont::ScaledFont): * cairomm/surface.h (Surface::Surface): Declare a private copy constructor and assignment operator in order to explicitly prevent objects from being copied by value. That was never valid, and not disallowing it seems to have been merely an oversight. * cairomm/fontoptions.cc: * cairomm/scaledfont.cc: Initialize member(s) in initialization list. * cairomm/scaledfont.h: Declared ~ScaledFont() virtual 2010-07-19 Murray Cumming 1.9.1 2010-07-06 Murray Cumming Add Region, wrapping cairo_region_t, new in cairo 1.10. * cairomm/region.[h|cc]: Added this class, wrapping it like other reference-counted types, such as Pattern. * cairomm/cairomm.h: Add an include of it here. * cairomm/filelist.am: Mention the new files here. 2010-06-07 Daniel Elstner Disallow copying of Cairo::Context objects * cairomm/context.h (Cairo::Context): Declare a private copy constructor and assignment operator in order to explicitly prevent objects from being copied by value. That was never valid, and not disallowing it seems to have been merely an oversight. 2010-06-07 Daniel Elstner Do not unnecessarily cast booleans to pointers * cairomm/fontface.cc (USER_DATA_KEY_DEFAULT_TEXT_TO_GLYPHS): Put dummy object into an anonymous namespace and make it static. (UserFontFace::text_to_glyphs): Do not cast a boolean to a pointer in order to indicate state via the font face's user data. There are fairly safe alternative casts to do this, but it is much simpler to just take the address of any existing object to get a non-0 pointer. (UserFontFace::UserFontFace): Remove unnecessary casts. 2010-06-07 Armin Burgmeier Fix the build with MSVC 2009-10-26 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: * MSVC_Net2008/cairomm/cairomm.rc.in: Replaced GENERIC_MAJOR_VERSION et al. by CAIROMM_MAJOR_VERSION, so that they are properly replaced during configure. * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/user-font/user-font.vcproj: Added $(SolutionDir)/cairomm to the include search paths, so that cairommconfig.h is found even if configure did not run. * cairomm/fontface.cc: MSVC does not allow to reinterpret_cast a bool to void*, so use an int instead. * cairomm/context.cc: * examples/surfaces/image-surface.cc: * examples/surfaces/pdf-surface.cc: * examples/surfaces/ps-surface.cc: * examples/surfaces/svg-surface.cc: * examples/text/text-rotate.cc: Define _USE_MATH_DEFINES before including anything, to make sure we get the defines even if math.h is included indirectly via another header. 2010-06-07 Augusto Jun Devegili Put ifdefs around 32-bit-only API, to fix the build on 64-bit machines. * cairomm/quartz_font.[h|cc]: Use #ifndef __LP64__, as cairo does. 2010-06-07 Murray Cumming Fix the ChangeLog. 2010-06-07 Murray Cumming Actually install cairomm-xlib-xrender-1.0.pc. * configure.ac: Fix a typo in the check for xlib-xrender support in cairo. Fixes bug #27066. 2010-04-20 Daniel Elstner Clean up configure.ac and add silent rules support * configure.ac (AC_INIT): Specify correct URLs for bug reports and the project home page. (AM_SILENT_RULES): Call macro if defined. (MM_PREREQ): Require mm-common 0.8. (BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB): Rewrite the fragile shell code of the boost check. 2009-10-19 Jonathon Jongsma bump to 1.8.4, update NEWS 2009-08-13 Jonathon Jongsma Don't force tests to be enabled when CAIROMM_DEVEL is defined This was hacked in to ensure that I always built with tests enabled, but the boost configure detection scripts are broken right now on my setup, so this just hinders my ability to get things done. remove it. 2009-08-13 Daniel Elstner Distribute mm-common documentation utilities * docs/Makefile.am (dist_noinst_DATA): List the utility scripts installed by mm-common-prepare here, so they will be distributed. 2009-08-13 Daniel Elstner Add missing call to MM_CONFIG_DOCTOOL_DIR * configure.ac: Call MM_CONFIG_DOCTOOL_DIR([docs]) to indicate to mm-common-prepare that this module cannot depend on the utilities shipped with glibmm, and needs its own copies. 2009-08-13 Daniel Elstner Fix left-over cairomm/cairommconfig.h includes * cairomm/cairomm.h: Remove directory prefix from cairommconfig.h include statement. * cairomm/context.cc: Include unconditionally instead of conditionally including . * examples/surfaces/*.cc: ditto, * examples/text/text-rotate.cc: ditto. 2009-08-13 Daniel Elstner Review and clean up after build overhaul * autogen.sh: Pass --enable-maintainer-mode to ./configure since the automatic rebuild of the reference documentation is only enabled in maintainer mode. AM_MAINTAINER_MODE is already in configure.ac. * configure.ac (AC_CONFIG_HEADERS): Prepend build/config.h to the list of header files, because the first file in the list has its .in file generated by autoheader, and will thus include every AC_DEFINE from every Autoconf macro that is used. The macros defined in the installed cairommconfig.h header should be namespaced and limited to meta information about the installed cairomm library. Also move cairommconfig.h to the top-level directory, in order to avoid the need to add the cairomm/ subdirectory to the include path. (PKG_CHECK_MODULES): Collapse the checks for optional cairo modules into a loop, and use PKG_CHECK_EXISTS() instead of the full-blown PKG_CHECK_MODULES(). Also, be a bit cleverer about the lists of .pc files and module names generated along the way. (AC_CONFIG_FILES): List all potentially installed files literally, instead of creating the list of output files dynamically. This is much simpler and also gets us free shipping. Remove data/Makefile. * cairommconfig.h.in: Add file to repository, as it should not be autogenerated. Of the content, keep only the CAIROMM_ namespaced macros. * cairomm/context*.cc: Remove cairomm/ prefix from cairommconfig.h include statements. This was already wrong before, but moving the file around made it visible. * Makefile.am: Clean up a bit. (DIST_SUBDIRS): Have Automake figure it out automatically. (cairomm_include_HEADERS): Remove, as cairomm/cairomm.h is already installed in cairomm/Makefile.am. (nodist_cairomm_libinclude_HEADERS): Relocate cairommconfig.h to the top-level directory. (nodist_pkgconfig_DATA): Use $(CAIROMM_INSTALL_PC) substitution from configure.ac to install the appropriate pkg-config data files. * cairomm/Makefile.am: Rewrite without using compile-binding.am, as it is not really the appropriate tool for the cairomm job. * cairomm/filelist.am (cairomm_cc): Rename from $(files_extra_cc). (cairomm_public_h): Rename variable from $(files_extra_h) and remove cairommconfig.h from the list. (cairomm_private_h): Rename variable from $(files_extra_ph). * docs/Makefile.am (doc_input): Adjust variable names. (dist_noinst_DATA): Add reference/cairomm.css to the list. (pubdocbase): Define for completeness. (htmlrefpub): Correct documentation URL. * docs/Doxyfile.in: Strip trailing whitespace from every line. (STRIP_FROM_PATH), (STRIP_FROM_INC_PATH), (INCLUDE_PATH): Do not strip the cairomm/ subdirectory prefix from the displayed filenames. (EXCLUDE): Remove list of files to exclude, since the list of input files is specified explicitly with the new build organization. (EXPAND_AS_DEFINED): Expand version number macros, although at the moment they are probably not used anywhere in the public headers. * data/cairomm-*.pc.in: Use @PACKAGE_VERSION@ instead of @VERSION@. * data/cairomm-1.0.pc.in (htmlrefpub): Correct documentation URL. (Cflags): Add missing -I${libdir}/@CAIROMM_MODULE_NAME@/include. * data/Makefile.am: Delete now unused build file. * docs/reference/Makefile.am: Delete left-over build file. 2009-08-13 David King Get rid of all Makefile.am in the MSVC dirs * MSVC_Net2005/**/.cvsignore: * MSVC_Net2008/**/.cvsignore: Remove obsolete .cvsignore files. * MSVC_Net2005/**/Makefile.am: * MSVC_Net2008/**/Makefile.am: Remove recursive build files. * MSVC_Net2005/filelist.am: * MSVC_Net2008/filelist.am: Recursively list all files that should go into the distribution. * configure.ac (AC_CONFIG_FILES): Remove all Makefile outputs to the MSVC subdirectories. (AC_CONFIG_COMMANDS): Copy the configuration header files into the MSVC subdirectories by making config.status execute custom configuration commands. This is easier than doing it at the Makefile level, where it was previously implemented. * Makefile.am: Include the filelist.am files from the MSVC subdirectories. (SUBDIRS): Remove MSVC_Net200[58] directories from the list. (dist_noinst_DATA): Distribute the MSVC project files. (DISTCLEANFILES): Include the copied configuration header files in a distclean. 2009-08-13 David King Switch to mm-common documentation build infrastructure * .gitignore: Add new generated documentation files. * Makefile.am: Remove old documentation generation build. * configure.ac: * docs/reference/Makefile.am: Remove, with switch to non-recursive documentation build. * data/cairomm-1.0.pc.in: * docs/Makefile.am: Switch to new documentation build infrastructure from mm-common. * docs/reference/Doxyfile.in: Modernise and disable several unused features of the Doxygen output. 2009-08-13 David King Simplify build system of examples and cairomm subdirectores * .gitignore: Add INSTALL, mm-common *.am files and .dirstamp. * Makefile.am: Change VERSION to PACKAGE_VERSION. Begin transition to use of new build infrastructure. * cairomm/Makefile.am: Simplify by moving significant portions to toplevel Makefile.am. * cairomm/filelist.am: List of files for libcairomm. Move private source files to files_extra_cc. * configure.ac: Use MM_INIT_MODULE and remove example subdirectory Makefile.am. * examples/surfaces/Makefile.am: * examples/text/Makefile.am: Remove. * examples/Makefile.am: Convert examples tree to non-recursive build, with single, slimmer Makefile.am. 2009-08-13 David King Initial changes to ease transition to mm-common build infrastructure * autogen.sh: Replace with a simple wrapper around mm-common-prepare and autoreconf. * build/*.m4: Move from m4 directory. * Makefile.am: Rename m4 directory to build. * configure.ac: Rename from configure.in, as it is recommended by Autoconf developers and currently required by mm-common-prepare. Major update to take advantage of mm-common build infrastructure. * INSTALL: Remove from repository, using GNU install instructions instead. * cairomm/Makefile.am: Remove unnecessary win32 conditionals. 2009-08-07 Christopher Harvey Added some documentation to the rel_* functions in the Context class 2009-07-08 Jonathon Jongsma update NEWS for release 2009-07-06 Jonathon Jongsma Bump version number for release 1.8.2 2009-07-05 JÄnis RukÅ¡Äns Restore 1.6.x API / ABI that was unintentionally broken in 1.8.x 2009-01-26 Jonathon Jongsma Bump version to 1.8.0 release 2009-01-20 Jonathon Jongsma Fix documentation of ImageSurface::create() * cairomm/surface.h: fixed the documentation for ImageSurface::create() to match the cairo C documentation (it must have changed since we initially copied the documentation -- it'd really be nice to have a way to automatically generate the C++ documentation...) 2008-12-20 Jonathon Jongsma fix some distcheck failures 2008-12-20 Jonathon Jongsma Update NEWS and bump version to 1.7.2 2008-12-20 Jonathon Jongsma scaled_matrix() -> scaling_matrix() 2008-12-20 Armin Burgmeier Updated MSVC project files 2008-12-20 Armin Burgmeier * cairomm/pattern.h: Forward-declared Matrix as a class instead of as a struct, to prevent MSVC from complaining about "'Cairo::Matrix' : type name first seen using 'struct' now seen using 'class'". * MSVC_Net2005/examples/png_file: * MSVC_Net2008/examples/png_file: Removed, as the corresponding example has been removed. * MSVC_Net2005/cairomm/cairomm.vcproj: * MSVC_Net2008/cairomm/cairomm.vcproj: Link against libsigc++, added matrix.h, win32_font.h, matrix.cc and win32_font.cc to the project. * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2005/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2005/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2005/examples/pdf-surface/pdf-surface.vcproj: * MSVC_Net2008/examples/ps-surface/ps-surface.vcproj: * MSVC_Net2008/examples/svg-surface/svg-surface.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: * MSVC_Net2008/examples/text-rotate/text-rotate.vcproj: Adapt path to source files. * MSVC_Net2005/examples/image-surface/image-surface.vcproj: * MSVC_Net2005/examples/image-surface/Makefile.am: * MSVC_Net2005/examples/toy-text/toy-text.vcproj: * MSVC_Net2005/examples/toy-text/Makefile.am: * MSVC_Net2005/examples/user-font/user-font.vcproj: * MSVC_Net2005/examples/user-font/Makefile.am: * MSVC_Net2005/examples/Makefile.am: Added MSVC2005 projects for these examples. * MSVC_Net2008/examples/image-surface/image-surface.vcproj: * MSVC_Net2008/examples/image-surface/Makefile.am: * MSVC_Net2008/examples/toy-text/toy-text.vcproj: * MSVC_Net2008/examples/toy-text/Makefile.am: * MSVC_Net2008/examples/user-font/user-font.vcproj: * MSVC_Net2008/examples/user-font/Makefile.am: * MSVC_Net2008/examples/Makefile.am: Added MSVC2008 projects for these examples. * MSVC_Net2005/cairomm.sln: * MSVC_Net2008/cairomm.sln: Added the new example projects to the corresponding solution. * configure.in: Create Makefiles in the newly added directories. 2008-12-15 Jonathon Jongsma Revert virtual ScaledFont destructor (no ABI break) * cairomm/scaledfont.h: revert the virtual destructor since it's unnecessary and an ABI change. The ScaledFont subclasses don't have any virtual functions or any subclass-specific data that needs to be cleaned up, so a virtual destructor is not really necessary here. * tests/test-scaled-font.cc: a little paranoia test just to ensure that the base destructor is called correctly reducing the ref count when we delete a FtFontFace 2008-12-15 Jonathon Jongsma Add tests and fix a bug in UserFontFace * cairomm/fontface.cc: fixed a bug in UserFont where I was incorrectly using a function static variable and so it was not returning negative numbers for num_glyphs when I expected it to * tests/Makefile.am: * tests/test-font-face.cc: * tests/test-user-font.cc: Added tests for UserFontFace 2008-12-14 Jonathon Jongsma Really fix ScaledFont::get_font_face() bug * cairomm/scaledfont.cc: actually fix a reference-counting issue with ScaledFont::get_font_face() that I thought I had fixed in b1d01ff7 * tests/test-scaled-font.cc: add a test for the get_font_face() bug 2008-12-12 Jonathon Jongsma update ignores again 2008-12-12 Jonathon Jongsma bump version since we forgot to do it after release 2008-12-12 Jonathon Jongsma Cross-reference typedef-ed structs * cairomm/types.h: add cross-reference links to the cairo manual for all types that are just typedefs of C structs 2008-12-12 Jonathon Jongsma Minor changes to text-rotate example * .gitignore: ignore the new example executable names * examples/text/Makefile.am: normalize the text-rotate example executable name * examples/text/text-rotate.cc: print a message to the terminal explaining that a file was written 2008-12-12 Jonathon Jongsma Add surface examples to doxygen documentation 2008-12-12 Jonathon Jongsma Restructure examples directory Restructure the examples directory so that there aren't so many subdirs, which tends to slow down builds since they can't be done in parallel. Also 'standardize' the executable names a bit more and give the source files meaningful names rather than 'main.cc' or similar * configure.in: * examples/.cvsignore: Removed. * examples/Makefile.am: * examples/README: * examples/pdf-surface/.cvsignore: Removed. * examples/pdf-surface/Makefile.am: Removed. * examples/png_file/.cvsignore: Removed. * examples/png_file/Makefile.am: Removed. * examples/ps-surface/.cvsignore: Removed. * examples/ps-surface/Makefile.am: Removed. * examples/surfaces/image-surface.cc: Renamed from examples/png_file/main.cc. * examples/surfaces/pdf-surface.cc: Renamed from examples/pdf-surface/main.cc. * examples/surfaces/ps-surface.cc: Renamed from examples/ps-surface/main.cc. * examples/surfaces/svg-surface.cc: Renamed from examples/svg-surface/main.cc. * examples/svg-surface/.cvsignore: Removed. * examples/svg-surface/Makefile.am: Removed. 2008-12-12 Jonathon Jongsma Add clear warning about lifetime of UserFontFace objects Also include examples in doxygen documentation 2008-12-11 Jonathon Jongsma update ignores 2008-12-11 Jonathon Jongsma Enhance the UserFontFace example * examples/text/user-font.cc: enhanced the UserFontFace example quite a bit so that it shows a few different virtual functions and actually draws different sized boxes for different characters 2008-12-11 Jonathon Jongsma Fix up UserFontFace documentation from redesign 2008-12-08 Jonathon Jongsma Added a very simple UserFontFace example * examples/text/Makefile.am: * examples/text/user-font.cc: Added a very simple example of using a UserFontFace to draw text 2008-12-08 Jonathon Jongsma Fix UserFontFace::init() * cairomm/fontface.cc: Fix the default implementation of UserFontFace::init() to set up the font extents parameter correctly according to the documentation 2008-12-08 Jonathon Jongsma Fix the UserFontFace::text_to_glyphs default vfunc * cairomm/fontface.cc: 'fix' the text_to_glyphs implementation so that the default virtual function will be bypassed and the unicode_to_glyph will be called instead. This is done in the C implementation by passing a negative value for the num_glyphs output parameter, but since we're using a std::vector for the glyphs, it's not possible to return a negative value. So I'm using an ugly hack that will set a boolean flag the first time the default text_to_glyphs vfunc is called (which implies that that function has not been reimplemented in a derived class), and if we check that boolean flag and it is set, we will pass a negative value down to the C caller 2008-12-08 Jonathon Jongsma UserFontFace redesign to use virtual functions * cairomm/fontface.cc: * cairomm/fontface.h: Change UserFontFace implementation to a vfunc-based implementation rather than requiring people to supply callbacks at runtime as sigc::slot objects. This was requested by Ian Britten on the mailing list and was my original plan but ran into issues in my original implementation. This isn't a fully-working implementation yet, but I think I can overcome the issues now, so I'm moving forward on the redesign. * tests/test-font-face.cc: disable UserFontFace tests for now Conflicts: ChangeLog cairomm/fontface.cc cairomm/fontface.h 2008-12-05 Jonathon Jongsma Fix some ScaledFont referencing issues Fix an error in ScaledFont::get_font_face() where we were releasing a reference we didn't hold. Also fix a rather severe memory leak where we weren't calling cairo_scaled_font_destroy in the ScaledFont destructor. I added a virtual destructor to ScaledFont, which theoretically changes ABI, but I don't see how anybody could be using ScaledFont in cairomm currently without serious memory leaks, so I think it's worthwhile to make this change 2008-11-14 Jonathon Jongsma win32 build fixes 2008-11-14 Jonathon Jongsma Support --with-boost configure option * configure.in: support the --with-boost=[boost_path] option for specifying the install path of boost libraries 2008-10-30 Dave Evans Undefine 'nil' on OSX before including sigc++ header to fix compile 2008-10-29 Jonathon Jongsma distribute autogen.sh 2008-10-25 Jonathon Jongsma distcheck fixes 2008-10-25 Jonathon Jongsma mark 1.7.0 as unstable in the NEWS file 2008-10-22 Jonathon Jongsma add NEWS for 1.7.x 2008-10-22 Jonathon Jongsma Minor doxygen fixes * cairomm/matrix.h: add a link to the cairo reference for cairo_matrix_t * docs/reference/Doxyfile.in: don't generate docs for the members of the Cairo::Private namespace 2008-10-22 Jonathon Jongsma bump version to 1.7.0 2008-10-22 Jonathon Jongsma Add an overloaded Context::get_matrix() that returns a copy of the Matrix 2008-10-22 Jonathon Jongsma move pkgconfig files to a data/ subdir 2008-10-22 Jonathon Jongsma Fix broken Pattern::get/set_matrix() API that was using the C types * cairomm/pattern.h: Fix broken get/set_matrix() API that was using the C cairo_matrix_t type instead of Cairo::Matrix. This should be an ABI-compatible change since Cairo::Matrix is ABI-compatible with cairo_matrix_t, however it is a minor API change that could result in some compile warnings for existing code 2008-10-16 Jonathon Jongsma Fix missing build dependencies for optional features Add all of the _LIBS and _CFLAGS for those features that are supported (e.g. FT, PNG, PDF, etc) to the cairomm build flags/libs. 2008-10-16 Jonathon Jongsma Bump required cairo version to 1.8.0 2008-10-10 Jonathon Jongsma update changelog forgot with my last commit 2008-10-10 Armin Burgmeier Update MSVC project files * MSVC_Net2005/cairomm/cairomm.vcproj: Changed output file names to cairomm-vc80-1_0.dll or cairomm-vc80-d-1_0.dll, respectively. * MSVC_Net2008/cairomm.sln: * MSVC_Net2008/cairomm.rc.in: * MSVC_Net2008/Makefile.am: * MSVC_Net2008/*/*.vcproj: Added necesseary files for a Visual Studio 2008 build. * configure.in: * Makefile.am: Added the VS 2008 project files to the distribution. 2008-10-10 Jonathon Jongsma Add a bunch of extra .pc files for additional functionality This is done in a bit of a brute-force method at the moment. I have .pc.in templates for all possible files. Then I check the underlying cairo-XXX.pc files and if those exist, I generate the corresponding cairomm-XXX.pc file. It's not the prettiest solution, but it seems to work. So now, if you want to just use base cairo functionality, check for cairomm-1.0, but if you want to use other functionality that requires that you link your application against other libraries (e.g. freetype, xlib, etc), you should check for cairomm-ft-1.0, cairomm-xlib-1.0, etc. 2008-10-07 Jonathon Jongsma Add library version numbers to the cairommconfig.h file CAIROMM_MAJOR_VERSION, CAIROMM_MINOR_VERSION, and CAIROMM_MICRO_VERSION 2008-10-07 Jonathon Jongsma Update API to officially released 1.8 API * cairomm/context.cc: * cairomm/context.h: remove has_show_text_glyphs() (moved to Surface) * cairomm/surface.cc: * cairomm/surface.h: added has_show_text_glyphs() (moved from Context) * cairomm/enums.h: removed LcdFilter enum, added a TextClusterFlags enum * cairomm/fontface.cc: * cairomm/fontface.h: changed the 'backwards' bool argument of SlotTextToGlyphs to use TextClusterFlags instead. Same general change for the C callback text_to_glyphs_cb * cairomm/fontoptions.cc: * cairomm/fontoptions.h: remove get/set_lcd_filter() since it was removed from cairo just before the 1.8 release * cairomm/scaledfont.cc: * cairomm/scaledfont.h: changed the 'backwards' bool argument of text_to_glyphs() to use TextClusterFlags instead * tests/test-context.cc: * tests/test-font-face.cc: * tests/test-font-options.cc: * tests/test-scaled-font.cc: * tests/test-surface.cc: update tests for API changes 2008-10-06 Jonathon Jongsma Fixe some test failures that were accidentally introduced Also fix a distcheck issue where the example png file was not being opened from the correct location when builddir != srcdir 2008-10-05 Jonathon Jongsma Overhaul of the newly-wrapped Matrix API (+documentation) * cairomm/matrix.cc: * cairomm/matrix.h: Add documentation for newly-wrapped matrix functions. Also, changed how the cairo_matrix_init_XXX() functions are wrapped. Initially I had basically wrapped them directly (as Matrix::init_XXX()), however, on the advice of Chong Kai Xiong (descender) on IRC, I have moved these into standalone 'generator' functions: - scaled_matrix() - translation_matrix() - rotation_matrix() - identity_matrix() * tests/test-font-face.cc: * tests/test-matrix.cc: modify the tests for the change in API. The new API does make things much more comfortable to use. 2008-09-14 Jonathon Jongsma Inherit Cairo::Matrix from cairo_matrix_t 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/fontface.h: Improve (and complete) the documenation for the set_*_func() methods. * cairomm/fontoptions.h: * cairomm/scaledfont.h: * cairomm/context.h: Corrected some @param Doxygen syntax. 2008-09-14 Murray Cumming More whitespace correction. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/fontface.[h|cc]: Simplify the code by using slots without new and delete. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/fontface.[h|cc]: Remove the useless/awkward get_*_func() methods. We do not have them in gtkmm either. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/*.h: Added many missing . to documentation, and corrected some whitespace. 2008-09-14 Murray Cumming 2008-09-14 Murray Cumming * cairomm/*.h: Added many missing . to documentation, and corrected some whitespace. 2008-09-12 Jonathon Jongsma Add Win32PrintingSurface 2008-09-11 Jonathon Jongsma style fixups: use cobj() instead of using m_cobject directly whenever possible 2008-09-11 Jonathon Jongsma Add some missing Win32Surface API * cairomm/win32_surface.cc: * cairomm/win32_surface.h: add Win32Surface::create_with_ddb (and an alias for create_with_dib()), and Win32Surface::get_image() 2008-09-10 Jonathon Jongsma Added Surface::get_fallback_resolution() + test 2008-09-10 Jonathon Jongsma Add Surface::get_content() + test 2008-09-10 Jonathon Jongsma Add ScaledFont::get_scale_matrix() + test 2008-09-10 Jonathon Jongsma Add PsSurface::get_eps() 2008-09-10 Jonathon Jongsma Add Context::has_show_text_glyphs() + test 2008-09-10 Jonathon Jongsma Change the names of the stream creation functions to 'create_for_stream()' In order to avoid ambiguous template overload issues (I was getting compile failures when passing a literal string for the std::string parameter of the normal create() function) 2008-09-10 Jonathon Jongsma add Context::get_font_options() 2008-09-10 Jonathon Jongsma Add QuartzFontFace class 2008-09-10 Jonathon Jongsma * cairomm/win32_font.h: fix header protection guards 2008-09-10 Jonathon Jongsma Add basic test for Win32FontFace from Armin 2008-09-10 Armin Burgmeier Fixed Windows build 2008-09-10 Jonathon Jongsma Add win32 font support 2008-09-10 Jonathon Jongsma * cairomm/cairomm.h: update, add missing includes 2008-09-10 Jonathon Jongsma add Freetype font support 2008-09-09 Jonathon Jongsma * cairomm/fontface.cc: use vector::empty() rather than ::size() 2008-09-03 Jonathon Jongsma Add UserFontFace text-to-glyphs API 2008-08-27 Jonathon Jongsma Add documentation for all remainting FontOptions API and the enums that are used for them 2008-08-27 Jonathon Jongsma Add LcdFilter enum and FontOptions API for LCD filtering 2008-08-27 Jonathon Jongsma add Context::show_text_glyphs() 2008-08-27 Jonathon Jongsma Add a default value for the font_options parameter of the ScaledFont constructor 2008-08-27 Jonathon Jongsma Add ScaledFont::text_to_glyphs() 2008-08-27 Jonathon Jongsma Add Context::get/set_scaled_font() 2008-08-27 Murray Cumming 2008-08-27 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: Replaced #include afxres.h by #include which does the job equally well, and allows compilation with the freely available Visual Studio Express compiler. Bug #17322. 2008-08-21 Jonathon Jongsma All Image Surface creation tests now pass (no exceptions thrown) 2008-08-19 Jonathon Jongsma Add sigc::slot versions of all of the functions that take a cairo_write_func_t or cairo_read_func_t 2008-08-18 Jonathon Jongsma Add Documentation for the new FontFace API 2008-08-18 Jonathon Jongsma Fix some API warts and deprecate old accessor functions that don't begin with get_ 2008-08-18 Jonathon Jongsma Add UserFontFace API 2008-08-18 Jonathon Jongsma ScaledFont: Change fontface constructor param to a RefPtr The static ::create() function took a FontFace by reference rather than by RefPtr, which means the API was essentially unusably broken. So this is technically an API break, but I don't see any other option. 2008-08-14 Jonathon Jongsma Implement the ToyFontFace class 2008-08-14 Jonathon Jongsma add missing m4 file for boost unit test 2008-08-13 Jonathon Jongsma post-release bump (1.6.3) 2008-08-13 Jonathon Jongsma Update for 1.6.2 release 2008-08-13 Jonathon Jongsma Fix boost unit test detection 2008-08-13 Jonathon Jongsma update surface type enum 2008-08-13 Jonathon Jongsma change Cairo::logic_error::get_status() to get_status_code() 2008-08-11 Jonathon Jongsma Add ability to get the error code from a Cairo::logic_error exception New API: Cairo::logic_error::get_status() 2008-08-11 Jonathon Jongsma Fix Cairo::logic_error error message Fix embarrassing mistake where the error string was being initialized with random data since the m_status member had not yet been initialized. 2008-08-11 Murray Cumming 2008-08-09 Armin Burgmeier * MSVC_Net2005/cairomm/cairomm.rc.in: Removed #include resource.h since there is no resource.h, and it works well without that include. * MSVC_Net2005/cairomm/Makefile.am: Copy cairommconfig.h from cairomm/, so it is available to the visual studio project. * MSVC_Net2005/cairomm/cairomm.vcproj: Added cairomm/context_surface_win32.cc to the project. * Makefile.am: * configure.in: Adapt build files. 2008-08-09 Murray Cumming Copied MSVCNet2008 to MSVCNet2005 ready for Armin to put files there. 2008-08-07 Murray Cumming 2008-08-07 Murray Cumming * MSVC/: Renamed to MSVC_Net2008, ready to be patched by Armin or Cedric. 2008-04-25 Jonathon Jongsma cairomm/context.h: removed extra unused function declarations 2008-04-25 Benjamin Reed separate calls to possibly-conflicting surface calls On Mac OS X, if you have both the xlib and quartz backends enabled in cairo, cairomm fails to build with conflicting headers: /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c -o context.lo context.cc g++ -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include -I/sw/lib/fontconfig2/include -I/sw/include/pixman-1 -I/sw/include/libpng12 -I/sw/include -I/sw/include/cairo -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/fontconfig2/include -I/sw/include -I/usr/X11R6/include -g -O2 -c context.cc -fno-common -DPIC -o .libs/context.o /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255: error: declaration does not declare anything /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:264: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: using typedef-name 'Cursor' after 'struct' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:269: error: conflicting declaration 'typedef int Cursor' /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration as 'typedef XID Cursor' /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:296: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: using typedef-name 'Picture' after 'struct' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration here /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: invalid type in declaration before ';' token /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QuickdrawTypes.h:300: error: conflicting declaration 'typedef int Picture' /usr/X11R6/include/X11/extensions/render.h:31: error: 'Picture' has a previous declaration as 'typedef XID Picture' This patch fixes this by separating out the calls in the get_surface_wrapper call to individual .cc files which are then compiled with only the headers they need. 2008-04-11 Jonathon Jongsma Now post-release bump for real 2008-04-11 Jonathon Jongsma fix configure.in version for 1.6.0 tag 2008-04-11 Jonathon Jongsma Post-release version bump 2008-04-11 Jonathon Jongsma Wrap cairo_format_stride_for_width() 2008-04-11 Murray Cumming 2008-04-11 Murray Cumming * Add autoheader to autogen.sh, to create cairommconfig.h.in, to fix the build for me. 2008-03-23 Murray Cumming 2008-03-23 Murray Cumming * cairomm/enums.h (FONT_TYPE_ATSUI, FONT_TYPE_QUARTZ): Change the definition of FONT_TYPE_ATSUI from CAIRO_FONT_TYPE_ATSUI to CAIRO_FONT_TYPE_QUARTZ (the same numerical value) and document it as deprecated. The others should be documented too. Added FONT_TYPE_QUARTZ. 2008-03-10 Jonathon Jongsma Update for 1.5.0 release * configure.in: bump cairo requirement to at least 1.5.10 * NEWS: update for 1.5.0 release 2008-03-10 Jonathon Jongsma install config header * cairomm/Makefile.am: install the new cairommconfig.h header and make sure that the .in file is distributed 2008-03-10 Jonathon Jongsma Another build fix for solaris * cairomm/exception.cc: include to fix the build on solaris which apparently doesn't include string from their exception header (Tim Mooney). Fixes bug #14559 2008-03-10 Jonathon Jongsma new HAVE_MATH_H define I'm not sure this file should really be under version control, but there's a new preprocessor symbol, so I'm updating it 2008-02-19 Murray Cumming 2008-02-19 Tim Mooney * configure.in: Added check, defining HAVE_MATH_H. * cairomm/context.cc: * examples/pdf-surface/main.cc: * examples/png_file/main.cc: * examples/ps-surface/main.cc: * examples/svg-surface/main.cc: * examples/text-rotate/text-rotate.cc: Added includes of math.h to fix the build with Sun Workshop 12. Bug #14558. 2008-02-17 Tom Hughes Revert get_current_point as cairo_get_current_point has been reverted to it's previous interface. Also change new has_current_point method to call the new cairo_has_current_point routine. 2008-01-30 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: add new has_current_point() API to deal with the fact that cairo_get_current_point() changed from a void to a cairo_status_t return type, and we don't necessarily want to throw an exception here or it could break existing applications. But this could be reconsidered 2008-01-30 Jonathon Jongsma * cairomm/xlib_surface.cc: * cairomm/xlib_surface.h: add new get_xrender_format() function (new in 1.5.8) and add missing static create_with_xrender_format() function * docs/reference/Doxyfile.in: add CAIRO_HAS_XLIB_XRENDER_SURFACE feature so that new xrender API shows up in docs 2008-01-30 Jonathon Jongsma * configure.in: bump cairo requirement to 1.5.8 * cairomm/context.cc: * cairomm/context.h: add get_path_extents function, new in 1.5.8 2008-01-30 Jonathon Jongsma * configure.in: enable people with CAIROMM_DEVEL variable set to explicitly deisable automated tests * m4/ax_boost_unit_test_framework.m4: update to slightly newer boost unittest checking scripts 2007-11-10 Jonathon Jongsma [PsSurface] Add new API to control PS language level * cairomm/surface.cc: * cairomm/surface.h: add new PsSurface API: set_eps(), restrict_to_level(), get_levels(), level_to_string() 2007-11-10 Jonathon Jongsma [Surface] add copy_page(), show_page() * cairomm/surface.cc: * cairomm/surface.h: add Surface::copy_page() and Surface::show_page() 2007-11-10 Jonathon Jongsma Start on cairo 1.5.x features * configure.in: bump version and minimum cairo version so that we can start implementing the 1.5.x features 2007-11-10 Jonathon Jongsma * docs/reference/Doxyfile.in: update doxygen config file since my version of doxygen now complains that there are obsolete config keys 2007-11-10 Jonathon Jongsma update NEWS and bump version for 1.4.6 release * NEWS: update news for 1.4.6 release * configure.in: bumped version 2007-08-13 Murray Cumming 2007-08-13 Murray Cumming * cairomm/context.cc: Add #include to fix the build on MacOS. Thanks to Elias N (Bug #11972). 2007-07-30 Murray Cumming Increased version post-release. 2007-07-30 Murray Cumming Increased version for release. 2007-07-21 Murray Cumming Fixed ChangeLog 2007-07-21 Murray Cumming 2007-07-21 Murray Cumming * m4/reduced.m4: Added, containing CAIROMM_ARG_ENABLE_API_EXCEPTIONS(). * configure.in: Use CAIROMM_ARG_ENABLE_API_EXCEPTIONS() to add a --enable-api-exceptions=yes/no option. Used to generate a cairomm/cairommconfig.h config file, which defines (or not) CAIROMM_EXCEPTIONS_ENABLED. * cairomm/cairommconfig.h.in: Added, used to generate cairommconfig.h * cairomm/private.cc: * cairomm/private.h: Use ifdef to replace throw_exception() with an empty implementation when exceptions are disabled. This allows cairomm to be built when using CXXFLAGS=-fno-exceptions. 2007-07-14 Jonathon Jongsma Post-release version number bump 2007-07-14 Jonathon Jongsma Get ready for 1.4.2 release * NEWS: updated for 1.4.2 release * configure.in: bumped version to 1.4.2 2007-07-14 Dave Beckett Update the GENERIC_LIBRARY_VERSION correctly Was: 1:0:0 in 1.2.4 current: interfaces were added, increment to 2 revision: set to zero since current was incremented age: increment since interfaces were added Changed to: 2:0:1 2007-07-14 Murray Cumming * cairomm/refptr.h: Added RefPtr(object, refcount) constructor for use in cast_*(), so that the casted RefPtr shares the same refcount, avoiding an early deletion. I do not like making this constructor public, but I do not see another way. 2007-07-12 Jonathon Jongsma Push docs and a doc-tarball to the web on release * Makefile.am: add doc-publish target and make release-publish depend on this. This automatically uploads the new API documentation on release * docs/reference/Makefile.am: upload the html documentation and a tarball of the documentation to the cairographics.org site 2007-07-12 Jonathon Jongsma * docs/reference/Makefile.am: hacky workaround to get distcheck to pass 2007-07-10 Jonathon Jongsma Bump version for release 2007-07-10 Jonathon Jongsma Add ability to use dynamic casting with the return values from more functions, including: Context::get_target() Context::get_target() const Context::get_source() Context::get_source() const Context::get_group_target() Context::get_group_target() const Context::pop_group() * tests/test-context.cc: a few additional tests to verify the const / non-const versions both work with dynamic casting. 2007-07-10 Jonathon Jongsma Improve the documentation style a little bit to make it more readable. Also build the documentation for the new QuartzSurface class 2007-07-10 Jonathon Jongsma Add alternate API for Context::set_dash() which takes a std::vector argument instead of the slightly unexpected std::valarray argument * tests/test-context.cc: test that both API work correctly and compile correctly without any problems 2007-07-04 Jonathon Jongsma Added some tests for matrix transformations and user-to-device coordinate mappings The matrix transformation 'test' does nothing more than call the functions to excercise them a bit Also used BOOST_CHECK_EQUAL in most places instead of BOOST_CHECK to get more meaningful failure messages. 2007-07-04 Jonathon Jongsma add missing 'break;' on the I/O error case statement 2007-07-04 Jonathon Jongsma Fix dynamic casting of Pattern retrieved with Context::get_source() * cairomm/context.cc: when getting the source pattern of a Cairo::Context, check which type of Pattern it is so that we create the correct C++ wrapper. Without this, RefPtr<>::cast_dynamic() doesn't seem to work as we would expect it to. * tests/test-context.cc: improve the Context::get_source() / Context::set_source () tests now that dynamic casting works correctly 2007-07-04 Jonathon Jongsma examples/, tests/: fix a bunch of minor compile errors when compiling with -Werror 2007-07-04 Jonathon Jongsma Enable extra compiler warnings and -Werror if the CAIROMM_DEVEL environment variable is set to 'on'. This caught the following mistake: * cairomm/pattern.cc: forgot to return the ColorStop vector 2007-07-04 Jonathon Jongsma Context: fix a FIXME to match the style of ScaledFont::glyph_extents since MSVC (and possibly other compilers) complain when allocating an array on the stack and the size of the array is not a compile-time constante 2007-06-04 Jonathon Jongsma Update Makefile.am release procedures for git instead of CVS make release-publish automatically tags the repository for us, update it to tag in git instead of in cvs 2007-05-31 Jonathon Jongsma more .gitignore additions 2007-05-31 Jonathon Jongsma Add files to .gitignore so they don't pollute git status 2007-05-31 Jonathon Jongsma Fix Makefile dependency issue when trying to `make dist` without building the docs first 2007-04-16 Murray Cumming 2007-04-16 Hugo Vincent * Added QuartzSurface for MacOS X (when cairo is built with Quartz support), similar to the existing Win32Surface and XlibSurface. These allow use of platform-specific features and data structures. 2007-03-24 Jonathon Jongsma 2007-03-23 Jonathon Jongsma * Makefile.am: * autogen.sh: * configure.in: * m4/ax_boost_base.m4: * m4/ax_boost_unit_test_framework.m4: Add some basic test infrastructure. It's disabled by default, and must be explicitly enabled by passing --enable-tests to configure (or by setting the CAIROMM_DEVEL environment variable to "on"). It uses the boost unit test framework, but this should not be required unless you've explicitly enabled tests. If tests are enabled, you can easily run them with 'make check' * tests/Makefile.am: * tests/test-context.cc: added the beginning of a test for Cairo::Context. Most of these tests are really very interesting. Basically what I'm trying to do is a) test some basic behaviors, and b) excercise the functionality a little bit. One of the tests currently fails due to a RefPtr::cast_dynamic failure, so I have to see what's going on there. 2007-03-22 Murray Cumming 2007-03-22 Murray Cumming * cairomm/enums.h: Restored FORMAT_RGB16_565 and marked it as deprecated. Note that CAIRO_FORMAT_RGB16_565 has not really been removed from cairo. It has just moved from the enum to a #define in cairo-deprecated. * cairomm/context.cc: * cairomm/context.h: Made get_dash() const. Renamed clip_extents() to get_clip_extents(), to match the other get_*_extents() methods (in Context, if not in other classes), and made it const. Made copy_clip_rectangle_list() const. * cairomm/pattern.cc: * cairomm/pattern.h: Make the RadialGradient::get_radial_circles(), LinearGradient::get_linear_points(), and Gradient::get_color_stops() methods const. Added a non-const method overload of get_surface(). Correc the get_color_stops() implementation to match the declaration. 2007-03-22 Murray Cumming Update ChangeLog to show what was added 2007-03-22 Murray Cumming Update ChangeLog to show what was added 2007-03-22 Jonathon Jongsma 2007-03-22 Jonathon Jongsma * cairomm/context.cc: Minor comment cleanups * cairomm/pattern.cc: get the gradient stops by reference parameter instead of returning by value. This saves an extra copy of the vector. 2007-03-21 Jonathon Jongsma 2007-03-21 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: * cairomm/enums.h: * cairomm/pattern.cc: * cairomm/pattern.h: * configure.in: Add initial support for new cairo 1.4.x API. It will probably still need quite a bit of work, but I wanted to commit what I have now so that it doesn't keep sitting in my working directory. 2007-02-01 Jonathon Jongsma 2007-02-01 Jonathon Jongsma * configure.in: Fixes for building on Cygwin from yselkowitz@users.sourceforge.net. Closes bug #9726 2007-01-28 Jonathon Jongsma 2007-01-28 Jonathon Jongsma * configure.in: bump rev to 1.2.5 2007-01-28 Jonathon Jongsma 2007-01-28 Jonathon Jongsma * docs/reference/Doxyfile.in: fixes building the cairomm documentation where builddir != srcdir. Patch from yselkowitz@users.sourceforge.net for bug #9727 2007-01-18 Jonathon Jongsma 2007-01-17 Jonathon Jongsma * NEWS: updated news for 1.2.4 release * configure.in: bumped version to 1.2.4 2006-09-27 Murray Cumming Fix typo in ChangeLog. 2006-09-27 Murray Cumming 2006-09-27 Murray Cumming * cairomm/refptr.h: cast_static() and cast_dynamic(): Use the refcount_() accessor instead of the member variable, to avoid compilation errors, as we already doing in the templated copy constructor. 2006-08-21 Jonathon Jongsma 2006-08-21 Jonathon Jongsma * NEWS: update for 1.2.2 * configure.in: bump to next even number (1.2.2) 2006-08-21 Jonathon Jongsma 2006-08-21 Cedric Gustin * cairomm/win32_surface.cc: Explicitly cast Cairo::Format to cairo_format_t. 2006-08-20 Jonathon Jongsma 2006-08-20 Jonathon Jongsma * Makefile.am: fix up the release announcement template to explain what cairomm is at the top of the email before telling where to get it. * configure.in: post-release bump (1.2.1) 2006-08-20 Jonathon Jongsma 2006-08-20 Jonathon Jongsma * NEWS: Update information about new stuff in 1.2.0 * configure.in: bump the release version number to 1.2.0 and the shared library version number to 1:0:0 since interfaces were changed and added and we're now guaranteeing API/ABI stability 2006-08-20 Jonathon Jongsma 2006-08-20 Jonathon Jongsma * examples/pdf-surface/.cvsignore: * examples/png_file/.cvsignore: * examples/ps-surface/.cvsignore: * examples/svg-surface/.cvsignore: added image files produced by the example programs to .cvsignore 2006-08-20 Jonathon Jongsma 2006-08-19 Jonathon Jongsma * Makefile.am: get rid of the concept of a snapshot. It doesn't really make that much sense for cairomm, honestly, since we're just a simple wrapper library. 2006-08-20 Jonathon Jongsma Hopefully they'll get added for real this time 2006-08-20 Jonathon Jongsma 2006-08-19 Jonathon Jongsma * MSVC/examples/.cvsignore: * MSVC/examples/Makefile.am: * MSVC/examples/pdf-surface/.cvsignore: * MSVC/examples/pdf-surface/Makefile.am: * MSVC/examples/pdf-surface/pdf-surface.vcproj: * MSVC/examples/png_file/.cvsignore: * MSVC/examples/png_file/Makefile.am: * MSVC/examples/png_file/png_file.vcproj: * MSVC/examples/ps-surface/.cvsignore: * MSVC/examples/ps-surface/Makefile.am: * MSVC/examples/ps-surface/ps-surface.vcproj: * MSVC/examples/svg-surface/.cvsignore: * MSVC/examples/svg-surface/Makefile.am: * MSVC/examples/svg-surface/svg-surface.vcproj: * MSVC/examples/text-rotate/.cvsignore: * MSVC/examples/text-rotate/Makefile.am: * MSVC/examples/text-rotate/text-rotate.vcproj: * MSVC/gendef/.cvsignore: * MSVC/gendef/Makefile.am: * MSVC/gendef/gendef.cc: * MSVC/gendef/gendef.vcproj: added a bunch of MSVC / windows-specific things that got missed last time. 2006-08-19 Jonathon Jongsma 2006-08-18 Jonathon Jongsma * cairomm/win32_surface.cc: * cairomm/win32_surface.h: add some missing win32 API that I had overlooked: cairo_win32_surface_get_dc() and cairo_win32_surface_create_with_dib(), updated documentation for standard Win32Surface::create() function. 2006-08-19 Jonathon Jongsma 2006-08-18 Cedric Gustin * cairomm/context.cc: Define M_PI for MSVC. * cairomm/scaledfont.cc: Allocate glyph_array as a dynamic array as MSVC does not like non-const arguments as array size. * examples/pdf-surface/main.cc, examples/png_file/main.cc, examples/ps-surface/main.cc, examples/svg-surface/main.cc, examples/text-rotate/text-rotate.cc: Define M_PI for MSVC. * configure.in, Makefile.am: Generate Makefiles in the MSVC subdirectories. * .cvsignore: Added Eclipse .project to the list of ignored files. * MSVC/*: Added project and resource files for Visual Studio 2005. 2006-08-18 Jonathon Jongsma 2006-08-18 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: API CHANGE: some API was changed to maintain a closer similarity to the underlying cairo API (while also attempting to avoid confusion with the C++ 'new' keyword) in preparation for freezing the cairomm API. Two functions are affected: - Context::clear_path() -> Context::begin_new_path() - Context::new_sub_path() -> Context::begin_new_sub_path() * configure.in: bump the libtool version to indicate API change 2006-08-16 Jonathon Jongsma 2006-08-15 Jonathon Jongsma * cairomm/context.cc: remove another TODO. I looked at cairo_append_path, and it just copies the data from the supplied path and appends that to the current path -- it doesn't modify the passed in path -- so it can stay const. 2006-08-16 Jonathon Jongsma 2006-08-15 Jonathon Jongsma * cairomm/context.h: remove a FIXME that was resolved on the mailing list 2006-08-15 Murray Cumming Remove unnecessary TODO comment. 2006-07-11 Murray Cumming 2006-07-11 Murray Cumming * cairomm/refptr.h: unref(): Only delete the refcount int when the refcount has reached 0, instead of deleting it every time. Thanks valgrind. 2006-07-11 Murray Cumming 2006-07-11 Murray Cumming * cairomm/refptr.h: From-C-object Constructor: Added documentation explaining how/when to use it and when to do an extra reference(). This will help us, though it should rarely be necessary for an application developer to understand it. Made pCppRefcount_ mutable, so that refcount_() can be a const method so that the templated constructor compiles. Added class documentation to explain why we even want to use this class. 2006-07-05 Jonathon Jongsma * cairomm/refptr.h: copy constructors: initialize the pCppRefcount_ member variable, using a public refcount_() method when necessary to access a different RefPtr<> specialization. 2006-07-11 Murray Cumming * cairomm/refptr.h: Use an int to reference-count the C++ object, and only reference/unreference the object (and hence the underlying C object) when receiving/deleting the C++ object. Without this, we never delete the C++ object. Fixes bug #7442. 2006-07-09 Jonathon Jongsma 2006-07-09 Jonathon Jongsma * NEWS: add NEWS for 1.1.10 release * configure.in: bump version to 1.1.12 2006-07-06 Jonathon Jongsma 2006-07-05 Jonathon Jongsma * Makefile.am: Ooops, I had accidentally removed dependency info for release-publish target 2006-07-05 Murray Cumming 2006-07-05 Murray Cumming * cairomm/context.h: * cairomm/fontface.h: * cairomm/pattern.h: * cairomm/surface.cc: * cairomm/surface.h: * cairomm/xlib_surface.cc: * cairomm/xlib_surface.h: Fix the generic text about reference-counted objects, because we no longer use copy constructors for this. And some pedantic white space changes. 2006-07-05 Murray Cumming 2006-07-05 Murray Cumming * cairomm/scaledfont.cc: * cairomm/scaledfont.h: create(): Make the font_matrix and ctm parameters const (they are now const in the C API too). Maybe the font parameter should be const, but maybe there is a reason that it is not const in the C API. Pass FontOptions by const reference instead of by value. glyph_extents(): Pass the vector by const reference instead of by value. I would prefere to make all the extents() functions use return values instead of output parameters, but I suppose this might be slightly less efficient in some circumstances. 2006-07-05 Murray Cumming 2006-07-05 Murray Cumming * cairomm/cairomm.h: * cairomm/context.h: * cairomm/path.h: * cairomm/scaledfont.h: * cairomm/surface.h: * cairomm/win32_surface.h: * cairomm/xlib_surface.h: Use @ instead of \ for doxygen commands, to be consistent with gtkmm, which uses it because it is the same as JavaDoc, with which some people are already familiar. 2006-07-05 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * Makefile.am: add ability to do snapshot releases to the cairographics.org/snapshots/ directory in addition to official releases * configure.in: bumped the revision to 1.1.10 in preparation for a snapshot release of the 1.2 API * docs/reference/Makefile.am: fixed some distcheck errors 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * .cvsignore, cairomm/.cvsignore: ignore some autotools files and *.swp files (from vim) 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/scaledfont.cc, cairomm/scaledfont.h: wrap ScaledFont, including new API for cairo 1.2 * cairomm/Makefile.am: add scaledfont.* to list of sources 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/surface.h: Remove comments stating that PDF, PS, and SVG are experimental surfaces. As of 1.2.0, these three surfaces are officially supported by the cairo library. 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/xlib_surface.h: add a bit more documentation for the new XlibSurface API 2006-07-04 Jonathon Jongsma 2006-07-04 Jonathon Jongsma * cairomm/surface.cc, cairomm/surface.h: added SvgSurface::get_versions() and SvgSurface::version_to_string() API. They're implemented as static members right now. 2006-07-01 Jonathon Jongsma 2006-06-30 Jonathon Jongsma * configure.in: bumped cairomm version to 0.7.0 and bumped cairo requirement to 1.2.0 2006-07-01 Jonathon Jongsma 2006-06-30 Jonathon Jongsma * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new get_height() and get_width() API to XlibSurface 2006-06-28 Jonathon Jongsma 2006-06-27 Jonathon Jongsma * cairomm/enums.h: Added enum types to support the new get_type() and SVG Version API * cairomm/fontface.cc, cairomm/fontface.h: add new get_type() API * cairomm/pattern.cc, cairomm/pattern.h: add new get_type() API * cairomm/surface.cc, cairomm/surface.h: add new get_type() API and SvgSurface::restrict_to_version() API 2006-06-27 Jonathon Jongsma 2006-06-26 Jonathon Jongsma * cairomm/surface.cc, cairomm/surface.h: add new PsSurface and PdfSurface API: set_size, dsc_comment, dsc_begin_setup, dsc_begin_page_setup * cairomm/xlib_surface.cc, cairomm/xlib_surface.h: add new XlibSurface API: get_display, get_drawable, get_screen, get_visual, get_depth 2006-06-26 Jonathon Jongsma 2006-06-26 Jonathon Jongsma * cairomm/surface.cc: * cairomm/surface.h: Added new Surface and ImageSurface API from 1.1.x snapshots 2006-06-23 Jonathon Jongsma 2006-06-23 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: added Context::new_sub_path() and new push/pop group API. 2006-06-23 Jonathon Jongsma 2006-06-23 Jonathon Jongsma * cairomm/enums.h: fix stupid error from last commit 2006-06-23 Jonathon Jongsma 2006-06-23 Jonathon Jongsma * cairomm/enums.h: add new FORMAT_RGB16_565 format 2006-06-13 Jonathon Jongsma forgot to modify the changelog 2006-06-13 Jonathon Jongsma update for new cairo API cairo_surface_set_fallback_resolution() 2006-05-11 Jonathon Jongsma 2006-05-10 Jonathon Jongsma * docs/reference/cairomm.css: minor documentation stylesheet fix 2006-05-09 Jonathon Jongsma 2006-05-08 Jonathon Jongsma * cairomm/context.h: * cairomm/path.h: added some preliminary documentation explaining that the caller is responsible for freeing Path objects returned from Context::copy_path() and Context::copy_path_flat(). 2006-05-09 Jonathon Jongsma 2006-05-08 Jonathon Jongsma * cairomm/cairomm.h: Add doxygen API introduction test here. * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: * docs/reference/cairomm-header.html: * docs/reference/cairomm.css: * docs/reference/introduction.h: fix up some documentation presentation issues that turned up with newer versions of doxygen. 2006-05-09 Jonathon Jongsma 2006-05-08 Jonathon Jongsma * configure.in: remove check for perl since we're not using any of the gmmproc stuff for cairomm * docs/reference/Makefile.am: add documentation dependency on all of the headers in the cairomm/ directory so that if a header changes the documentation will be rebuilt. 2006-04-20 Murray Cumming 2006-04-20 Murray Cumming * cairomm/context.cc: * cairomm/context.h: mask(pattern) and mask(surface): Make the parameter const, because I am fairly sure that the C function does not change it. 2006-04-07 Jonathon Jongsma 2006-04-06 Jonathon Jongsma * Makefile.am: Add a brief description of cairomm to the release announcement template 2006-04-05 Jonathon Jongsma 2006-04-04 Jonathon Jongsma * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: A couple minor build fixes to make distcheck happy 2006-04-05 Jonathon Jongsma 2006-04-04 Jonathon Jongsma * NEWS: add news for 0.6.0 release * configure.in: bump version to 0.6.0 2006-04-03 Jonathon Jongsma 2006-04-03 Jonathon Jongsma * examples/text-rotate/text-rotate.cc: protect PNG functions with #ifdef in case cairo wasn't compiled with PNG support 2006-04-01 Jonathon Jongsma 2006-03-31 Danilo Piazzalunga * Makefile.am: * docs/Makefile.am: * docs/reference/Makefile.am: add convenience targets for cleaning and rebuilding documentation (doc-clean and doc-rebuild). 2006-03-31 Jonathon Jongsma 2006-03-30 Danilo Piazzalunga * configure.in: enable documentation even if doxygen and/or graphviz are missing, so the docs will be installed when building a release. * docs/reference/Makefile.am: don't remove html directory with `make clean`, so that users of the tarball releases don't destroy the pre-built documentation when running make clean. Change to maintainer-clean 2006-03-30 Jonathon Jongsma 2006-03-29 Jonathon Jongsma * configure.in: added tests for doxygen and graphviz which displays a warning if the user has --enable-docs set but doesn't have doxygen or graphviz installed. 2006-03-30 Jonathon Jongsma 2006-03-28 Danilo Piazzalunga * cairomm/enums.h: Stop using CAIRO_EXTEND_PAD, as it only exists in the 1.1.1 development branch. 2006-03-15 Jonathon Jongsma 2006-03-14 Jonathon Jongsma * configure.in: * examples/Makefile.am: * examples/text-rotate/.cvsignore: * examples/text-rotate/Makefile.am: * examples/text-rotate/text-rotate.cc: Added another basic example, borrowed from a test-case in cairo. This one is just a simple example of using text in cairomm 2006-03-15 Jonathon Jongsma 2006-03-14 Jonathon Jongsma * cairomm/fontface.h: * cairomm/fontoptions.h: * cairomm/path.h: * cairomm/pattern.h: include instead of since it didn't want to compile on windows without these * cairomm/win32_surface.cc: * cairomm/win32_surface.h: Move the include of cairo-win32.h from the source file to the header since the declaration of create() needs the HDC type definition. With these changes, cairomm should compile the Win32Surface cleanly with mingw on Microsoft Windows 2006-03-13 Jonathon Jongsma 2006-03-12 Danilo Piazzalunga * autogen.sh: Allow overriding aclocal, automake, autoconf and libtoolize using environment variables. Taken from cairo's autogen.sh. 2006-03-06 Jonathon Jongsma 2006-03-06 Jonathon Jongsma * cairomm/*.cc, *.h: add vim modelines to set proper indentation for cairomm when using vim 2006-03-01 Jonathon Jongsma 2006-02-28 Jonathon Jongsma * cairomm/context.cc: * cairomm/context.h: * cairomm/enums.h: * cairomm/fontoptions.cc: * cairomm/fontoptions.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/surface.h: wrapped all of the enum types with cairomm types within the Cairo namespace, so now (for example) the values for Cairo::Format are something like Cairo::FORMAT_ARGB32 instead of the base cairo types like CAIRO_FORMAT_ARGB_32. * examples/png_file/main.cc: fixed example to work with the new namespaced enum types 2006-02-28 Jonathon Jongsma 2006-02-27 Jonathon Jongsma * cairomm/exception.h: * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: hide some of the private types and functions from the Doxygen API reference documentation 2006-02-28 Jonathon Jongsma 2006-02-27 Stefan Kersten * cairomm/surface.cc: fix an extra trailing parentheses in GlitzSurface::create() 2006-02-23 Jonathon Jongsma 2006-02-22 Danilo Piazzalunga * examples/README: Write some basic information about each example 2006-02-23 Jonathon Jongsma 2006-02-22 Jonathon Jongsma * docs/reference/Makefile.am: add target for publishing the API reference to cairographics.org 2006-02-21 Jonathon Jongsma 2006-02-20 Danilo Piazzalunga * Makefile.am: Include MAINTAINERS in distribution. Fixes Bug #5982 2006-02-21 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * COPYING: Use the text from the Library GPL 2.0, which is the actual license of cairomm. Fixes Bug #5934 * all: Update FSF's postal address in GPL/LGPL comment headings. Fixes Bug #5933 2006-02-21 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * COPYING: Use the text from the Library GPL 2.0, which is the actual license of cairomm. Fixes Bug #5934 * cairomm/*: Update FSF's postal address in GPL/LGPL comment headings. Fixes Bug #5933 2006-02-17 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * examples/*/.cvsignore: Bug #5927: added .cvsignore files to examples directories 2006-02-17 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * AUTHORS: * INSTALL: * README: * cairomm/exception.cc: * cairomm/exception.h: Remove lingering references to libxml++ 2006-02-17 Jonathon Jongsma 2006-02-17 Danilo Piazzalunga * configure.in: Bug #5929: Output files in docs subdir only if --enable-docs is set. This prevents configure from generating files which are not cleaned up when --disable-docs is used. Use AC_CONFIG_FILES and AC_OUTPUT as recommended. 2006-02-17 Jonathon Jongsma 2006-02-16 Jonathon Jongsma * docs/reference/Doxyfile.in: * docs/reference/cairomm.css: added some style customisations to the API doc so that it fits in with the overall Cairo style a bit better 2006-02-17 Jonathon Jongsma 2006-02-16 Jonathon Jongsma * AUTHORS: * MAINTAINERS: Add my information to the Maintainers and authors file 2006-02-09 Jonathon Jongsma 2006-02-09 Jonathon Jongsma * docs/reference/Makefile.am: added a 'html' target to satisfy the dist rule 2006-02-08 Jonathon Jongsma 2006-02-08 Jonathon Jongsma * cairomm/context.h: Added a lot of documentation for the Cairo::Context class taken from the cairo docs. It's not complete, but the basics are all covered now. * docs/reference/Makefile.am: make use of existing Makefile variable * NEWS: update for 0.5.0 release 2006-02-08 Jonathon Jongsma 2006-02-07 Jonathon Jongsma * Makefile.am: add docs/ subdir * configure.in: added an --enable-docs switch to the configure script (enabled by default), and added AC_OUTPUT directives for the documentation Makefiles, etc. * docs/.cvsignore: * docs/Makefile.am: * docs/reference/.cvsignore: * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: * docs/reference/introduction.h: Added infrastructure to build and install the API documentation for cairomm (based on libxml++ makefiles). 2006-01-29 Murray Cumming 2006-01-27 Jonathon Jongsma * .cvsignore: * cairomm/.cvsignore: update .cvsignore files * cairomm/surface.cc: * cairomm/surface.h: change Surface::create function to take a RefPtr instead of Surface& 2006-01-27 Murray Cumming 2006-01-27 Murray Cumming * examples/pdf-surface/Makefile.am: Remove extra LDADD that was breaking the distcheck. 2006-01-27 Murray Cumming Increase version. 2006-01-26 Murray Cumming 2006-01-25 Jonathon Jongsma * configure.in: * examples/Makefile.am: * examples/pdf-surface/: * examples/ps-surface/: * examples/svg-surface/: add examples for additional surfaces 2006-01-24 Murray Cumming 2006-01-24 Murray Cumming * cairomm/Makefile.am: * cairomm/surface.cc: * cairomm/surface.h: * cairomm/xlib_surface.cc: * cairomm/xlib_surface.h: * cairomm/win32_surface.cc: * cairomm/win32_surface.h: Moved XlibSurface and Win32Surface into separate files, not #included by the main cairomm.h file, so that developers do not need to suffer the Xlib.h or Windows namespace pollution unless they really need to. For instance, this fixes the gtkmm 2.9 build which was broken by the Display struct in Xlib.h. 2006-01-21 Murray Cumming 2006-01-15 Jonathon Jongsma * cairomm/surface.cc: * cairomm/surface.h: backwards-incompatible API change for the Surface types. Cairo::Surface is now a base class for all of the other surface types, and should not be used directly. New Surface types include ImageSurface, XlibSurface, Win32Surface, PdfSurface, PsSurface, SvgSurface, and GlitzSurface. Modified Surface::write_to_png() and Surface::write_to_png_stream() so that they throw exceptions like the other functions instead of returning a cairo_status_t value. Added API documentation for all Surface classes and all member functions of the Surface class heirarchy. * examples/png_file/Makefile.am: added generated PNG file to CLEANFILES * examples/png_file/main.cc: updated the PNG example to use the new ImageSurface class instead of using the Surface class directly. * cairomm/*: Renamed the Cairo::Status type to Cairo::ErrorStatus since it conflicts with a #define Status in XLib and is not used exposed in the API anyway. 2006-01-07 Murray Cumming 2006-01-06 Jonathon Jongsma * cairomm/surface.cc: * cairomm/surface.h: Added implementation of write_to_png() and write_to_png_stream() when PNG support is available in the base cairo library * examples/png_file/*: Added an example of creating an image surface and saving it to a png image file * examples/Makefile.am: add new example directory to SUBDIRS list * configure.in: added output declaration for examples/png_file/Makefile * examples/makefile.am_fragment: fix leftover libxml boilerplate 2006-01-06 Murray Cumming 2006-01-03 Jonathon Jongsma * cairomm/surface.cc: added missing implementations for reference() and unreference() functions 2005-12-23 Murray Cumming 0.4.0: 2005-12-17 Murray Cumming * cairomm/Makefile.am: * cairomm/refptr.h: Add shared reference-counting smartpointer, using the reference-count in the object. A copy of the tried and tested glibmm RefPtr. * cairomm/context.cc: * cairomm/context.h: * cairomm/fontface.cc: * cairomm/fontface.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/surface.cc: * cairomm/surface.h: Make constructors protected and add public static create() methods that return instances in RefPtr<>s. This allows reference-counted objects to be clearly const or non-const, and allows casting between related types. 2005-12-20 Murray Cumming 2005-12-17 Murray Cumming * cairomm/Makefile.am: * cairomm/refptr.h: Add shared reference-counting smartpointer, using the reference-count in the object. A copy of the tried and tested glibmm RefPtr. * cairomm/context.cc: * cairomm/context.h: * cairomm/fontface.cc: * cairomm/fontface.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/surface.cc: * cairomm/surface.h: Make constructors protected and add public static create() methods that return instances in RefPtr<>s. This allows reference-counted objects to be clearly const or non-const, and allows casting between related types. 2005-12-17 Murray Cumming 2005-12-17 Murray Cumming * cairomm/context.cc: * cairomm/context.h: Change set_dash(void) to unset_dash(). Change rotate_deg() to rotate_degrees(). Change identity_matrix() to set_identity_matrix(). Change new_path() to clear_path(). * cairomm/fontface.cc: * cairomm/fontface.h: Comment-out get/set_user_data(), because it seems useless. 2005-12-08 Murray Cumming 2005-12-08 Murray Cumming * cairomm/pattern.cc: * cairomm/pattern.h: Create a hierarchy of pattern classes, as suggested by the C documentation, because not all functions are meaningful for all pattern types. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/context.h: font_extents(), stroke_extents(), glyph_extents(), fill_extents(): Add get_ prefix and make them const. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/context.h: Add typedef for Matrix, though we probably want to derive a class with a C++-like matrix API, with operator overloading. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/exception.cc: * cairomm/exception.h: Rename to logic_error, because the cairo documentation says that most of them are programming errors, not runtime errors. Derive from std::logic_error because of this. * cairomm/private.cc: * cairomm/private.h: Throw std::bad_alloc for memory errors, and std::io_base::failure for read/write runtime errors, as suggested by the cairo language-binding documentation. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/fontoptions.cc: * cairomm/surface.cc: Check for errors in constructors, as per the error-handling advice in the language bindings section of the cairo documentation. 2005-12-07 Murray Cumming 2005-12-07 Murray Cumming * cairomm/context.cc: * cairomm/context.h: Change mask_surface() to mask() and set_source_surface() to set_source(), as per the method overloading advice in the language bindings section of the cairo documentation. 2005-12-02 Murray Cumming Increase version. 2005-12-02 Murray Cumming 2005-12-02 Murray Cumming * cairomm/cairomm.h: Put sensible stuff in here, instead of my copy/paste stuff from libxml++. * cairomm/context.cc: * cairomm/context.h: * cairomm/enums.h: * cairomm/exception.cc: * cairomm/exception.h: * cairomm/fontface.cc: * cairomm/fontface.h: * cairomm/fontoptions.cc: * cairomm/fontoptions.h: * cairomm/path.cc: * cairomm/path.h: * cairomm/pattern.cc: * cairomm/pattern.h: * cairomm/private.cc: * cairomm/private.h: * cairomm/surface.cc: * cairomm/surface.h: Add LGPL comment headings. 2005-12-02 Murray Cumming Initial revision cairomm-1.12.2/PaxHeaders.22062/README0000644000000000000000000000013212556635625013653 xustar0030 mtime=1438333845.574094641 30 atime=1479210717.141944523 30 ctime=1479210737.321938662 cairomm-1.12.2/README0000664000175000017500000000067612556635625015364 0ustar00murraycmurrayc00000000000000cairomm ------------- This library provides a C++ interface to cairo. Read the file 'INSTALL' for instructions to compile and install the library. See the examples directory for example code. Use pkg-config to discover the necessary include and linker arguments. For instance, pkg-config cairomm-1.0 --cflags --libs Ideally you would use PKG_CHECK_MODULES in your configure.ac file. See http://www.openismus.com for generic help with that. cairomm-1.12.2/PaxHeaders.22062/autogen.sh0000644000000000000000000000013112556635625014770 xustar0030 mtime=1438333845.574094641 29 atime=1479210717.08994454 30 ctime=1479210737.269938676 cairomm-1.12.2/autogen.sh0000775000175000017500000000036612556635625016501 0ustar00murraycmurrayc00000000000000#! /bin/sh -e test -n "$srcdir" || srcdir=`dirname "$0"` test -n "$srcdir" || srcdir=. mm-common-prepare --force --copy "$srcdir" autoreconf --force --install "$srcdir" test -n "$NOCONFIGURE" || "$srcdir/configure" --enable-maintainer-mode "$@" cairomm-1.12.2/PaxHeaders.22062/cairomm0000644000000000000000000000013213012573361014327 xustar0030 mtime=1479210737.409938639 30 atime=1479210737.737938553 30 ctime=1479210737.409938639 cairomm-1.12.2/cairomm/0000755000175000017500000000000013012573361016102 5ustar00murraycmurrayc00000000000000cairomm-1.12.2/cairomm/PaxHeaders.22062/pattern.cc0000644000000000000000000000013212562610570016373 xustar0030 mtime=1439371640.572276927 30 atime=1479210717.205944504 30 ctime=1479210737.397938643 cairomm-1.12.2/cairomm/pattern.cc0000664000175000017500000002071412562610570020077 0ustar00murraycmurrayc00000000000000/* Copyright (C) 2005 The cairomm Development Team * * This library 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; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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 this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ #include #include #include namespace Cairo { Pattern::Pattern() : m_cobject(nullptr) { } Pattern::Pattern(cairo_pattern_t* cobject, bool has_reference) : m_cobject(nullptr) { if(has_reference) m_cobject = cobject; else m_cobject = cairo_pattern_reference(cobject); } Pattern::~Pattern() { if(m_cobject) cairo_pattern_destroy(m_cobject); } void Pattern::reference() const { cairo_pattern_reference(m_cobject); } void Pattern::unreference() const { cairo_pattern_destroy(m_cobject); } void Pattern::set_matrix(const Matrix& matrix) { cairo_pattern_set_matrix(m_cobject, (cairo_matrix_t*)&matrix); check_object_status_and_throw_exception(*this); } void Pattern::get_matrix(Matrix& matrix) const { cairo_pattern_get_matrix(m_cobject, (cairo_matrix_t*)&matrix); check_object_status_and_throw_exception(*this); } void Pattern::set_matrix(const cairo_matrix_t& matrix) { cairo_pattern_set_matrix(m_cobject, (cairo_matrix_t*)&matrix); check_object_status_and_throw_exception(*this); } void Pattern::get_matrix(cairo_matrix_t& matrix) const { cairo_pattern_get_matrix(m_cobject, (cairo_matrix_t*)&matrix); check_object_status_and_throw_exception(*this); } Matrix Pattern::get_matrix() const { Cairo::Matrix m; cairo_pattern_get_matrix(m_cobject, (cairo_matrix_t*)&m); check_object_status_and_throw_exception(*this); return m; } PatternType Pattern::get_type() const { auto pattern_type = cairo_pattern_get_type(m_cobject); check_object_status_and_throw_exception(*this); return static_cast(pattern_type); } void Pattern::set_extend(Extend extend) { cairo_pattern_set_extend(m_cobject, (cairo_extend_t)extend); check_object_status_and_throw_exception(*this); } Extend Pattern::get_extend() const { const auto result = static_cast(cairo_pattern_get_extend(m_cobject)); check_object_status_and_throw_exception(*this); return result; } SolidPattern::SolidPattern(cairo_pattern_t* cobject, bool has_reference) : Pattern(cobject, has_reference) { } void SolidPattern::get_rgba(double& red, double& green, double& blue, double& alpha) const { // ignore the return value since we know that this is a solid color pattern cairo_pattern_get_rgba(m_cobject, &red, &green, &blue, &alpha); check_object_status_and_throw_exception(*this); } SolidPattern::~SolidPattern() { } RefPtr SolidPattern::create_rgb(double red, double green, double blue) { auto cobject = cairo_pattern_create_rgb(red, green, blue); check_status_and_throw_exception(cairo_pattern_status(cobject)); return RefPtr(new SolidPattern(cobject, true /* has reference */)); } RefPtr SolidPattern::create_rgba(double red, double green, double blue, double alpha) { cairo_pattern_t* cobject = cairo_pattern_create_rgba(red, green, blue, alpha); check_status_and_throw_exception(cairo_pattern_status(cobject)); return RefPtr(new SolidPattern(cobject, true /* has reference */)); } SurfacePattern::SurfacePattern(const RefPtr& surface) { m_cobject = cairo_pattern_create_for_surface(surface->cobj()); check_object_status_and_throw_exception(*this); } RefPtr SurfacePattern::get_surface() { cairo_surface_t* surface = nullptr; // we can ignore the return value since we know this is a surface pattern cairo_pattern_get_surface(const_cast(m_cobject), &surface); check_object_status_and_throw_exception(*this); return RefPtr(new Surface(surface, false /* does not have reference */)); } RefPtr SurfacePattern::get_surface() const { return const_cast(this)->get_surface(); } RefPtr SurfacePattern::create(const RefPtr& surface) { return RefPtr(new SurfacePattern(surface)); } SurfacePattern::SurfacePattern(cairo_pattern_t* cobject, bool has_reference) : Pattern(cobject, has_reference) { } SurfacePattern::~SurfacePattern() { } void SurfacePattern::set_extend(Extend extend) { Pattern::set_extend(extend); } Extend SurfacePattern::get_extend() const { return Pattern::get_extend(); } void SurfacePattern::set_filter(Filter filter) { cairo_pattern_set_filter(m_cobject, (cairo_filter_t)filter); check_object_status_and_throw_exception(*this); } Filter SurfacePattern::get_filter() const { auto result = static_cast(cairo_pattern_get_filter(m_cobject)); check_object_status_and_throw_exception(*this); return result; } Gradient::Gradient() { } Gradient::Gradient(cairo_pattern_t* cobject, bool has_reference) : Pattern(cobject, has_reference) { } Gradient::~Gradient() { } void Gradient::add_color_stop_rgb(double offset, double red, double green, double blue) { cairo_pattern_add_color_stop_rgb(m_cobject, offset, red, green, blue); check_object_status_and_throw_exception(*this); } void Gradient::add_color_stop_rgba(double offset, double red, double green, double blue, double alpha) { cairo_pattern_add_color_stop_rgba(m_cobject, offset, red, green, blue, alpha); check_object_status_and_throw_exception(*this); } std::vector Gradient::get_color_stops() const { std::vector stops; int num_stops = 0; // we can ignore the return value since we know this is a gradient pattern cairo_pattern_get_color_stop_count(m_cobject, &num_stops); // since we know the total number of stops, we can avoid re-allocation with // each addition to the vector by pre-allocating the required number stops.reserve(num_stops); for(int i = 0; i < num_stops; ++i) { ColorStop stop; cairo_pattern_get_color_stop_rgba(m_cobject, i, &stop.offset, &stop.red, &stop.green, &stop.blue, &stop.alpha); stops.push_back(stop); } return stops; } LinearGradient::LinearGradient(double x0, double y0, double x1, double y1) { m_cobject = cairo_pattern_create_linear(x0, y0, x1, y1); check_object_status_and_throw_exception(*this); } void LinearGradient::get_linear_points(double &x0, double &y0, double &x1, double &y1) const { // ignore the return value since we know that this is a linear gradient // pattern cairo_pattern_get_linear_points(m_cobject, &x0, &y0, &x1, &y1); check_object_status_and_throw_exception(*this); } RefPtr LinearGradient::create(double x0, double y0, double x1, double y1) { return RefPtr(new LinearGradient(x0, y0, x1, y1)); } LinearGradient::LinearGradient(cairo_pattern_t* cobject, bool has_reference) : Gradient(cobject, has_reference) { } LinearGradient::~LinearGradient() { } RadialGradient::RadialGradient(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) { m_cobject = cairo_pattern_create_radial(cx0, cy0, radius0, cx1, cy1, radius1); check_object_status_and_throw_exception(*this); } void RadialGradient::get_radial_circles(double& x0, double& y0, double& r0, double& x1, double& y1, double& r1) const { // ignore the return value since we know that this is a radial gradient // pattern cairo_pattern_get_radial_circles(const_cast(m_cobject), &x0, &y0, &r0, &x1, &y1, &r1); check_object_status_and_throw_exception(*this); } RefPtr RadialGradient::create(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) { return RefPtr(new RadialGradient(cx0, cy0, radius0, cx1, cy1, radius1)); } RadialGradient::RadialGradient(cairo_pattern_t* cobject, bool has_reference) : Gradient(cobject, has_reference) { } RadialGradient::~RadialGradient() { } } //namespace Cairo // vim: ts=2 sw=2 et cairomm-1.12.2/cairomm/PaxHeaders.22062/path.cc0000644000000000000000000000013212562610570015652 xustar0030 mtime=1439371640.572276927 30 atime=1479210717.205944504 30 ctime=1479210737.397938643 cairomm-1.12.2/cairomm/path.cc0000664000175000017500000000403612562610570017355 0ustar00murraycmurrayc00000000000000/* Copyright (C) 2005 The cairomm Development Team * * This library 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; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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 this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ #include #include #include namespace Cairo { /* Path::Path() : m_cobject(nullptr) { m_cobject = cairo_path_create(); } */ Path::Path(cairo_path_t* cobject, bool take_ownership) : m_cobject(nullptr) { if(take_ownership) m_cobject = cobject; else { std::cerr << "cairomm: Path::Path(): copying of the underlying cairo_path_t* is not yet implemented." << std::endl; //m_cobject = cairo_path_copy(cobject); } } /* Path::Path(const Path& src) { //Reference-counting, instead of copying by value: if(!src.m_cobject) m_cobject = nullptr; else m_cobject = cairo_path_copy(src.m_cobject); } */ Path::~Path() { if(m_cobject) cairo_path_destroy(m_cobject); } /* Path& Path::operator=(const Path& src) { //Reference-counting, instead of copying by value: if(this == &src) return *this; if(m_cobject == src.m_cobject) return *this; if(m_cobject) { cairo_path_destroy(m_cobject); m_cobject = nullptr; } if(!src.m_cobject) return *this; m_cobject = cairo_path_copy(src.m_cobject); return *this; } */ /* bool Path::operator==(const Path& src) const { return cairo_path_equal(m_cobject, src.cobj()); } */ } //namespace Cairo // vim: ts=2 sw=2 et cairomm-1.12.2/cairomm/PaxHeaders.22062/fontoptions.cc0000644000000000000000000000013212565416010017274 xustar0030 mtime=1440095240.901524184 30 atime=1479210717.201944505 30 ctime=1479210737.393938643 cairomm-1.12.2/cairomm/fontoptions.cc0000664000175000017500000001071412565416010020777 0ustar00murraycmurrayc00000000000000/* Copyright (C) 2005 The cairomm Development Team * * This library 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; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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 this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ #include #include namespace Cairo { FontOptions::FontOptions() : m_cobject(nullptr) { m_cobject = cairo_font_options_create(); check_object_status_and_throw_exception(*this); } FontOptions::FontOptions(cairo_font_options_t* cobject, bool take_ownership) : m_cobject(nullptr) { if(take_ownership) m_cobject = cobject; else m_cobject = cairo_font_options_copy(cobject); check_object_status_and_throw_exception(*this); } FontOptions::FontOptions(const FontOptions& src) : m_cobject(nullptr) { //Reference-counting, instead of copying by value: if(!src.m_cobject) m_cobject = nullptr; else m_cobject = cairo_font_options_copy(src.m_cobject); check_object_status_and_throw_exception(*this); } FontOptions::~FontOptions() { if(m_cobject) cairo_font_options_destroy(m_cobject); } FontOptions& FontOptions::operator=(const FontOptions& src) { //Reference-counting, instead of copying by value: if(this == &src) return *this; if(m_cobject == src.m_cobject) return *this; if(m_cobject) { cairo_font_options_destroy(m_cobject); m_cobject = nullptr; } if(!src.m_cobject) return *this; m_cobject = cairo_font_options_copy(src.m_cobject); return *this; } bool FontOptions::operator==(const FontOptions& src) const { return cairo_font_options_equal(m_cobject, src.cobj()); } void FontOptions::merge(const FontOptions& src) { cairo_font_options_merge(m_cobject, src.cobj()); check_object_status_and_throw_exception(*this); } unsigned long FontOptions::hash() const { const auto result = cairo_font_options_hash(m_cobject); check_object_status_and_throw_exception(*this); return result; } void FontOptions::set_antialias(Antialias antialias) { cairo_font_options_set_antialias(m_cobject, static_cast(antialias)); check_object_status_and_throw_exception(*this); } Antialias FontOptions::get_antialias() const { const auto result = static_cast(cairo_font_options_get_antialias(m_cobject)); check_object_status_and_throw_exception(*this); return result; } void FontOptions::set_subpixel_order(SubpixelOrder subpixel_order) { cairo_font_options_set_subpixel_order(m_cobject, static_cast(subpixel_order)); check_object_status_and_throw_exception(*this); } SubpixelOrder FontOptions::get_subpixel_order() const { const auto result = static_cast(cairo_font_options_get_subpixel_order(m_cobject)); check_object_status_and_throw_exception(*this); return result; } void FontOptions::set_hint_style(HintStyle hint_style) { cairo_font_options_set_hint_style(m_cobject, static_cast(hint_style)); check_object_status_and_throw_exception(*this); } HintStyle FontOptions::get_hint_style() const { const auto result = static_cast(cairo_font_options_get_hint_style(m_cobject)); check_object_status_and_throw_exception(*this); return result; } void FontOptions::set_hint_metrics(HintMetrics hint_metrics) { cairo_font_options_set_hint_metrics(m_cobject, static_cast(hint_metrics)); check_object_status_and_throw_exception(*this); } HintMetrics FontOptions::get_hint_metrics() const { const auto result = static_cast(cairo_font_options_get_hint_metrics(m_cobject)); check_object_status_and_throw_exception(*this); return result; } #ifdef CAIRO_HAS_FT_FONT #ifdef CAIRO_HAS_FC_FONT void FontOptions::substitute(FcPattern* pattern) { cairo_ft_font_options_substitute(cobj(), pattern); check_object_status_and_throw_exception(*this); } #endif // CAIRO_HAS_FC_FONT #endif // CAIRO_HAS_FT_FONT } //namespace Cairo // vim: ts=2 sw=2 et cairomm-1.12.2/cairomm/PaxHeaders.22062/script_surface.cc0000644000000000000000000000013212562610570017732 xustar0030 mtime=1439371640.576276981 30 atime=1479210717.209944502 30 ctime=1479210737.401938641 cairomm-1.12.2/cairomm/script_surface.cc0000664000175000017500000000407212562610570021435 0ustar00murraycmurrayc00000000000000/* Copyright (C) 2014 The cairomm Development Team * * This library 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; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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 this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ #include #include namespace Cairo { #ifdef CAIRO_HAS_SCRIPT_SURFACE ScriptSurface::ScriptSurface(cairo_surface_t* cobject, bool has_reference) : Surface(cobject, has_reference) {} ScriptSurface::~ScriptSurface() { // surface is destroyed in base class } RefPtr ScriptSurface::create(const RefPtr
Cairo::PdfSurface Member List

This is the complete list of members for Cairo::PdfSurface, including all inherited members.

cobj()Cairo::Surfaceinline
cobj() const Cairo::Surfaceinline
cobject typedefCairo::Surface
copy_page()Cairo::Surface
create(std::string filename, double width_in_points, double height_in_points)Cairo::PdfSurfacestatic
create(cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)Cairo::PdfSurfacestatic
Cairo::Surface::create(const RefPtr< Surface > other, Content content, int width, int height)Cairo::Surfacestatic
Cairo::Surface::create(const RefPtr< Surface >& target, double x, double y, double width, double height)Cairo::Surfacestatic
create_for_stream(const SlotWriteFunc& write_func, double width_in_points, double height_in_points)Cairo::PdfSurfacestatic
finish()Cairo::Surface
flush()Cairo::Surface
get_content() const Cairo::Surface
get_device()Cairo::Surface
get_device_offset(double& x_offset, double& y_offset) const Cairo::Surface
get_fallback_resolution(double& x_pixels_per_inch, double& y_pixels_per_inch) const Cairo::Surface
get_font_options(FontOptions& options) const Cairo::Surface
get_mime_data(const std::string& mime_type, unsigned long& length)Cairo::Surface
get_type() const Cairo::Surface
get_versions()Cairo::PdfSurfacestatic
has_show_text_glyphs() const Cairo::Surface
m_cobjectCairo::Surfaceprotected
mark_dirty()Cairo::Surface
mark_dirty(int x, int y, int width, int height)Cairo::Surface
operator=(const Surface&)=deleteCairo::Surface
PdfSurface(cairo_surface_t* cobject, bool has_reference=false)Cairo::PdfSurfaceexplicit
restrict_to_version(PdfVersion version)Cairo::PdfSurface
set_device_offset(double x_offset, double y_offset)Cairo::Surface
set_fallback_resolution(double x_pixels_per_inch, double y_pixels_per_inch)Cairo::Surface
set_mime_data(const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)Cairo::Surface
set_size(double width_in_points, double height_in_points)Cairo::PdfSurface
show_page()Cairo::Surface
SlotDestroy typedefCairo::Surface
SlotReadFunc typedefCairo::Surface
SlotWriteFunc typedefCairo::Surface
Surface(cairo_surface_t* cobject, bool has_reference=false)Cairo::Surfaceexplicit
Surface(const Surface&)=deleteCairo::Surface
unset_mime_data(const std::string& mime_type)Cairo::Surface
version_to_string(PdfVersion version)Cairo::PdfSurfacestatic
write_to_png(const std::string& filename)Cairo::Surface
write_to_png(cairo_write_func_t write_func, void* closure)Cairo::Surface
write_to_png_stream(const SlotWriteFunc& write_func)Cairo::Surface
~PdfSurface() overrideCairo::PdfSurface
~Surface()Cairo::Surfacevirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Win32FontFace-members.html0000644000000000000000000000013213012573355026104 xustar0030 mtime=1479210733.133939782 30 atime=1479210733.129939782 30 ctime=1479210737.593938591 cairomm-1.12.2/docs/reference/html/classCairo_1_1Win32FontFace-members.html0000644000175000017500000001704113012573355027605 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::Win32FontFace Member List

This is the complete list of members for Cairo::Win32FontFace, including all inherited members.

cobj()Cairo::FontFaceinline
cobj() const Cairo::FontFaceinline
cobject typedefCairo::FontFace
create(LOGFONTW* logfont)Cairo::Win32FontFacestatic
create(HFONT font)Cairo::Win32FontFacestatic
create(LOGFONTW* logfont, HFONT font)Cairo::Win32FontFacestatic
FontFace(cairo_font_face_t* cobject, bool has_reference=false)Cairo::FontFaceexplicit
FontFace(const FontFace&)=deleteCairo::FontFace
get_type() const Cairo::FontFace
m_cobjectCairo::FontFaceprotected
operator=(const FontFace&)=deleteCairo::FontFace
reference() const Cairo::FontFace
unreference() const Cairo::FontFace
Win32FontFace(LOGFONTW* logfont)Cairo::Win32FontFaceprotected
Win32FontFace(HFONT font)Cairo::Win32FontFaceprotected
Win32FontFace(LOGFONTW* logfont, HFONT font)Cairo::Win32FontFaceprotected
~FontFace()Cairo::FontFacevirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1FtScaledFont-members.html0000644000000000000000000000013213012573355026110 xustar0030 mtime=1479210733.133939782 30 atime=1479210733.133939782 30 ctime=1479210737.537938606 cairomm-1.12.2/docs/reference/html/classCairo_1_1FtScaledFont-members.html0000644000175000017500000003027013012573355027610 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::FtScaledFont Member List

This is the complete list of members for Cairo::FtScaledFont, including all inherited members.

cobj()Cairo::ScaledFontinline
cobj() const Cairo::ScaledFontinline
cobject typedefCairo::ScaledFont
create(const RefPtr< FtFontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())Cairo::FtScaledFontstatic
Cairo::ScaledFont::create(const RefPtr< FontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())Cairo::ScaledFontstatic
Cairo::ScaledFont::create(const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())Cairo::ScaledFontstatic
extents(FontExtents& extents) const Cairo::ScaledFont
FtScaledFont(const RefPtr< FtFontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())Cairo::FtScaledFontprotected
get_ctm(Matrix& ctm) const Cairo::ScaledFont
get_ctm(cairo_matrix_t& ctm) const Cairo::ScaledFont
get_extents(FontExtents& extents) const Cairo::ScaledFont
get_font_face() const Cairo::ScaledFont
get_font_matrix(Matrix& font_matrix) const Cairo::ScaledFont
get_font_matrix(cairo_matrix_t& font_matrix) const Cairo::ScaledFont
get_font_options(FontOptions& options) const Cairo::ScaledFont
get_glyph_extents(const std::vector< Glyph >& glyphs, TextExtents& extents)Cairo::ScaledFont
get_scale_matrix(Matrix& scale_matrix) const Cairo::ScaledFont
get_text_extents(const std::string& utf8, TextExtents& extents) const Cairo::ScaledFont
get_type() const Cairo::ScaledFont
glyph_extents(const std::vector< Glyph >& glyphs, TextExtents& extents)Cairo::ScaledFont
lock_face()Cairo::FtScaledFont
m_cobjectCairo::ScaledFontprotected
operator=(const ScaledFont&)=deleteCairo::ScaledFont
ScaledFont(cobject* cobj, bool has_reference=false)Cairo::ScaledFontexplicit
ScaledFont(const ScaledFont&)=deleteCairo::ScaledFont
ScaledFont(const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())Cairo::ScaledFontprotected
text_extents(const std::string& utf8, TextExtents& extents) const Cairo::ScaledFont
text_to_glyphs(double x, double y, const std::string& utf8, std::vector< Glyph >& glyphs, std::vector< TextCluster >& clusters, TextClusterFlags& cluster_flags)Cairo::ScaledFont
unlock_face()Cairo::FtScaledFont
~ScaledFont()Cairo::ScaledFontvirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1GlitzSurface__inherit__graph.png0000644000000000000000000000013213012573354027566 xustar0030 mtime=1479210732.365939993 30 atime=1479210732.369939991 30 ctime=1479210737.541938604 cairomm-1.12.2/docs/reference/html/classCairo_1_1GlitzSurface__inherit__graph.png0000644000175000017500000000725213012573354031272 0ustar00murraycmurrayc00000000000000‰PNG  IHDR—pÞâCbKGDÿÿÿ ½§“_IDATxœíÝ}Pgð/ˆà1(|;«ÓZ[;Tqœ´3uÚ+ØÄRdêËYˆØÚ±E µUÛÔ"µ:ƒVÞêÕѪ×ò"ÖŠoBa hÚx‘Ä$<÷‡Ç Ü%àý>3Ù}ž}ö·›ïìÆÍÂ:1Æá_ž³£+ O.  …‹†ÂEãÂ×@·nÝBbb"L&_C’&‘HššÊÛx¼¹ÊÊÊpüøq¾†#ìÏ?ÿÄž={x“·#W§ÜÜ\¾‡$ 77R©”×1é3 …‹†ÂECár .`êÔ©prrrt)‚òáªoΦM›°{÷n<É_í:<\555Xºt)|}}áææ†àà`äççÛ½¼Ðo΃˜˜ˆ©S§ÂÃãFÂ’%KPXXøXãVTTà•W^á©ÊÁÉ¡áúý÷ßйsçâÚµkhiiÁ¾}ûÕõ2©TŠ»wïâôéÓhnnFmm-¢¢¢°}ûöÇ·¥¥nnno¼ñâââ T*¡P(€ÄÄÄ^ûŸ?/^DGGà“O>AUU.]º„Ë—/£¢¢Ÿ~ú©Ý5†††bÍš5øù矡Õjí^ÎZ]ì§rÆ÷³­íܽ{7~úé'¡¡¡J¥’kKKKCII ŠŠŠP__ƒÁ€äää~×ʾbڟ仸¸0­VÛ§eçY¾ñ]§CCC‘››‹ÆÆF ܼy~ø!æÍ›Çõyá… —Ë¡ÑhpóæM¬]»¶O5Ú³+W®„L&CCCîß¿wß}—k[·nV¯^ß~û >Dee%"##û\ïø:ö÷°Z]]ÍÂÃÙ··7suueÁÁÁ,//k?}ú4{ê©§ØðáÃY`` KOOïvÊééçNZ­–Éd2&‹™X,f2™¬ÛéÅr¹®Ó………,<<œùøø0‘HÄ&NœÈâââØÝ»w¹>•••lΜ9L$±   –‘‘a³.Ëy¶¶óáÇlóæÍL"‘0–ššÊµ™L&–žžÎ¦M›ÆÜÜÜØŒ3Øwß}×mÖqZtbŒŸ«·lð4`¼ôÛ?D8."  …‹†ÂECá"‚¡pÁðþ«eyyy|IÀ¯¿þÊû˜¼…kìØ±pqqÁ²eËørPqqñÅßþŒææsxôÝð“G"‘ð:oWèŸt›7çãÈ‘Ÿ‘Ÿ‡¹s§8ºœ¡€®ÐÛÃ`0áĉ«ÀýKl£pÙ¡´´èÿú×5 Ž¿e( pÙáĉ«pqy´«ÚÛu()©qpEC…˽ވ3g*a4>:Z 挂‚+®jh pÙpî\%ôz7m4vàìÙJh4zV54P¸l((¸ggó;U þýï*U4tP¸¬hiÑ¢¸¸Fc‡Ù|gg  à²ƒª:(\Vœ>}ûýÇ®L&†óçkqÿ¾ÆU .+òó¯ÀÚ/íœ:u}àŠ‚(\½hllÁÅ‹õ0™zþ££ƒ!?ÿÒW5´P¸zqòäµnä»bŒáòeTªæ¬jh¡põ¢ à2L¦îŸ·ºbìÑ{Ò3Þo¹yR î/nÚdê€^o„‡‡«Y?ú*¨wtW„Nž,Ç?þñOüç?üþ­ö'ÝA„Cá"‚¡pÁP¸ˆ`(\D0."  …‹†ÂECá"‚¡pÁP¸ˆ`(\D0."  …‹†ÂECá"‚¡pÁP¸ˆ`(\D0."  …‹†ÂECá"‚¡pÁP¸ˆ`(\D0."  …‹†ÂE„Ã,”––2†GO¬¤×ÿ^Æ`"Ñß^Ç`|Xƈ1Ær»ýMT•J£Ñˆ­[·Z6ÒMuuu¯žîõ† Uù?AŸ¹ˆ`(\D0." —…°°0G—`UUU¢££}À ×`ÜYƒ±¦ÌÌL¬Y³ÅÅÅŽ.Å&ÞÏòÇà믿Fyy9´Z-&OžŒåË—cþüùv-?;ëÞ½{ÈÊÊÂÅ‹ÑÔÔwwwLŸ>˜={¶ÕšÂÂÂúT£F£Á±cÇPZZ µZ WWW<û쳈ˆˆÀ¬Y³ú½ õõõ˜3gN¿—H¼„K©TbÆ ˆŒŒD||<|||PWW‡ãÇÛ.¡555!>>óçÏÇ®]»àïï½^ªª*ô®Ç‘’’±XŒ;wÂßßmmm(//GVVÖc…«½½Çç±Ráð®#GŽ ""Ë–-ãæMŸ>)))Ü´R©ÄÁƒqíÚ5ttt`Ö¬Yظq#¼¼=¼©ë‘!,, ï¼óòòòÐÔÔ„¢¢" dff¢¸¸Œ1,X°k×®5ÛÑ–G—®Ó‡ÆK/½„U«Vqínnn AHHHÛÕ¹|çé±óß®uZêl«¨¨@AA<==ÞÞÞ 5»~ØÓÑÐÚ~è|LS×:líW“É„¬¬,œ={íííˆŽŽæÞ'Ʋ³³ñý÷ßC£Ñ`Þ¼yX¿~=D"Qû£¯xùÌuõêU,\¸ÐjŸ­[·bÉ’%ÈËËCNNFƒöÚÿúõëÈÈÈ@QQ ;;·nÝ™™‰††dggÛ]cYY-Zdwÿ®:ßìââb³0tNcãÆf!}î¹ç —ËqãÆ èõú~­0ß=Õak¿~óÍ7¨¨¨Àž={pìØ1¨Õj®-??åååHMMÅÑ£Ga4qøðá~×j‰—pµ´´À×××jŸC‡áù矇››<==±jÕ*”••õÚ_&“™ùÃ?@&“ÁÏÏ~~~ÉdøñÇÍ–±< tnnn†ŸŸŸY{XX÷zW®\ÁÉ“'ñÑGqó’““ˆ´´4,^¼QQQ8pà4š¾=Ûr?X²µ_Ïž=‹õë×cܸq1bââ⸶S§NaÆ ;v,FŒuëÖ¡´´´OõYÃËiqäÈ‘¸{÷.ÆŽÛkŸÚÚZdff¢®®­­­gçÞ³=f̳iËñÐÔÔdw^^^P«ÕH$Ü€¿¿¿Õe'L˜€øøxH¥Rn¾««+ôz=ÜÜÜ<ú߬=ëíÊÖ~3f nß¾‰'v[v̘1øì³Ï¬Öþ8x9-®\¹ß~û-òòò V«a0PSScvg…N§ƒ‡‡D"!—Ëû´Ž… bïÞ½P«ÕP«ÕØ»wo·Ïy–G ®Ó±±±8wî222 P( ×ëÑÚÚŠ .ص~///( ³y[¶lÁŠ+ðÌ3Ïtë¿aÔ””àþýû0P©Tøê«¯0cÆ ®ÏÔ©S‘““N•J…/¾øÂ®Zº²µ_-Z„ôôt¨T*´¶¶bÿþý\Ûk¯½¹\…B£Ñˆ††lÛ¶­Ï5ô†—#—D"Ajj*:„¬¬,èt:L™2‘‘‘\ŸM›6aÿþýHIIÁ¨Q£ •Jût~ŽŽFff&Ö®] àQpÞ|óM»—‹ÅøòË/qäÈlܸÍÍÍðôôÄÌ™3±oß>›ËGEE!>>mmmÜé´ººÕÕÕØµkׯ³-&&'Nœ@jj*ôz=|}}1{öllÙ²…ëûÞ{ïA.—ãèÑ£ðññATT~ùå»· °½_¥R)´Z- Óé͵EDDÀÉÉ ÉÉÉP©T?~<Þ~ûí>­ßšn!ÎÍÍ…T*W€‰ã•”” %%¬ûÓ¬é1ÄD8."  …‹†ÂECá"‚¡pÁôzµëí2„ô毿þêµ­[¸^|ñEDFFÂd2 Zy2øùùáå—_î±­ÛzBxBWè‰p(\D0." Ì;J}ªÝ¤£IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1logic__error.html0000644000000000000000000000013213012573355024611 xustar0030 mtime=1479210733.133939782 30 atime=1479210733.133939782 30 ctime=1479210737.609938587 cairomm-1.12.2/docs/reference/html/classCairo_1_1logic__error.html0000644000175000017500000001742013012573355026313 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::logic_error Class Reference
Cairo::logic_error Class Reference
Inheritance diagram for Cairo::logic_error:

Public Member Functions

 logic_error (ErrorStatus status)
 
 ~logic_error () noexceptoverride
 
ErrorStatus get_status_code () const
 
- Public Member Functions inherited from std::logic_error
 logic_error (const string &__arg)
 

Constructor & Destructor Documentation

Cairo::logic_error::logic_error ( ErrorStatus  status)
explicit
Cairo::logic_error::~logic_error ( )
overridenoexcept

Member Function Documentation

ErrorStatus Cairo::logic_error::get_status_code ( ) const

The documentation for this class was generated from the following file:
  • cairomm/exception.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1ImageSurface-members.html0000644000000000000000000000013213012573355026127 xustar0030 mtime=1479210733.133939782 30 atime=1479210733.133939782 30 ctime=1479210737.545938604 cairomm-1.12.2/docs/reference/html/classCairo_1_1ImageSurface-members.html0000644000175000017500000004056613012573355027640 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::ImageSurface Member List

This is the complete list of members for Cairo::ImageSurface, including all inherited members.

cobj()Cairo::Surfaceinline
cobj() const Cairo::Surfaceinline
cobject typedefCairo::Surface
copy_page()Cairo::Surface
create(Format format, int width, int height)Cairo::ImageSurfacestatic
create(unsigned char* data, Format format, int width, int height, int stride)Cairo::ImageSurfacestatic
Cairo::Surface::create(const RefPtr< Surface > other, Content content, int width, int height)Cairo::Surfacestatic
Cairo::Surface::create(const RefPtr< Surface >& target, double x, double y, double width, double height)Cairo::Surfacestatic
create_from_png(std::string filename)Cairo::ImageSurfacestatic
create_from_png(cairo_read_func_t read_func, void* closure)Cairo::ImageSurfacestatic
create_from_png_stream(const SlotReadFunc& read_func)Cairo::ImageSurfacestatic
finish()Cairo::Surface
flush()Cairo::Surface
format_stride_for_width(Cairo::Format format, int width)Cairo::ImageSurfacestatic
get_content() const Cairo::Surface
get_data()Cairo::ImageSurface
get_data() const Cairo::ImageSurface
get_device()Cairo::Surface
get_device_offset(double& x_offset, double& y_offset) const Cairo::Surface
get_fallback_resolution(double& x_pixels_per_inch, double& y_pixels_per_inch) const Cairo::Surface
get_font_options(FontOptions& options) const Cairo::Surface
get_format() const Cairo::ImageSurface
get_height() const Cairo::ImageSurface
get_mime_data(const std::string& mime_type, unsigned long& length)Cairo::Surface
get_stride() const Cairo::ImageSurface
get_type() const Cairo::Surface
get_width() const Cairo::ImageSurface
has_show_text_glyphs() const Cairo::Surface
ImageSurface(cairo_surface_t* cobject, bool has_reference=false)Cairo::ImageSurfaceexplicit
m_cobjectCairo::Surfaceprotected
mark_dirty()Cairo::Surface
mark_dirty(int x, int y, int width, int height)Cairo::Surface
operator=(const Surface&)=deleteCairo::Surface
set_device_offset(double x_offset, double y_offset)Cairo::Surface
set_fallback_resolution(double x_pixels_per_inch, double y_pixels_per_inch)Cairo::Surface
set_mime_data(const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)Cairo::Surface
show_page()Cairo::Surface
SlotDestroy typedefCairo::Surface
SlotReadFunc typedefCairo::Surface
SlotWriteFunc typedefCairo::Surface
Surface(cairo_surface_t* cobject, bool has_reference=false)Cairo::Surfaceexplicit
Surface(const Surface&)=deleteCairo::Surface
unset_mime_data(const std::string& mime_type)Cairo::Surface
write_to_png(const std::string& filename)Cairo::Surface
write_to_png(cairo_write_func_t write_func, void* closure)Cairo::Surface
write_to_png_stream(const SlotWriteFunc& write_func)Cairo::Surface
~ImageSurface() overrideCairo::ImageSurface
~Surface()Cairo::Surfacevirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1XlibSurface-members.html0000644000000000000000000000013213012573355026003 xustar0030 mtime=1479210733.133939782 30 atime=1479210733.133939782 30 ctime=1479210737.605938588 cairomm-1.12.2/docs/reference/html/classCairo_1_1XlibSurface-members.html0000644000175000017500000004251513012573355027510 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::XlibSurface Member List

This is the complete list of members for Cairo::XlibSurface, including all inherited members.

cobj()Cairo::Surfaceinline
cobj() const Cairo::Surfaceinline
cobject typedefCairo::Surface
copy_page()Cairo::Surface
create(Display* dpy, Drawable drawable, Visual* visual, int width, int height)Cairo::XlibSurfacestatic
create(Display* dpy, Pixmap bitmap, Screen* screen, int width, int height)Cairo::XlibSurfacestatic
Cairo::Surface::create(const RefPtr< Surface > other, Content content, int width, int height)Cairo::Surfacestatic
Cairo::Surface::create(const RefPtr< Surface >& target, double x, double y, double width, double height)Cairo::Surfacestatic
create_with_xrender_format(Display* dpy, Drawable drawable, Screen* screen, XRenderPictFormat* format, int width, int height)Cairo::XlibSurfacestatic
finish()Cairo::Surface
flush()Cairo::Surface
get_content() const Cairo::Surface
get_depth() const Cairo::XlibSurface
get_device()Cairo::Surface
get_device_offset(double& x_offset, double& y_offset) const Cairo::Surface
get_display() const Cairo::XlibSurface
get_display()Cairo::XlibSurface
get_drawable() const Cairo::XlibSurface
get_fallback_resolution(double& x_pixels_per_inch, double& y_pixels_per_inch) const Cairo::Surface
get_font_options(FontOptions& options) const Cairo::Surface
get_height() const Cairo::XlibSurface
get_mime_data(const std::string& mime_type, unsigned long& length)Cairo::Surface
get_screen()Cairo::XlibSurface
get_screen() const Cairo::XlibSurface
get_type() const Cairo::Surface
get_visual()Cairo::XlibSurface
get_visual() const Cairo::XlibSurface
get_width() const Cairo::XlibSurface
get_xrender_format() const Cairo::XlibSurface
has_show_text_glyphs() const Cairo::Surface
m_cobjectCairo::Surfaceprotected
mark_dirty()Cairo::Surface
mark_dirty(int x, int y, int width, int height)Cairo::Surface
operator=(const Surface&)=deleteCairo::Surface
set_device_offset(double x_offset, double y_offset)Cairo::Surface
set_drawable(Drawable drawable, int width, int height)Cairo::XlibSurface
set_fallback_resolution(double x_pixels_per_inch, double y_pixels_per_inch)Cairo::Surface
set_mime_data(const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)Cairo::Surface
set_size(int width, int height)Cairo::XlibSurface
show_page()Cairo::Surface
SlotDestroy typedefCairo::Surface
SlotReadFunc typedefCairo::Surface
SlotWriteFunc typedefCairo::Surface
Surface(cairo_surface_t* cobject, bool has_reference=false)Cairo::Surfaceexplicit
Surface(const Surface&)=deleteCairo::Surface
unset_mime_data(const std::string& mime_type)Cairo::Surface
write_to_png(const std::string& filename)Cairo::Surface
write_to_png(cairo_write_func_t write_func, void* closure)Cairo::Surface
write_to_png_stream(const SlotWriteFunc& write_func)Cairo::Surface
XlibSurface(cairo_surface_t* cobject, bool has_reference=false)Cairo::XlibSurfaceexplicit
~Surface()Cairo::Surfacevirtual
~XlibSurface() overrideCairo::XlibSurface
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_h.html0000644000000000000000000000013213012573355022017 xustar0030 mtime=1479210733.133939782 30 atime=1479210733.133939782 30 ctime=1479210737.649938576 cairomm-1.12.2/docs/reference/html/functions_h.html0000644000175000017500000001111513012573355023514 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- h -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1PsSurface.html0000644000000000000000000000013213012573355024037 xustar0030 mtime=1479210733.133939782 30 atime=1479210733.133939782 30 ctime=1479210737.561938599 cairomm-1.12.2/docs/reference/html/classCairo_1_1PsSurface.html0000644000175000017500000020001713012573355025535 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::PsSurface Class Reference

A PsSurface provides a way to render PostScript documents from cairo. More...

Inheritance diagram for Cairo::PsSurface:

Public Member Functions

 PsSurface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~PsSurface () override
 
void set_size (double width_in_points, double height_in_points)
 Changes the size of a PostScript surface for the current (and subsequent) pages. More...
 
void dsc_comment (std::string comment)
 Emit a comment into the PostScript output for the given surface. More...
 
void dsc_begin_setup ()
 This function indicates that subsequent calls to dsc_comment() should direct comments to the Setup section of the PostScript output. More...
 
void dsc_begin_page_setup ()
 This function indicates that subsequent calls to dsc_comment() should direct comments to the PageSetup section of the PostScript output. More...
 
void set_eps (bool eps)
 If eps is true, the PostScript surface will output Encapsulated PostScript. More...
 
bool get_eps () const
 Check whether the PostScript surface will output Encapsulated PostScript. More...
 
void restrict_to_level (PsLevel level)
 Restricts the generated PostSript file to . More...
 
- Public Member Functions inherited from Cairo::Surface
 Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Surface (const Surface&)=delete
 
Surfaceoperator= (const Surface&)=delete
 
virtual ~Surface ()
 
const unsigned char* get_mime_data (const std::string& mime_type, unsigned long& length)
 Return mime data previously attached to surface using the specified mime type. More...
 
void set_mime_data (const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)
 Attach an image in the format mime_type to surface. More...
 
void unset_mime_data (const std::string& mime_type)
 Remove the data from a surface. More...
 
void get_font_options (FontOptions& options) const
 Retrieves the default font rendering options for the surface. More...
 
void finish ()
 This function finishes the surface and drops all references to external resources. More...
 
void flush ()
 Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. More...
 
void mark_dirty ()
 Tells cairo to consider the data buffer dirty. More...
 
void mark_dirty (int x, int y, int width, int height)
 Marks a rectangular area of the given surface dirty. More...
 
void set_device_offset (double x_offset, double y_offset)
 Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. More...
 
void get_device_offset (double& x_offset, double& y_offset) const
 Returns a previous device offset set by set_device_offset(). More...
 
void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
 Set the horizontal and vertical resolution for image fallbacks. More...
 
void get_fallback_resolution (double& x_pixels_per_inch, double& y_pixels_per_inch) const
 This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set. More...
 
SurfaceType get_type () const
 
Content get_content () const
 This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. More...
 
void copy_page ()
 Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. More...
 
void show_page ()
 Emits and clears the current page for backends that support multiple pages. More...
 
bool has_show_text_glyphs () const
 Returns whether the surface supports sophisticated Context::show_text_glyphs() operations. More...
 
void write_to_png (const std::string& filename)
 Writes the contents of surface to a new file filename as a PNG image. More...
 
void write_to_png_stream (const SlotWriteFunc& write_func)
 Writes the Surface to the write function. More...
 
void write_to_png (cairo_write_func_t write_func, void* closure)
 
RefPtr< Deviceget_device ()
 This function returns the device for a surface. More...
 
cobjectcobj ()
 Provides acces to the underlying C cairo surface. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo surface. More...
 

Static Public Member Functions

static RefPtr< PsSurfacecreate (std::string filename, double width_in_points, double height_in_points)
 Creates a PsSurface with a specified dimensions that will be saved as the given filename. More...
 
static RefPtr< PsSurfacecreate_for_stream (const SlotWriteFunc& write_func, double width_in_points, double height_in_points)
 Creates a PsSurface with a specified dimensions that will be written to the given write function instead of saved directly to disk. More...
 
static RefPtr< PsSurfacecreate (cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)
 
static const std::vector< PsLevelget_levels ()
 Used to retrieve the list of supported levels. More...
 
static std::string level_to_string (PsLevel level)
 Get the string representation of the given level id. More...
 
- Static Public Member Functions inherited from Cairo::Surface
static RefPtr< Surfacecreate (const RefPtr< Surface > other, Content content, int width, int height)
 Create a new surface that is as compatible as possible with an existing surface. More...
 
static RefPtr< Surfacecreate (const RefPtr< Surface >& target, double x, double y, double width, double height)
 Create a new surface that is a rectangle within the target surface. More...
 

Additional Inherited Members

- Public Types inherited from Cairo::Surface
typedef sigc::slot< ErrorStatus, const unsigned char*, unsigned int > SlotWriteFunc
 For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length); More...
 
typedef sigc::slot< ErrorStatus, unsigned char*, unsigned int > SlotReadFunc
 This is the type of function which is called when a backend needs to read data from an input stream. More...
 
typedef sigc::slot< void > SlotDestroy
 For instance, void on_destroy();. More...
 
typedef cairo_surface_t cobject
 The underlying C cairo surface type. More...
 
- Protected Attributes inherited from Cairo::Surface
cobjectm_cobject
 The underlying C cairo surface type that is wrapped by this Surface. More...
 

Detailed Description

A PsSurface provides a way to render PostScript documents from cairo.

This surface is not rendered to the screen but instead renders the drawing to a PostScript file on disk.

Note
For this Surface to be available, cairo must have been compiled with PostScript support

Constructor & Destructor Documentation

Cairo::PsSurface::PsSurface ( cairo_surface_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referencewhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::PsSurface::~PsSurface ( )
override

Member Function Documentation

static RefPtr<PsSurface> Cairo::PsSurface::create ( std::string  filename,
double  width_in_points,
double  height_in_points 
)
static

Creates a PsSurface with a specified dimensions that will be saved as the given filename.

Parameters
filenameThe name of the PostScript file to save the surface to
width_in_pointsThe width of the PostScript document in points
height_in_pointsThe height of the PostScript document in points
Examples:
ps-surface.cc.
static RefPtr<PsSurface> Cairo::PsSurface::create ( cairo_write_func_t  write_func,
void *  closure,
double  width_in_points,
double  height_in_points 
)
static
static RefPtr<PsSurface> Cairo::PsSurface::create_for_stream ( const SlotWriteFunc write_func,
double  width_in_points,
double  height_in_points 
)
static

Creates a PsSurface with a specified dimensions that will be written to the given write function instead of saved directly to disk.

Parameters
write_funcThe function to be called when the backend needs to write data to an output stream
width_in_pointsThe width of the PostScript document in points
height_in_pointsThe height of the PostScript document in points
Since
1.8
void Cairo::PsSurface::dsc_begin_page_setup ( )

This function indicates that subsequent calls to dsc_comment() should direct comments to the PageSetup section of the PostScript output.

This function call is only needed for the first page of a surface. It should be called after any call to dsc_begin_setup() and before any drawing is performed to the surface.

void Cairo::PsSurface::dsc_begin_setup ( )

This function indicates that subsequent calls to dsc_comment() should direct comments to the Setup section of the PostScript output.

This function should be called at most once per surface, and must be called before any call to dsc_begin_page_setup() and before any drawing is performed to the surface.

void Cairo::PsSurface::dsc_comment ( std::string  comment)

Emit a comment into the PostScript output for the given surface.

See the cairo reference documentation for more information.

Parameters
commenta comment string to be emitted into the PostScript output
bool Cairo::PsSurface::get_eps ( ) const

Check whether the PostScript surface will output Encapsulated PostScript.

Since
1.8
static const std::vector<PsLevel> Cairo::PsSurface::get_levels ( )
static

Used to retrieve the list of supported levels.

See restrict_to_level().

Since
1.6
static std::string Cairo::PsSurface::level_to_string ( PsLevel  level)
static

Get the string representation of the given level id.

This function will return an empty string if level id isn't valid. See get_levels() for a way to get the list of valid level ids.

Returns
the string associated to given level.
Parameters
levela level id
Since
1.6
void Cairo::PsSurface::restrict_to_level ( PsLevel  level)

Restricts the generated PostSript file to .

See get_levels() for a list of available level values that can be used here.

This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface.

Parameters
levelPostScript level
Since
1.6
void Cairo::PsSurface::set_eps ( bool  eps)

If eps is true, the PostScript surface will output Encapsulated PostScript.

This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface. An Encapsulated Postscript file should never contain more than one page.

Since
1.6
void Cairo::PsSurface::set_size ( double  width_in_points,
double  height_in_points 
)

Changes the size of a PostScript surface for the current (and subsequent) pages.

This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either Context::show_page() or Context::copy_page().

Parameters
width_in_pointsnew surface width, in points (1 point == 1/72.0 inch)
height_in_pointsnew surface height, in points (1 point == 1/72.0 inch)

The documentation for this class was generated from the following file:
  • cairomm/surface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/inherit_graph_5.png0000644000000000000000000000013213012573354022366 xustar0030 mtime=1479210732.769939882 30 atime=1479210732.769939882 30 ctime=1479210737.681938568 cairomm-1.12.2/docs/reference/html/inherit_graph_5.png0000644000175000017500000000265513012573354024074 0ustar00murraycmurrayc00000000000000‰PNG  IHDR—%O{bKGDÿÿÿ ½§“bIDATxœí›OHoÇŸù¹ÖˆˆsvkU(›` D^rwMñ’² ¢BP]"ųd¦Ð¥ƒ#HÐÁ[Ô]ÁKuÏiDɪ¨;þk=Q‘îê·ËÏaggvvk÷M7Þ Ì<Ïû>ϳï|}÷}ÇYˆÃI?þÿN»ο ‡\\fpqq˜a‹5lmmQ__F=œ Äét’,Ë»a暟Ÿ§‰‰‰¿R'ó …B422bê3Ì\'ø|>fqþ|>µµµ™úøš‹Ã ..3¸¸8Ìàââ0ã̈K„Ó.!cÈ”±J›¸VVVÈëõRqq1?žjjjhjj*éþ¬ÿ.‚áHgl3©©©‰òòò(//ššš(¤;SÞ5H‹¸‚Á ݼy“nܸA?~¤?~ÐóçÏÏÜó2ºƒ%Š¢Ëå"ÇCÁ`‚Á Õ×דÛí&EQ˜æ>3 †ÉÉI˜˜-éèèÀÓ§O-Û¬®®Âëõ¢¨¨ùùùhiiÁîî®æÎIDeN§‚ TUEoo/ìv;$IBoo/TUÕ刭;6f<Å&"¼xñEׯ_G Ð|ÑÇ xòä‰!×ÀÀºººt±Ÿ={†ÒÒRááÇ888°Œ}žJí033ƒêêjˆ¢ˆŠŠ ŒÅ'3,ôâK‹¸$IÂúúºe›ªª*ÌÎÎbß¾}Cww7îß¿¯ùcïöíÛøòå‹f{üø1<B¡B¡êêê000 Ëñ§âJ›ˆÐÜÜŒÍÍMüüùCCC¨­­µŒ-IE1ØEÝn×õõx<ØÙÙÁÎÎ<-cGÛR­Ýáp`jj ªªb{{÷îÝ‹;Nf0—ÍfC$ù­>ß¿‡ÓéÔ®c…°µµ¥kùòe,--i×@W®\I:_ì,/Ql"B8Ö®÷öö““cZû YYY¦c²¿¿›Í¦ë{qqÑÛ쳤«ö²²2ŒŽŽâóçφ<Ép&f®÷ïßÃår¡°°P»¹YYYš?V\ÇÇǺþ¢(ênV$(ŠI×hõ™ÅNtƒÍü¥¥¥IÏ\©äNµö> ¹¹ÅÅŸzõ*Þ¾}kho…•¸Ò² w»Ý499iÙ¦½½îܹCŠ¢Ðáá!}ýúÕòÍ‹Ø]ÒÅ‹iccC»V….]º”ZáiŠm¶£s»ÝôêÕ+ƒýåË—äv»u¶ÍÍMí|ccC—;Ñ®6ÕÚ¯]»FÓÓÓ´»»K###t÷îݤû&ä7”—µµ5ØívȲŒP(UU177¯×«µ±Û혞ž†ªªX__‡×ëû×o–ÿÑ£Gºµ…ËåB¿®Ml¿D1“mÖ7ÚváÂ,//ëü+++()),ˇÇÃe%%%X]]ÕÅihhÐÖ\·nÝÒ­™ÌbGçNµöööv,--áàà¯_¿†Ãáˆ;Nf0ÿZ€ååe´´´   çÎCMM ü~¿æóæ *++‘òòrŒŽŽþ–¸"‘zzz I$IBOOaMó§âJ;Ñ FAA¡Ý‘››‹ÜÜ\444àÓ§O†8'»ÅÂÂBØÍõëc{öÔfgÿ÷øñ=®ÖâxÜs?ëè¸ü«Õ:ëpÝ…¸¡gZ-|þü‚ææÔ×®ýéj9ŽÇ =ëéy°°  ˆHôèè¸åj9ŽÇ =ko¿E$z@¤ÓÁ]]*Õ’«9wólqqéâÅ!îßmL£Ñ]ºtßµ’Ž»yÖÝ=ˆýÜA ÚÛû]¨Ç¸›gííýÿÞ‡áe±øÁìì¢ %9·òlvv±·÷On©×CÝ݃®’ä Üʳóçï Ýjyt+ÏÚÚú——Wë,//߸1>99çIÎÀ}<›šš»uë¡Ñ£8OOBgç½ç/ÉI¸gçÎÝ6utªÓ- …7Ÿ¯'bÏw1«­ ]‡^...‘HDOÏoJoo÷é©{žëCVT_Ÿ•œ¼ÝÕBû¬/À3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<ÃÀ3ü<Ã!Ø?æØÛÛK$ºÉÿa%“ÿãé¹ÖÕ*CQQÖ¦g’Ëå:îðáî0D(¢¯ÅC02«ètús’°‚«W¯®ˆûþžáàþpÏâãã-Æ8ŠáááÌÌLçÕo‘çäÙsëáshˆÏçïß¿¿§§ÇÙ ™ÂΧ±¿ÿþûÔ©SwïÞU©T›7oNOOÿý÷ÍäwH+**¼¼¼Š‹‹Ñ˜'NÀ0\RRb}CJ¥òìÙ³½½½ …ÂÛÛûµ×^KMM‰‰±^ÆøøøŽ;lï@ì™g2™¬°°ðÕW_=uêTWW›Í‹ÅWfHaaáÐÐH$B.E"Ñýû÷Ùl¶M•”••ÍÏÏ———wvv666&%%566ÚTÃâ⢗——ME‹=óì§Ÿ~JMMÝ·orùòË/—••!a™LÖÐÐpçÎåå嘘˜/¿ürýúõÅÇÇ#3 >>þ‹/¾ …ÓÓÓb±X«Õòùüžž½^Ÿ——‡Z “H$‡STTD£Ñ ª««ãñx$ « [ª¥¥E À0œ˜˜Èd2‘#žööv___‚üüüèt:ú<Š-kJ3òçÁ¸§§ÇTanllìîî^\\ÌÌÌDÆJ¯×755uuu)•ʸ¸¸‚‚2™lÇøÛ3Ïnß¾˜˜h4éðáûví … 00°¡¡Á0Ͻ{÷êêê©ÙÔÔôðáÃúúz>Ÿ/‘HšššÌ7M¥Róóó9‡Ãa2™‘‘‘f2÷÷÷744œ9sæÑ£GÍÍÍHäöíÛ¹\îÐÐF£±ª·ÏjF\ìééA¦úûóÏ? ðx¼³gÏ* $²­­íîÝ»•••ÍÍÍ:îÌ™3Ö ÀbgóóóÆ_Ÿsúôé7ÞxƒD"ùúú~þùç}}}†yX,ZüÒ¥K,+(((((ˆÅb]¾|͆½å±á¤¤$"‘H"‘,~Ü`±X¸xñ"YZZJ¥R«ªª’““322êëë•J¥Å.c5[Óßîîî‚‚‚°°°µk×2™L$²³³³°°044tíÚµùùùèËÎmÅžµqݺu333¡¡¡†I£££|>lllaa‚ #÷Dpp0ÆÖ>==m±õ_ýU¯×ëtºË—/'%%™É‰Ö†Öìãã““““““£×ë¥RiKK˱cÇÊËËÍ7ŠÕŒÅT …á+맦¦>ýôSôÒî÷‘ÙãYLLŒX,þøã “Ž9’••õÎ;ïøúú*•ÊäädÃ?//‚ øøøO>ùÄLf‡\¾÷Þ{÷îÝ«ªªúúë¯æ‰‰ÉÍÍ…a8!!­9++«£££²²R£Ñ¼ýöÛß}÷’T\\Ìår›››)JFFÆõë×-…©þ2 •JÅf³Õjuff&™ššJ JKKåryddägŸ}f±~£<ó·m[[[ † Ÿð†”••µ¶¶¢1nrÞøB<ÃÀ3ü<ÃÀ3ü<ÃÀ3üaä™ýb°^ñëÅg<{ë­·ÒÒÒ`Ø ßÃ_ètúÞ½{±1nûŽ7ìgøx†?€gøx†?þ¡.+áÌìIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1RadialGradient__inherit__graph.png0000644000000000000000000000013213012573354030036 xustar0030 mtime=1479210732.529939947 30 atime=1479210732.529939947 30 ctime=1479210737.569938597 cairomm-1.12.2/docs/reference/html/classCairo_1_1RadialGradient__inherit__graph.png0000644000175000017500000001211213012573354031531 0ustar00murraycmurrayc00000000000000‰PNG  IHDR§»Ž bKGDÿÿÿ ½§“ÿIDATxœíÝ{LSwÿðwµ\͸¥ ‚Š¿ßØ³¸…yɇ˜lºej˜›—HÄ!CÔ,ñÉâuwC‡lŽ]Üá°Í©ðølšüæ•0pॳå2ªN+•–ÏïGG --ôòµû¼’Îé÷œï眾{.íi+!"câQŽðtŒYÃádÂâp2aq8™°¤îîpݺuP«Õîî– “B¡€B¡pkŸnßrîÞ½ׯ_ww·lN:¥Réö~ݾå€ììl,Z´È]³!ðÔcÅÇœLXN&,'‡“ ëN‰DâéØÜálhhÀ‚ “Éàçç‡øøxÛ=½«¯m‘H$¦›\.ÇÒ¥KqãÆ »§µgÜ?‘ðálllÄSO=…™3g¢¦¦ÈËËÃÁƒ=]š"áìÙ³Ðétxíµ×<]ÒýÜ ÚÝ>55•Þ|óM›m.]ºD , °°0 ¦¤¤$joo7ë³ïÿ999E‰„ˆˆººº(++‹är9EDDPVVuuuõ«ÛÚ°å}­­­$“É­ €ÙÍÚ8""£ÑHÛ·o§ &Phh(-_¾œþøã›Ë€öíÛG111äïïOÓ§O§ÚÚZ›ër …‚ …ÃÓ S‘ð[ÎãÇ#%%Åf…BŒŒ ¨Õj¨T*DFFbãÆVÛŸ8q§OŸFOO`ÇŽ¨««CUUª««qñâEìܹsÈ5÷îâ«þ:Ü ¿¶ºÖÆÀž={PYY‰òòr\¾|ÝÝÝØ´i“Íå€cÇŽ¡²²Z­sçÎEzzú—ËíÜýt€ƒ[N©TJ:Ρ>nß¾MQQQf}öýÿÚµkfí'MšDuuu¦áÚÚZе»¿¾ó×h4”œœLÉÉÉ×fk\\\544˜†[[[)&&ÆlËå@---¦áÎÎN |,ð–Ó ™L†ææf›mª««‘˜˜ˆ°°0H$£¥¥Åjûèèh³áææfLš4É4§œ@þþÿãñ:Üu“J¥tòäIWÆ§È¥ß ¯V«1}út¬[·Î•Ý0X´hZZZ\ڇ˰`üøñP(®î†y!>ædÂâp2aq8™°8œ÷‰­_õb^No~0½yÙ, Ά†,X°2™ ~~~ˆGqq±ÝÓ“~”®µµ˜8q"|}}†¹s碴´Ô¥ý:sÙDºpálllÄSO=…™3g¢¦¦ÈËËÃÁƒ=]š‰F£ÁôéÓ€ÒÒRܾ}ÈÈÈ@nn®§Ëó®|‰_¡PB¡phšÔÔTzóÍ7m¶¹té-X°€ÂÂÂ(88˜’’’¨½½ÝtßÅ@999E‰„ˆˆººº(++‹är9EDDPVVuuu™õa¹jú¯X±‚6nÜ8è² Ô÷`µëõzzõÕW),,Œ"""èí·ßî·<½ŒF#mß¾&L˜@¡¡¡´|ùrúã?ÌÚîÛ·bbbÈßߟ¦OŸNµµµ¦ûúÞ€ žÎEÂm9?Ž””›m 222 V«¡R©‰7ZmâÄ œ>}==÷~‚zÇŽ¨««CUUª««qñâEìܹÓîËÊʰlÙ2»ÚZö=Xí;wîÄ/¿ü‚‹/¢ººeeeVç½gÏTVV¢¼¼—/_Fww76mÚdÖæØ±c¨¬¬„V«Åܹs‘žžàïÃ"rËaи2úCÙrJ¥RÒétMsûömŠŠŠ2 ÃbKsíÚ5³ö“&M¢ºº:Ópmm-ÅÆÆ:TãŸþi6l…ê{°ÚcccûÕf9Ï^qqqÔÐÐ`nmm¥˜˜³¶---¦áÎÎN p^ŽÂ?qË)“ÉÐÜÜl³Muu5‰D‚àà`›ïóFGG› 777cÒ¤I¦áÉ“'C£ÑØ]cxx8®_¿n6ެl,û¬vFÓ¯6kT*âââ ‘H ‘H —ËûÕ%—ËMÿB§ÓÙ·.œ‰‰‰(,,´Ù&99K—.ESS nÞ¼ £Ñhµ½åYé¸qãpåÊÓpSS"##í®ñé§ŸÆçŸnW[˾«=22W¯^5 _¾|Ùê¼£££qõêUÓƒˆl®‡Ájpáܲe rss±{÷n¨Õjèõzœ9s .4µéììDPPF•J…´´4‡úHIIAVVÔj5Ôj5²²²úçZ>p}‡·nÝŠ`Æ ¨¯¯‡N§Ã­[·päÈ‘Aû¬öÔÔTdggC£Ñ@£Ñ`íÚµVçµzõj¤¥¥¡¾¾wïÞEmm-’““íYîíêëëínïv®äÒpþ“>¯®Õ ±1ññ­J½? ÉÉÉxüñÇ]Ú‡Kß!ú'yé¥|TT4àý÷S¡PÄ{ºoÀï9í[8yò@qqµ‡«ñN'8|ø‚éÿlD{ûVã=8œNP\\žžÞ£# ޹`³=³‡s˜ÚÚnãìÙk¦«à{zJe•‡«òÎa*)9‹#þ^D„ ®ãúõ›¬Ê;p8‡©¸¸ÊôÉÊ^Ré:T㡊¼‡sšš~CCCk¿¶ Fñ®}¸8œÃðí·çàã3²ßx" ©© ®ýæ_oÇᥲ ÝÝÚÑÇg$ïÚ‡‰Ã9Dƒôtw¡TV‰ûm÷ç}ûí9øúÚ¾4¡¹ùwœ;÷«›*ò>Î!úúës0Œðõ•Z½>Ì»ö¡rù%sÞjÍšÙøí·¿ß¦Ôh~GuõU¼ðÂT³v³fý¯»Kó|U’“|÷Ýy¤§ÿÍÍ»=]Š·à«’˜¸8œLXN&,'‡“ ‹ÃÉ„ÅádÂâp2aq8™°8œLXN&,'‡“ ‹ÃÉ„ÅádÂâp2aq8™°8œLXN&,'‡“ ‹ÃÉ„ÅádÂâp2aq8™°8œLXN&,'‡“ ‹ÃÉ„ÅádÂâp2aõûfã®®.”––ÂhøW"ØÀjjn”J¥‡+¹ÿÈår<ùä“ýï %%%€o|sÛM*•Zƈ¨¨ß–Ó`0***,ïbÌé*++±uëÖïãcN&,'‡“ ‹Ã9 nÎ<Ù·£„ çý´Òr?Ö/zÍNû·_ýŸ~ú)Ο?N‡ØØX¤¤¤`Ö¬YvMïêWú>AAAxøá‡‘‘‘¨¨(§Ì8õß¼yÀéÓ§¡Õj€‡zóçÏÇ´iÓœRß@œ¹Îœþ:%œjµk×®Err2Ö¬YƒÐÐP455áàÁƒv‡ÓzW^GGJJJ°k×.äååy´&­V‹5kÖ`Ö¬Yصkär9ôz=êêêPRRâÒpŠÎ)áüâ‹/0þ|,Z´È42{ýJ­Vã“O>AMM zzzðè£býúõ`þÌKHHÀ«¯¾ ¥R ­V‹òòrtww#?? "Ìž=«V­‚©Ëg¯µgsPP/^ŒÂÂB»ë3 ÈËËCyy9¤R©Ù²Zö5ؼúÚ¿?æÌ™ƒ•+WšÆùùùaÆŒ˜1c†Ùü-׉3k&" ´´xâ‰'ðÚk¯ÁßßßÔ6;;_}õnݺ…É“'cÆ ˜8q¢i¯Ôû×Y[P§sž;w‰‰‰6ÛlÞ¼/¾ø"”J% ŽO>ùÄjû .`ß¾}(//àÚµkøè£ŸŸ+W®   `HõÞ¹sÄĉí®¯  jµû÷ïG~~>Μ9ã”e=sæ žyæ»ê¶\'ά¹¸¸çÏŸGNN¾üòK ì߿߬MUUöìÙƒC‡aÚ´iÈÉÉðw+**œºkwJ8;:: “Él¶ùì³Ï0uêTøùùaÔ¨QX¹r¥Í••™™i6Ïï¿ÿ™™™=z4FÌÌLüðÃfÓX®Ëá„„$$$àùçŸGii)6oÞlw}½ý‡‡‡›úwƲþþûï=zô€uZž°X®gÖ|äȬ]»cÇŽÅ<€Õ«WãäÉ“fm²³³!—ËáïïÅ‹£±±ÑêüœÁ)»õ   ܸqcÇŽµÚæÒ¥KÈÏÏGSSîܹ÷SÐ#FXnŒ3ÆlØrþ‘‘‘ÐjµÕÙ{HÐÜÜŒ·Þz ËåvÕ§Õjûõo#ËŒööv³³¾‡7}Y®gÖÜÖÖ†W^yÅlœD"1 3ýïçç½^ou~Îà”p>úè£(//ÇK/½dµÍ¶mÛ°téR̘1£FBgg'žþy«í-WŒL&CKK bbbááá×*‘H‰7Þx«W¯Æc=†ÀÀÀAë 7뿹¹Ù)˲²2¤¥¥ÙU»#ý8Ró˜1cðöÛo›ž¬Ž²¬Íœ²[_¶l¾þúk(•J´··£»» f»Í®®.Âßßmmmx÷Ýwê#11{÷îE{{;ÚÛÛ±wïÞ~ǹ–[[¯ã3S¦LÁñãÇíªoΜ9øàƒ Õj¡Õjmžå;²¬Ë—/DZcǰoß>¨T*èõzܹs§N²:½ý8Ró /¼€wß}*• ƒW®\Á¶mÛ­¡Wpp0T*•Ýííá”pFEE!''µµµX±bæÍ›‡÷ß³gÏ6µyýõ×ññÇcÞ¼yX»v-yä‡úxùå—ƒU«VaÕªU˜8q"–,Y2¬ºŸ{î9>|Ø®ú–,Y‚±cÇbÅŠHKKC||¼Õù:²¬øðÃqçά_¿Ï>û,–,Y‚²²²A_ærfÍóçÏÇÌ™3±iÓ&Ì›7;vìÀœ9slößWjj*Ö¬YãÔö%DD}GañâÅ|És‹ÞKæ,bJaÞ¾ḋ“ ‹ÃÉ„ÅádÂâp2aq8™°8œLXN&¬~ï­K¥÷F‰~ ?ó½™ë7ÞrļyóPRRÂ_GÃÜÆÚÅ&ýÞ¾dLüö%‡“ ‹ÃÉ„%À_(ÉDôÓÿ²ïq °|Œ»IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/namespacemembers.html0000644000000000000000000000013113012573355023006 xustar0029 mtime=1479210733.13793978 30 atime=1479210733.133939782 30 ctime=1479210737.689938566 cairomm-1.12.2/docs/reference/html/namespacemembers.html0000644000175000017500000005763413012573355024524 0ustar00murraycmurrayc00000000000000 cairomm: Namespace Members
Here is a list of all namespace members with links to the namespace documentation for each member:

- a -

- c -

- d -

- e -

- f -

- g -

- h -

- l -

- o -

- p -

- r -

- s -

  • SUBPIXEL_ORDER_BGR : Cairo
  • SUBPIXEL_ORDER_DEFAULT : Cairo
  • SUBPIXEL_ORDER_RGB : Cairo
  • SUBPIXEL_ORDER_VBGR : Cairo
  • SUBPIXEL_ORDER_VRGB : Cairo
  • SubpixelOrder : Cairo
  • SURFACE_TYPE_BEOS : Cairo
  • SURFACE_TYPE_DIRECTFB : Cairo
  • SURFACE_TYPE_DRM : Cairo
  • SURFACE_TYPE_GL : Cairo
  • SURFACE_TYPE_GLITZ : Cairo
  • SURFACE_TYPE_IMAGE : Cairo
  • SURFACE_TYPE_OS2 : Cairo
  • SURFACE_TYPE_PDF : Cairo
  • SURFACE_TYPE_PS : Cairo
  • SURFACE_TYPE_QT : Cairo
  • SURFACE_TYPE_QUARTZ : Cairo
  • SURFACE_TYPE_QUARTZ_IMAGE : Cairo
  • SURFACE_TYPE_RECORDING : Cairo
  • SURFACE_TYPE_SCRIPT : Cairo
  • SURFACE_TYPE_SKIA : Cairo
  • SURFACE_TYPE_SUBSURFACE : Cairo
  • SURFACE_TYPE_SVG : Cairo
  • SURFACE_TYPE_TEE : Cairo
  • SURFACE_TYPE_VG : Cairo
  • SURFACE_TYPE_WIN32 : Cairo
  • SURFACE_TYPE_WIN32_PRINTING : Cairo
  • SURFACE_TYPE_XCB : Cairo
  • SURFACE_TYPE_XLIB : Cairo
  • SURFACE_TYPE_XML : Cairo
  • SurfaceType : Cairo
  • SVG_VERSION_1_1 : Cairo
  • SVG_VERSION_1_2 : Cairo
  • SvgVersion : Cairo

- t -

  • TEXT_CLUSTER_FLAG_BACKWARD : Cairo
  • TextCluster : Cairo
  • TextClusterFlags : Cairo
  • TextExtents : Cairo
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_f.html0000644000000000000000000000013013012573355023026 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.633938581 cairomm-1.12.2/docs/reference/html/functions_func_f.html0000644000175000017500000001306413012573355024532 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- f -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1ToyFontFace-members.html0000644000000000000000000000013013012573355025753 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.589938592 cairomm-1.12.2/docs/reference/html/classCairo_1_1ToyFontFace-members.html0000644000175000017500000001617513012573355027465 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::ToyFontFace Member List

This is the complete list of members for Cairo::ToyFontFace, including all inherited members.

cobj()Cairo::FontFaceinline
cobj() const Cairo::FontFaceinline
cobject typedefCairo::FontFace
create(const std::string& family, FontSlant slant, FontWeight weight)Cairo::ToyFontFacestatic
FontFace(cairo_font_face_t* cobject, bool has_reference=false)Cairo::FontFaceexplicit
FontFace(const FontFace&)=deleteCairo::FontFace
get_family() const Cairo::ToyFontFace
get_slant() const Cairo::ToyFontFace
get_type() const Cairo::FontFace
get_weight() const Cairo::ToyFontFace
m_cobjectCairo::FontFaceprotected
operator=(const FontFace&)=deleteCairo::FontFace
reference() const Cairo::FontFace
ToyFontFace(const std::string& family, FontSlant slant, FontWeight weight)Cairo::ToyFontFaceprotected
unreference() const Cairo::FontFace
~FontFace()Cairo::FontFacevirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/doxygen.png0000644000000000000000000000013213012573353020773 xustar0030 mtime=1479210731.917940116 30 atime=1479210731.909940118 30 ctime=1479210737.621938584 cairomm-1.12.2/docs/reference/html/doxygen.png0000644000175000017500000000730313012573353022474 0ustar00murraycmurrayc00000000000000‰PNG  IHDRh ;ˆØŠIDATxí]y\•Õº~45%TL Q”PE"q–Û11±]8a„w*©¨(*â" ˆzÀè`8 ¨‰¢mÅ,’òà„p$%”œBó(8k†Ü÷ýÜû6lòö»§k÷Ç÷[ÏÞß·Ö;?k½ëßÕÕÕPxÑêÏ't´ÏùÈ€zÀÇÅ3_€Q4€g@œmÿ ¾ò‰âci‰ôçÿ{ ðÇð¬ù~½Á€4:õHcÂü ðŸÁ³„ª'ÕPÆæ P7^h،♠zb„cóP¨„ 3‚† Ò}çÿO²qÁºNkÝTÛ(É?d Ç~z<’«4Óǡ؞Þv­zµÙ¦õ¬ZâdÛ,Ë6Ók±]Fz< ¾ZçƒsÕ?ìƒsUø2SÉåwê1”c`[ì—}%ѽ.Ô¼6‚BLZ˜û!F8[ ¹…×TéÛ— »Þ#gó]å:vžu?‡vèbÙR˜?wùŽŸ¾ÊÐgbÑÉÌÕ$kF~Ê;عÆ•¢ïX®?ÉèlÆÙôõà»Nʪ¼­,ìHC§gAz•ÆlÓº­gÑú ]œjÎñåM…3ÓÚæoÒ³'=‘$Ò÷f}G•ŸS_‡öèco.Êȹ :ó£ Ãds®Ù:1=¼{ƒå9?÷ý…zqÛvîÓi‰D’p¿Ë šmÙíoÛâýaÖüEqÒµwÌ}¿~{òj€ç{ôºŸFNëí[ëOq·ÇOSúXO]°>‚‚muæÄ¾e¤“5Ë{¨JÕ¯£(›´«bÂçû’ÍlÓÅ}žïú`éUÞy„ac§Á†ÔCºŠóAkl‘±y¥†ô¢ùôs÷Aø¬7ÄõôoJ±äÄ ù.¥Be. Z¬Ð×ÇÈöå¹­ù'Ù-PëìŠyF.ž‚žÝÚ€lp&.êˆð•jò7’re’z19»ã§HGíø%œüq°ïüz׈c¬_k_")ŸHJnÐÑ~ˆÐÖ˜á´äÕ5 µÁq€ÿ5#¸·îà¶+9T‘‚ ðŽ÷Rܸrz“Ï´Ì =Ï…{ðáO£Èf ¡Íwg|Ž’Ü/¢Þ$÷¯¢ëðúÀ;¿à¨Ö™âÒÆ­]¯ÜW"Þ/< ‡÷DÏà°½üB}çyIEc^—ƒ=[V“Ýh²ëMä$l];Kû®¸ýr¦È*Åò ÿtÒõ$]•MŸ÷´;×I€1èó!‚œõ¸M õ¨(fÌæ<ÁÎÎò5~z¿ù¶ž mÌêÕ >–âÚ©âëˆIÎÞçz;ãu[i·eç^ÆÜÙÓ³NÞëF6B\}7†»+üŽÓ,Ã'a ½˜-yHY¿,‘^—ñfú~ß?Hcø¸…¸ñó{Z+4\såƒû·¯Ù·nߣð«íFÆ¡sغëû§D¾?ò<–Ævkx0ÅM±ælذÁIÓxÿd”žÜÉ÷EE»AªM«g*È£YEí7Û™^[uíý®v[wGå†=Ed¼n×¶ÆæÖÅl¡'¨pGÚk+‹æ¢À¬¨C8ªâš2 dz3H£ß ¡¨BÒûSÃÅù[wŘ ~xpçútÁæmö¤Å£¥iQæ­‰AB1ÉfÙ‰›4u¹ïìIÒ]Ë6äò%ÿ†† 1t.’NJph¬zÌ ÎR1Ž"3-"¸‡‹&ìó°1âüžìó[:‡ï„¼‘……N m–“W0®_èÜœ ×õ6ùò&»)Æìꦬýæ}¬ñ~»{múù]z½£M•ºP~^Îá:eQTÙ_*7ÕÄ9É8—·Ëï 3°¶47E•î¿u÷“SÉ»U¯ _ NíºôW¬e¸ÄNÓ|»;™¿;ŒæÅd"ȉôøòÞµõï¾®½"èÄ´ÖMM+bYµ‘_ÉæEÝüÎ]P»¹XKÐI½Þ¥oE<_¹(„EP±Œ|mÇÁ¡‘Ý,ŠÓ©ººZ±Îߺ§×kÝ,kÍMš`Äø…jzeU»æ ™Át3ÓÀ½˜6—ÒöùË·r¨¹Ñ}““wö:Χùë¼ ¿|‚TܵÉQˆKßç_ÁâÀ™œ”pÑÐóໃ¼Ydâ0!®àa –øöçW$ÃÁ‘Á$/\¬$ð 2ÞímÞLH‹Ÿ èd£HVÜ,:ò½»RÍZšJ­a„z*>‹_…NT(ù‚^SVF­U¹8ñEþôñ܈óùnd;«®8™\C]ø=Èêm¬Æ:‚´ÆbãDd=Áãßžˆ‹UU5O‹|]þð®Pèêv‰á\]2ßìÿ"yÈ[ïyʧz£g{Y«{„Ùø5©ÿ;w{N3é­nâĨw§Á¢ÍK¢Ý­ûÏ29Id¿’ì y)ìPÞò8ŒÅ©¯‰±@mPÔñwjl,6 áhWÕ˜d öà uõmÁp®.™á£Ç…twöR x­BδYcŒxg*vo  yò‘•“[¬?ÜVœ˜0ÒN¡O난~Žó’¯·h#´Hkýœ±8kÓß^Àq@]àÓ“ø,56´¯÷Í-κU»n…[>]@nîøÏœp›[œ6# €4tën¯:ŽÒþ}…—8äT9_žY$/´G’K™©ù†•(óÑ’Mø©`ŸÉdѺ;ùO‹B Ó&P{qöhJÉ+Úé–§¦l2«MïöÝ_1ÑÓ«’t¸½±l€ëØya ¦ô©«®½ÆL^¬žêñš¸ùy.¾Û½Š[ u/]½‹iS}øN>²e1™q‡jfÚ&¢©iT\=kÏ›ÀXô-.84V5ðu!TE˜ þ.ŒOH´¶4—zwTr.ï‰¦Ë xõµ·œÖ„HÆù£žÈHùg Ñhñ’T$ßyq¸zþ¨p¿´ë< q•ró÷š‰wÿÍÑð–I]´–æI²é²˜sÂ"×:Õ–bÕ¦“ÈÙL6¢9VÊÓWž§<æ;”3?ý©Mê3AV#µ±ËÞ¯‘ž K£UrÝ9!›qát¦H£Ù+6ÇV…/TS^pÃùqgLP'Ú5E ‚–ÀÞºîÄ Ën"2|Ÿ;®W»Îý"Ö¬TwÖâµtúŽO'› á+W Ã+¦âZÌ–<ÕÆ&nOÝ,IŠ£06.ÁZ.Çñúøh*INÚ’Oe½ÉgBXÐÔZóäøä9èü“hÒíDSš¥¡Ê µA¯/Ôc¸ö“`A§¯"zå|‘ €ÅŸ¨ú;HÍ#‚Î|%ÄOˆƒ«OàÌÉÐÜD ž mÜðâc–ƤÉÂqm¶uË&~÷núÒË £ÇÏ€ZÕj =«_n[‡‡÷nN§ÏÝ$_¾bE˜‚€Õ)ù8¾?6‘lú“ÍÙæÖ}#bW( œ³d-®•p&¡ý’œÖa”"9öõņÐ$’Ú›AÜ!ä;ÐÑõè{~á¹8‘ÛÞ£1ÛÓÉ0ž`²#´kÒuäNÅÖ Q¹bhæ ”8ûÓMáŽa›•¿”w±h²¢®qŠæ°(bK ‚’Z¾Ò%ÐÆémáãÖË(Éý‚ÛJ)@> þ›7% ï{y Á“¾ÆÒîohfòô>{pÿ.­_Î%±ÉèägëlZØ\B2B #™¸ÚüÒºp‚hÝšü®[¥Ü<‹#SpñÌA7’ãØHƒt4:Ÿ|g¨tÓL¶*($Æ©»ì…®ù’ó÷$;b›ÔÙ`=¶£¦M„MÌÄ5ò«·Ç¾“H·ÌH.¼žHeAîº5}r­dõ¨±)ÀT};€Q5iÖ2…O0ü…0óñÃ;óæ,Š´²µ냔}g‘£]‹7å9ˆà©_{üèîêžC>úhê{Ž .ÈìðIIð€?[Kswz6Òuíý¬;µ€ç§OåâJÉa˶zv°éd† ¤µâ‚l´é舊«Åüy¾c÷ÁèÖÍ'ràúÅ™TWÕôÓ°¡L €|ʽŒ¼ì­høBã ÝTëî'ò]Kø£ìâÏ(=¹Kx €¿ LÌ,Pý¤Êµu‡¹…׈ §Å¾÷à1Ý«Äý;¿pGDäxZYÛ kfæ6¸ùóæ7®œ®þ6·ÕoÚ¾ÔH~ò®Þ¸â 8Uø“p<ºw3¡a£ÏÑ’‘3èÏ"€bˆ-ÎܺÏ_ªÅ]+ËM©zü°s“f-êçhÇãÑýÊãôÿ5}ZQNb{Ó?å%ÿ\SUõعIÓæ}~}p[œoÔÄ„êÐMMZáNÅå@>Œ„²á6(?¡Åé âK½+ü?À%ÝÝ·/Ç1‚9áUø?B)”ÕèâÞlÈÒêÏ @=àùÄÞžk­®ÅIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_s.html0000644000000000000000000000013013012573355023043 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.645938578 cairomm-1.12.2/docs/reference/html/functions_func_s.html0000644000175000017500000002632013012573355024546 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- s -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Win32Surface.html0000644000000000000000000000013013012573355024355 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.605938588 cairomm-1.12.2/docs/reference/html/classCairo_1_1Win32Surface.html0000644000175000017500000015020313012573355026056 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::Win32Surface Class Reference

A Win32Surface provides a way to render within Microsoft Windows. More...

Inheritance diagram for Cairo::Win32Surface:

Public Member Functions

 Win32Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~Win32Surface () override
 
HDC get_dc () const
 Returns the HDC associated with this surface, or NULL if none. More...
 
RefPtr< ImageSurfaceget_image ()
 Returns a ImageSurface that refers to the same bits as the DIB of the Win32 surface. More...
 
- Public Member Functions inherited from Cairo::Surface
 Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Surface (const Surface&)=delete
 
Surfaceoperator= (const Surface&)=delete
 
virtual ~Surface ()
 
const unsigned char* get_mime_data (const std::string& mime_type, unsigned long& length)
 Return mime data previously attached to surface using the specified mime type. More...
 
void set_mime_data (const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)
 Attach an image in the format mime_type to surface. More...
 
void unset_mime_data (const std::string& mime_type)
 Remove the data from a surface. More...
 
void get_font_options (FontOptions& options) const
 Retrieves the default font rendering options for the surface. More...
 
void finish ()
 This function finishes the surface and drops all references to external resources. More...
 
void flush ()
 Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. More...
 
void mark_dirty ()
 Tells cairo to consider the data buffer dirty. More...
 
void mark_dirty (int x, int y, int width, int height)
 Marks a rectangular area of the given surface dirty. More...
 
void set_device_offset (double x_offset, double y_offset)
 Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. More...
 
void get_device_offset (double& x_offset, double& y_offset) const
 Returns a previous device offset set by set_device_offset(). More...
 
void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
 Set the horizontal and vertical resolution for image fallbacks. More...
 
void get_fallback_resolution (double& x_pixels_per_inch, double& y_pixels_per_inch) const
 This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set. More...
 
SurfaceType get_type () const
 
Content get_content () const
 This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. More...
 
void copy_page ()
 Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. More...
 
void show_page ()
 Emits and clears the current page for backends that support multiple pages. More...
 
bool has_show_text_glyphs () const
 Returns whether the surface supports sophisticated Context::show_text_glyphs() operations. More...
 
void write_to_png (const std::string& filename)
 Writes the contents of surface to a new file filename as a PNG image. More...
 
void write_to_png_stream (const SlotWriteFunc& write_func)
 Writes the Surface to the write function. More...
 
void write_to_png (cairo_write_func_t write_func, void* closure)
 
RefPtr< Deviceget_device ()
 This function returns the device for a surface. More...
 
cobjectcobj ()
 Provides acces to the underlying C cairo surface. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo surface. More...
 

Static Public Member Functions

static RefPtr< Win32Surfacecreate (HDC hdc)
 Creates a cairo surface that targets the given DC. More...
 
static RefPtr< Win32Surfacecreate (Format format, int width, int height)
 
static RefPtr< Win32Surfacecreate_with_dib (Format format, int width, int height)
 Creates a device-independent-bitmap surface not associated with any particular existing surface or device context. More...
 
static RefPtr< Win32Surfacecreate_with_ddb (HDC hdc, Format format, int width, int height)
 Creates a device-independent-bitmap surface not associated with any particular existing surface or device context. More...
 
- Static Public Member Functions inherited from Cairo::Surface
static RefPtr< Surfacecreate (const RefPtr< Surface > other, Content content, int width, int height)
 Create a new surface that is as compatible as possible with an existing surface. More...
 
static RefPtr< Surfacecreate (const RefPtr< Surface >& target, double x, double y, double width, double height)
 Create a new surface that is a rectangle within the target surface. More...
 

Additional Inherited Members

- Public Types inherited from Cairo::Surface
typedef sigc::slot< ErrorStatus, const unsigned char*, unsigned int > SlotWriteFunc
 For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length); More...
 
typedef sigc::slot< ErrorStatus, unsigned char*, unsigned int > SlotReadFunc
 This is the type of function which is called when a backend needs to read data from an input stream. More...
 
typedef sigc::slot< void > SlotDestroy
 For instance, void on_destroy();. More...
 
typedef cairo_surface_t cobject
 The underlying C cairo surface type. More...
 
- Protected Attributes inherited from Cairo::Surface
cobjectm_cobject
 The underlying C cairo surface type that is wrapped by this Surface. More...
 

Detailed Description

A Win32Surface provides a way to render within Microsoft Windows.

If you want to draw to the screen within a Microsoft Windows application, you should use this Surface type.

Note
For this Surface to be available, cairo must have been compiled with Win32 support

Constructor & Destructor Documentation

Cairo::Win32Surface::Win32Surface ( cairo_surface_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referencewhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::Win32Surface::~Win32Surface ( )
override

Member Function Documentation

static RefPtr<Win32Surface> Cairo::Win32Surface::create ( HDC  hdc)
static

Creates a cairo surface that targets the given DC.

The DC will be queried for its initial clip extents, and this will be used as the size of the cairo surface. Also, if the DC is a raster DC, it will be queried for its pixel format and the cairo surface format will be set appropriately.

Parameters
hdcthe DC to create a surface for.
Returns
the newly created surface.
static RefPtr<Win32Surface> Cairo::Win32Surface::create ( Format  format,
int  width,
int  height 
)
static
static RefPtr<Win32Surface> Cairo::Win32Surface::create_with_ddb ( HDC  hdc,
Format  format,
int  width,
int  height 
)
static

Creates a device-independent-bitmap surface not associated with any particular existing surface or device context.

The created bitmap will be uninitialized.

Parameters
hdcthe DC to create a surface for.
formatformat of pixels in the surface to create,
widthwidth of the surface, in pixels.
heightheight of the surface, in pixels.
Returns
the newly created surface.
Since
1.8
static RefPtr<Win32Surface> Cairo::Win32Surface::create_with_dib ( Format  format,
int  width,
int  height 
)
static

Creates a device-independent-bitmap surface not associated with any particular existing surface or device context.

The created bitmap will be unititialized.

Parameters
formatformat of pixels in the surface to create.
widthwidth of the surface, in pixels.
heightheight of the surface, in pixels.
Returns
the newly created surface.
Since
1.8
HDC Cairo::Win32Surface::get_dc ( ) const

Returns the HDC associated with this surface, or NULL if none.

Also returns NULL if the surface is not a win32 surface.

Returns
HDC or NULL if no HDC available.
RefPtr<ImageSurface> Cairo::Win32Surface::get_image ( )

Returns a ImageSurface that refers to the same bits as the DIB of the Win32 surface.

If the passed-in win32 surface is not a DIB surface, the returned surface will be NULL

Returns
a ImageSurface (owned by the Win32Surface), or an empty RefPtr if the win32 surface is not a DIB.
Since
1.8

The documentation for this class was generated from the following file:
  • cairomm/win32_surface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Gradient__inherit__graph.png0000644000000000000000000000013213012573354026721 xustar0030 mtime=1479210732.405939982 30 atime=1479210732.405939982 30 ctime=1479210737.545938604 cairomm-1.12.2/docs/reference/html/classCairo_1_1Gradient__inherit__graph.png0000644000175000017500000001704713012573354030430 0ustar00murraycmurrayc00000000000000‰PNG  IHDR]»ÆâMœbKGDÿÿÿ ½§“ÜIDATxœíÝyX”õÞ?ð÷0ƒl†È" ˆ¹œ#]WfñüÔ4M¯'±Ôp³P„ãJ¸µ=“iY¶…+fFaÄ夘¥Ør=š[j.h J€èQd˜ïïçÀÀl ÷=ü_×5—Þûç{ûåÍíwfî[!„ "")¨䮀ˆÈž0t‰ˆ$ÄÐ%"’C—ˆHB*¹  Ö£V«¡V«å.ƒ,€ÄÄD¹Ë VÂ+Ý6L­VãàÁƒr—A(,,DRR’ÜeP+â•n7pà@dddÈ]™)##“'O–» jE¼Ò%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ¥§P(ä.Èj1t©‰sçÎaüøñðòò‚““úõë‡-[¶˜½}kßCI¡Pè^~~~ˆŠŠÂµk×ÌÞÖœyD­…¡Käææ"$$ƒ ÂñãÇQYY‰U«VaóæÍr—ÖˆB;v ÕÕÕxùå—å.‰È, ]jäí·ßF\\-Z„ÀÀ@899aÀ€®tÿøãL˜0^^^ðððÀ¸qãPVV¦[ÞðÊQ¡P )) ]»v…ƒÃÝîV[[‹ùóçÃßß~~~˜?>jkkÕ¡õièj´K—.X¹r%öìÙc²¶{û¸w•lhhµZ¼ûî»èÞ½;<==ªª*£íR(X·n~øa¸¸¸`àÀ8}ú´ÉsNö…¡KìÛ·‘‘‘F×™8q"æÎ‹¢¢" K—.xã7 ®ÿÓO?áСCÐjµ€åË—ãÌ™38räŽ=Šßÿï½÷Þ}×Ü00ÕvoØãÞU²¡yðÉ'ŸàÇDvv6.\¸€ºº:¼õÖ[FÛ{öìÁ?þˆ²²2„……aÖ¬Y÷Ý.j£µY'N'N´h•J%ª««-ÚæÆ" @7ݰ[—.]j´~=Ä™3gtÓ§N={ö4ûx ÷_\\,"""DDD„ŵ›$Î;§›¾råŠèÖ­[£môÛ@”””覫ªª„‹‹‹é5žžÞl=ÔfdðJ—ñòòÂåË—®sôèQ„††ÂÓÓ …:t@II‰ÁõM_¾|=zôÐM÷êÕ ÅÅÅÕyïêö‰'ž€R©Drrò}ÕfHAA‚‚‚½aWXXh´]àçç§û»««+ª««->6µm ]j$44éééF׉ˆˆ@TTòòò ÑhP^^ŽúúzƒëëÇvîÜùùùºé¼¼ ¸­š4iðÖŽ6äÞ­ùcÙfñiÀDDRbèIˆ¡KD$!†.‘„ºDDbèIˆ¡KD$!>‚½+,,„Z­–» 2Ó¯¿þ*w ÔʺmX@@ÔjµîKm‡ÏàÖ­#ÐhÌ{b„- »jEüFÙœò0aÂjL›öÞ{o‚é ˆ¬¿‘F¶gÛ¶ßtÖÕ¾»‘5bè’M©««Ç¿þupãF ~ùå™+"² C—lÊþý9¸yóîóÔT*lÛvL抈,ÃÐ%›’™y *ÕÝn«ÑÔ#+ëwTWß‘¹*"ó1tÉfܾ}ßÍÆqkk5øá‡³2VEd†.ÙŒï¾;Õä3…BÌÌ£2UDd9†.ÙŒÌÌ£pphüØžúz-²³sPQq[¦ªˆ,ÃÐ%›PQq?ÿü4m“eBܽ &² ]² ÿú× £ËÕj1m`è’Mزå(´Úæ¿<©Õjñë¯påÊ ‰«"²C—¬ÞÕ«7pìØ%£kT*عó¤„U݆.Y½­[ƒ©;„h4Z¨ÕG¤)ˆèð.cdõêêêáïïÞhÞíÛwà䤂RùŸë†víØÉúñ.cd“:w^€uë¢0fÌãr—Bd ÞeŒˆHJ ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB Ý6â—_~££# …]¼®_ß…qãž–½©^ .”»‹Q QÉ]µŒ’’h4,Y²DîR¨…©ÕjÉ]µ†n"w ÔÂ~úé'¹K Äá"" 1t‰ˆ$ÄÐ%"’C—¨aÆÉ]µq ]z m9¤ÚrÛH>üô‚ûóÏ?ñÅ_àĉ¨®®FÏž=‰¡C‡šµýþýû[¹B ¼¼7nÄ¡C‡PVV<òÈ#7n ÐjÇmɶ 6L’sEÖ¡kÇŠŠŠ0þ|DDD`Þ¼yèØ±#òòò°yóf³C·µ•••aÞ¼y:t(V¬X???ÔÖÖâÌ™3ÈÌÌlÕÐ%j ];¶aÃŒ7“&MÒÍ{ä‘G°téRÝtQQ>ÿüs?~Z­ÁÁÁX´h:tè ñܰaÃ0gΨÕj”••!;;uuuHIIÁþýû!„ÀðáÃ1sæL8::ꎡØpzýúõ1bbbbtËœœ0pà@ 8°Ñ6úÇ6U»F£ÁªU« •JÕè<è×!„@ZZ²²²PUU…Áƒãå—_†³³³nÝ `Ó¦M¸~ý:zõê…Å‹£{÷îºaŠ{òŠ×¾qL׎ýöÛo 5ºÎ’%KðüóÏC­V#==ÞÞÞøüóÏ ®òäI¬]»ÙÙÙ€´´4\ºt ëÖ­CJJ òóó‘––fv‡ÆÈ‘#ÍZWÿئjOKKCQQÖ¯_””>|Øà¾·lÙ‚'N 11ß|ó 4 Ö¯_ßh#GŽà“O>ÁŽ;0`À$&&øOÈîß¿ŸK ]{VYY ///£ë¤¦¦â‰'ž€““ÜÜÜc4œâââíó‡~@\\|||àãヸ¸8ìÝ»·Ñ6úAÔpº¢¢>>>–6L÷2vlSµß«ÍÛÛ[W›!;wîÄüùóáïï‡z³gÏÆÏ?ÿÜh ÀÏÏÎÎΘ…M›~Źs%h×N…;w4ºå ¼ùæhÌž-ýÃóóK1lØ ÔÕiuóT*%4-\]Û!,ìQŒó† {*ßö ÅÐ¥–sõê |ûíIlÛv 'NB©T@£Ñ6YO©T¢GoìÝûŠlW•‰‰{”ô=êë›ÖwïJ¼cÇö7.£G÷E¿~Ýy{Fj ]jóæ¥aÛ¶ß T* Õ hµ†»•ƒƒ»v-@ß¾]%¬°±ººz„„|€?ÿ¼ÖlðÞs/€=±}ûËðóë a•Ôñ†7Ô2ÜÝ]h4Z£«R)ý´¬ Ü Ó¤¤hµ†¸Î÷Æ~Û·w–¨:j˺Ô"–.}ÁÁC¥2<\àà €§§^{-LÂÊ ëß¿¦LyÒhÍ  T: 55íÛ;IXµU ]jŽŽJ¤¦F£CƒÏPÓj>üp"Üܬ'¼þñ±ðð0\3 @ròôé``9‘eºÔb:uz‘‘ DóoN=ûl_ü÷?*Ce†¹»;ãÝwÇ£¹·6Э›BB‘¡2j«ºÔ"îÜÑ`Ñ¢t¬^áàÿF¿££ï¼.Oq&Œó8†¤Ñ0ƒ££AA~¨¬¬ÁرŸââÅR+¤¶„¡KìÊ•?~¾ýö8¾øb:¾þz&&LøP*ïv/–,kÕïü¿ÿþÝgr•Jxzº!#cöî] 77'<óLvï>%s•Ô0té:”‘#PQQ;ç#,¬àƒ&¡wï»+ïÛ·+^xa œešÐ¯¿þ,€»¿$¾ú*žžnðó뀭[ça̘'ó%–/ßiôÓD¦ðsºtßÒÒâÍ73„•+§ÂݽñGªŠŠ®cÞ¼¯ñÑG“ñ—¿øÊT¥ùê뵈݀ѣGxxp“å÷ÚûôÓÅêÕ/þßÇäˆ,Â/Gåjk5xýu522Ž`Μáxãgáà`ßÖ:zô"bc7ÀÕÕ ©©Óä/wId[ºd™Ë—+ó%.]*Ú5/"$$Hî’$wíÚ-ÌœùNž,DRR$ž{®¯Ü%‘íà7ÒÈ|äaäÈÔÖj°{÷B» \ðòjÍ›gcÚ´Á˜9ó+,_¾ÓèW‰‰â•.™$„@jê/X¶lž}¶/"àêÚNBfæQ¼òJ‚ƒ»aݺ(x{·—»$²n^ 㪪j±páfdeýŽ×_…¹sCå.Éêœ>]Œ3Ö£¾^‹ÔÔhÙï+AV¡K†]ºT†èèõø÷¿+±víK2ä¯r—dµÊË«0kÖF9’+&bòäþr—DÖ‰cºÔ¼}ûÎ",, *•vï^ÈÀ5ÁÓÓ ›6ÍDLÌP,XðO¼újêê¬ûÑI$^éR#B¬Y“÷ßß…ððÿÂGM‚³³£ÜeÙ”íÛÃâÅéèÓ'Ÿ}6 >>É]Y/ÐܺU‹ùó7áûïOãµ×8~û Ξ½Œ3ÖãÎz|þù4w“»$² ]º+?¿ÑÑëqíÚ-¬[…§žê%wI6¯¢â6fÏÞˆƒ/à½÷ÆcÊ”'å.‰äÇ1]~øá FJ„»» öî]ÌÀm!®HKûââBñê«ç%Óµk Ço§LyË—çãÇ[É?œA\\z÷öÇgŸMƒ¯¯»Ü%‘<8¼`¯**ncΜ¯qà@ÿë+‘ þèèõ(/¯BJJ âÿ(ì‡ìQNÎe„…%âܹlÝ:+‘ž=;a×®èß¿;""Öbõê}r—D2`èÚ™;ŽcôèOáç×ß}·ˆïªK¬}{'|ñÅt¼öÚ(¼ÿþ.ÄÅ}ƒšš:¹Ë" qxÁNÔ×k±bEV¯Þ‡©SrüÖ ìÛwsç¦!0Щ©ÑèÚÕSî’¨õqL×”—Waöì8|˜_Qµ6 ¿j½nÝK<˜ßükã8¦ÛÖ>]Œ°°D\¸ðolÛÇÀµ2?ìo¿Ç A½0eJ ÇyíC· ËÌ<бc“ѵ«'¾ûnø kÖd#:z–,«{Ò-Y·ò0kÖWèÔÉ©©ÑèÖÍKî’¨eqL·­¹vífÍú 'N"11£G?.wId¡Ë—+0cÆz\ÃÚµ/aèÐÞr—D-‡cºmÉÉ“…92ÅÅøöÛx®êÜÙÛ·¿ŒgžyS§~†„„ïÀk£¶ƒ¡ÛF¤¥Ę1Ÿ"(È»w/àSjmœ““ II‘xÿý HNÞ‹éÓ×£²²FpxÁÆÝ¹£ÁÿüO&þùÏCv÷8t{qèP>þö· pwwÁúõÑøË_|å.‰îÇtmÙ•+7ó%þøã >ýô„…õ‘»$j%%%ˆÝÀkÛÇ1][uèP>FŽLÀÕØµkÛ8lÝ:cÆ<˜˜/±|ùNhµ¼^²E¼ÒµAiiñæ›™ ÂÊ•Sáîî,wI$¡{ÿþO?ýW¬^ý"ÜÝ]ä.‰ÌÇá[R[«Á믫‘‘q„ã·vîèÑ‹ˆÝWW'¤¦Nç§¶ƒ¡k+._®@LÌ—¸t© kÖ¼ˆ ¹K"™]»v 3g~…“' ‘”‰çžë+wIdÇtmÁy92µµìÞ½K/¯öؼy6¦MŒ™3¿Âòå;Q_¯•»,2WºVLÔÔ_°lÙ<ûl_$$DÀÕµÜe‘ÊÌ<ŠW^É@pp7¤¤DÁË«½Ü%Qó8¼`­ªªj±páfdeýŽ×_çãÐÉ´Ó§‹1cÆzhµ_|1}ûv•»$jŠÃ ÖèÒ¥2Œý)þ÷s±iÓL.™åÑG»`÷î…èÞÝÏ?ŸŒôôÃr—DÍ`èZ™}ûÎ",, *•vï^ˆ!CxSk2Ÿ§§6mš‰˜˜¡X°àŸ|ì»âð‚•hø8ôððÿÂGM‚³³£Üe‘ Û¾ý7,Z”ŽÇ ÀgŸMƒÏCr—DÍéÖÔÔ ++ õõüí(¥ãÇËðõ×¹ïŽ!Cüä.GrJ¥£F‚³së|ÑÃ^ûuqqRSÏ£kW7LŸÎ[DJÉÏÏC† ÑŸ­†Ð“™™)ð%ÃK¥ò’½9_™™™úÝ±ÅØs¿vppn²×ao/•JÕ\WÌPAF£Þ¿“$¥P(t}¯5°_“”2220yòäf—ñ4"" 1t‰ˆ$ÄÐ%"’C×)¼3v¿ýCÎ~eK}ÚjB—ÿ`ò°ç¶KÁÖϯ-Öoí5·Xèž;wãLJ——œœœÐ¯_?lÙ²Åìí[û]ecÿÖðŽö•+W0wî\tïÞíÚµƒ§§'••ÕªÇmɶ[{g¿¶Ð¯ï½¼½½ñÜsÏ!77·Åöÿ õ³O7¯EB777!!!4hŽ?ŽÊÊJ¬Zµ ›7on‰Ý·yÅÅÅxòÉ'á‬,ܸq¹¹¹˜;w.’““å.ÏnÙJ¿B@óçÏ#88QQQr—Ä>mŒþ'wÓÓÓE3³š2eŠx÷Ýw®sþüy1~üxáéé):tè ÂÃÃEii©nyÃc‰‰‰" @( !„555">>^øùù ___/jjjC¿ný}¢¿ÞÚµkE·nÝ„³³³xòÉ'Å©S§tËëëëÅ;ï¼#~øaѱcG1}útqëÖ-‹Ú©ß¶èèhñÆo=†¶5u¼ÚÚZ1gÎáéé)|}}Ň~hð¼˜j›±s½†[ €HOO·x;sÙK¿®¬¬...f×gIÿ°¤­öÞ§ô·Œ ]___qá£ë<öØc";;[ܾ}[TTTˆyóæ‰˜˜Ýrý“6vìXQ\\¬›÷üCŒ1BŠÂÂB1lØ0ñÖ[o5:FK…îóÏ?/.^¼(nݺ%–.]*žzê)Ýò„„*òóóEyy¹˜:uªX¸p¡EíÔo›¿¿¿8þ¼ÁúŒmkêxK–,#FŒEEEºóf輘j›©ss?aÛp[k ][ë××®]ÿûßEÿþýͮϒþaI[í½O·zèªT*Q]]mÑ67nܺiý“véÒ¥Fë÷èÑCœ9sF7}êÔ)ѳgO³gIè–””覫ªª]9‰sçÎ馯\¹"ºuëfpß͵S¿m*•Jܾ}»IMú¿a›ÛÖÔñzöìÙä¼ê ¦ÚfêÜ´µÐµ•~Ýðåïï/.^¼hv}–ôSûj¸®½÷i«¸Ò=räˆ>|¸èر£îÄ+•JÝrý“¦ÕjmïììÜè ººZ8;;›]£%¡kl¹‹‹K“Žîàà [nN;õÛæççgðªÀÔy1u¼æÎ›¡öšj›©sÓÖB×–úµV«¹¹¹bðàÁbëÖ­f×gIÿ°¤­öÞ§…n‹¼‘Šôôt£ëDDD ** yyyÐh4(//7zÇ'ýw ;wîŒüü|Ýt^^ºtéò`…߇ÀÀ@\¼xQ÷æ…¢Q;Ìi§~Ûžyæ|ùå—f_[SÇëÒ¥ .^¼¨›¾páÂ}·ÍÒÚl-õk…B^½zá›o¾Áœ9spóæM³ê³¤XÒVöiÃZ$tß~ûm$''#)) EEE¨­­ÅáÇ1aÂÝ:UUUpww‡›› kÑ1"##¢¢"!>>‘‘‘ÖÑ?A­qÂfÏžØØXäääàÎ;8uê"""tËï§K—.ÅÆ±xñbäää ººׯ_ÇÎ;MnkêxS¦LÁ‚ P\\ŒââbÌŸ?ÿ¾ÛfŠ··7rrrÌ^ßÚÙb¿ ÄàÁƒ±iÓ&³ê³¤XÒVöi#,¸,6êìÙ³"<<\xxxˆvíÚ‰~ýú µZ­[¾k×.Ñ»woáèè(Err²ÁËøæŽ_]]-ââℯ¯¯ðõõqqqMÆÛô·Óßgs/sŽÝp^}}½HNNAAAÂÉÉIôéÓGìØ±ã¾ÚÙPAAˆŽŽ;w*•Jxyy‰ððpqàÀ£Ûš:^MM˜5k–èØ±£èÔ©“øè£ Öcªm¦ÎMBB‚ððð¸¯þ+^Â6úµ¾={öˆàà`³ê³¤XÚ·í¹O^hró{·$Ó›MÔª ÒÓÓ1iÒ¤VÙ?û5IÉHãƒ)‰ˆ¤ÄÐ%"’C—ˆHB ]"" 1t‰ˆ$ÄÐ%"’C—ˆHB ]"" ©šÌPÝÕÖ¾GOÖï^ßkÍ}³_“T õç&ßH«©©AVV–E7… zPJ¥£F‚³³s«ìŸýš¤æçç‡!C†èÏV7 ]""j5ü0‘”ºDDbèIH@-wDDvâ×ÿ,Ë@aÙ°IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/image-surface_8cc-example.html0000644000000000000000000000013013012573355024374 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.669938571 cairomm-1.12.2/docs/reference/html/image-surface_8cc-example.html0000644000175000017500000001627213012573355026104 0ustar00murraycmurrayc00000000000000 cairomm: image-surface.cc
image-surface.cc

An example of using Cairo::ImageSurface class to render to PNG

/* M_PI is defined in math.h in the case of Microsoft Visual C++, Solaris,
* et. al.
*/
#if defined(_MSC_VER)
#define _USE_MATH_DEFINES
#endif
#include <string>
#include <iostream>
#include <cairommconfig.h>
#include <cairomm/context.h>
#include <cairomm/surface.h>
#include <cmath>
int main()
{
auto surface =
auto cr = Cairo::Context::create(surface);
cr->save(); // save the state of the context
cr->set_source_rgb(0.86, 0.85, 0.47);
cr->paint(); // fill image with the color
cr->restore(); // color is back to black now
cr->save();
// draw a border around the image
cr->set_line_width(20.0); // make the line wider
cr->rectangle(0.0, 0.0, surface->get_width(), surface->get_height());
cr->stroke();
cr->set_source_rgba(0.0, 0.0, 0.0, 0.7);
// draw a circle in the center of the image
cr->arc(surface->get_width() / 2.0, surface->get_height() / 2.0,
surface->get_height() / 4.0, 0.0, 2.0 * M_PI);
cr->stroke();
// draw a diagonal line
cr->move_to(surface->get_width() / 4.0, surface->get_height() / 4.0);
cr->line_to(surface->get_width() * 3.0 / 4.0, surface->get_height() * 3.0 / 4.0);
cr->stroke();
cr->restore();
#ifdef CAIRO_HAS_PNG_FUNCTIONS
std::string filename = "image.png";
surface->write_to_png(filename);
std::cout << "Wrote png file \"" << filename << "\"" << std::endl;
#else
std::cout << "You must compile cairo with PNG support for this example to work."
#endif
}
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_i.html0000644000000000000000000000013013012573355023031 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.637938579 cairomm-1.12.2/docs/reference/html/functions_func_i.html0000644000175000017500000001231113012573355024527 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- i -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Matrix-members.html0000644000000000000000000000013013012573355025036 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.549938602 cairomm-1.12.2/docs/reference/html/classCairo_1_1Matrix-members.html0000644000175000017500000001473513012573355026550 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::Matrix Member List

This is the complete list of members for Cairo::Matrix, including all inherited members.

identity_matrix()Cairo::Matrixrelated
invert()Cairo::Matrix
Matrix()Cairo::Matrix
Matrix(double xx, double yx, double xy, double yy, double x0, double y0)Cairo::Matrix
multiply(Matrix& a, Matrix& b)Cairo::Matrix
operator*(const Matrix& a, const Matrix& b)Cairo::Matrixrelated
rotate(double radians)Cairo::Matrix
rotation_matrix(double radians)Cairo::Matrixrelated
scale(double sx, double sy)Cairo::Matrix
scaling_matrix(double sx, double sy)Cairo::Matrixrelated
transform_distance(double& dx, double& dy) const Cairo::Matrix
transform_point(double& x, double& y) const Cairo::Matrix
translate(double tx, double ty)Cairo::Matrix
translation_matrix(double tx, double ty)Cairo::Matrixrelated
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/dir_bb3f961a6e48ec963ccb871d16b6e3d7.html0000644000000000000000000000013013012573355025070 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.617938584 cairomm-1.12.2/docs/reference/html/dir_bb3f961a6e48ec963ccb871d16b6e3d7.html0000644000175000017500000001674513012573355026605 0ustar00murraycmurrayc00000000000000 cairomm: cairomm Directory Reference
cairomm Directory Reference

Files

file  cairomm.h
 
file  context.h
 
file  device.h
 
file  enums.h
 
file  exception.h
 
file  fontface.h
 
file  fontoptions.h
 
file  matrix.h
 
file  path.h
 
file  pattern.h
 
file  quartz_font.h
 
file  quartz_surface.h
 
file  refptr.h
 
file  region.h
 
file  scaledfont.h
 
file  script.h
 
file  script_surface.h
 
file  surface.h
 
file  types.h
 
file  win32_font.h
 
file  win32_surface.h
 
file  xlib_surface.h
 
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_u.html0000644000000000000000000000013013012573355023045 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.645938578 cairomm-1.12.2/docs/reference/html/functions_func_u.html0000644000175000017500000001330113012573355024543 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- u -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/namespacemembers_enum.html0000644000000000000000000000013013012573355024031 xustar0029 mtime=1479210733.13793978 29 atime=1479210733.13793978 30 ctime=1479210737.693938565 cairomm-1.12.2/docs/reference/html/namespacemembers_enum.html0000644000175000017500000001204513012573355025533 0ustar00murraycmurrayc00000000000000 cairomm: Namespace Members
 
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_g.html0000644000000000000000000000013013012573355023027 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.13793978 30 ctime=1479210737.637938579 cairomm-1.12.2/docs/reference/html/functions_func_g.html0000644000175000017500000003744413012573355024543 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- g -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/index.html0000644000000000000000000000013013012573355020605 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.669938571 cairomm-1.12.2/docs/reference/html/index.html0000644000175000017500000000524513012573355022313 0ustar00murraycmurrayc00000000000000 cairomm: Cairomm: A C++ wrapper for the cairo graphics library
Cairomm: A C++ wrapper for the cairo graphics library

License

Cairomm is available under the terms of the LGPL license

Introduction

If you're just beginning to learn cairomm, a good place to start is with the Cairo::Surface and Cairo::Context classes. In general terms, you draw onto a Surface using the graphics settings specified in your Context.

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Gradient.html0000644000000000000000000000013013012573355023677 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.541938604 cairomm-1.12.2/docs/reference/html/classCairo_1_1Gradient.html0000644000175000017500000007250213012573355025405 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::Gradient Class Reference
Inheritance diagram for Cairo::Gradient:

Public Member Functions

 Gradient (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~Gradient () override
 
void add_color_stop_rgb (double offset, double red, double green, double blue)
 Adds an opaque color stop to a gradient pattern. More...
 
void add_color_stop_rgba (double offset, double red, double green, double blue, double alpha)
 Adds a translucent color stop to a gradient pattern. More...
 
std::vector< ColorStopget_color_stops () const
 Gets the color stops and offsets for this Gradient. More...
 
- Public Member Functions inherited from Cairo::Pattern
 Pattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Pattern (const Pattern&)=delete
 
Patternoperator= (const Pattern&)=delete
 
virtual ~Pattern ()
 
void set_matrix (const Matrix& matrix)
 Sets the pattern's transformation matrix to . More...
 
void get_matrix (Matrix& matrix) const
 Returns the pattern's transformation matrix. More...
 
Matrix get_matrix () const
 Returns the pattern's transformation matrix. More...
 
void set_matrix (const cairo_matrix_t& matrix)
 
void get_matrix (cairo_matrix_t& matrix) const
 
PatternType get_type () const
 Returns the type of the pattern. More...
 
void set_extend (Extend extend)
 Sets the mode to be used for drawing outside the area of a pattern. More...
 
Extend get_extend () const
 Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 

Protected Member Functions

 Gradient ()
 
- Protected Member Functions inherited from Cairo::Pattern
 Pattern ()
 

Additional Inherited Members

- Public Types inherited from Cairo::Pattern
typedef cairo_pattern_t cobject
 
- Protected Attributes inherited from Cairo::Pattern
cobjectm_cobject
 

Constructor & Destructor Documentation

Cairo::Gradient::Gradient ( cairo_pattern_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::Gradient::~Gradient ( )
override
Cairo::Gradient::Gradient ( )
protected

Member Function Documentation

void Cairo::Gradient::add_color_stop_rgb ( double  offset,
double  red,
double  green,
double  blue 
)

Adds an opaque color stop to a gradient pattern.

The offset specifies the location along the gradient's control vector. For example, a linear gradient's control vector is from (x0,y0) to (x1,y1) while a radial gradient's control vector is from any point on the start circle to the corresponding point on the end circle.

The color is specified in the same way as in Context::set_source_rgb().

If two (or more) stops are specified with identical offset values, they will be sorted according to the order in which the stops are added, (stops added earlier will compare less than stops added later). This can be useful for reliably making sharp color transitions instead of the typical blend.

Parameters
offsetan offset in the range [0.0 .. 1.0]
redred component of color
greengreen component of color
blueblue component of color
void Cairo::Gradient::add_color_stop_rgba ( double  offset,
double  red,
double  green,
double  blue,
double  alpha 
)

Adds a translucent color stop to a gradient pattern.

The offset specifies the location along the gradient's control vector. For example, a linear gradient's control vector is from (x0,y0) to (x1,y1) while a radial gradient's control vector is from any point on the start circle to the corresponding point on the end circle.

The color is specified in the same way as in Context::set_source_rgba().

If two (or more) stops are specified with identical offset values, they will be sorted according to the order in which the stops are added, (stops added earlier will compare less than stops added later). This can be useful for reliably making sharp color transitions instead of the typical blend.

Parameters
offsetan offset in the range [0.0 .. 1.0]
redred component of color
greengreen component of color
blueblue component of color
alphaalpha component of color
std::vector<ColorStop> Cairo::Gradient::get_color_stops ( ) const

Gets the color stops and offsets for this Gradient.

Since
1.4

The documentation for this class was generated from the following file:
  • cairomm/pattern.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classhash__load__check__resize__trigger__size__b0000644000000000000000000000013013012573355030371 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.613938586 cairomm-1.12.2/docs/reference/html/classhash__load__check__resize__trigger__size__base.html0000644000175000017500000000563713012573355033540 0ustar00murraycmurrayc00000000000000 cairomm: hash_load_check_resize_trigger_size_base Class Reference
hash_load_check_resize_trigger_size_base Class Reference
Inheritance diagram for hash_load_check_resize_trigger_size_base:

The documentation for this class was generated from the following files:
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/nav_f.png0000644000000000000000000000013213012573353020407 xustar0030 mtime=1479210731.909940118 30 atime=1479210731.909940118 30 ctime=1479210737.697938563 cairomm-1.12.2/docs/reference/html/nav_f.png0000644000175000017500000000023113012573353022101 0ustar00murraycmurrayc00000000000000‰PNG  IHDR8³»`IDATxíÝK€ EÑ–·[†øBÑmkâÄÂH—prÓ¼.‚Žó‚ꎤR6Z VI±E‚5j³„lóš›iI˜¬ÞêçJ0ŒÑÑ/Žû›™uøñóÞ¿6sH ÝõyIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/inherit_graph_10.png0000644000000000000000000000013213012573354022442 xustar0030 mtime=1479210732.841939861 30 atime=1479210732.841939861 30 ctime=1479210737.673938571 cairomm-1.12.2/docs/reference/html/inherit_graph_10.png0000644000175000017500000000232513012573354024142 0ustar00murraycmurrayc00000000000000‰PNG  IHDRt%*Z"bKGDÿÿÿ ½§“ŠIDAThíšÍK:]Çï¤þ2‚j*š^ÄìjãF"\D­‚ Äm- +bÈ]›ˆ²¢ô™´há¢0wYe¦¢VÂPA!dÉØ‹Þg1<ßO’dJ·ççg‘H×,€ÛÛ[Ú§¾¾ÞétRk‡ÃÑÐÐð}LfåUUU777Âææf·ÛM9<<<ÔÖÖÒÁ].µv: ¡s¿Ê¸¿¿§Öáp˜z?R:7q1 óûýI/···£(JÝ?Ç‹»@,£ý…B!ýœH’ …)oB‹Å¼^¯B¡ØÙÙ0EÏËË£ƒÓo:I’‰â~•=N„t4?5:::¨ÇˆZ­ðù|ŸŸŸÁ`0és'T]]}}}M­}>_MMM: ÒØØ¸¾¾>22òòò"‹©¦ “VWWßÜÜPk: “̲§O&âNMMÆååe‚ ÞÞÞìv{oo/u)­V›2”F£Áqœ ‚ pgŽræ3Hº3‹Å …bcccxxX«Õº\®÷÷w‡Ã¡V«éàz½þîîîîîN¯×ÿ¯ì?³Ó ««+¥RYRRòçϹ\n6›)ûÞÞ^SS“@ ‹ÅF£$¼‰qñI’Ã0 ð±±1æ(©v B‹Å"“ɢѨÑhlnnÎÏÏ—J¥»»»tð¡¡!E+**¦§§A\¯²ƒ Šû×q~~^WWÇjŠDqsüla||üáá!èõúžžž,gOrXžKH$¹\þþþÞÝÝm0²œ=ÇÅÅqÇñßÊžãcáwáÄeN\áÄe‘$?hf³9ûuä&ÌM¯Ífãós|ÿÀ|>ßf³1õD ÷ÿ\Öàf.‹pâ²'.‹pâ²È?f–Ñ•VCáIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_l.html0000644000000000000000000000013013012573355022021 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.653938576 cairomm-1.12.2/docs/reference/html/functions_l.html0000644000175000017500000001174513012573355023531 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- l -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classhash__load__check__resize__trigger__size__b0000644000000000000000000000031613012573354030376 xustar00116 path=cairomm-1.12.2/docs/reference/html/classhash__load__check__resize__trigger__size__base__inherit__graph.png 30 mtime=1479210732.309940008 30 atime=1479210732.309940008 30 ctime=1479210737.613938586 cairomm-1.12.2/docs/reference/html/classhash__load__check__resize__trigger__size__base__inherit__gra0000644000175000017500000001534213012573354035437 0ustar00murraycmurrayc00000000000000‰PNG  IHDR»«>FíñbKGDÿÿÿ ½§“—IDATxœíyXT×ýÆß­£VpP”MÓ˜Jµê£MÃò$ágŒ¨i#¦j¬(–hSãV—§‰ ЍQÜMÝKˆ±U­©1©K1G@vÅ 2 Ë÷÷G:“™a¸÷Œ³Â=ŸçáÑ{¿÷žóÞ{ß¹s¸órFFD§õ“ÞÆÑ 8{ÁÍΑ ÜìÉÀÍΑ mWܽ{sæÌACCƒ#ôp8ãããƒU«V5Y/3~³ÿ~„‡‡ãå—_¶—6Çj”––"''&2¦7¹³kY¸p¡mUq86 ++ ‹-2YãcvŽdàfçHnvŽd°ŠÙ­ÑŒÕÛ¶¥.kµï¬ç®5Âïì›ã,/:nvŽÍ9}ú´£%àfçHˆfŸ³›ËÑ£G±gÏ<|øÏ<ó fÍš…Þ½{ °yóf\¾|Àûï¿®]».]º„7B¥RÁÍÍ ‘‘‘9r$SÛ¬ÔÕÕ!55§OŸ!((Ó§OG»ví˜4Ö××cݺuÈÌÌDÛ¶mñÖ[o1÷ÝÐЀO?ýÇÇ“'Oi°¿ÐñvíÚ…cÇŽ¡ºº#FŒÀ{ï½¹\ÎÔ¶–[·náÃ?DDDÆ'¨7003gÎDzz:ÊËË‘™™)ªCèêî4ÚšX–bµ;û·ß~‹ääd9rC† 1ø¸váÂ… Czz:ÒÒÒàááÍ›7ëêÿûß1qâDddd %%999Ìm³²k×.ܽ{7nDjj*rss±k×.f»víBAA¶mÛ†ÔÔT|óÍ7Ì}ïÝ»W¯^ÅêÕ«±gÏ”••1ßpåʬZµ »wïF}}=¶mÛÆÜ6œ?|ðD®å»ï¾Ã† ™™É¤Cìj9}ú´îçý÷ßǰaØÕR¬fö„„(•JÈår„‡‡ã‡~ÐÕ¶nÝŠ¢}ûöèÔ©Þ}÷]³¸¸¸ ¼¼>„——fÏžÍÜ6+'Nœ@ll,<==áé鉨ØXœ|ø0’’’ðÑGaøðáÌšccc¡P(˜uˆ]Cc.^¼ˆ£GbÞ¼yÌ}XŠÕ†1îîîºÿ·oßµµµºå›7o"55·oßFUU M›Ÿ_gK—.ŧŸ~Š;w¢K—.ˆ‰‰Á!C˜Úf¥¢¢ÞÞÞºå=z ¼¼œYcyyy“ýY)++Ü^èøJJJ0iÒ$ƒíe2sÛû÷ïÇk¯½†þýû3ë///ƒe1b×P•J…ääd¬X±;vdîÃR¬fv!/^ŒwÞyÆ C§NP]]7ÞxCWïÛ·/–,Y"Â… °|ùrJJJàë당sçZ]Cdd$RSS1}út?=˜8q"³Æ‰'bݺu˜2e \\\0~üx\¼x‘©ïððpÔÔÔ ..jµ‘‘‘̺ǎ ™L†  ¨¨={öÄÔ©SÍj[¡P 99‰‰‰hhhh2T°†Ök˜““ƒœœ|üñǺuÚ§1b}XJ³yvgù €Ã1mÄ×Tž¨Ä‘ vÆØ ¡Ì…=ß™œE+-M¯µhÑfw– ã,:Xiiz­ÆHgI:’Veö–zA[ªî–F‹0;«ZêÛsKÕÝÒhfçp¬Óÿ‚ª½«kÿÕŠÇPõ£¤uuuX·nNŸ>­‹äj#¾,u±¸©©þ…p†ì¾}û––†††#::mÛþdKbØ¶ŽæZ §¿³k/´6ªq UŸüã())ÁöíÛ±yóæ&ŸvŠÕYâ¦Býã Øÿþ÷¿Ø¼y3¶mÛ†üü|ƒø€%1l[Gs­…Ó›]ãª>'OžÄÌ™3¡P( P(cV%n*Ô¿1ÎÕF”=<<ƒýë_ºš%1l[Gs­…Óc„0Ž¡êcéÕÿ?K%n*Ô¿1ÎÕ?ÆîÝ»›qÒoëh®µhfoîÄ Pm¤·W¯^€¢¢"³ê,qSs.¨3D`õ#ÊEEEfEœ…ôÛ:šk-ZÄ0¦k×®P©TfíŒO>ù¨¨¨h}«[;nê XãˆrHHˆ®fI ÛÖÑ\kÑ"îì&L@LL ?~ÌüL:22k×®ÅäÉ“áââ‚1cÆàòåËÌukÇM!€iÓ¦¡¡¡AAAfEœ…ôÛ:šk-$ñÍÍÍżyó°gÏž§ªsZ’ø®_¿<@II Ö¯_#F˜Uç´.œbc«È©R©DTTêêê0bĈ&o­busptlÖÑý·$3ŒáHÉc8}¸Ù9’›#¸Ù9’¡Ù§1Í}ãÇ2dDè¤ÑàqûöŽ–Ò*)--m¶ÖÄì¿ûÝï0~üxþ¥¿6«¸¾÷îáÊ A¨ûÅ/-§Õáéé‰W_}Õd­É£GŽmÙ=jŠ.]BÐ’%˜2ÅÑr¤ôhOªîßGñåË€L†œ-Grp³Û‘‡CÖ¦ @„â«WñèÞ=GK’Üìv$'=ô¿ß…Ú´m‹ïq°"iÁÍn'ܾò[· ý©±®ÙiiÕ$5¸ÙíDÎgŸ¡M[Ç_óòPþý÷R$=¸ÙíDÎÁƒh¬¯7XçÒ®n>ì EÒƒ›Ý]¹‚ š¬o¨«Ãõýûþô×.p³Ûïn2„Ñò¸¤÷¿ÁƒcÜì6†‘óÙgM†0ZøPÆ~p³Û˜üÿü5ÍÖêêpCàÅÀ±Üì6æÆ¡Ch󿯌oõ£G¸÷ÕWvR$]¸ÙmÌ_~ ª¯G›¶mþqq1X€ÛÇ;XiëÇ)þàº5ók×â±Þlc%W¯â»Ý»ñʲeÛõhf*<Žõà©G;sóóÏñyTf:ZŠÔà©GŽtàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHnvŽdàfçHÁoÞP«Õ¨ªª²—Iðã?ÊÊʬ¤õ¡P(ЦMó÷oÁoÞÈÉÉAii©M„IMEß¾ wþµ2Vçù矇§§gsåtÁ;;ÁÓÓÏ?ÿ¼õ•q8V$++ bߘÄÇìÉÀÍΑ ÜìÉÀÍ΀L&³Ë>¶lÇÚmÛR—­ÚçfçHnvŽdàfçH§1{mm-f̘www(•J,_¾Ü`Ü&“ɰqãFøùù¡C‡6l²³³ êÆ°Žûd2–/_ŽnݺA¡P &&Æ`¡ºF£Att4 ”J%V¬Xa°ï©S§€:ÀÏÏ[¶lÔi¼,tÜ·nÝ›o¾ …BWWWŒ;åååÌ} µÍJmm-âããáíí ¥R‰øøxÔÖÖ2k;VƒÈÎΦììl¡M¬Æ¼yó(44” ©°°^yåÒ—€ÂÂÂ(//?~L‹-¢áÇÔ9<ƒíBBB¨  € ($$„þö·¿1×.\¨«çççS`` AßÞÞÞtàÀR«Õ¤R©hêÔ©‚:Í9îPff&=yò„*++)&&†Þ}÷]¦¾ÅÚ;gZæÏŸO!!!”ŸŸ¯;þ 0k;,œ>}šJJJ„6Ùï4fïÓ§ݸqC·|ýúõ&½¨¨H·\]]M:t0¨cŽÙ¯_¿®[ÎÎÎ&溿¿¿AýÚµk}÷ìÙ“RRRèÞ½{LzŒµ ·1="¦¾ÍmÛx_-}úôirüúçGL£Øùc¡E™].—“Z­Ö-×ÔÔ41»1æÔ…@555}Ëåræº\.oR×ïûâÅ‹F …‚úöíKÇŽcÒÕÜ1è¯ûöÛo)((ˆÜÜÜ ¦¾-=gZL¿þùÓ(vþXhQfg¹³c|«««uËEEEf]¸œœƒ¾ïìBuƒzvv¶É¾)##ƒ”J%“.mßBëüýýiçÎTQQAõõõôàÁæ¾­ev±;»˜FÖó'‹ÙæÔˆˆ$&&âþýû¸ÿ>ÍÚÿ·¿ý-V®\‰êêjäååaúôéfퟀÂÂB"!!o¿ý6s}„ õøøø&Ç–““ƒºº:⿚óJuu5ºté‚N:A¥RaÚ´ifõm """‡‚‚ ..ÌÅΟÕz)ØóÎ^SSCþóŸÉÍͼ¼¼hñâÅÔ®];]Ý”Týu×®]£¡C‡’\.'___Ú°aƒYw©eË–‘——¹¹¹ÑŒ3 †TbuµZMQQQ:í+V¬0è{ïÞ½Ô¯_?’Ëå4pà@ÊÌÌlö8Œ—ÅŽû‹/¾ ~ýúQ»ví¨W¯^”’’ÂÜ·XÛBèoWSSC±±±Ô­[7êÖ­ÅÆÆ KÄ4Š?Xîì‚yöëׯ€C"¾W¯^EXXrssmÞ—L&‡rœ›¬¬,üêW¿‚——Ws›¤;Í0øi¨P\\ •J…ÄÄD„……9Z§!øÇæò´ãAí]ÕÏσ†F£ÁèÑ£±téR›ëâwtÓ´ÆsfU³[zâââg%5?#¦«¥^<[ÒÏ‰Ó cœ5ÊÊi=8Ù¥€3½èœI‹½àf·#ö°š¸5SÄàfçH»š½¾¾ ,€¯¯/ÜÜÜ””dPŠ›666béÒ¥èÝ»7ÜÝÝ1eÊTWW3·­åâÅ‹èÑ£Ö¬Y#ªW&“aõêÕèÙ³§nò1B‘ZãȲñë± éÕo[è8ôëbñj±º˜^Sý;»ö¼lÙ2üûßÿFff&rssQPP`Pÿç?ÿ‰¬¬,”——#44QQQºZrr2²²²™™‰;wî ®® ,`n222ŠO>ù„ù©Ï™3gpáÂ4662鈌ŒÄܹsQYY‰³gÏâ믿6Ù.é~6mÚ„×_ùX›C;4Ѷ+tú,]º*• ÙÙÙ¸téN:eVE¯PÿvCèóUkÇžyæºvíšÉDâ¦ýû÷§ï¿ÿ^·\\\L¾¾¾Ìm¯[·ŽºwïNß|ó ³^t÷î]ƒub:Ä"µÆœ8q‚H?þø#sbšYŽC;±žX]L¯©þ­Ó¥£œú4w‘´tèÐAÕþ´iÓ†¹í>}úМ9sÌÒ € Ö‰é0'R{ýúuêÛ·/ååå™Õ‡˜f–ãÐßN,^-VÓkªkãt©Çž={âöíÛOµo¯^½——gðößÐÐÀÜö™3gžžnöŸ|?ÝÓ€C‡¡¬¬ «W¯Æ”)SL¶[ZZбcÇbûöíðóó3«sôŠ­€îÝ»#//O·lœG«³èu†Gv5ûŸþô'ÄÆÆ"77>DBBó¾3fÌÀ´iÓpãÆ h4\»v ãÇgnÛÇÇgΜÁÖ­[ñÑG=õ1ˆé`ÔŽ=sæÌÁðáÃÍîCܸqìc‹W‹Õ-ÑkW„îûÖÆh4úðÃÉÇLJÜÜÜhÕªUºš))úë(%%…ú÷ïOíÛ·§^xŽ9bvÛEEEôÜsÏÑâÅ‹EõšÒ$¦ƒ5R £·}sŽUˆ¤¤$ruu5+&,¯«‹é±™UhÑ_Žã‹WÛ3~ÍJ‹‹ør‡X¼º5įíñxq-M/`;Íbñj[ůí ÆpZ|Ãq$÷èÑ8ÃIã´LœÊì=œ9sðì³Ï¢cÇŽpwwGXX˜AÃÖciS-ã`•½±D¿9üŒ]Ì^ZZŠääd 8Pp»ððpTTTà‹/¾@ee%nÞ¼‰ &`É’%ö À0 ejÙQèëp=-¡§ð–|¨¤V«éÀ4jÔ(ruu¥ÈÈH:qâ„à>:t ÊÊJÁm`Æ3K–,!???rss£É“'ÓãÇÍ:m{¿ÿýïiïÞ½5•JEÞÞÞTYYi0¯Œ»»;EGGSmm­Õ´]¦¨¨(Ú¶m›Áº­[·ÒŒ3žúÜ U«V‘Éd2ݺ 6¯¯/Éår:t¨AðîæÍ›4nÜ8rww§®]»Ò˜1c¨¬¬Œé¬C‚`_ý5Íœ9“ ÑŽ;¨ªªŠißÐÐPzë­·èܹsôäÉ“Û4wÒ6mÚD¯¿þºn9))‰‚ƒƒ)77—}úЬY³ îö¦Nšµc²¦úýôV›Mï¼ó9R·Þø¤Ù"&kª¯Ã‡S¿~ý¨¾¾ž"""(%%Å`;¡Yl-ÕÂb” Z¹r¥è¾OÉ5ÕŽþ:±™z[¥Ùµ¨ÕjÚ¿?9’\]]iÒ¤ItêÔ)³Ûyøð!uîÜY·¬ÒJJJ¨_¿~tîܹ&ûõë×¯É À\ôûjll¤ÐìÙ³ÉÏϯÉ\B³üZªEÌ(W®\!úì³Ï¨{÷îôÃ?èjÚ1·>bzÄŒmjØL½­ÚìúSRR 0@p»?üá”––FÅÅŤÑh(77—¦OŸN¡¡¡ºmôOÚСCiÇŽ&ÛJNN¦ÊÉÉ¡ÚÚZºzõ*…‡‡›¥Ûøí۷Ж-[šl÷ꫯêÆì¯¼òŠÁ7O°h2ƒPíñãÇô /PVV}þùç ûÇÓÓÓà…È¢çiÌ®T*éСC¤V«éÎ;4nÜ8iš•S§Nј1cÈÍÍär9õîÝ›¢££©¢¢B·9Ocž6&kª/"¢ôôtêÛ·/ÕÕÕ5ÙNh–_1-çÎüz¡1û¤I“hÓ¦MÛ¯ZµŠ&OžLD¦#¿OÉ['6S/7{ cÔ¨Q´gÏž&ë-½M¦±æ˜‹Ù­šzl­466bË–-ÈËËCxx¸ÕÛÏÌÌ´z›œ¦HÒìæÆd]\\àçç‡ôôt‡Î{± IšÝ”¡ÍÙÞøË ÌmãømŠ#Z…Ù=Ù·|ùr´mÛ+W®t´IÓ*ÌîÌ466"55ÉÉÉØ°aƒc§{ ~ó›ß 99¥¥¥Ž–b1­Þìµµµˆ‡··7”J%âããQ[[««ßºu o¾ù& \]]1vìX”——ëêÑÑÑP(P*•fO²ôå—_ÂÕÕ111P(8~ü¸A]hBV¡š%¬ ÕŒIJJÂ¥K—ðì³Ïâ7ÞÀÁƒ¡ÑhÌ:NƒÐƒÉ–òœ]è0æÏŸO!!!”ŸŸOùùùhðé¦XZoáÂ…ºD£v‘Óf@hh¨.‚»}ûvƒœÑÒ¥Kéå—_¦Û·oÓƒ(>>ž©&–\ôöö¦Z­&•JES§Neª5GUUmß¾I¡PÐÌ™3éÂ… ÌçÁÖHæC%!ó‰}û²1Æi=ÿ&û³šýÎ;äéé© ‰ÕÔÔ§§'åææê¶šU¨fÉ«B5Ξ=K>>>v™üˆnvj:á©q"Q,­gjÖ‹±)G2ðÁ8=ZDÌY' uV]Ó´³;«qœUÇ4|Ñ ÜìÉÀÍΑ ÜìÉÀÍΑ ‚Ocd2JKK‘••e'9ÎÓ#ök‚Ÿ ªÕjTUUY]‡c  …Ðìé‚wv¹\¹\n}UŽàcvŽdàfçHnvŽdh ÝÑ"8;ðõÿ'ó*4I6IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classes.html0000644000000000000000000000013013012573355021133 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.613938586 cairomm-1.12.2/docs/reference/html/classes.html0000644000175000017500000003231413012573355022636 0ustar00murraycmurrayc00000000000000 cairomm: Class Index
Class Index
C | D | F | G | H | I | L | M | P | Q | R | S | T | U | W | X
  C  
Gradient (Cairo)   Pattern (Cairo)   SolidPattern (Cairo)   Win32ScaledFont (Cairo)   
  I  
PdfSurface (Cairo)   Surface (Cairo)   Win32Surface (Cairo)   
ColorStop (Cairo)   PsSurface (Cairo)   SurfacePattern (Cairo)   
  X  
Context (Cairo)   ImageSurface (Cairo)   
  Q  
SvgSurface (Cairo)   
  D  
  L  
  T  
XlibSurface (Cairo)   
QuartzFontFace (Cairo)   
  c  
Device (Cairo)   Device::Lock (Cairo)   QuartzSurface (Cairo)   ToyFontFace (Cairo)   
  F  
LinearGradient (Cairo)   
  R  
  U  
cairo_matrix_t   
  M  
  h  
FontFace (Cairo)   RadialGradient (Cairo)   UserFontFace (Cairo)   
FontOptions (Cairo)   Matrix (Cairo)   RefPtr (Cairo)   
  W  
hash_load_check_resize_trigger_size_base   
FtFontFace (Cairo)   
  P  
Region (Cairo)   
  l  
FtScaledFont (Cairo)   
  S  
Win32FontFace (Cairo)   
  G  
Path (Cairo)   Win32PrintingSurface (Cairo)   logic_error (Cairo)   
ScaledFont (Cairo)   
GlitzSurface (Cairo)   
C | D | F | G | H | I | L | M | P | Q | R | S | T | U | W | X
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Matrix.html0000644000000000000000000000013013012573355023406 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.553938601 cairomm-1.12.2/docs/reference/html/classCairo_1_1Matrix.html0000644000175000017500000010411113012573355025104 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::Matrix Class Reference

A Transformation matrix. More...

Inheritance diagram for Cairo::Matrix:

Public Member Functions

 Matrix ()
 Creates an uninitialized matrix. More...
 
 Matrix (double xx, double yx, double xy, double yy, double x0, double y0)
 Creates a matrix Sets to be the affine transformation given by xx, yx, xy, yy, x0, y0. More...
 
void translate (double tx, double ty)
 Applies a translation by tx, ty to the transformation in matrix. More...
 
void scale (double sx, double sy)
 Applies scaling by sx, sy to the transformation in matrix. More...
 
void rotate (double radians)
 Applies rotation by radians to the transformation in matrix. More...
 
void invert ()
 Changes matrix to be the inverse of it's original value. More...
 
void multiply (Matrix& a, Matrix& b)
 Multiplies the affine transformations in a and b together and stores the result in this matrix. More...
 
void transform_distance (double& dx, double& dy) const
 Transforms the distance vector (dx,dy) by matrix. More...
 
void transform_point (double& x, double& y) const
 Transforms the point (x, y) by this matrix. More...
 

Related Functions

(Note that these are not member functions.)

Matrix identity_matrix ()
 Returns a Matrix initialized to the identity matrix. More...
 
Matrix translation_matrix (double tx, double ty)
 Returns a Matrix initialized to a transformation that translates by tx and ty in the X and Y dimensions, respectively. More...
 
Matrix scaling_matrix (double sx, double sy)
 Returns a Matrix initialized to a transformation that scales by sx and sy in the X and Y dimensions, respectively. More...
 
Matrix rotation_matrix (double radians)
 Returns a Matrix initialized to a transformation that rotates by radians. More...
 
Matrix operator* (const Matrix& a, const Matrix& b)
 Multiplies the affine transformations in a and b together and returns the result. More...
 

Detailed Description

A Transformation matrix.

Cairo::Matrix is used throughout cairomm to convert between different coordinate spaces. A Matrix holds an affine transformation, such as a scale, rotation, shear, or a combination of these. The transformation of a point (x,y) is given by:

x_new = xx * x + xy * y + x0;
y_new = yx * x + yy * y + y0;

The current transformation matrix of a Context, represented as a Matrix, defines the transformation from user-space coordinates to device-space coordinates.

See also
Context::get_matrix()
Context::set_matrix()

Constructor & Destructor Documentation

Cairo::Matrix::Matrix ( )

Creates an uninitialized matrix.

If you want a matrix initialized to a certain value, either specify the values explicitly with the other constructor or use one of the free functions for initializing matrices with specific scales, rotations, etc.

See also
identity_matrix()
rotation_matrix()
translation_matrix()
scaling_matrix()
Cairo::Matrix::Matrix ( double  xx,
double  yx,
double  xy,
double  yy,
double  x0,
double  y0 
)

Creates a matrix Sets to be the affine transformation given by xx, yx, xy, yy, x0, y0.

The transformation is given by:

x_new = xx * x + xy * y + x0;
y_new = yx * x + yy * y + y0;
Parameters
xxxx component of the affine transformation
yxyx component of the affine transformation
xyxy component of the affine transformation
yyyy component of the affine transformation
x0X translation component of the affine transformation
y0Y translation component of the affine transformation

Member Function Documentation

void Cairo::Matrix::invert ( )

Changes matrix to be the inverse of it's original value.

Not all transformation matrices have inverses; if the matrix collapses points together (it is degenerate), then it has no inverse and this function will throw an exception.

Exceptions
void Cairo::Matrix::multiply ( Matrix a,
Matrix b 
)

Multiplies the affine transformations in a and b together and stores the result in this matrix.

The effect of the resulting transformation is to first apply the transformation in a to the coordinates and then apply the transformation in b to the coordinates.

It is allowable for result to be identical to either a or b.

Parameters
aa Matrix
ba Matrix
See also
operator*()
void Cairo::Matrix::rotate ( double  radians)

Applies rotation by radians to the transformation in matrix.

The effect of the new transformation is to first rotate the coordinates by radians, then apply the original transformation to the coordinates.

Parameters
radiansangle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.
void Cairo::Matrix::scale ( double  sx,
double  sy 
)

Applies scaling by sx, sy to the transformation in matrix.

The effect of the new transformation is to first scale the coordinates by sx and sy, then apply the original transformation to the coordinates.

Parameters
sxscale factor in the X direction
syscale factor in the Y direction
void Cairo::Matrix::transform_distance ( double &  dx,
double &  dy 
) const

Transforms the distance vector (dx,dy) by matrix.

This is similar to transform_point() except that the translation components of the transformation are ignored. The calculation of the returned vector is as follows:

dx2 = dx1 * a + dy1 * c;
dy2 = dx1 * b + dy1 * d;

Affine transformations are position invariant, so the same vector always transforms to the same vector. If (x1,y1) transforms to (x2,y2) then (x1+dx1,y1+dy1) will transform to (x1+dx2,y1+dy2) for all values of x1 and x2.

Parameters
dxX component of a distance vector. An in/out parameter
dyY component of a distance vector. An in/out parameter
void Cairo::Matrix::transform_point ( double &  x,
double &  y 
) const

Transforms the point (x, y) by this matrix.

Parameters
xX position. An in/out parameter
yY position. An in/out parameter
void Cairo::Matrix::translate ( double  tx,
double  ty 
)

Applies a translation by tx, ty to the transformation in matrix.

The effect of the new transformation is to first translate the coordinates by tx and ty, then apply the original transformation to the coordinates.

Parameters
txamount to translate in the X direction
tyamount to translate in the Y direction

Friends And Related Function Documentation

Matrix identity_matrix ( )
related

Returns a Matrix initialized to the identity matrix.

Matrix operator* ( const Matrix a,
const Matrix b 
)
related

Multiplies the affine transformations in a and b together and returns the result.

The effect of the resulting transformation is to first apply the transformation in a to the coordinates and then apply the transformation in b to the coordinates.

It is allowable for result to be identical to either a or b.

Parameters
aa Matrix
ba Matrix
Matrix rotation_matrix ( double  radians)
related

Returns a Matrix initialized to a transformation that rotates by radians.

Parameters
radiansangle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.
Matrix scaling_matrix ( double  sx,
double  sy 
)
related

Returns a Matrix initialized to a transformation that scales by sx and sy in the X and Y dimensions, respectively.

Parameters
sxscale factor in the X direction
syscale factor in the Y direction
Matrix translation_matrix ( double  tx,
double  ty 
)
related

Returns a Matrix initialized to a transformation that translates by tx and ty in the X and Y dimensions, respectively.

Parameters
txamount to translate in the X direction
tyamount to translate in the Y direction

The documentation for this class was generated from the following file:
  • cairomm/matrix.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/namespacemembers_func.html0000644000000000000000000000013013012573355024020 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.693938565 cairomm-1.12.2/docs/reference/html/namespacemembers_func.html0000644000175000017500000000536213012573355025526 0ustar00murraycmurrayc00000000000000 cairomm: Namespace Members
 
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/bdwn.png0000644000000000000000000000013113012573353020247 xustar0030 mtime=1479210731.917940116 30 atime=1479210731.917940116 29 ctime=1479210737.52193861 cairomm-1.12.2/docs/reference/html/bdwn.png0000644000175000017500000000022313012573353021743 0ustar00murraycmurrayc00000000000000‰PNG  IHDR5åZIDATxíË € DŸP–1ñlžmÀ r±j².e è†D[ØÉ¾ÙÏÔ¼µ¦ã´Þ|陣6€Všë3´Å?Ls'(}¬>+ žKó÷¥¿ch`‚ ^׃ÞnIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/dynsections.js0000644000000000000000000000013213012573353021510 xustar0030 mtime=1479210731.909940118 30 atime=1479210731.909940118 30 ctime=1479210737.621938584 cairomm-1.12.2/docs/reference/html/dynsections.js0000644000175000017500000000610413012573353023207 0ustar00murraycmurrayc00000000000000function toggleVisibility(linkObj) { var base = $(linkObj).attr('id'); var summary = $('#'+base+'-summary'); var content = $('#'+base+'-content'); var trigger = $('#'+base+'-trigger'); var src=$(trigger).attr('src'); if (content.is(':visible')===true) { content.hide(); summary.show(); $(linkObj).addClass('closed').removeClass('opened'); $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); } else { content.show(); summary.hide(); $(linkObj).removeClass('closed').addClass('opened'); $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); } return false; } function updateStripes() { $('table.directory tr'). removeClass('even').filter(':visible:even').addClass('even'); } function toggleLevel(level) { $('table.directory tr').each(function() { var l = this.id.split('_').length-1; var i = $('#img'+this.id.substring(3)); var a = $('#arr'+this.id.substring(3)); if (l cairomm: Member List
Cairo::QuartzFontFace Member List

This is the complete list of members for Cairo::QuartzFontFace, including all inherited members.

cobj()Cairo::FontFaceinline
cobj() const Cairo::FontFaceinline
cobject typedefCairo::FontFace
create(CGFontRef font)Cairo::QuartzFontFacestatic
create(ATSUFontID font_id)Cairo::QuartzFontFacestatic
FontFace(cairo_font_face_t* cobject, bool has_reference=false)Cairo::FontFaceexplicit
FontFace(const FontFace&)=deleteCairo::FontFace
get_type() const Cairo::FontFace
m_cobjectCairo::FontFaceprotected
operator=(const FontFace&)=deleteCairo::FontFace
QuartzFontFace(CGFontRef font)Cairo::QuartzFontFaceprotected
QuartzFontFace(ATSUFontID font_id)Cairo::QuartzFontFaceprotected
reference() const Cairo::FontFace
unreference() const Cairo::FontFace
~FontFace()Cairo::FontFacevirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/inherit_graph_11.png0000644000000000000000000000013213012573354022443 xustar0030 mtime=1479210732.897939846 30 atime=1479210732.897939846 30 ctime=1479210737.673938571 cairomm-1.12.2/docs/reference/html/inherit_graph_11.png0000644000175000017500000000727213012573354024151 0ustar00murraycmurrayc00000000000000‰PNG  IHDRmX±£1ßbKGDÿÿÿ ½§“oIDATxœíÝkPçàosÛ@B!² ¢ã¥EÏ”‹R,–;^:-‡"ˆ‚3µµ:Èe´§èØz†B—‡aêLù¯B[o-¶Ð:T*J(Ô" D’Ð0€˜@Èîù±íž@B É&ä}~m¾|Ù}wØ}ù6»ù^Œ$In`1ÀïA¸ òÀ]Gîâ0X˜Š‹‹5 ÓQ€9“H$r¹|®ŸÂà~ ð Ã’’’pg:0jµº©©É…œyx†aÕÕÕ;wîd:0555YYY.äø~à.È#wA¸ òž…a˜GûûÈ#ÀŸøã9 &Ý¿?###<<<888>>þ믿vܾn/bSÑÖ} CIIÉòåËCBBD"Ño¼QWW7/[w'HV2¿QÙy0æáÇ©©©7nT(###UUUçÏŸ÷ÚÖI+v;deeétºÚÚÚáááÎÎΜœœÒÒR¯…çd¾‚ÀBÕÕÕŽûäää|òÉ'vßêììÌÈȉD¡¡¡éé郃ƒôjé¹\.‘H0 #IÒd2,^¼X,˜L&ëHl—m|Û“‚ÏçÛ Ïl6;vL*•†……>}Úɘ-KiiiLLŒP(ܳgÏ“'O¨öñññýû÷‹D"±X|òäIA:ØS„ÐÙ³ge2ÇKJJjoo·»SŽUWW»–`<SWW·k×.»oeff8p@£ÑôööFGG—””Øö¹qãÆ/¿üBB¨¬¬ìÞ½{ÍÍÍwîÜikk+//Ÿk0äÔ,ƒJMM}÷ÝwFã´Î'Nœ¸yóf}}}OOýøÿ¬1Ÿ9sæúõëõõõÝÝÝf³ù£>¢ÚËËË»;å).äf…œp8£Ñ8ëª ƒD"¡WK/íÐ5ùùùb±X,ççç[_tX÷œéã”Ï>û,,,Œ~«®®.==](òx¼%K–8p@§ÓQoMLL9rD"‘…B¹\îdÌ‹¥²²råÊ•ÁÁÁkÖ¬¹|ù2Õn2™öíÛ' ###O:å8È™öÍp]3m§sùºæ óø#˜7ÀÈ#wA¸ òÀ]0_<˜Fã„J¥W«õjµN­Ö«TúgžI`:(à=G‚ ¯]»·~½,"âYnhbb²¯oˆJ*•N­¦r‡~pp”ê -’JÃq\DO= ð)GüA—/+Nž¼ÚÛ«;|xkQÑ–ùZ³Áð´·W×Û«S©tô‚F3d±¡à`ÎâÅ¡Riø /DmݺF* —ÉÂcb"õñ/¾È›¯H€ï›’GL&ÓÕ«Wí>ƒ 3­Ñb!®\i=uêjo¯Ã0‹¥Ré\X¹Ý|Ñ×749I „‚‚8Ï?J¥‰M›–S b±@,uÍMMM0}™ijjríƒSžC»páBFFÆ<…æMvvö—_~I¿$²¶ö×O?ý®·W‡a,ê‡ó¡ÄÄ%/œi%t¾ÐjG´Ú*ktuiŸ>@q¹ì¨¨0©ô¯!“…ËdáÔ ‹åJ.Àqêéù#‰D¢V«çú©)ã‘ÉÉI4S×y±sçNz„8-ƒ$"I‚îùè‘!d2™é4A2”ÊÁÑQÕ-44„J))Ëßzk•/$!›=Ÿ7ï\8ÿ‚ïGüƒã B]±âÈè¨!„a˜X,Àq‘Tž–¶ Ç“q<Ç…QQBnöƒyyÄב$zü8$9¹L¥Òc²›A(Aîß¿9.§ÆAAðÇ^‡š¯ëï_Ô݆!4ëç‹/.IN^æ°° C\?*M$?]µJà@ZRR,ŸÏE±Ù,.—mÛ“Íf©Õ®Ü²ÀM^P“z{g[ ‹E†‡Ý²Xˆ‡µ­­*…BuûvOW—Öb!¹\6A aH­Ö3/D.ŽG˜*_ॉØlÖÊ•Ïgg'ž8‘ÙÐðïþ{éR~IÉŽmÛֈłÉIbxxúÌæx+ãª|ÑáÇ+**Äbqkkë©S§èñ<*++K*•ÖÖÖÊd2ƒÁÐÐÐPZZš––æ…MÓ|g`Åç%$Ä&$ÄR/uº'!!Ă” ³ª1X¾(Kefffff:Ó¦¸r]Ã`ù"(M€/²N*NŽG,_€¥‰`<|Ÿ+y„ÁòE´À)Myø>W®k|¡|”&Àw¸’G,_¥‰ðEÖƒç«à0U¾(KÁu ð}S3u¹ ðª”TMM Ó0£ý}Í‚¤Ó=1'˜Ž"ø½¯3'ÚÛ5--*…âÑíÛJ­vdÏž”²²18Gü‰ãßéq8¬°0þìk`¾Añu ñÊʾ»{Wùë¯j£ÑÌf³X,Ìlþë5½@’ÇEÌE ä_§Õ†tw‡utüÿgÍ awJ‹…ÀñpïEÀß øºÅ‹Ç8ÒdZFÍ«HŽî¦57+ÍæIá¸æU^‡š¯Ã0ñôüù£vkMXc±°³gèyž##R©ˆª!•Š$Ž‹¢¢ÂìÎ¥€; ø {íµuÛ·Ç9È&Ï*ÿŸìï7Xר¯ï°[w‚*j塺  LÉ#Á¯?|ý´¾ãlŽ æü]žfÊJlë`ݼùàܹ±±q4—:XÅÅÅ^ØkàËŠŠŠär9ýrÊó¬P—Ó79S—!”™ùbEÅ,?홆$É•Š.ú=¤VëÔjý S·x<®T.•Šp\$‘ˆ¤RÑ矟Ðë•ÅÅÅó´sÀÿÈårÇ­Ÿ±†é—ý›÷ë„ OW¯ÖÁsúÌö·ðýˆc±°ôô¾þúúk×î­_/›Ç5‡††¬]²v-nÝh6[²²vÏãVÀÂyd!`±°-[þá… q¹lÇ~5?Èà+z€» à+ü¨Ìã4G€¯ðÚYá;§ß‚yxŠ÷‹.ŠÅâññqº%==^6™L‘‘‘T #Çë¹zõêË/¿Ìãñ¢¢¢òòò´Z-ÕþÃ?¤¥¥ñùü¨¨¨wÞyG§û«šr€—yDG€‡PE7nܨP(FFFªªªÎŸ?ïéFDD$%%]¹r…z©×ë¯\¹òøñcêåÅ‹“““#""f]ÏéÓ§ ûûû;;;cccsrr¨v¹\~èСÁÁÁÖÖV‡“››KµgeeétºÚÚÚáááÎÎΜœœÒÒRìŸ#Ö³zyÓÓ7À¬œœ/–©¢‹.\رcÕòí·ß"„è9w·lÙréÒ¥i²-x8ÍèèhHHˆmûÈȈ@  –­Ì£í1ãàL]ܱcÇÝ»wB¯¾újcc#B¨¯¯¯­­mÛ¶mÓúÛ<´666VUUµyófÛ Õ××ÇÅÅQËPæÆ#`nœ0XtñàÁƒ$I¦¤¤üüóÏÉÉÉ$I–——ÚnÈnÁCú]„Pddäǧm¢¥¥E"‘( z/ªÌ£í1yÌ“y„Á¢‹ …býúõãããkÖ¬!IrÕªU&“iÅŠ­­­¶²þ í‰d0>þøã””ëÆ††‰DrãÆ ÛMH™G¸®^Â`ÑÅuëÖqîܹÄÄD„PbbbUUŸÏ§/Cœ'Š‹‹[ZZè–êêêÝ»wóÍ7›6m²í°e!`°è"B(77÷È‘#©©©¡ÔÔÔãÇçåå9üÛo¿ÝÑÑa6›ÕjõÑ£G©õ „ärù|píÚµ„„ëþPæ®kÀÜ8_ß©¢‹$I p¹\FC’¤R©är¹¶=Ñ #üšššµk×á8þÞ{ïÑ5mOŸÑÑQ2ðÊ<Ú0o˜¨ïl¸®¸ òÀ]Gî‚<p䀻 Üyà.˜çÌÙ­[·¨'@`ºuëÖ† ¬[ €¹ÉÌÌd:À° 6L; àyV€»àû€» Üyà.È#wý^,„5‚­—RIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Pattern.html0000644000000000000000000000013013012573355023557 xustar0029 mtime=1479210733.14193978 29 atime=1479210733.14193978 30 ctime=1479210737.557938601 cairomm-1.12.2/docs/reference/html/classCairo_1_1Pattern.html0000644000175000017500000007270513012573355025272 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::Pattern Class Reference

Cairo::Pattern is the paint with which cairo draws. More...

Inheritance diagram for Cairo::Pattern:

Public Types

typedef cairo_pattern_t cobject
 

Public Member Functions

 Pattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Pattern (const Pattern&)=delete
 
Patternoperator= (const Pattern&)=delete
 
virtual ~Pattern ()
 
void set_matrix (const Matrix& matrix)
 Sets the pattern's transformation matrix to . More...
 
void get_matrix (Matrix& matrix) const
 Returns the pattern's transformation matrix. More...
 
Matrix get_matrix () const
 Returns the pattern's transformation matrix. More...
 
void set_matrix (const cairo_matrix_t& matrix)
 
void get_matrix (cairo_matrix_t& matrix) const
 
PatternType get_type () const
 Returns the type of the pattern. More...
 
void set_extend (Extend extend)
 Sets the mode to be used for drawing outside the area of a pattern. More...
 
Extend get_extend () const
 Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 

Protected Member Functions

 Pattern ()
 

Protected Attributes

cobjectm_cobject
 

Detailed Description

Cairo::Pattern is the paint with which cairo draws.

The primary use of patterns is as the source for all cairo drawing operations, although they can also be used as masks, that is, as the brush too.

This is a reference-counted object that should be used via Cairo::RefPtr.

Member Typedef Documentation

typedef cairo_pattern_t Cairo::Pattern::cobject

Constructor & Destructor Documentation

Cairo::Pattern::Pattern ( cairo_pattern_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::Pattern::Pattern ( const Pattern )
delete
virtual Cairo::Pattern::~Pattern ( )
virtual
Cairo::Pattern::Pattern ( )
protected

Member Function Documentation

cobject* Cairo::Pattern::cobj ( )
inline
const cobject* Cairo::Pattern::cobj ( ) const
inline
Extend Cairo::Pattern::get_extend ( ) const

Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy.

Since
1.12
void Cairo::Pattern::get_matrix ( Matrix matrix) const

Returns the pattern's transformation matrix.

Matrix Cairo::Pattern::get_matrix ( ) const

Returns the pattern's transformation matrix.

Since
1.8
void Cairo::Pattern::get_matrix ( cairo_matrix_t matrix) const
PatternType Cairo::Pattern::get_type ( ) const

Returns the type of the pattern.

Since
1.2
Pattern& Cairo::Pattern::operator= ( const Pattern )
delete
void Cairo::Pattern::reference ( ) const
void Cairo::Pattern::set_extend ( Extend  extend)

Sets the mode to be used for drawing outside the area of a pattern.

See Cairo::Extend for details on the semantics of each extend strategy.

The default extend mode is Cairo::EXTEND_NONE for surface patterns and Cairo::EXTEND_PAD for gradient patterns.

Parameters
Cairo::Extenddescribing how the area outsize of the pattern will be drawn
Since
1.12
void Cairo::Pattern::set_matrix ( const Matrix matrix)

Sets the pattern's transformation matrix to .

This matrix is a transformation from user space to pattern space.

When a pattern is first created it always has the identity matrix for its transformation matrix, which means that pattern space is initially identical to user space.

Important: Please note that the direction of this transformation matrix is from user space to pattern space. This means that if you imagine the flow from a pattern to user space (and on to device space), then coordinates in that flow will be transformed by the inverse of the pattern matrix.

For example, if you want to make a pattern appear twice as large as it does by default the correct code to use is:

pattern->set_matrix(scaling_matrix(0.5, 0.5));

Meanwhile, using values of 2.0 rather than 0.5 in the code above would cause the pattern to appear at half of its default size.

Also, please note the discussion of the user-space locking semantics of set_source().

void Cairo::Pattern::set_matrix ( const cairo_matrix_t matrix)
void Cairo::Pattern::unreference ( ) const

Member Data Documentation

cobject* Cairo::Pattern::m_cobject
protected

The documentation for this class was generated from the following file:
  • cairomm/pattern.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1FtScaledFont.html0000644000000000000000000000013113012573355024457 xustar0030 mtime=1479210733.145939778 29 atime=1479210733.14193978 30 ctime=1479210737.537938606 cairomm-1.12.2/docs/reference/html/classCairo_1_1FtScaledFont.html0000644000175000017500000011743213012573355026166 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::FtScaledFont Class Reference
Inheritance diagram for Cairo::FtScaledFont:

Public Member Functions

FT_Face lock_face ()
 Gets the FT_Face object from a FreeType backend font and scales it appropriately for the font. More...
 
void unlock_face ()
 Releases a face obtained with lock_face(). More...
 
- Public Member Functions inherited from Cairo::ScaledFont
cobjectcobj ()
 Provides acces to the underlying C cairo object. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo object. More...
 
 ScaledFont (cobject*cobj, bool has_reference=false)
 Create a C++ wrapper object from the C instance. More...
 
 ScaledFont (const ScaledFont&)=delete
 
ScaledFontoperator= (const ScaledFont&)=delete
 
virtual ~ScaledFont ()
 
void get_extents (FontExtents&extents) const
 Gets the metrics for a ScaledFont. More...
 
void extents (FontExtents& extents) const
 
void get_text_extents (const std::string& utf8, TextExtents&extents) const
 Gets the extents for a string of text. More...
 
void text_extents (const std::string& utf8, TextExtents&extents) const
 
void get_glyph_extents (const std::vector< Glyph >& glyphs, TextExtents&extents)
 Gets the extents for an array of glyphs. More...
 
void glyph_extents (const std::vector< Glyph >& glyphs, TextExtents&extents)
 
RefPtr< FontFaceget_font_face () const
 The FontFace with which this ScaledFont was created. More...
 
void get_font_options (FontOptions& options) const
 Gets the FontOptions with which the ScaledFont was created. More...
 
void get_font_matrix (Matrix& font_matrix) const
 Gets the font matrix with which the ScaledFont was created. More...
 
void get_font_matrix (cairo_matrix_t& font_matrix) const
 
void get_ctm (Matrix& ctm) const
 Gets the CTM with which the ScaledFont was created. More...
 
void get_ctm (cairo_matrix_t& ctm) const
 
FontType get_type () const
 Gets the type of scaled Font. More...
 
void text_to_glyphs (double x, double y, const std::string& utf8, std::vector< Glyph >& glyphs, std::vector< TextCluster >& clusters, TextClusterFlags& cluster_flags)
 
void get_scale_matrix (Matrix& scale_matrix) const
 Stores the scale matrix of this scaled font into matrix. More...
 

Static Public Member Functions

static RefPtr< FtScaledFontcreate (const RefPtr< FtFontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())
 Creates a ScaledFont From a FtFontFace. More...
 
- Static Public Member Functions inherited from Cairo::ScaledFont
static RefPtr< ScaledFontcreate (const RefPtr< FontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())
 Creates a ScaledFont object from a font face and matrices that describe the size of the font and the environment in which it will be used. More...
 
static RefPtr< ScaledFontcreate (const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())
 

Protected Member Functions

 FtScaledFont (const RefPtr< FtFontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())
 
- Protected Member Functions inherited from Cairo::ScaledFont
 ScaledFont (const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())
 

Additional Inherited Members

- Public Types inherited from Cairo::ScaledFont
typedef cairo_scaled_font_t cobject
 The underlying C cairo object type. More...
 
- Protected Attributes inherited from Cairo::ScaledFont
cobjectm_cobject
 The underlying C cairo object that is wrapped by this ScaledFont. More...
 

Detailed Description

Since
1.8

Constructor & Destructor Documentation

Cairo::FtScaledFont::FtScaledFont ( const RefPtr< FtFontFace >&  font_face,
const Matrix font_matrix,
const Matrix ctm,
const FontOptions options = FontOptions() 
)
protected

Member Function Documentation

static RefPtr<FtScaledFont> Cairo::FtScaledFont::create ( const RefPtr< FtFontFace >&  font_face,
const Matrix font_matrix,
const Matrix ctm,
const FontOptions options = FontOptions() 
)
static

Creates a ScaledFont From a FtFontFace.

Since
1.8
FT_Face Cairo::FtScaledFont::lock_face ( )

Gets the FT_Face object from a FreeType backend font and scales it appropriately for the font.

You must release the face with unlock_face() when you are done using it. Since the FT_Face object can be shared between multiple ScaledFont objects, you must not lock any other font objects until you unlock this one. A count is kept of the number of times lock_face() is called. unlock_face() must be called the same number of times.

You must be careful when using this function in a library or in a threaded application, because freetype's design makes it unsafe to call freetype functions simultaneously from multiple threads, (even if using distinct FT_Face objects). Because of this, application code that acquires an FT_Face object with this call must add it's own locking to protect any use of that object, (and which also must protect any other calls into cairo as almost any cairo function might result in a call into the freetype library).

Returns
The FT_Face object for font, scaled appropriately, or NULL if scaled_font is in an error state or there is insufficient memory.
Since
1.8
void Cairo::FtScaledFont::unlock_face ( )

Releases a face obtained with lock_face().

Since
1.8

The documentation for this class was generated from the following file:
  • cairomm/scaledfont.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Context-members.html0000644000000000000000000000013213012573355025220 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.525938609 cairomm-1.12.2/docs/reference/html/classCairo_1_1Context-members.html0000644000175000017500000011271513012573355026725 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::Context Member List

This is the complete list of members for Cairo::Context, including all inherited members.

append_path(const Path& path)Cairo::Context
arc(double xc, double yc, double radius, double angle1, double angle2)Cairo::Context
arc_negative(double xc, double yc, double radius, double angle1, double angle2)Cairo::Context
begin_new_path()Cairo::Context
begin_new_sub_path()Cairo::Context
clip()Cairo::Context
clip_preserve()Cairo::Context
close_path()Cairo::Context
cobj()Cairo::Contextinline
cobj() const Cairo::Contextinline
cobject typedefCairo::Context
Context(const RefPtr< Surface >& target)Cairo::Contextexplicitprotected
Context(cairo_t* cobject, bool has_reference=false)Cairo::Contextexplicit
Context(const Context&)=deleteCairo::Context
copy_clip_rectangle_list(std::vector< Rectangle >& rectangles) const Cairo::Context
copy_page()Cairo::Context
copy_path() const Cairo::Context
copy_path_flat() const Cairo::Context
create(const RefPtr< Surface >& target)Cairo::Contextstatic
curve_to(double x1, double y1, double x2, double y2, double x3, double y3)Cairo::Context
device_to_user(double& x, double& y)Cairo::Context
device_to_user(double& x, double& y) const Cairo::Context
device_to_user_distance(double& dx, double& dy)Cairo::Context
device_to_user_distance(double& dx, double& dy) const Cairo::Context
fill()Cairo::Context
fill_preserve()Cairo::Context
get_antialias() const Cairo::Context
get_clip_extents(double& x1, double& y1, double& x2, double& y2) const Cairo::Context
get_current_point(double& x, double& y) const Cairo::Context
get_dash(std::vector< double >& dashes, double& offset) const Cairo::Context
get_fill_extents(double& x1, double& y1, double& x2, double& y2) const Cairo::Context
get_fill_rule() const Cairo::Context
get_font_extents(FontExtents& extents) const Cairo::Context
get_font_face()Cairo::Context
get_font_face() const Cairo::Context
get_font_matrix(Matrix& matrix) const Cairo::Context
get_font_matrix(cairo_matrix_t& matrix) const Cairo::Context
get_font_options(FontOptions& options) const Cairo::Context
get_glyph_extents(const std::vector< Glyph >& glyphs, TextExtents& extents) const Cairo::Context
get_group_target()Cairo::Context
get_group_target() const Cairo::Context
get_line_cap() const Cairo::Context
get_line_join() const Cairo::Context
get_line_width() const Cairo::Context
get_matrix(Matrix& matrix)Cairo::Context
get_matrix(cairo_matrix_t& matrix)Cairo::Context
get_matrix() const Cairo::Context
get_miter_limit() const Cairo::Context
get_operator() const Cairo::Context
get_path_extents(double& x1, double& y1, double& x2, double& y2) const Cairo::Context
get_scaled_font()Cairo::Context
get_source()Cairo::Context
get_source() const Cairo::Context
get_stroke_extents(double& x1, double& y1, double& x2, double& y2) const Cairo::Context
get_target()Cairo::Context
get_target() const Cairo::Context
get_text_extents(const std::string& utf8, TextExtents& extents) const Cairo::Context
get_tolerance() const Cairo::Context
glyph_path(const std::vector< Glyph >& glyphs)Cairo::Context
has_current_point() const Cairo::Context
in_clip(double x, double y) const Cairo::Context
in_fill(double x, double y) const Cairo::Context
in_stroke(double x, double y) const Cairo::Context
line_to(double x, double y)Cairo::Context
m_cobjectCairo::Contextprotected
mask(const RefPtr< const Pattern >& pattern)Cairo::Context
mask(const RefPtr< const Surface >& surface, double surface_x, double surface_y)Cairo::Context
move_to(double x, double y)Cairo::Context
operator=(const Context&)=deleteCairo::Context
paint()Cairo::Context
paint_with_alpha(double alpha)Cairo::Context
pop_group()Cairo::Context
pop_group_to_source()Cairo::Context
push_group()Cairo::Context
push_group_with_content(Content content)Cairo::Context
rectangle(double x, double y, double width, double height)Cairo::Context
rel_curve_to(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)Cairo::Context
rel_line_to(double dx, double dy)Cairo::Context
rel_move_to(double dx, double dy)Cairo::Context
reset_clip()Cairo::Context
restore()Cairo::Context
rotate(double angle_radians)Cairo::Context
rotate_degrees(double angle_degres)Cairo::Context
save()Cairo::Context
scale(double sx, double sy)Cairo::Context
select_font_face(const std::string& family, FontSlant slant, FontWeight weight)Cairo::Context
set_antialias(Antialias antialias)Cairo::Context
set_dash(std::valarray< double >& dashes, double offset)Cairo::Context
set_dash(std::vector< double >& dashes, double offset)Cairo::Context
set_dash(const std::valarray< double >& dashes, double offset)Cairo::Context
set_dash(const std::vector< double >& dashes, double offset)Cairo::Context
set_fill_rule(FillRule fill_rule)Cairo::Context
set_font_face(const RefPtr< const FontFace >& font_face)Cairo::Context
set_font_matrix(const Matrix& matrix)Cairo::Context
set_font_matrix(const cairo_matrix_t& matrix)Cairo::Context
set_font_options(const FontOptions& options)Cairo::Context
set_font_size(double size)Cairo::Context
set_identity_matrix()Cairo::Context
set_line_cap(LineCap line_cap)Cairo::Context
set_line_join(LineJoin line_join)Cairo::Context
set_line_width(double width)Cairo::Context
set_matrix(const Matrix& matrix)Cairo::Context
set_matrix(const cairo_matrix_t& matrix)Cairo::Context
set_miter_limit(double limit)Cairo::Context
set_operator(Operator op)Cairo::Context
set_scaled_font(const RefPtr< const ScaledFont >& scaled_font)Cairo::Context
set_source(const RefPtr< const Pattern >& source)Cairo::Context
set_source(const RefPtr< Surface >& surface, double x, double y)Cairo::Context
set_source_rgb(double red, double green, double blue)Cairo::Context
set_source_rgba(double red, double green, double blue, double alpha)Cairo::Context
set_tolerance(double tolerance)Cairo::Context
show_glyphs(const std::vector< Glyph >& glyphs)Cairo::Context
show_page()Cairo::Context
show_text(const std::string& utf8)Cairo::Context
show_text_glyphs(const std::string& utf8, const std::vector< Glyph >& glyphs, const std::vector< TextCluster >& clusters, TextClusterFlags cluster_flags)Cairo::Context
stroke()Cairo::Context
stroke_preserve()Cairo::Context
text_path(const std::string& utf8)Cairo::Context
transform(const Matrix& matrix)Cairo::Context
transform(const cairo_matrix_t& matrix)Cairo::Context
translate(double tx, double ty)Cairo::Context
unset_dash()Cairo::Context
user_to_device(double& x, double& y)Cairo::Context
user_to_device(double& x, double& y) const Cairo::Context
user_to_device_distance(double& dx, double& dy)Cairo::Context
user_to_device_distance(double& dx, double& dy) const Cairo::Context
~Context()Cairo::Contextvirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1GlitzSurface.html0000644000000000000000000000013213012573355024546 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.541938604 cairomm-1.12.2/docs/reference/html/classCairo_1_1GlitzSurface.html0000644000175000017500000012100313012573355026241 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::GlitzSurface Class Reference

A GlitzSurface provides a way to render to the X Window System using Glitz. More...

Inheritance diagram for Cairo::GlitzSurface:

Public Member Functions

 GlitzSurface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~GlitzSurface () override
 
- Public Member Functions inherited from Cairo::Surface
 Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Surface (const Surface&)=delete
 
Surfaceoperator= (const Surface&)=delete
 
virtual ~Surface ()
 
const unsigned char* get_mime_data (const std::string& mime_type, unsigned long& length)
 Return mime data previously attached to surface using the specified mime type. More...
 
void set_mime_data (const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)
 Attach an image in the format mime_type to surface. More...
 
void unset_mime_data (const std::string& mime_type)
 Remove the data from a surface. More...
 
void get_font_options (FontOptions& options) const
 Retrieves the default font rendering options for the surface. More...
 
void finish ()
 This function finishes the surface and drops all references to external resources. More...
 
void flush ()
 Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. More...
 
void mark_dirty ()
 Tells cairo to consider the data buffer dirty. More...
 
void mark_dirty (int x, int y, int width, int height)
 Marks a rectangular area of the given surface dirty. More...
 
void set_device_offset (double x_offset, double y_offset)
 Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. More...
 
void get_device_offset (double& x_offset, double& y_offset) const
 Returns a previous device offset set by set_device_offset(). More...
 
void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
 Set the horizontal and vertical resolution for image fallbacks. More...
 
void get_fallback_resolution (double& x_pixels_per_inch, double& y_pixels_per_inch) const
 This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set. More...
 
SurfaceType get_type () const
 
Content get_content () const
 This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. More...
 
void copy_page ()
 Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. More...
 
void show_page ()
 Emits and clears the current page for backends that support multiple pages. More...
 
bool has_show_text_glyphs () const
 Returns whether the surface supports sophisticated Context::show_text_glyphs() operations. More...
 
void write_to_png (const std::string& filename)
 Writes the contents of surface to a new file filename as a PNG image. More...
 
void write_to_png_stream (const SlotWriteFunc& write_func)
 Writes the Surface to the write function. More...
 
void write_to_png (cairo_write_func_t write_func, void* closure)
 
RefPtr< Deviceget_device ()
 This function returns the device for a surface. More...
 
cobjectcobj ()
 Provides acces to the underlying C cairo surface. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo surface. More...
 

Static Public Member Functions

static RefPtr< GlitzSurfacecreate (glitz_surface_t* surface)
 Creates a new GlitzSurface. More...
 
- Static Public Member Functions inherited from Cairo::Surface
static RefPtr< Surfacecreate (const RefPtr< Surface > other, Content content, int width, int height)
 Create a new surface that is as compatible as possible with an existing surface. More...
 
static RefPtr< Surfacecreate (const RefPtr< Surface >& target, double x, double y, double width, double height)
 Create a new surface that is a rectangle within the target surface. More...
 

Additional Inherited Members

- Public Types inherited from Cairo::Surface
typedef sigc::slot< ErrorStatus, const unsigned char*, unsigned int > SlotWriteFunc
 For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length); More...
 
typedef sigc::slot< ErrorStatus, unsigned char*, unsigned int > SlotReadFunc
 This is the type of function which is called when a backend needs to read data from an input stream. More...
 
typedef sigc::slot< void > SlotDestroy
 For instance, void on_destroy();. More...
 
typedef cairo_surface_t cobject
 The underlying C cairo surface type. More...
 
- Protected Attributes inherited from Cairo::Surface
cobjectm_cobject
 The underlying C cairo surface type that is wrapped by this Surface. More...
 

Detailed Description

A GlitzSurface provides a way to render to the X Window System using Glitz.

This provides a way to use OpenGL-accelerated graphics from cairo. If you want to use hardware-accelerated graphics within the X Window system, you should use this Surface type.

Note
For this Surface to be available, cairo must have been compiled with Glitz support
Warning
This is an experimental surface. It is not yet marked as a fully supported surface by the cairo library

Constructor & Destructor Documentation

Cairo::GlitzSurface::GlitzSurface ( cairo_surface_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referencewhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::GlitzSurface::~GlitzSurface ( )
override

Member Function Documentation

static RefPtr<GlitzSurface> Cairo::GlitzSurface::create ( glitz_surface_t *  surface)
static

Creates a new GlitzSurface.

Parameters
surfacea glitz surface type

The documentation for this class was generated from the following file:
  • cairomm/surface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/structCairo_1_1ColorStop-members.html0000644000000000000000000000013213012573355025737 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.705938562 cairomm-1.12.2/docs/reference/html/structCairo_1_1ColorStop-members.html0000644000175000017500000000753113012573355027443 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::ColorStop Member List

This is the complete list of members for Cairo::ColorStop, including all inherited members.

alphaCairo::ColorStop
blueCairo::ColorStop
greenCairo::ColorStop
offsetCairo::ColorStop
redCairo::ColorStop
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1RefPtr__inherit__graph.png0000644000000000000000000000013213012573354026366 xustar0030 mtime=1479210732.529939947 30 atime=1479210732.529939947 30 ctime=1479210737.573938597 cairomm-1.12.2/docs/reference/html/classCairo_1_1RefPtr__inherit__graph.png0000644000175000017500000001446613012573354030077 0ustar00murraycmurrayc00000000000000‰PNG  IHDRëV§’bKGDÿÿÿ ½§“ëIDATxœíÝyPgÞðï  ×p Š…UÖ¬D`ÝR÷MÂUêzà"†1M¼âîZ1 –G4¦„EÀJPI@MDÀV%îó’rQ%Ñ!ÈäĹ~ï†y™™id`¦ñ÷©¢¤yž~ž§»ç;}L÷(!"cÌØešzŒ1a8¬Œ‰‡•1‘à°2&ÃÕÿP^^ŽM›6¡££ÃãalH Fpp°^ÚêÖË—/#==^^^z週gÕ7`àÂÚeëÖ­z週gÕ¶mÛôÚŸ³2&VÆD‚ÃʘHpX¸qãÂÂÂàíímè¡ )¼>ûÆhÂjÌ.99o¿ý6Ο?oè¡­X±YYY¸ÿ¾¡‡¢‘^šššŠÀÀ@,^¼vvv055Åoû[•Ï™nß¾­[·ÂßßóçÏGLL ´·· .OMMÅÂ…  kkkX[[#88þþþHKKS®~ºhÛFÐÑÑÏ>û !!!X°`222TÚдýº¬Y³ÅÅÅXºt)6oÞŒÜÜ\•±½„õêÕ«ðõõÕZgëÖ­øóŸÿŒÌÌL?~6668xð Æú?ýô>þøcå;þÑ£GQ^^ŽO>ùÉÉÉ(--ÅÑ£GŸj¼ÍÍÍHOOÇøñãYYYøñLJÏ?ÿíííøôÓO ÇÞ«7‰‰Dg}õeºyó&âãã±hÑ"œÕ²é"d[À?ü€ƒâÓO?Eee%>ÿüsÁåW®\Á¬Y³z´9{öl\¹r¥OýtÑ¶àØ±c¸víþùÏâ‹/¾@}}=aÛ<<<°iÓ&dffâÕW_ÅÉ“'„øøxêX[ƒC/amjj‚T*ÕZ'%%îîî033èQ£°bÅ \¾|Ycýˆˆ•6Ïœ9ƒˆˆØÚÚÂÖÖ8{ö¬Ê<êC}ºëÝÕßß§OŸVÞ¥õÕW_!** xñűzõjäææ Zö††$&& —ú2­Y³yyyصkâââ0{ölŒ9RP¿OKȶžŒÕÆÆ666X·n¾ùæÁå<€M6¥R©ÊÑ”~ºèÚFÿùϰ~ýzŒ=/¾ø"Ö®]«s{3räHÌ™3qqqرcþûßÿbõêÕOÕ–¾é哹¹9ààà ±NQQ’““qëÖ-477LL4¿WØÙÙ©L«·?fÌܽ{·Oã<þ<ˆÕÕÕØ³gŠ‹‹!“ÉpçÎ,[¶L¥nמR“®C*KKKüþ÷¿ôâP_¦ýû÷#;;ï¿ÿ>\\\0{öl¼öÚk1bDŸ–«/„l+*å£Gî±®µ•›››ãîÝ»=z´Ê< °°°èS?]tm£úúzŒ3Fë2 !—Ë‘››‹ììl”””ÀËË ³gÏîw»ú —°zxx ''ùË_4ÖÙ¾};ÂÃÃ1cÆ Œ5 ---ð÷÷×X_=,R©5557n€'1z{÷ÖE"‘`̘1زe V¯^ OOOØÙÙá£>‚L&ÜŽ¶C*MAWÿûäÉ“1yòd¬[·.\@vv61sæLÌ™3îîî‚Ç#”m@e]×ÔÔôX×ÚÊ===ñÍ7ß`ùòå*ódggÃÃãOýtѵìììPUU¥<µéN×/ðäô ;;.\À”)Sàïï?þñ=.,’^ƒ—/_Žýë_ÈÌÌD}}=ÚÚÚPXX¨ò0€B¡ÀóÏ?#FàÎ;Ø»woŸúðõõEbb"êëëQ__ÄÄÄç^B/0O6î”)SpîÜ9,\¸{÷îEEEÚÛÛQZZŠíÛ·÷i|ÝYXX ¢¢Bp}SSSxyya÷îÝ8|ø0\\\””ôÔýk#d[OöúwïÞÅÝ»w‘””???Áåááá8yò$233ÑØØˆÆÆFdffâÔ©SïS?]tm£9sæ !!555hnnÆþýû•eB¶Çþýûáââ‚#GŽ`÷îÝðòò2ª zÚ³:::"..)))8|ø0 \\\°dÉe7bÿþýضm¬­­"ø¼œœŒwÞyÀ“ .]º´_ãž?>8€äädH$ÄÄÄ ¦¦cÇŽÅ[o½õÔ톆†bݺuxøðaŸ?ß³²²Òë3ê„l+àÉxåÊ•èèè€Ou­­|ìØ±ˆ‹‹Crr²ò"Д)SÛãsm]ýt ÔºBBB —Ë …B°°0e™í‘’’"`í–DýÛ 3222$>DfOG×Mƒq“Agg'fÍšÕã"¢˜lÛ¶ ¶¶¶Ê‘ú‰¿Ý§ââ⧺&1”éívCfú{+¢±x÷Ýw•§<ì ë£@êjc0BúôéïClø0˜1‘à°2&VÆD‚ÃʘHh¼Àôí·ßâ0X_¦€¼càî!fýWWW[[[½µ×#¬>|¸Þ¿ó”éÅó@e"°ò pü¢¡GôÑçC=î`b"Pò)pé-ÀaàmèѰÁÁw0‰RùQ@"jÏë =6H8¬b£¨îü/@@ü’iè±AÂa›Šc€ò¡ý ô°A‡Ã‡UlJôëÇI4\ZÊ :$688¬bò°¸—ÿë!ð¯L†zy‹9«˜T$jŸ¶u¶ei½×gC ‡ULÊŽÔÖóï €7êêêwww­õŠ‹‹áåå…™3g"??MMMHJJBzzú T"Bgg'ª««‘’’¹\Ž©S§¢¼¼ÜÐCÓjêÔ©ˆG]]ÝÓ5@lHR(”••E , KKK £3gÎh'44”vîÜ©µNQQ‘µµ5YXXP@@Õ××+Ë»¿¤P\\9::’D"QŽ+22’d2ÙÛÛSdd$) •>Ô_–êmö&::š–.]ªœîèè ;vÐK/½DVVVôæ›oÒÇ©¡¡lll¨±±Qeþ††²³³£ÆÆF•>ÚÚÚ(::šœœœÈÒÒ’öîÝ«³MΞ=KaaadaaA , ¬¬,züø±Æúj28¬bõ9ˆ*Ž÷øóÅ‹iÍš5$•JÉÇLJRSS©¹¹YP“öööTRR¢µŽ››åääУGèþýû´nÝ:Z±b…²\=X .¤ªª*åߢ££ÉÏÏ*++©²²’¼½½)&&F¥§ kEEÉd2åtll,ùúúRii)566ÒÒ¥KiÆ DD´jÕ*úðÃUæß½{7EEEõècçÎäååE·nÝ¢ÆÆFe]}hÓÜÜLŸ}öy{{“T*¥5kÖÐ¥K—tÍÆa- a@NNNtáÂ…>79|øp’Ëå}šçÁƒäèè¨Ò÷ßËËËUêO˜0nܸ¡œ¾~ý:9;; îOSX[[[ÉÔÔT9íêêJ………ÊéÚÚZ7nݼy“œœœ¨­­ˆžì=ǯk÷>\\\èúõë½ö©­¡rssÉÑÑQãruÃa- aÍËË£U«V‘T*%___JKKÓzhÖ=ë÷ßO>>>deeExòuŠ4lØ0e¹zX;;;Uæ1b„Ê‚\.§#FŸzûÝUTTƒƒƒrzäÈ‘Êñuý˜˜˜(Ëÿô§?Qzz:;vŒBCC{íC}¼ÝéêC“ææfJMM%’J¥´jÕ*ÊËËÓ5‡U´4„µ‹B¡ ŒŒ š7oYZZÒ²eËèܹsZ› ¥]»vi­ãììLiiiÔÐÐ@ííí=Îñt²Ôž5::šÂ”ӓ&M¢²²2ídggÓŒ3ˆˆhúôétõêÕ^ûøÍo~£qϪ«ugÏž¥eË–‘……Í›7222zœ¯kÁa-aí®¶¶–bccÉÍÍMk½Ÿþ™d2ÅÅÅQee%) ºté)ëÈd2úòË/I¡PPII õ)¬›7oV9gõññ¡-[¶¨ÔzÎÚÒÒBW¯^¥ÈÈH=z´JpâããÉÏÏ èñãÇtíÚ5 Qi÷å—_¦„„òóóÓØß|@^^^TRRÒãœUHݹ¹¹Qll,ÕÖÖj¬£‡U´úÖ¾((( €€²´´¤çž{ަM›F™™™Êò¯¿þš&MšD¦¦¦äääD } «\.§ˆˆ²··'{{{Šˆˆèq˜©+¬H"‘Ð /¼@¯¼ò mܸ‘îܹ£2OGG%$$««+™™™Ñ”)SèÔ©S*ugeL$8¬Œ‰‡•1‘à°¹¼¼­[·ŽV¬X¡Òg÷ß.\HUUUÊ¿EGG“ŸŸUVVRee%y{{SLLLqkšîþ{CCmÙ²…þð‡?Qll,ùúúRii)566ÒÒ¥KiÆ ‚Ú%"ºsçÙØØh,×´L/^¤5kÖT*%JMM¥æææóöÆXÖ¹ÖÔו;|øp’Ëå}êãÁƒäèè¨Òg÷ßËËËUêO˜0nܸ¡œ¾~ý:9;; îO}çàà@eeeDDäêêJ………ʺµµµ4nܸ^Ǧ>]UUEK–,¡%K–h¬¯i™““]¸pAðrtÃ:ïÞöP «èÏY¥R)ª««µÖùá‡àëë kkkH$XXX ¦¦Fc}'''•éêêjL˜0A9íâ₪ªª>“ˆÐÙÙ‰ââb8;;#??PQQWWW•‹F•••ZÛêªëîîŽaÆ!!!AgÿêË”——‡¹sçÂßß~~~8|ø0ZZ„Ýh,–u>äúíBžâœu×®]Zë8;;SZZ544P{{;566jİλ·=Tö¬¢ëÏ?ÿL2™Œââ⨲²’ ]ºt‰‚‚‚”ud2}ùå—¤P(¨¤¤„‚‚‚úôÂÙ¼y³Êù“mÙ²¥Ç¸5M÷Öæ¢E‹è“O>¡øøxòó󣂂züø1]»vBBBµÛ[[[*((èÓ<]jkk)66–ÜÜÜ´Ö3–u.‡u=ÍÊ-(( €€²´´¤çž{ަM›F™™™Êò¯¿þš&MšD¦¦¦äääD }záÈårŠˆˆ {{{²··§ˆˆˆçl} kvv6yxxPGG%$$««+™™™Ñ”)SèÔ©S‚ÚíMll,YZZêì¿¿Œa 1”ÂjtϳJ$~DŽéÍz=ñ7ò3&VÆD‚ÃʘHpX «ˆñcfÏëéºËÈÄÄpwwÇ{gúúz½õadòÙã° úõÃêêj¤¤¤@.—cêÔ©(//7ôдš:u*âããQWWgè¡°n8¬ý ~ªé°tÔ¨QðððÀ¾}ûðÖ[o!::ZYÖÙÙ‰;wbüøñ°¶¶Æ_ÿúW´´´ ±±¶¶¶¸wïžJ[°··Ç½{÷TúkooGLL Æ+++ÄÆÆêìC“ØØX\½z'N„¿¿?Nœ8ÖÖÖ>­¦ÖA¶bÅ œ={V9o¿ý999())A[[bbb`mmE‹áÀ*ó8p¡¡¡°²²Rùûž={ðÝwß!''¥¥¥¸}û¶Î>4ñõõÅáÇqûömbÿþý=z4Ö®]‹Ë—/ëiM°>3ìT=aˆÜ¦iÕ¶¶¶’©©©rZÛ#r7oÞ$'''jkk#"¢¶¶6?~¼òq²î}¸¸¸Ðõë×{íS×cxBäææ’££ã€Üº8†Ê뉆Â#rbSSSå´¶Gä\]]ñòË/ãĉ€¬¬,̘1ãÆëÑîíÛ·áââÒkŸOó<|øiiiðõõE@@æÏŸ¼¼¼§Yl¦ÖAvèÐ!øùù)§œœPVV¦ü^%"BGG‡²<** ûöíìÛ·ÿûß{mwìØ±¸uëV¯eºúPwîÜ9„‡‡ÃÑÑ™™™XµjªªªðñÇcúôéO³ØL8¬ý ôÓ£GŸŸ¨¨(¤¤¤`ûöíʲիWcåÊ•¸yó&Z[[qýúu,Y²DY>kÖ,455!11/¼ð‚Æ/3[¾|9"""PZZŠ{÷îáÝwß܇º 6à•W^AQQ¾úê+÷øÒ66øŒî?¦Jº;GgggÌž=ùùù°³³SÖ‰ˆˆ€‰‰ QVV†‰'bçÎ*íDEEáwÞÁ¿ÿýo}ýãÿ@KK ^ýu´´´¨\qÒGw?ýôS?–š ~DŽ iCèõÄÈ1&VÆD‚ÃʘHpX +c"ÁaeL$8¬Œ‰„QÞqñâEþÆÔÝMcÇŽUy¼‹±þ>|8rrrðꫯz(ý•it{V!Oƒ0ö,âsVÆD‚ÃʘHpX +c"ñYæ¹Á{¹•IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1LinearGradient.html0000644000000000000000000000013213012573355025034 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.549938602 cairomm-1.12.2/docs/reference/html/classCairo_1_1LinearGradient.html0000644000175000017500000010222513012573355026534 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::LinearGradient Class Reference
Inheritance diagram for Cairo::LinearGradient:

Public Member Functions

 LinearGradient (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
void get_linear_points (double& x0, double& y0, double& x1, double& y1) const
 
 ~LinearGradient () override
 
- Public Member Functions inherited from Cairo::Gradient
 Gradient (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~Gradient () override
 
void add_color_stop_rgb (double offset, double red, double green, double blue)
 Adds an opaque color stop to a gradient pattern. More...
 
void add_color_stop_rgba (double offset, double red, double green, double blue, double alpha)
 Adds a translucent color stop to a gradient pattern. More...
 
std::vector< ColorStopget_color_stops () const
 Gets the color stops and offsets for this Gradient. More...
 
- Public Member Functions inherited from Cairo::Pattern
 Pattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Pattern (const Pattern&)=delete
 
Patternoperator= (const Pattern&)=delete
 
virtual ~Pattern ()
 
void set_matrix (const Matrix& matrix)
 Sets the pattern's transformation matrix to . More...
 
void get_matrix (Matrix& matrix) const
 Returns the pattern's transformation matrix. More...
 
Matrix get_matrix () const
 Returns the pattern's transformation matrix. More...
 
void set_matrix (const cairo_matrix_t& matrix)
 
void get_matrix (cairo_matrix_t& matrix) const
 
PatternType get_type () const
 Returns the type of the pattern. More...
 
void set_extend (Extend extend)
 Sets the mode to be used for drawing outside the area of a pattern. More...
 
Extend get_extend () const
 Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 

Static Public Member Functions

static RefPtr< LinearGradientcreate (double x0, double y0, double x1, double y1)
 Create a new linear gradient Cairo::Pattern along the line defined by (x0, y0) and (x1, y1). More...
 

Protected Member Functions

 LinearGradient (double x0, double y0, double x1, double y1)
 
- Protected Member Functions inherited from Cairo::Gradient
 Gradient ()
 
- Protected Member Functions inherited from Cairo::Pattern
 Pattern ()
 

Additional Inherited Members

- Public Types inherited from Cairo::Pattern
typedef cairo_pattern_t cobject
 
- Protected Attributes inherited from Cairo::Pattern
cobjectm_cobject
 

Constructor & Destructor Documentation

Cairo::LinearGradient::LinearGradient ( double  x0,
double  y0,
double  x1,
double  y1 
)
protected
Cairo::LinearGradient::LinearGradient ( cairo_pattern_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::LinearGradient::~LinearGradient ( )
override

Member Function Documentation

static RefPtr<LinearGradient> Cairo::LinearGradient::create ( double  x0,
double  y0,
double  x1,
double  y1 
)
static

Create a new linear gradient Cairo::Pattern along the line defined by (x0, y0) and (x1, y1).

Before using the gradient pattern, a number of color stops should be defined using Cairo::Gradient::add_color_stop_rgb() or Cairo::Gradient::add_color_stop_rgba().

Note: The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with Cairo::Pattern::set_matrix().

Parameters
x0x coordinate of the start point
y0y coordinate of the start point
x1x coordinate of the end point
y1y coordinate of the end point
void Cairo::LinearGradient::get_linear_points ( double &  x0,
double &  y0,
double &  x1,
double &  y1 
) const
Parameters
x0return value for the x coordinate of the first point
y0return value for the y coordinate of the first point
x1return value for the x coordinate of the second point
y1return value for the y coordinate of the second point

Gets the gradient endpoints for a linear gradient.

Since
1.4

The documentation for this class was generated from the following file:
  • cairomm/pattern.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/annotated.html0000644000000000000000000000013213012573355021455 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.517938611 cairomm-1.12.2/docs/reference/html/annotated.html0000644000175000017500000004123613012573355023161 0ustar00murraycmurrayc00000000000000 cairomm: Class List
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
[detail level 123]
 NCairo
 CColorStop
 CContextContext is the main class used to draw in cairomm
 CDeviceDevices are the abstraction Cairo employs for the rendering system used by a cairo_surface_t
 CLockA convenience class for acquiring a Device object in an exception-safe manner
 CFontFaceA FontFace represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size
 CFontOptionsThe font options specify how fonts should be rendered
 CFtFontFace
 CFtScaledFont
 CGlitzSurfaceA GlitzSurface provides a way to render to the X Window System using Glitz
 CGradient
 CImageSurfaceImage surfaces provide the ability to render to memory buffers either allocated by cairo or by the calling code
 CLinearGradient
 Clogic_error
 CMatrixA Transformation matrix
 CPathA data structure for holding a path
 CPatternCairo::Pattern is the paint with which cairo draws
 CPdfSurfaceA PdfSurface provides a way to render PDF documents from cairo
 CPsSurfaceA PsSurface provides a way to render PostScript documents from cairo
 CQuartzFontFaceThe Quartz font backend is primarily used to render text on Apple MacOS X systems
 CQuartzSurfaceA QuartzSurface provides a way to render within Apple Mac OS X
 CRadialGradient
 CRefPtrRefPtr<> is a reference-counting shared smartpointer
 CRegionA simple graphical data type representing an area of integer-aligned rectangles
 CScaledFontA ScaledFont is a font scaled to a particular size and device resolution
 CSolidPattern
 CSurfaceA cairo surface represents an image, either as the destination of a drawing operation or as source when drawing onto another surface
 CSurfacePattern
 CSvgSurfaceA SvgSurface provides a way to render Scalable Vector Graphics (SVG) images from cairo
 CToyFontFaceA simple font face used for the cairo 'toy' font API
 CUserFontFaceFont support with font data provided by the user
 CWin32FontFaceFont support for Microsoft Windows
 CWin32PrintingSurfaceA multi-page vector surface type for printing on Microsoft Windows
 CWin32ScaledFontScaled Font implementation for Microsoft Windows fonts
 CWin32SurfaceA Win32Surface provides a way to render within Microsoft Windows
 CXlibSurfaceAn XlibSurface provides a way to render to the X Window System using XLib
 Ccairo_matrix_tSee the cairo_matrix_t reference in the cairo manual for more information
 Chash_load_check_resize_trigger_size_base
 Clu_counter_policy_base
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_q.html0000644000000000000000000000013213012573355022030 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.657938574 cairomm-1.12.2/docs/reference/html/functions_q.html0000644000175000017500000001073513012573355023534 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- q -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1FtFontFace__inherit__graph.png0000644000000000000000000000013213012573354027143 xustar0030 mtime=1479210732.305940009 30 atime=1479210732.309940008 30 ctime=1479210737.537938606 cairomm-1.12.2/docs/reference/html/classCairo_1_1FtFontFace__inherit__graph.png0000644000175000017500000000577013012573354030652 0ustar00murraycmurrayc00000000000000‰PNG  IHDRp'§#_bKGDÿÿÿ ½§“ ­IDATxœíÝklSåðo·ŽæØýFË&²Ä¾d^ˆ‰Œ½Pߨ€Ò`”ŽR $‚ÃK¢™\ß dë&B@‡—nÌüÙ&,ƒ-tuÓbN¥½<ÿƒc×ëéC»uðû$ œžçœçwžóíéÙi·#aŒ1>]ÜtW@f. áFá!Ü(<„›TlÃÁÁAlݺ.—+šõi¤P( ÕjE·}äiooÇ‘#G¸Š"±ï·ß~CuuuXˈ>òÜÒÐÐî"dhhh€R© k:ç!Ü(<„…‡p£ðn1‰D2Ý%¢ž¾¾>¬\¹HLLDQQE/íÏm%‰Ï#’ëžÊþ¦ZTÃséÒ%,]ºK–,AWWÆÆÆðÉ'ŸÄÜõ"ÆØ¤ÇÖ_Ô0‘êëëYÍcŒ­^½š½÷Þ{AÛô÷÷³•+W²ôôt–’’–/_Î,‹0ß³OL«Õ2…BÁ$ cŒ1»ÝÎ4 ËÍÍe999L£Ñ0»Ý>©ﺽ×H¨u`{÷îeL&“±G}”õôôó<¡ú 5‡ƒ½ýöÛ,??Ÿ¥¦¦²ªª*ažËåbï¾û.»÷Þ{YZZ{å•Wصk×n—?û·!ªGž~ø¥¥¥AÛ¼ð (//‡ÉdÂÐÐär9¶nݰýéÓ§qæÌ¸ÝnÀûï¿ÞÞ^ttt ³³çÏŸÇ|‘úŬûÔ©ShmmÅÈÈž~úilذÀ¿o·LäÑ%Ô8|øá‡øñÇ¡×ëa4a2™„y»víBkk+ôz=àp8°}ûöH ApQL&“J¥Ìf³…µÌ•+W˜B¡¦áõªœÔþ¾ûîc½½½ÂtOO[¸p¡èþàu„ðì/Ôº0³Ù,L[­V6{öl¿µ‹éÏ“÷8 G5o‹-b}}}ÂôüÁ ‚lµ/ž#OTÓ““¶éèè`Ë–-ciiiÂ`ÆÇÇ ó½Ããv»'-/“É&Ôf³1™L&ºÆ`ÛjÝÂ!v¾§Pãà]‹§Ù³gû2...àvùso[%%%¨¯¯ÚF¥RaÍš50 p:øûᅢ~rïýÓɼyó`4…iƒÁ¹\~{…GhÝáü$jæÏŸƒÁàwÙüü|üòË/“N§âÛQ Ï;#ššTWWÃd2a||íííxþùç…6V«sçÎERR†††°nݺ°ú(--…F£Éd‚Éd‚F£ñ9ÏòÞ‰bwª˜u“™™‰‹/ŠjjÖ®] µZ £ÑˆÑÑQTTTó6n܈uëÖáâÅ‹¸qãzzz R©D×É-Ї5Æc.\`Ë—/g©©©lÖ¬Y¬¨¨ˆét:aþÉ“'Ùý÷ßÏX~~>«©© xè÷׿Ífcjµšåää°œœ¦V«}ïÞË…Z§Øuû[Öó¹?þ˜¥¦¦Šê/Ô8ܸqƒmÛ¶) –––Æ´Z­0Ïår±šš¶hÑ"–˜˜È|ðAvìØ±€ÛåÏÛ–äæ…të#{‘ÍÉ Ã±é·'? áFá!Ü(<„…‡p£ðnÂ-ì_½ÑétѨƒL³Ÿ~ú)ìeD‡'//R©«V­ »“™H*ÍÀ=÷áŸNaâ³Æ;ŸB¡«½è+Ìw›mÛqàÀÿÐØXŽ%K §»œXDW˜ýq8\8zô,ÿ_?ÚÚúqåŠðÕW]p8è;øCáñãèѳJ'†æúu;Z[û¦¹¢ØDáñ2>îÄ7ßôÀéœ8ÚÄÇÇ¡©éçi®*6Qx¼œ:Õƒñq‡0ítºÑÜÜ«u|«ŠM/MM?#.nò7 ¾ý¶wš*Š]cc6´´ôÁétOz>.hjꜦªb…ÇÃÉ“ç„ßóär1œ>ÝÑQë4T»(<F°ïÆŸ8qnꊙ(<7 áÌ™¸\þ/¸»Ý S\Ul£ðÜtüx—ω²'Æ:;‡`6ÿ3…UÅ6 ÏMMMp¹|Ïw<16qÅ™Lû+wª„)rsS„i—Ëñq'æÌ™5©}Tñ/úT=€ãÇ»±aÃñûïáýmâ»}ªNøQx7 áFá!Ü(<„…‡p£ðnÂÂC¸Qx7 áFá!Ü(<„…‡p£ðnÂÂC¸Qx7 áFá!Ü(<„…‡p£ðnÂÂC¸Qx7 áFá!Ü(<„…‡p£ðnÂÂCø1/mmmL*•2LÜ¡ì®}ÄÇ'3™ì?Ó^G,<är¹wLc¬ÁçošÍf8NìØ±Ã{¹ ]¸p!à­AþAË¥K—F«r‡ sÂÂC¸Qx7 á3á)..žîH˜"vû€_ýŸ}öº»»a³Ù°páB”––â‰'žµ|KKK¤JñË_8oõY\\ìÓ°ö‘¨e*û‹–ˆ„Çd2aË–-P©TØ´iÒÒÒ`0päÈÑá™ áÞy±o ϰbÅ ¬ZµJxî@ee¥0m2™°oß>tuuÁívcñâÅxã7’2q³ÏWcqq1^ýuèt:ŒŒŒ@¯×Ãáp ¶¶---`ŒaÙ²eX¿~=„>¼_Ñþ^áÞn½âoý+f†ª¥¸¸8|ø0FGGQXXˆ7ß| ,»¿Pãær¹pðàA477ãúõë(++öc uuuøúë¯aµZñøãcóæÍÉd!·QŒˆœóœ={%%%AÛìØ±Ï=÷t:êëë‘™™‰}ûölîÜ9ìÝ»z½PWW‡ÁÁA|ú駨­­…ÑhD]]Ým×~kçµ´´ˆ~å‹©¥££»ví±cÇðÈ#@«Õrõjܾøâ œ?ÕÕÕ8|ø0,‹0¯±±ÝÝÝÐjµ8tèœN'>ÿüsQÛ(FDÂ366†ŒŒŒ möï߇z‰‰‰HJJÂk¯½†ööö€íÕjõ¤u~÷ÝwP«ÕÈÊÊBVVÔj5¾ÿþûIËxï çžPµSKEErss!“É T*qéÒ%®þB[ss36oÞŒyóæ!99ååå¼'N`Ë–-ÈËËCrr26n܈¶¶¶uˆ‘·­¹sç⯿þB^^^À6ýýý¨­­…Á`ÀÕ«Wqq³›=iÚ{ýr¹###aÕ©s1µ¤§§ ÿOLLÄøxèû²ûë/Ô¸Y,Èår¿ëÆË/¿<é9I°›¨†)"áY¼x1ôz=^|ñÅ€mvî܉5kÖà±ÇCRR¬V+žy晀í½72##f³€Ë—/#333å‡= ·[K8ý…·ììl\¾| ,ðY6;;}ôrssE÷Žˆ¼m­]»_~ù%t:, úúú&}2o·Û1gÎÈd2 £ªª*¬>JJJ°{÷nX,X,ìÞ½Ûç<Ëû­Hìµ£”” E´–HõjÜžzê)ÔÔÔÀl6ãêիسg0ïÙgŸEUU†††àt:a4±sçNÑu†‘#B¡€V«ÅþýûqðàAØívB¥R mÞzë-ìÙ³•••HOO‡R© ëý·¬¬ µµµX¿~=€‰`¼ôÒK‘(«W¯Æ¦M›píÚ5Qom·[K8ý…7¥R ›ÍF»Ý޲²2aÞŠ+ ‘H°}ûv˜ÍfÌŸ?¯¾úªè:Cñ¹MdCC”J医æ@¢£µµ•••ðs7QºM$áGá!Ü(<„…‡p£ðnÂÂC¸¼Hèùu r÷úóÏ?Îó ÏÃ? •J—ËÕ¢ÈÌ••…'Ÿ|Òï<Ÿ+Ì„ˆDW˜ ? áFá!Ü(<„Ûÿ6ù2ºwÐ’IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Win32Surface__inherit__graph.png0000644000000000000000000000013213012573354027377 xustar0030 mtime=1479210732.693939902 30 atime=1479210732.693939902 30 ctime=1479210737.605938588 cairomm-1.12.2/docs/reference/html/classCairo_1_1Win32Surface__inherit__graph.png0000644000175000017500000000713213012573354031100 0ustar00murraycmurrayc00000000000000‰PNG  IHDR¡pùQ‡kbKGDÿÿÿ ½§“IDATxœíkPSGÇ$@¡ ÈEˆ€ÂK¡jE[éÛŽÚ{¡Ü´˜VÑÁ4àtœj ”Ke¤1 BÅêP¥„¨TGÔ«`•B¢ ÄÆ‰4¢\„’÷Ãéœ7 DŒ‰žìï³çÙeŸÿîÿìÙ““Lb¦T*Ó˜[ä™=Æ>Ðcì=Æ>8}u´eË¡P¨¯Þ ………^^^Oß•ÞÖqqqñ_ý¥¯Þ µµµ­­­zéJoë™™§ÇM333}u÷cì=Æ>Ðcì=Ö•ßÿÝ××WÛ¤ÁxÞ=~~ætëÖ­;wî|ïÚã®®®èèhGGG<xôèÑÙÛëkNGFF¶mÛæëëkccãààÑØØøD=ttt¼ÿþûzc` êqOO•J}ë­·nܸ1::ZVVV[[k˜Ô4mhhèôéÓÃÃÃÝÝ݉‰‰ùùùOÔÃèè(Fòž-J=`³Ù³·ILL,((ÐXÕÝÝíààðòË/GFFŠÅb´[´Àb±Èd²™™™R©”J¥ ÃÕÕÕÅÅ…Á`H¥RU%3ËÖÖÖÃÃÃÚ”k¿­­íÚµk;vì˜=5•JݰaCKK‹D"Ñ]0šQÍ{mjwîÜyéÒ¥¦¦&@€>Ù-))¹páBSSS__ŸL&ËÎÎÖ]€~ÐË™¢Ôí¼Ãáp‰dήFFFÈd2Ú-Z¸sçÚfÉ’%|>)wvvz{{ÏÙgVVÖŠ+Â’%K¾úê+tYíëX5£¶¹RUëããÓÙÙ©ÖÀÏϯ«« )ß¿ßÓÓsv©h:}­cƒzìââÒ××§±ª­­-$$„D"!gž……Ú-Z@Ö@@O‰DB tÔ©P(x<^rrò| –böŒªÍ´©UU…bmm­º¨ÌÍÍuÑ©G z­ e³Ù«âãã“““{{{årùÇ ÅÌ6ªû¢›››@ @ʽ½½îîî:j077_ºtiII —ËE"abb)ß¿_[F]Ô.Z´¨··W­±‡‡G?:ã‡öL1¨Çß}÷]iiiqq±P(œœœlmm‰‰AªÆÇÇííímmmÖ¯_?gW C( …Bƒ¡ºÍ«ƒ–©Tj]]Ýàà L&ëïïÿúë¯ß~ûm¤êõ×_g2™ãããýýýiiiº D›Ú””:.=z”™™‰7mÚ´~ýú[·nMMMuvvÆÇÇë’BŸèåj ÔùÚróæÍÈÈH"‘heeÈápøéÓ§_yåKKKÒÒR rÁT+ H$:îâââââB§ÓU¯@Ó}ucccdd$‰D"‹/NOOBª:;;W¯^M <==÷îÝ«-£ê¡6µSSSÛ·o'“É$‰Åb!A…BQZZêçç‡Çã—/_~âĉ9gIùâîÇÝÑã|>ïÏ2!Oôû@±ôû@±ôû@±>?{{åÊ•ççcÿ£—WÙJ¥’L&{(º`F$†ápŽÆ–178ŽËåêÅ3å ø¥ysùroLLyJÊwìˆ1¶ÃaZûq}ýuä¯Lfè7Œˆ y,“)Nž¼‘^ºtÛØr ‡ yÜÜ|kll€Ã™××ÿal9†Ã„<>vìÎ —+ΜéH¦Œ­È@˜ŠÇSçÎñäò¶áÉIùùó7+É`˜ŠÇ ª÷YfffÇŽ]3¢Cb*;vÍÜüÿÏgŠé¦¦[ÃÃF”d0LÂãáá .÷¶\>­T*ACC§±$“ðøäÉvqÇ$.×&áñѣצ§ÕçMOO_¹ÒwÿþˆQ$ì{<88òÇw4>²µ°0;uêOÃK20Ø÷øøñëÚÉËåÓN›aå}¾·ø|"“).´G'&¦ðxœ…Å?'·•ögÀ´Þw¸¹eVT$‡‡[ˆáÀþµ=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðcì=Æ>Ðc@õˬ¹\.‡ñïN þcaaglÏ–ÌÌLU[ÿå¨H$’Ëå999Æyz8úóÚV-•J5È3àâÅ‹j¸cè1öcèñ3‡Ïç'%%K€<6Ø8•Ú¨¬¬Ü°aCss³±ÌóÕðÝ»w«ªªÚÛÛ%‰··wBBš5kfiÿô#NMM­««³´´D"YYYùùùHyjjŠF£ßÎÎŽB¡¤¥¥ÙÛÛÆÇÇkjj¸\®X,¶²²zíµ×¢¢¢V­Z¥»ò¾¾¾Õ«WÏgÌzb>ëX(fdd,[¶¬ªªêÌ™3 £©©IïÊÔ ‰¯¾újKK r866ÖÒÒ22òÏ7_ºtiÙ²eD"qÎ~ØlvLLÌñãÇ«««ÝÜÜг„ÃáÐh´_ýµªªÊ¢°°‰çææŽŽŽž:uªººúÝwß­®®~"åèyiæãñ¡C‡¢¢¢âââœ---ýýýsss‘*¡P˜““þá‡fgg£ —Ðàà`‡ÉdeeeÑÑÑQQQeee2™ Í¢zÕEÊaaaçÎC"<O©Tòù|ä°¡¡!,,L-ÑÉ“'ããã×®]›žžÞßßÄY,Ö;ï¼óÒK/ÙØØÄÆÆÞ¼ùÏ/‡üðà ÅÚÚšH$nܸ±££‰wttlܸ‘L&ãp8"‘H¥RKJJf*Ô6F$Œ´ÍB¡8xð Fûè£êêê R©üùçŸÂÃÃ‹ŠŠ¤Ré[˜ŸÇׯ_ ÕX•““ÁápØlö‚ öïß?³ÍŸþ¹wï^dé>|øÎ;•••àðáÃ³ä º}ûöðð0€Çãvvvû =œ÷ïÏÇãU«V555}òÉ'3«òòò’““ƒ‚‚lmmÇÇÇÃÃÃg¶QÕêèè(‰<==÷îÝ[°`Áì©}||¦§§üýýþþþõõõx<ÞÛÛûIGaccÇf³ÑHsssyyyAAŸŸŸFÙ^^^›7o¦ÑhHÄÊÊjrrÇ>|¨mŒªh›ggç{÷î-^¼Xµ±³³sQQ‘««ë“Mù\«SRRŽ?ÎápÄb±L&ëêêB—‘T*µ±±!ƒƒƒL&sήBCC÷ìÙ#‹Åbñž={T·ù™÷\k׮ݿ@@ àСCÈÝ–Ž Èåò¿ÿþ»ªª éÀáp***víÚ¥fpFFÆ… =z$—ËE"Ѿ}û–/_ŽTùúú²Ùl©T*‰víÚ¥KvmóVZZ*‰ÆÆÆÊËË‘àÇÌd2µ //O÷aª2ŸuL&“Y,Öª««¥R©O||Ðcì=Æ>Ðcìó?"c–áÝ`ŠIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_w.html0000644000000000000000000000013213012573355023051 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.649938576 cairomm-1.12.2/docs/reference/html/functions_func_w.html0000644000175000017500000001205113012573355024546 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- w -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1SurfacePattern-members.html0000644000000000000000000000013213012573355026522 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.581938594 cairomm-1.12.2/docs/reference/html/classCairo_1_1SurfacePattern-members.html0000644000175000017500000002435013012573355030224 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::SurfacePattern Member List

This is the complete list of members for Cairo::SurfacePattern, including all inherited members.

cobj()Cairo::Patterninline
cobj() const Cairo::Patterninline
cobject typedefCairo::Pattern
create(const RefPtr< Surface >& surface)Cairo::SurfacePatternstatic
get_extend() const Cairo::SurfacePattern
get_filter() const Cairo::SurfacePattern
get_matrix(Matrix& matrix) const Cairo::Pattern
get_matrix() const Cairo::Pattern
get_matrix(cairo_matrix_t& matrix) const Cairo::Pattern
get_surface() const Cairo::SurfacePattern
get_surface()Cairo::SurfacePattern
get_type() const Cairo::Pattern
m_cobjectCairo::Patternprotected
operator=(const Pattern&)=deleteCairo::Pattern
Pattern(cairo_pattern_t* cobject, bool has_reference=false)Cairo::Patternexplicit
Pattern(const Pattern&)=deleteCairo::Pattern
Pattern()Cairo::Patternprotected
reference() const Cairo::Pattern
set_extend(Extend extend)Cairo::SurfacePattern
set_filter(Filter filter)Cairo::SurfacePattern
set_matrix(const Matrix& matrix)Cairo::Pattern
set_matrix(const cairo_matrix_t& matrix)Cairo::Pattern
SurfacePattern(const RefPtr< Surface >& surface)Cairo::SurfacePatternexplicitprotected
SurfacePattern(cairo_pattern_t* cobject, bool has_reference=false)Cairo::SurfacePatternexplicit
unreference() const Cairo::Pattern
~Pattern()Cairo::Patternvirtual
~SurfacePattern() overrideCairo::SurfacePattern
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1logic__error-members.html0000644000000000000000000000013213012573355026241 xustar0030 mtime=1479210733.145939778 30 atime=1479210733.145939778 30 ctime=1479210737.609938587 cairomm-1.12.2/docs/reference/html/classCairo_1_1logic__error-members.html0000644000175000017500000001000013012573355027726 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::logic_error Member List

This is the complete list of members for Cairo::logic_error, including all inherited members.

get_status_code() const Cairo::logic_error
logic_error(ErrorStatus status)Cairo::logic_errorexplicit
std::logic_error::logic_error(const string &__arg)std::logic_error
~logic_error() noexceptoverrideCairo::logic_error
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1QuartzFontFace.html0000644000000000000000000000013213012573355025040 xustar0030 mtime=1479210733.149939778 30 atime=1479210733.145939778 30 ctime=1479210737.565938599 cairomm-1.12.2/docs/reference/html/classCairo_1_1QuartzFontFace.html0000644000175000017500000004461613012573355026551 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::QuartzFontFace Class Reference

The Quartz font backend is primarily used to render text on Apple MacOS X systems. More...

Inheritance diagram for Cairo::QuartzFontFace:

Static Public Member Functions

static RefPtr< QuartzFontFacecreate (CGFontRef font)
 Creates a new font for the Quartz font backend based on a CGFontRef. More...
 
static RefPtr< QuartzFontFacecreate (ATSUFontID font_id)
 Creates a new font for the Quartz font backend based on an ATSUFontID. More...
 

Protected Member Functions

 QuartzFontFace (CGFontRef font)
 
 QuartzFontFace (ATSUFontID font_id)
 

Additional Inherited Members

- Public Types inherited from Cairo::FontFace
typedef cairo_font_face_t cobject
 
- Public Member Functions inherited from Cairo::FontFace
 FontFace (cairo_font_face_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 FontFace (const FontFace&)=delete
 
FontFaceoperator= (const FontFace&)=delete
 
virtual ~FontFace ()
 
FontType get_type () const
 Returns the type of the backend used to create a font face. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 
- Protected Attributes inherited from Cairo::FontFace
cobjectm_cobject
 

Detailed Description

The Quartz font backend is primarily used to render text on Apple MacOS X systems.

The CGFont API is used for the internal implementation of the font backend methods.

Since
1.8

Constructor & Destructor Documentation

Cairo::QuartzFontFace::QuartzFontFace ( CGFontRef  font)
protected
Cairo::QuartzFontFace::QuartzFontFace ( ATSUFontID  font_id)
protected

Member Function Documentation

static RefPtr<QuartzFontFace> Cairo::QuartzFontFace::create ( CGFontRef  font)
static

Creates a new font for the Quartz font backend based on a CGFontRef.

This font can then be used with Context::set_font_face() or ScaledFont::create().

Parameters
fonta CGFontRef obtained through a method external to cairo.
Since
1.8
static RefPtr<QuartzFontFace> Cairo::QuartzFontFace::create ( ATSUFontID  font_id)
static

Creates a new font for the Quartz font backend based on an ATSUFontID.

This font can then be used with Context::set_font_face() or ScaledFont::create().

Parameters
font_idan ATSUFontID for the font.
Since
1.8

The documentation for this class was generated from the following file:
  • cairomm/quartz_font.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Region-members.html0000644000000000000000000000013213012573355025017 xustar0030 mtime=1479210733.149939778 30 atime=1479210733.149939778 30 ctime=1479210737.573938597 cairomm-1.12.2/docs/reference/html/classCairo_1_1Region-members.html0000644000175000017500000002435413012573355026525 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::Region Member List

This is the complete list of members for Cairo::Region, including all inherited members.

cobj()Cairo::Regioninline
cobj() const Cairo::Regioninline
cobject typedefCairo::Region
contains_point(int x, int y) const Cairo::Region
contains_rectangle(const RectangleInt& rectangle) const Cairo::Region
copy() const Cairo::Region
create()Cairo::Regionstatic
create(const RectangleInt& rectangle)Cairo::Regionstatic
create(const std::vector< RectangleInt >& rects)Cairo::Regionstatic
create(const RectangleInt* rects, int count)Cairo::Regionstatic
do_union(const RefPtr< Region >& other)Cairo::Region
do_union(const RectangleInt& rectangle)Cairo::Region
do_xor(const RefPtr< Region >& other)Cairo::Region
do_xor(const RectangleInt& rectangle)Cairo::Region
empty() const Cairo::Region
get_extents() const Cairo::Region
get_num_rectangles() const Cairo::Region
get_rectangle(int nth_rectangle) const Cairo::Region
intersect(const RefPtr< Region >& other)Cairo::Region
intersect(const RectangleInt& rectangle)Cairo::Region
m_cobjectCairo::Regionprotected
reference() const Cairo::Region
Region(cairo_region_t* cobject, bool has_reference=false)Cairo::Regionexplicit
subtract(const RefPtr< Region >& other)Cairo::Region
subtract(const RectangleInt& rectangle)Cairo::Region
translate(int dx, int dy)Cairo::Region
unreference() const Cairo::Region
~Region()Cairo::Regionvirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/namespaceCairo.html0000644000000000000000000000013213012573355022412 xustar0030 mtime=1479210733.149939778 30 atime=1479210733.149939778 30 ctime=1479210737.689938566 cairomm-1.12.2/docs/reference/html/namespaceCairo.html0000644000175000017500000034510213012573355024115 0ustar00murraycmurrayc00000000000000 cairomm: Cairo Namespace Reference
Cairo Namespace Reference

Classes

struct  ColorStop
 
class  Context
 Context is the main class used to draw in cairomm. More...
 
class  Device
 Devices are the abstraction Cairo employs for the rendering system used by a cairo_surface_t. More...
 
class  FontFace
 A FontFace represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size. More...
 
class  FontOptions
 The font options specify how fonts should be rendered. More...
 
class  FtFontFace
 
class  FtScaledFont
 
class  GlitzSurface
 A GlitzSurface provides a way to render to the X Window System using Glitz. More...
 
class  Gradient
 
class  ImageSurface
 Image surfaces provide the ability to render to memory buffers either allocated by cairo or by the calling code. More...
 
class  LinearGradient
 
class  logic_error
 
class  Matrix
 A Transformation matrix. More...
 
class  Path
 A data structure for holding a path. More...
 
class  Pattern
 Cairo::Pattern is the paint with which cairo draws. More...
 
class  PdfSurface
 A PdfSurface provides a way to render PDF documents from cairo. More...
 
class  PsSurface
 A PsSurface provides a way to render PostScript documents from cairo. More...
 
class  QuartzFontFace
 The Quartz font backend is primarily used to render text on Apple MacOS X systems. More...
 
class  QuartzSurface
 A QuartzSurface provides a way to render within Apple Mac OS X. More...
 
class  RadialGradient
 
class  RefPtr
 RefPtr<> is a reference-counting shared smartpointer. More...
 
class  Region
 A simple graphical data type representing an area of integer-aligned rectangles. More...
 
class  ScaledFont
 A ScaledFont is a font scaled to a particular size and device resolution. More...
 
class  SolidPattern
 
class  Surface
 A cairo surface represents an image, either as the destination of a drawing operation or as source when drawing onto another surface. More...
 
class  SurfacePattern
 
class  SvgSurface
 A SvgSurface provides a way to render Scalable Vector Graphics (SVG) images from cairo. More...
 
class  ToyFontFace
 A simple font face used for the cairo 'toy' font API. More...
 
class  UserFontFace
 Font support with font data provided by the user. More...
 
class  Win32FontFace
 Font support for Microsoft Windows. More...
 
class  Win32PrintingSurface
 A multi-page vector surface type for printing on Microsoft Windows. More...
 
class  Win32ScaledFont
 Scaled Font implementation for Microsoft Windows fonts. More...
 
class  Win32Surface
 A Win32Surface provides a way to render within Microsoft Windows. More...
 
class  XlibSurface
 An XlibSurface provides a way to render to the X Window System using XLib. More...
 

Typedefs

typedef cairo_rectangle_t Rectangle
 See the cairo_rectangle_t reference in the cairo manual for more information. More...
 
typedef cairo_rectangle_int_t RectangleInt
 See the cairo_rectangle_int_t reference in the cairo manual for more information. More...
 
typedef cairo_font_extents_t FontExtents
 See the cairo_font_extents_t reference in the cairo manual for more information. More...
 
typedef cairo_text_extents_t TextExtents
 See the cairo_text_extents_t reference in the cairo manual for more information. More...
 
typedef cairo_text_cluster_t TextCluster
 See the cairo_text_cluster_t reference in the cairo manual for more information. More...
 
typedef cairo_glyph_t Glyph
 See the cairo_glyph_t reference in the cairo manual for more information. More...
 

Enumerations

enum  Operator {
  OPERATOR_CLEAR = CAIRO_OPERATOR_CLEAR,
  OPERATOR_SOURCE = CAIRO_OPERATOR_SOURCE,
  OPERATOR_OVER = CAIRO_OPERATOR_OVER,
  OPERATOR_IN = CAIRO_OPERATOR_IN,
  OPERATOR_OUT = CAIRO_OPERATOR_OUT,
  OPERATOR_ATOP = CAIRO_OPERATOR_ATOP,
  OPERATOR_DEST = CAIRO_OPERATOR_DEST,
  OPERATOR_DEST_OVER = CAIRO_OPERATOR_DEST_OVER,
  OPERATOR_DEST_IN = CAIRO_OPERATOR_DEST_IN,
  OPERATOR_DEST_OUT = CAIRO_OPERATOR_DEST_OUT,
  OPERATOR_DEST_ATOP = CAIRO_OPERATOR_DEST_ATOP,
  OPERATOR_XOR = CAIRO_OPERATOR_XOR,
  OPERATOR_ADD = CAIRO_OPERATOR_ADD,
  OPERATOR_SATURATE = CAIRO_OPERATOR_SATURATE
}
 Cairo::Operator is used to set the compositing operator for all cairo drawing operations. More...
 
enum  Antialias {
  ANTIALIAS_DEFAULT = CAIRO_ANTIALIAS_DEFAULT,
  ANTIALIAS_NONE = CAIRO_ANTIALIAS_NONE,
  ANTIALIAS_GRAY = CAIRO_ANTIALIAS_GRAY,
  ANTIALIAS_SUBPIXEL = CAIRO_ANTIALIAS_SUBPIXEL
}
 Specifies the type of antialiasing to do when rendering text or shapes. More...
 
enum  FillRule {
  FILL_RULE_WINDING = CAIRO_FILL_RULE_WINDING,
  FILL_RULE_EVEN_ODD = CAIRO_FILL_RULE_EVEN_ODD
}
 Cairo::FillRule is used to select how paths are filled. More...
 
enum  LineCap {
  LINE_CAP_BUTT = CAIRO_LINE_CAP_BUTT,
  LINE_CAP_ROUND = CAIRO_LINE_CAP_ROUND,
  LINE_CAP_SQUARE = CAIRO_LINE_CAP_SQUARE
}
 Specifies how to render the endpoints of the path when stroking. More...
 
enum  LineJoin {
  LINE_JOIN_MITER = CAIRO_LINE_JOIN_MITER,
  LINE_JOIN_ROUND = CAIRO_LINE_JOIN_ROUND,
  LINE_JOIN_BEVEL = CAIRO_LINE_JOIN_BEVEL
}
 Specifies how to render the junction of two lines when stroking. More...
 
enum  FontSlant {
  FONT_SLANT_NORMAL = CAIRO_FONT_SLANT_NORMAL,
  FONT_SLANT_ITALIC = CAIRO_FONT_SLANT_ITALIC,
  FONT_SLANT_OBLIQUE = CAIRO_FONT_SLANT_OBLIQUE
}
 Specifies variants of a font face based on their slant. More...
 
enum  FontWeight {
  FONT_WEIGHT_NORMAL = CAIRO_FONT_WEIGHT_NORMAL,
  FONT_WEIGHT_BOLD = CAIRO_FONT_WEIGHT_BOLD
}
 Specifies variants of a font face based on their weight. More...
 
enum  Content {
  CONTENT_COLOR = CAIRO_CONTENT_COLOR,
  CONTENT_ALPHA = CAIRO_CONTENT_ALPHA,
  CONTENT_COLOR_ALPHA = CAIRO_CONTENT_COLOR_ALPHA
}
 Cairo::Content is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs. More...
 
enum  DeviceType {
  DEVICE_TYPE_DRM = CAIRO_DEVICE_TYPE_DRM,
  DEVICE_TYPE_GL = CAIRO_DEVICE_TYPE_GL,
  DEVICE_TYPE_SCRIPT = CAIRO_DEVICE_TYPE_SCRIPT,
  DEVICE_TYPE_XCB = CAIRO_DEVICE_TYPE_XCB,
  DEVICE_TYPE_XLIB = CAIRO_DEVICE_TYPE_XLIB,
  DEVICE_TYPE_XML = CAIRO_DEVICE_TYPE_XML
}
 
enum  Format {
  FORMAT_ARGB32 = CAIRO_FORMAT_ARGB32,
  FORMAT_RGB24 = CAIRO_FORMAT_RGB24,
  FORMAT_A8 = CAIRO_FORMAT_A8,
  FORMAT_A1 = CAIRO_FORMAT_A1,
  FORMAT_RGB16_565 = CAIRO_FORMAT_RGB16_565
}
 Cairo::Format is used to identify the memory format of image data. More...
 
enum  Extend {
  EXTEND_NONE = CAIRO_EXTEND_NONE,
  EXTEND_REPEAT = CAIRO_EXTEND_REPEAT,
  EXTEND_REFLECT = CAIRO_EXTEND_REFLECT,
  EXTEND_PAD = CAIRO_EXTEND_PAD
}
 Cairo::Extend is used to describe how pattern color/alpha will be determined for areas "outside" the pattern's natural area, (for example, outside the surface bounds or outside the gradient geometry). More...
 
enum  Filter {
  FILTER_FAST = CAIRO_FILTER_FAST,
  FILTER_GOOD = CAIRO_FILTER_GOOD,
  FILTER_BEST = CAIRO_FILTER_BEST,
  FILTER_NEAREST = CAIRO_FILTER_NEAREST,
  FILTER_BILINEAR = CAIRO_FILTER_BILINEAR,
  FILTER_GAUSSIAN = CAIRO_FILTER_GAUSSIAN
}
 Cairo::Filter is used to indicate what filtering should be applied when reading pixel values from patterns. More...
 
enum  SubpixelOrder {
  SUBPIXEL_ORDER_DEFAULT = CAIRO_SUBPIXEL_ORDER_DEFAULT,
  SUBPIXEL_ORDER_RGB = CAIRO_SUBPIXEL_ORDER_RGB,
  SUBPIXEL_ORDER_BGR = CAIRO_SUBPIXEL_ORDER_BGR,
  SUBPIXEL_ORDER_VRGB = CAIRO_SUBPIXEL_ORDER_VRGB,
  SUBPIXEL_ORDER_VBGR = CAIRO_SUBPIXEL_ORDER_VBGR
}
 The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of Cairo::ANTIALIAS_SUBPIXEL. More...
 
enum  HintStyle {
  HINT_STYLE_DEFAULT = CAIRO_HINT_STYLE_DEFAULT,
  HINT_STYLE_NONE = CAIRO_HINT_STYLE_NONE,
  HINT_STYLE_SLIGHT = CAIRO_HINT_STYLE_SLIGHT,
  HINT_STYLE_MEDIUM = CAIRO_HINT_STYLE_MEDIUM,
  HINT_STYLE_FULL = CAIRO_HINT_STYLE_FULL
}
 Specifies the type of hinting to do on font outlines. More...
 
enum  HintMetrics {
  HINT_METRICS_DEFAULT = CAIRO_HINT_METRICS_DEFAULT,
  HINT_METRICS_OFF = CAIRO_HINT_METRICS_OFF,
  HINT_METRICS_ON = CAIRO_HINT_METRICS_ON
}
 Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values in device space. More...
 
enum  SurfaceType {
  SURFACE_TYPE_IMAGE = CAIRO_SURFACE_TYPE_IMAGE,
  SURFACE_TYPE_PDF = CAIRO_SURFACE_TYPE_PDF,
  SURFACE_TYPE_PS = CAIRO_SURFACE_TYPE_PS,
  SURFACE_TYPE_XLIB = CAIRO_SURFACE_TYPE_XLIB,
  SURFACE_TYPE_XCB = CAIRO_SURFACE_TYPE_XCB,
  SURFACE_TYPE_GLITZ = CAIRO_SURFACE_TYPE_GLITZ,
  SURFACE_TYPE_QUARTZ = CAIRO_SURFACE_TYPE_QUARTZ,
  SURFACE_TYPE_WIN32 = CAIRO_SURFACE_TYPE_WIN32,
  SURFACE_TYPE_BEOS = CAIRO_SURFACE_TYPE_BEOS,
  SURFACE_TYPE_DIRECTFB = CAIRO_SURFACE_TYPE_DIRECTFB,
  SURFACE_TYPE_SVG = CAIRO_SURFACE_TYPE_SVG,
  SURFACE_TYPE_OS2 = CAIRO_SURFACE_TYPE_OS2,
  SURFACE_TYPE_WIN32_PRINTING = CAIRO_SURFACE_TYPE_WIN32_PRINTING,
  SURFACE_TYPE_QUARTZ_IMAGE = CAIRO_SURFACE_TYPE_QUARTZ_IMAGE,
  SURFACE_TYPE_SCRIPT = CAIRO_SURFACE_TYPE_SCRIPT,
  SURFACE_TYPE_QT = CAIRO_SURFACE_TYPE_QT,
  SURFACE_TYPE_RECORDING = CAIRO_SURFACE_TYPE_RECORDING,
  SURFACE_TYPE_VG = CAIRO_SURFACE_TYPE_VG,
  SURFACE_TYPE_GL = CAIRO_SURFACE_TYPE_GL,
  SURFACE_TYPE_DRM = CAIRO_SURFACE_TYPE_DRM,
  SURFACE_TYPE_TEE = CAIRO_SURFACE_TYPE_TEE,
  SURFACE_TYPE_XML = CAIRO_SURFACE_TYPE_XML,
  SURFACE_TYPE_SKIA = CAIRO_SURFACE_TYPE_SKIA,
  SURFACE_TYPE_SUBSURFACE = CAIRO_SURFACE_TYPE_SUBSURFACE
}
 Cairo::SurfaceType is used to describe the type of a given surface. More...
 
enum  PatternType {
  PATTERN_TYPE_SOLID = CAIRO_PATTERN_TYPE_SOLID,
  PATTERN_TYPE_SURFACE = CAIRO_PATTERN_TYPE_SURFACE,
  PATTERN_TYPE_LINEAR = CAIRO_PATTERN_TYPE_LINEAR,
  PATTERN_TYPE_RADIAL = CAIRO_PATTERN_TYPE_RADIAL
}
 Cairo::PatternType is used to describe the type of a given pattern. More...
 
enum  FontType {
  FONT_TYPE_TOY = CAIRO_FONT_TYPE_TOY,
  FONT_TYPE_FT = CAIRO_FONT_TYPE_FT,
  FONT_TYPE_WIN32 = CAIRO_FONT_TYPE_WIN32,
  FONT_TYPE_ATSUI = CAIRO_FONT_TYPE_QUARTZ,
  FONT_TYPE_QUARTZ = CAIRO_FONT_TYPE_QUARTZ,
  FONT_TYPE_USER = CAIRO_FONT_TYPE_USER
}
 Cairo::FontType is used to describe the type of a given font face or scaled font. More...
 
enum  TextClusterFlags { TEXT_CLUSTER_FLAG_BACKWARD = CAIRO_TEXT_CLUSTER_FLAG_BACKWARD }
 Specifies properties of a text cluster mapping. More...
 
enum  RegionOverlap {
  REGION_OVERLAP_IN = CAIRO_REGION_OVERLAP_IN,
  REGION_OVERLAP_OUT = CAIRO_REGION_OVERLAP_OUT,
  REGION_OVERLAP_PART = CAIRO_REGION_OVERLAP_PART
}
 
enum  FtSynthesize {
  FT_SYNTHESIZE_BOLT = CAIRO_FT_SYNTHESIZE_BOLD,
  FT_SYNTHESIZE_OBLIQUE = CAIRO_FT_SYNTHESIZE_OBLIQUE
}
 A set of synthesis options to control how FreeType renders the glyphs for a particular font face. More...
 
enum  PdfVersion {
  PDF_VERSION_1_4 = CAIRO_PDF_VERSION_1_4,
  PDF_VERSION_1_5 = CAIRO_PDF_VERSION_1_5
}
 
enum  PsLevel {
  PS_LEVEL_2 = CAIRO_PS_LEVEL_2,
  PS_LEVEL_3 = CAIRO_PS_LEVEL_3
}
 describes the language level of the PostScript Language Reference that a generated PostScript file will conform to. More...
 
enum  SvgVersion {
  SVG_VERSION_1_1 = CAIRO_SVG_VERSION_1_1,
  SVG_VERSION_1_2 = CAIRO_SVG_VERSION_1_2
}
 

Functions

FtSynthesize operator| (FtSynthesize a, FtSynthesize b)
 
FtSynthesize operator& (FtSynthesize a, FtSynthesize b)
 

Typedef Documentation

typedef cairo_font_extents_t Cairo::FontExtents

See the cairo_font_extents_t reference in the cairo manual for more information.

typedef cairo_glyph_t Cairo::Glyph

See the cairo_glyph_t reference in the cairo manual for more information.

typedef cairo_rectangle_t Cairo::Rectangle

See the cairo_rectangle_t reference in the cairo manual for more information.

typedef cairo_rectangle_int_t Cairo::RectangleInt

See the cairo_rectangle_int_t reference in the cairo manual for more information.

typedef cairo_text_cluster_t Cairo::TextCluster

See the cairo_text_cluster_t reference in the cairo manual for more information.

typedef cairo_text_extents_t Cairo::TextExtents

See the cairo_text_extents_t reference in the cairo manual for more information.

Enumeration Type Documentation

Specifies the type of antialiasing to do when rendering text or shapes.

The interpretation of Cairo::ANTIALIAS_DEFAULT is left entirely up to the backend.

Enumerator
ANTIALIAS_DEFAULT 

Use the default antialiasing for the subsystem and target device.

ANTIALIAS_NONE 

Use bilevel alpha mask.

ANTIALIAS_GRAY 

Perform single-color antialiasing (using shades of gray for black text on white background, for example).

ANTIALIAS_SUBPIXEL 

Perform antialiasing by taing advantage of the order of subpixel elements on devices such as LCD panels.

Cairo::Content is used to describe the content that a surface will contain, whether color information, alpha information (translucence vs.

opacity), or both.

Enumerator
CONTENT_COLOR 

The surface will hold color content only.

CONTENT_ALPHA 

The surface will hold alpha content only.

CONTENT_COLOR_ALPHA 

The surface will hold color and alpha content.

Since
1.10
Enumerator
DEVICE_TYPE_DRM 
DEVICE_TYPE_GL 
DEVICE_TYPE_SCRIPT 
DEVICE_TYPE_XCB 
DEVICE_TYPE_XLIB 
DEVICE_TYPE_XML 

Cairo::Extend is used to describe how pattern color/alpha will be determined for areas "outside" the pattern's natural area, (for example, outside the surface bounds or outside the gradient geometry).

Mesh patterns are not affected by the extend mode.

The default extend mode is Cairo::EXTEND_NONE for surface patterns and Cairo::EXTEND_PAD for gradient patterns.

New entries may be added in future versions.

Enumerator
EXTEND_NONE 

Pixels outside of the source pattern are fully transparent.

EXTEND_REPEAT 

The pattern is tiled by repeating.

EXTEND_REFLECT 

The pattern is tiled by reflecting at the edges (Implemented for surface patterns since 1.6)

EXTEND_PAD 

Pixels outside of the pattern copy the closest pixel from the source (Since 1.2; but only implemented for surface patterns since 1.6)

Cairo::FillRule is used to select how paths are filled.

For both fill rules, whether or not a point is included in the fill is determined by taking a ray from that point to infinity and looking at intersections with the path. The ray can be in any direction, as long as it doesn't pass through the end point of a segment or have a tricky intersection such as intersecting tangent to the path. (Note that filling is not actually implemented in this way. This is just a description of the rule that is applied.)

The default fill rule is Cairo::FILL_RULE_WINDING.

New entries may be added in future versions.

Enumerator
FILL_RULE_WINDING 

If the path crosses the ray from left-to-right, counts +1.

If the path crosses the ray from right to left, counts -1. (Left and right are determined from the perspective of looking along the ray from the starting point.) If the total count is non-zero, the point will be filled.

FILL_RULE_EVEN_ODD 

Counts the total number of intersections, without regard to the orientation of the contour.

If the total number of intersections is odd, the point will be filled.

Cairo::Filter is used to indicate what filtering should be applied when reading pixel values from patterns.

See Cairo::SurfacePattern::set_filter() for indicating the desired filter to be used with a particular pattern.

Enumerator
FILTER_FAST 

A high-performance filter, with quality similar to Cairo::FILTER_NEAREST.

FILTER_GOOD 

A reasonable-performance filter, with quality similar to Cairo::FILTER_BILINEAR.

FILTER_BEST 

The highest-quality available, performance may not be suitable for interactive use.

FILTER_NEAREST 

Nearest-neighbor filtering.

FILTER_BILINEAR 

Linear interpolation in two dimensions.

FILTER_GAUSSIAN 

This filter value is currently unimplemented, and should not be used in current code.

Specifies variants of a font face based on their slant.

Enumerator
FONT_SLANT_NORMAL 

Upright font style.

FONT_SLANT_ITALIC 

Italic font style.

FONT_SLANT_OBLIQUE 

Oblique font style.

Cairo::FontType is used to describe the type of a given font face or scaled font.

The font types are also known as "font backends" within cairo.

New entries may be added in future versions.

Since
1.2
Enumerator
FONT_TYPE_TOY 

The font was created using cairo's toy font api.

FONT_TYPE_FT 

The font is of type FreeType.

FONT_TYPE_WIN32 

The font is of type Win32.

FONT_TYPE_ATSUI 
Deprecated:
Use FONT_TYPE_QUARTZ instead.
FONT_TYPE_QUARTZ 

The font is of type Quartz.

Since
1.6
FONT_TYPE_USER 

The font was created using cairo's user font api.

Since
1.8

Specifies variants of a font face based on their weight.

Enumerator
FONT_WEIGHT_NORMAL 

Normal font weight.

FONT_WEIGHT_BOLD 

Bold font weight.

Cairo::Format is used to identify the memory format of image data.

New entries may be added in future versions.

Enumerator
FORMAT_ARGB32 

Each pixel is a 32-bit quantity, with alpha in the upper 8 bits, then red, then green, then blue.

The 32-bit quantities are stored native-endian. Pre-multiplied alpha is used. (That is, 50% transparent red is 0x80800000,

FORMAT_RGB24 

Each pixel is a 32-bit quantity, with the upper 8 bits unused.

Red, Green, and Blue are stored in the remaining 24 bits in that order.

FORMAT_A8 

Each pixel is a 8-bit quantity holding an alpha value.

FORMAT_A1 

Each pikel is a 1-bit quentity holding an alpha value.

Pixels are packed together into 32-bit quantities. The ordering of the bits matches the endianess of the platform. On a big-endian machine, the first pixel is in the uppermost bit, on a little endian machine the first pixel is in the least-significant bit.

FORMAT_RGB16_565 

Each fixel is a 16-bit quantity with red in the upper 5 bits, then green in the middle 6 bits, and blue in the lower 5 bits.

A set of synthesis options to control how FreeType renders the glyphs for a particular font face.

FreeType provides the ability to synthesize different glyphs from a base font, which is useful if you lack those glyphs from a true bold or oblique font.

Individual synthesis features of a FtFontFace can be set using FtFontFace::set_synthesize(), or disabled using FtFontFace::unset_synthesize(). The currently enabled set of synthesis options can be queried with FtFontFace::get_synthesize().

Note: that when synthesizing glyphs, the font metrics returned will only be estimates.

Since
1.12
Enumerator
FT_SYNTHESIZE_BOLT 

Embolden the glyphs (redraw with a pixel offset)

FT_SYNTHESIZE_OBLIQUE 

Slant the glyph outline by 12 degrees to the right.

Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values in device space.

Doing this improves the consistency of letter and line spacing, however it also means that text will be laid out differently at different zoom factors.

Enumerator
HINT_METRICS_DEFAULT 

Hint metrics in the default manner for the font backend and target device.

HINT_METRICS_OFF 

Do not hint font metrics.

HINT_METRICS_ON 

Hint font metrics.

Specifies the type of hinting to do on font outlines.

Hinting is the process of fitting outlines to the pixel grid in order to improve the appearance of the result. Since hinting outlines involves distorting them, it also reduces the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font backends.

New entries may be added in future versions.

Enumerator
HINT_STYLE_DEFAULT 

Use the default hint style for font backend and target device.

HINT_STYLE_NONE 

Do not hint outlines.

HINT_STYLE_SLIGHT 

Hint outlines slightly to improve contrast while retaining food fidelity to the original shapes.

HINT_STYLE_MEDIUM 

Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast.

HINT_STYLE_FULL 

Hint outlines to maximize contrast.

Specifies how to render the endpoints of the path when stroking.

The default line cap style is Cairo::LINE_CAP_BUTT.

Enumerator
LINE_CAP_BUTT 

Start(stop) the line exactly at the start(end) point.

LINE_CAP_ROUND 

Use a round ending, the center of teh circle is teh end point.

LINE_CAP_SQUARE 

Use squared ending, the center of teh square is the end point.

Specifies how to render the junction of two lines when stroking.

The default line join style is Cairo::LINE_JOIN_MITER.

Enumerator
LINE_JOIN_MITER 

Use a sharp (angled) corner, see Context::set_miter_limit()

LINE_JOIN_ROUND 

Use a rounded join, the center of teh circle is the joint point.

LINE_JOIN_BEVEL 

Use cut-off join, the join is cut off at half the line width from the join point.

Cairo::Operator is used to set the compositing operator for all cairo drawing operations.

The default operator is Cairo::OPERATOR_OVER.

The operators marked as unbounded modify their destination even outside of the mask layer (that is, their effect is not bound by the mask layer). However, their effect can still be limited by way of clipping.

To keep things simple, the operator descriptions here document the behavior for when both source and destination are either fully transparent or fully opaque. The actual implementation works for translucent layers too. For a more detailed explanation of the effects of each operator, including the mathematical definitions, see this

Enumerator
OPERATOR_CLEAR 

Clear destination layer (bounded)

OPERATOR_SOURCE 

Replace destination layer (bounded)

OPERATOR_OVER 

Draw source layer on top of destination layer (bounded)

OPERATOR_IN 

Draw source where there was destination content (unbounded)

OPERATOR_OUT 

Draw source where there was no destination content (unbounded)

OPERATOR_ATOP 

Draw source on top of destination content and only there.

OPERATOR_DEST 

Ignore the source.

OPERATOR_DEST_OVER 

Draw destination on top of source.

OPERATOR_DEST_IN 

Leave destination only where there was source content (unbounded)

OPERATOR_DEST_OUT 

Leave destination only where there was no source content.

OPERATOR_DEST_ATOP 

Leave destination on top of source content and only there (unbounded)

OPERATOR_XOR 

Source and destination are shown where there is only one of them.

OPERATOR_ADD 

Source and destination layers are accumulated.

OPERATOR_SATURATE 

Like over, but assuming source and dest are disjoint geometries.

Cairo::PatternType is used to describe the type of a given pattern.

The pattern type can be queried with Pattern::get_type().

New entries may be added in future versions.

Since
1.2
Enumerator
PATTERN_TYPE_SOLID 

The pattern is a solid (uniform) color.

It may be opaque or translucent.

PATTERN_TYPE_SURFACE 

The pattern is a based on a surface (an image)

PATTERN_TYPE_LINEAR 

The pattern is a linear gradient.

PATTERN_TYPE_RADIAL 

The pattern is a radial gradient.

Enumerator
PDF_VERSION_1_4 
PDF_VERSION_1_5 

describes the language level of the PostScript Language Reference that a generated PostScript file will conform to.

Enumerator
PS_LEVEL_2 
PS_LEVEL_3 
Enumerator
REGION_OVERLAP_IN 

Completely inside region.

REGION_OVERLAP_OUT 

Completely outside region.

REGION_OVERLAP_PART 

Partly inside region.

The subpixel order specifies the order of color elements within each pixel on the display device when rendering with an antialiasing mode of Cairo::ANTIALIAS_SUBPIXEL.

Enumerator
SUBPIXEL_ORDER_DEFAULT 

Use the default subpixel order for for the target device.

SUBPIXEL_ORDER_RGB 

Subpixel elements are arranged horizontally with red at the left.

SUBPIXEL_ORDER_BGR 

Subpixel elements are arranged horizontally with blue at the left.

SUBPIXEL_ORDER_VRGB 

Subpixel elements are arranged vertically with red at the top.

SUBPIXEL_ORDER_VBGR 

Subpixel elements are arranged vertically with blue at the top.

Cairo::SurfaceType is used to describe the type of a given surface.

The surface types are also known as "backends" or "surface backends" within cairo.

The surface type can be queried with Surface::get_type()

The various Cairo::Surface functions can be used with surfaces of any type, but some backends also provide type-specific functions that must only be called with a surface of the appropriate type.

New entries may be added in future versions.

Since
1.2
Enumerator
SURFACE_TYPE_IMAGE 

The surface is of type image.

SURFACE_TYPE_PDF 

The surface is of type pdf.

SURFACE_TYPE_PS 

The surface is of type ps.

SURFACE_TYPE_XLIB 

The surface is of type xlim.

SURFACE_TYPE_XCB 

The surface is of type xcb.

SURFACE_TYPE_GLITZ 

The surface is of type glitz.

SURFACE_TYPE_QUARTZ 

The surface is of type quartz.

SURFACE_TYPE_WIN32 

The surface is of type win32.

SURFACE_TYPE_BEOS 

The surface is of type beos.

SURFACE_TYPE_DIRECTFB 

The surface is of type directfb.

SURFACE_TYPE_SVG 

The surface is of type svg.

SURFACE_TYPE_OS2 

The surface is of type os2.

SURFACE_TYPE_WIN32_PRINTING 

The surface is a win32 printing surface.

SURFACE_TYPE_QUARTZ_IMAGE 

The surface is of type quartz_image.

SURFACE_TYPE_SCRIPT 

The surface is of type script.

Since
1.10
SURFACE_TYPE_QT 

The surface is of type Qt.

Since
1.10
SURFACE_TYPE_RECORDING 

The surface is of type recording.

Since
1.10
SURFACE_TYPE_VG 

The surface is a OpenVg surface.

Since
1.10
SURFACE_TYPE_GL 

The surface is of type OpenGl.

Since
1.10
SURFACE_TYPE_DRM 

The surface is of type Direct Render Manager.

Since
1.10
SURFACE_TYPE_TEE 

The surface is of type script 'tee' (a multiplexing surface)

Since
1.10
SURFACE_TYPE_XML 

The surface is of type XML (for debugging)

Since
1.10
SURFACE_TYPE_SKIA 

The surface is of type Skia.

Since
1.10
SURFACE_TYPE_SUBSURFACE 

The surface is of type The surface is a subsurface created with Surface::create()

Since
1.10
Enumerator
SVG_VERSION_1_1 
SVG_VERSION_1_2 

Specifies properties of a text cluster mapping.

Since
1.8
Enumerator
TEXT_CLUSTER_FLAG_BACKWARD 

The clusters in the cluster array map to glyphs in the glyph array from end to start.

Function Documentation

FtSynthesize Cairo::operator& ( FtSynthesize  a,
FtSynthesize  b 
)
inline
FtSynthesize Cairo::operator| ( FtSynthesize  a,
FtSynthesize  b 
)
inline
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1ScaledFont.html0000644000000000000000000000013213012573355024166 xustar0030 mtime=1479210733.153939776 30 atime=1479210733.149939778 30 ctime=1479210737.577938595 cairomm-1.12.2/docs/reference/html/classCairo_1_1ScaledFont.html0000644000175000017500000016307313012573355025676 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::ScaledFont Class Reference

A ScaledFont is a font scaled to a particular size and device resolution. More...

Inheritance diagram for Cairo::ScaledFont:

Public Types

typedef cairo_scaled_font_t cobject
 The underlying C cairo object type. More...
 

Public Member Functions

cobjectcobj ()
 Provides acces to the underlying C cairo object. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo object. More...
 
 ScaledFont (cobject*cobj, bool has_reference=false)
 Create a C++ wrapper object from the C instance. More...
 
 ScaledFont (const ScaledFont&)=delete
 
ScaledFontoperator= (const ScaledFont&)=delete
 
virtual ~ScaledFont ()
 
void get_extents (FontExtents&extents) const
 Gets the metrics for a ScaledFont. More...
 
void extents (FontExtents& extents) const
 
void get_text_extents (const std::string& utf8, TextExtents&extents) const
 Gets the extents for a string of text. More...
 
void text_extents (const std::string& utf8, TextExtents&extents) const
 
void get_glyph_extents (const std::vector< Glyph >& glyphs, TextExtents&extents)
 Gets the extents for an array of glyphs. More...
 
void glyph_extents (const std::vector< Glyph >& glyphs, TextExtents&extents)
 
RefPtr< FontFaceget_font_face () const
 The FontFace with which this ScaledFont was created. More...
 
void get_font_options (FontOptions& options) const
 Gets the FontOptions with which the ScaledFont was created. More...
 
void get_font_matrix (Matrix& font_matrix) const
 Gets the font matrix with which the ScaledFont was created. More...
 
void get_font_matrix (cairo_matrix_t& font_matrix) const
 
void get_ctm (Matrix& ctm) const
 Gets the CTM with which the ScaledFont was created. More...
 
void get_ctm (cairo_matrix_t& ctm) const
 
FontType get_type () const
 Gets the type of scaled Font. More...
 
void text_to_glyphs (double x, double y, const std::string& utf8, std::vector< Glyph >& glyphs, std::vector< TextCluster >& clusters, TextClusterFlags& cluster_flags)
 
void get_scale_matrix (Matrix& scale_matrix) const
 Stores the scale matrix of this scaled font into matrix. More...
 

Static Public Member Functions

static RefPtr< ScaledFontcreate (const RefPtr< FontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())
 Creates a ScaledFont object from a font face and matrices that describe the size of the font and the environment in which it will be used. More...
 
static RefPtr< ScaledFontcreate (const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())
 

Protected Member Functions

 ScaledFont (const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())
 

Protected Attributes

cobjectm_cobject
 The underlying C cairo object that is wrapped by this ScaledFont. More...
 

Detailed Description

A ScaledFont is a font scaled to a particular size and device resolution.

It is most useful for low-level font usage where a library or application wants to cache a reference to a scaled font to speed up the computation of metrics.

Member Typedef Documentation

typedef cairo_scaled_font_t Cairo::ScaledFont::cobject

The underlying C cairo object type.

Constructor & Destructor Documentation

Cairo::ScaledFont::ScaledFont ( cobject cobj,
bool  has_reference = false 
)
explicit

Create a C++ wrapper object from the C instance.

This C++ object should then be given to a RefPtr.

Cairo::ScaledFont::ScaledFont ( const ScaledFont )
delete
virtual Cairo::ScaledFont::~ScaledFont ( )
virtual
Cairo::ScaledFont::ScaledFont ( const RefPtr< FontFace >&  font_face,
const cairo_matrix_t font_matrix,
const cairo_matrix_t ctm,
const FontOptions options = FontOptions() 
)
protected

Member Function Documentation

cobject* Cairo::ScaledFont::cobj ( )
inline

Provides acces to the underlying C cairo object.

const cobject* Cairo::ScaledFont::cobj ( ) const
inline

Provides acces to the underlying C cairo object.

static RefPtr<ScaledFont> Cairo::ScaledFont::create ( const RefPtr< FontFace >&  font_face,
const Matrix font_matrix,
const Matrix ctm,
const FontOptions options = FontOptions() 
)
static

Creates a ScaledFont object from a font face and matrices that describe the size of the font and the environment in which it will be used.

Parameters
font_faceA font face.
font_matrixfont space to user space transformation matrix for the font. In the simplest case of a N point font, this matrix is just a scale by N, but it can also be used to shear the font or stretch it unequally along the two axes. See Context::set_font_matrix().
ctmuser to device transformation matrix with which the font will be used.
optionsoptions to use when getting metrics for the font and rendering with it.
static RefPtr<ScaledFont> Cairo::ScaledFont::create ( const RefPtr< FontFace >&  font_face,
const cairo_matrix_t font_matrix,
const cairo_matrix_t ctm,
const FontOptions options = FontOptions() 
)
static
void Cairo::ScaledFont::extents ( FontExtents extents) const
Deprecated:
Use get_extents() instead
Since
1.2
void Cairo::ScaledFont::get_ctm ( Matrix ctm) const

Gets the CTM with which the ScaledFont was created.

Since
1.2
void Cairo::ScaledFont::get_ctm ( cairo_matrix_t ctm) const
void Cairo::ScaledFont::get_extents ( FontExtents extents) const

Gets the metrics for a ScaledFont.

Since
1.8
RefPtr<FontFace> Cairo::ScaledFont::get_font_face ( ) const

The FontFace with which this ScaledFont was created.

Since
1.2
void Cairo::ScaledFont::get_font_matrix ( Matrix font_matrix) const

Gets the font matrix with which the ScaledFont was created.

Since
1.2
void Cairo::ScaledFont::get_font_matrix ( cairo_matrix_t font_matrix) const
void Cairo::ScaledFont::get_font_options ( FontOptions options) const

Gets the FontOptions with which the ScaledFont was created.

Since
1.2
void Cairo::ScaledFont::get_glyph_extents ( const std::vector< Glyph >&  glyphs,
TextExtents extents 
)

Gets the extents for an array of glyphs.

The extents describe a user-space rectangle that encloses the "inked" portion of the glyphs, (as they would be drawn by Context::show_glyphs() if the cairo graphics state were set to the same font_face, font_matrix, ctm, and font_options as the ScaledFont object). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by Context::show_glyphs().

Note that whitespace glyphs do not contribute to the size of the rectangle (extents.width and extents.height).

Parameters
glyphsA vector of glyphs to calculate the extents of.
extentsReturns the extents for the array of glyphs.
Since
1.8
void Cairo::ScaledFont::get_scale_matrix ( Matrix scale_matrix) const

Stores the scale matrix of this scaled font into matrix.

The scale matrix is product of the font matrix and the ctm associated with the scaled font, and hence is the matrix mapping from font space to device space.

Parameters
scale_matrixreturn value for the matrix.
Since
1.8
void Cairo::ScaledFont::get_text_extents ( const std::string utf8,
TextExtents extents 
) const

Gets the extents for a string of text.

The extents describe a user-space rectangle that encloses the "inked" portion of the text drawn at the origin (0,0) (as it would be drawn by Context::show_text() if the cairo graphics state were set to the same font_face, font_matrix, ctm, and font_options as the ScaledFont object). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by Context::show_text().

Note that whitespace characters do not directly contribute to the size of the rectangle (extents.width and extents.height). They do contribute indirectly by changing the position of non-whitespace characters. In particular, trailing whitespace characters are likely to not affect the size of the rectangle, though they will affect the x_advance and y_advance values.

Parameters
utf8a string of text, encoded in UTF-8.
extentsReturns the extents of the given string.
Since
1.8
FontType Cairo::ScaledFont::get_type ( ) const

Gets the type of scaled Font.

Since
1.2
void Cairo::ScaledFont::glyph_extents ( const std::vector< Glyph >&  glyphs,
TextExtents extents 
)
Deprecated:
Use get_glyph_extents() instead
Since
1.2
ScaledFont& Cairo::ScaledFont::operator= ( const ScaledFont )
delete
void Cairo::ScaledFont::text_extents ( const std::string utf8,
TextExtents extents 
) const
Deprecated:
Use get_text_extents() instead
Since
1.2
void Cairo::ScaledFont::text_to_glyphs ( double  x,
double  y,
const std::string utf8,
std::vector< Glyph >&  glyphs,
std::vector< TextCluster >&  clusters,
TextClusterFlags cluster_flags 
)
Parameters
xX position to place first glyph.
yY position to place first glyph.
utf8a string of text encoded in UTF-8.
glyphspointer to array of glyphs to fill.
clusterspointer to array of cluster mapping information to fill. cluster mapping flags

Converts UTF-8 text to an array of glyphs, with cluster mapping, that can be used to render later.

For details of how (clusters and cluster_flags map input UTF-8 text to the output glyphs see Context::show_text_glyphs().

The output values can be readily passed to Context::show_text_glyphs() Context::show_glyphs(), or related functions, assuming that the exact same scaled font is used for the operation.

Since
1.8

Member Data Documentation

cobject* Cairo::ScaledFont::m_cobject
protected

The underlying C cairo object that is wrapped by this ScaledFont.


The documentation for this class was generated from the following file:
  • cairomm/scaledfont.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1QuartzFontFace__inherit__graph.png0000644000000000000000000000013113012573354030057 xustar0030 mtime=1479210732.477939962 29 atime=1479210732.48193996 30 ctime=1479210737.565938599 cairomm-1.12.2/docs/reference/html/classCairo_1_1QuartzFontFace__inherit__graph.png0000644000175000017500000000620413012573354031560 0ustar00murraycmurrayc00000000000000‰PNG  IHDR­pãmgåbKGDÿÿÿ ½§“ 9IDATxœí{L“WÇ…J+D¡Ü/¼ðn,™É;·¹wɨ$›ûGç)8”e#ê´Öâ¢ÙEns7,!Ú97bÐÆÔYã@Dáåâ¬Õn%•”!÷z{ÿ8óÙc/O¡ëxäíïó‡9=çôw¾¿ç|Ÿóœ>O¥»ÝˆßÀ¶ä‰}€ úàú6\AAN§ómLÄ™ÀÀÀÏ?ÿ|Μ9¾ èãõ ¸¸ø÷ß÷mLÄ™ªªªÆÆFôñz2™lõêÕ>‹Ðáp8¾ ˆû}€Ðú!Lø|[„8ÀŽºººV®\Áãñ.\XSSÃÜßWÃ8ãuŸÇd|pçÎôôô—^z©¥¥epp°¬¬¬ªªjÊF·Óx’cN5vŸÕÕÕÌ}rrr>ýôS—M·oß^¹rexxxhhèòåË –*Èår¡PÈápìv»Éd’J¥±±±111R©Ôd2Ñ•8—]æë.8p 99™Ïç¿øâ‹mmmöǧÙ]LwY˜Íæ;w&%%………‘J«ÕúÉ'ŸÌ™3G ¼õÖ[ÃÃÃÌGÔãqž,¬/^ÌÎÎvÙ”™™¹iÓ&N§ÕjÞÿ}ç>—/_þå—_l6|öÙgíííMMMׯ_ommÝ»w¯z‚œ;wîÒ¥K½½½¯¿þú† àÑŠšŒIeñå—_^¹rE¥Ri4êî{IIÉ¥K—T*ÕÝ»wÍfó®]»¼HÁøÐSö‰ù”ËåF¡„B!–*Ü¿Ÿê3oÞ¼öövRnkk›?¾Gyι» z½ž”GFFfÎœé †!¦Ë,RRRÈ¢B'55µ««‹”ÅÌ™3é6 `NtÚ_222ª««]6‰ÅâuëÖ©Õj‹ÅÒ××gµZûÐ÷äñññ†”ÕjuBB‚z&Äã‡wY$&&ªÕj‡ÎIII÷îÝ£æÃeÊS >øøãKKK‹‹‹u:ÝØØXccãªU«HÓÈÈÈìÙ³CBB´Zm~~¾ÇPÙÙÙR©T§Óét:©TJßvÐg‹y悸$22²³³“¡ƒ»,òòò$‰F£yøð¡L&#•7nÌÏÏïììokk‹ÅÌ£ÿSøpm±Ox½êèèX¾|yXXXPPÐÂ… •J%©ÿé§Ÿž~úé3f$%%•––‚ÓRì Øh4J$’˜˜˜˜˜‰DB_uaŸÜ7ëÿ¾}ûÂÂÂbºËb||üƒ> …@.—“J«ÕZZZšššÊãñ,XpêÔ)ÇîÑ Ó~€ü}|~œ§Ç}eäŸ}€ ú@ ô€>@¾ÿÞúµkצï×1üÞ‹°ÛíB¡í„& ',l —Á¶ŒÉÁår|8qûôý /¸zU½jUy^Þöî]Ŷ6ñ÷ýÁÉ“7È¿f3;úžüÚf³õôé0]¹ò+ÛrØÄ¯}P_ß944\nÀÉ“ÍlËa¿öAmm3—‹õìÙV£qœmE¬á¿>?þ¿ËŸÛ‚±1Ë… ìJbÿõA]]}oÈápjk¯³¨‡]ü×µµ×þºßeµÚTªÎþþQ%±ˆŸú ¿´¡áW‹ÅF¯´Û¡®®-Iìâ§>8}ú¦Ëz¥ÒO/ ~ꃚšë6›ãT›ÍvíÚÝX‘Ä.þ胞žææû.o¨rΜ¹5õ’XÇ}pâÄ wU,›RÙ4µrž|ÿÜùÉÇl¶ÆÅͦ^ŽŽŽóxÜÀÀ?O‰  <&þþ¼âãe®[ºôßl a¼. ΠôB@ è„€>@Ð}€ ú@ ô€>@è}€Ðú! ôB@ è„€>@Ð}€ ú@ ô€>@è}€Ðúùú1444p¹~÷WaøüÎb[ÅT#“ÉèSÿجëõz‹Å²{÷n¶Ä!SƒR©ÔétôgzzúÉAXâòåË5¸?@Ð}€ Âù@$MÍ@ˆwxy·à·ß~ûöÛooÞ¼i4çÏŸŸýÊ+¯0ô¯¯¯÷n gîÝ»§P(Z[[ívû‚ 6lØ0oÞ<ŸD‰Du:Ú»¼òIÌ¿‰7>Ðét[·n‹Å›7ojµºªªŠÙ¾¢»»»   ''gûöípñâÅ‚‚‚²²²©üÙbžX™{:Þø ¢¢bÅŠ«W¯&/Ÿyæ™ÂÂBRÖét‡jii±ÙliiiÛ¶m Ú ‰Þ}÷]¥RÙÛÛ«R©Ìf³B¡¨¯¯·Ûí‹/^¿~ýŒ3H(úIC•+**–-[–™™Iê333‡‡‡+**>úè#puž‘— ª(1äïL“S“’JÏšaªÜe!‰d2Ù±cÇ>|˜’’òÞ{ïÍ;—„¥äŒ;ÁV«õÈ‘#uuu£££¹¹¹d ìv{eeåÙ³gGFF^~ùå-[¶ðùü‰Íä_x³?¸qãFFF†Ë¦Ý»w¿ñÆJ¥²ºº:22òСCÎ}nݺuàÀ•J•••÷ïß?xð B¡Ðh4•••ÌC777¿úê«ôš×^{­¥¥…ù] ª(1dJêë멹©ĶmÛ-ZÄŸ!‹¦¦¦’’’S§N½ð r¹Í=} ‰ þá‡Z[[‹‹‹;f0HeMMÍÍ›7årùÑ£G-Ëwß}Ç|4\â#"\ÿ0öáÇŸ{î9òÎ;ï466:÷‘H$ÔÛ/\¸ ‘H¢¢¢¢¢¢$ÉÏ?ÿLu£&ª<00I188È,˜A]ŒKš››OŸ>MÖ‚ˆ†Ç,d2Yll,ŸÏÏÊʺs玻Qbº\WW·eË–øøøY³fmÚ´‰Tž9sfëÖ­qqq³fÍÚ¸qcCCóÑp‰7×…Ù³gÿñÇqqqÎM·oßV(jµzhh\ø,::š*Óã$$$ôöö2ÚÛÛOÆü.Ut1ÎhµÚ’’’¯¿þ:88˜ªt>²'766æn ‡˜î †„„‡÷öôô¬]»–zÉáp`òxヴ´4•JµfÍç¦={ö¬[·nÑ¢E!!!###K—.uîC¡×ë“““ »»Ûá\w9ôùóçóòò¨šsçÎ¥¥¥‘rPPÐØØÇ€¾¾¾‰¨¢‹q8‚ýýý;wîܱcGll,³ªÉfáqªÜ ŽŽŽîîîž;w.½sttôW_}åQ$3Þ\òòòNœ8¡T* ƒÙlîêê¢QšL¦àà`>ŸßÓÓSTTä1TFFÆþýû ƒÁ`Ø¿?}ÛAߦQå¼¼¼üQ©Töõõõõõ)•Ê“'O¾ù曤õ©§žª®®6™Lz½~ß¾}ÔÛ'¨*44T«ÕR/?üðÃ5kÖ<ûì³'‹‰ äŒ;ÁK–,)--ÕëõCCCååå¤rÙ²eEEEZ­Öb±h4š={öxìŒ7ëP(”Ëå‡>räˆÉdJII‹Å¤iûöíååå………áááYYY¯U¹¹¹ …býúõ ‰¨eú›o¾ùþûïFcpppiiibb"i-(((**:zô¨@ ÈÉɹzõê¤TåäälÞ¼yxx˜¬Ò_|ñieØÖM6 ‡œq'8++Ëh4J¥R“É”››K*W¬XÁápvíÚ¥×ëß~ûmæÑ]òØïò?~<++‹õϲÄb±äçç¯]»oVN–¨¨¨ãÇS5Óøù—ËݱcGYYY?ÛZ¦=Óû[h©©©µµµl«ø`¯ˆA è„€>@ÐÁÅçê!2òÿJ{{»ÃÿNxÌÏ?ÿ¼X,¶Z­S* ™rÒÓÓ©ïpðw¾Ü ô€>@èà@ž+è È5IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/inherit_graph_4.png0000644000000000000000000000013213012573354022365 xustar0030 mtime=1479210732.793939875 30 atime=1479210732.793939875 30 ctime=1479210737.681938568 cairomm-1.12.2/docs/reference/html/inherit_graph_4.png0000644000175000017500000003102713012573354024066 0ustar00murraycmurrayc00000000000000‰PNG  IHDRUð?È`bKGDÿÿÿ ½§“ IDATxœíÝi\WÛ0ðÉ$R1€„P°.uC‹"H«­"V‹zK«b\êƒ(®ØÚJð¦Z­}m«ÞesÁÞ®E¨ ‚¢ «!‚DA@6 d™÷Ãø¤1+K \ÿ†™3ç\3™+sf2 EQ —ðÚ 5ÿè/Èôä?ú‹¨í@ÿ³iÓ&‡£í(‚ @øöÛommm»7;ìÿA—ÅÅÅUWWk; € ’pÿþýnÏûÐK—.ÕvÁáp=™öÿè/Èôä?ú òýùtEOen€ü½¥´´ÔÏÏÏÜÜÜÈÈÈÙÙ9%%EuyMÝŠ†{Ÿd¤Ú2ÝhHãuö1ÈÐ+ž>}êéééîŸßÚÚzäÈ‘„„„>k•Ò“2½Ñ®Nü½b÷îÝ cóæÍt:ÝÈÈÈÅÅE²ÿ///_²d‰¹¹9…BY¼xqCC6^z_gmmÇãioo1b„……Exxx{{»¤éݬŠ].6IínYYC8îøñã¶¶¶d2ÙÍÍíÉ“'¬SÙ’ …ÂèèhSSÓØØXl¤X,Þ¿ÿÈ‘#ÍÌÌV¯^ÍårU„ª)ÿ W¤§§)œäïïÊápªªª¬¬¬"##åËܺu+''G,#STT”›››——WPPpàÀ®ƒíÕî–U4týúõÌÌ̆††¹sç®]»¶“u*[Òƒfgggdd°ÙlɕԇÎÌÌÌÈȨ¨¨ÑÑÑ]]Ìî@è"AU—!‰<OmU---4MR­d ²²RRfÔ¨QEEEØpaa¡Úðä·pDeç\uC‚ÔÔÔ`Ã\.—L&w¾N…Kjoo_XX(SÀÉÉ©´´®­­µ±±Q½˜’FÕ~ªfïöœ@ouf›£R© 'åææzyy™ššbyB $ÕJÄb±¤<‰D’|•ðx<‰¤6<µ#–QÖ²yÕÖ©lI¥’ “ÉÒ_x<^ù"¾×hOòúÿ Wx{{'&&*œÌb±„Bacc£H$’/#}PmiiÉf³±a‹eeeÕx:sB¾« ©­SÙ’Z[[³X,™Ât:ýÙ³g’ÌT¸Z4òôŠÝ»wÇÇÇÇÅÅq8œöööû÷ï/Y²›ÄårMLLŒ«ªªBBBÔVÆáp8NXX˜ôi…NžÿCdèС%%%Ýn¨{u*[Ò•+W2 6›ÝÔÔ\·n]HHHIIIGGGaaa`` êÖ5£Û= ·Îõ9‹‹‹}}})Š¡¡¡³³srr26þòåËŽŽŽt:=>>‘ëNËl–<Á`P©T*•Ê`0¤{ÎÒ%•ÍŽ‰¥P(ªË(kQÒÏW[§²%íèèØ¾};F355e2™ØH‘Hïääddd4~üøÔÔTùåuò³P‡ö“*îÀáp‰‰‰pÿ¯.èágýôä?ú òýù€þ‚ü@Aþ ¿ ÿÐ_ðüoÐ÷îÝëä#.Pio‘H„Þ t\ÿºÌÚÚº3ïÿ!ÍÉäÑdò‡íí•--}˜"‰Ý›òhXIIMjêÃÔÔüªª×#G[´h’¯ï{ûáÚŽ (ý /^4¥¤ä]¼ø°¬¬ÖÒ’²`ÁÄE‹&O˜`­í¸€*°ÿ=Âç ®^-LL¼ÿ÷ßåÊ  &.\8ÙÙy$ß?€©ç ÿA7T''ç?ÿ µ•çîn¿|¹Ûœ9ã à<_ùº¦©‰›p?1ñ~yy­ƒƒE@À4?¿©Ã‡Öv\ ; ÿAg=~\ýë¯_¼øÐȈ¸hÑ䀗I“èÚ ôä?PC ]»VxæÌÝììr;»áÁÁÓƒ‚\Œ´ÐÈ Ô‹M¿ývû?rZ[ysçNX¹rº««¶ƒšù(-­ùé§ŒÔÔ|SÓAþþÓV­úØÒ’¢í €æAþƒ÷äå=ûñÇô›7‹¨¡¡Þ N‚Súä?xçþ}öÑ£iiEãÇÓÖ¬™±xñnààú?}‡¢èÕ«…Læõ’’OOÇsç6¸¹ÁA¾¾€ý¿^KK+úᇫÅÅ/?ÿü£gÛWk€þ öÿzêþ}öwß]¹w¯ÂÃÃáêÕMãÇÓ´ÐȽóàAeLÌïÝ«ðòsõê¦>‚[tôä¿a³ë¿ýöò•+..£.]Ú8uêHmG´ ò_/46rûëĉL[Û¡Ç9þDmGtœÿàø|Á±cýôS†‰ yëÖ9þþÎð«€ýÿ@vùòã½{/55q7nœ2“D2ÐvD@·@þL,VÝ®]23ËæÍû(:z••©¶#ºò iii;tèúo¿ý=fŒåÅ‹ gg8É”‚ãÿC,FÏËÛ·ï’H„FD|²jÕÇp¨Tƒýÿqï^ÅŽçŸ>}õå—Ó·nkbBÒvD €üï÷^¾lÞ»÷Ò¥KùžžNÇÓ¶A  ß‰Ä§Oß=z››ÛþK—ò»]OVV‘{½!ýÑçÞ_ToÝšTVVË`x3³ »ÿQÖÔÔ…¤¤$ †t“É”yqäÿÃãu0™7ŽÿkÊÛ76;8Xh¤ZÔtVrr²ÌÈÿ~&=½822¥µ•¿k×ÂÕ«=à5 ' ÿûºº7û÷_JIÉóñ{ð ¿…ÅmGú=Èÿ~EÑ””¼Ý»S&=ûõ¬YNÚŽ ÿº®¬¬ö›o’òó«¾úÊsóæOÉdCmGÈÝ%Šþù¯~¸æà@ýóÏðþø .0Õip}¨Ž*/¯]¸ð߇]Û¶í3ÝyJOii©ŸŸŸ¹¹¹‘‘‘³³sJJŠêòLþ'Ož|öÙgƒþàƒæÌ™SPP ©šq8õçPqïÓHC©³‡ ÿuŽXŒž9swîÜ8AnÜØ²nÝ,¹ŒÿéÓ§žžžîîîùùù­­­GŽIHH蛦Y,–——×ìÙ³Ÿ>}Êb±>ýôSooïòòò¾i#}ÙŒ.×Ùý€ÖUV6øúþH§oÞ¿ÿÏŽaß4š˜˜Ø™-aÙ²eû÷ïW8©¬¬ÌÏÏÏÌÌlÈ!¾¾¾õõõØxIµ‚0™L†ðùü°°0 *•Æçó%UIG"þâ‹/víÚ%Ýbttô²eËäg‘þWET’`äsAa‚(\?Ê–AcÇŽÙØØH$WW×ÂÂB™j•Õ©,`@°sçN:N¡P:„‰Dûöí³µµ555]µjÕÛ·oå#”áïïïïïÿÞºR;èb±øôé;vvßxy}ÿä §/›îdþS©ÔŠŠ …“&L˜‘‘ÑÖÖÖÜܼaÆ5kÖ`㥷õ… ¾xñûwçγgÏ®®®®®®ž5kVtt´¤*…ùO¥RY,–t‹,ËÂÂB~éUD%Œ²e?qâļyóT”Q¶‚,Z´èÙ³go߾ݳgÏôéÓUÇ)¡,àýû÷{zz²X¬ÆÆÆððpldll¬··7›Ínll\¾|ù¦M›.…4ÈUUÕàçwÄÚzS_îö%:™ÿD"‘Çã©-ÖÒÒB£Ñ°aéü¯¬¬””5jTQQ6\XXhgg§ºN Ót[[›L+ ÿU•t0 ˧¥¥Mš4©µµURF~®l)©©©Á†¹\.™LV§Šž¸tÀöööX'Bš““Sii)6\[[kcc#¿2 ÿu¶Û··ßæåu°  Z+1ô|ÿŸ››ëååejúî)C/ÿb±XRžD"Iò™Çã‘H$µMËïÿ­¬¬dZ‘ùWETÒÁÈ/{QQÑèÑ£Ÿ={¦¢ŒŠ¥PÚï)eK7$A&“¥¿>ðx¼|„2äó_'N,é­ššæ€€ãQQç¾þÚóÚµÍ:þoooì›B^```pp0‹Å …"‘H¾ŒôÁ¶¥¥%›ÍƆ±LVÛôéÓ§¥Çüþûï^^^Ø0‰DjkkÆkkk;•t02gêêê/^|êÔ)[[[ÕQuu)ÔžäW°µµ5‹Å’)L§Ó¥¿¡®sõÔ~g€^réRþ˜1Û=<<~ü\»‘trÿ_^^naaÁd2«««ù|~NNŽŸŸ6ÉÂÂâÂ… |>¿¢¢ÂÏÏ‘ÛãÉÔ%9röòòÚ±c‡d¢èø¿¬¬lèСL&³¦¦¦¦¦†Édš™™Iz¿Ó§Oß³gÏÛ·oÙlö‚ $s© 3lذââbÉ¿®®®¿þú«Ì²+\?Ê–Q²Ÿ—iH¾NeÇÄÄxzzVTTHÿ>|xöìÙÅÅÅíííòÊ€þ¿Nxó†¿ukâˆá Æ.·]Ûát6ÿQ-..öõõ¥P(†††ÎÎÎÉÉÉØøË—/;::ÐéôøøxµùÏãñ •J¥R© Cºs«0ÿQ}üøñܹs?øàAüèÑ#ɤÂÂBWWW‰dccsìØ1É\j£ÂÄÆÆR(é©ò;H…ëGÙR(Ëù†d*TpGGÇöíÛi4š©©)“ÉÄFŠD¢øøx'''##£ñãǧ¦¦ÊG(C>ÿáò¬¾–Ÿÿ<4ôô›7üØØ€O>§ípA’’’°½‡¶é”ŽŽŽÉ“'ïܹ3 @Û±ô3K—.EDúApüßw„BñÑ£é‹ÅÛØ˜ß¼¹EG’¿ß144R]ÝÈ`œ}üøùÎ þõ/m]ï908;;×ÔÔh;Šò¿/$'çFE£ÑÌ®\‰3ÆRÛáðäïjiiÛ²%éêÕ‚µkgmÛö™AÛðÈÿ^ôàAÕúõ¿ ¢ÄÄõÓ§Ûk;dÁù¿^¢èÉ“Y‹ÿhk;ôÚµÍü@7Áþ_ó¹ááÿÉÌ, ó‰ˆøÑ t俆ݽ[zš@ÀŸ;·¡½{ûq¸7ttššŒÌÍùD¢¸—šq÷î]777é1ÿƒ¢è/¿dïÛwÉËkL\\…2HÛuÖ´iÓ»y¹"®¥Å°¹™ÔÜLjk#âñ¨‘Ñk ¥]ƒM€®rss“yË\ÿ§ oŒ3wïVìØ1_oÞ‹Ñ'O8ÙÙåYYå99쎡¹‡‡ƒ‡‡Ã¬Yc>øÀHÛYÿpëVƒqfð`òÏ?§æ&°§®îMNNEvvyZZÑ«W­ææ¸»Û{x8xy±´¤h;:  äˆÅh\Üõ¸¸ N:xp©þìâÚÚ:<¨ÌÊ*ÏÎ./(¨&‘ œGΘáàáá0~¼ìsµ€Î‚üᆭ&î† gnßfíØ1͚ڧ׉D⢢X÷þÞ½ @„uï}|ÆÎ˜áhdç’úÈÿn*(¨þê«ß„BÑÏ?¯œ2ÅFÛáô¢ªª×ÙÙåØ_ssÛ°aƒ]]í<<fÏþÞAÖßAþwÇ™3w£¢Î͘áðãËûÑyþΓéޓɆS§ÚB÷~àüï.·}Ë–ÄK—­_ïùù@º¶G¦{/‰Ç£yx8̘áàâ2Êк÷äTTÔ…„üZW×zô芙3µŽfHº÷·n•µ¶ò†ìâb‡ÕS©&ÚŽô.ÈÿκxñáÖ­IcÆXž8Üß{¹Üö;wXiiEYYåÏŸ¿4ÈpÊ”wÝû tâEc o@þ«'Šcbþ¸—ýë¯Ò°°³ o¨jŸŽuïÓÒŠ²²ÊÚÛßÝNê5s¦“‰ ©—"úC¯ó?!!{å¶ôH¡PÔØÈ]¹ò—óç7hv¿ÚÖÖ±gOê™3wq8‘ˆÏÌ,S˜ÿõõoîÝ«ÈÎ.¿y³¸¶¶ÅÌÌxúôÑûö-öôt¢ÑL5úÛÿoj⺹żyÃW¸|` Ë?hì‘xT…†þþâE³H$F‡Ã¹»Û''¯Ç¦òxyy•2Ý{Ÿ}|ÆŽGHw¢¿ù¿eKbrr®@ ø¡wE‘üüÝÆõô@@ ÅǧÅÅÝÀápXòc çÎ…æä°åŸ–åéé4x0tïA¯ÓÓüø°jþüË/;‘ˆ ÅC‡~äêïïlo?¼‡ ••Õ®[÷[yù+±Xñz†§e-ÒÇ㱌LÆãq’Óþx<EQ"ÿÉ'ã–.už5kLÏó‹Ñÿ÷ÿ²÷ ¨Âä70 ,^<…É „Ûé¶ècþÿöÛßOž¼ÄvþD"^$B?úˆäºhÑdM=Àïùó× ÆÙ*•íöDùùÏ!ù½×ÿçóùW®\ÑìsàuÍ›7‚½{vtˆ:”äæF:u(…¢ÉçvæäÔ%'³õïºÀápïÕý‹‹ÉÎή­­Õv@ðÙgŸ‘H]8sô^þŸ?ÞÏϯÓ!FF#)¯œÇ+^õF¦¦ó mðxƒ÷G‹QÁá°µGw»ý£GWøúNî04ËÀÀ@(j;  Æ¹sç/^Üùòïõÿ±X?ÏjœXŒ67·55q››ÛššÚš›Û$ÿ>~\z÷nþĉÓZZxýem …ÂÄÄÄÞ{Gè9×Õïh}<þïx<ÎÌÌØÌÌX~RRRÒåË;ÒÓSú>*¤éîm€Þù€þ‚ü@õQþïÜ@!Ø0´«›ù_ZZêççgnnnddäì윒¢æT–¦ÎrãÞ×íJ4^g/))©a³ëµEheÃÀ)ÒíÙ»ƒÆëìÝÉÿ§OŸzzzº»»ççç·¶¶9r$!!Aã‘)ƒJÑå:{âùó×ññ7=<¾õöþ>*ꜶÃé,mmÒŸ]÷>G}ب“Ž211QfŒBË–-Û¿¿ÂIeee~~~fffC† ñõõ­¯¯—ù`a2™4 ‡Ã¡(ÊçóÃÂÂ,,,¨TjXXŸÏWöYÊ”PV ‚ ÇŽ³±±!‘H®®®………2Ÿ„²:•-…@ عs'N§P(‡ÂFŠD¢}ûöÙÚÚššš®ZµêíÛ·jW ²õ\W×úË/Ysæ0--#èôÍ––á#F„ûùU[a@$11Qu-n2ÿ*œÝÃÃã?þ®ªª1bDssóÀبÐÎ}F2º³ÿOOO R8Éßß?44”ÃáTUUYYYEFFÊ—¹uëVNNŽX,F$&&¦¨¨(777//¯  àÀ݈GE%ׯ_ÏÌÌlhh˜;wîÚµk‘ÿëpJÖW—–âàÁƒÙÙÙl6›Ãá`#>œ™™™‘‘QQQ!¢££»k+?99wÅŠÿVÙRX[[³X,™Ât:ýÙ³g’/Ô}÷¤jº³a(›}Á‚FFF‘‘‘wïÞýꫯºQƒ2ýu£’î t²ÿ_^^naaÁd2«««ù|~NNŽŸŸ6ÉÂÂâÂ… |>¿¢¢»•PÒ3‘ÀDEEÍž=»ºººººÚËËkÇŽ’Iˆ¢Ó< ÃSV "×%Æ V\\¬°!ÕKãééYQQÑØØŽ<|øðìÙ³‹‹‹ÛÛÛ T­;Enÿ_‹†Ì¿*fÇ~’8yò¤²JT× ³Ú­þwòEÑââb___ …bhhèì윜œŒ¿|ù²£££NWû1óx<ƒA¥R©T*ƒÁ>zì|þ+«DÙGK¡PTÔ©l):::¶oßN£ÑLMM™L&6R$ÅÇÇ;99?>55Uͺ“[Ï--¼¤¤ûË—Ÿ Ñ6YYEXYEôÓüGµ·aÈü«böäääÑ£G e•¨®Ag7*´[ùÿÞýÿIIIØ7fº@ eë¹¾þÍŸ>JNÎ+(¨&ñB¡Ew÷Ñ))ëµ§470îÿ]°`APP²ß)úµn|Fpÿ¯6lðêÕ«W{<þúâÅüääÜŠŠ:¸GC3ÄbñÉ“'Ÿ={ íXtä¿.¢ÓÍ7nœ½qãì’’™W’ƒn#¶¶¶ÉÉɽw:½ßmK§õÞ;õØÊƒ/Bôä?ú òýù€þ‚ó½Eåó¿Ÿš™ùy{ßÒÂÛ¾}ÞâÅS´,ÐSïå?‘HDú#™täýFFÖ%%5HÿYÛD"1 ~9×qX w¼ÿ ÞÿÕ)ðþ/Ý×Ó÷é‰S§²w츀J½ÿsâDë¾ÿ'‚ ™™Û4Ò"Ý ù/£sçÆ׈Dïvѽýþo¡PA_Þÿ ´NóA‡«æÏÿ·ü²‰x¡PÙA àQÉÏß=lØà6$ˆâãÓâânàp8IA¹s¡99쬬òœvG‡ÐÆÆÜÃÃÁÃÃÁÓÓiðà.ÅÐ=ú›ÿMM\7·˜7oø ×€ tùáÝîúàAUhèï/^4c_8ÎÝÝ>9ùݽ<^G^^eVVyvvya!‡@À}ø¡•χ>>cÇ£áñp€z…þæ?‚ ÿùϽ­[“ä×€aÂëóç7(xL]·µµuìÙ“zæÌ]‡Ç#‘‘óÖ­›%_¬¾þͽ{ÙÙå7o×Ö¶˜™OŸ>ëÐhêÂ@çéuþ‹ÅèçŸ.*âHŸŸ# ææÆ7on57åþú«4,ìlCÃÛôô­cÆXª.\Uõ:;»<-­(+«¬½ýŸ„™3LLàô”^ç?‚ %%5Ÿ|òƒHôn%àp8?|¸ÉéÓ!½wïmssÛ­[e Nêü,|¾ 7÷™Ì‚‡‡ÃŒ®®vší§ý¡ïù HTÔùÓ§ï`áÆáp?þ¸,!á~nî³ï¿_êïï¬íèxýúí;¬ììòŒŒ’—/›ÜÝí}|ÆÎœéhmm¦íè@ù´¶òÝÝ÷55µáp¸mÛ>c0f …⃯=š¾|¹[LŒŸ.ï]±„ììòÌÌÒ7oøRŽ&&dmGtä?‚ Èùó6l8³p᤟~Z!¹çÂ…‡[¶$NœhýóÏ+uÿ]¡P\\ü"-­(-­øÉ‡;€ÿ‚ (Š^¾\àã3Væa{EE/þõ¯SB¡èäÉU'Ò•Í®k¹·o?Å:N“±±ÑäÉ63f8xx8L˜`­íè€üW£©‰»nÝ霜Šï¾ó˜¦ípºLr€pëVikë?Ê mG´ ò_=¡Püí·ÿ=~åW¯Zá‰fýä¿f44¼ ;û÷ßO¿ùfîúõ^ú¹‹Ñ'O8Ø‚ÌÍfÍ£©g+ ‚ü×Eù%{ß¾K³f9|8¨__][YYÙ“7AˆD¸–ÃæfRs3©­ˆÇ£~øšBi×`@- ÿ5ìáêõëO …¢Ÿ~Z1mÚ(m‡ÓMIIIª7Îëè 45™›ó‰DõïDšr÷î]77·¤¤$eàœ­†MžlsõjDxøK– ó‰ˆø´ÿ^#¤zÓ:néRõO¯…÷ÿjž©©ñ¯¿þ+:za|üÍÀÀc¯^µj;"ƒüï8nÍš©©Ÿ?oœ3'6;»\Û ä/š8‘~ãÆ—QÇ÷ìIíèj;"Þùß»LLHÇ?þåä|úilqñKmGÀ? ÿûÂüùoÞÜJ¡ úüó¸£GÓU¿x`ÓÏ+#tä¡ÑLSRB·l™óý÷W—-ûùÕ«mG¤¥¥¥~~~æææFFFÎÎÎ)))ªËkê÷f…ß#ùrÁ½¯Û•h¼ÎÞùßw|h¨÷Å‹««gÏ>týúmGÔSOŸ>õôôtwwÏÏÏomm=räHBB‚¶ƒÒTŠ.×Ùsÿ}mÒ$úÍ›[-š¼jÕ/7žårûñ%q»wïf0›7o¦ÓéFFF...’ýyyù’%KÌÍÍ)ÊâÅ‹°ñ’½‡‹‹‹³¶¶Æãñ‚´··‡‡‡1ÂÂÂ"<<¼½ýŸÕ"½ÃìäÎ3==}òäÉd2ÙÖÖöäÉ“ØH±X¼ÿþ‘#Gš™™­^½šËå*ŒD!eááp¸ãÇÛÚÚ’Éd77·'OžH‚T½«W¶~„Batt´©©ill¬êÈ{ò_ ÈdÃ}û|ÿ÷WÞ¼Y>ÞÉÉÉÈÈhüøñ©©© #Q¸àÊÂS6oll,…BQ¶°*ÖOGGÇöíÛi4š©©)“ÉT¹jéÿÃýÿ:EѳgïíÞ}ÑÆfh|ü²±cÕt5{vÿ?lývÿ¯ê›¸¡ÿ¯s°3ׯo4ÈàóÏ9’.Âc3@¯€ü×QvvÃSSÃöï_wcΜØüüçÚŽ @ÿº ×01!/XðïÝ»/öë‹‚ü×uööÃÏ e2SRò>þøÛ+W ´8 ÿûçïïü×_Û<?Ghä?ãînóæÖ™ûö]Z´èDz²ZmGú1xþwÿC"lÞ733ÖvD €ü8Äbôܹ¼ýûÿD›6}ºjÕǜߪ@þ4­­¼L?q"ÓÑÑbß¾Å..ýõ¤ @þLlvý®]ÒÓK||ÆÆÄøÑh¦ÚŽè"ÈÿìÚµÂ={RëëßlØà2ÓØØHÛÝù?Àµ· þ9óèÑtÉ ,ÌgÅ w‚¶ƒºò_/45qúé¯_~É27ÿ ,Ì'(ÈN ò_¯ÔÔ4ÇÅÝHHÈ9rØ–-sæÍûH§ÞEúä¿Þ©¨¨û÷¿ÓΟðÑGÖ‘‘ó>þx´¶#Zù¯§JJj¾ñçŸ<<¶oŸ÷ÑGê.ä¿^»}›õí·ÿÍÏþùç6nô7N ÏZù¯ïP½~ýIlìõ¢¢³f9…†z»»Ûk;(ÐG ÿÁ;÷ï³ÍHK+7Î*$dæâÅSà7‚ò¼çÁƒÊ#GÒoÜ(=šº~½—¯ïd¸^`ƒü TV6üòKöéÓw† !/]:måÊéVVpñù”zù²ù÷ßoÿç?÷ZZxsæŒ_¹òc77;m4 ò¨!ˆ®]+}ô’%SçÏŸH"h;.Ðÿ GÚÛ…W¯$&ÞÏÎ.§PÍŸ?qÑ¢ÉÎÎ#ñx¸³¨€üšñòesJJÞÅ‹KKkFŒ ,\8qáÂÉp[ŽƒüVZZ“ššŸšš_YÙ0rä°E‹&ùúN±·®í¸€ÿàììl///¡P¨© ‰Ds2y4™üa{{eKK†¦ªÝÁd2eFÂ;^À;555B¡0))I³Õ¢(ÒÞ."‘Öj¶ZÐ%L&“Ãáȇüïñ÷÷×v@ó”½Ênð@Aþ ¿ ÿÐ_ÿè/ÈÐëúì)ãð8ó®‚ü]VZZêççgnnnddäì윒’¢º|ϯ1©¯¯§R©ííí’1¾¾¾’a>Ÿ?|øðúúzµ ]¹reæÌ™$ÉÒÒråÊ•¯^½ÂÆ_»vÍÛÛ›L&[ZZ®Y³æõëרxÜûº¼ÌŒ©SS ÿA×<}úÔÓÓÓÝÝ=??¿µµõÈ‘# ½Ýè°aÃ\]]/]º„ýÛØØxéÒ¥††ìß .LŸ>}ذajë9tèPxxxmmmYYÙ¨Q£–-[†g2™[¶l©¯¯ôè‘H –Ì‚JÑÔâôFè³ÄÄÄÎlË–-Û¿¿ÂIeee~~~fffC† ñõõÅvÈ(ŠJªE„ÉdÒh4‡¢(ŸÏ ³°° R©aaa|>_R•t$ØðùóççÍ›‡ùóÏ?IMMÅþýä“O.^¼(ÓбcÇlllH$’««kaa¡|´oÞ¼4hüøÖÖVù0$”…­°Qù\“¯SÙz;wî¤Óé åСCØH‘H´oß>[[[SSÓU«V½}ûV>Byþþþþþþòãaÿº&===((Há$ÿÐÐP‡SUUeee)_æÖ­[999b±A˜˜˜¢¢¢ÜÜܼ¼¼‚‚‚¨hwÞ¼y<¨««CäöíÛŸ~úéíÛ·yñâEAAÁgŸ}&Sþúõë™™™ sçÎ]»VöêC.—{äÈ‘Y³fÉ7”‘‘ñÑG©ˆDEØò¢ï+)¤l½}*ÓÄÇi4Z~~¾tI™dQ¶²F•~™¤×›½½½|ÏÅÉÉ©´´®­­µ±±Q¶º¤)ÛÿCþƒw:™ÿT*µ¢¢Bá¤ÜÜ\///SÓwO &Øxé´‹Å’ò$IòUÂãñH$’ê¦óóó'MšÔÞÞ>~üxEÇŒÃçó=z$ßôŒ Ól×®]Ò#ÿúë/vëÖ-3ª[Y£jƒQ¶Þ¤’ “ß{ò"—Pôÿfx{{cßòƒƒƒY,–P(lll‰Dòe¤Ïx[ZZ²Ùll˜ÅbYY©yûØÄ‰Åbñ¯¿þêââ‚ ˆ‹‹Ë‘#GÈd²êîºB&&&›6mzøð¡dLbbâ_|qîܹ3f¨ž·«a«=ɯl½Y[[³X,™Ât:ýÙ³g’V¸’;òtÍîÝ»ããããââ8N{{ûýû÷—,Y‚Mâr¹&&&ÆÆÆUUU!!!j« ãp8',,Lú´‚tÎHoß¾ÝÓÓAOOÏÝ»w¯\¹²óÁùå—%%% ºº:** «A&“ùÍ7ßܼysÚ´i= [¡¡C‡–””¨( l½­\¹’Á`°Ù즦¦ˆˆläºuëBBBJJJ::: Õ¬Jg:@t²ÿ¢hqq±¯¯/…B144tvvNNNÆÆ_¾|ÙÑÑÑÀÀ€N§ÇÇÇ#r`™úy<ƒÁ R©T*•Á`H÷u¹óÿ˜ºº:‡ƒ¢è³gÏ êêêäK"JºÜIII&L044´¶¶þúë¯_¿~-) ãÍ›7òõ¨[Y£±±± EYl*Ö[GGÇöíÛi4š©©)“ÉÄFŠD¢øøx'''##£ñãÇK~QMYÿžÿÞIJJ €ía@Zºt)‚ òw€þ?ú òýù€þ‚ü@Aþ ¿ ÿÐ_ÿè/xþ7xöC1`îÞ½ëææ&?öÿàiÓ¦õôbR «ÜÜܾٮÿ@Áþýù€þ‚ü@Aþ ¿þ?¤Û÷Ru4òIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1SurfacePattern.html0000644000000000000000000000013213012573355025072 xustar0030 mtime=1479210733.153939776 30 atime=1479210733.153939776 30 ctime=1479210737.585938594 cairomm-1.12.2/docs/reference/html/classCairo_1_1SurfacePattern.html0000644000175000017500000010136013012573355026571 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::SurfacePattern Class Reference
Inheritance diagram for Cairo::SurfacePattern:

Public Member Functions

 SurfacePattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~SurfacePattern () override
 
void set_extend (Extend extend)
 
Extend get_extend () const
 
void set_filter (Filter filter)
 Sets the filter to be used for resizing when using this pattern. More...
 
Filter get_filter () const
 Gets the current filter for a pattern. More...
 
RefPtr< const Surfaceget_surface () const
 Gets the surface associated with this pattern. More...
 
RefPtr< Surfaceget_surface ()
 
- Public Member Functions inherited from Cairo::Pattern
 Pattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Pattern (const Pattern&)=delete
 
Patternoperator= (const Pattern&)=delete
 
virtual ~Pattern ()
 
void set_matrix (const Matrix& matrix)
 Sets the pattern's transformation matrix to . More...
 
void get_matrix (Matrix& matrix) const
 Returns the pattern's transformation matrix. More...
 
Matrix get_matrix () const
 Returns the pattern's transformation matrix. More...
 
void set_matrix (const cairo_matrix_t& matrix)
 
void get_matrix (cairo_matrix_t& matrix) const
 
PatternType get_type () const
 Returns the type of the pattern. More...
 
void set_extend (Extend extend)
 Sets the mode to be used for drawing outside the area of a pattern. More...
 
Extend get_extend () const
 Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 

Static Public Member Functions

static RefPtr< SurfacePatterncreate (const RefPtr< Surface >& surface)
 Create a new Cairo::Pattern for the given surface. More...
 

Protected Member Functions

 SurfacePattern (const RefPtr< Surface >& surface)
 
- Protected Member Functions inherited from Cairo::Pattern
 Pattern ()
 

Additional Inherited Members

- Public Types inherited from Cairo::Pattern
typedef cairo_pattern_t cobject
 
- Protected Attributes inherited from Cairo::Pattern
cobjectm_cobject
 

Constructor & Destructor Documentation

Cairo::SurfacePattern::SurfacePattern ( const RefPtr< Surface >&  surface)
explicitprotected
Cairo::SurfacePattern::SurfacePattern ( cairo_pattern_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::SurfacePattern::~SurfacePattern ( )
override

Member Function Documentation

static RefPtr<SurfacePattern> Cairo::SurfacePattern::create ( const RefPtr< Surface >&  surface)
static

Create a new Cairo::Pattern for the given surface.

Extend Cairo::SurfacePattern::get_extend ( ) const
Filter Cairo::SurfacePattern::get_filter ( ) const

Gets the current filter for a pattern.

See Cairo::Filter for details on each filter.

RefPtr<const Surface> Cairo::SurfacePattern::get_surface ( ) const

Gets the surface associated with this pattern.

Since
1.4
RefPtr<Surface> Cairo::SurfacePattern::get_surface ( )
void Cairo::SurfacePattern::set_extend ( Extend  extend)
void Cairo::SurfacePattern::set_filter ( Filter  filter)

Sets the filter to be used for resizing when using this pattern.

See Cairo::Filter for details on each filter.

Note that you might want to control filtering even when you do not have an explicit Cairo::Pattern object, (for example when using Cairo::Context::set_source_surface()). In these cases, it is convenient to use Cairo::Context::get_source() to get access to the pattern that cairo creates implicitly.

Parameters
filterCairo::Filter describing the filter to use for resizing the pattern

The documentation for this class was generated from the following file:
  • cairomm/pattern.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/pages.html0000644000000000000000000000013213012573355020577 xustar0030 mtime=1479210733.153939776 30 atime=1479210733.153939776 30 ctime=1479210737.701938563 cairomm-1.12.2/docs/reference/html/pages.html0000644000175000017500000000440313012573355022276 0ustar00murraycmurrayc00000000000000 cairomm: Related Pages
Related Pages
Here is a list of all related documentation pages:
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1FtScaledFont__inherit__graph.png0000644000000000000000000000013213012573354027500 xustar0030 mtime=1479210732.361939993 30 atime=1479210732.365939993 30 ctime=1479210737.537938606 cairomm-1.12.2/docs/reference/html/classCairo_1_1FtScaledFont__inherit__graph.png0000644000175000017500000000633713012573354031207 0ustar00murraycmurrayc00000000000000‰PNG  IHDRp‹žåÝbKGDÿÿÿ ½§“ ”IDATxœí}LSWÇo¡@Z Ê‹Ïæ²¸9çÜc²V–<[–0AYK'¶9_ –ff[Ä¡3Ç*AˆtN³ưF›£ fo€Š Z ÝÊ*i ”¶ô¶}þ¸>÷¹B¹}YmÝá|þ §çü8÷û»ßóÒÞ[¸›Í†@€ÃÏ× è+˜@_Áú &äÍ###ÅÅÅ‹Å;j N’•••••Eà`¾vtt444xTäïòË/¿Èd2òóC*•zBÄ3¼ñÆcàþ &ÐW0¾‚ ôõ 呯{Ÿùú˜Ÿ—:óu```Ë–-AAAëÖ­kll$÷Ôý†©©©âââ'žx"$$„N§oÞ¼¹¥¥Å#=; åaÜîijª<ãëÝ»wÙlö‹/¾xãÆû÷ïWUUyíS/—Ë¿xñâäääàà ŸÏ?xð wc#àåC/ДӧO;Œ±Ùl|>ÿСCv›·lÙB§ÓÃÂÂ222´Z-ž?^‹Åqqq Åf³F¡PÍd2…B¡Ñh$ž²…åàààÉÉI»‡6›ÍûöíKHH///wRÅb9xðàÊ•+i4Z~~þÌÌ Vo2™vïÞM§Ó™Læ‘#Gˆúz±,9~üxbb"•J}á…z{{m…ÅÎ0ìbyŒgækKKKvv¶Ý¦¬¬¬‚‚µZ­R©X,Vqqñ˜+W®üöÛoV«AO?ý´¯¯¯³³³«««§§§¬¬ŒüÐl6û½÷Þûé§Ÿ ü¦Ï>ûìêÕ«r¹\©TªÕj'õTTT´µµÉåò¡¡!³Ù\RR‚Õ—••ݹs§§§§««ë»ï¾#WE’Å÷ßßÖÖ¦Óé^}õÕ;w"ÿÛ’pã=¹íNÎ×€€ƒÁà0ljj*..O/ŒŒŒà1«V­êëëÃʽ½½ÉÉÉûÜ·oß³Ï>K¥RW­Zµwï^|ú¦¤¤`Â%=«W¯ÀÊ÷îÝKLLÄÊÉÉÉDa‹9Až‚ +ëõúàààyGwgæ«g|e2™CCCv›:;;7mÚD£Ñ°´ýýý˜p^¬V+O¥Rñ!b0¨TªÃ£cX,–[·nåææ¾öÚk »r^Opp0Ñ'???»ÂÒux±,›1I'‹á½u8--  áñx¹¹¹ …EÑ¿þúËî­!â»ÁØØX¥R‰• ‹ÅrRƒŸŸßÓO?]QQÑÞÞŽÕÄÇÇ+ Wõ$$$ ã'`±XÃÃÃXyhhˆ\Œ«Y<¦ï‡?ùä“ÊÊÊ£GªÕj“ÉÔÑѱuëV¬I¯×¯X±"44T¥Rmß¾ÝaWÙÙÙB¡P­V«Õj¡PHܶ‰Éãe6›-•JÇÆÆÌfóððð‡~¸qãF¬)//O (•ʉ‰ ‘H䤞]»vmß¾½¿¿nn®··—Çãaõ|>_$ŽŽŽŽŽ¹…] F?yŒkOg'×a›Ívûö파ŒðððÀÀÀuëÖÉd2¬þâÅ‹O>ùä²eË*++‘+ϼþ ƒ@ `2™L&S RÄÞûá–––ŒŒ F¥R“’’ ÆÇDZ¦¹¹¹>ú(..ŽF£‰Åb'õX,–ÊÊÊÕ«W­Y³æÜ¹sX½Ñhܹs'F‹ŠŠúüóÏÓOž²È:üÅ_„‡‡;yªY‡)6Ò÷`R©”Ëå’Ç@¼ vŸŽüæ)¼> &ÐW0¾‚ ôL ¯`}è+˜8õ=S‡ßV…x“?þø#>>ž<Ư111Î|aõ±‡þŸ™™N÷µ°aÃò×›€áçŸ[·Vçåý»¬l«¯µxƒ¥²¿ž={ûi6/‰¿5Z¾šÍ–óço 25e¼zõޝåxƒ%ákkkÿô´ A€¿³g¯ùZŽ7X¾65] ðCE-—.õ s¾VôÈß×ÙÙ¹~¸…¢¶U“ ½|ù¶o%yð}mnî%¾W¢P(MM]>ÔãÀ÷µ©©ËÏïÿ_ ±X¬ryÿää¬%yÀ}œœmo¿ƒ¢Vb¥Í†47÷úJ’wÜ×óç»íÖËd€/Å€ûÚØØeµÎ¿ fµZýuèÞ½)ŸHò û:66uíÚˆÝ ¥þþ” nz_’×Ù×3g®/vñE­2Y§wåx§îÓýC1›-11+ð—³³sAAþþ†r` ȹ/•û9‚ÄÆŠjjrÓÓ×úZˆ7y^Ê@_Áú &ÐW0¾‚ ôL ¯`}è+˜@_Áú &ÐW0¾‚ ôL ¯`}è+˜@_Áú &ÐW0¾‚ ôL ¯`}è+˜@_Áú &ÐW0¾‚ ôL ¯`}è+ ~ÕÞÞì_çS©ÿò÷_îk ‘HD´ò!5 Š¢û÷ï÷•8ˆ{Èd2üÁÅvf'›Íö’ˆ‡¸råʼ¸¿‚ ôL ¯`}]‡óHã)^òõ±Êy)àæ§Õßÿý«¯¾êîî6 ÉÉÉÙÙÙ/½ôI|kk«{šÇ¼ñuËápˆýëõúúúúööv­VøÌ3Ïdff¦¦¦zD€Û"Ýèäïœ4w|U«ÕEEE<¯°°F£)І†r_=ˆÃlKKK™LæáÇ£££gffº»»kkk½é+â¹qì6îøúõ×_gffâ7{ê©§JKK±²Z­>qâÄ7¬VkjjêûᅥF‡ÃÙ½{·L&Óétr¹Ül6K$’ÖÖV›Í¶iÓ¦;v,[¶ ëŠ8`I/69°ŸXLOOOSSShh(‚ ááál6ÿDn±Xjkk›››gggsrr°ÓŒc³Ùêêê.]º¤×ë7nܸgÏ*•РТUUUr¹Ü™G½-–)‡Ã‰Dõõõ))){÷îMJJZ˜”«¸³¿^¿~=--ÍnÓþýû7oÞ,“ÉNŸ>Í`0Nœ8±0ææÍ›Ç—Ëå‚ÔÕÕŒŒÔÔÔH$¥RYWWçª,íÖÖV<ÿµk×–——ߺuËd2Í þöÛo{zzŽ=Z__¯ÕjÔÜØØØÝÝ-‹¿ùæEO:…Õ×ÕÕ©ÕêS§NI$’ŽŽr$™vvvVTTœ;wnýúõb±ØnR®âޝ÷ï߈ˆ°ÛtòäÉçž{.(((44ôÝwßµ›­@ ÀýòåË 22222R üøãx1%b™CÀ®†’’’„„„ŠŠŠôôt>Ÿ_SS£×ë±¦æææ={öÄÆÆ._¾¼  ÀIÍ.\(**Љ‰Y¾|ù®]»ÚÛÛ‰â &žø+ E’d*‰¢££©T*—˽{÷®Ý¤\ÅuxÅŠããã111 ›%‰B¡˜žžFÄÏÏθ‰ŠŠÂËÄ~X,–N§sxt‡C8$$$?????ßf³©Tª†††C‡>|A­VËb±\Õ<66öÖ[oá/)”O÷ÐétDñä"I2¥ÓéX!((háãîøššš*—Ëß|óÍ…MÈÍÍݰaChh¨^¯OOO_ƒŸA"""4Mbb"‚ £££ à =ÄçÕ¯\¹²°°Ëåb5QQQ£££III.iŽŠŠ:räHttô¼zƒ‹ÿóÏ?ÉEºšébI9‰;ëp^^Þ™3gd2™V«5›Íø- £ÑB¥RÇÆÆÊËËv•––vìØ1­V«Õj;Fܶ‰Ë,ùÇß°°0•J…¿,**jkk›˜˜@QT£Ñ|ùå—kÖ¬Áš^yå•ÊÊJF3==]]]í¤æ×_½¼¼\¥R¡(ªT*8€Õ¿üòËÕÕÕ:N§ÓUUU¹©3I¹Š;ó5..N,Ÿ¨®®.--¥Óé\.ߊ#''G"‘ìØ±A‡³mÛ67ôðùü™™lõËÍÍ={ö¬X,6™Lëׯÿøã±H.—k0„B¡ÑhÌÉÉqRsff&…B)))Ñh4ñññï¼óV¿mÛ¶ªªª·ß~ÛßߟÇã]»FöDCW3—”«<ôà¥R)—Ëõùg/ˆ«”––FFFJ¥R¼^è+˜@_Áú &ÐW0¾‚ ôLì\—ÀoºAþ)ôõõÍûvðC¾>ÿüó<Ïb± l6;++‹X³„ž;¸¤€û+˜@_Áú &ÐW0ù//%„G^ŒïIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1SvgSurface.html0000644000000000000000000000013213012573355024214 xustar0030 mtime=1479210733.153939776 30 atime=1479210733.153939776 30 ctime=1479210737.589938592 cairomm-1.12.2/docs/reference/html/classCairo_1_1SvgSurface.html0000644000175000017500000015221413012573355025717 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::SvgSurface Class Reference

A SvgSurface provides a way to render Scalable Vector Graphics (SVG) images from cairo. More...

Inheritance diagram for Cairo::SvgSurface:

Public Member Functions

 SvgSurface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~SvgSurface () override
 
void restrict_to_version (SvgVersion version)
 Restricts the generated SVG file to the given version. More...
 
- Public Member Functions inherited from Cairo::Surface
 Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Surface (const Surface&)=delete
 
Surfaceoperator= (const Surface&)=delete
 
virtual ~Surface ()
 
const unsigned char* get_mime_data (const std::string& mime_type, unsigned long& length)
 Return mime data previously attached to surface using the specified mime type. More...
 
void set_mime_data (const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)
 Attach an image in the format mime_type to surface. More...
 
void unset_mime_data (const std::string& mime_type)
 Remove the data from a surface. More...
 
void get_font_options (FontOptions& options) const
 Retrieves the default font rendering options for the surface. More...
 
void finish ()
 This function finishes the surface and drops all references to external resources. More...
 
void flush ()
 Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. More...
 
void mark_dirty ()
 Tells cairo to consider the data buffer dirty. More...
 
void mark_dirty (int x, int y, int width, int height)
 Marks a rectangular area of the given surface dirty. More...
 
void set_device_offset (double x_offset, double y_offset)
 Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. More...
 
void get_device_offset (double& x_offset, double& y_offset) const
 Returns a previous device offset set by set_device_offset(). More...
 
void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
 Set the horizontal and vertical resolution for image fallbacks. More...
 
void get_fallback_resolution (double& x_pixels_per_inch, double& y_pixels_per_inch) const
 This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set. More...
 
SurfaceType get_type () const
 
Content get_content () const
 This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. More...
 
void copy_page ()
 Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. More...
 
void show_page ()
 Emits and clears the current page for backends that support multiple pages. More...
 
bool has_show_text_glyphs () const
 Returns whether the surface supports sophisticated Context::show_text_glyphs() operations. More...
 
void write_to_png (const std::string& filename)
 Writes the contents of surface to a new file filename as a PNG image. More...
 
void write_to_png_stream (const SlotWriteFunc& write_func)
 Writes the Surface to the write function. More...
 
void write_to_png (cairo_write_func_t write_func, void* closure)
 
RefPtr< Deviceget_device ()
 This function returns the device for a surface. More...
 
cobjectcobj ()
 Provides acces to the underlying C cairo surface. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo surface. More...
 

Static Public Member Functions

static RefPtr< SvgSurfacecreate (std::string filename, double width_in_points, double height_in_points)
 Creates a SvgSurface with a specified dimensions that will be saved as the given filename. More...
 
static RefPtr< SvgSurfacecreate_for_stream (const SlotWriteFunc& write_func, double width_in_points, double height_in_points)
 Creates a SvgSurface with a specified dimensions that will be written to the given write function instead of saved directly to disk. More...
 
static RefPtr< SvgSurfacecreate (cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)
 
static const std::vector< SvgVersionget_versions ()
 Retrieves the list of SVG versions supported by cairo. More...
 
static std::string version_to_string (SvgVersion version)
 Get the string representation of the given version id. More...
 
- Static Public Member Functions inherited from Cairo::Surface
static RefPtr< Surfacecreate (const RefPtr< Surface > other, Content content, int width, int height)
 Create a new surface that is as compatible as possible with an existing surface. More...
 
static RefPtr< Surfacecreate (const RefPtr< Surface >& target, double x, double y, double width, double height)
 Create a new surface that is a rectangle within the target surface. More...
 

Additional Inherited Members

- Public Types inherited from Cairo::Surface
typedef sigc::slot< ErrorStatus, const unsigned char*, unsigned int > SlotWriteFunc
 For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length); More...
 
typedef sigc::slot< ErrorStatus, unsigned char*, unsigned int > SlotReadFunc
 This is the type of function which is called when a backend needs to read data from an input stream. More...
 
typedef sigc::slot< void > SlotDestroy
 For instance, void on_destroy();. More...
 
typedef cairo_surface_t cobject
 The underlying C cairo surface type. More...
 
- Protected Attributes inherited from Cairo::Surface
cobjectm_cobject
 The underlying C cairo surface type that is wrapped by this Surface. More...
 

Detailed Description

A SvgSurface provides a way to render Scalable Vector Graphics (SVG) images from cairo.

This surface is not rendered to the screen but instead renders the drawing to an SVG file on disk.

Note
For this Surface to be available, cairo must have been compiled with SVG support

Constructor & Destructor Documentation

Cairo::SvgSurface::SvgSurface ( cairo_surface_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referencewhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::SvgSurface::~SvgSurface ( )
override

Member Function Documentation

static RefPtr<SvgSurface> Cairo::SvgSurface::create ( std::string  filename,
double  width_in_points,
double  height_in_points 
)
static

Creates a SvgSurface with a specified dimensions that will be saved as the given filename.

Parameters
filenameThe name of the SVG file to save the surface to
width_in_pointsThe width of the SVG document in points
height_in_pointsThe height of the SVG document in points
Examples:
svg-surface.cc.
static RefPtr<SvgSurface> Cairo::SvgSurface::create ( cairo_write_func_t  write_func,
void *  closure,
double  width_in_points,
double  height_in_points 
)
static
static RefPtr<SvgSurface> Cairo::SvgSurface::create_for_stream ( const SlotWriteFunc write_func,
double  width_in_points,
double  height_in_points 
)
static

Creates a SvgSurface with a specified dimensions that will be written to the given write function instead of saved directly to disk.

Parameters
write_funcThe function to be called when the backend needs to write data to an output stream
width_in_pointsThe width of the SVG document in points
height_in_pointsThe height of the SVG document in points
Since
1.8
static const std::vector<SvgVersion> Cairo::SvgSurface::get_versions ( )
static

Retrieves the list of SVG versions supported by cairo.

See restrict_to_version().

Since
1.2
void Cairo::SvgSurface::restrict_to_version ( SvgVersion  version)

Restricts the generated SVG file to the given version.

See get_versions() for a list of available version values that can be used here.

This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface.

Since
1.2
static std::string Cairo::SvgSurface::version_to_string ( SvgVersion  version)
static

Get the string representation of the given version id.

The returned string will be empty if version isn't valid. See get_versions() for a way to get the list of valid version ids.

since: 1.2


The documentation for this class was generated from the following file:
  • cairomm/surface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1ScaledFont-members.html0000644000000000000000000000013213012573355025616 xustar0030 mtime=1479210733.153939776 30 atime=1479210733.153939776 30 ctime=1479210737.577938595 cairomm-1.12.2/docs/reference/html/classCairo_1_1ScaledFont-members.html0000644000175000017500000002536313012573355027325 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::ScaledFont Member List

This is the complete list of members for Cairo::ScaledFont, including all inherited members.

cobj()Cairo::ScaledFontinline
cobj() const Cairo::ScaledFontinline
cobject typedefCairo::ScaledFont
create(const RefPtr< FontFace >& font_face, const Matrix& font_matrix, const Matrix& ctm, const FontOptions& options=FontOptions())Cairo::ScaledFontstatic
create(const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())Cairo::ScaledFontstatic
extents(FontExtents& extents) const Cairo::ScaledFont
get_ctm(Matrix& ctm) const Cairo::ScaledFont
get_ctm(cairo_matrix_t& ctm) const Cairo::ScaledFont
get_extents(FontExtents& extents) const Cairo::ScaledFont
get_font_face() const Cairo::ScaledFont
get_font_matrix(Matrix& font_matrix) const Cairo::ScaledFont
get_font_matrix(cairo_matrix_t& font_matrix) const Cairo::ScaledFont
get_font_options(FontOptions& options) const Cairo::ScaledFont
get_glyph_extents(const std::vector< Glyph >& glyphs, TextExtents& extents)Cairo::ScaledFont
get_scale_matrix(Matrix& scale_matrix) const Cairo::ScaledFont
get_text_extents(const std::string& utf8, TextExtents& extents) const Cairo::ScaledFont
get_type() const Cairo::ScaledFont
glyph_extents(const std::vector< Glyph >& glyphs, TextExtents& extents)Cairo::ScaledFont
m_cobjectCairo::ScaledFontprotected
operator=(const ScaledFont&)=deleteCairo::ScaledFont
ScaledFont(cobject* cobj, bool has_reference=false)Cairo::ScaledFontexplicit
ScaledFont(const ScaledFont&)=deleteCairo::ScaledFont
ScaledFont(const RefPtr< FontFace >& font_face, const cairo_matrix_t& font_matrix, const cairo_matrix_t& ctm, const FontOptions& options=FontOptions())Cairo::ScaledFontprotected
text_extents(const std::string& utf8, TextExtents& extents) const Cairo::ScaledFont
text_to_glyphs(double x, double y, const std::string& utf8, std::vector< Glyph >& glyphs, std::vector< TextCluster >& clusters, TextClusterFlags& cluster_flags)Cairo::ScaledFont
~ScaledFont()Cairo::ScaledFontvirtual
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1QuartzSurface__inherit__graph.png0000644000000000000000000000013213012573354027763 xustar0030 mtime=1479210732.505939953 30 atime=1479210732.509939953 30 ctime=1479210737.569938597 cairomm-1.12.2/docs/reference/html/classCairo_1_1QuartzSurface__inherit__graph.png0000644000175000017500000000652013012573354031464 0ustar00murraycmurrayc00000000000000‰PNG  IHDR¥pðº'bKGDÿÿÿ ½§“ IDATxœí{P×Ç7I £" ¢—2Si-­ö:SNë´3T|°L‹Ôb `Gk-X¥¶i`¢ŽÄGaÀid¨– qj-ŠX„‚iÃ&€!˜IÈýcïݻ͋ÈY¹ç|þ`Ξsòû}÷|÷ìžÝÍ’ÙlF ÀàA´ˆ[~ƒô, ß`Avm¸‚‚™LæÚ˜ ãééYZZ᪀.žßeeeýõ—kc‚LMMM{{» ºx~#’ŸŸ¿mÛ6—‡‰äÚ€ðú Ðo°€~ƒôûéøå—_¢¢¢\~YuóÃïçg|÷íÛwüøñùûÒ¿ûúú6oÞÌ`0(J\\\}}½ãþ®ßÉÉÉDEEÑh4??¿7¶¶¶>U„®®®wÞyÇ%b¿ÿøãøøø×_½³³S¥R>~çÎ?ÿü³V«u^0–Ñâ8°§öøñã7oÞ‰D‰{º\^^~ýúu‘H488h0ŠŠŠœàJ\xì˜;Éd²V«5Ôää$“ÉÄÂb…Ga}"##{zzÐrww÷òåËgYXXøòË/S©ÔÈÈÈO>ù›îˆýùÏhoÄðjW¬XÑÝÝmÑ!::º¯¯-ŒŒ„‡‡;–Š¥síü&ÀïÀÀÀÁÁA›MwîÜY¿~=NGEOOO,,V@ç •JÅ­VK¥RÔi2™|8==ÝÝÝ’’âL ×ãÂs…ÙéóOooorr²¯¯¯——W\\œP(Dë¯\¹ò /,X° ,,ŒÏç#¸“ªEE«Õ²ÙìÀÀÀÀÀ@6›?‹"¶Öç­­­ÉÉÉt:J¥.[¶,77w||mêîî^³f •J ?}ú´½ŒøM{j§§§?ûì3&“I§Óy<Zi2™ø|~tt4…B‰‰‰ùá‡f%óÿÇõâ<.Ïùñ<â* ß`ý è7X@¿Áú Ðo°pý÷‘oß¾ýü|b‰ ïåÍf3“É$z‡œäë»Lf-cvÈd²X,v¡A$ó¼ý*Öœ¹uk`Ë–S™™ÿܽ¼@ß!œ_Q‘‘”´Šh!î”ó9ú Ðo°€~ƒô, ß`ý è7X@¿Áú Ðo°€~ƒô, ß`ý è7X@¿Áú Ðo°€~ƒô, ß`ý è7X@¿Áú Ðo°€~ƒô, ß`ý è7X@¿ÿÏÐÅb1™ Ķ Rÿá鹈hî ??oñßÜ•ËåF£ñСCD‰ƒ¸¡Pˆýà<ŠÙï&9gÌ7,jàõ, ß`ý è·»éééIOOOHH $»›ü&j÷žCÁÎ;ÛÚÚÉ>Ç»í?ÿüóܹs÷ïß×jµË—/OMM}ã7ôwáî ‚®®.³ÙóÑGEFFº$rBB¬:ÕjõÅ‹Åb±B¡ðòòz饗6mÚë|–ÁÁÁ5kÖüoJçÎ\æ·L&ËËË[¹rå¹sçš››9ŽH$r¹2› ¬^½ºªªªºº:..®  Àâó™R\\¬R©JKK›šš*++ß|óÍÊÊÊ§Š Ñh,XðŒäÍÊßþj]]‹Åšõ/))‰ˆˆxÿý÷­›d2ÙÙ³g;;;gffbcc÷îÝëããƒà¦NBBÂÇ, ÇÆÆD"‘Á`mmmf³yýúõ999ØXàgV>zôhHHHff&–ñÂ… ÃÃßþ9b5A±Mª01øqÀ¤âw ­Ü°aCCCƒ···õ¾ÛËî ‹=a&“©²²²¥¥E£Ñ¤§§oÛ¶ A³Ù\UUÕÜܬV«×­[·gÏ*•êØ©ââbÿºº:¬f.óûÞ½{‰‰‰6›:´qãF¡PX[[»dÉ’³gÏZ÷ùí·ßNŸ>žªªª=zTQQ!$IUU•ãÔo½õ¾æí·ßîììtü)ª01¨7mmm˜gmÿaïÞ½k×®E+W­ZÅåryyyׯ_üø±Ñh”ËågΜ‰‰‰qœÝö„mذÏçËåò©©©S§N¡•ï½÷—Ë•J¥F£Q"‘>|Ø™Ìe~3™LwþüùÊÊJN·bÅŠ””´iß¾}§N*..öóóc±X³^cÒÓÓANN‚ 6×üÖ©Ïœ9sá­VK£Ñø|~hh(ÚZPPÀår«««étzZZÚ­[·žJUZZÚîÝ»ŸìK-+KÁ²Ñ.Y”¾dEPaA‰ø°¥¶›ZSÓïÜ;3wºŠ–¯—߯gfîïœsçœWKÇñ.€ÉøD­¨a‘'¬âq_ôˆk¢ÀŒ ÀDŽøQ´ÄïC¨¶åñÏÿgÅ ñ 0„Y‚:qZ¦Á)~õâ€èLý0HVñ× žz-¿‰C“%¨g¦˜6€é8%Úõ¬ëwêÙUÏ¿˜ª³Ä }? ?€·3ÀÀž©Š À”K• @hà a±ðaÇæUe‹ sù~ë2²ì“&Ú&B*AÄljæºììi*˨,Ëçí»÷oÆ£T”,d[˜¼3-*ÁÀ…>å‡Ë çLÉŸçfk˜Ò éw#*AEjKUy>ûšËÉõ&{µ¢8—m5Ki¬ jjƒD*¿NŽÖigwÃ7Dª’mz骹úKÛ¾±ˆ¶M!æ¤ÍkÐ?šoý¬_åÓlXí#Ò~–¸¬ê×ÒÑXŠÓ‘ùRÙ*Eû‚ՂדðEÜ;6«e"Q(²Ù=–¿Ezæ5Kؼָ_ 1òzBªJë ±XŒì96åªjL^7{ùãJÑ÷1½i@%8'7M©_\Qœ#ÓUŒËñýÿyõ Wo Éx8¼s¥v¯ªì|×SnÜ q_m Ýé î>bèÕí[JX,½4[Tú{R£ë¼ôˆ¾þa€tÝjjzzÅ'ÅìȶiIžŽòwÏs ¡€—ÕKøõâC^ŽŒ˜Y­¨µÉ%6¨´êˆº]vÛðhâ½iWv–hôëê°Ò¨¾'æÌ‚·ñ|[ßìúÅ^€YrD=<ýDû]äÇ÷s€Ïõ‹8™ºCì? À ¨—t4õᩎ¡Jã‡W‹É± îr¼cjMɘìx| šE©øNÔ‰œøA¢þ«–€Z¼ñ‡jó î#™§¢¢4gIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Pattern__inherit__graph.png0000644000000000000000000000013113012573354026600 xustar0030 mtime=1479210732.477939962 29 atime=1479210732.48193996 30 ctime=1479210737.557938601 cairomm-1.12.2/docs/reference/html/classCairo_1_1Pattern__inherit__graph.png0000644000175000017500000002743013012573354030305 0ustar00murraycmurrayc00000000000000‰PNG  IHDRJ»šr± bKGDÿÿÿ ½§“ IDATxœíÝy\TåþðÏ,ì‰,*( ©¥V.©a”âZ™Z*j¢¹ )Öíêí–ÙžåòÃ]AMq—´«¥fššbZ ¢¡ á† Š¬3Ïï‚Ø†™A˜3ËçýzÍëÞ™9ç<Ÿ3|¿sÎ3gdB""""ªF.u""""cÅF‰ˆˆˆH6JDDDD°Q""""Ò@)u"2]—/_ÆìÙ³¡R©¤ŽBzP(øä“OððÃK…Èè±Q"¢:;qâ¶lÙ‚¾}ûJ…ôpðàAøùù±Q"Ò%"z`sæÌ‘:éáàÁƒRG 2œ£DDDD¤%"""" Ø(iÀF‰ˆˆˆH6JDdrúõë'u"²üÖÜï¿ÿŽèèhüòË/(((@Û¶m„>}úè´þ÷ßß ù*6bÎÎÎðööFxx8uZ·j¾š#"ÓÀ#JDdPYYY˜1c:vìˆèèh$$$`úôé8pà€ÔÑ*ùþûïñý÷ßcÕªU(..FTT”Ô‘ˆHl”ˆÈ Ö­[‡#F`Ô¨QhÖ¬¬¬¬ðØcaîܹåËdeeaΜ9:t(^zé%¼ûsçNùóøôë×[·nŨQ£Ð¿@II –,Y‚‘#GbĈX²d JJJ*å¨zúNÓé¼&Mšàõ×_GRR’ÖleÛèׯ_¥ÿ_õ1B`Æ  ÂСC1oÞ<Öº_ýúõÃ×_ÀÀ@ 8áááÈÈÈÐúšQݱQ""ƒ:uê Pë2sæÌÁðáñuëVÄÅÅ¡I“&X½zµÆåýõW,_¾¼ü¨Tll,._¾Œ+V`åÊ•HOOGlll3Ëd2Èd2­ÙÊN¯•ÒôlÛ¶ ¿üò ,X€7¢´´kÖ¬©u¿ )) ‹-®]»ðôÓOcÁ‚uÞ/"ÒŽT^^\]]k]&&&]»v… Š'Nh\>""¢Ò6¿ûî;DDD iÓ¦hÚ´)"""°oß¾JëT3¤iQnn./^ŒîÝ»×)›&»wïÆŒ3мys4jÔS¦LÁ¡C‡jÝ/ˆŒŒ„»»;lmm€´´4½Ç&"Ýq27”££#rssѼysË\¸p+W®ÄÅ‹q÷î]€\®ùs]³fÍ*ݯº}ܸqC¯œe§ÉœœœðÔSO!<<¼NÙ4¹zõ*ÆWé±²£Veªî¸¸¸”ÿé=6éŽT·nÝpàÀŒ3Fã2ï¿ÿ>‚ƒƒñÌ3ÏÀÁÁùùù:t¨Æå«6®®®ÈÉÉA«V­ÙÙÙhÒ¤‰^95aÒ–­jM5kÖ óæÍƒ»»»Æ 5­GD†ÅSoDdPãÇÇŽ;°uëV\¿~%%%8þ|¥Ö-,,„½½=lmmqõêU|ñÅz1`À,^¼ׯ_Çõë×±xñâjó¢tÌ]•¶l7Fff¦Ödž †/¾ø™™™(--Ezz:Þÿ}]w‘ˆ „G”ˆÈ <==±`ÁÄÄÄ`ýúõ(,,Ä#<‚ÀÀÀòeÞzë-,]ºsçÎ…‹‹ ªÍߩͫ¯¾Š•+WbÒ¤Iþj‚ÆŽ[/ùµe=z4¦M›†{÷î••ªé±#F@&“áÝwßENN¼¼¼0qâÄzÉHDõG&„R‡ "Ó€€^LÑÄôë×qqq5j”ÔQˆŒO½iÀF‰ˆˆˆH6JDDDD°Q""""Ò€‘l”ˆˆˆˆ4`£DDDD¤/8IDìàÁƒK¥òóÕ((hÚT:üÌšQºvM¹°¶–•ßÌe߈L%"ª³æÍ›C©Tbîܹõ°59 {Èå PØC¡xr¹ÃßÿÛJe#ÈdË­Ê׸ys'ŠŠ.×ÃØÕÙÛwÜ¿ŸÜ Û¯H¡h„fÍBTþm7!TJ V—@ˆb¨Õ…P« !DÔêâ¿+Àýû)¢Tçñ”Je­?JLDÿà•¹‰HRËqæLnß.@Å·#++ärJKÕP©ÔÕÖ›:µ?þûß—$“J¥FçÎï’“?€BÑð‡v¾þú4¦MÛ•JmïÊ …r¹ B”–ªqôèÛxøaý~ô—ˆtûD$©¼¼‚jM””¨PTTZ­I’É€×_®Áš$8r$ ·nÝÇ­[÷qäHZƒSÑС]±eËdØÛ[C©¬ý­Y¥R£¤DµZà©§Z³I"j@l”ˆHR¯¿þ¼Ö#(ed2`êÔ˜5kHƒfڱ㬬°²R`ÇŽŸt¬Šž}öüï3àìì++…Öå…BC} ŒÈr±Q""I½øbG´mÛr¹¬Öåd2ÞxãE¼ýöK 𧍍»wÿŠ’JJTؽûW–4è˜uèÐ{öDÂÃÃIë‘%gg; ÔÙ@Ɉ,%"’”L&C` Öeþõ¯1sæÀϳoßY•ß/((Á© >nEžžÎHLœ‰Î[B¡¨ùÈ’••NNöX¶ì®_¿kÐ|D–„IæìÙlL™²Ÿ|²6ɪU’Éd˜3gfÌxÁ ™vì8¹üŸæD¡ôô[™Æí±cG8|¢Æ£mjµ½zµÃÊ•ñÔSs1uêœ8‘nðœDæŽßz#"ƒ;q"K—À¾}çСCsLžÜ7oæãÃÿWiò¶L&ÃܹÃÚÛ ¹îÞ-DÇŽÿEI‰ªÒãVV ¤¤|GG[ƒä¨H¥Rã?ÿÙ†ØØŸÊ'¼+•r<÷ÜX³&Åťػ÷ ¢£!))<Ò ãÆõDPÐÓpp°1x^"sÃF‰ˆ B}ûÎañâý8y2ÞÞ­1mÚ<÷ÜãÉd(((F×®ï!/¯À_MÒ‡úaÂÃMVŽOBdäæjßÀ“ËeX¸0þþÞËRÕüù{±`ÁÞòlqqSàëÛ®Ò2ÉÉ 6ö¶oÿ … ÇwÄ ¾xì1^3‰¨®Ø(Qƒ*)QaçÎSX¶ì~ûí*ž{îqDD ÀSOµ®¶ìüù{±pá^|þù(Œ]ûÜ¥ú°GŽ\„Z]ù’r¹ ={>Џ¸)ÍSÕÆÇ0kÖVxx¸àر·kú÷ ¡¡½Ñ«×£L%"ª'ׯßÅúõG°zõ5ª¦M77G©£édðà…HNþjuÍo‰2™ ]ºx!!!ÒÀÉêWI‰ ß|“‚ØØc8|ø7´iÓAAOc̘gàäd/u<"£ÃF‰ˆHff.¢£!6ö(í0nܳ ëGG;©£éì?nÂÇçÃj“¸«’Édøé§ÿÂËËÅ@ÉÖ™3ÙX¿þvìø2™ ~~Ý0~|/<þx ©£ 6JDT'gÏfcåʃøê«SðôtÆÄ‰½ñê«ÏÂÆF)u4½¥¤daâÄ5•N»•@¥ýQ(䈉 A§NžÏØîÞ-Ä®]§s.\AçÎ^;öøû{›äß“¨>±Q""½T¼Òã·Àk¯õÁˆÝ¡P˜×õk'Mú°re°ÄI ëĉtÄÄFbb2œ0jT÷„§''“eâG"ÒJ­Ø¿ÿ¢¢¾ÃÏ?gÂÛ»5Ö­›X~ $2=z´Ampõj¶mKš5?bùòèÙóQ„†öæßœ,(‘Fe×@Z²d?.]º†Çë¯?îݵ5ÝÔYꥪ*NþþñÇ4´jåŠ1c|0z´œ¤ŽGÔàØ(Q5ùùEؼù8V¬øׯßŰa]ñ}ÔMêhÃF©º‹¯!.î6l8Š¢¢¼üò“xíµ¾èØÑCêhD †•»y3kׯš5?¢¸¸OcÊ”~hÑÂIêhÇFI³{÷аsç)¬]{©©9å“¿_yå)ØÚZI¨^±Q""dgߊ±yóO°µµÂ„ ½âkѧVØ(é&9ùDG®]§agg o„…õFË–®RG#ªl”ˆ,ØåË7s6…““ÂÂú`Â_ØÛ[KMrl”ôsíÚ]lÝzëÖANÎmôìù(ÆŽ}ƒw6»oD’ea£DdRR²°zõøê«SðòrAHˆ/Æ{ÖÖü"l6Ju£R©qà@*¢£UšüäË=BI¦‹‘)»ÒwßE§Nž ím–×@ªl”\zúulÞ|7ÃýûÅ8°#BC{ÃÛ»µÔшtÆF‰ÈÌ•]iáÂoñË/¿ÃÛ»5¦M€çŸBêhFRý)**Å×_ŸÆÊ•qîÜŸå“¿GŽì;;žæ%ãÆF‰ÈL•])*j22®cÀ€Çùž|²¥ÔÑL¥†‘œübcaëÖ$ØØ(1thW„…õ±¨KOia£DdfîÝ+–-DZlÙäæÞða]1}úóhÛ¶™ÔÑL ¥†uýú]ÄÇŸÀ—_ÁŸþ3ù{РÎP*y*˜Œ%"3‘›{ëÖýˆèèÃ(-U!0ði„‡÷‡»{c©£™$6J†¡V 9’†èèCØ·ïÜÜ1fŒÆïWׇ¤ŽGÄF‰ÈÔýñÇM¬Zõ6mú ööÖ?¾'BC{£qc{©£™46J†wùò lÜø6mú ÷îâÅ;aìØgàëÛNêhdÁØ(™¨ÔÔ,_~;wžBóæN ëƒ1c|89¶ž°Q’NQQ)¾ýö V­ú?ÿ|;z`ܸž1¢;¯ñEÇF‰ÈÄ”}Åß¾sèÐÁ“'÷ƒŸ_wÎë¨gl”ŒCÙäïmÛNÂÊJaúbâÄÞhßÞ]êhd!Ø(™ˆÃ‡Ã_|ƒ¤¤Œò¯ø?÷ÜãÉdRG3Kl”ŒK^^âã“}¿ÿž oïÖ íÍÉßÔàØ(±²k ÍŸ¿ÉÉÀ×·Þ|óE^°ÏØ(§²Éß±±ÇŒ&MÂ+¯x#$¤š7·¼o¦†Çß+ 2BÅťصë4-ú™™70`Àãøæ›™èÜÙKêhD’’Ëeðõm_ßvå“¿7oþ «V,Ÿüݫף<ÒJõ†G”ˆŒÈÝ»…ˆ‹;¥K÷ãÖ­û:ôIDF¾€Ö­›JÍâðˆ’é(..ÅÞ½g{ ‡ÿ†Gi†qãz"(èi88ØHL%"#pãÆ=|ùåX½úÔj5žÆ´iýáæÆk I…’i*›ü½}ûÏP(d>¼&LðÅc5—:™(6JDÊÌÌEtô!lÜx =dƒààž ëGG;©£Y<6J¦-/¯_}ÑчðÛoWй³&NôÅðáÝ`e¥:™6JD8wîO¬Xñ=vî<gLœØcÇ>[[+©£Ñߨ(™‡Š“¿“áââÿ?¾'<<œ¥ŽG&€“¹‰ ¨â5{¬9æÏä5ˆPÅÉßW¯ÞAlì1¬[w+V|þýChhoNþ¦ZñˆQ+ûŠTÔwøùçL^ÉDðˆ’ù*)Qá›oRÊ'·iÓAAOc̘gàäÄŸþ¡ÊØ(5’vî<…¥K -í*ž{îq¼þúsèÞýa©£‘Ø(Y†´´«X¿þ(6oþ *•/¿ü$&Oî‡Ço!u42l”ˆêÙýûÅØ´é'¬Xñ=®_¿‹aúbÚ´h׎?¹`JØ(Y–»w ±k×iÄÄÂ… Mþ;öøû{ÃÆ†³T,%¢z’—Wˆ Ž`Ù²ïQTT‚  L™Ò-ZðjÁ¦ˆ’å:q"11‡‘˜˜ ggŒÕÁÁ=áéÉÉß–ˆm2Ѻví.6l8‚Õ«€À¸q=1uj?8;;Hˆê G6èÑ£ ®^ÍömIX³æG,_~={>ŠÐÐÞœ_haxD‰¨Ž._¾˜˜Ãˆ=ŠÆíðê«Ï",¬/m¥ŽFõ€G”¨LÅÉß?þ˜†V­\1fŒFöá" ÀF‰HOgÎdcÕªƒøê«SðòrAHˆ/^}õYÎc03l”¨&—.]Ö-'°aÃQ•à…:âµ×úðKfŒ‘ŽÊ®ôÝwgѱ£ÂÂú`ĈîP(x $sÄF‰jsï^vî<…µk#55§|ò÷+¯<Å Çš6JDµ(»Ò¢Eßâôéß˯ôüóOH%ÒUròˆŽ>„]»NÃÎÎþþÞ ë–-]¥ŽFõ€Q Ê®´xñ>¤§_Ç€cÆŒеkK©£‘°Q"}]»v[·žÀºuG“s={>бcŸÁàÁyäÙ” 2 ‡J¥Rà­nVVÍ…»{„hÜø9¡T:Iž'22²Áj'22Ròý3Æ›µusamÝ\òÆxc=j»É„­máâ2B¸»G¹ÜÞ2ñ¦í¦T*Å¡C‡ªÕ$gŸš‰œœ”––">>^ê(f#?¿¾^“4Ç‚ ••Õ`ÛÏÊÊ‚fΜÙ`cù`=êçÎb4nì+u ÒÁ¨Q£““Síq6JfÆßß_êT϶nÝÚàcxyy±vH'¬G²4÷ÍTß„kcìµsçÎÌž=íÚµƒ½½=\\\0|øpìß¿¿NÛÓ'¯L&+¿¹»»#88¹¹¹:¯«ËcT™¥Õc™ääd <¸žRÖÎRëš’KKKCß¾}ñì³ÏâôéÓÈËËÃ’%K°eË©£•ËÎΆììì€;wî -- áááˆŠŠ’:žÅ2…Ú @nn.öìÙƒÛ·oãÂ… =z4>øàƒŒ/„€?ÿü3 ðúë¯d\KdÉõ˜——›zJ©EÖuƒ]^• *..Nèûç=z´øðÃk]æÂ… bäÈ‘ÂÅÅE4nÜXøùù‰ëׯ—?_qLbÁ‚ÂÓÓSÈd2!„………búôéÂÝÝ]¸¹¹‰éÓ§‹ÂÂÂJcTÍ]ñ~HHˆ˜={¶Ö}©ilmÙ‹ŠŠÄÔ©S…‹‹‹pssóæÍ«¶?eT*•øàƒÄÃ?,œÅ„ Ľ{÷*-»|ùrѪU+akk+|||DJJJùsoúò÷÷þþþz¯×Û7…Ú±³³·oß®5£¶14Õƒ>µ#„W®\®®®Z_—šjESýèR“U_ÓÚêTW¬Ç†«ÇšÞjËUSmhÛÏ’’ñÎ;-[ '''ñÅ_”?§KMUdNu]¶¸¸¸jóˆ’Û¿?‚‚‚j]ÆßßáááÈÊÊBff&<<<0{ölËÿðÃ8~ü8Ôj5à£>ÂÙ³g‘””„“'O"99ü±Î1~üx–­:¶¶ìü1~ûí7$''ãäÉ“HLLÔ¸íE‹áàÁƒ8pà.]º„’’¼û–Ù»w/<ˆ7n`РA˜ÕkCS=èS;ÙÙÙ"00PjÌ©éu©í1]j²êkª­NuÁzüKCÔ£¶¿½¦¿©¶q+îç#<¢ñh‹.5UÆÜêºl;5Qb£d&êÒ(¹¹¹‰K—.ÕºLRR’èß¿¿pvv.oN EùóUÿ#V«Õ•Ö·µµ­ôVPP lmmuÎèîî..\¸PãsÚÆÖ–½¦lšþ±³³³«v¨X.—׸¬¦|ueŒÿ0™BíT¤R©Ä™3gDpp°2dˆÎchúêR;e·fÍš‰1cƈk×® !ô{]j{L—š¬úšêºíÚ°ÿÒõ¨Ëûˆ¶¿©¾ï{éRSæZ×eëðÔU2`ÀÄÅÅÕºL`` ‚ƒƒqñâE”––âæÍ›P©T—¯ú-†-Z ==½üþÅ‹ááá¡sÆbíÚµ:-[ulmÙ=<<‘‘Q~ÿÒ¥K·Ý²eKddd”&BÔú:hËfêL¡v*’Ëåxâ‰'°hÑ":tèÇÐ¥vÊêäêÕ«ˆEÓ¦Mh]týv.5inu§‰¹Ô£­­-îß¿_~ÿÊ•+ZsU¥m?½¼¼pñâÅ×Õ¥¦,±®Ù(Y°÷Þ{QQQX¸p!²²²PTT„'Nà•W^)_&??ŽŽŽppp@ff&ÂÂÂô#((Ó§OGVV²²²0}úôjs ª}ÅûsçÎÅúõëñæ›o"55¸uëvïÞ­ulmÙGÈÈHdgg#;;3fÌи­)S¦ ,, ©©©(..FJJ uy Mš4AjjªÎË;S¨¾}û">>W¯^EII 2220kÖ,ôêÕK¯1j¢OíT¥íu©©VjzìAkÒœ˜K=vïÞ_|ñòóó‘‘‘I“&é•Q—ý?~<"""žžŽ[·n!22²ü¹©)³®k½M‘QªË©7!„8wîœðóóNNNÂÚÚZx{{‹­[·–?¿gÏѾ}{aee%Z¶l)¢¢¢4žŽ¨iü‚‚!ÜÜÜ„›››ˆˆˆ¨vØ·êzUïgffŠÑ¢E ¡T*…«««ðóóG­ulmÙ ÅäÉ“…³³³hÖ¬™øüóÏ5îJ¥QQQ¢C‡ÂÆÆFtêÔIìÚµ«Öñ+>6þ|áääT§¿‘1žêÂøkgÿþýÂÏÏO8;; [[[Ѻuk.rssuCSF}j§*m¯KMµRÓcZ“ºd­ ë±áê1%%Eøøø[[[ѪU+±|ùr­¹ª>¦m?‹‹‹Åþóáéé)œÅ‚ ÊŸ«KMé:®±×uÙ:5z“ýý$™¸øøx€Nó3jÔ(ýMqûd^Xd®d2âââÊk° O½iÀF‰ˆˆˆH6JDDDD°Q""""Ò€‘l”ˆˆˆˆ4`£DDDD¤RêT¿ª^ÿÁX äåÙ@.hÔ¨Ø`ãË‘—g '§B(•jí+cÇŽá™gžið1L¥vHZ¬G²4Š÷Þ{ï=©CЃsppÀÕ«Wþ‚“yyÖÈÎn„´4gää8@­–¡I“BƒçŽ-RS]ýîݳØÙ©`Ì?‰ååå<ñÄ 6F^^^ƒm›Ì ë‘ÌUçÎ ''§JóÊÜÔàRSs°sç)lÛv99·ae¥@I‰ 66J:4^^.Ë"„€Ÿßœ8‘…BµZÀÆF‰Aƒ:Ãϯúôi++…Áò‘qc£D ";ûS°iÓO8>ÖÖJ—–?/—ËðöÛ/cÊ”~Ï–ž~ýú}Š’’N½)• ”–ªaooAƒ:bèЮè×ï1(•œÆGDdÉØ(Q½¹zõþ÷¿_ñÕW?ã—_þ€B!Ciiõy@ …mÚ4Á¾}ÿ’ìèÍ‚{±pá·P©ªç+;âåìüFŒè†—_îoïÖÕ~œˆˆÌ%ªÓ¦Å⫯NA¡A­P«5—•\.Þ=‘èÒÅË€ ++)Q¡oßÏðûï¹56KeÊš¦–-]°sçëpwolÀ”DD$5žW záèh@ ´T]k“¤T*Ò[Ò& ø«Z¸0juíß|+)Q•Ïezè![¥#""cÁF‰êÅܹÃÑ­ÛÃP*5ŸJ“ËepqqÀ¿ÿ=È€É4ëÑ£ Fö©5³L(rÄĄࡇl ˜ŽˆˆŒ%ªVV ÄÄ„ qc;Èå5—•Z-0ož?Œ§áxçaprÒœ!*j4:uò4h.""2l”¨Þ4kÖAAOCˆš'HÒ/¼ÐQ‚dš9:ÚâÃGÖxý)¹\ŽV­\Ñ·ïc$#""cÀF‰êEqq)Þx#K—@ÿþª]ÀÑÊJ>ð“&œC‡>‰þý«t ÎÊJÜ‘—WˆaÃþÑ[AÝÁIDAT×%LHDDRa£DìÊ•;9r þ÷¿ÓˆŽž€ &á•Wž‚BñWyÉå2Ì™3̨¿1öÉ'¯”_3I¡ÃÅÅññS±oß›pp°ÁÀ󑘘"qJ""246Jô@ŽOÇ‹/ÎÇíÛؽ{ êøì³QhßÞÐ¥‹ÆŒiØß†zPžžÎ˜5k€¿»/¿ …‹‹ÜÝcÇŽi:´+BC×â£v×ú­>""2/¼ŽÕYlì1¼ýövôíÛ‹…£cå¯ÏgeÝ´iðùçxôQ7‰RêN¥R#,l^~ùIøùu«ö|ÙþöîÝK—¾ú÷%ˆˆÈœ±Q"½•bÖ¬­ˆOÂÔ©ý1{öÈå–qÕê“'3¶öö6ˆ‰™€šK‰ˆˆ%ÒËŸÞFhèZ\¾|Ë–½Š¾};HÉàrsïaÒ¤/ñë¯`á ¼ôR©#Qá%ÒÙÑ£ñâ‹óQTTŠÄÄ™Ù$€«ëCزe Æï…I“¾ÄGí®õgPˆˆÈtñˆi%„@LÌa¼ÿþ. ÒóçÂÞÞZêXFaûö“ø×¿âÑ­[+¬XŒ&M’:Õ#6JT«üü"Ìœ¹ ɘ5k0ÂÃHÉèœ9“‰×@¥R#&&Dòß±#"¢úÃF‰4º|ùBBÖàÚµ<,_>¾¾í¤Žd´nÞÌÇäÉë‘””ŽO?õG@@©#Q=à%ªÑþýç0hÐB(•r$&Îd“¤…‹‹6mš„ÐÐ>ˆŒÜŒ·ÞŠGI‰JêXDDô€xD‰*B`Ù²øä“=ðóëŽÏ?[[+©c™”;OáÍ7ãЩ“'V­¦MI‰ˆˆêˆ•»w¯3fl·ߞÁ¿ÿÍùHâܹ?1qâ«°zõxtëÖJêHDDTl”ž~!!k›{+V£gÏG¤Ždònß¾)SÖãØ±Køøã‘=ÚGêHDD¤'6J„ï¾;‹ˆˆX´k׫WÃÍÍx¼ÖÔ¨Tj,Zô-.ü£Gûà£FÂÊJ!u,""Ò% Vq>ÿoXeÍhûöͱjÕx¸¹9J‰ˆˆtÀFÉBݾ}S§nÀÑ£yZÈ@.]º†5¸y3+WãÙgyz“ˆÈرQ²@©©"$d ŠŠJ= èÞ½"LŸ¾ß}w–扈L% ³k×i¼ñÆtê䉕+Ç£Y3~uÝÐx ""ÓÁFÉB¨Tj|úi–.ݱcŸá|$#°ÿ9„‡Ç¢eKÄÄ„ÀËËEêHDDT% póf>¦LY'øóƦâÏĬX1½zñ èDDÆ„’™«øƒ­ÑÑðä“-¥ŽDUäç!2r3¾ù&…󖈈Œ %3¶}ûI¼õÖVtíÚ+V£I“‡¤ŽD”Í[úôÓ¼üò“˜??vvÖRÇ""²xl”ÌPi©Ÿ}–€eË $Äsæ ƒRÉß?6G^ÄäÉ_¢Y3GÄÄ„ U+W©#Y46Jf&7÷&Oþ¿üò,ÄË/?)u$ÒÓŸÞÆÄ‰k™™‹åËÇ¡OŸöRG""²Xl”Ìȯ¿þÐе°²R`ÍštèÐ\êHTGEE¥˜5k+¶m;‰3žÇÌ™!“ɤŽEDdqØ(™‰ØØcxûííèÝ»–,‹Æí¥ŽDõ ìïÚ¯ßcˆŠGG[©#Y6J&®¸¸ÿùÏvlÞ|S§öÇìÙC —óȃ99~<¯½¶ŽŽvX³&>ê&u$""‹ÁFÉ„]¹r¡¡kñÛoWðÿ7ƒu’:5œœÛ [Ç¿5‘±Q2QǧcÒ¤uhÔˆG,%T6o¥oßX¼x,ç­X˜ŠóÑ–.}ŽŽvRG""2[l”LHÙ7¡âã“xDÁÂ<™°°u°··ALÌ~ш¨°Q2þy¡¡kqùò ,[ö*úöí u$’Xnî=Lšô%~ýõ,\„—^ê"u$""³ÃË5›€£G/âÅ磨¨‰‰3Ù$ÀÕõ!lÙ2ãÇ÷¤I_â£vC¥RK‹ˆÈ¬ðˆ’B &æ0Þ† é‚ùóaoÏßÿ¢ê¶o?‰ý+ݺµÂÊ•ÁpuåïúÕ6JF*?¿3gnABB2fÍâ/Ê“vgÎdcâÄ5P«¢£' K/©#™<6JFèòå Yƒk×ò°|ù8øú¶“:™ˆ›7ó1yòz$%¥ãÓOýÐCêHDD&s”ŒÌþýç0hÐB(•r$&Îd“DzqqqÀ¦M“Ú‘‘›ñÖ[ñ()QI‹ˆÈdñˆ’‘B`Ù²øä“=ðóëŽÏ?[[+©c‘ Û¹óÞx#;{bÕªñhÚ´‘Ô‘ˆˆLNµF©°° P©ø)ÔNŸ¾ Òàç×¾¾îRÇ18…BÁƒÃÖ¶a.ži©u˜˜ ðòrÀ„ í¥ŽcQÜÝÝáëë+u "z@Õ¥;v`äÈ‘Rå±hJ¥+JKs¥Ž!™íÛ·cĈ ²mK®k¹Ü€ju¾ÔQ,ŠR©DII‰Ô1ˆè)«>PZZ à¯SAD†"“ÉÊk¯!°®Éâãã u "ªœÌMDDD¤%"""" Ø(iÀFÉÉd2©#«k}HYW¬i"j(FÓ(ñMV–¼ï†`꯯)æ7ÅÌDd¼ê­Q:þ]¸»» 7771}útQXXXiŒª¹«nS“ªË-_¾\´jÕJØÚÚ ‘’’Rþ¼J¥|ðxøá‡…³³³˜0a‚¸wïž^ûYußBBBÄìÙ³k}ý4­«m¼¢¢"1uêTáââ"ÜÜÜļyó4¾.Úö­¶×@¥›¾ˆ¸¸8½×Ó•¥Ôu^^ž°³³Ó9Ÿ>õ¡Ï¾ZzM×¥ÞˆÈ8ÕË¥ýû÷#((¨Öeüýýެ¬,dffÂÃógÏÖ¸ü?ü€ãÇC­V>úè#œ={III8yò$’““ññÇ×GüjöîÝ‹ƒâÆ4h&Ož\þÜ¢E‹pðàA8p—.]BII Þ}÷]½ö³ê¾%&&büøñ:e«º®¶ñ>þøcüöÛoHNNÆÉ“'‘˜˜¨qÛÚö­¶×Fü}ºCü}tØZ]ß¼yóæÍC§NtΧO}賯¬i"2U;§º|R*•¢  @¯uîܹ#<==Ëï£Ê'ÂË—/WZ¾M›6âìÙ³å÷SRRDÛ¶mu¯¶}ª:vNNNùýüüüJŸÐ;tè Ο?_~ÿÊ•+¢U«V·]Ó~VÝ7¥R)îß¿_-ª|’­i]mãµmÛ¶ÚëVu›ºî›¶×Fߺ©FxDÉTêºâ­yóæ"##Cç|úÔ‡¶mU\ÖÒkšG”ˆÌG½4JnnnâÒ¥Kµ.“””$ú÷ï/œËß, Å?Aª¼Ñ©ÕêJëÛÚÚVúG«  @ØÚÚêœQŸF©¶çíììªýã$—ËËŸ×e?«î›»»»¸pá‚NÙª®«m¼š^7Mû«mß´½6æÖ(™R]«Õj‘––&zõê%vìØ¡s>}êCŸ}µôšf£Dd>êåÔÛ€Wë2ÆÅ‹QZZŠ›7oÖúKîU¿mÒ¢E ¤§§—ß¿xñ"<<<,x´lÙå‡ã…•öC—ý¬ºoÄÚµku¿êºÚÆóðð@FFFùýK—.ÕyßôÍfêL©®e2yälܸS§NÅÝ»wuʧO}賯¬i"2õÒ(½÷Þ{ˆŠŠÂÂ… ‘••…¢¢"œ8q¯¼òJù2ùùùptt„ƒƒ233¦×AAA˜>}:²²²••…éÓ§W›?RõM­!Þä¦L™‚°°0¤¦¦¢¸¸))) ,¾.û9wî\¬_¿o¾ù&RSSQPP€[·na÷îÝZ×Õ6ÞèÑ£‰ììldggcÆŒuÞ7mš4i‚ÔÔT—7v¦X×-[¶D¯^½°iÓ&òéSúì+kšˆÌFÕCLu=d|îÜ9áçç'œœœ„µµµðöö[·n-~Ïž=¢}ûöÂÊÊJ´lÙRDEEi<Ä]Óø"""B¸¹¹ 777QmþHÕõªn³¦›.cW|L¥R‰¨¨(Ñ¡Cacc#:uê$víÚU§ý¬(33S„„„ˆ-Z¥R)\]]…ŸŸŸ8zôh­ëj¯°°PLž cairomm: cairo_matrix_t Class Reference
cairo_matrix_t Class Reference

See the cairo_matrix_t reference in the cairo manual for more information. More...

Inheritance diagram for cairo_matrix_t:

Detailed Description

See the cairo_matrix_t reference in the cairo manual for more information.


The documentation for this class was generated from the following file:
  • cairomm/matrix.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1RadialGradient.html0000644000000000000000000000013213012573355025016 xustar0030 mtime=1479210733.153939776 30 atime=1479210733.153939776 30 ctime=1479210737.569938597 cairomm-1.12.2/docs/reference/html/classCairo_1_1RadialGradient.html0000644000175000017500000010621013012573355026514 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::RadialGradient Class Reference
Inheritance diagram for Cairo::RadialGradient:

Public Member Functions

 RadialGradient (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
void get_radial_circles (double& x0, double& y0, double& r0, double& x1, double& y1, double& r1) const
 Gets the gradient endpoint circles for a radial gradient, each specified as a center coordinate and a radius. More...
 
 ~RadialGradient () override
 
- Public Member Functions inherited from Cairo::Gradient
 Gradient (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~Gradient () override
 
void add_color_stop_rgb (double offset, double red, double green, double blue)
 Adds an opaque color stop to a gradient pattern. More...
 
void add_color_stop_rgba (double offset, double red, double green, double blue, double alpha)
 Adds a translucent color stop to a gradient pattern. More...
 
std::vector< ColorStopget_color_stops () const
 Gets the color stops and offsets for this Gradient. More...
 
- Public Member Functions inherited from Cairo::Pattern
 Pattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Pattern (const Pattern&)=delete
 
Patternoperator= (const Pattern&)=delete
 
virtual ~Pattern ()
 
void set_matrix (const Matrix& matrix)
 Sets the pattern's transformation matrix to . More...
 
void get_matrix (Matrix& matrix) const
 Returns the pattern's transformation matrix. More...
 
Matrix get_matrix () const
 Returns the pattern's transformation matrix. More...
 
void set_matrix (const cairo_matrix_t& matrix)
 
void get_matrix (cairo_matrix_t& matrix) const
 
PatternType get_type () const
 Returns the type of the pattern. More...
 
void set_extend (Extend extend)
 Sets the mode to be used for drawing outside the area of a pattern. More...
 
Extend get_extend () const
 Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 

Static Public Member Functions

static RefPtr< RadialGradientcreate (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1)
 Creates a new radial gradient #cairo_pattern_t between the two circles defined by (cx0, cy0, radius0) and (cx1, cy1, radius1). More...
 

Protected Member Functions

 RadialGradient (double cx0, double cy0, double radius0, double cx1, double cy1, double radius1)
 
- Protected Member Functions inherited from Cairo::Gradient
 Gradient ()
 
- Protected Member Functions inherited from Cairo::Pattern
 Pattern ()
 

Additional Inherited Members

- Public Types inherited from Cairo::Pattern
typedef cairo_pattern_t cobject
 
- Protected Attributes inherited from Cairo::Pattern
cobjectm_cobject
 

Constructor & Destructor Documentation

Cairo::RadialGradient::RadialGradient ( double  cx0,
double  cy0,
double  radius0,
double  cx1,
double  cy1,
double  radius1 
)
protected
Cairo::RadialGradient::RadialGradient ( cairo_pattern_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::RadialGradient::~RadialGradient ( )
override

Member Function Documentation

static RefPtr<RadialGradient> Cairo::RadialGradient::create ( double  cx0,
double  cy0,
double  radius0,
double  cx1,
double  cy1,
double  radius1 
)
static

Creates a new radial gradient #cairo_pattern_t between the two circles defined by (cx0, cy0, radius0) and (cx1, cy1, radius1).

Before using the gradient pattern, a number of color stops should be defined using Cairo::Gradient::add_color_stop_rgb() or Cairo::Gradient::add_color_stop_rgba().

Note
The coordinates here are in pattern space. For a new pattern, pattern space is identical to user space, but the relationship between the spaces can be changed with Cairo::Pattern::set_matrix().
Parameters
cx0x coordinate for the center of the start circle
cy0y coordinate for the center of the start circle
radius0radius of the start circle
cx1x coordinate for the center of the end circle
cy1y coordinate for the center of the end circle
radius1radius of the end circle
void Cairo::RadialGradient::get_radial_circles ( double &  x0,
double &  y0,
double &  r0,
double &  x1,
double &  y1,
double &  r1 
) const

Gets the gradient endpoint circles for a radial gradient, each specified as a center coordinate and a radius.

Parameters
x0return value for the x coordinate of the center of the first (inner) circle
y0return value for the y coordinate of the center of the first (inner) circle
r0return value for the radius of the first (inner) circle
x1return value for the x coordinate of the center of the second (outer) circle
y1return value for the y coordinate of the center of the second (outer) circle
r1return value for the radius of the second (outer) circle
Since
1.4

The documentation for this class was generated from the following file:
  • cairomm/pattern.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_r.html0000644000000000000000000000013213012573355022031 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.153939776 30 ctime=1479210737.657938574 cairomm-1.12.2/docs/reference/html/functions_r.html0000644000175000017500000001573313012573355023540 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- r -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/nav_h.png0000644000000000000000000000013213012573353020411 xustar0030 mtime=1479210731.909940118 30 atime=1479210731.909940118 30 ctime=1479210737.697938563 cairomm-1.12.2/docs/reference/html/nav_h.png0000644000175000017500000000014213012573353022104 0ustar00murraycmurrayc00000000000000‰PNG  IHDR ,é@)IDATxíÝA @BQ­³šÛ›Ð¢Žáà) )ëý éaÅèÜ¿Æo‡RlÐßIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_vars.html0000644000000000000000000000013213012573355022543 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.661938573 cairomm-1.12.2/docs/reference/html/functions_vars.html0000644000175000017500000001001513012573355024236 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Variables cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1SolidPattern__inherit__graph.png0000644000000000000000000000013213012573354027574 xustar0030 mtime=1479210732.557939939 30 atime=1479210732.557939939 30 ctime=1479210737.581938594 cairomm-1.12.2/docs/reference/html/classCairo_1_1SolidPattern__inherit__graph.png0000644000175000017500000000641613012573354031301 0ustar00murraycmurrayc00000000000000‰PNG  IHDR—pÞâCbKGDÿÿÿ ½§“ ÃIDATxœíÝ{LSgðo¹ƒÈ­Eê@pÊ›±?\&s3KcÉÞýã&)Ì ÙfÔqß–%»‡s3Y.Qt_Ó 0§ÑmîHòfSAP¦BDfg¡²–ñÊèJ×–çýCéhéé…õY-û}’ÆžÓçœçwž~9==m="Æ!ž§ðóvdþ¢pn(\„ á&ÀÓ+|íµ× R©<½ZÂYff&233=ºNï¹víÚ…ëׯ{zµ„£ï¿ÿ …Âãëõøž JKK±~ýz«&ðz®è˜‹pCá"ÜP¸7.Âͼ—H$òv ÄŽ;"\}}}X·nÄb1‚‚‚’’‚ææf——çýÙ»H$²Ü¤R)rss1::êò²®Ì›¼®+W® 55«W¯Fww7ÆÇÇQ[[‹††o—f…1ƺºº ×ëQTTäí’î|ÌÃ°ÆÆF—Ûçää°;v8lÓßßÏÖ­[Ç¢¢¢Xxx8[»v-Óh4V}μ_YYÉâââ˜H$bŒ1699ÉŠ‹‹™T*e111¬¸¸˜MNNΪ[hÚö±7n0±Xì´6V7¡yŒ1f6›Ùûï¿Ï–.]Ê"##Y^^›˜˜p¸]ØîÝ»YBB f<òëííu8–ödff²ÌÌL·—s¢Éë{®ï¾ûÙÙÙÛdff"??*• J¥±±±xë­·ÛŸ:u §OŸÆÔÔàƒ>ÀÅ‹qöìYtvvâÂ… øðÃç\óôK¤³ÚØí—kv{¯'4ªªªÐÞÞŽÖÖV\½zF£eee· Nž<‰öövhµZ<ýôÓØ²eËœ·Ëã<W¸¹ç `z½Þ­>nÞ¼Éâââ¬úœyÿÚµkVí—-[Æ.^¼h™îííeË—/w¹¿™ëb2™ŒÉd2·ks4/))‰õõõY¦oܸÁ¬–±Ý.L­V[¦u:»ë®»œoy»ç‹Åvئ³³éééˆŠŠ‚H$Bxx8Ôjµ`ûøøx«éááa,[¶Ì2˜˜ˆ¡¡!·êœÞ[­\¹þþþ¨®®žSmB”J%’’’¬Þ8Ø~Fk»] •J-÷CBB ×ëÝ‡+==ÛÈd2äææb``&“ ¿þú+Ìf³`{Ûwcwß}7-Óˆu«Nvûelddr¹ÑÑÑ.Õæê»ÅøøxüôÓO–~c³¶Ñ×Þez=\ï½÷ª««±k×.¨T* œ9sÏ=÷œ¥N§CXXBCC¡T*±iÓ&·úÈÎÎFqq1T*T*Š‹‹gçÙ>q®>‘Îj“H$¸|ù²Óy[·nŦM›pùòeüñÇèíí…L&suïLž~¡…›Ç\Œ1véÒ%¶víZÁ,XÀRRR˜B¡°<~âÄ vï½÷²ÀÀ@Ϫ««ßÍÙÛ$½^Ï YLL ‹‰‰a………³Žól—s¶NWkûøãYDD„Óyf³™UWW³¤¤$ÄV¬XÁŽ=ê°Wç9Ãë˜Kt» ‰Dhll¤¯Üøé窩©É“«¥_ÿ~(\„ á†ÂE¸¡pn(\„ á†ËOË~øáŸû¨âŸìúõëX²d‰çWìéÓ²qqq³¾³4nbñoˆ¼^ [ii©§£Ðäñ=×|ýµõÛo7ãàÁÿâĉ¬^èír|s¹Àh4ãÈ‘s`ù—8GárAGG?nÞœ|þy7ŒFá¯û?Q¸\päÈ9ܪߟD{{Ÿ—+ò .' ¾ü²&Ó­½•¿¿ZZº¼\•o p9qòd/ £eÚdšÂW_õB§3x±*ß@ár¢¥¥ ~~ÖçìŒF3¾þú¢—*ò.ÆÇõhkëƒÉ4e5ßÏhiéôRU¾ƒÂåÀ‰ç­~#8Ílf8uªcc:/Tå;(\47wÁѧXÇŸÿûŠñA.##ã8}ú*Ìfû?1˜šbhn>û7Wå[(\Žëžu ?c J¨Õÿû«ò-.--0›goÍÄØ­3öÄ>._¹™ •†[¦Íæ) &„„,°jG óøïç«cÇz°eË0<¼ËÛ¥ø úÝ"á‡ÂE¸¡pn(\„ á†ÂE¸¡pn(\„ á†ÂE¸¡pn(\„ á†ÂE¸¡pn(\„ á†ÂE¸¡pn(\„ á†ÂE¸¡pn(\„ á†ÂE¸¡pn(\„ á†ÂE¸¡pn(\„ áÇö Œ, Àë—¼Ónþþ Ypð¿¼^Çx‹uíbžjµ&“ Û¶m³}ˆY.]º…Ba÷1Áÿp755•W=ä‚޹7. …‹pCárCZZ—¶óÕ._{2|­^oðØåY~þùg|òÉ'èéé^¯ÇòåË‘ÇÜ¥åÛÚÚÂÂÂ\ZÖ¶/{óîD —J¥BII d2 ‰444¸.ÞÊË˃;wB*•bbb===8tèМÂå®é0hµZÔÕÕ¡ººï¾û.÷~½É#á:xð 222°~ýz˼ûî»ååå–i•J…}ûö¡»»SSSHNNÆë¯¿Žðð[ošùט––†W_} …Z­­­­0¨¯¯G[[cxâ‰'°yófZú°ý‹ž9}á´´´ 44ÔÔT«óy®ôaoÝ&“ µµµhmmE@@€Õ8Ø’H$(**ÂÆŽËôoúß¶¶6»ó€1¹\Ž/¾ø:=öŠŠŠ,8¦iii(--ÅáÇ166†ÄÄD¼ñƸçž{ëw‡G޹Î;‡ôôt‡m¶mÛ†gŸ} …H$Ø·oŸ`ûóçÏc÷îÝhmmÈår\»v {öìA}}=!—Ë]®ñ@EE~üñG »mæÚ‡\.‡J¥ÂP__3gÎ8l/‰ º} ZGã2œ¶¶6«û¶ó ¹¹===¨¬¬Ä§Ÿ~ “É„Xõk;¦pöìYTUUáèÑ£Xµj*++n¯«<®ññqˆÅb‡möïß•+W"((¡¡¡xå•W> ………Vëüæ›oPXXˆèèhDGG£°°ß~û­Õ2¶Ç!3§ËÊʪª*¬Y³999سgtº?¯SíJöL/'‘H,Ë EMM |ðÁ9‹ãÇ£¤¤‹/ÆÂ… ±uëVtttXµ±S(--…T*Epp0²²²påÊ·û⑗۰0ŒŽŽbñâÅ‚múûûQ__üöÛo??ál/Z´ÈjÚvý±±±Ðjµ.ׂ¼¼<äåå1¥R‰††ìر;wîüK}hµÚYËÙš~‹ˆˆÀC=„üü|î‹‘‘¼øâ‹VóD6è¶SˆŠŠ²Ü ܫυG•œœŒÖÖV<ÿüó‚m¶oߎÜÜ\<úè£ …N§Ãš5kÛÛŒX,†Z­FBB`hh‰dNõŠD",]ºÈÊÊúË}H$«å†‡‡gµzwçl\lÇAhÞ¢E‹ðÑGA*• Öio9ž<ò²¸qãF|öÙgP(Ðh40èëë³úfÅää$BBBŒ‘‘TTT¸ÕGzz:jjj Ñh ÑhPSS3ë8ÏöÜÓÌé’’´··cll &“ jµ{÷îÅŠ+ÜêÞ'Ÿ|uuuÐjµÐjµ¨­­uy»œKxx8”J¥ÓyÏ<ó *** T*a2™088ˆíÛ·»\ÙsÅÅÅ¡²²û÷ïÇ¡C‡099‰ÄÄDÈd2K›7ß|uuu(//GTT²²²f8ò / ¾¾›7op+86lpyùÜÜ\9r•••0 ‹ÅXµjÞyç¿Üdž P[[‹—^z þþþÉdèêêr©.gã’““ƒ‚‚LLLXö~öæedd@$¡¬¬ jµK–,ÁË/¿ìòøð0ë2ÄMMMÈÊÊò‰“tÄûÚÛÛQ^^;W³¦Ë~(\„ á†ÂE¸¡pn(\„ áFð$ê̯Ë"ä—_~|lV¸~øaÈd2˜Íf®E‘ù!::O=õ”ÝÇf¡'ÄCè =á‡ÂE¸¡pn(\„›ÿ´IGï™#YIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/namespaces.html0000644000000000000000000000013213012573355021617 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.697938563 cairomm-1.12.2/docs/reference/html/namespaces.html0000644000175000017500000000510013012573355023311 0ustar00murraycmurrayc00000000000000 cairomm: Namespace List
Namespace List
Here is a list of all namespaces with brief descriptions:
 NCairo
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/doxygen.css0000644000000000000000000000013213012573353020777 xustar0030 mtime=1479210731.929940113 30 atime=1479210731.925940113 30 ctime=1479210737.621938584 cairomm-1.12.2/docs/reference/html/doxygen.css0000644000175000017500000006162713012573353022511 0ustar00murraycmurrayc00000000000000/* The standard CSS for doxygen 1.8.9.1 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; } /* @group Heading Levels */ h1.groupheader { font-size: 150%; } .title { font: 400 14px/28px Roboto,sans-serif; font-size: 150%; font-weight: bold; margin: 10px 2px; } h2.groupheader { border-bottom: 1px solid #879ECB; color: #354C7B; font-size: 150%; font-weight: normal; margin-top: 1.75em; padding-top: 8px; padding-bottom: 4px; width: 100%; } h3.groupheader { font-size: 100%; } h1, h2, h3, h4, h5, h6 { -webkit-transition: text-shadow 0.5s linear; -moz-transition: text-shadow 0.5s linear; -ms-transition: text-shadow 0.5s linear; -o-transition: text-shadow 0.5s linear; transition: text-shadow 0.5s linear; margin-right: 15px; } h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { text-shadow: 0 0 15px cyan; } dt { font-weight: bold; } div.multicol { -moz-column-gap: 1em; -webkit-column-gap: 1em; -moz-column-count: 3; -webkit-column-count: 3; } p.startli, p.startdd { margin-top: 2px; } p.starttd { margin-top: 0px; } p.endli { margin-bottom: 0px; } p.enddd { margin-bottom: 4px; } p.endtd { margin-bottom: 2px; } /* @end */ caption { font-weight: bold; } span.legend { font-size: 70%; text-align: center; } h3.version { font-size: 90%; text-align: center; } div.qindex, div.navtab{ background-color: #EBEFF6; border: 1px solid #A3B4D7; text-align: center; } div.qindex, div.navpath { width: 100%; line-height: 140%; } div.navtab { margin-right: 15px; } /* @group Link Styling */ a { color: #3D578C; font-weight: normal; text-decoration: none; } .contents a:visited { color: #4665A2; } a:hover { text-decoration: underline; } a.qindex { font-weight: bold; } a.qindexHL { font-weight: bold; background-color: #9CAFD4; color: #ffffff; border: 1px double #869DCA; } .contents a.qindexHL:visited { color: #ffffff; } a.el { font-weight: bold; } a.elRef { } a.code, a.code:visited, a.line, a.line:visited { color: #4665A2; } a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { color: #4665A2; } /* @end */ dl.el { margin-left: -1cm; } pre.fragment { border: 1px solid #C4CFE5; background-color: #FBFCFD; padding: 4px 6px; margin: 4px 8px 4px 2px; overflow: auto; word-wrap: break-word; font-size: 9pt; line-height: 125%; font-family: monospace, fixed; font-size: 105%; } div.fragment { padding: 4px 6px; margin: 4px 8px 4px 2px; background-color: #FBFCFD; border: 1px solid #C4CFE5; } div.line { font-family: monospace, fixed; font-size: 13px; min-height: 13px; line-height: 1.0; text-wrap: unrestricted; white-space: -moz-pre-wrap; /* Moz */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: pre-wrap; /* CSS3 */ word-wrap: break-word; /* IE 5.5+ */ text-indent: -53px; padding-left: 53px; padding-bottom: 0px; margin: 0px; -webkit-transition-property: background-color, box-shadow; -webkit-transition-duration: 0.5s; -moz-transition-property: background-color, box-shadow; -moz-transition-duration: 0.5s; -ms-transition-property: background-color, box-shadow; -ms-transition-duration: 0.5s; -o-transition-property: background-color, box-shadow; -o-transition-duration: 0.5s; transition-property: background-color, box-shadow; transition-duration: 0.5s; } div.line.glow { background-color: cyan; box-shadow: 0 0 10px cyan; } span.lineno { padding-right: 4px; text-align: right; border-right: 2px solid #0F0; background-color: #E8E8E8; white-space: pre; } span.lineno a { background-color: #D8D8D8; } span.lineno a:hover { background-color: #C8C8C8; } div.ah, span.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px; padding: 0.2em; border: solid thin #333; border-radius: 0.5em; -webkit-border-radius: .5em; -moz-border-radius: .5em; box-shadow: 2px 2px 3px #999; -webkit-box-shadow: 2px 2px 3px #999; -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); } div.classindex ul { list-style: none; padding-left: 0; } div.classindex span.ai { display: inline-block; } div.groupHeader { margin-left: 16px; margin-top: 12px; font-weight: bold; } div.groupText { margin-left: 16px; font-style: italic; } body { background-color: white; color: black; margin: 0; } div.contents { margin-top: 10px; margin-left: 12px; margin-right: 8px; } td.indexkey { background-color: #EBEFF6; font-weight: bold; border: 1px solid #C4CFE5; margin: 2px 0px 2px 0; padding: 2px 10px; white-space: nowrap; vertical-align: top; } td.indexvalue { background-color: #EBEFF6; border: 1px solid #C4CFE5; padding: 2px 10px; margin: 2px 0px; } tr.memlist { background-color: #EEF1F7; } p.formulaDsp { text-align: center; } img.formulaDsp { } img.formulaInl { vertical-align: middle; } div.center { text-align: center; margin-top: 0px; margin-bottom: 0px; padding: 0px; } div.center img { border: 0px; } address.footer { text-align: right; padding-right: 12px; } img.footer { border: 0px; vertical-align: middle; } /* @group Code Colorization */ span.keyword { color: #008000 } span.keywordtype { color: #604020 } span.keywordflow { color: #e08000 } span.comment { color: #800000 } span.preprocessor { color: #806020 } span.stringliteral { color: #002080 } span.charliteral { color: #008080 } span.vhdldigit { color: #ff00ff } span.vhdlchar { color: #000000 } span.vhdlkeyword { color: #700070 } span.vhdllogic { color: #ff0000 } blockquote { background-color: #F7F8FB; border-left: 2px solid #9CAFD4; margin: 0 24px 0 4px; padding: 0 12px 0 16px; } /* @end */ /* .search { color: #003399; font-weight: bold; } form.search { margin-bottom: 0px; margin-top: 0px; } input.search { font-size: 75%; color: #000080; font-weight: normal; background-color: #e8eef2; } */ td.tiny { font-size: 75%; } .dirtab { padding: 4px; border-collapse: collapse; border: 1px solid #A3B4D7; } th.dirtab { background: #EBEFF6; font-weight: bold; } hr { height: 0px; border: none; border-top: 1px solid #4A6AAA; } hr.footer { height: 1px; } /* @group Member Descriptions */ table.memberdecls { border-spacing: 0px; padding: 0px; } .memberdecls td, .fieldtable tr { -webkit-transition-property: background-color, box-shadow; -webkit-transition-duration: 0.5s; -moz-transition-property: background-color, box-shadow; -moz-transition-duration: 0.5s; -ms-transition-property: background-color, box-shadow; -ms-transition-duration: 0.5s; -o-transition-property: background-color, box-shadow; -o-transition-duration: 0.5s; transition-property: background-color, box-shadow; transition-duration: 0.5s; } .memberdecls td.glow, .fieldtable tr.glow { background-color: cyan; box-shadow: 0 0 15px cyan; } .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { background-color: #F9FAFC; border: none; margin: 4px; padding: 1px 0 0 8px; } .mdescLeft, .mdescRight { padding: 0px 8px 4px 8px; color: #555; } .memSeparator { border-bottom: 1px solid #DEE4F0; line-height: 1px; margin: 0px; padding: 0px; } .memItemLeft, .memTemplItemLeft { white-space: nowrap; } .memItemRight { width: 100%; } .memTemplParams { color: #4665A2; white-space: nowrap; font-size: 80%; } /* @end */ /* @group Member Details */ /* Styles for detailed member documentation */ .memtemplate { font-size: 80%; color: #4665A2; font-weight: normal; margin-left: 9px; } .memnav { background-color: #EBEFF6; border: 1px solid #A3B4D7; text-align: center; margin: 2px; margin-right: 15px; padding: 2px; } .mempage { width: 100%; } .memitem { padding: 0; margin-bottom: 10px; margin-right: 5px; -webkit-transition: box-shadow 0.5s linear; -moz-transition: box-shadow 0.5s linear; -ms-transition: box-shadow 0.5s linear; -o-transition: box-shadow 0.5s linear; transition: box-shadow 0.5s linear; display: table !important; width: 100%; } .memitem.glow { box-shadow: 0 0 15px cyan; } .memname { font-weight: bold; margin-left: 6px; } .memname td { vertical-align: bottom; } .memproto, dl.reflist dt { border-top: 1px solid #A8B8D9; border-left: 1px solid #A8B8D9; border-right: 1px solid #A8B8D9; padding: 6px 0px 6px 0px; color: #253555; font-weight: bold; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); background-image:url('nav_f.png'); background-repeat:repeat-x; background-color: #E2E8F2; /* opera specific markup */ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); border-top-right-radius: 4px; border-top-left-radius: 4px; /* firefox specific markup */ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; /* webkit specific markup */ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; } .memdoc, dl.reflist dd { border-bottom: 1px solid #A8B8D9; border-left: 1px solid #A8B8D9; border-right: 1px solid #A8B8D9; padding: 6px 10px 2px 10px; background-color: #FBFCFD; border-top-width: 0; background-image:url('nav_g.png'); background-repeat:repeat-x; background-color: #FFFFFF; /* opera specific markup */ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); /* firefox specific markup */ -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; /* webkit specific markup */ -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px; -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); } dl.reflist dt { padding: 5px; } dl.reflist dd { margin: 0px 0px 10px 0px; padding: 5px; } .paramkey { text-align: right; } .paramtype { white-space: nowrap; } .paramname { color: #602020; white-space: nowrap; } .paramname em { font-style: normal; } .paramname code { line-height: 14px; } .params, .retval, .exception, .tparams { margin-left: 0px; padding-left: 0px; } .params .paramname, .retval .paramname { font-weight: bold; vertical-align: top; } .params .paramtype { font-style: italic; vertical-align: top; } .params .paramdir { font-family: "courier new",courier,monospace; vertical-align: top; } table.mlabels { border-spacing: 0px; } td.mlabels-left { width: 100%; padding: 0px; } td.mlabels-right { vertical-align: bottom; padding: 0px; white-space: nowrap; } span.mlabels { margin-left: 8px; } span.mlabel { background-color: #728DC1; border-top:1px solid #5373B4; border-left:1px solid #5373B4; border-right:1px solid #C4CFE5; border-bottom:1px solid #C4CFE5; text-shadow: none; color: white; margin-right: 4px; padding: 2px 3px; border-radius: 3px; font-size: 7pt; white-space: nowrap; vertical-align: middle; } /* @end */ /* these are for tree view inside a (index) page */ div.directory { margin: 10px 0px; border-top: 1px solid #9CAFD4; border-bottom: 1px solid #9CAFD4; width: 100%; } .directory table { border-collapse:collapse; } .directory td { margin: 0px; padding: 0px; vertical-align: top; } .directory td.entry { white-space: nowrap; padding-right: 6px; padding-top: 3px; } .directory td.entry a { outline:none; } .directory td.entry a img { border: none; } .directory td.desc { width: 100%; padding-left: 6px; padding-right: 6px; padding-top: 3px; border-left: 1px solid rgba(0,0,0,0.05); } .directory tr.even { padding-left: 6px; background-color: #F7F8FB; } .directory img { vertical-align: -30%; } .directory .levels { white-space: nowrap; width: 100%; text-align: right; font-size: 9pt; } .directory .levels span { cursor: pointer; padding-left: 2px; padding-right: 2px; color: #3D578C; } .arrow { color: #9CAFD4; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer; font-size: 80%; display: inline-block; width: 16px; height: 22px; } .icon { font-family: Arial, Helvetica; font-weight: bold; font-size: 12px; height: 14px; width: 16px; display: inline-block; background-color: #728DC1; color: white; text-align: center; border-radius: 4px; margin-left: 2px; margin-right: 2px; } .icona { width: 24px; height: 22px; display: inline-block; } .iconfopen { width: 24px; height: 18px; margin-bottom: 4px; background-image:url('folderopen.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; display: inline-block; } .iconfclosed { width: 24px; height: 18px; margin-bottom: 4px; background-image:url('folderclosed.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; display: inline-block; } .icondoc { width: 24px; height: 18px; margin-bottom: 4px; background-image:url('doc.png'); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; display: inline-block; } table.directory { font: 400 14px Roboto,sans-serif; } /* @end */ div.dynheader { margin-top: 8px; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } address { font-style: normal; color: #2A3D61; } table.doxtable { border-collapse:collapse; margin-top: 4px; margin-bottom: 4px; } table.doxtable td, table.doxtable th { border: 1px solid #2D4068; padding: 3px 7px 2px; } table.doxtable th { background-color: #374F7F; color: #FFFFFF; font-size: 110%; padding-bottom: 4px; padding-top: 5px; } table.fieldtable { /*width: 100%;*/ margin-bottom: 10px; border: 1px solid #A8B8D9; border-spacing: 0px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); } .fieldtable td, .fieldtable th { padding: 3px 7px 2px; } .fieldtable td.fieldtype, .fieldtable td.fieldname { white-space: nowrap; border-right: 1px solid #A8B8D9; border-bottom: 1px solid #A8B8D9; vertical-align: top; } .fieldtable td.fieldname { padding-top: 3px; } .fieldtable td.fielddoc { border-bottom: 1px solid #A8B8D9; /*width: 100%;*/ } .fieldtable td.fielddoc p:first-child { margin-top: 0px; } .fieldtable td.fielddoc p:last-child { margin-bottom: 2px; } .fieldtable tr:last-child td { border-bottom: none; } .fieldtable th { background-image:url('nav_f.png'); background-repeat:repeat-x; background-color: #E2E8F2; font-size: 90%; color: #253555; padding-bottom: 4px; padding-top: 5px; text-align:left; -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom: 1px solid #A8B8D9; } .tabsearch { top: 0px; left: 10px; height: 36px; background-image: url('tab_b.png'); z-index: 101; overflow: hidden; font-size: 13px; } .navpath ul { font-size: 11px; background-image:url('tab_b.png'); background-repeat:repeat-x; background-position: 0 -5px; height:30px; line-height:30px; color:#8AA0CC; border:solid 1px #C2CDE4; overflow:hidden; margin:0px; padding:0px; } .navpath li { list-style-type:none; float:left; padding-left:10px; padding-right:15px; background-image:url('bc_s.png'); background-repeat:no-repeat; background-position:right; color:#364D7C; } .navpath li.navelem a { height:32px; display:block; text-decoration: none; outline: none; color: #283A5D; font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); text-decoration: none; } .navpath li.navelem a:hover { color:#6884BD; } .navpath li.footer { list-style-type:none; float:right; padding-left:10px; padding-right:15px; background-image:none; background-repeat:no-repeat; background-position:right; color:#364D7C; font-size: 8pt; } div.summary { float: right; font-size: 8pt; padding-right: 5px; width: 50%; text-align: right; } div.summary a { white-space: nowrap; } div.ingroups { font-size: 8pt; width: 50%; text-align: left; } div.ingroups a { white-space: nowrap; } div.header { background-image:url('nav_h.png'); background-repeat:repeat-x; background-color: #F9FAFC; margin: 0px; border-bottom: 1px solid #C4CFE5; } div.headertitle { padding: 5px 5px 5px 10px; } dl { padding: 0 0 0 10px; } /* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ dl.section { margin-left: 0px; padding-left: 0px; } dl.note { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #D0C000; } dl.warning, dl.attention { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #FF0000; } dl.pre, dl.post, dl.invariant { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #00D000; } dl.deprecated { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #505050; } dl.todo { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #00C0E0; } dl.test { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #3030E0; } dl.bug { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #C08050; } dl.section dd { margin-bottom: 6px; } #projectlogo { text-align: center; vertical-align: bottom; border-collapse: separate; } #projectlogo img { border: 0px none; } #projectname { font: 300% Tahoma, Arial,sans-serif; margin: 0px; padding: 2px 0px; } #projectbrief { font: 120% Tahoma, Arial,sans-serif; margin: 0px; padding: 0px; } #projectnumber { font: 50% Tahoma, Arial,sans-serif; margin: 0px; padding: 0px; } #titlearea { padding: 0px; margin: 0px; width: 100%; border-bottom: 1px solid #5373B4; } .image { text-align: center; } .dotgraph { text-align: center; } .mscgraph { text-align: center; } .diagraph { text-align: center; } .caption { font-weight: bold; } div.zoom { border: 1px solid #90A5CE; } dl.citelist { margin-bottom:50px; } dl.citelist dt { color:#334975; float:left; font-weight:bold; margin-right:10px; padding:5px; } dl.citelist dd { margin:2px 0; padding:5px 0; } div.toc { padding: 14px 25px; background-color: #F4F6FA; border: 1px solid #D8DFEE; border-radius: 7px 7px 7px 7px; float: right; height: auto; margin: 0 20px 10px 10px; width: 200px; } div.toc li { background: url("bdwn.png") no-repeat scroll 0 5px transparent; font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; margin-top: 5px; padding-left: 10px; padding-top: 2px; } div.toc h3 { font: bold 12px/1.2 Arial,FreeSans,sans-serif; color: #4665A2; border-bottom: 0 none; margin: 0; } div.toc ul { list-style: none outside none; border: medium none; padding: 0px; } div.toc li.level1 { margin-left: 0px; } div.toc li.level2 { margin-left: 15px; } div.toc li.level3 { margin-left: 30px; } div.toc li.level4 { margin-left: 45px; } .inherit_header { font-weight: bold; color: gray; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .inherit_header td { padding: 6px 0px 2px 5px; } .inherit { display: none; } tr.heading h2 { margin-top: 12px; margin-bottom: 4px; } /* tooltip related style info */ .ttc { position: absolute; display: none; } #powerTip { cursor: default; white-space: nowrap; background-color: white; border: 1px solid gray; border-radius: 4px 4px 4px 4px; box-shadow: 1px 1px 7px gray; display: none; font-size: smaller; max-width: 80%; opacity: 0.9; padding: 1ex 1em 1em; position: absolute; z-index: 2147483647; } #powerTip div.ttdoc { color: grey; font-style: italic; } #powerTip div.ttname a { font-weight: bold; } #powerTip div.ttname { font-weight: bold; } #powerTip div.ttdeci { color: #006318; } #powerTip div { margin: 0px; padding: 0px; font: 12px/16px Roboto,sans-serif; } #powerTip:before, #powerTip:after { content: ""; position: absolute; margin: 0px; } #powerTip.n:after, #powerTip.n:before, #powerTip.s:after, #powerTip.s:before, #powerTip.w:after, #powerTip.w:before, #powerTip.e:after, #powerTip.e:before, #powerTip.ne:after, #powerTip.ne:before, #powerTip.se:after, #powerTip.se:before, #powerTip.nw:after, #powerTip.nw:before, #powerTip.sw:after, #powerTip.sw:before { border: solid transparent; content: " "; height: 0; width: 0; position: absolute; } #powerTip.n:after, #powerTip.s:after, #powerTip.w:after, #powerTip.e:after, #powerTip.nw:after, #powerTip.ne:after, #powerTip.sw:after, #powerTip.se:after { border-color: rgba(255, 255, 255, 0); } #powerTip.n:before, #powerTip.s:before, #powerTip.w:before, #powerTip.e:before, #powerTip.nw:before, #powerTip.ne:before, #powerTip.sw:before, #powerTip.se:before { border-color: rgba(128, 128, 128, 0); } #powerTip.n:after, #powerTip.n:before, #powerTip.ne:after, #powerTip.ne:before, #powerTip.nw:after, #powerTip.nw:before { top: 100%; } #powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { border-top-color: #ffffff; border-width: 10px; margin: 0px -10px; } #powerTip.n:before { border-top-color: #808080; border-width: 11px; margin: 0px -11px; } #powerTip.n:after, #powerTip.n:before { left: 50%; } #powerTip.nw:after, #powerTip.nw:before { right: 14px; } #powerTip.ne:after, #powerTip.ne:before { left: 14px; } #powerTip.s:after, #powerTip.s:before, #powerTip.se:after, #powerTip.se:before, #powerTip.sw:after, #powerTip.sw:before { bottom: 100%; } #powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { border-bottom-color: #ffffff; border-width: 10px; margin: 0px -10px; } #powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { border-bottom-color: #808080; border-width: 11px; margin: 0px -11px; } #powerTip.s:after, #powerTip.s:before { left: 50%; } #powerTip.sw:after, #powerTip.sw:before { right: 14px; } #powerTip.se:after, #powerTip.se:before { left: 14px; } #powerTip.e:after, #powerTip.e:before { left: 100%; } #powerTip.e:after { border-left-color: #ffffff; border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.e:before { border-left-color: #808080; border-width: 11px; top: 50%; margin-top: -11px; } #powerTip.w:after, #powerTip.w:before { right: 100%; } #powerTip.w:after { border-right-color: #ffffff; border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.w:before { border-right-color: #808080; border-width: 11px; top: 50%; margin-top: -11px; } @media print { #top { display: none; } #side-nav { display: none; } #nav-path { display: none; } body { overflow:visible; } h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } .summary { display: none; } .memitem { page-break-inside: avoid; } #doc-content { margin-left:0 !important; height:auto !important; width:auto !important; overflow:inherit; display:inline; } } cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_v.html0000644000000000000000000000013213012573355022035 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.661938573 cairomm-1.12.2/docs/reference/html/functions_v.html0000644000175000017500000001067013012573355023537 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- v -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func.html0000644000000000000000000000013213012573355022523 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.629938581 cairomm-1.12.2/docs/reference/html/functions_func.html0000644000175000017500000001172613012573355024230 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- a -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/inherit_graph_8.png0000644000000000000000000000013213012573354022371 xustar0030 mtime=1479210732.853939859 30 atime=1479210732.865939855 30 ctime=1479210737.685938568 cairomm-1.12.2/docs/reference/html/inherit_graph_8.png0000644000175000017500000000417113012573354024072 0ustar00murraycmurrayc00000000000000‰PNG  IHDRŸ4”ÀêÍbKGDÿÿÿ ½§“.IDATxœí]H“ïǯYþT Üœ¶%sfŠ$SAÉèÀÜŽÊ ›¤Ø‹THeJ„ô¢žd[SŠÂ ²£ò¥è )%аŒ ”L³ù´¦â¬¥mù²ïïàÿw¸¹7û™Ï´ûÏÁýz]÷µ/÷ó¸ûz&ˆÁX~ê|¸ö€ñ÷ÂÄÇà &>g0ñ18c­}E??žfgg¹ð‡± ‘H$¤V«Ô/ØùZ[[éþýûËâcõ£ÓéèêÕ«Ûì|sÔÖÖþ1‡µµµ”••å°=ó18ƒ‰ÁL| Î`âó€––ŠŽŽ&ǵ+« ¯Ÿ7°ÅÅÅTQQA«íœë˜/™øºººH©T’P($???JJJ¢úúzÇÿé–ÇãY¯àà`JOO§žžƶ··Ó®]»Î%‹)77—ÆÆÆlÚ—o¹;–D|===”ššJÛ·o§÷ïß“Ñh¤k×®yÝ÷…uwwSbb"åææz4Îh4’ŸŸŸÃ¹Þ½{G&“‰NŸ>½$>ŽŒŒF£¡„„—ýVJÌ];ÝÝÝP*• B`` 2220::jmŸo“ˆ V«!‘HÀãñf³………‹Å‰D(,,„Ùl¶±aï·ýœó1ÌÎÎâÒ¥KØ´iŽ=Љ‰ ë¸ù—£¹ôz=„B¡ÓþÎÖ4‡ÙlF}}=öìÙ>ŸÃ‡ãéÓ§.ãé-1w‡ =Õ.‰øD"´Z­Ë>qqqhnnÆÏŸ?ñíÛ7œ:u yyyÖvû@ìÛ·CCCÖºÒÒR( èt:èt:ìܹeee66<ߨØJJJœœ P©TËåèíí…Á`À¡C‡pæÌæ€ááa;mw¶¦×¯_ãĉ …HKKÃÝ»wñãÇcá-1wÇßÚµka2™5æû÷ïH$Ö²} úûûmúoÞ¼>|°–;::é±=ûiãÆèëëÈd2tuuYûêõz„‡‡;ô;<44„ììldgg;íïlMD©TŠW¯^y¼Ž9VBÌ/ÙùÞ¾}‹´´4«Ö¬Ycm·„Åb±ïïïol“É}œ›ßb± §§;vìÀÇ Äéãããз¹òܵaÃ}ú±X µZ N³ÙŒ7oÞ@©TZûˆÅb>ž4 ŒŒpíÊcÅ‹Ïþ¶çì6¸nÝ:JLL¤ÊÊJ:~ü8•––ZÛ, •——SDDѱcÇhrr’ …„„Ðøø¸Í\ƒD"ÛØ›™™¡²²2 '@@*•Ê­ g¨T*jkk£èèhÚ»w/544ÐÔÔÔ¢bãí¬xñýyyyôìÙ3kY£ÑÐóçÏ©¹¹™´Z-MOOSYYQff&UWWÛŒ¯®®¦œœ6õôòåKjnn¦ÞÞ^tkÃr¹œîÝ»Gƒƒƒ´ÿ~º~ý:…††ÒÉ“'©µµu‰"Á1‹8Yq8[ÇÔÔ|}}­eW)U?~„T*Åôô4`zzÖô£ù6¢¢¢ÐÑÑáЦ»´-Oxñâ$ÉŠú|\¯ý•;ßׯ_)88ØZ ™Lfó^†N§#""™LF±±±ÔÐÐ@DDõõõ”’’Bááá æ¤¨¨(‡6]ÙpÅÄÄÕÔÔ\.§ŒŒ JOO§–––ßY¶×ñWŠïöíÛ¤P(¬e©TJ}}}Ö÷2ØüPRQQUVVQee%={Öá¼aaaôùóg‡mîlØÓÔÔD¹¹¹$‘H¨®®ŽòóóihhˆnܸAÛ¶mûe{‹Ø&½{_ÉI¦Æää$ÚÚÚPXXˆÐÐP›ü=w)U‹ªª*( §ö._¾ŒÔÔThµZ -ÊÆ|âââ R© ×ë= „—²,)U\áN|D‡õë×cëÖ­(..Æðð°Íw)UpëÖ-øøø ±±Ñ©½©©)\¸p‰jµzQ6V#,¥ŠÁ,¥Šá•0ñ18ƒ‰ÁL| Î`âcpƒ3˜øœáô×è8°œ~0V)®Î¯ˆ/99™²³³Ù?a, aaa”’’â°mÁ ƒ±L°w0ñ18ƒ‰ÁL| Îøøl˜Ç°Ä&lIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_g.html0000644000000000000000000000013213012573355022016 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.649938576 cairomm-1.12.2/docs/reference/html/functions_g.html0000644000175000017500000003761213012573355023525 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- g -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1SolidPattern.html0000644000000000000000000000013213012573355024554 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.581938594 cairomm-1.12.2/docs/reference/html/classCairo_1_1SolidPattern.html0000644000175000017500000007030713012573355026261 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::SolidPattern Class Reference
Inheritance diagram for Cairo::SolidPattern:

Public Member Functions

 SolidPattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
void get_rgba (double& red, double& green, double& blue, double& alpha) const
 Gets the solid color for a solid color pattern. More...
 
 ~SolidPattern () override
 
- Public Member Functions inherited from Cairo::Pattern
 Pattern (cairo_pattern_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Pattern (const Pattern&)=delete
 
Patternoperator= (const Pattern&)=delete
 
virtual ~Pattern ()
 
void set_matrix (const Matrix& matrix)
 Sets the pattern's transformation matrix to . More...
 
void get_matrix (Matrix& matrix) const
 Returns the pattern's transformation matrix. More...
 
Matrix get_matrix () const
 Returns the pattern's transformation matrix. More...
 
void set_matrix (const cairo_matrix_t& matrix)
 
void get_matrix (cairo_matrix_t& matrix) const
 
PatternType get_type () const
 Returns the type of the pattern. More...
 
void set_extend (Extend extend)
 Sets the mode to be used for drawing outside the area of a pattern. More...
 
Extend get_extend () const
 Gets the current extend mode See Cairo::Extend for details on the semantics of each extend strategy. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 

Static Public Member Functions

static RefPtr< SolidPatterncreate_rgb (double red, double green, double blue)
 Creates a new Cairo::Pattern corresponding to an opaque color. More...
 
static RefPtr< SolidPatterncreate_rgba (double red, double green, double blue, double alpha)
 Creates a new Cairo::Pattern corresponding to a translucent color. More...
 

Additional Inherited Members

- Public Types inherited from Cairo::Pattern
typedef cairo_pattern_t cobject
 
- Protected Member Functions inherited from Cairo::Pattern
 Pattern ()
 
- Protected Attributes inherited from Cairo::Pattern
cobjectm_cobject
 

Constructor & Destructor Documentation

Cairo::SolidPattern::SolidPattern ( cairo_pattern_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

Parameters
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::SolidPattern::~SolidPattern ( )
override

Member Function Documentation

static RefPtr<SolidPattern> Cairo::SolidPattern::create_rgb ( double  red,
double  green,
double  blue 
)
static

Creates a new Cairo::Pattern corresponding to an opaque color.

The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.

Parameters
redred component of the color
greengreen component of the color
blueblue component of the color
static RefPtr<SolidPattern> Cairo::SolidPattern::create_rgba ( double  red,
double  green,
double  blue,
double  alpha 
)
static

Creates a new Cairo::Pattern corresponding to a translucent color.

The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.

Parameters
redred component of the color
greengreen component of the color
blueblue component of the color
alphaalpha component of the color
void Cairo::SolidPattern::get_rgba ( double &  red,
double &  green,
double &  blue,
double &  alpha 
) const

Gets the solid color for a solid color pattern.

Parameters
redreturn value for red component of color
greenreturn value for green component of color
bluereturn value for blue component of color
alphareturn value for alpha component of color
Since
1.4

The documentation for this class was generated from the following file:
  • cairomm/pattern.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/toy-text_8cc-example.html0000644000000000000000000000013113012573355023462 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 29 ctime=1479210737.71393856 cairomm-1.12.2/docs/reference/html/toy-text_8cc-example.html0000644000175000017500000001301313012573355025157 0ustar00murraycmurrayc00000000000000 cairomm: toy-text.cc
toy-text.cc

A relatively simple example of using Cairo::ToyFontFace

#include <cairomm/cairomm.h>
const double HEIGHT = 200.0;
const double WIDTH = 400.0;
const double FONT_SIZE = 64.0;
const double TEXT_ORIGIN_Y = (HEIGHT / 2.0) + (FONT_SIZE / 2.0);
const double TEXT_ORIGIN_X = 50.0; // arbitrary
int main(int, char**)
{
auto surface =
auto cr = Cairo::Context::create(surface);
// fill background in white
cr->set_source_rgb(1.0, 1.0, 1.0);
cr->paint();
// draw a little dot at the point where text will be drawn
cr->arc(TEXT_ORIGIN_X, TEXT_ORIGIN_Y, FONT_SIZE / 4.0, 0, 2*M_PI);
cr->set_source_rgba(0.0, 1.0, 0.0, 0.5);
cr->fill();
// draw the text
cr->move_to(TEXT_ORIGIN_X, TEXT_ORIGIN_Y);
cr->set_source_rgb(0.8, 0.2, 0.2);
auto font =
Cairo::ToyFontFace::create("Bitstream Charter",
cr->set_font_face(font);
cr->set_font_size(FONT_SIZE);
cr->show_text("cairomm!");
surface->write_to_png("toy-text.png");
return 0;
}
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1PdfSurface.html0000644000000000000000000000013213012573355024166 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.557938601 cairomm-1.12.2/docs/reference/html/classCairo_1_1PdfSurface.html0000644000175000017500000015672513012573355025704 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::PdfSurface Class Reference

A PdfSurface provides a way to render PDF documents from cairo. More...

Inheritance diagram for Cairo::PdfSurface:

Public Member Functions

 PdfSurface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~PdfSurface () override
 
void set_size (double width_in_points, double height_in_points)
 Changes the size of a PDF surface for the current (and subsequent) pages. More...
 
void restrict_to_version (PdfVersion version)
 Restricts the generated PDF file to version. More...
 
- Public Member Functions inherited from Cairo::Surface
 Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Surface (const Surface&)=delete
 
Surfaceoperator= (const Surface&)=delete
 
virtual ~Surface ()
 
const unsigned char* get_mime_data (const std::string& mime_type, unsigned long& length)
 Return mime data previously attached to surface using the specified mime type. More...
 
void set_mime_data (const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)
 Attach an image in the format mime_type to surface. More...
 
void unset_mime_data (const std::string& mime_type)
 Remove the data from a surface. More...
 
void get_font_options (FontOptions& options) const
 Retrieves the default font rendering options for the surface. More...
 
void finish ()
 This function finishes the surface and drops all references to external resources. More...
 
void flush ()
 Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. More...
 
void mark_dirty ()
 Tells cairo to consider the data buffer dirty. More...
 
void mark_dirty (int x, int y, int width, int height)
 Marks a rectangular area of the given surface dirty. More...
 
void set_device_offset (double x_offset, double y_offset)
 Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. More...
 
void get_device_offset (double& x_offset, double& y_offset) const
 Returns a previous device offset set by set_device_offset(). More...
 
void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
 Set the horizontal and vertical resolution for image fallbacks. More...
 
void get_fallback_resolution (double& x_pixels_per_inch, double& y_pixels_per_inch) const
 This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set. More...
 
SurfaceType get_type () const
 
Content get_content () const
 This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. More...
 
void copy_page ()
 Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. More...
 
void show_page ()
 Emits and clears the current page for backends that support multiple pages. More...
 
bool has_show_text_glyphs () const
 Returns whether the surface supports sophisticated Context::show_text_glyphs() operations. More...
 
void write_to_png (const std::string& filename)
 Writes the contents of surface to a new file filename as a PNG image. More...
 
void write_to_png_stream (const SlotWriteFunc& write_func)
 Writes the Surface to the write function. More...
 
void write_to_png (cairo_write_func_t write_func, void* closure)
 
RefPtr< Deviceget_device ()
 This function returns the device for a surface. More...
 
cobjectcobj ()
 Provides acces to the underlying C cairo surface. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo surface. More...
 

Static Public Member Functions

static RefPtr< PdfSurfacecreate (std::string filename, double width_in_points, double height_in_points)
 Creates a PdfSurface with a specified dimensions that will be saved as the given filename. More...
 
static RefPtr< PdfSurfacecreate_for_stream (const SlotWriteFunc& write_func, double width_in_points, double height_in_points)
 Creates a PdfSurface with a specified dimensions that will be written to the given write function instead of saved directly to disk. More...
 
static RefPtr< PdfSurfacecreate (cairo_write_func_t write_func, void* closure, double width_in_points, double height_in_points)
 
static const std::vector< PdfVersionget_versions ()
 Retrieves the list of PDF versions supported by cairo. More...
 
static std::string version_to_string (PdfVersion version)
 Get the string representation of the given version id. More...
 
- Static Public Member Functions inherited from Cairo::Surface
static RefPtr< Surfacecreate (const RefPtr< Surface > other, Content content, int width, int height)
 Create a new surface that is as compatible as possible with an existing surface. More...
 
static RefPtr< Surfacecreate (const RefPtr< Surface >& target, double x, double y, double width, double height)
 Create a new surface that is a rectangle within the target surface. More...
 

Additional Inherited Members

- Public Types inherited from Cairo::Surface
typedef sigc::slot< ErrorStatus, const unsigned char*, unsigned int > SlotWriteFunc
 For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length); More...
 
typedef sigc::slot< ErrorStatus, unsigned char*, unsigned int > SlotReadFunc
 This is the type of function which is called when a backend needs to read data from an input stream. More...
 
typedef sigc::slot< void > SlotDestroy
 For instance, void on_destroy();. More...
 
typedef cairo_surface_t cobject
 The underlying C cairo surface type. More...
 
- Protected Attributes inherited from Cairo::Surface
cobjectm_cobject
 The underlying C cairo surface type that is wrapped by this Surface. More...
 

Detailed Description

A PdfSurface provides a way to render PDF documents from cairo.

This surface is not rendered to the screen but instead renders the drawing to a PDF file on disk.

Note
For this Surface to be available, cairo must have been compiled with PDF support

Constructor & Destructor Documentation

Cairo::PdfSurface::PdfSurface ( cairo_surface_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referencewhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::PdfSurface::~PdfSurface ( )
override

Member Function Documentation

static RefPtr<PdfSurface> Cairo::PdfSurface::create ( std::string  filename,
double  width_in_points,
double  height_in_points 
)
static

Creates a PdfSurface with a specified dimensions that will be saved as the given filename.

Parameters
filenameThe name of the PDF file to save the surface to
width_in_pointsThe width of the PDF document in points
height_in_pointsThe height of the PDF document in points
Since
1.2
Examples:
pdf-surface.cc.
static RefPtr<PdfSurface> Cairo::PdfSurface::create ( cairo_write_func_t  write_func,
void *  closure,
double  width_in_points,
double  height_in_points 
)
static
static RefPtr<PdfSurface> Cairo::PdfSurface::create_for_stream ( const SlotWriteFunc write_func,
double  width_in_points,
double  height_in_points 
)
static

Creates a PdfSurface with a specified dimensions that will be written to the given write function instead of saved directly to disk.

Parameters
write_funcThe function to be called when the backend needs to write data to an output stream
width_in_pointsThe width of the PDF document in points
height_in_pointsThe height of the PDF document in points
Since
1.8
static const std::vector<PdfVersion> Cairo::PdfSurface::get_versions ( )
static

Retrieves the list of PDF versions supported by cairo.

See restrict_to_version().

Since
1.10
void Cairo::PdfSurface::restrict_to_version ( PdfVersion  version)

Restricts the generated PDF file to version.

See get_versions() for a list of available version values that can be used here.

This function should only be called before any drawing operations have been performed on the given surface. The simplest way to do this is to call this function immediately after creating the surface.

Since
1.10
void Cairo::PdfSurface::set_size ( double  width_in_points,
double  height_in_points 
)

Changes the size of a PDF surface for the current (and subsequent) pages.

This function should only be called before any drawing operations have been performed on the current page. The simplest way to do this is to call this function immediately after creating the surface or immediately after completing a page with either Context::show_page() or Context::copy_page().

Parameters
width_in_pointsnew surface width, in points (1 point == 1/72.0 inch)
height_in_pointsnew surface height, in points (1 point == 1/72.0 inch)
static std::string Cairo::PdfSurface::version_to_string ( PdfVersion  version)
static

Get the string representation of the given version id.

This function will return an empty string if version isn't valid. See get_versions() for a way to get the list of valid version ids.

Since
1.10

The documentation for this class was generated from the following file:
  • cairomm/surface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/inherit_graph_6.png0000644000000000000000000000013213012573354022367 xustar0030 mtime=1479210732.841939861 30 atime=1479210732.841939861 30 ctime=1479210737.685938568 cairomm-1.12.2/docs/reference/html/inherit_graph_6.png0000644000175000017500000000172513012573354024072 0ustar00murraycmurrayc00000000000000‰PNG  IHDRe%ÔF°ôbKGDÿÿÿ ½§“ŠIDAThí™ÏK2AÇwß¶ß⻥XйƒPOŶÖ.ž‚ lÏÞ:T· $èèPÚµC‡ N‘Ab?HBiÕ¢P kPÍ{Z&W]ÇWÌçsšyfvžçùîìÌî  %óç·øÏ záAôƒè…ƒVâñ¸Ïçûüüü­hjAAP«?æW(ÚÚÚªzHµËÑÑQ0D-Œ¶S ¨V<µÎäädŽ…¬_x½ð záQGzÑ4ýïƒTI¯ŠÄZ ”©×ÕÕ•ËåbY¶¹¹Ùn·ïììï_©¯zúžç=ÏóósñÎqŠRŽ^777ccc£££gggoooëëëÕ|kNOOE™ŸŸ¯šßî!ÛÛÛ9–¼LOO/..æmº¾¾v¹\&“É`08ÎÇÇGhW‡¥(juuÕb±Ð4 Èf³’$ñ<Ïqœ$IÙlV ½\5Þßß³,[È©6GŠ¢666úúúZZZ†‡‡#‘ˆn¦ðåµ”3¿ö÷÷ÝnwÞ&AææædYN$f³Ùçóiû}}Qµ´´FONNÂáðùùùòòréaÀ³Ó•!{{{OOOããã³³³8IƒŠWâübFQÝn¯¯¯‹EX-ÄãqµÍf‹F£°‰Dúûû‹©Ž“L&EQE±§j5NÃr&“immÕM¡2ó‹eÙT*•·);“ÉDÓ´Á`H§ÓÚ>V«U-§R)›ÍËÉdR×;œVCCC ~¿¿D§žça¡­­MQ]_ZÊÑËápÀ™¨EEÇ‹Å>>>^^^òþê@·­žžžÛÛ[XŽÅbf³Y×;¼Ï›››]]]EœÖÊþ¸°°à÷û×ÖÖdY~…B°)“Éttt´··'‰™™Ý¡Ün·$I²,˲,Iº,¢ÙϼÓÎÎÎËËKìôŠƒ>œ%®_€‹‹ §Ói4›ššìv{0„öÝÝÝÁÁÁÆÆF«Õ –œ¥$g|EQ¼^/ÇqÇy½^tY¤ôöG•BNWVVŒFc¡kKÉT»~ÑÙ>ÀÔÔ 'FßÀÿ9è®:ú~¬D/<ˆ^x½ð záAôƒè…Gžó´œ·zæîî®··µüЫ»»›aí¡[=322‚Viò6Y¿ð záAôƒè…Ç_x!²µZ2IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/arrowright.png0000644000000000000000000000013113012573353021505 xustar0030 mtime=1479210731.925940113 30 atime=1479210731.925940113 29 ctime=1479210737.52193861 cairomm-1.12.2/docs/reference/html/arrowright.png0000644000175000017500000000034513012573353023206 0ustar00murraycmurrayc00000000000000‰PNG  IHDRɪ|¬IDATxí=QF‘Ø¥D«ÔkÄ:‰F©PK؃=V@§Õ³ Õ8SHxñÌ0bnrróŠ{ò½¿¾’$ ÀÏTŠP  ö¼X¬OÛd6êìòð"°²S´±O¥B€(¡àQé)š+YĈ ÒªËRÉÐ>VtÉsˆm9(ê„䜥k‚-@ȧ-Ü$ó b Ò[he ¿Kp-ôl|CùÿApRG'rÍ­aIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/doc.png0000644000000000000000000000013213012573353020063 xustar0030 mtime=1479210731.921940115 30 atime=1479210731.921940115 30 ctime=1479210737.617938584 cairomm-1.12.2/docs/reference/html/doc.png0000644000175000017500000000135213012573353021562 0ustar00murraycmurrayc00000000000000‰PNG  IHDRÚ}\ˆ±IDATxíMOS[…Ÿžsúa?-XZ(PD4‚ AWbu`b 77wäHFÆCËÔÂÿà/`vo„ˆAPòq‹P @ ­ûÝè980 îà¤+»§Ýy×^ïZï9SW¹\83g‰3'°Nâçl¹¸_b¯p ïåûÆVÜÖ¡€Ÿ×"¬Ö†X€d]Ðà3“ÉÃÄÌ™xŸ ßMàœ[<çSPkvc—hÈ'…™˜^Åm™hØ7 `Û™¦ èÀåráq›‘œ¾!daeKŸþÆÕ˜:Ì*³_דâèi?I–eP*B7Ÿ¿åô!¹Ýgr6Ër6oKbëþãðôrI”ËTˆüªŒ¨xóö=›ù¢&‰(e+ßóÄkýÇ`ëÁÜb.“¸ÐW×w0¥°jÑzN™¬|©WEãµ¢a¯6[öX†AkÓù*/œ¨‰€ÉY­ ÿV’§–u²jÂ>1W *½·°PGŽzÿ¨/Eg{ ŸÇâaoŠÁVú:è¿™¤1$ôR§W,–ªà¨@ŠË56¾ÀÔÜ-¾,mê¸Î/æè¹– òr5¥T*S(Vf8ö9u’ Õ£w›ùóa=Í<{Ò¡UŒ÷r¯+ÉådDÏF$è°…£é¿`zþ»ÎúöN‘µÜ®0Q3£~_^Ëóâ¯N=ˆvpTà±LžT}ˆîkq†Òm<¼ÎÓ?Zh¿X£ï_þÝ¥[)ƒ `gêÃa_Ô*äÔ2`'=õ´Fÿ2EâÁPú ÷»›l=8‹Wv°%THqÉ¿<"¤ïG¾ÆxH{#ÆÖ«aÔJÕÞ‡—m‹„ çñKsÿàñVŠØ¡°·MâÒ^ TÁ– Ý›r¥ß½ømüÿ_™?ªWİ÷#uIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_t.html0000644000000000000000000000013213012573355022033 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.657938574 cairomm-1.12.2/docs/reference/html/functions_t.html0000644000175000017500000001322013012573355023527 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- t -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Win32FontFace__inherit__graph.png0000644000000000000000000000013113012573354027473 xustar0030 mtime=1479210732.657939913 30 atime=1479210732.657939913 29 ctime=1479210737.59793859 cairomm-1.12.2/docs/reference/html/classCairo_1_1Win32FontFace__inherit__graph.png0000644000175000017500000000637113012573354031201 0ustar00murraycmurrayc00000000000000‰PNG  IHDR©pê†ÇŸbKGDÿÿÿ ½§“ ®IDATxœí{LS×ÀO¡ØZÞ nðË`OXÆ:öË"…,B²1åÕâæÀl t•ý±dfÂâæ3›s”¢Dã è qQð@¥Tq5••m úúýqÝý]i{«µöªç|þ §çž~Ï÷œÏ=÷ÞÞÛPšÉd(q¡:e ÷ð‚Üà r/tGúì³Ï”J¥£¢!¬áêêZYY¹lÙ²‡å°u_SSóÇ8*ÂMMM=== å°u(**ÊÎÎv`@„94ÍQ¡Ðù^{xAîṇ—Çݽ/m‹p¶ûááጌ ???ƒßÒÒBÞÞQšh÷bw‡Ç¤§ºILL|ë­·.]ºtçκºº¦¦&§õn"ð8Çt&H$ämV¯^½eË‹›®^½š‘‘áëëëãã³jÕ*µZ‡Å b±˜ÃáÐh4“ɤÕjE"QpppPPH$ÒjµÄLÌËGj-`çÎL&óÍ7ß0Ý«ÖZLk£Ðét›7og±XÕÕÕX¥Á`(//_¶l›Í^»víÌÌ ùìáÚœçûÄ©ëþ·ß~ËÉɱ¸)++«  @©TŽ………}ñÅæmNŸ>}îÜ9£Ñøúë¯e2Yooïùóçûûû+**ìȇ$H{{û©S§&&&RSSׯ_þ=ûàhß|óMwwwGG‡B¡Àï|oÛ¶íÔ©S£££:®¸¸ØŽ!<ÙƒL÷·?ÒétFc3ÔÔÔ‡ÃÁÃâ…7nàmž{î9™L†•"##m¦g>jkA*• +ÏÎκ»»/J†$¦ÅQDEEa"ÑÑÑÃÃÃXùöíÛäCÀ;uÔºwªû   ÑÑQ‹›z{{“’’Øl66®®®xX¼`4ñöL&ß4 “É´™žy¥µ æŽÉëmŽ‚ØŽ»»;q×qqq!ÞéyÌONN–H$7 ‚ÜÜ\¹\®×ëÿþûoƒÁ`Þ†x-ªP(°²\. ³#Ÿ bóbÞÚ(–.]*—Ë5¿~ý:nÂâ)NuÿÕW_ÕÖÖÖÔÔ(•ÊùùùžžžÌÌLlÓì쬷··§§çØØØºuël†ÊÉɉDJ¥R©TŠD"âeѹ-’ ñ÷÷"i`myyyB¡P¡PüóÏ?EEEXå† Ö­[744´°°000 È{w<9z˜îûXtåÊ•U«V±X¬%K–ÄÇÇK¥R¬þ—_~yþùçÝÜÜÂÃÃkkkÙavQªF( …BâÜ÷u¾µ Àʱ}ëÖ­,‹$¦µQ,,,lÚ´‰Ãá°Ùl±XŒU †ÚÚÚèèhƒñòË/9rÄÆÜýÛéy¾G<<œçÇýž.âÑÜà r/È=¼ ÷ð‚Üà r/ŽüŽöÙ³gŸÄ¯0À‹Cî˜L&‡CõP‹•B§ûQƃA§Ó»ºº¢Œfz¿pâ~ÿ]ž™YŸ—÷ߊŠLªs¡xÏ÷­­±¿:³ =&@ê^§3=z 05¥íî¾Fu:Ô©ûÎΡééyîÒÚzêt¨R÷‡] Ó]z½áøñ~fêŒ(F÷ss 'N êõwOóóóú“'¯P›%Àè¾­m€x}G£Ñ:Oa>T£ûC‡Î»¸üÿ”Á`ìèšœœ£0%J€Îýää\W×5½ÞH¬4™@[ÛU)Qtîí³X/•Bw؇Î}KËy£qñ­L£ÑxöìèíÛS”¤Dp¹Ÿºpá†ÅÛØ®®´cÇ.;?% Ëýáí=¾ÐëRi¯sÓ¡G>Ã}üÑé !!ÞøË¹¹ƒîêzw,Y×lÀûZÔЛ–Ku"Ô×1A¹‡ä^{xAîṇä^{xAîṇä^{xAîṇä^{xAîṇä^{xAîṇä^{xAîṇä^{xAîṇä^{xAî!†øÏô»ººètˆþï“ùWW/ª³pEEEDÝ÷˜V©Tz½¾¤¤„ªä©TªT*‰5Vybb¢“ÒA8‘Ó§O/ªAç{xAîṇä^œäžÇã=e=ØùiþæÍ›»wïîëëÓh4‘‘‘999Ë—/'ißÙÙi_G8“““k×®mnnvssÃj6oÞ\^^Ž•ø|þ¾}ûlvtîܹƒ y{{¿þúëùùùl6ÐÓÓÓÔÔ$“ɼ¼¼¸\n~~¾··70Û™ìÇ#¾Ñ!1{Ü+•Ê7 ‚ÂÂB6›-—Ë›ššÈÝ?<,ë…^8sæ ötzzúÌ™3SSS>>>€îîî—^z‰ÅbÙŒ#‘H233ãââ\\\ZZZÊËËÅb1@*•òùüW^ye~~~ïÞ½••••••Ø[…ª|±ç˜¿ÿþôôôìììÀÀ@77·˜˜˜ÒÒRl“R©,))IKK{÷Ýw‹‹‹§¦îþGz|OçñxR©4;;;))  Óéêêê222ÒÓÓëêêt:Þ qq`å”””'N`5ƒƒƒ&“I&“a/ÛÚÚRRRutôèQ@°bÅŠ‚‚‚ëׯcõb±øí·ß~æ™g<<<²²²®\¹û+Iß~û-—Ëuwwg±Xëׯïïï'™ki[ìK‰Ç㑜¬Í›Á`Ø·oŸÏï½÷š››±J“Éôã?æä䤥¥UUUiµZ’TI°ÇýÅ‹“““-n*))Y¹r¥T*•H$þþþ»ví2osùòå;wvtt8pãÆ†††ÆÆF…BqàÀ’~®]»699 ŒLLL( .—»¨}ooï¶mÛŽ9Âår±ÅMD«Õ¶¶¶ÆÅÅ™wtéÒ¥¨¨(’LHÒ6ï[â$kÝÚ¼ýüóÏýýý555T«ÕXeKKK__ŸX,þé§ŸôzýÞ½{IR%Á÷wîÜñó³üÂ{ö쉋‹c0žžžŸ|òIOOy¡Pˆ¿ýäÉ“B¡0 @(þúë¯x3âLae:¾|ùr¬Íàà`nnîàà  ½½=))ÉüIDQQQpp0“Éäóù###ÄM</55U*•.z×ÈÈÈöíÛ…B!±1ŽÍ´I:]”1¦µykkkûôÓOCCC½¼¼ °ÊcÇŽmܸ1$$ÄËËkÆ ]]]Öz!Çžó½··÷_ýb¾éêÕ«r¹|zzàâbaß ÄËÄ8aaaä]§¦¦VUU­\¹rffæÅ_œžžÖétíííŸAøúúbƒ1??OÜÔÙÙ977×ÜÜ\UUµ}ûv¼¾¯¯¯¢¢âË/¿$®{óõJ’6I§‹ ¾´6ojµ:,,lÑ{ÇÇÇ?úè#ü¥Ý¿;oû×^{­££ãƒ>0ßTVV–›››àéé9;;›––fÞ†˜«ŸŸŸJ¥ŠˆˆÜºuËßߟ¼ë¨¨(£ÑØÖÖˆ‰‰imme0‘‘‘: ììl‰D‚×tvvÖ××oÙ²%::šü½š¶M=Öæ-00ðÖ­[Ï>û,±q```UUUpp0yL›ØsÌÏËË;|ø°T*U«Õ:nxx_vZ­ÖÃÃÉdŽWWWÛ •œœ¼cǵZ­V«wìØA¼Œ0¿ÖÃX±bÅ®]»bcc±±±û÷ïÇ®òî“ÊÊʱ±1½^ÿçŸîÞ½‹J¥ [·nµ)ž€Çã}øá‡6{çw¾ÿþ{ÌÙ«¯¾ªÓélN=‘„„„²²²›7oúúúr¹ÜM›6aõß}÷ //oyüøqwww‡¤½zõê™™k—{ÖæÏçk4‘H¤Õj׬YƒU¦§§Óh´ââb•JµtéÒ?þøþ‡OäžßLinnæóùÃGO„Ã)-- À?(t?f{xAîṇä^{xAîáŽü,âiB&“-úöý=îßxã @`0œšÂ)$&&feek þ-dÈAç{xAîṇä^þ¬€ÈföVZNIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_e.html0000644000000000000000000000013213012573355023027 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.633938581 cairomm-1.12.2/docs/reference/html/functions_func_e.html0000644000175000017500000001071613012573355024532 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- e -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_type.html0000644000000000000000000000013213012573355022551 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.661938573 cairomm-1.12.2/docs/reference/html/functions_type.html0000644000175000017500000000743213012573355024255 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Typedefs cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_x.html0000644000000000000000000000013213012573355022037 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.665938573 cairomm-1.12.2/docs/reference/html/functions_x.html0000644000175000017500000001050713012573355023540 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- x -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1SurfacePattern__inherit__graph.png0000644000000000000000000000013213012573354030112 xustar0030 mtime=1479210732.577939935 30 atime=1479210732.581939933 30 ctime=1479210737.585938594 cairomm-1.12.2/docs/reference/html/classCairo_1_1SurfacePattern__inherit__graph.png0000644000175000017500000000605613012573354031617 0ustar00murraycmurrayc00000000000000‰PNG  IHDR©pê†ÇŸbKGDÿÿÿ ½§“ ãIDATxœí]PWÇÏB$QHðQÐj[{aÇÒRµog rcohE1KÓZk!„´ÎtÚÁb­Ît00¡ŒDkÇa 2:Ö¡µMÎX+""X%5L !$1û^lß}·ù""ËZÏù]0çœ=yžÿžÿž³›Ý`A”„°-ÁÈ{xAÞà ò^8 ÅÅqÇq†‚CERR’J¥b"2SóÇñ_ý•¡àðpëÖ­ÊÊJ†‚35ï›6mjnnf.> 477K$†‚£ó=¼ ïáy/È{xù÷yaÛØ÷~hhhÛ¶mB¡Ë妥¥µ´´î¿XŸ°ÿ!‹e2ÙÔÔTàΪÿRXöþæÍ›ééé/¿ürOOϽ{÷¾þúëÆÆÆ%ËNAÝÝÝV«µ¤¤dÉò>*Ì“““““3o·¼¼¼ýû÷ûÜtãÆmÛ¶EGGGEEmݺÕl6“í”f€J¥JJJÂ0Œ ›Í¦P(Äb±H$R(6› EßMúË©Æññq¡Pè/©ÇpyžËåúâ‹/V®\) ggg}*>|8%%…Çãmܸ±¿¿ÞñijjbÎ#–çýÏ?ÿœ››ësSNNNQQ‘Ñh4 ‰‰‰Ÿ|ò‰wŸóçÏÿöÛon·ðå—_ tuu]¾|¹¯¯ïÀÁË I ¯#†^TUUutthµÚááa‡ÃQVVæS!à‡~èè蘜œ|íµ×Þ{ï½à2CÇTóžÃáX­Öy»MOO'%%‘e@÷ÑÑQªÏ“O>900@–ûûûW¯^8&gllL*•J¥Ò`’ú¬®]»vhhˆ,§¤¤øT0™LdÙb±,_¾<°B‚áyϲ÷"‘hxxØç¦®®®Í›7 ò %ÛéÞ»Ýnª?Ç£#«ÕÊãñ§¦Žþ¸¸¸;wþõ×_Á$õY]¾|9}:…„„øT8ˆOç5?33“Ü=o¤R©L&ÓëõN§óöíÛ.—Ë»ýz;!!add„,ëõúÄÄÄy³“C011Q__ iàëüäää?þøƒSºÔGùËÞþùçjµº²²Òh4ÚíöK—.mß¾Üd±X"##ÃÃà î]»æ •››«P(ŒF£ÑhT(ô˺Íð—4&&fppÐ_uÏž=»ví¼ÿ~¿T* b×ZO‚\ó ‚¸~ýúÖ­[ù|~XXXZZŽãdû÷ßÿÌ3Ï,[¶,99Y­V¯ësñV«U.—‹D"‘H$—Ëé—`¾ë| I:ÄçóýU].—Z­^»v-—Ë]·nÝ©S§|¦\õ £kþßï=;vÐ3܇„|†ËGìß×C°ò^÷ð‚¼‡ä=¼ ïáy/ ~FûÖ­[èß3’‹/2¡{FJ¥’AÑ‹Æçoáp„l˘êYâ¢ÃÔ}½GŸ ôÛ·×üçÀílkaxÏ÷mmWÈ¿‡'„0©÷‡ëôéÀô´í—_~g[;@ê½N783cp8!mmÝlËaH½omíæpBN§ëìÙ>«õ>ÛŠXFïçæîÿøã5§óïÓ¼Ýî>’ªÎÍÝçr9¡¡O€°0¸FÞçx€„em­,+k=ÛBØ®5Ay/È{xAÞà ò^÷ð‚¼‡ä=¼ ïáy/È{xAÞà ò^÷ð‚¼‡ä=¼ ïáy/È{xAÞà ò^÷ð‚¼‡ä=¼ ïáy/È{xAÞà ò^÷ð‚¼‡ä=¼ ï!†þeúDß;Âã=Á¶Š¥C©TÒíþ‡Ó&“ÉétîÝ»—-qæÀqÜh4Ò[|Ìòôôô%’ƒXBΟ?ïÑ‚Î÷ð‚¼‡ä=¼@çýÀÀ@~~~FFÛBØg‰¼tÆZ£Ñ¼ûî»:Žm!ì³Àwóþùç7ß|ÓÛÛkµZW¯^››ûꫯè¿Xcm±X:;;ÍfsXXØsÏ=—šš|„ááá7.Šê°iiiEEE‘‘‘:Ӈ£ºÄ,Ä{£ÑXZZ*•J‹‹‹^¯oll ìýbQ^^.‰<(‹ggg{{{ëêêÈû¹¹¹eË–-®*Ò¿ÉÉÉššµZýÙgŸ-n|†Xˆ÷ÇÏÎÎÞ±cY}öÙgËËËɲÑhŸŸžžNÝð7¥èÉ/&gªN§ó§ÖårÕÕÕµ··ÏÍÍåçç“{JD}}ýÙ³g-Ë+¯¼RRRÂãñèÃSRRRPPàoȼTvj€ƒ–‘‘¡T*îܹ³fÍš>úhÕªU ðq!çû+W®dffúÜ´wïÞ7ÞxÇñ¦¦¦˜˜˜£Gz÷¹zõêáǵZ- ¾¾~tt´¶¶V£ÑŒŒŒÔ××N½~ýúŠŠŠk×®ÙíöàSÉ!ÖétdÁŸÚï¾û®¯¯¯²²²¡¡Ál6“---½½½*•êĉN§óÛo¿õN„a†aþ"{d÷¨NA4@WWWUUÕ©S§6lØ R©‚ : ñþÞ½{B¡ïŸ>vìØóÏ?ÏårÃÃÃßyçK—.y÷‘ËåÔËÏ;'—ËccccccårùO?ýDu£Obª\VV–œœ\UU••••——W[[k±XæLÏŒÚööö’’’„„„ˆˆˆ¢¢"²ñÌ™3¥¥¥ñññ{öìéììôˆ655U]]ý /9ÞHá± J¥R,óx<‰DróæÍ`‚{³5?22rjj*>>Þ{Ó74^¯Ÿ™™„„ø8¶âââ¨2=NbbâäädàÔ+V¬(,,,,,$Â`0466îß¿ÿàÁƒ_EÏŒZ³Ùœ˜˜èÑybbâ­·Þ¢ªäü&!×m>Ÿÿâ‹/’ÇJ0ãàM€»M¸\î-tâ}jjªV«Ý¹s§÷¦}ûöÉd²M›6…‡‡[,–¬¬,ï>ô] …&“)%%066¤ ÃV®\Y\\,‘HÈ–°°0»ÝÎår·oßö—1µqqqccc'Ѹ¸¸¯¾úJ,{Çñ¾V÷ÙC‰G5@ »ð0,dÍ/((8yò$Žãf³Ùáp Qþl6ÛŠ+x<ÞÄÄDEEż¡233«««Íf³Ùl®®®¦_FÐo PåÒÒÒŽŽŽ;wî8N“ÉtäÈ‘uëÖ‘›ž~ú馦&›Íf2™:ÌŽøS»e˵Zm2™fffjjjÈÆ×_½¢¢Â`08Α‘‘}ûö- rTT”Á`ðW} ÏBæ}RR’J¥:vìX]]Íf[³fT*%7}üñÇ555åååÑÑщÄû¤èA~~¾F£Ù½{7 ##ãÍ7ß Ü_&“µµµ©T*»Ý. 7lØðé§Ÿ’›>øàƒŠŠŠ'N‚¼¼¼ .Ì»#þÔJ$«ÕªP(l6[~~>Ù˜aXYY™Édzâ‰'Þ~ûíDÎËË+..ž%— ê¥xxþñ›)ÍÍ͉Ýóz,)//mnn¦Z »Ÿ @Þà ò^÷ð‚¼‡ä=¼ ïáÅǽê,âqb``ÀãÓ÷ÿðþ¥—^’J¥.—kIE!–„ôôôœœz Ô¿… 9è|/È{xAÞà ò^þ tq¤Æ`IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/closed.png0000644000000000000000000000013213012573353020567 xustar0030 mtime=1479210731.917940116 30 atime=1479210731.917940116 30 ctime=1479210737.617938584 cairomm-1.12.2/docs/reference/html/closed.png0000644000175000017500000000020413012573353022261 0ustar00murraycmurrayc00000000000000‰PNG  IHDR à‘KIDATxíÝm @!†ÑGk™É7À-`&séts¦Àñþòð@åk}ª2€… P%Á_Ëþ¿N² .:0Dk¥‹Â›x" Ö›)¡xÒ5õIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_m.html0000644000000000000000000000013213012573355023037 xustar0030 mtime=1479210733.157939775 30 atime=1479210733.157939775 30 ctime=1479210737.637938579 cairomm-1.12.2/docs/reference/html/functions_func_m.html0000644000175000017500000001167213012573355024544 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- m -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_h.html0000644000000000000000000000013213012573355023032 xustar0030 mtime=1479210733.161939773 30 atime=1479210733.157939775 30 ctime=1479210737.637938579 cairomm-1.12.2/docs/reference/html/functions_func_h.html0000644000175000017500000001114313012573355024530 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- h -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1RadialGradient-members.html0000644000000000000000000000013213012573355026446 xustar0030 mtime=1479210733.161939773 30 atime=1479210733.161939773 30 ctime=1479210737.569938597 cairomm-1.12.2/docs/reference/html/classCairo_1_1RadialGradient-members.html0000644000175000017500000002640313012573355030151 0ustar00murraycmurrayc00000000000000 cairomm: Member List
Cairo::RadialGradient Member List

This is the complete list of members for Cairo::RadialGradient, including all inherited members.

add_color_stop_rgb(double offset, double red, double green, double blue)Cairo::Gradient
add_color_stop_rgba(double offset, double red, double green, double blue, double alpha)Cairo::Gradient
cobj()Cairo::Patterninline
cobj() const Cairo::Patterninline
cobject typedefCairo::Pattern
create(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1)Cairo::RadialGradientstatic
get_color_stops() const Cairo::Gradient
get_extend() const Cairo::Pattern
get_matrix(Matrix& matrix) const Cairo::Pattern
get_matrix() const Cairo::Pattern
get_matrix(cairo_matrix_t& matrix) const Cairo::Pattern
get_radial_circles(double& x0, double& y0, double& r0, double& x1, double& y1, double& r1) const Cairo::RadialGradient
get_type() const Cairo::Pattern
Gradient(cairo_pattern_t* cobject, bool has_reference=false)Cairo::Gradientexplicit
Gradient()Cairo::Gradientprotected
m_cobjectCairo::Patternprotected
operator=(const Pattern&)=deleteCairo::Pattern
Pattern(cairo_pattern_t* cobject, bool has_reference=false)Cairo::Patternexplicit
Pattern(const Pattern&)=deleteCairo::Pattern
Pattern()Cairo::Patternprotected
RadialGradient(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1)Cairo::RadialGradientprotected
RadialGradient(cairo_pattern_t* cobject, bool has_reference=false)Cairo::RadialGradientexplicit
reference() const Cairo::Pattern
set_extend(Extend extend)Cairo::Pattern
set_matrix(const Matrix& matrix)Cairo::Pattern
set_matrix(const cairo_matrix_t& matrix)Cairo::Pattern
unreference() const Cairo::Pattern
~Gradient() overrideCairo::Gradient
~Pattern()Cairo::Patternvirtual
~RadialGradient() overrideCairo::RadialGradient
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/folderclosed.png0000644000000000000000000000013213012573353021763 xustar0030 mtime=1479210731.925940113 30 atime=1479210731.925940113 30 ctime=1479210737.625938583 cairomm-1.12.2/docs/reference/html/folderclosed.png0000644000175000017500000000115013012573353023456 0ustar00murraycmurrayc00000000000000‰PNG  IHDRÚ}\ˆ/IDATxí]MOÔ@~ÚúuØlp]ö¿#›Å]PYECˆ\9ù¼yÑß`ÖÄÿàÿÀÉxóâ¢C &=qÐÄ£—vZçv¶3m؃‡vžLûNç}Þ÷}Þ½ZA@n° OäNp ’xóþK°ññ€xÜj”°8sÑ€“ “€œ_¼[Âíæ§ïD'‚•yye+ø¼û 7#rNŸlïük* ¾0Ь_d«_(àñÖ±àôz=ñxõv§÷h©‰z¹€šØP-äóä’̪uý¼$»\DãJc—B4¯ãÝÖ.:£Ï-ÑÏß}µŠLEíºþ #—ûáºÀÏgN;BŠ€6ïýñ䬜…ö@’Ðåñp&™h>p9¤™EEά¨ÎÊ‘" u¥n€$R"?{¹<˜…ë…%PNtâ$‰ß¶±úá+^<é"§2 ªDq”q´\¬«Ò™a–Œ‘©Aÿ€"Ôµ ™êŸèP£}#Eàz{û.8i îp³ê(ADwD¦E<ê¬cE¦$ HdÊÄ ”.:Ù GŽ-`ŒL‚ý¾'¢‰Ä<¤CIª½;ÙÇTZd±i};>èôß‚z×;K×§8t ¤Ž q”:uvÿv•Ý›¬²ÙvEân{„M·FXg¼ÌfZÖ¨°¹‰*›ßÌß©±ù©:›j–YqèÜë#3çÏSøWøÿÿÑr'ø Ôùù‚ ©¡IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1SvgSurface__inherit__graph.png0000644000000000000000000000013213012573354027234 xustar0030 mtime=1479210732.601939928 30 atime=1479210732.601939928 30 ctime=1479210737.589938592 cairomm-1.12.2/docs/reference/html/classCairo_1_1SvgSurface__inherit__graph.png0000644000175000017500000000720313012573354030734 0ustar00murraycmurrayc00000000000000‰PNG  IHDR“p5B9bKGDÿÿÿ ½§“8IDATxœíÝ{Pçúð/÷ˆkŒˆ×ZÛŽ½ØÚ:3‚v¦N/T5ÀÔ"Óz+Pl§ã[¡¨­£ƒÀ T©µz¼rUkqŽ=•‹tzoba AÚx"MA.b‚IxÏþÜ $!æÕ çùÌ0d³ï¾ûìæ;ûîlÖ…1Æ@ˆã ]]yxP˜7& …‰pãîhW®\Arr2ŒF#zˆÈd2ddd8ÜÃG¦ªª*äåå9\qŽ?ÿü™™™\úrøÈtGAA¯®È}TPP…BÁ¥/:g"ÜP˜7& …é>ûå—_0mÚ4¸¸¸8»îØ0=¨ÆêÕ«±iÓ&<Œ_‰:-LõõõËåH$ðòò¬Y³PTT4äåïõ‡ÑÙÙ‰äädL›6 ÞÞÞ3f .\ˆÒÒR‡ú­©©Á+¯¼Â©ÊáÅ)aúý÷ß‚9sæàÂ… èêê¶mÛ†Õõ*…B¶¶6?~hhh@LL Ö¯_ïP¿]]]ðòòâTå0ÔŸŸÏìí&&&†mذÁj›††&—ËÙ˜1cØ#<ÂÂÃÙF£æ÷_'–‘‘Ád2sqqaŒ1¦ÓéXRRó÷÷gR©”%%%1Ng²óºûO1‚uttX­q°í¶V“Ÿ¡l§^¯gk×®eAAAlôèÑ,==]˜g4ÙúõëÙĉ™X,fqqqìÆVk6w7ŸŸN92•––"::Új›7ß|ñññP©ThiiA`` ’““-¶?uêNŸ>¾¾>À矎ºº:œ9sgÏžEMM ¾øâ‹!ׂeË–á§Ÿ~‚V«òrÖêbÿ743Ƅ׶¶sÓ¦MøñÇQVV¥R •J%ÌËÊÊBEEÊÊÊÐÔÔ½^”””»®ÕaŽÆñn’íîîδZ­]Ëtvv2™L&LÃìpåÊ“ö“'OfuuuÂtmm-›2eŠ]ë[»v-{úé§™H$b“'Of}ô‘ÉÑj°í¶U—­}e¾S§Neµµµƒ¶>}:«¯¯¦¯]»Æ&L˜`µsù$²²²PYY)¼/‰póæMaúÚµk6ë2gk;ÇÆÆÆA— Bss³0l2Æœz÷†SÂôÙgŸ!;;™™™P©TèííEUU"##…6===5jFމ––,]ºÔ®uDGG#)) *• *• IIIÎÓÌ?èþÓ!!!(((@kk+ôz=š››ññÇ#88XhóÜsÏ!=====hnnÆòåËíªq(Û¹dÉ$&&B©Tâúõëøàƒ„y+W®ÄÒ¥KñÛo¿áÖ­[¨­­ETT”Ý5pãè±ín“—/_fááálôèÑÌÓÓ“Íš5‹ ó?Î{ì1æááÁ‚‚‚Xvvö€!d°×whµZ–˜˜È¤R)“J¥,11qÀpa¾\ÿéÒÒRÎÄb1‰DlÒ¤I,>>žµµµ mjkkÙìÙ³™H$b&L`Û·o·Y—ù{¶¶óÖ­[lÍš5L&“1±XÌ222„yF£‘egg³éÓ§3///6cÆ öí·ßX§5<‡9Æ»úwç»!NÂñó£¿N!üP˜7& …‰pCa"ÜP˜7& ·?u*,,äÕ¹~ýõWn}9¦€€¸»»cÑ¢E<êvÜÝ%øÇ?f¡£ã{Üþ.õá#“ɸôãðð‡Ýš5Eسç'ÅcΜ©Î.g8£+àÖèõF9r„ßÄ2 “•• èìÔŽ½½žþ9‡5&+Ž9w÷Û»èæM**ê\ÑðFa² ·×€ý«Ãí£‘››+Š‹Ï9¹ªáÂdÁ÷ß×¢·W/L }8q¢==½N¬jx£0YP\|®®¦wbêõFüûßuNªhø£0 ¢«K‹òòz }&ﻺÅÅgTÕðGaÄñã…¿¿ëÏhd8uªׯ÷8¡ªáÂ4ˆ¢¢s°öG%%%ï_1 “™ÖÖ.œ>Ý£qð/úúŠŠÎÜçª &3ÇŽ]pâÝc g϶@­î¸U=(LfŠ‹ÏÂhx¾Ôc·¯ˆSÜnAyXxx¸ÃßÿaÚhìCo¯ÞÞž&í諕讎«ÆŠÿÄþÃçe?Äè®Â…‰pCa"ÜP˜7& …‰pCa"ÜP˜7& …‰pCa"ÜP˜7& …‰pCa"ÜP˜7& …‰pCa"ÜP˜7& …‰pCa"ÜP˜7& …‰pCa"ÜP˜7& …‰pCa"ÜP˜7&Â3SYYÉÜÝÝn?©ïþÇÍ͇‰D:½ŽáôhÆ+ð?-Õj5 RSSÍg‚Ë—/[|„®År¯ê!):g"ÜP˜7& …i˜«««ÃâÅ‹êìRl6azv–3äææbÙ²e(//wv)6q{ÜÅü¯¿þÕÕÕÐjµ˜2e ¢££1wîÜ!-¯wVOO<ˆÊÊJh4xzzâ©§žBDDfΜ9lûojjÂìÙ³®ï~à&•J…U«V!** ‹ÅhllD^^ÞÃt¯¥¥¥A*•bãÆð÷÷Ç7P]]½{÷r Ó½êÿæÍ›ðððp¸¾ûË0·gÏDDD`Ñ¢Eðó󃇇üq¤¥¥ mT*RSS†×^{ )))èììæ÷æBCCQXXˆE‹aÞ¼y½^mÛ¶A.—#""Û¶mƒ^ÿÿd6ïÃ|º¦¦+V¬€L&ƒ»»;Fdee¡»» .Dww·ÉòÝÝÝGww7ôz=233†ˆˆäåå ¹KõÙÚî;óBCC…×¶ö£ÑhÄîÝ»¡P(ðú믣  @˜Çþ}û°°0lÞ¼:n@Mw‹K˜ÎŸ?ùóç[m“ššŠ… ¢°°ùùù;v,vîÜi±ýÅ‹±}ûv”••öïß+W®`ÇŽÈÍÍ…R©Äþýû‡\ã3Ï<ƒôôt\ºt ½½¦O÷ññÁܹsQRRbòþwß}‡—^z >>>Ø·oZ[[±{÷nìܹçΙ>–ÞZÿöè¿Ýw†þòòráµ­ýxèÐ!ÔÔÔ 33„F£æ¡ºº8pà ¾ùæ›»®Õ—0uuuA"‘Xm³k×.<ûì³ðòòÂÈ‘#ñî»ï¢ªªÊbûÄÄD“>øá$&&Â××¾¾¾HLLÄÉ“'M–1?ïê?’’‚   dee!,, 111رczzn?oW.—ãèÑ£0o?úËh4¢¤¤‘‘‘€“'Oâ½÷ÞƒD"D"ABB‚ɺlõ?TæÛmÎÖ~>>ˆæ•””`ÕªU€V®\‰ÊÊJ»ê³†Ë9Ó¨Q£ÐÖÖ†€€‹m››‹ÆÆFa8quµœe???“ióþñ÷ß¹FoooÄÅÅ!..Œ1´´´ //6lÀÆ„I“&¡²²¡¡¡8uêžxâ H¥ÒA×o¾­¶ú*óí6gk?j4ºlkk+Þ~ûm“÷\¬=ŒØN\ŽL3gΆ#KÖ­[‡ àÀ(--űcÇ}B÷æ)‘H V«…é«W¯bìØ±wU¯‹‹ &Nœˆ„„ÔÔÔïGFF¢¸¸P\\ …Baqýý_µOOO“!°½½}Ðe­±µýüüpõêÕA—õóóáC‡„a³¼¼Üæçf.aZ²d >ŒÂÂBh4èõzÔ××›Üy Óéàíí ‘H„ÖÖV¤§§ÛµŽùóçcëÖ­Ðh4Ðh4غuë€ó4k'à«V­BEE®_¿ƒÁµZ¯¾ú 3fÌÚ<ÿüóèééÁáÇ1bÄ<úè£&ëÿòË/ÑÖÖ†¶¶6ää䘬k(ýO›6 ùùùÐétP«Õزe‹]û°½,X€ììl¨Õjtww›ÔùÆo ==---0 P*•X·nÝ5XÂe˜“ÉdÈÈÈÀ®]»°wï^èt:L:QQQB›Õ«W#''iii3f  …]ãõâÅ‹‘››‹åË—¸”·ÞzkÈËÇÆÆâÈ‘#ÈÈÈ@oo/$ ^|ñE|òÉ'&í"##±eËlÞ¼yÀú·nÝŠ¸¸8¸¹¹!<<.\°«ÿ?üééé8pàÄb1bbbðóÏ?yÛûQ¡P@«Õ")) :‹/æEDDÀÅÅ)))P«Õ?~<Þyç»ÖòǪ@¡P<W\I©TâÓO?ÅÁƒ]Ê}UQQ´´4 ò4^z¬ª=rrrÐÞÞŽÖÖVäää 88ØÙ% +ôôp;øûûcÅŠÐëõæ:D< (LvËåËåÎ.cØ¢aŽpCa"ÜP˜7&ÂÅðþ·rÇ_ýeqÞ€0½ð ˆŠŠ¾='¤?___¼üò˃Îpœ»DWÀ ?& …‰pCa"ÜüÞsÕ¢Ã|­IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1PsSurface__inherit__graph.png0000644000000000000000000000013213012573354027057 xustar0030 mtime=1479210732.465939965 30 atime=1479210732.465939965 30 ctime=1479210737.561938599 cairomm-1.12.2/docs/reference/html/classCairo_1_1PsSurface__inherit__graph.png0000644000175000017500000000625613012573354030566 0ustar00murraycmurrayc00000000000000‰PNG  IHDR‰p¥ÛÄObKGDÿÿÿ ½§“ cIDATxœímLS×ÇOi¥"RžÊC|b.‹›Ã1Ý4Y‘7f&Lð¡Àì€lj”‚ÛÌÜaMWH‘ιlPÐÌ !sÅÌ)*  [)v«)¤ Oö‰¶ôÿâšûï ¥×îŽð|^˜sÏùqÎ÷œï=çpO±—bµZJ<Ü-áä ¼ oày/4"A‡V©Tÿµ”ç*•Z\\9w¡ySRRò÷ß“  ºººµµÕi¡yÈÉÉÙ»wï¿“„x …B!†öxAÞÀ ò^7ðûï¿GEEÜæ wzÏX9räĉ°-’éMooï®]»üýýétzLLL]]ÝÜñdÅøøøÑ£G£¢¢¼¼¼üüüvîÜÙÔÔôL5tvv¾ýöÛ¤ˆ!Ò¼ùóÏ?9Λo¾ÙÞÞ>11ñÍ7ßTWW“UùÜp¹Ü‘‘‘K—.õõõ¥¤¤Óh4½^ï´ªññq6›W‹'>|ˆÇ¬Zµª§§Kwuu­^½Úi¹¹¹¯¼ò ƒÁXµjÕÇŒO#àxÞØ¶èhlÕ®Y³¦««kFÀºuëz{{±ôàà`DDÄÜRñæˆÌÒ¼a±Xýýýv‹nß¾½mÛ6&“‰Ý T*¯O`÷/ƒÁÀmÖëõ ƒˆH«Õj±Xº»»SSSwìØ1£‰¹[´ s¤ÖVÎÒ¥Kmot": zCÚšWSSc·()))55U.—›ÍæÇ[,–Ù1¶ë~hh¨B¡ÀÒr¹<,,Œ —^z©´´´¥¥Ëa0:K:j‘ˆÚ+VÈåòÁááá¶7A©„ºCVE_~ù¥X,.))Q©TF£±µµu÷îÝX‘V«õñññööV*•û÷ïwZUrr²@ P©T*•J Ønc¶Ч9NmmíÐÐÉdøôÓO·nÝŠmܸQ(jµÚƒéˆ#µiii|>_¡PŒŽŽæää`™‡Ú¿ÿƒ¦¦¦ººº’’’ˆ4Açàýû÷|}}===cbb¤R)–éÒ¥^xaÉ’%áááb±Ø,,3z½žÏç³X,‹ÅçómW`ï÷´¦¦¦„„&“É`0V®\™‘‘122‚uuumÞ¼™Á`DDDœ:uÊQ‹¶—ŽÔNMM}öÙgl6›ÉdŠD",Ób±ˆÅâuëÖÑéôõë×ÿüóÏNGÉ:ÿû ‚8ǧÁ ò^7ð‚¼ä ¼ oày/DÿêæÍ›ð|Lù¼@äY‰Íf»[&(¾¾Ûi4wËpFkiiq:ì+d’»ÌòÝ»ËÓÒ¶ív·rX<ûÍ… mØ¿&™‡Ánd‘xc2Y.^lŒ®_ÿÃÝrÈa‘xÓÜü`rÒ Ñ<.\¸ën9ä°H¼©¯¿K£yÌfËåËzý”»‘ÀbðF§›úå—n³ùé6c4š¯\¹ï^I¤°¼ilì²Ýÿ)J}ý7ê!‹ÅàM}ýÿ?[,Ó2Ùƒ±1%‘‚÷flL×Òò‡Ù½á<=vïÏ94 44§¢"5>~ƒ»…ÃÂ^Ó7ÈxAÞÀ ò^7ð‚¼ä ¼ oày/ÈxAÞÀ ò^7ð‚¼ä ¼ oày/ÈxAÞÀ ò^7ð‚¼ä ¼ oày/ÈxAÞÀ ò^7ð‚¼ä ¼ oày1¶_¦ÖÒÒB£-àÿ‡Ç`¬¥R—¹[…ëäääØÚñ'ÔjµÙl>v옻Ä=ÏH¥Ò/í¶3K8Î<ÉAØpíÚµ9h¿ä ¼ oày3===</66Ö-­Ï“7îêÞ¿D"‘8p ¹¹Ù-­»ø4ó×_}÷Ýwz½~õêÕÉÉÉo½õÖñdu÷˜ÉdÆÄÄdddøøø8 ÖjµçÎkiiÑh4žžž/¿ürbbbtt4ñæúûû7oÞüoE»Š+Þ¨Tªìì줤¤ÌÌL&“)—Ë«««çö†D0›‡‡‡ËËËÅbñ_|á(2??ŸÅb?yò¤£££²²ò™¼ÑétK–,!A´K¸âÍ?ü˜˜¸wï^ìòÅ_ÌÏÏÇÒ*•êôéÓíííÓÓÓÑÑÑ}ôÑòå˱±±Ø˜ÆÆÆ~øá‡R©txxX&“™L&‰DÒÜÜlµZ·mÛvðàA|,ð™‘ÆÈÊÊJKKÃ.ÛÚÚ***”J%“Éäñx;vìtvvÖ××{{{|}}9þè6£B»ò°oúÁfjss³£®Y,–ÊÊÊÆÆFNÇãñ°a±Z­UUU—/_Öjµ[·nÍÊÊb0Ï:ήì7mmmqqqv‹Ž;¶sçN©TZSSpúôéÙ1÷îÝ;uê”L&TUU=|ø°¢¢B"‘(Šªª*â2( þúŠ¢¢¢}ûö544ˆÅâû÷Ÿ~Éí† „Baww·Ñh$^-.s«¹¹K8êÚO?ýÔÙÙYRRrîÜ9FƒeÖÕÕuttˆD¢³gÏšÍæï¿ÿž¸W¼™˜˜ð÷·ÿJ†3gμúê«t:ÝÛÛûƒ>hmmÃçóñ¿rå ŸÏ äóù¿þú+f{_ÏÞ®FFFÊÊÊ6n܈]R©ÔáááÑÑÑ   O>ùËÌËË /--OII©¨¨ÐjµN{g+H׳²²BCC—-[–‘‘e644dgg‡„„,[¶ìСCø»`Ÿ WÖ4Ÿ‘‘‘ÙE}}}‰D.—ONN<<ìx„§më vÚ:¶Èøúú¾öÚkøXVVVþøã>>>™™™›6mxyy¥§§§§§[­V¥RY]]]XXX\\>~vŒ­PµZxôèQ@@€ÓÖíþÊ·víÚ‚‚«ÕzëÖ­“'OÖ××Ïh122233“Ëåb9žžžF£‘N§?~ìH‘®=zôhåÊ•¶ÁAAA'Ož vÚ9peMKKK;þ¼T*Õh4&“©··?º6 ^^^ chhH(:­*..®¬¬L£Ñh4š²²2ÛmÌö‘ÈéãQAAR©Ä^çŒnvvöÕ«WGGGÍf³Z­þöÛoׯ_EEEÕÔÔ µZýõ×_éµ£®mß¾],«ÕêÉÉÉòòr,ówÞ …J¥Òl6+ŠãÇib®Ì6›-‰Îœ9SYYi0Ö¬Yƒ¿GùÈ‘#åååùùù~~~\.×é:Ëãñ$ ö¦çØØØ}ûö¹ °eË–ÜÜÜ¡¡¡ˆˆˆÏ?ÿËLMM½pá‚H$2þþþ›6m‹>, Ïž=Ëd2SRRnܸᴠG]ãr¹z½^  ‡e&&&R(”¼¼<µZ½bÅŠ÷ßß…Nýã;!kkk¹\®»ƒŸsòóókkkñtž/ÈxAÞÀ ò^7ð‚¼ä ¼ØyöÄüóIOOÏŒ¿>û‡7¯¿þzRRvò˜g8Ξ={lsÕ»"h¿ä ¼ oày/ÿ ðOÔy0IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Surface__inherit__graph.png0000644000000000000000000000013213012573354026554 xustar0030 mtime=1479210732.617939924 30 atime=1479210732.617939924 30 ctime=1479210737.585938594 cairomm-1.12.2/docs/reference/html/classCairo_1_1Surface__inherit__graph.png0000644000175000017500000010573113012573354030261 0ustar00murraycmurrayc00000000000000‰PNG  IHDRq»5ô¥vbKGDÿÿÿ ½§“ IDATxœìÝy\TÕûðϰšÊb‚Ê® ¥æ× %·PËÜR‘Å—pCÂ-Ë%q E$Ò4÷Ô5ELMpÁ%Á-eÕQAdU`–óûÜû ëÌÀó~½|5wî¹ç<÷6/M‰zâ„ÔCDDœk-ãààwwwðxŸq¹\™c400`IIIÕ®kHg,--­Æ¶E"»ÿ>suueãÆ«µNiÇ¡ò6ÒŽkåãVž––V•!•÷£&Š”Äi8…z9r$‚ƒƒk-ãääWWW$''C("77"‘¨Æò•¯éÒ¥ RSS%ËÉÉÉèÚµ«Ì1~þùçØ¿¿Ìå¥Å/^¼À¤I“°ÿþZgðSQQA¯^½€+W®HÞçr¹(..–,gffÊÔnyÒŽ«‘‘’““«ÝÖØØiii†…jû¢ (‰RkÖ¬A`` ¶nÝ ‡ÒÒRDGGcòäÉ’2EEEhß¾=Ú¶m‹ŒŒ ¸¹¹Õ© gggxzz‚ÇãÇãÁÓÓ³Ê8|å„W~ù‡~ÀÁƒ±lÙ2$$$€Ïç#//§OŸ–©ýŽ;"!!¡Â{'N„··7\¥¼ Ž=Ь¬,¤¥¥aùòå2dˆ¤Lÿþýáç燢¢"¤¥¥aîܹ2ÅRž´ã:cÆ xxx 55yyyX¼x±dÝüùóáææ†„„”••!..NNNuŽA¡Èù—! õøyüàÁfggÇ´µµ™††³²²b!!!’õááá¬GL]]³ÀÀÀ: ]ðù|æááÁôõõ™¾¾>óðð¨2LPy»ÊËlÖ¬Y¬K—.LMMééé1;;;výúu©qlÙ²…ikkË|uJDD³³³c:::ŒËå2333æîîÎrrr$eââ☵µ5ãr¹ÌÄÄ„íØ±Cêq¨üž´ãZVVÆV¬XÁ ™ŽŽó÷÷—¬‰D,00õìÙ“ijj²>}ú°“'OViSšú|^š ‡1º Їƒàà`šŠ–ÈD‘>/4œB!JŒ’8!„(1Jâ„¢Ä(‰Bˆ£$N!JŒ”LZµÒR!Ξ‡C³äåDIœ´J±±OãÇï ¨¨ò‰z¡$NZ‚‚b„…ý‹ƒ¯áþý§èÖ­¾új(œœÂÐÐÿüóB>Ù†ÚÐÍ>¤Å‹‰IÃîÝ—qîÜ}p¹ê˜0¡œœ SI##£ S–R555DFFbèСò…’8i™cøûïxl߉˜˜4ôïoŠéÓaüø¾ÐÒÒwx„4Jâ¤EDøóÏ;øå—H<|˜…!C,ðÕWÃðÙg½ä!M‚’8i^¿.Å¡C×±{÷eä伯¤Iý1þpXZÒ KҲщM¢Ô‚ƒ£±yó_(..ƒ“Ó@ÌŸ?]ºhË;4Bš%q¢”Äb†øùEnnfÍŠ… G C‡6òfEIœ([·Òðý÷'ðàÁS8;[cÉ’QÐ×ï ï°‘ JâDidebýú0;vƒ[àÂ…ohÌ›´z”ĉR »‡åËCÁåª# ÀVò‰…@Iœ(´Çsàå‚«WÂÅÅ«WODÛ¶4Ï !oQ' ëÈ‘°rå ë!,lúõ3–wH„(JâDáòñÍ7Gþ/æÏ/¯1PWW•wX„($JâD¡Ü¾ùóƒ@ FPÐ< b)ïQhôP¢0º{ûmèÑÃßP'DÔ'rWV&ÄŠÇpäÈM,X0ÞÞã ¢BSÂ" JâD®ž?χ›Ûò‰¥BIœÈÍÍ›©˜={ôõÛãܹ¥05í(ïQ:4&Nä"4ôwÀÚºÂÂQ'¤ž(‰“fÅÖ-gáéù¦M„]»f MzH!õEÃ)¤Ù”• ±ti0Nž¼ƒ ìáê:XÞ!¢ô(‰“fQPPŒéÓ÷àáÃ,üñÇ< b!ïi(‰“&—™Ygçxýº§N} }y‡DH‹AIœ4©ôô—pqùêêª8yòkzâ!ŒNl’&óï¿OðÅ?A[» Nœð NH $NšÄµkɘȪ®Ÿ¯Æ@=q"“ׯKáâò+„BŽ™öíµäR³ˆˆˆ€³³s­eàîŒ tíÚÞÞÞ5–¿|ù2nÞ¼ ±X X¿~=âããƒ[·n!666l¨wÌáááøûï¿‘›› Œ;'NœÀÙ³gñòåK|ñŘ7ožÌñ¯[·¸ÿ>îܹSe$ —.]Bdd$RRR °jÕ*ÉzÌ™3×®]ŸÏ¯÷~•?nì¿!*Ƙ䵴ýðõõETT"##‘ššZaúiû Ðšõ+ƒ(¥²2!stÜÁ>ø`%KKË–¾C{JjjjŒÏçש‚‚fhhX¡Íò¯ÓÓÓ+”777gñññ’常8Ö­[7™Û«\ÿ³gÏ$ËEEE {þüy…÷´´´dŽßÜܼBÏ=>>¾B›={öd‰‰‰’åÌÌLfbbR¡¾•+W²¾}û2.—ËÌÍÍÙ²eË*ôΫKEÒŽ›´ôUy?ºwïÎâââª-+mdU×ÏWc $N¤Z´èfañ-‹}"ïP¬®dúúú,%%¥Ö2111lĈLGGGòó^UUµB›å_‹Åâ Ûs¹Ü _|>Ÿq¹\™c¬\më«{OZü\.·ÂðŸÏ¯°½––V•á •jc‰DìþýûÌÕÕ•7Næ«;n•·‘e?júB®Ë>ÔFIœ†SH­Î#4ô¶mû}úÊ;œf7räH×ZÆÉÉ ®®®HNN†P(Dnn.D"Qå+_MÒ¥K¤¦¦J–“““ѵk׆^ÒâïÒ¥ ÒÒÒ$Ëåcccc¤¥¥I†6c5î¿ŠŠ zõê…€€\¹rEò>—ËEqq±d933³Ê¶Ò®Â‘¶FFFHNN®vۺ샢¡$Njv›7ŸÅÚµ¶5ª·¼Ã‘‹5kÖ 00[·nÇCii)¢££1yòdI™¢¢"´oßmÛ¶EFFÜÜÜêÔ†³³3<==ÁãñÀãñàééYe¾rkÌË ¥ÅïììŒ%K–àÙ³gxöì–,YRaýüùóáææ†„„”••!..NNN’õ6668zô(²²² ––†åË—cÈ!’2ýû÷‡ŸŸŠŠŠ––†¹sç6ú~̘1HMME^^/^,ó>(´fí÷¥ÊLM—±Õ«OÈ;”F…züÜ}ðà³³³cÚÚÚLCCƒYYY±ÉúððpÖ£G¦®®ÎŒY```­WTÆç󙇇Ó××gúúúÌÃãÊÏþÊÛÕ¥~iïI‹ŸÏç³9sæ0Ö©S'¶víZ¦®®.Y/‰X`` ëÙ³'ÓÔÔd}úôa'Ož”¬ˆˆ`vvvLGG‡q¹\fffÆÜÝÝYNNޤL\\³¶¶f\.—™˜˜°;vÔy¿¤íGYY[±b344d:::Ìßß_æ}U}>_ Åù¯aB$?ÎÁر[aee†½{gµ¨»19‚ƒƒ1eÊy‡¢´bccakk[eX…ÈçóEÃ)¤‚¢¢RÌœ¹;kcûöi-*“ú[¼x1233‘‘‘%K–ÀÖÖVÞ!‘ÿÐC!ˆc K—!3³gÎ,F›6ò‰(SSSXYY¡¬¬ 'Nĺuëäù%q"áïý‡#GæÁÄDOÞáâéé OOOy‡AªAIœÎ»­[Ïaýz{ Ô]ÞáBdDcâ))/àáq..Öpu,ïp!u@I¼•+-bÞ¼ƒèÞ]ëÖM’w8„:¢á”VÎÛ;Ožäâüù¥ÐР!ʆþj[±?ÿ¼ƒààhìÙ3ÆÆ­çDæÖ­[qðàŸPQ¸\¡¼Ã!¤Ah8¥•JIy/¯£˜7ÏcÆô‘w8Í¢°°&,F^Þ‡¸sG™™måiaœœœ0`À€fm“îØl…Š‹Ë0vìV¼óŽ&NœðhÑOç‹nÝJChè-?~B¡ŸÞ“'„#Þƒª*õcˆr£á”VhÅŠP¼xQˆÃ‡—µØ^XX‚#GþÁW‘‘‘ƒ?4ÁêÕ1qâ‡hßž+ïði4”Ä[™?þø!!·°ÿ,êÈ;œF—žþ{÷F!8ø&ÀÑq ¦Mû––rŽŒ¦AI¼IL|Ž•+OÀÃcd‹›Z6::{÷F᯿b¡§×sçÚ`öìaÐÖn#ïÐiR4&ÞJ•bìØ­èØñ/€šZË Žˆx€-[ÎáÞ½Ç0ÀnnÃ0ztë&­õÄ[‰+Ž!?¿GÎo üòå$øùý…;wãÓOßÇ™3‹ñ¿ÿË;,Bš%ñVàܹû ½…fC_¿ƒ¼ÃièèTlÞü®]KÆÐ¡–_DÉ›´j”Ä[¸œœ×ðò: gçøì³^ò§Þââxøá‡“¸~=Æõ@X˜'ú÷7•wX„È%ñnùòPp¹êX½z¢¼C©—üübøúžÁáÃ7ЯŸ NœðÀÀæò‹…AI¼ ŽÆ_ÅâèÑh×N¹®fŒ!4ô||NAE…ƒ'ÃÅÅšž4DH%”Ä[¨çÏó±fÍIÌ™ó‰ÒÍûß}w ÿþû®®CðÍ7cèBj@I¼‹¾þúwtêÔ^^cåŽÌøü2¬_\…µu7œ?¿ ={v–wX„(4Jâ-ÐÞ½Wpóf*Nò—«.ïpdrûv<=ÇË—¯à‚É“?’wH„(Jâ-Lrò lÜŽE‹F)Å¥w# ào lèÜY[Þa¢4èŽÍD(câÄŸ Šqúô"…ŸÜ*1ñ9¾þúw¤¤dÃÛ{fÏ ‡N\RÔoA¶o@BÂsœ;·T¡¸H$ÆÎ±yóYôécˆ –ÁÌì]y‡EˆR¢$ÞB¤¥e# à<¾ùf ,,ôåNž=ËǼy÷˗Ü9ŸÐeƒ„4 §´ŽŽ;ðòå+œ=«¸½ðK—±páa¼ûn;ìÜéŠ=hzXBŠzâ-@pp4®]{„“'¿VÈÎÃ/¿DbãÆpØÚ~ˆM›¦ M y‡EH‹@I\Éååaݺ0̘1D!çÉÍ-ÂÂ…‡qýz2Ö¬±ÅW_ “wH„´(”Ä•ÜêÕBMME!oê¹wï1æÌ9Æ€ãÇâÃMä!-ŽòO,ÝŠ]¿žŒcÇncãÆÉ u[:c ;w^„ ?¡W¯®ˆˆø†8!M„Nl*©²2!FŽÜ 3³Ž8xÐMÞáH”• ±ti0Nž¼ƒåËÇaþüátí7!Mˆ†S””¿ÿ9deàèÑùòE"/¯³gïÇýû<ìÝ;K©ç/ŠŠBff¦¼Ã BUUcÇŽ—«8¿xߢ$®„’’2±cÇE¬Y3QanQOL|Ž3ö‚ÃNŸ^¤ôO—1b„B¡¼Ã 䨱c˜4i’¼Ã¨‚’¸’aŒÁËë(z÷îŠéÓË;o®ÿž7ï7XZvƾ}³Ð±ã;ò©Á„B!‚ƒƒ1eÊy‡B‡ÃQØ/u:±©dBCoáÎ lÚ4E!žè~øð LŸ¾#F¼-"¢L¨'®DŠŠJ±aC8¾üòcôêÕU®±…b|÷Ý1üþû ¬X1 Œk<„´V”Ä•ÈO?ý’¾ùfŒ\ã()`îÜßpíÚ#ìÙ3£G÷‘k<„´fòÿ=Nd’‘‘ƒÝ»/cٲϡ«ÛVnqòáì¼ÑÑi8rd%ð®üå¡7nÜ€¥¥e“_2Ú\í´”Ä•Ä?œ„±±ž\Offg¿‚½ýv¤§¿Äñãî°²2“[,-‘¢'-///øúú¢©o-i®vZ JâJàêÕG8{6kÖØÊm‚«Çs`kû3^¿.Á‰xï½.r‰C‘%&&ÂÞÞzzzÐÔÔ„••BCCeÞ¾©“‡Ã‘ü300€««+rrrdÞ>66cÇþÿôðöö†¥¥%Ú´i]]]ØÚÚ"""¢AqVn‡ÔŽ’¸‚‰ÄX½úFêáÃ{Ê%†¤¤LØÚþŒví¸ [SÓŽr‰C‘=zô6664hîÞ½‹ÂÂBlÛ¶ AAAò­Æc¸}û6ø|>¾þúk™·-,,„¦¦¦dÙÑÑ999G~~>’’’àââŸÅX¹"# mïÞ+ÌØx)KIy!—öoßNgï¿ÿ³·ßÆ ùr‰A°àà`™Ë»¸¸°uëÖÕZ&))‰ÙÛÛ3]]]Ö¡CfggDz³³+´Yþµ¿¿?344d‡1ÆXII óôôdL__Ÿyzz²’’’*q×´\y]ff&ÓÓÓ“,—––² 0]]]¦¯¯Ï6mÚ$Ù@…Œ1¦¥¥ÅòóókÝçêRLmûY];ÒŽ›@ `+W®dÆÆÆL[[›ùùùIÖ‰D"æããÃLMM™ŽŽ›9s&{ýúu­1×´uù<4'ê‰+°‚‚blÙrsæØÀܼù_õ“'oÇ AÝñÇsÑ®âÝr¬("""àìì\k¸»»ƒÇã!##]»v…··wå/_¾Œ›7oB,Ö¯_øøxÄÄÄàÖ­[ˆÅ† êóÛ¡•·6lØ€‡"66·nÝÂ_ý%YÇþêaÿõäÀÆÆsæÌÁµk×ÀçóëGùý¬®iÇÍ××QQQˆŒŒDjj*x<žd]@@.]º„ÈÈH¤¤¤@ `ÕªUõŽU!Éó„ÔnÅŠPöÁ+YAAó÷€/]Jdffß°yó~c¨ÙÛ—7Ա祦¦Æøüºý*((`†††Ú,ÿ:==½Bysss/YŽ‹‹cݺu“¹½òõ?}ú”9991'''É{ݺu«Rå˜*Ç¿råJÖ·o_Æår™¹¹9[¶lY…Þyu)FÚ~JKK•[÷îÝY\\\µe{öìÉ%Ë™™™ÌÄĤÖú«S×ÏCs¢$® >ÌdFFKXPÐÍfoûâÅfjº¬Õ&pÆêþG«¯¯ÏRRRj-ÃFŒÁttt$ꪪÚ,ÿZ,WØžËåVø¢àóùŒËåÊ#Ê StêÔ‰M:•½xñÿÃtÕÕ_[/O$±û÷ï3WWW6nܸZ·‘¶Ÿ•·‘vÜ*Ç]ž––V•!•÷£&ŠœÄi8EAmØpúpp°jÖv/^LÄÌ™{akû!¶oŸ55úˆÈbäÈ‘®µŒ““\]]‘œœ ¡PˆÜÜ\ˆD¢ËW¾ä°K—.HMM•,'''£k׺ݹËþ¦ÈÊÊÂáÇñî»ÿ?L×µkW¤¥¥I–SRRd®WEE½zõB@@®\¹"yŸË墸¸X²\ÝÌÒ.­”vÜŒŒŒœœ\í¶ÆÆÆHKK“ì7c¬Öc®Œè/Tݹ“óçãñÝw_4ë“à##0kÖ^ØÙõÇ–-Nôú:X³f ±uëVðx<”––"::“'O–”)**BûöíѶm[dddÀÍ­nóÀ;;;ÃÓÓ<<žžžUÆá+'ĺ\{îââ‚Å‹ãéÓ§xúô)-ZTky=zYYYHKKÃòåË1dÈI™þýûÃÏÏEEEHKKÃܹseŽç-iÇmÆŒððð@jj*òòò°xñbɺùóçÃÍÍ (++C\\œœœêƒB“ëïR-{ûmÌÎîçfmóÂ…xfb²Œ-]ÄD"±ô Z8Ôãçóƒ˜ÓÖÖfÌÊÊŠ…„„HÖ‡‡‡³=z0uuufllÌk®¨îO“Ïç3¦¯¯Ïôõõ™‡‡G•a„ÊÛI«³¼’’6oÞ<¦££Ã:uêÄ6oÞ\ëöÌÎÎŽéèè0.—ËÌÌ̘»»;ËÉÉ‘”‰‹‹cÖÖÖŒËå2¶cÇ©1U~OÚq+++c+V¬`†††LGG‡ùûûKÖ‰D"ÈzöìÉ455YŸ>}ØÉ“'k=Õ©Ï硹Г}ÌßÇÃÕuÂÂ<›íÁÇgÏÆaîÜßàì<7NVø;›‡Ã¡©h‰„"h8EˆÅ ¾¾g0n\ßfKàW®$aÞ¼ƒpq±¦Nˆ¢Y HHHÌOí™Þ,íݾٳ÷ã‹/þ‡õëí)¢„¨'® JK…ðó; kXXè7y{ Ïðå—»0dˆ¶nu¦“˜„()Jâ bß¾(ä伯¢EŸ5y[iiÙpvÞ‰>} ±s§+]FHˆ£¿^PXÈǶm˜3ç“&ðñ³gùptÜ##]ìß? šš4¢Fˆ2£$®¶oc¬Éqöòåk8:î@»vZ8thÚ¶¥™âQv”Äå,7·ûöEaá‘hß^«ÉÚ),äÃÑñ@pð|hk·i²¶!͇~KËÙŽ¡©#ê  IDAT©Wצ{bOY™³fíC^^1NŸ^DO¤'¤¡$.GyyEøí·«X´hT“ m0ưlY0ââx8qÂ]º4혻²ËÎ~… â¡«;Ó¦-…£££¼C" BMM1Ó¥bFÕJüòËEhh4m/ÜÇçNž¼‹C‡ÜðþûôHµêÌDHÈ-9ò ø4¨;v1c> 1nÒ*PoFÅØ¿? žžŸ5z/|õê?õÇ{4ùü+òöêU Nž¼‹ÄĤÁÜü]Ìœ9ÎÎÖttÀæÍS!ºæ%ˆ-[ÎáÕ«7Wéxx|J— Ò@”Ä›Ð/¿Dâÿ3ÆàÁÝ\×òå!xò$ýµDéNd†‡ÿ‹õëOãéÓ ^^c1p bŽ%—! àùD9Æì iIèfŸFæè¸ªª*õ¾¹§  ŸîîÝ;áàA7¨¨(ÞÄV‘‘ ðöEaa –-ûÓ§nÐØ¿"KOO‡··7D"‘¼C!rààày‡Q+ÅhU2II™¸zõ¾újX½ëX´è„B§*\ÏÏ/†—×Q|ùå.ôìÙ/zaöìa-6@tt4‚‚‚䑃7n $$DÞaHEÃ)hÏž+03뛞õÚþ·ß®áÂ… u‡®nýÇÓ›BXØ=¬Xq jjªØ³g&ÆŽmØ¥“ÊæèÑ£ò4³)S”ãÎhJ⤠ ÇßÆÊ•êÕƒ~ø0kמ¢EŸ)Ô8øãÇ9øöÛ\¹òS§ZcåÊ tÕ ! „’x# Іª*ööýë¼mY™ BÏžøúëÏš ºº Å8pà*|}ÏÀÈH§Ny¢y‡E©„’x#`ŒáСëpp°ªW/õ‡NÇËÅùóËb|ùÁƒgX¶,ññO1gŽ ¼¼Æ(D\„ªèÄf#ˆŠzˆÔÔl|ùå :o™€®bãFËw^”ÒR!||Naôè-ÐÒRÇÅ‹ßâ»ïÆS'ÍâÆ°´´l1l.Ôo¿ýv šã½÷:×i»ììWX¼ø>‚|ŸTû_ý23óñãpvHLrÄápÐÚ®þõòò‚¯¯/ìììäŠR¡žxeeàÂ…pu\§íÞ>'³m[M¬[gßDÑI'б}{¾øâ'tè …³g—ÂÅÅšx%&&ÂÞÞzzzÐÔÔ„••BCCeÞ¾©8‡Ã‘ü300€««+rrrdÚ¶  ÞÞÞ°´´D›6m «« [[[DDD4(¦ØØXŒ;¶Au´F”ÄèСhß^«Î—Ü8p W¯>ÄÏ?)·G’edä`òäíðó; /¯18q£ўÚš=zô6664hîÞ½‹ÂÂBlÛ¶Má®7gŒ1†Û·oƒÏçã믿–i;GGGäää <<ùùùHJJ‚‹‹ |||Oaa!45é OuÆH½ "Ö¯ßj¶aÃé:m—––ͺwÿ–ùúži¢Èj'‹Ù¡C×Y·n^lĈMìÁƒ§r‰C³ºþ™¸¸¸°uëÖÕZ&))‰ÙÛÛ3]]]Ö¡CfggDz³³%ëË· €ùûû3CCCÆápcŒ•””0OOOf``Àôõõ™§§'+))©ÐFå¸+×Y^ff&ÓÓÓ“,_¸põë×q¹\fbbÂvïÞ-Y§¥¥ÅòóókÝ¿êŽYmû Â?YŽ‘@ `+W®dÆÆÆL[[›ùùùIÖ‰D"æããÃLMM™ŽŽ›9s&{ýúu­1WæààÀê´FÝ»wgqqqÕ–íÙ³'KLL”,gff2“Zë¯LYzâ”Äë)=ý%ëÒe1;þ¾ÌÛÄÅñ˜±ñR¶sçŦ ¬¹¹¯™›Û~Ö¥Ëböý÷ÇŸ_Ö¬í+³ú$q}}}–’’Rk™˜˜6bĦ££#BPUU•¬¯œðÄbq…í¹\n…/ >ŸÏ¸\®Ì1¢ÜÐE§NØÔ©SÙ‹/$ëoß¾Ílmm™žž³°°`gÎT?ô'‰Øýû÷™««+7n\µñ˺O•·‘vŒ*ƒò´´´ª Ѩ¨¨ÔrDª¢$ÞÂýøc8ëÛw%++ÊT¾´TÀFŒðe'2¡PÔÄÑý¿7’Ù‡®aýû¯aQQIÍÖnKQß1ñ 6ÔZ¦[·nì·ß~c999L(²ÜÜÜǬ«k¿1{ⵋÅìôéÓÌÀÀ Öryyy¬]»v’e.—ËŠŠŠ$ËÏŸ?—ºO•ß“vŒ,,,jì‰÷èу¥¥¥Õ³4Ê’ÄiL¼Äb†L™2@æaüüÎâÉ“\üüóÔfyJX̰gÏ8:îÀâï¿—aÈË&o—kÖ¬A`` ¶nÝ ‡ÒÒRDGGcòäÉ’2EEEhß¾=Ú¶m‹ŒŒ ¸¹¹Õ© gggxzz‚ÇãÇãÁÓÓ³Ê8|åËDërÙ¨³³3>þ)36^Ê~ûíZGöÆ‹…ÌÉi31YÆvï¾\åg+‘]}zâŒ1öàÁfggÇ´µµ™††³²²b!!!’õááá¬GL]]³ÀÀÀ:õÄù|>óðð`úúúL__ŸyxxTZ¨¼´:Ë;räëÑ£ãr¹¬_¿~,22R².""‚ÙÙÙ1Æår™™™swwg999’2qqqÌÚÚZruËŽ;êÜ—vŒÊÊÊØŠ+˜¡¡!ÓÑÑaþþþ’u"‘ˆ²ž={2MMMÖ§OvòäÉZ÷¹2eé‰ÓC!ê᫯ö#7·Ç/”ZV(cܸ­xçM„†º7ùM4—/'áë¯GûöZعs:zõêÚ¤íµtG…££c«»{’üÿT´Š> 1 §ÔQnn.\xgç2•ß¶í’’2ñãMšÀ¶l9‹©SÅ'ŸôÀÙ³K(Ò ÐÜ)utôh 45Õ0~|_©eSR^à§Ÿþ†—ט&}xð“'¹X°à ’’2ñÓO.°·ÿ¨ÉÚ"„(ê‰×QPÐMØÚ~--ZˉŠK—ÃÂBnnŸ4YÚ¶mœ§“„„ÄàÛoCп¿ ~ùe:Þ}·]£ÔKd7tèPÉü!À›§!EE=Dtt*®^}„ÌÌ´m«‰?4Á°a–:Ô½{ûCE…oGš%q;v cÇ~Pcr.,,ÁªU'àì<C†X4¸½ÒR!–/AHH -…%K>§¤ 'å“öõëÉxö,_’´gÏ ++3ôëgÒ$—‘" JâR¤¥eãîÝÇðòSc™M›Î@ cÅŠñ n/+«³gïGrrø Ÿ~ú~ƒë$²ËÈÈAtt*bbÒpñb"ž>ÍC›6èßß3g¡¤M%q)Ž»NÚcðàê{Ø Ïqðà5lÚ4ººmÔV\³f탆†Nò„¥¥Aƒê#Òee :: QQqéR"x¼(è&îÝ{Œ¿þZRï1k‘HŒ<ƒ_~‰Ä‚#°|ùØfyhDkñâÅ+ܼ™ò߸v>Ì„šš Þ¿+¾øâ”´‰Ò£On-Nº =ôí[õZÑüüblØŽ3†ÔûÖúüübÌû¢£SñÓO.˜<™&¯j¨ììWøçŸê“ögŸõ‚ 0oÔ±‘'ú$×€1†°°{°·ÿ¨ÚyÀ7n ‡Š ß|S¿kžcÖ¬½(+áÏ?¿®ö‹‚H÷òåkܸ‘Œèè4ÄĤ!.ŽUUN…¤mee.W]Þ¡Ò$(‰× :: <^^µC)±±OðÇÿà§Ÿ\ê5v}îÜ},\x|`ˆ]»f@OïÆ¹UÈÉy;w2$'#ãâxPQá W¯®:ÔK—~kënh׎+ïP i”Äܸ‘‚Çs0jT/èè¼¹ÂääÉ;°°ÐGÏž+”‹V¬8†>2…]íó¨TgÇŽ‹X¿> ..ÖX¿Þž®z"7··o§W›´­¬Ìàî>Ÿ|ÒíÛSÒ&­%q{ö\Æ_ÅAE…ƒÌ1~|_œ>ý/Þy‡ oïP|óÍÉ僇]Glìœ;·¬N[ ÅX½ú¸†%KF5ê­ù-Éë×¥¸{7W®GKMI[_¿= 0‡Ï$ØØô„¡!%mBä’8 ó<***PQá 0Ð=zà³Ïü$Ã(Õ‹vî¼##]̘1¸±Â­“—/_cõê?qâÄm¨¨pÀÀç ÇC¿~ÆUÊWNÚ11i()THÚŸ|ÒFFºrØBHe”Ĩ««¢üù]0Æ*¼§¦¦ .W~kën˜ºwï„¿ÿŽÇõëÉ5Ö§®® @„>0¼y6=ºO“Æ_Yvö+,_гgã•/@ … º‰k×’“†¢¢RtÀàÁX³f">þ¸;LM;6kÌ„ú¡$Ž7Ã)oc@ûö\äæ¾yZ¹šš zôèŒßŸƒwßm‘HŒµkOBUU¥Â M \®&Mú³g«öîͦvß| >_P%y¿Åžžƒ^½ ±fÍD Ôffï6s¤„Æ@Iozâ"ƒŠ sæØà×_/x“˜?ù¤'vír•\ç}ðàu¤¦¾”$H U”•‰Ð³gg̘1ööýårMø‹¯à匿ÿ~ jï»2‘H 7·aèßß´¢#„4Jâx“ÄcèßߣG÷ÁÎŽŽVðõ"¹Š£°°›6co>—«Gǘ6mP•Ù›Spp4¾ÿþ8ÊÊ„R“÷[êꪸv-™’8!J®Ê›QQQ1b„B¡¼bjvêêúÐÖÜÜPhhA[ûs^EQÑí åÚ¶ýÚ··PøEE÷Àç'1œ¢~CSÓººvÆÄØ7Õ~ù ‡ÃÁÇwGh肦R´ÆÏ5‘ŸÅ‹Ãßß¿YÚªÒþü9„B!V¯^Ý,(–e€‚:v`|…µee ¯_‹¡«Û@7¹DXcÀ‹Bðù@Q‘Ožd!11¶¶.xñ¢/^"'ç5JK+&/¸s']2ScK÷ös}ôèQy‡BZ8ðx¼fk¯Æá›f ‚4žK—.áæÍ}8p ¢Âû|~²³_!;ûrr^ãÅ‹WPW¯Ût-ƒƒƒ¼C -\HHH³¶Gcâ­„––Œõ`lL×{Ò’H¿ïšBˆÂ¢$N!JŒ’xÅÇÇcÚ´i>|¸¼C!¤Uºqã,--[Ýù·&‰+küõ×_1gÎ\¼xQÞ¡ÔZKsòòò‚¯¯¯Ì÷H´4–Ä?~ŒU«Va„ øì³Ï0oÞ<\¾|Yæí›: a÷îݘ6mF &àûï¿Ç;wToJJ ¬­­)ÊæÅÃíÛéøþûãèÓç{üñÇ?òIá$&&ÂÞÞzzzÐÔÔ„••BCCeÞ¾9Ëýû÷1vìX´k×ï¼óFØØØ&o·®_Pðöö†¥¥%Ú´i]]]ØÚÚ"""BúƵˆÅرcT‡2k”$Îãñ°hÑ"ôîÝ{öìÁ™3gàéé‰ÈÈÈÆ¨¾QüðÃ(,,ÄÆqúôiÄäÉ“¡§§mmmLš4 /_¾”¬/ß[åp8غu+ŒŒŒþ›0 (--Å¢E‹Ð¹sg`Ñ¢E(--­Gåoùå5kÖ`Á‚X²d ```€Å‹cÁ‚þþªë5—O–ý(ûÛm9N•}¬üï­+W®`óæÍ°°°€††Þ}÷]L™2—.]’9NYâ¶/B¡«V­‚‰‰ ttt°eËÉ:±XŒuëÖÁÌÌ ººº˜5kŠŠŠªÄ¤H%‰ß¹s#GެµÌêÕ«akk‹£cǎؽ{wåÿý÷_ìØ±CÒ›?|ø0ÒÓÓ±sçNüúë¯HMMÅáÇeŽñÿûüüüpÿþý*$uQ>®·C@/^”¼–¶ŸGŽAll,¶nÝŠ?þøÙÙÙ’u¡¡¡¸wïüýýñûï¿C(bß¾}õŽ5?¿!!1°·ß+«µX»öþý÷  ¬Œn?—&""ÎÎε–qpp€»»;xdnt› IDAT<222еkWx{{×Xþòå˸yó&Äâ73`®_¿ñññˆ‰‰Á­[·‹ 6Èã… 0mÚ´*ïOŸ>½N¿„eÙò±ÿÿ¬ŸçÝ»Ìî]»0~üÿßõlccƒ9sæàÚµkàóù2ÇV™´8¤í‹¯¯/¢¢¢‰ÔÔÔ wWàÒ¥KˆŒŒDJJ V­ZUïX›C•¹SŽ= GGÇ:Qúé§8sæ 44dŸ½¯¸¸3fÌôD‡.isøðá ‚¾¾¾¤¼‹‹ 6nÜ@ZZ¾ÿþ{üþûï2·Œk×®áÉ“'ÐÓÓðaÃ0mÚ4´mÛ¶J oI‹«ºmjÛÏ/¿ü>>>033«RÖÕÕëÖ­ƒ‘‘ //óçϯÓÏ÷‹/bóæ£˜0ÁW¯>„Š b1û/iÔ<†©©©†Q£zaüøÿÉÜ–2¹qã~üÑbq™ÌÛ¨««ãÕ«Wàr¹2oSXXˆ^½záÉ“7_–G’\8ÒÓÓ%ŸaèÖ­ÂÂÂðþûïx3¾mkk‹ääšç«/OMM ¯_¿®#ŸÏG‡PVVV%Ž·ª{¯¶ý¨{mÛ_¸p^^^¸|ù2Úµk'©ÓÏϧNBRRºté‚I“&áûï¿G‡dг®qT·/8qâz÷î]¥ì{g?ÿü=zôdeeaàÀHOO¯±þʦL™Í6ÅC£Ü±Ù¾}{äää sçšgòKJJ¯¿þŠääd¼zõ $?)«Ó©S§ Ë•ëïÚµk…ŸHÒ´iÓ3gÎÄÌ™3ÁCFF‚‚‚°nÝ:lܸQæz*ÇU™´ýÌÎÎF×®]«Ý6++ Ó§O¯ð^]O•”:ŒÄ•+IPîñqµ×Ãö/ÂÂþ­S{ÊDEE«NåõôôðìÙ3˜››×XæÖ­[øöÛoq÷î]äååTUkš26®øH¼ÊõwïÞOŸ>•9ÆŽ;âéÓ§èÖ­â\>Ïž=“úY-O–ý¨{M}þÿÑi–––FII ž?^ᄇ¬¤íçèÑ£ˆçÏŸãÕ«Wؾ}»dÝĉáç燌Œ …B¤¦¦bíÚµuŽA,.…ƒƒ~ÿ}bc}°~ýdôík‡#ÓîÉkÖ¬A`` ¶nÝ ‡ÒÒRDGGcòäÉ’2EEEhß¾=Ú¶m‹ŒŒ ¸¹¹Õ© gggxzz‚ÇãÇãÁÓÓ³Ê8|mÉsõêÕØ¾};¶nÝŠÌÌLdffbë֭ضm¾ûî;I¹þýûÃÏÏEEEHKKÃܹs+ÔYŸýèØ±#*¼7qâDx{{cðàªÏ”µ±±ÁÑ£G‘••@€´´4,_¾C† ‘9NYHÛ—3fÀÃé©©ÈËËÃâÅ‹%ëæÏÿ¿öî<®¦ôøç¶ÞÐ*E¥RT&!¦¬‘e,YC¢f”„$…Æ>Æ:ͤ†ÁØf•Œ­lƒ!dJÒ Ä´QJëíùýaÜ_·ý¶Ý{ëû~½îKçœçœç{Ž{¿÷¹Ï9ç9s0sæLÄÅÅ¡°°111˜2eŠÈ14¦zùDëééÁßß111øúë¯agg‡Í›7 µ|||°sçNØÙÙaÁ‚èÖ­›Hu|õÕW000€››ÜÜÜСC|ùå—5^ßÅÅpqqÁ¨Q£°páBÈÊÊ ½Ñ½½½qûömŒ7^^^èÕ«—H1Õï§££#ÌÍÍáéé ggg¡Ÿ¼&L@ß¾}±jÕ*ØÙÙaýúõ:t¨È1”¦®Þ_~Ùaa^¸}{%V­'xlœ¼<]‘R•N:!""ׯ_‡……TTT0oÞ<¡õ¯¿þŠ%K–@YYƒ ÂÀEªcÅŠèܹ3>ÿüs|þùç077zOVÇÄÄááá¸xñ":uê„víÚá»ï¾CDD„ _vìØ?ÿüššš4hFŽ)´ÚìÇ’%Kзo_¡/•¿ÿþ®®®^²jÕ*>|;w†ŠŠ † 999¡ ª‹³&ªÛ—Å‹£oß¾8p Œ…~ xxx`ìØ±˜0aTTTàìì '''‘chLõrb“HŽ+W®àû￯ö&“ØØd?~GŽÜEjj6.ÖÄ»S›ü]}………èÑ£V®\)ÔUHTžØ$ÒÇÜ\ææºX¾|4îÜIÄéÓ`kkVýŠD¢)((`ïÞ½;v, $ÒÉM"(‰7s½z¡W¯Ê¯À ÒÅÊÊ ¯_¿w¤‘ÐY.B‘b”Ä !DŠQ'„)FIœB¤Øl¢ŠŠøÈÈÈAzzÞ¼ÉBFF.ÒÓß#55¹xý: 28xp¶¸C%„ÔA¥I¼ô0–Mc@a¡óPPÀEv¶:45SÀá_Sœ—×¹¹ªPUÍ„¼|íGB¬OÅÅrÈÌÔFq±ø|yäçË@[{.  •“••ùïÅAa!|~ 44Z‰)jñùt /! åÖ­[èÓ§O£ÕW.‰[[[cÊ”)àóù„¸efrñäIk|öY:8<®¢"u˜›g@N®DP.=] /^h #CªªÐÑÉ…†F~¹dߘrsåñü¹&øüÿßWÑx=|~ øüÿ¬  èÔ!J„æø¾&âѧO8884Z}åîØlŽNœ¸¹sƒªªöîý&l‡èë·Fpðèë·ðqÌb;;DG'ƒÃù8­®Þ ..}áìÜ::jb‰?5õ=/Æ¥KqVGVV¾¾pr’ÎGËB>¢› ù‘á 7·ëÖ†‚‚’“ßá‹/6áîÝDoŒY·îãàG%% Œ™™9غ5VVk0iÒ6œ>ý@¨ÅÛ´´”±ÿ ìØ1 ÊÊŠ5…Ï/µuù‘ !ÒEvuÙ1,›¡¨¨Ÿ_‚ÔÔ÷PUå"/¯%% |~ ޽‹Ï>Ó±±ttÔÿ‰‰é‚¡]?ýûêÕ;œ:õ~ûí23? S'-(+×üuejÚŽŽ½ŽgÏR«²SNNÞFDDÒÀáíÚ©BV–¾× ‘&Ô`Ïžëøþû“(*úÔ_ʬ,GТþØÇÌÁÚµö˜>ÝII°±ÙˆââÊûW?%Ã#,0wî`XZÖl@ýúrúôøø„àÇ ÿ2••ňæ;Öׯÿ‹+WƒÇ{ %%|þ¹!¬­;ÀÚÚ½{ÓH‡„H8Jâ¶o¿ _ß³‚çN~|Ü”}L0}ú¬Y3ëןƮ]WQ\\u× ‡ÃAçÎípéÒâоréé9øî»8~üžà1mÀÇ/??G8:Z Ê&%eàÎDF&âòåÇHN~‹-г§! 0•UXZPR'DÂP°yóE\¨ÑÃed86¬ ~üq2 ؈¬¬¨ìÊÈp ¨(‡S§Å«Wïв¥"zô0 ¤Nˆ¡$ÀÏï¶n ¯ñàåäd`n®‹Q£ºbãÆ³•^ "++ƒßŸ…M+\Þ˜23s±lÙQœ:mmDE‰v@é¤þ×_O’’%”ÔmlLÐ¥‹ddD{&(!¤n(‰X¿þ víºZã$|LäŸ.)LN~W__|ùeã]ô_/Æ¢°°£F‰öd¥²>%õë×ÿÅ_=ÁÛ·¹hÕJ––”Ô iL”Ä|÷Ý ìÛ÷W©›Õ“‘‘AII ¦Më‡n-ãp8°²ê€ °ÿ ´k'žëÇSé¤~ýú¿x÷îZ·n…= `mÝ66&°°Ð«ö!·„ÑP°té<øw“¸Œ zzX»Ö_|a‡ŸqçÎ3•@VV“'[cÑ¢á˜6m7ÒÓßcïÞoн{ã^"N%% Ož¼Add"®_ÿ×®ý‹¬¬ÐÔlKKJê„Ô'Jâ. FHÈjoÒ‘••‚‚,–. W×þ‚'ÇÇÆ&cذM êŒýûg@VV¹¹˜;÷7\»€€©?¾G#ìäáóKðôiª ©_½ìì<´i£ŒÞ½aeÕÖÖ(©R ”ÄxxücÇî  üx™!ûïoà O#DF>Gx¸:v~v¡Obb’qô¨;Z´PÌçóKðÃgñóÏðöoïáÍ>Qñù%ˆMÆ;‰ˆŒLÄÕ«‘--eôêe ›W¿˜š¶w¨„Hý}úc̘î>ÜÎο U+EøøØ¡OcAÙ^`ôè@lÛöƳ©žk×â1kÖ~˜˜´Åž=_CS³ù [ÅÅ%xôèÿIýÖ­§ÈÉ)€¶¶ ¬­`cc‚Lª¼Îæ‚’8€÷ïóÁƒŠŠ’`Þ¶máØº5ÑÑkÊÝвxq.^|ˆk×–AEE´±QâãSàâ²22ìÝû µ.k tR¿víãµêÅBIÝÖÖ zzêâ•FGI¼ÉÉoam½û÷ÏÀСŸ -{÷îll6b„žøþûñ"o;==3fìÅ£GÉ rƈõv³PYR70hýßIR# d]]Jê¤é£$^…±cƒ``Ð[¶8—[vðàßøöÛPœ;ç]«[ê‹‹Kðý÷'±gÏuÌ;K—Ž¢cj)?¿ÑÑ/™ˆk×þÅíÛ (,ü˜Ô?õ§÷ë×Ilã½Ò(‰WaÏžëøá‡0DG¯—+/´¬¤„aܸ ÈÈppâ„G­¯8ùtÂÓÖÖ [¶|)r÷ )//¯wï>Ç; ‚¥EE|¡¤ncc‚¶mUÅ*!uFI¼ éé9èÑã;üüó4Œ]þ6õ¸¸×>Ü?ý$<" ¨"#1cÆ^¨¨(aß¾o`l¬UýJ¤Æ>|(Ľ{•'uôë× -Å*!"£$^É“·CUU »v¹V¸|ùòc8qâ>®__Z§$ðúõ;|óÍ^<žŽ;¦aÀñšÕT}JêŸúÓͳgÙø÷ß,¼y“YYôõ•ѱ£2ÖE‹4¬BS$++ ;;;p¹t#Õ**â³nÝV2ÿóU–Ûºõ30XÄâã_×[ÝElÅŠcLGÇ‹­XqŒ×Û¶Iyrrr ®Zã—ŒLK¦¤dÊTU‡°6m¾bŽèÛ —ô¼Ž=*î·©ºÿîoääd0v¬%BC#+}¸¹ BçÎí°pááj‡µ­)9¬]kÀÀ©8xðoL™²©©ïëeÛ¤¼ââbƒ1V㟟ƒãÝ»KHM=€’’"‘Ö§—ô¼>½G$ %ñš4és<žŽû÷_TZFNNþþSÍÃþý7*-WV8uj>^¿Îˆ›p÷nb½nŸ"(‰×P×®íafÖGFVY®sgÌ›7ëןÁóçéõƒ¹¹.Ο_ˆ= 0aÂVlÛ^¯Û'„HJâ"˜8±'NœˆªöÊ  ƒ¾¾||B?Áꋲ2»v¹báÂøá‡³˜3çrr êµBˆô $.käääãܹ˜*ËÉËËbÓ¦)¸uëBBªn¹×‡Ã§ç8xÐ 7n<Áðá›ý²Þë!Dœnݺ“fÿ$¬êP––2lmÍpðàíjËöèa€o¾±ÁwßGJJVƒÄccc‚ˆˆoahØcÆlƦMçPRR¿-Òð(IUÌÇǾ¾¾õþk¶©¡$.¢©S{㯿þ÷¶Ú²ß~k VøöÛЋGS³~ÿ}V®‹  Kprú…®^id?ÆÄ‰Ѻuk(**ÂÊÊ GŽ©ñú ¤²²²°téR˜˜˜ E‹ÐÐÐÀøñã^?çTjûÑÑѰ³³«—›2Jâ"úâ shj¶Bppõ­q%%øù9âÒ¥G8}úAƒÅÄáp0cÆœ81IIéøâ‹Ÿpõj|ƒÕGþïÉ“'°µµEß¾}…ììllݺ‡whŽŽŽÈÈÈ@XXÞ½{‡øøx899aíÚµ½ýììl(**ÖKŒM#"[³æ$ëÑc5+.æ×¨ü¢EÁÌÜ|9KOßÀ‘1–••ÇÜÜö3]]º9¨6°ààà—wrrbëÖ­«²L||<›8q"ÓÐÐ`ªªªÌÞÞž¥¥¥ ÕYúo¦§§Ç8cŒ±üü|æééÉÚ¶mË´µµ™§§'ËÏÏ/weÓJJJìÝ»wÆ–‘‘Á455Yfff¹ùZZZ,33“åçç³Ù³g3uuu¦­­Í|}}k¼ýÊâ«n¿Qæƪ?ŽEEElåÊ•L__Ÿ©©©1???Á2>ŸÏÖ®]Ë ™ºº:›>}:ËÉÉ©2æÊöC”÷Gc –x-89õFJJþúëIʯ\9 røþû“  ¢ÂÅŽÓðñæ  ¶àÅ‹Œ¯·¹ ÇÔ©S«,ãààwwwðx<$%%AWWK—.­´üÕ«Wqûöm””|¼alýúõˆEdd$îÞ½‹èèhlذ¡Æ1ÚÚÚbÖ¬Y¸qãòòò„–ihh`Ò¤Iعs§Ðü;wÂÉÉ êêêX·n’’’ððáCÜ¿¿\7IUÛEéýfÿu1±R7ÙTw}}}qýúuDDD !!<O°,00W®\ADDž={†¢¢"¬ZµªÖ±J1‰H­1c637·}5.áÂC¦£ãÅΟiÀ¨„ÅÆ&3› ì³Ï–7j½Ò "¶´äääX^^žHudee1===¡:Kÿýüùs¡òFFF,66V0ÃŒEªoåÊ•¬[·nŒËå2###¶hÑ"Aë9..Žéëë³¢¢"ÆØÇm‡q±¸¸8Áöbcc…b®nûe÷±¦û]]z*{;vìÈbb*~Ÿ›™™±Ç ¦SRR˜A•Û¯ˆ¨ïÆ@I¼–ú›éë/©‹ÄËëëÒeKMÍnÀÈ„åæ° 2/¶xq0ËÉɯ~¥fLÔ©¶¶6{öìY•e"##ÙàÁƒ™ººº {@VVV¨ÎÒ—””­Ïår…¾(òòò—Ë­qŒ¥ñù|öðáCæââÂF%˜?räHvøðaÆc‡bNNNBõ—î¾ÉËË«4ÁV¶ýš$ñ²û]vêŽcÙãTš’’R¹.™ ËV…’x’““Ï:uú–íÜyE¤uúôYÇ\]w7`d;sæ37_ά­×°›7Ÿ6zýÒBÔ©““Û°aC•eŒÙþýûYFF+..f™™™åXER×–xEÞ¾}Ë”••ÓçÏŸg}úôaŒ1Ö»wovÿþ}¡ú«j‰×dû\.—åææ ¦_¿~]í~—WÝqìÔ©S¥-qSSS–˜˜XeÌ5!‰IœúÄk©eKEØÛ÷ÄÞ½Õø±–-8—.=BpðŽPبQÝpåÊ|ö™&MÚ†•+W{ç)©ÞêÕ«„€€ðx<àÎ;˜4i’ Lnn.TTTвeK$%%aæÌ™"Õ1uêTxzz‚ÇãÇãÁÓÓ³\?|ÙkÍKOÛÚÚ"$$oÞ¼AQQ±dÉôïß_PfذaÈÎÎÆ–-[ЪU+XZZ ÕïííW¯^áÕ«Wðööª«&ÛïÙ³'üüü››‹ÄÄD¸¹¹‰t €ê£««+<<<€·oßÂËËK°lΜ9˜9s&âââPXXˆ˜˜L™2Eä$’¸¿E¤Ù£Gɬ]»ìúõEZoõêÌÄd {ù2³ú $äëÔé[fkû‹Ž~)–$jÑÒzôè³··gjjjLAAYYY±ÐÐPÁò°°0fjjÊäå噾¾> ©%ž——Ç<<<˜¶¶6ÓÖÖfåº Ê®Wz:<<œÙÛÛ3uuuÆårY‡˜»»;ËÈÈZg×®]LFF†?/<är^^›5kSWWgZZZlÍš5L^^^¤íÇÄİ޽{3.—Ë ØöíÛEn‰Ww Ù²e˘žžSWWgþþþ‚e|>Ÿ1333¦¨¨È,,,ØÉ“'ËÕYÚ¼?=¢ŽÆŽ BÛ¶*عӵÆëcäH(++áèQwÈÊ6þ¢—/3áåu‘‘‰˜?(,&–8$ ‡ÃApp0&Ož,îP$Vtt4Æ„„q‡Òè$ñýAŸÚ:rqé‹sçbDºµ^AANˆŠJÂîÝ×0ºÊµo¯ÐйX¹r,¶l ÇøñAHHHK,Dòyyy!%%IIIðööÆøñãÅù%ñ:3¦;ÔÔZààÁ¿EZÏÂBÞÞñqcbc“(ºª}ºÓóüù…(,äcèП°{÷5«‚”chh+++X[[ÃÈÈëÖ­wHä?”ÄëHAA“'[ã·ßn¡¨ˆ/ÒºCamÝsçþ†¼¼Âаz¦¦mæ…… ‡cíÚS˜8qž=K[<SÁƒÄåËÅ!¤JâõDVV®®ýqøðmdg狼¾’’~þù+Ü¿Ÿ„mÛ" ÂÚáp8pp°Â•+ߢW/#8;ÿ7·ýHOÏwh„€îجOÙÙyÌÄd‰Hã©”µk×UÖ¾½7»uK2Ç7¹pá!ëÙs5ûì³å,8øN¹A‹¤œœ\¹’èE¯Ò¯£GŠûm*„îØ¬gË—Ã¥K±¸ysy­î€dŒaæÌ}¸{7.,†––rýYG99ظ1 û÷ÿ+«X¿~">ûLGÜaÕ‹ëׯ#%%EÜa %++ ;;;p¹\q‡"@I¼ž%&¦ÁÆf#v#,jµìì< ¾ íÛkàСÙ{;üÇÉX¶ì(îߎ zbõêñÐÐh)î°iV$3;H±Ú`ðàÎuº^EE ;v¸àÎDlÙr©£«_]ºèâäILÅÕ«ñèßvï¾&1'f idW¯^½ZÜA45­[·B@ÀŒa--•Zm£m[U¨¨(aýú3°²êƒÖõeýàp807×…³so¼}ûAAqáB,:vÔFûöâ=ãMy IDAT&ºSÈ!?¡kW=TýüÅ긻ÿ†¿þz‚ A[»v_).î5¾ÿþ$®]‹‡]W¬X1††šâ‹&‹ºSÈ×_÷Çñã÷‘šú¾NÛÙ¸Ñ-[*JÔõãUéܹžàà9HLLÃÀ?ÀÇ'™™¹â&‰ºSˆ‰I[ìÝûdeeзoÇZoGQQ½zcÓ¦sÈÍ-À€¦õeÃ10h gç>ÐÐh‰n`ÏžÇÂÂBrrÔv ¤¾Po rr²ÈÉÉÇ71}zÈËËÖz[ZZ*hß^kÖœB§NÚ05m[‘6,-õñå—}Ÿ_„­[ÃqðàßPVæâ³Ït #é~#„*Qo@ffíðóÏhݺ%,- ê´­Îu™™ƒ€€ 6Ìšš’wýxeåacc‚/¿ìƒÜÜBüøãŸ8~ü>Ú´Q†‰‰v¹çCBjŽNl6°eËŽàÂ…Xܺµ¢N­q(*âÃÑq;Þ¼ÉÆŸzAEE©ž¢l\<Þ[]ÄÁƒÃÔ´-,†Ñ£»Q2'¤¨s²Íž=©©Ù8}ºîÃÌÊËËâ—_\—W?PR"ß¿zzêøñÇÉ8~! 51{ö ¶ þCO"DDÔosçþ†øø×¸tiq½´6ïÝ{Ž ¶bþü/°páðzˆP¼ââ^Áßÿþü3¦¦í°`Á°³ë*±wª"I¨O¼µ¿ÿtï®#£6uÞžŽŽÔÔZ`Æ3°°Ðƒ±±V=D)>mÚ(cìØî°³ëŠ'ORpGÞ‡óñ*9q‡HˆÄ¢–x#qvþyyE8vl^½mÓËëÂÂþÁ©Sž03kWoÛ·¤¤ ìÞ} ‡ý {ÁÍÍzzêâ‰CI¼‘ܼù“&méSóñùçêe›EE|Lº/_f",Ì šš­êe»’âýû|ßÁŽ—‘’’…!C>ƒ‡Çz;~„4”Äј1›Ñ¦2öìùºÞ¶ùöm.F D›6Ê Û$»ŠŠø8u* ;w^EL VVðÕW}1zt7p¹òâ±¢$Þˆþü33gîÅåËߢS'ízÛî“'o0fL FŒ°@` S½mWݼù{ö\ÇÅ‹±PRRÀ„ =0ujoXXè‰;4BÄ‚’x#*)a4È]»¶Ç–-ÎõºíË—cÚ´]X¶l4æÌT¯Û–DYYpúô?Ø»÷:ââ^ÃĤ->‡“So¨«Ó˜æ¤ù «S‡Ãªª/`Ü8Ëz}€B‡šPRRÀúõ§Ñ¥‹®Ô_±R.W]»¶‡‹K?ØØ˜ -í=ö￉_~¹‚gÏR¡¬¬]]uºµŸ4yÔod|~  òE÷îú ªßÖ8x{Æ™3pòä|tîÜ4™VSÙÙù8yò>º^@KKcÆXbܸîèÙÓî%M%q18vì<=âÊ•oë½Åü銕„„4œ9³::jõº}iñòe&Οˆ;xø0::j9²+ÆŒékk#q‡GH½¡$. Ýÿ>öö[P\\‚“'= ªÚ¢Þë&qq¯pâDNžŒÂ‹06Ö¸q–°³ëÚdðLš/Jâbrôè],Xp¨AZã’’…1c6£}{ ><»I^z(*Æ¢¢^àäÉ(œ>ý))Yhß^ÆuÁðáæèÕ˸΃”ÒØ(‰‹É§Ö¸¥¥6on˜ËããS0n\lmMñóÏÓè$_ññ)8sæ.^|„˜””äѯ_'ŒÝ Çw‘ÚQ"IóBI\Œº5|¼®ÚÉé̘1+VŒi:êÓóçϱtéRðùüF­7?_™™\dfr‘•¥05}MÍ!Uqpp€ƒƒƒÐ<&NŒÆïCCM]j°:úöíˆÍ›°cÇeìÞ}­Áê©/wîÜÁáǽ^.·::9èÒ%½z¥ S§·hÕª Ñã ¤2·nÝBhhh¹ùÔQ*F²²2ðôü^^‡0þÐkg /«WŸ€¶¶ ÆŒéÞ õÔ§q‡@ˆD™ÝóæýŽË—7h]„ÆCI\Ìdee°xñH?~&7h]kÖŒ‡ƒƒ¾ùfnÝzÖ uB%q 0fL7XZêã‡Â´‡__ fW×ÝøçŸ— Z!¤áQ—Ë–ADDþúëIƒÖ%++ƒ-[¾„µu8;ÿ‚ÿMiÐú‘F·nÝ‚‰‰‰T Õ@I\BôécŒM±aÙX°¼¼,víš“¶ptܤ¤Œ­OHÒ‡U’b©H]ã“ôýøúúJŃ»)‰K•+Ç":ú%Ξnðº¸\yìß?mÛª`Ò¤mHN~Ûàu6¤Çcâĉhݺ5aee…#GŽÔxý†ú°¦¥¥A[[—+ÚÛÛ MçççCKK iii"ÅröìY 8\.:::puuÅ›7oËÏ;‡!C†@II :::˜1c22þÿ¥Íáp¯¶mÛÂÅÅEhyED‰¯¢„]ŸÇ:++ K—.…‰‰ Z´h Œ?áááuÚntt4ìììê)ʆEI\‚|ö™ÆŽµÄÆa(..iðú”•¹øã7´h¡€©Swà͛쯳!GGGddd ,, ïÞ½C||<œœœ°víÚ:m7;;ŠŠŠõecD¢$%¥3ƒEì·ßn6Z))YÌÆfëßKIy×hõV$88˜‰ú¶trrbëÖ­«²L||<›8q"ÓÐÐ`ªªªÌÞÞž¥¥¥ –—®ó÷÷gzzzŒÃá0ÆËÏÏgžžž¬mÛ¶L[[›yzz²üü|¡:ÊÆýiúرclôèÑ‚ù§OŸfØÉ“'ó† ÆNœ8Qa,Û·ogŒËå²Þ½{³˜˜˜J÷óýû÷¬E‹•.ÏÎÎf***•Æœ’’ÂZ·n]屨i|„^ÕYÝþåçç³Ù³g3uuu¦­­Í|}}…ÖWRRbïÞUýž­èýTÕÿwEqW÷þ)**b+W®dúúúLMMùùù –ñù|¶víZfhhÈÔÕÕÙôéÓYNNN•1WÄÁÁ988”›O-q £¯ßÎÎ}°iÓ9äå6JÚÚ*8ztäåe1aÂ6¤¤d5J½õ%<<S§N­²ŒƒƒÜÝÝÁãñ””]]],]º´ÒòW¯^ÅíÛ·QRòñÑúõë‹ÈÈHܽ{ÑÑÑØ°aCâ=z4îÝ»‡ÔÔTÀ70|øpܸqœœ\åÏ÷óçÏãÊ•+HOOÇÈ‘#1{öì ËåææbëÖ­4¨ò';EDD [·n•.ÿÔµRZÙcQÓøØÝ&ì¿–~eªÚ¿uëÖ!)) >Äýû÷Ëu“ØÚÚbÖ¬Y¸qãòòò*­£:¥÷±¢¸«{ÿøúúâúõ눈ˆ@BBx<ž`Y`` ®\¹‚ˆˆ<{ö EEEXµjU­c-Gä¯ÒàÒÓß3“%,(èb£Ö›–öž äˬ­×°/2µîOjÓ—““cyyy"­“••ÅôôôÓ(Ó2{þü¹Py###+˜Ž‰‰aÆÆÆ5®oþüù, €1Ƙ »yó&ëׯcŒ± 6° TËëׯÓ¹¹¹LII©Üöñ_«QKK‹=yò¤Âîß¿ÏôôôXTTT…u%''³)S¦°)S¦-/{,D‰¯¢ÿKQÖ722bqqq‚騨X¡õ³²²ØÊ•+Y·nÝ—ËeFFFlÑ¢EB­óšÄPÕ>V¤ìû§cÇŽ•þB233c?L§¤¤0ƒ*·_‘ÊZâ”Ä%”ŸßŸÌÔt)ËÌýgW]¤¥½gƒû2+«ïYRRz£ÖÍXí’¸¶¶6{öìY•e"##ÙàÁƒ™ººº áÉÊÊ –—ýP—””­Ïår…¾(òòò—Ë­qŒQQQÌÒÒ’0 Æc;wfùùùÌÔÔ”=xð ÒXʪìødee±ï¾ûŽÙØØ”[vùòe¦§§Ç®^½Zn[¥¿œYjjªÐò²ÇB”øêºœËå u[åååUºÿ|>Ÿ=|ø¹¸¸°Q£F‰CUûÈXõïÒ”””ÊuÑÈÈÈTX¶*Ô"eÜÜË•ƒŸß¹F­WS³BBæBYY “&mË’ùá!C\e™)S¦ÀÅÅOŸ>Eqq1233«)±l—‚ŽŽÓOŸ>…®®ncìÞ½;JJJ°oß>ôêÕ Ð«W/lݺJJJUvqÔ”ŠŠ ¼½½qÿþ}¡ùÁÁÁpvvÆÑ£G1`À€rë±ÿº Þ¼yƒßÿ½ÜÉÕº\X×Ë utt˜˜(˜.ýP–ŒŒ ÌÍ͈k×þ?Ø—ËŇÿ2%¥ü½ÕÅYÝû§}ûöxúôi…ëêëë#11Qpœcõ:J'%q Õª•"–.n".îU£Öݺu+„†Î…ŠŠ&OÞ.ñ‰|õêÕ B@@x< pçÎLš4IP&77***hÙ²%’’’0sæL‘ê˜:u*<==ÁãñÀãñàééY®¾l"(;íââ‚eË–ÁÖÖÀÇþÜÕ«WÃÕÕU¤XJ›6mâââPTT„—/_bùòå‚í¯NñññÁ¥K—`mm]ëzjKSSqqqµ^êÔ©ðööÆ«W¯ðêÕ+x{{ -·µµEHHÞ¼yƒ¢¢"$&&bÉ’%èß¿¿ LÏž=áçç‡ÜÜ\$&&ÂÍÍMä8ª{ÿ¸ººÂÃà xûö-¼¼¼ËæÌ™ƒ™3g"..………ˆ‰‰Á”)SDŽ¡R"·éI£áóK˜?spØ&–ú33sذa~¬{÷ïØ£G¯¥ÎÚt§0ÆØ£G˜½½=SSSc ÌÊÊŠ…†† –‡……1SSS&//ÏôõõYPPP•WL”•——Ç<<<˜¶¶6ÓÖÖfå~>—]¯ìtjj*“——g<1ÆXbb"“——꾨I,¥ç…„„°®]»2Ö¾}{æææÆ222„ÊVôzÿþ}¥Û¯jDoÓ¦MLMMM¤c]z^^^›5kSWWgZZZlÍš5L^^^°<<<œÙÛÛ3uuuÆårY‡˜»»»Ð1ˆ‰‰a½{÷f\.—°íÛ·‹ÜeUÝû§°°-[¶Œééé1uuuæïï/XÆçóYPP333cŠŠŠÌÂÂBèʤšª¬;… !áîÝ{ޱcƒ°{÷tŒiÑèõçæà›oöâÁƒ8p`Fƒ?d8$$ŽŽŽRq§i|ÑÑÑ?~|•Ý*MÕ§¡hËÓLÝ)®gOCØÛ÷Àš5'QPPÜèõ·l©ˆf`ÀLž¼½Qî&%¤4///¤¤¤ )) ÞÞÞ?~¼¸C’(”Ä¥ÀŠcžžƒ_~¹"–úä°}û488XÁÍm?¾-–8Hódhh+++X[[ÃÈÈëÖ­wH…žì#Ú¶U…»û`lÙr ŽŽVÐÖVmôdeeðãhÛV #33sçnô8Hóãéé OOOq‡!±¨%.%æÎŒ6m”±~ý±ÅÀáp°pá¬Z5ëןÁÆaÔwMˆ˜Q— rX¾|4޽‡;wÄ{RÇÍÍS±}{æÍû],}õ„(‰K‘Q£ºÁÆÆ«V@I‰x[ÀVøã7DD<ƤI[‘šú^¬ñÒ\Q—2ß}7±±ÉÿÉEüù§Þ½ËÈ›ë~%BH½¢›R¦sg|ýµ Ö®=/¾èMÍVbÇÐP§O{bæÌ½˜0a+¶mûÆu©óvCCCë!:BšŽ—/_¢}ûöåˆ|Û» X¯^k™»ûoâE ¨ˆÏ–, ezzÞlëÖKµÞεkטœœ\¥wÒ‹^ÍùåååUî3CwlJ©ˆˆ8|ùåN80C‡~&îp~þ96œ“So¬_?òò²â‰&’¸›9s¢£_âòåoÑ¢…‚¸Ã8þ!æÍûffíðË/.ÐÑQwH„4YtbSŠ­_?YYy ¼ îP„ ÞçÎyãÇ|ñ…""j?Š!¤j”Ä¥˜––2–,…;.ãáÃdq‡#ÄØX aa^1Â_}µ ëןŸßð&¤¹¡î)WRÂ0~üóqú´'de%ï{944K–¥¥>~þy´´”Å!M†ä}â‰Hdd8øñGÄÆ&ãÀ›â§BV8yr>^½z‡¡CÄ_ý+îi2(‰7ffíàæf‹~Ãë×ïÄN…ºtÑŹsÞèÙÓNN¿ (èu¯R¨;¥‰ÈÏ/ÂàÁ?Â̬öìùZÜáTŠ1†]»®aãÆ3èÒE›7;ÃȨMõ+B*D-ñ&‚Ë•Ç?:àüù‡8zô®¸Ã©‡ÃÁ¬YqþüB—`èП°m[¸ØÇ‚!DZQK¼‰Y±âމDx¸tuÕÅN•Š‹KðË/—ñãÂÒÒSah¨)î°‘*”Ä›˜‚‚bŒ± mÚ¨ 8xv¹'®K¢¸¸Wððø/_fbåʱøòË>≩AÝ)MŒ¢¢6ovÂíÛϰoß q‡S#;ë ,Ì S§öÂ’%¡pqÙ ï­¸Ã"D*PK¼‰úé§?±cÇ\¼¸HªNÞºõ ‹ãõë,Ì›7s熢" ¶IHe(‰7QÅÅ%;v3de98qb¾DÞT™¢">öï¿< MMe,]: cÆtwX„H$éùd‘ÈÉÉ`óf'ÄÆ¾Â¶mâG$òò²˜1c®__ŠÏ?7ÄìÙàè¸Ož¼wh„Hj‰7qÛ·_Æ?„áÔ)OtëVÁ€òRàÆ§X¹òÒàìÜóç¶¶ª¸Ã"D"PoâJJ&Oþéé98~¡Ôö/—à?n!(èÞ¾ÍÅW_õżyCЦ ÃBš7JâÍÀ‹:ô'L›Ö+VŒw8uRTÄGpðøûŸGVVœœzÃÃc( ªEš-JâÍÄá÷±hQ0tÀ¦â§Îòó‹pàÀMlÛŽ áâÒÓ§÷—øœ©o”Ä›‘yó~ǵkñ¸xq1´µUÄN½øð¡ûöý…Ý»¯!=ý=ììºbæÌèÙÓPÜ¡Ò((‰7#¹¹>|ÚµSÅáÃs¤ê²Ãêðù%ˆˆˆÃ–-á¸{7z˜1cÆïAÏù$M%ñfæŸ^bìØÍX¼x$æÍ"îpDdd"víºŠ?ÿŒA›6ÊprêÉ“­ ¯ßZÜ¡Rï(‰7C¿ürëןƱcóðùçÄNƒáñÞbß¾¿päH$ÒÒrЯ_G8:ZcÔ¨nàråÅ!õ‚’x3ă«ë¯xø0çÏ/„¦f+q‡Ô Š‹KpùrºððGPR’Ǹq=0mZ_˜›ëŠ;ŸAVVò‡ê%ÒÁßß<¯Ñë¥$ÞŒ}ö™Ö­›€Å‹Cеk{Œi!ƒ¸C MLhh¨Xêm¿¡I¥>]¹áí}ÏŸ§‹;Bˆˆ(‰lÜ8 úúøúë=ÈÉ)w8„P'àråqàÀ ¼}û¿ÓC‹ ‘"”Ä @[[»v¹àòåÇð÷?/îp©Ò­[·`bb"Ïmh”ĉÀçŸw€¯¯.àÔ©â§I‘¤d#I±Ô–|}}AWHS'e8:ZÃÅ¥/.<ŒØØdq‡#1?~Œ‰'¢uëÖPTT„••Ž9Rãõ*Ù¤¥¥A[[Âç2ìíí…¦óóó¡¥¥…´´4‘b9{ö,.— ¸ººâÍ›ÿ?aéܹs2d””” ££ƒ3f ##C°<++ K—.…‰‰ Z´h Œ?áááµÜ㢣£ag×<.‹­%qRÎ÷ßÛÃÒÒÓ¦íFJJ–¸Ã»'OžÀÖÖ}ûöETT²³³±uëV>|XÜ¡¡M›6èÝ»7N:%˜—™™‰S§N!=ýÿW?~ýúõC›6¢=4ÛÏÏ ,@JJ âããadd'''Ár,Z´iiixðàäääàââ"Xîè舌Œ „……áÝ»wˆ‡““Ö®][‡½²³³¡¨¨X§m4Œ dgç±Áƒ}Ù_üÄrròÅN½ f¢¾íœœØºuëª,Ï&NœÈ444˜ªª*³··giii‚å¥ëÀüýý™žžãp8Œ1Æòóó™§§'kÛ¶-ÓÖÖfžžž,?_ø¸—ûÓô±cÇØèÑ£óOŸ>Ͱ“'O æ 6Œ8q¢ÂX¶oßÎ —Ëe½{÷f111•îçû÷ïY‹-*]žÍTTTÓJJJìÝ»w•–¯h¿*бôñ ôb¬úã_TTÄV®\Éôõõ™ššóóó,ãóùlíÚµÌÐЩ««³éÓ§³œœœ*c®ˆƒƒsppy½º¢–8©²2ûöÍÀ›7ÙpsÛââq‡$6ááá˜:uj•eàî¤$èêêbéÒ¥•–¿zõ*nß¾’’ÇuýúõˆEdd$îÞ½‹èèhlذ¡Fñ=÷îÝCjj*àÆ>|8nܸHNN®²ûáüùó¸rå ÒÓÓ1räHÌž=»Âr¹¹¹Øºu+ Ti,èÖ­›`ÚÖÖ³fÍÂ7——W£ý©HéãÅþëbŒ þ®îøûúúâúõ눈ˆ@BB‚Е¸rå """ðìÙ3aÕªUµŽµÑ5úב*¼`FF>lñâ`q‡R/jÓ—““cyyy"­“••ÅôôôÓ(Ó²|þü¹Py###+˜Ž‰‰aÆÆÆ5®oþüù, €1Ƙ »yó&ëׯcŒ± 6° TËëׯÓ¹¹¹LII©Üöñ_«WKK‹=yò¤Âîß¿ÏôôôXTT”`^VV[¹r%ëÖ­ãr¹ÌÈȈ-Z´H¨u^ÑÿGuÇ«ºÿòǿcÇŽ•þÂ033c?L§¤¤0ƒ*·_qµÄ)‰“j:Åtu½Øöí—ÅJÕ&‰kkk³gÏžUY&22’ <˜©«« ž¬¬¬`yÙ¤TRR"´>—Ëú¢ÈËËc\.·Æ1FEE1KKKVPPÀ,,,cŒuîÜ™åçç3SSSöàÁƒJc)«²ã“••žûî;fccSnÙåË—™žž»zõj¥1òù|öðáCæââÂFUã*:^e×©îø—=¾¥)))•뢑‘‘©t?*CÝ)DbÓëÖMÄÚµ§ÜüFý2d‚ƒƒ«,3eʸ¸¸àéÓ§(..Fff&ø|~¥åË^æ§££ƒ„„ÁôÓ§O¡«[óar»w’ìÛ·½zõôêÕ [·n…’’’PGm©¨¨ÀÛÛ÷ïßš ggg=z ¨t}˜››#00×®]Ìçr¹øðáƒ`:%%¥ÜºÕ]YÝñoß¾=ž>}ZáºúúúHLLtÏ0ƪü¿“4”ÄI¸ºöÃܹƒáã‚ððGâ§Q­^½AAAÇCAAîܹƒI“& ÊäææBEE-[¶DRRfΜ)RS§N…§§'x<x<<==Ëõ×Mde§]\\°lÙ2ØÚÚøØ½zõj¸ººŠKiÓ¦MC\\ŠŠŠðòåK,_¾\°}àãÕ)>>>¸t鬭­Ë­okk‹¼yóEEEHLLÄ’%KпA™ž={ÂÏϹ¹¹HLL„›››ÈqVwü]]]ááá„„¼}û^^^‚esæÌÁÌ™3‡ÂÂBÄÄÄ`Ê”)"Ç 6Þö'R«¤¤„y{f:,fwî$ˆ;œZ©Mw cŒ=zôˆÙÛÛ3555¦  À¬¬¬Xhh¨`yXX355eòòòL__ŸUÚmQQýyyyÌÃÃikk3mmmæááQîçÙõÊN§¦¦2yyyÆãñcŒ%&&2yyy–ššZézÅRz^HHëÚµ+SPP`íÛ·gnnn,##C¨lE¯÷ïß3Æ göööL]]q¹\Ö¡Cæîî.´˜˜Ö»woÆår™Û¾}»È]>ÕÿÂÂB¶lÙ2¦§§ÇÔÕÕ™¿¿¿`ŸÏgAAAÌÌÌŒ)**2 ¡+{jJ\Ý)ôP"’ââ|óÍܽûÇσ‰I[q‡$’8::Ò~¤ÞMž<ÀÇ÷Xc¢î"99d¯º… ^IDATìØ1 ;jÁÑq; _Kˆ˜Q'"SRRÀï¿Ï‚ŽŽ&N܆/2ª_‰Ò (‰“ZQVæâСÙhÓF“&m÷VÜ!Ò,Q'µ¦¢¢„?þ˜…–-á踩©ïÅ!Í%qR'­[·ÂáÃsŽŽ?#-9!‰’8©3mm?îÆ€ ¶Òȇ„4"Jâ¤^hi)#4t.äåe1n\ì$¤‘ȉ;Òt´i£Œ¹ptÜŽI“¶!$d. 5ÅV…>]ÓKH}¹uëúôéÓèõRKœÔ+MÍV 5µ˜4iž>MwHB¬­­¥ë–j"5úôé‡F¯—îØ$ "+ë¾ürÓðÛo³`i©/îi’¨%N„ªj „„ÌApp؆˗‹;$Bš$Jâ¤Á())`ïÞo0v¬%\]wãäÉ(q‡DH“C'6Iƒ’••Á¦MŽPUU‚»ûoHMÍÆÌ™Å!M%qÒà8¾ûnÚ´QÆ÷ߟDbbÖ¬™99ú!HH]щMҨΞ†‡Ç°²ê€;]¡¢ÂwH„H5Jâ¤ÑÅÆ&cÚ´ÝPUUÂþý3о½†¸C"DjÑïYÒèÌÍuqú´'8ÆŒ Ddd¢¸C"DjQ'b¡££†“'ç£{wLš´ {÷þ%î‘JÔBÄŠ1†ŸŽÀ?œÅ¸q–øé§ÉPRRwX„H JâD"\¾üîî¿AWW¿þ:úú­Å!RºSˆD4È gÏz¡¤„aäÈœ;#î‘ ”ĉÄ04ÔÄ™3ž9Ò_½ß~м¼Bq‡EˆD£î"‘ÂÂþÁâÅ!hÓF[·~ =q‡DˆD¢–8‘H£FuCxøbhk«`Ô¨¬[wšZå„T€ZâD¢1ÆpäÈ]¬^}ÊÊ\üø£ 0wX„H JâD*¼y“åËâÏ?c0vlw¬X1ººê⋱£$N¤ÊÅ‹±X½ú$^¿~‡9sÁÝ}Z´ ëÊIóEIœH¢">~ýõ:Ï£E Ex{‡££5äåeÅ!Ž’8‘Z9ð÷?ß¿5x{Ç„ =!+KçëIóAIœH=ï-. 4ô 51oÞPØÛ÷ –9i(‰“ qâÄ}hj*cÖ¬pvîƒV­Å! †’8ir^½z‡;¯à?þ†¬¬ œœzaÚ´~04Ôwh„Ô;Jâ¤ÉÊÊú€nâÀ›xýúlmÍàêÚƒw†Œ §ÂuòóóqöìYðùüFŽ–H+++Š; !”ÄI“WRÂpãÆìÞ} —.=‚–– Fî†1cºÁÚÚH¨ì±cÇ0qâD1EJ$Ý”)SpèÐ!q‡!„”Lš<llL`cc‚gÏRqôè=;v¿þz ;·ÃĉŸÃÞ¾ÚµSCqq1€wŠRÚäÉ“%òµÄI³ý¡¡wqâÄ}¼}›‹ž= ¡§Ç°cÇðùyâH˜É“'BBBĉ0j‰“f«k×öèÚµ=V¯‡›7Ÿ"44§NEAAFL$Òƒ’8iödeeÝ-={r0}z ¸C"¤ÆèÖ6BJQR’c’×ïÙÐ8œŠ¯Ö©l~C»uëLLLÄV¿4¡$Nˆ¤d% ±øøøÀ××—N0×%qBêÁãÇ1qâD´nÝŠŠŠ°²²Â‘#Gj¼~C&«éÓ§cöìÙåæ»¹¹á믿®S,YYYXºt)LLLТE hhh`üøñ¯SÌÑÑѰ³³«Ó6š Jâ„ÔÑ“'O`kk‹¾}û"** ÙÙÙØºu+>,îÐÛ¶mÃ7„®o>tènݺ…mÛ¶ÕiÛŽŽŽÈÈÈ@XXÞ½{‡øøx899aíÚµuÚnvv6i¸„a„àà`&êÇÂÉɉ­[·®Ê2ñññlâĉLCCƒ©ªª2{{{–––&X^ºNÌßߟééé1‡Ãc,??Ÿyzz²¶mÛ2mmmæééÉòóó…ê(wé鸸8Ö¶m[öøñcöøñcÖ®];öøñãJë/ý·¯¯/ÓÒÒbÌÝÝ–+))±wïÞU¹ïϪö€Ð«&ǯ¨¨ˆ­\¹’éëë3555æçç'XÆçóÙÚµk™¡¡!SWWgÓ§Og999UÆ\æàà òz Zâ„ÔQxx8¦NZe¸»»ƒÇã!)) ºººXºti¥å¯^½ŠÛ·o£¤¤°~ýzÄÆÆ"22wïÞEtt46lØPãÍÌÌàçç‡É“'ÃÁÁ05­Ùcî.^¼ˆû÷ï#::ñññظq£`™­­-fÍš…7n /¯ö×Ö—Þ_ö_wcLðwuÇÏ××ׯ_GDDÀãñËqåÊDDDàÙ³g(**ªU«j«Äó—!¥6-q999–——'Ò:YYYLOOO02-ÓçÏŸ •722b±±±‚阘fll,RŒ1Ö³gOÖ«W¯róËÖ_úïÒõ>|øP¨Þ¬¬,¶råJÖ­[7Æår™‘‘[´h‘Pë¼¢ãYÝþV÷PöøuìØ‘ÅÄÄTXÖÌÌLèWGJJ 300¨rû¡–8!MTëÖ­ñêÕ«*Ëܽ{C† ††8TUUñúõëJËëëë M¿zõ FFÿç¥cÇŽHNN)Îýû÷ƒ1†¢¢"üñÇ5^¯t½ÆÆÆBõª¨¨`Íš5xðàrssqêÔ)¤¥¥ÁÙÙY¤ØÊîoYÕ?‡Ž;V¸nRRÌÌÌÀápÀápжm[¼|ùR¤ø$%qBêhÈ!®²Ì”)Sàââ‚§OŸ¢¸¸™™™UŽÃQö2?$$$¦Ÿ>} ]]ÝÇøèÑ#,[¶ ¡¡¡ ?~\£u'$$TZ¯ŒŒ ÌÍ͈k×® æs¹\|øðA0’’RnÝê.k¬îøµoßOŸ>­p]}}}$&& ºgc9JmQ'¤ŽV¯^   €Çã¡  wîÜÁ¤I“erss¡¢¢‚–-[")) 3gÎ©Ž©S§ÂÓÓ<<žžžåúáË&ÂOÓ>|ÀäÉ“±mÛ6ÁØØAAApppJ®•ñòòBrr2’““áåå%ÔʶµµEHHÞ¼yƒ¢¢"$&&bÉ’%èß¿¿ LÏž=áçç‡ÜÜ\$&&ÂÍÍM¤}ª?~®®®ððð@BBÞ¾} ///Á²9sæ`æÌ™ˆ‹‹Caa!bbb0eÊ‘cXâíÍ!D²Ô¦Oœ1Æ=zÄìí홚šSPP`VVV,44T°<,,Œ™šš2yyy¦¯¯Ï‚‚‚ªì‡.+//yxx0mmm¦­­Í<<<Êõ×]ïÓ´‹‹ óöö.·Íùóç3WW×*ëG©«SÔÕÕÙœ9s„®Š göööL]]q¹\Ö¡CæîîÎ222ebbbXïÞ½—ËelûöíÕîoÙyÕ¿ÂÂB¶lÙ2¦§§ÇÔÕÕ™¿¿¿`ŸÏgAAAÌÌÌŒ)**2 vòäÉruVGRûÄiCBJ ££#Ý)HÊ‘ÔQ ©;…B¤%qB‘b”Ä !DŠQ'„)FIœB¤%qB‘b”Ä !DŠQ'„)FJ&¤9¹ IxD‘<’x»>ݱIH)ùùù8{öl“ ‰Ô+++Š; !”Ä !DŠQŸ8!„H1Jâ„"Å(‰Bˆ“*î !„ÔÎÿ“5AãÙŸ<ÁIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/folderopen.png0000644000000000000000000000013213012573353021453 xustar0030 mtime=1479210731.925940113 30 atime=1479210731.921940115 30 ctime=1479210737.625938583 cairomm-1.12.2/docs/reference/html/folderopen.png0000644000175000017500000000112513012573353023150 0ustar00murraycmurrayc00000000000000‰PNG  IHDRÚ}\ˆIDATxí]?oÓPÿ9iš4i°;ii“¶‰ZЉ‘‰ÀÀ7`bèÔÙ¬Øù,HìU'ô$*Tµ]‚T¡DPÚÄ6wÏ}‰;¡C; a¿ÓߟûÝïîž¼jAÀ­InSþ}€9H“ÓŽ|?íÁ÷ =_ÊÆŠ­†¥Àue*;¯YEäsYäæB¢Ÿ¿þÄ—£sÙ½½ÙŒ† É«›©ÀYÇq !GÇ¿v̇¹ÑØ®š °Œ‚ÔF¹}q¥b]÷7í·0)Úd›¾ÿð-èº}Pfä£ÖY{4™ÑÂ@}úæôñ2ÛüÔ—ñúåNŒI‚ÁǃcçÁº%£¬UаI³mc±ô˜å¼ÔÆüÈ>é¸xþt9Æ$µý OæVE*õU´Ì‚ç#ž×ˆ•ïûr@l$øPÿrHaaÇ¥ ²›dZ®rè‘ãqI„o¼øT\Ž,tªj2FAxv-LŸp׌p TÄI/ \¥sfí½; jViTƒèú¤o^cpÅü¼ûû»Ïb]”€¢¤<†aþÕœ²“ßÓ˜y“£§9:Œîù+À³€ñà,E žf³6éNˆÄE£KU}Ü^;¶ØnZ¢uß­US4— ѬëbížN¶.Úk¦ØjTÄöº%µªâ i¯VÄÊÝò§™ Èù¸)ùÿG€™òºJ@T x”IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/tab_a.png0000644000000000000000000000013113012573353020363 xustar0030 mtime=1479210731.909940118 30 atime=1479210731.909940118 29 ctime=1479210737.70993856 cairomm-1.12.2/docs/reference/html/tab_a.png0000644000175000017500000000021613012573353022061 0ustar00murraycmurrayc00000000000000‰PNG  IHDR$ÇÇ[UIDATxíK €0C'o¤(Šˆ[Žà%Üxÿ#Ù©­ç ùÁöó¦W¦e# 3t I 3+¼øEã~\D½9¯Ûàè’wM·¿öÿ}Yõ_êA4Yžã}IEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classlu__counter__policy__base.html0000644000000000000000000000013213012573355025713 xustar0030 mtime=1479210733.161939773 30 atime=1479210733.161939773 30 ctime=1479210737.613938586 cairomm-1.12.2/docs/reference/html/classlu__counter__policy__base.html0000644000175000017500000000542513012573355027417 0ustar00murraycmurrayc00000000000000 cairomm: lu_counter_policy_base Class Reference
lu_counter_policy_base Class Reference
Inheritance diagram for lu_counter_policy_base:

The documentation for this class was generated from the following files:
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1ImageSurface__inherit__graph.png0000644000000000000000000000013213012573354027517 xustar0030 mtime=1479210732.373939991 30 atime=1479210732.373939991 30 ctime=1479210737.545938604 cairomm-1.12.2/docs/reference/html/classCairo_1_1ImageSurface__inherit__graph.png0000644000175000017500000000731213012573354031220 0ustar00murraycmurrayc00000000000000‰PNG  IHDR£prÆÀbKGDÿÿÿ ½§“IDATxœíÝ{PTuÿð7a…GVd/üȦ± e34SS3&`ÜŠ)EE„Ô1µÔPËÑÙ$%²|XÈÇÒ{’‹8•â1˜¸H­ÏŠ+^ÐewÝ]¾¿?|8Ã.—å² ü¼f9ûýžý~¾gßœsØsp­c „Œ=©õXW@H7 #á #á #á [KpíÚ5lݺz½ÞÒC ‰DH$Çâ{ÆÊÊJäçç[zb!ÿý7RRRFe,‹ï»ŽÖPÄŒ >*cÑ9#á #á #á #Ïüþûïðõõ…••ÕX—2ê&lÇ당yófìÛ·ã-¼ c}}=BCC! aoo… ¢¨¨hÐë[úżwï¶nÝ ___888ÀÅÅË–-CIIɈž·¦¦¯¿þº™ª_xÆ?ÿüX¼x1ªªªÐÑÑðêýÊððp´··ãĉ¸{÷.…Ý»wèy;::`ooo¦*Çfal¨ÃDEE±={ö ا¡¡…††26mÚ4Ì ×ÞsLL"‘0‘HĬ¬¬cŒ©Õj–˜˜ÈÜÝÝ™››KLLdjµÚ` ãº{.Ož<™Ý½{wÀûš÷@u0øÌ<µZ-Û¾};óòòbNNNL,smz½žíÞ½›Íž=›9;;³ØØXöàÁƒk66œ×o˜ y¹g,))Addä€}Þzë-ÄÇÇC&“¡µµžžžØºuk¿ýOŸ>sçΡ«« ðé§Ÿ¢®®çÏŸÇ… PSSƒÏ>ûlÐ5`ÕªUøõ×_¡R©½Þ@u±ÿZ0ƸïMÍsß¾}8sæ JKKÑÜÜ ™LƵ¥¦¦¢¼¼¥¥¥hjj‚V«ÅŽ;†]«ÅY:îÃùɲµµe*•jHëÜ»w‰D"nF{ k×®ôŸ;w.«««ã–kkkÙ¼yó†4ÞöíÛÙ3Ï<Û;w.Û´i“ÁÞ²¯y›ªËÔ¶2ž§«­­í³ïüùóY}}=·|ãÆ æíí=àóÍ=#/ÃèææÆšššìsþüy¶dÉæììÌÖlll¸v㽫«Ë`}@`x•JÅÁêì¦×ëÙ•+WXLL {ã7ú¬a°u¯cjžÆóèiòäɽýÖÖÖCšÛc˜ BAAÁ€}"""ƒÆÆFèt:ܾ}{À;ƒŒßê™9s&𛛹寯Fxzz«^kkk<õÔSHMMEEE÷¸@ @gg'·|ãÆ “u35ÏY³f¡±±±Ïu½¼¼ÐÒÒÂöc¼¾{Š—aüä“O––†””Èd2h4TVVbùòå\¥R‰©S§ÂÑÑ­­­X¹råÆˆŒŒDbb"d2d2{§¥çr@@ ÑÖÖ­V‹––lÙ²þþþ\ŸçŸb±J¥---ˆ‹‹Rƒ™çŠ+€ææfܹs|ð×¶fͬ\¹üñ>|ˆÚÚZDDD ¹†Qcé}ïpwóW¯^eÁÁÁÌÉɉÙÙÙ±… 2©TʵŸ8q‚=ñÄlÒ¤IÌËË‹¥¥¥õ:öõ}7•JŘ››sssc ½wÆëõ\.))aÁÁÁÌÙÙ™ 6gÎÏÚÛÛ¹>µµµlÑ¢EL 0ooovðàA“u?fjž>dÛ¶mc"‘ˆ9;;3‰Dµéõz–––ÆæÏŸÏìííÙ‚ رcÇz9Ñm·î…ì>*++39½^ììlœYYYýö¿|ù2<ˆÒÒR@NN®]»†C‡!33ÍÍÍÈÉÉvÍgÏž…X,Æ?þˆW^y[¶lÁ™3g°ÿ~;v ‹/†D"týß~û-ÚÚÚðÍ7ß ++ /^4¯¨¨ÕÕÕH$ÈÍÍ…N§Ã×_͵?û쳋Ÿrå 4ͰçÕs»u‡´¬¬ŒûÞÔ<¾ûî;ÔÔÔ %%yyyP(ƒžÃH™%Œ …ö9|ø0ž{î9ØÛÛÃÑÑï¿ÿ>*++ûíŸ`ðœ¿üò àêê WWW$$$àÔ©Sëï5:GÜ´ifΜ @€åË—£³³7n„‡‡÷X}}ý ë?uêÖ®] ¡P¡PˆuëÖŒwüøq$%%ÁÃÃS¦LÁš5kPQQÁµïر^^^HMMÅÒ¥K…C‡A©Tö;‡Ál7c¦æqòäI¬_¿3gÎÄ”)S?è9Œ”YÓS§NE{{;<<<úíÓÐЀÌÌL466âþýûkëþf̘a°lüüžžž¸uëÖ°kîù‚ÙÛÛ\\\ 빇2U¿q}ÆÛ¢­­ ï¾û®ÁcVVVÜ÷ˆEll,chmmE~~>öìÙƒ½{÷z^ÆÛ͘©y( xzzö¹®©9Œ”YÂèçç‡ÒÒR¼ýöÛýöÙµkbbbðÒK/ÁÑÑJ¥K—.í·¿ñ$…B!är9¼½½ׯ_ÇôéÓÍQþ ˜ª¿»¾îsL¹\n°þŒ3°ÿ~¸»»›ËÊÊ ³gÏÆºuëÎ=nggFÃýðܾ}»ÏuG23fàúõë˜3gN¯u‡2‡á0ËazÅŠøþûï!•J¡P( ÕjQ__opçZ­†ƒƒÚÚÚ ‹‡4FPPÒÓÓ¡P( P(žžÞë<Õø½Js¾wiªþ   |ñÅhooG{{;222 Úß|óMˆÅb´¶¶B§Ó¡¹¹»víâÚ“’’P^^Ž;wî@§ÓA.—ãË/¿Ä‚ ¸>¾¾¾(((€Z­†\.ÇçŸnöy¼öÚkHKKƒ\.Çýû÷ æaj#e–=£H$‚D"ÁáÇ‘ µZ DDDp}6oÞŒŒŒ $''ÃÅÅáááC:ßˆŽŽFff&âââ< Ú;ï¼cŽòÅTýÑÑÑHOOGll,lllŒªª*®=$$VVVرcär9fÍš…÷Þ{k‰‰ÁÑ£G!‘H Ñh  ñâ‹/â£>âúlذb±¹¹¹pvvFTT~ûí7³Î#<<*• ‰‰‰P«ÕˆŽŽôFÊŠuÿþÿ?………çõÄãAss3>þøcäååu)¼R^^ŽäädŤ¼¹8dddàöíÛhkkCFFüýýǺ¤qÅl— àîîŽÕ«WC«ÕÂßß߬‡°Ç…ÑŒBCC:ÖeŒ[t˜&¼Aa$¼Aa$¼Aa$¼Ñï/0=oÿ"Ä\nÞ¼Ùo[¯0¾ð ˆˆˆ€^¯·hQäñäêêŠW_}µÏ¶^W`#t†ð…‘ð…‘ð…‘ðÆÿ)Ȫ K[ÓIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_func_c.html0000644000000000000000000000013213012573355023025 xustar0030 mtime=1479210733.161939773 30 atime=1479210733.161939773 30 ctime=1479210737.633938581 cairomm-1.12.2/docs/reference/html/functions_func_c.html0000644000175000017500000002604313012573355024530 0ustar00murraycmurrayc00000000000000 cairomm: Class Members - Functions
 

- c -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1FontFace__inherit__graph.png0000644000000000000000000000013213012573354026651 xustar0030 mtime=1479210732.317940006 30 atime=1479210732.321940004 30 ctime=1479210737.533938607 cairomm-1.12.2/docs/reference/html/classCairo_1_1FontFace__inherit__graph.png0000644000175000017500000003263313012573354030356 0ustar00murraycmurrayc00000000000000‰PNG  IHDRUð?È`bKGDÿÿÿ ½§“ IDATxœíi\×þÆ'H"‚a‘ »‚,u_Á¢,ÒªUÙDÀj¡^iUŒà^Elm,bE¯^mÕ+› øwD¨ ¢¢ «!€DAAVYB¶ÿ‹ñ¦‘¬@ ü¾^LΜùg†‡›(6O/ ’zÌüô ¯^½rtt´··ÏËËkii‰‹‹KHH°Ò9<ô%O”+W€ÿ~!<<œL&oÚ´ÉØØ‡ÃÙÚÚrëÿ²²²%K–hkk‰DOOÏúúz4·®Ž‰‰122RRRB„N§‡„„Œ5JOO/$$„N§sKá­fET¹è.±Õ²°‚0L||¼©©)@°³³{ùò¥„1…)“É 311ÑÔÔŒŠŠBÙlvDDÄèÑ£µ´´V®\ÙÖÖ&Bª´ÿýBzzºŸŸŸÀ]ÞÞÞAAA4­ªªÊÀÀ`ûöíüyîÝ»—““Ãf³‰ŒŒ,,,ÌÍÍ}òäI~~þþýû{*­ÅVË" ºyóffff}}ýüùóW¯^-aLagzàÀìì쌌 *•ÊI}èСÌÌÌŒŒŒòòrƒÖÓÓì è!‚$&&ŠÎ£¬¬ÜÑÑ!6Tss³¡¡!7,w£²²’›g̘1………èvAA™™™XyüßpDdã\tA‚ÔÔÔ ÛmmmAò˜ÏÔÜܼ   [++«’’t»¶¶ÖÄÄDôir û¿ux¯I¾s$©¼¼\à®ÜÜ\gggMMMÔ'X,––»Áf³¹ùñx<÷VÒÑÑÇãÅÊ›(0°‚„+6¦°3å-ˆ @à½}()) ?ÅÏ í‹ÿ¡ýô ...‰‰‰wùúúúûûS(&“ÙÐÐÀb±øóðvªõõõ©T*ºM¡P z¡G’ùž$6¦°3522¢P(Ý2WTTp)ð²Hð?Ð/„‡‡ÇÆÆÆÄÄÐh4:þøñã%K– »ÚÚÚ444ÔÔÔªªªņòóó ¦Ñh4-88˜wXAÂñ?AtttŠ‹‹{]Pïb ;Ó€€2™L¥R7lØ€&®Y³&00°¸¸¸«««  À××WtéÒ¡×-@aA$ksyxx‰DUUU›ääd4ýêÕ«–––***ÆÆÆ±±±_sºÛײ££ƒL&“H$‰D&“y[μ9…ŽE$EçV"¤/6¦°3íêêÚ±c‡¡¡¡¦¦ftt4šÈb±bcc­¬¬p8Ü„ RSSùò#áÿBÎ ù¡0Lbb"<ÿ+ôñíP\Àÿ ¸€ÿ@qÿ€âþÅüŠ øXÿè =’p‰ ¡ÓYx<¶¿%½æÿ=ÆÈÈH’÷ÿ(+kc „/èôÊææŒ¦€(++gdd888ôîpð? eŠ‹kRSŸ¥¦æUU}=z¤»ûiææº²ÖÚÿ€txó¦1%åÉåËÏJKkõõ‰‹OvwŸ:q¢‘¬u¢€úèŒë× ÿýw‘8lñâÉnnSmlF+) Ž0ð?ÐKòó«““Ÿ\¼ø´¥¥ÃÞÞ|ùr»yó&¨¨À8ß`üôŒÆÆ¶„„lj‰ËÊj-,ô||fxyM×ÕU—µ. 7€ÿIyñ¢úôé¿/_~†Ã)»»Oõñ±2ÅXÖ¢€>þÄÀ`°nÜ(8{öavv™™™®¿ÿ,??[55œ¬uRüåÍ›Æ?ÿ¼þ|NKKÇüùfÍœi&kQ€4ÿ()©ùãŒÔÔXÉϯ޲%©´´–Lv!“窪öþ_YSSÃd2“’’¤(C¢££»½¸ ü?øèè芎¾wÚ4Ó[·6YXèI%¬···TârKrrr·ðÿ #=½hûö”––ÎÝ»ÝV®t€×l}ü?hxÿ¾5""-%剫븼õôFÈZ0èÿ8NJÊ“ððTuuü¹s?:9YÉZ0DÿË;¥¥µ[·&ååUýðƒã¦M_ª²V Àÿò “É>vìîo¿Ý°° ]¹2êÀ``‚©\óC唲²Z7·ß¼±mÛùY¥§¤¤ÄËËK[[‡ÃÙØØ¤¤¤ˆÎ/Eó¿|ùrÁ‚êêêÇŸ7o^~~¾´"c0âÇP1Ÿ#•‚¤³€ÿå6›söìÃùóc¹ukóš5Nr2ÿÕ«WŽŽŽöööyyy---qqq S4…Bqvvž;wî«W¯(Ê×_íââRVV60¥£ðN›‘瘽WÈœÊÊzÃÆÆ›""®tu1¦ÐÄÄDI¾ Ë–-‹ˆˆ¸«´´ÔËËKKKkĈuuuh:7,‚ ÑÑц††h ³³388XOOD"wvvrCñ*ánûí·»wïæ-1,,lÙ²eü‡ð~¡Š+†ß  "ðú; AŽ=jbb‚ÇãgΜYPPÐ-¬°˜Â3Œ]»v‰Äƒ¢‰,kß¾}¦¦¦šššßÿýÇùvÃÛÛÛÛÛû³k%ö```³ÙgÎ<03ÛêìüëË—´,ZBÿ“H¤òòr»&Nœ˜‘‘ÑÞÞÞÔÔ´nݺU«V¡é¼ßu77·7oÞ wíÚ5wîÜêêêêêj''§°°0n(þ'‘H …·D …¢§§ÇïGªxÅ;÷ãÇ/\¸PDag ˆ»»{EEÅÇ÷ìÙ3kÖ,Ñ:¹áèèH¡PBBBÐĨ¨(*•ÚÐа|ùò7 < ^ÀÿrJUU½—Wœ‘ÑÆ¬ö¹Hèee厎±Ùš›› Ñm^ÿWVVróŒ3¦°°Ý.((033‹Åv+º½½]EE¥[)? TÅ+F`þÛ·oO™2¥¥¥…›‡¿v‚ÔÔÔ ÛmmmA˜N-q^Áæææh#‚++«’’t»¶¶ÖÄÄ„ÿ,ºþ—;ÐjßÜ|›³óüüj™hè{ýŸ››ëì쬩ùi•!,‹¦óúŸÍfsóãñx®Ÿ;::ðx¼Ø¢ùëƒn¥tû(B¯þs/,,;vlEE…ˆ<"ÎB˜±÷)a‚y âB xoJJJü »Áï¹XRXjjš||âCC/üø£ã›äü%...è‚___ …Âd2X,Þζ¾¾>•JE·Q'‹-úÌ™3¼)ýõ—³³3ºÇãÛÛÛÑíÚÚZITñŠé6 ðþý{OOÏS§N™ššŠVÕÓ³;È/L°‘‘…Bé–ÙØØ˜÷%ðš‹Gì=è'ÒÒò¬­w88ìñâµl•HXÿ—••éééEGGWWWwvvæääxyy¡»ôôô.]ºÔÙÙY^^îåå…ðÕxÝ⇆†r{ÎÎÎÎ;wîäîBõÿKKKutt¢££kjjjjj¢££µ´´¸­ßY³fíÙ³çãÇT*uñâÅܣĪB9rdQQ÷ãÌ™3OŸ>ÝíÜ^ag©ç»ÄS˜àÈÈHGGÇòòrÞþÿ¡C‡æÎ[TTD§Óóóó}||øvÚÿrAkkç–-‰£F…ÉgÛÚè²–#©ÿ9NQQ‘‡‡‘HTUUµ±±INNFÓ¯^½jii©¢¢bll+Öÿd2™D"‘H$2™ÌÛ¸è‡óâÅ‹ùóç>AuuõçÏŸswÌœ9Ç›˜˜=z”{”XU(QQQD"‘w/)ðú; aþç/¨[@a‚»ººvìØahh¨©©&²X¬ØØX+++7a„ÔÔT~…Ýà÷?LÏhòò^im팊òùê«ñ²–ƒ ’””„Ö²"]]]S§Nݵk—¬µ 2–.]Š ïBÐÿ8˜Lö‘#éîî±&&Úwîl–ó:TUUO:òþý{YkôÀüÿ¢ººL>÷âÅë]»ÿë_²šï94°±±©©©‘µŠ¡ø HNÎ ½`h¨uíÚkk}YË€O€ÿû—ææöÍ›“®_Ï_½ÚiÛ¶**XY+€ÿ÷#OŸV­]ûƒÁJL\;k–¹¬å@w`ü¯_àp8'Ndyz65Õ¹qc˜O þ—> m!!ÿÍÌ, vݰákX¢[ÀÿRæáÃò  3X¬Ò… ë×»7чûƒ®.lc#N[»SY™ÝOE’ððáC;;;Þð¿Ôàp8'OfïÛ—æìlãG$“µ"I™1c†¯¯o/' ÅÂ47«65ᛚðííÊJJî‘H—b@O±³³ëö–˜ÿ'êë?’Ég>,ß¹s‘Âþ¼Ïfs^¾¤eg—ee•åäP»º˜&&ÚNNÖÇãd-èø_ Ü»WJ&ŸUW';æ?~¼˜‡À†ïß·æä”gg—ݾ]øî]‹¶öp{{s ggk}}¢¬Õ¢ÿ÷ 6›s3&æ–›Û”–*N×ÞÞõôieVVYvvY~~5¯bc3zöl ‹ º¯«È-àÿÞÓØØ¶nÝÙû÷);w.Zµj¶¬åô;,»°ð Ú¼ô¨œÁ`¡Í{W×q³g[âp0–4øÿ÷’üüê~ø“Éd;0mš‰¬åô#UU²³Ë簾ö‘#ÕgÎ4sp°˜;÷ xÙ`üßΞ}zaöl‹Ã‡—¢q~ÉéÖ¼'T§O7…æýÐüß3ÚÚè›7'¦¥=_»Öyûöo†ÒÜžnÍ{‹=~¼¡ƒƒÅìÙ¶¶cTU¡y?ÿ÷€òò÷§ß¿o9rdÅœ9–²–#¸Íû{÷J[Z:tuÕmmÍÐ^=‰¤!ku@ÿþ—”Ë—ŸmÙ’dm­ü¸ÿ`ï÷¶µÑ< Ü¾]˜•Uöúõ‡aÃT§MûÔ¼Ÿ8Q.^4 àñ0™ìÈÈ+Çß[µjö΋é3¼L&»¨èŸæ=›Í7ÎmÞÏœi6HO è#à146¶­^ý×ãÇÔ_~ñöñ™!k9=†§y_ÒÒÒÉçà`1$G.þGáp8W¯æ»ºŽëö#vaá›ýë“É:yr¥œ¼WÚîß•]–™YB£5ª©á¦N5æ=ÀøAäâŧëÖus›òÇ+¸?n]¼øtË–¤É“Ž ÐÑ.[…bA›÷·oÞ¾]ôò% ƒÁ@ó øiié´·ß×ØØŽÁ`¶m[@&Ïe2Ù\;r$}ùr»ýû—(+Ëï*)Üæ}ffIkë?Íû9s,54âøQ9pàZK }Ê/¿\30 &$<ÎË{ï¿xñdY«À‡< dg—ed¿}Û¤¦†³·7ßµkñœ9–FFZ²V &½þ/.®ùê«ßX¬OƒÁ`±JººgÎZ[ê§B›šÚïÝ+us›"ù!ŒÜÜ tB^A ‹Å|ñ4ï¾¢Ðõ?›ÍÙ¸1ƒÁ È'ÿ£wC‹¥««ÞO…Þ½[|®¾þ£…IìZàhóþöí¬¬R:ýÓãôAAÎsæXihàûI! 8(´ÿrÐWnó&2™¬††¶€€“/®“n½ÚÞÞµgOêÙ³1Œ²²Rff©@ÿ×Õµ>zTž]vçNQmm³––Ú¬Yc÷íótt´24Ô”¢PÜöcc›]dkk§À+€Å*ùúÚþö›Ô–Ä{ú´*(è¯7ošX,6‚  ÆÞÞ<9y-º·££ëÉ“ÊnÍ{W×/\]Ço8”ž2ä ÅõÿæÍ‰Éɹ †àEï°X%ÉË 9²¯ƒ{;&æƒAÍ¢¢‚½p!('‡Ê¿Z–££•º:4ï~GAýÿìYÕ¢E¿óŸ»²²“ÉÖÑîç7ÓÛÛÆÜ\·•–Ö®YógYÙ;6[ðu†Õ²¢ˆý6›³}{²’†;쯤¤Äáp”••¾újüÒ¥6NNÖ}ÿÍŸÍæüç?Ù{÷¦!G ùUT°žžÓ¢£}áqz@V(¢ÿÿüóï—/ߢ•¿²²‹Å™4ÉÐÏo¦»ûTi-à÷úõ2ùÜÓ§•ª}A V^Þk0? C>kÿwvv^»vMºëÀË­­Œ½{Ÿuu±ÑÑÁÛÙ‘¦O×!¥¹ngNÎûäd*ƒ!þ] æÅ‹½ò?¹AìììÚÚZY«DÅb,X€Ç÷`äè3ÿ_¼xÑËË«„É8Üh"ѵ££¬££˜Áx×Ehj.TU5QRRù<™Íá  zµ•äSµäÈ ©ý!Cº¨¨¨0™LY«ÄpáÂOOOÉóÖþGÿÁwïÞ•²(…„Íæ´µ1>~ìúø±ëãGÆÇ]Üåå´¢"êäÉ3š›;Ëø+“ÉLLLì¿w„}ƒÁôô­ˆýÿAI £®®ª®®Ê¿+3³áï¿/¤§§ ¼*àE~Ÿl ¿ÿ€âþÅe€üïää40ƒ ˜þ [z9þ÷úõë'N<þ¼££ÃÌÌÌÏÏoΜ9"òKë7…n÷‘Þ…urrâ=P*1û‰ââNy̘‘²")%%%¡¡¡™™™?~œ8qâ¶mÛ–,Y""¿T~þx‘ýÆYVV¶dÉmmm"‘èééY__¦sëI cdd¤¤¤„ N 5j”žž^HHNç–Â[µ ë><|öìÙ Ü<¯_¿Ö××çþs%‰€–ojjJ ììì^¾|É•Á`Dtg„]&“fbb¢©©…&²Ù숈ˆÑ£Gkii­\¹²­­MXØ>Òÿ?{öÌÅÅEà®Ý»w»»»''''&&êèèüûßÿæÏóâÅ‹£Gfdd röìÙÊÊÊøøøcÇŽQ©Ô³gÏöBˆ ¹¹¹‡JMMµµµŽŽFþWÕß½{WD/ì,Ο?ŸŸŸóßÿþ·®®MLIIyþüyttô¹sç˜LæþóŸžêoiéLNÎ]±âßS§†‡…]*(¨æp8 k0ÔŸ‘žžîçç'p—··wPPF«ªª200ؾ};ž{÷îåää°ÙlA"## sssŸ|ø0j”€å1KKK;F¡PZ[[AÛrÝÐÕýç¡zÞ8ÜF‘øoO"‚ æG‡Ãñ¶!EÇvuuuÝŽ}÷îÝwß}Çý(ံºú—ãÆ…¶·3°X%&}àJpÕQ^þþÇÿ”$f¿¢¬,~é1mmí·oߎ3†ד'O¶mÛ–——×ØØˆ +`a5cccî6ossó7oÞôH­°ÃCCC·mÛæãã³{÷îmÛ¶ öé Hüõ¶¨ù6lXGG‡0 Ýb »4ÍÜܼ۱UUUVVVÜ}$zwêÔ©h럽{÷Λ7ïܹséééiiiܶ/¼ÑÖÖ®©©A·ß¼y£££Ó == "Ö¢ÂÎBWW—ÿ‹¨««{þüù»ÿCØ•Q\\\îòõõõ÷÷§P(L&³¡¡Aà3¦¼ÿ}}}*•ŠnS(þÛ®h„¾xñb·}ûö‡þðýˆ ±_*aWÀÈȈ¿icll\QQÁùý÷Hnoêÿ€€€àà`UUUGGG"‘X^^~þüyt°³³sذax<þÝ»wñññbC¹¸¸>|xÛ¶m‚>|˜wX·•Þ­Å.yŒ1¢ªªŠÛÔäGØYÌ›7/66vë֭Çÿ믿‚‚‚qss;xð ™L600xýúõÙ³g%é­µ¶þ]_W’ö¿™™î±cþbö7LjÍ>{öl<ïíí=räÈ/^üúë¯è`[[›†††ššZUUÕÖ­[ņòóó >uê‚ ÁÁÁ¼Ã ¼-maþÂÇ`0;vìðõõ=qâ'ê¡o¢££S\\lmm-,ƒ°+@&“Ož<©©©¹wïÞ˜˜AÖ¬YkffVZZ)¶SÙ;zSÿFGG¬\¹rÁ‚¿ÿþ;:˜ ÈÖ­[?¾`Á‚I“&‰ µbÅ “üñÇ=zôòåË{¡§§A–-[¶nÝ:ãÿÂÎÂÇÇgܸqÁÁÁß~û-·ãééioo¶`Á‚ÈÈȹsçJ([UUÙÕu\\Üò/öÅÄø9:Za±JJJ˜Á»ÚçØ±c322²³³'L˜ ¡¡±nÝ:___t×É“'úé'uuu'''I~*Þ¹s§µµõôéÓ§OŸ>nܸÐÐÐ)q8‹;v¬¿¿˜[jOüôÓOööö"Z®À–-[ìííçÌ™cffÆí‘ÉäÅ‹{zzjhh|ûí·Ë–-ν¢7ã@AÇÿø+®ººÖ+Wž''?ÉϯVVVb2YÎ`ÿ,^¼ØÏÏOl}> ñ? Ÿ9R}åJ‡•+xçÿ¨¨À3ÒÍfŸ8q¢¢¢ÂÇÇGÖZäð¿ó¿²²22Ô×ê’“÷àpFÅÅ5ÈàYKYYÙÇÇ~9—sP K¼ÿ Þÿ%ðþ/ù§¯ïÿRNÊÞ¹óïû?'O6ø÷"ba¡—™¹M*%@/PDÿ³Ùœù󣊊j¸ÏÛõ÷û¿™Lmxÿ7 sÑÿ‚<{VµhÑïü箬¬Äd²ut†ûùÍôö¶17×x¸ä”–Ö®YógYÙ;a míáööæÎÎÖúúÄ>=x2àDIDATBAý ÈæÍ‰Éɹ †àÁ,V‰ÃAòòÂGŽTïcA +6övLÌ­nOø«¨`/\ÊÉ¡fe•åäP»º˜&&ÚŽŽVêê=èÅ@ïP\ÿ76¶ÙÙE¶¶v ¼X¬’¯¯ío¿Iíq×§O«‚‚þzó¦ ½`0{{óääOövtt=yR™•U–]VP@Ãb1_|aàêú…«ë¸ñã œ£¸þGä¿ÿ}´eKÿPQÁNœhtñâ:ËÔõšöö®={RÏž}ˆÁ`””íÛ®Y#à§ÖººÖGʳ³ËîÜ)ª­mÖÒR›5k,Ú(04¿HŽBûŸÍæ|óÍ¡ÂBïøœ²2V[[íÎ-ÚÚýò³ÜÝ»%ÁÁçêë?¦§o±¶Ö¹ªêCvvÙíÛ…YY¥tú?„9s¬44 ƒô…ö?‚ ÅÅ5_}õ‹õÏzrX¬’®®Æ™3ý÷ìmSSû½{¥nnS$?¤³“‘›[Ñ­ƒàà`1{¶ÅÌ™fÒm§Šƒ¢ûAÐЋgÎ<@áÆ`0‡/KHxœ›[ñë¯K½½md­N>||ð€’]–‘Qüöm“šÎÞÞÜÕuÜœ9–FFZ²V &ÀÿHKK§½ý¾ÆÆv ³mÛ2y.“É>pàÚ‘#éË—ÛEFzÉsíŠv²³Ë23KZ[;y:–Y«äð?‚ ÈÅ‹O×­;ëæ6å?Vpgã\ºôlóæÄÉ“Ž ÿ)ºL&»¨èÍíÛ…·o½|IÃ`0ãÆAøA„Ãá\½šïê:®Ûb{……oþõ¯SL&ëĉï'O6v¸¼ÑÐÐvÿþ+´Q@£5ª©á¦N5™=ÛÂÁÁbâD#Y«äð¿ÛÖ¬9““SþË/Þ>>3d-§Çp;÷î•´´üÓApp° ‡ÉZ cÀÿâa2Ù?ÿüññ™+W:„…-¤mi´ƒ]–•UöèQ9›Íþ—”´´¼M›­¬F?î?jÔàž¨ßÖFð€rûvaVVÙë׆ S6Í: ø¿P©u§Þ½k‰‹[îèh%þ€ÁO¡´¥¥CWWÝÖÖÌÁÁÂÕu‰¤!ku@ÿþïŒ;.$&>^»Öyûöo†ÒÌ|‹]XøOÅboˆvlmǨªÂRqCðo8{öahè[Û1Gެèû‚rH{{×Ó§ŸžGÊϯ&T§OÿÔA˜0Á,2€ÿ{I~~õ?üÉ`°Ž÷Ÿ6ÍTÖrún!;»¬©©}äHõ™3Í,æÎýBOo„¬Õ}üß{ÛÈäsYY¥Û¶- r‘µœ~§[Á`¡¿&ººŽ›=ÛÞS8ÿ÷ 6›sèЭè蛋MþõץгhG·¯bc3:ƒð¿ÈÊ*%“Ï©©áâã¿SÀßÏÞ¿oÍÉ)GŸS~÷®V4D€ÿ¥C}ýÇààsÿýjëÖùk×:+fÈfs^¾¤¡„n+š99YKkme@Š€ÿ¥‡Ã9y2{ß¾4''ëC‡üõìÚÊÊÊíÛ·÷åM,¦¹Yµ© ßÔ„ooWVRâ|ñÅ"‘.E‘€X¼½½½½½EdÿK™gϪ֮=Ãd²þøcÅŒcd-§—$%%ùøøˆþêHNW¶±§­Ý©¬,þ(€´xøð¡]RR’ˆ<0f+e¦N5¹~}CHÈù%KŽ»nØðõà#$ú«È9K—Š_½Þÿ+}45ÕNŸþWX˜[lì_ߣïÞµÈZüß/`0˜U«f§¦®ýºaÞ¼¨ìì2Y+€ÿû‘É“oÝÚlk;Æ×7~ÏžÔ®.¦¬Àg€ÿû ||¼|üwçÏç|ýuTQÑ[Y+€ÿ‹M¾sg ‘8ì›obŽIýRà¡bÎŒ[Àÿ„¡¡fJJÐæÍó~ýõú²eÇÞ½k–µ"éPRRâå奭­ÃálllRRRDç—ÖïÍï#R¹¹`>§×A¤³?ÿX¬RPËåËë««æÎ=xóæKY+ê+¯^½rtt´··ÏËËkii‰‹‹KHHµ()ÀáAžcöðÿ@3eŠñ;›Ýݧ~ÿýÉõëϵµ â)qááád2yÓ¦MÆÆÆ8ÎÖÖ–[ÿ—••-Y²D[[›H$zzzÖ××£éÜÚƒÁÄÄÄ)))!B§ÓCBBF¥§§B§ÿsYx+L +Ïôôô©S§SSÓ'N ‰l6;""bôèÑZZZ+W®lkk¨D Âäa0˜øøxSSS`gg÷òåK®HÑU½°ëÃd2ÃÂÂLLL455£¢¢D+ï;à@ ¨îÛçñïܹS4o^ô‹Õ²VÔKÒÓÓýüüîòöö ¢ÑhUUUÛ·oçÏsïÞ½œœ6› Hdddaaannî“'Oòóó÷ïßßa+V¬ mjjÊÊÊzôèšxèСÌÌÌŒŒŒòòrƒ&P‰@DÈ»yóffff}}ýüùóW¯^ü¯#ºªv}8‘‘A¥Ri4šXå}…ÈŽšš&oï?ŒŒ68p­«‹)k9ÿ˜˜(ÉwCYY¹££Cl¶ææfCCCt›×•••Ü{!7s7%O\˜<~Ÿ‹Nç"ìúðÄE˜rÑHâhÿË ³|¹]FÆVmmµ… EFþƒÑû§îôNÁ¯¯¯¿¿?…Ba2™ %äíëëëS©Tt›B¡ˆ.ÚÜÜüùóç¼)ÏŸ?76þôަ©S§^ºt©®®.&&fåÊ•h¢±±qEE÷«Ï+Iì°BOå‰ (ìúQ(”n™E(ï#à¹ÀÈH+)iíþýKNŸþ{Þ¼¨‚š¬IDxxxlllLL F£Óé?^²d º«­­MCCCMM­ªª*00Pl(??¿àà`F£Ñ‚ƒƒy‡Žÿ­[·.00ðÞ½{------™™™k×®åF+**b0¼‡¬Y³&00°¸¸¸«««  À××Wò3!O :::ÅÅÅ"2»>d2™J¥666nذ¡ïÊÅ IC0ªªê½¼âŒ7ED\‘ሀ„í‡STTäááA$UUUmll’““Ñô«W¯ZZZª¨¨ÇÆÆ"| ãnñ;::Èd2‰D"‘Hd2™· Ì›“»Íf³O:5}úô#FŒ1búôéþù'7Ûùóç---ñxü”)S222ÐD‹kee…Ãá&L˜šš*P‰À&OرQQQD"QØÉЏ>]]];vì044ÔÔÔŒŽŽ­\4’´ÿáù¹ƒÃáœ;÷(<ü²‰‰Nlì²qãÄ45ûôùøn jÐçE?Ä í¹¸ysÓ°a*ß|s(..É„e3€~ü/§˜™é¦¦GDxÆÄÜš7/*/ﵬCð¿ü¢¤ô©! ¡AX¼ø÷ðð˃z² ‡€ÿåssÝ ‚¢£}SRž|ùåÏ×®åËZ0tÿ0Œ··ÍÝ»ÛÆ®ZuÊßÿDMM“¬ECðÿ aäHõØØoSR‚ÊËß;98q"K‘פøaoo~çΖÀÀ9ûö¥¹».-­•µ"`ë>ðx•M›æÍ›7aË–¤¯¾:äìÚ¯ßLNN–zL`À¨®®62÷6:I&ò ‹Å>sæ…ÅOÓ¦…'%=–b䬬,ee¨=6lý†ùƒžÚÚæ}ûÒ._Îûò˱ûöyXXèÉZ0hÿž?½k×Å/ª}}múé--5Y+àÿ¡›Í¹páIDăµqã×ßÿ% 㻀(ÀÿC––ŽÃ‡ÓÏ´´ÔÛ·ÏÓÖv°¾ƒÀÿC*µn÷îKééÅ®®ã"#½ 5e­GÀÿC™7 öìI­«k]·Î%0pŽšNÖŠùü?ġәǎe9’ŽÇ«»®Xa¯¢‚•µ(@^ÿ+müq÷äÉ,míáÁÁ®~~¶04 à…¢¦¦)&æVBBÎèÑ#7ož·pá$¹z0ð€ÿŽòò÷¿ÿ~ûâŧ“&mß¾ðË/ÇÊZ 3Àÿ JqqÍ¡C·®\yîà`±cÇÂI“ÄM†"à…æþ}ÊÏ?ÿ_^Þëo¾™¸~½ëøñ2Xk!àE‡Ãáܼù2*êfaá''«  {{sY‹ð?ð‰Ç©GŽdܾ]8~¼A`àOÏiðÁü|ÆÓ§•qqé·nŽKZ»ÖÙÃc*Ì€ÿTVÖŸ<™}æÌƒ#K—Θe`3ˆ‡ à@(oß6ýõ×ýÿþ÷QssǼy¾´³3“µ(@š€ÿ10¬7 Ξ}˜]ff¦ëë;cÅ { ‚ø#¹üHJ~~õ©S§¦æ©¨`Ýݧ.]:cÚ4Y‹úøèm‰‰¹ 9eeµzK—ÚxyM'‘4d­ è à —äçW''?¹téiSSû¬Yc—,™¾hÑd<^EÖº€þúμ~=?1ñqvv‘8lÑ¢ÉîîSmlF+)Á“Eƒð? Þ¾mJIyrùò³’’šQ£ˆnn“ÝܦÂcrø2%%5©©y©©y••õ£GtwŸâá1ÍÜ\WÖº€ÿOdgg;;;3™LiTVÖ&Æ_Ðé•ÍÍÒ ôŽ 6DGGwK„w¼Ÿ¨©©a2™IIIÒ Ëá t: _-ݰ@ˆŽŽ¦Ñhüéàà3¼½½e->Â^åx€âþÅüŠ øð?Ðï Ø*ã°œyOÿ=¦¤¤ÄËËK[[‡ÃÙØØ¤¤¤ˆÎß÷9&uuu$‰N§sS<<<¸Ûºººuuub ºvíÚœ9sðx¼¾¾~@@À»wïÐô7n¸¸¸}}ýU«V}øðMÇ|NïÄw;P*1¥øè¯^½rtt´··ÏËËkii‰‹‹KHHèïBGŽ9sæÌ´´4ôcCCCZZZ}}=úñÒ¥K³fÍ9r¤Ø8 ©­­---3f̲eËÐôèèèÍ›7×ÕÕ=þ\YYÙßߟ{‡iNÄ”‚@‘ILL”äû°lÙ²ˆˆ»JKK½¼¼´´´FŒáááVȇAèèhCCC Ãáp:;;ƒƒƒõôôH$Rpppgg'7¯tûâÅ‹ .DS®\¹‚ Hjj*úñ«¯¾º|ùr·‚Ž=jbb‚ÇãgΜYPPÀ¯¶µµuذaüé---ü2¸“-°P~¯ñÇvÝ Æ®]»Œ‰DâÁƒÑD‹µoß>SSSMMÍï¿ÿþãÇü ùñöööööæO‡úèééé~~~wy{{Ñh´ªª*ƒíÛ·óç¹wï^NN›ÍF$22²°°077÷É“'ùùùû÷ïQîÂ… Ÿ>}úþý{Aîß¿ÿõ×_ß¿A7oÞäçç/X° [þ›7offfÖ××ÏŸ?õêî³ÛÚÚââ✜œø ÊÈȘ4i’%"dóÊùü®$a×íÀÙÙÙT*•;{ïСC™™™ååå #,,L„TñHró ëee厎±Ùš›› Ñm^TVVróŒ3¦°°Ý.((033sýúõ111ÇÁÁáÁƒ³fÍâp8û÷ï á/¨¦¦Ýnkk#¼qÐo¾®®î«W¯ºñìÙ3CCü¼<ÞœÝÌ"L¶°B‘ þnx¯›¹¹9ËÅÊʪ¤¤Ý®­­511v¹xVÿƒÿOHè‰T^^.pWnn®³³³¦æ§•‚±X,šÎkK6›ÍÍÇã¹·’ŽŽ</ºè¼¼¼)S¦Ðéô &p8kkëÎÎNKKËçÏŸóÄ{ @›íÞ½ÛÁÁ7ñîÝ»†††÷îÝq Ù +FØuã-ˆ ðÙÊ‹JJJü ùö? \\\Ð;?¾¾¾þþþ …Éd644°X,þ<¼#ÞúúúT*ݦP(bÞ>6yòd6›}úôi[[[Almmãââ‚èæº@4446nÜøìÙ3nJbbâ·ß~{áÂ…Ù³g‹>¶§²Åò »nFFF ¥[fcc㊊ ®^dÉÿ=#<<<666&&†F£ÑéôÇ/Y²ÝÕÖÖ¦¡¡¡¦¦VUU(6”ŸŸ_pp0F£ÑhÁÁÁ¼Ã ¼žáÝö÷÷ß±c‡££#‚ ŽŽŽááá’‹ÿî»ïŠ‹‹ Fuuuhh(Aèèè­[·Þ¹sgÆŒ}‘-ââb„]·€€2™L¥R7lØ€&®Y³&00°¸¸¸«««  À××W¬`QHÒx Ûÿ§¨¨ÈÃÃH$ªªªÚØØ$''£éW¯^µ´´TQQ166ŽEøÀÝâwttÉd‰D"‘Èd2o[áÿGyÿþ½ŠŠ Fãp8***ïß¿çωir'%%Mœ8QUUÕÈÈèÇüðá7C7Z[[ù㈖-¬Ð¨¨("‘(L›ˆëÖÕÕµcÇCCCMMÍèèh4‘ÅbÅÆÆZYYáp¸ &p°ö?¬ÿ|"))ÉÇǾC’¥K—"¿¸´ÿ@qÿ€âþÅüŠ øð?(.àP\`ýoà3Њ!ÆÃ‡íììøÓ¡þ>1cÆŒ¾N&ä;;;ov€ù ¸@ýŠ øð?(.àP\þÙ7+jÍuIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1ToyFontFace.html0000644000000000000000000000013213012573355024325 xustar0030 mtime=1479210733.161939773 30 atime=1479210733.161939773 30 ctime=1479210737.589938592 cairomm-1.12.2/docs/reference/html/classCairo_1_1ToyFontFace.html0000644000175000017500000005366513012573355026042 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::ToyFontFace Class Reference

A simple font face used for the cairo 'toy' font API. More...

Inheritance diagram for Cairo::ToyFontFace:

Public Member Functions

std::string get_family () const
 Gets the familly name of a toy font. More...
 
FontSlant get_slant () const
 Gets the slant a toy font. More...
 
FontWeight get_weight () const
 Gets the weight a toy font. More...
 
- Public Member Functions inherited from Cairo::FontFace
 FontFace (cairo_font_face_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 FontFace (const FontFace&)=delete
 
FontFaceoperator= (const FontFace&)=delete
 
virtual ~FontFace ()
 
FontType get_type () const
 Returns the type of the backend used to create a font face. More...
 
cobjectcobj ()
 
const cobjectcobj () const
 
void reference () const
 
void unreference () const
 

Static Public Member Functions

static RefPtr< ToyFontFacecreate (const std::string& family, FontSlant slant, FontWeight weight)
 Creates a font face from a triplet of family, slant, and weight. More...
 

Protected Member Functions

 ToyFontFace (const std::string& family, FontSlant slant, FontWeight weight)
 

Additional Inherited Members

- Public Types inherited from Cairo::FontFace
typedef cairo_font_face_t cobject
 
- Protected Attributes inherited from Cairo::FontFace
cobjectm_cobject
 

Detailed Description

A simple font face used for the cairo 'toy' font API.

Since
1.8

Constructor & Destructor Documentation

Cairo::ToyFontFace::ToyFontFace ( const std::string family,
FontSlant  slant,
FontWeight  weight 
)
protected

Member Function Documentation

static RefPtr<ToyFontFace> Cairo::ToyFontFace::create ( const std::string family,
FontSlant  slant,
FontWeight  weight 
)
static

Creates a font face from a triplet of family, slant, and weight.

These font faces are used in implementation of the the Context "toy" font API.

If family is the zero-length string "", the platform-specific default family is assumed. The default family then can be queried using get_family().

The Context::select_font_face() function uses this to create font faces. See that function for limitations of toy font faces.

Parameters
familya font family name, encoded in UTF-8.
slantthe slant for the font.
weightthe weight for the font.
Examples:
toy-text.cc, and user-font.cc.
std::string Cairo::ToyFontFace::get_family ( ) const

Gets the familly name of a toy font.

FontSlant Cairo::ToyFontFace::get_slant ( ) const

Gets the slant a toy font.

FontWeight Cairo::ToyFontFace::get_weight ( ) const

Gets the weight a toy font.


The documentation for this class was generated from the following file:
  • cairomm/fontface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1XlibSurface.html0000644000000000000000000000013213012573355024353 xustar0030 mtime=1479210733.161939773 30 atime=1479210733.161939773 30 ctime=1479210737.605938588 cairomm-1.12.2/docs/reference/html/classCairo_1_1XlibSurface.html0000644000175000017500000020173613012573355026062 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::XlibSurface Class Reference

An XlibSurface provides a way to render to the X Window System using XLib. More...

Inheritance diagram for Cairo::XlibSurface:

Public Member Functions

 XlibSurface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 ~XlibSurface () override
 
void set_size (int width, int height)
 Informs cairo of the new size of the X Drawable underlying the surface. More...
 
void set_drawable (Drawable drawable, int width, int height)
 Informs cairo of a new X Drawable underlying the surface. More...
 
Drawable get_drawable () const
 gets the Drawable object associated with this surface More...
 
const Display* get_display () const
 Get the X Display for the underlying X Drawable. More...
 
Display* get_display ()
 Get the X Display for the underlying X Drawable. More...
 
Screen* get_screen ()
 Get the X Screen for the underlying X Drawable. More...
 
const Screen* get_screen () const
 Get the X Screen for the underlying X Drawable. More...
 
Visual* get_visual ()
 Get the X Visual for the underlying X Drawable. More...
 
const Visual* get_visual () const
 Get the X Visual for the underlying X Drawable. More...
 
int get_depth () const
 Get the number of bits used to represent each pixel value. More...
 
int get_height () const
 Get the height in pixels of the X Drawable underlying the surface. More...
 
int get_width () const
 Get the width in pixels of the X Drawable underlying the surface. More...
 
XRenderPictFormat* get_xrender_format () const
 Gets the X Render picture format that uses for rendering with the X Render extension. More...
 
- Public Member Functions inherited from Cairo::Surface
 Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Surface (const Surface&)=delete
 
Surfaceoperator= (const Surface&)=delete
 
virtual ~Surface ()
 
const unsigned char* get_mime_data (const std::string& mime_type, unsigned long& length)
 Return mime data previously attached to surface using the specified mime type. More...
 
void set_mime_data (const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)
 Attach an image in the format mime_type to surface. More...
 
void unset_mime_data (const std::string& mime_type)
 Remove the data from a surface. More...
 
void get_font_options (FontOptions& options) const
 Retrieves the default font rendering options for the surface. More...
 
void finish ()
 This function finishes the surface and drops all references to external resources. More...
 
void flush ()
 Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. More...
 
void mark_dirty ()
 Tells cairo to consider the data buffer dirty. More...
 
void mark_dirty (int x, int y, int width, int height)
 Marks a rectangular area of the given surface dirty. More...
 
void set_device_offset (double x_offset, double y_offset)
 Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. More...
 
void get_device_offset (double& x_offset, double& y_offset) const
 Returns a previous device offset set by set_device_offset(). More...
 
void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
 Set the horizontal and vertical resolution for image fallbacks. More...
 
void get_fallback_resolution (double& x_pixels_per_inch, double& y_pixels_per_inch) const
 This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set. More...
 
SurfaceType get_type () const
 
Content get_content () const
 This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. More...
 
void copy_page ()
 Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. More...
 
void show_page ()
 Emits and clears the current page for backends that support multiple pages. More...
 
bool has_show_text_glyphs () const
 Returns whether the surface supports sophisticated Context::show_text_glyphs() operations. More...
 
void write_to_png (const std::string& filename)
 Writes the contents of surface to a new file filename as a PNG image. More...
 
void write_to_png_stream (const SlotWriteFunc& write_func)
 Writes the Surface to the write function. More...
 
void write_to_png (cairo_write_func_t write_func, void* closure)
 
RefPtr< Deviceget_device ()
 This function returns the device for a surface. More...
 
cobjectcobj ()
 Provides acces to the underlying C cairo surface. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo surface. More...
 

Static Public Member Functions

static RefPtr< XlibSurfacecreate (Display* dpy, Drawable drawable, Visual* visual, int width, int height)
 Creates an Xlib surface that draws to the given drawable. More...
 
static RefPtr< XlibSurfacecreate (Display* dpy, Pixmap bitmap, Screen* screen, int width, int height)
 Creates an Xlib surface that draws to the given bitmap. More...
 
static Cairo::RefPtr< Cairo::XlibSurfacecreate_with_xrender_format (Display* dpy, Drawable drawable, Screen* screen, XRenderPictFormat* format, int width, int height)
 Creates an Xlib surface that draws to the given drawable. More...
 
- Static Public Member Functions inherited from Cairo::Surface
static RefPtr< Surfacecreate (const RefPtr< Surface > other, Content content, int width, int height)
 Create a new surface that is as compatible as possible with an existing surface. More...
 
static RefPtr< Surfacecreate (const RefPtr< Surface >& target, double x, double y, double width, double height)
 Create a new surface that is a rectangle within the target surface. More...
 

Additional Inherited Members

- Public Types inherited from Cairo::Surface
typedef sigc::slot< ErrorStatus, const unsigned char*, unsigned int > SlotWriteFunc
 For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length); More...
 
typedef sigc::slot< ErrorStatus, unsigned char*, unsigned int > SlotReadFunc
 This is the type of function which is called when a backend needs to read data from an input stream. More...
 
typedef sigc::slot< void > SlotDestroy
 For instance, void on_destroy();. More...
 
typedef cairo_surface_t cobject
 The underlying C cairo surface type. More...
 
- Protected Attributes inherited from Cairo::Surface
cobjectm_cobject
 The underlying C cairo surface type that is wrapped by this Surface. More...
 

Detailed Description

An XlibSurface provides a way to render to the X Window System using XLib.

If you want to draw to the screen within an application that uses the X Window system, you should use this Surface type.

Note
For this surface to be availabe, cairo must have been compiled with support for XLib Surfaces

Constructor & Destructor Documentation

Cairo::XlibSurface::XlibSurface ( cairo_surface_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referencewhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::XlibSurface::~XlibSurface ( )
override

Member Function Documentation

static RefPtr<XlibSurface> Cairo::XlibSurface::create ( Display *  dpy,
Drawable  drawable,
Visual *  visual,
int  width,
int  height 
)
static

Creates an Xlib surface that draws to the given drawable.

The way that colors are represented in the drawable is specified by the provided visual.

Note
If drawable is a Window, then the function cairo_xlib_surface_set_size must be called whenever the size of the window changes.
Parameters
dpyan X Display
drawablean X Drawable, (a Pixmap or a Window)
visualthe visual to use for drawing to drawable. The depth of the visual must match the depth of the drawable. Currently, only TrueColor visuals are fully supported.
widththe current width of drawable.
heightthe current height of drawable.
Returns
A RefPtr to the newly created surface
static RefPtr<XlibSurface> Cairo::XlibSurface::create ( Display *  dpy,
Pixmap  bitmap,
Screen *  screen,
int  width,
int  height 
)
static

Creates an Xlib surface that draws to the given bitmap.

This will be drawn to as a CAIRO_FORMAT_A1 object.

Parameters
dpyan X Display
bitmapan X Drawable, (a depth-1 Pixmap)
screenthe X Screen associated with bitmap
widththe current width of bitmap.
heightthe current height of bitmap.
Returns
A RefPtr to the newly created surface
static Cairo::RefPtr<Cairo::XlibSurface> Cairo::XlibSurface::create_with_xrender_format ( Display *  dpy,
Drawable  drawable,
Screen *  screen,
XRenderPictFormat *  format,
int  width,
int  height 
)
static

Creates an Xlib surface that draws to the given drawable.

The way that colors are represented in the drawable is specified by the provided picture format.

Note: If is a Window, then the function set_size() must be called whenever the size of the window changes.

Parameters
dpyan X Display
drawablean X Drawable, (a Pixmap or a Window)
screenthe X Screen associated with
formatthe picture format to use for drawing to . The depth of must match the depth of the drawable.
widththe current width of .
heightthe current height of .
Returns
the newly created surface
int Cairo::XlibSurface::get_depth ( ) const

Get the number of bits used to represent each pixel value.

const Display* Cairo::XlibSurface::get_display ( ) const

Get the X Display for the underlying X Drawable.

Display* Cairo::XlibSurface::get_display ( )

Get the X Display for the underlying X Drawable.

Drawable Cairo::XlibSurface::get_drawable ( ) const

gets the Drawable object associated with this surface

int Cairo::XlibSurface::get_height ( ) const

Get the height in pixels of the X Drawable underlying the surface.

Screen* Cairo::XlibSurface::get_screen ( )

Get the X Screen for the underlying X Drawable.

const Screen* Cairo::XlibSurface::get_screen ( ) const

Get the X Screen for the underlying X Drawable.

Visual* Cairo::XlibSurface::get_visual ( )

Get the X Visual for the underlying X Drawable.

const Visual* Cairo::XlibSurface::get_visual ( ) const

Get the X Visual for the underlying X Drawable.

int Cairo::XlibSurface::get_width ( ) const

Get the width in pixels of the X Drawable underlying the surface.

XRenderPictFormat* Cairo::XlibSurface::get_xrender_format ( ) const

Gets the X Render picture format that uses for rendering with the X Render extension.

If the surface was created by cairo_xlib_surface_create_with_xrender_format() originally, the return value is the format passed to that constructor.

Return value: the XRenderPictFormat* associated with , or NULL if the surface is not an xlib surface or if the X Render extension is not available.

Since: 1.6

void Cairo::XlibSurface::set_drawable ( Drawable  drawable,
int  width,
int  height 
)

Informs cairo of a new X Drawable underlying the surface.

The drawable must match the display, screen and format of the existing drawable or the application will get X protocol errors and will probably terminate. No checks are done by this function to ensure this compatibility.

Parameters
drawablethe new drawable for the surface
widththe width of the new drawable
heightthe height of the new drawable
void Cairo::XlibSurface::set_size ( int  width,
int  height 
)

Informs cairo of the new size of the X Drawable underlying the surface.

For a surface created for a Window (rather than a Pixmap), this function must be called each time the size of the window changes. (For a subwindow, you are normally resizing the window yourself, but for a toplevel window, it is necessary to listen for ConfigureNotify events.)

A Pixmap can never change size, so it is never necessary to call this function on a surface created for a Pixmap.

Parameters
widththe new width of the surface
heightthe new height of the surface

The documentation for this class was generated from the following file:
  • cairomm/xlib_surface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Surface.html0000644000000000000000000000013213012573355023534 xustar0030 mtime=1479210733.165939773 30 atime=1479210733.161939773 30 ctime=1479210737.581938594 cairomm-1.12.2/docs/reference/html/classCairo_1_1Surface.html0000644000175000017500000022362713012573355025246 0ustar00murraycmurrayc00000000000000 cairomm: Cairo::Surface Class Reference

A cairo surface represents an image, either as the destination of a drawing operation or as source when drawing onto another surface. More...

Inheritance diagram for Cairo::Surface:

Public Types

typedef sigc::slot< ErrorStatus, const unsigned char*, unsigned int > SlotWriteFunc
 For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length); More...
 
typedef sigc::slot< ErrorStatus, unsigned char*, unsigned int > SlotReadFunc
 This is the type of function which is called when a backend needs to read data from an input stream. More...
 
typedef sigc::slot< void > SlotDestroy
 For instance, void on_destroy();. More...
 
typedef cairo_surface_t cobject
 The underlying C cairo surface type. More...
 

Public Member Functions

 Surface (cairo_surface_t*cobject, bool has_reference=false)
 Create a C++ wrapper for the C instance. More...
 
 Surface (const Surface&)=delete
 
Surfaceoperator= (const Surface&)=delete
 
virtual ~Surface ()
 
const unsigned char* get_mime_data (const std::string& mime_type, unsigned long& length)
 Return mime data previously attached to surface using the specified mime type. More...
 
void set_mime_data (const std::string& mime_type, unsigned char* data, unsigned long length, const SlotDestroy& slot_destroy)
 Attach an image in the format mime_type to surface. More...
 
void unset_mime_data (const std::string& mime_type)
 Remove the data from a surface. More...
 
void get_font_options (FontOptions& options) const
 Retrieves the default font rendering options for the surface. More...
 
void finish ()
 This function finishes the surface and drops all references to external resources. More...
 
void flush ()
 Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state. More...
 
void mark_dirty ()
 Tells cairo to consider the data buffer dirty. More...
 
void mark_dirty (int x, int y, int width, int height)
 Marks a rectangular area of the given surface dirty. More...
 
void set_device_offset (double x_offset, double y_offset)
 Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface. More...
 
void get_device_offset (double& x_offset, double& y_offset) const
 Returns a previous device offset set by set_device_offset(). More...
 
void set_fallback_resolution (double x_pixels_per_inch, double y_pixels_per_inch)
 Set the horizontal and vertical resolution for image fallbacks. More...
 
void get_fallback_resolution (double& x_pixels_per_inch, double& y_pixels_per_inch) const
 This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set. More...
 
SurfaceType get_type () const
 
Content get_content () const
 This function returns the content type of surface which indicates whether the surface contains color and/or alpha information. More...
 
void copy_page ()
 Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page. More...
 
void show_page ()
 Emits and clears the current page for backends that support multiple pages. More...
 
bool has_show_text_glyphs () const
 Returns whether the surface supports sophisticated Context::show_text_glyphs() operations. More...
 
void write_to_png (const std::string& filename)
 Writes the contents of surface to a new file filename as a PNG image. More...
 
void write_to_png_stream (const SlotWriteFunc& write_func)
 Writes the Surface to the write function. More...
 
void write_to_png (cairo_write_func_t write_func, void* closure)
 
RefPtr< Deviceget_device ()
 This function returns the device for a surface. More...
 
cobjectcobj ()
 Provides acces to the underlying C cairo surface. More...
 
const cobjectcobj () const
 Provides acces to the underlying C cairo surface. More...
 

Static Public Member Functions

static RefPtr< Surfacecreate (const RefPtr< Surface > other, Content content, int width, int height)
 Create a new surface that is as compatible as possible with an existing surface. More...
 
static RefPtr< Surfacecreate (const RefPtr< Surface >& target, double x, double y, double width, double height)
 Create a new surface that is a rectangle within the target surface. More...
 

Protected Attributes

cobjectm_cobject
 The underlying C cairo surface type that is wrapped by this Surface. More...
 

Detailed Description

A cairo surface represents an image, either as the destination of a drawing operation or as source when drawing onto another surface.

There are different subtypes of cairo surface for different drawing backends. This class is a base class for all subtypes and should not be used directly

Most surface types allow accessing the surface without using Cairo functions. If you do this, keep in mind that it is mandatory that you call Cairo::Surface::flush() before reading from or writing to the surface and that you must use Cairo::Surface::mark_dirty() after modifying it.

Surfaces are reference-counted objects that should be used via Cairo::RefPtr.

Member Typedef Documentation

typedef cairo_surface_t Cairo::Surface::cobject

The underlying C cairo surface type.

For instance, void on_destroy();.

typedef sigc::slot<ErrorStatus, unsigned char* , unsigned int > Cairo::Surface::SlotReadFunc

This is the type of function which is called when a backend needs to read data from an input stream.

It is passed the buffer to read the data into and the length of the data in bytes. The read function should return CAIRO_STATUS_SUCCESS if all the data was successfully read, CAIRO_STATUS_READ_ERROR otherwise.

Parameters
datathe buffer into which to read the data
lengththe amount of data to read
Returns
the status code of the read operation
typedef sigc::slot<ErrorStatus, const unsigned char* , unsigned int > Cairo::Surface::SlotWriteFunc

For example: ErrorStatus my_write_func(unsigned char* data, unsigned int length);

This is the type of function which is called when a backend needs to write data to an output stream. It is passed the data to write and the length of the data in bytes. The write function should return CAIRO_STATUS_SUCCESS if all the data was successfully written, CAIRO_STATUS_WRITE_ERROR otherwise.

Parameters
datathe buffer containing the data to write
lengththe amount of data to write
Returns
the status code of the write operation

Constructor & Destructor Documentation

Cairo::Surface::Surface ( cairo_surface_t *  cobject,
bool  has_reference = false 
)
explicit

Create a C++ wrapper for the C instance.

This C++ instance should then be given to a RefPtr.

Parameters
cobjectThe C instance.
has_referenceWhether we already have a reference. Otherwise, the constructor will take an extra reference.
Cairo::Surface::Surface ( const Surface )
delete
virtual Cairo::Surface::~Surface ( )
virtual

Member Function Documentation

cobject* Cairo::Surface::cobj ( )
inline

Provides acces to the underlying C cairo surface.

const cobject* Cairo::Surface::cobj ( ) const
inline

Provides acces to the underlying C cairo surface.

void Cairo::Surface::copy_page ( )

Emits the current page for backends that support multiple pages, but doesn't clear it, so that the contents of the current page will be retained for the next page.

Use show_page() if you want to get an empty page after the emission.

Since
1.6
static RefPtr<Surface> Cairo::Surface::create ( const RefPtr< Surface other,
Content  content,
int  width,
int  height 
)
static

Create a new surface that is as compatible as possible with an existing surface.

The new surface will use the same backend as other unless that is not possible for some reason.

Parameters
otheran existing surface used to select the backend of the new surface
contentthe content for the new surface
widthwidth of the new surface, (in device-space units)
heightheight of the new surface (in device-space units)
Returns
a RefPtr to the newly allocated surface.
static RefPtr<Surface> Cairo::Surface::create ( const RefPtr< Surface >&  target,
double  x,
double  y,
double  width,
double  height 
)
static

Create a new surface that is a rectangle within the target surface.

All operations drawn to this surface are then clipped and translated onto the target surface. Nothing drawn via this sub-surface outside of its bounds is drawn onto the target surface, making this a useful method for passing constrained child surfaces to library routines that draw directly onto the parent surface, i.e. with no further backend allocations, double buffering or copies.

The semantics of subsurfaces have not been finalized yet unless the rectangle is in full device units, is contained within the extents of the target surface, and the target or subsurface's device transforms are not changed.

Parameters
targetan existing surface for which the sub-surface will point to
xthe x-origin of the sub-surface from the top-left of the target surface (in device-space units)
ythe y-origin of the sub-surface from the top-left of the target surface (in device-space units)
widthwidth of the sub-surface (in device-space units)
heightheight of the sub-surface (in device-space units)
Since
1.10
void Cairo::Surface::finish ( )

This function finishes the surface and drops all references to external resources.

For example, for the Xlib backend it means that cairo will no longer access the drawable, which can be freed. After calling finish() the only valid operations on a surface are getting and setting user data and referencing and destroying it. Further drawing to the surface will not affect the surface but will instead trigger a CAIRO_STATUS_SURFACE_FINISHED error.

When the Surface is destroyed, cairo will call finish() if it hasn't been called already, before freeing the resources associated with the Surface.

void Cairo::Surface::flush ( )

Do any pending drawing for the surface and also restore any temporary modifications cairo has made to the surface's state.

This function must be called before switching from drawing on the surface with cairo to drawing on it directly with native APIs. If the surface doesn't support direct access, then this function does nothing.

Content Cairo::Surface::get_content ( ) const

This function returns the content type of surface which indicates whether the surface contains color and/or alpha information.

Since
1.8
RefPtr<Device> Cairo::Surface::get_device ( )

This function returns the device for a surface.

Returns
The device for this surface, or an empty RefPtr if the surface has no associated device
void Cairo::Surface::get_device_offset ( double &  x_offset,
double &  y_offset 
) const

Returns a previous device offset set by set_device_offset().

void Cairo::Surface::get_fallback_resolution ( double &  x_pixels_per_inch,
double &  y_pixels_per_inch 
) const

This function returns the previous fallback resolution set by set_fallback_resolution(), or default fallback resolution if never set.

Parameters
x_pixels_per_inchhorizontal pixels per inch
y_pixels_per_inchvertical pixels per inch
Since
1.8
void Cairo::Surface::get_font_options ( FontOptions options) const

Retrieves the default font rendering options for the surface.

This allows display surfaces to report the correct subpixel order for rendering on them, print surfaces to disable hinting of metrics and so forth. The result can then be used with cairo_scaled_font_create().

Parameters
optionsa FontOptions object into which to store the retrieved options. All existing values are overwritten
const unsigned char* Cairo::Surface::get_mime_data ( const std::string mime_type,
unsigned long &  length 
)

Return mime data previously attached to surface using the specified mime type.

If no data has been attached with the given mime type then this returns 0.

Parameters
mime_typeThe MIME type of the image data.
lengthThis will be set to the length of the image data.
Returns
The image data attached to the surface.
Since
1.10
SurfaceType Cairo::Surface::get_type ( ) const
bool Cairo::Surface::has_show_text_glyphs ( ) const

Returns whether the surface supports sophisticated Context::show_text_glyphs() operations.

That is, whether it actually uses the provided text and cluster data to a Context::show_text_glyphs() call.

Note: Even if this function returns FALSE, a Context::show_text_glyphs() operation targeted at this surface will still succeed. It just will act like a Context::show_glyphs() operation. Users can use this function to avoid computing UTF-8 text and cluster mapping if the target surface does not use it.

Since
1.8
void Cairo::Surface::mark_dirty ( )

Tells cairo to consider the data buffer dirty.

In particular, if you've created an ImageSurface with a data buffer that you've allocated yourself and you draw to that data buffer using means other than cairo, you must call mark_dirty() before doing any additional drawing to that surface with cairo.

Note that if you do draw to the Surface outside of cairo, you must call flush() before doing the drawing.

void Cairo::Surface::mark_dirty ( int  x,
int  y,
int  width,
int  height 
)

Marks a rectangular area of the given surface dirty.

Parameters
xX coordinate of dirty rectangle
yY coordinate of dirty rectangle
widthwidth of dirty rectangle
heightheight of dirty rectangle
Surface& Cairo::Surface::operator= ( const Surface )
delete
void Cairo::Surface::set_device_offset ( double  x_offset,
double  y_offset 
)

Sets an offset that is added to the device coordinates determined by the CTM when drawing to surface.

One use case for this function is when we want to create a Surface that redirects drawing for a portion of an onscreen surface to an offscreen surface in a way that is completely invisible to the user of the cairo API. Setting a transformation via cairo_translate() isn't sufficient to do this, since functions like Cairo::Context::device_to_user() will expose the hidden offset.

Note that the offset only affects drawing to the surface, not using the surface in a surface pattern.

Parameters
x_offsetthe offset in the X direction, in device units
y_offsetthe offset in the Y direction, in device units
void Cairo::Surface::set_fallback_resolution ( double  x_pixels_per_inch,
double  y_pixels_per_inch 
)

Set the horizontal and vertical resolution for image fallbacks.

When certain operations aren't supported natively by a backend, cairo will fallback by rendering operations to an image and then overlaying that image onto the output. For backends that are natively vector-oriented, this function can be used to set the resolution used for these image fallbacks, (larger values will result in more detailed images, but also larger file sizes).

Some examples of natively vector-oriented backends are the ps, pdf, and svg backends.

For backends that are natively raster-oriented, image fallbacks are still possible, but they are always performed at the native device resolution. So this function has no effect on those backends.

Note: The fallback resolution only takes effect at the time of completing a page (with Context::show_page() or Context::copy_page()) so there is currently no way to have more than one fallback resolution in effect on a single page.

The default fallback resoultion is 300 pixels per inch in both dimensions.

Parameters
x_pixels_per_inchPixels per inch in the x direction
y_pixels_per_inchPixels per inch in the y direction
Since
1.2
void Cairo::Surface::set_mime_data ( const std::string mime_type,
unsigned char *  data,
unsigned long  length,
const SlotDestroy slot_destroy 
)

Attach an image in the format mime_type to surface.

To remove the data from a surface, call unset_mime_data() with same mime type.

The attached image (or filename) data can later be used by backends which support it (currently: PDF, PS, SVG and Win32 Printing surfaces) to emit this data instead of making a snapshot of the surface. This approach tends to be faster and requires less memory and disk space.

The recognized MIME types are the following: CAIRO_MIME_TYPE_JPEG, CAIRO_MIME_TYPE_PNG, CAIRO_MIME_TYPE_JP2, CAIRO_MIME_TYPE_URI.

See corresponding backend surface docs for details about which MIME types it can handle. Caution: the associated MIME data will be discarded if you draw on the surface afterwards. Use this function with care.

Parameters
mime_typeThe MIME type of the image data. param data The image to attach to the surface. param length The length of the image data.
slot_destroyA callback slot that will be called when the Surface no longer needs the data. For instance, when the Surface is destroyed or when new image data is attached using the same MIME tpe.
Since
1.10
void Cairo::Surface::show_page ( )

Emits and clears the current page for backends that support multiple pages.

Use copy_page() if you don't want to clear the page.

Since
1.6
void Cairo::Surface::unset_mime_data ( const std::string mime_type)

Remove the data from a surface.

See set_mime_data().

void Cairo::Surface::write_to_png ( const std::string filename)

Writes the contents of surface to a new file filename as a PNG image.

Note
For this function to be available, cairo must have been compiled with PNG support
Parameters
filenamethe name of a file to write to
void Cairo::Surface::write_to_png ( cairo_write_func_t  write_func,
void *  closure 
)
Deprecated:
Use write_to_png_stream instead
void Cairo::Surface::write_to_png_stream ( const SlotWriteFunc write_func)

Writes the Surface to the write function.

Note
For this function to be available, cairo must have been compiled with PNG support
Parameters
write_funcThe function to be called when the backend needs to write data to an output stream
Since
1.8

Member Data Documentation

cobject* Cairo::Surface::m_cobject
protected

The underlying C cairo surface type that is wrapped by this Surface.


The documentation for this class was generated from the following file:
  • cairomm/surface.h
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/hierarchy.html0000644000000000000000000000013213012573355021456 xustar0030 mtime=1479210733.165939773 30 atime=1479210733.165939773 30 ctime=1479210737.669938571 cairomm-1.12.2/docs/reference/html/hierarchy.html0000644000175000017500000004441513012573355023164 0ustar00murraycmurrayc00000000000000 cairomm: Class Hierarchy
Class Hierarchy

Go to the graphical class hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 123]
 CCairo::ColorStop
 CCairo::ContextContext is the main class used to draw in cairomm
 CCairo::DeviceDevices are the abstraction Cairo employs for the rendering system used by a cairo_surface_t
 CCairo::Device::LockA convenience class for acquiring a Device object in an exception-safe manner
 CCairo::FontFaceA FontFace represents a particular font at a particular weight, slant, and other characteristic but no size, transformation, or size
 CCairo::FtFontFace
 CCairo::QuartzFontFaceThe Quartz font backend is primarily used to render text on Apple MacOS X systems
 CCairo::ToyFontFaceA simple font face used for the cairo 'toy' font API
 CCairo::UserFontFaceFont support with font data provided by the user
 CCairo::Win32FontFaceFont support for Microsoft Windows
 CCairo::FontOptionsThe font options specify how fonts should be rendered
 CCairo::PathA data structure for holding a path
 CCairo::PatternCairo::Pattern is the paint with which cairo draws
 CCairo::Gradient
 CCairo::LinearGradient
 CCairo::RadialGradient
 CCairo::SolidPattern
 CCairo::SurfacePattern
 CCairo::RefPtr< T_CppObject >RefPtr<> is a reference-counting shared smartpointer
 CCairo::RegionA simple graphical data type representing an area of integer-aligned rectangles
 CCairo::ScaledFontA ScaledFont is a font scaled to a particular size and device resolution
 CCairo::FtScaledFont
 CCairo::Win32ScaledFontScaled Font implementation for Microsoft Windows fonts
 CCairo::SurfaceA cairo surface represents an image, either as the destination of a drawing operation or as source when drawing onto another surface
 CCairo::GlitzSurfaceA GlitzSurface provides a way to render to the X Window System using Glitz
 CCairo::ImageSurfaceImage surfaces provide the ability to render to memory buffers either allocated by cairo or by the calling code
 CCairo::PdfSurfaceA PdfSurface provides a way to render PDF documents from cairo
 CCairo::PsSurfaceA PsSurface provides a way to render PostScript documents from cairo
 CCairo::QuartzSurfaceA QuartzSurface provides a way to render within Apple Mac OS X
 CCairo::SvgSurfaceA SvgSurface provides a way to render Scalable Vector Graphics (SVG) images from cairo
 CCairo::Win32PrintingSurfaceA multi-page vector surface type for printing on Microsoft Windows
 CCairo::Win32SurfaceA Win32Surface provides a way to render within Microsoft Windows
 CCairo::XlibSurfaceAn XlibSurface provides a way to render to the X Window System using XLib
 Ccairo_matrix_tSee the cairo_matrix_t reference in the cairo manual for more information
 CCairo::MatrixA Transformation matrix
 Chash_load_check_resize_trigger_size_base
 Clu_counter_policy_base
 CCairo::RefPtr< Cairo::Device >
 Cstd::exception [external]
 Cstd::logic_error [external]
 CCairo::logic_error
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/functions_p.html0000644000000000000000000000013213012573355022027 xustar0030 mtime=1479210733.165939773 30 atime=1479210733.165939773 30 ctime=1479210737.657938574 cairomm-1.12.2/docs/reference/html/functions_p.html0000644000175000017500000001267413012573355023537 0ustar00murraycmurrayc00000000000000 cairomm: Class Members
Here is a list of all class members with links to the classes they belong to:

- p -

cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/classCairo_1_1Win32ScaledFont__inherit__graph.pn0000644000000000000000000000013213012573354027662 xustar0030 mtime=1479210732.657939913 30 atime=1479210732.657939913 30 ctime=1479210737.601938589 cairomm-1.12.2/docs/reference/html/classCairo_1_1Win32ScaledFont__inherit__graph.png0000644000175000017500000001032013012573354031523 0ustar00murraycmurrayc00000000000000‰PNG  IHDR·p\ƒá“bKGDÿÿÿ ½§“…IDATxœíÝ{PWßðo J€Gä&  ^àmµÖëÔRgmGÎX¼`j‘¶T˜:j«±2EDD¨â­¾¥@ äÆÞœ5cÌc½þ'N}}=”J%víÚ¥ÙEÈsãÆ H$­}}þÃ'///cÕCÈ€ knÂ[nÂ[nÂ[nžóööÔõÓ ÷PšÄ¡T y~û÷Ø÷ïßÇñãÇQRR‚ÎÎN¸¹¹aÍš5X°`Nëçççª5--- DFFFŒÁ-ß±c¢¢¢¸ö“'O ‹ñÝwßéUË•+WššŠ›7oÂÊÊ o¼ñ‚‚‚`cc(**BZZ***0jÔ(xxx ((VVV€ŽŽ¤¦¦¢°°9r$f̘+V`Μ9šÃÐö 7Ôqóöö6x n©TŠððpøùù!$$666¨®®FZZšÎá6kkk¼öÚk¸|ù2÷òf[[._¾ŒÖÖVŒÝýÿÙ/]º„×_ÖÖÖzÝzz:V­Z…Ù³gÃÄÄ™™™ˆŠŠB\\@"‘@,cÆŒËå8yò$¢££ ˆŒŒ„££#¢££áää„ööv”””àôéÓC.Ü€ñNBÆ`pŸ:u +V¬ÀêÕ«¹eS§NEdd$×–J¥8v슋‹ÑÕÕ…9sæàÓO?åÂÕó‘ëííM›6A"‘ ©© yyyP(HNNF~~>cX¸p!‚‚‚ÔÎÆšþ§í%K–àÂ… \¸ËËËÁCEEæÍ›ÈÉÉÖZ"""ššŠææf¸»»cëÖ­˜4ip!~Ê×ש©©\{ß¾}Ü÷æææ†¯¯/·¬´´YYY°´´Ðý`ôòòR{ŸA¥RáôéÓÈÉÉÁãDZnÝ:n®Ÿ5¯=1Æ’’‚óçÏ£££óçÏÇ–-[ ‰J¥‰‰‰ÈË˃P(T;žÏò¬ãÓß<>}FxúÕP ƒ\sÿþûïX´hQ¿cvíÚH$¤§§ÃÞÞÇŽësüüÇ#//’’‚{÷îáÈ‘#HNNFMM RRRtªÏÓÓ·nÝBKK €îpÏ;eee€¦¦&ÔÔÔÀÃÃCëúW¯^E||<Μ9^~J&“!;;³gÏî³–ââb¸»»síY³f!66åååËåZ×ùá‡PZZŠ 55\Ÿ>óš™™‰’’ÄÅÅáûᅦR©ÄÉ“'¹þ””H¥Rœóêàà€˜˜899ií···W›ã¿þúë™ûüÔ‹Íãm¹,Y¿~=~üñGH$466B¡P ²²Ríl(“É`aa‘H„††ÄÆÆêµE‹áСChllDcc#:Ôë:_ó¥*ÍöâÅ‹qìØ1Ìš5 @÷õî©S§°dɽjé)::µµµP*•xðàŽ?ÎÝ?ÐýjÉ‘#G°ÿ~­ÁGAAš››¡T*Q__£Gbúôéܘ%K– !!õõõhkkCRRקϼ¾÷Þ{ˆåê­©©ÁîÝ»¹þ·ß~IIIhjjBSSuž]ŽOFÚÚZÇë gnÄÅÅáĉ8}ú4d2ÜÝÝáççÇùì³Ï””„ÈÈHØÚÚB,«]ï=˺u뜜Œ   ÝÁ]»v­^u¾óÎ;8zô(¾™3gB¡Pèu4yzzb÷îݸÿ>lmmáááíÛ·sýß~û-€î@OçÏŸ‡¹¹9¸¸8ÈårØÙÙÁÃÃ_|ñ7V,£³³aaaÉdX·nקϼ®X±;wîD}}=Æ>úˆë_»v-ñá‡ÂÔÔ~~~¸~ýºNóð¢ÇÇßß!!!hoo7Ø•Æë¹ ##b±ø¥z=“ _ˆŒŒ„FŒ@2dÞ~'ÄÐ(Ü„·(Ü„·(Ü„·(Ü„·(Ü„·(Ü„·ú|§çÇU ª ¬ÕÆÍIEND®B`‚cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/user-font_8cc-example.html0000644000000000000000000000013113012573355023607 xustar0030 mtime=1479210733.169939771 30 atime=1479210733.165939773 29 ctime=1479210737.71393856 cairomm-1.12.2/docs/reference/html/user-font_8cc-example.html0000644000175000017500000004405513012573355025316 0ustar00murraycmurrayc00000000000000 cairomm: user-font.cc
user-font.cc

A relatively simple example of using Cairo::UserFontFace

#include <cairomm/cairomm.h>
#include <iostream>
#include <map>
const double HEIGHT = 200.0;
const double WIDTH = 400.0;
const double FONT_SIZE = 64.0;
const double TEXT_ORIGIN_Y = (HEIGHT / 2.0) + (FONT_SIZE / 2.0);
const double TEXT_ORIGIN_X = 50.0; // arbitrary
const double GLYPH_SPACING = 0.1;
struct GlyphBounds
{
unsigned long glyph;
double width;
double height;
};
// an array that stores the bounds of the glyphs that we're going to draw
static const GlyphBounds glyphs[] =
{
{ 'c', 0.45, 0.5 },
{ 'a', 0.45, 0.5 },
{ 'i', 0.2, 0.75 },
{ 'r', 0.4, 0.5 },
{ 'o', 0.44, 0.5 },
{ 'm', 0.75, 0.5 },
{ '!', 0.2, 0.75 }
};
// A *very* simple font that just draws a box for every glyph
class BoxFontFace : public Cairo::UserFontFace
{
public:
// Derived user font classes should have a factory method to create an object
// and return it with a RefPtr
{
return Cairo::RefPtr<BoxFontFace>(new BoxFontFace());
}
Cairo::ErrorStatus
init(const Cairo::RefPtr<Cairo::ScaledFont>& /*scaled_font*/,
Cairo::FontExtents &extents) override
{
double max = 0;
for (unsigned int i = 0; i < sizeof (glyphs) / sizeof (GlyphBounds); ++i) {
if (glyphs[i].width > max)
max = glyphs[i].width;
}
// add some spacing between characters
max += GLYPH_SPACING;
extents.max_x_advance = max;
return CAIRO_STATUS_SUCCESS;
}
Cairo::ErrorStatus
unsigned long unicode, unsigned long& glyph) override
{
glyph = 0;
// yes this is a stupid an ineffienct way to do this but we only have a few
// glyphs and this is just demonstration code
for (unsigned int i = 0; i < sizeof (glyphs) / sizeof (GlyphBounds); ++i) {
if (glyphs[i].glyph == unicode) {
// glyph 0 is often a special glyph-not-found value, so offset it by 1
glyph = i+1;
break;
}
}
return CAIRO_STATUS_SUCCESS;
}
Cairo::ErrorStatus
unsigned long glyph,
Cairo::TextExtents& metrics) override
{
// check that the glyph is in our table
if (glyph >= 1 && glyph <= sizeof(glyphs)/sizeof(GlyphBounds)) {
cr->set_line_width(0.05);
// Need a negative Y value since the text origin is at the bottom left point
// and cairo's positive Y axis is down and we want to draw up
cr->rectangle(0.0, 0.0, glyphs[glyph-1].width, -glyphs[glyph-1].height);
cr->stroke();
metrics.x_advance = glyphs[glyph-1].width + GLYPH_SPACING;
}
return CAIRO_STATUS_SUCCESS;
}
protected:
// FontFace is a ref-counted object, so the constructor should be protected so
// it is not created without a refptr to manage it. See the create() method
BoxFontFace() : UserFontFace() { }
};
int main(int, char**)
{
auto surface =
auto cr = Cairo::Context::create(surface);
// fill background in white
cr->set_source_rgb(1.0, 1.0, 1.0);
cr->paint();
// draw a little dot at the point where text will be drawn
cr->arc(TEXT_ORIGIN_X, TEXT_ORIGIN_Y, FONT_SIZE / 4.0, 0, 2*M_PI);
cr->set_source_rgba(0.0, 1.0, 0.0, 0.5);
cr->fill();
// draw the text
cr->move_to(TEXT_ORIGIN_X, TEXT_ORIGIN_Y);
cr->set_source_rgb(0.8, 0.2, 0.2);
auto font = BoxFontFace::create();
cr->set_font_face(font);
cr->set_font_size(FONT_SIZE);
cr->show_text("cairomm!");
// Now show it with the toy text API to demonstrate how the glyphs match up
cr->move_to(TEXT_ORIGIN_X, TEXT_ORIGIN_Y);
cr->set_source_rgba(0.2, 0.2, 0.2, 0.3);
auto toy_font =
Cairo::ToyFontFace::create("Bitstream Charter",
cr->set_font_face(toy_font);
cr->set_font_size(FONT_SIZE);
cr->show_text("cairomm!");
const char* filename = "user-font.png";
try {
surface->write_to_png(filename);
std::cout << "Wrote Image " << filename << std::endl;
return 0;
} catch (const std::exception& e)
{
std::cout << "** Unable to write Image " << filename << std::endl;
return 1;
}
}
cairomm-1.12.2/docs/reference/html/PaxHeaders.22062/jquery.js0000644000000000000000000000013213012573353020465 xustar0030 mtime=1479210731.909940118 30 atime=1479210731.909940118 30 ctime=1479210737.689938566 cairomm-1.12.2/docs/reference/html/jquery.js0000644000175000017500000043564213012573353022201 0ustar00murraycmurrayc00000000000000/*! * jQuery JavaScript Library v1.7.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * * Date: Mon Nov 21 21:11:03 2011 -0500 */ (function(bb,L){var av=bb.document,bu=bb.navigator,bl=bb.location;var b=(function(){var bF=function(b0,b1){return new bF.fn.init(b0,b1,bD)},bU=bb.jQuery,bH=bb.$,bD,bY=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,bM=/\S/,bI=/^\s+/,bE=/\s+$/,bA=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,bN=/^[\],:{}\s]*$/,bW=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,bP=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,bJ=/(?:^|:|,)(?:\s*\[)+/g,by=/(webkit)[ \/]([\w.]+)/,bR=/(opera)(?:.*version)?[ \/]([\w.]+)/,bQ=/(msie) ([\w.]+)/,bS=/(mozilla)(?:.*? rv:([\w.]+))?/,bB=/-([a-z]|[0-9])/ig,bZ=/^-ms-/,bT=function(b0,b1){return(b1+"").toUpperCase()},bX=bu.userAgent,bV,bC,e,bL=Object.prototype.toString,bG=Object.prototype.hasOwnProperty,bz=Array.prototype.push,bK=Array.prototype.slice,bO=String.prototype.trim,bv=Array.prototype.indexOf,bx={};bF.fn=bF.prototype={constructor:bF,init:function(b0,b4,b3){var b2,b5,b1,b6;if(!b0){return this}if(b0.nodeType){this.context=this[0]=b0;this.length=1;return this}if(b0==="body"&&!b4&&av.body){this.context=av;this[0]=av.body;this.selector=b0;this.length=1;return this}if(typeof b0==="string"){if(b0.charAt(0)==="<"&&b0.charAt(b0.length-1)===">"&&b0.length>=3){b2=[null,b0,null]}else{b2=bY.exec(b0)}if(b2&&(b2[1]||!b4)){if(b2[1]){b4=b4 instanceof bF?b4[0]:b4;b6=(b4?b4.ownerDocument||b4:av);b1=bA.exec(b0);if(b1){if(bF.isPlainObject(b4)){b0=[av.createElement(b1[1])];bF.fn.attr.call(b0,b4,true)}else{b0=[b6.createElement(b1[1])]}}else{b1=bF.buildFragment([b2[1]],[b6]);b0=(b1.cacheable?bF.clone(b1.fragment):b1.fragment).childNodes}return bF.merge(this,b0)}else{b5=av.getElementById(b2[2]);if(b5&&b5.parentNode){if(b5.id!==b2[2]){return b3.find(b0)}this.length=1;this[0]=b5}this.context=av;this.selector=b0;return this}}else{if(!b4||b4.jquery){return(b4||b3).find(b0)}else{return this.constructor(b4).find(b0)}}}else{if(bF.isFunction(b0)){return b3.ready(b0)}}if(b0.selector!==L){this.selector=b0.selector;this.context=b0.context}return bF.makeArray(b0,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return bK.call(this,0)},get:function(b0){return b0==null?this.toArray():(b0<0?this[this.length+b0]:this[b0])},pushStack:function(b1,b3,b0){var b2=this.constructor();if(bF.isArray(b1)){bz.apply(b2,b1)}else{bF.merge(b2,b1)}b2.prevObject=this;b2.context=this.context;if(b3==="find"){b2.selector=this.selector+(this.selector?" ":"")+b0}else{if(b3){b2.selector=this.selector+"."+b3+"("+b0+")"}}return b2},each:function(b1,b0){return bF.each(this,b1,b0)},ready:function(b0){bF.bindReady();bC.add(b0);return this},eq:function(b0){b0=+b0;return b0===-1?this.slice(b0):this.slice(b0,b0+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(bK.apply(this,arguments),"slice",bK.call(arguments).join(","))},map:function(b0){return this.pushStack(bF.map(this,function(b2,b1){return b0.call(b2,b1,b2)}))},end:function(){return this.prevObject||this.constructor(null)},push:bz,sort:[].sort,splice:[].splice};bF.fn.init.prototype=bF.fn;bF.extend=bF.fn.extend=function(){var b9,b2,b0,b1,b6,b7,b5=arguments[0]||{},b4=1,b3=arguments.length,b8=false;if(typeof b5==="boolean"){b8=b5;b5=arguments[1]||{};b4=2}if(typeof b5!=="object"&&!bF.isFunction(b5)){b5={}}if(b3===b4){b5=this;--b4}for(;b40){return}bC.fireWith(av,[bF]);if(bF.fn.trigger){bF(av).trigger("ready").off("ready")}}},bindReady:function(){if(bC){return}bC=bF.Callbacks("once memory");if(av.readyState==="complete"){return setTimeout(bF.ready,1)}if(av.addEventListener){av.addEventListener("DOMContentLoaded",e,false);bb.addEventListener("load",bF.ready,false)}else{if(av.attachEvent){av.attachEvent("onreadystatechange",e);bb.attachEvent("onload",bF.ready);var b0=false;try{b0=bb.frameElement==null}catch(b1){}if(av.documentElement.doScroll&&b0){bw()}}}},isFunction:function(b0){return bF.type(b0)==="function"},isArray:Array.isArray||function(b0){return bF.type(b0)==="array"},isWindow:function(b0){return b0&&typeof b0==="object"&&"setInterval" in b0},isNumeric:function(b0){return !isNaN(parseFloat(b0))&&isFinite(b0)},type:function(b0){return b0==null?String(b0):bx[bL.call(b0)]||"object"},isPlainObject:function(b2){if(!b2||bF.type(b2)!=="object"||b2.nodeType||bF.isWindow(b2)){return false}try{if(b2.constructor&&!bG.call(b2,"constructor")&&!bG.call(b2.constructor.prototype,"isPrototypeOf")){return false}}catch(b1){return false}var b0;for(b0 in b2){}return b0===L||bG.call(b2,b0)},isEmptyObject:function(b1){for(var b0 in b1){return false}return true},error:function(b0){throw new Error(b0)},parseJSON:function(b0){if(typeof b0!=="string"||!b0){return null}b0=bF.trim(b0);if(bb.JSON&&bb.JSON.parse){return bb.JSON.parse(b0)}if(bN.test(b0.replace(bW,"@").replace(bP,"]").replace(bJ,""))){return(new Function("return "+b0))()}bF.error("Invalid JSON: "+b0)},parseXML:function(b2){var b0,b1;try{if(bb.DOMParser){b1=new DOMParser();b0=b1.parseFromString(b2,"text/xml")}else{b0=new ActiveXObject("Microsoft.XMLDOM");b0.async="false";b0.loadXML(b2)}}catch(b3){b0=L}if(!b0||!b0.documentElement||b0.getElementsByTagName("parsererror").length){bF.error("Invalid XML: "+b2)}return b0},noop:function(){},globalEval:function(b0){if(b0&&bM.test(b0)){(bb.execScript||function(b1){bb["eval"].call(bb,b1)})(b0)}},camelCase:function(b0){return b0.replace(bZ,"ms-").replace(bB,bT)},nodeName:function(b1,b0){return b1.nodeName&&b1.nodeName.toUpperCase()===b0.toUpperCase()},each:function(b3,b6,b2){var b1,b4=0,b5=b3.length,b0=b5===L||bF.isFunction(b3);if(b2){if(b0){for(b1 in b3){if(b6.apply(b3[b1],b2)===false){break}}}else{for(;b40&&b0[0]&&b0[b1-1])||b1===0||bF.isArray(b0));if(b3){for(;b21?aJ.call(arguments,0):bG;if(!(--bw)){bC.resolveWith(bC,bx)}}}function bz(bF){return function(bG){bB[bF]=arguments.length>1?aJ.call(arguments,0):bG;bC.notifyWith(bE,bB)}}if(e>1){for(;bv
a";bI=bv.getElementsByTagName("*");bF=bv.getElementsByTagName("a")[0];if(!bI||!bI.length||!bF){return{}}bG=av.createElement("select");bx=bG.appendChild(av.createElement("option"));bE=bv.getElementsByTagName("input")[0];bJ={leadingWhitespace:(bv.firstChild.nodeType===3),tbody:!bv.getElementsByTagName("tbody").length,htmlSerialize:!!bv.getElementsByTagName("link").length,style:/top/.test(bF.getAttribute("style")),hrefNormalized:(bF.getAttribute("href")==="/a"),opacity:/^0.55/.test(bF.style.opacity),cssFloat:!!bF.style.cssFloat,checkOn:(bE.value==="on"),optSelected:bx.selected,getSetAttribute:bv.className!=="t",enctype:!!av.createElement("form").enctype,html5Clone:av.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};bE.checked=true;bJ.noCloneChecked=bE.cloneNode(true).checked;bG.disabled=true;bJ.optDisabled=!bx.disabled;try{delete bv.test}catch(bC){bJ.deleteExpando=false}if(!bv.addEventListener&&bv.attachEvent&&bv.fireEvent){bv.attachEvent("onclick",function(){bJ.noCloneEvent=false});bv.cloneNode(true).fireEvent("onclick")}bE=av.createElement("input");bE.value="t";bE.setAttribute("type","radio");bJ.radioValue=bE.value==="t";bE.setAttribute("checked","checked");bv.appendChild(bE);bD=av.createDocumentFragment();bD.appendChild(bv.lastChild);bJ.checkClone=bD.cloneNode(true).cloneNode(true).lastChild.checked;bJ.appendChecked=bE.checked;bD.removeChild(bE);bD.appendChild(bv);bv.innerHTML="";if(bb.getComputedStyle){bA=av.createElement("div");bA.style.width="0";bA.style.marginRight="0";bv.style.width="2px";bv.appendChild(bA);bJ.reliableMarginRight=(parseInt((bb.getComputedStyle(bA,null)||{marginRight:0}).marginRight,10)||0)===0}if(bv.attachEvent){for(by in {submit:1,change:1,focusin:1}){bB="on"+by;bw=(bB in bv);if(!bw){bv.setAttribute(bB,"return;");bw=(typeof bv[bB]==="function")}bJ[by+"Bubbles"]=bw}}bD.removeChild(bv);bD=bG=bx=bA=bv=bE=null;b(function(){var bM,bU,bV,bT,bN,bO,bL,bS,bR,e,bP,bQ=av.getElementsByTagName("body")[0];if(!bQ){return}bL=1;bS="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;";bR="visibility:hidden;border:0;";e="style='"+bS+"border:5px solid #000;padding:0;'";bP="
";bM=av.createElement("div");bM.style.cssText=bR+"width:0;height:0;position:static;top:0;margin-top:"+bL+"px";bQ.insertBefore(bM,bQ.firstChild);bv=av.createElement("div");bM.appendChild(bv);bv.innerHTML="
t
";bz=bv.getElementsByTagName("td");bw=(bz[0].offsetHeight===0);bz[0].style.display="";bz[1].style.display="none";bJ.reliableHiddenOffsets=bw&&(bz[0].offsetHeight===0);bv.innerHTML="";bv.style.width=bv.style.paddingLeft="1px";b.boxModel=bJ.boxModel=bv.offsetWidth===2;if(typeof bv.style.zoom!=="undefined"){bv.style.display="inline";bv.style.zoom=1;bJ.inlineBlockNeedsLayout=(bv.offsetWidth===2);bv.style.display="";bv.innerHTML="
";bJ.shrinkWrapBlocks=(bv.offsetWidth!==2)}bv.style.cssText=bS+bR;bv.innerHTML=bP;bU=bv.firstChild;bV=bU.firstChild;bN=bU.nextSibling.firstChild.firstChild;bO={doesNotAddBorder:(bV.offsetTop!==5),doesAddBorderForTableAndCells:(bN.offsetTop===5)};bV.style.position="fixed";bV.style.top="20px";bO.fixedPosition=(bV.offsetTop===20||bV.offsetTop===15);bV.style.position=bV.style.top="";bU.style.overflow="hidden";bU.style.position="relative";bO.subtractsBorderForOverflowNotVisible=(bV.offsetTop===-5);bO.doesNotIncludeMarginInBodyOffset=(bQ.offsetTop!==bL);bQ.removeChild(bM);bv=bM=null;b.extend(bJ,bO)});return bJ})();var aS=/^(?:\{.*\}|\[.*\])$/,aA=/([A-Z])/g;b.extend({cache:{},uuid:0,expando:"jQuery"+(b.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?b.cache[e[b.expando]]:e[b.expando];return !!e&&!S(e)},data:function(bx,bv,bz,by){if(!b.acceptData(bx)){return}var bG,bA,bD,bE=b.expando,bC=typeof bv==="string",bF=bx.nodeType,e=bF?b.cache:bx,bw=bF?bx[bE]:bx[bE]&&bE,bB=bv==="events";if((!bw||!e[bw]||(!bB&&!by&&!e[bw].data))&&bC&&bz===L){return}if(!bw){if(bF){bx[bE]=bw=++b.uuid}else{bw=bE}}if(!e[bw]){e[bw]={};if(!bF){e[bw].toJSON=b.noop}}if(typeof bv==="object"||typeof bv==="function"){if(by){e[bw]=b.extend(e[bw],bv)}else{e[bw].data=b.extend(e[bw].data,bv)}}bG=bA=e[bw];if(!by){if(!bA.data){bA.data={}}bA=bA.data}if(bz!==L){bA[b.camelCase(bv)]=bz}if(bB&&!bA[bv]){return bG.events}if(bC){bD=bA[bv];if(bD==null){bD=bA[b.camelCase(bv)]}}else{bD=bA}return bD},removeData:function(bx,bv,by){if(!b.acceptData(bx)){return}var bB,bA,bz,bC=b.expando,bD=bx.nodeType,e=bD?b.cache:bx,bw=bD?bx[bC]:bC;if(!e[bw]){return}if(bv){bB=by?e[bw]:e[bw].data;if(bB){if(!b.isArray(bv)){if(bv in bB){bv=[bv]}else{bv=b.camelCase(bv);if(bv in bB){bv=[bv]}else{bv=bv.split(" ")}}}for(bA=0,bz=bv.length;bA-1){return true}}return false},val:function(bx){var e,bv,by,bw=this[0];if(!arguments.length){if(bw){e=b.valHooks[bw.nodeName.toLowerCase()]||b.valHooks[bw.type];if(e&&"get" in e&&(bv=e.get(bw,"value"))!==L){return bv}bv=bw.value;return typeof bv==="string"?bv.replace(aU,""):bv==null?"":bv}return}by=b.isFunction(bx);return this.each(function(bA){var bz=b(this),bB;if(this.nodeType!==1){return}if(by){bB=bx.call(this,bA,bz.val())}else{bB=bx}if(bB==null){bB=""}else{if(typeof bB==="number"){bB+=""}else{if(b.isArray(bB)){bB=b.map(bB,function(bC){return bC==null?"":bC+""})}}}e=b.valHooks[this.nodeName.toLowerCase()]||b.valHooks[this.type];if(!e||!("set" in e)||e.set(this,bB,"value")===L){this.value=bB}})}});b.extend({valHooks:{option:{get:function(e){var bv=e.attributes.value;return !bv||bv.specified?e.value:e.text}},select:{get:function(e){var bA,bv,bz,bx,by=e.selectedIndex,bB=[],bC=e.options,bw=e.type==="select-one";if(by<0){return null}bv=bw?by:0;bz=bw?by+1:bC.length;for(;bv=0});if(!e.length){bv.selectedIndex=-1}return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(bA,bx,bB,bz){var bw,e,by,bv=bA.nodeType;if(!bA||bv===3||bv===8||bv===2){return}if(bz&&bx in b.attrFn){return b(bA)[bx](bB)}if(typeof bA.getAttribute==="undefined"){return b.prop(bA,bx,bB)}by=bv!==1||!b.isXMLDoc(bA);if(by){bx=bx.toLowerCase();e=b.attrHooks[bx]||(ao.test(bx)?aY:be)}if(bB!==L){if(bB===null){b.removeAttr(bA,bx);return}else{if(e&&"set" in e&&by&&(bw=e.set(bA,bB,bx))!==L){return bw}else{bA.setAttribute(bx,""+bB);return bB}}}else{if(e&&"get" in e&&by&&(bw=e.get(bA,bx))!==null){return bw}else{bw=bA.getAttribute(bx);return bw===null?L:bw}}},removeAttr:function(bx,bz){var by,bA,bv,e,bw=0;if(bz&&bx.nodeType===1){bA=bz.toLowerCase().split(af);e=bA.length;for(;bw=0)}}})});var bd=/^(?:textarea|input|select)$/i,n=/^([^\.]*)?(?:\.(.+))?$/,J=/\bhover(\.\S+)?\b/,aO=/^key/,bf=/^(?:mouse|contextmenu)|click/,T=/^(?:focusinfocus|focusoutblur)$/,U=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,Y=function(e){var bv=U.exec(e);if(bv){bv[1]=(bv[1]||"").toLowerCase();bv[3]=bv[3]&&new RegExp("(?:^|\\s)"+bv[3]+"(?:\\s|$)")}return bv},j=function(bw,e){var bv=bw.attributes||{};return((!e[1]||bw.nodeName.toLowerCase()===e[1])&&(!e[2]||(bv.id||{}).value===e[2])&&(!e[3]||e[3].test((bv["class"]||{}).value)))},bt=function(e){return b.event.special.hover?e:e.replace(J,"mouseenter$1 mouseleave$1")};b.event={add:function(bx,bC,bJ,bA,by){var bD,bB,bK,bI,bH,bF,e,bG,bv,bz,bw,bE;if(bx.nodeType===3||bx.nodeType===8||!bC||!bJ||!(bD=b._data(bx))){return}if(bJ.handler){bv=bJ;bJ=bv.handler}if(!bJ.guid){bJ.guid=b.guid++}bK=bD.events;if(!bK){bD.events=bK={}}bB=bD.handle;if(!bB){bD.handle=bB=function(bL){return typeof b!=="undefined"&&(!bL||b.event.triggered!==bL.type)?b.event.dispatch.apply(bB.elem,arguments):L};bB.elem=bx}bC=b.trim(bt(bC)).split(" ");for(bI=0;bI=0){bG=bG.slice(0,-1);bw=true}if(bG.indexOf(".")>=0){bx=bG.split(".");bG=bx.shift();bx.sort()}if((!bA||b.event.customEvent[bG])&&!b.event.global[bG]){return}bv=typeof bv==="object"?bv[b.expando]?bv:new b.Event(bG,bv):new b.Event(bG);bv.type=bG;bv.isTrigger=true;bv.exclusive=bw;bv.namespace=bx.join(".");bv.namespace_re=bv.namespace?new RegExp("(^|\\.)"+bx.join("\\.(?:.*\\.)?")+"(\\.|$)"):null;by=bG.indexOf(":")<0?"on"+bG:"";if(!bA){e=b.cache;for(bC in e){if(e[bC].events&&e[bC].events[bG]){b.event.trigger(bv,bD,e[bC].handle.elem,true)}}return}bv.result=L;if(!bv.target){bv.target=bA}bD=bD!=null?b.makeArray(bD):[];bD.unshift(bv);bF=b.event.special[bG]||{};if(bF.trigger&&bF.trigger.apply(bA,bD)===false){return}bB=[[bA,bF.bindType||bG]];if(!bJ&&!bF.noBubble&&!b.isWindow(bA)){bI=bF.delegateType||bG;bH=T.test(bI+bG)?bA:bA.parentNode;bz=null;for(;bH;bH=bH.parentNode){bB.push([bH,bI]);bz=bH}if(bz&&bz===bA.ownerDocument){bB.push([bz.defaultView||bz.parentWindow||bb,bI])}}for(bC=0;bCbA){bH.push({elem:this,matches:bz.slice(bA)})}for(bC=0;bC0?this.on(e,null,bx,bw):this.trigger(e)};if(b.attrFn){b.attrFn[e]=true}if(aO.test(e)){b.event.fixHooks[e]=b.event.keyHooks}if(bf.test(e)){b.event.fixHooks[e]=b.event.mouseHooks}}); /*! * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){var bH=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,bC="sizcache"+(Math.random()+"").replace(".",""),bI=0,bL=Object.prototype.toString,bB=false,bA=true,bK=/\\/g,bO=/\r\n/g,bQ=/\W/;[0,0].sort(function(){bA=false;return 0});var by=function(bV,e,bY,bZ){bY=bY||[];e=e||av;var b1=e;if(e.nodeType!==1&&e.nodeType!==9){return[]}if(!bV||typeof bV!=="string"){return bY}var bS,b3,b6,bR,b2,b5,b4,bX,bU=true,bT=by.isXML(e),bW=[],b0=bV;do{bH.exec("");bS=bH.exec(b0);if(bS){b0=bS[3];bW.push(bS[1]);if(bS[2]){bR=bS[3];break}}}while(bS);if(bW.length>1&&bD.exec(bV)){if(bW.length===2&&bE.relative[bW[0]]){b3=bM(bW[0]+bW[1],e,bZ)}else{b3=bE.relative[bW[0]]?[e]:by(bW.shift(),e);while(bW.length){bV=bW.shift();if(bE.relative[bV]){bV+=bW.shift()}b3=bM(bV,b3,bZ)}}}else{if(!bZ&&bW.length>1&&e.nodeType===9&&!bT&&bE.match.ID.test(bW[0])&&!bE.match.ID.test(bW[bW.length-1])){b2=by.find(bW.shift(),e,bT);e=b2.expr?by.filter(b2.expr,b2.set)[0]:b2.set[0]}if(e){b2=bZ?{expr:bW.pop(),set:bF(bZ)}:by.find(bW.pop(),bW.length===1&&(bW[0]==="~"||bW[0]==="+")&&e.parentNode?e.parentNode:e,bT);b3=b2.expr?by.filter(b2.expr,b2.set):b2.set;if(bW.length>0){b6=bF(b3)}else{bU=false}while(bW.length){b5=bW.pop();b4=b5;if(!bE.relative[b5]){b5=""}else{b4=bW.pop()}if(b4==null){b4=e}bE.relative[b5](b6,b4,bT)}}else{b6=bW=[]}}if(!b6){b6=b3}if(!b6){by.error(b5||bV)}if(bL.call(b6)==="[object Array]"){if(!bU){bY.push.apply(bY,b6)}else{if(e&&e.nodeType===1){for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&(b6[bX]===true||b6[bX].nodeType===1&&by.contains(e,b6[bX]))){bY.push(b3[bX])}}}else{for(bX=0;b6[bX]!=null;bX++){if(b6[bX]&&b6[bX].nodeType===1){bY.push(b3[bX])}}}}}else{bF(b6,bY)}if(bR){by(bR,b1,bY,bZ);by.uniqueSort(bY)}return bY};by.uniqueSort=function(bR){if(bJ){bB=bA;bR.sort(bJ);if(bB){for(var e=1;e0};by.find=function(bX,e,bY){var bW,bS,bU,bT,bV,bR;if(!bX){return[]}for(bS=0,bU=bE.order.length;bS":function(bW,bR){var bV,bU=typeof bR==="string",bS=0,e=bW.length;if(bU&&!bQ.test(bR)){bR=bR.toLowerCase();for(;bS=0)){if(!bS){e.push(bV)}}else{if(bS){bR[bU]=false}}}}return false},ID:function(e){return e[1].replace(bK,"")},TAG:function(bR,e){return bR[1].replace(bK,"").toLowerCase()},CHILD:function(e){if(e[1]==="nth"){if(!e[2]){by.error(e[0])}e[2]=e[2].replace(/^\+|\s*/g,"");var bR=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(e[2]==="even"&&"2n"||e[2]==="odd"&&"2n+1"||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=(bR[1]+(bR[2]||1))-0;e[3]=bR[3]-0}else{if(e[2]){by.error(e[0])}}e[0]=bI++;return e},ATTR:function(bU,bR,bS,e,bV,bW){var bT=bU[1]=bU[1].replace(bK,"");if(!bW&&bE.attrMap[bT]){bU[1]=bE.attrMap[bT]}bU[4]=(bU[4]||bU[5]||"").replace(bK,"");if(bU[2]==="~="){bU[4]=" "+bU[4]+" "}return bU},PSEUDO:function(bU,bR,bS,e,bV){if(bU[1]==="not"){if((bH.exec(bU[3])||"").length>1||/^\w/.test(bU[3])){bU[3]=by(bU[3],null,null,bR)}else{var bT=by.filter(bU[3],bR,bS,true^bV);if(!bS){e.push.apply(e,bT)}return false}}else{if(bE.match.POS.test(bU[0])||bE.match.CHILD.test(bU[0])){return true}}return bU},POS:function(e){e.unshift(true);return e}},filters:{enabled:function(e){return e.disabled===false&&e.type!=="hidden"},disabled:function(e){return e.disabled===true},checked:function(e){return e.checked===true},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !!e.firstChild},empty:function(e){return !e.firstChild},has:function(bS,bR,e){return !!by(e[3],bS).length},header:function(e){return(/h\d/i).test(e.nodeName)},text:function(bS){var e=bS.getAttribute("type"),bR=bS.type;return bS.nodeName.toLowerCase()==="input"&&"text"===bR&&(e===bR||e===null)},radio:function(e){return e.nodeName.toLowerCase()==="input"&&"radio"===e.type},checkbox:function(e){return e.nodeName.toLowerCase()==="input"&&"checkbox"===e.type},file:function(e){return e.nodeName.toLowerCase()==="input"&&"file"===e.type},password:function(e){return e.nodeName.toLowerCase()==="input"&&"password"===e.type},submit:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"submit"===bR.type},image:function(e){return e.nodeName.toLowerCase()==="input"&&"image"===e.type},reset:function(bR){var e=bR.nodeName.toLowerCase();return(e==="input"||e==="button")&&"reset"===bR.type},button:function(bR){var e=bR.nodeName.toLowerCase();return e==="input"&&"button"===bR.type||e==="button"},input:function(e){return(/input|select|textarea|button/i).test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(bR,e){return e===0},last:function(bS,bR,e,bT){return bR===bT.length-1},even:function(bR,e){return e%2===0},odd:function(bR,e){return e%2===1},lt:function(bS,bR,e){return bRe[3]-0},nth:function(bS,bR,e){return e[3]-0===bR},eq:function(bS,bR,e){return e[3]-0===bR}},filter:{PSEUDO:function(bS,bX,bW,bY){var e=bX[1],bR=bE.filters[e];if(bR){return bR(bS,bW,bX,bY)}else{if(e==="contains"){return(bS.textContent||bS.innerText||bw([bS])||"").indexOf(bX[3])>=0}else{if(e==="not"){var bT=bX[3];for(var bV=0,bU=bT.length;bV=0)}}},ID:function(bR,e){return bR.nodeType===1&&bR.getAttribute("id")===e},TAG:function(bR,e){return(e==="*"&&bR.nodeType===1)||!!bR.nodeName&&bR.nodeName.toLowerCase()===e},CLASS:function(bR,e){return(" "+(bR.className||bR.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(bV,bT){var bS=bT[1],e=by.attr?by.attr(bV,bS):bE.attrHandle[bS]?bE.attrHandle[bS](bV):bV[bS]!=null?bV[bS]:bV.getAttribute(bS),bW=e+"",bU=bT[2],bR=bT[4];return e==null?bU==="!=":!bU&&by.attr?e!=null:bU==="="?bW===bR:bU==="*="?bW.indexOf(bR)>=0:bU==="~="?(" "+bW+" ").indexOf(bR)>=0:!bR?bW&&e!==false:bU==="!="?bW!==bR:bU==="^="?bW.indexOf(bR)===0:bU==="$="?bW.substr(bW.length-bR.length)===bR:bU==="|="?bW===bR||bW.substr(0,bR.length+1)===bR+"-":false},POS:function(bU,bR,bS,bV){var e=bR[2],bT=bE.setFilters[e];if(bT){return bT(bU,bS,bR,bV)}}}};var bD=bE.match.POS,bx=function(bR,e){return"\\"+(e-0+1)};for(var bz in bE.match){bE.match[bz]=new RegExp(bE.match[bz].source+(/(?![^\[]*\])(?![^\(]*\))/.source));bE.leftMatch[bz]=new RegExp(/(^(?:.|\r|\n)*?)/.source+bE.match[bz].source.replace(/\\(\d+)/g,bx))}var bF=function(bR,e){bR=Array.prototype.slice.call(bR,0);if(e){e.push.apply(e,bR);return e}return bR};try{Array.prototype.slice.call(av.documentElement.childNodes,0)[0].nodeType}catch(bP){bF=function(bU,bT){var bS=0,bR=bT||[];if(bL.call(bU)==="[object Array]"){Array.prototype.push.apply(bR,bU)}else{if(typeof bU.length==="number"){for(var e=bU.length;bS";e.insertBefore(bR,e.firstChild);if(av.getElementById(bS)){bE.find.ID=function(bU,bV,bW){if(typeof bV.getElementById!=="undefined"&&!bW){var bT=bV.getElementById(bU[1]);return bT?bT.id===bU[1]||typeof bT.getAttributeNode!=="undefined"&&bT.getAttributeNode("id").nodeValue===bU[1]?[bT]:L:[]}};bE.filter.ID=function(bV,bT){var bU=typeof bV.getAttributeNode!=="undefined"&&bV.getAttributeNode("id");return bV.nodeType===1&&bU&&bU.nodeValue===bT}}e.removeChild(bR);e=bR=null})();(function(){var e=av.createElement("div");e.appendChild(av.createComment(""));if(e.getElementsByTagName("*").length>0){bE.find.TAG=function(bR,bV){var bU=bV.getElementsByTagName(bR[1]);if(bR[1]==="*"){var bT=[];for(var bS=0;bU[bS];bS++){if(bU[bS].nodeType===1){bT.push(bU[bS])}}bU=bT}return bU}}e.innerHTML="";if(e.firstChild&&typeof e.firstChild.getAttribute!=="undefined"&&e.firstChild.getAttribute("href")!=="#"){bE.attrHandle.href=function(bR){return bR.getAttribute("href",2)}}e=null})();if(av.querySelectorAll){(function(){var e=by,bT=av.createElement("div"),bS="__sizzle__";bT.innerHTML="

";if(bT.querySelectorAll&&bT.querySelectorAll(".TEST").length===0){return}by=function(b4,bV,bZ,b3){bV=bV||av;if(!b3&&!by.isXML(bV)){var b2=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b4);if(b2&&(bV.nodeType===1||bV.nodeType===9)){if(b2[1]){return bF(bV.getElementsByTagName(b4),bZ)}else{if(b2[2]&&bE.find.CLASS&&bV.getElementsByClassName){return bF(bV.getElementsByClassName(b2[2]),bZ)}}}if(bV.nodeType===9){if(b4==="body"&&bV.body){return bF([bV.body],bZ)}else{if(b2&&b2[3]){var bY=bV.getElementById(b2[3]);if(bY&&bY.parentNode){if(bY.id===b2[3]){return bF([bY],bZ)}}else{return bF([],bZ)}}}try{return bF(bV.querySelectorAll(b4),bZ)}catch(b0){}}else{if(bV.nodeType===1&&bV.nodeName.toLowerCase()!=="object"){var bW=bV,bX=bV.getAttribute("id"),bU=bX||bS,b6=bV.parentNode,b5=/^\s*[+~]/.test(b4);if(!bX){bV.setAttribute("id",bU)}else{bU=bU.replace(/'/g,"\\$&")}if(b5&&b6){bV=bV.parentNode}try{if(!b5||b6){return bF(bV.querySelectorAll("[id='"+bU+"'] "+b4),bZ)}}catch(b1){}finally{if(!bX){bW.removeAttribute("id")}}}}}return e(b4,bV,bZ,b3)};for(var bR in e){by[bR]=e[bR]}bT=null})()}(function(){var e=av.documentElement,bS=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(bS){var bU=!bS.call(av.createElement("div"),"div"),bR=false;try{bS.call(av.documentElement,"[test!='']:sizzle")}catch(bT){bR=true}by.matchesSelector=function(bW,bY){bY=bY.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!by.isXML(bW)){try{if(bR||!bE.match.PSEUDO.test(bY)&&!/!=/.test(bY)){var bV=bS.call(bW,bY);if(bV||!bU||bW.document&&bW.document.nodeType!==11){return bV}}}catch(bX){}}return by(bY,null,null,[bW]).length>0}}})();(function(){var e=av.createElement("div");e.innerHTML="
";if(!e.getElementsByClassName||e.getElementsByClassName("e").length===0){return}e.lastChild.className="e";if(e.getElementsByClassName("e").length===1){return}bE.order.splice(1,0,"CLASS");bE.find.CLASS=function(bR,bS,bT){if(typeof bS.getElementsByClassName!=="undefined"&&!bT){return bS.getElementsByClassName(bR[1])}};e=null})();function bv(bR,bW,bV,bZ,bX,bY){for(var bT=0,bS=bZ.length;bT0){bU=e;break}}}e=e[bR]}bZ[bT]=bU}}}if(av.documentElement.contains){by.contains=function(bR,e){return bR!==e&&(bR.contains?bR.contains(e):true)}}else{if(av.documentElement.compareDocumentPosition){by.contains=function(bR,e){return !!(bR.compareDocumentPosition(e)&16)}}else{by.contains=function(){return false}}}by.isXML=function(e){var bR=(e?e.ownerDocument||e:0).documentElement;return bR?bR.nodeName!=="HTML":false};var bM=function(bS,e,bW){var bV,bX=[],bU="",bY=e.nodeType?[e]:e;while((bV=bE.match.PSEUDO.exec(bS))){bU+=bV[0];bS=bS.replace(bE.match.PSEUDO,"")}bS=bE.relative[bS]?bS+"*":bS;for(var bT=0,bR=bY.length;bT0){for(bB=bA;bB=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(by,bx){var bv=[],bw,e,bz=this[0];if(b.isArray(by)){var bB=1;while(bz&&bz.ownerDocument&&bz!==bx){for(bw=0;bw-1:b.find.matchesSelector(bz,by)){bv.push(bz);break}else{bz=bz.parentNode;if(!bz||!bz.ownerDocument||bz===bx||bz.nodeType===11){break}}}}bv=bv.length>1?b.unique(bv):bv;return this.pushStack(bv,"closest",by)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return b.inArray(this[0],b(e))}return b.inArray(e.jquery?e[0]:e,this)},add:function(e,bv){var bx=typeof e==="string"?b(e,bv):b.makeArray(e&&e.nodeType?[e]:e),bw=b.merge(this.get(),bx);return this.pushStack(C(bx[0])||C(bw[0])?bw:b.unique(bw))},andSelf:function(){return this.add(this.prevObject)}});function C(e){return !e||!e.parentNode||e.parentNode.nodeType===11}b.each({parent:function(bv){var e=bv.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(bv,e,bw){return b.dir(bv,"parentNode",bw)},next:function(e){return b.nth(e,2,"nextSibling")},prev:function(e){return b.nth(e,2,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(bv,e,bw){return b.dir(bv,"nextSibling",bw)},prevUntil:function(bv,e,bw){return b.dir(bv,"previousSibling",bw)},siblings:function(e){return b.sibling(e.parentNode.firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.makeArray(e.childNodes)}},function(e,bv){b.fn[e]=function(by,bw){var bx=b.map(this,bv,by);if(!ab.test(e)){bw=by}if(bw&&typeof bw==="string"){bx=b.filter(bw,bx)}bx=this.length>1&&!ay[e]?b.unique(bx):bx;if((this.length>1||a9.test(bw))&&aq.test(e)){bx=bx.reverse()}return this.pushStack(bx,e,P.call(arguments).join(","))}});b.extend({filter:function(bw,e,bv){if(bv){bw=":not("+bw+")"}return e.length===1?b.find.matchesSelector(e[0],bw)?[e[0]]:[]:b.find.matches(bw,e)},dir:function(bw,bv,by){var e=[],bx=bw[bv];while(bx&&bx.nodeType!==9&&(by===L||bx.nodeType!==1||!b(bx).is(by))){if(bx.nodeType===1){e.push(bx)}bx=bx[bv]}return e},nth:function(by,e,bw,bx){e=e||1;var bv=0;for(;by;by=by[bw]){if(by.nodeType===1&&++bv===e){break}}return by},sibling:function(bw,bv){var e=[];for(;bw;bw=bw.nextSibling){if(bw.nodeType===1&&bw!==bv){e.push(bw)}}return e}});function aG(bx,bw,e){bw=bw||0;if(b.isFunction(bw)){return b.grep(bx,function(bz,by){var bA=!!bw.call(bz,by,bz);return bA===e})}else{if(bw.nodeType){return b.grep(bx,function(bz,by){return(bz===bw)===e})}else{if(typeof bw==="string"){var bv=b.grep(bx,function(by){return by.nodeType===1});if(bp.test(bw)){return b.filter(bw,bv,!e)}else{bw=b.filter(bw,bv)}}}}return b.grep(bx,function(bz,by){return(b.inArray(bz,bw)>=0)===e})}function a(e){var bw=aR.split("|"),bv=e.createDocumentFragment();if(bv.createElement){while(bw.length){bv.createElement(bw.pop())}}return bv}var aR="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ag=/ jQuery\d+="(?:\d+|null)"/g,ar=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,d=/<([\w:]+)/,w=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},ac=a(av);ax.optgroup=ax.option;ax.tbody=ax.tfoot=ax.colgroup=ax.caption=ax.thead;ax.th=ax.td;if(!b.support.htmlSerialize){ax._default=[1,"div
","
"]}b.fn.extend({text:function(e){if(b.isFunction(e)){return this.each(function(bw){var bv=b(this);bv.text(e.call(this,bw,bv.text()))})}if(typeof e!=="object"&&e!==L){return this.empty().append((this[0]&&this[0].ownerDocument||av).createTextNode(e))}return b.text(this)},wrapAll:function(e){if(b.isFunction(e)){return this.each(function(bw){b(this).wrapAll(e.call(this,bw))})}if(this[0]){var bv=b(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){bv.insertBefore(this[0])}bv.map(function(){var bw=this;while(bw.firstChild&&bw.firstChild.nodeType===1){bw=bw.firstChild}return bw}).append(this)}return this},wrapInner:function(e){if(b.isFunction(e)){return this.each(function(bv){b(this).wrapInner(e.call(this,bv))})}return this.each(function(){var bv=b(this),bw=bv.contents();if(bw.length){bw.wrapAll(e)}else{bv.append(e)}})},wrap:function(e){var bv=b.isFunction(e);return this.each(function(bw){b(this).wrapAll(bv?e.call(this,bw):e)})},unwrap:function(){return this.parent().each(function(){if(!b.nodeName(this,"body")){b(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1){this.insertBefore(e,this.firstChild)}})},before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this)})}else{if(arguments.length){var e=b.clean(arguments);e.push.apply(e,this.toArray());return this.pushStack(e,"before",arguments)}}},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,false,function(bv){this.parentNode.insertBefore(bv,this.nextSibling)})}else{if(arguments.length){var e=this.pushStack(this,"after",arguments);e.push.apply(e,b.clean(arguments));return e}}},remove:function(e,bx){for(var bv=0,bw;(bw=this[bv])!=null;bv++){if(!e||b.filter(e,[bw]).length){if(!bx&&bw.nodeType===1){b.cleanData(bw.getElementsByTagName("*"));b.cleanData([bw])}if(bw.parentNode){bw.parentNode.removeChild(bw)}}}return this},empty:function(){for(var e=0,bv;(bv=this[e])!=null;e++){if(bv.nodeType===1){b.cleanData(bv.getElementsByTagName("*"))}while(bv.firstChild){bv.removeChild(bv.firstChild)}}return this},clone:function(bv,e){bv=bv==null?false:bv;e=e==null?bv:e;return this.map(function(){return b.clone(this,bv,e)})},html:function(bx){if(bx===L){return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(ag,""):null}else{if(typeof bx==="string"&&!ae.test(bx)&&(b.support.leadingWhitespace||!ar.test(bx))&&!ax[(d.exec(bx)||["",""])[1].toLowerCase()]){bx=bx.replace(R,"<$1>");try{for(var bw=0,bv=this.length;bw1&&bw0?this.clone(true):this).get();b(bC[bA])[bv](by);bz=bz.concat(by)}return this.pushStack(bz,e,bC.selector)}}});function bg(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function az(e){if(e.type==="checkbox"||e.type==="radio"){e.defaultChecked=e.checked}}function E(e){var bv=(e.nodeName||"").toLowerCase();if(bv==="input"){az(e)}else{if(bv!=="script"&&typeof e.getElementsByTagName!=="undefined"){b.grep(e.getElementsByTagName("input"),az)}}}function al(e){var bv=av.createElement("div");ac.appendChild(bv);bv.innerHTML=e.outerHTML;return bv.firstChild}b.extend({clone:function(by,bA,bw){var e,bv,bx,bz=b.support.html5Clone||!ah.test("<"+by.nodeName)?by.cloneNode(true):al(by);if((!b.support.noCloneEvent||!b.support.noCloneChecked)&&(by.nodeType===1||by.nodeType===11)&&!b.isXMLDoc(by)){ai(by,bz);e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){if(bv[bx]){ai(e[bx],bv[bx])}}}if(bA){t(by,bz);if(bw){e=bg(by);bv=bg(bz);for(bx=0;e[bx];++bx){t(e[bx],bv[bx])}}}e=bv=null;return bz},clean:function(bw,by,bH,bA){var bF;by=by||av;if(typeof by.createElement==="undefined"){by=by.ownerDocument||by[0]&&by[0].ownerDocument||av}var bI=[],bB;for(var bE=0,bz;(bz=bw[bE])!=null;bE++){if(typeof bz==="number"){bz+=""}if(!bz){continue}if(typeof bz==="string"){if(!W.test(bz)){bz=by.createTextNode(bz)}else{bz=bz.replace(R,"<$1>");var bK=(d.exec(bz)||["",""])[1].toLowerCase(),bx=ax[bK]||ax._default,bD=bx[0],bv=by.createElement("div");if(by===av){ac.appendChild(bv)}else{a(by).appendChild(bv)}bv.innerHTML=bx[1]+bz+bx[2];while(bD--){bv=bv.lastChild}if(!b.support.tbody){var e=w.test(bz),bC=bK==="table"&&!e?bv.firstChild&&bv.firstChild.childNodes:bx[1]===""&&!e?bv.childNodes:[];for(bB=bC.length-1;bB>=0;--bB){if(b.nodeName(bC[bB],"tbody")&&!bC[bB].childNodes.length){bC[bB].parentNode.removeChild(bC[bB])}}}if(!b.support.leadingWhitespace&&ar.test(bz)){bv.insertBefore(by.createTextNode(ar.exec(bz)[0]),bv.firstChild)}bz=bv.childNodes}}var bG;if(!b.support.appendChecked){if(bz[0]&&typeof(bG=bz.length)==="number"){for(bB=0;bB=0){return bx+"px"}}else{return bx}}}});if(!b.support.opacity){b.cssHooks.opacity={get:function(bv,e){return au.test((e&&bv.currentStyle?bv.currentStyle.filter:bv.style.filter)||"")?(parseFloat(RegExp.$1)/100)+"":e?"1":""},set:function(by,bz){var bx=by.style,bv=by.currentStyle,e=b.isNumeric(bz)?"alpha(opacity="+bz*100+")":"",bw=bv&&bv.filter||bx.filter||"";bx.zoom=1;if(bz>=1&&b.trim(bw.replace(ak,""))===""){bx.removeAttribute("filter");if(bv&&!bv.filter){return}}bx.filter=ak.test(bw)?bw.replace(ak,e):bw+" "+e}}}b(function(){if(!b.support.reliableMarginRight){b.cssHooks.marginRight={get:function(bw,bv){var e;b.swap(bw,{display:"inline-block"},function(){if(bv){e=Z(bw,"margin-right","marginRight")}else{e=bw.style.marginRight}});return e}}}});if(av.defaultView&&av.defaultView.getComputedStyle){aI=function(by,bw){var bv,bx,e;bw=bw.replace(z,"-$1").toLowerCase();if((bx=by.ownerDocument.defaultView)&&(e=bx.getComputedStyle(by,null))){bv=e.getPropertyValue(bw);if(bv===""&&!b.contains(by.ownerDocument.documentElement,by)){bv=b.style(by,bw)}}return bv}}if(av.documentElement.currentStyle){aX=function(bz,bw){var bA,e,by,bv=bz.currentStyle&&bz.currentStyle[bw],bx=bz.style;if(bv===null&&bx&&(by=bx[bw])){bv=by}if(!bc.test(bv)&&bn.test(bv)){bA=bx.left;e=bz.runtimeStyle&&bz.runtimeStyle.left;if(e){bz.runtimeStyle.left=bz.currentStyle.left}bx.left=bw==="fontSize"?"1em":(bv||0);bv=bx.pixelLeft+"px";bx.left=bA;if(e){bz.runtimeStyle.left=e}}return bv===""?"auto":bv}}Z=aI||aX;function p(by,bw,bv){var bA=bw==="width"?by.offsetWidth:by.offsetHeight,bz=bw==="width"?an:a1,bx=0,e=bz.length;if(bA>0){if(bv!=="border"){for(;bx)<[^<]*)*<\/script>/gi,q=/^(?:select|textarea)/i,h=/\s+/,br=/([?&])_=[^&]*/,K=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,A=b.fn.load,aa={},r={},aE,s,aV=["*/"]+["*"];try{aE=bl.href}catch(aw){aE=av.createElement("a");aE.href="";aE=aE.href}s=K.exec(aE.toLowerCase())||[];function f(e){return function(by,bA){if(typeof by!=="string"){bA=by;by="*"}if(b.isFunction(bA)){var bx=by.toLowerCase().split(h),bw=0,bz=bx.length,bv,bB,bC;for(;bw=0){var e=bw.slice(by,bw.length);bw=bw.slice(0,by)}var bx="GET";if(bz){if(b.isFunction(bz)){bA=bz;bz=L}else{if(typeof bz==="object"){bz=b.param(bz,b.ajaxSettings.traditional);bx="POST"}}}var bv=this;b.ajax({url:bw,type:bx,dataType:"html",data:bz,complete:function(bC,bB,bD){bD=bC.responseText;if(bC.isResolved()){bC.done(function(bE){bD=bE});bv.html(e?b("
").append(bD.replace(a6,"")).find(e):bD)}if(bA){bv.each(bA,[bD,bB,bC])}}});return this},serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?b.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||q.test(this.nodeName)||aZ.test(this.type))}).map(function(e,bv){var bw=b(this).val();return bw==null?null:b.isArray(bw)?b.map(bw,function(by,bx){return{name:bv.name,value:by.replace(bs,"\r\n")}}):{name:bv.name,value:bw.replace(bs,"\r\n")}}).get()}});b.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,bv){b.fn[bv]=function(bw){return this.on(bv,bw)}});b.each(["get","post"],function(e,bv){b[bv]=function(bw,by,bz,bx){if(b.isFunction(by)){bx=bx||bz;bz=by;by=L}return b.ajax({type:bv,url:bw,data:by,success:bz,dataType:bx})}});b.extend({getScript:function(e,bv){return b.get(e,L,bv,"script")},getJSON:function(e,bv,bw){return b.get(e,bv,bw,"json")},ajaxSetup:function(bv,e){if(e){am(bv,b.ajaxSettings)}else{e=bv;bv=b.ajaxSettings}am(bv,e);return bv},ajaxSettings:{url:aE,isLocal:aM.test(s[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":aV},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":bb.String,"text html":true,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:f(aa),ajaxTransport:f(r),ajax:function(bz,bx){if(typeof bz==="object"){bx=bz;bz=L}bx=bx||{};var bD=b.ajaxSetup({},bx),bS=bD.context||bD,bG=bS!==bD&&(bS.nodeType||bS instanceof b)?b(bS):b.event,bR=b.Deferred(),bN=b.Callbacks("once memory"),bB=bD.statusCode||{},bC,bH={},bO={},bQ,by,bL,bE,bI,bA=0,bw,bK,bJ={readyState:0,setRequestHeader:function(bT,bU){if(!bA){var e=bT.toLowerCase();bT=bO[e]=bO[e]||bT;bH[bT]=bU}return this},getAllResponseHeaders:function(){return bA===2?bQ:null},getResponseHeader:function(bT){var e;if(bA===2){if(!by){by={};while((e=aD.exec(bQ))){by[e[1].toLowerCase()]=e[2]}}e=by[bT.toLowerCase()]}return e===L?null:e},overrideMimeType:function(e){if(!bA){bD.mimeType=e}return this},abort:function(e){e=e||"abort";if(bL){bL.abort(e)}bF(0,e);return this}};function bF(bZ,bU,b0,bW){if(bA===2){return}bA=2;if(bE){clearTimeout(bE)}bL=L;bQ=bW||"";bJ.readyState=bZ>0?4:0;var bT,b4,b3,bX=bU,bY=b0?bj(bD,bJ,b0):L,bV,b2;if(bZ>=200&&bZ<300||bZ===304){if(bD.ifModified){if((bV=bJ.getResponseHeader("Last-Modified"))){b.lastModified[bC]=bV}if((b2=bJ.getResponseHeader("Etag"))){b.etag[bC]=b2}}if(bZ===304){bX="notmodified";bT=true}else{try{b4=G(bD,bY);bX="success";bT=true}catch(b1){bX="parsererror";b3=b1}}}else{b3=bX;if(!bX||bZ){bX="error";if(bZ<0){bZ=0}}}bJ.status=bZ;bJ.statusText=""+(bU||bX);if(bT){bR.resolveWith(bS,[b4,bX,bJ])}else{bR.rejectWith(bS,[bJ,bX,b3])}bJ.statusCode(bB);bB=L;if(bw){bG.trigger("ajax"+(bT?"Success":"Error"),[bJ,bD,bT?b4:b3])}bN.fireWith(bS,[bJ,bX]);if(bw){bG.trigger("ajaxComplete",[bJ,bD]);if(!(--b.active)){b.event.trigger("ajaxStop")}}}bR.promise(bJ);bJ.success=bJ.done;bJ.error=bJ.fail;bJ.complete=bN.add;bJ.statusCode=function(bT){if(bT){var e;if(bA<2){for(e in bT){bB[e]=[bB[e],bT[e]]}}else{e=bT[bJ.status];bJ.then(e,e)}}return this};bD.url=((bz||bD.url)+"").replace(bq,"").replace(c,s[1]+"//");bD.dataTypes=b.trim(bD.dataType||"*").toLowerCase().split(h);if(bD.crossDomain==null){bI=K.exec(bD.url.toLowerCase());bD.crossDomain=!!(bI&&(bI[1]!=s[1]||bI[2]!=s[2]||(bI[3]||(bI[1]==="http:"?80:443))!=(s[3]||(s[1]==="http:"?80:443))))}if(bD.data&&bD.processData&&typeof bD.data!=="string"){bD.data=b.param(bD.data,bD.traditional)}aW(aa,bD,bx,bJ);if(bA===2){return false}bw=bD.global;bD.type=bD.type.toUpperCase();bD.hasContent=!aQ.test(bD.type);if(bw&&b.active++===0){b.event.trigger("ajaxStart")}if(!bD.hasContent){if(bD.data){bD.url+=(M.test(bD.url)?"&":"?")+bD.data;delete bD.data}bC=bD.url;if(bD.cache===false){var bv=b.now(),bP=bD.url.replace(br,"$1_="+bv);bD.url=bP+((bP===bD.url)?(M.test(bD.url)?"&":"?")+"_="+bv:"")}}if(bD.data&&bD.hasContent&&bD.contentType!==false||bx.contentType){bJ.setRequestHeader("Content-Type",bD.contentType)}if(bD.ifModified){bC=bC||bD.url;if(b.lastModified[bC]){bJ.setRequestHeader("If-Modified-Since",b.lastModified[bC])}if(b.etag[bC]){bJ.setRequestHeader("If-None-Match",b.etag[bC])}}bJ.setRequestHeader("Accept",bD.dataTypes[0]&&bD.accepts[bD.dataTypes[0]]?bD.accepts[bD.dataTypes[0]]+(bD.dataTypes[0]!=="*"?", "+aV+"; q=0.01":""):bD.accepts["*"]);for(bK in bD.headers){bJ.setRequestHeader(bK,bD.headers[bK])}if(bD.beforeSend&&(bD.beforeSend.call(bS,bJ,bD)===false||bA===2)){bJ.abort();return false}for(bK in {success:1,error:1,complete:1}){bJ[bK](bD[bK])}bL=aW(r,bD,bx,bJ);if(!bL){bF(-1,"No Transport")}else{bJ.readyState=1;if(bw){bG.trigger("ajaxSend",[bJ,bD])}if(bD.async&&bD.timeout>0){bE=setTimeout(function(){bJ.abort("timeout")},bD.timeout)}try{bA=1;bL.send(bH,bF)}catch(bM){if(bA<2){bF(-1,bM)}else{throw bM}}}return bJ},param:function(e,bw){var bv=[],by=function(bz,bA){bA=b.isFunction(bA)?bA():bA;bv[bv.length]=encodeURIComponent(bz)+"="+encodeURIComponent(bA)};if(bw===L){bw=b.ajaxSettings.traditional}if(b.isArray(e)||(e.jquery&&!b.isPlainObject(e))){b.each(e,function(){by(this.name,this.value)})}else{for(var bx in e){v(bx,e[bx],bw,by)}}return bv.join("&").replace(k,"+")}});function v(bw,by,bv,bx){if(b.isArray(by)){b.each(by,function(bA,bz){if(bv||ap.test(bw)){bx(bw,bz)}else{v(bw+"["+(typeof bz==="object"||b.isArray(bz)?bA:"")+"]",bz,bv,bx)}})}else{if(!bv&&by!=null&&typeof by==="object"){for(var e in by){v(bw+"["+e+"]",by[e],bv,bx)}}else{bx(bw,by)}}}b.extend({active:0,lastModified:{},etag:{}});function bj(bD,bC,bz){var bv=bD.contents,bB=bD.dataTypes,bw=bD.responseFields,by,bA,bx,e;for(bA in bw){if(bA in bz){bC[bw[bA]]=bz[bA]}}while(bB[0]==="*"){bB.shift();if(by===L){by=bD.mimeType||bC.getResponseHeader("content-type")}}if(by){for(bA in bv){if(bv[bA]&&bv[bA].test(by)){bB.unshift(bA);break}}}if(bB[0] in bz){bx=bB[0]}else{for(bA in bz){if(!bB[0]||bD.converters[bA+" "+bB[0]]){bx=bA;break}if(!e){e=bA}}bx=bx||e}if(bx){if(bx!==bB[0]){bB.unshift(bx)}return bz[bx]}}function G(bH,bz){if(bH.dataFilter){bz=bH.dataFilter(bz,bH.dataType)}var bD=bH.dataTypes,bG={},bA,bE,bw=bD.length,bB,bC=bD[0],bx,by,bF,bv,e;for(bA=1;bA=bw.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();bw.animatedProperties[this.prop]=true;for(bA in bw.animatedProperties){if(bw.animatedProperties[bA]!==true){e=false}}if(e){if(bw.overflow!=null&&!b.support.shrinkWrapBlocks){b.each(["","X","Y"],function(bC,bD){bz.style["overflow"+bD]=bw.overflow[bC]})}if(bw.hide){b(bz).hide()}if(bw.hide||bw.show){for(bA in bw.animatedProperties){b.style(bz,bA,bw.orig[bA]);b.removeData(bz,"fxshow"+bA,true);b.removeData(bz,"toggle"+bA,true)}}bv=bw.complete;if(bv){bw.complete=false;bv.call(bz)}}return false}else{if(bw.duration==Infinity){this.now=bx}else{bB=bx-this.startTime;this.state=bB/bw.duration;this.pos=b.easing[bw.animatedProperties[this.prop]](this.state,bB,0,1,bw.duration);this.now=this.start+((this.end-this.start)*this.pos)}this.update()}return true}};b.extend(b.fx,{tick:function(){var bw,bv=b.timers,e=0;for(;e").appendTo(e),bw=bv.css("display");bv.remove();if(bw==="none"||bw===""){if(!a8){a8=av.createElement("iframe");a8.frameBorder=a8.width=a8.height=0}e.appendChild(a8);if(!m||!a8.createElement){m=(a8.contentWindow||a8.contentDocument).document;m.write((av.compatMode==="CSS1Compat"?"":"")+"");m.close()}bv=m.createElement(bx);m.body.appendChild(bv);bw=b.css(bv,"display");e.removeChild(a8)}Q[bx]=bw}return Q[bx]}var V=/^t(?:able|d|h)$/i,ad=/^(?:body|html)$/i;if("getBoundingClientRect" in av.documentElement){b.fn.offset=function(bI){var by=this[0],bB;if(bI){return this.each(function(e){b.offset.setOffset(this,bI,e)})}if(!by||!by.ownerDocument){return null}if(by===by.ownerDocument.body){return b.offset.bodyOffset(by)}try{bB=by.getBoundingClientRect()}catch(bF){}var bH=by.ownerDocument,bw=bH.documentElement;if(!bB||!b.contains(bw,by)){return bB?{top:bB.top,left:bB.left}:{top:0,left:0}}var bC=bH.body,bD=aK(bH),bA=bw.clientTop||bC.clientTop||0,bE=bw.clientLeft||bC.clientLeft||0,bv=bD.pageYOffset||b.support.boxModel&&bw.scrollTop||bC.scrollTop,bz=bD.pageXOffset||b.support.boxModel&&bw.scrollLeft||bC.scrollLeft,bG=bB.top+bv-bA,bx=bB.left+bz-bE;return{top:bG,left:bx}}}else{b.fn.offset=function(bF){var bz=this[0];if(bF){return this.each(function(bG){b.offset.setOffset(this,bF,bG)})}if(!bz||!bz.ownerDocument){return null}if(bz===bz.ownerDocument.body){return b.offset.bodyOffset(bz)}var bC,bw=bz.offsetParent,bv=bz,bE=bz.ownerDocument,bx=bE.documentElement,bA=bE.body,bB=bE.defaultView,e=bB?bB.getComputedStyle(bz,null):bz.currentStyle,bD=bz.offsetTop,by=bz.offsetLeft;while((bz=bz.parentNode)&&bz!==bA&&bz!==bx){if(b.support.fixedPosition&&e.position==="fixed"){break}bC=bB?bB.getComputedStyle(bz,null):bz.currentStyle;bD-=bz.scrollTop;by-=bz.scrollLeft;if(bz===bw){bD+=bz.offsetTop;by+=bz.offsetLeft;if(b.support.doesNotAddBorder&&!(b.support.doesAddBorderForTableAndCells&&V.test(bz.nodeName))){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}bv=bw;bw=bz.offsetParent}if(b.support.subtractsBorderForOverflowNotVisible&&bC.overflow!=="visible"){bD+=parseFloat(bC.borderTopWidth)||0;by+=parseFloat(bC.borderLeftWidth)||0}e=bC}if(e.position==="relative"||e.position==="static"){bD+=bA.offsetTop;by+=bA.offsetLeft}if(b.support.fixedPosition&&e.position==="fixed"){bD+=Math.max(bx.scrollTop,bA.scrollTop);by+=Math.max(bx.scrollLeft,bA.scrollLeft)}return{top:bD,left:by}}}b.offset={bodyOffset:function(e){var bw=e.offsetTop,bv=e.offsetLeft;if(b.support.doesNotIncludeMarginInBodyOffset){bw+=parseFloat(b.css(e,"marginTop"))||0;bv+=parseFloat(b.css(e,"marginLeft"))||0}return{top:bw,left:bv}},setOffset:function(bx,bG,bA){var bB=b.css(bx,"position");if(bB==="static"){bx.style.position="relative"}var bz=b(bx),bv=bz.offset(),e=b.css(bx,"top"),bE=b.css(bx,"left"),bF=(bB==="absolute"||bB==="fixed")&&b.inArray("auto",[e,bE])>-1,bD={},bC={},bw,by;if(bF){bC=bz.position();bw=bC.top;by=bC.left}else{bw=parseFloat(e)||0;by=parseFloat(bE)||0}if(b.isFunction(bG)){bG=bG.call(bx,bA,bv)}if(bG.top!=null){bD.top=(bG.top-bv.top)+bw}if(bG.left!=null){bD.left=(bG.left-bv.left)+by}if("using" in bG){bG.using.call(bx,bD)}else{bz.css(bD)}}};b.fn.extend({position:function(){if(!this[0]){return null}var bw=this[0],bv=this.offsetParent(),bx=this.offset(),e=ad.test(bv[0].nodeName)?{top:0,left:0}:bv.offset();bx.top-=parseFloat(b.css(bw,"marginTop"))||0;bx.left-=parseFloat(b.css(bw,"marginLeft"))||0;e.top+=parseFloat(b.css(bv[0],"borderTopWidth"))||0;e.left+=parseFloat(b.css(bv[0],"borderLeftWidth"))||0;return{top:bx.top-e.top,left:bx.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||av.body;while(e&&(!ad.test(e.nodeName)&&b.css(e,"position")==="static")){e=e.offsetParent}return e})}});b.each(["Left","Top"],function(bv,e){var bw="scroll"+e;b.fn[bw]=function(bz){var bx,by;if(bz===L){bx=this[0];if(!bx){return null}by=aK(bx);return by?("pageXOffset" in by)?by[bv?"pageYOffset":"pageXOffset"]:b.support.boxModel&&by.document.documentElement[bw]||by.document.body[bw]:bx[bw]}return this.each(function(){by=aK(this);if(by){by.scrollTo(!bv?bz:b(by).scrollLeft(),bv?bz:b(by).scrollTop())}else{this[bw]=bz}})}});function aK(e){return b.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}b.each(["Height","Width"],function(bv,e){var bw=e.toLowerCase();b.fn["inner"+e]=function(){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,"padding")):this[bw]():null};b.fn["outer"+e]=function(by){var bx=this[0];return bx?bx.style?parseFloat(b.css(bx,bw,by?"margin":"border")):this[bw]():null};b.fn[bw]=function(bz){var bA=this[0];if(!bA){return bz==null?null:this}if(b.isFunction(bz)){return this.each(function(bE){var bD=b(this);bD[bw](bz.call(this,bE,bD[bw]()))})}if(b.isWindow(bA)){var bB=bA.document.documentElement["client"+e],bx=bA.document.body;return bA.document.compatMode==="CSS1Compat"&&bB||bx&&bx["client"+e]||bB}else{if(bA.nodeType===9){return Math.max(bA.documentElement["client"+e],bA.body["scroll"+e],bA.documentElement["scroll"+e],bA.body["offset"+e],bA.documentElement["offset"+e])}else{if(bz===L){var bC=b.css(bA,bw),by=parseFloat(bC);return b.isNumeric(by)?by:bC}else{return this.css(bw,typeof bz==="string"?bz:bz+"px")}}}}});bb.jQuery=bb.$=b;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return b})}})(window);/*! * jQuery UI 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI */ (function(a,d){a.ui=a.ui||{};if(a.ui.version){return}a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(e,f){return typeof e==="number"?this.each(function(){var g=this;setTimeout(function(){a(g).focus();if(f){f.call(g)}},e)}):this._focus.apply(this,arguments)},scrollParent:function(){var e;if((a.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){e=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(a.curCSS(this,"position",1))&&(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}else{e=this.parents().filter(function(){return(/(auto|scroll)/).test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!e.length?a(document):e},zIndex:function(h){if(h!==d){return this.css("zIndex",h)}if(this.length){var f=a(this[0]),e,g;while(f.length&&f[0]!==document){e=f.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){g=parseInt(f.css("zIndex"),10);if(!isNaN(g)&&g!==0){return g}}f=f.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(e){e.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});a.each(["Width","Height"],function(g,e){var f=e==="Width"?["Left","Right"]:["Top","Bottom"],h=e.toLowerCase(),k={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};function j(m,l,i,n){a.each(f,function(){l-=parseFloat(a.curCSS(m,"padding"+this,true))||0;if(i){l-=parseFloat(a.curCSS(m,"border"+this+"Width",true))||0}if(n){l-=parseFloat(a.curCSS(m,"margin"+this,true))||0}});return l}a.fn["inner"+e]=function(i){if(i===d){return k["inner"+e].call(this)}return this.each(function(){a(this).css(h,j(this,i)+"px")})};a.fn["outer"+e]=function(i,l){if(typeof i!=="number"){return k["outer"+e].call(this,i)}return this.each(function(){a(this).css(h,j(this,i,true,l)+"px")})}});function c(g,e){var j=g.nodeName.toLowerCase();if("area"===j){var i=g.parentNode,h=i.name,f;if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false}f=a("img[usemap=#"+h+"]")[0];return !!f&&b(f)}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"==j?g.href||e:e)&&b(g)}function b(e){return !a(e).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}a.extend(a.expr[":"],{data:function(g,f,e){return !!a.data(g,e[3])},focusable:function(e){return c(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(g){var e=a.attr(g,"tabindex"),f=isNaN(e);return(f||e>=0)&&c(g,!f)}});a(function(){var e=document.body,f=e.appendChild(f=document.createElement("div"));f.offsetHeight;a.extend(f.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});a.support.minHeight=f.offsetHeight===100;a.support.selectstart="onselectstart" in f;e.removeChild(f).style.display="none"});a.extend(a.ui,{plugin:{add:function(f,g,j){var h=a.ui[f].prototype;for(var e in j){h.plugins[e]=h.plugins[e]||[];h.plugins[e].push([g,j[e]])}},call:function(e,g,f){var j=e.plugins[g];if(!j||!e.element[0].parentNode){return}for(var h=0;h0){return true}h[e]=1;g=(h[e]>0);h[e]=0;return g},isOverAxis:function(f,e,g){return(f>e)&&(f<(e+g))},isOver:function(j,f,i,h,e,g){return a.ui.isOverAxis(j,i,e)&&a.ui.isOverAxis(f,h,g)}})})(jQuery);/*! * jQuery UI Widget 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Widget */ (function(b,d){if(b.cleanData){var c=b.cleanData;b.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{b(h).triggerHandler("remove")}catch(j){}}c(f)}}else{var a=b.fn.remove;b.fn.remove=function(e,f){return this.each(function(){if(!f){if(!e||b.filter(e,[this]).length){b("*",this).add([this]).each(function(){try{b(this).triggerHandler("remove")}catch(g){}})}}return a.call(b(this),e,f)})}}b.widget=function(f,h,e){var g=f.split(".")[0],j;f=f.split(".")[1];j=g+"-"+f;if(!e){e=h;h=b.Widget}b.expr[":"][j]=function(k){return !!b.data(k,f)};b[g]=b[g]||{};b[g][f]=function(k,l){if(arguments.length){this._createWidget(k,l)}};var i=new h();i.options=b.extend(true,{},i.options);b[g][f].prototype=b.extend(true,i,{namespace:g,widgetName:f,widgetEventPrefix:b[g][f].prototype.widgetEventPrefix||f,widgetBaseClass:j},e);b.widget.bridge(f,b[g][f])};b.widget.bridge=function(f,e){b.fn[f]=function(i){var g=typeof i==="string",h=Array.prototype.slice.call(arguments,1),j=this;i=!g&&h.length?b.extend.apply(null,[true,i].concat(h)):i;if(g&&i.charAt(0)==="_"){return j}if(g){this.each(function(){var k=b.data(this,f),l=k&&b.isFunction(k[i])?k[i].apply(k,h):k;if(l!==k&&l!==d){j=l;return false}})}else{this.each(function(){var k=b.data(this,f);if(k){k.option(i||{})._init()}else{b.data(this,f,new e(i,this))}})}return j}};b.Widget=function(e,f){if(arguments.length){this._createWidget(e,f)}};b.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(f,g){b.data(g,this.widgetName,this);this.element=b(g);this.options=b.extend(true,{},this.options,this._getCreateOptions(),f);var e=this;this.element.bind("remove."+this.widgetName,function(){e.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return b.metadata&&b.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(f,g){var e=f;if(arguments.length===0){return b.extend({},this.options)}if(typeof f==="string"){if(g===d){return this.options[f]}e={};e[f]=g}this._setOptions(e);return this},_setOptions:function(f){var e=this;b.each(f,function(g,h){e._setOption(g,h)});return this},_setOption:function(e,f){this.options[e]=f;if(e==="disabled"){this.widget()[f?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",f)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(e,f,g){var j,i,h=this.options[e];g=g||{};f=b.Event(f);f.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase();f.target=this.element[0];i=f.originalEvent;if(i){for(j in i){if(!(j in f)){f[j]=i[j]}}}this.element.trigger(f,g);return !(b.isFunction(h)&&h.call(this.element[0],f,g)===false||f.isDefaultPrevented())}}})(jQuery);/*! * jQuery UI Mouse 1.8.18 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Mouse * * Depends: * jquery.ui.widget.js */ (function(b,c){var a=false;b(document).mouseup(function(d){a=false});b.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var d=this;this.element.bind("mousedown."+this.widgetName,function(e){return d._mouseDown(e)}).bind("click."+this.widgetName,function(e){if(true===b.data(e.target,d.widgetName+".preventClickEvent")){b.removeData(e.target,d.widgetName+".preventClickEvent");e.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName)},_mouseDown:function(f){if(a){return}(this._mouseStarted&&this._mouseUp(f));this._mouseDownEvent=f;var e=this,g=(f.which==1),d=(typeof this.options.cancel=="string"&&f.target.nodeName?b(f.target).closest(this.options.cancel).length:false);if(!g||d||!this._mouseCapture(f)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(f)&&this._mouseDelayMet(f)){this._mouseStarted=(this._mouseStart(f)!==false);if(!this._mouseStarted){f.preventDefault();return true}}if(true===b.data(f.target,this.widgetName+".preventClickEvent")){b.removeData(f.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(h){return e._mouseMove(h)};this._mouseUpDelegate=function(h){return e._mouseUp(h)};b(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);f.preventDefault();a=true;return true},_mouseMove:function(d){if(b.browser.msie&&!(document.documentMode>=9)&&!d.button){return this._mouseUp(d)}if(this._mouseStarted){this._mouseDrag(d);return d.preventDefault()}if(this._mouseDistanceMet(d)&&this._mouseDelayMet(d)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,d)!==false);(this._mouseStarted?this._mouseDrag(d):this._mouseUp(d))}return !this._mouseStarted},_mouseUp:function(d){b(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(d.target==this._mouseDownEvent.target){b.data(d.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(d)}return false},_mouseDistanceMet:function(d){return(Math.max(Math.abs(this._mouseDownEvent.pageX-d.pageX),Math.abs(this._mouseDownEvent.pageY-d.pageY))>=this.options.distance)},_mouseDelayMet:function(d){return this.mouseDelayMet},_mouseStart:function(d){},_mouseDrag:function(d){},_mouseStop:function(d){},_mouseCapture:function(d){return true}})})(jQuery);(function(c,d){c.widget("ui.resizable",c.ui.mouse,{widgetEventPrefix:"resize",options:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,containment:false,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000},_create:function(){var f=this,k=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(k.aspectRatio),aspectRatio:k.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:k.helper||k.ghost||k.animate?k.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){this.element.wrap(c('
').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=k.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var l=this.handles.split(",");this.handles={};for(var g=0;g
');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! * jQuery hashchange event - v1.3 - 7/21/2010 * http://benalman.com/projects/jquery-hashchange-plugin/ * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ (function($,e,b){var c="hashchange",h=document,f,g=$.event.special,i=h.documentMode,d="on"+c in e&&(i===b||i>7);function a(j){j=j||location.href;return"#"+j.replace(/^[^#]*#?(.*)$/,"$1")}$.fn[c]=function(j){return j?this.bind(c,j):this.trigger(c)};$.fn[c].delay=50;g[c]=$.extend(g[c],{setup:function(){if(d){return false}$(f.start)},teardown:function(){if(d){return false}$(f.stop)}});f=(function(){var j={},p,m=a(),k=function(q){return q},l=k,o=k;j.start=function(){p||n()};j.stop=function(){p&&clearTimeout(p);p=b};function n(){var r=a(),q=o(m);if(r!==m){l(m=r,q);$(e).trigger(c)}else{if(q!==m){location.href=location.href.replace(/#.*/,"")+q}}p=setTimeout(n,$.fn[c].delay)}$.browser.msie&&!d&&(function(){var q,r;j.start=function(){if(!q){r=$.fn[c].src;r=r&&r+a();q=$('