sinfo-0.0.48/0000755000175000017500000000000012444035677007736 500000000000000sinfo-0.0.48/ltmain.sh0000644000175000017500000105202612444035654011477 00000000000000 # libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # GNU Libtool is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, # or obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Usage: $progname [OPTION]... [MODE-ARG]... # # Provide generalized library-building support services. # # --config show all configuration variables # --debug enable verbose shell tracing # -n, --dry-run display commands without modifying any files # --features display basic configuration information and exit # --mode=MODE use operation mode MODE # --preserve-dup-deps don't remove duplicate dependency libraries # --quiet, --silent don't print informational messages # --no-quiet, --no-silent # print informational messages (default) # --no-warn don't display warning messages # --tag=TAG use configuration variables from tag TAG # -v, --verbose print more informational messages than default # --no-verbose don't print the extra informational messages # --version print version information # -h, --help, --help-all print short, long, or detailed 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) # $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1.1 # automake: $automake_version # autoconf: $autoconf_version # # Report bugs to . # GNU libtool home page: . # General help using GNU software: . PROGRAM=libtool PACKAGE=libtool VERSION="2.4.2 Debian-2.4.2-1.1" TIMESTAMP="" package_revision=1.3337 # 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 # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # NLS nuisances: We save the old values to restore during execute mode. lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${$lt_var+set}\" = set; then save_$lt_var=\$$lt_var $lt_var=C export $lt_var lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done LC_ALL=C LANGUAGE=C export LANGUAGE LC_ALL $lt_unset CDPATH # 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" : ${CP="cp -f"} test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. exit_status=$EXIT_SUCCESS # Make sure IFS has a sensible default lt_nl=' ' IFS=" $lt_nl" dirname="s,/[^/]*$,," basename="s,^.*/,," # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_dirname may be replaced by extended shell implementation # func_basename file func_basename () { func_basename_result=`$ECHO "${1}" | $SED "$basename"` } # func_basename may be replaced by extended shell implementation # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` } # func_dirname_and_basename may be replaced by extended shell implementation # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname may be replaced by extended shell implementation # These SED scripts presuppose an absolute path with a trailing slash. pathcar='s,^/\([^/]*\).*$,\1,' pathcdr='s,^/[^/]*,,' removedotparts=':dotsl s@/\./@/@g t dotsl s,/\.$,/,' collapseslashes='s@/\{1,\}@/@g' finalslash='s,/*$,/,' # 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. # value returned in "$func_normal_abspath_result" func_normal_abspath () { # 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 "$removedotparts" -e "$collapseslashes" -e "$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 "$pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$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_normal_abspath_result=$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_relative_path SRCDIR DSTDIR # generates a relative path from SRCDIR to DSTDIR, with a trailing # slash if non-empty, suitable for immediately appending a filename # without needing to append a separator. # value returned in "$func_relative_path_result" func_relative_path () { 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 "x$func_relative_path_tlibdir" = x ; 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 "x$func_stripname_result" != x ; then func_relative_path_result=${func_relative_path_result}/${func_stripname_result} fi # Normalisation. If bindir is libdir, return empty string, # else relative path ending with a slash; either way, target # file name can be directly appended. if test ! -z "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result/" func_relative_path_result=$func_stripname_result fi } # The name of this program: func_dirname_and_basename "$progpath" progname=$func_basename_result # Make sure we have an absolute path for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=$func_dirname_result progdir=`cd "$progdir" && pwd` progpath="$progdir/$progname" ;; *) save_IFS="$IFS" IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break done IFS="$save_IFS" test -n "$progdir" || progdir=`pwd` progpath="$progdir/$progname" ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='s/\([`"$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # 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 # which contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' # in input to double_quote_subst, that '$' was protected from expansion. # Since each input `\' is now two `\'s, look for any number of runs of # four `\'s followed by two `\'s and then a '$'. `\' that '$'. bs='\\' bs2='\\\\' bs4='\\\\\\\\' dollar='\$' sed_double_backslash="\ s/$bs4/&\\ /g s/^$bs2$dollar/$bs&/ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g s/\n//g" # Standard options: opt_dry_run=false opt_help=false opt_quiet=false opt_verbose=false opt_warning=: # func_echo arg... # Echo program name prefixed message, along with the current mode # name if it has been set yet. func_echo () { $ECHO "$progname: ${opt_mode+$opt_mode: }$*" } # func_verbose arg... # Echo program name prefixed message in verbose mode only. func_verbose () { $opt_verbose && func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_error arg... # Echo program name prefixed message to standard error. func_error () { $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 # bash bug again: : } # func_fatal_error arg... # Echo program name prefixed message to standard error, and exit. func_fatal_error () { func_error ${1+"$@"} exit $EXIT_FAILURE } # func_fatal_help arg... # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { func_error ${1+"$@"} func_fatal_error "$help" } help="Try \`$progname --help' for more information." ## default # func_grep expression filename # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $GREP "$1" "$2" >/dev/null 2>&1 } # func_mkdir_p directory-path # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { my_directory_path="$1" my_dir_list= if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then # Protect directory names starting with `-' case $my_directory_path in -*) my_directory_path="./$my_directory_path" ;; esac # While some portion of DIR does not yet exist... while test ! -d "$my_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. my_dir_list="$my_directory_path:$my_dir_list" # If the last portion added has no slash in it, the list is done case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` done my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do IFS="$save_mkdir_p_IFS" # mkdir can fail with a `File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$my_dir" 2>/dev/null || : done IFS="$save_mkdir_p_IFS" # Bail out if we (or some other process) failed to create a directory. test -d "$my_directory_path" || \ func_fatal_error "Failed to create \`$1'" fi } # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$opt_dry_run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $MKDIR "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || \ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi $ECHO "$my_tmpdir" } # func_quote_for_eval arg # Aesthetically quote ARG to be evaled later. # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT # is double-quoted, suitable for a subsequent eval, whereas # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters # which are still active within double quotes backslashified. func_quote_for_eval () { case $1 in *[\\\`\"\$]*) func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac case $func_quote_for_eval_unquoted_result in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and and variable # expansion for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" ;; *) func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" esac } # func_quote_for_expand arg # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { case $1 in *[\\\`\"]*) my_arg=`$ECHO "$1" | $SED \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; esac case $my_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") my_arg="\"$my_arg\"" ;; esac func_quote_for_expand_result="$my_arg" } # func_show_eval cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$my_cmd" my_status=$? if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_show_eval_locale cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$lt_user_locale $my_cmd" my_status=$? eval "$lt_safe_locale" if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_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 () { case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_version # Echo version message to standard output and exit. func_version () { $opt_debug $SED -n '/(C)/!b go :more /\./!{ N s/\n# / / b more } :go /^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ p }' < "$progpath" exit $? } # func_usage # Echo short help message to standard output and exit. func_usage () { $opt_debug $SED -n '/^# Usage:/,/^# *.*--help/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" echo $ECHO "run \`$progname --help | more' for full usage" exit $? } # func_help [NOEXIT] # Echo long help message to standard output and exit, # unless 'noexit' is passed as argument. func_help () { $opt_debug $SED -n '/^# Usage:/,/# Report bugs to/ { :print s/^# // s/^# *$// s*\$progname*'$progname'* s*\$host*'"$host"'* s*\$SHELL*'"$SHELL"'* s*\$LTCC*'"$LTCC"'* s*\$LTCFLAGS*'"$LTCFLAGS"'* s*\$LD*'"$LD"'* s/\$with_gnu_ld/'"$with_gnu_ld"'/ s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ p d } /^# .* home page:/b print /^# General help using/b print ' < "$progpath" ret=$? if test -z "$1"; then exit $ret fi } # func_missing_arg argname # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $opt_debug func_error "missing argument for $1." exit_cmd=exit } # 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. func_split_short_opt () { my_sed_short_opt='1s/^\(..\).*$/\1/;q' my_sed_short_rest='1s/^..\(.*\)$/\1/;q' func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` } # func_split_short_opt may be replaced by extended shell implementation # func_split_long_opt longopt # Set func_split_long_opt_name and func_split_long_opt_arg shell # variables after splitting LONGOPT at the `=' sign. func_split_long_opt () { my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' my_sed_long_arg='1s/^--[^=]*=//' func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` } # func_split_long_opt may be replaced by extended shell implementation exit_cmd=: magic="%%%MAGIC variable%%%" magic_exe="%%%MAGIC EXE variable%%%" # Global variables. nonopt= preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" 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= # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "${1}=\$${1}\${2}" } # func_append may be replaced by extended shell implementation # func_append_quoted var value # Quote VALUE and append to the end of shell variable VAR, separated # by a space. func_append_quoted () { func_quote_for_eval "${2}" eval "${1}=\$${1}\\ \$func_quote_for_eval_result" } # func_append_quoted may be replaced by extended shell implementation # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "${@}"` } # func_arith may be replaced by extended shell implementation # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` } # func_len may be replaced by extended shell implementation # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` } # func_lo2o may be replaced by extended shell implementation # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` } # func_xform may be replaced by extended shell implementation # func_fatal_configuration arg... # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func_error ${1+"$@"} func_error "See the $PACKAGE documentation for more information." func_fatal_error "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 "$build_libtool_libs" = yes; then echo "enable shared libraries" else echo "disable shared libraries" fi if test "$build_old_libs" = yes; 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 } # 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 # Option defaults: opt_debug=: opt_dry_run=false opt_config=false opt_preserve_dup_deps=false opt_features=false opt_finish=false opt_help=false opt_help_all=false opt_silent=: opt_warning=: opt_verbose=: opt_silent=false opt_verbose=false # Parse options once, thoroughly. This comes as soon as possible in the # script to make things like `--version' happen as quickly as we can. { # this just eases exit handling while test $# -gt 0; do opt="$1" shift case $opt in --debug|-x) opt_debug='set -x' func_echo "enabling shell trace mode" $opt_debug ;; --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) opt_config=: func_config ;; --dlopen|-dlopen) optarg="$1" opt_dlopen="${opt_dlopen+$opt_dlopen }$optarg" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) opt_features=: func_features ;; --finish) opt_finish=: set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help_all=: opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_mode="$optarg" case $optarg in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_silent=false func_append preserve_args " $opt" ;; --no-warning|--no-warn) opt_warning=false func_append preserve_args " $opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $opt" ;; --silent|--quiet) opt_silent=: func_append preserve_args " $opt" opt_verbose=false ;; --verbose|-v) opt_verbose=: func_append preserve_args " $opt" opt_silent=false ;; --tag) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_tag="$optarg" func_append preserve_args " $opt $optarg" func_enable_tag "$optarg" shift ;; -\?|-h) func_usage ;; --help) func_help ;; --version) func_version ;; # Separate optargs to long options: --*=*) func_split_long_opt "$opt" set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-n*|-v*) func_split_short_opt "$opt" set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognized option \`$opt'" ;; *) set dummy "$opt" ${1+"$@"}; shift; break ;; esac done # Validate options: # save first non-option argument if test "$#" -gt 0; then nonopt="$opt" shift fi # preserve --debug test "$opt_debug" = : || func_append preserve_args " --debug" case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then func_fatal_configuration "not configured to build any kind of library" fi # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test "$opt_mode" != execute; then func_error "unrecognized option \`-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$progname --help --mode=$opt_mode' for more information." } # Bail if the options were screwed $exit_cmd $EXIT_FAILURE } ## ----------- ## ## Main. ## ## ----------- ## # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null \ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_unsafe_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if `file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case "$lalib_p_line" in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test "$lalib_p" = yes } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { func_lalib_p "$1" } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_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 () { $opt_debug save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$save_ifs eval cmd=\"$cmd\" func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. func_source () { $opt_debug case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_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 () { $opt_debug 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 "$build_libtool_libs" = yes; then write_lobj=\'${2}\' else write_lobj=none fi if test "$build_old_libs" = yes; then write_oldobj=\'${3}\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </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 "$lt_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 () { $opt_debug # 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 () { $opt_debug 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 () { $opt_debug # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$lt_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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug $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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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 () { $opt_debug 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_mode_compile arg... func_mode_compile () { $opt_debug # 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 "$build_libtool_libs" != yes && \ func_fatal_configuration "can not 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 "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$ECHO "$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 "$need_locks" = yes; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi 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 "$build_libtool_libs" = yes; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test "$pic_mode" != no; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test "$suppress_opt" = yes; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test "$build_old_libs" = yes; then if test "$pic_mode" != yes; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then 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 "$need_locks" = warn && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test "$need_locks" != no; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test "$opt_mode" = compile && 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 -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 () { $opt_debug # The first argument is the command name. cmd="$nonopt" test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $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 test "X$opt_dry_run" = Xfalse; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS fi } test "$opt_mode" = execute && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $opt_debug 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_silent && 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 "$opt_mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $opt_debug # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. 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=no 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=yes ;; -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$prev" = x-m && 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=yes if test "$isdir" = yes; then destdir="$dest" destname= else func_dirname_and_basename "$dest" "" "." destdir="$func_dirname_result" destname="$func_basename_result" # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "\`$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "\`$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. 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 ;; 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 "$build_old_libs" = yes; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script \`$wrapper'" finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no fi done relink_command= func_source "$wrapper" outputname= if test "$fast_install" = no && test -n "$relink_command"; then $opt_dry_run || { if test "$finalize" = yes; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink \`$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file="$outputname" else func_warning "cannot relink \`$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$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 "$opt_mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $opt_debug my_outputname="$1" my_originator="$2" my_pic_p="${3-no}" my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms="${my_outputname}S.c" else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${my_outputname}.nm" func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #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 con'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 /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then func_verbose "generating symbol list for \`$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$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 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[]; LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) if test "X$my_pic_p" != Xno; then pic_flag_for_symtable=" $pic_flag" fi ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) 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"' # 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_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 () { $opt_debug win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # 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 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 } }'` 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 () { $opt_debug 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 () { $opt_debug 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 which possess that section. Heuristic: eliminate # all those which 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_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 () { $opt_debug 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 () { $opt_debug 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_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 () { $opt_debug 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 () { $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" if test "$lock_old_archive_extraction" = yes; 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 "$lock_old_archive_extraction" = yes; 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 () { $opt_debug my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib="$func_basename_result" my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`basename "$darwin_archive"` darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | 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 in which 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$TIMESTAMP) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. 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/ which is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options which 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$TIMESTAMP) $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 "$fast_install" = yes; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # 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 "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$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 /* 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 platforms) ... */ #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 # ifndef _INTPTR_T_DEFINED # define _INTPTR_T_DEFINED # define intptr_t int # endif #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 ((void *) 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]; int 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 = 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 (strcmp (str, pat) == 0) *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 int len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { int orig_value_len = strlen (orig_value); int add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } 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 #' */ int len = strlen (new_value); while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[len-1] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { 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 () { $opt_debug case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_mode_link arg... func_mode_link () { $opt_debug case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # which system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll which has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=no prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module="${wl}-single_module" func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir="$arg" prev= continue ;; dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then 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 ;; 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 "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then 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 "$prev" = dlprefiles; 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 "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file \`$arg' does not exist" fi arg=$save_arg prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) 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$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" 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$arg" = "X-lc" || test "X$arg" = "X-lm"; 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$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--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 ;; -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 # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -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*|-flto*|-fwhopr*|-fuse-linker-plugin) 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 ;; # 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 "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then 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 "$prev" = dlprefiles; 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 "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test "$prev" = dlfiles; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test "$prev" = dlprefiles; 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 "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname="$func_basename_result" libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\${$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\" 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 "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) 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=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test "$linkmode,$pass" = "lib,link"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs="$tmp_deplibs" fi if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= 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 "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then func_warning "\`-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no func_dirname "$lib" "" "." ladir="$func_dirname_result" lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l *.ltframework) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" 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 "$pass" = link; 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 "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." else echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi ;; esac continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" fi # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "\`$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir="$func_dirname_result" dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$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 "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. 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 "$linkmode" != prog && test "$linkmode" != lib; 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 "$prefer_static_libs" = yes || test "$prefer_static_libs,$installed" = "built,no"; }; 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 "$pass" = dlopen; then if test -z "$libdir"; then func_fatal_error "cannot -dlopen a convenience library: \`$lib'" fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. 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 "X$installed" = Xyes; 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 "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later 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 "$pass" = dlpreopen; then if test -z "$libdir" && test "$linkmode" = prog; 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 "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_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 "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; *) 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 test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test "$installed" = no; 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 "$shouldnotlink" = yes && test "$pass" = link; then echo if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) 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*) func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" func_basename "$soroot" soname="$func_basename_result" func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from \`$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for \`$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$opt_mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we can not # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null ; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library" ; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add="$dir/$old_library" fi elif test -n "$old_library"; then add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$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 "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && test "$hardcode_minus_L" != yes && test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$opt_mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system can not link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) 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 "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" 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 "$link_all_deplibs" != no; 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 "$pass" = link; then if test "$linkmode" = "prog"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" fi if test "$linkmode" = prog || test "$linkmode" = lib; then dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "\`-R' is ignored for archives" test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "\`-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "\`-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" 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 "$module" = no && \ func_fatal_help "libtool library \`$output' must begin with \`lib'" if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test "$dlself" != no && \ func_warning "\`-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test "$#" -gt 1 && \ func_warning "ignoring multiple \`-rpath's for a libtool library" install_libdir="$1" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "\`-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 shift IFS="$save_ifs" test -n "$7" && \ func_fatal_help "too many parameters to \`-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$1" number_minor="$2" number_revision="$3" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|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" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current" ;; irix | nonstopux) if test "X$lt_irix_increment" = "Xno"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) # 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 "$loop" -ne 0; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring:${iface}.0" done # Make executables depend on our current version. func_append verstring ":${current}.0" ;; qnx) major=".$current" versuffix=".$current" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; *) func_fatal_configuration "unknown library version type \`$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then func_warning "undefined symbols not allowed in $host shared libraries" build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi func_generate_dlsyms "$libname" "$libname" "yes" func_append libobjs " $symfileobj" test "X$libobjs" = "X " && libobjs= if test "$opt_mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi 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 "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; 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 "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) 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 "$build_libtool_libs" = yes; 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 "$build_libtool_need_lc" = "yes"; 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 "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; 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 "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test "X$deplibs_check_method" = "Xnone"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; 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 "$droppeddeps" = yes; then if test "$module" = yes; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $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 "$build_libtool_libs" = yes; then # Remove ${wl} instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$opt_mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then 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 "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname="$1" shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do 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 if test "x`$SED 1q $export_symbols`" != xEXPORTS; then # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols="$export_symbols" export_symbols= always_export_symbols=yes fi fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for 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 "$try_normal_branch" = yes \ && { 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 "X$skipped_export" != "X:"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter 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 "$compiler_needs_object" = yes && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" 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 "$thread_safe" = yes && 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 "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output 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 "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do 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 "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test "$compiler_needs_object" = yes; then firstobj="$1 " shift fi for obj do 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 "X$objlist" = X || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. 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 if ${skipped_export-false}; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi fi test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi if ${skipped_export-false}; then if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$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 fi libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" 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="$save_ifs" eval cmd=\"$cmd\" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "\`-R' is ignored for objects" test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for objects" test -n "$release" && \ func_warning "\`-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object \`$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` 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 "$build_libtool_libs" != yes && 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" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for programs" test -n "$release" && \ func_warning "\`-release' is ignored for programs" test "$preload" = yes \ && test "$dlopen_support" = unknown \ && test "$dlopen_self" = unknown \ && test "$dlopen_self_static" = unknown && \ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $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 "$tagname" = CXX ; 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 "$build_old_libs" = yes; 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@" "no" # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=yes case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=no ;; *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; esac if test "$wrappers_required" = no; then # Replace the output file specification. compile_command=`$ECHO "$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 fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do 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 "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$ECHO "$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 if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" func_warning "this platform does not like uninstalled shared libraries" func_warning "\`$output' will be relinked during installation" else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$ECHO "$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 if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save $symfileobj" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then func_append oldobjs " $symfileobj" fi fi addlibs="$old_convenience" fi 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 "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" 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 "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name="$func_basename_result" 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 "x$bindir" != x ; 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$TIMESTAMP) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that can not go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } { test "$opt_mode" = link || test "$opt_mode" = relink; } && func_mode_link ${1+"$@"} # func_mode_uninstall arg... func_mode_uninstall () { $opt_debug RM="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) func_append RM " $arg"; rmforce=yes ;; -*) 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 "X$dir" = X.; then odir="$objdir" else odir="$dir/$objdir" fi func_basename "$file" name="$func_basename_result" test "$opt_mode" = uninstall && odir="$dir" # Remember odir for removal later, being careful to avoid duplicates if test "$opt_mode" = clean; 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 test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do 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" 'test "$rmforce" = yes || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then 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 "$non_pic_object" != none; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test "$opt_mode" = clean ; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe 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 "$fast_install" = yes && 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 } { test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && func_mode_uninstall ${1+"$@"} 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 # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: # vi:sw=2 sinfo-0.0.48/html/0000755000175000017500000000000012444035677010702 500000000000000sinfo-0.0.48/html/work2.jpg0000644000175000017500000025712011356411374012370 00000000000000ÿØÿàJFIFJKÿþCreated with The GIMPÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÂ4"ÿÄÿÄÿÚ Ò‹Ÿ:{ YvËs}›\Øë'³C¸,œºººººººººººººººººººººººº¶ŘºóǦê_ n¥ÝIëÏ%>öI]é³L´ÖŒöæ¡ãÞÀx÷°äò+Z– 6¶y z±L¦Ü®e¤Ô1פ3^°y4ÚF;Jcè¬U¡M¡pÃiW*¶¬uë<¹b¹žÐÐ<úK7¦Œó¯`<{ØöCÇ|öCÂñêø<ã±+—ôW/OSDcúhåç>Ÿ6;ZgÆj#Ç7Â\W®h*Ú 7˜úDÞoÒfSŸlüË ]Kó>r/O\ÅküˆÄ—Ò}™óQoŒVÍØ).çs8mŒ—¥â#ÌK©<Î$^‡“Bì°jÚMFÖµÍáG©+9èëžy$êj¥‹o£4ºÍ¸d×ëP«z¾y­^öirL}Bnªä›mBW¹…ªõd(Ú‡£Bl›G5îW:›@gõxQ^m #ò ùí¼O¶:Þ|ŽJ·†´˜ç[:¹$%ìT}Å“ž‰´<î±qO4ÞaÜ4<žƒ!´(I‡•Ïmâ}°£z© 3gš•oS:’9dêÁ“zëTîóö3HùæAÌÓJ5sR¤2ÓH\R©3ôŠqØŒ°ŽC«UmfæÔÑÈ #ò ùí¼O¶ûÏ´³Nºª=3ÏÆzJ²f•ö¦„Á«©T¹¡`2ãÔ1z¯h’n-BHä<¨>S¹oEq8܃L{Du|ëÞgÌZC†z$y梀ôYµéåx×ç–†æn÷O>¯4í_§]S°t¼)ó×D}.]tsÏ=®FUs1Ï2ú¹D&¢Zæð£Ô•ΜôuÍ̲Ç]gšV(Þ(I‡•Ïaãý±^®–YÕY£9µ±=õ$%‰*òl9<ï'¤aì<üf÷8÷ŒûRQ59«r¾¦YÕŠºBÆ eêpèhcìÕ¼(Éh!˜Q^¶-[C? XtLÚš:¬:­ ¡$rT=·‰öÃ'[Ï‘ÉVðÖ“4cÎënä–7°lÙ:ÃÍÜt\µçu‹Š¸§¤dÌh<¾‘¬óû€BHä<¨>{oí…ÕHa›<ÔÏÔ¦W½‡2u1›r‚KYú|ýŒÒ>kÌM¬Sj4%èítgõ†€*IŸ¤SŽÄe„rZ«h§5~K+Ø„‘ÈyP|öÞ'Û }çÚÙä}Q©‡\ô™óS#ԛΜչhhXÍ9gíüÇ ¡VÖ)ê,U´$ŽCʃæV­½5Ä“_žñ‡­Î³+ôŸ!érÍ¥|ÜöÚsŽm!„¸¯\ÐU´¶‹ ]Bo=ès«Óƶ¹ËçáK©}O9§®bµþDbKé>Ìù¨·Æ+fìG”—säÎç4îlÞêäeW3ó «”Bj%®o =I\éÏG\ÚÇ/uc$Ò±FñBHä<¨>{튵ô²ÎªÍͨŊ}tršåxö ˜w2K–¼ì&ã.ÑΖ>ÑÖlp‘ÍÀ±—±Fâ¼ÑÌMÖoExíLWØó~ˆ£G¡sL“Z;¼U›á3C$Ö§&y"‹ÝS¢isWPÁÒ‡P›7Hg´[ABHä<¨>{oí†N·Ÿ#’­á­&6Ç›ô‡¹$%ì¬?P1ùë¢Åï;¬\fÕ73/¤k<þÁ`P’9*žÛÄûaFõRfÏ5(éS+ÜæC™:èϽVÁÕªw ùû¤|ò&§¥–jGÍsJRý$.© Ô™úE8ìFXG!Õª¶Š3s jhä„‘ÈyP|öÞ'Û }çÞ€`õ¹Žl<ÿ'¢£c4ZhÏ?Vô%í —¡“_®K•ëÜ4-U´$ŽCʃæV­½5Ä“f¯xɃÖçY›ú7ô¹fÒ¾>{zyæ¢KŠõÍ[AFÑ#.ñ7›ô™”çãÛ?2ã—RüÏœ‹Ó×1Zÿ"1%ôŸf|Ô[ã³v#ÊK¹ÜÎ[cRì½êÛUÌÖ·<È#ê嚉k›ÂRW:sÑ×<òIÔÕK(Þ3䇣Íç°ñþ؆ž–YÕY£9µ± }õ$$ÕïW9‡pUµ‡\ÚbôœÕ7(Þóäss`¹b¬&•ù‹Ôô)—ºÍ«Vå‚,[Ê7²K ¹ÍŒµ×XfÇ\ÌtËÚ2d«1¥ÍKÐò#S<¹ÕáExU´$ŽCʃç¶ñ>Ødëyò9*ÞÒa“ly¿Hxû’BXÞÁ°ZòþÐbôè¹kÎëðšÌY f' `Èm G!åAóÛxŸl(ÞªC Ùæ¥*e{œÈs']÷¨Ü:µNá_?c4šóG¡ŠkF®jC$ÆZi €ªBu&~‘N;–Èuj­¢ŒÜÂZš9¡$rT=·‰öÃ`y÷ =nc›?Éè¨ØÍ!Øš® ëBÀËxÍŽ1rjõÍé(Þ G!åAó+VÞšâI³W¼dÁës¬£úŒõ9fÒ¾~{l#Ï5Â\W®h*Ú 7zÇÔ&ó^—:½{íˆiéeUš3›Q‰!tF± bªAà«k¹µÎÆ\Ú£{Ï‘Í͂劰šTsæ/SЦ^ë6B­[–odØèd–,,s›k®°Í޹˜¬ý£&J³\Ñ„½"8õ3ÍÈfW…[ABHä<¨>{oí†N·Ÿ#’­á­&6Ç›ô‡¹$%ìT}Å“ž‰´<î±qO4ÞaÚ4˜<žƒ!´(I‡•Ïmâ}°£z© 3gš”t©•îs!ÌtfèfèZ§p¯Ÿ±šGÍy‰#ÐÃ6#FhG'FL’L\R©3ôŠqØŒ°ŽC«Um܉-G $ŽCʃç¶ñ>Øcì>ôLþªÈz& ÖQW+ìMçNjÜ象c$ê8ôŒÙªÂhC6)é.U´$ŽCʃåÖôWϽ=Q›ê+Üã;lù±ÚÒSYy¨†`ç}mzy6¹ËçýÜÍÞÓ¢¯7+ߤ}sÉÒð§Ï]ô¸Qup§Ï=®FUs1Ï2ú¹D&¢Zæð£Ô•ΜôuͬSC©+–,Q¼P’9*žÃÇûbzYgUfŒæÔbhyèç©!.MŸ!¤ÍÌo0ã=£b®=¢>¨úBìZæµ­ìW°Xæ¿"­y س#ç@£% †aExfØ´m þt€aÐ3h~€Ïêð«h(I‡•Ïmâ}°ÉÖóärU¼5¤Í#ØóºÇ›¹$%ì·›ôƒè¹kÎëqOHɘÐy}#Yçö „‘ÈyP|öÞ'Û 7ªÃ6y©Ÿ©L¯z9dêC7B¼‡V³ô ùû¤|Ó¼u¬ÓJ4%èntgÉÈÐR©3ôŠqØŒ°ŽC«UmzꩨŽ@(I‡•Ïmâ}°ÇØ}è[˜æÃÏòz,ù© ¡0jÞŒ¹¡c4åŸè ^«Ú$§'&ÅŒÝ ¡$rT2u­é® ˆ{Æ?£ù-'Ð3æÅkJôÍE|Ói %Åzæ‚­ £1a‹¨Mæý&e9øöÏ̸þîfïjÙW›Pߤ}sÉÒð§Ï]ô¸QMÑ<ô:¹UÌÇ<È#ê嚉k›ÂRW:sÑ×<òIÔÕK(Þ(I™˜øÃÇûbºgUfŒæÔbH]¦„±FÇG0î ý ºeé±d4.WªlUÇ´GÕ_@S½‹\Ö«Í¢½Šö ×äU¯1¡{cB¿:-3 +Ã6Å «hg󤫀ɛ@gõxQ^mo5x2ßÛyMƒO'¯¦t–ú+lPkf +š"¦ö`â­ÑRiE›YƒM˜4ÙƒM˜4ÙƒM˜4ÙƒM˜4ÙƒM˜4ÙƒM˜4ÙƒM˜4ÙƒM˜4ÙƒM˜4ÙƒM˜1µ%팭ŽÞ*pf¤N € žÁÿÄ-%345"#@P !$021ÿÚ¯%”GÝ“^œO—ˆ*“'‹S8µ2+TœâÔÀE3-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-LâÔÎ-Lé’áŽm"b"¡%$ -?w—cŽVŸŸ»Ë±Ç+O‚‹OÝåØã•§ÁE§îòìqÊÓà¢Ó÷yv8åiðQiû¼»zïdVÞ={ìÓ/fo½öi—³7^û4Ëٛǯ}šeìÍãÖ¶ö;§ó-}]aÓsÊÒÃu ± a²]- U8«L9µâaâVmÙãÛñ“- ¡â 90›JŒ'O6¿Œ„¥B… ˜&µ›pW{›`6×¾£bm®3”;œ¬S!¡Êüë¾_Ø=ÉËX™ ˆkÓ¾%&Ö¥Ù5*Y“©R2Fæ±²,BÄÅ‘Á*xn& lÖe¹éêWMRÍQ©øÄHDا…ï. ŒK—c+6Z2úñ1.Pª¶Ò¬©pÌV0C+¯ÉEa±Œ€F¤‚õ.вxUBqHcœ[WKª‹±Û@Å* ^øë“@m@Ñja\j쀲¶0 Ë2­å ÔÐYWãiŽ/ï↙¯…T'€G`÷'-ýb>gk q<ëµ¶»ê)Ëy6k20BÊ弚ÚÒü¶¤X¬×U1µÙTÚ·O|(鸥ôžÅÖ­5Øõ¿†íSIÓ‰ ©]"”•'í ,Y‡â±r`l5i^Òã§ïVY†YCÆôÝjZAYj ›E‡‰FË­-Í]ŠkÒ—Y[˜À[¹Wo¬ÅÙ6BŽ/MFqŽ3…;ÕkMi5º,WCRïüÜœ·õˆù¬aÂw™°â“acgÁ4DcµŠïšÍä)²s¯kÚ‘q‚f#¨ËNÝz0cCúÐ÷'-ýb>gkNpÜmâX‹11㤥œ¸sVÛ.¤/°gRë!qq†õÜ–Yì˲©;ÑæŸìM³nÉL,žõ‰ZhÍv‘»Q æ@:ô–6ü¬ÿ¤rrßÖ#ævtÄ7Uc62£•U€ÔCR6yH Åa-H7ñ€Vr”A SŠn²ÁBA€Hš5Q›•†õóZ¬U—¬ËBëé  ãO$,»1²¶Å…“yiÓ]ÑaGsN.øørd-%ŒCÆÀ`Ù‚kY· d4?Šä忬GÌìÔîŸ5¦’IH¡gKpÊ’ÈJ¨˜ÂŠ,ÌÀ‹YU™±2õ ÖÎÃNNé‰p S6ÞaµÇ¦pu­t¨ÅE©ˆ!*¿ «÷jwOˆ×ÓT¬JE âþù¢œHñŠÁ…ƒ! Ó ‡ñCÜœ·õˆù­Vsrµ/Ï‚qÓlReƒU# ÝÞñ¶E bx-ð:Î]eV`^Nì†-n ‹C¤¡Ñoæ»Æ4’ÍÔÿHä忬GÌìéˆnªÆleG*«¨ÿ“ƈU+AjA¿Œ¹ÛQ¥8†îŽ  DÔ ªŒÜ¬7¯4V µ^^°iÛFÌ)'’˜D*Åv¼+wcem‹ &òÓ¦»¢ÂŽæœ]ñðäÈZK‡€Å¿rà 3z¿ñCÜœ·õˆùšÓâ´Ò@)),énRY UQE“1X>†Uõµ ³°ÓUŠUËyŽÑ -“¬ k6œ€öæ xõï³L½™¼z÷Ù¦^ÌÞ={ìÓ/fo½öi—³7^û4Ëٛǯ}šeìÍã×¾Í2öfñë[û¹9oëó#¥¥“k§$úr% éªO¡é§!âV\f æŸ|tÅÓÒ£“ ´¨ÂpókøÃÄ¬å« ¯fÍx¼[J90Ë*‘Õ 5:xÖŽ•X„úmU ºmcÇRª¢I›~QWO”VÎ#¡EXt©„ùM}MéhZkôä>ºï]òþÆbµ•ÅBaj(°²j6ÌZ͸+½Í° ›kß Q±6×e¡cÔF` Z×x˜êï—örrßÖ#æBâô ÇBTMj]“R¥™:•# „nk"HZ¬fêЧÄmTLÑY:zz¤ÓT³…YÇWÞÍ’ßj¥©p¥xþMbZ®5i†Ð¬ddëDx Ä•_Ðýˆ(®¥1ná4öVøq&`F\·äšD›Z')ìvjáÉ•¦àmD4ЇÕ1‹ŽR„ «+Ö†E…“MêZl@K¸Ë!«5>+¦gkNpÜmâX‹11ã¥Çc ¶U_ö ê]d..0Þ»’Ë=™vU'z"|Óý‰¶mÜ—xâ9±eŒY.û„ù¿šïÒK7Sý {“–þ±3³¦!º«±•ª¬ f°Y)£7«UH7ñ€Vr”A SŠn²ÁBA€Hš5Q›•†õæŠÕ®‰Ä½`Ó¶˜RO `¹\)˜Ç…~ìl­±adÞZt×tXQÜÓ‹¾>€™ Icñ°6`šÖm™ ⇹9oëó;5;§Ä i¤€RR(YÒÜ2¤²ª&0¢‹-p&ÇlìL½Bµ³°ÓSºb\å¼Çkf›¨YML¦ „ªþ‚¬Ý©Ý> k_MR±)/‹ûæˆq#Æ+bJ „4+L$VÅrrßÖ#ævµYÍÊÔ¿> ÇM±I– TŒ/w´àŠG¶Ð–'‚߬åÖUfäîÈ`-ܤ%«©ÂxæÓ"çÄ×*OôáîN[úÄ|Ïò^Þãü?~ëcRhŽžÇ¯muq0×v´ &-Œºc.»aöÅö9JMyd×þœ=ÉËX™d¥{îÈ R › çCš©þWs¢´ø(´ýÞ]Ž9Z|Z~ï.Ç­> -?w—cŽVŸŸ»Ë±Ç+O‚‹OÝåØã•§ÁE§îòìq뽑[xõï³L½™¼z÷Ù¦^ÌÞ={ìÓ/fo½öi—³7^û4Ëٛǯ}šeìÍãÖ¶ös-ýb>dt´²lô±Ð4RÊŒéªO¡é§!âV\f .¥¡&bµ•¹QÉ„ÚTa8yµüaâVqÖaDf+_.a 90ËuÓc8Td¦­9©ÓÆ´tªÄ'Ój¨UÓk:•UÒLÛòŠº|¢¶pè‰ *Ã¥L'ÊkêoLª _MªàâVÝ­Ó뼡BŒÅk+Š„2ÂÔQadÔ ¢#¬W|Öo!M“˜ífKãÂf#¨“bÒ+ÁŠ­rrßÖ#æv´ç ÆÞ%X³:\v0ÛeUð_`Î¥ÖBâã ë¹,³Ù—eRw¢'Í?Ø›fÝÓjéÙy¬ùF'JÁ¾mØzˆo2פ±·ågý {“–þ±3³¦!º«±•ª¬ f°Y)£7«UH7ñ€Vr”A SŠn²ÁBA€Hš5Q›•†õóZ¬U—¬6Ð Ò Æ$žHYvcem‹ &òÓ¦»¢ÂŽæœ]ñðäÈZK‡€Á³Ö³nÈh=ÉËX™Ù©Ý> kM$’‘BΖá•%•Q1…Yk0Ó¬s±2õ ÖÎÃNV)V<G-šMDªR³¬ k¥lRX,LÄ•_ÐU€ûµ;§Ä kéªV%"…ñ|ÑÎ$xÅ`ŒB‰A€†…i„€ Ãø¡îN[úÄ|ÎÖ«9¹Z—çÁ8é¶)2Áª‘…îö“¼Cq- bx-ð:Î]eV`^Nì……¸žLm&¤Í/ÕP«nZÚv ×ý8{“–þ±3ü‡—·¸ÿߺØÔš#§³`å |eX†0»Z“,ÉV6Úá·$ `[­.MZ†lGôáîN[úÄ|È›%+ßv@Z\Ødo8±Np?ÿS`D@ŽuaÜÀÞˆÖý©—nľs[ö¦]»ùÁß#‰l‡ïÁß#‰l‡ïÁß#‰l‡ïÁß#‰l‡ïÁß#‰l‡ïÁß#‰l…v5u·^û4Ëٛǯ}šeìÍã×¾Í2öfñëßf™{3xõ­„}ƒÜœ·õˆù‘ÒÒɳÒÇ@ÑK*3¦¨=>„dT¢¼‡‰Yq’ÖWJf+_.a 90›JŒ'O6¿ŒgkØpæC¬8¤ØXÙðMíb»æ³y lœÇkÚö¤\`™ˆê2Ó·^ŒÐþ´=ÉËX™ÚÓœ7x–bÌLxéqØÃm•WÁ}ƒ:—Y ‹Œ7®ä²Ïf]•IÞˆŸ4ÿbm›vJad÷¬y&Ëõw'-Øzˆo2פ±·ågý {“–þ±3³¦!º«±•ª¬ f°Y)£7«UH7ñ€Ví5€…)Å7Y`¡ À$M@š¨ÍÊÃzù€-V*€Ö-å¡u´ƒ’¸Ê‘¬žHYvcem‹ &òÓ¦»¢ÂŽæœ]ñðäÈZK‡€Å¿rÅ—ì.»¹ þ({“–þ±3³Sº|@ÖšH%"…-Ã*K!*¢c (²×a¤¢nÄËÔ+[; 8X¥XðA¶i50)BN°5¬…¸TPi1Ö¾)Åb¬Ý©Ý> k_MR±)/‹ûæˆq#Æ+bJ ò6V†@aüP÷'-ýb>gkUœÜ­KóàœtÛ™`ÕHÂ÷{IÞ¡¸–„±<øg.²«0/'vBÂÜO ¦6“Rfºª˜×ãÉ\Ÿ#•TH©ý8{“–þ±3ü,›B ·µ0îŠ\ œ:lØ»Ti¦RY5$®#þE]O#·RT_­ÓfLj“-€¼ˆ¡¹lʼ™'úp÷'-ýb>`™ÅÍ’®óËb®˜,ðþU–±¶Rqiû½6ˉRöfñëßf™{3xõï³L½™¼z÷Ù¦^ÌÞ={ìÓ/fo½öi—³7^û4Ëٛǯ}šeìÍã×¾Í2öfñëßf™{3xõï³L½™¼z÷Ù¦^ÌÞ=ka`÷'-ýb>dt´²lt±ÛMÅwôšºkš<Úñ0ñ+6_°¸½ Åk+r£“ü­%m>")«@ JUâu Α®Ýõ:Ì(†ÁŽÓiQ‡ak#²9iüjùÊüë¾_ØÌV²¸¨C,-EMCÆÀ`Ù‚kY·w¹¶“m{áj6&Úã ´.:â–o'•ù×|¿°{“–þ±2ÖàèJ‰­K²jT³'R¤dÏÛ‚Ep-A7ApÕh†„·ÿ€ $µgÓëFE´Dx YV)Zë»bÔ¦-ÀÜe…¨¦ï YÆ‘ÊÂy ”2pª„âìÕÃ’ê¢ì*Ú‰tR»(Q(2Э0’¤¢îÔîœTtÐYWãiŒâDÇc ¨N)ŽÁîN[úÄ|ÎÖây×klwÔS–òlÖd`…•!Ëy5µ¥ø!mHrÞMÓ í=4ÍÅM¯²úZ¦µCƒ£U•ŠÕf6Ãé=‹š?³Ë´c­cYñ‘ÓO“•”Å媒æ=§U&¢r_->œÂ7Ð"Åtñ‚*웓µü ÷'-ýb>gkØpæC¬8¤ØXÙðMíb»æ³y lœÇ{ÈÕ`¼¢lZEx1Oõ¡îN[úÄ|ÎÖœá¸Ûİ+bcÇL5±`¦ß…R“@¾ÁK¬…ÅÆ×rYg³.ʤïDOš±6Í·øèN„ƒÎlYcK¾á>oæ»Æ4’ÍÔÿHä忬GÌìéˆnªÆleG*«¨ÿ“ƈU+AjA¿Œ³”¢6Ô]»êÁBA€Hš5Q›•†õæŠÔ«ÀKÖ ;hÙ…$ðÖ •™„ØK{1²¶Å…“yiÓ]ÑaGsN.øørd-%ŒCÆÀ`Ù‚m§ñ«ÿ=ÉËX™Ù©Ý> kM$’‘BΖá•%•Q1…YkA x¢Y²{õ× .ÃNVªÔ˜¦m¼ÃkLàëZݦ{sBUC+K'³Sº|@Ö¾š¥bR(_÷Í<âGŒVÄ(”oЍ ˆ=ÉËX™ÚÕg7+Rüø'6Å&X5R0½Þâõ™]ŽÆ„±<øg.²«0/'vBÊÜÆ-n ‹C¤¡Ñ`ºËSÒZaóa|†H“ þWs¢´ø(´ýÞ›eÄ©{3xõï³L½™¼z÷Ù¦^ÌÞ={ìÓ/fo½öi—³7^û4Ëٛǯ}šeìÍã×¾Í2öfñëßf™{3xõï³L½™¼z÷Ù¦^ÌÞ={ìÓ/foµ°°{“–þ±2:ZY6:j²(¦úZšqV˜skÄÃĬ¸Ékš¥ìÙ¯‹iG&iQ„à æ×ñ‡‰YÇÙ„ËÙ³^/ÒŽL2ÝtØÎ)«@ JUâu ˜­jn²u˜Q ‚+¦Ò£ÂÖGdq¬Û…2¯Î»åýŒÅk+Š„2ÂÔQadÔv[¯Y²[ü1,RáJÇ€ $µgÓëFE´Dx XA`€9؆Eu)‹p7aj)¤;ÃCVq¤cÇòbáƒ5ðª„âìÕÃ’ê¢ì*Ú‰tR»(Q(2Э0’¤¢îÔîœTtÐYWãiŽ/ï↙¯…T'€Ghh›X™ÚÂÜO:ím€®úŠrÞMšÌŒ²¤9o&¶´¿-©]†—9}.7Å FîžÓSh°ñ(ÙuªÌm‡Ò{4gÀÔ1Ö±¬øÈéǧŠÉÊÊbòÕIsÓª“Q9/–ŸNaèbºxÁvMŠÉÚþQÕ‡¿€j<:Z>gkØpæC¬8¤ØX~ßO˜ØËß5›ÈSdæ;u(ÕFÞû£h<È›‘^ Sý=…™VZN¬[®"Ë )Y–Þ§â5+LÛúÊà:y%œ’ÕÉ,‡éÎIg$³’YÉ,ä–rK9%œ’ÎIg$³’YÉ,ä–rK9%œ’ÎIg$³’YÉ,ä–rK9%œ’ÎIg$³’YÉ,ä–rK9%œ’ÎIg$³’YÉ,ä–rK9%œ’ÎIg$³’YÉ,ä–rK9%œ’ÎIg$³’YÉ,ä–rK9%œ’ÎIg$³’XZXZ—¼"ƒ:„3ͬç›ÙÏ6³žmg<ÚÎyµœók9æÖsͬç›YÏ6³žmg<ÚÎyµœók9æÖsͬç›YÏ6³žmg<ÚÎyµœók9æÖsͬç›YÏ6³žmg<ÚÎyµœók9æÖsͬç›YÏ6³žmg<ÚÎyµœók9æÖsͬç›YÏ6³žmg<ÚÎyµœók9æÖsͬç›YÏ6³žmg<ÚÎyµœók9æÖsͬç›YÏ6³žmg<ÚÎyµœók9æösͬàß}“ÿÄ!0ðp!1`QÿÚ?þ˜é±7#E†‹ ,4Xh°Ña¢ÃE†‹ , ±ŸÄ™Žªd£4ÙuÑ•rŠýãü+MGã¬Á†.Ф£<²ê§)ɯ~M,4Xh°Ña¢ÃEŸf 1tX›Ž¢ÃE†‹ ,4Xh°Ña¢Â IüU˜0ÅÑT”g–r+9ò9œŠüŽE~G"¿#‘_‘ȯÈäWär+ò9ùŠü‰¼É¿‰3]4ÉFi²Ú§)ɯ~JÓQÃøë0%Óbn8F‹ ÓQÃþïÿÄ"!0pð`áÿÚ?ü'¢¤ÎGPŸAV²2ÌG…âf;\Ôæ§4¹©ÍNisSšœÒæ§58±hô—Õ/s¨§o牻Á)6-ŸNñê*_#¨O ŽE? ¯Q^Øø¼IÍNjsKšœÔæ—5?¥øõ/‘Ô'ÐG"ŸÐWu{càx™ŽÆ—59©Í.jsSš\Ôæ§-•ãÔT¾GPŸAŠAÈukcànða&a&c&2c&2c&2c&2G¤¨TT½Î¢ŸÐU¬¬– w‚i8‘h´úwQRùéÛøU¬Œ“áx™ŽÆ—-ŸÝÿÿÄL  !1A"Qa2q‘¡Ñð#4Br±²$Rbs’“¢ÁÂá@P 3C‚Òñ0Sc£â5ƒòÿÚ?“2g’µªXR”´ã†íñ~Á:?úÁn Áì´±ŸDx4‹ÿíˆPòiœ|؃O“oý˜ôY†#Ñd~E“øB=Gሩ<Af#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~E‘øb=GáˆôY†#Ñd~ŠSÁx1åd ¼Ñè¼îÿ>kÁF©RŠ1æ€ù4“€ ÝÛ‚pj”ø eÑ à,í†}Q=i‘&\ÉfÊBE°‰,ù:X}ÈôiÇÿæ`§’±&P¸ÂÐ0[‚žK˜S¥)µ©Ã8œ‘b¥! \^¹¿t*Ö%p…f–þa)8ÿr}Êø¢lÙ“ª”§¥5^&™3>(àhG˜‰ˆZ+^‰»bG:ÿXÒù1òm/£ÕÐ퇑ÂùÿAJ%ÖU),½Xô%~/ÿh4p®;ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{ãÐÿ2{âüÿþƒþQèü¿ý |À[ÿsÿ´zÿ/ÿhÑÿøõ>‹–íßþºoæï‰• "¤¨Ów±>Mû!ðC™’ô{4wëxRŒÇV•¼ŒIÑ å¥I,]ëØÜŸvøše> ÒÃ8(+YF©TÄ˸å`:·˜–™yd o^8ì³lÇ¢&=’*õI “Zç[l+K[¾*ÿü§Ýþâ%Kyâ–LÅQtÛÚ÷m¸Ä‰ë3¬•%’‘{†{YÀÝѯDKÇ“úç!L[ŠmQh&l•L %ÙWv>®W´p•µiX2”îÎsÄMš ‚„§Y%7mç‰Ú4­O+ÍR—Ö»þ‘>£4…ª¡aK0»ô7‡Ž•!jV¸ÊbobÍÍ@.’«ù½ÜÖ…ëð‚„» ʲŽâØtÿ3£5©k ¦øß„p2ÓH¨»ËÜnmnÌbmM&¾­ 1¤‚×<ž¸áBdÙŒ%… ˆEÁ»·Wó ¹6ÅAŒ*ä[‡0£˜Éœ¢t’”lJ™Ç­”H–´­æ(„²yú†ìº!j)˜H¨¬§ÖEé~»n°´ É|›`ëíË(U(bÒÈÂË(ê›#ˆŸ>‚”€æZ$© uâwóEA¼½G–I}ß@ásúBžQMÔ ÊV¿:°§w74*je ZV4³ ûáJTƒ;Q:!{)ËßÕÊñ,’D±>iÕ—¬ž]üYZ牙.š{ÁÄK§\í*ä[‡0”M¦\å(×$ªÄ©±Çñ"R¥”éRŠeó±;!blªŠ’IAäe| ^°WÁå"QšC£Èl,1¦• `4OHàÅSˆ›RØ»^›úÙ[º'-JYQJL‰[ÕíB*Z–sR‘I=¥$Šuþ²¬Ýž-oüÉú´CW³3â“~È|4|&}Z4.—7vóùüÊ÷Òlÿsg¶&,P䦻«f~çŠ|®s2 N}fï쉊\õÍš¬¬þâ?¢J¥©BÇÐ¥˜Äý(Rt³,­ ^–c‡õáK1‰úP¤éfXZ½,Çë–cô¡IÒ̰´)zYŽׄ ,Æ'éB“¥™`=hRô³?¯YŒOÒ…'K2ÀzÐ¥éf8^4³Ÿ¥ N–e€õ¡KÒÌpþ¼ if1?J,ËëB—¥˜áýx@ÒÌb~”):Y–Ö…/K1Ãúñ/ÌÍ›õNÝæòi¬3tß¶É's:;à|ÒqéE»`&šÃ7Mûaü’w3£¾Í'”[¶òi¬3tß¶É's:;à|ÒqéE»`&šÃ7Mûaü’w3£¾Í'”[¶òi¬3tß¶ RW/Úkõ)É&ÌÖÅ#êˆôN÷`ØY–>Ô|›r^[ߨ0©:^PŽS¯Önm‘¤O á$ŒÕ9€í V›„‰sTËi™’Û.Þh¨ðž”KÊÃ=½ÙŠR¾àÞt1™“à|dzŒ.C*¤¤(êÚBA+U7-‘;7D„èï0H6N=¶….’¦ÉÄÂÎŒ*†$Ë[¥ŽþjŠJw‘2奂TªK[|(t€H 'm%Ùð6öaÑ Ê©) :¶â:¤„&¹‡è§Çº bw˜L tg[F·§oñ”î;8¥¢q7,‘·?Òf(‚Á’ôݶ[Y+X SlÆíâ&¬VPQ N;ðí„}Î0ì…ÎQP`êVèT¥!H"åÀáîŽJÈ–šÔm¨Ÿ² 4SžêqÉÛãô-N³l´U°ÂÑ1ULÔ©tÚÛÚ ²U‘ %ß¡·àà‰Þp²50ì´U¬ûm*%e’›1=[¡*ÚÌ[Tˆ$"eÉJTÔ¡ˆìì‚4jJ:1Ï(«a…¡s”T:•º&©%E)C[Ÿ 7ÂBÊí|žËAHRëÁÛÎÐh*!”–â-”áÒi*(J¶¨cî=\Î:ÔiHÚa4IRªp=¡êøïn)HÍe»!Su)E=‡¯ÒLšŠ)NµÁ"ÝQ'”tª¤2OnÈž’”JMEG<{¢ƒ,‰Ç’‚v¾}ª*±ŽF ”’R“ô”1dèÊ@Ï~|Sý¿Ú8•ìÌø£äϱ‚°áña"µ"•Uªß¬H—6qZ‰4…6±Ç-® ­ Ò:9eµš&Ò]”Ç6UÎ~Ù„ÉQeLM Ù)ͽ£TxI`‹Ë8'Žèd.bÔ‘ÐbB<¦bQ(›ªîpÞ`¼ÙÚú‰–©d%ÃæÐõÌ^µÖmV΋¸hL¢£a±ØoØ"eKR”·IÕ`wTùŸ-Ф•+[[Ÿ 1$ôóA}dRË5†WÂ8ORu(ÈoÄê}‡ë †&«O2•¢‘ê侀‚l=Àx,;`l¦ÇöÂÕ?„¤¢µåB”—ÉaK»§ZvÞÛüg9“øBæVé&Q ìÖÜ|Z]i{$IÌçw?£Å ¬—!ôjkoÂB¡T«ž%ÍZL³^¨q³ZÖÀ¡SÍ@ Ð ê»sƉkRõÊÁPIbz3*a–™eÊR¼.b¦­Ab• „±¶ãU’ÉÖ(ù3ìGÀxåL•.Q ¹*Sb ñQ!’šÐ¢ìwe•÷GБ5FòÒ¦‰3*K¦êuî!°ßŠN¢•2[ý"øî¹ð/5I”…Ok<Òª»Wº$ÌD©.›©×¸†Ã|N­@Tƒ- "ý¾èš Ë˜Ú¨3û_ôÂTTŠN¹Õÿž8Ö+-HQSÔnïêà1Ç¿Œ­åƒZÕ]É»êó]üLûð:%©|”ÒÔÓQ'”÷ketnŸó;*.ø<5øN¢‘)*JT«z×~úPæÐ€8DÍê¨CßT[ÃB×\ÉÈR‚e’‡ÿv¨ÃÆq&bž¥ =šñ-U*1†ÃY½ÐƒÂYII*[ \ÚÍnx–R”¦M3*­MÉS>£UEE5±Ë¡²ÛÇ:©L’Rï¬Ý ÛQK67.A}ShO%î[2oµ„-(Ñ„‚ WêñÜe$–Õ£¸(ù3ìGÀxå¤ÊJ„íEÌONq¡¤œQbs¾l,LI5j”™f£²Øí퀩`9JiÁhá 2B ´©´ÝBÿñ…ª[S)<–!»<1ÙBY ÒºÁ´WH¬º-wþb‰>fïæÀA—¤¼êÔ¯Wn|a| ¡)4ë.›´) ABÅéÜpâ3) YÅA71çd!)*(2Òšœ‚Û/„iPéBÓNª5RÄ㳌 4Ó M°ÓƒD°¹2æÔ¶fÆ• rÊu‚R,œwsöÄâXhÐ ÔÇ Äɉr”k”ã¿ù‡ k¥‹§¾5I dš–ÄÄÔΩSJEBc[¶Û y PšÝ¿ËNî®Î9)¤1E.øYÿHÑ‚_ ˜wW²PjêÆ4‰f©@1wbÑÂ|Ùó2뽪ǺuÂ’KïÀZØá‚Ô$ %n\Œ3sÁZ€ )ÖKaÅM&’¢„«j†>ãÕÌჭF”¦*±ŽGúiþßíJöf|QògØ€ñÊUjNU0kÃÖº\¨!ð'·3yS¬Ò¤  Ž@o1B]œ›—ļM*Ÿ5¦¦… \/»|NH*N•4©¹ÉýÆ&)GI/F£×ß ›¦QIH^B ”@a R‹) –Š~¶î}ûâbÕ0ªZÓNˆ‹BU1%W-výxéÒÌp²°»8'·˜ R•ìqÇnˆÕš¢©J¯FöMOüÃéTf]Ëógœ%&a*œ F×ÖsϬ¨žóUç%ФZÂÿÌp…#„)+>eЂ/n¸I *Þ`¥@q&!V•¬6‘܈’lÊúã¥V¤èÕS¼=k¥Ê‚q;s0J «2€HlvÌÅ vrn_ð¹¦|ÓXb› _sç5k˜s%®†·´b[LX¢b¦er_¼Â.u&*`ç/ß+œ©¦¢]\Ußh™ñú˜¢dåÌUEIYÅ0ÃúiþßíJöf|QògØ€ñÎÑyÙZ3VX÷Âæ/2f©MÈsog6‰œ"EÓHÞ~‘ßááS](^ŒÏ­Ÿ9¢9Jp仇;ºràH­H¥Uj·ëdš&¡À Ì)sÐ.!hJŠ ’@PÊ'2$$L 1€gÚ³¾)Õ¤™,£Uu0|±ÙÍ œÈ Sæäö?i‡šÀ“`2÷ñ-z9BZƒYWÄ—Ã|Q.D™$Ì5%+gO;xÝ”ƒ.D€P\ùÃ~Vtýg‰êÑ%rÂtÈ:þ?މÁôŽ P ¨kŠE K ™°loý¢·ûG½™Ÿ|™ö#à?àá H$™j`9 ¹›CŠ•£ÖN.Ãg'n&ñ,%ÃòI«žV©É¾Ž=KTºœ®k"Œ9D¶ë‰IKJ‚œê‹¥oч\K{Y-¬øØlç0±­tžA¿D-¥„¦×L³,öŸwÄ¢ÊM$í‰ÓŠ&&BRô©óñÎwÅA¼½G–I}ß@ásúqšA&Ÿ4G¨½§ÆÝ·Q¶ÇìŽV”­µ]ûš‘îÎ&®QPBd…¥4r•{{­*s%KKèµYõC|?X[ªbåÙ•1—Ï!»ûLÿoöŽ%{3>(ù3ìGÀa —§)S» yÌÿä&Rç]Î#a;a-Ãçk®„\îïÿ¿éeÍR)I:§úĤyLçZ˜ÜÚÀþ°£åHJ¬Nmߤ̚]˜([­æ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°j’¹~Ó_¨ñOöÿhâW³3â“>Ä|'K ÊuúÍͲ+\ùê}W™5€Îå¢LÊç¥X…à§`E°;y¡KYd¤9‡¨óR_«¯¨ì†32|ŒQ…ÈeT”…[GšJT~²›ô„ù©aÐy‡Mù8[¶µ–JC˜URHRX©/‚N~=׊ŠJwŸøäÕ1hSŠïâ)Oá.Kjî-{n‚“Â'Ò€}ùnì‰Ó$ÔR‘R€Ohï€o}¢„¢]”¤‡YÄ?Õð"jT” ¥Ðº¯³Ñ ê…:–FÝ€ÚØÁ“¢67;¶øý qL¹i`•*’Öß*& Ö“wî1$¿:Y:‡·gS –uHç0&1†æ´0A)$¥'é(b;;:ÉÑ”žüø”µ–JC˜™5%Âàzù·Ã,¸Üû#F |0,z`­@ë%°â¦“IQBUµCqêæpÁÖ£JFÓ ¢J•SíWÇ{qJFk-Ù’›©J)ì=xF’`¤ÔQJu® ê‰<£¥U!’{vA¤rx˜*I(U'ÎÙóõy¡JBj½‹ÚX)I²îYíƒ>ç‚te g¿>)þßíJöf|QògØ€ÁXpø°5ŠT’éPÊ$ÊRË•”ŸYX¿ŽèWVi‚2ÚÍi.Êc›*ç?lÂd¨²¦&„l”æÞщª<$°E圿Çt)¬ª%'¨å –¹ÊN—WF,BÒ¹“Jf ¥Ê4f÷hp©Šr‰:Û/²öë„Ê*6†ý‚(Md¹£S[~n’áÈê·ø´5 %5Sº±J’]*B¹³®MT¹w*gï”MS˜9"ÏÙáIÒªYU‚ôKÌ*µÍ8{[!SfÍ™£C©Ÿ“k»bpDî&©4éW.’;ø›>k²Ø8#ë[W;Û² ò¢â¢IWliw)%'·ŠdÚªZÉ Ò×"&™š@8Ov¤/dHL¹ËBe¥Ä@YAÚ"NŽj¥¦Zœ¤züð«©.ìÇ’N$oñ™…Pà+-œK”§e¤¤´Mu):TÙ~ø«K0BTCkƒB§¤ ‹žH±;Ùà¥s•4ÔK«Š»í s>?SLœ¹Š¨©+8¦=`Ì×Þý½Ür•Z“£UL𙕯UEiKØïï֥땂 ’Äô6f$&TÃ-2Ë”¤ x"÷ØaUÌZÊ™Ék—6=q)Iœ¤)È´5¯H~I9Œó0ªe³Š·ûG½™Ÿ|™ö#਩s«ÿÄ|ŽZL¤¨NÔQ<ÄôçA¹Å';àøöÂÄÄ“V©I–j;-ŽÞØ –C”¦œŽWÁPjTÂŽS»û¢qD™T€ëNÞÅãBHK$@ÀwBø6Šé—E®ÿÌQ'ÌÝüØ$ps(Ìu½j*åùñ…ð‚„¤Ó¬ºnУªLÁNÜûøŒÄJBVqPMÌyÙJJŠ ´¦§ ¶ËáT:P´ÓªT±8ìÄã„ 4ÃASlôàДªR& Ц•áƒì;"X])“ˆÙlûbq,4hjc…ás®±+ZÉ¿8~txÚcJ¥ÌPK¨#>ý°§àéHRÕR çÕ–”=ÒšSê‚[ŽJiLQK¾Ò4`—ÃǦÕ씺±"YªP ]Ø´pŸ6|̺ïj±î‡B°¤’ûð¶8D Ÿõ ÇÃÅ [—# Æ\ðV€ Šu’ØqL•A\çt9rM‚F$Ĺ¬Õ¤)¿¦ŸíþÑįfgÅ&}ˆø¥V¤èÕS¼=k¥Ê‚q;s1§•1zÀ-*JÈäó%Ùɹ|KÄÒ©óZjhPÕÂû·Ä䂤éSJ›œŸÜb`R”t’ôj=}ð¹ºe”€%ä ©E„IQá3%Pá˜ÞÑ4®j•*b(Ñd!H *XJq2nØ[o:YŽVgã–óä̘B—P¬É¸·C{¡-2c¥jRSê½Þùâaë˜5¹R…Wí…)FyJ’]Z5[”ç u•Þj¼äº‹X_ù‰³åp‚"hÒ'q8uÂnM±Pc9ÄM”Ž4»*Ú¤ôBt¨ Pmrö㔪Ôª`ׇ­t¹PCàN'nf BÔfP ŽÀÙ˜¡.ÎMËâ^4Ïšk Sakî|áæ­sdµÃÖöŒKi‹LTÌ®K÷˜EΤÅLåûà¥s•4ÔK«ˆÎÓL/jlÍ}ÛãGÂåÅ^q")”†þš·ûG½™Ÿ|™ö#àLûððM2ŸHiaœ:&º®BnžkÙRUQ*’X!V8ì³l¿TO””L(R–§êŸ«úçl¡J—«)ÀÝ…½ñÁLÝ9)Q,UJYLíž4J}!A¥Žq4É–eÉ¥,(£Zïn®" ’°¯Qªr\ò½Ö¼p®¡"]ެ¢Ž†ýwî‰`ȱu©'g=ýü@*Q˜êÂ’ 71£¬êù“IM s–Cô æ™O¤4°Î&¥Aeš•¼î9–}\„LÓJÓJSްlFmº#„ÊUå§òˆ|ðÌB*Y¯Fäj©ýTûºð€f;ßÎ2ìþÑ?Ûý£‰^ÌÏŠ>LûðL±Ã'iM%œµÛ>‘/‡O¤ØUµÀÛõ„Uå³®ms°7°½âU<6q+P•É~—샣áÓ”BIg7oáú£„$ð™æd´\°.Þ¡’9Rž¬ >„é¦\ãT):Y–Ö…/K1Ãúð¥˜Äý(Rt³,­ ^–c‡õáK1‰úP¤éfXZ½,Çë–cô¡IÒ̰´)zYŽׄ ,Æ'éB“¥™`=hRô³?¯YŒOÒ‚<šk Ý7í‡òIÜÎŽø4œzQnØ#ɦ°ÍÓ~Ø$ÌèïóIÇ¥í‚<šk Ý7í‡òIÜÎŽø4œzQnØ#ɦ°ÍÓ~Ø$ÌèïóIÇ¥í‚<šk Ý7í‡òIÜÎŽø4œzQnØ#ɦ°ÍÓ~Ø$ÌèïóIÇ¥í‚<šk Ý7í‡òIÜÎŽø4œzQnØ#ɦ°ÍÓ~Ø5I\¿i¯Ôx§û´q+Ù™ñGÉŸb>@›Â ¹xºìÌÛ⩜#„)JÕLé¹l,ñ"µÌ('”ìK–RøW ¢V·/’ÑZgÏprå?3?ý‘J8o @åYMún=P¹ ª’£«h©±­T€"\ã)!*¿ùœ­”Úçª “ÄÒe$‰j¤”Lq¿!àóÅE%;ŽÈ™rÒÁ*U%­¾ º@$“Œ6’ìø û0è…ÈeT”…[q”KP6LbU³™5ž„•4-fZHKr–ÛmøEE%;ŽÎ)UM™-WJh,ùþsf.£zjbí{Zð²V°@.¦ÙÚÿÄMX¬¡¢œwáÛ :ûœaÙ œ¢ ÁԭЩJBEÊ-ÃÝ•‘-5¨ÛQ>dh¦=Ôã“·ÇèZfÙh«a…¢bª™¨ Réµ·´d«#@K¿Cn1ÁÁ¼ádjaÙh«YöÚ Š«U#Ýæ©$f›ƒl²…#F– Rl»–{`ϹàHïωKYd¤9‰“R\ >¯›|2ÉÛ-ϲ4`—ÃǦ ÐQN²[*i4•%[T1÷®g j4¤m0š$©U8Ðõ|w·¤f²Ý‰)º”¢žÃׄi& ME§Zà‘n¨“Ê:UR'·d)t•0vN&EC Vè8úÍõL%V¸}RâX)I²îYíƒ>ç‚te g¿>)þßíJöf|QògØ€ÁXpø°\ª¤‘‘‰2”²åD¥'ÖV/ãºÁU¤GG Œ¶³DÚK²˜æÊ¹ÏÛ0™*,©‰¡ [%9·´bj ,ygïñÝ …ÌB“º’: K„Ì—1nÕ5zÄÜx´,*tö˜(()| EzY³/Ê:µ6k»Ä´°p„¾f&LY*¬Cnp’¥kbKsá†$žžh/¬Š@f¢pÊøBæé”RR—âc1a$2’0Pñ²&,ÎYBÓN…NáÖ@º”¢Ø;aÏ× –—a ~¨ ­a•¨¤¦îÙZöx“çfQ¤Rçݪñ>rì•%UEŸìñ1)˜©fžRC‘9;̨ ÄÄ"jÒµ†Ò;‘ ”¢i×-ˆúÍ—ó¾ ò¢â¢IWliw)%'¶…(/’6Ää*˜§N´½S¹ØUÌùn‰†qÄÊ@:G½œ¨o쎢á1)zÇè/Ì: ©D1&”Í™-u[T¤àr#q‰IG š‘-EKdYW/Qk]áJTÙÌ€=RØŒó10È­Ÿ’æœK”§e¤¤´N(šZbDµì¿|U¥˜ !*!µ‡‡Á¡|&Ã\ m/l.©ë]$¨™©¤Ý Z ¥AÄ,%N´kd’sçñœ(¯„-a**TžmÝ- Q Uš¶\ÿß6q£¾=0©«XN&$U1iRTéJC¾W¶í8ÌPJV:¡Ýýñ¢™2r¼åB©ZÎ\òiö²Ž¡˜¹H–\¦Šjç ŬµAZBÎýM¨œ´„(©_]öÁyÓZô‡ä“˜Ï3 ¡ÀV[8§û´q+Ù™ñGÉŸb>Ç*d©rÉR˜›ØoЉ”Ö…c»,¯º8F„‰ª7–•0È „I˜‰R]7S¯q †øÔRu©’ßéÇuÏyªL¤*{Yæ•UØ:½Ñ&b%ItÝN½Ä6âuj¤hlí÷DÕ\ÆÕA˜÷Úÿ¦•éJªà1SìðÃŽªe¯U…éï4 *¯Î¾²œIܲ¯6f=……—ˆÙÉLI¢ƒ£õ••òKs Ò$-KrçM»bhVŽdõ¦Š•f Cá¼õÀ¬­€¼p«!(Ÿ*І/{·Odk(=ON”ßY­Ž[7À(˜)nSR\—úܬñÎ&ÊK:ÐR'J\© ©,wè›0Ò&!(¿%w¿n0”´¥KLÅ­•ëUU¿4*¢KkçÍãù ¡r›’f¹ßkˆš‰tQæÔO­¾&©2©ígšUW`ê÷D™ˆ•%Óu:÷ØoŠËRTõ»ú¸ qï-Àe¥X–%Ì%„–U,CÞÃ[!IµÃk+P•ÕF‘KÈÝÍóPªÚŒR¢)Fã¤q"šJÑ9s&Åêÿ”&©€Ü½6¥ÔK‡÷Ý„M”–u ¤< ™ªXR“uf Ų¼<ÆX äÅɶÌm²£jÛV¬<á(UAU¦ee\î"T¥*¥!  Q)çK¡Â®9WfúÑ=+Jf•&ÒÕ1Á;^Ý[¢B¥I4xë¶D6^+š”擤:£Ùlbd”ðn-jRØX;‡ÃÇdiAR’ZaÕbXá­Ž2Sµi)xAReŠô¦j†Dr›|$,GÖ«·üsý¿Ú8•ìÌø£äϱãd™€S©B*©[fÈœP^ó0k8î~†‰†Xš”2ióFø¾E²Ä{Þ8Kž…)W/U³·›YGTÙôBÊSC¶ ”P‘׉ßÍÄydi'2)ÚüuÄå©K*)@I‘+z½¨àUpŽåwóM]Ž!­ãŸˆ -޳ª›sÄ€PBô)›Ô^ÓÙÚ3»±ª£Z²(½#ÝÔvܬUJWÉ\¢§ÊéÎ…»ßƒÛûtÿoöŽ%{3>(ù3ìGÀxè–¥òSKSMDžSÝ­”MѺÌh쨻àpð×á:ˆ D¤©)R­ë]ú?ê@›DåI˜HJUsH@¶[ðÝŒps¤DºõØÒ/°cn)h:©T鈬6Íî„¢ÊJIRØRàÞÖksIJ”¥2i™UjnJ™ð’ª*)­Ž] –Þ9ÕJ`„’—}fènؘŠY±¹rÃê˜By/rÙÃ}¬!h)FŒ$j¿WŽéBJˆ*[#aÛÌRø’*ì´me©<ÒÞ·»ï™1US§h¤˜›¤T$¬Š°k¶à!2‚F”­I¤œÙùÚ$*bB§,%‚I.áܰ¶( (('"?²ÏöÿhâW³3â“>Ä|ŽZL¤¨NÔQ<ÄôçA¹Å';àøöÂÄÄ“V©I–j;-ŽÞØ –C”¦œ‰ë<2̤ÖfÑs‹û¢e2e#X£GŸ3x¼hl†JS€ÛÍ àÚ+¤V]»ÿ1DŸ3wó` ËÒ ^ujW«Ž·>0¾P”šu—MÚ… ¡bôî8qˆ”„¬â ›˜ó²”•iMNAm—Â4¨t¡i§U©bqÙ‰Æi†‚¦Ø éÁ¡)T¤LM+ÃØvB4ò¤T…/gmǨÄâXhÐ ÔÇ Âç]bVµ“~qßz$ý èñ´ÁŸ2jè–ëc‚wíÛ$¯ƒ¥$ë©ïŸgdP«-5-½DøœrSH"bŠ]ð³þ‘£¾=0î¯d ÕÕŒiÍR€bîÅ£„ù³æe×{Ut<ê…$—߀µ±Â%ÿ¨H>(Jܹf2ç‚´S¬–ÊšM%E VÕ }Ç«™ÃZ)LTcôÓý¿Ú8•ìÌø£äϱ㔪Ôª`ׇ­t¹PCàN'nf4ò¦/X¥I@€Þb„»97/‰xšU>kMM ¸_vøœT*iSs“ûŒL RŽ’^G¯¾7L¢’¼„·Ö,$û¡ Y)¯Uˆ)¨l#g~ø˜µL*–´Ó¢"ФL`IUË]¿^:t³,¬.Î Ç-æT¥g{qÄ[¢Ó&:V¥%>«Ýïž&¹ƒ[•(U~ØåL:WFßXÍõÎèásÈ •JÃTÞþøœ¤N›*bÒÈ5 p ûz¡$(«y‚•AĘ„MZV°ÚGr VI³+ëür•Z“£ULðõ®—*| ÄíÌÁ(Z‚¬Ê!±Ø3%Ùɹ|KÂæ™óMaŠl-}Ïœ<Õ®aÌ–¸bÞщm1b‰Š™•É~ó¹Ô˜©ƒœ¿|®r¦š‰uqW} dgÇêb‰“—1U%gÀJCé§û´q+Ù™ñGÉŸb>Ç;DQçehÍYcß ˜¼ Éš¥7!ͽœÚ&pP‰M#yúG‡…Mt¡z0>¶|äˆTå)Ã’îî6véÈ:‰]*zTHxR* 14,}¹äõ·†…¡*(*IC(œÈ‘0$hÆŸhnÎøT§V’d²TT ÔÁòÇg4.s %O›“Øý¦kM€ÈoßÅ\Ô ‡4!ÕËc BdI”JÕ¨•ãŸ/dš&¨e5 K{Lùì‰óQ"H&X ˜MÉßãøÖJk©ßL]XúÍ«ŽP¦{Ÿyÿ´OöÿhâW³3â“>Ä|üsfVëtK)`niý<^ .y”áæZã{9fbDõ™ÖJ’ÉH½Ã=¬ànè…k¤ò ú!m,%6ºe™`ÿ´ûû¸•£jÛV¬8d΂ÁU8%EZ£wŽˆÒèÊÉ–(J¤Tæö;1ÝÏÆiš|Ñ¢öŸvÝA ¥DYLírÐP]´lø$œvTã|L $¤¥³Aþ¸˜%&cR¦»jØòvï8âa[ªä&éæ±Ý‘„­_ö‰þßíJöf|QògØ€ÂeŽ;Ji,å®Ùôˆy|:}&­®߬"¯-sk€¹½…ï©á³‰Z€,®Kô¿dœ¢K9»Õ gÌ`YJ3ï˜NþÌ?¡J¥©BÇÐ¥˜Äý(Rt³,­ ^–c‡õáK1‰úP¤éfXZ½,Çë–cô¡IÒ̰´)zYŽׄ ,Æ'éB“¥™`=hRô³?¯YŒOÒ…'K2ÀzÐ¥éf8^4³Ÿ¥ N–e€õ¡KÒÌpþ¼Kó3fý`S·y‚<šk Ý7í‡òIÜÎŽø4œzQnØ#ɦ°ÍÓ~Ø$ÌèïóIÇ¥í‚<šk Ý7í‡òIÜÎŽø4œzQnØ#ɦ°ÍÓ~Ø$ÌèïóIÇ¥í‚<šk Ý7í‡òIÜÎŽø4œzQnØ#ɦ°ÍÓ~Ø$ÌèïóIÇ¥í‚<šk Ý7íƒT•ËöšýGŠ}‰×ý¢9*…{3>(ù3ìGÀ`ÈxA—/]‚¹›|é¦®ÚÆlæÕê‰ ›¥QÆ·Å‚rÂÂ*_ á4JÖåòZ+Lùî\§ægÿ£²)G á(«)¿MǪ!•RRum ¶5ª&b¥ kåb>­¯käÏ ZË%!Ì*©$),T—Á'?ëÅE%;ŽÈ™rÒÁ*U%­¾ º@$“Œ6’ìø û0è…ÈeT”…[qRB\ÃôSãÝ ZË%!Ì*eÒ¦!+zyö⢒Çg´N&å’6çúBR ÅX2^›¶Ëa %kêm˜Ý¯üDÕŠÊ*!)Ç~°“¯¹Æ¹Ê* JÝ ”¤)\¢Ø=ÑÉYÓZµàvAFŠ`SÝN9;|~…©Öm–ʶZ&*©š€•.›[{A–J²4»ô6ã;ÎF¦–еŸm  %D¬²Sf'«t%B»Y‹j‘„L¹)Jƒ:”1FIGF9å –ŽJp…-e’æ&MIp€ø¾mðË'n·>ÈÑ‚_ ˜+@PE:Él8©¤ÒTP•mPÇÜz¹œ0u¨Ò‘´Âh’¥Tà{CÕñÞÜR‘šËvB$¦êRŠ{^¤˜)5Rk‚Eº¢O(éUHdžÝ‘<)%(”šŠŽx÷EY%í|úTTcŒ0A)$¥'é(b;;:ÉÑ”žüø§áþf~ÈŒÕ öf|QògØ€ÁXpø°ÁjAÚ˜“)K.TJR}ebþ;¡\ZA¤trËk4M¤»)Žl«œý³ ’¢Ê˜š²S›{F&¨ð’Á–pNÿÐÈ\Ä);©# Ä© šuÉÔÿÔ̼-+™4¦` J\£Fov‡ ˜¡W(“­²û/n¸V’”¥Þ‚}Â'¼ÂµÒËM…Žð’¥kbKsá†$žžh/¬Š@f¢pÊøBæé”RR—âu>Ãõ†ÃJæ©R¦"BKZ°Ø,…¹Þ(¨Ølvö*Ô¥"…Y@\"PTÙ¬5áérîK:yí„NHz–“S j¾:Íöç!4Ê\ÍT¨mhJI*8;AJ€ â LB&­+Xm#¹+$Ù•õÆøpµ™Ž«—bv>Æë:Ÿs&’\G^”:õ$2AÛ´n&&»Ëª¤ò‰g¹¬xhàÒÇ\°“Én^^õaêÛõY"ú¥!Ôû¡ •Â.\8°"øõZR©‰& ,@ ̧ó¾3X âÀ–êñÙAÛxh\¥;-%%¢r–µ$L@B›eðë„ÌLõÝ $qàå ž*.y"Äïg;9s]E‰y˜BVVj¤sìŠï´ ÌøýLV®©¢²S70_/„R]©Ûúû·DÄÖXuýXQršnªÁKuÇ œPº‰BCk[º,¹-Etú œ}ï9Ó±¤©.¢çs_<¢B$Íš‘/X¦TžV"ì-w…ÌTÕ¨,R¤–"öÃ|bª²Y:ÃgŽótsU-2Ôå#×ç…]Iwf<’q#ŒÌ*‡YlâŸíþÑįfgÅ&}ˆø©’¥Ê4%JblCa¾*$ RSZ]Žì²¾èá&¨ÞZTà 2&b%ItÝN½Ä6ãQIÔR¦K¤_×>æ©2©ígšUW`ê÷D™ˆ•%Óu:÷Øo‰Õ¨ e¡²_·ÝTsUcßkþ˜DºØ k(ëYº!kÑÊÔʾ$¾øæ5 Rªóáë¾]ùuY2¤ä˸•ke{ލP*d„êÙÀ+ й£„%§J…%És~‡í0ò@J‚…ñ;ùÇ„Ëe€êu”T£‹ØÛwÈB¥ÍRÂP¶ ^ÎÖåEÔ )§”uqûøç³|_›©Jåb÷jyÎ1%R‚I–º™E²#õŽ 0Ë•Tµ­l5­á¡@•­S*WÕUVí…L^$ÒÔ—(j»ûzÂH6g¾+š”擤:£ÙlaŠ%¡u—aäó·Ñ!(“-ªóšîÃõñÏõ$¢\ÄPîÿJìÛáj[ ˜5e}§Ýæ8 ¸Hœþ ¯ÍÔ¥r±{µ<ç€H/uöŒ"n’•-RhI'W^#©à­NWZ”5‰ÉÊ&ÊK:ÐR'hŠ<ì­«,{áS”§K¸s¸ÙÛ§!iYE ¨‘Ž~°°µžO)¶­eÇÖß“ÁYIZO‘&ßÄ%±ÖuSnxA 2–U&¡Ê|HÆ) q‚°0¡*LÓ0S0Ýê³µ¹QÁj•.iBÜ©G7mþ:§.\¹),cޱ|7ÄôªD¹“ŸZiU]¼a*L£Ç]²!°ÂðM~n¥+•‹Ý©ç8ĵ!Š¥ª¦%žÄ~±§¥ 4€ÂrÌO^?ãŸíþÑįfgÅ&}ˆø$ÌJUJØ{6Dâ‚÷˜ƒYÀÿsô4L2ÄÔ¡“Oš7Åò-–#ÞñÀª\ô)J¸ z­¼lزÊ:¦ÈÇ¢R𵢄޼Nþn#Ë#I9‘Nпã®'-JYQJL‰[ÕíG«„p‡+¿šjìq oü@IluTÛž$ªd—™äéJPd×pö',o‡(ù3ìGÀxè–¥òSKSMDžSÝ­”MѺÌh쨻àpð×á:ˆ D¤©)R­ë]ú?ê@›DåI˜HJUsH@¶[ðÝŒps¤DºõØÒ/°cn)h:©T鈬6Íî„¢ÊJIRØRàÞÖksIJ”¥2i™UjnJ™ð’ª*)­Ž] –Þ9ÕJ`„’—}fènؘŠY±¹rÃê˜By/rÙÃ}¬!h)FŒ$j¿WŽé«”@RRKœ­ ¥…¬ýO«ãhé%е”F°§>›}áÓ>·t®Â‚0Û'D òNµû!o/HÓ& 1¹!È Ì Ž J©T½g±©M³ÇD&Q˜B]t:º ÇþË?Ûý£‰^ÌÏŠ>Lûð9i2’¡;QDóÓœhiçXœïƒãÛ MZ¥&Y¨ì¶;{`*XRšp`Z'¬ðdË2“Y›EÎ/ɔPb|Íâñ¡²=)No4/ƒh®‘YtZïüÅ|ÍßÍ€"ƒ/H%yÕ©^®:ÜøÂøABRiÖ]7hR‚…‹Ó¸áÄf"R³Š‚ncÎÈBRTPe¥59¶_Ò¡Ò…¦Tj¥‰Çf' i¦ ›`'§‰areÍ©lÌ0;Œ!*å”ë¤Y8îçí‰Ä°Ñ ©Ž‰Ó’ä'YT¦ç~þxzºXºqásT–I©`1lLMLê•4¤T&1Õ»am°—• ­Ûü´îêìã’šARï…Ÿô%ðÀ±é‡u{%®¬cH–j”v-'ÍŸ3.»Ú¬{¡çP€ì)$¾ü­Ž('ýB@±ðñBVåÈÃ1—< (¢d¶TÒi*(J¶¨cî=\Î:ÔiHÚb û䦟íþÑįfgÅ&}ˆø¥V¤èÕS¼=k¥Ê‚q;s1§•1zÀ-*JÈäó%Ùɹ|KÄÒ©óZjhPÕÂû·Ä䂤éSJ›œŸÜb`R”t’ôj=}ð¹ºe”€%ä ¾±`É'ÝK¬8ÖÔ#Wëlû÷ÄŪaTµ¦… (ªcJ®ZíúñÓ¥˜áeavpN9o1.LÉ„)u*Ì›‹t7ºÓ&:V¥%>«Ýïž& ´Å>ºNaÊÖDÉoS` ZÇg)XÄ÷š¯9.…"ÖþblÉS¦1"]RÒTØ÷ÀRTT0u6‚•AĘ„MZV°ÚGr VI³+ëür•Z“£ULðõ®—*| ÄíÌÁ(Z‚¬Ê!±Ø3%Ùɹ|KÂæ™óMaŠl-}Ïœ<Õ®aÌ–¸bÞщm1b‰Š™•É~ó¹Ô˜©ƒœ¿|®r¦š‰uqW} dgÇêb‰“—1U%gÀJCé§û´q+Ù™ñGÉŸb>Ç;DQçehÍYcß ˜¼ Éš¥7!ͽœÚ&pP‰M#yúG‡…Mt¡z0>¶|äˆTå)Ã’îî6véÈ:‰]*zTHxL¥ÝÂGTdͲ|!hJŠ ’@PÊ'2$$L 1€gÚ³¾)Õ¤™,£Uu0|±ÙÍ œÈ Sæäö?i‡šÀ“`2÷Ä©’¥Ê4%JblCa¾+-HQSÔnïêà1Ǿ(R"i[I.û1-d-”ÒèZßôÏsá"©(J&J£J“¬|x֑ܵ5T¥Æ﹄¡’ÃûDÿoöŽ%{3>(ù3ìGÀÇ6en°WD²–æŸÓÅà²ç™Na•®1À7³–f$OYd©,”‹Ü3ÚÎîˆXÖºO ߢÒÂSk¦Y–ûO¿»‰bQe&’vÄéÅ!)z Ôùøç;â¤]dáBöžÎÑø “Oš#Ô^ÓãnÛÍ2ŸHiaœ) 'Jšç•¸äÀãÕ/BºªlT÷T°êŽ çyÅ8Õ "îÛš$#ΆJ’ êòSƒ¶?¬U1ª­bÛ”´OöÿhâW³3â“>Ä|,pÉÚSIg-vϤCËáÓé6mp6ýaylë›\ìÍì/x•O œJÔer_¥û èøtå’YÍÛø~¨Ð̘µÝœ­aÕôC¿ùФœˆx H â•-S)BÆÜ!HO ˜)²ŽÌýÏ XásÝnOkö@O–M¤ŽUËvÂÇ•M¨rSUÏo¹á+.aÛ­Éí~È òÉ´‘ʯùnØXò©µJj¹í÷<%†M¨„“s`[¾ ü¶m\ßw|'ç“]jd\ì{á(2mD$››ÝðWå³hæû»á?<šëS"ç`#ß @á“j!$ÜØï‚¿-›@7Ýß ùä×Z™;øJ ›Q &æÀ·|ùlÚ¹¾îøOÏ&ºÔȹØ÷ÂP8dÚˆI76»à¯ËfÐÍ÷wÂ~y5Ö¦EÎÀG¾Ã&ÔBI¹°-ß~[6€.o»¾%ù©³Ü=`ÔÁM5†n›öÃù$îgG|šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÃù$îgG|šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÁªJåûM~£Å?Ûý£‰^ÌÏŠ>Lûð2ÞeËÅ×`®fßzi«¶±›9µz¢B¦éBq­ñ`œ°°Š—¸Mµ¹|–ŠÓ>{ƒ—)ù™ÿèì‚‘ÂøBB“­vë·?Q…ÈeT”…[EIH>Ò©ž7D);WÊö>—fP¥¬²R¦P *b·§Ÿañ¾*))ÜvDË–– R©-mð ]Ò $œa´—gÀØoÙ‡D.C*¤¤(êۈ꒚梟è4€NOI”’%ª’Q1Æü‡ƒÏ”î;8¥U6dµ]) ³çúABxO 5“PKœÚöŠU¸M2ïƒl´Lá…p¥hÓr Û»²-?„Ò»‘S?#l0Zv¦$ÊRË•”ŸYX¿ŽèWVi‚2ÚÍi.Êc›*ç?lÂd¨²¦&„l”æÞщª<$°E圿Çt2fLAB‚¹,z”<4J~4MP¥<›ç³Å¢d¹“'ÍNF©d'7»C‰“ä¸3k»ˆL¢£a±ØoØ!as ¦LAtØjá~¸RJ•­‰-φ’zy ¾²)eš‰Ã+á ›¦QIH^C‰ÔûÖ LYœ²…¦ 2dÅœÉ,ìí‡;ÀB´”¥.ôîU©JE ²€¸8D ©³Xk‡CÒåÜ–tóÛœõ-&¦@Õ|u›íÎ4Bi”¹š©PÚД’Tpv‚•AĘ„MZV°ÚGr VI³+ëðák3W.Äì|ÿÖu>æL$¸Ž½(3uêHdƒ·hÜLMw—U!IåÏsXðÑÁ¥Ž¹a'’ܼ½ê0\€¥SrŸW§l&¹óuO›d‡M²l„ª_ ZS%æÌ·)ÝߥáiJ¦$š€±+2ÿÎø\Í`ƒ‹[«Çdmá¡r”ì´”–‰ÊZÔ‘1 m—î13×t€T’5ǃ”*z@¨¹ä‹½ž<ìåÍu$9æa§ªež„ô°Ûü–'L!J*)-ÜñZ¸R¦ŠÉLÜÁ|¼^]Iv¤;oëîÝXya×õaEÊiº«-×*qBê% ­nè²æ<µÓê‚q÷¼hçLZÆ’¤ºB‹Í|ò‰“6jD½b™RyX‹°µß‰‹‚.1$èæªZe©ÊG¯Ï º’îÌy$âFÿ˜U²ÙÅ?Ûý£‰^ÌÏŠ>Lûð9S%K”h.J”ÄØ†Ã|TH@¤¦´(»Ùe}ÑÂ4$MQ¼´©†@d"LÄJ’éº{ˆl7Æ¢“¨¥L–ÿH¾;®| ÍRe!SÚÏ4ª®ÁÕî‰3*K¦êuî!°ß«P ËCd¿oº&¨2æ6ª Ǿ×ý0‡Õ"“®uçŽõ8MQN³‚Ù¶í݃ŽcP•*¯>»åÑÏ—U“*@~L»€iV¶W¸ê…¦HN­œR°Ø š8IZt¨R\—7è~Ó$¬((_¿œ8xD¤”ŸX­ÈeãSg{·ÈB¥ÍRÂP¶ ^ÎÖåEÔ )§”uqûøç³|_›©Jåb÷jyÎ1%R‚I–º™E²#õŽ 0Ë•Tµ­l5­á¡@•­S*WÕUVí…L^$ÒÔ—(j»ûzÂH6g¾+š”擤:£ÙlaŠ%¡u—aäó·Ñ!(“-ªóšîÃõñÏõ$¢\ÄPîÿJìÛáj[ ˜5e}§Ýæ8 ¸Hœþ ¯ÍÔ¥r±{µ<ç€H/uöŒ"n’•-RhI'W^#©à­NWZ”5‰ÉÊ&ÊK:ÐR'hŠ<ì­«,{áS”§K¸s¸ÙÛ§!iYE ¨‘Ž~°°µžO)¶­eÇÖß“ÁYIZO‘&ßÄ%±ÖuSnxA 2–U&¡Ê|HÆ) q‚°0¡*LÓ0S0Ýê³µ¹QÁj•.iBÜ©G7mþ:§.\¹),cޱ|7ÄôªD¹“ŸZiU]¼a*L£Ç]²!°ÂðM~n¥+•‹Ý©ç8ĵ!Š¥ª¦%žÄ~±§¥ 4€ÂrÌO^?ãŸíþÑįfgÅ&}ˆø$ÌJUJØ{6Dâ‚÷˜ƒYÀÿsô4L2ÄÔ¡“Oš7Åò-–#ÞñÀª\ô)J¸ z­¼lزÊ:¦ÈÇ¢R𵢄޼Nþn#Ë#I9‘Nпã®'-JYQJL‰[ÕíG«„p‡+¿šjìq oüI¤:j× M›`ÆíhO›)44šl«Ý²³vŽyßç’JAg]!ø0#\¥Uº –Ž•¦• `7öéþßíJöf|QògØ€ñÑ-K䦖¦š‰<§»[(›£tÿ˜ÑØQwÀáá¯Âu‰IRR¥[Ö»ôÔ €6‰Ê“0”ªæl·á»á:çH‰u뱤_`ÆÜRÐuR©ÓXl5›ÝLûð9i2’¡;QDóÓœhiçXœïƒãÛ MZ¥&Y¨ì¶;{`*XRšp`Z'¬ðdË2“Y›EÎ/ɔPb|Íâñ¡²=)No4/ƒh®‘YtZïüÅ|ÍßÍ€!ÊLÄ¥U:Õr¬uGÒÇd/„%&eÓv…!H(X½;ŽFb%!+8¨&æ<ì„%%EZSS[eð*(ZiÕFªXœvbqBša ©¶zph–&\Ú–ÀLø¡.YN°JE“Žî~ØšTÃB‡*c`ê´=“‚S–íÛð‡ k¥‹§¾¡(UI¶W\OLÖ˜¾J•PPkêà7õÂ^BT$&·oòÓ»«³ŽJiLQK¾Ò4`—ÃǦÕ씺±"YªP ]Ø´pŸ6|̺ïj±î‡B°¤’ûð¶8D Ÿõ ÇÃÅ [—# Æ\ðV€ Šu’ØqL•A\çt0¹gQdŽscˆnkM?Ûý£‰^ÌÏŠ>Lûð9J­IѪ¦ xz×K•>âvæcO*bõ€ZT”‘È æ(K³“rø—‰¥Sæ´ÔС«…÷o‰ÉIÒ¦•79?¸ÄÀ¥(é%èÔzûástÊ))KÈ@+}bÁ’Oºß(Ÿ(Ò֗ɉtêÿ1j˜U-i§DE¡H *˜À’«–»~¼téf8YX]œŽ[ÌK“2a ]@`J³&âÝ î„´ÉŽ•©IOª÷{牂­1@O®“†Ø­fqJå½a 8Õ|>±‰ï5^r] E¬/üÇ T¾eª–=F¿ëRTT A 9‘QK†tâ!rSÂfK$²u9˜@¬“fW×øå*µ'Fª˜5áë].Tø‰Û™‚PµY”Cc°6f(K³“rø—…Í3æšÃØZûŸ8y«\Ù-pÄ5½£ÚbÅ3+’ýæs©1S9~ø)\åM5êâ3´Ó Ú›3_vøR ˜¥]œ@JCé§û´q+Ù™ñGÉŸb>Ç;DQçehÍYcß ˜¼ Éš¥7!ͽœÚ&pP‰M#yúG‡…Mt¡z0>¶|äˆTå)Ã’îî6véÈ:‰]*zTHxL¥ÝÂGTdͲ|!hJŠ ’@PÊ'2$$L 1€gÚ³¾)Õ¤™,£Uu0|±ÙÍ œÈ Sæäö?i‡šÀ“`2÷Ä©’¥Ê4%JblCa¾+-HQSÔnïêà1Ǿ(R"i[I.û1-LÅ&ZE[Èfèþ"z´I@\°2¿ã¡`Ï[i’Á9%¶7ý•)J©HHÿhŸíþÑįfgÅ&}ˆøøP©I+ÖºvØ·kBipô¸úŪÕ9S²´•LHM jO`…¢jŠÒšWyUK†¤b0„!Δ‚èz/kàœGU£„% ’e©€æ‰¡IJNÉh¥ ·ŸˆÐ¥ kXM%ˆúYäÛš'ð‚“H4¢U;²z±Ù²©oZÓ¨òù'kú¿ÇÔùÇ) \¶è®X]ÓælE ½Ï»o4Ê} A¥†q5* ,Ô¨ çqÈ ³êàü"f˜2VšRœuƒb3lmÑ ¦R¯-8'”Cç†bPšÈ˜ z7#UOê§Ýׄ1Þø†q—gö‰þßíJöf|Qòg؀ķáë ]6Òmé|ãL¾9 ¹ÄäG|%¸tíuQ.çc{c¾¡Âç(’ÎsËŸvȘ¥p…NI`*S·iþ‰&\Õ"”“ªq¸¬KA2øënxRt³,­¤Ìš]˜([­æ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°þI;™Ñßæ“J-Ûy4ÖºoÛ䓹ð>i8ô¢Ý°G“Ma›¦ý°j’¹~Ó_¨ñOöÿhâW³3â“>Ä| 7„rñuØ+™·Â•¦š¯¥¤œÁº·B랉s¬i™·“–õƒ6dÉ !æš|¦t×k-Ôz_Vèc3'ÀøÈõ\†UIHQÕ´0¹gQdŽsPY)ªeðNÑ·¨RÖY)aUI!Ib¤¾ 9ø÷^*))Üvã“TÅ¡NB(;¿ˆJk›1@°Õv»l¶²V°@.¦ÙÚÿÄN™&¢”Š”{G|{íMí°Etk(1ÜZ©! ®aú)ñîƒ'Dlnwmñúâ™rÒÁ*U%­¾ TMA¬&ïÜbH!~t²unÎ%Í ®ì8˜ ”’R“ô”1dèÊ@Ï~|JZË%!ÌLš’áð=|Ûá–NÜ n}‘£¾=0V€ Šu’ØqSI¤¨¡*Ú¡¸õs8`ëQ¥#i„Ñ%J©Àö‡«ã½¸¥#5–ì„IMÔ¥ö¼#I0Rj(¥:׋uDžQÒªÉ=»!K¤©ƒ²q0­YnXLówY·@[3øê†%$”¤ý% GggY:23ߟÿoöŽ%{3>(ù3ìGÀ`¬8|FØ`µ íLI”¥—*%)>²±Ю ­ Ò:9eµš&Ò]”Ç6UÎ~Ù„ÉQeLM Ù)ͽ£TxI`‹Ë8'ŽèÕRд¬GAé‰r”£RÞÏþfeü{ái\É¥3Rå3{´8TÅ ¹Dm—Ù{uÄ©ÝV@9Á–+â©K2èÖ ú1)I˜³/–—lËâCÄéŠd…¥UN«â]ž&K•1r–ØÒÄuÀNó F£v·^:T®<)Y­4”¾x˜f©tŠ©A5¬Â ò¢â¢IWliw)%'¶díÀ–çÙ&ÕRÔÖHn–¹3HÈ®@:GgĨoì‰ —9hL£qô¡¯ÕUj@U-q~s3QN¬5ùáWR]Ù$œHßã3 ¡ÀV[8—)NËIIhšêRt¨-²ýñV–`4„¨†Ö…OH<‘bw³ÁJç*i¨—WwÚ@æ|~¦(™9sQRVqLzÁ™¯½û{¸å*µ'Fª˜5á3+^ªŠÒ—°%ßß%­K×+A%‰èlÌHL©†Ze—)HüO¤^•ßKgîÌĪ'-! *W×}°«©.ìÇ’N$oñ™…Pà+-œSý¿Ú8•ìÌø£äϱã•2T¹F‚ä©LMˆl7ÅD„ JkB‹±Ý–WÝ#BDÕËJ˜dB$ÌD©.›©×¸†Ã|j):ŠTÉoô‹ãºçÀ¼Õ&R=¬óJªì^è“1¤ºn§^â ñ:µR ´6@‹öû¢jƒ.cj Ì{íÓ“1¤ºn§^â ða£BÕ1;\¿yð/Å<ªe–­g¾FÎß!lý:®„“__*ZQM4¦£þN7O^ì.uT«I0‡Mñ?—6‰•Ò¦d¤û7Dµ #S5n†÷RLº*˜ N& ¯ùA¥fZ5H§5¹|rê„ùÁ¤L€w€®Ç)?í…&× ¬BWgBªL³4«"9Fùöo‰ÅeaI ÞÊ©Eÿ0ŠF•­`›½Ob?ݶ]Á:B¾ÓIJ¦šÉ.ã}÷DéE(L£-’¼oÍ RØTÁ«+í>èRä($­!5}'uñŽké[)Åß#ªíÓ”(J #TÑôÝÜ£nóu†Œ~Irwm´p•&™bl°´g½û{!^jT }YfÜÿÕOöÿhâW³3â“>Ä|’fN¥ª¥l=›"qA{ÌÁ¬à¹ú&bjPɧÍâùËïxàU.z¥\½VÎÞ6lYeSdcÑ )MÚ‚QBG^'7呤œÈ§h_ñ×–¥,¨¥&D­êö£UÂ8C•ßÍ5v8†·Ž~33GZ´` 5CÙòÝÏƪjÈ¢ôwQÛp´%fP˜DÄ”± ? Lw¾%ØeÙýº·ûG½™Ÿ|™ö#à©€4'’÷-™ 7Ú‚”hÂA«õxî´Å!YRέ׋­Ô„ÔÄ]eÈ££ m [YjF4·­îûæFŒUTÆ)Ú)&&éU +"¬ZÁm¸L ‘¥+Ri'v~v‰ ˜©Ë `’K¸w,-ÊÊ Èì³ý¿Ú8•ìÌø£äϱã–“)*µO1=9ƆnqE‰Îø>=°±1$ÕªRešŽËc·¶¥€å)§£„ðT'Fš•0£”îþèœQ&U :Ó£÷†ñxÐ’É0о ¢ºEeÑk¿óIó76Š ½ •çV¥z¸ësã £µÔsÐQ¬ Çqn#1•œTsvB’¢ƒ-)©È-²øF•”-4ê£U,N;18À¡M0ÐTÛ=84%*”‰‚b©¥x`ûÈ–B C€dâ6[>ØœK Z˜áx\ë¬JÖ²oÎ;à/DŸ¤6˜3æM]ÝlpNý»bd•ðt¤u €]óìì‰2,²¬âÁ6=ÜrSH"bŠ]ð³þ‘£¾=0î¯d ÕÕŒiÍR€bîÅ£„ù³æe×{Ut<ê…$—߀µ±Â%ÿ¨H>(Jܹf2ç‚´S¬–ÊšM%E VÕ }Ç«™×6‚ºC°þž·ûG½™Ÿ|™ö#ಢ{ÍWœ—B‘k ÿ1ÂW/„)„¥)>©®´&äÛ0R 8ƒ‰«JÖHîDK>Q4`Ôãƒá¿ŽR«Rtj©ƒ^µÒåA8¹˜% PU™@$6;fb„»97/‰x\Ó>i¬1M…¯¹ó‡šµÌ9’× C[Ú1-¦,Q1S2¹/Þa:“0s—ï‚•ÎTÓQ.®*ï´ ÌøýL.DÎ5U곱ˬ¬í?ÓOöÿhâW³3â“>Ä|Žvˆ£ÎÊÑš²Ç¾1x“5JnC›{9´Là¡.šFóôŽÿ šéBô`}lùÈ=©ÊS‡%Ü9ÜlíÓÿ¥¡(*P!ÖYœ3ª¥:Thæ]…ðëð×Z¢‚¤2‰Ì‰ FŒ`ö†ìï…Jui&K(ÕE@ÝL,vsBç2Tù¹=Úaæ°$Ø †ýðJ)¹&aKö¸…¯G(KPk*ø’øoŠ%È“$™†¤¥léço²eÈ Ÿ8oÊΟ¬ñ=Z$ .XN™_ÇñЪf’Ó’&ÔS´­N¯íý¿Ú8•ìÌø£äϱÿÙ•ºÁ]ÊXšO‚Ëže8y†V¸ÇÞÎY˜‘=fu’¤²R/pÏk8º"h”úBƒKâi“,Ë“JXQFµÞÝ\K,£ªlŒz"|ú R™h’¤×‰ßÍòõY%÷}…ÏéÄ¥ެ)*y:ί™4”з9d?@ÙÝDbÛ²8EZR¶Õt;îjG»8š¹EA ’”ÑÊUíî´p©Ì•-/¢ÕgÕ ðý`²ç™Na•®1À7³–f<âJWZÉ Þ±þÑ?Ûý£‰^ÌÏŠ>Lûðàá3æ®aCé ðïƒ4pùú0 ˾[þ´J ásŠV ÁÍÃ}–0”ylêõI¹`Û÷ˆš³=sRàkmþ‰*–¥  B–cô¡IÒ̰´LR“2iv`¡lv´šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÃù$îgG|šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÃù$îgG|šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÃù$îgG|šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÃù$îgG|šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÃù$îgG|šN=(·läÓXfé¿l?’NætwÀù¤ãÒ‹vÁM5†n›öÁªJåûM~£Å?Ûý£‰^ÌÏŠ>Lûð2ÞeËÅ×`®fß©Ü&bרWŽ{!+¸HB”­| ÛC«„ð‘.^¿+“¿^ŠlÅF©_po ºÌÉð>2=F!•RRum% ûJ¤x4gÎ’!^2k= *hZÌ´–ä/-·ÛðŠŠJw‘2奂TªK[|(t€H 'm%Ùð6öaÑ Ê©) :¶âJi*QRAl,ñ2k= *hZÌ´–ä/-·ÛðŠŠJwœRÑ8›–HÛŸé H3A`ÉznÛ-„,•¬ ©¶cv¿ñ¦I¨¥"¥žÑßÞûD)k,”‡0¤) §q©! ®aú)ñîƒ'Dlnwmñúâ™rÒÁ*U%­¾ TMA¬&ïÜbH!~t²unÎ ÁÖ£JFÓØÇ# JI)IúJŽÎβte g¿>%-e’æ&MIp€ø¾mðË'n·>ÈÑ‚_ ˜+@PE:Él8©¤ÒTP•mPÇÜz¹œ0u¨Ò‘´Âh’¥Tà{CÕñÞÜR‘šËvB$¦êRŠ{^¤˜)5Rk‚Eº¢O(éUHdžÝ‘<)%(”šŠŽx÷EY%í|úTTcŒ0A)$¥'é(b;;:ÉÑ”žüø§(Ìšl¦õDŸ?ïÁäÌÇÚ“>Ä| ÇÄm†.¸PÄ‘(©®hGÒ8¼+‚«H4ŽŽAmf‰´—e1Í•sŸ¶a2TYSB@¶JsohÄÕX"òÎ ßãº3& ¡A\–=J$%|2h˜æŽMËÛ!aS§´Á@AAH{àZ+ÒÍ™~QÕ©°À ]Þ(¨Ølvö™RÔ¥-ÒuXÕ~gËt)%JÖÄ–çà I=<Ð_Y€2ÍDá•ð‰Þye’Ÿ4E†þ#3„!:šÅT¹ax˜³9e M:<dÉ‹9’YÙÛw„ËK°â©K2èÖ ú1)I˜³/–—lËâCÄéŠd…¥UN«â]ž&K•1r–ØÒÄuÀNó –²àÔ5NÛáQ&lÔL!«P5˜åüç Õ.‘U(&¡õ˜AžT\TI*ñà ‚ .ã%$¤öÃ,¸Üû"dÚªZÉ Ò×"&iÒHìø• ý‘!2ç- ”n>”5ú¡‹‚.1$èæªZe©ÊG¯Ï º’îÌy$âFÿ˜U²ÙĹJvZJKD×R“¥@Am—³¤%D6°ðø4*z@¨¹ä‹½ž W9SMDº¸«¾Ð23ãõ1DɢªŠ’³ŠcÖ Í}ïÛÝÇ)U©:5TÁ¯ ™ZõTV”½.þøÑ-j^¹X* ,OCfbBeL2Ó,¹J@×…ÌTÕ¨,R¤–"öÃ|bª²Y:ÃgŽótsU-2Ôå#×ç…]Iwf<’q#ŒÌ*‡YlâžÅµÿhŽT+Ù™ñGÉŸb>Ç*d©rÉR˜›ØoЉ”Ö…c»,¯º8F„‰ª7–•0È „I˜‰R]7S¯q †øÔRu©’ßéÇuÏyªL¤*{Yæ•UØ:½Ñ&b%ItÝN½Ä6âuj¤hlí÷DÕ\ÆÕA˜÷Úÿ¦Ij—MÑ¥"ýW&ÒjKrEù¿^>ALÉA X7÷í„•K•.]NeK6Á[†ÑÕ @Ñ—J’‡'ÍÜáÐ@èÎ&£Uù×ÖS‚É;ƒöBÊKRE·ÝϺ%­™¨»t7¸ˆ2’eÑTÅq5Ê +2ѪE9¨=Ëã—TIZ •ÁÄ¥dÏßÿp¤ÚᵃˆJìèUI–f•dG(ß>Íñ8¬ Ì)4ÙU(¿æAÑèÒµ¬w©ìGû¶Â«°8'HWÚ`©)C”ÓY%Ѽo¾è(¥ ”e²Wù¡j[ ˜5e}§Ý \…•¤&¯¢Äî¾1 c]+e8»äu]ºr… Djš>‘»»ƒ´mÂn°Ñ€/É.Ní¶Ž¤Ó,M–“¬÷¿od+ÍJ”«,ÛŸú©Ê3&§[©½Qçp¿_“3j>Lûð6I˜:”"ª•°öl‰Åï0#³þçèh˜e‰©C&Ÿ4o‹ä[,G½ãT¹èR•põ[;xÙ±W"ؤ9‚ŠfZ¹i"ÅE±â<²4“™í þ:ârÔ¥• $È•½^Ôp*¸Gr»ù¦®ÇÖñÏÅ5>qÊH—-º%®R^XR %Ð^¬ÃaZx8IWšo÷UŸ6ø BVe „LIKøðÐÇ{â]†]ŸÚ$KYZU9|“ kçÊȪamIt¡;Èñ”%(”¥ÌЮ•Ðú䆾W~hš)Z;Z¨å%”ÁóõmÝ QA–],¦q„Îð k¦•i[ýÆ'ƒôÿh‡0¯fgÅv©R$¥œÖæŒ÷t5(ÁùGº0GÞ=ÑdËî=Ñ‚>ñîŒ÷t`¼{£}ãÝ#ïèÁx÷FûǺ0GÞ=Ñ‚>ñîŒ÷t`¼{£}ãÝ#ïèÁx÷FûǺ0GÞ=Ñ‚>ñîŒ÷t`¼{£}ãÝ#ïèÁx÷FûǺ0GÞ=Ñ‚>ñîŒ÷t`¼{£}ãÝ#ïèÁx÷FûǺ0GÞ=Ñ‚>ñîŒ÷t`¼{£}ãÝ#ïèÁx÷FûǺ0GÞ=Ñ‚>ñîŒ÷t`¼{£}ãÝ#ïèÁx÷FûǺ0GÞ=Ñ‚>ñîŒ÷t`¼{£}ãÝ#ïèÁx÷FûǺ0GÞ=Ñ‚>ñîŒ÷t`¼{¡J(ÿê¨d7G'ÿ™}Ñ0 @J ª' ’’šešŒ…£ÔêSfêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©Õ§TzQêuG©·õ:¡2&SDÂXGÿÄ*!1AQaqð‘¡Á±Ñ P@áñ0ÿÚ?!/õRIY*£?9á”FРIFÇ_ÆC§þ^L  H?0­~3ä¬ùë%¢–,?Yò?ÖqÓÿV|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õŸ#ýgÈÿYò?Ö|õ“ŒLšD–æò#Ó@7†ŽP†®-˜–‘oÓ=Î1‹DyÍcD D„`Mâ†J³‚XsÏýwØ íäÏJÍcèJý✀•‘8EUy5‘x.WÑ-—!“‰2dIzOÃb&½óמ¼õç¯=yëÏ^zóמ¼õç¯=yëÏ^zóמ¼õç¯=yëÏ^zóמ¼õç¯=yëÏ^zóמ¼õç¯=yëÏ^zóמ¼õç¯=yëÏ^zóד?sžÞµ¤SE`MµÄð,¶þëÅ ÖƒÉü§Í±JycB“è·%Wã?ð¸g¾O&¨‡øâŠ8Yé‡]ƶ6‰xµÎæ ÐËn Æ•\ÞP¤Ëb&I¢)y/|I§Ö¿ÉSˆý vfâ%à:Œ Pâ|lÿ¶ÝàÄ5 ‚O7†ŒØ]&)³±)…“^‹É‚ (€l‡?ÑT4@B¡1¯Qœ¤¨Ú÷h]TúéºÂäfD´%…@x^^Z†·åñ-a4+*Bѹ¢gLbW¾jb µ1¿|e•0›ávr‡g!` ­0&ÏŒ³d0™-À J{˜Ë û[1èRn7L5ÈA).ÕÐeßPPs$ß!Êi6R}Œp›MІ_g"U7 a);éc ¬1s倔WV•ŠäâS¦îº?ÁžLncƒa)¢‰qk(S&:/ÑG‰ £ˆÉ:Ô9ÅÀÖöÚä¥Á‘ú ¾þeß9±É;Œäºx_ 2C”É_X¸2ȈEÐe‹ªN ¤•ÎëÈß)Q’¦çq1¯*íGºOÅoFäp›MІ_gi&=Ê ¨ Ä“xê¡(d…Õ­ÃnÒ¦Ëo!Ü®Ï$Ý*J‰¶Ä’&‡'$—X9óãµ j¤Eª«„‰ÆKád¡2¾ž‹iÙOa®$‘Àô¾Bÿøƒ£r3âzçÌ÷É„Ÿ… ÛÄWž3«`‚f] Ž|K6¼(^j?¢YG.” ®üýp ¨»>áý©ê_ø,%ëF¦C~—õ‰DH/ÌÿXøÑeÂó¬+L†ý/ëˆ_™þ±ñ¢Ë…æ?XV™ ú_Ö% ¿3ýcãE— Ì~°­2ô¿¬J"A~gúÇÆ‹.˜ýaZd7éX”D‚üÏõ\/1ú´ÈoÒþ±(‰ùŸë,¸^cõ…iߥýbQ ó?Ö>4Yp¼Çë Ó!¿KúÄ¢$æ¬|h²áyÖ4OE{ePçkˆ«·¿ßbÀ†ÃççœÉ¡ÈÓó¼íqaÖ÷ûã,XØ|üó€ ”9~w®"¬:Þÿ|e‹Ÿžp$‡#OÎóµÄU‡[ß`CaóóÎd‚PäiùÞv¸Š°ë{ýñš±êoò>’Z l1Wû¸•Ô5•ÞoÜÒ½O›À)¹B !~…Ü4%šû¥d‚ºxõ%×ÄbÓò¤,3q+RZ±>Ùo2;cL¦™®}¡2í(%.©,,Ó‡pUÓíòHc)Ç JèkŽåLC‰Am’+ž'|*ÁÀw–’å\ñÑÊ[ç«-O‰!Ž'$ޏ”ÛHS¢éǹ&§ ‘9„šPPϪ0ã. £:}¾CD%ùÓG ˜!¡$ø¼’,˦P@‹8™!(z±²Ôø’â~\"G‡K%ä…xlŠ%[xÎ,²v  n±“Ž2œaŠÒ·Y§`ƒìiƒzoQ<Å–Jˆäzœ±Ä+Ê•{QÂæ¦-¾r€{ -ºÆ)y|±€ÔKVÜLtð‚!Ÿ…ú/‰ëô`»¡«K…óüè!€ìMHïÔà…F[ 8zk˜Ë™Ó6˜\–¤­‚KPEõ#Âcº©Ý ÔY/ $vËÑ'©'p–^þɱ½‰îT¯ùhį|x/Ó4ÊL…(hyûÔwïXÄv–)$—.YÝ?*nè¦(ÂlãR ’YTGŒ¤Û°—$n‘Œ›i–¡N=+UŠ}P`*S¿F-!?0OìÒŠÀÍNìßþÔH~¬¥ dƒÅ‘>x¡ö4ÄC4üè1q3”¦Ó-dEé”S<^)’Ð@£Ø¯±£›ÍQÉ¢¨¬žÉ}F¯‰©¿<ã0І |Ö€H˜Q& ñ‡,«Û38"'k€àƒ™¨94„ˆw#ulø$ã†|O ¾0ð4¢DÉÓT„¬€Wù "‹6f5âð&çÔ¥Â7uF" T¥Ì·üOÅ’ÊÐ(zš†Ë³Q¶Mˆ­‹½ó»#tQ#§múùµ@ˆœTÄí‰òÁƒÎ<ƒhHÀ °ã£¤œÏ ¤u)˜QEÕÛªã d}Òz%*¡HZ+ç\× 9àKøËáÌY’yƒùÉ”¯rÁãÁ5ŠuÁÙ•ätØY 䌇N8ØÔ—üá©8FS%*6Sž©uH-£à6ìïQ¬…hK&¬òý#P|9G`FÙ¯æ,—j¹"ÜúÎF‰æ2ð^…õ–fÇÔl;7¶gטEÙ¢‰;o×Èôh ª@|àÐ~è¾'¯ø0´G¨Ž·ûãÍx…JekÜ jd3\C­j[“øc(®ó‰yübm[']ž¢p€@{E×ܨã"êàQDîxç=g)ÔIÛÌ0«ZXË!ÿd¤ü/Ñ|O_ð`½)Þ@B"•÷eÓIdÄ„­0¿» XÓ¶—!:\8,hŠd‚x¬iÈHl<Á÷qPªKÀ'Š$W‘’̼š(Fôs‚L½æ‰f]Ëç)ÒÜkQ vÖP,•÷%\hê“Ð9vëñŠDcH씞‰ê;!reIl¸®©j*u ñ¢" 榼93Mî$Bˆ!Fªtt®*2y€pNäŽônÔÈ'C.Ù-YN—c Íw!–"ÏFïy(Ð ' >­=¸*zdÞÂ÷-s†‘%ÉÑCËævC‰ý ˜¡U¡S¶n…Cpl! MN\‚ˆA©ê2Ó£‡§6ÑBYO˜œèø‹ö}ÿP©HÀ¶ávÕO‰ºÉ™#"MU4Æž£FvQdËZ,n/Y•ü÷úç„qÙå„wm8¡mà}¹k˜µlÙþ7á~‹âzÿƒÂ’ˆ¹®óqMP'@…¼œúE4Rhê…bÞL÷q2Å|ïmSýÎ>âjTHíýŒ®:“ÚÝñ ¬)6|ýAàiD–Iâs²¥néì†@`“¹}çÿj'tFz¯ÉmWè{›t¦ž¡Ï¤PÒJ ©U’UtüТÕ9®e[\@ÚG§H„! Dñ# ¬8VŠÚ’ Â¦¦JžwóÖ/é@­æ:â0#±B¥2T3² < ‘3À®%Á/ßlʹs04Ç‚4“sJ?NÂ’ˆ¹®óqMP'@…¼œúC®õIð…c“=ÜL±_;ð +™ÇåzHèA^íï-K 6)™5W¾T¹Aåû_ñÂ@ɘ¯ž…›2lh;¿"€È¨eb+‰ôÙYgÌú«Ëçþ7á~‹âzÿƒãaºøîkÄnõ’sih»ÜáG猊5x1 žÂ£±jÁ:4KvkY2Pd$מý]!€ìMHïÔ;²Ê<,ù™ÍÒH›Æªe|Ä„ƒcï©ÇWòCF¬‚8EPõˆã€Ðj¢/H³=¢¿Ÿ¤g:þ”••½ýñ³LHè(ZãZÓÔW5l{W×!ò nx¨«ñ¶<-¾P¨¸ŽÜ¦ðè•´¨ü/Ñ|O_ñ`<«,Ô ™’ ‰‚c¸‰ À [D@ƒkäÄõb”£ëªÎT§  ÀˆL¼›Ê›äPÍ# ùSÔ;€€×“§*uòräì×”‡ÐÚPj§ï‚[€ Ÿ;«˜SC!‘ú ¾þeßê Œ«'Áݦ„Œÿ¾†00T¤´ä˜ïXÛ­Ðåß4OÛZä#T&—¨ ­jÍ`ÀCµhFˆÚ9o¯õ…ú/‰ëôa¡‹)^¶úˆŽxÈ·ú-ѯKÙÆñ6ô[X„Ý;ñÿ)Èä0‰×qYuSÇñËËeªM7ða(÷CnÊVd‚PäiùÞv¸Š°ë{ýñ–,l>~yÀ J?;Î×Vo¾2Å ‡ÏÏ8’ C‘§çyÚâ*íï÷ÆX°!°ùùç2A(r4üï;\EXu½þøË6?<àH%FŸçkˆ«·¿ßbÀ†ÃççœÉ¡ÈÓó¼íqaÖ÷ûã,XØ|üó€ ”9~w®"¬:Þÿ|e‹Ÿžp$‡#OÎóµÄU‡[ß`CaóóÎd‚PäiùÞv¸Š°ë{ýñ–,l>~yÀ J?;Î×Vo¾2Å ‡ÏÏ8’ C‘§çyÚâ*íï÷ÆX°!°ùùç2A(r4üï;\EXu½þøÍXõ7ùOÂýÄõú0›” ‚òè]Äè1d”‚Oºaj"˜rõ"5:FxÐo&E¡¤üB]p¯" .Ò‚Rê’Á²Í8q—Q>ß!‚Œ¶Æ1ê,S ¢ˆXˆNN‘ž4ÇZ,;pžÜCÏV6ZŸCOÿ5iù@«&㥇+™“a‰J¡j«X˜¾öt°4]»uØå. en°Á ’Aû:ËÂÉiDp&&vŒ40(®öWßÉ#M„ 'Hl $ÈI¶¢þHý‡Õ$uĦÚBNE„)£D~²F:Š*ôý1ŸÙv mpFš¢šR·ÎCÐÈ00äÙ¡ÖнµX>Í\A÷„ #s?‚ÞuÄëxy©Ò`EÇq§§$òétqyTÖˆµHà¹ÒïzÁDA|‡ƒ· Sô=w~½$š/S°Ì߇è´Ð±á/æ%·/‘šUUÒ&ñ—AŠÃMQࣀ¨ÆM:äû‰Ž!©Øvolϯ0‹²7E:v߯‘èÐT€ùÁ  yБ€aÇGI9ž@KÑBSº­Û“Ò$Blí ê9ç„’ 1_= 2=6dØÐvÿ~E‘PÊÄWé²"²Èk 3¹M»‘l¯ áID\ Wx ‡X£¢æMëˆ+!Zĉ«<ƒ¿HÔQضkù„4h!~æ²ã•M@6•X²r D??0‚íÀ DR-¢T'TCÑ 6¨óƒ@ø_¢øž¿àÂÒA¢:ßïŒ5â)”¯p1©Íqµª5nOጢ»Î%çñ‰µltñ:®ÌD“˜ÞÖ¡¸ŸÃEwœKÏã"²´d“–a«ÂU²h·™&¨âhŒL7œÃ«† ÈÔ-rŲ:–†$˜&¾”à+ôˆªY¬  ø"ÊÞKlPT&T(D!5qÄ% 'ø¬õ1Q 6(ëwIùÀqÇ„¡´¿w_ð…’Ó¹ ÖAHDU)uázG£8!áÏ  à7€ó ž%Cå;­$Éfr´Úsnñ`Ügz”¢hCO Ò£0bÈá?œ0…2À•$Îá=#Y‚WpðJòÏ ø˜’' F€A\”a³Ê¼ð½I)H?D‘ (p‰ï¥psíÅ.ÝÏ)Ûãan¥‚VÎõ¾¿åþè¾'¯ø0«i¦fš={·Õ5Õ/6ƒû2ØM²)ªí=†¸Ó˯HçG¢'ÑÄdjçw3{u¡¤Å¤9GZ.¦‡ò’$N2_ % •ôôbˆp‹Þ„~¯ˆ}nÕ³  0k—v ELÂ+fˆâ¡“°b$œ‚ol`H‘‚òý]ÿ®ü/Ñ|O_ð`¼“Y$ö dÄ"rÑÈ®O'lR½y’†¿€rbt€ÑH>¸ƒ½Sb$©Ñu×–¾:§Õ ?³Å(qY´ITVmÊH¨#gñ7,r¼OËm”ì³Æ>Ê’ SH.+lÄcªäÈg‚V—¸úoëô,L -&8Üp±ÒÀ&¸íyœŒ’g’K;‘7¨Á=Jjï_Žoã[ÈXF8üdÎgb·A($-]V …3…ë…z¤”¼×S" J ´›ŠÍ9¥M(¨ðÉ1›:è,¸¾Ï4D¸Hcc© ÿKø_¢øž¿àÁzS¼€„E+î˦’$ɉ Zav°§l!.Bt¸pXÑÉñY£8g"1o_KXJ1A(¸a9K0bòh¡ÑÎ 2ôC˜b%™w/œ¤#Kq­D5ÙügÉED^øšjx¡hê“Ð9vëñŠÀÌÆü!®Åúý&QqD–ˊ꘨§Z "  1¡ÎjkÓ4ÞâD!ˆ‚j§A—éì6™|t°û $R¨p%Û%³«)Òó¬ Ýa äi[½àÛ´h•$e=Ü–ÛZ‘2JšKº5 sùÉx. šp€Â½Ç…>…TB…LT^Ùº Á°„-4<=9r !§¨ËNŽœÛEe>bs£â/ÙôwýB¥#Û…ÛU>&ë&dŒˆ5TÓzŒAÙE“-h±¸½eü NTsóßéI2«º(ë¿>§²#ç–³Ë~&$˜ÿø_¢øž¿àÃ…p¤¢.G…+¼ÜST Ð!o'>‘Mšº¡X·“=ÜL±_;ÀE'EÄTÿs…O¸š•;Dc+ޤÁ¶·|h+JMŸ?QgÄúËãô`"§›”6âA(6J%Üü¨šO]@€!óÇÔ÷6éM=CŸH¯Ú(Ã&’[g£ ÑÑ$ä$!Y¤1˜c@Z‘gæ1£ƒÞ$´D”ƒ^ z`zd©ç=dNbmˆ9UºŽñÊi6R}ŒbA'›Â}@¤Ðª@ÚÿQœý}¦5§“Ëõá\)(‹‘áJï7Õt[ÉϤ:ïTŸ@èV93ÝÄËó¼;!p¹œ~W¤Ž„îÞòÔ²b™“U{åK”_µÿÜ$ YŠùèQ’"¥U.qj"È•ƒ\Oþ€yòùÿø_¢øž¿àøØn¾;šñ½dœÚZnãw8Qùã"^ Cg°¨ìZ°NÝšÖL” 5Å'¿GÕOXµ¤›úl_†áTˆ—(9;®î’@4Þ5S+æ$$}N:¿’5dÂ*€ð°7¬GƒP-zE™íü夂=Du¿ß‹àyŠ)¶fÛŠÅVB1âJ×`Ö«.ÀuªðBnî—P;a¹Ö¿Ö ¥%Ëf›úo#O3Ñ-°T¶Äÿ¨ü/Ñ|O_ñamÁ¸Ò«›Ëà…HC4¢a[/ íº/lLOäiÄøýR’!hsðJ*§°°f$ÚT¾.ƒ få·^U¦àÔiWÅãÅ!,Zi ãøú4é ”å»‰0d NýÆûô(¡9-ÉÄŠœE¶}PÂÏL:î5²žÜ`7 ® ›:1mÁ¸Ò«›ÄñPòñ5¶4Yp¼Çë Ó!¿KúÄ¢$æ¬|h²áyÖ¦C~—õ‰DH/ÌÿXøÑeÂó¬+L†ý/ëˆ_™þ±ñ¢Ë…æ?XV™ ú_Öv¸Š°ë{ýñ–,l>~yÀ J?;Î×Vo¾2Å ‡ÏÏ8’ C‘§çyÚâ*íï÷ÆX°!°ùùç2A(r4üï;\EXu½þøË6?<àH%FŸçkˆ«·¿ßbÀ†ÃççœÉ¡ÈÓó¼íqaÖ÷ûã,XØ|üó€ ”9~w®"¬:Þÿ|e‹Ÿžp$‡#OÎóµÄU‡[ßïŒÕS‘ôü/Ñ|O_£2t Áà”ùæâ ¨›”örä52¼ITô¨Ô9Jl#Næƒñ6©Ö¼ˆn$ -/ƒ°l”éÃŒ¸*Œéöù "Üžx3F|’˜0L<ƒ¸ 4P/® |¡S°¬GŽI=XÙj|I q9$uĦÚBN8É0 ½8˜\‰Ì$Ò‚†}Q‡pUÓíò•Ѧ/çøÏ-ø‰‚c&%#yö… ]€ yêÆËSâHc‰úJŒQ2Du•ú±IJè6ôõœYdì$".Ýc'e8Ã¥n³NÀ1ØÓô&Þ2¢y‹,•Èõ9!cˆW”!*ö£…Ì L[|4å<ö [t?ŒRòù…c¨–­¸˜èxñ·IIL@·‹¬zgØY¿Cä0 ôì;S@‰ÜÏ%Ñ9!Ñ„$Ìl$‰è¼>Í\A÷„ #1 NÂôÀY²3Û\(qEdéiØÔlO»—M·s2š ‘5©°‰iµþ1h¾ˆ¢›fm¸¬ •ƒc+†#®´Œ¾ˆÊw&?0!(‘UDUUþ»ð¿Eñ=Á‚òMd “Øý“D‰ÈG"¹<±JôMæJþɉÒE úà¯A4En •ô8g•ÔÇQx¥†åÓ›`r’*ÙüM˯òÛe;,ñ²¤†”Ò ŠÛ1ꄹ2à•¥Ån>›úý È IŽ7\,t° ®û^E'#$™ä’ÎäMê0FORš»àWã›À*Ì “qy `kwrŠdô±/ŽW …3…ë…z¤”¼×S" J ´›ŠÍ9¥M(¨ðÉ1›:è,¸¾Ï4D¸Hcc© ÿKø_¢øž¿àÁzS¼€„E+î˦’$ɉ Zav°§l!.Bt¸pXÑÉñY,É@IqSÊùôµÑD²'"Å@áÄ‚ï²xHeÑÎðI—¢Ã,˹|å![j!®ÏàÂzÊ’¾ä«ð-Rz.Ý~1HŒi’“Ñ=Gd.L¢â‰-—Õ0-P%N´2DA@cCœÔׇ&i½ÄˆC(ÕNƒ.5ÓØ;m2 bÆÉ†"£ \ vÉlêÊt¼ëDwXByšVïx6íeFÉOw¦&ô†EJšJ]ƒ[Àa5(¥åç‘ Â+¢Zsµ.`~…TB…LT^Ùº Á°„-4<=9r !§¨ËNŽœÛEe>bs£â/ÙôwýB¥#Û…ÛU>&ë&dŒˆ5TÓzŒAÙE“-h±¸½eü NTsóßèœ"Çg–Ý´â…·‚öå¬bÕ°OdOøß…ú/‰ëþ 8W J"äxR»ÍÅ5@òséÑI  Kª‹y3ÝÄËó¼Rt\AµO÷8Tû‰©Q#·ôF2¸êLkwÆ‚°¤Ùóõ¦¦ÊÂè.‡"îÅ´rMøu`°IܾóÿµŠ‚:#=Wä¶«ô=ͺSOPçÒ(i%TªÉ*º~nމ'!! È•!ˆ$ăÐ$h<‹?1vÀw\r© 5YDéTÐÒO7ÏUVCåÅdÞ¢!p#±B¥2T3² < ‘3À®%Á/ßlʹs04Ç‚4“sJ?NÂ’ˆ¹®óqMP'@…¼œúC®õIð…c“=ÜL±_;ð +™ÇåzHèA^íï-K 6)™5W¾T¹Aåû_ñÂ@ɘ¯ž…›2lh;¿"€È¨eb+‰ôÙYgÌú«Ëçþ7á~‹âzÿƒãaºøîkÄnõ’sih»ÜáG猊5x1 žÂ£±jÁ:4KvkY2Pd$מýX`ª,¢DžDu”¦½ëôÞ%ºIÓxÕL¯˜l}õ8êþBH`ÕGªÂÀÞ±p B@´Eég´WóôZ/ä"(¦Ù›n+YÄ[‰+\q=REuF ;n•©æmÐë_cx°‡M")y8l€\_”’.%XŸVÖíßúÂýÄõÿàÂRÂ#€Ø¦{LG1ª—,“—ؤ¦Mz/$hF;€€×“§*uòräì×”‡Ñæðã<ù>ÑJUx (ÄRˆ „F,&Nª‚B2¬ŸGt˜œ.‡ s‹#À…–”mÑä8‰¯/Dsè,èr¹p‘!!°~$êø!RÍ(˜D–ËÉ4$K®&Bâ&‹š?Ô~è¾'¯Ñ„~ª(eT~ðsâc—"$uI*äõ¬Ò4!'PºãÌæÎAÐ(—̓Φ–‚Vbõdï¡Xý±¨! †mŸßüŠõ£ Ó!¿KúÄ¢$æ¬|h²áyÖ¦C~—õ‰DH/ÌÿXøÑeÂó¬+L†ý/ëˆ_™þ±ñ¢Ë…æ?XV™ ú_Ö% ¿3ýcãE— Ì~°­2ô¿¬J"A~gúÇÆ‹.˜ýaZd7éX”D‚üÏõ\/1úƉè¯lªíqaÖ÷ûã,XØ|üó€ ”9~w®"¬:Þÿ|e‹Ÿžp$‡#OÎóµÄU‡[ß`CaóóÎd‚PäiùÞv¸Š°ë{ýñ–,l>~yÀ J?;Î×Vo¾2Å ‡ÏÏ8’ C‘§çyÚâ*íï÷ÆX°!°ùùç2A(r4üï;\EXu½þøÍXõ7ùIÕC¬Yêö?¼øž¿Fdè ƒÁ)óÍŧ)Û:›ÅRŠK;£c‚I+qR†ÄãÆS¹ üMªu¯"›‰ Kàì%:pã. £:}¾C·'ž Ë%FNg}L$4 ‹‰Ò3ƃxëE‡b®Â[ˆyêÆËSâHc‰É#®%6ÒèºqÄnI„…éÄÂäNa&”3êŒ8Ë‚¨ÎŸoÆÑÉ~tÑÂætŒñ Þ(uŸÁÌô–± <õce©ñ$1Äý¸D6–KÉ ðÙJ¶ ñœYdì$".Ýc'e8Ã¥n³NÀ1ØÓô&Þ2¢y‹,•Èõ9!cˆW”!*ö£…Ì L[|4å<ö [t?ŒRòù…c¨–­¸˜èxñ·IIL@·‹¬zgØY¿Cä0 ôì ’êß O·-aÕj,"\$WXN,ÚºðÖеmTÁ.‰¸3a û„íh–N‘ž4Ë$Ó₯ ”õ…ŠbPCÚ nØÓÖn…Cpl! MN_ÂåG?=þ yÂ!vyaÛN([x _nZÆ$…Éù ¾ä‚ú™»Bž¸‰­1ÏXg;°)b Á-ã/Ãt.ε‚ù]3ö9óÓÙzn†àŸ¯¤,Æk—(¢¦õDÔ1jØ '²&A‡&Ͷ…íªÁð$îl â¼ ˆdR4œb?Åÿ|øž¿F º´¸_1_Έp drO¼¹‹–V¼Öxeè_eÌé›L.ËRVÁ%¨"ú‘á1ÝTj,È…;eè“Ô“¸K/dØÞÄ÷*“¶Q{ÔÖÖ ¸ÓE ‘((2O7{¨‰?`Í‹#’Ó.p-IÃËéQÐ`QB€Q¥xzqV2“nÂ\‘ºDB2m¦Z„8ô­V4€%&ÏŸ¨Ã…¤#æ ýšQP(%ÉD»Ÿ•(n’"æ.Œ ³º~TÝÑLQô³œÀ¨ŒÌ¡LÍq„„œ$I~±]¤\ޤ±àtÒ#ódùIà¹Áš&ݘÛðaàh‰žq. x>ûfUË™¦<¤›ûšQòEA›¢£:à³Ù€ˆðÿÖNñ¢pøÅ²aŠƒàG‡"‹6f5âðN&P”$‹ThA„Ñ ÁAáÒl­âÖÔ U‰á©šœ†g“Ź32s37ô²Ú‘Ï].d¤NH‡Bˆ7èhW{û7 `Ú1ýáE`ÐClÏ´^=0í9KŠÚá¿L‘ ³´'¨çœ°<©U€KïE ²$ô­ŠngŽ!dzlɱ íþü… ðâÀ—uÍ¢!Œ9ŒC%2½Ü¶óF™fƒšgFb^4àL†Å *›ðõ…ân0S25n·Üd0ò'ZÙº–I¨0äˆkL°c³Ú-â™v h6¡"®jaÉpf«’-Ϭähžc)è_Yflq HÖó{f}y„]‘º(‘Ó¶ý|F€Ú DÎ gá~‹âzÿƒ Izˆë¾0׈T¦Pf½ÀƦC5Ä:Ö¨Õ¹?†2Šï8—ŸÆ&Õ²uÓÄê»0eNc{X„â eÞq/?ŒŠÈÑ’NX}†¯ VÉ¢Þdš S‰ PÉ 2ñ£‰23JJÊÞþÿW„2œ¨A"-­"Â[~ÖòV+ƒœd€öÖCZ9 ¸Ž8  2Ì•#êD³spd(Ne`‘O…´Ôa Ry¢ˆ£Š‰£¤»)m ª€#W;I°n”%–º`Ÿ' )ÎñtYûž4õÆØ±k©è”á"ïÃ¥´Œ‘BWÐZD0å™&l[µË¶fݻŢøB"Šm™¶â²Ù@!7ˆ*¸×mk[ö™”¶Ï>°ƒ ”µ'[“Þð@€µ7óàG—#CÜ.? »I°n”%–º`‡ªå{êNrwÎÎP/k¶©Œš•´‚!PÃwÞ-“IHÎãaºøîkÄnõ“%BMqIïÑÀñ­ šÒ&*£œô rUãW8e2G¢ ½ÞZ•Ø'Ä :ö7‹9f Û2ÛÚ9¼X~!ÝdÔ¤¹lÓb_MâYÚW11(Ò‰wÎ’¹Tµ C#Æ€H™àWà—ƒï¶e\¹˜cÁI¿¹¥§ áID\ Wy¸¦¨ BÞN}!×z¤ø B±Éžî&X¯áØ €•Ìãò½$t ¯v÷–¥Ìš«ß*\ òý¯øÆá d‚ÌWÏBŒM™64¿ß‘@dT2±Äúlˆ¬Œ3æ}Uåóÿð¿Eñ=Á‡q°Ý|w5â7zÉ9´´݇Fîp£óÆE¼†ÏaQص`%»5¬™(2kŠO~ެ0UQ"O":‹Ê“’¬U„‹¡yŒÝ$€i¼j¦WÌHH6>úœu!$0jÈ#„Uá`oXŽ8 ¡ Z"ô‹3Ú+ùËIzˆë¾Mî:—¢Ø{dd@³&Žq¤A9¥ˆÜ¼–ÎS{r‰éö7¬õÂÙ,™Ñ:Ñq,içA¯õ…ú/‰ëÿÁ„¥„G±Lö˜Ž'"cU.Y'/±IL,šô^HÐŒ8w¯'NTëäåÉÙ¯)¡´ Ô!Oß·3>wW0¦†SÁЇbž+—CêPHFU“àˆîÓÜ*¹¼—Æ0H¨²ZÔ3ÐÓPD !Víe6”YN<Á¢øQÞZ¾Lî6\ƒl]µ"€&õ…ú/‰ëôaªŠU¼ø˜åȉRJ¹=k4IÔ.¸ó9³t %óA`ó©¥ ƒ•˜½Y;èVwЄ–‚e×=öÞ£l< €>€£%â#M¡÷rf=@ˆÐâÔD³FS|Øð|+Dd-èOÇñ/]¿‚ùÏÂ¥š2›àvǃà‘Z#!oBx¶?‰zíüÎ~#„!ˆ.÷'Ûž0ó2²È– ñ‰1‘KR¶JÖ³¸óƒ„!ˆ.÷'Ûž0ó2²È– ñ‰1‘KR¶JÖ³¸óƒ„!ˆ.÷'Ûž0ó2²È– ñ‰1‘KR¶JÖ³¸óƒ„!ˆ.÷'Ûž0ó2²È– ñ‰1‘KR¶JÖ³¸óƒ„!ˆ.÷'Ûž0ó2²È– ñ‰1‘KR¶JÖ³¸óƒ„!ˆ.÷'Ûž0ó2²È– ñ‰1‚o„ÅT˜YˆþóµÄU‡[ß`CaóóÎd‚PäiùÞv¸Š°ë{ýñ–,l>~yÀ J?;Î×Vo¾2Å ‡ÏÏ8’ C‘§çyÚâ*íï÷ÆX°!°ùùç2A(r4üï;\EXu½þøÍXõ7ùOÂýÄõú0C'@L Ožn-9H.ÙÔÞ*”RYÝI[ˆr”6 ØG2ÍâmS­yyÊAJG‚&:³NeÁTgO·ÈaB#lj®g÷ŠjU-³rÌN‘ž4ųø9žƒ’Ö$ž¬lµ>$†8œ’:âSm!N‹§Fä˜HP^œL.DæiAC>¨ÃŒ¸*Œéöù `m<—çM.`cH  ëƒ(Tì+ã’BÏV6ZŸCOÒTb‰’$k¬Ñ(&Æ–$»‡F”*˜Ü¨¤4]=8“+|b­wѺÇñ¬~¹ Cí"ØGS™ ‡Aá®Çd*Ñr $ˆµ>˘Ið@ û €½Áxð}Œ¹Øæ»V«ÁöÈðíÇC£¯i`õšÙ¯.0qpX7µøÛ¡Å(ѯØÄ¢]ŒŽÍåd½êqAšJ“…!äŒÖ&P´ëQªÕõ´"Ã:GOЂ‚çcšíZ¯Û"¤¶$³® ûe騨å‚{0˜¡(ÀèIOf>ÌdkLá<)ÀkÑ‚)«š0Óàûv`ÁT6NCfN‘uiÆçžÕÛN([x _nZÆ$…Éù ¾ä‚ú™»Bž¸‰­1ÏXg;°)b Á-ã/Ãt.ε‚ù]3ö9óÓÛN([x _nZÁæ-[„öDÈ00äÙ¡ÖнµX>Í\A÷„ ü/Ñ|O_£Ý Z\/˜¯çD829'ÞGÜÅË+^k<2ô/²Æætͦå©+`’Ô}Hð˜îªwHDĵd ‰²ôIêIÜ!¢`ó¢lªß†OªleV¼LF¥ÆD„Ùœ(‹dó÷¨Š@ `W$3FYÝ?*nè¦(Ç ì-.H"à—ä‘V2“nÂ\‘ºDB2m¦Z„8ô­V4€%&ÏŸ¨Ã…¤#æ ýšQ˜@a¼¢\ßʉ’z@ ¡¥s Ñœ RpòÀzTt@k9Ì ˆÌÊÌ×HIÂ@d—ëÚEÈéÚAëM"0O6O”‘þûœ¢mÙ°A¯€H™àWà—ƒï¶e\¹˜cÁI¿¹¥$Tº!:3® =˜oýdáŸê'Œ['ñ¨0xp9Ð" H³fc^/âe BHµF48jf¥aaóƒÔ‹ô‘öjê2`O³WKL&º€§¥–ÐÄŽzés%"r@¤:A¿C@2»ßÙ¼yБï +‚f}¢ñé‡iÊ\V× údˆM¡=G<ååH²¬X?z(ˆGòFÄËœ0UóÁQ|ƒÃ‹"]×6ˆ†0æ1 ”Ê÷rÛÍeši‰xÓ2v€ªoÃÖ‰¸ÁLÈÕºßqÃÈkf6êY& Ã’!­2ÁŽÏh·ŠveØ Ú„Š¹©„ÃȇÝóÃXâ‘­‡föÌúó»#tQ#§múùµ@ˆœÏÂýÄõÿ’õÖÿ|`09¯©L Í{L†kˆu­Q«r eÞq/?ŒM«d막Õv`Ê$œÆö°-ÄþÊ+¼â^-£$œ°û ^­“E¼È5@§Q¬ÁH+¸ x%ydYãç9G“Pkêð†S•"¤Eµ¢°$XCA+oÚÞ@ªÅpsŒÚÈkG"„Ç ÔY’ $}H–nn ­}™—[}°€P)<ÑDQÅDÑÒ]”¶„Õ@¿«¤Ø7J’Ë]0O“…”çxº,Š }ÏzãlXµÔôJp‘wŒaÒÚFH¡+è-"rÌ“6-ÚåÛ3nÝâÑ|!E6ÌÛqYl ›Ä \k¶‹5­ûLŠJ[gŸXAJZ“‹-Éïx @ Ú›Žyð#Ë‘¡ŠGîdž]¤Ø7J’Ë]0CÀ‡Ur½õ'9;çg(µÛTÆMJÚA¨aŠ;ïÀɤ¤gq°Ý|w5â7zÉ’ƒ!&¸¤÷èàxÖ…MiaQÎz9*ñ«œ2™#Ñ„Þï-Jìâ{N›Åœ³„í™mí œÞ,?î²êR\¶i±/¦ñ,í+˜˜”iD»ƒç¢îÞûÞV>D‡ÊÐl%®Y©°‰iµþ3°4›éAYk¦kÕ ˜c–¸Ã²XÂIˆ4ßMçø_¢øž¿à¬y¦™šhõîßTÔST¼ÚìËa6Ȧ«´ôRãO.½#ˆœG’u¨sÜÍíÔ†“>åhº˜fÊH‘8É|,”&WÓÑŠ!Â/zú¾!“œüy­»zjqèÐ4Co$3ɥ୘ˆú¼³ˆ@ÍH2’\\w§S’K¬ùñþ»ð¿Eñ=Á‚òMd “Øý“D‰ÈG"¹<±JôMæJþɉÒE úà¯A4En •ô8g•ÔÇQx¥†åÓ›`r’*ÙüM˯òÛe;,ñ²¤†”Ò ŠÛ1ꄹ2à•¥Ån>›úý È IŽ7\,t° ®û^E'#$™ä’ÎäMê0FORš»àWã›À$|DŸa>Z‰ÖÇâƒÚ U-રyÝA ¸¦ãf¦ÀM^¡QEˆ)Xû†8@ =¢ëîÔq‘õp(¢wúœu!$0jÈ#„Uá`oXŽ8 ¡ Z"ô‹3Ú+ùËIzˆë¾Mî:—¢Ø{dd@³&Žq¤@ÙLï(JÑ5å*ù7~yÀ J?;Î×Vo¾2Å ‡ÏÏ8’ C‘§çyÚâ*íï÷ÆX°!°ùùç2A(r4üï;\EXu½þøË6?<àH%FŸçkˆ«·¿ßbÀ†ÃççœÉ¡ÈÓó¼íqaÖ÷ûã,XØ|üó€ ”9~w®"¬:Þÿ|e‹Ÿžp$‡#OÎóµÄU‡[ß`CaóóÎd‚PäiùÞv¸Š°ë{ýñš±êoò>Ÿ…ú/‰ëô`†N ˜<Ÿ<ܳzÒUŸý1¿FQ"3'© ÜGs$%BŸa„AYo‚|«ŸlL€»J KªKË4áÆ\Ftû|†?²ì Úâyá™Í\A÷„ #ò>æ.YZóYá—¡}–73¦m0¸-I[– ‹êG„ÇuSº@&%¨³ ^Hí—¢ORNà€O*OD˜tˆÔo“$ÖÄ­¼Cd«ÕÆ‘Bˆ$J “ÍÞê"OسbÈä´Ë‘­„ kƒìU“/Ç©÷;?ù ’b!¢-É¥Þý0“Í¡ob4sx¥À¡ƒÌvÅ≾~˜¿XdÆa¡ ù¬K4¤!pÉ$5zzp¥d`­* ¡WìÂF22îÿ(‘¯SJ"Ÿ¡ë»ðé$Ñz€` nü8X¦%= ¦í=bÓB6ÄD„¿˜qΦmMžœT/Œ¸ VjDU¸h¿>Ù)Vä!,q„[QT5ÏÆvFè¢GNÛõò=j84 `Ú0,8èé'3È z(JwU»rzDˆM¡=G<ãp2Af+ç¡FG¦Ì›ßïÈ 2*XŠâ}6DVCY a&w)·r-ƒõá\)(‹‘áJïët\ɽqd+BX‘5gwéƒáÊ;6Í0˜ˆ”C¢ÂuHˆµÝåYõy.³UãP»#tQ#§múùµ@ˆœÏÂýÄõÿ’õÖÿ|`09¯©L Í{L†kˆu­Q«r eÞq/?ŒM«d막Õv`Ê$œÆö°-ÄþÊ+¼â^-£$œ°û ^­“E¼È5@§Søc(®ó‰yüdÙ÷að~cêDPÙé?ˆp_!P!`²:©=W‘U%O ºVŸjÖ^ÃL“§’ç*•V‚Y£sÌжCI=ßä=ÐæyqŒÏMÌHHðÖ·u?D‘ (p‰ï¥pN7‘4WD+,¢_KšÙKÜ" Ôdº]„—fž©O·j?äþè¾'¯ø0«i¦fš={·Õ5Õ/6ƒû2ØM²)ªí=†¸Ó˯HçG¢'ÑÄdjçw3{u¡¤Å¤9GZ.¦‡ò’$N2_ % •ôôbˆp‹Þ„~¯ˆ}áƒ!ZhO¢(á‚êÞ¡äû1U ƒ9&äxÛcDŒ”€·êïýwá~‹âzÿƒäšÈA'±û& ‰.ŽEry;b•è›Ì”5ü“¤ŠAõÄê›%N‹®¼µñÐ>¨Qýž)CŠÌ… "J¢³lREA?‰¹c•â~[l 'ež1öTÀRšAq[f#P—&C<´¸­ÇÓ_¡b`yi1Æà+…Ž–5À?kȤäd“<’Y܉½FÉêSW| üsxÞBÂ1Çã&s;¸" A!jê°¸P„)œ/\+Õ$ Ô…æ¼z™ðØ8 •PU¤ÜViÍ*iE@'†IŒÙ×D eÀµöy¢%ÂCƒHWú_ÂýÄõÿ Òä")_v]4‘&LHJÓ û°Õ€;a r¥Ã‚ƈ¦H'ŠÍÃ9¸‰‹zúZÀrQŒj @Íà Èp2Yƒ“EÞŽpI—¢Ã,˹|å![j!®ÏàÂzÊ’¾ä«ð,½¼º«tV,´IaIxz}&QqD–ˊ꘨§Z "  1¡ÎjkÓ4ÞâD!ˆ‚j§A—éì6™|t°û $R¨p%Û%³«)Òó¬ Ýa äi[½àÛ´h•$e=ÜV˜›Ò*i)tj o„Ô¢——žD,¶ÜBÁçÄ×Ú~…TB…LT^Ùº Á°„-4<=9r !§¨ËNŽœÛEe>bs£â/ÙôwýB¥#Û…ÛU>&ë&dŒˆ5TÓzŒAÙE“-h±¸½eü NTsóßèœ"Çg–‚AÏÛÁ[þX?ãþè¾'¯ø0á\)(‹‘áJï7Õt[ÉϤSE&€.¨V-äÏw,WÎðIÑqÕ?ÜáSî&¥DŽßÑÊã©0m­ß À“gÏÔ`”ã 7t üÄ“ÞÇAÆR é[ùuý¸vI£oáõ=ͺSOPçÒ åŒ$«,“(CB‹V湕mqiœy"|„1ÄŒ€J°áZ+jHƒ˜™*yßÏYÍE.Âz*ø!Ç)¤Ø=H!ö0ð4Dϸ—¼}³*ãþë  É;Âñãë¸RQ#•Þn)ªè·“ŸHuÞ©>Ьrg»‰–+çxvBà%s8ü¯I+ݽå©dÅ3&ª÷Ê—(<¿kþ1¸H ³óУ#ÓfMo÷äN©4ÞÕÿPVi×/Øøß…ú/‰ëþ ;†ë㹯»ÖIÍ¥ vì:7s…ž2(ÕàÄ6{ ŽÅ«èÑ-Ù­dÉA“\R{ôp}Lß„‚›¿Ëƒ9s"+Áp¶r=1ºIÓxÕL¯˜l}õ8êþBH`ÕGªÂÀÞ±p B@´Eég´WóƒŽÛ¼”TEjÙˆÎuý)++{ûãf˜‘ÐPµÆµ¦/¨®jØö<¯®*CäÜñQWãlmš½„ñ§F‚!¼ŒU<ÌD¶ÁRÛþ£ð¿Eñ=ø0”°ˆà6)žÓÄãÄLj¥Ë$åö))…“^‹ÉŠn F•|^øL%ëF¦C~—õ‰DH/ÌÿXJ=ÐÛ²•€ ”9~w®"¬:Þÿ|e‹Ÿžp$‡#OÎóµÄU‡[ß`CaóóÎd‚PäiùÞv¸Š°ë{ýñ–,l>~yÀ J?;Î×Vo¾2Å ‡ÏÏ8’ C‘§çyÚâ*íï÷ÆX°!°ùùç2A(r4üï;\EXu½þøË6?<àH%FŸçkˆ«·¿ßbÀ†ÃççœÉ¡ÈÓó¼íqaÖ÷ûã,XØ|üó€ ”9~w®"¬:Þÿ|e‹Ÿžp$‡#OÎóµÄU‡[ß`CaóóÎd‚PäiùÞv¸Š°ë{ýñ–,l>~yÀ J?;Î×Vo¾3V=MþGÓð¿Eñ=~ŒÉÐ$‚Sç›pL~’è¾ÜµûB# \l5QVXÃX\[Ëy‘Ûe4Ísí iA)uI`Ùfœ8Ë‚¨ÎŸo„FØÕ\Ïï9· êqâ$Ÿ-ø‰‚c&%#yö… ]€ yêÆËSâHc‰É#®%6ÒèºqÄnI„…éÄÂäNa&”3êŒ8Ë‚¨ÎŸoÆ‚‡ “Ý®ý”ò߈˜&2aâR7ŸhP•Ø ž¬lµ>$†8Ÿ£W†ÑáÒÉy!^"‰VÁ^3‹,„‚„CEÛ¬nÇ, pHû+u† ’ÙÖN‘ž4Å"1¤vJODõ¡´@ò_4p¹„›`ê/äïØ}RG\Jm¤)ÑtäXBš4@àë$c¨¢§ÿOÓÛN([x _nZÁæ-[„öDÈ00äÙ¡ÖнµX>Í\A÷„ #èžËQY‡g*[/,î2Æætͦå©+`’Ô}Hð˜îªwHDĵd ‰²ôIêIÜ!¢`ó¢lªß†kô™HûÉֹ‘´Ia\NŸ½B¥E:ÀÒ0ÍaÓò FîŠbŒ!–Î5! ©%‘åDqXÊM» rFéɶ™jãÒµYt¬˜3͹¿Ìñ½`i­S^\˜@a¼¢\ßʉ’z@ ¡¥s Ñ‹‚'åzqô$ÄCD[“K¼?úa'›BÞÄhæñK€C˜í‹Å!|ý07~°ÉŒÃB%óX•J•¨¤‰i’xzrq¦7Â<ågw‚”Hש¥OÐõÝø ô’h½NÀ07~,S‚ÐSvÆž±i¡b"Â_Ì8çS¶¦ÏN*Æ\ + 5G‚Ž¢*Ü´_Ÿl<ˆ}Ñ<5Ž!©Øvolϯ0‹²7E:v߯‘èÐT€ùÁ  yБ€aÇGI9ž@KÑBSº­Û“Ò$Blí ê9ç„’ 1_= 2=6dØÐvÿ~E‘PÊÄWé²"²Èk 3¹M»‘l¯ áID\ Wx ‡X£¢æMëˆ+!Zĉ«<ƒ¿HÔQضkù„ %Áš®H·>³‘¢yŒ¤<¡}e™±Ä5#[Íí™õævFè¢GNÛõò=j84ˆ ¼ZRG$gÄõÿ’õÖÿ|`09¯©L Í{L†kˆu­Q«r eÞq/?ŒM«d막Õv`Ê$œÆö°-ÄþÊ+¼â^-£$œ°û ^­“E¼È5@§@ ba¼æ\0nF Iº"¤ 4mXÚWôP4N7ŸiYQ8%äX’5ËX­MFr½¡¨8+#É{’—ZèJP%”²;Q¶Ø¼Ð¶CI=ßä=ÐæBZ2¨<‡Xí“»t'ØÏ> ³2f¿£<øùñóãçÇÏŸ>>||øùñóãçÇÏŸ>>||øùñóãçÇÏŸ>>||øùñóãçÇÏŸ>>||øùñóãçÇÏŸ>>||øùñóãçÇÏŸ>>||øùñóãçÇÏŸ>>||øùñóãçÇψ$L'ݯèÏ>.ö…Œ,VÿÚ Ž 4á_}÷ß}÷ß}÷ß}÷ß}÷ß}÷ØãË<°Ã 0à 0à 0à 0à 0à 0à sË ß!¼óÏ<óÏ=ýË?rÏܳ÷,[Ï<óÏ<ÃÅ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<Å<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<ÁzóÏ<óÏ<òµýóÏ<óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<Å<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<Å<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÀ|Ví7óÏ<óÏ?]Ë?rÏÜóÏ<óÏ<óÏ<Å<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<Å<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<ÅnÓ<óÏ<óßܳ÷,ýËóÏ<óÏ<óÏæÓ"hÏÃ…—Ãé–_¶R+áÂËáôË/‡Û)ðáeðúe—Ãí9=’Th€ôh68GŠD˜NˆKô†ªOßgDš(ÑèT—µ.¾x’©?ÿÿÄ)!Aa‘Q±áð01pq¡Ñ`ÁñÿÚ?ú!°“ ÜHÿ]°Fc 7áÁ;f ëT^¼íd2çuZ¢õçk!—;¨:Õ¯;Y ¹ÝAÖ¨½yÚÈeÎèÁ˜(GͤèsF=ž¸@H4€Íu3èí@i>;ýQyø(²Oh<ÁR‡¤‡®<–ξ‘zóµËÔj‹×¬†\î ëT^¼ín‹Ô“ã¿ÕŸ‚‹$öƒÌìæàŠ3Puª/^v²sºƒ­QzóµËÔj‹×¬†\îŒyÑZ€Ò|wú¢óðQdžÐy‚.^œ,‡cü;]ou½Ö÷[Ýou½Ö÷[Ý:%YÚOІcÏIëÄѰà â[:úGLú;ü"O#ì"báëtF%¤ìQšƒ­QÇS?½ÿÿÄ)!1AQaÑ q‘ð@P¡0±áñÿÚ?/SÍOfÕ_cRí¼ÛàM‡í§©-Êù?×&†ö kƃø6aµŽw׳LIŠ’ï]üÈ‘“V}áêìú™ñ"º'Æ8ßgû)$H‘"D‰$H‘"D‰$H‘"D‰$H‘"D‰$H‘"D‰$H‘"D‰ Ü`$'ÀðPÒ[ tÎ<,ê`&«ã‘,t6VÑ=zùçÿ¹n±ws¾Fùlv/buÅ"á*ÛN)wÐ^ÝH8Y½‘éáIS¬ØZBÏg ‰”ë¥ý™Ÿžz®u»äuA#ïx›Q4 ƒ Å8 % ½˜}9ÝE#!²_CôAãÐ’‘6·¡W]%ûêSã÷ÿd~øü•–—Žc`°Î]å~BÖòu×XѨƽWŸKŸþ…óÊÇidÎR‚T¿´B±ââö<‡"Ç×xR¶Sª« Ï«ï—ÓÉû<“„œ$á' 8IÂNp“„œ$á' 8IÂNp“„œ$á' 8IÂNp“„œ$á' 8IÂNp“„œ$á' 8IÂNp“„œ$á' 8IÂNp“„œ$á' 8IÂN%5¨[ ²¿d„HQRÚ·~,®¡${ª•ÛßÀK/U§+ÝÞx‡• QRŽõE"™^ñÂä´2œRÅH~yÝÎ@‚ɘ*) dH¶a¬doPƒ1L%$“84àà)†s*rQà}€BtØ¢ €äßÄ»Àà–±ˆ×ôŒ9á%N”ïDö<{ô!à!NDÊ$ž*k6ÝÉjBZ[GT_@À ĹÓŸÚç®`˜Ð‡]ˆJÿ¦XÔv¼iœi±ÅPViÊ'ÈHZ5FNP¦„²T}Ñ_FßuÀp†Ð#/²; mR¤‰KRækP6œÌƒŒv0›‚VZàñlH°B‚ž.D e%—œ p;QrTŸ C¾3''¡Ó#$—Q43‡wwð »“!×:»¿€]È<9¹5ˆsZ"iè¼d±Ü`êžX-[7…³ ¨ “Çå+ €(´ŽW:QÕqÎ…¼ bì ôDl‰Ã¸¯r¤Â ñ­¸× ‘<À¥¸hÉjFRÈ@­Ó`@EÜò0Ä¢ì7¤• ®Û@¥p[À³_º$²Žéð *‡# Îb„I[it(¼Ý€óêîþw ðhäzàÊJ'‚*&0Àb±œ)C|ÍÐhÊÐzµ&^=W Eè@uJ°† ,cJÊáSåÌBÁwW™s)Sˆe HP`Tát-AªÐÞ‰Ô×·tÁS W´ ƒ©Gþ+é¡tŠÞ>½?_›"Ĭ¸”­/@Âö$ íÊÌÑC‰«1c–0¨B P Ko[Àê3†~à†öuã@‡:‘Ä Lz øE17-ì…”KÊ0BfÓ^F‡{•¸ˆõØßd“­à¼‰ ¦f}/—”`(6„ͦ¼÷„!+që±¾É'[ÁyLÌ02ú_/(ÀPm ›MyïBVâ#×c}’N·‚ò$2™˜`eô¾^Q€ Ú6šò4;Þ„­ÄG®Æû$oäHe30ÀËé|¼£A´&m5ähw¼! [ˆ]öI:Þ ÈÊfa—ÒùyFƒhLÚkÈÐïxB·»ì’u¼‘!”ÌÃ/¥òòŒЙ´×‘¡Þð„%n"=v7Ù$ëx/"C)™†_Kåå ¡3i¯#C½áJÜDzìo²IÖð^D†S3 ¾—ËÏ=‘\@¼ºÚìŽá÷l›vºŽ!`’@1[‘ê:ŽƒÂñ,h¤ö h"o´¡}äS ¬dÌVÔ-(8Û¨ñêØÝ€0Í PÊ:J4)ÁxAC´{À=IÈ$DG2s«¡ÙFpO©Ñpø0-Òš^œ‡¸~¡1<Á %çQ%P¨ UW†$ä(‰ˆ›y_UFÐDâ£íñYêJ䘼7:z`,׋ \=’ÙófÇïô´¢™– “åÑÁ]fe­@ª5M%q#k®ÊÓŸ°¨9sñ¨:@v€9oÚÍ ¨ «|F$¢Xúxœe-ŽJ­É"^9ß*Ýc”Jwcž6:ôµVÃåL‘ðÎqˆUD%”5`«SçkÈô zÐí,Nžˆ–rh5Êò°àç¯XPd !ú1` 4™  õ!ìÞ;U»!¢úPtÑÑ‘KPù† »o‹©tš:¬Ã ®/A 1ȸErNy¸–A °8‘@>¹ò(KjšXh5Ó‰À@*$ª©á#k®ÊÓŸ°¨9sñ¨:@v€Ï=öû~›'æ'aäÞa½¢ðc’1NR}8Ž6`Â=A ëx ~t´¡«0§œ[Åd‘šj¡æ@2žiփБ*éH…xùÒÒ†¬Âžqo `7> û&l\´wn%Õ»Àâ/€µª´aœ²\d.'gï¾u´oÅÊQ–ëDŒfúÕØN² Òä"ª)>9…0Á2z<§Vll“xôz”kÈÁk(P¡æðÁ‹#5%.…9€Ë8*ƒDFªGåPÝÉòÈ{A«Â\9ùJÁr?½Þ¸”Ý`xÁL¥qâhJ†–Œ "€àó( A7ÆlÀlµÎ%XgÙŠ¡€$ìÁ Æ ª® wܪÈ"D „à›uC#Ø;s@Ô4ˆÌ!T «ª}Cñ*â#NKÍÝžEKhβò-n "V­Ê$ ¨ H—ÀùÅ00Ж>[ÂCÀ³TT µÔú"*²x‘¸En °ZcMë˜Î¢#O镯e‡… ›B'}œ ó¸_º„LG€J"1¤þ™ZöXp(·FW¸Z. ¦u§ˆºiExÌ  "Ù“)¡æÆV ÈÁH&¦(ž[›Ž@h S ¶r‘,‚¿íeãp1÷3Áô¥d,»ì¸x© ÝÁ°Ì1Ñ9De£uôg+9†mÙAåZþ>û}¿M“ãÀÄ*B“ëÞih¦$#z‹»;߃g××À«è˜wÁiÙAUW-á`o¢#dNyN^ˆïP´ ̶V] }Âô2•8†P¤€EN2Ý  ¹„ò×Ã\¨ ÅèÔ&LÉÇC›ÞÁ]yÌsÑlU!!V¢gh` A(OŠªU„4 cVWýw¾ßoÓdþ1Ç(!5/ƒ"ÞØëü«{§ÒW†£K\„„R‚• ƒ†ˆ%VF‚/˜_G:¯: †¿£ZP¹‘â Ö®Œà†×º‚°cH„H˜œd(ïQ`¡W<³ðÂŽìu"ú=®“L”jª•zJ+?ÆCI`T¡GÈ®§—O¬ÁT à .BºÇÛ­¸ÅpÁÊÕ:´rÇŠºk‡“±¡Àr˜Æ •Áʰ·ØêzÇ)Ÿ0WÁèíz^APóm•1ëIrNþ ޵ÀžáÑðëäƒ<@¥r£Žƒ‹‰ˆ ÈÁ@Q±ɇi´Ó*Apd]¨lÛ"¸`W*I'`(´›‚0ºA„ÀD„œq' ‘DÉËC®ã(ZACMhš4«¶@ ÀüœÜÂRlµ;aÝì¡A:CŠó°¸‚þe)ATr$ˆ ã®´ tõ¯µw‹ÐgAÕˆ¥YÆÔ¢&5‡Ô ð#j!À .ÎÊ £:¸tÌï4íÉB 0‡ÀªàÖ¯8N¿VE9E !R0ˆŠÑAIUPª*©UUUÿßo·é²~@ï»W9U5ñºGY}Là/\‚@J8 TxÜÝv`…@µB"wÄ¡l† Àô›€j‚‚˜C€™”…JI`B1q(TŠ ¢Þλ⛠ ¤Y…lõa+ìÃ[Ã[`4$+pQ É\ÅnzUÝ;-(P®j/iÛI*££[\qßÛTfÒ68Nã»yR]¥³Hª‘]Ä(ûŽœ 1HeÄèbFk».!b…Y_õû}¿U“ê$ø$@ªäçŽviê|å ‰r²…Ê b’XF’p ŸFЄl¢ÛÃ܃zà XBá[a!;%9HÙb¨Ð•@eà]Jòဤõø(¡U«c„=?³Î”B\ª$«BS޶ã\.Dó–á§Ä™Mëþ––Ð1ï?_눂OÝ+Ѽ <Íú9J‰—Ÿ>I»È nx7½[õLÄ3B¨‚ úß6ÎÔªOõO}¾ß6O’°ãÈ´K¡Wbv9j><&4Šƒ ƒ¸•UÉ&4&OðçCê|ÿÞ$}VW®î\:‘ÂÄàu7ž€2óPÔIÐ{ëx¼-ÂThKÊA¶‚a\.Hô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.Hô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.Hô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇK\¶x³Ìì—gǾßo›'Ï…+·ÒY€èä›ÎœTW, D¹h‡€Z#€1E¨¼ìðdĪÀzàÅ·uBÁ¨’ ‰ˆñ"’Ca˜€` 9„µ¤_úÙQâ|C¢+fO.æ¯kí &DY’lðdĪÀzåã^(ÈV;ÅŠ‡$bo” ÁÑÿÌm{šBÒ~ÛÉä9¶dƒ—O$‡UD–©¼÷)6¨W2@ÙÝ ¬Nà¤K +è‚yà}0qy¯+`×–©¼N¶·#³1€F‰/™Û†sý”?&Á)'è!¨¢ˆBQ™Ç¢ËÙƒXy®yKƒ &¨ ðÓX÷°^Ù`Õ÷AŠ¢ðŠ`…eT 9FNŠ k½¤D‚$3²ƒ_Àógƒ&%PÖ×;ÀŒbYbL ¢âÅ%\* ô&¢Æ®%j¼}› FHRe>Ú0!ʈjIõ¼ ¤®;^³,ÅŠNÏf…‚J* |Ù :ë ”VH‚»XA&Boœue€ðX ¼* T(HD †-VF/˜ÏO5eáèö…è£f‘Ç*Ôi&#Êú 0€ºu…⽤D‚$3²ƒ_Èóßo·Í“ðv@S¨Ñ) âúŸ™¹A‹¼y„ Ù4k¢ 'Z\b¼iŒËÁhÜòãV ˆ* ¥³g0VN¸ T¦mE^!µ‹CQÀÇÈ or ±ŽbyD$ »ÀÖkpÅòA¡<Éà!Cs}AY(¶°¨ï¶"ÌD õ!ìßš¢ï }fgêY¤±ô@/{,gÔüÍÊ ]ãȈ! $@Ö–²ŽÇ€“¨¾¯*(£ºh±p)ŃËÅWT¼K$N.‘êÌYÐ8”(¡ÚP(£è¶ ž'Kc’€@«rH—†#  {uµn$á." Q{Õ¸XÉB 0‡ÀªàÖ¯8N¿VE9E !R0ˆŠ~ÔCê± ª øÜÂRlµ;aÝì8#š¦Â¬H«‹ÐBLr.\“€Þn%BEE¬.À„˜‚¾¢'Žú/†RԀР$Oi£¬Y[üçþT‘ãwáÏÄ éaÚ?<÷ÛíúlŸ˜‡“x†öˆ[ÁŽHÅ9IôDà8xÙƒõƒ­àùÒÒ†¬Âžqo’Fiª‡˜yÊx§ZBD«¥"âçKJ³ yż5€ÜøT+ì˜i°p^Ñݸ—Vï!"‰Y}/(KÆÔ–÷ATÍò–›¬g‰ûÖ¥ ˜*p¶!³€ /ß!눢_Ù)Ù¼·)zâ`M:¨·ãœs õüa2L˜ ¨„UY±²MàÑè@-n "V­Ê$ ¨¤Â‚`„=Ss¸™ß%’†“À9ù »ˆúp-«„ЄßôðR‹nÚ.9 åÄ_kT>hÃ?çáç–[)Ágê0ì1!älˆ²"¨Šu‘˜ Š ;‚®áÛ1ã¦-l_¶ šÀQÜ>§ù¿}¾ß¦Éñàb  !Iõï4´S½EÝïÁ³ŒkëŒ`Uô L;à´ì ª«Šð‹°7Ѳ'<§/Dw¨Zæ[F«.…>áz™JœC(R@"ƒ§nP@ÜÂyk广ÐQEµà E¤sâ5U!p_@ / ÇXˆ9gQ&&-IZóRÅ"ùë½öû~›'ñˆæ9A ©|öÇ_å[Ý>’¼5Zä$"”¨T4A*²4)|Âú9C ÄR¨"€Ã%mƒZ0(d8³r¡«ÁD ã!Gx’‹ ¹åŸ†wc©Ñì…tšd£UT«ÒQYü†0:Kª¥ >Eu<º}fB¡rÖ>ÝhÀð†+†V¨Õ£–C# çIƒ%]´9  `3{äP:ƒ¯›6›ä°·0CŠzLV(<.Š˜ÑK†9öŸ`:¡:ñdÌÒµ|iá"˜/‚'©P…º¼„úÌY–æôôqÐu­ÁAá_ŽÓ¢L`¨-íâÒA$2ú!B¤€D‰š(U~ùÓ^ZJP‘¦0Œ€Þ cê!,4!aCJ®õ1NÂb5¬%ì „Úx„\Ú1](Ðz•ä›y5¢8–+¥U R…wf°yAôãQ´„ùca,P“;𱫉Z¯D&ç@‹¯³• ‹PêéR ˆ?›·¾o^ "Ñ‚6Ðxx?b™ŠT< ìÚã`,]ýUÅj+™ay‡cBÜJ0ŠB)öÑAÌEÙôÐ(ò H¢¡CP°UP@)ü|<úBË,?Ç÷ÛíúlŸÜÂRlµ;aÝì¡A:CŠó°¸ƒÃ!NÄ‘)€KŽºÐ-ÓÖ¾ÕÞì¨ i\¡œºŸ.DÞ" Ü¢ñ&öR‹8ÕÉÔ[—”ÂX-o¿uIçQ%P¨ UW‡a:Ýd‚ƒ+Û`B;½Õ‡’­Ó€¤N »¬ÇÀoͶTÇ­%É8tÕ ¥ÙbÒ<qI;*µU#+oI¿r†ÐAÀ ¼¼<&ˆÁ‘v¢A³lŠá€B¼·låI»"œww›°y0rq‡<$©ÒèžÇŸXŒåË)]§“ç(¤læ‚@_]Ì%&ËS¶ÞÁ ¤8¯; 8!oæR”G"H‚.:ë@·OZûWx½tXÀzUœmJ"cXp @¯6¢ÒàŒì š3 €çLÎóNÐጔ À@gó| ûyÚ,̦9WžH•®Æ~¬Àj¾Ø wÕfªÿï·ÛôÙ? ‚÷„Ý«‰ªšŽxÆÝ#¬¾¦p®A %Pª\¶x³Ìì—gǾßo›'Χ4ÅÙ€§‡Q9  `Ѐ€­“Iq7œ½…ç»2Ä ‚q"úà3IP7Љˆð˶d²Aêà*s jH¿õ²£ÆÎK)¡ë‡`JÜÖÄ9ÄI{œ µY P¾c=<Á?¯6¢6±‡‚ŒMòƒAA@8:<Á)'è!¨¢ˆBQ…S7–M=c%a¼“DvŒ²ì "%’•9„µ¤_úÙQø!¶êè+š€Õ‚yüü<úFY,xô“AvkW‘‰¾Pc((Gãkبk(ì3Üâ+ä6OsµÍ°°³#£RÔ|Óç0\†éÂBÙ=–  à “éÃÃ4 Ùl:o\(Î|IKS ð±à†@› Mª”qb¼SP›Ö (xahxK3S>㞌º¯Ùèëרf#ª b(E ,ºw5éƒX†Y2«³ äb 8³…ƒ1wàþ8ℇéV!ØnqỽÌB…•õ@a/t(ë Å{H‰Hge¿æÏLJ¡¬®wÄ²Ä ˜AEÅŠJ¸TéME\JÕxú!7:Œ"¤Ê}´`C•Ô“ëx/I\v½f>0Y‹ žÍ ”T@ù²uÖ:0/A(¬4+v°‚L„8ß8êË9à°*AxT08¨P‰@?I—˜_iH^1%/ƒ( ¡`ÔùÙ5jYÙSaÊú 0€ºu…⽤D‚$3²ƒ_Èóßo·Í“ðv@S¨Ñ) âl2$ËIiA@“F°ú"p¥Æ+Æ‘¨Ì¼Ï.5b‚ `º[9Ösd뀥JfÔUâX´5mj_,â‘QÛÀ™PŠ(¢½x ÒÞË qh6?"&€ƒzƒ™TÓ £B® 0,I¦’±V±tÜëê’b(S yÛ"ÛÖƒ‹Ã–åå0– [ïÝR~6è6'h#@(ï% 0ࣰ‰ºÃÍM%˜ƒžnè¨@q—ø€Êê„$$EÕ™e.’WÈÃxBB1æî@›; …–A¢µC”4Zž>ÀUây41s  +Þè8âNA""8‰“–‡]ÆP´‚†šÑ!¦ƲëÅ:Gº`GF—KÌ@¹Ø™xJx6jŠF+SçkÈô zÐí(,:†‚s¬%N%*I˜Áë°ëgÛ«ˆ$ì_râN@"ª¸·‡iƒÜ@¹VK™Jâ‰ðX¼…¢å)XB³@0Ži.a4ÉPTøB00)%ÇÓÊ€”Z{uÂbˆŒ$F@öëjÜIÂQd¶QBvÝ€Nvภ!Á³Á‘¨éDï™H$Ð(t ^b€¿& ª©È4i•~°Iæé©±“„±«‰Z¯D&çD”×Z&Àa½%Î À‚ê!À¨Ñv6ÄHÁE½µ‰½µ¦M‘@¨Dr‰â>J!ˆj)À ?ä8Õ!Š 3D·Œ\³?"±^+>OåI7pAÐüA* óÏ}¾ß¦Éù‰Øy7Xoh…¼äŒS”ŸDNÁ#‡˜0PH:Þ-(jÌ)çñY$fš¨y‡ §u ô$JºR!^ ~t´¡«0§œ[ÃX Ï…B¾É†›—íÛ‰unñ;ß RµÐ‰O‘ïe3-…Ú§öo쀠XÓzæ3Š:CP â‘åcíÇ;JDs†XÞ„‘N,$ÁW^ÁTm¨=mndHäðõ½ðÓA¿@r{³Ý¨ btN`S1Ï 3\Š@¯–Pp XX,¯§oKQvJœ€Ôï·6‹–V6"¯¤Rµ·PåCd(JÕT½Î@QnŒ®p´\@£Ri}¡u$R9§ZBD«¥"âçKJ³ yż–KŒÄìý÷1Z„MŽaíÆkAcíÐ5 ƒ['“V¢w›E2œ@RDƒX!¹No%OÿŸ†Nø#ˆ*¤"ˆ§²:clþN¨ >)á” +éãâà€9_3ÇE…9-Ê ¶ DR kÇó{:Ô³g0DÎn@{E ²&!%FŠXµçœî>(Ü1N¿b¨ÓL+Yã´E1Eí+<‘o)iâ.šQ^32 … Cz¡¹ž …"ïÉ ñüü<øRËe8ZZP3*ä9eŽ/³`a¸ÀU-½öþ¿}¾ß¦Éñàb  !Iõï4´S½EÝïÁ³ŒkëŒ`Uô L;à´ì ª«Šð‹°7Ѳ'<§/Dw¨Zæ[F«.…>áz™JœC(R@"ƒ§nP@ÜÂykáâU†phݘ¡j#µ1„“M¨dqÉ4|oGG)ß—}šA Ø B5bì² …XgŒõþû}¿M“øÄs „Ô¾ ‹{c¯ò­îŸI^-rJ T* •Y¾a}È¢/°–«%‡"¢2ëYÉâ~BŽñ% sË? (îÇR /£Ù é4ÉFª©W¤¢³ù `t4–UJ|ŠêytúÌ…B ä+¬}ºÐ à! W ­P3«G,x«¦¸y1ût€-u&“YŠÌ œ¥%91Åì2Gi) HÉy:‘"ÀBŠhPTôñ¾$¬¤Žì<\rP•XU­oŒ0“2ŒY^%º "$,%HP °ÿKï·ÛôÙ>‹¿£C((1Ià׃Ùz ŠT€cä20Øþq‘1PÛA 7¾H 6fÇÎÛPQÃj¿ªÀiVÔÒ%[d­¬’¡”EÃ{ O°Px²fiZ¾4ð‘CÊfbp‰¨Ì’ó“ë1fX›ÓÑÍÐ.¶ìÜ\‹à]§D˜À+P[ÛŤ‚Hd;ôB…I‰4P« ýó¦¼; ´”< -#La %¼›g#+ÍTEP¥ ×z˜§a1Öö…Bmó€Éuca,P“;𱫉Z¯D&ç@‹¯³• ‹PêéR ˆ?›·¾o^ "Ñ‚6Ðxx?b™ŠT< ìÚã`,]ýUÅj+™ay‡cBÜJ0ŠB)öÑTCRO­à@X½%qÚõ˜øÁf,P‚Šhß´Œ¢‘ÿßo·é²|s I²Ôí‡w°B„é+ÎÂàN …;D`¤@B.:ë@·OZûWxC² ((%¤mr†rê|¹xˆ/pN‹Ä›ÙJ,àW'P9n^S `µ¾ýÕ'ŸGªw“¸.¼rŽâ€Pq‹LYåúˆGëb9’ó‡± «t| 7æÛ*cÖ’äœ ük=ãàqI;*µU#+oI¿r†ÐF¬|€\€&$W¾c7°DVÔ-º:D‰¸# ¤LHIÇr ÄLœ´:î2…¤4Ö‰£J°‹d oÉÀ]Ì%&ËS¶ÞÁ ¤8¯; 8!oæR”G"H‚.:ë@·OZûWx½tXÀzUœmJ"cXp @¯6¢ÒàŒì š3 €çLÎóNÐጔ À@gó| ® jùÓ„ëõdS„P²#ˆ¡Ñ•U ¢ª•UU_ñýöû~›'ä0^ð€{µq#•SQÏÛ¤u—ÔÎõÈ$£Š@uGÍ×`æT T"'|JÁ(`¬?@ƒ«ÁZ«°€†N‡W€øÐ©@#E½wÅ6<.H³ ÙëÂV Ù†·†¶ÀhHVà¢A’¹ŠÜô«ºvZP¡\¦u§ˆºiExÌ Aø'€ÄÔ"ƒ…X G(Fh¯%sÁŠhÙ®CUÏ2ŠìtDPØ£¶€£Tt_ê}öûãdù„‡xª'I?'Ó96©Ž½våMfÛ¹-HKR h£eˆ£@zU—u+Ë„j“×à?›ÙÐô9Ö’°Zì ÊÎDÓЕ qöO‰2›×ý-- cÞ|ŒN+¬†1îp‚D„Ébj;Ay$˜Y$¸Y»ˆBwúJ†8ÒÃa*sÚÅìÉ©ÍB„T¹,þ#õû}¾lŸBz!}mi¤Vcƒ <˜[J¹¤)¡”|gH 4¸Lž”WzÂ*c©QP³D=‚àÐeŽâ&ø:bnZØ% (—”`(6„ͦ¼÷„!+që±¾É'[ÁyLÌ02ú_/(ÀPm ›MyïBVâ#×c}’N·‚ò$2™˜`eô¾^Q€ Ú6šò4;Þ„­ÄG®Æû$oäHe30ÀËé|¼£A´&m5ähw¼! [ˆ]öI:Þ ÈÊfa—ÒùyFƒhLÚkÈÐïxB·»ì’u¼‘!”ÌÃ/¥òòŒЙ´×‘¡Þð„%n"=v7Ù$ëx/"C)™†_Kå瞃È. $Mô˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.Hô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇK\¶x³Ìì—gªuýôåûú¦ïò²|êpƒAÌ]˜ x1†Ä/Ãi8ŽïJhD˜ŒÅsÝ™bA8‘}p‡™$¨ÅDÄx eÛ2Y õp 9„µ¤_úÙQãg%”Põð%njnÝ1%ÁC ãgƒ&%PÖ×/ñFB±Þ,T9#| ÆPP0JIúj(¢”aTÍå„SOXÉXo$Ñ£,»ȉd¥Na-@)þ¶T~ È%×_²ž.ÏLJ¡¬®]ÔeE D"<„bo” ÁÑø XÀŠÐÔb¶uîr¶$‹6¥Ê-Hã®m……™–£æŸ9‚ä7NÉìµ€^ŸN ÀVËaÓzáFsâJZ…0ÚÙmT죋àš„Þ°iCà CÂYš™ðôeÕx~ÏG^¸¥C1P[B(•eУ¹¯HÀ¼2É•]˜o#H¨ Àµœ,‹¿ñÍݶ 1fH ù¶Ä i'aHðÅd‚šÞ/¡pà(©MA«ƒÌjEY€yõÍž ˜•CX\ï1‰eˆ0‚‹‹•p¨83Ò<š‹¸•ªñôBnt%E!H”ûhÀ‡*!©'Öð ,^’¸ízÌ|`³(A;=š ( ¨ód4ë¬t`^‚P!Xi V ía™q¾qÕ–sÁ`T‚ð¨ `p1P¡!€~þà*‚Og°<·h@&‰‹|E4oŠZFQHðrŒœ3<Ö/…{H‰Hge¿à¡I¿nœCa6¨Ÿ·ÊÉø;  )Ôh”…qœ$F€H¤C¤ˆ „ NÉ£X}8ŠÒããHÔf^ Fç—±AP0]-œë9‚²uÀR¥3j*ñ ¬Z޶µ/„qH¨ŒíâhW³­$­@ŸqkpÅòA¡<Éà!Cs}AX¡ê úªÆG @rXˆÚpÔ°F(ZÜëê’b(S yÛ"ÛÖƒ‹Ã–åå0– [ïÝR~"LðªYõàÈ.Ø  Ýî¬<öUr˘ ¯QmaQßlE˜‰Æ[´ÿŠy‚º•r1/kÊQT„¶8ŠX. M“‡ÒŠCc™®ÑÌó,ãa$±©[(¨qÄœ‚DDq'-»Œ¡i 5¢hÒ¬"ÙƒÙ9I’â+pÁËáaÔ‚ 0OBóD!B ˆ DDÎ1Q‹8}'dV·Åg©+’bð™AÄXR™¤t¯­Á2–áÀçËLH @†\¼> *wCe.FO‰{zÚ¥ ñ.ŽÏLšhÀ©ÌRÀìSLy7¾¸Œ ID±ôðïx ¼ ­ŽGdîè(÷:÷‰qZ‹Þ­ÂÀ@„g,Ojœ'q–Ât Тô\Õó§ ×êȧ?]õdÔQ$@‹˜P‹í÷ê÷ÎŒcb &Ì6¸EıÊRc[!ê'“Rº¦ÇZ•¨ÇBE¢‹¶Ò …Eá*ÛEcÁ€xÇÚ´È‚l ‡ $DЮ|‡ Ú°¦– tâD°PJ‰*ªxHÚë²tçì*N\üA* óÏ}¾ß¦Éù‰Øy7Xoh…¼äŒS”ŸDNÁ#‡˜0PH:Þ-(jÌ)çñY$fš¨y‡ §u ô$JºR!^ ~t´¡«0§œ[ÃX Ï…B¾É†›—íÛ‰unðÉl’`P#ùɨ½§m$ªŽm|¼èUÀÌ: ŠW`×^ÈÜý6à@tú¤{.…h1ikj$+—œä£&­dLJ¤¶Cª±‰ÙâUÉbZ$Æ‚°Ó8ÜÏí .€%c¹ é‰cç Îp­RŠQ1¥ëÃÅ3¿r\F‚Ä47¤¸O« ¬¡z> ,õ²!HC™NÂbR¦ôìT«ªgZx‹¦”WŒÀõ«;¤3TªR¡É'dnV1Tmp¡óF’=+Mqf#[¢1Éäy0ìÚ¨bßœ,±8›¾˜–>pœç;O¡exû m$ií5®2ã‰@\i(p¶ ïä5e…‚Êúy ‚÷„Ý«‰§|JÁ(`¬8'1Ãc¸¨´êùœC ˜Uf¬ ÃÔ}ÝdgU}¸xbU†phݘ¡jÄ8ާ!³­ŠùŸ=*%f8ãÓ× pù¶”# $e ³­ÜŲŸ´%òiG!†,é(ÕO ˆGYF8œvˆ³¦(½¥g’-æä/¦%œ'9ÀÙº­¨¤ªã-H5…PÐ*KHà{íöý6OX¨Pa O¯y¥¢˜ê.ìï~ œc_\c¯ p@R`ß§eU\P·„ ]¾ˆ‘9å9x:#½@BÐ/2Ú5Yt)÷ Ð<ÊTâB’8Ët‚‚æË_¬3ƒFìÅ PÀeu¯OÔgmÃô[H@HU¨›È1Ö"YÔcI‰‹RV¼Ô±H¾Gúï}¾ß¦Éüb9ŽPBj_E½±×ùV÷O¤¯ F–¹ ¥* J¬ _0¾Ž äQØKU’ÑQu¬dˆq¿!Gx’‹ ¹åŸ†wc©Ñì…tšd£UT«ÒQYü†0:Kª¥ >Eu<º}fB¡rÖ>ÝhÀð†+†V¨Õ£–C# çIƒ%]´9  `3{à€Ófl|íµ6«ú¬‘mM"U¶JÚÉ*AD\1È×°”ûÕ ×‹&f•«ãO <¦f'šŒÉ!9>³e9½=ÝënÀ]ÅȾÚtIŒµ½¼Z@ˆ$†@S¿D(T‘1³E ±à¯ß:kò ICÀÚF "ÛHwÅr:3 ãJ®õ1NÂb4¸ôÒC«D€\ã¨@Ïò»r$3ÕªÕïši„MpáP"ãk Üx‚Kk{Etùª4ÆÂX &wácWµ^>ˆMÎ_f*A¡ÕÒ¤@#7o|Þ&½@ E£m ðð~Å3¨x;Ù´ÆÀX»ú«ŠÔW2Â󯄏”a… Sí£¨†¤Ÿ[À€±zJãµë1ð‚ÌX¡Ð¾)hE#þ?¾ßoÓdø.æ“e©Ûï`… ÒW…Àœ v$ˆÁH€„\uÖnžµö®ð‡e@PPKHÚå åÔùr&ñ^à‰7²”YÀ®N rܼ¦Ák}ûªO>Tï'p]xàÝ&â( Ô1‚¤ã¦,òý Ä#õ±‡ÉyƒCØUº>Póm•1ëIrN5H)@vX´RBÊ­UHÁÊahúB(%ÀBb‚¶Ý¦ càÈ»Q Ù¶ EpÀRyw€'¨¤¨%º¨d¿Ø7 8âNA""8‰“–‡]ÆP´‚†šÑ4iVlA€ ù8 ¹„¤ÙjvûØ!B‚t‡çap'-üÊR‚¨äI@%Ç]héë_jï Îƒ«8J³©DLk¨àFÔC€\”Ftpé™ÞiÚ1’„ þaUÁ­_:p~¬ŠrŠB¤a:3¢‚’ª¡TURªª«þ?¾ßoÓdü€& Þv®$rªj9ãt޲ú™À^¹€”q@¨ñ¹ºìÁ j„Dï‰BØ% €èbÃCux+@•v£*À AÝæ…Hª1-ìë¾(Ù°‘ápÚE˜VÏXö°^Ì5¼5¶BB· •ÌVç¥]в҅ ˜‡“x†öˆ[Éd¸È\NÏßs.þé]€âÀÇ4xÀ˜d ±ó 0;ÀW4 ƒ¯Ýyªš‘!.ÈÃB´.{<1®°ÿÔûíöÿÆÉó ð5TN’~N3¦rmSz6íʚͷrZ–¤ÑFË5F€ôª/êW—Ô'¯ÀE ­[!éýžt¢ åQ%ZœE?ž¢ZÈŠèzkòäÊo_ô´¶yÉdH¶a¬do Ųx3"…îÇ™‚Õž)Y„œ0YEÆ ‘`5@ä/Ї2ƒ E8äFHŽ ‚Êëþ§ßo·Í“èOD/­­4ŠÀ¬ptg“‹iW4…42€¯Œé“¸A&— “À’‚Á àÓ¯XELu**jÑ´Gh¢Gƒ.‘þ±G’¢D«ƒöá‰9ˆ`O„8µ($”t‘Œ¬d·‘!‡íáи–c „* âÞÂ1${c@§ õQÂäXŠV‹&úðè\K1B qoa’=± SÐz¨ár,E+E“Fýx:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw‰²”5Ä…8˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.Hô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R=(t±SÆóåËg‹<ÎÉv|{íöù²|êpƒAÌ]˜ x1†Ä/Ãi8ŽïJhD˜ŒÅsÝ™bA8‘}p‡™$¨ÅDÄxhú]^›¤Ð *s jH¿õ²£ÅŸjX# €<G3<ÒZTQ:8å‹–#!,‹Ôjš@¶8²ð¿ºj5Âçd"4’ŠŸ¸4ü€ÕJØ” ²b°!Œ/ ‚Ž;^³,ÅŠNÏf…‚J* |Ù :ë ”VH‚»XA&Boœue€ðX ¼* T(HD áÚõ˜øÁf,P‚Šhß´Œ¢‘àå8f(x(¬_ ö‘ÎÊ #Ï}¾ß6OÀ!ØMN£D¤+ˆ@|á"4E"$A!vMÃèˆ ÀDV—¯F£2ðZ7<¸Õˆ" ‚élçYÌ“®•)›QWˆmbÐÔpZ£=ÈU^Ò˜ØnA2Ÿ•13@2¤¥SÊ@ BЦÁÑ‚²+GÛâ³Ô•É1xL â,)L‰À{Ù@d¥œ$Mã Æ‚¸ÃaT†± ìÑ HùÀiñ/o[T¤^"åÑÙé“M9ŠAØŠiƒ¯&÷×€I(–>žï!—” ÈìÝç^ã‘." Q{Õ¸XðŒå‰í@À` …m€G¡¤@a¯‰u+'Pœúï«&¢‰ \„_h§¿W¾t`ƒi6aµÂ.%ŽR“ÙQ<š•Õ6:Ô¨EF<ê-XÈ%¶‘*/ VÚ+À„Æ>Õ¦D` d> J !D±DDE#"X(¥D•U<$muÙ@ºsö§.~ •HÐùç¾ßoÓdüÄì<›À¬7´BÞ rF)ÊO¢'à‘ÃÆÌG¨$oΖ”5fó‹x¬’3MT<ÃÈSÀ:Ðz%])¯?:ZPÕ˜SÎ-á¬ç¡_dÃM€Ë‚öŽíĺ·xEðµCáŒ3k¾åV@ L'ËÎ…\ áÐÈ¥pf uìÏЃnOªG°èP!8ƒ–±v¢A’¹yÎJ2jÖDĪM!W|DÁDøªä±-cAXi‡œngöÐ@‹±Ü…ôıó„ç8 V©E(˜Òõáâ™ß¹.#AbÒ\'Õ„ÖP½PzY¤!̧a1)Szv*UÕ3­î²3ª¾Ü<1*Ã84nÌPµ â GSÙÖÅ|Ïž•³Nœqéë8|ÛJ„’2ÐYÖîbÙOÚy 4£Ãt”j§…áD#¬‚#NÎ;DYÓ^Ò³ÉórÓÇΜàìÝVÔRUq–Š$¨h%¤?ð=öû~›'Lj,T(0…'×¼ÒÑLHFõvw¿Î1¯®1WÐ8 )0ï‚Ó²‚ª®([Â.ÀßDFÈœòœ¼Þ !h™m¬ºû…èe*q ¡IŠ œeºAAs 密$¹P8‹Ñ¨4L™“އ7½‚ºó˜ç¢ØªBB­DÎÐÀ‚P"ŸT«hÆ4¬¯úï}¾ß¦Éüb9ŽPBj_E½±×ùV÷O¤¯ F–¹ ¥* J¬ _0¾Ž äQØKU’ÑQu¬dˆq¿!Gx’‹ ¹åŸ†wc©Ñì…tšd£UT«ÒQYü†0:Kª¥ >Eu<º}fB¡rÖ>ÝhÀð†+†V¨Õ£–ã§g¡o „(&Y’#E, Zÿ©÷ÛíúìŸèÊN,4FÒ¬ ‚m?ñ!Þ•Ü óÒÓ—š) .J•«gìÐâÆ¢° ãüv<“ Ð?IðH€ UÉÅ.'9âLØ“‘ðеôԲ·„ɾ+ gÒ"€¥TP>wÑ9 †Ë‰ÂÙ*°o’¸`*pȼN CµÓ<ÉdH¶a¬do.¯YK-r|R»6ÆHÀTñ(b³V PFýPŒµ„…#Ù8"jP”§$B§þ£ßo·Í“ök€T|ˆ¡ /Å·7:V¨+ñ’ì E{  <^–Ë‚ézš7¼Ê’9Â{ÌÐÁœ= N©óÿxd­§ñu\ÑÑ£êp„%n"=v7Ù$ëx—š†¢NƒßXëÅán£BXR ´ ápŠG –*±(ä#GX@j8ƒ±x[„¨Ð–”ƒm¸\"‘èC¥Šƒ¬J9ÑÖŽ ì^á*4%€å ÛA0®¤zPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)€:X¨:Ä£a¨âÅán£BXR ´ ápŠG –*±(ä#GX@j8ƒ±x[„¨Ð–”ƒm¸\"‘èC¥Šƒ¬J9ÑÖŽ ì^á*4%€å ÛA0®¤zPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)€:X¨:Ä£a¨âÅán£BXR ´ ápŠG –*±(ä#GX@j8ƒ±x[„¨Ð–”ƒm¸\"‘èC¥Šƒ¬J9ÑÖŽ ì^á*4%€å ÛA0®¤zPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)€:X©ãyòå³Åžgd»>=öû|Ù>u8A æ.Ì…<—Ö"Ñ瘷Ânœ«P!ì¾&—ภ]YÛa㈋«J87pDX‰"’Ca˜€` 9„µ¤_úÙQãMcÞÁ{eƒWÝ-Y›¢ žˆ>ÏLJ¡¬®^5⌅c¼X¨rF&ùAŒ   üÆ×¹¤-'í¼žCˆTJØ€ (¢Gísl,,ÈèÔÈadv‚±8HK‚!.€¯¢ 焺i"à*ú¾9¨D¨í´^ø¡`½ªÈ%×_²ž(“;pβ҇äØ%$ý5QJ38âôB¹{ Pkñï5Âï)ptÕ>Ó™M-0„«öNQ“†b‡‚€ZÅð¯i ‰ ì ×ð<ÙàɉT5€õÎð#–X“(¸±IW ƒƒ=#ɨ±«‰Z¯D&çBQ„R€O¶Œr¢’}oÅé+Ž×¬ÇÀF 1b„³Ù¡`’‚ ˆ6CNºÇFè%†’`®ÖI‡çY`<H/ ‚ (ãé2ó í)Ëʪm(a†˜®õúí¡¬c1P³ƒ”dᘡà ±|+ÚDH"C;(5ü=öû|Ù?‡a4:®!ó„ˆÐ ˆt‘„ Ù4k¢ 'Z\b¼iŒËÁhÜòãV ˆ* ¥³g0VN¸ T¦mE^!µ‹CQÀTòã:À®€H/“C’TÈ 3‚¬iÀÉ„ó'€… @Íõc’(ªí ˆ¥ì2ý aoü_Щ¤dq„qß¡ˆ‹]$-,pÝÓPÔÈ3µ$Ú8mz7,‚xAC´{À=¬òOMÕ±¨Üè—ÀÚ_Ã~ƒ(3š@É?«œÀŽ.—˜s°72ð”ðlÔŒX¤«…AÁž‘äÔÑ ¯A‚ˆƒ (Z”R'€’É%2ÈWT!!".¨4Ë)Hî  &`G°#Ã`²lÀIŽƒ¸HÚë²tçì*N\üA* ñÄ``RJ%§‰ÆRØä *Ü’%ᄈ¨Ým[‰8Kˆ‚Ô^õn†2PƒŸÌ!ð*¸5«çN¯Õ‘NBBÈTŒ""‡F_µú„¬Bê…C~w0”›-NØw{Á@Îæ©°«*âô“‹„W$à7›‰d‘Q@kà ˜ÑdB=)o¹f~Eb¼V|£k®ÊÓŸ°¨9sñ¨:@v€Ï=öû~›'æ'aäÞa½¢ðc’1NR}8Ž6`Â=A ëx ~t´¡«0§œ[Åd‘šj¡æ@2žiփБ*éH…xùÒÒ†¬Âžqo `7> û&l\´wn%Õ»ÂçKJ³ yżT@X7®õ²MbÊ~VÎA dYX8./82ÑBó_H픟ÐÂE‘‘S¡F0®w9ߎ€•`h K5€àátéàÜ Ž$‚`„=SV÷#÷ÂIF§ç¹ï$¡ "AÇ“V¢w›E2œjÃ¥ŸA uüsŽa^ 8c·5S@Q;"ƒœž‘¥q ‘žÉ¯…Ðjðf‹Qh‚yZ ˆq‚A1Í¡ÊÌF·Dc“È&ò9;¼œ6­ úA®¬ŒÀlPÈQÜá‹_› Š@ YÔ³®# 한 (P‘Ø{¸¼DëÕjPÂÃB?Ëûíöý6OX¨Pa O¯y¥¢˜ê.ìï~ œc_\c¯ p@R`ß§eU\P·„ ]¾ˆ‘9å9x:#½@BÐ/2Ú5Yt)÷ Ð<ÊTâB’8Ët‚‚æË_-}DªØÀ€²Š rMÑÑÀ E7Åäë,ê1¤ÄÅ©+^jX¤_#ýw¾ßoÓdþ1Ç(!5/ƒ"ÞØëü«{§ÒW†£K\„„R‚• ƒ†ˆ%VF‚/˜_G(t‚ÊUPqä m£pkF¬‡nBÔ5x ¨A¼d(ïQ`¡W<³ðÂŽìu"ú=®“L”jª•zJ+?ÆCI`T¡GÈ®§—O¬ÁT à .BºÇÛ­¸ÅpÁÊÕ:´rÇŠºk‡“±¡ÁOf™›)¨ŸT;möРb äc‹ØdŽÒS@‘’òu"D€…Р ©éã|H1X#I)Øx¸ä¡*°«Zßa&e²¼KtDHXJ¡Aaþ—ßo·é²}F†PPb“Á¯²ô©ÇÈda±üâ)"b +¶‚'  o|ƒê§P`Õó`£†Ó|–æqRIŠÅ…ÑS)pÇ#^ÂSìT'^,™šV¯<$Pò™˜œ"j3$†<äB‡`çlëš„JŽÛEïŠ ÛÎÓ¢L`¨-íâÒA$2ú!B¤€D‰š(U~ùÓ^ZJP‘¦0Œ€Þ cê!,4!aCJ®õ1NÂb5¬%ì „Úx„\Ú1](Ðz•åÝ%‰[‚8,™œ¥ETHðD´Ò#‘"< e%ca,P“;𱫉Z¯D&ç@‹¯³• ‹PêéR ˆ?›·¾o^ "Ñ‚6Ðxx?b™ŠT< ìÚã`,]ýUÅj+™ay‡cBÜJ0ŠB)öÑTCRO­à@X½%q 9”ÒÓJ¿`Dÿßo·é²|s I²Ôí‡w°B„é+ÎÂàN …;D`¤@B.:ë@·OZûWxC² ((%¤mr†rê|¹xˆ/pN‹Ä›ÙJ,àW'P9n^S `µ¾ýÕ'ŸtøÿåVj kÎŽD°œÁ‹\áâ`>>®®Žï›ÉãPÿlf¢² üüÛe@ zÒ\“„]'Ïs àqØ]|gˆ®TqÐqq1Y( 6 y0í6šeC   ‹µ ›`¤W ˆtv !Q ©H<îîþ7`ò`ä:ã‰9ˆˆâ&NZwBÒ kD͆§mÖ4&°? »˜JM–§l;½‚ 'Hq^vpBßÌ¥(*ŽD‘\uÖnžµö®ñz è:±€ô«8Ú”Dưà^mD8¥ÀÙA4g@7Ιæ¡Ã(A€€Ïæø\Õó§ ×êȧ(y¨y° <L¹LÝ]2:ÀëÞÿï·ÛôÙ? ‚÷„Ý«‰ªšŽxÆÝ#¬¾¦p®A %Pªã§l‡’ËP­5¤÷*†îO–CÚ _õ>û}¿ñ²|ÂC¼ U¤Ÿ“Œéœ›TÇÞ»r¦³mÜ–¤%©´Y`• ²h¬m'Š…@„Å@äÀ­·„ ]¾ˆ‘8`wîT˜T5·ár'˜· 9- §€±R#ßžLz«¨lX‘@ ±Ç¯õÄAF§î•èÞžf€}¥DËÏŸ$Ž]ä7 ¼Þ­ú¦b¡TC:g&Õ1À7£nÜêÐú ¬ˆ"@×ýG¾ßo›'Ð ¥>× E˜2bñ  "8+J‘B1Áì™ÿjª½@ÐÕÜ$šÊØ*gX{VhÙ5HØübnZØ% (—”`(6„ͦ¼÷„!+që±¾É'[À ¼Ô5túÇ^/ p•Àrm ˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.Hô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.Hô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R=(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#ЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.Hô¡ÒÅOÏ—-ž,ó;%Ùñï·ÛæÉó©Â 1v`$)àbR6ao­W¾ð‚1<1m2„D*o%GP Å@ÀÕ ¯¾‹@Xè $Eˆñ"’Ca˜€` 9„µ¤_úÙQâϵ,…@4JlÕ©"ÃlÀ¯ãùøyôŒ²Xñé&‚ì$Ö-¯;#| ÆPP0JIúj(¢”aTÍå„SOXÉXo$Ñ£,»ȉd¥Na-@)þ¶T~ …^Œha8ŸÏÃϤe’ÇI4a&±hyÙ›å0‚‚€pt~0"´5­{œ­‰"Í©r… E8çk›aafGF¦C ;´‰ÂB\ t}O<ÙàɉT5€õÍÐ.¶ìÜ\‹‚P€ A.ºý”ñD™Û†sý”?&Á)'è!¨¢ˆBQ™Ç¢ËÙƒXy®yKƒ &¨ ðízÌ|`³(AE4oŠZFQHðrŒœ3<Ö/…{H‰Hge¿æÏLJ¡¬®wÄ²Ä ˜AEÅŠJ¸TéME\JÕxú!7:Œ"¤Ê}´`C•Ô“ëx/I\v½f>0Y‹ žÍ ”T@ù²uÖ:0/A(¬4+v°‚L„8ß8êË9à°*AxT08¨P‰@? ÿpA'3ØÛƒ4 “Dž@¢š7Å-£(¤x9FNŠ k½¤D‚$3²ƒ_Àòmibµ²ýZì#0}rNTªöü€C°šF‰HW J !D±DDE#L‡ïbT’Vàˆ­.1^4Feà´nyq«DÒÙγ˜+'\*S6¢¯ÚÅ¡¨àµF{ª½¥1°Ü¢ëAµ9f)€ð¡A":[Ù`!®-æÇãDÐoPs%ÖöÄY€‘¨]JZ ŠiÆ·:Ä:¤˜ŠÂävȶõ âàpæ3»‡LPêX0|lwá…Ò•Áç”0,ÂŽÂ&ë*¬.¶C8²Œ¿Àô@Щ¤dq„qß¡ˆ‹]$-,pÝÓPÔÈ3µ$Ú8mz7,‚xAC´{À=ªs;f:^ò©f‚JÖœÌÇÆ¦2OÁêç0#£K¥æ \ì ̼%<5E£)*áPpg¤y54BkÄ`…â€`ÅB@ ¥‰Æ`$²G‰G ò•ÕHH‹ª 2ÊP@•@B‰bˆˆŠ FD°PJ‰*ªxHÚë²tçì*N\üA* ñÄ``RJ%§‰ÆRØä *Ü’%ᄈ¨Ým[‰8Kˆ‚Ô^õn†2PƒŸÌ!ð*¸5«çN¯Õ‘NBBÈTŒ""‡F_µú„¬Bê…C~w0”›-NØw{Á@Îæ©°«*âô“‹„W$à7›‰d‘Q@kI4CëŸ!„¶¬)¥€Fƒ]8‘,R¢Jªž6ºì ]9û €S—?Jƒ¤‡hüq¶ g:j‡ƒïé²~bvMàVÚ!o9#å'Ñ€pHáãf #Ô·‚çKJ³ yżVI¦ªaä)àFh= ®”ˆWˆ-(jÌ)çðÖsáP¯²a¦ÀeÁ{Gvâ][¼ „Š%eôP¼!9ˆÃ@C-¦ù( “³1 r^x<‰ê,¨cY`°Ša!r.Áh 7®c8ˆŒi?¦V½–ðw §Oáq&à Éèòœ ·¸1¾J59U€PÉÚŠÐ ¯6MZ‰ÞvmÊp!«–}‚uÔñÎ9…z€áŽÞÕM9DìŠpZzF•Ä2F{&¾A«Áš-E¢ åh&!Æ 4Ç6‡+1ÝŽO ›ÈäîòpÚ´+é¸N²3±C!GpC†-~l*)pX‚@egRθŒ$´BVp€¡BGaîâñ¬ U©C ÿ+ 6´±ZÙ~‡Àœ¨ T+íýLj,T(0…'×¼ÒÑLHFõvw¿Î1¯®1WÐ8 )0ï‚Ó²‚ª®=]ßÀ.ä \S÷ƒ Z…j—ÉøËhÕeЧÜ/@ó)Sˆe HP`Tà#-Ò ˜O-|5²U`ß%pÀTà;Ϭ€w¼e“1c €·ZO7c¬D³¨Æ“¤­y©b‘|ôòŽ2æ°6t¡ƒ›/ë-E,¯)àˆ˜•ÓÆÚS“ϧuG !®¼ÀZÂPÀÃBrW¨F¤H"ADfòúhG"—¯o×âÉ{äQ6˞ƩñH;U=þ=§wh… Ô«åWýç¿~ýû÷ïß¿~ýû÷ïß¿~ýû÷ïß¿~ýû÷ïß¿~ýû÷ïß¿~ýû÷ïß¿~ýû÷ïß¿~Á¿G  Ѱ³ãR–íP5|äê÷Æz¡KíDœþçóĦ†Ÿr“¿ÁÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî<þçóÏî sinfo 0.0.7 @ localhost
sinfo 0.0.7 @ localhost
config menu
show top processes
show network info
show system info
show only user
 23 nodes       total CPU utilization:  24.6% ( 4.150 GHz / 16.887 GHz )
antsrv1.ant.uni-bremen.de     siiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii--------------
( 0) mem: 98.0% swap:  0.0%   user:  0.0% sys:  0.8%  nice:  0.0%  idle: 99.2%
bassum.ant.uni-bremen.de      iiiiiiiiiiiiiiiiiiiiiiiiiiiiii------------------
( 4) mem: 59.2% swap:  0.5%   user:  0.0% sys:  0.0%  nice:  0.0%  idle:100.0%
bern.ant.uni-bremen.de        uiii--------------------------------------------
( 0) mem: 24.6% swap:  0.3%   user:  0.5% sys:  0.0%  nice:  0.0%  idle: 99.5%
compsrv1.ant.uni-bremen.de    sssssnnnnnnnnnnnnnnn----------------------------
( 6) mem: 19.7% swap:  0.4%   user:  0.0% sys: 21.2%  nice: 78.8%  idle:  0.0%
compsrv2.ant.uni-bremen.de    ssnnnnnnnnnniiiiiiiiiii-------------------------
( 8) mem: 21.6% swap:  0.0%   user:  0.0% sys:  7.2%  nice: 44.7%  idle: 48.1%
       rinas R 100.0  10 matlab
compsrv3.ant.uni-bremen.de    nnnnnnnnnnnnnnniiiiiiiiiiiiiii------------------
( 6) mem: 24.7% swap:  0.9%   user:  0.0% sys:  0.0%  nice: 50.0%  idle: 50.0%
       rinas R 100.0  10 matlab
denver.ant.uni-bremen.de      iiiiiiiiiiiiiiiiiiiiiiii------------------------
( 1) mem: 76.2% swap:  1.0%   user:  0.0% sys:  0.0%  nice:  0.0%  idle:100.0%
kiew.ant.uni-bremen.de        uusi--------------------------------------------
( 4) mem: 39.4% swap: 10.3%   user: 42.2% sys:  8.3%  nice:  0.0%  idle: 49.5%
loghost.ant.uni-bremen.de     uusi--------------------------------------------
( 0) mem: 53.8% swap:  0.0%   user: 38.8% sys: 16.5%  nice:  0.0%  idle: 44.7%
london.ant.uni-bremen.de      uuuu--------------------------------------------
( 0) mem: 24.2% swap:  8.0%   user: 86.1% sys: 13.9%  nice:  0.0%  idle:  0.0%
milano.ant.uni-bremen.de      siiiiiiiiiiiiii---------------------------------
( 0) mem: 15.6% swap:  2.8%   user:  0.0% sys:  0.5%  nice:  0.0%  idle: 99.5%
muenster.ant.uni-bremen.de    usiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
( 2) mem: 52.6% swap:  1.6%   user:  0.5% sys:  1.9%  nice:  0.0%  idle: 97.6%
oslo.ant.uni-bremen.de        iiiiiiiiiiiiiii---------------------------------
( 1) mem: 75.5% swap:  0.8%   user:  0.0% sys:  0.0%  nice:  0.0%  idle:100.0%
prag.ant.uni-bremen.de        uiii--------------------------------------------
( 0) mem: 23.3% swap:  0.0%   user:  0.5% sys:  0.0%  nice:  0.0%  idle: 99.5%
rimini.ant.uni-bremen.de      siiiiiiiiiiiiii---------------------------------
( 1) mem: 57.3% swap: 40.2%   user:  0.0% sys:  0.5%  nice:  0.0%  idle: 99.5%
rom.ant.uni-bremen.de         siii--------------------------------------------
( 0) mem: 37.9% swap:  0.0%   user:  0.0% sys:  2.0%  nice:  0.0%  idle: 98.0%
salem.ant.uni-bremen.de       iiiiiiii----------------------------------------
( 8) mem: 59.7% swap:  7.1%   user:  0.0% sys:  0.0%  nice:  0.0%  idle:100.0%
sande.ant.uni-bremen.de       uunnnnnnnnnnnnnnnnnnnnnnnnnnnnn-----------------
( 4) mem: 96.0% swap:  0.4%   user:  6.1% sys:  0.5%  nice: 93.9%  idle: -0.5%
       rinas R  95.9  10 matlab
       rinas R  95.8  10 matlab
       rinas S   3.5   0 matlab
       rinas S   0.8   0 Xvnc
skopje.ant.uni-bremen.de      uusssssiiiiiiiiiiiiiiiiiiiiiii------------------
( 9) mem: 74.8% swap:  0.1%   user:  5.8% sys: 15.4%  nice:  0.0%  idle: 78.8%
torino.ant.uni-bremen.de      iiiiiiiiiiiiiii---------------------------------
( 0) mem: 16.3% swap:  0.1%   user:  0.0% sys:  0.0%  nice:  0.0%  idle:100.0%
verden.ant.uni-bremen.de      snnnnnnnnnnniiiiiiiiiii-------------------------
( 5) mem: 38.4% swap:  2.3%   user:  0.0% sys:  1.5%  nice: 48.5%  idle: 50.0%
       rinas R 100.0  10 matlab
verona.ant.uni-bremen.de      iiiiiiiiiiiiiii---------------------------------
( 0) mem:  7.9% swap:  1.0%   user:  0.0% sys:  0.0%  nice:  0.0%  idle:100.0%
wewer.ant.uni-bremen.de       siiiiiiiiiiiiiiiiiiiiiiiiiiiii------------------
( 7) mem: 44.6% swap:  0.1%   user:  0.0% sys:  1.9%  nice:  0.0%  idle: 98.1%
generated using sinfo 0.0.7 by J. Rinas
sinfo-0.0.48/html/idea.jpg0000644000175000017500000010000111356411374012207 00000000000000ÿØÿàJFIFPPÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ5õ"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?÷ú(¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€)jZ”ztJÌ¥ÝÏÊ ã>¼Ögü$ÿôçÿ‘úÕ7ˆ,¦¸H¥…öd2Œ“Î0@¯<ñÃéu»)áŽ]ZÚIœ;4ÒÆyÎ LÛqè0@ÇV”c ÔQ©.X½Ý¯o;u½´;ßøIÿéÏÿ"ÿõ¨ÿ„Ÿþœÿò/ÿZ¸m?À&ËN·¶•õÉÞ$d·1DG@èì^µ¿æ}V+µŸUX‘vìi%i1Î@”¶ð}sÉÁ³­îIª~ò¾ûißþч§J£~Ö|º6´½ßE§~ç}ÿ ?ý9ÿä_þµð“ÿÓŸþEÿëW›hÿ &Ó/ïn&½Ö.å·I%³’rìŒ ·=xž9ãBÿÀoufðÂúÄLØÉ–æâu ࣹô5¶.éIªç]ío–¦t#Î1ªùSz½íçe¹ÜÿÂOÿNùÿ­Gü$ÿôçÿ‘úÕæ:‡Â˫ٴÙ£«Flñœ«· ŽcÉýÑà28^2 ;ÇÁc`×Q»0Ô.Ž® E!N4¡(ÊòkUo‡Êý~B’Š¨âŸ»}uÞÇaÿ ?ý9ÿä_þµð“ÿÓŸþEÿëWœ§Ã[£ÝXµÞ¨¯0!^24\ŒÆ=îÜ u©´O‡O¥i‘ÚM6³pÊI ÍźNp¨ŽõîI'è8BXi)ZwømÓ½öùˆ„)Öp¥.hôvµþOSÐ?á'ÿ§?ü‹ÿÖ£þúsÿÈ¿ýjàeø3ê±]¬úªÄ‹·cI+IŽr¥·€sëžNíRÛá„Ðx’ãTkÝaâ•Jù"IVLq€ÓÞÊ1ÀëÂäœraã Š~Ö\¶Zi~gÛM¾c¯ pPt¥Íu®–³íçêIÿ„Ÿþœÿò/ÿZøIÿéÏÿ"ÿõ«†¿ðÝY¼0¾±62e¹¸H8(îAý gjšnáK OíÝKT€¸òÑíÔ{ÊŽvÇ`ÇA‘““ÎtáV­Og·}­«û‡(RTNzÿ ºw¾ß#Ò¿á'ÿ§?ü‹ÿÖ£þúsÿÈ¿ýjã ð½ÌÏk2Ã*‡ŽHõK¶WR2"LGzˆ·R[ê1ÝT°@d¸'<ɃûΤpO|E~ò1–‰½_o;u p¥*s”§i-•¯Íóéó=þúsÿÈ¿ýj?á'ÿ§?ü‹ÿÖ¯?Ñ>>•¦Gi4ÚÍÃ)$4w7è9¢8×¹$Ÿ uïÃù®nm¤†}V%…·$’ÎÙÈåYØ•<{ޝ•9ÉQ|é=×]õØXhS©4«O‘wµÿwßð“ÿÓŸþEÿëQÿ ?ý9ÿä_þµyµ·Ã  ñ%ƨ׺ÃÅ*•òD’¬˜ã¦ ½”c×…É8çRçÀækibˆëQ»©PÍ{s*Œú«¹ =ˆüºÖ˜˜S§oc>}/µµí¯næT’”’›²¾ûéÜíá'ÿ§?ü‹ÿÖ£þúsÿÈ¿ýjòýKáUÖ¡¤ÛÙ ýE) Ñ;DG8ÄY‘“È9äçìoÉ8êOaÓº¥JŒç9rÉ=#kÝw¾ÊÅâ!NŠ¥.dÒmÚÖ}µÞÝÏGÿ„Ÿþœÿò/ÿZøIÿéÏÿ"ÿõ«‚ÔþË{n‘Á&«qË5ÊžiàóÔzž½©OðÂâÛêŸoÖvD¡Y¤2BËœªœò«c0ñ…IÊ5eÊ’ºv½ßk-½B¤)ÆŒg ^N÷Vµ»;ìîzWü$ÿôçÿ‘úÔÂOÿNùÿ­\yðXÁØ5ÔnÌ5 £ƒë‚äÄXW ®§Ñ&ÓÍö¢$ÁHÜEŒ†8nƒ’r01ß1I)VŒ&í»Þß-ØFÝMÎÒV´m¿}vV=7þúsÿÈ¿ýj?á'ÿ§?ü‹ÿÖ®Oð ²Ó­í¥}rw‰íÌ@ãÑÀP:;×­E/ÃùŸUŠígÕV$]»IZLs%-¼Ÿ\òpGi­îIª~ò¾ûißþðôéToÚÏ—FÖ—»è´ïÜï¿á'ÿ§?ü‹ÿÖ£þúsÿÈ¿ýjómá„ÚeýíÄ׺ÅÂܶà©$°6rN]‘v篓Ç<\ÔþË{n‘Á&«qË5ÊžiàóÔzž½µÅÂ¤Õ s­5µ¿>Äá¡ •kK’/wkÛäŽ÷þúsÿÈ¿ýj?á'ÿ§?ü‹ÿÖ¯5Õþ\jwÖ7ßë1}™·7˜ÒLÄäÈÌvdž8팃]FìÃPº8>¸.AüAêœiÂPäïuk[çÖækâ·Nçaÿ ?ý9ÿä_þµð“ÿÓŸþEÿëWœ§Ã[£ÝXµÞ¨¯0!^24\ŒÆ=îÜ u©´O‡O¥i‘ÚM6³pÊI ÍźNp¨ŽõîI'è8BXi)ZwømÓ½öùb! uœ)Kš=­“ÔôøIÿéÏÿ"ÿõ¨ÿ„Ÿþœÿò/ÿZ¸~Ìú¬Wk>ª±"íØÒJÒcœ)màúç“‚;T¶øa4$¸Õ÷Xx¥R¾H’U“`4Á·²Œp:ð¹'˜x¢Ÿµ—-–š_™öÓo˜ëœ)s]k¥¬ûyú£Òá'ÿ§?ü‹ÿÖ£þúsÿÈ¿ýjá¯ü÷Vo /¬DÍŒ™nn'RÎ ;CYZ‡Â˫ٴÙ£«Flñœ«· ŽcÉýÑà28^2 &0©[’´¹#oŠ××µ–¡(STã+Îöå·N÷Ûäzwü$ÿôçÿ‘úÔÂOÿNùÿ­\ü!iýÍsÿWür²á­Ô–úŒF÷Uì® Ï2`þó©“ßejF/H·«ì»Û¨éÓ¥*s”çi-•¯Íóéó=þúsÿÈ¿ýj?á'ÿ§?ü‹ÿÖ¯?Ñ>>•¦Gi4ÚÍÃ)$4w7è9¢8×¹$Ÿ Î×ô6ÃR°ŽëX¾±“;Ö;‰¥™º™Yؘúu%}¿þWì>W—ä?Û7õû6Óæm÷ÇéœsŠÓÓïî4Ï ÛÞx¦îÎÒâ8ÇÚ¦y8Ô“–?('*8Üxã«­IÓöJŸ¿{ó_Kv¶Þw6xv©*ÜëWn[ûÞ¶ìlÑX÷^,ðÝ‘öÏiVþ|K<>uìiæFßu×'•88#ƒD>,ðÝÅÍä> Ò¤µµÛö‰’ö2‘n8]Ì'žµ‘‰±ESÓum7Y·k/P´¾\£Ik2Ê¡° RFpAǸ«”QEQQ‰ák‡·Yc3¢+¼a†åV$)#¨«{í>•%QUῳ¸¼¹³†î .­vý¢‹pÊîQÊär3Ö€,QUî/­í'´†y6Iw)†´î¤#ŽŸ*1çÓ×X_[êzuµýœže­ÔI4/´ÈÀ8<Œ‚:Њ(¢€ (¨çžn.%Ž"BòI#TP2I'€ç4%7‹<7ogmy7ˆ4¨ín·}žg½Œ$»Nk†Áà㥾,ðÝ÷Ÿö?iWDM<ÞMìoåÆ¿yÛ…'@V~™®èúß›ý“ªØßù8ó>Ép’ìÎq¤ã8=} X³¾·Ô i­dó#Yd„¤aãvÇ>Œ¬=ñÇbŠ*½ýõ¾™§\ßÞIåÚÚÄóLûIÚŠ cÉÀ¥X¢Š(®GÅpøv_ø~ _MŠæîêWHårʱF£9r>VV†0¬yi†3’]^wãøu%×´ÙbM5Òíà³Ó¥»¼h½ÒÈnNà#mé#[[®2+µvï-IÅIY£JugJ\ÔäÓîD¢Š)™ž}ñoÅ?ðhZwüKæºó¯à—x;cO"T›k6¶` t܇º²¹ûm…½×‘4|K'“:m’=À¬;0Îõ®?âoößö5öO•åýºßÌÎ7ù¾jyÝÆ<ݹÿ€ÿêégÕ­tm.ÚãĆŸbì$’I„Qvä….G£:àV²­JTÕ8Ó´–ò¾÷ÛN–6–Æ”jó§Í}Õ[ºóèiQX÷Þ,ðÞ™y%ÿˆ4«K¨ñ¾ïc× •'# ƒøÑÿ g†ÿ³¿´á Ò¾Ãæùiûl~_™Û7g±Î:â²16(ªö7özœw–p]ÚÉ“A ‘ƒ†GáV(¢Š(¢£Žxfy’)cw…öJªÀ”m¡°Þ‡k)ÁìAïRPE^û;‹Ë›8nà’ê×oÚ!Ix· ®å®G#=hÅŸ©kzv‘¿í×VËI¯[äfÄ0íó€zo^:œð5¡@Q@Q@Q@Ts̶ÖòÎâB‘¡vÆÎÄžA,}€$ö EƒRmÂvé¤Ï$:K)»Ž{w†ø-¤¯D™;ÌŠÊ\ Ûœ•<K´ÖÛÂZ‘7‡¯¬î´x­d{—šØ–hw$;e't€46ÅÙ#äÿ gøR÷Äé:§—ªÛÍV6ÑXI¦²A$ Kq$²4yIý£hó>\d+ì\ë%O ÝË ë­ÿ£5Ê9V'3 š8Í*íi0ÀO…9$àžÐäÓt½-u[«·Ö,tÈíÌg`0Qå g,qPw ×Añ,:W‰!±³Õa’íˆG©*ùóËtdµ– Kû¥E,d»Ý»•ôÔð>¥{¨ë-q¨ÚêQÞK¡iéq%Ö-ºµÄm9˜È«eSÁÉÆ@8ãâ¹Ô´m:êCâ ) j— miáÖ %ÇÚ ´}±8h›ËŽ@;tj R³C¬ 7Km5ƨeŠÚÛä3Ã:4Ìd”Ÿ´ÛdÌœÿ†tŸ[i©oâ;]ÀŽ]ã·Õ•'’FŠV}«vÅhî7)p •'hôßCâ/j úÈ'SKf¿þÊß=µ—‘»Ù„™Ü(Bmùð  9õ_<ôƒRñ3ZéþvZ22ÜI¾UŒ6mÎY“ì®Ê*ÒIÂ*€Ò5Ý%4x5 :úi­í-a‰ÓQÚZƶñ¤©$jÿ¼8™òÜÑêS—ð†‹ñ NÖ-¦ÕmõÉTKlåÕVHÂmU˜ìk–Ÿ1‰+&ðFÁÍ+[Ö—Å6ñ¾¡â{»Ôü·z‰Ù­r$f[d*EÁÛœ€ÉËV?ƒõoßjÐKâ;ïÛ…²¹©¤°Œ7“nÊãÔû¾Ñ€AÁT ûгKÐõM3ÁÚžkô7ڳʗ»ä¸¶kíåHd%á%A%rX•'}y÷޼7âË«Í2âÆßU²µûRAך ‘­RYmÖ4r%vfûB´›†â¢çä .•«xûÁ_ûfÂâ;{X’ÎßEÛ’#Œ\JA€ì•í#Aò¢Änä|Oã-rËöqjZ¦¶.äþͼò®ô¤¶-xê:|±[Í¿1Ÿ22· ü¼ƒ‘ž+›ø»m¥Ýxæ=KÌówƒbc'"çklÏm¸ÝœöÎ>lR[½¾›ðšØøAõác4vþ|ù3&WkòI}̨ûFYU°Ûxd’“ö—Õ[Kw¿¯õßWB²§íœ}Æí>Ä~'´ÖüEg¨O‡¯­ä%îŸ[ošKƒR¥ee ¾[,Aäm râûMoÅ-ȵðõõ•Ä6—1*Í5·™sçBÑIJˆÃ2Èå˜s aXò¼úëÞ w¹˜Éâ;{©>ÁŸ‡X¾Å¸•']ÆØîQ, 2ÌJªe¢•&»w¬j:•Ók—wV‘*YM}£6ð›¹RYaÌ <ákå¾Ð rØ*ûB.FG YhæÛN½½¹}VúþòÑRQ4°ÅrC…Z‘«#áêßcÌôÆ[ÕÔu‘y{d‹¦Ésâæ±3µ±4ˆLŒçr¼éåïRr+c¬þÓ×LQ‰ïuÈt6Q¥”ú\,Eyj–k‘Ÿ%xŠ>~l½ym/-| ðýd­”–gûKÙYç¶ÅŒ¨s–øù˜)Ênìy  ú΋â+è¬`°³ñ^Ÿ¤$²5ÌpkÑAä*68i$uòFÙæ©,û¶ü µÍ"ÏU¼ñ†¯iE^ì½íY$·X¤²šApÊâi‡TL( 2ýʧs©ø¹õëe»½×,-ÖÒÖ]F; )&Ž )|å…Œ1'Ù¸Vr’ŠJW½›]Ю4+í3KžÝo®å“VšÏIk¸Vê1“ªBÌ$hW+û³¹›¡Y¯ é^"Ó"°Ò%ÓuÈ­WOµûMŸöÌ~lí È“}œý£1®ùm[å1®ØÈ8ÈW¹âµ×I-<@SíM¿ÛɆ%ºf‘dO?ç"ØÅ|­¹ÑÎ[;Ú¼—~#“ĺ-äóøY\ǬëEM>K[Á vwY|Ëp»×͘~]²ñ¼á¬x M¸Ò´‹{«ë9Pº˜G{t.£Ê·p‘ñò²ƒÏ,œ“¹¸ûýOÅ7±¼[ßÛÜZjÄíi¥d•M«´lch#2¨ªdÇåˆ<ªË]§‚µ KPѦ: »3ÃpÑ«Ý[4Lëµ[#tqb7yQô# ·{pþ²ñ®›m¤®³¡ë:„özŸÛV½·ì6- U2\±ÏšìÝ@Á$ÎÁè ¶»±ðV‰ek%­Ý­”VòÂìŒC"„'(H íÈç¡ÁÈ”PEPEó-µ¼³¸¤h]„q³±g…PK` =¨ƒÑ`Ô›Gðºi3É…ÊnãžÝá¾ i$+ä&Nó"²—6ç%OÒí5¶ð–¤Máëë;­+Yåæ¶%š]ÉÙIÝ ͱvHù?ÂØzV¥âû?XC¥ÚêCVµ²µ‚ÃK¸Ó™-gU†5•§‘Ðpâp–<ˆã 0`^ç‰õ¯ÚøS†ni ln€¿1ºížœ|Ä¢Š+Cˆæ|wykeáûi.îa«§á¥p£å»‰Û“èªÌ}“ÐUïØÜ_è¢;XüÙ¡»µº†È!ž9YTœ Ä!$ ‘’#‰øÍg ÞizPÕ~Ô.–èyØüÞNäóúü¿sÏ;¶öÝ[^"¹ŸOð~Š|/-ôV»¢H¾ÇlÓ³ù-´11Lȼ'Íå¹ÎÕ8ÜYu“Ãû8òI¹ëumm¯óÖT+F ¬£hKgÞÛ”õ‹MoP¸ºÕbðõò´²éq­›Íl& mtóÈäù»6•`£æÜ[¨æ¨üQa®ë‚=BÏDÔ¬¤G·…¡Im~Ñ K˜§óNd1b1„ X–™òª¹-k®ëRÜ+¼þ'±:Ÿ›u$*æ²C’ ¼œ¤éåŽ]¶õg8’͵ۭEuKÔÕeÔàÑ4ö},m´’C‹×€˜±ç,lb’Y‰R¯°"ädu#Ò%Ò¼â±Ý_\jW=Ã^›¤¶”ÌU$gS"¢¢gAT9 IÝÍÏ£x¢Ëýw¬Á$–E´xnµ¤{x3Ù>Õo’GŽY7_5Ix×*£Šúý߈ïôXÏ?ˆO’ÊHô™bÒ3>¢Í åÄáí‡*IË}áÒxÔê–þ!Ò¯t•¾ûTz}ê@-í|ØåžÜÇ Í±„q¹C–%0üëÍcË¢ø‰üCcsigâ»m2 Ë|y‘üË·ä§£èú½ŸÃXZÙjV:¤ï¨=¢\ß %Ý#;BVA+…8dî8f=w^çVñ{›K±}âxŒi=¾Øt–u‘¼Ëfój ^aæWo–B£Þw¦xZöòÿÖ—é:Ýèþ|;]”¤)äsµ7gvÄÎÀæòi~/ŸA{+Ÿê·7_ÙZµ€ž[»vɹ•^åÛj¢`嘎-Ö½r kx¥xdÝ4R,„ºv’2:pHô&¤¢€ (¢€ (¢€!¹º‚Î-Ä8Éî~•”Þ)°V $ìÀ`£ß“Y¾+‘Íü1ò,[€÷$çù ä&¾»’æXtûXg00IšyÌ@1‚Œ#pA=#œãÕÂà#V OüˆÍx‡K<>$£ÕÿÁvKúò=þ«ùåqÿ|¯øÑÿ Uüò¸ÿ¾WükÏàÖ- Vky46w—1#‹I¥ -ü88$ç#§QN:Ö”'x§d&vøüõÜ»A-‘ž0Ϧ tÿfGùYæ¾#Íok/üï¿á*±ÿžW÷Êÿð•XÿÏ+ûåƸÖ´¨ Šy5;$†lùr4êðppsÎ¥JúŒs˜öÝf±˜ÚU †Uqž¤Þ—öl?•“þ²æ—þw?ð•XÿÏ+û寸J¬ç•Çýò¿ã^¹¦»_w kc(Šwy*’9Ï'o8åHíSÿhØý»ì?m·û_üðóWÌ韻œôçéCË ·‹âLÕn—þóýQÜÿÂUcÿ<®?ï•ÿ?á*±ÿžW÷Êÿp7WòÛêVVÂÛt7.c3ÚÛÀ ÎxCœã¨ÆyÅêO/¥6·ó&\O™E&Ú×ɇü%V?óÊãþù_ñ£þ«ùåqÿ|¯ø×EOÔh“þµf=×Üvð•XÿÏ+ûåƹÏk:N§¡ÛÃsbÓªêv-¶h‘†>Ón¤õBËÕ*Ë×Ñ_Nˆ4‹ûm¡ÜÀà‘q€y=lžp9£êtáïFé¯3JŠ>£DÏýjÌ{¯¸Òñ¿ˆ¬.¼ ¯ÃäLXéó”,‹…p„«uà‚±­¸¼K¦Á C ´ÑÅ…DHÔ*ÀÀ¯:ñ º]œz~§­ÛÁs¦XÞÇ%Ì3Åæ##ƒ b¸9ÛæïÆvcŒäMáû&Óü?co,Á8ˆ<ñÆ*Êß4˜ ò¸· Àè01Y,/jãnÎùñ9`cYTWrjÖì–»ù®wÐô/øJ¬ç•Çýò¿ãVìõ» ¨“l‘º$ƒiëŒzì p”ªÌŒX«)È àƒZKI­49hñn:3N¢R^–=.ŠŠÚo´ZÃ6ݾbÆsŒŒÔµãµgf~)ÅJ;0¢Š)QEQEQE5Ýcf¡7q磠ºbg žJÈšþîK™ Ó­`œÛ°IšyÌAX¨`£ĤÀ0Á'8‰NÇU,?>ßäo}²?Fü¨ûd~ùV Õ¡ŠÉo&‚Êöê$qi4¡d¿‡œätê(Oh²+²jö ±®ç"åQ2yàdøŠŸh»šýNÊÍï¶Gèß•lÑ¿*ÆŸWÓmb†[FÒç]Ñ<“*‰©'‘Èéê)É©XI8/mšbïeRÅÔe—Î@##µ>uÜŸª»_•Ø×ûd~ùQöÈýò¬]wM»Ó¥¿KÈÖ)Z'•åPªU¶òsŒõ =jxu+ ›©-`½¶–â,ùÇ*³¦@9Ù£~UÎ]j÷6×7ös5‹\-³ÌdÚêÌÛ#”ÜTg õ ‚u©©Ü'†äI¾¾Õ½ ¿lÑ¿*>Ù£~UJŠ|ÌÏÙD»öÈýò®sÄ­k>»á7’vMQðY }–vãþˆßU¨­XºÜjú·‡¦HÊj.ʬ2²Ü £Œà“Îóœ^ûAEÞ:?Û#ôoʶGèß•R¢Žf/e'Æíku¡[$Ð,ª5K$@Ãê%n¾ªÌ§Ô1 tlÑ¿*óïÛB‰cªÉ¤Yê²AÕ¼v÷¶Âx·<,ñ¿ßi¡†5çŸ4¨å†:/O‹HÒ,´Ûvv†Î·¤ ±TP œ3éEú‡-ýײ6>Ù£~U"Mœ+sèk:”¤ÔsG0%ÐÔ¢Š*Îp¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(ñWü…"ÿ®#ÿBjãÞÞúÎîæk­ç[§H³ÌÑ`ªœB¯ òsØx«þB‘×ÿ¡5aWÐàåËIz“g3åÌki{¿ò9«U¸‡S³´ë›}K ò•hÚØ!ðØŒ>eäG’ãNÕ_íþ\6GÏÔ ºuÖ?/ƒû³‚|¡ë÷§= Ýõ©ö_Õ¿É+=4_Õ»z#‹d¾·Ô­ôöJ{éá¿a×,P¬²£Œ™oâp2ŽG _:ô-ÚÞXc¶³Ì‘Ùµ»³”)á‰9㓃ŒvÖ+él-ãžòú%V{{h÷ ’79Â!À' À‘Ó9‰õ]\4r'‡gkrÛ]Zê:ðN໊ÎߓǒÇl¢½wzÞÿ‡o¼êu«´­º´¯¯2zµ§ņ}¡^Ï©Ít‚9í>tiöÙ`È0¬d’‹À ÁÉ]Æ[Ò4ëÛ+÷ibµŽ×ìÛÆ°ÊìPF\†^F³ÎÜànÀ“þ x?ä%ou¦wßtƒË±2¡h×'Œ8ã‘j—Š”áÉÒÖ0«^²¦©Íik.ÚvÖÆ~£mw=î™%ºBÑÛÜe2HTà£'ÊœŸœžHéŽùQY9]%Øä”Ü’]¿á‹;KkTm.Î_$ÇËus€L±`»áŠ8Wi-œr´<ÿ#~½ÿ^?ú2ê¹1u% MÄö8 KŽŒ++¥woNåŸøW¿õ4ëŸ÷ͧÿ¬oü]zÎ(á)Ô÷G&ñö˜¡tÆû±¬|ôÁ$ãž9®ó[½¼Ó´yîì,>ÝqÒ ÞS+¸9Uf;W-…VcŒI¹7ñ¥ô¯‡ÎöúT†(5_3r]HñÛåY22R¤¸ÀÌ¡ÄP¨ªS›M|ÿ=Òá—`á.hRŠ}ÔR‘<–8Ö5ñN½µ@wÙXàz“'êNißð¯êi×?ï›Oþ1YÚ¾¹âRâÓI]:ÒÞA¬5ÚA¬M” /´ Y’ê9ÌayW8¹yãWÐ4Á©M¥çÃ6—ma5ó_4·0„ÀdxÙIuó3Á±œ›ÄUnîOï'û3ÿåÌðþAuðÒÛ9í.¥‰êMw`«ÎS哹óQ•á©áUz0Qi¥¢µÓ¿Eùž‘¦ÿÈ.Óþ¸§þ‚*ÍVÓäiÿ\SÿAf¼ùüLúÜ/ð!è¿ ¢Š*MŠ( Š( Š(  ûŸøøoÃùV3ÛßÙÞ\ÍaµÂÝ8–Ežfˆ£„Tà„l‚xÀÁ“œ ›ŸøøoÃùTU”•Îú3ä[]4s:­q©gpÚmÕ¾¥†yJ¼M ì ‡xlF2ò#‚›­E‘ö %½ýÅÛ)»p“ÌÀÊê<ÓÛøG¯-Ÿ³W¹ÕõÙ¸ò´­ÿÝ<Ž-£»³—EÑÂérê ¥OnÐÏp|¶ºãnX„íÀà7l .àNNHÛ³EIXÆu9ÒVØ+èêΡ6•¤ß}m|§»¾X–VŽ|˜ÃeD…X°;CÆv¶ü®ÅgøWþBž*ÿ°ªéµZÜ£j:ü"·ßô8kŸ÷êËÿ‘ë'Uøo&«}cs7Š5IÙóºT‹p÷f5@ÁùˆcÓÓ¿â½jûÃú1Ô,tÈïö?ï–KŸ!bM¬w–ÚØ‚®Hwnbª¬Ã.çÄ÷šlZÅÂhÿh’×[‚ÆHRü“"ʰx÷¨UoßG˜ò«Ç~I$8ÍZHœ>.¶~Ò”¬þýýKðŠßÐá®ß«/þG£þ[ïú5ÏûõeÿÈõÎKªëþ"ñ¤:ÞŸ­­¯ö•³Ö爻(µ}áã‰íKœ$+sªN¤~;štÝOSÒ£µÐu+y.-2¼j°´àMÀT˜‘ÏÈdÁ\sj¬Œy¥Ü±wà‰¯áXn|Y® Ñ.§iäKå˜Ý½é’-Jæ6óe²² |€(rœàŸÉyuq&Ÿ½nå3ÜÛ4Òi¤ ïï)›€rW9ºó^{ÿ·‡¿è¥ÿàáGü"Þÿ —ÿ€qÿ…iý/æ8¿×*óéýèô-/Áz&yiud—Ë%œM¸“R¹•#Œ€ y íùWŒcåSÔ tã¿ð‹x{þ€:_þÇþÂ-áïúéøøQý/æõʇüúz=GU×ô c:ž¡ojÒ†0Ç#2b1‘}çnGÊ ’HäWž[yòÍ{}t¥no®¤¸pØÜ«±+mùw,KœdeIÉÎK,t­;Ló>Áakiæc‘ Ç»Æp9ÆOçVë§ „T_3wg‡qÌ`¨Â<±Nûêÿ¯™èzoü‚í?ëŠè"¬Õm7þAvŸõÅ?ôVkÇŸÄÏÑð¿À‡¢ü‚Š(©7 (¢€ (¢€ (¢€3îãá¿åQT·?ñð߇ò¨«7¹Ù…bøªyaÐ$Hex^æ{{3,lUãY¦H™ŽŽ’§±àô­ª¡¬é¿ÚÚLök/“+mx&ۻʕ‰qe6‰oöèÞØK,¶ÁPbìO›ü(®Üà¸ÈÎk­¬›_ôÏ_\RÆ5³Œ »–Cî ˜=Ðð:˜œ]­}ý ðõ`¥í=š÷uû_.½íò3¤ñ Á·†i5/iðM¸ÅrצåeÚpBŒD8'’ãÇ9Vºš_ÆqM²3%ÄV2AkêŠDêÛò È+Æek¨Ãi¡ÚI¦NŽ ¼žd[n Àñb?Ÿ9%ÂŒg8Ó4œ˜€Ü±íœ¸>m£k¶OðœÓ“ßõ;(Å5–½âú½u»Ù-Ÿ]º´Ë/ _MçÙ=ž§qnÊÞ{Ü}®XUñfQH9#½o×;á]{/N—P{£y ¶NbÄåÜ«åŒJ)‹ГTRÏX[h£–ÓQ‘ƒ)Ô]u5Ñ Ãýy˜wǘ¾Pv‹ŒšŠ|»œõiF¥YGÚÝG»¿ÜÛWÛï}µ; +„‹M׆¨®öú¶ß:ØÅ'öˆòãŒNYï›ó$¢•²ÊÇœîj3èþ&•¡[xµëx<ÉþÖ?µTÉ$M(1‹Há]W¯ÝÈ 7òi+.9u&íí£÷®×ïòõÞËSÒi‚XÌÍ‘Lª¡™ù€9‘èvŸÈúW1ec© Ò;ÛmFPUc†S©X¡Øù»n›ï¶B·ÌÊàert/\³¶·µ}?VK4¶·[ˆ† »¤tYˆ”š&à ÛEfê½4"8*mJõÕº­}5éùõ¶§ Q\&©¦ëÒAŠßV’_±\¤m¢#ÈÏ›pÿ½]̉Íód‘ËõÝ\&äÝÕŽzøxÒŒ\f¥{ím-ó{ô (¢¬å=Mÿ]§ýqOýUš­¦ÿÈ.Óþ¸§þ‚*Í|Üþ&~×…þ=äQEI¸QEQEQEŸsÿ ø*Š¥¹ÿ†ü?•EY½ÎÈü((¢ŠfêK\Ü-å•󯧻ìó‘ÖU’©ûÈ '‚¬2ÛYw6j}£Å¼I§éz„iËMËÛÉ êBÂÊʰ\2JçÚ( _Ûú—ý :×ýý³ÿäŠç¼]âk§ÚÚÍ¡ÝXJ÷–Ó¤º…ݬP*ÅëO—Å~*’&M÷O¤iï!!B‘º¤Î]Xóc88„»ŒºñMÜ~OÚõßè¾lK4^mÙ»ûDmÑ×& «ÁÁƒg¶9ŒÏa«ØÏuwñ ֮Ɨsµº Ãj—¥Œ60{’K`€pâ;]c_´¿š ö yaÍo¾i. AJ••”*ùd¶â#¹ñ]®±â]à[h¶“Åkq¬Ó[ù—tMŒm”¨@̲1fĘV<«¦®‘£øKQÙ¨X -^H%/e¸ût‘:Ⴌ®ÎËŒ† Á9Ç5Ò×=‘¨]Zß]6»yf#ŠãPn…•\ÆŒ"_/ ò1$ÎO,Œö:™òBèÞ!])w™-¶óxó›_ŸÄJªão›Ë>vpö;ª+̵-#Åx ÖºíÜ =ežÃVA$¨ù»dO>=¡Ó >Eù8\î5"мdú(€/ˆmó‚Þ¯ö™Ý|ï´5»´’*|Í `”ܯ¢ÁÍäzÅF'‰®ÝeC2*»ÆnUbB’:€J¶}§Ò¸Í;MÖê8µ=^`ÊÛÎu‚©¿–¨Þ~ÇR×ór£üΠH ¸Z‹âM>ÎÒÉô­v;¬íy^4•d0Ÿ1‚ï`baè¬X9ŸcÕ(¯2‡Hñ@Ö–I-uÝž}›C/ö°ò¢‰nY¤YÏùˆ·1Fß+nts–ÎöôÚŠ( f­QZAEPEPEPEPEPEP!â¯ù Eÿ\Gþ„Õ…[¾*ÿ¤_õÄèMXUïῃò<óþF5½BŠ(­Ï$(¢Š©©jVúU„×—-„Š7p€Ïµ  ‘“µXãØÓ4{9,4Èá”Ü3<Ó?/™#}¹çnæ8Ï8Æj•ÜÝø‚[,–îH¬CB“#£y\9`AGŒBBí!ØÊv”˜jÚÁö[8-üÙfò£Tó&mÎøËäõ&²Œœ¦ôÑ…z0£†§ï^SÕ®ËT¾ýYÉÁâ[¹õ]*;Ƶ¶ˆÝ½”ŠÛãi®9߆‹~Å]À’ÍÎcÁ¾*m{G»»Ô&³ŽKfV“Ê`«f%}Íó¶KŒ’>éÈ:ª(Œ$ù…SFpqT¬ô³¾Ömöë{V8O øŠOì­Ú ìÙR´ë=À)yP†áP³‚6·ú—Éí³7‹n"Ðn/…Õƒ] µªÄse¾EFI˜Èñ¿1%ãã²¢’§$­Ì\±”eSÒêžë½í·_¿å¡Éx_\·Öµy.Õ«ÝM¤Ù¼±Ã ;_tÅÆ2HÚ]A¦FzÖu‰ü‹K¡cw`É÷SFŒwµóµÄÄC 0ûvþ¹:n﨧ìåe¨ž2‹”Ÿ³ÑÛKíenݾï]W|S¨¶—{s –O„— ÄÄÙ:m>DØ|— °ÏɃ§)Ýx†á5K[Űá‚î8dÍGþ=˜$#yÖ% òÁè;=RÁu].æÂI¥†;ˆÌnñmÝ´ð@ÜädtïÇ<Õˆ‘£…¤iYT#¹©À'ØIÓ“ÒåÃB+™SW×O&­½½=õ8Ûï]ZxªÿI&Íb‰TDÎ>e$@K·Ï’ª²ÈämQ¶3ópÅkj~(†ßVÒ¤McK’á š»*VÝCÍÍ·~XaYr¬Få9 +í﨡ӓ¿½ý}äÃB./Ùl¬õZékü/Öß}ÆE,s“C"ÉŠUäGQO¢ŠØóŸ‘èzoü‚í?ëŠè"¬Õm7þAvŸõÅ?ôVkæçñ3ö¬/ð!è¿ ¢Š*MŠ( Š( Š(  ûŸøøoÃùTU-Ïü|7áüª*ÍîvGáAEP0¢Š(†³©dé3Þ,^t«µ ‡vß6W`‘¦ì»•rxÉàTZmÞ‘ád°±– õ-J¤÷ U&¸Û“$€~gË1É'q9'šçuKEñ?Œ¯ì>Æ$ŽÂÖ(SP’<gË!g”ÂOYÊ b¬2#ûÙÏÉ'q@–¬ámübú…džoåx,týZþE´¶ºÝ ËÅövÚÌ›Ne†R%ˆŒ6+ÏÆíâ„Þ+»Ôî4ø®!³’22 [e(ó’îÈ9•Æ£Õ( V}Î[ñÅÝŒ×réÂÊûÉòͦ•ZëSÑΕÈ7·HÜ~åþaŸ–‡‰> ]èžû}†­¢êÓ‹£\[Û‘nÈ–@™3í/º1 :ü„• é4P}ÎOÃ:Þ“uâË»}RÊkhïÒgš;„dXþÉÞXÊ8ÏO•½ sÞñl£DÐ,í®t÷Hà±´K ¹ºVŽ%’hØ? i ÿòþ›E³<ÚãÇZ°²Šâ+í=þKÞ,;eoš(Œ7½8óXäùêmç(j~&»Š÷CÕÄ–Ksö I"‰ÐãRÙ4›!¦1æpÃúžß\ÑÆ¹c«_]Y„ž+%°qhØ:ƒ½X`2©éü#¶AÒ Vg™[|F½Ÿ[ÕôÉît‹1mxÐ¥ÌËò[D²\)yWÎÉŠÉ1á§^+¼oÙ[xñkšDisggÕÝÇÉ7LÂ5/•/¹X’›X¶èÃúm\,û…QAF­QZAEPEPEPEPEPEP!â¯ù Eÿ\Gþ„Õͪ\j펋kæF÷i$³](SöxcÚ€cËtQÁ¶âRIâ¯ù Eÿ\Gþ„Õ‘áßù(v_ö ¼ÿѶµìs¸a9£½ÎVž#ˆ]*ªñrzzE¿Ðكᾠ¼Q<š¼îˆ¥“Xº ä¼vÈO^€P|  „ˆ[j匣YºÚ¤…?¾ÎNI|§$qÝvßí~Ôí¾Ãöÿ:ÒXþÇæù_hÊåïþÝ7vÎkÏô îÃV%ð<é§Á§ßÙ³1³ÍÌrÉÈŽ‹)Q–.ÑòeÁЧ“Ï.çßýV‡ò/¹z§ƒ|/¤Ø5ÜÑjî¤izÅÙi$wˆ30fe\’ÎI&¤±ð&…wgóXkvR6súÕÁtÁ#’“²óׂzúñ\$Þ¹w…”øK«‹K(SQy^ÒGyâØ°,ò凕Ê£8 * ÀÜsXð­Ö Ú¥¸ðï.b´MF9 GÒbEXÉ%ŠTó1 u;Ûœ‚s˸}V‡ò/¹"|6ðÌm#$:Š´¹Êê÷`±À?½äàôŸÿ ïÿÜÕ?ðsyÿÇk©¢Žyw† þÂû‘Ë»ðï÷5OüÞñÚ?á]øwûš§þo?øíu4QÏ.áõZȾärßð®ü;ýÍSÿ7ŸüvøW~þæ©ÿƒ›Ïþ;]Ms˸}V‡ò/¹[ua?†õ¨4)&º¼¶’ÐÏk{pÈd`Œ«$rca½m£!ðrT–š´ðþU¤Èû­Ø.ÃÿFÝÔ-Ι6¡¡7ü!?ü÷Ö¿ðy{ÿÇj1àÍ(Üó# ’Gñ€09Ûª«ÿ!Æ?wÓñj˜ÎÆßò7è?õá}ÿ£-k>´‘ÿ#îµÿ`»ýw[?ñð߇ò¬}#þGÝkþÁvú6î¥ntOøhÑñ-ÄÐi-ä\ÜZ»’¢{{s;Æv’Œ[21Ó<޵Ÿáû›­rÅ5ïµb#Êò¯-Ò6.¸ JƒÊÁƒ”l0ÇW[þÓþÏÿ‰0³þÐÞ<¯¶nò¿ÚÝ·Ÿ»œc¾+óV ¡êöÚÈifò– ÄRÚšF€4©•ÇÊŠB'ÚIù—ŠÒË–ýNsVoí8¯…º%ÜÑVûJ,B0K…+ƒ(l€w—œ-SÖ5Û-h¢Õ5¶·y@1ƒm#nËà®AäŒúdg­l3NýÄGL·òíQV䮨Ô2°Tþî qž1‚«Žƒ·Ûüf³[éº=ý¤0D“ψÞí[í6ƒ»„ŽH·‰[næ\•í 4í¡Q£ùT”Ær§þJ­ÿ`«ýwZµ”ä¡êßö ±ÿÑ·u«P÷:©ü((¢ŠE…Q@Q@´QEhqQ@Q@Q@Q@Q@Q@‡Š¿ä)ýqúVG‡ä¡ÙØ*óÿFÚÖ¿Š¿ä)ýqúVG‡ä¡ÙØ*óÿFÚ×­?÷?»ó??ÃÿÉJýeÿ¤³sâ-¼W~’Ú{gº†[ëä+J¦îT@Ž3‘רªk Ü\½¦¡~†y-#¼“P¾…Úù›Ë ûÉUÞ¤€~јØ Òñû*xWsÝ}‘P°-q•Pûd?>X㯠Ž9^ÃSñ"é‰,PØë—>U¤­oÑb22–g>X(¸`@_0²ì!W&¼Äß+]¿êM£ÜkjË«júÆ”úCZ´îmœyK˜mÈur£÷a–é²[îºç?ÃOÅI£êú® Õ²êY{•Š+{È‘ÝЪºlfÂYŠÈb¹¿%£ÍlF§¦ÚßI°Z–‰÷±HJJ¹ù°$¦æÊ åŽS½Õ‰Ô-ìnn.´s:ºÃ;Il®%U‹1b0GËŒH3†ÀI&¬ÁÅIY»¥ßƒtc¸èZ¬v×-àWžØ%›1¯——ä±`0ÛòX0H­Í2Üèj:o‡µ¯"I †Ñ^Ók1X×p- n6e¿‰º€˜Ü¹µÕ óÜ[Ý·•º¶2"Ç<Ÿ?(²¹ó+ÿ/5"ÏÄÇíM¬jPD%!ŠØ¬¦ q!bÞa ¡¦0 œi¨»¥ù‹ºkîÿ€2æ]TêVQG¿ä­Ë™e‰¬<¶S)Âɸï6Ûd—Èü$¶òÜÝÞh:Å¥¤våØÜÏb±G°3‘6An$í_º7¯•âÈõÅžMyßL@‡É2Àˆ˜îÜ~Ë’¦-§© ç8›OÑ|G§öß^ËeÀ³*-·á£Ãìã ¯–Rƒò‚8;¶5f¾Ÿw mïbŽâÙeA½_† G̤©ëÔbEhÖvŸ Ź·†òëíwQÛ*Mqåˆü×C>ÑÂääàtÍhÐ#ƒñ·üúýx_èËZÏ­Èß ÿ×…÷þŒµ¬úö°?Á?1â¯ù¿DQEv6QEQEz›ÿ »OúâŸú«5[Mÿ]§ýqOýUšù¹üLý¯ üz/È(¢Š“p¢Š(¢Š(¢Š(>çþ>ðþU¤Èû­Ø.ÃÿFÝÖÅÏü|7áü«Hÿ‘÷Zÿ°]‡þ»©[þ4¼E•Æ”-µfµ¸š8$UŸÊ-½‚»rðKFrÀpqt+m7BÔ/-ì5I$– yôûíEd+†HDk–+æ˜VaÃ#iéïb 3BDªÛ”ÀäŽAàƒßŒk‘›Q×õ e§YënáRîO2-®’Ea(·×pÈeÙ¹TÛŽêÖï’Ýn¦¶™vlïµÅÔ|Gou˜…¼·’kHD*K͵Wk; çåÛ·h^EaëÖV·úóÜk¶2Ý,+0ÙÛßÄbUy±¬Ët•˜À%NÐftó\ëQ&SJµ•ŒJÇzAóÉ®L`y@d—ûØFNμ7’êÉ žý)e·F¹`Á RBÄEnvñå©êÞ^3I«1J*JÍÙ¬š„ï#¶¹´Ñn­à¶š OmwlË&à6BKJØ $Lc C®ÓóV„·vžÒu_ìû-WK¶Y£[‰"º°g“ w–žB2´jCç»@ÎãÒǾ“™KÃ*ý¥£5ÐÙörÙñ>`(;p9ry¨nì|G‹†¤%Ôr~Ç-Ü‘…åËì„`+` vŒ° @˜ÓQwKòhF.鯻þbûæÕ®´mY`]±¤Žö¾SbM¥×yœ†Üw»1ÃcØë÷—Ö§Ùl5Û™Véá>\úsÉjåNQvɰyd/e²ã;†q«¦¶u43ß²Y$!—£âK…±Ô´ˆúÐjQÇ ¤åÀÈ‘ŽÜ©fÎä#—"¼åé¶}ÿS²º#첿Ùä¸Û! æN>èÉ'§$y"¹ë95+»µŸJÕ!»†éཷ»’aÓåS œPÅCß¼ùûº­8¹¶Ûaª$¯~‚kR%Œl‡­$_# 8Ü` F9KeªÜiÐk:D—p½ÜñÚͤݴÇtN±—j€ÍåHrJùmƒ’Já7hŠwqvþ¬w©m M3Ç£NÛåe.Ø “êpª3èíLK HîÚí,à[†Îé‚ç!çäGÿ€/ ¯'Ò4ß »»Ë ÝÜÛÎR& ’gL¹T‚Ë¿‘.óÀÎ{ö-¯ÎÖë²ñHe·hL¿a‹s9Ú§#Æ ¿1Êž1œkǯëþF1ÄGí~¿äuØ|½ÿ*©=´B[ÄÓ£šåÜ*Ɖæ<¢?/!›yO“$Ž8$ ä.¼V‰©iÖÒ7‰mgye’;±Ûƒx¹ÞcÚÊXª/&o$“Í[›Å««ÒØxRT0Eflã $œ¾åþ2ûU¸  œpM?må{z}Íý=#oVŸcm•V× <á0„¨ÇO”‘ÇV•Qµ›íÏåÉ™o.A‡Làá‡cW«Scƒñ·üúýx_èËZÏ­Èß ÿ×…÷þŒµ¬úö°?Á?1â¯ù¿DQEv6QEQEz›ÿ »OúâŸú«5[Mÿ]§ýqOýUšù¹üLý¯ üz/È(¢Š“p¢Š(¢Š(¢Š(>çþ>ðþU¤Èû­Ø.ÃÿFÝÖÅÏü|7áü«Hÿ‘÷Zÿ°]‡þ»©[þ65ƒz,Óû;gÚŒ¨ª^1"¨' Åw¦@\ž

•c#ß4¶©)¾AÇ›ó‰.Є6~LùGf8Ë|Ö]7ÃWÐøÄú|¶÷P°›k0”‡!#5˜fpbHÁ­­cÆÖGz÷ ¯éA!ˆ¼¿f~̦FÿxÈ+ód¿(5 ´zþ¿ägD~×ëþGvã§½Pm…å©‚çGaófo&h£`KV| œ;“܉ìEsöþ,X¯f…ìçxŸëdúåRTiþ²O¨þU%jlr§þJ­ÿ`«ýwZµ”ä¡êßö ±ÿÑ·u«P÷:©ü((¢ŠE…Q@Q@´QEhqQ@Q@Q@Q@Q@Q@‡Š¿ä)ýqúVG‡ä¡ÙØ*óÿFÚÖ¿Š¿ä)ýqúVG‡ä¡ÙØ*óÿFÚ×­?÷?»ó??ÃÿÉJýeÿ¤³sâ)eðs²^%“ ë.œ°µÃóܽyãŠo†ÿ´¥´uÕu¨5»Y5 ¡`£s+ˆ†ÔPѰÉv ­×i±ã£(ðÜfI%þÒÓö#¹Efûd8€$ ÷Áú‹Nñ*ýînôëû[©¾Ï+Y••œ…]•Š¡™ÈZ8·»Ø­y‰û¶ÿ/øsïú’K«Þ][Gö-ÜPjO$E¤š9#fªG) Bå¦|NÁlõÛ—w~Í4‘Øk7zŽòY/N­êhhZl©BʘT!BÊÊpäZŠÂ#-ÔúÄ&Â…šíO”(ä<¿0–Á’ fÉkq>¹ú^¦—ëi3Ìö©:yEËÆèûUĉ¹\ª°6 Û~TÊZ i?‹o#6ÂO¥Û­ß‹t™‚lšÎx÷_DIUó1òÃ(–ã8ÃwdÌ.#ýÜ~IF.åðÊÙq‚Ý“‘ŒN9ÛËýe–ö6Ðâ_²lŸrÞN¾hz”1ÂKüË´¦7uÊ˾+-{ÅWãx^Ò2¬Á¤¹¿–(ÊùpºÝn“æºPm10'l(¢Š(¢Šô=7þAvŸõÅ?ôVj¶›ÿ »OúâŸú«5ósø™û^øô_QE&áEPEPEP}Ïü|7áü«Hÿ‘÷Zÿ°]‡þ»­‹ŸøøoÃùV>‘ÿ#îµÿ`»ýwR·:'ü4jëÍ2i<ðéò*³}®hì )%Š’=N=r8¬ÖƒVk4í[mОe]YM=³:–26|¥Ì!m_œï Ê^¶ušh TRÄN3EœžW“Àû½îž ®>ó_··Ña¼¿·Ô¬õ]Ub’K;mDy–@G$ªäNé@,/¸ ÅX8:_Ýþ¿áÎs£°Ô5{©ï¢ŸJ‚ÜÛKJæåÊ͹åe&1•]åTÿRÎØÚÕ¾¡oâµkoÃ¥[^Ä€$óù¯,ÊØÛR|ª¥HÉB =A$»}q£ï$»›X/-â¹v y0THñ.F$)0ìN œÓµ´E©,¶ñ\\´ë ˜Zy’8¼¹†£p 2ÀSŸ•XŒä®¿¯ÐRQ·½{yÀ1à}`^éígã};RŒÍO ,1ùn(Ì¥‰bØ\  ‘ŒŽAëodÔ–9Í¥œì<¡=ËF‹Áˆ¶€¸ Œä’0:žrMGP"ãfŽÛžù"\Ü^®g]¸éËȹqû³–ÎrwA¯_k°iz´‹áÿµB»híukÔåÙ+È3·8BüŶ’à([þ¢ŠÙ¿Îÿ©Ù)˜Üº²Gä„R¿,['p+ŒÜœäð1Ít}DÁz^ÒÐN¬âÙË•qòo/(Opã±j϶Ôõ›Mà}*Ñ-K?•)¸œ3*J¨Å•  §ifqÝ´•ËŽwMñˆ£ÓäšÓÂSËswtî–óê]11,Zx‰IB§y¨HMÃ6QÞ'úÙ>£ùT•­“ê?•I@©ÿ’‡«Ø*ÇÿFÝÖ­eù(z·ý‚¬ômÝjÔ=Ϊ (¢‘aEPEP­QZAEPEPEPEPEPEP!â¯ù Eÿ\Gþ„Õ‘áßù(v_ö ¼ÿѶµ¯â¯ù Eÿ\Gþ„Õ‘áßù(v_ö ¼ÿѶµëOýÏîüÏÏðÿòR¿Yé,ÜøŠëƒ¤wŠæT[ëÑÚ’%qö¸xB;lsŽEWÓbÒõ ÛêöÇT‚ ÿ-u bâ&ØÒª‚˜Øfà®ß½¹W 5XøŠÅ|ì·‰dÂúÄ‹©+ú\?9 Á מ8¬­'Ävv6·pxÆšF§Ú¡kk»[¥ŠR A¶HâÆÕ9;˜c» ® jn ÁþðÇß³¤¶ÓâÑaß%ÜÒ[GjÍåõó³~é@ AùFövys‘ª_Í6±`M”÷6BðEÖ{)Tí9ùe ¥Y˜`98ÚTØi²Ãröw–:ƒBÈÉÁº•¢%ßˉ²  àd¨'nn¥4¦ö;M_›Kº–îV•5+y\ND‰M0ÀP­òª|¬[å FyÒ÷·þ»ŠM¥x|(ÐÚG—LÈŠ¦iTr7  ž¼=…F¶Î—’N×Ó¼d7îSbä'p»¸ÚÇ’Ö6r6…ä­4¯%äÒ^ëÚkC†¡í€nÊÈJf~O»æ–ëÅufMH@¬¶–h6ìΦ嶉°6 o/% -—À#å9âbÛÝX#&÷Vû‹d|ËëôªîñXÅwwsy¶Ýs+4ÅU @ œ /²Äœ“Î0y&Õüë"ËO’3+ †kÇS{†ÖP";˜¦IRTÆâ>jž÷ûC`·µû•Ÿ8ÎÞg™Ÿ»åìÆÜìçŒwª(ƒNt“ìïçÛ#kU+u•>pÂáþPž¼9â´ªªÿÈD篗ýEZ Æßò7è?õá}ÿ£-k>´‘ÿ#îµÿ`»ýw[?ñð߇ò¬}#þGÝkþÁvú6î¥ntOøhÒñô:n•öÉ⸙"–2"¶p²HÛ†Õ\²î%°6çæÎÜ6ps–ÂØxjßR’mA 7ƒ¨j2Û`yG™öªÜÏ´•## «þ&y#Ñ]£ÖaÑœ:âþdFX¹î…çîóýêçï|W¥XøfkcâKjùØÄž]ß—4¡äÚ  dw€ÌiœŒü¹ÈéŒgÉx÷óÿ†üNn¦ãi70[±$OlåmâþyT«¹åRs!R[ÄýцMÄ«ukÔƒZ±ÖâÊtÁ¾Íó°R‡P]±µrÔ€sƒMõ+ÄÛé±ÝhwÍt«ö‹huPÄÊY*æDÚ$$ ¬Ûs¼Gm¬j0K3Z°´ˆÛZÊö÷Jege¸f 2ÈUs•;·*ghÚà Üëâ_×Ì™¶•âu6—ÝiÑ ;U‚ñ£1¹m³ÕrHŒ¨ ÈÁ88#ƒaážd»ˆÝù~`"'†0T å·+0`Ädc œygÐ|\'²ó|Cc©Û‹¨d¹·žÁ!ËBà„ ëÀ×C:ÝÁöÉ4ë >I$Ù 2Naó¤û­¼¬mŒ"¦ÌN1€51mî¬8ɽÕáƒÛ¥gy_l´ak¬N1,ÀÏÄÄ6] ò„~íŽÌ`1o˜5ˆïÍ´Ám`ÅË|ÍÔ\|¡SË0衚&ÖÊF¸±Óãºf8ã¼wŸ-ò–1>m¤å›åùAj(ºŸëdúåRTiþ¶O¨þU%r§þJ­ÿ`«ýwZµ”ä¡êßö ±ÿÑ·u«P÷:©ü((¢ŠE…Q@Q@´QEhqQ@Q@Q@Q@Q@Q@‡Š¿ä)ýqúVG‡ä¡ÙØ*óÿFÚÖ¿Š¿ä)ýqúV ¼ÒéºÕ¾±ošH!–€œ"rŒÁ@ù6çå<‚W;רåsÂZ;ØüåW§‡âR«´yž¾©¯Ôé¾ F²øSËkdºWÔ,Û¾6Ê ä?!Ï=9õªø{ÂånBøZÎÖèMÚm$ÍÞUq´£’‡j¹Àù²ígľñŒl®¼MgaºX¦ÙqsöIÐÇ*ȹG+"d çƒƒy«ZjÞ²¾¸¾ÄÞkÛ‰þÑ%Ä—(òÚPÍ) fP1MyJN*ÉØýZ^òzl|?áèZÒ_ YYZßAnRÎù¬d–ÛÁQ)(ÀÞIËàœH*½ú^Çy¦ÜÁ§ÚxRþèÂѳ£[>ïºÒ4Ž>]³ ¹c!Ux¼Sá( øR3o†“D<¨ÎÜ¢âNä^(ôCûGÀ©-̶Þ'ðÅ”·G7XÝ¥³ÌwnË´r©cœòyù›ûÇ16äµcq¾—°YxŸ\·ƒSkê,ðÊó\­ÍìÌ7r!2Fw®Wbç rÐ[ñ$ÒD|#6g 6㩇Q´F¸®Ôë÷AÁ` ,Fsjžh–3ãÍ?j– v@~`çí=8ôê0iF©á&ñãÍ;>‡\ŽÝ¾ÑŽßÏÔÖ.5:?ËüŒ§ §îÉ¿»ü‹mTÞMas«iz¥âÝM¼0‰c<„-/–¡çƒ Àe$|Õ¼æ)ï&‰-Ș½ä2òFÿˆíçi ¦¹k/øbÆŠ/èN¬Å³6¢%9>í18öè;TÇÆ>7 9ñ§‡·¢2/T.‚r¾n ùF ã9Ö7¶¦‘½µ7¡•ßXš3o*,q²±]²g0Iã¾@öÍ_®3Nñ7…¬nžGñÖ<^REO¨D|°  ï.Y‰Ç%‰$÷­&ñç„UI_i2°Áx’ÈçÑQIfcÙ@$ž¦SvÕ˜ž6ÿ‘¿Aÿ¯ ïýkYôýRøëÚ̧–a¶·†HmQÔ¬Œ®ÈYäîçËM«Ô[æmˆÊ÷0p”i%#ò¾#ÄS¯”©;¤’¸QEÔx!EPEP¡é¿ò ´ÿ®)ÿ Š³U´ßùÚ×ÿÐEY¯›ŸÄÏÚð¿À‡¢ü‚Š(©7 (¢€ (¢€ (¢€3îãá¿åXúGüº×ý‚ì?ômÝl\ÿÇÃ~ʱ®Ö];[ƒ\Š)%…-ÞÚò™ +,€d1øN¸•öå¾W…¹Ñ%xhkëGu¦´2éÑêHÇþ=$VB2Fwü¼}+ºðÇ„¥–òÎ ÛMÕuKqöÍ:Y! #výÖÆTÊG%¢qƒÇvÞ¸ñ·…ä@ñNk2œ´wW(’!Á^6eeažTà‚"ª'м*±Û#x¿ÃRý”ƒ Ív’:¥wiIݵ˜g9 œžMl§(«&s[[’i:O„o5{›+IK{ëO³ù¯œ–­#ÍU…Ãq½G%HWÂÕ}hÝÅâñöO¶¡+ZA"Ü,²[ù[&rG›Ês¸|€‚Ã!·)âxü_áh¤šHü[átyœI+,ñ#3~ó“…Q“ØÚ¢ºñG†.ç†YÙg‰sm¨³|î䯙 •–ÂHn -k[×Z‡Ú|¨˜ü˜·ýT˜1ÎÍžJä6íÛ¶e¶…Ý@\kÞº}òxëIS¿îõvŒgh^‹8ÀéÓ<õ$Ô ©øEÙ‰ñ柖k² 1qÇAÓßÔÖN5/¿åþFR„ÓÒOðÿ#¨Ñî.®®.%¾Óe±½  ÄnXÌy}¬§[p0ùsÆÚK_°$wwQWe­Ô³H²}¤–p¸mˆÜÉʨ gFEcØø§Ã|-^7ÐYËæ}DJÙ>ï18öè*I¼aá©Ð#øÓÃàWù/•UƒV`q2:r ¬omMc{jtðH^âåLNž[…±‡ùAÈÁéÎ9Ç ÔõËZøÏÂÐÍq$Þ3Ð¥óX2} „Âóž8ÏÔŸÂÉñׄˆÄ~%ÒgáŠÞí%‘ÏeDRY˜ô  ’xšc*Ÿù(z·ý‚¬ômÝjÖVœ’Þjú†¹,O Ý$P[FêQþÏæVu<«³Ë)ÁÁ °¬V­f÷:é«EQAAEPEP­QZAEPEPEPEPEPEP/â«9ŒÑÞ*æá9=}¹®n½-•]J²†V Œ‚*¿ömüù[ÿߥÿ ô(cU8(Él|~iÂòÅâe^”íͺ}Ï<¢½û6Çþ|­ÿïÒÿ…Ù¶?óåoÿ~—ü+oíÿ)çÿ©µÿçêû™ç”W¡ÿfØÿÏ•¿ýú_ð£û6Çþ|­ÿïÒÿ…Ú1þPÿSkÿÏÕ÷3Ï(¯CþͱÿŸ+ûô¿áGömüù[ÿߥÿ ?´cü¡þ¦×ÿŸ«îgžQ^‡ý›cÿ>Vÿ÷éÂìÛùò·ÿ¿KþhÇùCýM¯ÿ?WÜÏ<¢½û6Çþ|­ÿïÒÿ…Ù¶?óåoÿ~—ü(þÑò‡ú›_þ~¯¹žyEzömüù[ÿߥÿ ?³lçÊßþý/øQý£åõ6¿üý_s<òŠô?ìÛùò·ÿ¿KþfØÿÏ•¿ýú_ð£ûF?Êêmùú¾æyåèÙ¶?óåoÿ~—ü(þͱÿŸ+ûô¿áGöŒ”?ÔÚÿóõ}ÌóÊ–ÞÞK«ˆàˆeݰ=½þ•ßfØÿÏ•¿ýú_ð©!¶‚ßw“ qnë±Bçò©–b­¤u4¥ÁÕ9×´ª¹zÙj,,G ’V5 ë€1RQEymßSî㢶AEP0¢Š(¢Š(¢Š(•Ò.þÍUëP€Ã= 7Êþy¯åRâm¶Vfm¥åGÿ<×ò£Êþy¯åK”¯l»´V—•üó_Ê*?ùæ¿•¡í—c6ŠÒò£ÿžkùQåGÿ<×ò£”=²ìfÑZ^TóÍ*<¨ÿçšþTr‡¶]ŒÚ+KÊþy¯åG•üó_ÊŽPö˱›EiyQÿÏ5ü¨ò£ÿžkùQÊÙv3h­/*?ùæ¿•TóÍ*9CÛ.Æm¥åGÿ<×ò£Êþy¯åG({eØÍ§F†G ?jÐò£ÿžkùS•U~êôùDëvŠ(ª0 (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€?ÿÙÿØÿàJFIFPPÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ5õ"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?÷ú(¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€ (¢€?ÿÙsinfo-0.0.48/html/work1.jpg0000644000175000017500000032133011356411374012362 00000000000000ÿØÿàJFIFJKÿþCreated with The GIMPÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÂ4"ÿÄÿÄÿÚ ²‹œé°j­±Ž9€|­\¸ê§²Ã¸9:Nƒ“ äè9:Nƒ“ äè9:Nƒ“ äè9:Nƒ“ äè9:Nƒ“ äè9:Nƒ“ äè+X+†bë ßûAÁZP/Nh}µ‘x®#&dvë¡É3ZT¹ÜW9÷[F½¦ü*óOi½ÉÒ±Ž|¯È×PÙœôuÊr tâä"¬r»G=9R0%Ç/=ް1ËYòÛ®«Ë&*m„$ŽC*æÓöæÍ›h‘¥„ºë=ƒ¹/Q¼S]ª-çM[,L+"600°EÈ"æz[ù©Ç+Y)}KXPð¸*ì£ô±…O &©ÞßK~º:u9è!倇–ç Vi„˜VY¤z #Ê€y_a¨ë1Ýê#ë2É}–³¿FÌÙq¶‚9þW\#BkêÍB™ª*í¡h´2zÊ ôæñQèyáäÍM­´gçÐý”̸äÉMôRßC«äΛÉ>i6½‹zæ¾oG©®œTŒ¯˜s”X&éÊq¡Zòó—¡D²)Ø,¹k*h:NÙŠ{ #Ê€y¶ÄóÒn QÒmL9[Šš=‡+W ”œè”$Ô÷ £e0ÀM—]eÇ%LÎVg6¬cºåÇ^c$­yŒÙ™5æ2J×֌ٙ5æ2Jי͙TÏ^î–¼'ÈðC‚ ðŸ#Â=ƒÂ|ô8.À„‘Èe@<ã½gI‘6 ô”iléi ŽnÓ•qV)yÝ}V—R/Nh MWU¶D3V„ÌSÚ S\§œæ½sž|k廲\š»DS9Ƙ3ýìEÇÇhº)ݵч—RºæcÓL’8+×»QÉmÇ4­PÍZ<ºë—€òše´”2Ñ×ÈZB¬cÌWØI†TͶ&«´úYó™:Ï¡6‚¾¡O•ú ŸçDr¨¯l3/7€SÚH¶®‚‡zmû/ŸñOÐ̇Р ¿0a¼0›ÃÁ¿0a¼0›ÃÁ¿0a¼0›ÃÁ¿)Üß•ÁÇ„ùèpDäxG¡Áv$ŽC*ãjl73ŠëaÒ¢»]^QjSs.«Ø¯Å¾©ir©K…ÑT¾iYÜFADØ®ni9±'J×mf3ðiÑZ>t\¥w·Âå}µTM«“ý”‹Cíü…\z(S-=д¾[°W7Ñ®3#7%ëÍt¼Å‚ìB ôÊ´!$rP59jžùߟ;çÑ> eÎÁ&ˆòjžàV7€©¶ Rè û©q Ïó¢ üöÇ5ž–M|÷?ƒéRc´}ý ó½¼#Ðàˆ<'ÈðC‚ ðŸ#Â=ƒÂ|ô8" ò<#Ðàˆ<'ÈðC‚ìI†TËÚ-¥UWèË®ÑG--¤Õñ5m„cÔö\“{?\EšÕìYÌSÙêÅ:3C‰AÖq]Å“™Ê6‘ÉliÙ/mL–RTòô'6J´&5 JãÓ.Ç%K r"ÔÜŒTÛr'Su1 hÚK Ô:%ÅÕ²­¶ç¡ #Ê€ygYSéÎ’J{Ë[L•ö.V«z°áhz Þ¬U E΂¥‡Zkúc*y|{w²wÞ¯cÂ|ï£Â=ƒÂ|ô8" ò<#Ðàˆ<'ÈðC‚ ðŸ#Â=ƒÂ|ô8.À„‘Èe@<ÔeöÂ*Ü´º@ÌÙZT’UØB1O¢„’¯A NÂ#–‚e{ Þ]3‰×Ì#͵Oi CWt±ßŸçE Sx0Ú ×*ÐPÍplZOpõú€+QÐe‹àÏš«Vø)îBHä2 sל̷rú'´—œíÏ=sâÒòL¨Ô3&8G ¸ÀÉÑ Š´/"íg´tØçO×>ù||I¶õj‹ñ$òEݽXW[ont×^Ÿb#] ó0CÓ€ˆçB|½ÈŸNB.4¸rð#Ó\ŠŒH+Ë‘ôÔ ÂìI†TÍfOlWôð+Ktˆ¢ðš tÓ4 ¼˜õ>‚(G¬„HäÌì {J6‹¤ëy#æÒÈ©²!FÐ*Ë@3ëê–èW² ™¬U £’à(Ú²¶È*×¼½;ÀÏÉx²[lvÁ_`G!•ñ7ôf‹»ô}2™ËÕJ_¤âõ^zК~m\Õ–Ä0Ž ®X ´-og´5Ùé.|åéÏËhÿ/‡œ‹N¹J[ù%$ºOmÍE~¥Ë²e%¾òÚ(®Â¤Òñ&b[Ií¤‹CÉJiR’Š[Ä­B-_&l½‚JIm;¶¢-=(¹¡RFt”7Þ¯e|õ¾™ 6ýMO…“׳ÚX¡›¤3öž=8%ñ ) D¸*S4BnKhLfº¤ñž{¬ÏäÈMµ}~yÑ”1^ì#LdßFçW¶}oou —£Ô‰Ð§ ÇN.B*Á'+´sÓ•#R\rð#Јà‹¯÷B%“6ÂG!•ói‹{sDQE¶š9Ž6ûeHÕ› †Ê…\ä¯UΉ†z7 ¶`‡¦)¥}Ìë­ä™ðÑ/JÅhŒè\C_e8ÈÐmÌ,}t=<°òÀô Í “£@¬ÒòHôG!•ò¾ÃIÖc⻺í,…i|šÒ›"ЯϛX'Vh ÍQWhvȰ2·Ã”éÍåxµçêf¾´\WÌü_Æ”3m…¼ç3ÉiÕ}ÇR¥M€Ç5ó tâ¤e|Ü¢Á7NS ×—œ¼õ %‘NÁeËÕç]' lÅ=À„‘Èe@<Ûbyé7"^“d`ôRÝTÛsÂÕÃe 'e 4rrW®äÃ6w«îJÖ¦¡š“ª¾9yôv˜©™×™Í™#^c$­|9k «ñºöpDäxG¡ÁxO‘á‡Aá>G„z„ùèp] #Ê€xΓ-²ÌΙŠYtœæí8×i2Á^Q.¤^œÐ(š®«lˆd«hÊ{AŠ‹tæ³¼¹Ï/=|·vI“WhŠe»ÐLgûØ‹¶…{tÝRÝuíK®4#1` ŒuG!qÍ+E”3V.ºåà<¦™m% …ÒnR— ¹hÅ}€„‘Èe@<Ûbk»O£Ÿ;O´úvo+ÅnUÍO–ŠLi_H­Åò}: ±‡;ÉôJÜ,kômïžæÚº9Z,³³z#>¿@2·›ò<'ζðC‚ ðŸ#Â=ƒÂ|ô8" ò<#Ðàˆ<'ÈðC‚ ðŸ#Â= °!$rPSa¹š4&”i«ÊI-Ü3ÊêѬգI-¬¥^ÕX^ÂÒC-«¯cÞU¬Ù«l•–„°Žn;èf¼ªæ9¶Nyx>•T²iŠ·“…ˆØŽHEfŒ$`i•:FnK ךéy‡«lªÇ—êg•hBHä2 jrÕ]ó¾>hÿ¢}$Ê{€Ïõ| Âð¶AOÕ° ¸¶  |iè2¸Ãå=óù>•&;Gèõ¼'ÎöðC‚ ðŸ#Â=ƒÂ|ô8" ò<#Ðàˆ<'ÈðC‚ ðŸ#Â= °!$rP/è6•Qád57‘æÒÚM^5Kd¹eKmÒ6ÊŠ§`‰hâà‹Õï6ËÈ<šýI_“’#i–Æ’ö£°HSËМÙ*ИÔ%l–].Ç%K r"ÔÜŒTÛr'Su1 hÚK pÙL.”…m·=I†TÇ‘§ôçPRCè—öØG6…Vëz°áhz ùšV: –jt¬s錩åñê}ÇÍn«Ì´&ÀÊ’j}ÇÍn©ÜEÎ÷¬ëÓìpDäxG¡ÁxO‘á‡Aá>G„z„ùèp] #Ê€y¨ËíŠÕîZ] fl­*F3÷RßBIW „§NáQŽm“+ÜFðÎÜ#1h|Â<ÛXö’5wAKðþtP•7€#  PÍp­ ×FÅ ÷O_¨µfX¾ ù  µo‚žà$ŽC*瞯éË*³¦wÙÜpŠÔ´’« ó4ÂØñ]YÕßñ¯È«ž=+$,gôUYéC!ç—çØØ£yéô'ËÐï¢ýMð'ËÀMt"1п3=8Žt'Ë܉ôä"ãK‡/=5ȨĂ¼¸˜tÄ`ÂìI†TÍfOl*½+K¤ Í¥•8åYÉi_h˜õ>‚ë"´…нWaFÑto$|ÚY6R(ÚYh}}@RÝœ6AS5€ ´r\V@VÙZ÷€W§xù/šUólö!$rPZç~ezáÝpâú¶Lzž+æÏfˆkKƒšÒІÁuËV€­°:)쉳zJÌsÇ—>y|tRÚ?nr-:å)oä”’é=·5øR—.É”–ó»h"» “KÄ™‰m'¶’-%ƒ²Áêö„ÈëMrð#Ô‹ôuÏ<’u2£ "ð„•‘•‡€k²:šYÎ '­ö(™Êøe´¯æ2фƑ´„©…îG¶HÞ+Þ£`²ððtšîe”e9ì镵&`°X;^PŠOA˜x‰Af=Uc­j¿› †À*f° þžGV€­å^ ³À*´ ÷Î)­W^‰‰ÙMß;tVMY•fV™Xe`Y•fV™Xy«(sÓ-Ɯǯ+62³i1ƨ3iì:Ï“äçó±žì„ÃM³ä1žì„ÃM³ä ºôúå"5©ùˆ%ꔈ)­% ˆîªã€÷…8+I'½€ÿÄ,3#%45"@ P!$01ÿÚ¯%”GÝ“^œO—U&O¦qjdV©9Å©€ŠfãŸqϸçÜsî9÷ûŽ}Ç>ãŸqϸçÜsî9÷ûŽ}Ç>ãŸqϸçÜsî9÷ûŽ}Ç>ãŸqϸçÜsî9÷ûŽ}Ç>ãŸqϸçÜsî9÷ûŽ}Ç>ãŸqϸçÜsî9÷ûŽ}Ç>ãŸqÍ7¼i½šoxÓ{ ÖózÖ<ŽzUÍ”6ï–)ûdÆ« ÊÎÉZ:‚ÛœªFÓ_øLyï*—×ÝÞ±ìhxŠÏ›\$¦w-ZkÕ‰]ÒúÇõ…Œæù´ô™–¶¶Ôe‚jë‡ÆÙð•®4¶ë«~Љxè™qÿÊÑ+¨6ô5’9ôAÀVÇëÂßDÌÅÑ.#øöŵÑ®•AͰ¬pª0cA˶òÚþxñÌÿÂ'IƒuM¿ÖWüÖÍŸ¿fqqméBÝ?ÑêRZÊÅ…œZ~ï.Ç­> -?w—cŽVŸŸ»Ë±Ç+O‚‹OÝåØã•§ÁE§îòìqÊÓà¢Ó÷yv8åiðQiû¼»r´ø(´ýÞ]Ž=w²+o½öi—³7^û4Ëٛǯ}šeìÍã×¾Í2öfñë[û‰Sù‡–¿WXtÜõiaº†Ø…0Ù.–„ªœU¦Úñ0ñ+6ìñ„mù“- ¡ära6•Nžm0ñ+8ë0¢™ð<Ò€QɆYP0øtˆæ­9©ÓÆ´tªÄ'Ój¨UÓk:•UÒLÛõtúŠÙâ$t(«•0ŸS_SzeUúmWë¤ìVéõÞ¢¶Mª¡š”"³hÑY *Rúý>„¥B… ˜&µ›pW{›`6×¾£bm®0ËBã¨ÿîä%w‰Ž®ù`ù'-þ±™ ˆkÓ¾;>rÌÕgNC2zr$žï“K4JÞµ%ð¥Â•4VN •ž˜«V³aEqâ‰a ‰¼X)p¥o/yªÝ‰éËœžš‰7¬šˆ1%Wè`< í4‡xhjÎ4Œc ¯‡W\©ŽÍ\9.ª.­¨—E+²…ƒ! Ó *J.íNéÅ@‡M•~6˜ÈG€šøuuÊì$å¿Ö#ó9•s™W9•rÊåÕxGàúsYÓÊRTK}=Œ#k¬¦/³WL…€®ÃK³ëKHãÊâ“={©“Ê)ÌJDj—*¾r«à°ý0|“–ÿXÌ8¬xÁ¨¾1Gôú°‰æÍy`-YÒ7IR6³Mzmi‘µšlëÓkL¬Óg^›Zdmf›:ôÚÓ#k4Ùצ֙Y¦Î½6´ÈÚÍ6u鵦FÖi³¯M­26³Mzmi‘µšlëÓkL¬Óg^›Zdmf›:׎ÁòN[ýb?0+ ì[¬‘R¶^ÍšóÔ¼au=&Ù¶ÿˆŠâá¬Ð³²À]r“L·NKs‘žKpËLkfÔÏŒÝ-!>G·'¹^`ž™&*´yÓ6ŒC¿—šÌew±Û12¿;ì.ÖÌÄk7Ry'®“M½žÍší´ÁCl1w%–kX¼œØs‰ÛoŽÍa¦Ù˜´i«ÈqÁÿÂåîSÑ%rO]&›{É9oõˆüϨÀ8ÙI:£AÖj¦³™^» ʘ$ä¹ÎWŠ­äDŨåWfô¼Ù[4ާ-qp4Ú¢,$‡˜½álÍ—[®B*¬ÜØL›TTD— âרÐÛŒ˜.ç ²K±€0 ²K$²"#´Äš–Ì”&r¸jPªáž#Rë%J žÆ¥°¶—®+"U’]¢²!EY%’YØ>IˬGæ{Ú¹ïj罫ë5›=R•¥òi²»zbZÓ¬ç\9 ¸ÉD•Y•m}ª<{Dç´OŸjÑ9íçڣǴOöC䜷úÄ~f—ixg—Š!p¦Óèu!"Ç!ÍdU±áXã•[QVÄ;…cŽUlIE[îŽ9U±%lC¸V8åVÄ”U±áXã•[\`×Ä^™¨¹Î0kâ/LÔ\ç5ñ¦j.sŒø‹Ó59Æ |Eéš‹œã¾"ôÍEÎqƒ_zf¢ç8Á­iv’rßëùïkÚˆ2]™1ªÆ^&_û•¨ NÐB‰ÀmØcÅrm©q¾Á ß}¤÷,ê ãÌ_Ÿ§VÎ\ž@95™U^2ÊåÕ]KÊ]XÚÅR0½IR”àÖ˜l †¬©·»Ôfø¦qlª=•8¤15˜nšÌ“€r2k22ª ¼`|“–ÿXÌÿ!åíî?Ç×Ý»Ti¦RXØ9HV9=­I‡>¸óé®;P§ïî?Å8«þœ>IˬGæDÙ)^û²Ô‚æÃ#yÅŠsÿÐêRZâ_9­ûS.݉|àï‘ĶCëàï‘ĶCëàï‘ĶCëàï‘ĶCëàï‘ĶCëàï‘ĶCëàï‘ĶB»ºÛǯ}šeìÍã×¾Í2öfñëßf™{3xõï³L½™¼zÖÂ>ÁòN[ýb?2:ZY6zXè)eFtÕG§ÐŒŠ”Wñ+.2ZÊéBgΞ[Fra6•Nžm0ñ+8ë0¢Ÿ:bééQɆYP0âµ$Š£„ªâ±éÁ ]5 tå:šTAL9^¡:}R³‰TdèÔV:àSÒÒÅTTOOS•¹Z‚ž©X]5 «N+2•UÒ«½^…k 'Eä)¬Û‚»ÜÛɶ½ðµmqÙ¬Û…2¯ç]òþÁòN[ýb?2Öà`ˆjáÉgNC2zr$!EmÀJÊW¨£e«Z•.©]I°«¼"µjÏ…YkA x¢Y²[ü1,\r$׈ON\äôÔI½dÔDxˆ!*¿@«àÕwi¤;ÃCVq¤bcÈ-!ƘªŠ@#³WKª‹°«j%ÑJì¡D uQq.¼­¡Za%IEÝ©Ý8¨é ²¯ÆÓÅÃkáU Å Ø>IˬGæs*ç2®s*ç2®7Ÿ>œÃ&tò”•=2]8e6W.ª„lM1; †×UЦâËŠ7Öev;,®]T¨²(ÆÛ¹|3NVb–ŽBpXþ˜>IˬGæ@S… ªê„8+tŤ#ú=XDñÐ ÈùúFé*FÖi³¯M­26³Mzmi‘µšlëÓkL¬Óg^›Zdmf›:ôÚÓ#k4Ùצ֙Y¦Î½6´ÈÚÍ6u鵦FÖi³¯M­26³Mzmi‘µšlëÓkL¬ÓgZáÑØ>IˬGæd‡Ó­¡iTW°šë@ÛZpºžŒlÛ¶f#ËnÛY¡ge€ºå&™nœ–ç#<–á–˜†ÌŽk- Ÿ#Û“‡'ÁYPä“Z<éiÊÒ—e¶<2»Øí˜™_‰ökCvâE¯Òi·³Ù³]¶˜(m‚.ä²Íck€ó›oñ;mñÙ¬ tÛ"³5y8={bvç*´Ž¿$õÒi·°|“–ÿXÌñŒ“Bj[3izE´¹&úÍW%Ì×ÄÏ–D@Ž9]›ÒöñgHêq’×Ë …ŽK’ºçe 8º`ßYª@Ö²; “jêˆ4)‰”&r"{q“Ã\áVIv˜‚!M=„ÉÄDv˜‚RÙ’„ÎB— J\3Äj]d©R3ØÔ¶ÒõÅdBвK¶ÂvX…4ä²"#°|“–ÿXÌž²ˆ_½«Öë°ýí\§yW{Bg‡œ@ð`,Z“¶Y1¨J¬ÊŠ´“1éߪ%“Dh,kQ1Ø ‹0ºØ›Õ«¯Ú'Í{Agý0|“–ÿXÌ´S<˜KA‹Þ é»_Ñë cÔUlIE[î™P¡SQsœ`×Ä^™¨¹Î0kâ/LÔ\ç5ñ¦j.sŒø‹Ó59Æ |Eéš‹œã¾"ôÍEÎqƒ_zf¢ç8Á¯ˆ½3Qsœ`×Ä^™¨¹Î0kâ/LÔ\ç5ñ¦j.sŒÖ‘W`ù'-þ±˜1nÔL††è³&5XËÁËð _r»ãgø¬žbø„ý:±â¹6Ô¸ß`…o¾Òû–^ $O1|B~Xñ_f¼ßµ¨Û{]ÅQ°r>2¬CK çö&ØÞm‹Í…ÚÔL€;`X'ED¾ÖdÆ­ñ®æ7qGl¯P-HÀò‰±i SK½‰˜±åçtI«¡&Ìþ\½³ðØ ÑQ/°|“–ÿXÌÿ.ah›Lå¶_e’š©“Ó•¥.Ëdб–Jad÷¬f| Û9¤ûd¦rY›L¤é±[ÿ%©iîÉ9oõˆüÂê·ÀªÙ寬\nOSê>ËìvˆÈ¬ˆVÒäqjZG±¡LL¡3ÙŠ[„T°ˆ!ŠÈ…m/LDF_5Ò¯íYÒ~á»SÕYÒ~á»SÕYÒ~á»SÕYÒu:Œ5sv¬g.¶¾m]3v¬g.¶¾m]3v¬g.¶¾m]3v¬g.¶¾m]3v¬g.¶¾m]3v¬g.¶¾m]3v¬g.¶¾m]3v¬g.¶¾m]3v¬g.¶µ½.ì$å¿Ö#ó §Ü,m¥‰¥n«#¦^¡Yµ£<Ƭe…¨³”°1dwó±ÖVŒ™Z4‹#:…3¸Ò9ê]¹=!‚‰éœõ.Ü_L&¡8Ä¢ýLí©éœõ.ÜéôΜLÄv3„Lïª n[g´Î‘íÚÓ1X¤v™ñ„b2¦‹‚f#! M‹ •DÁú Öå¶p>IˬGæäqFúÄ pÙ\º«:s<M= ©Ž¡–ª›˜b×Ös1KAQa¸ê=‚¾žÙh*c¨e¥5ØSgwŒâZ–Œz̳‚ýGÓ˜Fú£Â4­«‡&BÀkpطةœºRëRUϳ—'FMfFUAWŒ²¹uWRò—V6±TŒ/RT¥85¦a«*mîõ¾)œ[*eN) Mf¦³$àŒšÌŒª‚¯$å¿Ö#ó;Ù“¶EÁEÇbHßf.Æ·Ô:í³UjˆÃ±°r>2¯‚ÞjSÄð>¸óé®;P§ïî?Å8«þœ>IˬGæZ,O-Šúþw²{ÅlÉ ?ÐêRZâ_8&í»r´ø(´ýÞ]Ž9Z|Z~ï.Ç­> -?w—cŽVŸŸ»Ë±Ç+O‚‹OÝåØã•§ÁE§îòìqÊÓà¢Ó÷yv8åiðQiû¼»r´ø(´ýÞ]Ž9Z|Z~ï.Ç­> -?w—cŽVŸŸ»ÒÇÉ–ÿXÌŽ”ƒsºfˆ %7¥¢)áR¡3³eû âK™oÓQÉ„ÚTa8yµüÃĬã¬ÂˆÌV²· 90Ë*V¯ä‘Trjtñ­*± ôÚªtÚÇŽ¥UD4“6ýE]>¢¶pè‰ *Ã¥L'Ô×ÔΙQKOM¬úüJÛµº}w‡¨­‡Ój¨f¥¬Ú4VCJ”¾¿O§a>¢¶ *²öôʪ­_=M}^¢®–tê¢É«N,®•N1S£‡Ó+¬A4ôK¬kâVÝ髯Dyfœ·úÄ~d.!¬ ÁÁÕÒΜ†dôäHBŠ,˜É¡É^šÕ¸RŽšu…jï¥^±BŠ,ãÅ͉—ð×0¥Â•VìON\äôÔI½dÔDxˆ!*¿@«àÕwi¤;ÃCVq¤c¥¸F¦ØPœRš¸r]T]…[Q.ŠWe %B¦T”]ÚÓŠš *üm1…L xÓUBqHv’rßëùœÊ¹Ì«œÊ¹Ì«‹r›ØhÄ/„~83c­u”Åö˜‚CkªÅC±Ýõ¥¤`,[(5Ã4]¦Åµöê®\Òšü„ç!9ÈNrœ„ç!9ÈNrœ„ç!8,þè|“–ÿXÌ!¯1(©à±Iùš."ý·çdçùGÏæx§?Ê>3Å9þQóùž)ÏòŸ¤n’¤mf›:ôÚÓ#k4Ùצ֙Y¦Î½6´ÈÚÍ6u鵦FÖi³¯M­26³Mzmi‘µšlëÓkL¬Óg^›Zdmf›:׎ÁòN[ýb?0+ ì\@*“ë!rôUMq¶´áu=&Ù·–Øðqœ@“^¤W)4²ìªNôDûOùlÛ˶d:IÎNW)4ã´kßLÁYPãF´!ZZ¥-)„å 0€+¼tç8f|µŒï°»X2C·É=tšmìöl×m¦ `‹¹,³XÚÅà<æÃ›üNÛ|vk6ȬţM^CŽ7œä3ʸžIë¤Óo`ù'-þ±™â51Kp‚–¼˜‚RÙ›KÒ-¥Éå§I¾»,¹uÕb؈•ׯ‹…0]ÿD¡ ¸Ékæ/i+nªÉªV‚‹ V õš¤ k#°™6¨¨ˆÃB˜=¸É‚á®p«$»LA ¦œ€DDv˜‚RÙ’„ÎB— J\3Äj]d©R3ØÔ¶ÒõÅdBвK"²ºC¦œ€DDv’rßëùžö®/¬¡¬÷µÂ<8œâƒbԲɈ!*¿A•·Gñš¢Y1äF‚ƱU€˜µµWÔê¡~æ¾{šùîk繯žæ¾{šùîk繯žæ¾GX®S^ÐYþè|“–ÿXÌÒí¢Ô-Ééõ!"Ïå¸0²„ÿ-ÀÜ …”'ùnàL,¡?ÏÆ†ÊzeB…MEÎqƒ_zf¢ç8Á¯ˆ½3Qsœ`×Ä^™¨¹Î0kâ/LÔ\ç5ñ¦j.sŒø‹Ó59Æ |Eéš‹œã¾"ôÍEÎqƒZÒ*ì$å¿Ö#ó"HX'ED¾ÁòN[ýb?3ü¹…¢m0O–Ù{fE5LõaΕ ™wPw²óY·áe‡‘9¯V&̲ũdÙdZ%WËÿ‚Ô´÷䜷úÄ~au[àÒÿ“ê7ÄýÅØÎŸeö;D@äVD+ir8µ-#“Cíµ(L÷˜‰Éˆ!Ðf¥°¶®÷ýUû†sµ;Û3DõgAGVtŸ¸nÔõgAGVtŸ¸nÔõgAGVtN£ \ݫ˭¯›WLݫ˭¯›WLݫ˭¯›WLݫ˭¯›WLݫ˭¯›WLݫ˭¯›WLݫ˭¯›WLݫ˭¯›WLݫ˭­oK»É9oõˆüÆÐ´L±ZÞ˜­dËÕ]Ú¨» Œó˜ÈPÍä@Š×ËN1dwó±dΑæ£Å‘—kµòΙa¥ê]¹=!‚‰éœõ.Ü_L&¡´ˆìzgmOHtç©vçO¦tâf#±˜¬"`‡}PkrÛ=¦th˜.ÐЖ™ŠÀí #´ÏŒ#•4\13<´é[L’ܶÎÉ9oõˆüÀ\ƒ¬Ã‰{J²¹uVtæx.šzASAÐr°¬p³4â›t  h*,7G°WÓÛ-Lu µN^^lKø®(@ÑY–p_¨úsßTb˜F•µpäÈX±TÜ@†Å¾ÅLåÒ—Z’®}œ¹<€r2k22ª ¼e•˪º—”º±µŠ¤az’¥)Á­0Ø YSow¨ÍñLâÙT{*qHbbF—€6°qª‚¯$å¿Ö#ó;Ï"¦+£ØsaÖ%æ§Åb¹Œ&ƤÑ=›)ã*êy®øÙÚ=³Ÿ Üyô׉(S÷ê‘‘¨’rßëù‡ÅE‡º@›b+­ÖŠFlLˆZ,i[^$­» ì1·Œ¸Ó©úà^GgÁºÑI…ˆ/ðê²Á6·Ý£¦Ùq*^ÌÞ={ìÓ/fo½öi—³7^û4Ëٛǯ}šeìÍã×¾Í2öfñëßf™{3xõï³L½™¼z÷Ù¦^ÌÞ={ìÓ/fo½öi—³7^û4Ëٛǭl#ì$å¿Ö#ó'¥W}‹´Au‹¥¦¾7¥¢5ª™qi ‡N­Ë>œŠxÊB.XE•ÑOI\¨ºmoN¯%Ť92©Y.–ÖQJ$ÌV²· 90ËI[N*ÖÔHª8Ž%*ñ:„í1v+Yäc,@8lXí6•v²; 3¤y¿õ’ÍäÅß6+¾_ØÌV²¸¨C,-EMCÆÀ`Ù‚kY·w¹¶“m{áj6&Úã&`F-‘Y¼‘µ­µß/ì$å¿Ö#ó!q °žBv|ãWK:r“Ó‘! (²ô ÇŒ"âW†¦µCÅ.­ªÅl*Wzb­ZÍ…YcEBÎ3gbeü5Ì)p¥c×Ó—8t+C²j"< ÔIU™S)ƒHj€;´Òá¡«8Ò11äF–ãLdÓÅ Ù«‡%ÕEØUµè¥vP¢Pd !¡Za%IEÝ©Ý8¨é ²¯ÆÓCëÓ(dç<©ŽÁòN[ýb?3™W9•s™WüŒBøGãƒ1/^õtƒ7±µ¥ø!mH³W”9fKá”…•˪٤3“D£6k¦Ç‡:1lXþ˜>IˬGæmÔƒVË5ÓÔë~vN”|ý#t•#k4Ùצ֙Y¦Î½6´ÈÚÍ6u鵦FÖi³¯M­26³Mzmi‘µšlëÓkL¬Óg^›Zdmf›:ôÚÓ#k4Ùצ֙Y¦Î½6´ÈÚÍ6u鵦FÖi³­pèì$å¿Ö#ó e›0EfÍyê^0ºžŒlÛ²S c-†=»i+XW)4²ìªNôDûOùlÛË/5›Y¡ge€ºå&œv{é˜+*’b«G-9ZRì²óYƒÌ®ö;f&Wâg}…ÚÁ¸žIë¤Óog³f»m0PÛ ]ÉešÆÖ/ç6ßâvÛã³X@é¶Ef-jòq¼àw!žPíÄòO]&›{É9oõˆüϪb|F©ˆ!5-™´½"Ú\–:«—®¦ó5ò´œDÊë×Ř.jº{a ¸ÉkæÒVÒrF±XB .X7Öj5¬ŽÂdÚ z¢ G btDDöã& †¹Â¬’í1,BšrYÚbMKfJ9 \5(UpÏ©u’¥HÏcRØ[Kב *É,ŠÈè BšrYØ>IˬGæ{Ú¹=r´g¼­9ïjå[«¹Ú<8œâƒbԲɈ!*¿@Ó¸8ôïŒÕÉ"45Ѝ˜ìŘ]lMêÕ×íçڣǴN{Dùö¨ñížÑ>}ª<{Dç´Ošö‚Ï÷C䜷úÄ~c‚ã#ë ·L0l˜tè-ïèõ„±ê*¶$¢­ˆw Ǫؒж!Ü+r«bJ*؇p¬qÊ­‰(«bÓ**j.sŒø‹Ó59Æ |Eéš‹œã¾"ôÍEÎqƒ_zf¢ç8Á¯ˆ½3Qsœ`×Ä^™¨¹Î0kâ/LÔ\ç5ñ¦j.sŒÖ‘W`ù'-þ±˜1nï‘¥fLj±—‚ —à@¾åjS´¢°2ÑTªÇŠäÛRã}‚¾ûH î]J5Q~·I»YšÎWV¾í˜2«TFŸ A®².§‘Úï£Û9ð½ÇŸMqØ’…?qþ(ÁÅ_ôáòN[ýb?3StNä@nnV×»ý.®æ%EiðQiû¼»r´ø(´ýÞ]Ž9Z|Z~ï.Ç­> -?w—cŽVŸŸ»Ë±Ç+O‚‹OÝåØã•§ÁE§îòìqÊÓà¢Ó÷yv8õÞÈ­¼z÷Ù¦^ÌÞ={ìÓ/fo½öi—³7^û4Ëٛǭl#ì$å¿Ö#ó%R~8'\S;+¬<´iæ×‰‡‰Yc!bVÝÅ™Ò<¹â¨äÂm*0œ<ÚþaâVrÕ†WÉŸÍ(˜eºé±œ*2SV€ÔéãZ:UbéµT*éµJªˆi&múŠº}EláÑ:U‡J˜O©¯©½2ª}6«ƒ‰[v·O®ðõ°úmU Ô¡›FŠÈiR—×éôì%*(lÁ5¬Û‚»ÜÛɶ½ðµmqœ¡Üåb™ Wó®ùc«yjLÑòf“4|™£ç¾¨P´DìFûpÿNŽr¯&²rk'&ªrk'&²rj§&²sß©R⽇:Ôª›,6l0Ùa°Ãa†Ë † j•îСB‡6䢚Ì5Øk°Öa®Ã]†³ vì(”.{²÷PÔ÷žãWÜjû_q«î5}Ư¸Õ÷¾ãWÜjû‡%º좪-PÍ'&gòg““<œ™ääÏ'&y93ÉÉžNLòrg““<œŠµëÚU.{11ôj’ú…cÕ>Än¹µòÛOì«8*•­QÊ‹ö+BÔ_J¨‹Ù‘UT3JFª­ªþ]N¢W³%mè}sëXúçÖ"ËwÍù5(PNÄNF¾ªM3]šÓ† $0H`Á!‚C† $0H`Á!‚C† ÑQ´^ýÉÉrr\œ—'%ÉÉrx*•-;26æÐÕSUMU5TÕR8®¯…Tí5ªå¢òðkËÁ¯/¼¼òð?äu®ûø*…½¨ßc®6F×èÚý?£kôKõ$ÉàÔ©^˯u¨>v±ÊÕþ† 6Xl0lÍrÑ<)Ùc•«Tªªk°×a¬Ã]ƒakV©àª—...*]ñ—ºÒOOcõë’¾5 (Q !BŸrµjƒ¥{’Š¢%:'Šª]Ú‘Ö¶¦Ó¸#uͯàmN–äy´ãÿó0SÁX“(\ah-ÁO‡<)Ò”ÚÔá¦'$X©DˆCƒC—Ƨ^—ì…ZÄ®­)oó IÇþäûóDÙ³'U)OJj6¼L92f|ѸÐÅ1´V¼“uÄŽUýc+àÇÁ²¾oW3¶õFëåúÜ’Q.²©I`íÅ2WæÿíÂÏ÷ÇlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOlyŸêOl_p¿ÿÐ(óþßý @-øŸûG˜öÿí?ÿ£G¢åºöÇÿ®›ú»beH©*4Ýì@³}ù"”‚eÌQþÓG~@(ÌuaIPHÄœ®ZT’ÅÐ^½MÁøm‰¦Så ,4ÁAZÊ3J¦&]Ç ÌxÄÄ´ËË!KzñÇU›V<Ñ1ì‘WÚ×8qµÂ²µ»â¯ÿÊ~é!ÈÚ"T·ž)dÌUM°M¯v׌Hž³:ÉRY)¸gµœ œÐJòD±qalx?]0RPŰ(¦Õ‚fÉTÁ@ɲ]•wcÅÑ{FéP VU€C)NìçHÿ6hJ‚ œä”ÜU¯–'dÒµ<¯J_:ïô‰õ¤-U Y…ß™»¼n„© R³ÀS{nHÜŠt•_Åìä´/?t%ÙU”vßüÌJŒÖB¥¬*›ã|R5>¸ËM"¢ï/a¹µº±‰´e2™ù´f€Æ’ \ðzcu “f0–&!îÝærmŠƒYeÓdcÍ¥K¨e%"Q@¦úñÛ¬“.uuLQ µM©Ï$Làí“€–RÉ;ãÉ A —ÐÚ‡O^Œ¢AT¡ˆ–ƒ †àëÕº2$K±Í”QÌß]»!/-|ÊdT¢ŸWÑWøŠéAñsME† fïxÝTã1Þ§|Ѳ¥H3³’²œ½øº/É$KæœÙyÉá߸…•®qÔ™’駨< Dºsα¨B®E±Hs ADÚeÎRrJ¬J›qÛ%*YNQE(¦_+ª&É ¨©$”‹àØfó낽Ï)ŒÒCaalnt­4¨K¢zFæ*œDÚ–ÅÚôߢݑ9jRÊŠPdJÚ¯ZRÔ³¥JE$óB”B)Ïûʳuwµ¿ø'“éþÑ a^¬Ïš>ÍöCä“Ý3êÉ¡t¹»°ø˜Gõó(Sß)«û›N¸˜<2uC‚šî­Z~ø\ædœñ›·ª&)s×4j´Yþ²’9Rž¬ >„å¦\ãT)9Y– ^Vc‡ãÂVcéB“•™`8Ð¥åf8~< ef1>”)9Y– ^Vc‡ãÂVcéB“•™`8Ð¥åf8~< ef1>”)9Y– ^Vc‡ãÂVcéB“•™`8Ð¥åf8~< ef1>”)9Y– ^Vc‡ãÂVcéB“•™`8Ð¥åf8~Ç‚re iÛ§z¯ûFò½YŸ4}™ìGÈ`¬8|F¸H­H¥Uf·ÖZÔºoœ×14M$K ÔF¨Sƒ{뻓§Ö0RÇE­é_õ\á=JAÌ£@ Þœ¢¥©JÍ)Ößó¦|ÔÐJ­O»œ6˜™=SÎNžÁ;c‡5JÕX¥GV«}D&Z]„L˜²UX †Ü <.‰…UªÇni'Ÿ’)˜IMFQ55‚oÉm¹¹e”€%èÈÊ)г[ÒŽÎݱ5Yy”­„Ž.Ñ ¹³V„^–GÝØBe¥ØFJ¬îöåœR¤—J†ˆ@­l‚Hv8—Åž&©¼ Pà‹>7g…¡3 µ(0PÑ9;L¨ ÄÄ"jÒµ†Ê;‘²M™_|mŒ«ª«é×ßá¨oÌ›UKP#9!¹ÚäDÌ£"ºA埡·ª$&\å¡2Ç¥¼ÅÁ ƒrsU-2Ôå#ËçMkÒ‚N‘§I…Pà+F­åÊS²ÒRZ&º”œª j¿lU•˜ !*!³‡wÁ¡SÒEÏX¬ðR¹Êšj%Õ½]õ '¿ÔÅ'.bª*JÎ)Ž0fkí~¾ÍùJ­Iɪ¦ xLÊך¢´¥ì wøÆIkRóÊÁPIby›I‰ •0ËL²å)?yM5yEc2Ïðh““š©i–§)~X/:k^üt:L*‡Z5oOõÿhÞW«3æ³=ˆù yÌŸ|GœÉ÷ÄyÌŸ|DÙIgZ CÁÍ”C‡”晘Üí¸×Á/<0Ðñw'5ÒuìÂH˜µLu>…TìBL¥äÐ6ÅÙ@›é¸‰wÙ§ ðƒƒsܘRmpÙÁÄ*»‚r…}gyr”ì´”–‰Ó’½ÐR”à,ý½ñ„æKTºnŒ©è¸ß[(55ò_“ß‹kn¸Ÿ¹é“ŸÁn[$|"lÃH˜d„¢üÞýxÆê"b’©ÏI¬šl4BŒÌ†ç f–•[—F¾¨òò½ñ^_¼#1iW!ÿ³OõÿhÞW«3æ³=ˆù ­Ijeº’¬ç³†äï¢i„;[÷ŽØ–è¹”œþ·ùÿ?í%‚ÕRir×qþbX­… ÍZ˜RÁORïgúÄÜš‚UV+—ËɧIÛâòƒãeS dÏlyi/ìò€Ó¤íñGùAñ²©Ð2g¶<´—öGù@iÒvø£ü øÙTè3ÛZKû#ü 4é;|QþP|lªt ™í-%ý‘þPt¾(ÿ(>6U:LöÇ–’þÈÿ( :Nß”*&{cËId”'oŠ?Ê•N“=±å¤¿²?ÊN“·ÅåÆÊ§@ÉžØòÒ_Ùå§IÛâòƒãeS dÏlyi/ìò€Ó¤íñGùAñ²©Ð2g¶<´—öGù@iÒvø£ü øÙTè3ÛZKû#ü 4é;|QþP|lªt ™íƒ•Zª”SõÞŸëþѼ¯VgÍf{òšç’,“Ûôæ0€Ï-Ԧ͖š°&Ïn˜”¼„’r™2œ˜½Û¤tc&³Ð’¦‚2G)U >– üUhÕÒÔ^Ç£‘ª‚”dÂA«ôwì|ª¥6”Ù¹«dJ­lPãÑŽ…¢aH­hMT L-§!MJ‚Û»}y=è R‚‰~mœØB8˜-£¿Ò80E©mqaÕ Xôzàém«±T;ïILÉI]j§8ab~…É'$TA˜Ö`Yì>-HÜ))EyÔz/±´k‰ËFæ—-a.—Pn~üð*- 1JR*™JjK¨êÔ5ã Ê­NœóX ·eŽ7…R„VþO»ßXç2²©¤+V?w¿¢v„ïMND椔 ºÎ¬®&d• 5 .ú†ÍœËL²¦[« hïþ!º”Ù­VÙíÓ Ê(TTS}×h9ÉK©I¤ÿÓn1ê÷‡:«X$0¥ºûêÑ€‰“YèISFèñt®\ºÚ­ÙŒ))@! ­d©­|:¨É‰*¢¢šØèæmà™©@UDf)ôïlå©=)n7ÃÞèPÏ]~|9a 5¨í‡ßä³÷q½!#‚µo°˜’€Bæ)8ÜÒ Û–SÍYš©bر:†¡ª79L µ2ÄÂÄc‡G} %táj…Ê+š¢¥¥Ò’YÃZí§ aÅÎnv.1ø9ÉK©I¤ÿÓn1ê÷‡:«X$0¥ºûêÑ€‰þ¿íÊõf|Ñög±!Š˜>¸(ZB’tð–H†ÀBÌÖÉ„šœh…TÁ`Ô=Z­¤c PJHÉðiÐ8§V‘x?'ãļi"¦Ïߪ 1EB”'y-ŽÈÜï¹ê%DT¤ù2¯7DNÝ‚PÊ w:Úd¬ÃPTµT—;uöÀJ@`i”Љ)»ýëX‰¨T©LƒI¡UÕ‡$W*Tµ&Á«¦ï†b¦Î:b¤¤YTËy.jQTàã^¹Ê³QÙ Z\Ó‹ ¿DJ””¨…¤BM®Íß™(¤f¥*ñw섦bjJÕILÄ ‘cŽ™ÂT²t*‹‹ö–e"¥Q§ —1!HV"R ÍÓ”8©¯ “‘@–¬RB@Hdðm„8Hú5ã¾¥&RR¥â¤†=0rÞ<–¼À4ɉO)>+nñBÒ“ ‡‰O)>+n )Ò A±X ã¼R 8ƒ¹iSâãCÊAÉð3x$ËÍ·oÖ/#uN-ÂZ.nœÞK˜I–q%W͹ÍN:Á/ËÜû¤äÔ•6L«ui²')R|^¾ˆ›”“º’)JD§ ìÿb„„-AI ”%Úàý"Rѹæ–á àÐ¥dÄ / níbÑ-YXÞÆ¬‚˜ Â¥ä ݬZ%« «ØÂ•S4T¼»µ‹Dµdc{R² bƒ —7v±h–¬‚¬oc VAL@ÐaRòîÖ-ÕUì`ª©®]°ÕNüåöÀÎoÆ_lU5Ïâ«¶©ßœ¾ØÓ­øË킪¦¹üUvÃU;ó—Û:u¿}°UT×?Š®Øj§~rû`gN·ã/¶ ªšçñUÛ TïÎ_l éÖüeöÁUS\þ*»aªùËí:ߌ¾Ø*ªkŸÅWl5S¿9}°3§[ñ—ÛUMsøªíƒIYIe_éþ¿íÊõf|Ñög±!‰…`—à+Rmnžö²iš³ÃfÔ1»Z7=2è˜ ˜0{ò8ÑÙL§ÊXi…%‰b3ší¨Iѧ¢ å¥»ãÂÙ’9ârr“KKNaNhçïÙã% ƒlºÛkD©J’¤²|¦EJk›¥¸'NËDÝÏ“RÊPäSe>ˆ›‘sÔ))—“f{7×YÐÖNiI7/®7BeÖsUFktb>§²j“.bS`›m7Àœ)Ñõ†3^¥Kèµôê‰ÉÊM--9…9£Ÿ¿d7ƒ…¯AÉUWÝ~/.ØÝ×’ôuÂÓ*IÎ!ˆ•“ξ‹[VÓŽœÒ’n_^ôµ¢¬öf?V‰n&ð”è£EE®Äa´rÆè¥Å)[÷[74Äõ/t/‚õ!O&Îï ¹6ÅAŒ*ä[‡15JLæ–¥ªèSµG\T€«£Äœ(^³ÕÖ4Þ£.e^ßXþÝíÐȪ•)4¥nŸ©ìšT¼ÔR–¨ñµØmÅRç¡JUÀKÕm6ï«TMOŒr’@%Ël‰6™ãUJ|Yë…¨¦a"¢²ž2/Hpë×u… …KèmC§¯F&™O”4°Ó©©~,‘-Ü—ÍmXtÀ¤ÍJJAE2Þ£©Z´j…%v@&ÚCfã†p£”›3Æ*óÇýí¼ìj¨Ö­¤|:»…¡+2„Â&$¥‰û÷h@\¹ª³*üRNo+cÍë íÊÕYvCè=& ¶LÕ8£5!•MÿçšsËRÌö#ä?ë™5RJ]nB¯šú9»ãJNX³¼Ý:[î.ÈLºW”©xR ˆZ’RIb¼9áh˜©•-0%ÿM´o-I›âÃÔ¥B~¯ÕŒ-ST¬¸TÖ«G^11hQJ()TÒí¬ÉϾªXPŠÀÿÉ÷{ëê(MJÉvx­®]³¸¥_鉅HÎBIgÄŠœ~ƒ :’˜‡¹ÛÐtÀ+Üæ¥)úXlÛeè#ÿŽ™RÒ©!¿ÞÏõÿhÞW«3æ³=ˆù ‘’_@Ç¡âÒ¤*Ïš_ë“‹rõÂé“|3ÄxDª†"±h«Âd¶ºÄÝ2o†x‚•PÄV-xL–×X€û¦MðÏQ᪊Ţ¯ ’Úëtɾâ <"UCX´Uá2[]bî™7Ãôÿ_öåz³>hû3ØÂR¹²É×wa†Ïøå‡NE Ð%…ªî à}„¹Ò$³‚0i,ÓÒ“¹Ùœ£ÉÕ‰… ƒsL©U’J±æŠ\>¨ujJ¾ E½C›¢ú¹à©D1&¨§×IIëïc’áÈè·ú)pú·’•(¬7²•²œŒÆØt—GE·’”¨ ^ã›×ÕyDÜ3?ø……NHMÉQ8uB|bszú ¯(›†gÿ ‰éRIÅÿÄJ ž€^×Ç«»Áiè*&Šzvl0¤eS}/þ!>19½}PW”MÃ3ÿˆR2©¾—ÿ-ç µñꂼ¢nŸüB‚ç&“§Mù¢Z„ä.8õBÞ|· ÎØŽï ”™é.ë»ìØaÔ\;ÄÞÚ†ýˆ;ÆXP¬h‚¥æ`jkæßßd$u­ÛC@r/„.XP+CT5<`¤j€¤AÀˆRJÀ)vC!NYûôéþ¿íÊõf|Ñög±!‰Š LÌã°Ø}!¥±:‰#¬ad’)I¶†.ùÙe%h) J(phÐxVÀè)÷bËB[$yÝNSîÄÙ¹ `”8÷ï±¥±:‰#¬a H)àQÂ"Œ}ütêÛ¹hðzl_v…pR©Uʬ¯‰/ÕB™ÀkFè9ˆLÔ©5pùŸ®&•™eK`Û'VÝZ6Ú™Šje€øŽ°Ã8[’&ÍÈK   9Ç¿}¶Pj2kä¾'¾3ä¥2U-’·»R¥Qê+çÑ¥¾„)œ¶ôµ!Š¥ª¦%žÄ}bYñEIR•W*‰Àƒñº c=+e8»è9®Üú"r$ÈJÊÓÀQ²nØH¤%† ÀBå)Ùi)-§$!{ ¤%)ÀYû{ã ¸NV^Nf–äÁœJ.îãéÝ›{t(¤Q1*I¤‚¢:>¦&«‡P@ÏNLZ­cÜ`É“3&«œ(¶Žÿ⤵rÕR_fúĤKJV Éš¢Y͹ûéŒÅ'1J™-ý"øì¹î.´¸)|ÛwïÐ"l¤³­!ãtË””S2X(ñ¯œváÑe”i8Ÿu§¸Â9Jp仇; ¹ô)2%ÉÏQ¦YÞNpÉ¡j˜n_´÷Jæ%›.aR@SƒˆøøBiZ3MWJœóa݈ÞÜ󔚉$›³5»è„MÌdÌRНRœƒ·ddÕ@VUK¤)Â$µÆÝZ#q§$‰¹59RÕÀä·{sO D´ÉšŠ +¿ø}èË©IË%˜ Ÿùó¦R%¥+dÍQ,ÎæÜýôÆb“˜¥L–þ‘|v\÷Z\¾m»÷è?×ý£y^¬Ïš>Ìö#ä?ë›2·X+¢YKsOÓ½à²ç™Na•ž1À7«£I‰ÖgY*K%"÷ ö³³š7BR &Z˜Hš”¤ê–ŠPÚùw–%&Ri'\NœQ12— ÝO§¿)Û–cO a-L*ÙŽæI§ÅÄ^³ß^»¨Œ[SõFè«*VÙ®‡}Høi‰«”T™!iM%^ß FêœÉRÒù,Ö|ÐÁ߬\ó)ÃÌ2³Æ8õti1ãRºÖHfãûDÿ_öåz³>hû3ØÂeÙ;*i,å®ÚyÄ<½Ý>“aV·_ÞW†Î¹µÎ \ÞÂ÷‰TîÙÄ­@WùߪOwNQ %œÝ¿ÃôFFdÅ®ìåk¯D1×þÆHLåJz°,øBÇ…M¨pSUÏ_Áá+®a×Áë~¨ ðÉ´‘¯ü·\,xTÚ‡5\õü»&ÔBI¹°-Û~6€.o³¶ýd×Z™:Jì›Q &æÀ·lølÚ¹¾ÎØOõ“]jd\ê|a(²mD$››ݰWá³hæû;a?ÖMu©‘s¨ñ„ nɵ’nl vÁ_†Í  ›ìí„ÿY5Ö¦EΠGÆ»&ÔBI¹°-Û~6€.o³¶ýd×Z™:Jì›Q &æÀ·lølÚ¹¾ÎØOõ“]jd\ê|a(²mD$››ݰWá³hæû;b_Š›=ÃÖú˜#Á¦°Òé¿\?‚NätvÀþ’qçEºàšÃK¦ýpþ ;‘ÑÛúIÇë‚<k .›õÃø$îGGlé't[®ði¬4ºo×à“¹°?¤œyÑn¸#Á¦°Òé¿\¤®_¬×è;ÓýÚ7•êÌù£ìÏb>C@›º ¹xºìÈÛ`¯-5vÎ3g6oDHTܨBŽ5¾,£ ©{«tÑ+;‡Áh­3ç¸:8OÈÏÿT׺œë·M¹z .C*¤¤(æÚ*JAõ•H°™¹!IÖ¾©éuhƒHèxšW x²([ü@ÙÓË”ì:¢eËK©T–¶ØP.éN0ÙK³àl6êÚ!•RRsm¼sIMs¢žÿ4€N‡‰¤ÊIÕI(˜ãnÜòÅE%;­éUM™-WJh,ú~PÓºdÔçK^ÑJ·Vé¦]ñ°mV‰› n­Ô¬šnA»vuE§îšWr*gå…M3ç€äÕ B¥)SÐEÊ*øê)ºLV£Wkêêäƒ,x@#WÅÐz@î S•œÚªã§Û ì"b²û£ÅŒåh¶Öƒ,Οꋻìo»Õæn§˜s6[’ØA^WtXh7·4VóP Ô†\À/¤·ÝøB&e'YýbÛ#5[¢ù‰PXÎ)ÑÕÕÉ<ô£ÖÓ§FÁÜ@ñÓí†v©¦|ðš´š¤ÏœR€ähåà c²?t8¾ºvál:¢”ÏÝàú-¡ÛgT‰›¤&¢–U¾›!pŽ»«buœ%)øg:¹HÕþ 0u¨Ò‘¬Âh’¥TàzËߵ·¥#JËuB$¦êRŠzN”˜)5Rœë‚Eº"OåUHdž½[Áƒ­F”f*©Žƒ JI)Iô”1]]$äÊ@Ó·Nôÿ_öåz³>hû3ØÁXpøpÁjAÖ˜@rBMLt«…ÊS²ÒRZàÞúîäéõŒ±àQkzWýF7,¢’½\Å¡”â€äžF/¯š3Ã'ÕK=°}9¹½Xl‰»¡sÕ’£¡-¦(.ä(“´ü_\&Z]„MTÉ„Ôé¤m5útl‰‰ ˜åª­,tœÖN„j XÉ‹%ñ”oHfÙ²7,¢’½2b‚PœL#(¦*ÍoHj;;vÄÅ™Ë(ZiÉàÐó&LYÒIggl9^ ô¸ïÏ –¤3Û\Ke «0l~­IÇø³ÄÕ7” gÆìð´&a–¥  'i‚•AĘ„MZV°ÙGr VI³+ﱕuU}:ûü5 ù“j©jg$7;\ˆ™”dWH £³âT6õD„Ëœ´&Q¸ô ‡#h†ËÍ$*´œÜÓwѴĪ'-! *Wß}p«©.ìÇ‚N$mï¤Â¨p£Vòå)Ùi)-]JNUµ_¶*ÊÌ•ÙûàЩé¢ç‚,NÖx)\åM5ê‚J”*M+Œ5u˜RÄé„)EE%»(™9sQRVqLqƒ3_kõöoÊUjNMU0kÂfV¼Õ¥/`K¿Æ2KZ—žV ‚KÌÚLHL©†Ze—)HûÌ\p¡ˆ1''5RÓ-NR8ü°«©.ìÇ‚N$mï¤Â¨p£Vôÿ_öåz³>hû3ØÇœÉ÷ÄyÌŸ|GœÉ÷ÄyÌŸ|B|z+–§p]œõê„’±¤–#1ÔNk¤ëÙ„,"‘1j˜ê} ©‡X‰™4 HM"²œë¹}m¦$%4—­Xc{'œ³áe%h) ¹P8)J%\›Õ©  9wq{hÇž'M”„ФÙ%dá´ãŒUDºÔŠj¨ø³¬kÇfò¥¡(*P!ÖYœ3ª¥9Tdæ]…ðéî×›),ëAHxš„-³HÚvŽhµ&J¦Ë¨g]®ãFV扳*–’ïpú9àe!¨(!K`l§À c½ $Ï•§X_l#ËK÷£1iW!ÿ³OõÿhÞW«3æ³=ˆù J*½ÓQÓµïË¢ ™Bæ°^Ô·Ö¥gÔ¾ûºô네f¬¥N$®·‰†].YÂOù?쥂ÕRir×qþbH–jM¸!ư¼p"nMA*«Ëåä€Ó¤íñGùAñ²©Ð2g¶<´—öGù@iÒvø£ü øÙTè3ÛZKû#ü 4é;|QþP|lªt ™í-%ý‘þPt¾(ÿ(>6U:LöÇ–’þÈÿ( :Nß”*&{cËId”'oŠ?Ê•N“=±å¤¿²?ÊN“·ÅåÆÊ§@ÉžØòÒ_Ùå§IÛâòƒãeS dÏlyi/ìò€Ó¤íñGùAñ²©Ð2g¶<´—öGù@iÒvø£ü øÙTè3ÛZKû#ü 4é;|QþP|lªt ™í-%ý‘þPt¾(ÿ(>6U:LöÁÊ­ ÕJ)úïOõÿhÞW«3æ³=ˆù MsÉ É‹íús´´!Z)B[/VeJZÊèRL´ëäâý Lœw4¥P‡à%îT¦aU, P~*´Ft‚5±ãhäAê… ¥0AªýûK©MšÕ`MžÝ0K‡–’X‹Ì5O.i#žaH­hMT L-§!MJ‚Û»}y=è R‚‰~mœØB8˜-£¿Ò80E©mqaÕ wà…Ñlaêæ÷¤¦d¤®µSœ0±?HB“¹edŠˆ­¬À³ØsÝ¢iˆ"»Ñè¾ÆÑ®'-š\µ„º]A¹ûóÀ¨t´-iIYJI bes´%!YQa~ýBÊV¡*\°µRSµñ ¬ªi ÕÝïè¡;ÓS‘9©%뉙eBBMC ¾¡³CÆç2Ó,…©–êÂÚ;ÿˆ@I¦µS_£ßxB–À¨>öÑÐðU2q+ZRå4Ùú˜k…V°HaKu÷Õ£&³Ð’¦Ñâé\¹uµZ/³RR€BZÉSZøtQ“UEE5±ÑÌÚ5Á3R€ªˆÌSéÞÙËR2zRÜo‡¼9Сžº ýørÂjP!Û¿ÉgîãzBGj ßa1%…ÌRq¹¤·,§š³5Rűbu CTnr™A!je‰…ˆÇŽú“jÛ6¬& e4ß2½6ôusAšEJ$ ð±ú^rRêRi?ôÛŒz½á뻅 )n¾ú´`"¯ûFò½YŸ4}™ìGÈb¦® ¤<%’!…°R 8ƒ¹iSâã§&–¦–m¢dÑH›ÁRÙ°ÐðDÀT=K.·¾"Re’ II9­mVÇš&®Œå HeÌ’„­ù¥Åßf8ÀJ@`! ¯¡âj*S ÒhUAõaÉ&ZiÄϱ#IŠ›8銒}eR,d¬„Ô¯ºc^©Š¤[8P¹éAå”ý#&¥1Ù°ù"d°QL¾¬8æÕLCÐT²çû{áx“(¥R¦¿\)fR*Peq©s…b % 0yR–€P¬D!å äø¼Hp ôkÇ}JL¤¥KÅI z`å¼y-y€hÿ“žR|WÜâ•AÄB–€¥K.’tB–e"¥Q§€¾;Å*ƒˆ0k–•>.1„<¤Ÿ7ƒÉh–œ¡ÅMx¦RîÃz¦®-’§t¶0å ›hÕ†úT¹iQO‘„W“M~“^ ¡&^LâšmžR|WÜì–I?B›B´*Yt“¢é ÆØˆ,ñÞŸëþѼ¯VgÍf{òJ̹´« ;c; vÂP™sŠ”XXvÇw@í…äÂÅ8Õ¼¹%ÊSóãñŠŒÙ†n‰–qŽÆÒza,µ‚8—¹î!HXt¨1…(­S«T¦Ã›x‹ßQ‰ n‰™U¦œ­œ@XÝR šmOfòEjE*«5¾°+R–pQ/'d³\m·\Lå­+|T–¶¡þÉ)–ЬtDµdc{R² bƒ9 —w¨§_$ éÖüeöÁUS\þ*»aªùËí:ߌ¾Ø*ªkŸÅWl5S¿9}°3§[ñ—ÛUMsøªí†ªwç/¶të~2û`ª©®]°ÕNüåöÀÎoÆ_lU5Ïâ«¶©ßœ¾ØÓ­øË킪¦¹üUvÃU;ó—Û:u¿}°UT×?Š®Øj§~rû`gN·ã/¶ ªšçñUÛ TïÎ_l éÖüeöÁUS\þ*»aªùËí:ߌ¾Ø*ªkŸÅWl5S¿9}°3§[ñ—ÛUMsøªí†ªwç/¶të~2û`ª©®]°i+/é,«ã½?×ý£y^¬Ïš>Ìö#ä10¬üjM­ÓÞÖMŠ¥Õã4§»DÇ*cè¡ð'’ܽ14Ê| A¥†˜RX–#9®ÙÚÔz*Z[°N<-˜Ù#ž'')4´´ææŽ~ý€*Q˜êÂ’ 61ȨPB‰a%L+Cwº7 ¯%èë…¦T“œC+'}¶­§!9¥$ܾ¸Ý —YÍU¬шúžÉªL¹‰M‚m´ßp§GÖ8d`Íz”/¢×Óª'')4´´ææŽ~ýŒšB• µD^®L#tn@^KÑ× L©'8†"VO:ú-m[N:BsJI¹}{ÒÔгØ=˜ýZ%¸›ÂS¢»†ÑË¢—¥lÝlÜpÓԽо Ô„]<›;¼&äÛ0±(2“I:ât≉”½ê}=ùNØ©WG‰8P½g«¬i½F\Ê*$>¼¾±ý»Û )U*RiJ6Ý?SÙ4©y¨¥-Qãj°ÛŠ¥ÏB”«€—ªÚmßV¨MŠ¥Õã4§»D™s«ªbˆMªmNy!j)˜H¨¬§Œ‹ÒÜ:õÝah!A’úPéëÑ€‰¦Så ,4ÆêA*_‹$Kw%ó[V0)3R’QL·¨êV­¡I] ¶†ÐÙ¸á§\(å&ÌñŠ¼Ä±Ç¿{o;ª5«AE郮áhJÌ¡0‰‰)b@~ýÚ.j¬Ê¿“›ÊØózÃ{rµDV]úDI¨-“5N(ÍHeSùæ†ÜòÔ§Ì „¹!ƒš#qefÌJÔ¼%¥Â¬xVïðÝBQ›”\°µ µB­ŒØAik™ÅrÍÉÆ¯§+^òeή©Š!6©µ9ä…¨¦a"¢²ž2/Hpë×u… …KèmC§¯F'úÿ´o+Õ™óGÙžÄ|‡ýs&ªAÉK­ÈUó_G7|c"©IË`›§K}Ó¢%Ù —Jò•/ TÑf¥*$ªa˜R§S=ßW&òÖ”•”¤‘¦&W1+BR•ïÐDLZR„J U4»gkòsïYI%³C¨ìì„VÇ—àòᆒ9ÉbvŸ2€™’Òô¹×tò艀J©2削UZ/×hÝ+PX•!Ü2X†~WŒŠ¥',Y€^n-÷NˆÊ*SrTøé•-(’ýìÿ_öåz³>hû3ØÅfLšX÷îð‰ …Mz_x4ˑɤõÞÈJ»0kßž&e“.ÌÆYqñÞ° ¡&^Lâšm NM,Žl7©•-(’}R–€P¬D!å äø¼MêfËJÆ¥„¥2Òx ¥@q ¡&^LâšmäÒÔÒÍ£TøÅ(Üòrjr¤”Z‰b¢t)¦]¶+¦[rH¦]ö)¦]¶+¦[rH¦]ö)¦]¶+¦[rH¦]ö)¦]¶Rçª\´‚À›k×É÷L›áž £Â%T1‹E^%µÖ >é“|3ÄxDª†"±h«Âd¶ºÄÝ2o†x‚•PÄV-xL–×X€û¦MðÏQ᪊Ţ¯ ’Úëtɾâ <"UCX´Uá2[]bî™7ÃCFREÐ-{ lû£®ë˜w* 4©­„2U¹ÅeÒ*_FÞ~Ø­+JS§CvBÒ±))7[ýy·©pú·™dëÀ–åÕ½^PRìýúy/’áÈè·ú)pú·¼elÎâZˆê‚¥Ęr¢Ÿ]%'¯½Œ:K‡#¢ÛÉJT/ ñ‰Íëꂼ¢nŸüB§$&䨜:¡>19½}PW”MÃ3ÿˆPDô©$âÿâ%Ï@/kãÕÝà´ôE=;6R2©¾—ÿŸœÞ¾¨+Ê&á™ÿÄL ]U€ä_ ⥒8 IX!ÎÈd)Ë?~ƒ¾Mí¨o؃¼e… ƈ*Qaf¦¾mñöBA7QañŠÐí´4"øBå…´5CSÁ˜ F¨ I…$¬çd2埿AÞŸëþѼ¯VgÍf{ò˜ ÔÌÎ; ‡Ò- AR²Ìáž%‰)ΩT—À¸‰²’δ‡…% 84h<+`tû±e€¡-’N¼î§)÷blÜ„° Êœ{÷Ù¥™I§„Csq±Àýbt•¤ Ωl{ã©h©lÃ@vç~úaS8 hÝ1 š•&®¿3õÄÒ³,©l`$êÛ«FÛS1ML°ÂVg rDÙ¹ `”8÷ï²QKbõI×÷¹6DДK¢¢xÛ`¥A *"¥ÖVOPk¶Y¡S8 méjCKULK=ˆúij⊒¥*®Uâ#tÆzVÊqwÐs]¹ôDäI••§€£eݰ‘HK €…ÊS²ÒRZ'NHB÷AHJS€³ö÷Æpœ¬¼œÍ,/‡Iƒ8”]݇GÓ»6öèQH¢bT“IDt}LMW žœ˜µZ:Æ1¸Á“&fMW8QmÿÄ!Ij媤¾Íõ‰H–”¬“5D³;›s÷ÓŠNb•2[úEñÙsÜ]ipRù¶ïß DÙIgZ CÆé—)(¦d°Qã_8íâÊ%(Òq>,ëOq„*r”áÉwv;sèRdK“ž£L³¼œá“BÕ1:Ü¿iî.•ÌJ6\¤€§ð=ð„Ò´fš®4•9æÃ»½¹æ!(95I7fkwÑ›˜É˜¥^¥8?nÈɪ€¬ª—HS…Ikº´FãNIrjr¥«Énö枉i“5W~5ðûÑ—R“–K0?ò?çL¤KJV Éš¢Y͹ûéŒÅ'1J™-ý"øì¹î.´¸)|ÛwïÐ"¯ûFò½YŸ4}™ìGÈÑ4Ê| A¥†˜Ÿã ÅØ o}Mª&®QPBd…¥4p•{|-¼ñAPÆÃ÷B²ÕšTùòÊ‚¶SJI„¥H*4ø·ED\Ød/‡DMŸ(Pic¦&™2̹4¥…g]íѼ±(2“I:ât≉”½ê}=ùNØÓÖµÄÉw‹ñyN½ï(LeÖÛZr.¬›!&C…>è/…¹m #ÔýQº*Ê•¶k¡ßcR>bjå&HZSG W·ÂѺ§2T´¾K5Ÿ40wÃë—<Êpó ¬ñ޽]LxÄ”®µ’¸ÇþÑ?×ý£y^¬Ïš>Ìö#ä0†Ý³³©ÒlôíûÂúç%%ñ^¦ÖvÂGÿ˜ë] e>­»a3<6qô©Wt¼MJ7\ôÊA7*m8;D:¾Ñ™u†Q:Ý¿óþÆHLåJz°,øBÇ…M¨pSUÏ_Áá+ªbµŠ°ë~¨Rò³?2³ŸJœ¬ËÆ…/+1Ãñá+1‰ô¡IḚ̂hRò³?2³ŸJœ¬ËÆ…/+1Ãñá+1‰ô¡IḚ̂hRò³?2³ŸJœ¬ËÆ…/+1Ãñá+1‰ô¡IḚ̂hRò³?2³ŸJœ¬ËÆ…/+1Ãñá+1‰ô¡IḚ̂hRò³?2³ŸJœ¬ËÆ…/+1Ãñá+1‰ô¡IḚ̂hRò³?2³ŸJœ¬ËÆ…/+1Ãñá+1‰ô¡IḚ̂hšf)Dƒ¤¾½éö'?öˆàªêÌù£ìÏb>C @™=’)Y¯‘†Q•NèœT›Ô¹Ô¶×h“=kžÔî&;lpÓh9]ÓºrRñS€ÜÐ7^é©¡ŽpØ>¾ƒ ½Õ?Ò¿ülê…ÈeT”…Û@S –uHå1]4<ϸ¡èæ‚¥Ä˜š¼ŠšZ齬À¾Ì{Z*))ØuDË–– R©-m° ]Ò $œa²—gÀØmÕ‡4.C*¤¤(æÛxæ’šæE=þ¥¬²Rª’B’ÅI|t÷ø^*))ØuoJªlÉjºSAgÓô‚„îÔk& —:Zö‚•îÑL·ÇƒmV‰«” TBSŽÜ:á'?cŒ:¡s”T:•²)HR¹E°8|#‚²%¦µf'¸ê‚Œ”À§ºœpu÷ú§9µZ Øah˜ª¦fTºmm­Y*Ðh wæm†78"wŒ,ŒÌ:­g>»C2®l€ÙÆ$ÍeHP·T2ä¥* êPÄuuA5%ØéÑ…l0´.rŠƒR¶DÕ$¨¥!Èkrá†ØHY]¯ƒÓÕh) ]x;c±Ú `ED2’Øs@á[ -/8”Úäb:º¹ %D¬²Sf'£d"™3UˆN!Åêïv«9õÚ)ÎmV‰(5:‹'e¹!IQZÕI<ÇeðЦ%IÏ)¡9ÎAmWÂ$yUVªPÉêй­08¬æ†•Š:[–¬láˆ#šÐHDË’”¨3©CÕÕ ÉK(Ig}w}éøyM>¨ŒÑ õf|Ñög±!‚°áñá‚Ôƒ­0€ä„š˜éV/ ”§e¤¤´)Á½õÝÉÓë)cÀ¢Öô¯úŒ.nYE% zPuˆD«‚Rméºî{Þ&Í™8™% e©©¼’JAJE4haͧ–-.Â&Κ²B’jvåâbB¦9j«K'5“£á0Š 2Òö$•(µ´_\ܲŠJ@ô äeÅY­é GgnؘµL*–´Ó’"Ñr³wr«]æ-.Ãxg©%Ò¡¢+[ ’Ž%ñg‰ªo(8"ÏÙáhLÃ-J 4@NÓ*ƒˆ11š´­a²Žä@¬“fWßc*êªúu÷øjó&ÕRÔÎHnv¹3(È®@9GgĨmê‰ —9hL£qéoS6ZV5(hû3ØÇœÉ÷ÄyÌŸ|GœÉ÷ÄyÌŸ|AÉÌBÛKïM½3”VÓ¸r{pƒâ¤%.<@9ŠÇm8¢$Ì¢J¦!Æpà¹pÞ¯74)6¸làâ]Á9B¾³¼R 8ƒ¦ÊBNèRl’²pÚqƼ©Bó\"Ê}]Øo­”šŒšù/‡IéPcÌš Çá¶ ’årñ1)˜•¤ Iu7R¿LLRL±ZTÍa¡õi€”)2ÝNB•eò»ü4B%åÐ[ïˆòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèÌZUÈÞÏõÿhÞW«3æ³=ˆù ŠRD´šêÓgø˜+4Ù&ÀØ]-‚ޏµÕžJš‘­:ôëÑ]@²Õj®0ÑÓ¡©jeðWS[ý’[:%³ú0¼p!|'¿”nÏèÂñÀh…ðžü\bQ»?£ Ç¢Â{ñq‰FìþŒ/ˆ›“PJªÅrùy 4é;|QþP|lªt ™í-%ý‘þPt¾(ÿ(>6U:LöÇ–’þÈÿ( :Nß”*&{cËId”'oŠ?Ê•N“=±å¤¿²?ÊN“·ÅåÆÊ§@ÉžØòÒ_Ùå§IÛâòƒãeS dÏlyi/ìò€Ó¤íñGùAñ²©Ð2g¶<´—öGù@iÒvø£ü øÙTè3ÛZKû#ü 4é;|QþP|lªt ™íƒ•Zª”SõÞŸëþѼ¯VgÍf{òšç’,“Ûôæ19RdÈI.J,K)Üòn š2bïÙLL›à²M *j(KÜ©LªY üUhŒé j/cÆÑÈƒÕ AJ2a ƒUú;öBÊV¡*\°µRSµñž””¥ï£i…/(B\RfQ׆Ž]¸b” ¢_›g6:©L’RïœÜÍ×QK67.A}ÓdOî[I 6Ú‚”dÂA«ôwì„%!@T—VL©ÅLб” d¹>ŽØœ òé)¤L r/{ruhÄ)AD¿6Îl7¤¥rÒºÕMôXŸ¤!crËÉf5˜{‹DÒ7(Ew£Ñ}£\M_ÉJÒ—MD7?~xI––µ§s¡e)$$'™X’´%!YPûô ¦T±B+)÷{ëæW‰¤+ÐÇî÷ôNП#/Ý#/݉©ð4f¤” n³«뉞 %+ 5#ï¨lÐñ¹Ì´Ë!jeº°¶Žÿâi­T×è÷Þ¥°*$½´t<ä¥Ô¤Òé·õ{ÃU¬RÝ}õhÀDɬô$©£txºW.]mV‹ìÆÆ” „Ö²TÖ¾TdÄ•QQMlts6pLÔ *¢3úw€¶rÔŒž”·áït(g®‚¿G¾°†š„TvÃïòYû¸Þ‘ÁZˆ7ØLI@!sœniíË©æ¬ÍT±lXCPÕœ¦PHZ™bab1ã¾Òà.‰ahB»²2b`PQOH°wÿ ë t¡K`TH{hèx9ÉK©I¤ÿÓn1ê÷‡:«X$0¥ºûêÑ€‰þ¿íÊõf|Ñög±!Š˜>¸¦l´¬jPxKJ[AJ€ â å¥O‹ŒbœšZšY´j‰“E"oKfÃCú½RƒWF1!&VPT•dɤ¸Ùo£DíÒ©@œž}±“*bY^/œj`% 0&nŒšX•¬&ð¹ ÜéNË Ú>Q\™R©PJk¥Ë›ÛaS‚QAŠ¢¤¤YTË*[„Š×©!ñðx^è¥)YNröB¦Ë’”g6H¦úð댉!,iÙ%‚ŠeðÍaÇ6¨"`*‚¥—?ÛßÄ™D…*•08(ÝúáK2‘Rƒ(Óˆ…K˜¤+)€Ê”´…b! $2x6Â$}ñßR“))RñRC˜9oK^`?äħ”ŸÀ·x¥@q¥ )Rˤ§H56ÄA`/ŽñJ€ â å¥O‹Œa)'ÀÍàòAš%§(qS^)”€„»°Þ©ƒë…KD¤„)Ý-Œ9H&Ú5a¾•.ZTSÁ$aäÓ_¤×ƒ(I—“8¦›D§”ŸÀ·2¢L±3Ò¦ðQH¤âB–€¥K.’tB ÔÛ€¾;ÓýÚ7•êÌù£ìÏb>C ݶ.mG Ö8ºoú$¹Bê~|~1Q›0ÍÑ2Î1ØÚOL%–°Cçr÷=Ä) •0¥ªbÕj”Øso¨ ÄÄ"jÒµ†Ê;‘ªlƦ•‹gŽú›y"µ"•UšßX©K8(ž8Ô[¿\äm6@Z€™b@Hø‰JQÊKɨôöÄà\‰Ü!ÌßHJ¦Ìž©ªà̸n®1銙ìäÞø—× ½8zp&ôàMèÀ›Ð#7 Go@ŽÞ ½‰@P§Xÿ{?×ý£y^¬Ïš>Ìö#ä0Ý8$Q’t¥›8wÓg¨„&ƒõ'ã Ý,ì%ùA©]Î?í…¨)$„»\¤KQÜÛ¥¥¨(ØÒ2ž <®”†¢Ù­Ù#t±wVOÕÑÍÔw6éij 6ôŒ§ƒO+¥!¨¶kvFDHÝ,]Õ“õtsDµͺZZ€}#)àÓÊéHj-šÝ‘‘7Kudý]Ð±Ý MScþ!ò3Ü}ÂÇé9 —w¨§_$ éÖüeöÁUS\þ*»aªùËí:ߌ¾Ø*ªkŸÅWl5S¿9}°3§[ñ—ÛUMsøªí†ªwç/¶të~2û`ª©®]°ÕNüåöÀÎoÆ_lU5Ïâ«¶©ßœ¾ØÓ­øË킪¦¹üUvÃU;ó—Û:u¿}°UT×?Š®Øj§~rû`gN·ã/¶ ªšçñUÛ TïÎ_l éÖüeöÁUS\þ*»`ÒV_ÒYWÇz¯ûFò½YŸ4}™ìGÈbr—W1iÉí~›j‰Ò‚wC¼Æ5:œ©´D•JJ‚êáÉ|牦Så ,4’ıÍvÎÔ¤èÓÑPrÒÝ‚qálÆÉñ99I¥¥§0§4s÷ì¾»QX<©Ó JTiñnŠˆ¹°"È8_ˆ›¹|bUEÔc¨ÂèA¥dP”#&æžÝ:¬a9¥$ܾ¸Ý —YÍU¬шúžÉªL¹‰M‚m´ßp§GÖ8d`Íz”/¢×Óª'')4´´ææŽ~ý‘d™™™Uïâ/ɪ'I¦iR%ÔiI¿!× å()J „K2ÒœN–~[qpÆšRMËëÞ– ôUžÁìÇêÑ-ÄÞh¨µØŒ6ŽXݸ¥+`Þëf㆘ž¥î…ð^¤"éäÙÝá7&ب1…*•$Ô²T™yÍvÎãhÍäÕT¤ÎijZ®…;TuÅH ºo“|8 TbºEZÛ¾³ Rå¥E<F¥ÐÔ¬XôÃ!T(:ÄåàÚÎØ’“&HôE8[²&O"¢–Q¢äB¦äåòÒtBE2ï°ÁM2í°Á]2ÛÂE2ï°ÁM2í°Á]2ÛÂE2ï°ÁM2í°Â—=Rå¤Û^¾Hºdß ñ*¡ˆ¬Z*ð™-®±÷L›áž £Â%T1‹E^%µÖ >é“|3ÄxDª†"±h«Âd¶ºÄÝ2o†x‚•PÄV-xL–×X€û¦MðÏQ᪊Ţ¯ ’Úëtɾâ <"UCX´Uá2[]bî™7ñ,ø¢¤©J«•DàAøˆÝ±ž•²œ]ô×n}9d%eià(ÙG·l$RÃà!r”ì´”–‰Ó’½ÐR”à,ý½ñЍ—Z‘MUuxìƒ8”]݇GÓ»6öèQH¢bT“IDt}LMW žœ˜µZ:Æ1¸Á“&fMW8QmÿÄ!Ij媤¾Íõ‰H–”¬“5D³;›s÷ÓŠNb•2[úEñÙsÜ]ipRù¶ïß DÙIgZ CÆé—)(¦d°Qã_8íâÊ%(Òq>,ëOq„*r”áÉwv;sèRdK“ž£L³¼œá“BÕ1:Ü¿iî.•ÌJ6\¤€§ð=ð„Ò´fš®4•9æÃ»½¹æ!(95I7fkwÑ›˜É˜¥^¥8?nÈɪ€¬ª—HS…Ikº´FãNIrjr¥«Énöæ)PA…®•S[*­¹øD™RP…"£”â¶›+”™IS©Ansìv9xZ\¾m»÷è?×ý£y^¬Ïš>Ìö#ä?è4‡…’Yr܄˹-¤]γ²yJMÊB ÿOdn”xÒ¢•ŒžO5˜³xkÇ¡II+¤®œ1v±Ô4c:mK‰s¯c>бtž¿4-¥„¦×L³,í?Íå‰D ”šI×§LL„¥è7SéïÊvÂU-ëZs_ë~/øÞRŒÇV•´Œ g7ÄšJh[Ð6›¨Œ[SõFè«*VÙ®‡}Høi‰«”T™!iM%^ß FêœÉRÒù,Ö|ÐÁ߬-Õ1rìʘŠKéÐ6Úgúÿ´o+Õ™óGÙžÄ|†¡ºç(’ÎtèåÙª ü>nLzŸHÔvÄò7\åREα¶ÄîÉÊ:@^oÕ ¯tÏJRšŽq~÷„ ŸãL¼vc{b5ÂvÎΧI³Ó·ïE;ªrëÃ8¾ƒõ%·Tï0£„m…úà‘»g%d9À·lSá«JiIJV¡ËmÛ5Õ4 )%LKúÂ%Ý7(ºlå¯ÿ0ÉûBa·¦÷p4°çw­ ð^ch÷Ú5Á#vÎ*JÈsnØU{¦zR”Ôs‹÷¼_v®^óô‡ÄíÿJL¹ªE)'4ãp>±)9Ö¦76°?XJÆê˜­b¬:ߪ&)I™4»0P¶:Úô“:-×x4Ö]7ë‡ðIÜŽŽØÒN<è·\àÓXitß®Á'r:;`I8ó¢ÝpGƒMa¥Ó~¸Èèíý$ã΋uÁ 5†—Múáüw#£¶ô“:-×x4Ö]7ë‡ðIÜŽŽØÒN<è·\àÓXitß®Á'r:;`I8ó¢ÝpGƒMa¥Ó~¸Èèíý$ã΋uÁ 5†—Múáüw#£¶ô“:-×x4Ö]7ë‡ðIÜŽŽØÒN<è·\àÓXitß®Á'r:;`I8ó¢ÝpGƒMa¥Ó~¸Èèíý$ã΋uÁ 5†—MúàÕ%rýf¿AÞŸëþѼ¯VgÍf{òPy¹€%EÆ,6j…Ì\í×5’skçúC » K^j™} åwNéÉKÅNsF[Â÷I˜œÐÜ.†}}{aCÃ7H¬:¯Ž8Û—®)3·P˜”‚û4]¶B™Ó‚ÌÏ;rj& ³Yl¥?†qͶq…)Sç×%C™5~¬š©ÏXv`_f=­StËójÑѦв©Û äÓœ­Úм¦èÝKPHªõ~MSᛤTœàü\/oø…ÈÊnª‚ên&Óºk‚ª¿ÂíÓHCÍeàŸ¬)k,”‡0ª¤¤±R_=þŠŠJv[Òj˜´)ÈEgøŠSº7K’Ù» ^Û ¥{§tS-ñàÛU¢tÉ5¤T Ö;`ßXŒ™”•f•²ê¤lhWÜik©=:á2³\³Ô¦Çâl`ÉÉšûý oL¹i`•*’ÖÛ*& Ö“wì1$¿Y9‡¯T{j&äÂ]eê`–'ÍlÏߢ ¼˜8ŠB³í¬h¢ É”§nå-e’æ&MIp€øžM°Ë'^·.¨É‚_ x+@PE9Él7©¤ÒTP•kPÇàz90u¨Ò‘¬Âh’¥TàzËߵ·¥#JËuB$¦êRŠzN”˜)5Rœë‚Eº"OåUHdž½PT¢“T™MB›Æ*›3¹ÕlÏߢ”€iÕg-†­°NL¤ ;tïOõÿhÞW«3æ³=ˆù ‡ˆ×Uj@U-q­j]7Îk˜\¥;-%%¡N ï®îNŸXÁK·¥ÔasrÊ))KÐ! ¸)UI#A„„YIÁ‹ÝɸÖblÙ“‰’PÆZš‘ É$¡Ô¤SF†Úya2Òì!yC4®k¢ò©ØT×¶Ø]*Y <"1Ó¤1'Ÿ’)˜IMFQ55‚oÉm¹¹e”€%èê}Œ˜B”¾kz[?f˜˜µL*–´Ó’"Ñr³wr«]æ-.ÃyÉRJ3‚’ˆ@­l‚Hv8—Åžö3êObA{³ë…¡3 µ(0PÑ9;L¢Ö´_0›·.“@Ý2«M9[8Š”µ=5›g§VŒ«ª«é×ßá¨oÌ›UKP#9!¹ÚäDÌ£"ºA埡·ª$&\å¡2Ç¥9D6^i!U¤ææ›¾¦%Q9iQR¾ûëƒã&r<q#¤Â¨p£Vòå)Ùi)-]JNUµ_¶*ÊÌ•ÙûàЩé¢ç‚,NÖx)\åM5êÞ®úÀГßêb‰“—1U%gÇ35ö¿_fü¥V¤äÕS¼&ekÍQZRö»üc$µ©yå`¨$±<ͤĄʘe¦Yr”Ÿ*ƒˆ0¬“Êu…æ rsòÄŸêff)Õ†,-–´…¦KQÓ­áT8 Ñ«z¯ûFò½YŸ4}™ìGÈcÎdûâ<æO¾#ÎdûãýoLå´ÀnžÜ ø© Kb±ÆÛFŽ(‰3(’©ˆqœ8.\7«ÍÍ%;V’—…Íš’¤„Ò’ø?nôêÔH2ÐÚëøDÕ\ÆÍA˜÷ÖÿL !"¤²ÍFݼøo%±ÎuSnX)ÍFQ9€­{ƒ®ç¾3e%h)S)%/1էЬ~ºá6—35…vÉÜÝ=;0Ñ&” j”ÈUZLn‰iÉ%3e€µq®êåâ%L Üà§I˜ Fì„MËHdÌRŠ«ÎSƒðvìŒÅ¥\‡þÍ?×ý£y^¬Ïš>Ìö#ä1%*³äê¹ÒÏÌÜï ÌJÖ¬zÅùÄL¡"eÅ"­‚Âý¿_ö‰lXèx”nÏèÂñÀh‰¹5ª¬W/—’N“·ÅåÆÊ§@ÉžØòÒ_Ùå§IÛâòƒãeS dÏlyi/ìò€Ó¤íñGùAñ²©Ð2g¶<´—öGù@iÒvø£ü øÙTè3ÛZKû#ü 4é;|QþP|lªt ™í-%ý‘þPt¾(ÿ(>6U:LöÇ–’þÈÿ( :Nß”*&{cËId”'oŠ?Ê•N“=±å¤¿²?ÊN“·ÅåÆÊ§@ÉžØòÒ_Ùå§IÛâòƒãeS dÏlyi/ìò€Ó¤íñGùAñ²©Ð2g¶<´—öGù@iÒvø£ü øÙTè3Û*´+U(§ë½?×ý£y^¬Ïš>Ìö#ä10*L¯É{côæ0€Ï%5ªšòc7¾ð…¢T±”VMHJm0;?Eù:bdÖzTÐFHå*¤çÒÔŠ­£:Aš‹Øñ´r õBÐRŒ˜H Õ~Žý–RIlÐê;Š– ™rëU%Îv³lÆ&¤Ô„U}±0…%4&„Õ§UšÝG `)J %ù¶saª”Á %.ùÍÌÝq0 ³crä‡Ý0Dð^å´Ãm¬!h)FL$j¿G~ÈU,(E`äû½õŽy…"µ¡5P10¶œ…5* l^íõä÷ )J %ù¶sa½%+–•Öªo¢Äý! –^H¨ƒ1¬À³Ø|Z&‘¸B+½‹ìmârѹ¥ËXK¥ÔŸ¿< €KBÖ”•”¤‘¦&W1+BR•ïÐD*–"°?ò}ÞúÇ9••M!Z±û½ý´'zjr'5$ ]Öu`Ýq3 Œ¨HI¨awÔ6hxÜæZeµ2ÝX[Gñ 4Öªkô{áÏRØÞÚ:rRêRi?ôÛŒz½á뻅 )n¾ú´`"dÖzTѺ<]+—.¶«Eöcc JPBkY*k_ƒª2bJ¨¨¦¶:9›F¸&jPQŠ};À[9jFOJ[ð÷‡:3×A_£ßXCMB*;a÷ù,ýÜoHHà­Dì&$ ¹ŠN74‚öå€TóVfªX¶,N¡¨jÎS($-L±0±áÑßFépD°´!?ÝÙ10((§Ç¤X;ÿ†õ†:P¥°*$½´t<ä¥Ô¤Òé·õ{ÃU¬RÝ}õhÀDÿ_öåz³>hû3ØÅL\¨ ÅL\¨ Á®ZTø¸Æ)É¥©¥›F¨™4R&ðT¶l4ˆ¸q¯O4/tR”¬§9{!S‚ÝYÒȾ¼6ãBY Ò²&KËášÃŽmPDÀT=K.·¾'‰2‰ U*`pQ»õ–e"¥Q§ —1!HV"R7•)h ÄB@Hdðm„8Hú5ã¾¥&RR¥â¤†=0rÞ<–¼À4ɉO)>+nñJ€ â !K@R¥—I:!Nj mˆ‚À_â•AÄ5ËJŸÂRO›Áäƒ4KNP⦼S) wa½S× –‰ISº[rM´jÃ}*\´¨§‚HÂ+ɦ¿I¯P“/&qM6‰O)>+n eD™bg¥M࢑IÄ60…-J–]$è…:A¨1¶" |w§úÿ´o+Õ™óGÙžÄ|†8ºlp&õvÁÌ›nNØàNè°¼˜P¥±m;Ë’\¡u?>?¨Í˜fè™gìm'¦ËX!ó¹{žâ…‡JƒRŠÕ1jµJl9·ŠTbb5iZÃeÈ„¥kQHá gòï$V¤Rª³[ëµ)gÇ‹wë‚¢&È P,H Ñ0)J9Iy5žØœ ‘;„9›ésfNTÄÀ†êã˜Ò'äÞøÞ83:!é™ÑÁ™ÑLΈàÌèŽ ÎˆzftGgDpftB¨ ëïgúÿ´o+Õ™óGÙžÄ|†‰Ù:R'¤Tѹ÷Jê–”š¥³³?KD÷‘ºFRZG“ÅA®z:áH;š}94¥#'Æ ŒOZ“8:PjX– þÉ)–ЬtDµdc{R² bƒ —7v±h–¬‚¬oc VAL@ÐaRòîÖ-ÕUìaJÈ)ˆ *^@ÝÚÅ¢Z² ±½Œ)Y1A‰ˆœ…Ë»ŠTS¯’të~2û`ª©®]°ÕNüåöÀÎoÆ_lU5Ïâ«¶©ßœ¾ØÓ­øË킪¦¹üUvÃU;ó—Û:u¿}°UT×?Š®Øj§~rû`gN·ã/¶ ªšçñUÛ TïÎ_l éÖüeöÁUS\þ*»aªùËí:ߌ¾Ø*ªkŸÅWl5S¿9}°3§[ñ—ÛUMsøªí†ªwç/¶të~2û`ª©®]°i+/é,«ã½?×ý£y^¬Ïš>Ìö#ä10¬üjM­ÓÞÖRŒÇV•´ŒHª¬+„PRÉ|áÉ MOL§ÊXi…%‰b3ší¨Iѧ¢ å¥»ãÂÙ’9ârr“KKNaNhçïÙã% ƒlºÛkD©J’¤²|¦EJk›¥¸'NËDÙ>0)¨¨#áKŸVUD8PÒHÇ»¶ÂsJI¹}qº.³šª3X£õ=“T™s›Ûi¾áN¬0pÈÁšõ(_E¯§TNNRiiiÌ)Íýû&§Æ9I å¶ErÂîŸb(]î{ë×yÛžS¦re¸QM¯„¢TÐ’E)'sßMþô'4¤›—×½-Aè«=ƒÙÕ¢[‰¼%:(ÑQk±m±º)qJVÁ½ÖÍÇ 1=KÝ à½HEÓɳ»ÂnM±Pc ˆ)4“®'N(˜™ KÐn§Óß”íŠtx“… ÖzºÆ›ÔeÌ¢¢CëÁûëÛ½ºY•R¥&”£mÓõ=“@ —šŠRÕ6 [ ±¸ª\ô)J¸ z­¦Ýõj„ت]^1#J{´I—:º¦(„Ú¦Ôç’¢™„ŠŠÊxȽ mï]Ö‚/¡µž½še>P ÒÃLn¤¥ø°RD·r_5µaÓ“5))ËzŽ¥jѪ•Ù›hm ›ŽuÂŽRlÏ«ÌK{÷¶ó±ª£Z´^‘ðè:ʘ’–$ïÝ¡ræªÌ«ñI9¼­7¬7·+TEeÙ ôDš‚Ù3TâŒÔ†U7ÿžhmÏ-HñÊ|ÂK’1Ù¢7VlÄ­KÂZ\*Ç…nÿ Ô%¹EË Z T*ØÍ„–±¹œW,Üœjúr±Åï&\ê꘢j›SžHZŠf*+)ã"ô·½wXZPd¾†Ô:zô`"¯ûFò½YŸ4}™ìGÈ×2j¤”ºÜ…_5ôswÆ2*”œ±fyºt·Ý:"]™t¯)Rð¥@6jYЂ ñ2J¦€%*u3Ýõro-iIYJI bes´%!YQa~ýBhAQRòd¸«s¼e$–Í£°Cä%]˜5ïÏ•!V|ÒÿX¥Rä¿!í€r2Kèôé“|3ÄxDª†"±h«Âd¶ºÄÝ2o†x‚•PÄV-xL–×X€û¦MðÏQ᪊Ţ¯ ’Úëtɾâ <"UCX´Uá2[]bî™7Ãé“|3ÄxDª†"±h«Âd¶ºÄÝ2o†x‚•PÄV-xL–×X€û¦MðÏQ᪊Ţ¯ ’Úëtɾâ <"UCX´”Ô-±¥O½?×ý£y^¬Ïš>Ìö#ä0’&ÉR”Ïf°Ñ²*ÜÒÒ5Tnã°Fwƒ,Í–-N­ ‡4$ƒ¹²‰lû½°w4±¨bà½ù!—¹ó[]ÚŸâ!AÜÂtµW]Eö|"ƒàéA°¨”ðaN½Îr’ÂIÏÍ^¬4ê„L ’é/‰‰‰ËnT¡èS? ÄüÈReN•MGŽ Çð‹L,5;>è…:ä±M-ZΗÓÉ ¬ne $9­¥{›(Ésw¶Yž¤—f ZÆ(5•3æËR¾Õå.Ïß§’ðé.Ž‹oK\ªÂ$| -S/oø‚¼¢nŸüDܤÀÆîøoÕ-AB•(¬"€±UT¶Þàô¤9ÃyÔû90’â’° CÈS–~ý|›ÛPß±xË T¢ÂÌ M|Ûãì„‚n¢Ãã¡ÛhhEð‚¥ĘwWªPjèÆ’\B’VHs² rÏß ïOõÿhÞW«3æ³=ˆù LPjfg†ÃéRZ¹j©/³}aê×”YÛUV牲’δ‡…% 84h<+`tû±e€¡-’N¼î§)÷blÜ„° Êœ{÷Ø–Ç9ÕM¹bÉB]4–˜mðÏÇõ‰²È ’Q›1*Îx™,M-`Ü ¤m°„)œ´nƒ˜„ÍJ“Wß™úâiY–T¶ °umÕ£m©˜¦¦Xˆá+ 3…¹"lÜ„° Êœ{÷ÙIJ¦šÉ.£möDé+HRØ(*÷Æ RÑRØ)†€íÎýô¦pÛÒÔ†*–ª˜–{õ‰gÅ%JU\ª'ÄFè5Œô­”âï æ»sè‰È“!++OFÊ=»a"–' ”§e¤¤´Nœ…î‚”§gíïŒ*á9Yy9šX_“q(»»§vmíТ‘DÄ©&’ ˆèú˜š®A=91j´uŒcqƒ&LÌš®p¢Ú;ÿˆKcœê¦Ü±!(“-ªñ™îÃëß–3œÅ*d·ô‹ã²ç¸ºÒà¥ómß¿@‰²’δ‡Ó.RQLÉ`£Æ¾qÛ‡D”JQ¤ â|YÖžãTå)Ã’îì6vçÐ ¤È—'=F™gy9Ã&…ªbu¹~ÓÜ]+˜”"l¹…IN#à{á ¥hÍ5\i*s͇v#{sÌBPrj$’nÌÖï¢71“1J*½Jp~Ý‘“UYU.§ ’×uhÆœ’&äÔåKW’ÝíÌR 8ƒ` ¡!Ó”:‹ßh’„% ¡«‚>¼±˜¤æ)S%¿¤_—=ÅÖ—/›nýúOõÿhÞW«3æ³=ˆùúæÌ­Ö è–RÀÜÓôïx,¹æS‡˜egŒp êèÒbDõ™ÖJ’ÉH½Ã=¬àl扢Så ,tÄÓ&Y—&”°¢Œë½º7–YG4ÙóDùô¤2Ñ%I§·’©oZÓ˜òø'[ñÆð ”f:°¤¨ ¤ `dë9¾$ÒSBÜèÐ>´ÝDbÚŸª7EYR¶Ít;ìjGÃLM\¢ „É Jhá*öøZ7TæJ–—Éf³æ†ø}`²ç™Na•ž1À7«£I’•Ö²C7ÿÚ'úÿ´o+Õ™óGÙžÄ|†Lå¨ê*ð•ÒÚÿÎØ@3–Ê6¹å„U8›=%[?Ù¥RÔ¡ch@ÊÌb}(Rr³,¼¬ÇÇ„ ¬Æ'Ò…'+2Àq¡KÊÌpüx@ÊÌb}(Rr³,¼¬ÇÇ„ ¬Æ'Ò…'+2Àq¡KÊÌpüx@ÊÌb}(Rr³,¼¬ÇÇ„ ¬Æ'Ò…'+2Àq¡KÊÌpüx@ÊÌb}(Rr³,¼¬ÇÇ„ ¬Æ'Ò…'+2Àq¡KÊÌpüx—âfÍûÀ§^Óx4Ö]7ë‡ðIÜŽŽØÒN<è·\àÓXitß®Á'r:;`I8ó¢ÝpGƒMa¥Ó~¸Èèíý$ã΋uÁ 5†—Múáüw#£¶ô“:-×x4Ö]7ëƒT•Ëõšýz¯ûFò½YŸ4}™ìGÈah®qD¬o§P½Ð¡º MBŠŸ{!9óhQ &¬ˆÊ‹¢X*¹´=G’’ý=T1™¡ð=ôƒ Ê©) 9¶‡.I°HĘ—=PR´¤±˜ÅÎŒ ›ÛPŒ¾DÙD¾ [¿s”ì:¢eËK©T–¶ØP.éN0ÙK³àl6êÚ!•RRsm¼ Q-@ØU1‰V¬ –'`‰„Ê&s²kp9õÿˆ¨¤§aÕ½-‰¹dz~”ƒ1D —¦íªØBÉZÁº›V7kÿˆš±YBD%8íîsö8ê9EAƒ©[!R”… ‹”[‡Â8+"ZkQ¶b{ލ(ÉL {©Ç_¡js›U p­†‰Šªf`%K¦ÖÚÐe’­€—~fØcs‚'xÂÈÌêÑVsë´¨•–JlÄôl„¨Wk1lÒ ‰—%)PgR†#«ªÉ©(æÇNˆ+a…¡s”T:•²&©%E)C[— 6ÂBÊí|ž«AHRëÁÛŽÐh*!”–Ú-áÒi*(Jµ¨cð=Ž:ÔiHÖa4IRªp=aÅïÚÛÒ‘¥eº¡Su)E=G§ÊLšŠ)NuÁ"Ý'„rª¤2O^¨ž’”JMEGN=‘A–DãÁA:ßO1芃êc Ã’JR}% GWWI924íÓ½9FdÔç`•7G—ŸïÁàÌÇÖ³=ˆù )IQIP»|yar|&u+wàéwѶZÔºoœ×0¹JvZJKBÔA×…^‘ÃûŒ±àQkzWýF7,¢’½]i{$¢«òD€•e¦Ù¸mV£\Mœ­Ð¤ ¡šÌ°Q–ž YJÅï°iøBe¥ØDÉ‹%U‚`-ÊÂè˜UQº¬vᆒyù!2ÖA­4 `MÔ£†‹òBæå”RR— oÌœ¤ ™¥ÙCé_$MV^e+E!#‹´C.lÕ¡¥€Ñ÷Gv™iv’«;½¹`g©%Ò¡¢+[ ’Ž%ñg‰ªo(8"ÏÙáhLÃ-J 4@NÓ*ƒˆ11š´­a²Žä@¬“fWßc*êªúu÷øjó&ÕRÔÎHnv¹3(È®@9GgĨmê‰ —9hL£qéo1pE† ÄœœÕKLµ9Hãò®¤»³ 8‘·¾“ ¡ÀV[Ë”§e¤¤´Mu)9TÕ~Ø«+0BTCgïƒB§¤ ‹ž±;Yà¥s•4ÔK«z»ë@:O©Š&N\ÅTT•œS`Ì×Úý}›ò•Z““UL𙕯5EiKØïñŒ’֥畂 ’Äó6“*a–™eÊR|.b¦­Ab• „±¶cU¡dç ]ûLIÉÍT´ËS”Ž?,*êK»1à“‰{é0ªhÕ½=‹gþÑ(W«3æ³=ˆù yÌŸ|GœÉ÷ÄyÌŸ|DÙIÝ2]h)±ån\’ÊÒÇ=Ãë;blÃH˜d„¢üÞýxÁœ(k»*’Ca`ú´ÂQ-êt„ªŸÔ”„Q.–)li¦äáÆÀýaIµÃgªì ÊõåÊS²ÒRZ'NHB÷AHJS€³ö÷Æ$ÌD©.›©×°†ÃnúÙ@ ¨É¯’øtžø¨ [[uÄýÏLœþ³rÙ#áfDÃ$%à®÷ëÆ7Q•NzMdÓa¢fd78S4´ªÜº5õG—•ïˆòò½ñ^W¾#ËÊ÷Äyy^ø/+ßåå{â<¼¯|G—•ïˆòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýèòÒýètFÏö”fMNv SqDymÑïÁàÌÇÖ³=ˆù neº¡1$šŸëôM+±jÍ.vÞÖï¢*V•‰Ô¶¹¶ˆiÙ£+-Èxs×ôÀ¦œ*ÿÛë ºj<h^8 ¾ß‹ŒJ7gôaxà4BøO~.1(ÝŸÑ…ã€Ñ á=ø¸Ä£vFŽD/„÷âãÙý^8 ¾ß‹ŒJ2¦KJ[,<¢•N“=±å¤¿²?ÊN“·ÅåÆÊ§@ÉžØòÒ_Ùå§IÛâòƒãeS dÏlyi/ìò€Ó¤íñGùBä‰k+J§/‚p!m}ç)NW郓•%6ý±‚=ãÙ#Þ=‘‚=ãÙ#Þ=‘‚=ãÙ#Þ=‘‚=ãÙ#Þ=‘‚=ãÙ#Þ=‘‚=ãÙ#Þ=‘‚=ãÙ#Þ=‘‚=ãÙ#Þ=‘‚=ãÙ)*J›Ò/ûcÍ·7í6ÜÝÿ¶<ÛswþØómÍßûcÍ·7í6ÜÝÿ¶<ÛswþØómÍßûcÍ·7í!¹ûÿly ÿ¶<„ŽÿÛBGí!#¿öÇ‘ßûcÈHïý±ä$wþØò;ÿly ÿ¶<„ŽÿÛBGí!#¿öÇ‘ßûcÈHïý°ÉL°6(öF÷d`xöF÷d`xöF÷d`xöF÷d`xöF÷d`xöF÷d`xöF÷d`xöF÷d)EüªÈàÿ÷/²&H AµDâaRRSL³@q Z8ÄÕ„q:#‰ÑNˆâtG¢8ÄèŽ'Dq:#‰ÑNˆâtG¢8ÄèŽ'Dq:#‰ÑNˆâtG¢8ÄèŽ'Dq:#‰ÑNˆâtG¢8ÄèŽ'Dq:#‰ÑNˆâtG¢8ÄèŽ'Dq:#‰ÑNˆâtG¢8ÄèŽ'Dq:#‰ÑNˆâtG¢8ÄèŽ'Dq:#‰ÑNˆâtG¢8šðŽ'D&DÊh˜BKÿÄ*!1AQaq‘ð¡Á±Ññá@0 PÿÚ?!/õRIY*£?9á”FРIFÇOã ¡Óü»™@@4~0aZ2ügØÿYö?ÖKE,X~³ì¬ã§þYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?Ö}õŸcýgØÿYö?ÖN12iþYþo"=4ƒxhåjâÙ‰iý3Üã´G|Ö4B”HFÞ(h„«8%‡<ÿÃû½¼™â³@˜ÄC€: _¼S²²' j¢Žæ².ÅÃJãš%²ä#òc1&L‰/Dý0V"kß<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<ògëŽsÛÖ´Šh¬  @¸ž–ÀßÊñBcóAÜþSîØ¥;±¡?Éô[’«ñŸápxë¯ÏÿÚÖµ­kZÖµ­kZÖµ­kZÖµ­kZÖµ­kZÖµ­kZÖµ­kZÔŒJ&gDTT rÏ¢&¼) ìô‘_7pÂW>ç¯!Š-åOs>£…p³Ñ‡N±­¢^-s¹AÂô2Ûƒq¥W7”é2؉’h„ ^EËßió_Ü©Ä~†;3X‰v£8žÛ?ënÿ CR$ïxøhÍ…Ñ b›;˜Y5軑¡ ’€xÁ!hsìCA$*õÊJ¯v…ÕO®›¬!ÞAÑðÈ–„°¢h ËËPÖý³¾%¬&…eHZ74LéŒJ÷Ñ­LAv¦7¦`\.ÎPãlä#Lµ¦DÙí€6l†%¸ OYŒ±¯±³ MÆéƒ£\„’í].ú‚€pC™&ùSI°y ‡ØÂhâ2NµqŠR;a@å)áBŽ:PÚ ’ß-’ä Ö÷éMÚu71Á°”ÑD¸Œ5” )‰ ð£Ä„5öÝ|àÈ0 ûõôŒŽH‹àw%³ƒÀ/J8éÐÑ7/* %‰<ö²Š®+d–DB.€”¨L€»J KªKË4áÆ\Ftû}†Êqà%tµÇrÈ&!Ä ¶ÉϾ `à:夹AW0ê:¥°z±²Ôö’ârHë‰M´…:N8É0 ½8˜\‰Ì$Ò‚†|£2àª3§Ûì1´@î_}4p¹bA/kÉ"À\ºe³‰’ç«-Oi!Ž'ÒTb‰’$k¦WèBÅ%+ mèôÎ,²v  n˜ÉÇN°Åi[¬Ó° Aö4Á‡½ ‡·l¨žbË%Dr<œ±Ä+º•{QÂæ¦-¾r€ú†@–Ýã¼¾áXÀj%«n&:³«t””Ä vºcÓ>ÂÍø>àÏNÇñš . Mð¤ûrÖV¢Â!5ÂEtÂkð´ØInä蛃6ÑÌ ˆ)y}°aïBaíÛ5¦4£Š9¦‚SÓ%N0ˆU)­±§¦K1)˜“>$š£OgÔÉÚÑ, ¾ã©Ý„wm8¡mà}¹k@’'ä2û’ ÔÍÚðÄMiŽzaœë`R(ÄAƒ[Æ_†è]kòºgàç¿F7¡L\bÞScÞe ÁÖiª)¥+pìä<@qRLÆÂHž…áð$îl â˜AÏÂú/©éô`»¡«K…ïüè!€ìMHëä"ÿ ¥×;ÊÂüdØ4e/ž{DdDôã¶)õA€¨ENþµ˜Ã~Ç‘4l~c ÕCšÃ*ßl°,”‘LËïñ„‘RªHˆ Rfç0OÚðQÆ.>æHˆ€ˆ«^9 °.ÂBÝ"©TG„*j`ÐV”›>þ£ 7t üÄ“ÞÅ`f‹'vFïý¨M®A"E̸!‚~ׂŽ3ø†˜›j—‹Ö‰• ÈšRÎp)2)B‰œ-ìFŽo(‘b%[‹vÅâÆÏëìc0І {Ö€H™ØWà—ƒçlʹs04Çb4“&”c‡›Wis௦E¦„mˆˆÉ0ãL>Ú›=8¨_p4¬4ÕŠ8 Œ<ˆ|¢>ökCR5°ìÞÙŸ< ·5H¶‰PQF€Ú DÞ cÈ6„ŒË::IÌò^ŠÕnÜž"D&ΨO#žq¸H ³÷ÁFG¦Ì›¯÷ÜP ¬Eq>6DVCY a&w)·r-ƒë¸RQ#•×ët.dÞ¸‚²¡,Hš³¸;ñƒáÊ;6Í0™¢m×GC´ròÎ8†¤kaÙ½³>y„nj"‘m¡:¢µ@ˆ¼ÏÂú/©éôaô/Þ} ÷ŸBýâØ4”ŒÞH‰@q´—Ü;%¨(€ëqö‡Bi•—°•H»ËÞÎsÄ‚*õ¶"!;Ö ìƒhSh‘h2-Œn¤Í‹05Âý8\¦h7ÿð¾‹êz}FR4¨ì :lÞ«aFÄjر:é¼¶ûÊ´ßå„ûÿäH ´ÇrÖ¹` ḩûyŒÐ·Uol†¦Ià=—âÙ¥ž8Te'dt—~8¾ÙxlÕ׳!Ä1³K¡YqDézOmÀ%”*¤99 Œ}±4ÙO‰÷ƒ¦uǶSÔ·ç`\ Û~Áèx"`IJØ “áÏ# ÃGƈÀ™ßc>&1o¤hI…¡¯åùÄÍÈ©-Î*L²õ'àߪȹ _nšÈÙ”‹ ‚ü)零&OsØÄÓe>$WÞž¦²&OsØÄÓe>$WÞ™×rÙORßœ]rƒlEû§á}ÔôÿùaR¥B‘`‘ r *Ž´‘¥ÙˆRæ6F&4ÈÒe‘0@°NÕà*X+€1©+T'{öJÔâ2bÓ`)EYoÎñä BF.%ÁÉ<ó󵜪¿“!a ÷™."p`E!˜—½ïQ%‚–±b;µÕ×ÓH`;Rzù¯( & ÿM2yБ„Šá i„odšˆŒ¦×ÎŽ &8$Rd,d@bƒ|¹ñ€és8—Y‹ªÅ‘A*U0òÏlÒüOï,S'÷ˆ§7g÷š_‰ýåŠdñþñæìþóKñ?¼±Lž?Þ"œÝŸÞi~'÷–)“ÇûÄS›³ûÍ/ÄþòÅ2xÿxŠsvú è¾§§Ñ€3ØÝ/7ƒky[€ƒ2·§Í¬U¶&BëÊ䊴!º’ç‘ÚîX®`)HH­% Š—åCˆcjKöÿÃr4ÃUXb/€v¿­db ’e=»þ2WB¤³ÓÖ¦›…QUö21I2žÝÿ+‰¡RYéÇëÓM¨ªûƒ$™OnÿŒ•ÄЩ,ôãõ‡é¦áTU}ŒŒA’L§·ÆJâhT–zqúÃôÓpª*¾ÆF É&SÛ¿ã%q4*K=8ýaúi¸U_c:¬']ô(~²QGš»ù`¡3|·V®ú?Y¨£Í]ü°Ђ ™¾[Ϋ ×} ¬TQæ®þXhAÌß-çU„ë¾…Ö@ª(óW,´ ‚æo–óªÂußB‡ë Uy«¿–ZAs7ËyÕa:ï¡Cõ*Š<ÕßË- ¹›å¼ê°wСúÈEjï倄\ÍòÞuXN»èPýg{÷Æ=? è¾§§Ñ‚ƪ‚]ŽÝëxNsñæ¶ì é©ÎFy ‡bÅ·ãJ®o r¡ªb­7¶ßDa%¨W6Èz)'»›!¿û¸ÄzAT1Êûuòä˜èÁ¨ÿ¥€£êJ‹N¾Ã %ÑIDÄtHÃŽ^‚ÝJ¯UѽÉâãÞŒn¹¦b1MÃd7:ˆ˜¨DBdV †a iò{°Q¹²ÿ»AÃD%¡,ƒË«V;^;JV¨BÀ¾ÿÞ'MM"¼^‚ÝJ¯Uѽô`ìsþпñ9r%aƒH< ùv’¬OHZ•Æ{k€l_70?•—Ü9M&Áä‚c&Ó@ðC/³€”àœHiuñÌdðb¡Ø§ŠåÁÐaè´» ÌÞÒ¶záÌŠ \RmÄað]u”ô§”¸Ó˯ΟD 5L„ÄøïL.†ú†tJ×ïRâS¦îº?ÁÌncƒa)¢‰q‡mÁ¸Ò«›ÄÅâíf”e <äàŠo³2ïwn¨À´¡î•97Ý8r5ëTA_kL0B][Ô;Ÿ UC'`ÄI…9ÞQ“˜Év!ORëÕ• 0ŠVÙ·cˆ$r‘'«Øƒ’œN·6ÝD‡µ‰H($"¢h戜o…J‰9¸XAJ&…näàa‹Ÿ,¢ºZV+“‰N›ºèÿ"w1¹Ž „¦Š%Äzá}Ôôÿð` Ã+v=Ó‚ÝÓ=¦µ‘¸i釥\Ž –` Szð8¦1£ÊWäüN„YX:þD”0^~¨yC“Óa 09IÖ tb˜Æ)_‘ô Ƚc³¶e;ð¼ œ ÿXÙí ½q¶Ì§~€ô_ë~Úïå3á’£5o&¯ÝX6˜Èm°Ä‚þÏQ6e… ÎËÞlÊwáxA8þ²Â„çeï(yX„ëÐN¬ &\š"Òºï†Á‚wìé×+.t/}/Hu3e¤¤³4¹ß¡£A,‹ðoÔé"RFlaüú$ÀËõäù:™g´ø—¶mN„¹ŒÍvë iõ]Bx›é¬…ö—¶à8RÅ# 7³ \Û^Ã…˜w"~1v”-¯ˆ9™#¬‘2aàiD‰†Ûbßi'¤LQ „RûÈFÈôü/¢úžŸF Âk6% xŽf“)–¬]ãûK9%>¡+M%‘l šJF"w…Ae‚§MA I•‰Kb@€¢A‰êãr'ÇÁ¼&S-;X»Çö:)è0 (ˆü™aèÉ%³ûsRpëe)ì ¨¡9@=LCàðk,DÙˆéèba‚ã³Á(¢«´ÞœK¥IÄ‚jñ0=\nDøø7èŠbK°íÝEõ# E^Ê3õù /X±Ò@Áj€z˜‡Áà×£5êŒÐL1Ë\eŠÞZX­šGSC“ôI‡ž½+ƒ|Š3¨_ú0_&±aøƒU `Ú2tt{²~ ©L˜PÏõ¢úÆŸà;Á'´YêÚžÂãB”|‘¨ˆ… ™$'Ž%Q¢,™vÑ(¡|pXQèŸ4Ä û+ã¾°­×²ˆ‹åü‰µltí:®Ì.Êuø#ˆ¨#Ð[&’‘2r‘yPÍ”í}ØØG{©`•³®·Òd ÈI®)=}µ6“OÇëZ2lùaì~cGCD±RŸ†1+‰®ÖWÝ ž7>ª·2PIzÏ{sRAãPÝkƒY²l )êi®£6‰@ÄQªÄ‘m4IT¬½ß8´ òO³\0VëÙDEòþÄÚ¶NºvWf e:‹üÄTè~Ñ}OOÿ–Å3Õ1N;Dƪ\²N_b’˜Y5軑¡ U–M“8´[sàâJ Büà–àgÎêæÐËt•Y(r";\ú($#*ÉìDu ta˜@HÏñ[àÆ ”–œ“uºn‡.÷¢x–Ú×!¡4¼€šÖ¬Öv‰T¹dœ¾Å˜ ämKü¾_ÿ‘ø_Eõ=>Œ#õQC*£ó=¦9r"GT’®O5šFƒ„$é ®;Îlä‰{ÐX;êih åf/VNú νˆIh&Q-sÓÿ ΂Oó€ùLzíü¾~•,є߫¢EhŒ…½ílõÛø/|ý*GC]w'Ûž0ó2²È– 퉎ñ‘KR¶JÖ³¸ïƒ„!ˆ.»“íÏy™YdKöÄÇxÈ¥©[%FëYÜwÁÂÄ]ÉöçŒ<̬²%‚{bc¼dRÔ­’£u¬î;àáb ®äûsÆfVYÁ=±1Þ2)jVÉQºÖwðp„1×r}¹ã3+,‰`žØ˜ïµ+d¨Ýk;Žø8B‚ë¹>Üñ‡™•–D°OlLwŒŠZ•²TnµÇ|! AuÜŸnxÃÌÊË"X'¶&;Æ ½“Raf#ûΫˆ«›ß`Caï÷Îd‚PäiûÞu\EXtÞÿ|e‹¾p$‡#OÞóªâ*æ÷ûã,XØ{ýó€ ”9~÷WV7¿ßbÀ†ÃßïœÉ¡ÈÓ÷¼ê¸Š°é½þøÍXõ7ùŸ…ô_SÓèÁ A0v%=ù¸´å »gSxªQIgZ68$’·å(lA°Ž;e;šÄÚ§Zî ó”‚”ŽÄLufœ8Ë‚¨ÎŸo°Â„FØÕ\Ïï:ŠjU-³r¦#H  ç¢ÅH’Y¡ÙI@@yêÆËSÚHc‰É#®%6Òè]8â7$ÂB‚ôâar'0“J òŒ8Ë‚¨ÎŸo°ÆÑ¹}ôÑÂæ4€Ñ@¾pcå …`‚;rH@yêÆËSÚHc‰ô•¢d‰éš%dØÒÄ—páÒ…S•†‹§£‰2°çÆ*×^†ëưlt&üäT–Ä–t⌊†ÇDw÷äBéäÎz «{xñ*“à€@:û €½Ávì|s±Ív­Wcã#ôf F޲ÒÀ-ë4-³]Ü`âà°ok쎃Á!,ðÓRtWc!f‘Q$‚aÖáß'©©8RHÁMbe Nµ­_[@"!¬3¤t~„;×jÕv>2*KbK:qÆ^šêŽ\('³ ŠŒ„”õ1ðÆF´ÎÁRœ¼0E5sF{L6nÆ"–¸üMõ`Adé'Vœnyê¨îÚqBÛÁûrÖ0$$.OÈe÷$©›´)á;ˆšÓôÃ9ÖÀ¤Qˆƒ4·Œ<¿ л:Ö6 åt ÏÁÏ~Œdwm8¡mà}¹k˜µlÙ ÀÓf‡[Bõj°| ;›¸ƒæD3ð¾‹êz}.èjÒá{Å:!À1‘É>d}ÌF®H¦mï2ô—TCÈ6„Œ›f€, %óÏhŒƒ è‘¡"^œvÆ‚°¤Ù÷õ«4õ0«qN‘µ%Õjg»…¡(6A?y¨˜|<;¶{ Ù‹‚'íx(ã܈”@jQÝ"zÙu‘‘MÂV4€µ!M †{` I³ïê0Jq†ºP~bIïc0*€ÃyD¹¿µ$ô€@ACJæ£ ½ò =*»cE (‡:錽:ùÞ äþc“"”(™ÂÞÄhæò‰"U¸Ø·l^ llþ¾Æ3 `—½aàh‰…q. x>vÌ«—3Lv#I7òiF8yµv—> ðJhôZhF؈€ì—ó9ÔÃí©³ÓŠ…ñ—AŠÃMQØ£€¨bA'{» l¶_4î£*Ϩ‹ÉtêÍWmBìÑDŽŽÛóÜz4Õ >ðh@Á´$`XqÑÒNgôP”î«väñ!6uByóÂ@ɘ¯¾ OTÅö’»ߌ0UïÁQ|( ІV"¸Ÿ"+!¬€°“;”Û¹Áõá\)(‹‘áJë‚uŠ:2o\AY Ж$MYÜøAðåf¿˜L<ˆ|¢>ökCR5°ìÞÙŸ<Â.ÈÝHèí¿=Ç£@mP"ï€3ð¾‹êz}} ÷ŸBýçпyô/ÞN×B7/µ»Ó¾Gp ÑU$ãöt&™Y{ XÔ‹¼°%Ñd™dƒ“äu!ˆšÃa×x¶M%##2€WeàãΦW!¾ ”èYA”†Ðº± E´MÊÛŽ ‰ÈÔ@”Á1\"PÛ½Ö¾; 7—ræDV ‚áläz0¶M%#)ÁE¹exJ‹+©ÆKm4Q ¸P„žñ0Êw+äs{?Û:lH^Z˜à·á¿=±ùÔJQ’B S†vL N1ÀÁ52,îdÉŽ…KŠvÕiÞf:D¶ÔoZçJ}Âú/©éôa8PD!`ïø>3z>Œ}³¦8ᢎ…x"`IJØ “áÈЖ0x[]ðˆ°^†ò•I€t(Ò_ éã—G‡³D}À냼YàH”z2›<ô®F'\÷ÃÀÐ&‰ÙÝŒrá’S…ŸË¶@HBÅ«huj¸ï2`‡ `{Up{?¼Ë+!&NÑ’G Ü $Õå‚e•ÝGKEîr‘v'ÊJ5KtsW)¦IW£13ºŽrQ¤¾%ÓÇ.Ž Ð‡¤rþX¡ÔOIy0#'8xzL–ë¦Y_3s×<Œÿ (2‰ÔŸ“~ ÙÉ=ÎéxKõãÔ¢€=‰¼M6SâE}àéèx"dá›}þ˜¡ÔOIy1vÊ ±ì‡ & K M€É>ò2ü4|`èŒ ‘Ýö1âcúF„Zþ_œLÜŠ’Üâ¤Ë/R~ ú¬‹Õö鬙H°É/žøk"d÷=ŒM6SâE}àééü 9ε¼€|3o¿ÁÓ:ãŽ[)ê[ó‹°.Pmˆ¿`ôü/¢úžŸFì(‰Ù¾Íž•˜bú*p¬ÐžoA¢+¹¨¯,‘~ jäÏáw~»j¥½ˆÉÒ1ÎÇy ð+P˜(¿>†2ɬH@&åï{ÔÒÌ)êÛ…æ#GOM!€ìMHëä¼ ,˜@'ý4ɈjAïéO0º'½Êã©0m­ßzÒÏlOlm§˜ÆHˆáÂþ1›¥*YïÎi~'÷‡õ®¿×ÿÆü/¢úžŸF¥·‘:OõçåÍ%Œ¬sD‘ðÞ œ?vÝÝò^\­nLÓÞKƒ{ꢊbµØ.´Oþ%:ÑÙ aúi¸U_c#d“)íßñ…ðVùØhAÌß-çU„ë¾…Ö@ª(óW,´ ‚æo–óªÂußB‡ë Uy«¿–ZAs7ËyÕa:ï¡Cõ*Š<ÕßË- ¹›å¼ê°wСúÈEjï倄\ÍòÞuXN»èPýd ¢5wòÀ B.fùo:¬']ô(~²QGš»ù`¡3|·V®ú?Y¨£Í]ü°Ђ ™¾[Ϋ ×} ¬TQæ®þXhAÌß-çU„ë¾…Ö@ª(óW,´ ‚æo–óªÂußB‡ë Uy«¿–ZAs7ËyÕa:ï¡Cõ*Š<ÕßË- ¹›å¼ê°wСúÎö'ïŒz~Ñ}OO£Œ U»»Öð§@–&£›’r s 6–ªÎËÊkÊmÄ-¸7Usy• Si½¶ú# (}B¹°¶@ÑI=Ø(ÜÙ ÿÝÆPÂÏF:ƶ0ù †´ZÌ9[ÇiJÕXßøbóÄé©£d@·‚áËÐ[©Uãjº7£Y \{Ñ×4ÌF"©¢Øl†çQ€ÈLŠÔÌ4 ^Ov 76C÷qèe“•Ê‚˜|[ xí)Z¡ ûÿ ^x54lˆð\9z u*¼mWFôkу±ÏûBüÄåÈ•† ðƒåÚJ²A= jWí®±|ÜÀþV_på4›’}Œm(5Só‚[€ Ÿ;«˜SC)àÅC±O˃ ÃÑiwA™½¤;lõÂ'™¸¤ÛˆÃàºë)éN-)q§—^#>Šp$ bj9¹' —0¡G(mÉo–Éq)Ów]à„Næ71Á°”ÑD¸C¶àÜiUÍâbñvˆˆ3J2…žrpE7Ù™ w»·T`ZP÷Jœ›î‡9õª ¯µ¦!.­êφ*¡“°b$œ‚o@¨ÉÌd»§©uêÇʆE+ÈlÛŒŠ±Ä9H“ÕìA‚IN'[›n¢CÚĤQ4sDN BGNt òî®Xv Þ‹’YÞ…t¡´$¾[%ħMÝt‚;˜ÜÇÂSEâ=ð¾‹êzø0ည•»éž#déJ„waåqÖ¨ün$‚x™¸Œ&’€*i P"¼rún’@0Ö<Še”•:QùTÛJÌ ¶EG $|DŸa=Ú‰ÖÇâƒÚ U-ت°Ä4$‚^ד„ ‹¤,W˜Ð‘™@燎ç<ëði|³Ò:86N”¨GvWhONÐ Vƒÿ›ÄvQ‰öÿÛø_Eõ=>ŒÊ$Ó­w¦&~ÌiAŠ_]|e’§&<%ã%µ D!‹E„õ­å:› Ü؉×Ï¡ÐD¬ZËùÀÓY'¹ìbä¬,ašŽ‘èñ”b}½fKuÓ,¯™¹ëžF@ÿ†C€ìƒï‹ äw®›~pð4DÀÓY'¹ìdhKN¼-®ø»åØ‹ö -ÎÂR-µ–Ï +µ÷ÿ¹`¢>O|ã2}·ç.LãØó– #ä÷Î3'Û~räÎ=9`¢>O|ã2}·ç.LãØó– #ä÷ÃÛ„"¼;°e7}G Ú=¤7'hrT  Ò\ö~06Ên&*úŽA´{HnNÐä¨AA¤.¹ìü`l”ÜLUõƒhöÜ¡ÉP‚ƒH]sÙøÀØ)¸˜«ê9Ñí!¹;C’¡ºç³ñ°Sq1WÔr £ÚCrv‡%B !uÏgã` ¦âb¯¨äG´†äíJ„BëžÏÆÀMÄÅ_QÈ6i ÉÚ•(4…×=ŸŒ €2›‰Š¾£mÒ“´9*Pi ®{?e7}G Ú=¤7'hsÄ®¡ñéø_Eõ=>ŒgDHÌè¼Ý!ÎoYF²;§^c¹X%Ø8–œ;L4ÖëuÇpBÌžWoøô ²°uü?…ŠbPCÕ7liééÿg­üFÚì^)Œhò•ùÿ¡V¿‡ãÒ^‘(‘ÝaàiD—#¨%ƒ˜Þ¼)Œhò•ùB €KÖ;8ÛfS¿ Àz À¯õžÑ0ÛÑ×lÊwáxA8þ±÷àM®þS>*3YòjýÑŃiŒ†Û H/ìõfXPœì½á¶Ì§~€ô_ë ”Ï™àë‹.퉯aôŒ3Ú|ËÛJ$Ll6ÛæûI=$êbˆd$ —ÞB6G©£A,‹ðoÔé"RFlaüú$ÀËõäù:™g´ø—¶mN„¹ŒÍvë iõ]Bx›é¬…ö—¶à8RÅ# 7³ \Û^Ã…˜w"~1v”-¯ˆ9™#¬‘2aàiD‰†Ûbßi'¤LQ „RûÈFÈôü/¢úžŸF Âk6% xŽfŒß„‚›¿Ë‡S­ÈB_nd[&’‘ˆáPY`„)ÓPBÒebRØ (ƒ…b`z¸Ü‰ñðoÐĵäí»³zùZȤ}ï5 ™²A9Û; Ó&(©€èqü eˆ›"= L"P\vx%TUv›Óƒ©`!©8€°Cm^&«ÈŸým`h6 WP†€§v¡Ó_öh[(X”§à‰±PSÐãø<ôf½Qš †9kŒ±[ËCK³Hêhr~‰"Pá×¥po‘Fu ÿF äÖ,?j±ä BFN‚`®vOÁ5)“ ò´_QâÓã§x$ö‹=[SØ\hR’5¢! “$„ñÐ$ª4E“.Ú%/Ž =æ‚Ø”e|wÖºöQ|¿ƒ±6­“®§UÙ‚…ÙB¢ÿqz `dÒR1æNR/*²¯»ïu,¶uÖúL” 5Å'¯¡ÀÖ¦ÀiøýkFMŸ =Ì`¨è`¨–*SðÆ%q5ÚÊû¤ÆçÕVæJ "YãOnjBÁwW0¦†[D—Ì7±ÃU r¾Ý|¸ž2K“MB–3 þ+|ÀÁR’Ó’c®±·MÐåÞôOÛZä#T&—ZÕšÎÑ1ª—,“—Ø¢“©—Ëÿò? è¾§§Ñ‡u¢zú=ûÔ]—¥P¤d@n;4øÈ½lxXD¤V&8œH’Ò2÷#ÄXΥͨi B÷û£JvJ˜ãÿçA'ùÀ|¦=vþ ß?J™tøª;÷ ¸~%í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ±í¢Ë…æ?XV™ ú/ëˆ_™þ²(ãX¯IÕC¬Yé{Þ}OO£×"FáC°ý® LK¦D6xl‹ƒïsd’n&a¡$pvd¨hJrì96¼ôª+Á¼Í“8q—Q>ßaì„;F¶‡9¬¶ã ÂÝP0¹„xQd¢Â…°ÏG/ä€óÕ–§´Ç’G\Jm¤)кqÄnI„…éÄÂäNa&”3åq—Q>ßaŒ ¢rûé£…Ì éãA¼u¢Ã± × Ù-Ä<õce©í$1ÄúJŒQ2Dt͉2libK¸p$D®¢ ŠŠEÓÑÆN8Êp †+JÝf€b±¦ =èL=»eDóY*#‘ää…Ž!]Є«ÚŽ0%1mðÓ”ïÔ0¶è¥å÷ ÆQ-[q1Ðxí[¤¤¦ [µÓ™öoÁözv?Œ“ˆ2èvö‰hÆMΕÁƒâÍ«¯ m VÕL蛃6ÑÌ ˆ)y}°aïBaíÛ5¦4£Š9¦‚SÓ%N0ˆU)­±§¦K1)˜“>$š£OgÔÅ//¸VTœöÜÊû°ÐIuo…'Û–²e ¦8UÙ÷$Ažã@–Ýã%ø‰ ¦ƒZ®zbÖ¥SHÃÀ-å(Uí|š×Œy"Y‡=öŽÌ V > ¼C'%)8¦d©êk+D0òáß Å›W^Ú­ªöÀˆLF«æDôŠB¦“ŒGø¿ï>§§Ñ‚.¼W󢓿GÜÄjäŠfÞó/IuD<ƒhHɰ&hÊ_<öˆÈ2‰%éÇlh+JMŸPɧNO‘2¸@JÒ’x–í—†P a“/ÇÝBä1FûHz$k0OÚðQÆB±Èd«×`äõ²ê #"›„¬i×”ˆD£ÑVV4€%&Ï¿¨Ã Ý(?1$÷‡1€>Á'rûÏûP€oÄ@q)9“”ªà† û^ 8ô> *‘4¥œàRdR…8[ØÞQ"ÄJ·í‹Ä Ÿ×ØÆa¡ ÷¬< ‘3°®%Á/ÎÙ•ræ`iŽÄi&þM(Ç6®ÒçÁ^ M‹MÛ’þaÇ:˜}µ6zqP¾2àh1Xiª;ppb}òK*ΈŽoç˜EÙ¢‰·ç¸ôh ª@}àÐ<ƒhHÀ °ã£¤œÏ %è¡)ÝVíÉâ$Blê„ò9ç„’ 1_|dzlɱ êÿ}Å‘PÊÄWãdEd5Ögr›w"Ø>¼+…%r<)]pA±GBæMëˆ+!Zĉ«;ƒ¿¨>£°#l×ó ‚"ÀH‰Šà–£™ÝåYõy.Yªí¨]‘º(‘ÑÛ~{F€Ú DÞ gá}Ôôú0úï>…ûÏ¡~óè_¼ð,|zl'V…‡J ð›Ýå6:Ð%s³oàÁáÀ:±P¹¿²ï¥¥¼»î«Dwô< ‘0FÈmr¶ã‚¢qÃè08YÍv›=b˜’ì;wQ}GˆÄéçc¼Ø"Œ 4O14g·¶°Ep5Zd-²%P1©äõ1 †<!@[Rò2.R9‚PgøŒÿŸâ3üFˆÏñþ#?ÄgøŒÿ“4‰ý¿…ô_SÓèÂÆÑ“.#Å‘#ã ´&ZD™1i½hœJ„ šŒ¡FÕ™Tޝ@Ö4HIôäá’¸ bLºGŸü\ËD,×± ¬xsUƒJ–¼ÔÇŒ–‡7µTsã!5j±°iRך˜ñ’ÀpæöªŽ|bÄ&±áÍV6 *ZóS2XÞÕQÏŒX„Ö<9ªÆÁ¥K^jcÆ@à S$ðËÈq lÒÏ*2Ç“²:K¿_l¼6HjŽkÙâÙ¥ž8Te'dt—~8¾ÙxlÕ׳!Ä1³K0à; ÄûàIJ„È,±åÃÀÐ %&ÀdŸF„°á„ëÂÚï„E‚ô7”ªH˜Ü ËQ5=#-:8z9/p8GRw®LUõN*m}íÓ!Ù+ Lì®<÷ÃÀÐ( ÈÛ1nFŽ«§·d/¹äúd«çâ',‘í¿ƒ¡Š`{Up{?¼Cäç!QÒKÁ;Vaªu~èéƒzl‘ᶘ©ÀÉf ^M#z9Ç«”Ó$«Ñ˜™ÝG9(Ò_ éã—GhCÒ9,PŒê'¤¼˜‚œ< €=&KuÓ,¯™¹ëÒ:1]*°Pe©?&ýA³’{Òð—ëÇ©E{xšl§ÄŠûÁÓÐð4DÈÃ6ûü3®8岞¥¿8»åØ‹öCÀÐ %&ÀdŸyþ>0tFÈîûñ1‹}#BH - /Î&nEInqRe—©?ýVEÈjûtÖF̤Xd„áO| 5‘2{žÆ&›)ñ"¾ðtË£‹IÝäÛ_–äï.@>·ßàéqÇ-”õ-ùÅØ(6Ä_°z~Ñ}OO« °°Ÿÿ*ƒ!DWsQ^Y"üÔÉŸÂ*îü!vÕKz'“¤cŽòàV¡0P9~}@$Lì+‰pKÁó¶e\ˆ“À0îUm¾NÄfÀv&¤õò^PL þšdÄ5 ‚N÷‚Šô§˜ÝÞˆeqÔ˜6Öig¶'¶¼’ $ˆƒØ?†Oòâ*Å{o>áûϸ~óî¼û‡ï>áûϸ~óî¼û‡ï>áûÂ"Wé¼?¨uþ¿öþÑ}OO£ Õ„Ê4¬5÷Ô¤‰°ÈúëA­iй¨§Ü÷ÿÇr4ÃUXdl’Â¥íó퇫j.}þ=ó•oj#áß~ØÈÙ%…KÛçÛVÔ\ûü{ç* ÞÔGþý°‘²K —·Ï¶­¨¹÷ø÷ÎT½¨‡}ûdFDÊd ‚tå­2nNÍ1ä?ž²_õo‘Ý€„\ÍòÞuXN»èPýd ¢5wòÀ B.fùo:¬']ô(~²QGš»ù`¡3|·V®ú?Y¨£Í]ü°Ђ ™¾[Ϋ ×} ¬TQæ®þXhAÌß-çU„ë¾…Ö@ª(óW,´ ‚æo–óªÂußB‡ë Uy«¿–ZAs7ËyÕa:ï¡Cõ*Š<ÕßË- ¹›å¼ê°wСúÈEjï倄\ÍòÞuXN»èPýg{÷Æ=? è¾§§ÑƒooDâ@‡©¯%zÍÖI¥üîJA $rTrÃÄ–Ü*¹¼Ê†©Š´ÞÛ}„”>¡\Ø[ 褞ìnl†ÿîã-)_ÅÏxÁiY`NR1>¬†…h<Ÿx`F£/ " R‚½º•^6«£z5’ÅǽÝsLÄb*š-†Ènu1Pˆ „È­A Ã@Òä÷`£sd7ÿw†J¨•ô½Æ½Ìu*¢Ašñ>à è$äqÔ6Àåè-Ôªñµ]ѯFÇ?í ð—"V4ƒÂ—i*Éô€e©\g¶¸ÅðSsùY}ÔÒlH!ö24*21’¨8N©à%8']|s<¨v)â¹ptz-.è37´‡m¸Dó"‚—Ô›q|@Ýe=)Àƒ…¥.4òëÄs£Â'i x!—ÙÀ‰ClB4Òm$¹… 8éCh.H |¶K‰N›ºèÿ"w1¹Ž „¦Š%Äz·ãJ®o‹´DAšQ”,ó“‚)¾ÌÈS½Ýº£Ò‡ºTäßt8áÈ×­Q}­0Á uoPî|1U ƒ9&äxFNc%Ø…=K¯V>T0Â)XvCfÜdUŽ ‘ÊDž¯b "Jq:ÜÛuÖ%  Š‰£š"}-)_ÅÏxÈ©ÕdUUDâS¦îº?ÁÌncƒa)¢‰q‡ø_Eõ=?üpÀEJÝtϲt¥B;°ò¸ëT~7A< LÜF>ŽÃ’4äfçE»ÓÔôÞ,0ê²%²Ÿ+@„n92%íe ÀÜW/¨â‚InRsãÃE@ N®™>˜ñ#€(oã b.7²^‡ò+³4ƒ%’¼íφÌ$S½õsÆ0OÓ¹"KSðˆ”°íz‹ƒšGC hôbÑ_þÙF'Ûÿoá}Ôôú0"ÑfZ…¢÷©­åB,f|Ölç“©ˆ%,È@3DÄ®¸Úñ ¨!ø>rMÐnlDëçÐè"V-eüài¬‰“Üö1rV0ÍGHôxŽÊ1>Þ‡ &1“°cYädøhøõ]¡r“LE{.€H˜œëq¾~’âȹ _nšÅ)m²žÓGH ÔÅÖi%Xº·Äå¦Z•ÂòVDb˜žzø¼¹3cÎX(“ß8ÌŸmùË“8ö<傈ù=óŒÉößœ¹3cÎX(“ßnŠðîÀl”ÜLUõƒhöÜ¡ÉP‚ƒH]sÙøÀØ)¸˜«ê9Ñí!¹;C’¡ºç³ñ°Sq1WÔr £ÚCrv‡%B !uÏgã` ¦âb¯¨äG´†äíJ„BëžÏÆÀMÄÅ_QÈ6i ÉÚ•(4…×=ŸŒ €2›‰Š¾£mÒ“´9*Pi ®{?e7}G Ú=¤7'hrT  Ò\ö~06Ên&*úŽA´{HnNÐä¨AA¤.¹ìü`l”ÜLUõƒhöܡϺ‡Ç§á}Ôôú0áæòÀ/ QS à7æû(cžÁï“ãR¢P@Ûª©Î5Á2Ì*Dý5ÌQ˜÷•½½'B,¬ÆdX¼øJíi.HŒð„w“¤gòà²ü0šèâ˜Æ)_‘ÿñ:Ae`ëø~=W#ä` 4h%‘~ á¶÷ \Ý ²xãÆ4yJü¥è” F¯x‡ùUT;:`z À¯õžÑ0ÛÑ×lÊwáxA8þ±÷àM®þS>*0Ä™ Idé†Cm†$öz‰³,(Nv^ðÛfS¿ Àz À¯õ†JgÌðuÅÈvÄ×°úFí>å퇥&6mˆs}¤ž’u1D2Kï!#ÔÑ –Eø7êt‘)#60þ}`eúò|LŒ3Ú|ËÛ6§B\Æf» u†4úŠ.È!´x;š:„ ‹ˆbI‚iBì¡Q‚8Š‚=Âú/©éÿòÂp€ØH>2;ŠàžÂÄαFr›iT{,yn•”]Ô˜mw죆‰UF¦H³ÉSi!¶Àá)Ö;€€×“§*uòräêkºCÐÚPj§ç·3>wW0¦†O![%wow6‚,ôQ@ =tëÙOn0…W Í 3 þ+|ÀÁR’Ó’c®±·MÐåÞôOÛZä#T&—ZÕšÁ€‡UhFˆÚ9o§ÿÈü/¢úžŸFžè‰I¼õϹÛ-LU©/8Åùäðɧ" ÷7ÙÎÅÅ¿r }J‰êò ts¬F!fÔtº»Ou¢zú=ûÔ\æk±SÓÞŸ*‚l@$íôdNÜðhLîOh猂cªf[F×ã&ÐÅh„ÌA}ÝœUx˜ŒD©øDs5–íSu$Ë›™¦±ÉÔäì V®®Ó·<;“Ú9ãOWP “£c(9ÅÔÄ„ð·ÿ™NG!„N»ŠËªž?ŽK§ÅQß¹Ãñ$£Ý º”¬É¡ÈÓ÷¼ê¸Š°é½þøË6ÿ|àH%FŸ½çUÄU‡Mï÷ÆX°!°÷ûç2A(r4ýï:®"¬:o¾2Å ‡¿ß8’ C‘§ïyÕqaÓ{ýñ–,l=þùÀ J?{Ϋˆ«›ß`Caï÷Îd‚PäiûÞu\EXtÞÿ|e‹¾p$‡#OÞóªâ*æ÷ûã,XØ{ýó€ ”9~÷WV7¿ßbÀ†ÃßïœÉ¡ÈÓ÷¼ê¸Š°é½þøË6ÿ|àH%FŸ½çUÄU‡Mï÷ÆX°!°÷ûç2A(r4ýï:®"¬:o¾2Å ‡¿ß8’ C‘§ïyÕqaÓ{ýñš±êoò=? è¾§§ÑF(ö¤@m¢½ÎñÓ‹!iR½°`\r-`&±ïÒRfGfF]-¥.äìŤwr <Õ1²%§’tൄ>+L½lŠ´ '±Î±'#¢=Иšï‚¸”zÖˆ>1mŸ!))ÐëÉR¤–òt‡Xĉ$B–" éÛ*t¤¨Ò’WÆÈ «²F|£,]­Û‰;iñÙ…\¬0"7†‰‰´$ކºa#©$–t¼>Í\Aó"ø_Eõ=>Œt5ip½â¿)Vä!,pˆOü‚”\|ìyБ“`LД¾yíd4 KÓŽØÐV”›>þ¡P¥Í‰Ë³'ü²å0£1UddËñ÷P¹ Q¾ÂÒ‰ÅÁ ö¼qˆiÂ`0ƒµ; xŠÈ$LÈI¦ ŽTÔ"86Á ¬)6}ýAg³Ø-ÿ˜¡GxDuôCËÔìw/¼ÿµüDw“™9J®`Ÿµà£@‹P„¢¥"àRdR…8[ØÞ5êØœQ‘ÉÆ llþ¾Æ3 `—½d¬Z^¡ŽMh„`^÷½A‰.£†ß'b#‡›Wis௦E¦„mˆˆÉ0ãL>Ú›=8¨_p4¬4ÕŠ8 †!©w¼+°¦Ëa¥óNê2¬úˆ¼—N¬ÕvÔ;Oˆì¨™ê)~1èÐT€ûÁ  yБ€aÇGI9ž@KÑBSº­Û“ÄH„ÙÕ äsÎ7 $b¾ø(ÈôÙ“cAÕþûŠ"¡•ˆ®'ÆÈŠÈk ¬$Îå6îE°}xW J"äxRºà‚bŽ…Ì›×VB´%‰Vw~#P|9G`FÙ¯æð4Dδb=À¢?³EµCP;ýaâ„TKŽ×}ˆz4Õ >ðh? è¾§§Ñ‡Ð¿yô/Þ} ÷ÿãa:´,:Q„Þï, ±Ö+›h®¾ÕŽÍø˜’'!²šÌ%2‡¶8ôŠÈÑ’NX| ^­“E¼È5@§ZNS±aÙqÇ¥©]‚{@ïiÓx‡3a% %]<³Äal šJFCa*HbÃ̰&å ‘d©K$&´`w„ëÙªRFHÖ¿ìÒÅX¼ŠfÎv¾ì“LÓIü‹{A*!HAãPÝkƒ3A¸˜ÿøß…ô_SÓè©![W?Ñ‘ä“#'NÿíÂÒ{¹YE±ø¦þ>e¢kŒX„Ö<9ªÆÁ¥K^jcÆ@à S$ðËÈq lÒÏ*2Ç“²:K¿_l¼6HjŽkÙâÙ¥ž8Te'dt—~8¾ÙxlÕ׳!Ä1³KP·)/| –`ÅäÑB7£œz¹M2J½‰Ôs’ õð±.ž9tpV„= C—òÅ΢zKÉ!9ÃÀÐÒd·]2Êù›ž¸=#£Ò«Q:“òoÔ9'¹Ý/ ~¼z”P±7‰¦Ê|H¯¼=@$L€|3o¿ÁÓ:ãŽ[)ê[ó‹°.Pmˆ¿`ô< ‘0bYlIðç‘?á£ãD`LŽï±ˆ·Ò4$€ÂÐ×òüâfäT–ç&Yz“ðoÕd\†¯·MdlÊE†HA~÷ÀÓY'¹ìbi²Ÿ+ïLº8±$ÞMµü)nNòäá›}þ™×rÙORßœ]rƒlEû§á}Ôôú°¨¼:†‡€È©,‡þ½*‡ &vĸ%àùÛ2®BNBÓàü<Õzi bj@_ à5ådÂ?é¦LCR$ïx(¯Jy€=Ñ=è†WIƒmnø›Ö–{b{cm<Æ2DGðÈŒÝ)RÏ~sKñ?¼±Lž?Þ"œÝŸÞi~'÷–)“ÇûÄS›³ûÍ/ÄþòÅ2xÿxŠsvy¥øŸÞÔ ºÿ_û è¾§§Ñ‰µ .·[ÜWläÎI5ºçÔ@4lê®öÄa¾PA| ¸c9à(ÄNÙÔûÿâS­Ö¦›…QUö21I2žÝÿ+‰¡RYéÇëÓM¨ªûƒ$™OnÿŒ•ÄЩ,ôãõ‡é¦áTU}ŒŒA’L§·ÆJâhT–zqúÃôÓpª*¾ÆF É&SÛ¿ã á­ò;°Ђ ™¾[Ϋ ×} ¬TQæ®þXhAÌß-çU„ë¾…Ö@ª(óW,´ ‚æo–óªÂußB‡ë Uy«¿–ZAs7ËyÕa:ï¡Cõ*Š<ÕßË- ¹›å¼ê°wСúÈEjï倄\ÍòÞuXN»èPýd ¢5wòÀ B.fùo:¬']ô(~²QGš»ù`¡3|·V®ú?Y¨£Í]ü°Ђ ™¾[Ϋ ×} ¬ïb~øÇ§á}Ôôú0XÀÕPK±Û½op³Ñ‡N±­‘™p⎡þmÁ¸Ò«›È¨j˜«Mí·ÑICêÍ…²ÞŠIîÁFæÈoþî1U r¾Ý|¹&:0DªÿĆ(#DÀÏC-kù†r4:O,&޳+(½º•^6«£z5’ÅǽÝsLÄb*š-†Ènu1Pˆ „È­A Ã@Òä÷`£sd7ÿw&¡É0˜Ÿé†ÐëMÒBÂ4Œ;y¦¢ËhŸì1µQ¹(צfêE1ËÐ[©Uãjº7£^ŒŽÚàþ'.D¬0i„.ÒU’ éËR¸Ïmp ‹à¦æò²û‡)¤ØT0Â)XvCfÜdUŽ ‘ÊDž¯b "Jq:ÜÛuÖ%  Š‰£š"p1:s O—urõô\’Îð„(㥠 ¹ -òÙ.%:në£ü‰ÜÆæ86š(—è…ô_SÓÿÁ€' T­Ø÷Lñ'JT#»+޵Gãq$À¸ÔÍÄ`؉4œSHXbã—Ót’†±äS,¤©ÒˆwÈê˧ÕÑCw·Z˜ 'ØOv¢u±ø Â6‚•Kv*¬1 —µäáàC¢é æ4$fFÐ9áã¹Ï:ü_,ôŽŽ “¥*݇•ÇZÓÓ´U ÿæñ”b}¿öþÑ}OO£ mEQbÑa=kx0GY°.ÊVìëÂN£$-ß\€ÉÇ'\#¬€Ø@—e+vuÁ'Cšähy„lÊœH2Sù.Iñ#…l§FÏë'/ÅÁtn™q×.h²€wß!Å[A¥I›9ÁBÑ€j{ùç-L†ð©KH£»þƒÚ“R„FBòL÷¨(D0Ò4‘Û7ðA&ÇX¬eÌ¡%¹¹ý÷Å…ò;×M¿8x"`i¬‰“Üö24%‡ '^×|]rƒlEûHÎ lèé¾Ù}íêÖ¶1ý傈ù=ðöá¯ìÀMÄÅ_QÈ6i ÉÚ•(4…×=ŸŒ €2›‰Š¾£mÒ“´9*Pi ®{?e7}G Ú=¤7'hrT  Ò\ö~06Ên&*úŽA´{HnNÐä¨AA¤.¹ìü`l”ÜLUõƒhöÜ¡ÉP‚ƒH]sÙøÀØ)¸˜«ê9Ñí!¹;C’¡ºç³ñ°Sq1WÔr £ÚCrv‡%B !uÏgã` ¦âb¯¨äG´†äíJ„BëžÏÆÀMÄÅ_QÈ6i ÉÚ•(4…×=ŸŒ €2›‰Š¾£mÒ“´9*Pi ®{?e7}G Ú=¤7'hrT  Ò\ö~06Ên&*úŽA´{HnNÐç‰]CãÓð¾‹êz}/8(Ù¸zb+Œ rHª§‹Â«©BÊ"a?S%H!M¹©à§X“4äÀç~µÑÆ9$g¦:9ñ-µ½Ñ@uJ‘/Mò’²¸mÜ;² o"-$Zé—¬ +p}$_G*(ž«Ž®.p,‘3ùŸNèd@Ìhô}?ìõ¿ˆÛ]‹Å1R¿#éSƒ‹Lk~¡Å ‡æ_¼A8þ±¹·_qf޾­€“ïH{ˆó‰(`¼ýPò‡&KkAØ¿ôêŸþW \Û^ÃèYìÀDv æNíDáí†Ûbßi'¤LQ „RûÈFÈõ4h%‘~ ú$JHÍŒ?ŸD˜~¼Ÿ'S# öŸröͩЗ1™®Âa>¢‹²O}5¾ÒöÃü¢jX¤a¦öbä €»bkØpð4¢ËQ5=#-:8z98g´y‡¶6mˆs}¤ž’u1D2Kï!#Óð¾‹êz}/ ¬Ø”vâ9šŸ4Ä û+ã¾°” àWPp{¨Žd[&’‘ˆáPY`„)ÓPBÒebRØ (ƒ…b`z¸Ü‰ñðo¥v í½§MáÒ¯ ¹RêÛLÏV;9¦x¨û3IlZ¤¶PSÐãø<Ë6D":z˜D ¸ìðJ¨ªí7§RÀB)Rq`†Ú¼LW‘>> úðe& ÄJ6.î·¯•¬ŠGÞóP¹›$‘ͳ² 2b€z˜‡Áà×£5êŒÐL1Ë\eŠÞZX­šGSC“ôI‡ž½+ƒ|Š3¨_ú0_&±aøƒU `Ú2tt{²~ ©L˜PÏõ¢úÆŸà;Á'´YêÚžÂãB”|‘¨ˆ… ™$'Ž%Q¢,™vÑ(¡|pXQèµ+°Ohuí:o 5­ûLŠJ[gŸ0M«dë§iÕv`¡vPƒ¨¿ÁEA‚Ø4”Œy“”‹Ê†l§kîÆÂ;ÝK­u¾“%BMqIëèp5©°š~?ZÑ“gÈcó*:*%Š”ü1‰\Mv²¾éñ¹õU¹’‚H£ÖxÓÛš°B†ë\Í“a©OSMpÝ´Lx‚"PÞ@$LŒ% ˆ§êƒKÅ[Ù$µV¸•¼íDÚ¶NºvWf e:‹üÄTè~Ñ}OOÿ–Å3Õ1N;Dƪ\²N_b’˜Y5軑¡¦àÔiWÅãÅ!,Zi ãøô&Ž#$ëPç[Ûhr”H#B¶JîÞîmY袀z0éÖ5²žÜ`7 ® ›:f3üVø1‚¥%§$Ç]cn›¡Ë½èž%¶µÈF¨M/ &µ«5¢cU.Y'/±E&9Rÿ/—ÿä~Ñ}OO£ ZÝèþgñ ›´ g ÝS÷x'ÊI°>SøÿÆÂQ^š0­2ô_Ö% ¿3ýcÛE— Ì~°­2ô_Ö% ¿3ýcÛE— Ì~°­2ô_Ö% ¿3ýcÛE— Ì~°­2ô_Ö% ¿3ýcÛE— Ì~°­2ô_Ö% ¿3ýcÛE— Ì~°­2ô_Ö% ¿3ýcÛE— Ì~°­2ô_Ö% ¿3ýcÛE— Ì~°­2ô_Ö% ¿3ýcÛE— Ì~±¢z+Õ•CWV7¿ßbÀ†ÃßïœÉ¡ÈÓ÷¼ê¸Š°é½þøË6ÿ|àH%FŸ½çUÄU‡Mï÷ÆX°!°÷ûç2A(r4ýï:®"¬:o¾2Å ‡¿ß8’ C‘§ïyÕqaÓ{ýñš±êoò=? è¾§§Ñ„7^ $ ·ä ¸nÄ”­Ébı/yXÔ×jâPj|€†X92-E'Úë…w™v”—T– –iÃŒ¸*Œéöû >{µ–“QÀ¹´&½°Ñ –Eø7›¡—U+®<]¡ <õce©í$1Ää‘×›i t.œq’a!Azq0¹˜I¥ ùFeÁTgO·Øc VCFš¿Ÿã†„KÚòH°.™A,âd„ yêÆËSÚHc‰ôjáÚ;:,—’á²(•lÛ8²ÉØH(D4]ºc'e8Ã¥n³NÀ1ØÓô&ݲ¢y‹,•ÈòrBÇ®èBUíG ˜˜¶ø iÊwê [t?ŒRòû…c¨–­¸˜èæHˆ€ˆ«^9 °.ÂBÝ"©T$¢ Õ]𯂰¤Ù÷õ;b!Ù2= #Bg 4Y;²7íBmr€y.`ÅÁ ö¼qŸÄ0ÄÄÛT¸Ü^°ø,L¨NDÒ–sI‘JLáob4syD‹*Ül[¶/66_c†„0KÞ°ð4Dθ—¼;fUË™¦;¤›ù4£<Ú»KŸx%4z-4#lD@vKù‡êaöÔÙéÅBøË Åa¦¨ìQÀTaäCå÷³Xâ‘­‡föÌùævFè¢GGmùî=jx4 `Ú0,8èé'3È z(JwU»rx‰›:¡<ŽyÆá d‚ÌWß›2lh:¿ßq@dT2±ÄøÙY d5„™Ü¦Ýȶ¯ áID\ W\C¬Qй“zâ ÈV„±"jÎàïÄj‡(ìÛ5üÂ’àÍW$[Ÿ3‘¢yŒ¤< ¾e™±Ä5#[Íí™óÌ"ìÑDŽŽÛóÜz4Õ >ðh2x´¤ŽHÏ©éôaô/Þ} ÷ŸBýàÙ²B”Œyþ(îéÛár´)ðá Þ²Ò».¨'•´õ1 iø+—KA]:®³ŽÅ(c'¢#–T.oä'l»éio.ûªÑý@Á´$dè& è÷düRŸÃEwœKÏãÖ)‰.÷uÔxŒ1 H þ+<˜5LR^O`›è@Ü­ |8DBw¬AÙЦÑ">Ðd[ÝI›`k…ÿòãŽ8ãŽ8àbDOúŸÖÊ•.»ôay±E$Þ«ÖÄFçhê=”4K·žàJ€cÁ$ù-c"g™MkVTÛ„ÄFøÃM_¾zWþ)˜îZ×,­‚´ó¿o1ždËi4/î2P:!ÂYáöà ḩûyŒ²[b&w×—’Œ†…É«ÏÄ^ÝS+¸zS‚õóây”A]@q2qzÃBä€Õçâ/n kÜ_7­õ·xØ4©kÍLxÉ`8s{UG>1bXðæ«•-y©,oj¨çÆ,BkÕc`Ò¥¯51ã%€áÍíUøÅˆMcÚ¬lTµæ¦:ë=rÏ\³×,÷Ï<óÏ<ÀÇÏ<óÏ<ò¤^óÏ<óÏ<óÏ<óÏ<óÀ|Ó¼óË:Ö­=ÿ<óÏ<óÏ<óÏ<óÏ<ÄbóÏ<óÏ<óÑýóÏ<óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<ÁT³Ï<óÏ<òèP:óÏ<óÏ<óÏ<óÀ|SÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<óÏ<Àô“_<óÏ<óð³÷,ýË?rÏܳ÷,ÿß¹š˜€t‚Ç…½Zi5½Jk% ãÂÞ­4šÞ¥5’†ñÇáoVšMoRšÉ A#Õ SSPÐ-Z?êÞ§ EVú·©Â‚ÑU£þ­êp„ ê°¶­‰ÎƒÙÿ ëK0TŽÌìÅ6lÁ^ÌW³Ù³{1^ÌSfÌìÅ{1Nnvé ÓK¡]3_ü{õñïÕÿÇ¿Wè„Jg¤@œˆKtH L#¼ f¨€+ð[ê²`›þ]®€Á«tX!îè³€È1Wý Dᜈ  >©‘/€„Ç¢u2Ô'¶—ð†¦Ç¿òï§Â$z1ÕÂ[DŽ̫·/áè=HÅéûLÊ»rþƒ×ô˜›ô_ŸäÀ™'§¡"})Qì§àA†Ó\"æk¬«DÅsZ¨mmo⹚ë*Ñ1\Öª[[ø‚.fºÊ´AÌW5ª†ÖÖþ ‹™®²­sÍj¡µµ¿ˆ"æk¬«DÅsZ¨mmo⹚ë*Ñ1\Öª[[ø‚™ÿ.œ'@U¶U¶U¶U¶U¶P)`~˜2_¢S ¸.¡³‰7.‰ ¸¯(»ŠqåCgn]q^PÑ‘}@š½Ò’¯Uê½Wªõ2‹Z>Ñs¦ ;)[¼ïßÖDŽUÖ~á=ß¿Icýu+wûúÈ™ý½öJ Á›>~‰4Ô–è€L)ÈÏø-ÝoVšMoRšÉCxãð·«M&‡Þ}¬ý¾‰š€ˆ\à«4ü—î«Gý[ÔáAhªÑÿPôïGÑal[Õ±l[Õ±ÿ ng@d21gîÅIí> }RšbbbgÍ11¾@øÝƇÕa;¤C¹, ;$õÕ‘Wà·ÖaÒ Å[aaõL‰|'¢u2Ô'¶—ð‹™¦2ƒø¦³Â„öÒþs4ÆP<¬¿äßN€<~LBˆÏo*¥g,ÒÐÖe \{Ãåì£Õ´M¼ûuP/«ÐtN¦Cº†ÖÖþ ‹™®²­sÍj¡µµ¿ˆ"æk¬«DÅsZ¨mmo⹚ë*Ñ1\Öª[[ø‚.fºÊ´AÌW5ª$Àé:pœtAq…q…q…q„`qaum•m•m•m•m•m•m” Ätœø2z 1E »½ôÊóâš]žû•©½&ã±Ú.âœyP™’n]q^Pwãʄ̓r車ò€ ¸§U¹ÿÄ+!Aa‘01Qq@¡±Ñáð PÁ`ñÿÚ?ÿ@-$è7?ëm˜ÒMÏÝ0@°ä·ZöEëÎÖC§;¨>j‹×¬‡NwP|Õ¯;Yœî ùª/^v²9Ý æHuQl'eQ G @’ñlvÿŒ² î: rž9"¢/c»DeZ«VXo|ü‚FJ:$œÓµNQ (ƒ>¬ÎÉŽíº rØû Yo°2 swtD—«š,ä 7¨º"KÕÍrPÔ]%êçŽé 5-š©pQÙÅÑp'À Å ãe»míµPž6[¶ÑnÛU ãe»míµ@OÏZˆì,€Ýš9Á0éÀ ž?]”øývPãõÙ,]0È€,BÅ%› B—|޶-«jÚ¶­«jÚ¶­«jÚpøO®dÍ•ä±Â| UASTÕ5MSTÕ5MSTÐ (Ø`Ù _²€HcaÝ1¼œm‚bwdWÞÇ…Í ª.‰C[ð0Èè%À²1ÈàÀM3ª( 8ZÓièº#ÓëÙ²1 7å‚bsCª„ÿÊ¡š=oC>l‰E…æÌÈeõïlÙáÕ3gåû"9ø@U/)›?/ÙéÏ€¼wýœagi:pçÉÙÇײHñðm0°ä{¢õçk!ÓÔ5EëÎÖC§;¨>j‹×¬‡NwP|Õ¯;Yœî ùª/^v²9ÝAóT^¼íd:sºƒæ¨ã©×ç$:¨²#9"UPª…T*¡Uð&H¼[* w}¢Pï̃‚FTê¡3K¢æb|ÐÔä¡3K¢æb|ЉY¸hŒ¢³ð‰9UUUUUUP#< \Áݹ'÷>ë„Ñ–å½o[–ôËÏ~á †¥FgD,6þë‚rˆs{}-Ûh·mª„ñ²Ý¶‰cÀ–%±Ô: ²k"Ø (±'Ùü~»( Áà74@pŸ£²ËDf)Ù&Øû$ ')§t’©,P26(`AÏñL‰#. &tAó $R{Ð w¨ „™£kݾ1Dáˆ@.vC@èë‡ØwÂ#*uPž–E}ìx\ÐÈž°ˆQ 8R¡+M.cN‡·ñ;¼ÇslšT'þU/+!Еì¡?ò¨¹yY ›S¿ìãÀ“:pàÎ}Q2ŽnþÑ0Þçá˜ÑÓA÷Ý”ö³ƒôú®è᎓g/>>]‘ ‹?§²…ž=nèê|œ'bŽªš¢õçk!ÓÔ5EëÎÖC§;¨>j‹×¬‡NwP|Õ¯;YœîŒs $:¨²#9Ù3TÍS5LÕfUPª…T*¡U ¨UBð‚ ^-—ßtYîBŒ´»`Â辟!ŃzÔä¡3K¢æb|ÐÔä¡3K¢æb|ÐÔä˜ôÖÿÄ*!1AQaqð‘ÁÑ @¡±ñ0PáÿÚ?/SÍOͪ¿cRå¼ÛàM‡í§©-Êù?!®M í@׌)ðlÃkﯳLIŠ’ï]üÈ‘“V}áõv~Lø‘]‡co³ÿÒ‘"D‰$H‘"D‰$H‘"D‰$H‘"D‰$H‘"D‰$H‘"D‰$HÍÁf@"|à|4–ÂÂÝ3§CÞu0 Uó‘,t6VÑ=}}çþå¹ÿbîç|ŒòØì^ÄëŠEÂT¶œRï ¼ ºp³{#ÓÂ’§X °´…Ÿg ‰”ë¥ýŸçŸUη}PHýïj&P`D§€„¡b·³៎wQHÈl—èâ3žv§Ùb½h7YÄ„ÔÑäB®”*,+ùñhv! .ƒCË¢€ŠB¢ õ{¶"¬@¯ÒJWm R¸-àY¯Ý’YGtøPC‘‹ƒg1B$­´º^Ý€óêîþîAᣑë€[)(ž!Q1†ˆ„à±HB ænƒFVƒÕ©0 ñê¸j(@4zªU„4 cVW Ÿ.b º½—2•8†P¤€ENAbÔ­ èM{wL:{@˜:”ñ_Ms¤Vóõôþ~l‹°âR´½ Ø’ƒ·+3E&¬ÅŽX¡%@0]-½o¨ÎýÁ ìëÍêG-1è4ì‡zåÂ0mÚ¸%•ƒ ÕÚ…‚臄!+q뱿d“­à½LÌ02ý/¯(ÀPm ›Mz4;Þ„­ÄG®Æý’N·‚ôHe30ÀËô¾¼£A´&m5èÐïxB·»öI:Þ Ñ!”ÌÃ/ÒúòŒЙ´×£C½áJÜDzìoÙ$ëx/D†S3 ¿KëÊ0BfÓ^÷„!+q뱿d“­à½LÌ02ý/¯(ÀPm ›Mz4;Þ„­ÄG®Æý’N·‚ôHe30ÀËô¾¼£A´&m5èÐïxB·»öI:Þ Ñ!”ÌÃ/ÒúòŒЙ´×£C½áJÜDzìoÙ$ëx/D†S3 ¿KëÏz"4¸€y"oÒa\.HúPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#èC¥Šƒ¬J9ÑÖŽ ì^á*4%€å ÛA0®¤}(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá –*y¼úå³Ë=’ìåxÊ»‚Sܳò}ü3”Hñ=8hÙr”€•©SáJíÇt–`º9Œ0®©1Ù¦€ $LK1Ù¡Î"Gt†ÀÇaì8-c <0‘#ĈJHe †b€0TæÔ‘å²£Ä%æ4É-Þ[ÒÞ8"Xlj—˜_´¤^{ÛLXÈì\‚Ò#›å0‚‚€pty‚ROÐCQE„£ ¦o,"šzÆJÃy&ˆíeØDK%*s jH¿òÙQø(@ —]~Êx¬9é”ëPûNHnøuRt%Lñ£| ÆPPÆÖ=±PÖQØgÜâ+ä6OsµÍ°°³#£RÔ|Óî`¹ Ó„…²{-A †A'㇆h0²ØtÞ¸Qœø’–§AâÇ‚ml6ªvQÅŠðMBoX4¡á…¡á,ÍLøN}u^?G£¯®)PÌGTÄPŠ%@Yt(îkÒ°/ ²eWfÈÄ*p-g bïÃúsAE7m¨ Y’>A­„ñšIØR<êˆÆ€†Å…àиpT¦ ÕÁçÑ—Uãôz:úááš l¶7®o\Ô—š¤‚ ( gA£&­¶ °'å˜ÅbljѾÕ2RòF cPB(*Ìß®TCROÍà@X½%qÚõ˜ø‚ÌX¡ìöhX$ ‚¢ÍÓ®±Ñ} B°Ò@¬Ú 2ã|ã«,ç‚À©áP@Ààb¡BB%ü~&^a~Ò=yUM  0ÓÞ£–*‹Â)‚”IR…}P@ Ý :Âñ^Ò"AÙA¯äyï·íódü„Ðê4JB¸7Ô 0‡·â"v_(€C*·,t§§ôxÊ‚4¢éT)#pSkB… Úl¢w„Í'={ü«±O|Ñ ´û§*N•×… Ƈµ¸IÜ«dO“½öý¾lŸX“ØP=‚¢{\Š<•%XÄÛ£ùÕj_¡£€Ò¤SpƲ7“ Ñ]¸`˜tŒ É¥! È»%bE9ƒÉrr…ƒ' ÖAZþÀ…ol! boÛ» °yVâ?ÆO¦e[á‰9ˆ`N8;úŽàÂd„3„ø6,*ab`µM-0‚ðêð^@PþÁôrϵ,…@h” õéÐspªÎB"-AS `y¬>Ž!‰“ØXªE†õE, ÜB”#ŠM„¤Â :Mç\ý$ºárŠ<:ËÉà 4bmÇ·Í`sy‡Oûˆš špÄœ€D0' éäA§œÛ¾‰áõÆmžpD$À …; ȃO9¶1}ÃëŒÛ<àˆI€ v¤:,[ô'5öò%Û’¾Ìð>}öý¿Õdý*T……$¬±úx”CÆ1®¢wH‚'y5Àv CñÝ©„ €j »ÆamE z¦{ •®¦­zâ00)%Çéæˆ 4¢š,S|Öµ bíP „'òG Ð5Ä\VüŒ€ 2|7Ô 0‡Ž_=@€®ÊQrŒ ID±úxblE´‹`bÐA2®îƒç¨B$v/hC‹äP¿Ô ƒÀ*ªæ˜ ¤ÒT Q`€aÁÖЫo¸óþ¾Î#îÁ¶w =dïÎ 5Pâþümz¶û?ëìâ>ìgpÓÖNüàÃUÞ.øëßïÁÖЫo¸óþ¾Î#îÁ¶w =dïÎ 5Pâþümz¶û?ëìâ>ìgpÓÖNüàÃUÞ.øëßïÁÖЫo¸óþ¾Î#îÁ¶w =dïÎ 5Pâþÿî½öý¾lŸ,“ՕΧbc[9DטçIë½¢†*°´å!!&Š ã\fÌTH¢ˆà­Ç2‘Ç@Šª#[êcì¨\ÿbzT/bhƧk²/©&ô¿hÂç©Ñ 53ÔvôûË+P  üu™ã¯(‘ Z~ï–?oS¢jg¨íé÷–V¡@Aøë3Ç^Q#@´.ýß,~Þ§D(ÔÏQÛÓï,­B€ƒñÖg޼¢Fh]û¾Xý½NˆQ©ž£·§ÞYZ…ã¬ÏyD л÷|±ûz£S=GoO¼²µ ÇYž:òˆ¡wîùcö],”(d‰€ú©A ¨jƒ¶:ÍàJеVµètt°Qü¡:$Bwê¥&¡ª rØ@ë7+BÕZÖC ÑÒÀGò†@è‘ ߪ”š†¨1Ëa¬Þ­ UkY€GKeÊ¢D '~ªPBj Ç-„³x´-U­d:],”(d‰€ú©A ¨jƒ¶:ÍàJеVµètt°Qü¡:$Bwê¥&¡ª rØ@ë7+BÕZÖC ÑÒÀGò†@è‘ ߪ”š†¨1Ëa¬Þ­ UkY€GKeÊ¢D'›ÏO–O¼ò\½>û~ß6O˜’É3éÊî–\8\¨ ÅèÔ2 GÆ”}˜05ó%U"Ù†±‘¼;¸¤PvJ9ò4~Ø*¶æÆ.ð~Hßڊ}î.<» ±…ˆ3Mþ—ÉÃCûò\ô¬ªÃfˆ Ô¼M5Þ\lR6 |-Åk7ÈÀªar=³z O(%…¼}ò{¡ ¹¡rIê/ R÷=BÏÉsûQO½ÅÇâDŸ ªZC0*"ñ«ÒRÀΨtÒñBâÿÁŒh“±œ6w¬ß#©…Èâ ܺ¢!/}Tíàª|–  ú²€ÏzbT®¶^=~“(?СO^=ÝßÀMØ=0rs«»ø ¹†ŽG® :,Ä–¡Uu^ž =Dµ‘Ðôׯ›©oU¶|Ž>ÉNB„tPSÆ|ëFv†žæ ìóI€G|”U|+dªÁ¾Jဩýˆ` ']}«fð¶a•AÒxà\¥a‚ñÈ*‘lÃXÈÞ;i Ec Á\ßå‘rÔ3O>f5õB[zDçª?EBŽƒþIørMèèà"›âò uˆƒ–uÒÐ%Â=± ¡>JªÒIâ˜Raz €r )ë4 ç'‡ikQ†§eˆ†)éê°¸/0ŸHZ><¯Æ‰GÙV%Ÿ¡^2Xî0uOX-[7…³ ¨ “Çå+ €(´›ßoÛÿ“ò Üy!BQàçŽ`=R“#NúxÜØ'=nªbÑ.) 2EWêò 3䪚!Fç@n%ÈJ»Ô)fºa# 48r•:ük"J½«~ ÑW—kØŒö~·,ŒN#¬¦êðÄm Q¢".©±h£Ò5 (”8–„Wäd! ŠŸ’ãÁ-ÐY!a*B…‡ÿ$AV   ¿ƒý÷¾ß·Í“çYæ`ÒØ‚ÉŤp2r««(U¢¼F’Ü@Ñš[½T1Þy0ød…} u$Ú˜š"ƒA…omP™ê•}UäA§œÛ¾‰áõÆ|ÆdC“Ï„AV   ¿ƒá@]6U2V½Ö÷Ä ô—P4Z=Ž‘ç˜ÆÎdé×Âtúù‰vál¯£˜`h ÂIþö êH4ÞksÅí,à€õ½¤fîéJÐ …«å_s¡b "\F<3#‰OsC ž)\‘ØPD‚€û_\%d]@3¹:û8,Õ´#Äx=¢Ž$ä*«€xI!‰!N»0"ƒ #D)ß ~fgú$v'` >××ÇÚ °¡ûL=`y=¢ÿÓJÍ› %Ñ wè™™ñŒ|eDƒzï[$Ö,§6ê† G°vçF—¯¼]A«Z~Eò0ZÊ({x[øE8³ì6…äý@„E 4é« Iv¤ŽÀ€$@ä¦W¢@X®“£[\V‘W•Pµ-¦Uá T$Ž+P¥¯d‘šj¡ì=Êx7y‡0T`ž§çûíûñ²|ÂC¼ U¤Ÿ§Ó96©Ž½våMfÛ¹-HKR h¨“à‘«“Š\NsÄ™±'#áE ­[!éýt¢ åQ%ZœM`>Óp"€¿”™Mëÿ–Ð1ï?_눂OÕ+Ѽ <Íú9J‰—Ÿ|’9w@Ü.ðoz·ê™ˆf…Q 霛TÇÞ»s«Cè6°"@‰_ÿ#ßoÛæÉô'¢ÖÖšE`V8:3É€E´«šBš@WÌ铸A&— “Á%‚Á§^°Š˜êTT,Õ£hŽÑD ºD?ìë—Á·jà–V äXŠV‹&üðè\K1B qoa’=± SÐz¨ár,E+E“Fþx:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw… Õ]Aˆ¥Ðj:±.«ÝÜàêTâuÇQ,ÑÀw‰²”5Ä…8˜W „R>€:X¨:Ä£a¨âÅán£BXR ´ ápŠGЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.HúPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#èC¥Šžo>¹lòÏgd»>=öý¾lŸ:œ ÐsfBž a± ñÀ„i8ŽïJhD˜ŒÅsÝ™bA8‘~¸CÌÆ’T â¢b<4}.¯MƒÒhP 9„µ¤_ùl¨ñgÚ– 4J­Q !uÕ«# ØÏ§š¹”V›A,yˆQ‰¾Pc((G˜%$ý5QJ0ªfòÂ)§¬d¬7’hŽÑ–]dD²R§0– ‹ÿ-•‚„² u×ì§ŠÁªÈÁ…ö3éæ ýyµµˆD<bo” ÁÑøÚǶ*Ê; ûœJEô˜”:2ù`Œ÷ª‰Î‹ËJÕY\(Z¦$Ž·du£°_fy¤:´¨¢trð|û:–ž'0QÜCCCzq¯ ÂìQ:ÀOQ:ˆJ"ªœÎ¯þž`I |P<ð}œŸ› ØÉe•IëN8¦¶€(Z¬À{ ˆhÀF‚!ÀËâIÚà‡º9ÅûT!X¦pÀl Õ¼Q…tÈ€v´Êh©Z ÙÁ‡˜h<G3<ÒZTQ:8å‹–#!,‹Ôjš@¶8²ð¿ªj5Âçd"4’ŠŸ¨€àG¸èÎOß ²b°!Œ/ ‚Ž;^³0Y‹ žÍ ”T@ù²uÖ:0/ ”VH‚»XA&Boœue€ðX ¼* T(HD áÚõ˜ø‚ÌX¡Ð¾)hE#ÁÊ2pÌPð ±|+ÚDH"C;(5ü=öý¾lŸ€C°šF‰HW€ùÂDhŠD:H‚#IàЄ 4ÄŒ ID±úxÊ‚4¢éT)#?íVj kÎŽD°œÃ¹Ã„¡fv7XyUau²À ø|5ðD°ª±¢€1Cˆ¿3‰™†Œð›œY‚ØbÊBèXãÏ'Q}^¨  /ˆÅßKý£ô¨„9áÐïú8“HˆŽ"då¡×q”- ¡¦´MU„[ P`xp³ÓÓ§d ×hožˆMx‚ ¼@ð1P…©E"qX ,‘䣀@ùaÏ *t„§z'Øò#úÔ¬ˆAÐæ.YŸ¢±^+>Qµ×eéÏÐTœ¹ù¨:@v€Ç€I(–?OŒ¥±É@ U¹$Kà …P=ºÚ·p—¨½êÜ, d¡?¬!À"ñélTFí܆B¾K¨Y:„àB(Y ‘„DPèËö¢P•ˆ]P¨oÀ.æ“e©Ûï`˜(ÁÕ6bE\^‚c‘pŠäœóq,‚*( `| J !D±DDE#"X(¥D•U<$muÙ@ºsô§.~A* óÏ}¿oõÙ? (I m„‚”"$T‚ŠyZÃZ"†«¡Êó§ÚåŠO@ ¤ÊC"¬-IK§IœR Ê •úxÅïYU×/NÃáõóÔÐÞiØ 8Xĺxd!š¡­Ò`Ó¤Ž='àÃH¶AàdÊhz…*!F¬n¢¸2ƒÂÁe~ž^Ful"â"øƒ¬xjÈ‘‚¼¡FiayáºÒv;èu:BW­ ) ?AüûóˇҺ±ÎŸÿßoÛæÉü¥4ô¡d”RW|¤‡p¸*m°àoFzVRŠÉ¢·—ýÓ°]dÀÉ·$0P‰QÓ|"¿ìN­LäV ?2~ó’ÈÓï«dÜA1 èÚÀЕíEug°Ê%t{”WîËÒì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒjÌ'åKuùõ#ÝÏ}¿o›'û*‚íkR´T9cÙÃM–ÔOž¨xÈ™!*–(‰aœcÝ%0™œ¿Pá%AÁneš"àH™ Q< *鮘þƇjÙI×ízLð)à< AE•<3r_ˆ¢1¨Ë8uàçb_bo‡hôÂú¨¯fƒ¢‡}ÁBÁôÄÎÎáD$R€')ƒý7’€ŽêR ’­t‹½Nš¯~ ÿvG†ˆ9ti3ú–ŽZ4LCG5§A½ºPã»/pQÙãÄâ%Äs+^†§BdÄÂv~ƒú€æƒñíx÷Îï“›y .àQ©QK‚!‰EwDF¶pŒ„M€BŠì x •Y¾Âý¡R* ©:{ëŠ}¤"¢€…×hó ¹:V<}Jq\ɧ%ÃèÕÐ"¿L[hK4 â «ê8Sà‚6Z(I@XüB„‚þN+‹b¡V¬C§`ªÂkÎrÎɧ@㵸IÜ«dOƒ¿¯ÃϤe’Ç“ÆÄd̰ 4Á@9œïK°Húâ!Œ†’À*©BŽ2tœüX&?%øŒq{ ‘ÚJh2^qñT+·˜*#‘±Fèƒ÷° M?9Äk2"§K±ì)Àøžp*^š 1ÀÅoÅîÍm” ¬|à¦Ö… (<Ööt=;©fÎ+Ð+ ëð!<”„7x: 0'JëÂŒcÃÚÜ$ŠîU²§ÉÞû~ß6O¬Iì(ÁQ=®EJ‰¬bíÎÑüêµ/ÐŒÇÑÇr ÄLœ—ÉHhÑ•NDÅD$HB¾ù±|Ö1 “U[ŒA°ØDkõ+B3É*8@Ž òÁÛB¡a<°X&¸‘µÌU|ÓȃO9¶1}ÃëŒÛ<àˆI€ vŸÉ´ñüw¼Eù¡g)ÿê„é΋ý Í}¼‰vàd¯³|ÏŸ}¿o›'á×8Ìa E"DÏŠPˆhX5÷â—ê•ÙÕ)öø‰¡Ü‹ä!@šnñT*l22®·8!8¢BÅxbC œæÏDH)¥®,l)FF²ê¨Æ\5 1~DO8„y#…èâ.äÉ`ؤõâpp @À0PSˆp(åóÔ á ¥,9á%N”ïDû;>«@*¢Ž¡8 7²”YÀ®N qS EHDöÕÞ¥$ ô DÍzB•$ç4ê*½UZ޶€½[}ÇŸõöq”äUFköÿ‰ü}¿o›'ÄZ:F=ë‚Ùß׿õP}¬PUø³fQP(Þ ý`~OtjvUoa-é)$:=¿ìBå`É)œ¢Fh]û¾Xý½NˆQ©ž£·§ÞNªÂ°© ΰ~ u›À•¡j­k!Ðèé` £ùC tH„ïÕJMCTå°ÖoV…ªµ¬‡@ £¥€2å Ñ"¿U(!5 Pc–ÂY¼ ZªÖ².Ž–Ê?”2Dˆ@NýT „Ô5AŽ[fð%hZ«ZÈtº:X(þPÈ!;õR‚PÕ9l u›À•¡j­k!Ðèé` £ùC tH„ïÕJMCTå°ÖoV…ªµ¬‡@ £¥€2å Ñ"¿U(!5 Pc–ÂY¼ ZªÖ².Ž–Ê?”2Dˆ@NýT „Ô5AŽ[fð%hZ«ZÈtº:X(þPÈ!;õR‚PÕ9l u›À•¡j­k!Ðèé` £ùC tH„ïÕJMCTå°ÖoV…ªµ¬‡@ £¥€2å Ñ"¿U(!5 Pc–ÂY¼ ZªÖ².Ž–Ê?”2Dˆ@NýT „Ô5AŽ[fð%hZ«ZÈtº:X(þPÈ!<Þz|²}ç’åèù÷Ûöù²|Ä–I˜¿NWt²áÆ/èÚ‘ƒ²"Ú¶- ×mð%U"Ù†±‘¼;¸¤PvJ9ò4~Ø*¶æÆ.ð~Hßڊ}î.<ËC)Å ,Tˆ÷ç–¡gH¤ å’ ^’–uC¤—Šþ cDˆ᳸­fùL.G¶oAiâ°·¾@ït Ô4.I=Eä ^ç¨P9ù#j)÷¸¸üM=q0°„B8µzJXÕ:^(\_ø1v †Îâµ›ä`U0¹A{—TD%謁O’Ô_B`vAà"PïLJ•ÖËǯÒeúT)ëÇ»»ø »¦C®E ­[!éýt¢ åQ%ZœE?ž¢ZÈŠèzkÆãMŒT·Š*Û ¾GŸd§!B:()ã>u£;COsvy€¤À#¾ NÊ ª¾^%Ñ´ #d8E½½JÞ4”Õ³x[0Ê€ é¾H(J,Rþ^2®²„Hj}¾Þ8“HˆŽ"däA§œÛ¾‰áõÀ˜ „‰èWß"]¸+ìÁ_ó— ¸çÕc!ó’LjbªÆSV¥«^è*oo¸Lì]¦N!ùã†:ÜÍî^ ¨…ž'±:S/Ôà‚¦öû„ÎÅÚdâž<(iÓ­ÌÞåâ ˆYâ{s¥2ýNè*oo¸Lì]¦N!ùã†:ÜÍî^ ¨…ž'±:S/Ôà‚¦öû„ÎÅÚdãÿ;,"¨ôÏÃܼ~æY^„ôO8 ›*»)Þ£zà„ÎÓ Dkë/ÜË+Ђž‰çÓeWe!Ôo\™Ú`¡p(í}rû™ezSÑ<â€:lªì¤#zë‚;L.=¯®@¿s,¯B z'œPM•]”„oQ½pBgi‚…À¢µõÈîe•èAODóŠé²«²ê7®Lí0P¸@ö¾¹ý̲½)èžq@6UvR½FõÁ ¦ ˆ×× _¹–W¡=Î(¦Ê®ÊB7¨Þ¸!3´ÁBàQÚúä ÷2Êô §¢yÅtÙUÙHFõ×&v˜(\ {_\~æY^„ôO8 ›*»)Þ£zç›W«Ùi–?Ñù÷Ûöù²}€+&Ç@¸2 éÒȈ¡kü¸§ú"hl(vJheå¢jösè»Êu(ˤ³èmàς$ìÚúøX¤«…AÁž‘é©Ïêú3þ!®T #D)ß ~fgú$v'` >××ÅÙV0v±DV¸o\q' U\ÛÂI I t…Ù¡!Nýó3>"Lj)á‡B~ü ¸¨õ?à/S¿ÒYJ‚PRNÞú÷ô†4!U`•2½d ¸¨õ?à/S¿ÒYJ‚PRNÞú÷ô™¤•É’3E)qÝ‹¨¿MbIzE*ÔÖÀ(Ci…ÐIÕ|÷ôw§üêwúK)PJ IÛß^þûdUù+÷‰vàl³D<ÏŒD•@ ¢€T^“H¢&"mã#˜Ì ¥fXv¿ã¶Z!ä—M$@\_€WÏ•gmèd"½ý„*#B6‚[€ÂPXh8P‹t ®ZkiáÊf‡ÉY À @ö pµë^Ÿù/§Ìä‚­8Q©4¾‚Pº’)—…ÅÅan¶#„(  ±À]›ªÚŠ@ê®2щ1L#îéÖF`6(d(îpN!KªÝR5 8{>zÄ Ì:0ã®#’Q,~žf€f›kG ÚpÁˆµX´Ðß?wdÒ@PÓéÛ_6Pxhh]PBJts2†¨Bi%Ì^O‚""ÇâÊ (N Aj0 BÕ #ŠÁT)kÁY$fš¨{@2ž ÞaÌ'©øì à@°°Y_§‹Š¡YHU T‡û`©¬Ãà”æwÄ¡l† À€šh‡T5‚}øÊˆ õÞ¶I¬YOmÕ `4íÎ/_xºƒV´ üŠ5ä`µ”(Pöð·ðŠqgØm ÉúŠiÓV)@’íIHÉL¯D€±]'F¶¸­# ¯*¡j[L«Â¨(IV ¡K^ É#4ÕCØz”ðnó`¨À=OÏ÷ÛöÿU“ä² ¤[0Ö27–»k"AF€ãǾI»È nx’öÂ]c Èòâ¦ta>™ÅB¢¬¥"Ä$©Y`• ²h¬m'Š…@„Å@äÀ­¢…V­Žôþ:Q r¨’­ N+½ÄG+ž  ,š>.Âlab œܔQÙ –ÑȯõÄAF§ê•èÞžf€}¥DËϾI»È nx7½[õLÄ3B¨†tÎMªc€oFݹաôX D¯ÿ‘ï·íódÿèÏÒkÂëNªh ŠwpåàMÛŠ*HÁ¨4èF8(]A â“àÝÕG«5ÙA4@wMÒ°w®\#Ý«‚YX+‘`)X",š7óÀî¦×P”e48¢¸¢C)™†_¥õå ¡3i¯F‡{•¸ˆõØß²IÖð^‰ ¦f~—×”`(6„ͦ½ïBVâ#×c~É'[Áz$2™˜`eú_^Q€ Ú6šôhw¼! [ˆ]û$oèÊfa—é}yFƒhLÚkÑ¡Þð„%n"=v7ì’u¼¢C)™†_¥õå ¡3i¯F‡{•¸ˆõØß²IÖð^‰ ¦f~—×”`(6„ͦ½ïBVâ#×c~É'[Áz$2™˜`eú_^Q€ Ú6šôhw¼! [ˆ]û$oèÊfa—é}yFƒhLÚkÑ¡Þð„%n"=v7ì’u¼¢C)™†_¥õå ¡3i¯F‡{•¸ˆõØß²IÖð^‰ ¦f~—×”`(6„ͦ½ïBVâ#×c~É'[Áz$2™˜`eú_^Q€ Ú6šôhw¼! [ˆ]û$oèÊfa—é}yFƒhLÚkÑ¡Þð„%n"=v7ì’u¼ I"–:Ìy`[ðÅS¨—÷Ó—ïò˜¯ÊÉó­´ô``£Ž UT`pƸ´ßÝ ª;˜\»9PÑ6®ªC¬8%’v@2¡¡b`P*Ù¤Vk€`©Ì%¨"ÿËeG5{í– _ºs·Ô2L4"‡rUÀ ¼d]¥ ¯GA/”bo” ÁÑæ I?A EBŒ*™¼°Šië+ äš#´e—`Y,”©Ì%¨"ÿËeGà¡@,‚]uû)âìðdĪÀzåã^(ÈV;ÅŠ‡$bo” ÁÑøÚǶ*Ê; ûœJEô˜”*ÿ²´|º':-GÍ>æ Ý8H['²Ôxd~8xfƒ[-‡Më…ω)jt,x!†Ð&Èj§eX¯Ô&õƒJZÌÔχôçÑ—Uãôz:úâ• ÄuAlE¢T—@Žæ½ PkðË&Uva¼ŒA" 'Öp°f.ü?§“Î)(‚,ªÀ$/cW³Â:Â× Q&@8!é MâùŠ”Ô¸<ú2ê¼~G_\<3A€­–æõÍëš’óBôAE,è4`äÕ öÔü³x¬MA7Ú¦JQ¾HÄ£.«ÇèôuõÀn­÷x2 ‹¬®4SvÚ€ Å™ Œí'A„€²³…ƒ1wáý8- fjgÃúpYcJt™àÄÐ!XBïâ±ÚÄ”™`ãµX+Ò;8°+‰æNÑqN昌R 7•èˆ_j`îrë5RK@ FgÀrêZô€( 8b‰2ÁMoÊPР CÀZƒ`{‚„I&ý:q „Ú¢~Ÿ+'àì&€§Q¢RÄ >p‘"‘’ ˆÒx4!† ñ#’Q,~ž2‚ (ºU BÄ·A§¢ œ·/)„°Zß¿º¤ó ¹ Í6:Ñïïx|„\ÖÅ ¥Ô\Ô·u:V׫TŽr3 8tÔ)d ú ¾„Ì” C ?×[mtˆò~ÎjA:}K:—Ërò˜K­ûûªOÇ£‘,'ðÅ„.púbÏ/èV!͈åºRýhÈ —Ád ú Ÿ“ó7(1wDA`¶²ƒº8óÀIÔ_Wª( â1wÒÿhý*!xAC´{À>ƒŽ$ä"#ˆ™9huÜe H(i­F•aÈÞ#ìôôéÙuÚç¢^ ƒ/< T$¡jQHœ`VK$y(à?ˆ © @%Š_ËÁ‹5J>ÅRvªpµ×eéÏÐTœ¹ù¨:@v€Ç€I(–?OŒ¥±É@ U¹$Kà …P=ºÚ·p—¨½êÜ, d¡?¬!ð*¸5«çN¯å‘NBBÈTŒ""‡F_µú„¬Bê…C~w0”›-NØw{Á@Îæ©°«*âô“‹„W$à7›‰d‘Q@kàCR¢1KxÅË3ôV+À`GÊ6ºì ]9ú €S—? •HÐùç¾ß·ú쟅 /?Y²Ó,§ÃÑgT¡#,Ø=ZÔOܶéä§”bý÷œódÕ¨çfÑL§->‘¥q ‘žÉ¯áÄœ‚DDq'1.žÙf¬ï|1J×B$8!>b‘ÙUÏp~G–ÏDH)¥®*J2„'šaYt-G—ðÀ B׉~w ÷P‰Èð=*Ê:å©*ÓŸµ•¨;@ IÏäߟÈÿ¿?‘ÿ~#þüþGýùüûóù÷çò?ïÏäߟÈÿ¿<¸}+«éÿ}ï·íódùþK‡ò˘H±Õ\Aè‹C/`†©¤$!°§º!:ú ¾*cV`à¨ÉþË«´vË©†Nt½wÄ2%¡`ö:‡f-ö_FÖF„¯j+«=h(£iË '¦Ä2%¡`ö:‡f-ö_FÖF„¯j+«=h(£iË '¦Ä2%¡`ö:‡f-ö_FÖF„¯j+«=h(£iË '¦Ä2%¡`ö:‡f-ö_FÖF„¯j+«=†Q( £Ü¢¿v^Ge…F‰Œ#t[°d nÚ&A„5B‰¶1ê®HãqvXTh˜Â7E»@Öí¡òaÔCT(›c :ªá¤Ž7Ge…F‰Œ#t[°d nÚ&A„5B‰¶1ê®HãqvXTh˜Â7E»@Öí¡òaÔCT(›c :ªá¤Ž7Ge…F‰Œ#t[°d nÚ&A„5B‰¶1ê®HãqvXTh˜Â7E»@Öí¡òaÔCT(›c :ªá¤Ž7Ge…F‰Œ#t[°d nÚ&A„5B‰¶1ê®HãqvXTh˜Â7E»@Öí¡òaÔCT(›c :ªá¤Ž7Ge…F‰Œ#t[°d nÚ&A„5Næò¥ºüú‘îçǾ߷͓ý•Avµ©Z*»ràã'ŒÀë·Ç )€0¦Ã®™ÁëéRÉcËõŽTLàæY¢.‰š#À±â®šáéìh|î@€Ž•Rœq\Th û°™`Ó,È‘2‘8;G¦ÕE{4 êytýfB¡rÖ>ÝhÀð†+†V¨Õ£–¼/ô¿pn}©`Œ*óD Q6.ðArBë®q‰+wLíú¦bŸv†éÍ ž€œ=&+ELh¥· €CyôŨ¢ øí„~Â#_©ćôƒG­««[‹f°9‡<çÇýˆÄMM8bN@"“âÊkI0ÞÖï&Wf#?‘ÇŠuÌÛÁ„„ŸÀ/´®üŠò7j6»m ÷Éc ÃÇoH©›gœ 0C¡NÂqÄœ‚DDq'~hYÊÃú§a:Gó¢Å¿Bs_o"]¸+ìÁ_óáÄœ‚DDq'åòR4E¥Sžc9“§_ Óëž3djx/‡× ?p–«ÿAô@; ´+ÛÉÒ&N€æmàÊÒÏäGÒÓ~tø kJ¨iô}p#j˜ªø#§‘žslbú'‡×¶yÁ“$:ì"¥¦ºÒ¤µ­n׋é†Õò4î·¾"üг”ÿ‡õNÂtçE‹~„æ¾ÞD»p2WÙ‚¾çϾ߷ú,Ÿ¥ ¾’ð(•è.°5ÿM(šȾB ¡6ïB¦Ã  jës‚Š$,W†$0ÙÎlðdD‚šQzáÆÂ”da{.ª€q' ‘DÉËC®ã(ZACMh‘b ‡-©õð7Ô 0‡Ž_=@€®ÊQrÞTé NôO±ã³ê°dª(ꀓ{)Eœêäê1bT„Am]ê]ˆN",mn@Ò£ëhië_µwÿ•ZµjÕ«V­S è²å”äUFköÿ‰ß{íû|Ù?Ö"\ðaÛê‘Vð8i_^¸Û\xò”‘‡Xð}O?öƒÒ¡{@Ö5;]‘yL"@ ²ç߇~èà~𰬕EïLÇaRwa÷¯)„BÈVC¼ûðïݳV’¨½é˜ì*Nì>õáå0ˆY*ÈwŸ~û£øVj²U½3…I݇޼A°ÀöªJìÐ ¤ Ý•ž’QKMŽ' ÕaXT†gX?P:ÍàJеVµètt°Qü¡:$Bwê¥&¡ª rØ@ë7+BÕZÖC ÑÒÀGò†@è‘ ߪ”š†¨1Ëa¬Þ­ UkY€GKeÊ¢D '~ªPBj Ç-„³x´-U­d:],”(d‰€ú©A ¨jƒ¶:ÍàJеVµètt°Qü¡:$Bwê¥&¡ª rØ@ë7+BÕZÖC ÑÒÀGò†@è‘ ߪ”š†¨1Ëa¬Þ­ UkY€GKeÊ¢D '~ªPBj Ç-„³x´-U­d:],”(d‰€ú©A ¨jƒ¶:ÍàJеVµètt°Qü¡:$By¼ôùdûÏ%ËÑóï·íódüH±mÎ ²¤ äãö‡h0Y{ƒ‹‚¸Q‰` †*9ÉdH¶a¬doî)’€CŽ|€Í¶ ­¹±‹¼’0çö¢Ÿ{‹6Ô[Û®‚° в”ˆS’¥ ïF”T“(ýŒ¨ñØtÌ]R( åÙÜV³|Œ ¦#Û7 ´ñ‚X[Çß wºj š$ž¢ò/sÔ(ü‘‡?µûÜ\~3è×ÍmûkS¹£p@`UAzo°r‡#-A. Åk7ÈÀªar8‚÷.¨ˆKßU;x*Ÿ%¨¾„ÀìƒÀD 3Þ˜•+­—_¤Êô¨S×wwðvL‡\\ºME§¸Ip"N‹ñ%¨U]W§‚ŸÏQ-dEt=5ãq¦Æ*[Åm„ß#O²S¡ñŸ:Ñ¡§¹ˆ;<ÀR`ß§eU\z»¿€»xhäzà!¨ .‡(\E½½JÞ4”Õ³x[0Ê€ éŠV*uÕÛ(0Mìžsxʈ3œhY¸"@ˆ‰±™Ê1yŠ(Bâm 3<è”@Èw÷ð1#° ‰;ö¾¸9:JȺ€gruös+’ÀUÍi’ôœÙàɉT5€õÀ}«Qs@QåÑ wè™™þ‰…IØ(µõðeß@Œ]ªÿ@Wá.šH€¸ ¿¯œtZ#8S‘” #D)ß ~fgÆ*×B=ÄèìS«ó9ÑÛ ÖL–R ”“·¾½ý!€UXeL¯Yî*=Oø Ôïô–R ”“·¾½ý&i%C²d‚ ÑJ\LWí!¨ žþ!@—¤R¡Ml„6˜]WÏHqQêÀ^§¤²• ¤½õïé¶AHÕ_’¿wñÈ—nÈû4CÁ|øÁITª(U@á‰9Š"b&Þ29ŒÂ Vau‡akþ;aE¢~ItÒDÀUø|ùVvÑžÄOˆ¥ì2þ alD•@ ¢€T^¾kH)5hÃC„‡À4œàÐ ‹XXvƒGV4͆u«~¾ç0î]Ë$@ˆD:äK·d}š!à¾qÄœ€EUpo]}˜©Z„«D!B ˆ DDŒ2îkP"¸¤åÿ°Œ@¢Ñ?>û~ß6O“¦ŠIlØ¥ÒyÄ« àÑ»1BÔ0 6â5ÈÁ«ˆ¼Ì à@°°Y_§r0EÍZ±ÌÂÞ"Œ¸˜ùöÌY {8HÚõ¯N/j*\D ]L^ [¯ª U.⤀æ”A:N¢Wi ÔC 2…¹A-ˆÀa (,4 ( EºˆW-5´Æðå³@Ãä¬H`H {8HÚõ¯O„©æÝ&*È Ä7`¼£À<‹GY²Ï&%ÜN¦< –ÀÄ`0…”8 ³u[QHUÆZ1&)’¢}Ã=:ÈÌÅ …ÁéÄ3©u[ªF¡‡gÏXY‡FtuÄ``RJ%ÓÀ Ð Ómhâ{N­Ò`Ó¤Ž='wdÒ@PÓéÛ_6Pxhh]PBJts2†¨Bi%Ì^O‚""ÇâÊ (N Aj0 BÕ #ŠÁT)kÁY$fš¨{@2ž ÞaÌ'©øì à@°°Y_§‹Š¡YHU T‡û`©¬Ãà”æwÄ¡l† À€šh‡T5‚}øÊˆ õÞ¶I¬YOmÕ `4íÎ/_xºƒV´ üŠ5ä`µ”(Pöð·ðŠqgØm ÉúŠiÓV)@’íIHÉÄœ‚DDq'&+‚Mˆè˜<¼2ñ2žÈ £Jò©[DÑqd¨›»Ì9‚ õ??ßoÛýVO”Ab²1B)|¥û9R‡:‡BP€‡¤!Z7Dz;P”öÀ<¶SsL)¡’ñáN¾ÌW× È›­ËÞ@£Š6Xª4Ò¨ ¼ ©^¸F )=~ (UjØáOèó¥ W*‰*ДãßDä*,V$_ÐÊqH "=ùäǪº†Å‰«zÿ\Dj~©^àIæhÑÊTL¼ûä‘˼‚áwƒ{Õ¿TÌC4*ˆ ‘ï­öÂÚ•Iÿå=öý¾lŸ½-—!Òõ4oxNLåâR²l$8ÜI’ q97Gƒ˜¾£/J$h8…pÀÖ™T𾂔¸+!Ža·Ø(.?Dî~“^Xòpq4)HÈUs†Âÿ`V\ÔÈ=ú„¦^æÎ­C‡ÒzÇyV-»¡‡›ŒˆY‰£?)[vú(ŠÃ_Bðžë†'^Áé“=@¨`(”=™{›8µÀ³*“WÐR—ÄÊàéK‹Z ?èœ= N©÷þx‘û ¬:0¯]ܸwSk¨J2šœQ\e桨“ ûëx¼-ÂThKÊA¶‚a\.HúPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#èC¥Šƒ¬J9ÑÖŽ ì^á*4%€å ÛA0®¤}(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá –*±(ä#GX@j8ƒ±x[„¨Ð–”ƒm¸\"‘ô¡ÒÅAÖ%„hë Gv/ p•Àrm ˜W „R>€:X¨:Ä£a¨âÅán£BXR ´ ápŠGЇKX”r£¬ 5Aؼ-ÂThKÊA¶‚a\.HúPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#èC¥Šƒ¬J9ÑÖŽ ì^á*4%€å ÛA0®¤}(t±SÍç×-žYìì—gǾ߷͓óÃè@G»Ži‰‚ ‰/°(­DoY­ˆÊàvr¡¢m]T‡Xq»ëÀ¨0`SÄF™…€Y‡¨Ž KÿФY%ÃóHÒ¥J´ÑªEuË®=‰†¼ "ÀD2mÂ>¸¯åãŸpá˜R(_9êoHF*fœ-ó*xУ¤¥@Ô Q1T³HwÄ3cëúDе³ÁÌ7ÀëÅKƒÈB˜°·íUªÓ[#ц{=üû<1*†°¹x׊2Žñb¡É›å0‚‚€pt~×¹¤-'é½=m™ åÓÉ!ÕQ!Wø}•£åÑ9ÑÂÈíbp— B]_„Þ ŘˆÑD>ðNgïˆ`õèìæêÀQUݸLíÃ9þˆJ“`”“ôÔQD!(Ìã‹Ñ åìA¬ Ç¼× ¼¥ÁÐTà—M$@\_€WÎ1fÈP$å¼}vÐÖ1Œ˜Š(YÆ\q ¡Œòë9+ÚDH"C;(5ü6x2bU `=s¼Æ%– d .,RU àÏHôÔXÕÄ­W¢s¡(Â) @ §í£¨†¤Ÿ›À€±zJãµë1ð#˜±B ÙìаIAD›!§]c£ú @…a¤X+µ„d!ÆùÇVXÏR  ÀÅB„„Jøq' U\ÛÎçü•ܨý:8~»hkÆLE,ãG܃1’= f½¤D‚$3²ƒ_Èóßo󾃿;  )Ôh”…qÝA@LÀ`8G[ñ‘;/”ˆ@F$¢Xýa@´bA÷äÀçä éaÚ?F$¢Xý¬)¥²xØ´p·Ñ8¿¨m ˡҺ±ÎŸÿßoÛæÉ÷w à+RÑhNpó–Ù¥ZaÅp „/QÔé\”ßíWhí—S œézïˆdKBÁìuÌ[쾬 ^ÔWV{ ¢PG¹E~ì½ ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†¨Q6Æ"uUÃIn ŽË Fè·`ÈÝ´>L:ƒj…lb!‡U\4‘Æâì°¨Ñ1„n‹v ­ÛCäè0†©ÜÂ~T·_ŸR=Üø÷Ûöù²}ÖÒjU¦ ³ƒšT@ ‡èêq:ñ¡ê –ÂÒpþ¿>‘–K4ØXšÄ"”)Á̳D\ 4 GcÅ]5ÃÓØÐà9LcŠJ‚ `äÀý&"¦Kœ<¤E¯é ÔïÔW 9\ü•’`´€¥q»G¦ÕE{4 êytýfB¡rÖ>ÝhÀð†+†V¨Õ£–E~˜¶Ð –iAÄ*WÔp§À?4l´P’€±ø… !ü:œW0ÅB­X‡NÁU'JëÂŒcÃÚÜ$ŠîU²§Áß×áçÒ2ÉcÉãb2fXš`‚ Îw¥Ø$} ñ?ÆCI`T¡G:N~,ŸüF8½†Hí%4 /8‹xªÛŽLÈØ£tAûئŸœâ5™ S¥Ø‚và|O8 /M˜àb·€b‰wf¶ÊV>pSkB…1(š£Q|y(<•Ž躊ŽL‹ÍÅŒ1P«V!Ó°UIÒºð£$Àðö· "»•l€iòw¾ß·Í“ë{ °TOcëŽ$ä"#ˆ™8±'°  {Dö>¸âNA""8‰“€òù) "ƒÒ©À˜ „‰èWß6/šÆ$j«q‚¬¼g‚‚›H£5à;RÕ(àŸ,´*Ë‚bš@R‚öÔ IÈ@2s¤wC½Ôûå´h¡(…¡ŽÔ”r\T#”E°ÿ¯ ý/Ü…ŸjX# €<Ñ(64N)#€EcÇø’·tÀߪ`‚T±÷†GAÅo¤ÅbƒÂè©¶ôo>ƒØµA°ØDkõ#â>hõµup+q` ÖG0ç˜tøÿ±‰¢ § IÈ@2|YMq¢`é&ÚÝäÊìÀ„gò8ñN¹›x0“øö•ß’^FíF×m´ù,a1¸`Xíé 3ló‚!&Ht)ØN8“HˆŽ"dâ/Í 9OøTì'HþtX·èNkíäK·%}˜+à|8“HˆŽ"dà<¾JCFˆ ôªsÌcg2tëá:}r³ÆlOðúäîÕè>€p"GaABö‚å}ðƒuy:DÉÐ`ͼZYüˆúZo΀¿ iU >®äm@³@tò ÓÎmŒ_Dðúã6Ï8"`‡B„T´×ZT–µ­Úñ`}0Ú¾F‘½Ö÷Ä_šrŸðþ©ØN‘üè±oМ×ÛÈ—nJû0WÀ<ù÷ÛöÿE“ôˆ¢¸2 š=މÂ14(`íS Êô/Å&!iAú1v‡"hw"ùP&„Û¼U › € «­ÎN(±^Ãg9³Á‘ iEë„  Q‘…캪qÄœ‚DDq'-»Œ¡i 5¢B PžK)]|7Ô 0‡Ž_=@€®ÊQrÞTé NôO±ã³ê°dª(ꀓ{)Eœêäê1bT„Am]êRJA@”A¬×¤)R@nsN¢«ÕU¨ëh Õ·Üyÿ_g÷`Û;†ž²wç¨FñwÇ^ÿ~¶€½[}ÇŸõöqv ³¸ië'~paª„o|uï÷àëh Õ·Üyÿ_g÷`Û;†ž²wç¨FñwÇ^ÿ~¶€½[}ÇŸõöq”äUFköÿ‰ß{íû|Ù>žca“чթÃ= ë&m„mî"UOd¿6¯T›;F›ŒD@ì6àÁƒ-Nip]›l~_ö.‡€!r°d”ÎÎQ#@´.ýß,~Þ§D(ÔÏQÛÓï,­B€ƒñÖg޼¢Fh]û¾Xý½NˆQ©ž£·§ÞYZ…ã¬ÏyD л÷|±ûz£S=GoO¼²µ ÇYž:òˆ¡wîùcöõ:!F¦zŽÞŸy8f« ¤3:ÁúÖoV…ªµ¬‡@ £¥€2å Ñ"¿U(!5 Pc–ÂY¼ ZªÖ².Ž–Ê?”2Dˆ@NýT „Ô5AŽ[fð%hZ«ZÈtº:X(þPÈ!;õR‚PÕ9l u›À•¡j­k!Ðèé` £ùC tH„ïÕJMCTå°ÖoV…ªµ¬‡@ £¥€2å Ñ"¿U(!5 Pc–ÂY¼ ZªÖ².Ž–Ê?”2Dˆ@NýT „Ô5AŽ[fð%hZ«ZÈtº:X(þPÈ!;õR‚PÕ9l u›À•¡j­k!Ðèé` £ùC tH„ïÕJMCTå°ÖoV…ªµ¬‡@ £¥€2å Ñ"Íç§Ë'Þy.^Ÿ}¿o›'ÌId™‹ôåwK.KC)Å ,Tˆ÷ç“'Q<¢¦/£\e8 dH¶a¬doî)’€CŽ|€Í¶ ­¹±‹¼’0çö¢Ÿ{‹.Âlab Å“%òpÐþÁ¼—0ܨð…$z!­ ¨Äï=( ps³¸­fùL.G¶oAiâ°·¾@ït Ô4.I=Eä ^ç¨P9ù#j)÷¸¸ò¶J¬àd® œr/‚ÐíA4Ï9B¡Ei@\n…wôÌ~ù2á¦Îâµ›ä`U0¹A{—TD%謁O’Ô_B`vAà"PïLJ•ÖËǯÒeúT)ëÇ»»ø »¦C®E ­[!éýt¢ åQ%ZœE?ž¢ZÈŠèzkÆãMŒT·Š*Û ¾GŸd§!B:()ã>u£;COsvy€¤À#¾ NÊ ª¾^%Ñ´ #d8E½½JÞ4”Õ³x[0Ê€ éøÄ³¶5EŠ*Òª®òÊT‚’v÷׿¤oý$µ@4ÿ_>U _Ûý”@(íØPý&°#ÐѡŒCñ¥@ÿDK·d}š!à¾|0røXu ¨ мÑHEˆ"(ã#˜Ì ¥fXv¿ã¶Z!ä—M$@\_€WÏ•gmèÙ‹ äb ;^µéÆ%XgÙŠ¡€ÖêñTÍè ·âŽ[$˜B#âaÊÚ^õ-¨”A-ˆÀa (,4 ( EºˆW-5´Æðå³@Ãä¬H`H {8HÚõ¯Ot¼¢ÔZ ž]iøÊAŸXöùŠ÷ö¨Ú l FPAc€»7UµÕ\e£b™ * GÜ3Ó¬ŒÀlPÈQÜáœC:—Uº¤jpö|õˆ˜ta‡G\F$¢Xý<ÍÍ6ÖŽ(´áƒj*°/h¡¾~îɤ€¡§Ó¶¾l ðÐк „”èæd- P$„ÒK˜¼ž3DD8 Ǭ3ƒFìÅ PÀvFà…cUF×d‘šj¡ì=Êx7y‡0T`ž§ã²ƒÂÁe~ž,*…e!VR킦°w‚S™ß…°J+i¢uPÖ ôcã* ,×zÙ&±e< ·T0R=€Ó·:4½}âê ZЃò( ב‚ÖP¡CÛÂßÂ)ÅŸ`9´/'ê"(Y§MX¤yKµ$v"'r ÄLœ’Ÿ§nFŽŠ©Òu#¨YÖ‰ D y*É#4ÕCØz”ðnó`¨À=OÏ÷Ûöÿãdù„‡xª'I?N3¦rmSz6íʚͷrZ–¤Ñe‚T&É¢±´œn*“´BÞ1vú"6DáÜHWÜ©0¨ù$rï €¸]àÞõoÕ3Í ¢Ó96©Ž½vçV‡Ðm`D¿þG¾ß·Í“ê= ³¦t{¡ ®-+Ú‘:‚ž%{îÃe‡Ò4V~®ÚÅçáTA´”tîý•17-ì…”KÊ0BfÓ^÷„!+q뱿d“­à½LÌ02ý/¯(ÀPm ›Mz4;Þ„­ÄG®Æý’N·‚ôHe30ÀËô¾¼£A´&m5èÐïxB·»öI:Þ Ñ!”ÌÃ/ÒúòŒЙ´×£C½áJÜDzìoÙ$ëx/D†S3 ¿KëÊ0BfÓ^÷„!+q뱿d“­à½LÌ02ý/¯(ÀPm ›Mz4;Þ„­ÄG®Æý’N·‚ôHe30ÀËô¾¼£A´&m5èÐïxB·»öI:Þ Ñ!”ÌÃ/ÒúòŒЙ´×£C½áJÜDzìoÙ$ëx/D†S3 ¿KëÏz"4¸€y"oÒa\.HúPéb ëŽB4u„£ˆ;…¸J `9H6ÐL+…Â)@ ,TbQÈFް€Ôqbð· Q¡,)Ú …p¸E#èC¥Šƒ¬J9ÑÖŽ ì^á*4%€å ÛA0®¤}(t±Pu‰G!:ÂQÄ‹ÂÜ%F„°¤h&Âá –*y¼úå³Ë=’ìø÷Ûöù²}M~=°U°#†-²HÑö5(œøÜ)O²… N8[0ÕÜL›Á‹nê…ƒQ$âD%$2†Ã1À*s jH¿òÙQà$QP¡¨X*¨ €Ã這dŠì„ºi"à*ü¾p¸XÚš?z›å0‚‚€pty‚ROÐCQE„£ ¦o,"šzÆJÃy&ˆíeØDK%*s jH¿òÙQø!¶êè+š€Õ‚xÞPéA^µ´ä†ï‡Pu'BTÏ17Ê aàèü,`Ehj1[:ûœ­‰"Í©r… E8çk›aafGF¥¨ù§ÜÁr§ döZ‚@/ ‚OÇ Ð`+e°é½p£9ñ%-NƒÅ0ÚÙmT죋àš„Þ°iCà CÂYš™ðþœú2ê¼~G_\R¡˜Ž¨-ˆ¡J€²èQÜפ `^dÊ®Ì7‘ˆ$TàZÎ Å߇ô悊nÛP³$|ƒ[ â4“°¤xb‰2ÁMoÈиpT¦ ÕÁçÑ—Uãôz:úááš l¶7®o\Ô—š¤‚ ( gA£&­¶ °'å˜ÅbljѾÕ2RòF cPB(*Ìß®TCROÍà@X½%qÚõ˜ø‚ÌX¡ìöhX$ ‚¢ÍÓ®±Ñ} B°Ò@¬Ú 2ã|ã«,ç‚À©áP@Ààb¡BB%ü+ýÀUž Ÿ`x n Ѐš&-òо)hE#ÁÊ2pÌPð ±|+ÚDH"C;(5ü!FÑö–+[/àå®Â3ë’p" 5P¯Ûð|¨òøD*fјI‹é B·â"v_(€Œ ID±úx ê8ݳgaâVè"TôD–åå0– [÷÷TžSž6¡=`)…èy ×÷IqÙâýMËU…ìc€9Ée€6UïsrÈ2ÿ@ô@Äši+`@K\4)*°G!†ë´–Û-5E¹yL%‚ÖýýÕ'âë#PLAuÚÔ@]mö GpýÛæQ¨ô”M `ÈM²Œ¿Ð}ý5þŠÔÿC·?'ænPb,Ál1e!t,q瀓¨¾¯TPÄbï¥þÑúTBð‚‡h ÷€}IÈ$DG2rÐë¸ÊPÓZ&*Â-(0¼8GÙééÓ²ë´7ÏD&¼A^ x ¨HBÔ¢‘8À¬–HòQÀ @•@B‰bˆˆŠ FD°PJ‰*ªxHÚë²tçè*N\ü‚T ;@ãˆÀÀ¤”K§‰ÆRØä *Ü’%ᄈ¨Ým[‰8Kˆ‚Ô^õn†2PƒŸÖø\Õó§ ×òȧ!¡d*FC£/Úˆ}BV!uB¡¿»˜JM–§l;½‚` gsTØU‰qzIŽEÂ+’pÍIJH¨ 5À€$ˆš¡ùϡ„¶¬)¥€Fƒ]8‘,R¢Jªž6ºì ]9ú €S—? •HÐøãm ÎtÕ ÿŸõY? #QpAab²¿Oé…Ú‹nÔ^Øh° eca‘R/® O$ ²)Á¹€E=*Ú;$.¤àE@j¡_·àúkJ–”‰Ò4,rµZO_Ó„éx^µ”a$ˆ(½‡/Zhð©%(CÙÅ­”oX=¦èÎ_ö'V¦r+P™?yÏÍ¿˜&MM€×@Iç%.W”‰á”iB‰cÖ’ ÄÛ,Cóoæ “S`5ÐÕ Š€v6ìÈÁDª‚ÁÊ"¬ ÁÈNq$4cÙÔ x^PXqƒÚ%ÞçRsT-ƒ”EX ƒ™@»ü‚PÆàâú6°4%{Q]YìƒA@NXKù=6!‘- ±Ô;1o²ú6°4%{Q]YìƒA@NXKù=6!‘- ±Ô;1o²ú6°4%{Q]YìƒA@NXKù=6!‘- ±Ô;1o²ú6°4%{Q]YìƒA@NXKù=6!‘- ±Ô;1o²ú6°4%{Q]YìƒA@NXKù=6.pV¾Ý Iß@Öí¡òaÔCT(›c :ªá¤Ž7Ge…F‰Œ#t[°d nÚ&A„5B‰¶1ê®HãqvXTh˜Â7E»@Öí¡òaÔCT(›c :ªá¤Ž7Ge…F‰Œ#t[°”q¯5³¥ ÙXAj(±eyODÄ®ž6ÐrœžxÍ;ª9EpÕæÖ† ’¸5B5"A #7—ÓB<é¼ý}¿Ÿ‹%î7PDØW,N:%OTÀhíTô}ñGE" ŠQü\÷ª ºÃuóÂ?Çl°²¿×ý—¿~ýû÷ïß¿~ýû÷ïß¿Dod–\XNè8ÿÐqÿ ãÿAÇþƒýú?ôè8!Ð ãÿG‡þýúÿì=û÷ïß¿~ýû÷ïß¿`ß#ÐhØYñ©Kv¨¾äê÷Æz¡KíDœþgüñ)¡§îRw÷ý3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þyüÏùçó?çŸÌÿž3þx”ÐÑ÷{úþ‡?™ÿ<6‰¢J¬w1çÿÙsinfo-0.0.48/html/idea.fig0000644000175000017500000001356711356411374012220 00000000000000#FIG 3.2 Produced by xfig version 3.2.5 Landscape Center Metric A4 100.00 Single -2 1200 2 6 855 2430 2115 4005 2 4 0 1 0 7 50 0 20 0.000 0 0 7 0 0 5 2115 4005 855 4005 855 2430 2115 2430 2115 4005 2 5 0 1 0 -1 49 0 -1 0.000 0 0 -1 0 0 5 0 work1.jpg 990 2655 1890 2655 1890 3960 990 3960 990 2655 4 0 0 49 0 0 12 0.0000 4 135 405 990 2610 sinfo\001 -6 6 4275 2430 5535 4005 2 4 0 1 0 7 50 0 20 0.000 0 0 7 0 0 5 5535 4005 4275 4005 4275 2430 5535 2430 5535 4005 2 5 0 1 0 -1 49 0 -1 0.000 0 0 -1 0 0 5 0 work1.jpg 4410 2655 5310 2655 5310 3960 4410 3960 4410 2655 4 0 0 49 0 0 12 0.0000 4 135 405 4410 2610 sinfo\001 -6 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 1980 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 2520 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 2790 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 3060 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 1710 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 3330 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 3600 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 3870 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 4140 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 1890 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 2430 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 2700 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 2160 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 2970 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 3240 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 3510 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 3780 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 4050 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 1620 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 4320 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 4590 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 4860 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5130 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5400 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5670 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5940 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 6210 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 6480 720 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 6750 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 4410 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 4680 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 1440 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 1170 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 900 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 4950 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 5220 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 5490 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 5760 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 6030 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 6300 720 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 6570 720 2 1 0 5 4 7 49 0 20 0.000 0 1 -1 0 0 1 1350 720 2 1 0 5 4 7 49 0 20 0.000 0 1 -1 0 0 1 1080 720 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 2250 1260 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 2250 1080 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 2250 1530 2 1 0 5 1 0 49 0 -1 0.000 0 1 -1 0 0 1 2250 810 2 4 0 1 0 7 50 0 20 0.000 0 0 7 0 0 5 2880 1845 1980 1845 1980 1530 2880 1530 2880 1845 2 4 0 0 3 3 51 0 20 0.000 0 0 7 0 0 5 2970 4140 720 4140 720 1350 2970 1350 2970 4140 2 1 2 1 0 0 50 0 -1 1.000 0 0 -1 1 0 2 1 0 1.00 60.00 120.00 2250 1530 2250 855 2 1 2 1 0 7 50 0 20 1.000 0 0 -1 1 0 2 1 0 1.00 60.00 120.00 2610 810 2610 1530 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 2610 900 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 2610 1170 2 1 0 5 4 7 49 0 20 0.000 0 1 -1 0 0 1 2610 990 2 1 0 5 4 7 49 0 20 0.000 0 1 -1 0 0 1 2610 1260 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5670 1260 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5670 1080 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5670 1530 2 1 0 5 4 0 49 0 -1 0.000 0 1 -1 0 0 1 5670 810 2 4 0 1 0 7 50 0 20 0.000 0 0 7 0 0 5 6300 1845 5400 1845 5400 1530 6300 1530 6300 1845 2 1 2 1 0 7 50 0 20 1.000 0 0 -1 1 0 2 1 0 1.00 60.00 120.00 6030 810 6030 1530 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 6030 900 2 1 0 5 1 7 49 0 20 0.000 0 1 -1 0 0 1 6030 1170 2 1 0 5 4 7 49 0 20 0.000 0 1 -1 0 0 1 6030 990 2 1 0 5 4 7 49 0 20 0.000 0 1 -1 0 0 1 6030 1260 2 4 0 0 3 30 51 0 20 0.000 0 0 7 0 0 5 6390 4140 4140 4140 4140 1350 6390 1350 6390 4140 2 2 0 0 0 7 52 0 20 0.000 0 0 -1 0 0 5 450 360 7605 360 7605 4770 450 4770 450 360 2 4 0 1 7 0 51 0 5 0.000 0 0 7 0 0 5 6930 810 720 810 720 630 6930 630 6930 810 2 1 0 1 0 7 50 0 -1 0.000 0 0 -1 0 0 2 810 720 6840 720 2 1 2 1 0 0 50 0 -1 1.000 0 0 -1 1 0 2 1 0 1.00 60.00 120.00 5670 1530 5670 855 3 2 0 1 0 0 50 0 -1 0.000 0 1 1 9 1 0 1.00 60.00 120.00 1 0 1.00 60.00 120.00 1395 2430 1498 2209 1588 1894 1453 1714 1183 1714 1138 1894 1363 2029 1813 1984 2205 1845 0.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 0.000 3 2 0 1 0 0 50 0 -1 0.000 0 1 1 9 1 0 1.00 60.00 120.00 1 0 1.00 60.00 120.00 4815 2430 4918 2209 5008 1894 4873 1714 4603 1714 4558 1894 4783 2029 5233 1984 5625 1845 0.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 -1.000 0.000 4 0 0 49 0 0 12 0.0000 4 135 510 2115 1755 sinfod\001 4 0 1 50 0 0 12 0.0000 4 180 960 810 1575 Computer 1\001 4 0 0 51 0 0 10 0.0000 4 150 1110 1575 2295 via local loopback\001 4 0 0 51 0 0 10 0.0000 4 105 1170 1125 1260 local Informations\001 4 0 0 50 0 0 10 0.0000 4 105 1065 2700 1260 sinfod broadcasts\001 4 0 0 50 0 0 10 0.0000 4 150 1290 2700 1125 UDP reception of all\001 4 0 0 51 0 0 10 0.0000 4 105 1095 1125 1125 UDP broadcast of\001 4 0 0 49 0 0 12 0.0000 4 135 510 5535 1755 sinfod\001 4 0 0 51 0 0 10 0.0000 4 150 1110 4995 2295 via local loopback\001 4 0 0 51 0 0 10 0.0000 4 105 1170 4545 1260 local Informations\001 4 0 0 50 0 0 10 0.0000 4 105 1065 6120 1260 sinfod broadcasts\001 4 0 0 50 0 0 10 0.0000 4 150 1290 6120 1125 UDP reception of all\001 4 0 0 51 0 0 10 0.0000 4 105 1095 4545 1125 UDP broadcast of\001 4 0 4 50 0 0 12 0.0000 4 180 960 4230 1575 Computer 2\001 4 0 0 51 0 0 10 0.0000 4 105 1005 1575 2160 UDP connection\001 4 0 0 51 0 0 10 0.0000 4 105 1005 4995 2160 UDP connection\001 sinfo-0.0.48/html/man_sinfod.html0000644000175000017500000002255311407763272013631 00000000000000 SINFOD

SINFOD

NAME

sinfod - a monitoring tool for networked computers

SYNOPSIS

sinfod [-F] [-q] [-V] [-b #.#.#.#] [-c] [-n card ] [ -N nicevalue ] [ -m marker ] [ -i processname ] [-s][-W]

DESCRIPTION

sinfod distributes system information to other sinfods on your local network.

These Information include the system load, memory utilization and the ‘TOP-5’ processes on every machine.

It’s main advantage is, that these informations are broadcasted using the udp(7) protocol.

If each node broadcasts it’s information in a cooperative manner, the network load is O(N), where N is the number of nodes in your network. Other systems to monitor your cluster load (e.g. rup(1) ) are using a polling scheme where every node has to ask every other node for the system information: In that case the network load is O(N**2).

The task of sinfod is to broadcast the relevant information for the local node and to collect broadcasts from other nodes. Other programs ( sinfo(1) ) can get access to this information via a simple tcp(7) connection that normally is routed through the local loopback interface.

OPTIONS

-F/--foreground

Unlike normal operation, sinfod will not detach from the terminal when given this option. Some debugging informations will be visible.

-q/--quiet

Start quietly - for init scripts.

-V/--version

Print the version number and exit.

-b #.#.#.#/--bcastaddress=#.#.#.#

Set the broadcast address of the sinfod. Default is 255.255.255.255. In you want to run sinfod without a network card "−b 127.0.0.1" may be necessary.

-c/--cmdline

Broadcast the full command line of a process instead of the command only.

-m marker/--marker=marker

Mark the machine with a name. e.g. laboratory, pool or cluster.

-i/--ignore <process>

Don’t broadcast any information on <process> ; --ignore may be set multiple times.

-t/--top <count>

Broadcast information on the top <count> processes; default: 5

-n card/--networkcard=card

Set the name of the network card whose informations will be broadcasted. (e.g. eth0). Default is the network card that saw the most traffic at the start of sinfod.

-N nicevalue/--nice=nicevalue

Set the priority of this demon to nicevalue. Default is 15.

-s/--spymode

Deactivate the TCP interface and the collection of received packets. The demon starts in a broadcast-only mode.

-W/--watchdog

Start with simple watchdog.

AUTHOR

Juergen Rinas <jrinas@gmx.de>

SEE ALSO

sinfo(1),sshallsinfo(1),

sinfo-0.0.48/html/Makefile.in0000644000175000017500000004332712444035655012674 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = html DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DATA = $(noinst_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = pics EXTRA_DIST = index.html \ index.xml \ man_sinfo.html \ man_sinfod.html \ cgi_sample_0.0.7.html \ idea.fig \ idea.jpg \ work1.jpg \ work1_tn.jpg \ work2.jpg \ work2_tn.jpg noinst_DATA = man_sinfo.html man_sinfod.html all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu html/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu html/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(DATA) installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am man_sinfo.html : ../sinfo/sinfo.1 groff -man -T html -P-r -P-l ../sinfo/sinfo.1 > man_sinfo.html man_sinfod.html : ../sinfod/sinfod.8 groff -man -T html -P-r -P-l ../sinfod/sinfod.8 > man_sinfod.html # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/html/man_sinfo.html0000644000175000017500000004457311407745005013465 00000000000000 SINFO

SINFO

NAME

sinfo - a monitoring tool for networked computers

SYNOPSIS

sinfo [-q] [-V] [-W] [-H] [-L] [-h host[:port] ] [-u user ] [-d delay ] [-s] [-o] [-i process ] [-n] [-D] [-t count ] [-i processname ] [-c scale ]

DESCRIPTION

sinfo displays some information of the nodes in your local network. For each node the system load, the memory utilization and the ‘TOP-5’ user processes will be displayed.

sinfo uses the sinfod(8) to gather these informations. For further details of the internal mechanisms refer to the sinfod(8) manual.

OPTIONS

-q/--quiet

be quiet - don’t display startup informations.

-V/--version

Print the version number and exit.

-W/--wwwmode

Web-mode: List all hosts and their informations in html-format and exit. Look at sinfo.pl.cgi for a sample cgi-script.

-H/--hostsmode

List all host names of nodes running a sinfod(8) and exit.

-I/--ipmode

List all IPs of nodes running a sinfod(8) and exit.

--hostsandipmode

List all host names and IP addresses of nodes running a sinfod(8) and exit.

-L/--loadmode

List all known host names with the current system load and exit.

-h/--host <host[:port]>

Fetch information from the sinfod(8) running on ‘host’ instead of localhost. You may also specify the port number of the sinfod(8) your are connecting to. This option may be useful in cases where ssh(1) or similar programs are used to tunnel the connection from sinfo(1) to sinfod(8) through a firewall. It is possible to use multiple −h option to connect to more than one sinfod to monitor more than one network with one sinfo process. If your want to set different delays for the connections −d has to be specified prior to the corresponding −h options.

$ sinfo −h localhost:60001

(the default values)

$ sinfo −h 127.0.0.1:60001

(... if you want to set an IP-address directly)

$ sinfo −h my.computer.at.work

(port 60001 will be used as default on my.computer.at.work)

$ ssh −q −C me@my.computer.at.work −L 60002:my.computer.at.work:60001

(establish the tunnel)
$ sinfo −h localhost:60002
(connect through the tunnel)

$ sinfo −h localhost −h host.on.another.net

(connect two demons to join the sinfo broadcasts of two networks)

--udp / --tcp

Use UDP(default) or TCP to connect to sinfod.

-u/--user <user>

Highlight all processes of ‘user’ instead of using environment variable $LOGNAME.

-d/--delay <delay>

Set the delay (in seconds) between two updates. Default is one second.

--filtermarker <marker>

Request only informations matching <marker>.

-s/--systeminfo

Include system information (resolved by a uname −a call) in the list.

-o/--own

Only display your own processes or the processes owned by user ’−u user’ (this overrides the ’−t count’ setting).

-i/--ignore <process>

Don’t display <process> ; --ignore may be set multiple times.

-n/--netload

Display network load.

-D/--diskload

Display disk load (buffer allocation rate) of locally connected disks.

-t/--top <count>

Restrict the number of processes displayed to ‘count’.

-c/--scale <scale>

Set the scaling of the CPU load bars to "log", "lin" or "full".

KEYBOARD COMMANDS

q

Quit sinfo.

PageUp, PageDown

Scroll the screen by one page.

UpArrow, u; DownArrow, d

Scroll the screen by one line.

Home

Jump to the top line.

s

Toggle display of system informations.

o

Toggle display of your own processes.

n

Toggle display of network informations.

D

Toggle display of disk load.

t

Toggle display of the TOP n processes.

c

Toggle the scaling of the CPU load bars form "log", "lin" to full.

EXIT CODES

The exit codes used by sinfo are:

0

everything OK

1

Connection to sinfod failed.

ENVIRONMENT

HOSTNAME

Highlight $HOSTNAME in sinfo’s output.

LOGNAME

Used to determine the name of the user which processes shall be highlighted. May be overridden by the -u option.

TERM

The name of your terminal. Used to select escape sequences out of the terminfo(5) database.

AUTHOR

Juergen Rinas <jrinas@gmx.de>

SEE ALSO

sinfod(8),sshallsinfo(1)

sinfo-0.0.48/html/work1_tn.jpg0000644000175000017500000001751711356411374013074 00000000000000ÿØÿàJFIFÿÛC    $.' ",#(7),01444'9=82<.342ÿÛC  2!!22222222222222222222222222222222222222222222222222ÿÀ†"ÿÄ ÿĵ}!1AQa"q2‘¡#B±ÁRÑð$3br‚ %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ ÿĵw!1AQaq"2B‘¡±Á #3RðbrÑ $4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?è´Ø5hÚ}REg°–31’§aÉù‚Ÿe?—Ö´îZú |¦„C!`¸ÄG9ëŸO΢Óü¦jºL7sݪÜ;rÔ`)aÓçjßÒ¢_ ‰4û@M¯žX—‚F~€¸O œóšÖQ‚ÔµôýE©RÒÃXeY¿³Öx2œÂx>”·MydT\hè›”°æ3:ôúÖøÔ¯åóÄ"$A’ÞU³7ŒñÜ=;T—÷Ú¡!"µa°6æg1»¶3×=«!œ³ÞNùßÙ*é»fcù<3ž¢œ÷7Œ¶•ùc?)ÆãŸóŠìåšê%·ci‘' ´aIàöük7íË¥Kmxr×´lñÃ"  6òXq×ð ksœkÉRcÓ!óì®èÎ6ýïËúZ–Ýî4˜œ ËÑŒ~¾Æ µø{k4Ç;—fIÛácƒœÿÇn>µ4¿ ­ÃŸ&òçhpFû–û tÆ:ÿ:Çž¯òþ?ðw:×ø?øêâEˆ®’‡Í!T|™äàdvîx§Í-Ý¿úÝ"5ù]¹1òá¿n§µ-ßÃk5Tw¯ü-æÞã#‘…úÓÃk?$µÞy»Ø°ûQÛƒœvõÆ;zñG=_åüà´­ü‹ïÿ€W7³,FS¥&Àæ<€‡æ$cèjY%»Š×í-¤'“µ[pØr¦ä“éÖ–×á­¨þ×{vÓÊyW €8ÎAïš~Ź®î6`"é³Ù8ùzâŽz¿ËøÿÀi[ùßÿT¹¸’U‰4¨Ù˜€0S8ã=ä~¾†‹k›‹Àæ %gÞûƒ¾;ûñ]T–7qEåZ:aT*f“Ó¸×éþÜÚËå²·ï3Ï›4˜Æ¡úVÆç7ö-[þ€qÿßqd]xo^šÝ’ ?!ˬ#´`duéž} ìŦ¢mØ I¾]¤K+/_›?0=1z–Î è®Ù§hL0¼…·qýãŒu>Ù¶H”ëKuk’ÝÛ²A$ª"ŒùggÊsÊ’yàóEjøú‡H²e2òwÈÌ>éè ãð¢€k x[PÓ"—PÔìà¾f&E’è#cp#±®©üX©ù—¶—hI+´^lŒ …\úÝÇæ¹­:×Â’iѵö£oo~ÄùÁ¦`ÀrÀaŽ0sì+CK°ðÄZüwZý¬×`“ï·8ÜøÆ3ÏÖ»$”©®nmšiÿ OS¥ûV¤òÌ#YÕ]Ð&ûq˜Á'=ð@Ç'¨ô9©æ¼»Švm¥}±î²®@æêyÆp8ëU÷j³™Ù$¸…ãòÄG˜Áo›'wŒ€sŸš¹±iØ¿-ÄÑÝGŠF 3,yQ׌ç¯1éëY×ÚŒrh÷±^Z]˜Œ $cnUHa‚:öÎIèNkJt¼ l‘LÛ>læOcÓœcúñYrÝÍs§ky,f'Í"DƒfÓ’v¾1ÁôëI½¥cCÒ´=2óí‹{¤èT€ø;N Î\ŒåW·¯­i¤ö¢0²jº1pùÞr1Óý•svú?ÌžmÖ¡¦I¸–)¿iäÀ瞟—½:MÀ!1êdcÌVP$É ’ÜúŠåS’Û—ï8å^¤¤äÜuó:›»Í8„û抸ûÞs)ã#¦÷¡®ôÓb÷H‡%¾dÚËÏÝ«—»Ò<"'Ùnô˜@mò—r?Ûÿ8éòÔ}¯KóC¹f2œ6AãûdwíïOÚϼ~ñ{jã÷¬~Ȥó–ÚIKŒ /G~sùÔKar7G§”Ý‹r ç·!ÈÃþºýÑ@éïàöÓR-D¨d™YmdvÇ8U ŒëþQð´ºúË¡]'ÛÉÜ AF9š0~î{æ³lõ[i‘ÚêÑ‘w¸ùŽ-·’p7c‘ƒÒ·4»m;S¹þÙðý’Y [ÀròÉ# ëë]ÒN4®Ô¬×}?-‰êm}ŸT•æ?¿‰fxÎ<õýØÉÝ·ƒÛ·|ö©¯­õ0ßè·wv uãæSמyÆzTKa©I%Á’gD™Ðán[ä]ĶÞ8ÇzŽ´—Ö:£Ï'Ù®¦ì1(pÇ\އ$ó\%3Es¶Ýc•‰Rw¸ÀÏÊy#óþ<Ö\Ò]Á¢Ü-í›Ë’æfšUbü F3ÇáÍhK ×™ q3˜ã\ù†\30ÁàçøyúÖlí§h—~}²Ë p31–èÊÄcæä¯ œ`æ“Øi]ØåìÏ‚Wd—A#6 DÚpÀÈ9XÆsëß4±øG$éíq€3³¦*΃sáMJõ¡µ/ss—hžÛ!Bœ Œ°ü…lËáýW'ìl™pøK\qÓîtö¬cÉ^6"£ •ãø‘Ï]ÿÂ2§ÙÖÚÛvé…· Túþtãÿ/’Åoæ+³oþÍnzðFΜŒý+¡»Ðô{ ›,žßùåd9ŽSÛðÍ1ü=¢¹Œý•ÔÆXäZýâNy0qØzSö~Kî+Ùàÿ•þäfiZ„teŸìS˜å˜ó"Ù8`1Àá:q‘š²¾)ÒÕÑŽ½pʸ%M“|ß7rðâ¯A¡h–ñI°½³ºKMÅxƒ·ÇçQ/‡tUto²ÈBãå6¼›<üŸ‡Ò©FKEbÒÂÅY'ø‘¡3ÃtŒÑê¦gåexížžùý*k™¡ž0‘ê)Ï,Œ¤‘ŽœÕAg Âñ-Þ¦¨ÄŸ”8+ìÞÏü-Ü´w1„ó.âÁÎè£u'ƒÆqÓšÐç*ˆún× (\pP¹ëúU›eStdœì#Ê »zŽp;ñ×ÜÓ Há‰ÐÜ_˽Bî‘•ëÈùzóרSí¢AtdŽvÛ(`˜Èì@ãë×Þ€8ˆ_ò°ÿ®ƒÿA4Qñ þ@ÖõÐè&ŠfŸâmÓO‹N½Óî¦sÈ‘¦Ü’q†f§¥u:,Özý´ºŽ˜/-™gÚcšbv“±X¯C\Îâ«m?K‡O—AÔ.¶·úØ”lbÄô9ì ÏÐ×Q¤½·ˆ-¤Ô“O¸²¸mïwQ´îÚzã𮪵$ùm¶·ý ORÒéWLe2´@LèÒ*Ë&$¶9ãÛuÍZºµº8ŽDdbIa†6ôí×=ùëT_GI Íxö„³Ç$ª»€á‰$å'<¨©¯ôD» }™@ïÚx8#ŒcÍs&ÖŦÖÅÉ-îMäMÆ T î-¼žOÖ¨]¶¡e¤ÜM0µò¢…ÞUMìÄ“´úã=ºúU›‹$y­PÉÛFÈÉ9fÚÞ˜<õã5@Cs§hs=«ZÉ 13ùñ3y˜…ùóœ ;â“n”·3|5­éמU²êbå#/!”HSŒÉã-úWA5µÄ»ä~ÉØÇ§¦=¸®JÓÅ6–{xc\i‡W01Éçc€rxÿ Yüc§Èå¦ðγ“*“ºò:õëŒW<+Á-e‘Ë E4­)_äξía¼ ™o¢Úr<•‘3ÈëÏOÖ”ˆ<…ŒµÙÚÅÕ¶>àr{ãž½ s'ÅPk6Öóxw]Œ³ª«˜ŠÜÀrAzûfºSB„ÙͰ9eýâçq'¡ÝœòkXN3øMáR3Ö,-b´³à…nB¹$’’œÁÇÕÛÛ«£‰u—e#®ysøö§Ú¥¼P˵œ‚7b_lŠy ïzb˜¶6Èèë§Î ·÷£îÏMøëVXë˜m.·ù¢ïkýåUŽÃÃÖ¥¹0]F#st þí$Rxé:sUîà´œHn¬¤!¾þéTÇŸÓúÔ÷KÔA.låd<ºŽÇѽ  ¥§ÙÚk×FÚpâCŒŒqÇÓ¦*{[{d¹ócûA!@d\Ž9ã°÷ýjŸØ4ä ÆÂLlœ—9îý3Ò­ZÁj—¦D·hçòÈÜÒ;r8ÆãÇOÈPñ þ@ÖõÐè&Š>!ÈÃþºýÑ@Ÿâ[?IŠÝ|<÷PFÍûñ#¨f9ãˆÈÎ OJšÇR¹Ô¼E Ï¡.Ÿ,Ò6éåq‰€b9عÎuÎHúTzf»­Zi)·‡á»µˆI^\o?31Øfº P‹TŽSªÚYiz¯Ú ,k$rJ@Áy<ñŽ+®QŒiÝÅ}úý×'©pZ@ò\Ku«[ÎUãYw$aSi9R=óžE;RÒ´ÛÂÎÒZ!(/¾>˜ƒéK%½¤m7Û/®†&¼*07dg¡þ”ÝJ-i7ÏygnÂ<þX#;v·ÍÐŒ W!E©­#’{7KÑ´`ì„!ÎÓÈn¼x5M­§·Ñ§{;èî8œùqD»e`3Žç'§^ýëJqfâÐ4‘ª>R¸c´ž8ì2xô¬¦†Q£\ÜiÚŒ“¢Ç#¬>T(®ÛN€œu¤ö ÛVs¶~"’Éâø>V¸+’ð7ÌÄãhõ«×­Χóþ=•Oçrÿ#‡ÿ„¦8£ó¿á ¸T 2Lƒ3qÛ&·|=­CX’ÞM]:U…˜K+J†_”qœ‚>ŸJÐ[½=adHôÑ€YVN=À_Süê֦͜÷ÊŽ;D›Ë-û£–Û‘þÈã‘MBiÝËðEFDîç’8?ˆ-ï£ý“E/Ä/ùX×Aÿ š+Sb; kÄ––6öÖ:~Ÿ5¾XÀÓ¸à’Äüã¦N8ãÞÜ^é’NmuYË…vA®=k‰Ó.¼[•Ó~ÄlrV!"ùù‰ïÏ#·ô®—GÔ/žÑìüBø¿3c6ʈŒ|øÇ\óŸjè©ÈžŸ-þb[’³éqÉ0šòîI-Þ=þb±# q—O\qÒ¥Ô.4—b'¾ò¨C´üØÚGÝ÷pG#ŠBö–¾jºßÈQã噜±V8+ÏLõúŠ~¡u§»bå®”˜ü²©¶CãŽóÓ¥sŒšceæÚÎ÷2$n6Å$Fx'$cúú ¢Ð$º$÷}õÔ¬·•æ9E,@aÇOÃÒµ&šÝÖÚGó ¹!*~÷aÇ÷5—ö_J¹ºÓþÑ æT3N Îzöü(c[œý–·âI Akc¦ÊT…Ý·'88$ùx9üzо%ñ,‹æýƒN9eCû³»8Îó3ôÏÚªéÇÅÉxÍftâÇ15nàò>ðÆxþ•rmKÇpJ#h´¦>`Cµ$=²OÓÐûæçò!ÈÃþºýÑ@ÓàñyÒa“IÔR+BØŽ6‰[,[ø äŒzš†mÆ2ßKÅúÈe“çxíö+q´Dx<žõ>—¤øšãM·¸Óõ¹mìÉ`-Ò%$rrA=²yüû{«Õ.Ö÷:lío¸+ˆÌ}FÞÏ_jëu¹"­Êþ_Ñ6<ôé¾3´Kˆ×Pä™]A·snÂm&>p@=†: M‹I÷RI?v• l|n÷XÇ#¯OºԸ²·i’ßMŒ”’0…xw§=»ã×&¦Ôní!y$ºÓ%vò¿xàÆCŒ‚Y‡Ê3É<j~²ÿ–?r)ƒ¥Øø’nÎ÷[¿†é0òâŒ@U°;ž¼tö­Ö°‚M.i­-e¶ºŽ6ò|–F òNFp{æ­\KhÓÛ´¶á®$B1Õpsò“øqøÖtÐiÓéWIVÖWS#ì£üáöç A?Ò±©QÍÞÉzh ÝÔ«¡ÍâFÔYoîL–ûÃÚí*Äðz&Fsî+Yu;¦6·*|Í›M¡é½÷ñóŠÀ𾛬Ú_K5ÕõÌ–óƒÏÙ¢L±9 ¸3ÍÛø«¤–K´r¨—nCã,¸ëÓ×·ZÆíª·¨)¹ÞMZý?á‡]ÝOf¹.ŒÅl̓‘× ÆsL{ë”ò¿u)äZ±ÙƒŒŸ›?NæŸw$Ö7Óî8>JFvò:äZ]Óù k¾X†]©¹@'œcž½jÆ%µÍÕÌ)F‡a#d¶ä1ã< üÿõª5¿¹gDò¥°2mœrw~?J–u,R<¿iˆ«¨|²\`tã×ùTKqp]Ũ.ìeŠÅ…çãóãµ:æòêßxò䔯O*ضî3ÇÏøT·3][FýnN6ÅnXô?í{TW2]üD·s0û»|°R8ô楹óàŒ2=ÔìN6F#ÏOp8  ãP¹6í/‘?Ë·äû#9$p7vÇ55¥äÓ]^)B…'{[”\ñÆKõ?‘ük­Õã` {ðÛsóÀÎq×Sý*Í´· tQã¸ò¶¾M€nÈãgמœPñ þ@ÖõÐè&Š>!ÈÃþºýÑ@›á­nûLŽòË]½‚) oŒª€’>qÔNÿtÚM¶¡¡ÚKk¨I.¡ Ÿy¼º@U8a˜ž£õ®kNðeÆ­¤%äZÅüq CÁDP cI-Ïo",¯«j_e ?|/Û~20v…õíšíæŒà£*Ÿù/êO]Ž¡uæKm>Ö@¯ˆÅ2ä“´œ}ÜrG^ý*]CQû;?MY G¿sKx y9ÀÏãƒ\x=Ù§ºö Sz,9™¶Íž ÈÇùÏZ›SðtÖ Dú®£!‡ o\1 çIîzrpp+?eGþ~~ .ûÜ·›oàŽKüù#ë¸pÙAýOãFI´ë­x²³šXcò¤¶ñ…`xqqLÒ­l—w“$†á‹:¸ÀlcSúñR½ýÞ<¼HÓFÊÝ[h`ØàäŒ~Ï4®ÒÕ•ôg=eá¯Ü*â-Fs÷[z´Žó©e𷉑ÈÄšŒ€8Þ Ç^¾½ªß‡<=yeuö©n廬T!V[öp`ä ªF0çøoËØr"# ×/÷qõëúW4hE­U¾låŽ j­óæsgÃzý…Í´Ëâ-NùÔ¼cjƒ†-ÐôöÓ‘yä+æ}åˆ1î dàçn3ÀãÞ’î)¢ ö[y.3÷ƒ]²c§×=ÿ*S ¾J·•.ýä2 †?/=G=?:ÖŒ67…8ÃH„õ⑦2ÄêÇb· ûxç?•D­¨—Eh§ãsy±9ÁþNjX-ç1H× DŽÅK™0F2ONsQ,w›Ð5¡ q¹…ëœsØwãš²Ç\B=âšb>éó#Px÷^9þµ-ÊÝÅhiØŸ»º5ÀÇ©_§çQ\Át7‹h÷à/s ;óëýzT·6ò$`Û#É!=åÔ:õ>ÔTKªœ¢Ì>^s<]sÓ…ôæ¬Û5áº+4RväCódq…õç?ýjþUù¶r-ÂÌ6ííÊ·'?N9üzÕ‹Xî–ç2F-„s3;nÈìxÇ_~”ÀüBÿ5‡ýtú ¢ˆ_ò°ÿ®ƒÿA4P½GŠçMµœÜ[¦íåø $.?:è!ÔÈ‹x³„íßåÈÍþêã?ýjòVºÒæa$Ú:I&9s;dñŒñô·¢øÐx~ÄÙéÚL@_~Ó#pSìm'Ei;úÁ2(ÆNIY³ÑWU½®>Ï{Ʊ4‘:ðÇ>¼zcü¥¾½Ôm[ ©]·1qÓ‡Lg®{Wÿ Bûþöÿ÷Ù£þ…÷ýíÿï³Xšž…4·q‹`"ìO›ÃmÀRx=¹Ç_¥g5èÔ4‰­n؇¸‰£i!†DE 6õ#åëøWÿ Bûþöÿ÷Ù¨n¾#ÜÞZMk6›E4mì2¤`ÿ:OTOFhAà+—7:“ªn´ãðÿL0ƒý¡qæïbÃíŸ.pÇ\c·¯ÁÉs£ÊÅŸBŒ’0qs ã9ìi Ú)'þ$IÎOü}K߯z‡G´ßÿáž*MB ¯_ø{oðûLÈn5+ƒ&ìÇåÝü¸Œäzæ¢_‡¶{‘[Q“fb/Nq»'zWçh ƒý„œãê^Ý;Òyº.1ý‚˜Æ?ãê^™Ï­Åÿ"ûÿàõwÿ>ã÷ÿÀ=žK¸áòìÝ …Y¤éŽø<óôÿ 6²ùcì­ûÌóæÍ&1ƒè~•æ±ü@hâX×F²Ú«´g'Šwü,I?è cùWZ;–Ç|-uN2ÖÃåçÌyÏצ*Í´qÝ”Çäì#GfÝ‘êqŽ¿ç¯™Ëã¡;Äòh–E¢;‚FÓëÇqÛÓµAŒ!·¹ûDZªK»vá#õÉlã8êOçLe¯»6—nYÜ †‘ím=>QŸÌö¢°”·MydT\hè›”°æ3:ôúÖãê×ß7—öb®Q£“ËrKÁÇ|ã=»TÑ_êWm µ‚ßʤͽ9þ"9ï²˽äéý’®›¶f0“ÁÀ9ê)ÏsqËiQIÖ3òœ`þ9ÿ8®”ë©äÆÀŸ1×!·”~_”Ÿó޵åé“G’Öü9’ê3mƒ ãäeO'¯"†ç:×’¤Æ#¦Cæ Ù]Ñœmûß—õµ5³Þ]ïò4ˆßgÞÃGþ>Õž¾ ±Š\Þ]Þ¢n9Ë$‡ “„ãªõëéO¸ð=Œoû«»â¹WMÒ¹fQ‘¸Îx'éô¬yêÿ/ãÿÃÚVþE÷ÿÀ'ŽöiDe4¸ÛÌ`Š>L’NœõéùT“Íul ›Ip¬ØÌd§¼öïÚ©ßx+MìËg.§(™ü­Ï;ûÃæÜç¯|`R鬓ú¿› f“ç}„*¼ž@qÏsÕþ_Çþ{JßȾÿø–¼a%De¶ƒµy8߃֤’[¸­~ÒÚBy;U· ‡!º`I>j¤^ ÒRÆK››ÍH!T1´ƒî¯u+¸óž€çŠþ{4•c{›Ò‚#0¸`vç'ŒçõïG=_åüà´­ü‹ïÿ€]K›‰%X“J™ˆ1“Ž3ÐGëèh¶¹¸¼`ÒQö}ï¸;ã¿¿³=Ù<«BîŠVGyHP g;O>¹þ«Þ†µIm"¹ eDí"Àç¯<‘ùC[™bÕ¿èý÷øÖE׆õé­Ù ³ò°*Á¢;FGQž™ç×ð®ÄZêœe­‡ËÎ'˜óŸ¯LU›h.ãº-)ÉØFŽÍ»#ÔãÏP'Ö–êÖ)%»·d‚ITEòÎÏ”ç•$óÁæŠÕñô ‘dÊd%ä}ÓÐÇáEušo/cD'qI1…ÜOÎÜ‘“PXÃ$Ü!Šå¥ˆ’,.Üà}ÖcŸ•ÏO~â°l¼Su§èqYÂ?%å°%<Ýì’K`aãëÚºi´;16È®ìa‘›t%H¯QǾ*åNQI¾¢¹štº…½”XSiÌoqlT*€£ ÁÀ<ûöÅ\ÓáKËakyIw‘<´dPCyÜs÷Ž1Æ*q "â)õ‹yl‚U(ƒ`É%Xgø‡©·Ú­õºG…#2'îƒíÜAÊŸ¨úT £¾÷M½Œy!‘‹1ÛÊÙ*’äÆ2{àw©¿µ®Åäà™VeÁg • ÙƒcŸ_ëZÆÆ1qEû¸U·®:}0@?…cÏ¢µœ—–å ˆ¸€D“oÌÎH<`ÓŽ´ +»Ë6³|²Á2gB¶¬Nxœ7¾{t­[‹³ª±ŠY76ÜF›ˆàò}¸®Fñ<÷ןc“E’ÕV2P‰0‚ö'ò5ªºÕ£ª²º2»lVFA8ÎÍׯ’’{“‹q}êÿ¸IWO¿`ÿÂ!ÃÇ$‘÷¿CV ¼óåÙö{ˆø't‘í?¯éH÷ž^<È$LôÜè?öjC~ªªÆ&Ûb’ñüÍè>n¼=©ˆ’ ¯=öùG’dL§Ö§ª‘߬ÊÍLê§ Êè@8Ï?7¸¦J6Û„'v1‰#ç'Þõ  ´U9uáeB>öé#ïÏÍéÍ:[Ï%wK Æ¹Ææt¦½@¨ª_Úù{öüŸ/ÍæÇ˜àsN·Ô ¹œÂŒ¾`]Å|Ä'vžŒâ(Ͼ!ÈÃþºýÑGÄ/ùX×Aÿ š(£Ñ|¨ü ®©ò¬„3ÁÞÀ†ÄÅ}ºuÚq6^}Ñ;¡ € Ž~öÑÏsÖ¯xmO@‘®]–@}§ï·CƒƒYÓÜ6•/%ÚdÆC]"ŒŒEÏ(zõË óŠ[»•[{ ðHòŽMÎk  ïÉ`;sƒžkoJ˜½ÄÜ%Ì¡›‰TÁ8PFpÅA°Š&ÜKpÈ$S·sp¹{‘×µVkÙôË‚‹2Å#¼VUp )òþbã¿Qô“L¿c‘á›M]MJÏÎÄRÖ9s¸‚¸$(Q‘Œò úWC¡Fòø4Bw“]ÄüíÀ5^Ê`†áW 4DlA"íÎÝ,w|®z{÷¿Öjòòsi°¬‹òj÷»ŸÊæ7ØbrŒ|°O>f§qÀ>µf[ÍKìí<1[yJpLž`aƒ†;BäŽ £”ößÙXC$+Ù‚ÂKˆP£äùxý{UëîÔÙ^¯æu "‚žKòr1X yÖ·ˆR|íÛd k6ÓÁû¿/¨üúÓ&¼7: ±ß Ïq‘NþÁÉ^½ê©{½2ø1‚2«û¶híd9‹^O­J5{¥¹¼W2™Pùޤ)ÈnGO¯N NÎèå-¼bá%¹¹½Š'$„Id.AÜAÀãgéRÉà}<•x//|¶˜*´³:ð8ÁQùò uÉ>­Ãç¼3dzs-›/Óý¬úVÅÇÙÕXÅ,››n#MÄpy>ÜV?W¥ü§;ÃQnî(ó»¯i{c3jSf-îᲯð©çƒÇ~‚›/„4Ñeo2¾®ÒÌìBº[nÛ•=:Ž9⻳«þá%]>ýƒÿ‡ NGÞý X‚óÏ—gÙî#àÒG´p@þ¿¥W¥ü¢ú­åFlIIo|_í[–aó¼¶É98ïÆ{w57sË Íµü¥uI3ö…|îìãÓ<úÖÜ^{íò&$ȘO­O[=yxèÒ$©Û¹LÍ7(l¼úŒc4·‰)Ùy¦lä‰^RÚOc×ǽmÑ@v«y`ò!Š9 ¡¥”©!ŽìüÝÆ0˜«¶^Çxí3Cör¤*¬’3Ç]ǽ»îoÑ@gñ þ@ÖõÐè&Š>!ÈÃþºýÑ@Ó¼Qwe¢­‰ðóÝZ&WÏ20W$–Çžz޽ªÖ™ªG¨j‘é³øPi ‘‹‡ù•FG €g¿lh¾\~ŽG0²ÄöÕ{7‚í$ºmI Ë8hÝãàðçÇPy'šÛÚSå·&½îþñY÷6·«$ðϬA&‚eÚƒhÉÈaž7?* KHÓ¯!H„¶ELŠ<µ;7AéÓõ¬ËÉ„vºmÙhÜmZEQyÎAß– vç5zำšâÞÊÏQ¸ó³å4¨|¼>|>P@¬Fjµ½°†£•#Žv)|0}°•‡>•åi×7vÓÁr6mÀ3)U;S;¹ä/^ÃC"ÝKkÆ6á!ͳüüd( “ŒžxúzÞÿB&³]Ic3‰Sb§q\2zt¡ƒ0añΠ¡ O Þ³TqÎaŽôæñæ ‡á[äùÂ|ÒÉÇNÕ§f4‹8äHu{U¹bÌ#R¼7\c¦IÉ­/ì­Ë'qç3w¼HÁÿdqøÖ>ΧóþçöU?ýËüŽqüqªFj*HÈ ÀgŸ§ãGü'žÿ„KP ³ ;º‘Øq׃ùWCq£ý±¢7S‰V7´Æ9;ƒc’p>P1õ¤mµ¤–Æúm1•NÄù$íÇ8äQìê?àƒÙTþw÷/ò(è^'¹ÖdœI¢\Ú¤@|îêA$dŽÝ?:Ö”m·NìcGÎN?½ëQ®”bR ©bðª|ÏRAÉàgÐSSFD¸šS9mùòÔÃg‘‚7ž¾•¤SJÍÜÚ ¥fîO.£!̨P'ÞÝ$cùù½9§Kyä®éax×8Ü΀tÏ÷ª¬Ú?œˆ䳨|»Æ¬[=3ÇAÇä(}&i•RkÖ‘C+a£ Ç|õª(—ûZߌ㕠?{Lã?z¦†ö9§ò@Û&ÝûK¡8ãœOqP[hö¶óLþ\n$9U1“’p=¹«qÛA—ŽÑÎAeP<šóˆ-ï£ý“E/Ä/ùX×Aÿ š(«ðÚ<ž #\»,€ûOßn‡£k;øc–IѶ¹@Òó°eOŸ˜wÏ­rö^ ²Ôt1«I+,Òn-¥B®W€TóÀ«G†­´Muu+#8Xä1ˆåÎæzí21žAÆ~•·%.[ókéÿZD`HÛÜÉpTD”…œár1ê:ö¨š{½!QŒ)$†9¢ûAUÆáŒ|§'ˆéÒ¤}^÷syknѹCmcå‚OßÇ·àÖ§ŽûRº/öX-ð¥A3oNøb8ç¡Ç>•ˆÊº…œ¤Å(2A,ƒÈ6*„ÉÛ8ÏÔVlWE®gu»(²‘&áØFY¹å㞃=a[M®"ùK–2c2²Í·ìvú‘××Þ™$ÆëE¾¶¿ŒnhŠHb…Õ[x+À ž¹ìhßRëXÃysyŒ E´´DÁ±ÏOaVn ûBª‰¥‹knÌm‚x<nkÏ,|§Ê¦[,P£í ¸à1îƒÐqÎsR7ƒt×W{g›j8½B§i#Œ2r#Qyv:=çwü´:Fè6Ô/É^w‰°Ìxëáôî}jÄ~D»þÓq'm‘ò9#¶=«ƒ»ðŽ”²iågm‡yNìl„éc»åsÓ߸¬/ÞiúV_ðŽÉ{j O;Ì`¬Y‰þáÏ~Ý«gM†-ZÜI%¦$r˜ÖÚXƒ±*0æ Ž£·Aמ5•Æ<ïoT+–Â[û+d…b{0XIq ``‚¿/¯j»§D—¶ÂÖòxƒ»Ç²6E1’Ç9ÜqíïS`fÖÖHêʬ±€ƒ'r8ÝÓžx⢻ðå½îvÊ‹‰–8Ä(D{°w)Æs‘žr9¬†T2ÝéW±ƒ˜Ô²–ò6F ¬\€0'¸÷©ÿµnÍôñ“2¤2ò‚ÜÉž0ÙïôýjüºJHȪê¶è2°”ÈÝ‚3ŸÄqþϽeÞè“[i·2ÄðJñØâû"üÅpÞ§,vã'8'8 i]س4úÌad†dhÚDeµcÈÆá±ÜŸÂµ®.>ΪÆ)dÜÛqn#ƒÉöâ¹Í Å×BÆ]{Qgk—Pn8ë’GÒ·_QŽ3‡B¿6ÏšHÇ8Î>÷Z˜ÉI])+¢#«þá%]>ýƒÿ‡ NGÞý X‚óÏ—gÙî#àÒG´p@þ¿¥#Þyxó ‘3Ós ÿÙ¨¹ ˆîb«‡NHÎ@ùºð#TPè.ü÷ -ç@P1ihÿ×ô÷«R;õ™Y¢‰Tá™]çæ÷Ñ©FÛp„îÆ1$|äãûÞ´vЧ.£!̨P'ÞÝ$cùù½9§Kyä®éax×8Ü΀tÏ÷¨ÕAµktˆÊøXÆÜ±–0N;»ÔÐÞÇ<ÞHáöïÁt's€Iî?:óψ_ò°ÿ®ƒÿA4Qñ þ@ÖõÐè&Šé4_.?Ç#„Yâ{j öé×iÄÙy÷Dî„‚‚9ûÛG=ÏZ½á´y<F¹vYöŸ¾Ý DöWÐÇ+βB€ÿ¥ç`Êž1?0î;ŸZ§up‰ocryJ¤»S 1r>|–·cšÜÓî^K å¶’;¹Õ›,˵pN dT5„p³ÜÉrUB$r‚P³/oQ×µEsu>ŠUÄk!ò¥ÂÓÜ1Œ!ɧâÚñæ™ “] ìF1$ ÎAå@ ï×ôïV¤‘$so&´À›gO.0[ w•ã#ž=8ª—°o¾M ÄŒáÁQ^pÛxû¹Æz­QnÆicžQç|à†Ø¹n@!N:ñþ~Î-3eªXë0¬®25‡|§9qœ:gûÕåÑT|Í;;™ ³º)-òíÁúv©…”7PDzÔttÖ%šQ3eˆÈ*K T÷·t(O‡à’ÖÅ?Ñä’&VóOÊ9T0½yç5ÉÙxök=*;ÓáhH;¤lœ’O#ÜÒÁ㦶ehô¸^™žCØŽ„úùÖ²¯RQäoAY캽ñ'ÉÛ¡G(ìI<>:½õ©Ò÷R¹i¬6ÅPª–•˜s†Æ¡ïéë^u?ŽEÔvÑÍ£[:Û©Ì”ãç¥>O<¶¢Ùô›s,B‰\`¶sÎÚ?d3Ð&ÖÌq@>iÿ[›yJ”žSÎqÇzmÅ×Ú4©loØ™îa)þ aÔØ•=zôâ¸KˆRÚ±ht»u8ÇúÆ8p3Óš±ÿ Bûþöÿ÷Ù¤õ³ÐÑдX4[µ¾inö\#(]Ó9Áaž‚¤¼c¦ku®ær$tF˜¢™ZPp<ŒþG¿¥r?ð´/¿èoÿ}š?áh_Ð>ßþû4£ÅZ(˜B0Vв:ëÝ@B!ûqjÑó÷ ³KÇÀ>µ-ͬ¾Xû+~ó<ù³IŒ`ú¥y÷ü- ïúÛÿßføZßô·ÿ¾Ívâ×Tã-l>^q<Çœýzb¬ÛAwÑiL~NÂ0$vmÙ§ëþzùµÏÄ/¸ÒmdhX´e¾Sê=ÿ•U‡ÆÛÜý¢-Õ%Ý»p‘úä¶qœu'ó  ^7vm.Ü4³¸ #ÚÚz|£?™íE`xƒÄÏ©Y$rÚªí”0*ØìG§ùÅÿÙsinfo-0.0.48/html/Makefile.am0000644000175000017500000000103211356411374012643 00000000000000SUBDIRS = pics EXTRA_DIST = index.html \ index.xml \ man_sinfo.html \ man_sinfod.html \ cgi_sample_0.0.7.html \ idea.fig \ idea.jpg \ work1.jpg \ work1_tn.jpg \ work2.jpg \ work2_tn.jpg noinst_DATA = man_sinfo.html man_sinfod.html man_sinfo.html : ../sinfo/sinfo.1 groff -man -T html -P-r -P-l ../sinfo/sinfo.1 > man_sinfo.html man_sinfod.html : ../sinfod/sinfod.8 groff -man -T html -P-r -P-l ../sinfod/sinfod.8 > man_sinfod.html sinfo-0.0.48/html/index.html0000644000175000017500000006014112444035647012616 00000000000000 sinfo - a monitoring tool for networked computers
sinfo - a monitoring tool for networked computers
by
Jürgen Rinas email homepage
 
Contents of this page
The Problem down
The Solution - How it works down
Some Screenshots down
Documentation down
Preconditions down
ChangeLog down
Download down
Published on down
 
The Problem homepage top of page

Don't you know the problem?

1.) There are many computers connected to your local network and you have got the (scientific) programs to use their computational power.

But the computers are too different to use some special clustering software. So you are on your own!

The first problem you've got to solve is an overview of the available computers an their current load. sinfo is an approach to solve this problem.

2.) You are responsible for an laboratory of public accessible computers. And you need a tool that provides a quick overview of all nodes and the (insane) processes running on it. sinfo can be your choice.

sinfo is running for about two years on our local network and has become a tool for daily use.

I'm running sinfo on the following systems:

  • Linux 2.6.32
  • FreeBSD 8.2 (it compiles, after a long time again)
  • Solaris 2.8, 2.9
    From version 0.0.15 on I can't test sinfo on solaris, since we scraped our last ultra sparcs lately. I would be grateful for your information if sinfo still works on solaris, or if you can provide me with an account on one of your solaris machines.
 
The Solution - How it works homepage top of page
idea.jpg:shematic information flow of sinfo
shematic information flow of sinfo

The sinfo-system is split into two parts. A demon and a user program.

1.) The demon (sinfod) distributes system information using UDP broadcasts on the local network. Each demon will also receive UDP broadcasts of all other demons and manage a list of the most recent informations.

2.) The user program (sinfo) connects to the demon via the local loop-back interface and displays the up to date informations using the ncurses library.

This scheme has the advantage that it produces minimal network load. If each node broadcasts it's information in a cooperative manner, the network load is O(N), where N is the number of nodes in your network.

Other systems to monitor your cluster load (e.g. rup(1) ) are using a polling scheme where every node has to ask every other node for the system information: In that case the network load is O(N**2).

The Informations broadcasted include:

  • The number of CPUs and their speed.
  • The network node hostname, the hardware type, the host processor type, the operating system name, the operating system release, the operating system version. - Everything uname provides.
  • The uptime of the system.
  • The load average.
  • The current load - split by user, nice, system and idle times.
  • The memory usage of the RAM and the swap space.
  • The network traffic send and received by the network card.
  • Informations of the TOP-5 processes.
 
Some Screenshots homepage top of page
 
Documentation homepage top of page

For documentation look at the man pages of sinfo and sinfod.

 
Preconditions homepage top of page

The following tools and libraries are necessary to compile and use sinfo. Most of them should be already available on any modern Linux system.

necessary libraries:

  • ncurses - libraries for terminal handling (tested with version 5.7)
  • boost - peer-reviewed portable C++ source libraries using Boost.Asio, Boost.Bind and Boost.Signals (tested with version 1.42)
 
ChangeLog homepage top of page

sinfo 0.0.48 - Tue, 16 Dec 2014 14:54:52 +0100

  • removed some warnings from newer g++s
  • changed configure to locate boost by AX_BOOST_BASE
  • many changes to make cppcheck more happy
  • updated for newer boost libraries i.e. no -mt any more
  • removed bashisms in scripts

sinfo 0.0.47 - Sun, 08 Jul 2012 08:42:55 +0200

  • switched from stand alone asio.hpp to boost/asio.hpp bundled with boost in order to simplify library requirements

sinfo 0.0.46 - Mon, 14 May 2012 19:41:06 +0200

  • some compile fixes for gcc 4.7 http://gcc.gnu.org/gcc-4.7/porting_to.html : Name lookup changes
  • fixed cursor handling, by using the asio::null_buffers() concept to get a trigger, if input is available according to the example http://www.boost.org/doc/libs/1_45_0/doc/html/boost_asio/example/non blocking/third_party_lib.cpp

sinfo 0.0.45 - Tue, 13 Mar 2012 07:07:27 +0100

  • corrected README compile hint for FreeBSD
  • added configure flag --disable-IPv6 to disable IPv6 support

sinfo 0.0.44 - Tue, 13 Dec 2011 18:32:33 +0100

  • added reconnect for TCP connections
  • added LIBADD to make it --as-needed linkable tnx to T.Harder
 
Download homepage top of page

I've prepared a debian package for this program. You can download this via
apt-get update; apt-get install sinfo
if you configure your system to include my debian repository.

 
Published on homepage top of page

Lately I've seen some sites out there linking sinfo's homepage. If you want your site to be listed here or know a site not listed here, please drop me a line.

Valid XHTML 1.1!
sinfo-0.0.48/html/pics/0000755000175000017500000000000012444035677011640 500000000000000sinfo-0.0.48/html/pics/email32.png0000644000175000017500000000347611356411434013522 00000000000000‰PNG  IHDR üí£bKGDÿÿÿ ½§“ pHYs  ÒÝ~ütIMEÒ 6Yn!àËIDATxœµVÛKT]_ûrΙq14*pœ|êÅr¼Ð…’KºQ˜TOù”"TDýÑÿ =™ $X2Ý"tò˜z’_t.sæÜöþÖ÷q¾÷öðg½×õ·Öo)%üµµ¹¹Éÿžö™™™B¡@ÿ’öåååÁÁÁ¥¥¥R¹\Î0 ι뺔RBH±XB×u5M³,‹œs)eEE…mÛœóB¡ „ðûý†a€ªª¶m§R©¦¦¦RÛÛÛ>Ÿ/›Í¢ )¥ßïWU•"„EQ¤”„˲(¥…BuQJmÛ6 Cáóù*++ý~?!DJ)„(E iZ6›­©©Éf³ápضmBH)üø‘Íf¿}û†‘>|¸®®nÿþýªªš¦É9€b±¨iš"—ËY–ÅcŒQJKLÓ ƒ–e©ªŠ’­­­ÏŸ?OOO§ÓéÝù€p8ÜÚÚÚÙÙ¹gÏMÓr¹çâœ3ÆÀuݲ\×E–eÍÍÍíV‹ÅÇ‘R.--@:žšššššºvíÚùóç«««mÛv‡sN)ÿ­2˜RJ«ªªÇD7àÔ©S±X,º®ë8Nee¥mÛÛÛÛÓÓÓ©T*“ÉŒŽŽ®®®ö÷÷3Æòù‘H¼{÷Ý×××ÓÓ³¶¶¶½½=11qëÖ-ŸÏçº.1V†"]×WVV ¿¿g!äéÓ§©TÊ;–N§p‡)¥¡P(‘HŒÏÌÌôõõ‹EBˆßïgŒÙ¶]–¢ùùy¼‰D°*Ož<ñ´_¹råÑ£G÷ïßF£(‰F£Œ1)e,CɧOŸ!š¦aèPŠ€s¾¾¾˜S!Äëׯ=,uwwwtt0Æ€w%‰˜¦iYVUUJ„ªªRJÇAè—Átmm ý’R:Ž355…òP(tìØ1Çq(¥”R<楈1æõfEE…bggGŸJ)òá~ccÃë²ÖÖVP–ea—áÂÌx¡@CCçܶmôe}à…iÛöïß¿½O ”B¢—a>ŸOQÌd4Ŧñù|h Œ¤”¡Påv¸ªª›››ïß¿GaSS“”RJùåË—ÉÉI¸|ù²¢X,bå !„’!D}}=èºÎ;zô¨÷i}}Ý0 Ó4_½zå s¹œ¦ioß¾€Ó§O744 4L)ë)eSSÓâââêêj6›Ý·o_WW×›7o ™L®¬¬d2™L&ã×uýîÝ»¸O$/^Dþä%DJe9r³422bÛöõë×»ºº/¥Ä†µ,K¡(ÊÿÇ5çÜqœ`0xóæÍ>$“ÉL&“J¥vÔÝ«££#‘HÔÖÖVTT‹El œ(„UUËŠŒøEŒ±x<~òäÉ………ùùù¹¹¹Ýz[[[›››ƒÁ Ri>ŸGÕH5x̶í’$ )¥¢(Œ1Ó4Ñööö¶¶6Ô‚®!"±•p¨@>Ÿè °4‹VVV^¾|‰L„7O#’0!ÿzó†î)¥Þk…²µµ¥ªªÏçãétziiihhǤ窆ÿØ!øðw·¥ÝBÌ>>¼4MãøÐ8tèö‘eY˜;ƶ%J0i Æ&MbX¸w] ¯D"‘< ½šF›nIEND®B`‚sinfo-0.0.48/html/pics/down32.png0000644000175000017500000000265411356411434013377 00000000000000‰PNG  IHDR üí£gAMA± üacIDATxœµVËnKì×ôô<ì<,X‹lL (Ù åø@$¾€M>!V^"¤‚ ãÌÄžW¿î¢nz쫻ŋȞ¸»êÔ9UÇÔ{OþÚëׯ_âïÝþùó窪Ø_ºýëׯïß¿ŸN§}eYÖu-„°Ö2Æ(¥MÓ8ç²,³ÖÆqÜu¥”"„ðÞ§iªµBTUåœK’¤®kBˆ”RkýñãÇ/_¾L&“¾‚?þ(¥Š¢†÷>I)%¥Ô9G‰¢È{O)íºŽ1VUîbŒi­ëºvÎ)¥ò}úþý{Û¶Þ{k-çÜZK¡”B"¼Ç_Ô”$É»wïvwwwvvnoo…œsBˆµv£kíh4zöìY’$„º®¡ ºÔ(Š(¥qk­£(²ÖžŸŸlƘ»mŒ)cìáÇGGG777q?~ür !Ð km’$Æ眔²ëº$I²,_BÈ|>¯ª*Ïs|‡RÚ7=ñÞO&“ýýýÙlfŒ‘Râ0úÌ9Ç1Häœ3Æ0Æž>}ŠKм¶mc @iŒ±½½½ÓÓÓÅbñû÷ï(Š„€cŒsŽçQåy>‡Ã!.áœc„Ú¶ÝÀZhžœœŒF£Ùl‰Ð|­ë:cŒÖÚƒ~úËå’1¦”Â\xï9ç=@Û¶mÛâ|žçoÞ¼™Ïç³Ù ”Á=(iŒ±Ö¦iè·m‹.j­á!ιÖzC"ï=Î;ç^½z5®¯¯›¦Y/#ˆ÷išú]×u]W×5 ÂBzh*„ÓÁ`prr2ŸÏ¯®®´Ö(™R Ox凜þjµB„é‚1úa¦8o­L&{{{?~ü(ËrŠ ƒuú«ÕJ)µµµåœ+ËÒ9m{)¥snµZ]’$»»»¯_¿¾»»[,ðBÍ ôaÆ<ÏMH‘ õ†ð²Öj­Ë²Ìóüüü|4]^^6M£”ŠãØ“$Éþþ~ _U¥t>Ÿƒ8¥T)€}€«ÃÈJ)­µBˆÃÃÃÛÛ[$ ;Žã@ÿîî®ë:`h­sMÓpÎ!憓‘ˆÎ9®³ÖÇãËËË¢(¨yžúEQ4M£µ–Râ’¦i ºõ?ÁÒQavÇãñééé|>ÿùó'|´®~0pÛ¶¨€Üg­÷Þóß)‚>ðjÈÅÃÃÃÌf³¢(ÖgµZ¥iEQ]×ÈlCÌ(6Œ °Ê²ôÞ+¥„Y–½|ùr±X”e¹>ûA‹¢€€·6*Ñf­Íó0ιííí·oߎÇc¥T ‰X­V餛s;¨Ôï,qç\Û¶Y–UU•¦iÓ4UU-—KïýÙÙÙ£GBp&I’¦)âËZ;…د03¶wà½Çb æÄ&ÀF3Ƽxñbkk ÿ½¾¾^¿ ÀãÔus.Š¢ë‘b­ ÷’û‡RJìtØßļooo7Më„p”Rö!MÁ9GâCkk-Þ¶-ç\)E1ÆÃ³\.q5š;µÖ=€R F‹¢s :Á–X”õ¯W#„,—Ë,Ë@.L|¿ô¿}ûvqqšð‚p>®»Ïñ¿ Ð6D“”R)%‹Åt:ýðáÃt:%÷»Pi0g¾0iý!ÔG¤Çq,–Ë%¥ôàààèèˆsŽòµÖØ«Aˆ†Áæ ¹CÏã8Æ‘'OžüÔD­¬2¤YIEND®B`‚sinfo-0.0.48/html/pics/Makefile.in0000644000175000017500000002450612444035655013630 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = html/pics DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = up32.png \ down32.png \ home32.png \ email32.png \ valid-xhtml11.png all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu html/pics/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu html/pics/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/html/pics/Makefile.am0000644000175000017500000000021511356411434013600 00000000000000EXTRA_DIST = up32.png \ down32.png \ home32.png \ email32.png \ valid-xhtml11.png sinfo-0.0.48/html/pics/home32.png0000644000175000017500000000333511356411434013355 00000000000000‰PNG  IHDR üí£gAMA± üabKGDÿÿÿ ½§“ pHYs  d_‘tIMEѪ[ƒZIDATxœµVKh]ž{ï¼Ò4m[µMµ ˆ ¥Z+>Ж"EPÄ•àBª+×®\JAEP .qSEÔâ£Ñ ii1!$©5yæ>þÅÁ™´õ_:‹™Üœïœï|ß9ƒ„Ò?»~þü)ÿ»è?~4Mÿ£èsss÷ïßO&“~•JŲ,Y–cc„mÛœó`0ÈÓ4Íu]„$I², !šššêõº,˦ir΀eY’$©ªZ¯×'&&>}ú´sçN¿‚_¿~éº^.—CTUEqÎ!.ç!äº.ÆØ4MUU«Õ*6MS¡ëzsss @ !8ç~š¦•ËåH$R.—Ãáp½^—$ þlY–mÛ7nÜPUõÒ¥KœsιmÛ”ÒÌX–E)u]—BÁû8Ž ]×UUžpÎ]×¥”...^¼xÑ0 Ó4ÏŸ?_­V)¥²üw!dY&„@~>€¦iŒ1º1Æ”ÒB¡ððáÖ––ÑÑÑýû÷Û¶}õêÕl6ûúFBøŸk™Š0Æ---²,C †a¼|ùr||Ü0Œ“'O†B¡H$2<<œÍfoß¾N§ÿŠQ©Tc”Rh˜=áœ3Æc!ÆØøø¸eY'NœBäóùB¡ ªêöíÛS©Ôµk×r¹Üj€@ à8oY–Ï#p‚1–ecüèÑ£wïÞõööž:uªT*}ûö !T­V]×U¥§§gnnîÂ… «›r‡s.„ð+`Œc¶m¿ÿ^Ó´ÑÑÑL&óüùsÛ¶›››;;;ƒÁ`6›eŒÅb1Jé™3g@o!äGñÁÇB`Œ—––ÆÆÆ0ÆgÏž™™™ššêïïظq£¢(¦i¾zõêÅ‹„X,–J¥NŸ>}ëÖ­®®®F¶!¤^¯û€5J¥Ò;w0ÆÇO$SSS{öìؼysWW×Úµk£ÑèàààÐТ^¯oذ¡V«]¾|9N{¡4MóxóÀô÷îݳ,kpp0‘H|øð¡¿¿ß¾}±XlÍš5`iŒqww÷áÇ÷îÝ uwwwg³Ù›7oþøñÃS#xPÓ´e2½råJ©T:räÈÌÌÌçÏŸ;:: ÷P(´°°0;;ûåË—……EQº»»8ÐÛÛ Öéì윛›+‹ TH…⨪:< ¡áxÒu]/SiÕµbäy… Ëf‘¢( v0:ðU{ãw5ÆD ·ªªš¦ ·òŠ9¥(ÊŠL !¶mg2™¦¦&cEÊ^65y,ù°Ä9ç0”DZm»R©˜¦Y*•El†eYµZͶmokRJa…A)ªªÂkƒëºËš,Ë2 ÷õõ½~ýzrr2‘H¤ÓéT*’$ VÞÝ»w9çÅb1“ÉÄãqPŽÔÐp×u9犢øŒ1Bˆ,˔ґ‘!D*•ÊårBˆÝ»w¡ÆFclýúõƒƒƒº®¯ *PUuY“A© Ñ‘‘‘|>¿°°àù^QB@¦°ûB¡Pc/gï»ÿƒ®ëÐ.dÛv8ÖuºÊ9§”Bhh©ïUYv! B° ¥R©gÏžAFP,n ‚[¯a|‡] }B-..ªªªëº¼´´”L&—û/Å >ÑBÆã‰£d×Sz/}·s˜¹IoñÜYœÂ¯r¢’:XZ½µ)ððnDÜvcMYoÀ<ò„™ÉË_¦Q“¸:"ù HºšÀõ>Êô°ä!V”»ÍHK‹Oi"‚aÜH7÷`Üsˆ€ñÚôô©ãS¶r›’ A±]*ñà˜•«Hê~÷ìTÅãá°×ݼúUõ|ˆTEhžÄæìªA_¬A¼1®ö¸_ŒÅÖÖCè±ÁŸ’ªî¼Õ:¢³òQШ-‰ånȽè´Õ1I‹@:€´€Ñ,tÔ]DsÆ F÷x?S“ªj‚+ä ¼T%‚`Äz–.g_Fçé;ÉÓçÈ|ßøAòàÞ \Ff`Wd¡DÏ£#‰3pV-%š@¥M±EC&'Ó·¸]IÂMZŠÁ§Ër7˜ #ëÐ!Ó®˜.ƒ¦FÓGA »ˆX=¸E–¢õàY9*•³yyt)ÇÞÒd!¬>qÈPiøfﲯt©T®jÛ„Š—å(ŠDiQ°Ùk@ºâê§>X9¡ë4}d„«¿2[ix“»ÛlüMZv¤Øê{‰Ö¦øl]%ûàäÓ´ApþÇÅÅö‡˜bÓ7«ªºÑ 9ª—\ïd€;H™^âI0u«;§ ˜8u|x»ŽÑ3Ï¿·x ê"MŸÅظÿÖXÚ’¿žÊ—/¹èF)%yáªü}.ðÜœ à‹¬¥ {yÅPlúF„ý–‘“,ꃙ'ˆ«ƒÅ³ƒlÃÁ¨ÜGÕÞÁ8k€yH`¬Ž-ßê—ÏõœQîð½'ˆ#ÇÊÈÛWbäÍó î0Øé•cDq5=2tß*cø‘JÑ„ý6ÌîÌ£2áéßÚ!¿û¡Öôͪ d?k·¤ŸƒÙyLqû7Ï!^üä|­éÛš™£™SýÊò”F–:T*Ø”îô2lýSõÃìOi‹kn7Üxq­~VŒG²û_aÿ¥ïq™F yÞ~æyœeu÷·êÚvo¾¯ Å•ïÏ™û\™//‡ÈE,d{¯¡ËÖŒÍÿ˸ÿ‰EòÅÂ}ùIEND®B`‚sinfo-0.0.48/html/pics/up32.png0000644000175000017500000000270711356411434013053 00000000000000‰PNG  IHDR üí£gAMA± üa~IDATxœµVKkK­w÷ÌtÒÁ… ñ•8‰ A%àOü-þÁ¥+ACpmБ‰q3ˆ` ˆ8™îÎô«ª«ê.N2¹ÜͬÅ0©Lós¾¦Þ{ò×ÎÏŸ?Åß‹¾¿¿_ûKÑŸ>}:Û²,+ËRa­eŒQJ«ªrÎõz=kmZkJ)!Dá½ïv»Æ!DQιN§S–%!D)eŒyñâÅÁÁÁíÛ·ÛŽÃ0LÓ9¼÷NG)E)uÎB¤”Þ{J©Öš1Vb1ÆŒ1eY:çÂ0Œ¢¨ÓéPJ½÷鶃 Ò4½páBš¦ý~ßCqÎyï˲¬ªÊc­ã÷UU)¥êºBBªª ‚À9—e™ÖšsÎ9gŒµÔuÝëõ´ÖJ)Ü8çêºnšÆ9gŒÙÛÛ{þüù—/_ð'ç¼®kTAÓ4ÖZ$„àœB¬µì|ÖZ$ÜŒ1çœs.Jéëׯ···ŽŽ æi”RÞ{¥TÇŒ±¦i(¥œswvhÊ[^^nšCÎóø(¥öööF£‘”òâÅ‹TUðáœcœóÙlF)¢}SJÛ0眵ÖZË9WJ…a(¥<99ÙÙÙIÓôúõëyž#½÷ÞZkŒÑZ7MÃ9Çx1u]ü²,Û€ cLr0 kíp8<88XYY¹ÿ>zŠ¢?BàA¥”sŽs Õuy´`D L§”‚æ»»»iš®­­Ý¼ySkýùógcŒ1!ð ncarÎAtÎù‹êºF¿ø7Ú‡?~ì÷û<èv»„<Ïÿþ} 1cÈ•AÐÐélÎCä½Ç$¬µ˜J–eÛÛÛI’¬­­ ȘsþíÛ7vvPŠRJk]–%¥4ˆƒÒ&BH)1ˆÀZûæÍ›ÑhôÃ0¤”"wžçÇÇÇι²,µÖÖZ!˜£”Í@ý³CE¨½iš$I¶¶¶’$¹qãÆµk×€h.„øþýû©VSJåy†adzsLi€à¾RªÓé ‡Ã>ôûý‡FQäœkšF1›Í´ÖI’œœœ ‡”2Š"X“cét€víîîfY6 ®^½J) ÖÐét–––8çŸ>}‚* !“É…ã—H°°zNÙÑhôþýû8ŽïÝ»EQ¯×BÀBЊµ¶(Š4M­µ0ˆ[Uç`.(SõÞÊ_½z5NƒÁ­[·àkÆ)%cLk]×5ç\JyxxC”R’3—˜Ö@D)}÷îȳ¹¹Ç1„ÿ€Yv»]¸HQY–I)áç*ö˜òoB’$yùòåt:]_____Ç3œóùªÍAÿ ~üø1¯Û=µŸóBƒÞ¾}»¿¿ÇñæææÊÊ ÊÇ3sea¡(Š$I„óu‹: ­…¤”eYîìì$I²±±±ººZ…÷¾×ë---AJ ç<BjŸL&ZkLqîc@©uS,ññxL)}ôèÑ“'Oúý>ùŸ'Ïs¬RXºÖºM€é­®®>~üøîÝ»Òëõò<'„ !)e›$¹téÒåË————ÿ :Ü (¥šhšæ×¯_œó¦iæBµÖ*¥¤”.ñÈ3 Cx,11m‚0 !4)%”…‰Íe‰U’BZ­2F™ÍfPûœo„véýúukk j @M¼X мr¦JÜã;ö ÞV(¥“É+]L§ÓñxüìÙ³ñxŒ'ñ‰Ð¨b ȇÏó™Î_}¼xA àSwîÜÁ°ƒ¾æ€4ªÆBžC„ïP$Â9¿råÊ?Ó‰V¦ÁIEND®B`‚sinfo-0.0.48/html/index.xml0000644000175000017500000001601012444034643012441 00000000000000 sinfo - a monitoring tool for networked computers Jürgen Rinas

Don't you know the problem?

1.) There are many computers connected to your local network and you have got the (scientific) programs to use their computational power.

But the computers are too different to use some special clustering software. So you are on your own!

The first problem you've got to solve is an overview of the available computers an their current load. sinfo is an approach to solve this problem.

2.) You are responsible for an laboratory of public accessible computers. And you need a tool that provides a quick overview of all nodes and the (insane) processes running on it. sinfo can be your choice.

sinfo is running for about two years on our local network and has become a tool for daily use.

I'm running sinfo on the following systems:

  • Linux 2.6.32
  • FreeBSD 8.2 (it compiles, after a long time again)
  • Solaris 2.8, 2.9
    From version 0.0.15 on I can't test sinfo on solaris, since we scraped our last ultra sparcs lately. I would be grateful for your information if sinfo still works on solaris, or if you can provide me with an account on one of your solaris machines.

The sinfo-system is split into two parts. A demon and a user program.

1.) The demon (sinfod) distributes system information using UDP broadcasts on the local network. Each demon will also receive UDP broadcasts of all other demons and manage a list of the most recent informations.

2.) The user program (sinfo) connects to the demon via the local loop-back interface and displays the up to date informations using the ncurses library.

This scheme has the advantage that it produces minimal network load. If each node broadcasts it's information in a cooperative manner, the network load is O(N), where N is the number of nodes in your network.

Other systems to monitor your cluster load (e.g. rup(1) ) are using a polling scheme where every node has to ask every other node for the system information: In that case the network load is O(N**2).

The Informations broadcasted include:

  • The number of CPUs and their speed.
  • The network node hostname, the hardware type, the host processor type, the operating system name, the operating system release, the operating system version. - Everything uname provides.
  • The uptime of the system.
  • The load average.
  • The current load - split by user, nice, system and idle times.
  • The memory usage of the RAM and the swap space.
  • The network traffic send and received by the network card.
  • Informations of the TOP-5 processes.

For documentation look at the man pages of sinfo and sinfod.

The following tools and libraries are necessary to compile and use sinfo. Most of them should be already available on any modern Linux system.

necessary libraries:

  • ncurses - libraries for terminal handling (tested with version 5.7)
  • boost - peer-reviewed portable C++ source libraries using Boost.Asio, Boost.Bind and Boost.Signals (tested with version 1.42)

I've prepared a debian package for this program. You can download this via
apt-get update; apt-get install sinfo
if you configure your system to include my debian repository.

Lately I've seen some sites out there linking sinfo's homepage. If you want your site to be listed here or know a site not listed here, please drop me a line.

sinfo-0.0.48/addon/0000755000175000017500000000000012444035700011006 500000000000000sinfo-0.0.48/addon/sshallsinfo_killall_octave.desktop0000744000175000017500000000064212167741065017730 00000000000000[Desktop Entry] Comment[de]= Comment= Encoding=UTF-8 Exec=/usr/lib/sinfo/sinfoaddon/sh/sshallsinfo_killall_octave.sh GenericName[de]= GenericName= Icon=exec MimeType= Name[de]=sshallsinfo killall octave Name=sshallsinfo killall octave Path= StartupNotify=true Terminal=true TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType=none X-DCOP-ServiceType=none X-KDE-SubstituteUID=false X-KDE-Username= sinfo-0.0.48/addon/sshallsinfo_fastCoD_halt.desktop0000744000175000017500000000060711566530140017267 00000000000000[Desktop Entry] Comment[de]= Comment= Exec=/usr/lib/sinfo/sinfoaddon/sh/sshallsinfo_fastCoD_halt.sh GenericName[de]= GenericName= Icon=exec MimeType= Name[de]=sshallsinfo fastCoD halt Name=sshallsinfo fastCoD halt StartupNotify=true Terminal=true TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType=none X-DCOP-ServiceType=none X-KDE-SubstituteUID=false X-KDE-Username= sinfo-0.0.48/addon/sshallsinfo0000744000175000017500000000032712444031045013177 00000000000000#! /bin/sh #set -x foreachpc() { while read HOST IP; do echo ssh "${HOST}=${IP}" $@ # start with closed stdin ssh "${IP}" $@ < .SH "SEE ALSO" .BR sinfo (1), sinfod (8) sinfo-0.0.48/addon/Makefile.in0000644000175000017500000003753112444035655013015 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = addon DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" SCRIPTS = $(bin_SCRIPTS) SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) DATA = $(noinst_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ bin_SCRIPTS = sshallsinfo noinst_DATA = \ sinfo.desktop \ sshallsinfo_fastCoD_halt.sh \ sshallsinfo_fastCoD_halt.desktop \ sshallsinfo_killall_MATLAB.sh \ sshallsinfo_killall_MATLAB.desktop \ sshallsinfo_killall_octave.sh \ sshallsinfo_killall_octave.desktop man_MANS = sshallsinfo.1 EXTRA_DIST = ${man_MANS} ${bin_SCRIPTS} ${noinst_DATA} all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu addon/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu addon/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binSCRIPTS: $(bin_SCRIPTS) @$(NORMAL_INSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n' \ -e 'h;s|.*|.|' \ -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) { files[d] = files[d] " " $$1; \ if (++n[d] == $(am__install_max)) { \ print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ else { print "f", d "/" $$4, $$1 } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 's,.*/,,;$(transform)'`; \ dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir) mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @list='$(MANS)'; if test -n "$$list"; then \ list=`for p in $$list; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ if test -n "$$list" && \ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ echo " typically \`make maintainer-clean' will remove them" >&2; \ exit 1; \ else :; fi; \ else :; fi @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(SCRIPTS) $(MANS) $(DATA) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binSCRIPTS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binSCRIPTS uninstall-man uninstall-man: uninstall-man1 .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binSCRIPTS install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am uninstall uninstall-am uninstall-binSCRIPTS \ uninstall-man uninstall-man1 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/addon/sshallsinfo_fastCoD_halt.sh0000744000175000017500000000016311511171646016227 00000000000000#! /bin/sh for HOST in ` sinfo --filtermarker fastCoD -I `; do echo HOST=${HOST} ssh root@${HOST} halt done sinfo-0.0.48/addon/sshallsinfo_killall_MATLAB.desktop0000744000175000017500000000061511566530174017406 00000000000000[Desktop Entry] Comment[de]= Comment= Exec=/usr/lib/sinfo/sinfoaddon/sh/sshallsinfo_killall_MATLAB.sh GenericName[de]= GenericName= Icon=exec MimeType= Name[de]=sshallsinfo killall MATLAB Name=sshallsinfo killall MATLAB StartupNotify=true Terminal=true TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType=none X-DCOP-ServiceType=none X-KDE-SubstituteUID=false X-KDE-Username= sinfo-0.0.48/addon/Makefile.am0000644000175000017500000000054211511153622012761 00000000000000bin_SCRIPTS = sshallsinfo noinst_DATA = \ sinfo.desktop \ sshallsinfo_fastCoD_halt.sh \ sshallsinfo_fastCoD_halt.desktop \ sshallsinfo_killall_MATLAB.sh \ sshallsinfo_killall_MATLAB.desktop \ sshallsinfo_killall_octave.sh \ sshallsinfo_killall_octave.desktop man_MANS = sshallsinfo.1 EXTRA_DIST = ${man_MANS} ${bin_SCRIPTS} ${noinst_DATA} sinfo-0.0.48/addon/sshallsinfo_killall_MATLAB.sh0000744000175000017500000000014111511174207016330 00000000000000#! /bin/sh for HOST in ` sinfo -I `; do echo HOST=${HOST} ssh ${HOST} killall MATLAB done sinfo-0.0.48/addon/sinfo.desktop0000744000175000017500000000054511566530066013455 00000000000000[Desktop Entry] Comment[de]= Comment= Exec=sinfo --scale full --netload --diskload --systeminfo --top 5 GenericName[de]= GenericName= Icon=exec MimeType= Name[de]= Name= StartupNotify=true Terminal=true TerminalOptions=-T "sinfo" Type=Application X-DBUS-ServiceName= X-DBUS-StartupType=none X-DCOP-ServiceType=none X-KDE-SubstituteUID=false X-KDE-Username= sinfo-0.0.48/addon/sshallsinfo_killall_octave.sh0000744000175000017500000000014111511174217016652 00000000000000#! /bin/sh for HOST in ` sinfo -I `; do echo HOST=${HOST} ssh ${HOST} killall octave done sinfo-0.0.48/NEWS0000644000175000017500000000000011565527500010335 00000000000000sinfo-0.0.48/librpc/0000755000175000017500000000000012444035677011211 500000000000000sinfo-0.0.48/librpc/rpcserverconnectorfactory.cc0000644000175000017500000000060211546525344016751 00000000000000#include "rpcserverconnectorfactory.h" #include "rpcserverconnector.h" RPCServerConnectorFactory::RPCServerConnectorFactory() { } RPCServerConnectorFactory::~RPCServerConnectorFactory() { } boost::shared_ptr RPCServerConnectorFactory::createServerConnector() { return boost::shared_ptr(new RPCServerConnector(receiveMessageSignal)); } sinfo-0.0.48/librpc/Makefile.in0000644000175000017500000005056712444035656013210 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = librpc DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) librpc_la_DEPENDENCIES = ../libmessageiobase/libmessageiobase.la am_librpc_la_OBJECTS = librpc_la-rpcserverconnector.lo \ librpc_la-rpcserverconnectorfactory.lo librpc_la_OBJECTS = $(am_librpc_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(librpc_la_SOURCES) DIST_SOURCES = $(librpc_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = librpc.la librpc_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageiobase librpc_la_SOURCES = \ rpcserverconnector.h rpcserverconnector.cc \ rpcserverconnectorfactory.h rpcserverconnectorfactory.cc librpc_la_LIBADD = \ ../libmessageiobase/libmessageiobase.la all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu librpc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu librpc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done librpc.la: $(librpc_la_OBJECTS) $(librpc_la_DEPENDENCIES) $(EXTRA_librpc_la_DEPENDENCIES) $(CXXLINK) -rpath $(pkglibdir) $(librpc_la_OBJECTS) $(librpc_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpc_la-rpcserverconnector.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/librpc_la-rpcserverconnectorfactory.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< librpc_la-rpcserverconnector.lo: rpcserverconnector.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librpc_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT librpc_la-rpcserverconnector.lo -MD -MP -MF $(DEPDIR)/librpc_la-rpcserverconnector.Tpo -c -o librpc_la-rpcserverconnector.lo `test -f 'rpcserverconnector.cc' || echo '$(srcdir)/'`rpcserverconnector.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/librpc_la-rpcserverconnector.Tpo $(DEPDIR)/librpc_la-rpcserverconnector.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rpcserverconnector.cc' object='librpc_la-rpcserverconnector.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librpc_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o librpc_la-rpcserverconnector.lo `test -f 'rpcserverconnector.cc' || echo '$(srcdir)/'`rpcserverconnector.cc librpc_la-rpcserverconnectorfactory.lo: rpcserverconnectorfactory.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librpc_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT librpc_la-rpcserverconnectorfactory.lo -MD -MP -MF $(DEPDIR)/librpc_la-rpcserverconnectorfactory.Tpo -c -o librpc_la-rpcserverconnectorfactory.lo `test -f 'rpcserverconnectorfactory.cc' || echo '$(srcdir)/'`rpcserverconnectorfactory.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/librpc_la-rpcserverconnectorfactory.Tpo $(DEPDIR)/librpc_la-rpcserverconnectorfactory.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='rpcserverconnectorfactory.cc' object='librpc_la-rpcserverconnectorfactory.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(librpc_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o librpc_la-rpcserverconnectorfactory.lo `test -f 'rpcserverconnectorfactory.cc' || echo '$(srcdir)/'`rpcserverconnectorfactory.cc mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/librpc/rpcserverconnector.cc0000644000175000017500000000122211637171103015347 00000000000000#include #include #include "messagebasictypes.h" #include "messagestlcontainertypes.h" #include "rpcserverconnector.h" using namespace std; using namespace Msg; RPCServerConnector::RPCServerConnector(ReceiveMessageSignal & receiveMessageSignal): receiveMessageSignal(receiveMessageSignal) { } RPCServerConnector::~RPCServerConnector() { } void RPCServerConnector::receiveMessageSlot(Message message) { cout << "void RPCServerConnector::receiveMessageSlot(Message message)" << endl; Message returnMessage; // call server functions receiveMessageSignal(returnMessage,message); sendMessageSignal(returnMessage); } sinfo-0.0.48/librpc/Makefile.am0000644000175000017500000000046712263052343013160 00000000000000 pkglib_LTLIBRARIES = librpc.la librpc_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageiobase librpc_la_SOURCES= \ rpcserverconnector.h rpcserverconnector.cc \ rpcserverconnectorfactory.h rpcserverconnectorfactory.cc librpc_la_LIBADD = \ ../libmessageiobase/libmessageiobase.la sinfo-0.0.48/librpc/rpcserverconnector.h0000644000175000017500000000065412101563605015220 00000000000000#ifndef _rpcserverconnector_h #define _rpcserverconnector_h #include "messageserver.h" #include "serverconnectorbase.h" class RPCServerConnector : public ServerConnectorBase { private: void receiveMessageSlot(Message message); ReceiveMessageSignal & receiveMessageSignal; // to RPC public: RPCServerConnector(ReceiveMessageSignal & receiveMessageSignal); ~RPCServerConnector(); }; #endif // _rpcserverconnector_h sinfo-0.0.48/librpc/rpcserverconnectorfactory.h0000644000175000017500000000065312101563610016603 00000000000000#ifndef _rpcserverconnectorfactory_h #define _rpcserverconnectorfactory_h #include "serverconnectorfactorybase.h" #include "messageserver.h" class RPCServerConnectorFactory : public ServerConnectorFactoryBase, public MessageServer { public: RPCServerConnectorFactory(); ~RPCServerConnectorFactory(); virtual boost::shared_ptr createServerConnector(); }; #endif // _rpcserverconnectorfactory_h sinfo-0.0.48/config.guess0000744000175000017500000012743212444035655012201 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-02-10' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, 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 Per Bothner. Please send patches (context # diff format) to and include a ChangeLog # entry. # # This script attempts to guess a canonical system name similar to # config.sub. If it succeeds, it prints the system name on stdout, and # exits with 0. Otherwise, it exits with 1. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the 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=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # 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/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) 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 ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*: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-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-gnu else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-gnueabi else echo ${UNAME_MACHINE}-unknown-linux-gnueabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) LIBC=gnu eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in i386) eval $set_cc_for_build if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then UNAME_PROCESSOR="x86_64" fi fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; 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 ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: sinfo-0.0.48/libsinfotypes/0000755000175000017500000000000012444035677012630 500000000000000sinfo-0.0.48/libsinfotypes/netload.h0000644000175000017500000000027312101563533014334 00000000000000#ifndef _netload_h #define _netload_h #include struct Netload { std::string iface; float rxbytes; float txbytes; float rxpkt; float txpkt; }; #endif // _netload_h sinfo-0.0.48/libsinfotypes/teststringandnumericcomparison.cc0000644000175000017500000000137211517102003021403 00000000000000#include #include #include "stringandnumericcomparison.h" using namespace std; void comparetest(const string & a, const string & b) { cout << "comparing " << a << " and " << b << " " << "<" << (a #include struct Procinfo { int pid; // process ID std::string command; // the name of the running process char state; // the process state 'R'=running, ... int priority; std::string username; // translated UID float cpupercent; // CPU usage of this process }; typedef std::list < Procinfo > ProcinfoList; #endif // _procinfo_h sinfo-0.0.48/libsinfotypes/messagesinfotypes.cc0000644000175000017500000002356411637172301016626 00000000000000#include #include "messagebasictypes.h" #include "messagecomplextypes.h" #include "messagesinfotypes.h" #include "messagestlcontainertypes.h" namespace Msg { void pushFrontLoadavg(Message & message, const Loadavg & value) { pushFrontfloat32(message, value.load15); pushFrontfloat32(message, value.load5); pushFrontfloat32(message, value.load1); } // void pushBackLoadavg(Message & message, const Loadavg & value) // { // pushBackfloat32(message, value.load1); // pushBackfloat32(message, value.load5); // pushBackfloat32(message, value.load15); // } void popFrontLoadavg(Message & message, Loadavg & returnValue) { popFrontfloat32(message,returnValue.load1); popFrontfloat32(message,returnValue.load5); popFrontfloat32(message,returnValue.load15); } void pushFrontMeminfo(Message & message, const Meminfo & value) { pushFrontfloat32(message, value.swap_free); pushFrontfloat32(message, value.swap_used); pushFrontfloat32(message, value.swap_total); pushFrontfloat32(message, value.mem_free); pushFrontfloat32(message, value.mem_used); pushFrontfloat32(message, value.mem_total); } // void pushBackMeminfo(Message & message, const Meminfo & value) // { // pushBackfloat32(message, value.mem_total); // pushBackfloat32(message, value.mem_used); // pushBackfloat32(message, value.mem_free); // // pushBackfloat32(message, value.swap_total); // pushBackfloat32(message, value.swap_used); // pushBackfloat32(message, value.swap_free); // } void popFrontMeminfo(Message & message, Meminfo & returnValue) { popFrontfloat32(message,returnValue.mem_total); popFrontfloat32(message,returnValue.mem_used); popFrontfloat32(message,returnValue.mem_free); popFrontfloat32(message,returnValue.swap_total); popFrontfloat32(message,returnValue.swap_used); popFrontfloat32(message,returnValue.swap_free); } void pushFrontCpustat(Message & message, const Cpustat & value) { pushFrontfloat32(message, value.softirqp); pushFrontfloat32(message, value.irqp); pushFrontfloat32(message, value.iowaitp); pushFrontfloat32(message, value.idlep); pushFrontfloat32(message, value.sysp); pushFrontfloat32(message, value.nicep); pushFrontfloat32(message, value.userp); } // void pushBackCpustat(Message & message, const Cpustat & value) // { // pushBackfloat32(message, value.userp); // pushBackfloat32(message, value.nicep); // pushBackfloat32(message, value.sysp); // pushBackfloat32(message, value.idlep); // pushBackfloat32(message, value.iowaitp); // pushBackfloat32(message, value.irqp); // pushBackfloat32(message, value.softirqp); // } void popFrontCpustat(Message & message, Cpustat & returnValue) { popFrontfloat32(message, returnValue.userp); popFrontfloat32(message, returnValue.nicep); popFrontfloat32(message, returnValue.sysp); popFrontfloat32(message, returnValue.idlep); popFrontfloat32(message, returnValue.iowaitp); popFrontfloat32(message, returnValue.irqp); popFrontfloat32(message, returnValue.softirqp); } void pushFrontCpuinfo(Message & message, const Cpuinfo & value) { pushFrontfloat32(message, value.speedmhz); pushFrontint32(message, value.cpus); } // void pushBackCpuinfo(Message & message, const Cpuinfo & value) // { // pushBackint32(message, value.cpus); // pushBackfloat32(message, value.speedmhz); // } void popFrontCpuinfo(Message & message, Cpuinfo & returnValue) { popFrontint32(message, returnValue.cpus); popFrontfloat32(message, returnValue.speedmhz); } void pushFrontUptime(Message & message, const Uptime & value) { pushFrontint32(message, value.seconds); pushFrontint32(message, value.days); } // void pushBackUptime(Message & message, const Uptime & value) // { // pushBackint32(message, value.days); // pushBackint32(message, value.seconds); // } void popFrontUptime(Message & message, Uptime & returnValue) { popFrontint32(message, returnValue.days); popFrontint32(message, returnValue.seconds); } void pushFrontUsers(Message & message, const Users & value) { pushFrontint32(message, value.number); } // void pushBackUsers(Message & message, const Users & value) // { // pushBackint32(message, value.number); // } void popFrontUsers(Message & message, Users & returnValue) { popFrontint32(message, returnValue.number); } void pushFrontProcinfo(Message & message, const Procinfo & value) { pushFrontfloat32(message, value.cpupercent); pushFrontstring(message, value.username); pushFrontint32(message, value.priority); pushFrontint8(message, value.state); pushFrontstring(message, value.command); pushFrontint32(message, value.pid); } // void pushBackProcinfo(Message & message, const Procinfo & value) // { // pushBackint32(message, value.pid); // pushBackstring(message, value.command); // pushBackint8(message, value.state); // pushBackint32(message, value.priority); // pushBackstring(message, value.username); // pushBackfloat32(message, value.cpupercent); // } void popFrontProcinfo(Message & message, Procinfo & returnValue) { popFrontint32(message, returnValue.pid); popFrontstring(message, returnValue.command); popFrontint8(message, returnValue.state); popFrontint32(message, returnValue.priority); popFrontstring(message, returnValue.username); popFrontfloat32(message, returnValue.cpupercent); } void pushFront(Message & message, const Procinfo & value) { pushFrontProcinfo(message, value); } void popFront(Message & message, Procinfo & returnValue) { popFrontProcinfo(message, returnValue); } void pushFrontUnameinfo(Message & message, const Unameinfo & value) { pushFrontstring(message, value.machine); pushFrontstring(message, value.version); pushFrontstring(message, value.release); pushFrontstring(message, value.nodename); pushFrontstring(message, value.sysname); } // void pushBackUnameinfo(Message & message, const Unameinfo & value) // { // pushBackstring(message, value.sysname); // pushBackstring(message, value.nodename); // pushBackstring(message, value.release); // pushBackstring(message, value.version); // pushBackstring(message, value.machine); // } void popFrontUnameinfo(Message & message, Unameinfo & returnValue) { popFrontstring(message, returnValue.sysname); popFrontstring(message, returnValue.nodename); popFrontstring(message, returnValue.release); popFrontstring(message, returnValue.version); popFrontstring(message, returnValue.machine); } void pushFrontNetload(Message & message, const Netload & value) { pushFrontfloat32(message, value.txpkt); pushFrontfloat32(message, value.rxpkt); pushFrontfloat32(message, value.txbytes); pushFrontfloat32(message, value.rxbytes); pushFrontstring(message, value.iface); } // void pushBackNetload(Message & message, const Netload & value) // { // pushBackstring(message, value.iface); // pushBackfloat32(message, value.rxbytes); // pushBackfloat32(message, value.txbytes); // pushBackfloat32(message, value.rxpkt); // pushBackfloat32(message, value.txpkt); // } void popFrontNetload(Message & message, Netload & returnValue) { popFrontstring(message, returnValue.iface); popFrontfloat32(message, returnValue.rxbytes); popFrontfloat32(message, returnValue.txbytes); popFrontfloat32(message, returnValue.rxpkt); popFrontfloat32(message, returnValue.txpkt); } void pushFrontDiskload(Message & message, const Diskload & value) { pushFrontfloat32(message, value.writekbytespersec); pushFrontfloat32(message, value.readkbytespersec); } // void pushBackDiskload(Message & message, const Diskload & value) // { // pushBackfloat32(message, value.readkbytespersec); // pushBackfloat32(message, value.writekbytespersec); // } void popFrontDiskload(Message & message, Diskload & returnValue) { popFrontfloat32(message,returnValue.readkbytespersec); popFrontfloat32(message,returnValue.writekbytespersec); } void pushFrontWsinfo(Message & message, const Wsinfo & value) { pushFrontstring(message, value.marker); pushFrontDiskload(message, value.diskload); pushFrontNetload(message, value.netload); pushFrontUnameinfo(message, value.unameinfo); pushFront(message, value.procinfoList); pushFrontUsers(message, value.users); pushFrontUptime(message, value.uptime); pushFrontCpuinfo(message, value.cpuinfo); pushFrontCpustat(message, value.cpustat); pushFrontMeminfo(message, value.meminfo); pushFrontLoadavg(message, value.loadavg); pushFrontstring(message, value.inetaddr); pushFrontstring(message, value.name); } // void pushBackWsinfo(Message & message, const Wsinfo & value) // { // pushBackstring(message, value.name); // pushBackstring(message, value.inetaddr); // pushBackLoadavg(message, value.loadavg); // pushBackMeminfo(message, value.meminfo); // pushBackCpustat(message, value.cpustat); // pushBackCpuinfo(message, value.cpuinfo); // pushBackUptime(message, value.uptime); // pushBackUsers(message, value.users); // pushBack(message, value.procinfoList); // pushBackUnameinfo(message, value.unameinfo); // pushBackNetload(message, value.netload); // pushBackDiskload(message, value.diskload); // pushBackstring(message, value.marker); // } void popFrontWsinfo(Message & message, Wsinfo & returnValue) { popFrontstring(message, returnValue.name); popFrontstring(message, returnValue.inetaddr); popFrontLoadavg(message, returnValue.loadavg); popFrontMeminfo(message, returnValue.meminfo); popFrontCpustat(message, returnValue.cpustat); popFrontCpuinfo(message, returnValue.cpuinfo); popFrontUptime(message, returnValue.uptime); popFrontUsers(message, returnValue.users); popFront(message, returnValue.procinfoList); popFrontUnameinfo(message, returnValue.unameinfo); popFrontNetload(message, returnValue.netload); popFrontDiskload(message, returnValue.diskload); popFrontstring(message, returnValue.marker); } void pushFront(Message & message, const Wsinfo & value) { pushFrontWsinfo(message, value); } void popFront(Message & message, Wsinfo & returnValue) { popFrontWsinfo(message, returnValue); } } sinfo-0.0.48/libsinfotypes/sinfo.h.in0000644000175000017500000000230112101574156014426 00000000000000#ifndef _sinfo_h #define _sinfo_h #include #include #include #include #include "cpustat.h" #include "cpuinfo.h" #include "loadavg.h" #include "meminfo.h" #include "netload.h" #include "diskload.h" #include "uname.h" #include "uptime.h" #include "users.h" #include "procinfo.h" /* #The Well Known Ports are those from 0 through 1023. # #The Registered Ports are those from 1024 through 49151 # #The Dynamic and/or Private Ports are those from 49152 through 65535 */ // port for udp broadcast and tcp queries #define SINFO_REQUEST_PORT @SINFO_REQUEST_PORT@ #define SINFO_REQUEST_PORT_STRING "@SINFO_REQUEST_PORT@" #define SINFO_BROADCAST_PORT @SINFO_BROADCAST_PORT@ #define SINFO_BROADCAST_PORT_STRING "@SINFO_BROADCAST_PORT@" struct Wsinfo { // set in broadcastreceiver time_t lastheard; std::string inetaddr; std::string name; time_t name_time; // transmitted Loadavg loadavg; Meminfo meminfo; Cpustat cpustat; Cpuinfo cpuinfo; Uptime uptime; Users users; ProcinfoList procinfoList; Unameinfo unameinfo; Netload netload; Diskload diskload; std::string marker; }; bool operator<(const Wsinfo& a, const Wsinfo& b); #endif // _sinfo_h sinfo-0.0.48/libsinfotypes/cpuinfo.h0000644000175000017500000000016112101563541014344 00000000000000#ifndef _cpuinfo_h #define _cpuinfo_h struct Cpuinfo { int cpus; float speedmhz; }; #endif // _cpuinfo_h sinfo-0.0.48/libsinfotypes/Makefile.in0000644000175000017500000005752412444035656014627 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = teststringandnumericcomparison$(EXEEXT) subdir = libsinfotypes DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/sinfo.h.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = sinfo.h CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libsinfotypes_la_DEPENDENCIES = ../libmessage/libmessage.la am_libsinfotypes_la_OBJECTS = libsinfotypes_la-wsinfo.lo \ libsinfotypes_la-messagesinfotypes.lo \ libsinfotypes_la-stringandnumericcomparison.lo libsinfotypes_la_OBJECTS = $(am_libsinfotypes_la_OBJECTS) libsinfotypes_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) \ $(libsinfotypes_la_CXXFLAGS) $(CXXFLAGS) \ $(libsinfotypes_la_LDFLAGS) $(LDFLAGS) -o $@ PROGRAMS = $(noinst_PROGRAMS) am_teststringandnumericcomparison_OBJECTS = \ teststringandnumericcomparison.$(OBJEXT) teststringandnumericcomparison_OBJECTS = \ $(am_teststringandnumericcomparison_OBJECTS) teststringandnumericcomparison_DEPENDENCIES = libsinfotypes.la \ ../libmessage/libmessage.la DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libsinfotypes_la_SOURCES) \ $(teststringandnumericcomparison_SOURCES) DIST_SOURCES = $(libsinfotypes_la_SOURCES) \ $(teststringandnumericcomparison_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = \ libsinfotypes.la libsinfotypes_la_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/libmessage libsinfotypes_la_CXXFLAGS = \ -DSBINDIR=\"$(sbindir)\" libsinfotypes_la_LDFLAGS = \ -release $(VERSION) libsinfotypes_la_LIBADD = \ ../libmessage/libmessage.la \ -lpthread libsinfotypes_la_SOURCES = \ sinfo.h wsinfo.cc \ cpustat.h \ cpuinfo.h \ loadavg.h \ meminfo.h \ netload.h \ diskload.h \ procinfo.h \ uname.h \ uptime.h \ users.h \ messagesinfotypes.h messagesinfotypes.cc \ stringandnumericcomparison.h stringandnumericcomparison.cc EXTRA_DIST = sinfo.h.in teststringandnumericcomparison_SOURCES = \ teststringandnumericcomparison.cc teststringandnumericcomparison_LDADD = \ libsinfotypes.la \ ../libmessage/libmessage.la all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libsinfotypes/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libsinfotypes/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): sinfo.h: $(top_builddir)/config.status $(srcdir)/sinfo.h.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libsinfotypes.la: $(libsinfotypes_la_OBJECTS) $(libsinfotypes_la_DEPENDENCIES) $(EXTRA_libsinfotypes_la_DEPENDENCIES) $(libsinfotypes_la_LINK) -rpath $(pkglibdir) $(libsinfotypes_la_OBJECTS) $(libsinfotypes_la_LIBADD) $(LIBS) clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list teststringandnumericcomparison$(EXEEXT): $(teststringandnumericcomparison_OBJECTS) $(teststringandnumericcomparison_DEPENDENCIES) $(EXTRA_teststringandnumericcomparison_DEPENDENCIES) @rm -f teststringandnumericcomparison$(EXEEXT) $(CXXLINK) $(teststringandnumericcomparison_OBJECTS) $(teststringandnumericcomparison_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfotypes_la-messagesinfotypes.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfotypes_la-stringandnumericcomparison.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfotypes_la-wsinfo.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/teststringandnumericcomparison.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< libsinfotypes_la-wsinfo.lo: wsinfo.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfotypes_la_CPPFLAGS) $(CPPFLAGS) $(libsinfotypes_la_CXXFLAGS) $(CXXFLAGS) -MT libsinfotypes_la-wsinfo.lo -MD -MP -MF $(DEPDIR)/libsinfotypes_la-wsinfo.Tpo -c -o libsinfotypes_la-wsinfo.lo `test -f 'wsinfo.cc' || echo '$(srcdir)/'`wsinfo.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfotypes_la-wsinfo.Tpo $(DEPDIR)/libsinfotypes_la-wsinfo.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='wsinfo.cc' object='libsinfotypes_la-wsinfo.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfotypes_la_CPPFLAGS) $(CPPFLAGS) $(libsinfotypes_la_CXXFLAGS) $(CXXFLAGS) -c -o libsinfotypes_la-wsinfo.lo `test -f 'wsinfo.cc' || echo '$(srcdir)/'`wsinfo.cc libsinfotypes_la-messagesinfotypes.lo: messagesinfotypes.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfotypes_la_CPPFLAGS) $(CPPFLAGS) $(libsinfotypes_la_CXXFLAGS) $(CXXFLAGS) -MT libsinfotypes_la-messagesinfotypes.lo -MD -MP -MF $(DEPDIR)/libsinfotypes_la-messagesinfotypes.Tpo -c -o libsinfotypes_la-messagesinfotypes.lo `test -f 'messagesinfotypes.cc' || echo '$(srcdir)/'`messagesinfotypes.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfotypes_la-messagesinfotypes.Tpo $(DEPDIR)/libsinfotypes_la-messagesinfotypes.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='messagesinfotypes.cc' object='libsinfotypes_la-messagesinfotypes.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfotypes_la_CPPFLAGS) $(CPPFLAGS) $(libsinfotypes_la_CXXFLAGS) $(CXXFLAGS) -c -o libsinfotypes_la-messagesinfotypes.lo `test -f 'messagesinfotypes.cc' || echo '$(srcdir)/'`messagesinfotypes.cc libsinfotypes_la-stringandnumericcomparison.lo: stringandnumericcomparison.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfotypes_la_CPPFLAGS) $(CPPFLAGS) $(libsinfotypes_la_CXXFLAGS) $(CXXFLAGS) -MT libsinfotypes_la-stringandnumericcomparison.lo -MD -MP -MF $(DEPDIR)/libsinfotypes_la-stringandnumericcomparison.Tpo -c -o libsinfotypes_la-stringandnumericcomparison.lo `test -f 'stringandnumericcomparison.cc' || echo '$(srcdir)/'`stringandnumericcomparison.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfotypes_la-stringandnumericcomparison.Tpo $(DEPDIR)/libsinfotypes_la-stringandnumericcomparison.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='stringandnumericcomparison.cc' object='libsinfotypes_la-stringandnumericcomparison.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfotypes_la_CPPFLAGS) $(CPPFLAGS) $(libsinfotypes_la_CXXFLAGS) $(CXXFLAGS) -c -o libsinfotypes_la-stringandnumericcomparison.lo `test -f 'stringandnumericcomparison.cc' || echo '$(srcdir)/'`stringandnumericcomparison.cc mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ clean-pkglibLTLIBRARIES mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS clean-pkglibLTLIBRARIES \ ctags distclean distclean-compile distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-pkglibLTLIBRARIES install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libsinfotypes/messagesinfotypes.h0000644000175000017500000000475112101563554016466 00000000000000#ifndef _messagesinfotypes_h #define _messagesinfotypes_h #include "sinfo.h" #include "message.h" namespace Msg { void pushFrontLoadavg(Message & message, const Loadavg & value); //void pushBackLoadavg(Message & message, const Loadavg & value); void popFrontLoadavg(Message & message, Loadavg & returnValue); void pushFrontMeminfo(Message & message, const Meminfo & value); //void pushBackMeminfo(Message & message, const Meminfo & value); void popFrontMeminfo(Message & message, Meminfo & returnValue); void pushFrontCpustat(Message & message, const Cpustat & value); //void pushBackCpustat(Message & message, const Cpustat & value); void popFrontCpustat(Message & message, Cpustat & returnValue); void pushFrontCpuinfo(Message & message, const Cpuinfo & value); //void pushBackCpuinfo(Message & message, const Cpuinfo & value); void popFrontCpuinfo(Message & message, Cpuinfo & returnValue); void pushFrontUptime(Message & message, const Uptime & value); //void pushBackUptime(Message & message, const Uptime & value); void popFrontUptime(Message & message, Uptime & returnValue); void pushFrontUsers(Message & message, const Users & value); //void pushBackUsers(Message & message, const Users & value); void popFrontUsers(Message & message, Users & returnValue); void pushFrontProcinfo(Message & message, const Procinfo & value); //void pushBackProcinfo(Message & message, const Procinfo & value); void popFrontProcinfo(Message & message, Procinfo & returnValue); void pushFront(Message & message, const Procinfo & value); void popFront(Message & message, Procinfo & returnValue); void pushFrontUnameinfo(Message & message, const Unameinfo & value); //void pushBackUnameinfo(Message & message, const Unameinfo & value); void popFrontUnameinfo(Message & message, Unameinfo & returnValue); void pushFrontNetload(Message & message, const Netload & value); //void pushBackNetload(Message & message, const Netload & value); void popFrontNetload(Message & message, Netload & returnValue); void pushFrontDiskload(Message & message, const Diskload & value); //void pushBackDiskload(Message & message, const Diskload & value); void popFrontDiskload(Message & message, Diskload & returnValue); void pushFrontWsinfo(Message & message, const Wsinfo & value); //void pushBackWsinfo(Message & message, const Wsinfo & value); void popFrontWsinfo(Message & message, Wsinfo & returnValue); void pushFront(Message & message, const Wsinfo & value); void popFront(Message & message, Wsinfo & returnValue); } #endif // _messagesinfotypes_h sinfo-0.0.48/libsinfotypes/uname.h0000644000175000017500000000032612101563571014014 00000000000000#ifndef _uname_h #define _uname_h #include struct Unameinfo { std::string sysname; std::string nodename; std::string release; std::string version; std::string machine; }; #endif // _uname_h sinfo-0.0.48/libsinfotypes/meminfo.h0000644000175000017500000000030412101563546014337 00000000000000#ifndef _meminfo_h #define _meminfo_h struct Meminfo { float mem_total; float mem_used; float mem_free; float swap_total; float swap_used; float swap_free; }; #endif // _meminfo_h sinfo-0.0.48/libsinfotypes/users.h0000644000175000017500000000013012101563557014045 00000000000000#ifndef _users_h #define _users_h struct Users { int number; }; #endif // _users_h sinfo-0.0.48/libsinfotypes/loadavg.h0000644000175000017500000000020012101563536014314 00000000000000#ifndef _loadavg_h #define _loadavg_h struct Loadavg { float load1; float load5; float load15; }; #endif // _loadavg_h sinfo-0.0.48/libsinfotypes/wsinfo.cc0000644000175000017500000000024511517102003014337 00000000000000#include "sinfo.h" #include "stringandnumericcomparison.h" bool operator<(const Wsinfo& a, const Wsinfo& b) { return stringAndNumericLessThan(a.name, b.name); } sinfo-0.0.48/libsinfotypes/Makefile.am0000644000175000017500000000151012263056134014567 00000000000000 pkglib_LTLIBRARIES = \ libsinfotypes.la noinst_PROGRAMS = \ teststringandnumericcomparison libsinfotypes_la_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_srcdir)/libmessage libsinfotypes_la_CXXFLAGS = \ -DSBINDIR=\"$(sbindir)\" libsinfotypes_la_LDFLAGS = \ -release $(VERSION) libsinfotypes_la_LIBADD = \ ../libmessage/libmessage.la \ -lpthread libsinfotypes_la_SOURCES = \ sinfo.h wsinfo.cc \ cpustat.h \ cpuinfo.h \ loadavg.h \ meminfo.h \ netload.h \ diskload.h \ procinfo.h \ uname.h \ uptime.h \ users.h \ messagesinfotypes.h messagesinfotypes.cc \ stringandnumericcomparison.h stringandnumericcomparison.cc EXTRA_DIST = sinfo.h.in teststringandnumericcomparison_SOURCES = \ teststringandnumericcomparison.cc teststringandnumericcomparison_LDADD = \ libsinfotypes.la \ ../libmessage/libmessage.la sinfo-0.0.48/libsinfotypes/stringandnumericcomparison.h0000644000175000017500000000033112101564151020345 00000000000000#ifndef _stringandnumericcomparison_h #define _stringandnumericcomparison_h #include bool stringAndNumericLessThan(const std::string & a, const std::string & b); #endif // _stringandnumericcomparison_h sinfo-0.0.48/libsinfotypes/diskload.h0000644000175000017500000000021412101563543014474 00000000000000#ifndef _diskload_h #define _diskload_h struct Diskload { float readkbytespersec; float writekbytespersec; }; #endif // _diskload_h sinfo-0.0.48/libsinfotypes/sinfo.h0000644000175000017500000000220112444035676014031 00000000000000#ifndef _sinfo_h #define _sinfo_h #include #include #include #include #include "cpustat.h" #include "cpuinfo.h" #include "loadavg.h" #include "meminfo.h" #include "netload.h" #include "diskload.h" #include "uname.h" #include "uptime.h" #include "users.h" #include "procinfo.h" /* #The Well Known Ports are those from 0 through 1023. # #The Registered Ports are those from 1024 through 49151 # #The Dynamic and/or Private Ports are those from 49152 through 65535 */ // port for udp broadcast and tcp queries #define SINFO_REQUEST_PORT 60002 #define SINFO_REQUEST_PORT_STRING "60002" #define SINFO_BROADCAST_PORT 60003 #define SINFO_BROADCAST_PORT_STRING "60003" struct Wsinfo { // set in broadcastreceiver time_t lastheard; std::string inetaddr; std::string name; time_t name_time; // transmitted Loadavg loadavg; Meminfo meminfo; Cpustat cpustat; Cpuinfo cpuinfo; Uptime uptime; Users users; ProcinfoList procinfoList; Unameinfo unameinfo; Netload netload; Diskload diskload; std::string marker; }; bool operator<(const Wsinfo& a, const Wsinfo& b); #endif // _sinfo_h sinfo-0.0.48/libsinfotypes/stringandnumericcomparison.cc0000644000175000017500000000225512011403606020507 00000000000000#include "stringandnumericcomparison.h" using namespace std; bool stringAndNumericLessThan(const string & a, const string & b) { unsigned long aidx=0; unsigned long bidx=0; while ((aidxbnumber) { return false; } } else { // fetch character char achar=a[aidx++]; char bchar=b[bidx++]; // the character comparison if (acharbchar) { return false; } } } // strings seem to be identical up to their common size // last criterion: size of strings return (a.size()

Get the host information list from sinfod.

Get the host information list from sinfod, but only the entries which marker is equal to filterMarker.

sinfo-0.0.48/sinfo/sinfo.idlx.client.cc0000644000175000017500000000365112444035677014642 00000000000000/******************************************************************************* ** File gererated from sinfo.idlx ** ** Created: Tue Dec 16 15:03:43 2014 ** by: idlxcompiler version 0.0.1 ** ** WARNING! ** All changes made in this file will be lost when recompiling idlx file. *******************************************************************************/ #include #include "sinfo.idlx.client.h" #include "messagebasictypes.h" #include "messagecomplextypes.h" #include "messagestlcontainertypes.h" using namespace Msg; #include "templatereplyparser.h" enum { GetSinfoListRequest=1, GetSinfoListReply=2, GetFilteredSinfoListRequest=3, GetFilteredSinfoListReply=4 }; SinfoClientRequest::SinfoClientRequest() { } void SinfoClientRequest::getSinfoListRequest() { Message message; pushFrontuint8(message,GetSinfoListRequest); sinfoClientRequestMessageSignal(message); }; void SinfoClientRequest::getFilteredSinfoListRequest(const std::string & filterMarker) { Message message; /**/pushFront(message, (std::string)filterMarker); pushFrontuint8(message,GetFilteredSinfoListRequest); sinfoClientRequestMessageSignal(message); }; SinfoClientReply::SinfoClientReply() { TemplateReplyParser_1< std::list < Wsinfo > > * getSinfoListReplyParserPtr = new TemplateReplyParser_1< std::list < Wsinfo > >; getSinfoListReplyParserPtr->callWorkerSignal.connect(boost::bind(&SinfoClientReply::getSinfoListReply, this, _1)); compositeReplyParser.addReplyParser(GetSinfoListReply, ReplyParser::SPtr(getSinfoListReplyParserPtr)); TemplateReplyParser_1< std::list < Wsinfo > > * getFilteredSinfoListReplyParserPtr = new TemplateReplyParser_1< std::list < Wsinfo > >; getFilteredSinfoListReplyParserPtr->callWorkerSignal.connect(boost::bind(&SinfoClientReply::getFilteredSinfoListReply, this, _1)); compositeReplyParser.addReplyParser(GetFilteredSinfoListReply, ReplyParser::SPtr(getFilteredSinfoListReplyParserPtr)); } sinfo-0.0.48/sinfo/sinforequester.cc0000644000175000017500000000573512300715310014347 00000000000000#include #include #include "sinforequester.h" #include "messagebasictypes.h" using namespace std; using namespace Msg; SinfoRequester::SinfoRequester(ProtocolIO & protocolIO, SinfoData & _sinfoData) : sinfoData(_sinfoData), waitForConnectionReadyTimer(protocolIO), requestUpdateTimer(protocolIO), periodicRequestTimer(protocolIO) { delay_millisec=1000; timeout_millisec=1000; stopAfterOneRequest=false; waitForConnectionReadyTimer.startAlarmAfter(boost::posix_time::millisec(timeout_millisec), boost::bind(&SinfoRequester::waitForConnectionReadyTimerExpiredEvent, this)); sinfoClientRequestMessageSignal.connect(boost::bind(&SinfoRequester::sinfoClientRequestMessageSlot, this,_1)); } void SinfoRequester::sinfoClientRequestMessageSlot(Message & message) { pushFrontuint8(message,2); queueAndSendMessageSignal(message); } void SinfoRequester::waitForConnectionReadyTimerExpiredEvent() { //cout << "SinfoRequester::waitForConnectionReadyTimerExpiredEvent()" << endl; timeoutSignal(); // no new Event queued } void SinfoRequester::connectionReadySlot() { waitForConnectionReadyTimer.stop(); requestUpdate(); } void SinfoRequester::getSinfoListReply(const std::list< Wsinfo > & wsinfoList) { requestUpdateTimer.stop(); std::list < Wsinfo > & theWsinfoList=sinfoData.wsinfoList; // append data theWsinfoList=wsinfoList; theWsinfoList.sort(); // inform all observers that sinfoData has been changed sinfoData.changedSignal(); if (false==stopAfterOneRequest) { periodicRequestTimer.startAlarmAfter(boost::posix_time::millisec(delay_millisec), boost::bind(&SinfoRequester::periodicRequestTimerExpiredEvent, this)); } } void SinfoRequester::getFilteredSinfoListReply(const std::list< Wsinfo > & wsinfoList) { getSinfoListReply(wsinfoList); } void SinfoRequester::requestUpdate() { if (filterMarker.size()>0) { getFilteredSinfoListRequest(filterMarker); } else { getSinfoListRequest(); } requestUpdateTimer.startAlarmAfter(boost::posix_time::millisec(timeout_millisec), boost::bind(&SinfoRequester::requestUpdateTimerExpiredEvent, this)); } void SinfoRequester::requestUpdateTimerExpiredEvent() { //cout << "SinfoRequester::requestUpdateTimerExpiredEvent()" << endl; timeoutSignal(); if (false==stopAfterOneRequest) { periodicRequestTimer.startAlarmAfter(boost::posix_time::millisec(delay_millisec), boost::bind(&SinfoRequester::periodicRequestTimerExpiredEvent, this)); } } void SinfoRequester::receivedMessageSlot(Message & returnMessage) { try { if (returnMessage.size() > 0) { uint8 messageID; popFrontuint8(returnMessage,messageID); if (2!=messageID) return; //cout << "messageID=" << int(messageID) << endl; compositeReplyParser.parse(returnMessage); } } catch (MessageException & ex) { // to ignore errors std::cerr << ex.what() << std::endl; } } void SinfoRequester::periodicRequestTimerExpiredEvent() { requestUpdate(); } sinfo-0.0.48/sinfo/sinfo.cc0000644000175000017500000002207512300715425012412 00000000000000#include #include #include #include #include #include #include "sinfoviewconfig.h" #include "sinfocurses.h" #include "sinfoprint.h" #include "sinfohtml.h" #include "sinforequester.h" #include "sinfodata.h" #include "udpmessageclient.h" #include "tcpmessageclient.h" #include "protocoltimerasio.h" using namespace std; void printHelpAndExit(const char * plaint = "Usage:-") { cout << plaint << endl << endl << "sinfo [-q][-V] [-W][-H][-I][-L] [-h host[:port]] [-u user] [-d delay ] [-s][-o][-i process][-n][-D][-t count][-c scale]" << endl << endl << "OPTIONS (for full descriptions see \"man sinfo\")" << endl << "-q/--quiet" << endl << " be quiet - don't display startup informations." << endl << "-V/--version" << endl << " Print the version number and exit." << endl << "--W/--wwwmode" << endl << " Web-mode: List all hosts and their informations in html." << endl << "-H/--hostsmode" << endl << " List all host names of nodes running a sinfod." << endl << "-I/--ipmode" << endl << " List all IPs of nodes running a sinfod." << endl << "-L/--loadmode" << endl << " List all known host names with the current system load." << endl << "-h/--host " << endl << " Fetch information from the sinfod on ." << endl << "--udp / --tcp" << endl << " Use UDP(default) or TCP to connect to sinfod." << endl << "-u/--user " << endl << " Highlight all processes of ." << endl << "-d/--delay " << endl << " Set the delay (in seconds) between two updates." << endl << "-s/--systeminfo" << endl << " Show system information (resolved by a uname -a call) in the list." << endl << "-o/--own" << endl << " Only display your own processes." << endl << "-i/--ignore " << endl << " don't display ; --ignore may be set multiple times." << endl << "-n/--netload" << endl << " Display network load." << endl << "-D/--diskload" << endl << " Display disk load (buffer allocation rate)." << endl << "-t/--top " << endl << " Restrict the number of processes displayed to ." << endl << "-c/--scale " << endl << " Set the scaling of the CPU load bars to \"log\", \"lin\" or full." << endl << endl; exit(1); } void exit1() { exit(1); } int main(int argc, char * argv[]) { // Controller boost::asio::io_service ioservice; // Model - the data SinfoData sinfoData; // View - requester std::string requestHost; // FIXME : make it work again i.e. multiple requester objects or one ProtocolIOAsio protocolIO(ioservice); SinfoRequester sinfoRequester(protocolIO, sinfoData); // other Views - SinfoHTML, SinfoCurses created later bool useUDPConnection=true; // configuration of Views SinfoViewConfig sinfoViewConfig; enum PrintMode {printHosts, printIP, printHostsAndIP, printHostsLoad, printInteractive, printHTML} printMode; printMode = printInteractive; // default: interactive static const struct option long_options[] = { { "quiet", no_argument, 0, 'q' }, { "version", no_argument, 0, 'V' }, { "wwwmode", no_argument, 0, 'W' }, { "hostsmode", no_argument, 0, 'H' }, { "ipmode", no_argument, 0, 'I' }, { "hostsandipmode", no_argument, 0, 1001 }, { "loadmode", no_argument, 0, 'L' }, { "host", required_argument, 0, 'h'}, { "user", required_argument, 0, 'u'}, { "delay", required_argument, 0, 'd' }, { "filtermarker", required_argument, 0, 1000 }, { "udp", no_argument, 0, 2001 }, { "tcp", no_argument, 0, 2000 }, { "systeminfo", no_argument, 0, 's' }, { "own", no_argument, 0, 'o' }, { "ignore", required_argument, 0, 'i' }, { "netload", no_argument, 0, 'n' }, { "diskload", no_argument, 0, 'D' }, { "top", required_argument, 0, 't' }, { "scale", required_argument, 0, 'c' }, { "help", no_argument, 0, '?' }, { 0, 0, 0, 0 } }; int c; while ((c = getopt_long(argc, argv, "qVWHILh:u:d:soi:nDt:c:?", long_options, NULL)) != -1) { switch (c) { case 'q': sinfoViewConfig.quiet = true; break; case 'V': cout << argv[0] << " " << VERSION << " (compiled " __DATE__ " " __TIME__ ")" << endl; exit(0); break; case 'W': // web-mode printMode = printHTML; break; case 'H': printMode = printHosts; break; case 'I': printMode = printIP; break; case 1001: printMode = printHostsAndIP; break; case 'L': printMode = printHostsLoad; break; case 'h': { requestHost=string(optarg); } break; case 2000: { useUDPConnection=false; } break; case 2001: { useUDPConnection=true; } break; case 'u': sinfoViewConfig.username = string(optarg); break; case 'd': sinfoRequester.delay_millisec = atol(optarg)*1000; break; case 1000: sinfoRequester.filterMarker=string(optarg); break; case 's': sinfoViewConfig.systeminfo = true; break; case 'o': sinfoViewConfig.ownprocesses = true; break; case 'i': sinfoViewConfig.ignoreList.push_back(string(optarg)); break; case 'n': sinfoViewConfig.shownetload = true; break; case 'D': sinfoViewConfig.showdiskload = true; break; case 't': sinfoViewConfig.listtop = atoi(optarg); break; case 'c': if (0==strcmp(optarg,"log")) { sinfoViewConfig.dispScale=SinfoViewConfig::log; } else if (0==strcmp(optarg,"lin")) { sinfoViewConfig.dispScale=SinfoViewConfig::lin; } else if (0==strcmp(optarg,"full")) { sinfoViewConfig.dispScale=SinfoViewConfig::full; } else { cerr << "--scale=" << optarg << " is unknown use \"lin\", \"log\" or \"full\"" << endl; exit(1); } break; case '?': printHelpAndExit(); break; default: printHelpAndExit("No such option"); } } if (!sinfoViewConfig.quiet) cerr << argv[0] << " " VERSION " (compiled " __DATE__ " " __TIME__ ")" << endl; if (0 == requestHost.size()) { requestHost=string("127.0.0.1"); // requestHost=string("::1"); } MessageClient * messageClientPtr; if (true==useUDPConnection) { messageClientPtr = new UDPMessageClient(ioservice, requestHost.c_str(), SINFO_REQUEST_PORT_STRING); } else { messageClientPtr = new TCPMessageClient(ioservice, requestHost.c_str(), SINFO_REQUEST_PORT_STRING); } // MessageClient <> SinfoRequester messageClientPtr->connectionReadySignal.connect(boost::bind(&SinfoRequester::connectionReadySlot, &sinfoRequester)); sinfoRequester.queueAndSendMessageSignal.connect(boost::bind(&MessageClient::queueAndSendMessageSlot, messageClientPtr, _1)); messageClientPtr->receivedMessageSignal.connect(boost::bind(&SinfoRequester::receivedMessageSlot, &sinfoRequester, _1)); switch (printMode) { case printHosts: { // SinfoRequester <> User sinfoRequester.timeoutSignal.connect(boost::bind(exit1)); messageClientPtr->stopAfterOneReceivedMessage=true; sinfoRequester.stopAfterOneRequest=true; ioservice.run(); sinfoPrintHosts(sinfoData.wsinfoList, sinfoViewConfig.systeminfo); } break; case printIP: { // SinfoRequester <> User sinfoRequester.timeoutSignal.connect(boost::bind(exit1)); messageClientPtr->stopAfterOneReceivedMessage=true; sinfoRequester.stopAfterOneRequest=true; ioservice.run(); sinfoPrintIP(sinfoData.wsinfoList, sinfoViewConfig.systeminfo); } break; case printHostsAndIP: { // SinfoRequester <> User sinfoRequester.timeoutSignal.connect(boost::bind(exit1)); messageClientPtr->stopAfterOneReceivedMessage=true; sinfoRequester.stopAfterOneRequest=true; ioservice.run(); sinfoPrintHostsAndIP(sinfoData.wsinfoList, sinfoViewConfig.systeminfo); } break; case printHostsLoad: { // SinfoRequester <> User sinfoRequester.timeoutSignal.connect(boost::bind(exit1)); messageClientPtr->stopAfterOneReceivedMessage=true; sinfoRequester.stopAfterOneRequest=true; ioservice.run(); sinfoPrintHostsLoad(sinfoData.wsinfoList, sinfoViewConfig.systeminfo, sinfoViewConfig.quiet); } break; case printHTML: { // SinfoRequester <> User sinfoRequester.timeoutSignal.connect(boost::bind(exit1)); messageClientPtr->stopAfterOneReceivedMessage=true; sinfoRequester.stopAfterOneRequest=true; ioservice.run(); SinfoHTML sinfoHTML(sinfoViewConfig, sinfoData); sinfoHTML.printHTML(); } break; case printInteractive: { SinfoCurses sinfoCurses(ioservice, sinfoViewConfig, sinfoData); sinfoCurses.printInit(); while (ioservice.run_one()) { // space for queue handling e.g. event handling by variable inspection } } break; }; delete messageClientPtr; return 0; } sinfo-0.0.48/sinfo/sinfoviewconfig.cc0000644000175000017500000000104011517102003014447 00000000000000#include #include #include "sinfoviewconfig.h" using namespace std; SinfoViewConfig::SinfoViewConfig() { quiet = false; char * lognamePtr=getenv("LOGNAME"); if (NULL!=lognamePtr) { username=string(lognamePtr); } char * hostnamePtr=getenv("HOSTNAME"); if (NULL!=hostnamePtr) { hostname = string(hostnamePtr); } listtop = -1; systeminfo = false; dispScale= SinfoViewConfig::log; ownprocesses = false; shownetload = false; showdiskload=false; std::list < std::string > ignoreList; } sinfo-0.0.48/sinfo/sinfodata.cc0000644000175000017500000000231312170065643013242 00000000000000#include #include "sinfodata.h" using namespace std; SinfoData::SinfoData() { } void SinfoData::calcSpeedInfo(long & cpuCount, float & speedSum, float & speedUsed, float & speedMin, float & speedMax) { // search for the fastest machine cpuCount = 0; speedSum = 0.; speedUsed = 0.; speedMin = 1e200; speedMax = 0; for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) { cpuCount+=it->cpuinfo.cpus; if (it->cpuinfo.cpus * it->cpuinfo.speedmhz > speedMax) { speedMax = it->cpuinfo.cpus * it->cpuinfo.speedmhz; } if (it->cpuinfo.cpus * it->cpuinfo.speedmhz < speedMin) { speedMin = it->cpuinfo.cpus * it->cpuinfo.speedmhz; } speedSum += it->cpuinfo.cpus * it->cpuinfo.speedmhz; speedUsed += (1.-it->cpustat.idlep) * it->cpuinfo.cpus * it->cpuinfo.speedmhz; } } long SinfoData::getProcinfoListMax() { unsigned long procinfoListMax=0; for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) { if (it->procinfoList.size()>procinfoListMax) { procinfoListMax=it->procinfoList.size(); } } return procinfoListMax; } sinfo-0.0.48/sinfo/sinfocurses.cc0000644000175000017500000003731112170071334013635 00000000000000#include #include #include #include "sinfocurses.h" using namespace std; #define HOSTNAMEMAXSIZE 30 void SinfoCurses:: printInteractiveOneHost(int maxy, int maxx, int & y, int & x, bool colormode, const Wsinfo & wsinfo, float speedMin, float speedMax) { int attr_normal; int attr_wsname; int attr_wrkbar; int attr_idlebar; int attr_usermark; int attr_warn; int attr_my_computer; if (colormode) { attr_normal = A_NORMAL; attr_wsname = A_REVERSE | A_BOLD | COLOR_PAIR(1); attr_wrkbar = A_REVERSE | A_BOLD | COLOR_PAIR(2); attr_idlebar = A_NORMAL | COLOR_PAIR(3); attr_usermark = A_BOLD | COLOR_PAIR(4); attr_warn = A_BOLD | A_BLINK | COLOR_PAIR(4); attr_my_computer = A_REVERSE | A_BOLD | COLOR_PAIR(5); } else { attr_normal = A_NORMAL; attr_wsname = A_REVERSE | A_BOLD; attr_wrkbar = A_REVERSE | A_BOLD; attr_idlebar = A_NORMAL; attr_usermark = A_BOLD; attr_warn = A_BOLD | A_BLINK; attr_my_computer = A_REVERSE | A_BOLD; } if ((y > 0) && (y < maxy)) { // first line: hostname and load-bar if ((config.hostname.size()>0) && (wsinfo.name==string(config.hostname))) { wattrset(win, attr_my_computer); } else { wattrset(win, attr_wsname); } mvwprintw(win, y, 0, "%s", wsinfo.name.c_str()); wattrset(win, attr_normal); x = wsinfo.name.size(); while (x < HOSTNAMEMAXSIZE) { wprintw(win, " "); x++; } // if (d_total != 0) { // variable length of bar-display long lengthmax = maxx - 32; // thim minimum is a 80-col display if (lengthmax < 48) lengthmax = 48; long length = lengthmax; if ((wsinfo.cpuinfo.cpus > 0) && (speedMin!=speedMax)) { float currentspeed=wsinfo.cpuinfo.cpus * wsinfo.cpuinfo.speedmhz; switch (config.dispScale) { case SinfoViewConfig::log: { length = 4 + long(rint( (length-4) * log10( (currentspeed-speedMin)*(10.-1.) / (speedMax-speedMin) +1. ) )); } break; case SinfoViewConfig::lin: { length = 4 + long(rint( (length-4) * (currentspeed-speedMin) / (speedMax-speedMin) )); } break; case SinfoViewConfig::full: break; } } int p = 0; wattrset(win, attr_wrkbar); while (p < long( wsinfo.cpustat.userp * length )) { wprintw(win, "u"); p++; } while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp) * length )) { wprintw(win, "s"); p++; } while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep) * length )) { wprintw(win, "n"); p++; } while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep+wsinfo.cpustat.iowaitp) * length )) { wprintw(win, "w"); p++; } while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep+wsinfo.cpustat.iowaitp+wsinfo.cpustat.irqp+wsinfo.cpustat.softirqp) * length )) { wprintw(win, "q"); p++; } wattrset(win, attr_idlebar); while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep+wsinfo.cpustat.idlep+wsinfo.cpustat.iowaitp+wsinfo.cpustat.irqp+wsinfo.cpustat.softirqp) * length )) { wprintw(win, "i"); p++; } wattrset(win, attr_normal); while (p < lengthmax) { wprintw(win, "-"); p++; } wclrtoeol(win); } } y++; // second line: meminfo and cpu-utilization in percent // if (d_total != 0) { if ((y > 0) && (y < maxy)) { // variable length of bar-display long lengthmax = maxx - 32; // thim minimum is a 80-col display if (lengthmax < 48) lengthmax = 48; mvwprintw(win, y, 0, "(%2d) ", wsinfo.users.number); if (wsinfo.meminfo.mem_total == 0) { wprintw(win, "mem: --- "); } else { wprintw(win, "mem:%5.1f%% ", float(wsinfo.meminfo.mem_used) / float(wsinfo.meminfo.mem_total)*100.); } if (float(wsinfo.meminfo.swap_used) / float(wsinfo.meminfo.swap_total) > 0.25) wattrset(win, attr_warn); if (wsinfo.meminfo.swap_total == 0) { wprintw(win, "swap: --- "); } else { wprintw(win, "swap:%5.1f%% ", float(wsinfo.meminfo.swap_used) / float(wsinfo.meminfo.swap_total)*100.); } wattrset(win, attr_normal); long lengthmax_spaces = lengthmax - (9+9+9+9+9); int p = 0; wprintw(win, "us:%5.1f%%", wsinfo.cpustat.userp*100.); for (; p < lengthmax_spaces / 4; p++) wprintw(win, " "); wprintw(win, "sy:%5.1f%%", wsinfo.cpustat.sysp*100.); for (; p < lengthmax_spaces*2 / 4; p++) wprintw(win, " "); wprintw(win, "ni:%5.1f%%", wsinfo.cpustat.nicep*100.); for (; p < lengthmax_spaces*3 / 4; p++) wprintw(win, " "); wprintw(win, "wa:%5.1f%%", wsinfo.cpustat.iowaitp*100.); for (; p < lengthmax_spaces; p++) wprintw(win, " "); wprintw(win, "id:%5.1f%%", wsinfo.cpustat.idlep*100.); wclrtoeol(win); } y++; } if (config.shownetload) { if ( (wsinfo.netload.rxbytes != 0) || (wsinfo.netload.txbytes != 0) || (wsinfo.netload.rxpkt != 0) || (wsinfo.netload.txpkt != 0) ) { if ((y > 0) && (y < maxy)) { mvwprintw(win, y, 0, " net: %10s RX:%11.1f pkt/s %11.1f Byte/s", wsinfo.netload.iface.c_str(), wsinfo.netload.rxpkt, wsinfo.netload.rxbytes); wclrtoeol(win); } y++; if ((y > 0) && (y < maxy)) { mvwprintw(win, y, 0, " %10s TX:%11.1f pkt/s %11.1f Byte/s", wsinfo.netload.iface.c_str(), wsinfo.netload.txpkt, wsinfo.netload.txbytes); wclrtoeol(win); } y++; } } if (config.showdiskload) { if ( (wsinfo.diskload.readkbytespersec >= 0) || (wsinfo.diskload.writekbytespersec >= 0) ) { if ((y > 0) && (y < maxy)) { mvwprintw(win, y, 0, " disk: read:%11.1f kByte/s write:%11.1f kByte/s", wsinfo.diskload.readkbytespersec, wsinfo.diskload.writekbytespersec); wclrtoeol(win); } y++; } } if (config.systeminfo) { if (wsinfo.unameinfo.sysname[0] != 0) { if ((y > 0) && (y < maxy)) { mvwprintw(win, y, 0, " %s", wsinfo.inetaddr.c_str()); wprintw(win, " %s", wsinfo.unameinfo.nodename.c_str()); wprintw(win, " %s", wsinfo.unameinfo.machine.c_str()); wprintw(win, " %s", wsinfo.unameinfo.sysname.c_str()); wprintw(win, " %s", wsinfo.unameinfo.release.c_str()); wprintw(win, " %s", wsinfo.unameinfo.version.c_str()); wclrtoeol(win); } y++; } if (wsinfo.cpuinfo.cpus != 0) { if ((y > 0) && (y < maxy)) { if (wsinfo.marker.size()>0) { mvwprintw(win, y, 0, " cpus: %i MHz: %6.1f marker: %s", wsinfo.cpuinfo.cpus, wsinfo.cpuinfo.speedmhz, wsinfo.marker.c_str()); } else { mvwprintw(win, y, 0, " cpus: %i MHz: %6.1f", wsinfo.cpuinfo.cpus, wsinfo.cpuinfo.speedmhz); } wclrtoeol(win); } y++; } if ((y > 0) && (y < maxy)) { mvwprintw(win, y, 0, " RAM: %.1f MByte " "swap: %.1f Mbyte", wsinfo.meminfo.mem_total / 1048576., wsinfo.meminfo.swap_total / 1048576.); wclrtoeol(win); } y++; if ((y > 0) && (y < maxy)) { mvwprintw(win, y, 0, " load 1min:%5.1f load 5min:%5.1f load 15min:%5.1f", wsinfo.loadavg.load1, wsinfo.loadavg.load5, wsinfo.loadavg.load15); wclrtoeol(win); } y++; if ((y > 0) && (y < maxy)) { long sec = wsinfo.uptime.seconds; long hour = long(sec / (60 * 60)); sec -= hour * 60 * 60; long min = long(sec / 60); sec -= min * 60; mvwprintw(win, y, 0, " uptime %ld days, %2ld:%02ld:%02ld", wsinfo.uptime.days, hour, min, sec); wclrtoeol(win); } y++; } // if (systeminfo) { ProcinfoList::const_iterator plit; int ii = 0; for (plit=wsinfo.procinfoList.begin(); plit!=wsinfo.procinfoList.end() && ((ii < config.listtop) || (config.ownprocesses)); ++plit, ++ii) { bool own = false; if ( (config.username.size()>0) && (plit->username == config.username) ) own = true; // ignore some processes on the presented list // FIXME: not my favorite solution to suppress some processes, because this will // change the number of displyed processes, depending on the sorting at the // demon side.... bool ignore = false; for (list < string > ::iterator it = config.ignoreList.begin(); it != config.ignoreList.end(); ++it) { if ( plit->command == (*it) ) { ignore=true; } } if ((!ignore) && ((!config.ownprocesses) || ((config.ownprocesses) && (own)))) { if ((y > 0) && (y < maxy)) { if ( (config.username.size()>0) && (plit->username == config.username) ) wattrset(win, attr_usermark); else wattrset(win, attr_normal); mvwprintw(win, y, 0, " %10s %c %5.1f %3d %s", plit->username.c_str(), plit->state, plit->cpupercent, plit->priority, plit->command.c_str()); wclrtoeol(win); } y++; } } } } void SinfoCurses::printInteractiveStatusLine(long cpuCount, float speedUsed, float speedSum) { // keep the status line! { wattrset(win, A_NORMAL); switch (barState) { case 0: mvwprintw(win, 0, 0, "-"); break; case 1: mvwprintw(win, 0, 0, "\\"); break; case 2: mvwprintw(win, 0, 0, "|"); break; case 3: mvwprintw(win, 0, 0, "/"); break; } mvwprintw(win, 0, 1, " %d nodes, %ld CPUs " "total CPU utilization: %5.1f%% ( %5.3f GHz / %5.3f GHz )", wsinfoList.size(), cpuCount, speedUsed / speedSum*100, speedUsed / 1000, speedSum / 1000.); wclrtoeol(win); } y++; } static void atexitFunction() { static bool enwin_already_called = false; if (!enwin_already_called) { endwin(); enwin_already_called = true; } } static void finish(int sig) { // call the normal atexit-chain for propper screen restoration exit(0); } void SinfoCurses::printInit() { signal(SIGINT, finish); // exit program with Strg-C atexit(atexitFunction); // every other exit (on socket-errors or similar!) initscr(); noecho(); cbreak(); nonl(); // disable newline translation curs_set(0); // cursor invisible colormode = has_colors(); if (colormode) { start_color(); int my_bg = COLOR_BLACK; #ifdef HAVEDEFAULTCOLORS if (use_default_colors() == OK) my_bg = -1; #endif init_pair(1, COLOR_BLUE, COLOR_WHITE); init_pair(2, COLOR_RED, COLOR_WHITE); init_pair(3, COLOR_BLACK, COLOR_GREEN); init_pair(4, COLOR_MAGENTA, my_bg); init_pair(5, COLOR_CYAN, COLOR_WHITE); } win = newwin(0, 0, 0, 0); keypad(win, true); wtimeout(win,10); // wgetch with delay: 10ms starty = 0; barState = 0; // printAll(); } void SinfoCurses::printAll() { if (config.listtop < 0) { // ATTENTION: only called on init! int y; int dummy; getmaxyx(win, y, dummy); // one line for the header... two lines are default for each node y -= 1 + wsinfoList.size() * 2; if ((y < int(wsinfoList.size())) || (wsinfoList.empty())) config.listtop = 1; else config.listtop = y / wsinfoList.size(); long procinfoListMax = sinfoData.getProcinfoListMax(); if (config.listtop > procinfoListMax) config.listtop = procinfoListMax; } int maxx; getmaxyx(win, maxy, maxx); y = starty; int x = 0; // clear screen if the number of entries has changed! static unsigned int lastWsinfoListCount = 0; if (lastWsinfoListCount != wsinfoList.size()) { lastWsinfoListCount = wsinfoList.size(); wclear(win); } float speedSum, speedUsed, speedMin, speedMax = 0; long cpuCount=0; sinfoData.calcSpeedInfo(cpuCount, speedSum, speedUsed, speedMin, speedMax); printInteractiveStatusLine(cpuCount, speedUsed, speedSum); for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) printInteractiveOneHost(maxy, maxx, y, x, colormode, *it, speedMin, speedMax); wattrset(win, A_NORMAL); wclrtobot(win); mvwprintw(win, maxy - 1, maxx - 8, "UP/DOWN"); wrefresh(win); } void SinfoCurses::keyCodeEvent(int key) { switch (key) { case KEY_RESIZE: werase(win); break; case KEY_HOME: case KEY_BEG: starty = 0; break; case KEY_DOWN: case 'd': if (y >= maxy) { starty--; } break; case KEY_NPAGE: if (y >= maxy) { starty -= (maxy - 1); } break; case KEY_UP: case 'u': if (starty < 0) { starty++; } break; case KEY_PPAGE: starty += (maxy - 1); if (starty > 0) starty = 0; break; case 's': config.systeminfo = !config.systeminfo; break; case 'c': switch (config.dispScale) { case SinfoViewConfig::log: config.dispScale=SinfoViewConfig::lin; break; case SinfoViewConfig::lin: config.dispScale=SinfoViewConfig::full; break; case SinfoViewConfig::full: config.dispScale=SinfoViewConfig::log; break; } break; case 'o': config.ownprocesses = !config.ownprocesses; break; case 'n': config.shownetload = !config.shownetload; break; case 'D': config.showdiskload = !config.showdiskload; break; case 't': if (config.ownprocesses) { config.ownprocesses = false; } else { long procinfoListMax = sinfoData.getProcinfoListMax(); config.listtop = (config.listtop + 1) % (procinfoListMax + 1); } break; case 'q': exit(0); break; } } void SinfoCurses::wsinfoListChangedSlot() { barState = (barState + 1) % 4; printAll(); } void SinfoCurses::handle_read(const boost::system::error_code& e, std::size_t bytes_transferred) { if (!e) { int key; while (ERR !=(key = wgetch(win)) ) { keyCodeEvent(key); } printAll(); instream.async_read_some(boost::asio::null_buffers(), boost::bind(&SinfoCurses::handle_read, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } } SinfoCurses::SinfoCurses(boost::asio::io_service& io_service, SinfoViewConfig & _config, SinfoData & _sinfoData) :ioservice(io_service) , config(_config), sinfoData(_sinfoData), wsinfoList(_sinfoData.wsinfoList), instream(ioservice,dup(0)) { barState=0; instream.async_read_some(boost::asio::null_buffers(), boost::bind(&SinfoCurses::handle_read, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); sinfoData.changedSignal.connect(boost::bind(&SinfoCurses::wsinfoListChangedSlot, this)); } sinfo-0.0.48/sinfo/sinfodata.h0000644000175000017500000000067312263601312013103 00000000000000#ifndef _sinfodata_h #define _sinfodata_h #include #include #include #include "sinfo.h" class SinfoData { public: std::list < Wsinfo > wsinfoList; public: SinfoData(); void calcSpeedInfo(long & cpuCount, float & speedSum, float & speedUsed, float & speedMin, float & speedMax); long getProcinfoListMax(); boost::signals2::signal changedSignal; }; #endif // _sinfodata_h sinfo-0.0.48/sinfo/sinforequester.h0000644000175000017500000000227512263601312014211 00000000000000#ifndef _sinforequester_h #define _sinforequester_h #include #include "sinfodata.h" #include "protocoltimer.h" #include "sinfo.idlx.client.h" class SinfoRequester : public SinfoClientRequest, SinfoClientReply { private: SinfoData & sinfoData; ProtocolTimer waitForConnectionReadyTimer; void waitForConnectionReadyTimerExpiredEvent(); void requestUpdate(); ProtocolTimer requestUpdateTimer; void requestUpdateTimerExpiredEvent(); ProtocolTimer periodicRequestTimer; void periodicRequestTimerExpiredEvent(); virtual void getSinfoListReply(const std::list< Wsinfo > & wsinfoList); virtual void getFilteredSinfoListReply(const std::list< Wsinfo > & wsinfoList); void sinfoClientRequestMessageSlot(Message & message); public: unsigned long delay_millisec; unsigned long timeout_millisec; std::string filterMarker; bool stopAfterOneRequest; SinfoRequester(ProtocolIO & protocolIO, SinfoData & _sinfoData); void connectionReadySlot(); void receivedMessageSlot(Message & returnMessage); boost::signals2::signal timeoutSignal; boost::signals2::signal queueAndSendMessageSignal; }; #endif // _sinforequester_h sinfo-0.0.48/sinfo/Makefile.in0000644000175000017500000011332312444035656013041 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # pattern style #%ids.h: %.idlx # idlxcompiler --idlxfilename $< --idsHeader > $@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/Makefile.idl bin_PROGRAMS = sinfo$(EXEEXT) subdir = sinfo ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" PROGRAMS = $(bin_PROGRAMS) am__objects_1 = sinfo-sinfo.idlx.client.$(OBJEXT) am_sinfo_OBJECTS = sinfo-sinfo.$(OBJEXT) \ sinfo-sinforequester.$(OBJEXT) sinfo-sinfoviewconfig.$(OBJEXT) \ sinfo-sinfocurses.$(OBJEXT) sinfo-sinfodata.$(OBJEXT) \ sinfo-sinfohtml.$(OBJEXT) sinfo-sinfoprint.$(OBJEXT) \ $(am__objects_1) sinfo_OBJECTS = $(am_sinfo_OBJECTS) am__DEPENDENCIES_1 = sinfo_DEPENDENCIES = ../libsinfotypes/libsinfotypes.la \ ../libmessage/libmessage.la \ ../libmessageparser/libmessageparser.la \ ../libmessageio/libmessageio.la \ ../libmessageiobase/libmessageiobase.la \ ../libprotocol/libprotocol.la \ ../libprotocolasio/libprotocolasio.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(sinfo_SOURCES) DIST_SOURCES = $(sinfo_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 NROFF = nroff MANS = $(man_MANS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ # suffix style SUFFIXES = .idlx.client.h .idlx.client.cc .idlx.parser.h .idlx.parser.cc .idlx IDLXSOURCES = \ sinfo.idlx.client.h sinfo.idlx.client.cc BUILT_SOURCES = \ $(IDLXSOURCES) sinfo_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageparser \ -I$(top_srcdir)/libmessageio \ -I$(top_srcdir)/libmessageiobase \ -I$(top_srcdir)/libsinfotypes \ -I$(top_srcdir)/libprotocol \ -I$(top_srcdir)/libprotocolasio sinfo_SOURCES = \ sinfo.cc \ sinforequester.h sinforequester.cc \ sinfoviewconfig.h sinfoviewconfig.cc \ sinfocurses.h sinfocurses.cc \ sinfodata.h sinfodata.cc \ sinfohtml.h sinfohtml.cc \ sinfoprint.h sinfoprint.cc \ $(IDLXSOURCES) sinfo_LDADD = \ ../libsinfotypes/libsinfotypes.la \ ../libmessage/libmessage.la \ ../libmessageparser/libmessageparser.la \ ../libmessageio/libmessageio.la \ ../libmessageiobase/libmessageiobase.la \ ../libprotocol/libprotocol.la \ ../libprotocolasio/libprotocolasio.la \ -lpthread \ $(BOOST_SIGNALS_LIB) \ $(BOOST_SYSTEM_LIB) \ $(CURSES_LIB) MAINTAINERCLEANFILES = \ $(IDLXSOURCES) man_MANS = sinfo.1 EXTRA_DIST = ${man_MANS} sinfo.idlx all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .idlx.client.h .idlx.client.cc .idlx.parser.h .idlx.parser.cc .idlx .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.idl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sinfo/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu sinfo/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.idl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p || test -f $$p1; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list sinfo$(EXEEXT): $(sinfo_OBJECTS) $(sinfo_DEPENDENCIES) $(EXTRA_sinfo_DEPENDENCIES) @rm -f sinfo$(EXEEXT) $(CXXLINK) $(sinfo_OBJECTS) $(sinfo_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinfo.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinfo.idlx.client.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinfocurses.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinfodata.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinfohtml.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinfoprint.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinforequester.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfo-sinfoviewconfig.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< sinfo-sinfo.o: sinfo.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfo.o -MD -MP -MF $(DEPDIR)/sinfo-sinfo.Tpo -c -o sinfo-sinfo.o `test -f 'sinfo.cc' || echo '$(srcdir)/'`sinfo.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfo.Tpo $(DEPDIR)/sinfo-sinfo.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfo.cc' object='sinfo-sinfo.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfo.o `test -f 'sinfo.cc' || echo '$(srcdir)/'`sinfo.cc sinfo-sinfo.obj: sinfo.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfo.obj -MD -MP -MF $(DEPDIR)/sinfo-sinfo.Tpo -c -o sinfo-sinfo.obj `if test -f 'sinfo.cc'; then $(CYGPATH_W) 'sinfo.cc'; else $(CYGPATH_W) '$(srcdir)/sinfo.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfo.Tpo $(DEPDIR)/sinfo-sinfo.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfo.cc' object='sinfo-sinfo.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfo.obj `if test -f 'sinfo.cc'; then $(CYGPATH_W) 'sinfo.cc'; else $(CYGPATH_W) '$(srcdir)/sinfo.cc'; fi` sinfo-sinforequester.o: sinforequester.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinforequester.o -MD -MP -MF $(DEPDIR)/sinfo-sinforequester.Tpo -c -o sinfo-sinforequester.o `test -f 'sinforequester.cc' || echo '$(srcdir)/'`sinforequester.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinforequester.Tpo $(DEPDIR)/sinfo-sinforequester.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinforequester.cc' object='sinfo-sinforequester.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinforequester.o `test -f 'sinforequester.cc' || echo '$(srcdir)/'`sinforequester.cc sinfo-sinforequester.obj: sinforequester.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinforequester.obj -MD -MP -MF $(DEPDIR)/sinfo-sinforequester.Tpo -c -o sinfo-sinforequester.obj `if test -f 'sinforequester.cc'; then $(CYGPATH_W) 'sinforequester.cc'; else $(CYGPATH_W) '$(srcdir)/sinforequester.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinforequester.Tpo $(DEPDIR)/sinfo-sinforequester.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinforequester.cc' object='sinfo-sinforequester.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinforequester.obj `if test -f 'sinforequester.cc'; then $(CYGPATH_W) 'sinforequester.cc'; else $(CYGPATH_W) '$(srcdir)/sinforequester.cc'; fi` sinfo-sinfoviewconfig.o: sinfoviewconfig.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfoviewconfig.o -MD -MP -MF $(DEPDIR)/sinfo-sinfoviewconfig.Tpo -c -o sinfo-sinfoviewconfig.o `test -f 'sinfoviewconfig.cc' || echo '$(srcdir)/'`sinfoviewconfig.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfoviewconfig.Tpo $(DEPDIR)/sinfo-sinfoviewconfig.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfoviewconfig.cc' object='sinfo-sinfoviewconfig.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfoviewconfig.o `test -f 'sinfoviewconfig.cc' || echo '$(srcdir)/'`sinfoviewconfig.cc sinfo-sinfoviewconfig.obj: sinfoviewconfig.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfoviewconfig.obj -MD -MP -MF $(DEPDIR)/sinfo-sinfoviewconfig.Tpo -c -o sinfo-sinfoviewconfig.obj `if test -f 'sinfoviewconfig.cc'; then $(CYGPATH_W) 'sinfoviewconfig.cc'; else $(CYGPATH_W) '$(srcdir)/sinfoviewconfig.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfoviewconfig.Tpo $(DEPDIR)/sinfo-sinfoviewconfig.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfoviewconfig.cc' object='sinfo-sinfoviewconfig.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfoviewconfig.obj `if test -f 'sinfoviewconfig.cc'; then $(CYGPATH_W) 'sinfoviewconfig.cc'; else $(CYGPATH_W) '$(srcdir)/sinfoviewconfig.cc'; fi` sinfo-sinfocurses.o: sinfocurses.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfocurses.o -MD -MP -MF $(DEPDIR)/sinfo-sinfocurses.Tpo -c -o sinfo-sinfocurses.o `test -f 'sinfocurses.cc' || echo '$(srcdir)/'`sinfocurses.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfocurses.Tpo $(DEPDIR)/sinfo-sinfocurses.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfocurses.cc' object='sinfo-sinfocurses.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfocurses.o `test -f 'sinfocurses.cc' || echo '$(srcdir)/'`sinfocurses.cc sinfo-sinfocurses.obj: sinfocurses.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfocurses.obj -MD -MP -MF $(DEPDIR)/sinfo-sinfocurses.Tpo -c -o sinfo-sinfocurses.obj `if test -f 'sinfocurses.cc'; then $(CYGPATH_W) 'sinfocurses.cc'; else $(CYGPATH_W) '$(srcdir)/sinfocurses.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfocurses.Tpo $(DEPDIR)/sinfo-sinfocurses.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfocurses.cc' object='sinfo-sinfocurses.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfocurses.obj `if test -f 'sinfocurses.cc'; then $(CYGPATH_W) 'sinfocurses.cc'; else $(CYGPATH_W) '$(srcdir)/sinfocurses.cc'; fi` sinfo-sinfodata.o: sinfodata.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfodata.o -MD -MP -MF $(DEPDIR)/sinfo-sinfodata.Tpo -c -o sinfo-sinfodata.o `test -f 'sinfodata.cc' || echo '$(srcdir)/'`sinfodata.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfodata.Tpo $(DEPDIR)/sinfo-sinfodata.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfodata.cc' object='sinfo-sinfodata.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfodata.o `test -f 'sinfodata.cc' || echo '$(srcdir)/'`sinfodata.cc sinfo-sinfodata.obj: sinfodata.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfodata.obj -MD -MP -MF $(DEPDIR)/sinfo-sinfodata.Tpo -c -o sinfo-sinfodata.obj `if test -f 'sinfodata.cc'; then $(CYGPATH_W) 'sinfodata.cc'; else $(CYGPATH_W) '$(srcdir)/sinfodata.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfodata.Tpo $(DEPDIR)/sinfo-sinfodata.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfodata.cc' object='sinfo-sinfodata.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfodata.obj `if test -f 'sinfodata.cc'; then $(CYGPATH_W) 'sinfodata.cc'; else $(CYGPATH_W) '$(srcdir)/sinfodata.cc'; fi` sinfo-sinfohtml.o: sinfohtml.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfohtml.o -MD -MP -MF $(DEPDIR)/sinfo-sinfohtml.Tpo -c -o sinfo-sinfohtml.o `test -f 'sinfohtml.cc' || echo '$(srcdir)/'`sinfohtml.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfohtml.Tpo $(DEPDIR)/sinfo-sinfohtml.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfohtml.cc' object='sinfo-sinfohtml.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfohtml.o `test -f 'sinfohtml.cc' || echo '$(srcdir)/'`sinfohtml.cc sinfo-sinfohtml.obj: sinfohtml.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfohtml.obj -MD -MP -MF $(DEPDIR)/sinfo-sinfohtml.Tpo -c -o sinfo-sinfohtml.obj `if test -f 'sinfohtml.cc'; then $(CYGPATH_W) 'sinfohtml.cc'; else $(CYGPATH_W) '$(srcdir)/sinfohtml.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfohtml.Tpo $(DEPDIR)/sinfo-sinfohtml.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfohtml.cc' object='sinfo-sinfohtml.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfohtml.obj `if test -f 'sinfohtml.cc'; then $(CYGPATH_W) 'sinfohtml.cc'; else $(CYGPATH_W) '$(srcdir)/sinfohtml.cc'; fi` sinfo-sinfoprint.o: sinfoprint.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfoprint.o -MD -MP -MF $(DEPDIR)/sinfo-sinfoprint.Tpo -c -o sinfo-sinfoprint.o `test -f 'sinfoprint.cc' || echo '$(srcdir)/'`sinfoprint.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfoprint.Tpo $(DEPDIR)/sinfo-sinfoprint.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfoprint.cc' object='sinfo-sinfoprint.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfoprint.o `test -f 'sinfoprint.cc' || echo '$(srcdir)/'`sinfoprint.cc sinfo-sinfoprint.obj: sinfoprint.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfoprint.obj -MD -MP -MF $(DEPDIR)/sinfo-sinfoprint.Tpo -c -o sinfo-sinfoprint.obj `if test -f 'sinfoprint.cc'; then $(CYGPATH_W) 'sinfoprint.cc'; else $(CYGPATH_W) '$(srcdir)/sinfoprint.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfoprint.Tpo $(DEPDIR)/sinfo-sinfoprint.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfoprint.cc' object='sinfo-sinfoprint.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfoprint.obj `if test -f 'sinfoprint.cc'; then $(CYGPATH_W) 'sinfoprint.cc'; else $(CYGPATH_W) '$(srcdir)/sinfoprint.cc'; fi` sinfo-sinfo.idlx.client.o: sinfo.idlx.client.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfo.idlx.client.o -MD -MP -MF $(DEPDIR)/sinfo-sinfo.idlx.client.Tpo -c -o sinfo-sinfo.idlx.client.o `test -f 'sinfo.idlx.client.cc' || echo '$(srcdir)/'`sinfo.idlx.client.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfo.idlx.client.Tpo $(DEPDIR)/sinfo-sinfo.idlx.client.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfo.idlx.client.cc' object='sinfo-sinfo.idlx.client.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfo.idlx.client.o `test -f 'sinfo.idlx.client.cc' || echo '$(srcdir)/'`sinfo.idlx.client.cc sinfo-sinfo.idlx.client.obj: sinfo.idlx.client.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfo-sinfo.idlx.client.obj -MD -MP -MF $(DEPDIR)/sinfo-sinfo.idlx.client.Tpo -c -o sinfo-sinfo.idlx.client.obj `if test -f 'sinfo.idlx.client.cc'; then $(CYGPATH_W) 'sinfo.idlx.client.cc'; else $(CYGPATH_W) '$(srcdir)/sinfo.idlx.client.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfo-sinfo.idlx.client.Tpo $(DEPDIR)/sinfo-sinfo.idlx.client.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfo.idlx.client.cc' object='sinfo-sinfo.idlx.client.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfo_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfo-sinfo.idlx.client.obj `if test -f 'sinfo.idlx.client.cc'; then $(CYGPATH_W) 'sinfo.idlx.client.cc'; else $(CYGPATH_W) '$(srcdir)/sinfo.idlx.client.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @list='$(MANS)'; if test -n "$$list"; then \ list=`for p in $$list; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ if test -n "$$list" && \ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ echo " typically \`make maintainer-clean' will remove them" >&2; \ exit 1; \ else :; fi; \ else :; fi @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(PROGRAMS) $(MANS) installdirs: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-man uninstall-man: uninstall-man1 .MAKE: all check install install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binPROGRAMS install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man1 install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \ uninstall-am uninstall-binPROGRAMS uninstall-man \ uninstall-man1 .idlx.idlx.parser.h: idlxcompiler --idlxfilename $< --serverParserHeader > $@ .idlx.idlx.parser.cc: idlxcompiler --idlxfilename $< --serverParserCpp > $@ .idlx.idlx.client.h: idlxcompiler --idlxfilename $< --clientHeader > $@ .idlx.idlx.client.cc: idlxcompiler --idlxfilename $< --clientCpp > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/sinfo/sinfoprint.h0000644000175000017500000000064712101563530013327 00000000000000#ifndef _sinfoprint_h #define _sinfoprint_h #include #include "sinfo.h" void sinfoPrintHosts(std::list < Wsinfo > & wsinfoList, bool systeminfo); void sinfoPrintIP(std::list < Wsinfo > & wsinfoList, bool systeminfo); void sinfoPrintHostsAndIP(std::list < Wsinfo > & wsinfoList, bool systeminfo); void sinfoPrintHostsLoad(std::list < Wsinfo > & wsinfoList, bool systeminfo, bool quiet); #endif // _sinfoprint_h sinfo-0.0.48/sinfo/sinfoviewconfig.h0000644000175000017500000000072312101563523014330 00000000000000#ifndef _sinfoviewconfig_h #define _sinfoviewconfig_h #include #include #include "sinfo.h" class SinfoViewConfig { public: enum DispScale { log, lin, full }; bool quiet; std::string username; std::string hostname; int listtop; bool systeminfo; DispScale dispScale; bool ownprocesses; bool shownetload; bool showdiskload; std::list < std::string > ignoreList; public: SinfoViewConfig(); }; #endif // _sinfoviewconfig_h sinfo-0.0.48/sinfo/sinfo.10000644000175000017500000001124611407743710012170 00000000000000.\" Process this file with .\" groff -man -Tascii sinfo.1 | less .\" .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .TH SINFO 1 "JANUARY 2005" Linux "User Manuals" .SH NAME sinfo - a monitoring tool for networked computers .SH SYNOPSIS .B sinfo [-q] [-V] [-W] [-H] [-L] [-h .I host[:port] .B ] [-u .I user .B ] [-d .I delay .B ] [-s] [-o] [-i .I process .B ] [-n] [-D] [-t .I count .B ] [-i .I processname .B ] [-c .I scale .B ] .SH DESCRIPTION .B sinfo displays some information of the nodes in your local network. For each node the system load, the memory utilization and the `TOP-5' user processes will be displayed. .B sinfo uses the .BR sinfod(8) to gather these informations. For further details of the internal mechanisms refer to the .BR sinfod(8) manual. .SH OPTIONS .IP "\fB-q/--quiet\fP" be quiet - don't display startup informations. .IP "\fB-V/--version\fP" Print the version number and exit. .IP "\fB-W/--wwwmode\fP" Web-mode: List all hosts and their informations in html-format and exit. Look at .BR sinfo.pl.cgi for a sample cgi-script. .IP "\fB-H/--hostsmode\fP" List all host names of nodes running a .BR sinfod(8) and exit. .IP "\fB-I/--ipmode\fP" List all IPs of nodes running a .BR sinfod(8) and exit. .IP "\fB--hostsandipmode\fP" List all host names and IP addresses of nodes running a .BR sinfod(8) and exit. .IP "\fB-L/--loadmode\fP" List all known host names with the current system load and exit. .IP "\fB-h/--host \fP" Fetch information from the .BR sinfod(8) running on `host' instead of localhost. You may also specify the port number of the .BR sinfod(8) your are connecting to. This option may be useful in cases where .BR ssh(1) or similar programs are used to tunnel the connection from .BR sinfo(1) to .BR sinfod(8) through a firewall. It is possible to use multiple \-h option to connect to more than one sinfod to monitor more than one network with one sinfo process. If your want to set different delays for the connections \-d has to be specified prior to the corresponding \-h options. .Vb 1 $ sinfo \-h localhost:60001 .Ve \&(the default values) .Vb 1 $ sinfo \-h 127.0.0.1:60001 .Ve \&(... if you want to set an IP-address directly) .Vb 1 $ sinfo \-h my.computer.at.work .Ve \&(port 60001 will be used as default on my.computer.at.work) .Vb 1 $ ssh \-q \-C me@my.computer.at.work \-L 60002:my.computer.at.work:60001 .Ve \&(establish the tunnel) .Ve $ sinfo \-h localhost:60002 .Ve \&(connect through the tunnel) .Vb 1 $ sinfo \-h localhost \-h host.on.another.net .Ve \&(connect two demons to join the sinfo broadcasts of two networks) .IP "\fB--udp / --tcp\fP" Use UDP(default) or TCP to connect to sinfod. .IP "\fB-u/--user \fP" Highlight all processes of `user' instead of using environment variable $LOGNAME. .IP "\fB-d/--delay \fP" Set the delay (in seconds) between two updates. Default is one second. .IP "\fB--filtermarker \fP" Request only informations matching . .IP "\fB-s/--systeminfo\fP" Include system information (resolved by a uname \-a call) in the list. .IP "\fB-o/--own\fP" Only display your own processes or the processes owned by user '\-u user' (this overrides the '\-t count' setting). .IP "\fB-i/--ignore \fP" Don't display ; --ignore may be set multiple times. .IP "\fB-n/--netload\fP" Display network load. .IP "\fB-D/--diskload\fP" Display disk load (buffer allocation rate) of locally connected disks. .IP "\fB-t/--top \fP" Restrict the number of processes displayed to `count'. .IP "\fB-c/--scale \fP" Set the scaling of the CPU load bars to "log", "lin" or "full". .SH KEYBOARD COMMANDS .IP "q" Quit sinfo. .IP "PageUp, PageDown" Scroll the screen by one page. .IP "UpArrow, u; DownArrow, d" Scroll the screen by one line. .IP "Home" Jump to the top line. .IP "s" Toggle display of system informations. .IP "o" Toggle display of your own processes. .IP "n" Toggle display of network informations. .IP "D" Toggle display of disk load. .IP "t" Toggle display of the TOP n processes. .IP "c" Toggle the scaling of the CPU load bars form "log", "lin" to full. .SH EXIT CODES The exit codes used by sinfo are: .IP 0 everything OK .IP 1 Connection to sinfod failed. .SH ENVIRONMENT .IP HOSTNAME Highlight $HOSTNAME in sinfo's output. .IP LOGNAME Used to determine the name of the user which processes shall be highlighted. May be overridden by the .B -u option. .IP TERM The name of your terminal. Used to select escape sequences out of the .BR terminfo(5) database. .SH AUTHOR Juergen Rinas .SH "SEE ALSO" .BR sinfod (8), sshallsinfo (1) sinfo-0.0.48/sinfo/sinfohtml.cc0000644000175000017500000002344612170065667013315 00000000000000#include #include #include #include #include #include #include "sinfohtml.h" using namespace std; #define HOSTNAMEMAXSIZE 30 string SinfoHTML::quoteHTML(const string & str) { string ret = ""; for (unsigned int i = 0; i < str.size(); i++) { switch (str[i]) { case ' ': ret += " "; break; case '<': ret += "<"; break; case '>': ret += ">"; break; case '&': ret += "&"; break; default: ret += char(str[i]); } } return ret; } void SinfoHTML::printHTMLStatusLine(float speedUsed, float speedSum) { const int LINESIZE = 81; char line[LINESIZE]; snprintf(line, LINESIZE, " %d nodes total CPU utilization: %5.1f%% ( %5.3f GHz / %5.3f GHz )", wsinfoList.size(), speedUsed / speedSum*100, speedUsed / 1000, speedSum / 1000.); cout << quoteHTML(line) << "
" << endl; } void SinfoHTML::printHTMLOneHost(int maxx, const Wsinfo & wsinfo, float speedMin, float speedMax) { const int LINESIZE = 81; char line[LINESIZE]; // first line: hostname and load-bar //////////////////////////////////// if ((config.hostname.size()>0) && (wsinfo.name==string(config.hostname))) cout << ""; else cout << ""; cout << wsinfo.name; cout << ""; for (unsigned int i = wsinfo.name.size(); i < HOSTNAMEMAXSIZE; i++) cout << " "; // if (d_total != 0) { // variable length of bar-display long lengthmax = maxx - 32; // thim minimum is a 80-col display if (lengthmax < 48) lengthmax = 48; long length = lengthmax; if ((wsinfo.cpuinfo.cpus > 0) && (speedMin!=speedMax)) { float currentspeed=wsinfo.cpuinfo.cpus * wsinfo.cpuinfo.speedmhz; switch (config.dispScale) { case SinfoViewConfig::log: { length = 4 + long(rint( (length-4) * log10( (currentspeed-speedMin)*(10.-1.) / (speedMax-speedMin) +1. ) )); } break; case SinfoViewConfig::lin: { length = 4 + long(rint( (length-4) * (currentspeed-speedMin) / (speedMax-speedMin) )); } break; case SinfoViewConfig::full: break; } } int p = 0; cout << ""; while (p < long( wsinfo.cpustat.userp * length )) { cout << "u"; p++; } cout << ""; cout << ""; while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp) * length )) { cout << "s"; p++; } cout << ""; cout << ""; while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep) * length )) { cout << "n"; p++; } cout << ""; cout << ""; while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep+wsinfo.cpustat.iowaitp) * length )) { cout << "w"; p++; } cout << ""; cout << ""; while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep+wsinfo.cpustat.iowaitp+wsinfo.cpustat.irqp+wsinfo.cpustat.softirqp) * length )) { cout << "q"; p++; } cout << ""; cout << ""; while (p < long( (wsinfo.cpustat.userp+wsinfo.cpustat.sysp+wsinfo.cpustat.nicep+wsinfo.cpustat.idlep+wsinfo.cpustat.iowaitp+wsinfo.cpustat.irqp+wsinfo.cpustat.softirqp) * length )) { cout << "i"; p++; } cout << ""; while (p < lengthmax) { cout << "-"; p++; } } cout << "
" << endl; // second line: meminfo and cpu-utilization in percent // if (d_total != 0) { // variable length of bar-display long lengthmax = maxx - 32; // thim minimum is a 80-col display if (lengthmax < 48) lengthmax = 48; snprintf(line, LINESIZE, "(%2d) ", wsinfo.users.number); cout << quoteHTML(line); if (wsinfo.meminfo.mem_total == 0) { cout << quoteHTML("mem: --- "); } else { snprintf(line, LINESIZE, "mem:%5.1f%% ", double(wsinfo.meminfo.mem_used) / double(wsinfo.meminfo.mem_total)*100.); cout << quoteHTML(line); } if (double(wsinfo.meminfo.swap_used) / double(wsinfo.meminfo.swap_total) > 0.25) cout << ""; if (wsinfo.meminfo.swap_total == 0) { cout << quoteHTML("swap: --- "); } else { snprintf(line, LINESIZE, "swap:%5.1f%% ", double(wsinfo.meminfo.swap_used) / double(wsinfo.meminfo.swap_total)*100.); cout << quoteHTML(line); } if (double(wsinfo.meminfo.swap_used) / double(wsinfo.meminfo.swap_total) > 0.25) cout << ""; long lengthmax_spaces = lengthmax - (9+9+9+9+9); int p = 0; snprintf(line, LINESIZE, "us:%5.1f%%", wsinfo.cpustat.userp*100.); cout << quoteHTML(line); for (; p < lengthmax_spaces / 4; p++) cout << " "; snprintf(line, LINESIZE, "sy:%5.1f%%", wsinfo.cpustat.sysp*100.); cout << quoteHTML(line); for (; p < lengthmax_spaces*2 / 4; p++) cout << " "; snprintf(line, LINESIZE, "ni:%5.1f%%", wsinfo.cpustat.nicep*100.); cout << quoteHTML(line); for (; p < lengthmax_spaces*3 / 4; p++) cout << " "; snprintf(line, LINESIZE, "wa:%5.1f%%", wsinfo.cpustat.iowaitp*100.); cout << quoteHTML(line); for (; p < lengthmax_spaces; p++) cout << " "; snprintf(line, LINESIZE, "id:%5.1f%%", wsinfo.cpustat.idlep*100.); cout << quoteHTML(line); cout << "
" << endl; } if (config.shownetload) { if ( (wsinfo.netload.rxbytes != 0) || (wsinfo.netload.txbytes != 0) || (wsinfo.netload.rxpkt != 0) || (wsinfo.netload.txpkt != 0) ) { snprintf(line, LINESIZE, " net: %10s RX:%11.1f pkt/s %11.1f Bytes/s", wsinfo.netload.iface.c_str(), wsinfo.netload.rxpkt, wsinfo.netload.rxbytes); cout << quoteHTML(line) << "
" << endl; snprintf(line, LINESIZE, " %10s TX:%11.1f pkt/s %11.1f Bytes/s", wsinfo.netload.iface.c_str(), wsinfo.netload.txpkt, wsinfo.netload.txbytes); cout << quoteHTML(line) << "
" << endl; } } if (config.showdiskload) { if ( (wsinfo.diskload.readkbytespersec >= 0) || (wsinfo.diskload.writekbytespersec >= 0) ) { snprintf(line, LINESIZE, " disk: read:%11.1f kByte/s write:%11.1f kByte/s", wsinfo.diskload.readkbytespersec, wsinfo.diskload.writekbytespersec); cout << quoteHTML(line) << "
" << endl; } } if (config.systeminfo) { if (wsinfo.unameinfo.sysname[0] != 0) { snprintf(line, LINESIZE, " %s"" %s"" %s"" %s"" %s"" %s", wsinfo.inetaddr.c_str(), wsinfo.unameinfo.nodename.c_str(), wsinfo.unameinfo.machine.c_str(), wsinfo.unameinfo.sysname.c_str(), wsinfo.unameinfo.release.c_str(), wsinfo.unameinfo.version.c_str()); cout << quoteHTML(line) << "
" << endl; } if (wsinfo.cpuinfo.cpus != 0) { snprintf(line, LINESIZE, " cpus: %i MHz: %6.1f", wsinfo.cpuinfo.cpus, wsinfo.cpuinfo.speedmhz); cout << quoteHTML(line) << "
" << endl; } { snprintf(line, LINESIZE, " RAM: %.lf MByte swap: %.lf Mbyte", wsinfo.meminfo.mem_total / 1048576, wsinfo.meminfo.swap_total / 1048576); cout << quoteHTML(line) << "
" << endl; } { snprintf(line, LINESIZE, " load 1min:%5.1f load 5min:%5.1f load 15min:%5.1f", wsinfo.loadavg.load1, wsinfo.loadavg.load5, wsinfo.loadavg.load15); cout << quoteHTML(line) << "
" << endl; } { long sec = wsinfo.uptime.seconds; long hour = long(sec / (60 * 60)); sec -= hour * 60 * 60; long min = long(sec / 60); sec -= min * 60; snprintf(line, LINESIZE, " uptime %d days, %2ld:%02ld:%02ld", wsinfo.uptime.days, hour, min, sec); cout << quoteHTML(line) << "
" << endl; } } // if (systeminfo) { ProcinfoList::const_iterator plit; int ii = 0; for (plit=wsinfo.procinfoList.begin(); plit!=wsinfo.procinfoList.end() && ((ii < config.listtop) || (config.ownprocesses)); ++plit, ++ii) { bool own = false; if ( (config.username.size()>0) && (plit->username == config.username) ) own = true; if ((!config.ownprocesses) || ((config.ownprocesses) && (own))) { snprintf(line, LINESIZE, " %10s %c %5.1f %3d %s", plit->username.c_str(), plit->state, plit->cpupercent, plit->priority, plit->command.c_str()); if ( (config.username.size()>0) && (plit->username == config.username) ) cout << "" << quoteHTML(line) << "
" << endl; else cout << quoteHTML(line) << "
" << endl; } } } } void SinfoHTML::printHTML() { float speedSum, speedUsed, speedMin, speedMax = 0; long cpuCount=0; sinfoData.calcSpeedInfo(cpuCount, speedSum, speedUsed, speedMin, speedMax); printHTMLStatusLine(speedUsed, speedSum); for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) printHTMLOneHost(80, *it, speedMin, speedMax); } SinfoHTML::SinfoHTML(SinfoViewConfig & _config, SinfoData & _sinfoData) :config(_config), sinfoData(_sinfoData), wsinfoList(_sinfoData.wsinfoList) { } sinfo-0.0.48/sinfo/sinfo.idlx.client.h0000644000175000017500000000202112444035677014472 00000000000000#ifndef _sinfo_idlx_client_h #define _sinfo_idlx_client_h /******************************************************************************* ** File gererated from sinfo.idlx ** ** Created: Tue Dec 16 15:03:43 2014 ** by: idlxcompiler version 0.0.1 ** ** WARNING! ** All changes made in this file will be lost when recompiling idlx file. *******************************************************************************/ #include #include "messagesinfotypes.h" #include "replyparser.h" class SinfoClientRequest { public: SinfoClientRequest(); void getSinfoListRequest(); void getFilteredSinfoListRequest(const std::string & filterMarker); boost::signals2::signal sinfoClientRequestMessageSignal; }; class SinfoClientReply { public: SinfoClientReply(); CompositeReplyParser compositeReplyParser; virtual void getSinfoListReply(const std::list < Wsinfo > & wsinfoList) = 0; virtual void getFilteredSinfoListReply(const std::list < Wsinfo > & wsinfoList) = 0; }; #endif sinfo-0.0.48/sinfo/sinfohtml.h0000644000175000017500000000121112101563512013123 00000000000000#ifndef _sinfohtml_h #define _sinfohtml_h #include #include #include "sinfodata.h" #include "sinfoviewconfig.h" #include "message.h" class SinfoHTML { private: SinfoViewConfig & config; SinfoData & sinfoData; std::list < Wsinfo > & wsinfoList; // located within sinfoData - to minimize code change std::string quoteHTML(const std::string & str); void printHTMLStatusLine(float speedUsed, float speedSum); void printHTMLOneHost(int maxx, const Wsinfo & wsinfo, float speedMin, float speedMax); public: SinfoHTML(SinfoViewConfig & _config, SinfoData & _sinfoData); void printHTML(); }; #endif // _sinfohtml_h sinfo-0.0.48/sinfo/Makefile.am0000644000175000017500000000214112440164730013013 00000000000000include $(top_srcdir)/Makefile.idl IDLXSOURCES = \ sinfo.idlx.client.h sinfo.idlx.client.cc BUILT_SOURCES = \ $(IDLXSOURCES) bin_PROGRAMS = sinfo sinfo_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageparser \ -I$(top_srcdir)/libmessageio \ -I$(top_srcdir)/libmessageiobase \ -I$(top_srcdir)/libsinfotypes \ -I$(top_srcdir)/libprotocol \ -I$(top_srcdir)/libprotocolasio sinfo_SOURCES = \ sinfo.cc \ sinforequester.h sinforequester.cc \ sinfoviewconfig.h sinfoviewconfig.cc \ sinfocurses.h sinfocurses.cc \ sinfodata.h sinfodata.cc \ sinfohtml.h sinfohtml.cc \ sinfoprint.h sinfoprint.cc \ $(IDLXSOURCES) sinfo_LDADD = \ ../libsinfotypes/libsinfotypes.la \ ../libmessage/libmessage.la \ ../libmessageparser/libmessageparser.la \ ../libmessageio/libmessageio.la \ ../libmessageiobase/libmessageiobase.la \ ../libprotocol/libprotocol.la \ ../libprotocolasio/libprotocolasio.la \ -lpthread \ $(BOOST_SIGNALS_LIB) \ $(BOOST_SYSTEM_LIB) \ $(CURSES_LIB) MAINTAINERCLEANFILES = \ $(IDLXSOURCES) man_MANS = sinfo.1 EXTRA_DIST = ${man_MANS} sinfo.idlx sinfo-0.0.48/sinfo/sinfocurses.h0000644000175000017500000000243212101563515013474 00000000000000#ifndef _sinfocurses_h #define _sinfocurses_h #include #include #include #ifdef HAVE_CURSES_H #include #endif #ifdef HAVE_NCURSES_H #include #endif #include "sinfodata.h" #include "sinfoviewconfig.h" class SinfoCurses { private: boost::asio::io_service & ioservice; SinfoViewConfig & config; SinfoData & sinfoData; std::list < Wsinfo > & wsinfoList; // located within sinfoData - to minimize code change bool colormode; int barState; WINDOW * win; int starty; int maxy; int y; void printInteractiveStatusLine(long cpuCount, float speedUsed, float speedSum); void printInteractiveOneHost(int maxy, int maxx, int & y, int & x, bool colormode, const Wsinfo & wsinfo, float speedMin, float speedMax); // keyboard handling stdin => curses void handle_read(const boost::system::error_code& e, std::size_t bytes_transferred); // Handle completion of a read operation. boost::asio::posix::stream_descriptor instream; // stream on stdin void keyCodeEvent(int key); void wsinfoListChangedSlot(); void printAll(); public: SinfoCurses(boost::asio::io_service& io_service, SinfoViewConfig & _config, SinfoData & _sinfoData); void printInit(); }; #endif // _sinfocurses_h sinfo-0.0.48/sinfo/sinfoprint.cc0000644000175000017500000000474512170065333013474 00000000000000#include #include #include "sinfoprint.h" using namespace std; #define HOSTNAMEMAXSIZE 30 void sinfoPrintHosts(list < Wsinfo > & wsinfoList, bool systeminfo) { for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) { cout << it->name << endl; if (systeminfo) { if (it->unameinfo.sysname[0] != 0) cout << " " << it->unameinfo.sysname; if (it->cpuinfo.cpus != 0) cout << " " << "cpus: " << it->cpuinfo.cpus << " " << "MHz: " << setw(6) << setprecision(4) << it->cpuinfo.speedmhz << endl; } } } void sinfoPrintIP(list < Wsinfo > & wsinfoList, bool systeminfo) { for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) { cout << it->inetaddr << endl; if (systeminfo) { if (it->unameinfo.sysname[0] != 0) cout << " " << it->unameinfo.sysname; if (it->cpuinfo.cpus != 0) cout << " " << "cpus: " << it->cpuinfo.cpus << " " << "MHz: " << setw(6) << setprecision(4) << it->cpuinfo.speedmhz << endl; } } } void sinfoPrintHostsAndIP(list < Wsinfo > & wsinfoList, bool systeminfo) { for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) { cout << it->name << " " << it->inetaddr << endl; if (systeminfo) { if (it->unameinfo.sysname[0] != 0) cout << " " << it->unameinfo.sysname; if (it->cpuinfo.cpus != 0) cout << " " << "cpus: " << it->cpuinfo.cpus << " " << "MHz: " << setw(6) << setprecision(4) << it->cpuinfo.speedmhz << endl; } } } void sinfoPrintHostsLoad(list < Wsinfo > & wsinfoList, bool systeminfo, bool quiet) { if (!quiet) { cerr << "hostname "; if (systeminfo) { cerr << "cpus speed "; } cerr << "system_load" << endl; } for (list < Wsinfo > ::iterator it = wsinfoList.begin(); it != wsinfoList.end(); ++it) { cout << it->name << " "; for (unsigned int i = it->name.size(); i < HOSTNAMEMAXSIZE; i++) cout << " "; if (systeminfo) { cout << it->cpuinfo.cpus << " " << setw(6) << setprecision(4) << it->cpuinfo.speedmhz << " "; } cout << 1.-it->cpustat.idlep << endl; } } sinfo-0.0.48/cgi/0000755000175000017500000000000012444035677010500 500000000000000sinfo-0.0.48/cgi/Makefile.in0000644000175000017500000002456212444035655012472 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = cgi DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(srcdir)/sinfo.pl.cgi.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = sinfo.pl.cgi CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ EXTRA_DIST = sinfo.pl.cgi.in all: all-am .SUFFIXES: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu cgi/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu cgi/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): sinfo.pl.cgi: $(top_builddir)/config.status $(srcdir)/sinfo.pl.cgi.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/cgi/Makefile.am0000644000175000017500000000003611356411374012444 00000000000000EXTRA_DIST = sinfo.pl.cgi.in sinfo-0.0.48/cgi/sinfo.pl.cgi.in0000744000175000017500000001524011356411374013235 00000000000000#!/usr/bin/perl use CGI qw(-nosticky :cgi :form); $prefix="@prefix@"; $exec_prefix="@exec_prefix@"; $syscall = "@bindir@/sinfo -qW"; # my local test configuration: #$syscall = "$syscall -h localhost:61001 -h localhost"; # set default values $top=3; $show_sysinfo=''; $show_network=''; $show_diskload=''; $show_own=''; $user=""; if ( param() ) { # read cgi variables $top = param('top'); $show_sysinfo = param('show_sysinfo'); $show_network = param('show_network'); $show_diskload = param('show_diskload'); $show_own = param('show_own'); $user = param('user'); } # apply configuration $syscall = "$syscall -t $top"; if ( $show_sysinfo eq 'ON') { $syscall = "$syscall -s"; } if ( $show_network eq 'ON') { $syscall = "$syscall -n"; } if ( $show_diskload eq 'ON') { $syscall = "$syscall -D"; } if ( $show_own eq 'ON') { $syscall = "$syscall -o"; } # prevent that someone enters "; cat /etc/passwd" as a user-name # to start "cat /etc/passwd" or other bad things # as cgi-user (normally "nobody") # # strategy: # lookup if parameter $user contains a valid user name with getpwnam. ($dummy)=getpwnam($user) or $user=""; if ( $user ) { $syscall = "$syscall -u $user"; } # filter all ";" $syscall =~s/;//g; ############################# start of HTML output ############################# print "Content-type: text/html\n\n"; print "\n\n"; print "\n\n"; print " \n", " \n", " sinfo @VERSION@ @ ",virtual_host(),"\n"; # define the colors of sinfo´s output. # change the definitions to fit the look & feel of your web site print " \n"; print " \n\n"; print " \n"; print "
\n"; print " \n"; # print a headline print " \n", " \n", " \n\n"; # print the menu print " \n", " \n", " \n\n"; # print the output of sinfo print " \n", " \n", " \n\n"; # add a link to sinfo´s homepage print " \n", " \n", " \n\n"; print "
\n", " sinfo @VERSION@ @ ",virtual_host(),"\n", "
\n", "
\n", " ",start_form(-method=>'get', -action=>$ENV{'SCRIPT_NAME'}), " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
\n", " settings", "
\n", " show top", " ",popup_menu( -name=>'top', -default=>$top, -values=>['0','1','2','3','4','5']), " processes\n", "
\n", " ",checkbox(-name=>'show_sysinfo', -checked=>$show_sysinfo, -value=>'ON',-label=>'show system info',), "
\n", " ",checkbox(-name=>'show_network', -checked=>$show_network,-value=>'ON', -label=>'show network info',), "
\n", " ",checkbox(-name=>'show_diskload', -checked=>$show_diskload,-value=>'ON', -label=>'show disk load',), "
\n", " ",checkbox(-name=>'show_own', -checked=>$show_own, -value=>'ON', -label=>'show only user',), " ",textfield(-name=>'user',-size=>8), "
\n", " ",submit(-name=>'reload page'), "
\n", " ",end_form(), "
\n", "
\n", " \n", " \n", " \n", " \n", "
\n", " \n", `$syscall`, " \n", "
\n", "
\n", " \n", " \n", " generated using \n", " sinfo @VERSION@ \n", " by \n", " J. Rinas\n", " \n", " \n", "
\n"; print "
\n"; print " \n\n"; print "\n"; sinfo-0.0.48/libmessageparser/0000755000175000017500000000000012444035677013266 500000000000000sinfo-0.0.48/libmessageparser/replyparser.cc0000644000175000017500000000144611652727464016074 00000000000000#include #include "replyparser.h" #include "messagebasictypes.h" using namespace std; using namespace Msg; void CompositeReplyParser::addReplyParser(int replyID, ReplyParser::SPtr sPtr) { myMap.insert(pair(replyID, ParsingEntry(replyID,sPtr))); } void CompositeReplyParser::parse(Message & replyMessage) { if (replyMessage.size() > sizeof(uint8)) { uint8 messageID; popFrontuint8(replyMessage, messageID); // find will return an iterator to the matching element if it is found // or to the end of the map if the key is not found mapType::const_iterator iter = myMap.find(messageID); if ( iter != myMap.end() ) { iter->second.sPtr->parse(replyMessage); } else { cout << "Key is not in myMap" << '\n'; } } } sinfo-0.0.48/libmessageparser/Makefile.in0000644000175000017500000005034412444035656015256 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libmessageparser DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libmessageparser_la_LIBADD = am_libmessageparser_la_OBJECTS = libmessageparser_la-parser.lo \ libmessageparser_la-replyparser.lo libmessageparser_la_OBJECTS = $(am_libmessageparser_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libmessageparser_la_SOURCES) DIST_SOURCES = $(libmessageparser_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = libmessageparser.la libmessageparser_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage libmessageparser_la_SOURCES = \ parser.h parser.cc \ templateparser.h \ replyparser.h replyparser.cc \ templatereplyparser.h all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libmessageparser/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libmessageparser/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libmessageparser.la: $(libmessageparser_la_OBJECTS) $(libmessageparser_la_DEPENDENCIES) $(EXTRA_libmessageparser_la_DEPENDENCIES) $(CXXLINK) -rpath $(pkglibdir) $(libmessageparser_la_OBJECTS) $(libmessageparser_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageparser_la-parser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageparser_la-replyparser.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< libmessageparser_la-parser.lo: parser.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageparser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageparser_la-parser.lo -MD -MP -MF $(DEPDIR)/libmessageparser_la-parser.Tpo -c -o libmessageparser_la-parser.lo `test -f 'parser.cc' || echo '$(srcdir)/'`parser.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageparser_la-parser.Tpo $(DEPDIR)/libmessageparser_la-parser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='parser.cc' object='libmessageparser_la-parser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageparser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageparser_la-parser.lo `test -f 'parser.cc' || echo '$(srcdir)/'`parser.cc libmessageparser_la-replyparser.lo: replyparser.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageparser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageparser_la-replyparser.lo -MD -MP -MF $(DEPDIR)/libmessageparser_la-replyparser.Tpo -c -o libmessageparser_la-replyparser.lo `test -f 'replyparser.cc' || echo '$(srcdir)/'`replyparser.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageparser_la-replyparser.Tpo $(DEPDIR)/libmessageparser_la-replyparser.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='replyparser.cc' object='libmessageparser_la-replyparser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageparser_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageparser_la-replyparser.lo `test -f 'replyparser.cc' || echo '$(srcdir)/'`replyparser.cc mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libmessageparser/parser.cc0000644000175000017500000000145411652727360015012 00000000000000#include #include "parser.h" #include "messagebasictypes.h" using namespace std; using namespace Msg; void CompositeParser::addParser(int requestID, int replyID, Parser::SPtr sPtr) { myMap.insert(pair(requestID, ParsingEntry(requestID,replyID,sPtr))); } void CompositeParser::parse(Message & returnMessage, Message & message) { uint8 messageID; popFrontuint8(message, messageID); // find will return an iterator to the matching element if it is found // or to the end of the map if the key is not found mapType::const_iterator iter = myMap.find(messageID); if ( iter != myMap.end() ) { iter->second.sPtr->parse(returnMessage, message); pushFrontuint8(returnMessage,iter->second.replyID); } else { cout << "Key is not in myMap" << '\n'; } } sinfo-0.0.48/libmessageparser/replyparser.h0000644000175000017500000000137112101563734015717 00000000000000#ifndef _replyparser_h #define _replyparser_h #include #include #include "message.h" // http://en.wikipedia.org/wiki/Composite_pattern class ReplyParser { public: typedef boost::shared_ptr SPtr; virtual void parse(Message & replyMessage) = 0; virtual ~ReplyParser() {} }; class CompositeReplyParser: public ReplyParser { private: struct ParsingEntry { int replyID; ReplyParser::SPtr sPtr; ParsingEntry(int replyID, ReplyParser::SPtr sPtr): replyID(replyID), sPtr(sPtr) { } }; typedef std::map mapType; mapType myMap; public: void addReplyParser(int replyID, ReplyParser::SPtr sPtr); void parse(Message & replyMessage); }; #endif // _replyparser_h sinfo-0.0.48/libmessageparser/templateparser.h0000644000175000017500000000755112263577527016423 00000000000000#ifndef _templateparser_h #define _templateparser_h #include #include "parser.h" // sorted by _#ret then by _# class TemplateParser_0ret_0 : public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & /*returnMessage*/, Message & /*message*/) { callWorkerSignal(); } }; template class TemplateParser_0ret_1 : public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & message) { T1 value1; popFront(message, value1); callWorkerSignal(value1); } }; template class TemplateParser_1ret_0 : public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & /*message*/) { T1ret returnValue1; callWorkerSignal(returnValue1); pushFront(returnMessage, returnValue1); } }; template class TemplateParser_1ret_1 : public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & message) { T1 value1; popFront(message, value1); T1ret returnValue1; callWorkerSignal(returnValue1,value1); pushFront(returnMessage, returnValue1); } }; template class TemplateParser_1ret_2 : public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & message) { T1 value1; T2 value2; popFront(message, value1); popFront(message, value2); T1ret returnValue1; callWorkerSignal(returnValue1,value1,value2); pushFront(returnMessage, returnValue1); } }; template class TemplateParser_2ret_0: public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & /*message*/) { T1ret returnValue1; T2ret returnValue2; callWorkerSignal(returnValue1,returnValue2); pushFront(returnMessage, returnValue2); pushFront(returnMessage, returnValue1); } }; template class TemplateParser_2ret_1: public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & message) { T1 value1; popFront(message, value1); T1ret returnValue1; T2ret returnValue2; callWorkerSignal(returnValue1,returnValue2, value1); pushFront(returnMessage, returnValue2); pushFront(returnMessage, returnValue1); } }; template class TemplateParser_2ret_2: public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & message) { T1 value1; T2 value2; popFront(message, value1); popFront(message, value2); T1ret returnValue1; T2ret returnValue2; callWorkerSignal(returnValue1,returnValue2, value1, value2); pushFront(returnMessage, returnValue2); pushFront(returnMessage, returnValue1); } }; template class TemplateParser_3ret_1: public Parser { public: boost::signals2::signal callWorkerSignal; void parse(Message & returnMessage, Message & message) { T1 value1; popFront(message, value1); T1ret returnValue1; T2ret returnValue2; T3ret returnValue3; callWorkerSignal(returnValue1,returnValue2,returnValue3, value1); pushFront(returnMessage, returnValue3); pushFront(returnMessage, returnValue2); pushFront(returnMessage, returnValue1); } }; #endif // _templateparser_h sinfo-0.0.48/libmessageparser/Makefile.am0000644000175000017500000000035412263052343015230 00000000000000 pkglib_LTLIBRARIES = libmessageparser.la libmessageparser_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage libmessageparser_la_SOURCES= \ parser.h parser.cc \ templateparser.h \ replyparser.h replyparser.cc \ templatereplyparser.h sinfo-0.0.48/libmessageparser/parser.h0000644000175000017500000000145412101563743014645 00000000000000#ifndef _parser_h #define _parser_h #include "message.h" #include #include // http://en.wikipedia.org/wiki/Composite_pattern class Parser { public: typedef boost::shared_ptr SPtr; virtual void parse(Message & returnMessage, Message & message) = 0; virtual ~Parser() {} }; class CompositeParser: public Parser { private: struct ParsingEntry { int requestID; int replyID; Parser::SPtr sPtr; ParsingEntry(int requestID, int replyID, Parser::SPtr sPtr): requestID(requestID), replyID(replyID), sPtr(sPtr) { } }; typedef std::map mapType; mapType myMap; public: void addParser(int requestID, int replyID, Parser::SPtr sPtr); void parse(Message & returnMessage, Message & message); }; #endif // _parser_h sinfo-0.0.48/libmessageparser/templatereplyparser.h0000644000175000017500000000261312263577527017471 00000000000000#ifndef _templatereplyparser_h #define _templatereplyparser_h #include #include "replyparser.h" class TemplateReplyParser_0 : public ReplyParser { public: boost::signals2::signal callWorkerSignal; void parse(Message & /*replyMessage*/) { callWorkerSignal(); } }; template class TemplateReplyParser_1 : public ReplyParser { public: boost::signals2::signal callWorkerSignal; void parse(Message & replyMessage) { T1 value1; popFront(replyMessage, value1); callWorkerSignal(value1); } }; template class TemplateReplyParser_2 : public ReplyParser { public: boost::signals2::signal callWorkerSignal; void parse(Message & replyMessage) { T1 value1; T2 value2; popFront(replyMessage, value1); popFront(replyMessage, value2); callWorkerSignal(value1,value2); } }; template class TemplateReplyParser_3 : public ReplyParser { public: boost::signals2::signal callWorkerSignal; void parse(Message & replyMessage) { T1 value1; T2 value2; T3 value3; popFront(replyMessage, value1); popFront(replyMessage, value2); popFront(replyMessage, value3); callWorkerSignal(value1,value2,value3); } }; #endif // _templatereplyparser_h sinfo-0.0.48/configure.ac0000644000175000017500000001025712024154064012133 00000000000000AC_INIT(sinfo,0.0.48) AM_INIT_AUTOMAKE AC_PROG_CXX AC_LANG_CPLUSPLUS AC_PROG_INSTALL AC_DISABLE_STATIC AC_PROG_LIBTOOL AM_PROG_LIBTOOL AC_ARG_ENABLE(SINFO_REQUEST_PORT, AC_HELP_STRING([--enable-SINFO_REQUEST_PORT=n], [set the UDP REQUEST port used by sinfo to n [60002]]), [ AC_SUBST(SINFO_REQUEST_PORT,$enableval) AC_MSG_RESULT(using SINFO_REQUEST_PORT=$enableval) ], [ AC_SUBST(SINFO_REQUEST_PORT,60002) AC_MSG_RESULT(using SINFO_REQUEST_PORT=60002(default) ) ] ) AC_ARG_ENABLE(SINFO_BROADCAST_PORT, AC_HELP_STRING([--enable-SINFO_BROADCAST_PORT=n], [set the UDP broadcast port used by sinfo to n [60003]]), [ AC_SUBST(SINFO_BROADCAST_PORT,$enableval) AC_MSG_RESULT(using SINFO_BROADCAST_PORT=$enableval) ], [ AC_SUBST(SINFO_BROADCAST_PORT,60003) AC_MSG_RESULT(using SINFO_BROADCAST_PORT=60003(default) ) ] ) AC_ARG_ENABLE(SIMPLE_USER_CACHE, AC_HELP_STRING([--enable-SIMPLE_USER_CACHE], [enable a simple cache for user name lookups]), [ AC_DEFINE(SIMPLE_USER_CACHE) AC_MSG_RESULT(SIMPLE_USER_CACHE enabled) ], [ AC_MSG_RESULT(SIMPLE_USER_CACHE disabled) ] ) AC_ARG_ENABLE(IPv6, AC_HELP_STRING([--disable-IPv6], [disable IPv6]), [ want_ipv6=$enableval ], [ want_ipv6=yes ] ) if test "x$want_ipv6" = "xyes"; then AC_DEFINE(ENABLEIPv6) AC_MSG_RESULT(IPv6 enabled) else AC_MSG_RESULT(IPv6 disabled) fi AC_ARG_ENABLE(CPUNO_ADJUST, AC_HELP_STRING([--enable-CPUNO_ADJUST], [adjust the number of cpus for hyperthreading machines]), [ AC_DEFINE(CPUNO_ADJUST) AC_MSG_RESULT(CPUNO_ADJUST enabled) ], [ AC_MSG_RESULT(CPUNO_ADJUST disabled) ] ) dnl ncurses useable? MP_WITH_CURSES AC_SUBST(CURSES_LIB) dnl check for use_default_colors() ... not available in ncurses << 4.x AC_CHECK_LIB(ncurses,use_default_colors,AC_DEFINE(HAVEDEFAULTCOLORS),echo update ncurses for better color support) # Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_HEADER_MAJOR AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h utmp.h getopt.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T AC_TYPE_SIZE_T AC_HEADER_TIME AC_CHECK_DECLS(getopt) # check if we have to use the FreeBSD 5.0 conventions AC_CHECK_MEMBER(struct kinfo_proc.ki_pid,AC_DEFINE(HAVE_STRUCT_KINFO_PROC_KI_PID),,[ #include #include #include #include #include ]) dnl some additional libs for FreeBSD AC_CHECK_LIB(kvm,main) AC_CHECK_LIB(gnugetopt,main) dnl some additional libs for sparc-solaris AC_CHECK_LIB(socket,main) AC_CHECK_LIB(nsl,main) AC_CHECK_LIB(kstat,main) # Checks for library functions. AC_FUNC_ERROR_AT_LINE AC_FUNC_FORK AC_FUNC_MALLOC AC_TYPE_SIGNAL AC_CHECK_FUNCS(getopt_long) dnl check for the demon-command (not available in glibc-1) AC_CHECK_FUNCS(daemon) dnl inet_aton is in libresolv on solaris dnl (check after AC_CHECK_FUNCS(daemon) because there is a daemon() without dnl header in libresolv?) AC_CHECK_LIB(resolv,main) dnl check for the hstrerror-command (not available on sun systems?) AC_CHECK_FUNCS(hstrerror) AC_CHECK_FUNCS([atexit gethostbyaddr gethostbyname getpagesize gettimeofday inet_ntoa memset select socket strerror strstr uname]) AX_BOOST_BASE([1.36]) AX_BOOST_SIGNALS AX_BOOST_SYSTEM AC_OUTPUT([Makefile \ html/Makefile \ html/pics/Makefile \ sinfod/Makefile \ sinfo/Makefile \ addon/Makefile \ libsinfotypes/Makefile \ libsinfometer/Makefile \ libprotocol/Makefile \ libprotocolasio/Makefile \ librpc/Makefile \ libmessage/Makefile \ libmessage/testmessage/Makefile \ libmessageparser/Makefile \ libmessageiobase/Makefile \ libmessageio/Makefile \ cgi/Makefile \ cgi/sinfo.pl.cgi \ libsinfotypes/sinfo.h ]) sinfo-0.0.48/libprotocol/0000755000175000017500000000000012444035677012266 500000000000000sinfo-0.0.48/libprotocol/protocoltimer.h0000644000175000017500000000224212440144150015240 00000000000000#ifndef _protocoltimer_h #define _protocoltimer_h #include "protocolio.h" #include "thetimerobjectbase.h" #include /** * @brief the timer link class to be uses within state machines * */ class ProtocolTimer { private: TimerEventFunctor * myHandlerBase; TheTimerObjectBase * theTimerObjectBase; public: ProtocolTimer(ProtocolIO & protocolIO); ~ProtocolTimer(); template void startAlarmAt(const boost::posix_time::ptime & time, TClass handler) { if (myHandlerBase) { delete myHandlerBase; myHandlerBase=0; } myHandlerBase = new TimerEventFunctor(handler); theTimerObjectBase->startAlarmAt(time, myHandlerBase); } template void startAlarmAfter(const boost::posix_time::time_duration & expiry_time, TClass handler) { if (myHandlerBase) { delete myHandlerBase; myHandlerBase=0; } myHandlerBase = new TimerEventFunctor(handler); theTimerObjectBase->startAlarmAfter(expiry_time, myHandlerBase); } void stop(); bool isRunning() { return theTimerObjectBase->isRunning(); } }; #endif // _protocoltimer_h sinfo-0.0.48/libprotocol/protocolio.h0000644000175000017500000000065412400342522014533 00000000000000#ifndef _protocolio_h #define _protocolio_h #include "thetimerobjectbase.h" #include /** * @brief this base class hides, if the actual state machine is used * by a simulation or by a real time implementation. * */ class ProtocolIO { public: virtual boost::posix_time::ptime currentTimeUTC() = 0; virtual TheTimerObjectBase * getTimer() = 0; }; #endif // _protocolio_h sinfo-0.0.48/libprotocol/thetimerobjectbase.h0000644000175000017500000000136612440144225016212 00000000000000#ifndef _thetimerobjectbase_h #define _thetimerobjectbase_h #include #include typedef boost::function< void() > TimerEventFunctor; /** * @brief base class to manipulate a timer. * This class can be implemented for operating system or simulated timers. * */ class TheTimerObjectBase { protected: TimerEventFunctor * myFunctorPointer; public: virtual ~TheTimerObjectBase() {}; virtual void startAlarmAt(const boost::posix_time::ptime & time, TimerEventFunctor * functor)=0; virtual void startAlarmAfter(const boost::posix_time::time_duration & expiry_time, TimerEventFunctor * functor)=0; virtual void stop()=0; virtual bool isRunning()=0; }; #endif // _thetimerobjectbase_h sinfo-0.0.48/libprotocol/Makefile.in0000644000175000017500000004341612444035656014260 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libprotocol DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libprotocol_la_LIBADD = am_libprotocol_la_OBJECTS = protocoltimer.lo libprotocol_la_OBJECTS = $(am_libprotocol_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libprotocol_la_SOURCES) DIST_SOURCES = $(libprotocol_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = \ libprotocol.la libprotocol_la_SOURCES = \ protocolio.h \ protocoltimer.h protocoltimer.cc \ thetimerobjectbase.h all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libprotocol/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libprotocol/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libprotocol.la: $(libprotocol_la_OBJECTS) $(libprotocol_la_DEPENDENCIES) $(EXTRA_libprotocol_la_DEPENDENCIES) $(CXXLINK) -rpath $(pkglibdir) $(libprotocol_la_OBJECTS) $(libprotocol_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/protocoltimer.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libprotocol/Makefile.am0000644000175000017500000000021512440144553014226 00000000000000pkglib_LTLIBRARIES = \ libprotocol.la libprotocol_la_SOURCES = \ protocolio.h \ protocoltimer.h protocoltimer.cc \ thetimerobjectbase.h sinfo-0.0.48/libprotocol/protocoltimer.cc0000644000175000017500000000064612400341063015402 00000000000000#include "protocoltimer.h" #include "protocolio.h" #include "thetimerobjectbase.h" ProtocolTimer::ProtocolTimer(ProtocolIO & protocolIO) : theTimerObjectBase(protocolIO.getTimer()) { myHandlerBase=0; } ProtocolTimer::~ProtocolTimer() { delete myHandlerBase; myHandlerBase=0; delete theTimerObjectBase; } void ProtocolTimer::stop() { theTimerObjectBase->stop(); delete myHandlerBase; myHandlerBase=0; } sinfo-0.0.48/Makefile.in0000644000175000017500000005606112444035656011730 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ ChangeLog INSTALL NEWS config.guess config.sub depcomp \ install-sh ltmain.sh missing ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = html libmessage libmessageparser libmessageiobase libmessageio librpc libprotocol libprotocolasio libsinfotypes libsinfometer sinfod sinfo cgi addon all: all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-generic \ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-lzma dist-shar dist-tarZ dist-xz \ dist-zip distcheck distclean distclean-generic \ distclean-libtool distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-recursive uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libmessageiobase/0000755000175000017500000000000012444035677013234 500000000000000sinfo-0.0.48/libmessageiobase/serverconnectorbase.h0000644000175000017500000000047212263577527017410 00000000000000#ifndef _serverconnectorbase_h #define _serverconnectorbase_h #include #include "message.h" class ServerConnectorBase { public: boost::signals2::signal sendMessageSignal; virtual void receiveMessageSlot(Message message)=0; }; #endif // _serverconnectorbase_h sinfo-0.0.48/libmessageiobase/Makefile.in0000644000175000017500000004647512444035656015236 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libmessageiobase DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libmessageiobase_la_LIBADD = am_libmessageiobase_la_OBJECTS = \ libmessageiobase_la-serverconnectorfactorybase.lo libmessageiobase_la_OBJECTS = $(am_libmessageiobase_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libmessageiobase_la_SOURCES) DIST_SOURCES = $(libmessageiobase_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = libmessageiobase.la libmessageiobase_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage libmessageiobase_la_SOURCES = \ messageserver.h \ serverconnectorbase.h \ serverconnectorfactorybase.h serverconnectorfactorybase.cc all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libmessageiobase/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libmessageiobase/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libmessageiobase.la: $(libmessageiobase_la_OBJECTS) $(libmessageiobase_la_DEPENDENCIES) $(EXTRA_libmessageiobase_la_DEPENDENCIES) $(CXXLINK) -rpath $(pkglibdir) $(libmessageiobase_la_OBJECTS) $(libmessageiobase_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageiobase_la-serverconnectorfactorybase.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< libmessageiobase_la-serverconnectorfactorybase.lo: serverconnectorfactorybase.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageiobase_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageiobase_la-serverconnectorfactorybase.lo -MD -MP -MF $(DEPDIR)/libmessageiobase_la-serverconnectorfactorybase.Tpo -c -o libmessageiobase_la-serverconnectorfactorybase.lo `test -f 'serverconnectorfactorybase.cc' || echo '$(srcdir)/'`serverconnectorfactorybase.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageiobase_la-serverconnectorfactorybase.Tpo $(DEPDIR)/libmessageiobase_la-serverconnectorfactorybase.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='serverconnectorfactorybase.cc' object='libmessageiobase_la-serverconnectorfactorybase.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageiobase_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageiobase_la-serverconnectorfactorybase.lo `test -f 'serverconnectorfactorybase.cc' || echo '$(srcdir)/'`serverconnectorfactorybase.cc mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libmessageiobase/messageserver.h0000644000175000017500000000047712263600312016167 00000000000000#ifndef _messageserver_h #define _messageserver_h #include #include "message.h" typedef boost::signals2::signal ReceiveMessageSignal; class MessageServer { public: ReceiveMessageSignal receiveMessageSignal; }; #endif // _messageserver_h sinfo-0.0.48/libmessageiobase/Makefile.am0000644000175000017500000000036112263052343015174 00000000000000 pkglib_LTLIBRARIES = libmessageiobase.la libmessageiobase_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage libmessageiobase_la_SOURCES= \ messageserver.h \ serverconnectorbase.h \ serverconnectorfactorybase.h serverconnectorfactorybase.cc sinfo-0.0.48/libmessageiobase/serverconnectorfactorybase.h0000644000175000017500000000052712101563761020763 00000000000000#ifndef _serverconnectorfactorybase_h #define _serverconnectorfactorybase_h #include "serverconnectorbase.h" class ServerConnectorFactoryBase { public: ServerConnectorFactoryBase(); ~ServerConnectorFactoryBase(); virtual boost::shared_ptr createServerConnector()=0; }; #endif // _serverconnectorfactorybase_h sinfo-0.0.48/libmessageiobase/serverconnectorfactorybase.cc0000644000175000017500000000025011546433012021107 00000000000000#include "serverconnectorfactorybase.h" ServerConnectorFactoryBase::ServerConnectorFactoryBase() { } ServerConnectorFactoryBase::~ServerConnectorFactoryBase() { } sinfo-0.0.48/Makefile.idl0000644000175000017500000000074311520741746012064 00000000000000 # pattern style #%ids.h: %.idlx # idlxcompiler --idlxfilename $< --idsHeader > $@ # suffix style SUFFIXES = .idlx.client.h .idlx.client.cc .idlx.parser.h .idlx.parser.cc .idlx .idlx.idlx.parser.h: idlxcompiler --idlxfilename $< --serverParserHeader > $@ .idlx.idlx.parser.cc: idlxcompiler --idlxfilename $< --serverParserCpp > $@ .idlx.idlx.client.h: idlxcompiler --idlxfilename $< --clientHeader > $@ .idlx.idlx.client.cc: idlxcompiler --idlxfilename $< --clientCpp > $@sinfo-0.0.48/sinfod/0000755000175000017500000000000012444035677011220 500000000000000sinfo-0.0.48/sinfod/measureserver.cc0000644000175000017500000001354412006504101014317 00000000000000#include #include #include "messagebasictypes.h" #include "messagecomplextypes.h" #include "messagesinfotypes.h" #include "messagestlcontainertypes.h" #include "measureserver.h" #include "meminfometer.h" #include "loadavgmeter.h" #include "cpuinfometer.h" #include "unamemeter.h" #include "uptimemeter.h" #include "usersmeter.h" #include "sinfobroadcastids.h" using namespace std; using namespace Msg; // constants for the broadcasting timing //////////////////////////////////////// // if sinfo produces to much net load for your purposes, // you may twiddle with the following factors. // don't send informations to sinfo if the computer was last heard // for the last 25 seconds // FIXME ? implement this again? // const unsigned long dropoldTimer = 25; // check the cpu-load every second.... // if the load has not changed (less 3%), // broadcast every 10 seconds otherwise broadcast every second. // if the CPU load has changed much (groeter 30%) trigger the // sending of the process informations. const unsigned long cpustatTimer = 1; const unsigned long cpustatTimerMax = 10; const float cpustatTimerFastThr = 0.05; // fastBcast threshold in percentage of idle time const float cpustatTimerProcinfoThr = 0.3; // sendProcinfo threshold in percentage of idle time const unsigned long loadavgTimer = 10; const unsigned long uptimeTimer = 10; const unsigned long procinfoTimer = 10; const unsigned long netloadTimer = 10; const unsigned long diskloadTimer = 10; const unsigned long meminfoTimer = 30; const unsigned long usersTimer = 30; const unsigned long unamestrTimer = 900; const unsigned long cpuinfoTimer = 60; const unsigned long markerTimer = 900; // if we received a restart flag we will send out ALL informations // several times with a broadcasting intervall of 10 seconds. const unsigned long restartTimer = 10; MeasureServer::MeasureServer(boost::asio::io_service& io_service, const std::string & networkcard, const std::string & _marker, bool cmdlinemode, std::list < std::string > ignoreList, long listtop):ioservice(io_service), timer(io_service), procinfoMeter(cmdlinemode,ignoreList), listtop(listtop), netloadMeter(networkcard), marker(_marker) { timeCounter = 0; procinfonow = false; sendRestartFlag = true; lastidlepercent = 0.; timer.expires_from_now(boost::posix_time::milliseconds(500)); timer.async_wait(boost::bind(&MeasureServer::handle_timeout, this)); restartcounter=0; } MeasureServer::~MeasureServer() { } void MeasureServer::timerEvent() { Message message; if (0 == (timeCounter%meminfoTimer)) { Meminfo meminfo; if (getMeminfo(meminfo)) { pushFrontMeminfo(message, meminfo); pushFrontuint8(message, meminfoFlag); } } if (0 == (timeCounter%loadavgTimer)) { Loadavg loadavg; if (getLoadavg(loadavg)) { pushFrontLoadavg(message, loadavg); pushFrontuint8(message, loadavgFlag); } } if (0 == (timeCounter%cpustatTimer)) { Cpustat cpustat; if (cpustatMeter.getCpustat(cpustat)) { if ((0 == timeCounter) || (fabs(lastidlepercent - cpustat.idlep) >= cpustatTimerFastThr) || (0==(timeCounter%cpustatTimerMax)) ) { if (fabs(lastidlepercent - cpustat.idlep) >= cpustatTimerProcinfoThr) procinfonow = true; pushFrontCpustat(message, cpustat); pushFrontuint8(message, cpustatFlag); lastidlepercent = cpustat.idlep; } } } if (0 == (timeCounter%cpuinfoTimer)) { Cpuinfo cpuinfo; if (getCpuinfo(cpuinfo)) { pushFrontCpuinfo(message, cpuinfo); pushFrontuint8(message, cpuinfoFlag); } } if (0 == (timeCounter%markerTimer)) { pushFrontstring(message, marker); pushFrontuint8(message, markerFlag); } if (0 == (timeCounter%netloadTimer)) { Netload netload; if (netloadMeter.getNetload(netload)) { pushFrontNetload(message, netload); pushFrontuint8(message, netloadFlag); } } if (0 == (timeCounter%diskloadTimer)) { Diskload diskload; if (diskloadMeter.getDiskload(diskload)) { pushFrontDiskload(message, diskload); pushFrontuint8(message, diskloadFlag); } } if (0 == (timeCounter%unamestrTimer)) { Unameinfo unameinfo = getUnameinfo(); pushFrontUnameinfo(message, unameinfo); pushFrontuint8(message, unameinfoFlag); } if (0 == (timeCounter%uptimeTimer)) { Uptime uptime; if (getUptime(uptime)) { pushFrontUptime(message, uptime); pushFrontuint8(message, uptimeFlag); } } if (0 == (timeCounter%usersTimer)) { Users users = getUsers(); pushFrontUsers(message, users); pushFrontuint8(message, usersFlag); } if ( (0 == (timeCounter%procinfoTimer)) || (procinfonow) ) { ProcinfoList procinfoList; if (procinfoMeter.getTopList(listtop, procinfoList)) { pushFront(message, procinfoList); pushFrontuint8(message, procinfoFlag); } procinfonow = false; } if (sendRestartFlag) { pushFrontuint8(message, restartFlag); sendRestartFlag = false; } if (message.size()>0) { // try-catch to avoid stop of program when udp port is not available due to // reconfiguration (e.g. ipatbles) try { cout << "MeasureServer::timerEvent sending " << message.size() << "bytes" << endl; sendMeasurementSignal(message); } catch (std::exception& e) { cerr << "Exception: " << e.what() << endl; } } timeCounter++; if ( (restartcounter>0) && (0 == (timeCounter%restartTimer)) ) { timeCounter = 0; restartcounter--; } } void MeasureServer::restartCounterEvent() { restartcounter=3; } void MeasureServer::handle_timeout() { cout << "MeasureServer::handle_timeout" << endl; timerEvent(); timer.expires_from_now(boost::posix_time::milliseconds(1000)); timer.async_wait(boost::bind(&MeasureServer::handle_timeout, this)); } sinfo-0.0.48/sinfod/lastgasp.h0000644000175000017500000000035712263601312013114 00000000000000#ifndef _lastgasp_h #define _lastgasp_h #include #include "message.h" class LastGasp { public: LastGasp(); ~LastGasp(); boost::signals2::signal sendMessageSignal; }; #endif // _lastgasp_h sinfo-0.0.48/sinfod/broadcastreceiver.cc0000644000175000017500000001226012170065716015130 00000000000000#include #include #include #include #include "broadcastreceiver.h" #include "messagebasictypes.h" #include "messagecomplextypes.h" #include "messagesinfotypes.h" #include "messagestlcontainertypes.h" #include "sinfo.h" #include "sinfobroadcastids.h" using namespace std; using namespace Msg; BroadcastReceiver::BroadcastReceiver(boost::asio::io_service& io_service, bool & _restartCounterEventFlag, std::list < Wsinfo > & _wsinfoList) :ioservice(io_service), sock(io_service, boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), SINFO_BROADCAST_PORT) ), restartCounterEventFlag(_restartCounterEventFlag), wsinfoList(_wsinfoList) // FIXME not finished // #ifdef ENABLEIPv6 // sock(io_service, asio::ip::udp::endpoint(asio::ip::udp::v6(), SINFO_BROADCAST_PORT) ) //#else // sock(io_service, asio::ip::udp::endpoint(asio::ip::udp::v4(), SINFO_BROADCAST_PORT) ) //#endif { sock.async_receive_from( boost::asio::buffer(data, max_length), sender_endpoint, boost::bind(&BroadcastReceiver::handle_receive_from, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } void BroadcastReceiver::receiveMessage(std::string inetaddrString, unsigned long inetaddrHostByteOrder, Message & message) { cout << "BroadcastReceiver::receive" << endl; time_t now= time(NULL); std::list < Wsinfo > ::iterator it; Wsinfo * wsinfo = 0; for (it = wsinfoList.begin(); it != wsinfoList.end(); ++it) { if (it->inetaddr == inetaddrString) { wsinfo = &*it; break; } } cout << "BroadcastReceiver::receive after search" << endl; // insert new entry in list if (0 == wsinfo) { Wsinfo newWsinfo; wsinfoList.push_front(newWsinfo); it = wsinfoList.begin(); wsinfo = &*it; wsinfo->inetaddr = inetaddrString; wsinfo->name_time=0; } // name lookup every 30 minutes if (now -wsinfo->name_time > 30*60) { // determine hostname in_addr inaddr; inaddr.s_addr=htonl(inetaddrHostByteOrder); hostent * hostentry = gethostbyaddr((const char *) & inaddr, 4, AF_INET); if (0 != hostentry) { wsinfo->name=hostentry->h_name; } else { wsinfo->name=inetaddrString; } wsinfo->name_time=now; } wsinfo->lastheard = now; cout << "BroadcastReceiver::receive start while" << endl; while (message.size() > 0) { uint8 messageID; popFrontuint8(message,messageID); switch (messageID) { case restartFlag: { std::cout << "restartFlag received from " << inetaddrString << "(" << wsinfo->name << ")" << std::endl; restartCounterEventFlag=true; } break; case sigtermFlag: { std::cout << "sigtermFlag received from " << inetaddrString << "(" << wsinfo->name << ")" << std::endl; // zu letzt geh�rte Zeit auf Nul setzen! wsinfo->lastheard = 0; } break; case meminfoFlag: popFrontMeminfo(message,wsinfo->meminfo); break; case loadavgFlag: popFrontLoadavg(message,wsinfo->loadavg); break; case cpustatFlag: popFrontCpustat(message,wsinfo->cpustat); break; case netloadFlag: popFrontNetload(message,wsinfo->netload); break; case diskloadFlag: popFrontDiskload(message,wsinfo->diskload); break; case cpuinfoFlag: popFrontCpuinfo(message,wsinfo->cpuinfo); break; case unameinfoFlag: popFrontUnameinfo(message,wsinfo->unameinfo); break; case uptimeFlag: popFrontUptime(message,wsinfo->uptime); break; case usersFlag: popFrontUsers(message,wsinfo->users); break; case procinfoFlag: { popFront(message,wsinfo->procinfoList); } break; case markerFlag: popFrontstring(message,wsinfo->marker); break; default: { std::cerr << "bad frame-format from " << wsinfo->name << "!" << std::endl << " Possible conflict on UDP-Port " << SINFO_BROADCAST_PORT << std::endl << " or update of sinfod necessary!" << std::endl; } break; } // switch } // while if (0==wsinfo->lastheard) { wsinfoList.erase(it); } } void BroadcastReceiver::handle_receive_from(const boost::system::error_code& err, size_t length) { if (err) { std::cout << "receive error: " << err.message() << std::endl; } else { cout << "BroadcastReceiver::handle_receive_from " << length << " bytes" << endl; string inetaddrString=sender_endpoint.address().to_string(); unsigned long inetaddrHostByteOrder=sender_endpoint.address().to_v4().to_ulong(); Message message(length, data); try { receiveMessage(inetaddrString, inetaddrHostByteOrder, message); } catch (MessageException ex) { cout << "MessageException caught: " << ex.what() << endl; } } sock.async_receive_from( boost::asio::buffer(data, max_length), sender_endpoint, boost::bind(&BroadcastReceiver::handle_receive_from, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } sinfo-0.0.48/sinfod/broadcastreceiver.h0000644000175000017500000000144612101563631014767 00000000000000#ifndef _broadcastreceiver_h #define _broadcastreceiver_h #include #include "message.h" #include "sinfo.h" class BroadcastReceiver { private: enum { max_length = 65535 }; // maximum UDP packet size char data[max_length]; boost::asio::ip::udp::endpoint sender_endpoint; boost::asio::io_service & ioservice; boost::asio::ip::udp::socket sock; bool & restartCounterEventFlag; std::list < Wsinfo > & wsinfoList; void receiveMessage(std::string inetaddrString, unsigned long inetaddrHostByteOrder, Message & message); public: BroadcastReceiver(boost::asio::io_service& io_service, bool & _restartCounterEventFlag, std::list < Wsinfo > & _wsinfoList); void handle_receive_from(const boost::system::error_code& err, size_t length); }; #endif // _broadcastreceiver_h sinfo-0.0.48/sinfod/sinfo.idlx0000644000175000017500000000156411637265671013150 00000000000000

Get the host information list from sinfod.

Get the host information list from sinfod, but only the entries which marker is equal to filterMarker.

sinfo-0.0.48/sinfod/sinfod.80000644000175000017500000000531311407763250012506 00000000000000.\" Process this file with .\" groff -man -Tascii sinfod.8 | less .\" .TH SINFOD 8 "JANUARY 2005" Linux "User Manuals" .SH NAME sinfod - a monitoring tool for networked computers .SH SYNOPSIS .B sinfod [-F] [-q] [-V] [-b #.#.#.#] [-c] [-n .I card .B ] [ -N .I nicevalue .B ] [ -m .I marker .B ] [ -i .I processname .B ] [-s][-W] .SH DESCRIPTION .B sinfod distributes system information to other .B sinfods on your local network. These Information include the system load, memory utilization and the `TOP-5' processes on every machine. It's main advantage is, that these informations are broadcasted using the .BR udp(7) protocol. If each node broadcasts it's information in a cooperative manner, the network load is O(N), where N is the number of nodes in your network. Other systems to monitor your cluster load (e.g. .BR rup(1) ) are using a polling scheme where every node has to ask every other node for the system information: In that case the network load is O(N**2). The task of .B sinfod is to broadcast the relevant information for the local node and to collect broadcasts from other nodes. Other programs ( .BR sinfo(1) ) can get access to this information via a simple .BR tcp(7) connection that normally is routed through the local loopback interface. .SH OPTIONS .IP "\fB-F/--foreground\fP" Unlike normal operation, sinfod will not detach from the terminal when given this option. Some debugging informations will be visible. .IP "\fB-q/--quiet\fP" Start quietly - for init scripts. .IP "\fB-V/--version\fP" Print the version number and exit. .IP "\fB-b #.#.#.#/--bcastaddress=#.#.#.#\fP" Set the broadcast address of the sinfod. Default is 255.255.255.255. In you want to run .B sinfod without a network card "\-b 127.0.0.1" may be necessary. .IP "\fB-c/--cmdline\fP" Broadcast the full command line of a process instead of the command only. .IP "\fB-m marker/--marker=marker\fP" Mark the machine with a name. e.g. laboratory, pool or cluster. .IP "\fB-i/--ignore \fP" Don't broadcast any information on ; --ignore may be set multiple times. .IP "\fB-t/--top \fP" Broadcast information on the top processes; default: 5 .IP "\fB-n card/--networkcard=card\fP" Set the name of the network card whose informations will be broadcasted. (e.g. eth0). Default is the network card that saw the most traffic at the start of sinfod. .IP "\fB-N nicevalue/--nice=nicevalue\fP" Set the priority of this demon to nicevalue. Default is 15. .IP "\fB-s/--spymode\fP" Deactivate the TCP interface and the collection of received packets. The demon starts in a broadcast-only mode. .IP "\fB-W/--watchdog\fP" Start with simple watchdog. .SH AUTHOR Juergen Rinas .SH "SEE ALSO" .BR sinfo (1), sshallsinfo (1), sinfo-0.0.48/sinfod/sinfoworker.h0000644000175000017500000000066612102006457013652 00000000000000#ifndef _sinfoworker_h #define _sinfoworker_h #include #include #include "sinfo.h" class SinfoWorker { private: std::list < Wsinfo > & wsinfoList; public: SinfoWorker(std::list < Wsinfo > & wsinfoList); void getSinfoList( std::list < Wsinfo > & returnWsinfoList) const; void getFilteredSinfoList( std::list < Wsinfo > & returnWsinfoList, const std::string & filterMarker) const; }; #endif // _sinfoworker_h sinfo-0.0.48/sinfod/lastgasp.cc0000644000175000017500000000135311517102003013241 00000000000000#include #include #include "lastgasp.h" #include "messagebasictypes.h" #include "sinfobroadcastids.h" using namespace std; using namespace Msg; LastGasp * LastGaspPtr=0; // FIXME: bad global // FIXME implement as method? void term_handler(int signal) { Message message; pushFrontuint8(message,sigtermFlag); cout << "term_handler " << message.size() << "bytes" << endl; if (LastGaspPtr) { LastGaspPtr->sendMessageSignal(message); } exit(0); } LastGasp::LastGasp() { // FIXME save old handler signal(SIGTERM, term_handler); signal(SIGQUIT, term_handler); signal(SIGINT, term_handler); LastGaspPtr=this; // FIXME: bad global } LastGasp::~LastGasp() { LastGaspPtr=0; // FIXME: bad global } sinfo-0.0.48/sinfod/basicmessages.idlx.parser.cc0000644000175000017500000000371612444035677016521 00000000000000/******************************************************************************* ** File gererated from basicmessages.idlx ** ** Created: Tue Dec 16 15:03:43 2014 ** by: idlxcompiler version 0.0.1 ** ** WARNING! ** All changes made in this file will be lost when recompiling idlx file. *******************************************************************************/ #include #include "messagebasictypes.h" #include "messagecomplextypes.h" #include "messagestlcontainertypes.h" using namespace Msg; #include "templateparser.h" #include "basicmessages.idlx.parser.h" using namespace std; enum { GetSoftwareDescriptionRequest=1, GetSoftwareDescriptionReply=2, GetSoftwareVersionRequest=3, GetSoftwareVersionReply=4, GetCompileDateRequest=5, GetCompileDateReply=6 }; BasicmessagesParser::BasicmessagesParser(boost::shared_ptr basicmessagesWorkerPtr) { TemplateParser_1ret_0< std::string > * getSoftwareDescriptionParserPtr = new TemplateParser_1ret_0< std::string >; getSoftwareDescriptionParserPtr->callWorkerSignal.connect(boost::bind(&BasicmessagesWorker::getSoftwareDescription, basicmessagesWorkerPtr, _1)); addParser(GetSoftwareDescriptionRequest, GetSoftwareDescriptionReply, Parser::SPtr(getSoftwareDescriptionParserPtr)); TemplateParser_1ret_0< std::string > * getSoftwareVersionParserPtr = new TemplateParser_1ret_0< std::string >; getSoftwareVersionParserPtr->callWorkerSignal.connect(boost::bind(&BasicmessagesWorker::getSoftwareVersion, basicmessagesWorkerPtr, _1)); addParser(GetSoftwareVersionRequest, GetSoftwareVersionReply, Parser::SPtr(getSoftwareVersionParserPtr)); TemplateParser_1ret_0< std::string > * getCompileDateParserPtr = new TemplateParser_1ret_0< std::string >; getCompileDateParserPtr->callWorkerSignal.connect(boost::bind(&BasicmessagesWorker::getCompileDate, basicmessagesWorkerPtr, _1)); addParser(GetCompileDateRequest, GetCompileDateReply, Parser::SPtr(getCompileDateParserPtr)); }; sinfo-0.0.48/sinfod/demoninit.h0000644000175000017500000000012612101563652013263 00000000000000#ifndef _demoninit_h #define _demoninit_h void demoninit(); #endif // _demoninit_h sinfo-0.0.48/sinfod/sinfoworker.cc0000644000175000017500000000115612170065233014005 00000000000000#include "sinfoworker.h" using namespace std; SinfoWorker::SinfoWorker(std::list < Wsinfo > & wsinfoList) : wsinfoList(wsinfoList) { } void SinfoWorker::getSinfoList(std::list < Wsinfo > & returnWsinfoList) const { returnWsinfoList=wsinfoList; // this is a copy to returnWsinfoList } void SinfoWorker::getFilteredSinfoList( std::list < Wsinfo > & returnWsinfoList, const string & filterMarker) const { for (std::list < Wsinfo > ::iterator wit = wsinfoList.begin(); wit != wsinfoList.end(); ++wit) { if ((*wit).marker == filterMarker) { returnWsinfoList.push_back(*wit); } } } sinfo-0.0.48/sinfod/Makefile.in0000644000175000017500000012060112444035656013202 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # pattern style #%ids.h: %.idlx # idlxcompiler --idlxfilename $< --idsHeader > $@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/Makefile.idl sbin_PROGRAMS = sinfod$(EXEEXT) subdir = sinfod ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)" PROGRAMS = $(sbin_PROGRAMS) am__objects_1 = sinfod-basicmessages.idlx.parser.$(OBJEXT) \ sinfod-sinfo.idlx.parser.$(OBJEXT) am_sinfod_OBJECTS = sinfod-demoninit.$(OBJEXT) \ sinfod-cleanuplist.$(OBJEXT) \ sinfod-broadcastreceiver.$(OBJEXT) sinfod-lastgasp.$(OBJEXT) \ sinfod-measureserver.$(OBJEXT) sinfod-sinfoworker.$(OBJEXT) \ sinfod-sinfod.$(OBJEXT) $(am__objects_1) sinfod_OBJECTS = $(am_sinfod_OBJECTS) am__DEPENDENCIES_1 = sinfod_DEPENDENCIES = ../libsinfotypes/libsinfotypes.la \ ../libsinfometer/libsinfometer.la ../libmessage/libmessage.la \ ../libmessageparser/libmessageparser.la \ ../libmessageiobase/libmessageiobase.la \ ../libmessageio/libmessageio.la ../librpc/librpc.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(sinfod_SOURCES) DIST_SOURCES = $(sinfod_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man8dir = $(mandir)/man8 NROFF = nroff MANS = $(man_MANS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ # suffix style SUFFIXES = .idlx.client.h .idlx.client.cc .idlx.parser.h .idlx.parser.cc .idlx IDLXSOURCES = \ basicmessages.idlx.parser.h basicmessages.idlx.parser.cc \ sinfo.idlx.parser.h sinfo.idlx.parser.cc BUILT_SOURCES = \ $(IDLXSOURCES) sinfod_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageparser \ -I$(top_srcdir)/libmessageiobase \ -I$(top_srcdir)/libmessageio \ -I$(top_srcdir)/librpc \ -I$(top_srcdir)/libsinfotypes \ -I$(top_srcdir)/libsinfometer sinfod_SOURCES = \ demoninit.h demoninit.cc \ sinfobroadcastids.h \ basicmessagesworker.h \ cleanuplist.h cleanuplist.cc \ broadcastreceiver.h broadcastreceiver.cc \ lastgasp.h lastgasp.cc \ measureserver.h measureserver.cc \ sinfoworker.h sinfoworker.cc \ sinfod.cc \ $(IDLXSOURCES) sinfod_LDADD = \ ../libsinfotypes/libsinfotypes.la \ ../libsinfometer/libsinfometer.la \ ../libmessage/libmessage.la \ ../libmessageparser/libmessageparser.la \ ../libmessageiobase/libmessageiobase.la \ ../libmessageio/libmessageio.la \ ../librpc/librpc.la \ -lpthread \ $(BOOST_SIGNALS_LIB) \ $(BOOST_SYSTEM_LIB) MAINTAINERCLEANFILES = \ $(IDLXSOURCES) man_MANS = sinfod.8 EXTRA_DIST = ${man_MANS} basicmessages.idlx sinfo.idlx all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .idlx.client.h .idlx.client.cc .idlx.parser.h .idlx.parser.cc .idlx .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/Makefile.idl $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sinfod/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu sinfod/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/Makefile.idl: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-sbinPROGRAMS: $(sbin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p || test -f $$p1; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ } \ ; done uninstall-sbinPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(sbindir)" && rm -f $$files clean-sbinPROGRAMS: @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list sinfod$(EXEEXT): $(sinfod_OBJECTS) $(sinfod_DEPENDENCIES) $(EXTRA_sinfod_DEPENDENCIES) @rm -f sinfod$(EXEEXT) $(CXXLINK) $(sinfod_OBJECTS) $(sinfod_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-basicmessages.idlx.parser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-broadcastreceiver.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-cleanuplist.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-demoninit.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-lastgasp.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-measureserver.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-sinfo.idlx.parser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-sinfod.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sinfod-sinfoworker.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< sinfod-demoninit.o: demoninit.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-demoninit.o -MD -MP -MF $(DEPDIR)/sinfod-demoninit.Tpo -c -o sinfod-demoninit.o `test -f 'demoninit.cc' || echo '$(srcdir)/'`demoninit.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-demoninit.Tpo $(DEPDIR)/sinfod-demoninit.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='demoninit.cc' object='sinfod-demoninit.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-demoninit.o `test -f 'demoninit.cc' || echo '$(srcdir)/'`demoninit.cc sinfod-demoninit.obj: demoninit.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-demoninit.obj -MD -MP -MF $(DEPDIR)/sinfod-demoninit.Tpo -c -o sinfod-demoninit.obj `if test -f 'demoninit.cc'; then $(CYGPATH_W) 'demoninit.cc'; else $(CYGPATH_W) '$(srcdir)/demoninit.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-demoninit.Tpo $(DEPDIR)/sinfod-demoninit.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='demoninit.cc' object='sinfod-demoninit.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-demoninit.obj `if test -f 'demoninit.cc'; then $(CYGPATH_W) 'demoninit.cc'; else $(CYGPATH_W) '$(srcdir)/demoninit.cc'; fi` sinfod-cleanuplist.o: cleanuplist.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-cleanuplist.o -MD -MP -MF $(DEPDIR)/sinfod-cleanuplist.Tpo -c -o sinfod-cleanuplist.o `test -f 'cleanuplist.cc' || echo '$(srcdir)/'`cleanuplist.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-cleanuplist.Tpo $(DEPDIR)/sinfod-cleanuplist.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cleanuplist.cc' object='sinfod-cleanuplist.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-cleanuplist.o `test -f 'cleanuplist.cc' || echo '$(srcdir)/'`cleanuplist.cc sinfod-cleanuplist.obj: cleanuplist.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-cleanuplist.obj -MD -MP -MF $(DEPDIR)/sinfod-cleanuplist.Tpo -c -o sinfod-cleanuplist.obj `if test -f 'cleanuplist.cc'; then $(CYGPATH_W) 'cleanuplist.cc'; else $(CYGPATH_W) '$(srcdir)/cleanuplist.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-cleanuplist.Tpo $(DEPDIR)/sinfod-cleanuplist.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cleanuplist.cc' object='sinfod-cleanuplist.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-cleanuplist.obj `if test -f 'cleanuplist.cc'; then $(CYGPATH_W) 'cleanuplist.cc'; else $(CYGPATH_W) '$(srcdir)/cleanuplist.cc'; fi` sinfod-broadcastreceiver.o: broadcastreceiver.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-broadcastreceiver.o -MD -MP -MF $(DEPDIR)/sinfod-broadcastreceiver.Tpo -c -o sinfod-broadcastreceiver.o `test -f 'broadcastreceiver.cc' || echo '$(srcdir)/'`broadcastreceiver.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-broadcastreceiver.Tpo $(DEPDIR)/sinfod-broadcastreceiver.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='broadcastreceiver.cc' object='sinfod-broadcastreceiver.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-broadcastreceiver.o `test -f 'broadcastreceiver.cc' || echo '$(srcdir)/'`broadcastreceiver.cc sinfod-broadcastreceiver.obj: broadcastreceiver.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-broadcastreceiver.obj -MD -MP -MF $(DEPDIR)/sinfod-broadcastreceiver.Tpo -c -o sinfod-broadcastreceiver.obj `if test -f 'broadcastreceiver.cc'; then $(CYGPATH_W) 'broadcastreceiver.cc'; else $(CYGPATH_W) '$(srcdir)/broadcastreceiver.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-broadcastreceiver.Tpo $(DEPDIR)/sinfod-broadcastreceiver.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='broadcastreceiver.cc' object='sinfod-broadcastreceiver.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-broadcastreceiver.obj `if test -f 'broadcastreceiver.cc'; then $(CYGPATH_W) 'broadcastreceiver.cc'; else $(CYGPATH_W) '$(srcdir)/broadcastreceiver.cc'; fi` sinfod-lastgasp.o: lastgasp.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-lastgasp.o -MD -MP -MF $(DEPDIR)/sinfod-lastgasp.Tpo -c -o sinfod-lastgasp.o `test -f 'lastgasp.cc' || echo '$(srcdir)/'`lastgasp.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-lastgasp.Tpo $(DEPDIR)/sinfod-lastgasp.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lastgasp.cc' object='sinfod-lastgasp.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-lastgasp.o `test -f 'lastgasp.cc' || echo '$(srcdir)/'`lastgasp.cc sinfod-lastgasp.obj: lastgasp.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-lastgasp.obj -MD -MP -MF $(DEPDIR)/sinfod-lastgasp.Tpo -c -o sinfod-lastgasp.obj `if test -f 'lastgasp.cc'; then $(CYGPATH_W) 'lastgasp.cc'; else $(CYGPATH_W) '$(srcdir)/lastgasp.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-lastgasp.Tpo $(DEPDIR)/sinfod-lastgasp.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='lastgasp.cc' object='sinfod-lastgasp.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-lastgasp.obj `if test -f 'lastgasp.cc'; then $(CYGPATH_W) 'lastgasp.cc'; else $(CYGPATH_W) '$(srcdir)/lastgasp.cc'; fi` sinfod-measureserver.o: measureserver.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-measureserver.o -MD -MP -MF $(DEPDIR)/sinfod-measureserver.Tpo -c -o sinfod-measureserver.o `test -f 'measureserver.cc' || echo '$(srcdir)/'`measureserver.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-measureserver.Tpo $(DEPDIR)/sinfod-measureserver.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='measureserver.cc' object='sinfod-measureserver.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-measureserver.o `test -f 'measureserver.cc' || echo '$(srcdir)/'`measureserver.cc sinfod-measureserver.obj: measureserver.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-measureserver.obj -MD -MP -MF $(DEPDIR)/sinfod-measureserver.Tpo -c -o sinfod-measureserver.obj `if test -f 'measureserver.cc'; then $(CYGPATH_W) 'measureserver.cc'; else $(CYGPATH_W) '$(srcdir)/measureserver.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-measureserver.Tpo $(DEPDIR)/sinfod-measureserver.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='measureserver.cc' object='sinfod-measureserver.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-measureserver.obj `if test -f 'measureserver.cc'; then $(CYGPATH_W) 'measureserver.cc'; else $(CYGPATH_W) '$(srcdir)/measureserver.cc'; fi` sinfod-sinfoworker.o: sinfoworker.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-sinfoworker.o -MD -MP -MF $(DEPDIR)/sinfod-sinfoworker.Tpo -c -o sinfod-sinfoworker.o `test -f 'sinfoworker.cc' || echo '$(srcdir)/'`sinfoworker.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-sinfoworker.Tpo $(DEPDIR)/sinfod-sinfoworker.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfoworker.cc' object='sinfod-sinfoworker.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-sinfoworker.o `test -f 'sinfoworker.cc' || echo '$(srcdir)/'`sinfoworker.cc sinfod-sinfoworker.obj: sinfoworker.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-sinfoworker.obj -MD -MP -MF $(DEPDIR)/sinfod-sinfoworker.Tpo -c -o sinfod-sinfoworker.obj `if test -f 'sinfoworker.cc'; then $(CYGPATH_W) 'sinfoworker.cc'; else $(CYGPATH_W) '$(srcdir)/sinfoworker.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-sinfoworker.Tpo $(DEPDIR)/sinfod-sinfoworker.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfoworker.cc' object='sinfod-sinfoworker.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-sinfoworker.obj `if test -f 'sinfoworker.cc'; then $(CYGPATH_W) 'sinfoworker.cc'; else $(CYGPATH_W) '$(srcdir)/sinfoworker.cc'; fi` sinfod-sinfod.o: sinfod.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-sinfod.o -MD -MP -MF $(DEPDIR)/sinfod-sinfod.Tpo -c -o sinfod-sinfod.o `test -f 'sinfod.cc' || echo '$(srcdir)/'`sinfod.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-sinfod.Tpo $(DEPDIR)/sinfod-sinfod.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfod.cc' object='sinfod-sinfod.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-sinfod.o `test -f 'sinfod.cc' || echo '$(srcdir)/'`sinfod.cc sinfod-sinfod.obj: sinfod.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-sinfod.obj -MD -MP -MF $(DEPDIR)/sinfod-sinfod.Tpo -c -o sinfod-sinfod.obj `if test -f 'sinfod.cc'; then $(CYGPATH_W) 'sinfod.cc'; else $(CYGPATH_W) '$(srcdir)/sinfod.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-sinfod.Tpo $(DEPDIR)/sinfod-sinfod.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfod.cc' object='sinfod-sinfod.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-sinfod.obj `if test -f 'sinfod.cc'; then $(CYGPATH_W) 'sinfod.cc'; else $(CYGPATH_W) '$(srcdir)/sinfod.cc'; fi` sinfod-basicmessages.idlx.parser.o: basicmessages.idlx.parser.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-basicmessages.idlx.parser.o -MD -MP -MF $(DEPDIR)/sinfod-basicmessages.idlx.parser.Tpo -c -o sinfod-basicmessages.idlx.parser.o `test -f 'basicmessages.idlx.parser.cc' || echo '$(srcdir)/'`basicmessages.idlx.parser.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-basicmessages.idlx.parser.Tpo $(DEPDIR)/sinfod-basicmessages.idlx.parser.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basicmessages.idlx.parser.cc' object='sinfod-basicmessages.idlx.parser.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-basicmessages.idlx.parser.o `test -f 'basicmessages.idlx.parser.cc' || echo '$(srcdir)/'`basicmessages.idlx.parser.cc sinfod-basicmessages.idlx.parser.obj: basicmessages.idlx.parser.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-basicmessages.idlx.parser.obj -MD -MP -MF $(DEPDIR)/sinfod-basicmessages.idlx.parser.Tpo -c -o sinfod-basicmessages.idlx.parser.obj `if test -f 'basicmessages.idlx.parser.cc'; then $(CYGPATH_W) 'basicmessages.idlx.parser.cc'; else $(CYGPATH_W) '$(srcdir)/basicmessages.idlx.parser.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-basicmessages.idlx.parser.Tpo $(DEPDIR)/sinfod-basicmessages.idlx.parser.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='basicmessages.idlx.parser.cc' object='sinfod-basicmessages.idlx.parser.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-basicmessages.idlx.parser.obj `if test -f 'basicmessages.idlx.parser.cc'; then $(CYGPATH_W) 'basicmessages.idlx.parser.cc'; else $(CYGPATH_W) '$(srcdir)/basicmessages.idlx.parser.cc'; fi` sinfod-sinfo.idlx.parser.o: sinfo.idlx.parser.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-sinfo.idlx.parser.o -MD -MP -MF $(DEPDIR)/sinfod-sinfo.idlx.parser.Tpo -c -o sinfod-sinfo.idlx.parser.o `test -f 'sinfo.idlx.parser.cc' || echo '$(srcdir)/'`sinfo.idlx.parser.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-sinfo.idlx.parser.Tpo $(DEPDIR)/sinfod-sinfo.idlx.parser.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfo.idlx.parser.cc' object='sinfod-sinfo.idlx.parser.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-sinfo.idlx.parser.o `test -f 'sinfo.idlx.parser.cc' || echo '$(srcdir)/'`sinfo.idlx.parser.cc sinfod-sinfo.idlx.parser.obj: sinfo.idlx.parser.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sinfod-sinfo.idlx.parser.obj -MD -MP -MF $(DEPDIR)/sinfod-sinfo.idlx.parser.Tpo -c -o sinfod-sinfo.idlx.parser.obj `if test -f 'sinfo.idlx.parser.cc'; then $(CYGPATH_W) 'sinfo.idlx.parser.cc'; else $(CYGPATH_W) '$(srcdir)/sinfo.idlx.parser.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/sinfod-sinfo.idlx.parser.Tpo $(DEPDIR)/sinfod-sinfo.idlx.parser.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='sinfo.idlx.parser.cc' object='sinfod-sinfo.idlx.parser.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(sinfod_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sinfod-sinfo.idlx.parser.obj `if test -f 'sinfo.idlx.parser.cc'; then $(CYGPATH_W) 'sinfo.idlx.parser.cc'; else $(CYGPATH_W) '$(srcdir)/sinfo.idlx.parser.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man8: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man8dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man8dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man8dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.8[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \ done; } uninstall-man8: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man8dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.8[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man8dir)'; $(am__uninstall_files_from_dir) ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @list='$(MANS)'; if test -n "$$list"; then \ list=`for p in $$list; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ if test -n "$$list" && \ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ echo " typically \`make maintainer-clean' will remove them" >&2; \ exit 1; \ else :; fi; \ else :; fi @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(PROGRAMS) $(MANS) installdirs: for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man8dir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) clean: clean-am clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-man install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-sbinPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man8 install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-man uninstall-sbinPROGRAMS uninstall-man: uninstall-man8 .MAKE: all check install install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-sbinPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-man8 install-pdf install-pdf-am install-ps \ install-ps-am install-sbinPROGRAMS install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-man uninstall-man8 \ uninstall-sbinPROGRAMS .idlx.idlx.parser.h: idlxcompiler --idlxfilename $< --serverParserHeader > $@ .idlx.idlx.parser.cc: idlxcompiler --idlxfilename $< --serverParserCpp > $@ .idlx.idlx.client.h: idlxcompiler --idlxfilename $< --clientHeader > $@ .idlx.idlx.client.cc: idlxcompiler --idlxfilename $< --clientCpp > $@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/sinfod/measureserver.h0000644000175000017500000000212412263601312014160 00000000000000#ifndef _measureserver_h #define _measureserver_h #include #include "cpustatmeter.h" #include "netloadmeter.h" #include "diskloadmeter.h" #include "procinfometer.h" #include class MeasureServer { private: boost::asio::io_service & ioservice; boost::asio::deadline_timer timer; unsigned long timeCounter; bool sendRestartFlag; ProcinfoMeter procinfoMeter; bool procinfonow; // flag that is set to send process infos if the load has changed dramatically long listtop; CpustatMeter cpustatMeter; float lastidlepercent; NetloadMeter netloadMeter; DiskloadMeter diskloadMeter; std::string marker; int restartcounter; public: MeasureServer(boost::asio::io_service& io_service, const std::string & networkcard, const std::string & _marker, bool cmdlinemode, std::list < std::string > ignoreList, long listtop); ~MeasureServer(); void timerEvent(); void restartCounterEvent(); boost::signals2::signal sendMeasurementSignal; void handle_timeout(); // asio part }; #endif // _measureserver_h sinfo-0.0.48/sinfod/demoninit.cc0000644000175000017500000000134012300715425013416 00000000000000/// demoninit.cc /////////////////////////////////////////////////////////////// #include #include #include // location of daemon() on linux #include #include #include // location of daemon() on FreeBSD // Detach ourself from the controlling terminal. void demoninit() { #ifdef HAVE_DAEMON if (daemon(0, 0) == -1) { raise(SIGTERM); } umask(0); #else int pid = 0; pid = fork(); if (pid == -1) cout << "Cannot fork() to detach(1)"; else if (pid) exit(0); // Close fds close(STDIN_FILENO); close(STDOUT_FILENO); close(STDERR_FILENO); #endif } /// EOF //////////////////////////////////////////////////////////////////////// sinfo-0.0.48/sinfod/cleanuplist.h0000644000175000017500000000063612101563650013624 00000000000000#ifndef _cleanuplist_h #define _cleanuplist_h #include #include "sinfo.h" class CleanupList { private: boost::asio::io_service & ioservice; boost::asio::deadline_timer timer; std::list < Wsinfo > & wsinfoList; void timerEvent(); void handle_timeout(); public: CleanupList(boost::asio::io_service& io_service, std::list < Wsinfo > & _wsinfoList); }; #endif // _cleanuplist_h sinfo-0.0.48/sinfod/basicmessages.idlx.parser.h0000644000175000017500000000122312444035677016352 00000000000000#ifndef _basicmessages_idlx_parser_h #define _basicmessages_idlx_parser_h /******************************************************************************* ** File gererated from basicmessages.idlx ** ** Created: Tue Dec 16 15:03:43 2014 ** by: idlxcompiler version 0.0.1 ** ** WARNING! ** All changes made in this file will be lost when recompiling idlx file. *******************************************************************************/ #include "basicmessagesworker.h" #include "parser.h" class BasicmessagesParser: public CompositeParser { public: BasicmessagesParser(boost::shared_ptr basicmessagesWorkerPtr); }; #endif sinfo-0.0.48/sinfod/sinfod.cc0000644000175000017500000002231411764204254012724 00000000000000#include #include #include #include #include #include "basicmessages.idlx.parser.h" #include "sinfoworker.h" #include "sinfo.idlx.parser.h" #include "udpmessageserver.h" #include "tcpmessageserver.h" #include "cleanuplist.h" #include "measureserver.h" #include "udpmessagetransmitter.h" #include "broadcastreceiver.h" #include "udpmessagetransmitter.h" #include "demoninit.h" #include "sinfo.h" #include "lastgasp.h" #include "rpcserverconnectorfactory.h" #include "parser.h" using namespace std; class MainClass { private: bool broadcastonlymode; bool cmdlinemode; long listtop; std::list < std::string > ignoreList; bool watchdogmode; string bcast_address; string networkcard; string marker; void mainLoopNoWatchdog(); void mainLoopWithWatchdog(); void printHelpAndExit(const char * plaint = "Usage:-"); public: MainClass(int argc, char * argv[]); int mainLoop(); }; MainClass::MainClass(int argc, char * argv[]) { bool demon = true; bool quiet = false; broadcastonlymode = false; cmdlinemode = false; listtop=5; watchdogmode = false; bcast_address=string("255.255.255.255"); int nicevalue = 10; // start with nice 10 to ensure niceability in accidental cases. #ifdef HAVE_GETOPT_LONG static const struct option long_options[] = { { "bcastaddress", required_argument, 0, 'b'}, { "cmdline", no_argument, 0, 'c'}, { "networkcard", required_argument, 0, 'n'}, { "marker", required_argument, 0, 'm'}, { "ignore", required_argument, 0, 'i' }, { "top", required_argument, 0, 't' }, { "nice", required_argument, 0, 'N' }, { "foreground", no_argument, 0, 'F' }, { "version", no_argument, 0, 'V' }, { "quiet", no_argument, 0, 'q' }, { "spymode", no_argument, 0, 's' }, { "watchdog", no_argument, 0, 'W' }, { "help", no_argument, 0, '?' }, { 0, 0, 0, 0 } }; #endif int c; #ifdef HAVE_GETOPT_LONG while ((c = getopt_long(argc, argv, "b:cB:VFi:t:n:N:qa:A:lsWh?", long_options, NULL)) != -1) #else while ((c = getopt (argc, argv, "b:cB:VFi:t:n:N:qa:A:lsWh?")) != -1) #endif { switch (c) { case 'b': bcast_address = string(optarg); break; case 'c': cmdlinemode = true; break; case 'n': networkcard = string(optarg); break; case 'm': marker = string(optarg); break; case 'i': ignoreList.push_back(string(optarg)); break; case 't': listtop = atoi(optarg); break; case 'N': nicevalue = atoi(optarg); break; case 'F': demon = false; break; case 'q': quiet = true; break; case 'V': cout << argv[0] << " " << VERSION << " (compiled " __DATE__ " " __TIME__ ")" << endl; exit(0); break; case 's': broadcastonlymode = true; break; case 'W': watchdogmode = true; break; case '?': case 'h': printHelpAndExit(); break; default: printHelpAndExit("No such option"); } } if (false == quiet) cout << argv[0] << " " VERSION " (compiled " __DATE__ " " __TIME__ ")" << endl; nice(nicevalue); if (demon) demoninit(); } void MainClass::printHelpAndExit(const char * plaint) { cout << plaint << endl << endl << "sinfod [-F][-q][-V] [-b #.#.#.#] [-c] [-n card] [-N nicevalue ] [ -m marker ] [-i process] [-s] [-W]" << endl << endl << "OPTIONS (for full descriptions see \"man sinfod\")" << endl << "-F/--foreground" << endl << " Do not detach from the terminal." << endl << "-q/--quiet" << endl << " be quiet - don't display startup informations." << endl << "-V/--version" << endl << " Print the version number and exit." << endl << "-b #.#.#.#/--bcastaddress=#.#.#.#" << endl << " Set broadcast address of sinfod." << endl << "-c/--cmdline" << endl << " broadcast the full command line of a process instead of the command only." << endl << "-n card/--networkcard=card" << endl << " Determine network load fron card." << endl << "-N nicevalue/--nice=nicevalue" << endl << " Set the priority of this demon to nicevalue." << endl << "-m marker/--marker=marker" << endl << " Mark the machine with a name." << endl << "-i/--ignore " << endl << " Don't broadcast any information on ; --ignore may be set multiple times." << endl << "-t/--top " << endl << " Broadcast information on the top processes; default: 5" << endl << "-s/--spymode" << endl << " Deactivate TCP interface, broadcast only mode." << endl << "-W/--watchdog" << endl << " start with simple watchdog." << endl << endl; exit(1); } void MainClass::mainLoopNoWatchdog() { try { boost::asio::io_service ioservice; list < Wsinfo > wsinfoList; if (true==broadcastonlymode) { UDPMessageTransmitter udpMessageTransmitter(ioservice, boost::asio::ip::udp::endpoint(boost::asio::ip::address::from_string(bcast_address), SINFO_BROADCAST_PORT)); MeasureServer measureServer(ioservice, networkcard, marker, cmdlinemode, ignoreList, listtop); measureServer.sendMeasurementSignal.connect(boost::bind(&UDPMessageTransmitter::send, &udpMessageTransmitter, _1)); LastGasp lastGasp; lastGasp.sendMessageSignal.connect(boost::bind(&UDPMessageTransmitter::send, &udpMessageTransmitter, _1)); ioservice.run(); } else { bool restartCounterEventFlag=true; // create worker boost::shared_ptr basicmessagesWorkerPtr=boost::shared_ptr(new BasicmessagesWorker); boost::shared_ptr sinfoWorkerPtr=boost::shared_ptr(new SinfoWorker(wsinfoList)); // create parser tree CompositeParser topLevelParser; topLevelParser.addParser(1,1,Parser::SPtr(new BasicmessagesParser(basicmessagesWorkerPtr))); topLevelParser.addParser(2,2,Parser::SPtr(new SinfoParser(sinfoWorkerPtr))); UDPMessageServer udpMessageServerIPv4(ioservice,boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v4(), SINFO_REQUEST_PORT)); udpMessageServerIPv4.receiveMessageSignal.connect(boost::bind(&CompositeParser::parse, &topLevelParser, _1, _2)); #ifdef ENABLEIPv6 UDPMessageServer udpMessageServerIPv6(ioservice,boost::asio::ip::udp::endpoint(boost::asio::ip::udp::v6(), SINFO_REQUEST_PORT)); udpMessageServerIPv6.receiveMessageSignal.connect(boost::bind(&CompositeParser::parse, &topLevelParser, _1, _2)); #endif RPCServerConnectorFactory rpcServerConnectorFactory; rpcServerConnectorFactory.receiveMessageSignal.connect(boost::bind(&CompositeParser::parse, &topLevelParser, _1, _2)); TCPMessageServer tcpMessageServerIPv4(ioservice, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v4(), SINFO_REQUEST_PORT), rpcServerConnectorFactory); #ifdef ENABLEIPv6 TCPMessageServer tcpMessageServerIPv6(ioservice, boost::asio::ip::tcp::endpoint(boost::asio::ip::tcp::v6(), SINFO_REQUEST_PORT), rpcServerConnectorFactory); #endif UDPMessageTransmitter udpMessageTransmitter(ioservice, boost::asio::ip::udp::endpoint(boost::asio::ip::address::from_string(bcast_address), SINFO_BROADCAST_PORT)); MeasureServer measureServer(ioservice, networkcard, marker, cmdlinemode, ignoreList, listtop); measureServer.sendMeasurementSignal.connect(boost::bind(&UDPMessageTransmitter::send, &udpMessageTransmitter, _1)); LastGasp lastGasp; lastGasp.sendMessageSignal.connect(boost::bind(&UDPMessageTransmitter::send, &udpMessageTransmitter, _1)); CleanupList cleanupList(ioservice, wsinfoList); BroadcastReceiver broadcastReceiver(ioservice, restartCounterEventFlag, wsinfoList); while (ioservice.run_one()) { // while (messagepassingEventQueue.size()>0) // { // deliverEvent(messagepassingEventQueue.pop()); // } // FIXME : restartCounterEventFlag is much better than a global variable, // but the Event passing should be more generic and the classes shoud register a callback by themselve // e.g. by using an observer design pattern if (restartCounterEventFlag) { measureServer.restartCounterEvent(); restartCounterEventFlag=false; } } } cout << "ioservice run exit" << endl; } catch (exception& e) { cerr << "Exception: " << e.what() << "\n"; } } void MainClass::mainLoopWithWatchdog() { while (1) { pid_t childpid = fork(); cout << childpid << endl; if ( -1 == childpid) { cerr << "error forking child process" << endl; exit(1); } if (0 == childpid) { mainLoopNoWatchdog(); } if (childpid > 0) { int status; waitpid(childpid, &status, 0); } sleep(1); } } int MainClass::mainLoop() { // writing to a bad socket will abort the porgram if we dont ignore SIGPIPE signal(SIGPIPE, SIG_IGN); if (true==watchdogmode) { mainLoopWithWatchdog(); } else { mainLoopNoWatchdog(); } return 0; } int main(int argc, char * argv[]) { MainClass mainClass(argc,argv); return mainClass.mainLoop(); } sinfo-0.0.48/sinfod/Makefile.am0000644000175000017500000000231512440164704013163 00000000000000include $(top_srcdir)/Makefile.idl IDLXSOURCES = \ basicmessages.idlx.parser.h basicmessages.idlx.parser.cc \ sinfo.idlx.parser.h sinfo.idlx.parser.cc BUILT_SOURCES = \ $(IDLXSOURCES) sbin_PROGRAMS = sinfod sinfod_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageparser \ -I$(top_srcdir)/libmessageiobase \ -I$(top_srcdir)/libmessageio \ -I$(top_srcdir)/librpc \ -I$(top_srcdir)/libsinfotypes \ -I$(top_srcdir)/libsinfometer sinfod_SOURCES = \ demoninit.h demoninit.cc \ sinfobroadcastids.h \ basicmessagesworker.h \ cleanuplist.h cleanuplist.cc \ broadcastreceiver.h broadcastreceiver.cc \ lastgasp.h lastgasp.cc \ measureserver.h measureserver.cc \ sinfoworker.h sinfoworker.cc \ sinfod.cc \ $(IDLXSOURCES) sinfod_LDADD = \ ../libsinfotypes/libsinfotypes.la \ ../libsinfometer/libsinfometer.la \ ../libmessage/libmessage.la \ ../libmessageparser/libmessageparser.la \ ../libmessageiobase/libmessageiobase.la \ ../libmessageio/libmessageio.la \ ../librpc/librpc.la \ -lpthread \ $(BOOST_SIGNALS_LIB) \ $(BOOST_SYSTEM_LIB) MAINTAINERCLEANFILES = \ $(IDLXSOURCES) man_MANS = sinfod.8 EXTRA_DIST = ${man_MANS} basicmessages.idlx sinfo.idlx sinfo-0.0.48/sinfod/sinfobroadcastids.h0000644000175000017500000000047512101563636015007 00000000000000#ifndef _sinfobroadcastids_h #define _sinfobroadcastids_h enum SinfoBroadcastIDs { restartFlag = 1, meminfoFlag, loadavgFlag, cpustatFlag, uptimeFlag, procinfoFlag, unameinfoFlag, usersFlag, cpuinfoFlag, netloadFlag, sigtermFlag, diskloadFlag, markerFlag }; #endif // _sinfobroadcastids_h sinfo-0.0.48/sinfod/sinfo.idlx.parser.cc0000644000175000017500000000303112444035677015014 00000000000000/******************************************************************************* ** File gererated from sinfo.idlx ** ** Created: Tue Dec 16 15:03:43 2014 ** by: idlxcompiler version 0.0.1 ** ** WARNING! ** All changes made in this file will be lost when recompiling idlx file. *******************************************************************************/ #include #include "messagebasictypes.h" #include "messagesinfotypes.h" #include "messagecomplextypes.h" #include "messagestlcontainertypes.h" using namespace Msg; #include "templateparser.h" #include "sinfo.idlx.parser.h" using namespace std; enum { GetSinfoListRequest=1, GetSinfoListReply=2, GetFilteredSinfoListRequest=3, GetFilteredSinfoListReply=4 }; SinfoParser::SinfoParser(boost::shared_ptr sinfoWorkerPtr) { TemplateParser_1ret_0< std::list < Wsinfo > > * getSinfoListParserPtr = new TemplateParser_1ret_0< std::list < Wsinfo > >; getSinfoListParserPtr->callWorkerSignal.connect(boost::bind(&SinfoWorker::getSinfoList, sinfoWorkerPtr, _1)); addParser(GetSinfoListRequest, GetSinfoListReply, Parser::SPtr(getSinfoListParserPtr)); TemplateParser_1ret_1< std::list < Wsinfo >, std::string > * getFilteredSinfoListParserPtr = new TemplateParser_1ret_1< std::list < Wsinfo >, std::string >; getFilteredSinfoListParserPtr->callWorkerSignal.connect(boost::bind(&SinfoWorker::getFilteredSinfoList, sinfoWorkerPtr, _1, _2)); addParser(GetFilteredSinfoListRequest, GetFilteredSinfoListReply, Parser::SPtr(getFilteredSinfoListParserPtr)); }; sinfo-0.0.48/sinfod/basicmessagesworker.h0000644000175000017500000000075612101563641015347 00000000000000#ifndef _basicmessagesworker_h #define _basicmessagesworker_h #include class BasicmessagesWorker { public: void getSoftwareDescription(std::string & returnstring) { returnstring=std::string(PACKAGE_NAME); } void getSoftwareVersion(std::string & returnstring) { returnstring=std::string(PACKAGE_VERSION); } void getCompileDate(std::string & returnstring) { returnstring=std::string( __DATE__ " " __TIME__ ); } }; #endif // _basicmessagesworker_h sinfo-0.0.48/sinfod/cleanuplist.cc0000644000175000017500000000206712170064767013775 00000000000000#include #include #include "cleanuplist.h" using namespace std; // delete workstations from sinfod's buffer if they were not heard for 300 seconds const long deleteoldTimer = 300; CleanupList::CleanupList(boost::asio::io_service& io_service, std::list < Wsinfo > & _wsinfoList):ioservice(io_service), timer(io_service), wsinfoList(_wsinfoList) { timer.expires_from_now(boost::posix_time::seconds(deleteoldTimer)); timer.async_wait(boost::bind(&CleanupList::handle_timeout, this)); } void CleanupList::timerEvent() { // deleteOldEntries time_t now = time(0); std::list < Wsinfo > ::iterator it = wsinfoList.begin(); while (it != wsinfoList.end()) { if ((now - it->lastheard) >= deleteoldTimer) { it = wsinfoList.erase(it); } else { ++it; } } } void CleanupList::handle_timeout() { //cout << "CleanupList::handle_timeout" << endl; timerEvent(); timer.expires_from_now(boost::posix_time::seconds(deleteoldTimer)); timer.async_wait(boost::bind(&CleanupList::handle_timeout, this)); } sinfo-0.0.48/sinfod/sinfo.idlx.parser.h0000644000175000017500000000112312444035677014656 00000000000000#ifndef _sinfo_idlx_parser_h #define _sinfo_idlx_parser_h /******************************************************************************* ** File gererated from sinfo.idlx ** ** Created: Tue Dec 16 15:03:43 2014 ** by: idlxcompiler version 0.0.1 ** ** WARNING! ** All changes made in this file will be lost when recompiling idlx file. *******************************************************************************/ #include "sinfoworker.h" #include "parser.h" class SinfoParser: public CompositeParser { public: SinfoParser(boost::shared_ptr sinfoWorkerPtr); }; #endif sinfo-0.0.48/sinfod/basicmessages.idlx0000644000175000017500000000136611637265671014643 00000000000000 sinfo-0.0.48/COPYING0000644000175000017500000004311011356411373010700 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. sinfo-0.0.48/INSTALL0000644000175000017500000003660012444035656010711 00000000000000Installation Instructions ************************* Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the `make install' phase executed with root privileges. 5. Optionally, type `make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior `make install' required root privileges, verifies that the installation completed correctly. 6. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. 7. Often, you can also type `make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide `make distcheck', which can by used by developers to test that all other targets like `make install' and `make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. This is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of `${prefix}', so that specifying just `--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to `configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the `make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, `make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of `${prefix}'. Any directories that were specified during `configure', but not in terms of `${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the `DESTDIR' variable. For example, `make install DESTDIR=/alternate/directory' will prepend `/alternate/directory' before all installation names. The approach of `DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of `${prefix}' at `configure' time. Optional Features ================= If the package supports it, you can cause programs to be installed with an extra prefix or suffix on their names by giving `configure' the option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. Some packages pay attention to `--enable-FEATURE' options to `configure', where FEATURE indicates an optional part of the package. They may also pay attention to `--with-PACKAGE' options, where PACKAGE is something like `gnu-as' or `x' (for the X Window System). The `README' should mention any `--enable-' and `--with-' options that the package recognizes. For packages that use the X Window System, `configure' can usually find the X include and library files automatically, but if it doesn't, you can use the `configure' options `--x-includes=DIR' and `--x-libraries=DIR' to specify their locations. Some packages offer the ability to configure how verbose the execution of `make' will be. For these packages, running `./configure --enable-silent-rules' sets the default to minimal output, which can be overridden with `make V=1'; while running `./configure --disable-silent-rules' sets the default to verbose, which can be overridden with `make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. HP-UX `make' updates targets which have the same time stamps as their prerequisites, which makes it generally unusable when shipped generated files such as `configure' are involved. Use GNU `make' instead. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. sinfo-0.0.48/libsinfometer/0000755000175000017500000000000012444035677012600 500000000000000sinfo-0.0.48/libsinfometer/usersmeter.h0000644000175000017500000000015712101563711015053 00000000000000#ifndef _usersmeter_h #define _usersmeter_h #include "users.h" Users getUsers(); #endif // _usersmeter_h sinfo-0.0.48/libsinfometer/uptimemeter.h0000644000175000017500000000020212101563703015205 00000000000000#ifndef _uptimemeter_h #define _uptimemeter_h #include "uptime.h" bool getUptime(Uptime & uptime); #endif // _uptimemeter_h sinfo-0.0.48/libsinfometer/loadavgmeter.cc0000644000175000017500000000462212376321001015464 00000000000000#include #ifdef __sun__ #include #include #include #include #include #include #include #include #endif #ifdef __FreeBSD__ #include #include #include #include #include #endif #include "loadavgmeter.h" #ifdef __sun__ float getscaled(kstat_t *ks, const char *name) { // load avgs are scaled by 256 kstat_named_t *kn = (kstat_named_t *)kstat_data_lookup(ks, (char *)name); return kn ? kn->value.ui32 * (1 / 256.0) : 0.0; } #endif bool getLoadavg(Loadavg & loadavg) { #ifdef __linux__ FILE *fload; if ( (fload = fopen("/proc/loadavg", "r") ) != NULL) { fscanf(fload, "%f %f %f", &loadavg.load1, &loadavg.load5, &loadavg.load15); fclose(fload); return true; } #endif #ifdef __FreeBSD__ kvm_t *kd; if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open")) == NULL) { fprintf(stderr, "kvm_open failed\n"); return false; } struct nlist nlst[] = { #define X_AVENRUN 0 { "_averunnable" }, { 0 } }; kvm_nlist(kd, nlst); if (nlst[0].n_type == 0) { fprintf(stderr, "kvm_nlist failed\n"); return false; } struct loadavg avernrun; if (kvm_read(kd, nlst[X_AVENRUN].n_value, &avernrun, sizeof(avernrun)) != sizeof(avernrun)) { fprintf(stderr, "kvm_read failed\n"); return false; } kvm_close(kd); loadavg.load1 = double(avernrun.ldavg[0]) / double(avernrun.fscale); loadavg.load5 = double(avernrun.ldavg[1]) / double(avernrun.fscale); loadavg.load15 = double(avernrun.ldavg[2]) / double(avernrun.fscale); return true; #endif #ifdef __sun__ struct kstat_ctl *kc; if ((kc = kstat_open()) == 0) { fprintf(stderr, "Sorry, I cannot initialise the `kstat' library.\n" "This library is used for accessing kernel information.\n" "The diagnostics are: `%s'.\n\n", strerror(errno)); } else { kstat_t *ks = kstat_lookup(kc, "unix", 0, "system_misc"); if (!ks || kstat_read(kc, ks, 0) == -1) { perror("kstat_lookup/read"); } else { loadavg.load1 = getscaled(ks, "avenrun_1min"); loadavg.load5 = getscaled(ks, "avenrun_5min"); loadavg.load15 = getscaled(ks, "avenrun_15min"); kstat_close(kc); return true; } } #endif return false; } sinfo-0.0.48/libsinfometer/loadavgmeter.h0000644000175000017500000000021112101563723015321 00000000000000#ifndef _loadavgmeter_h #define _loadavgmeter_h #include "loadavg.h" bool getLoadavg(Loadavg & loadavg); #endif // _loadavgmeter_h sinfo-0.0.48/libsinfometer/deriver.h0000644000175000017500000000142612101563672014323 00000000000000#ifndef _deriver_h #define _deriver_h #include class Deriver { private: double lastValue; boost::posix_time::ptime lastTime; bool lastIsValid; double currentValue; boost::posix_time::ptime currentTime; bool currentIsValid; public: Deriver(); void setCurrentValue(boost::posix_time::ptime theCurrentTime, double value); double getDerivation(boost::posix_time::ptime theCurrentTime); double setCurrentValueAndGetDerivation(boost::posix_time::ptime theCurrentTime, double value); }; class DeriverWithTimer : private Deriver { private: public: DeriverWithTimer(); void setCurrentValue(double value); double getDerivation(); double setCurrentValueAndGetDerivation(double value); }; #endif // _deriver_h sinfo-0.0.48/libsinfometer/meminfometer.h0000644000175000017500000000021012101563715015336 00000000000000#ifndef _meminfometer_h #define _meminfometer_h #include "meminfo.h" bool getMeminfo(Meminfo & meminfo); #endif // _meminfometer_h sinfo-0.0.48/libsinfometer/Makefile.in0000644000175000017500000007701312444035656014572 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libsinfometer DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libsinfometer_la_LIBADD = am_libsinfometer_la_OBJECTS = libsinfometer_la-deriver.lo \ libsinfometer_la-cpustatmeter.lo \ libsinfometer_la-cpuinfometer.lo \ libsinfometer_la-loadavgmeter.lo \ libsinfometer_la-meminfometer.lo \ libsinfometer_la-netloadmeter.lo \ libsinfometer_la-diskloadmeter.lo \ libsinfometer_la-procinfometer.lo \ libsinfometer_la-unamemeter.lo libsinfometer_la-uptimemeter.lo \ libsinfometer_la-usersmeter.lo libsinfometer_la_OBJECTS = $(am_libsinfometer_la_OBJECTS) libsinfometer_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \ $(CXXFLAGS) $(libsinfometer_la_LDFLAGS) $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libsinfometer_la_SOURCES) DIST_SOURCES = $(libsinfometer_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = \ libsinfometer.la libsinfometer_la_CPPFLAGS = \ -I$(top_srcdir)/libsinfotypes libsinfometer_la_LDFLAGS = \ -release $(VERSION) libsinfometer_la_SOURCES = \ deriver.h deriver.cc \ cpustatmeter.h cpustatmeter.cc \ cpuinfometer.h cpuinfometer.cc \ loadavgmeter.h loadavgmeter.cc \ meminfometer.h meminfometer.cc \ netloadmeter.h netloadmeter.cc \ diskloadmeter.h diskloadmeter.cc \ procinfometer.h procinfometer.cc \ unamemeter.h unamemeter.cc \ uptimemeter.h uptimemeter.cc \ usersmeter.h usersmeter.cc all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libsinfometer/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libsinfometer/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libsinfometer.la: $(libsinfometer_la_OBJECTS) $(libsinfometer_la_DEPENDENCIES) $(EXTRA_libsinfometer_la_DEPENDENCIES) $(libsinfometer_la_LINK) -rpath $(pkglibdir) $(libsinfometer_la_OBJECTS) $(libsinfometer_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-cpuinfometer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-cpustatmeter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-deriver.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-diskloadmeter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-loadavgmeter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-meminfometer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-netloadmeter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-procinfometer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-unamemeter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-uptimemeter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libsinfometer_la-usersmeter.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< libsinfometer_la-deriver.lo: deriver.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-deriver.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-deriver.Tpo -c -o libsinfometer_la-deriver.lo `test -f 'deriver.cc' || echo '$(srcdir)/'`deriver.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-deriver.Tpo $(DEPDIR)/libsinfometer_la-deriver.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='deriver.cc' object='libsinfometer_la-deriver.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-deriver.lo `test -f 'deriver.cc' || echo '$(srcdir)/'`deriver.cc libsinfometer_la-cpustatmeter.lo: cpustatmeter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-cpustatmeter.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-cpustatmeter.Tpo -c -o libsinfometer_la-cpustatmeter.lo `test -f 'cpustatmeter.cc' || echo '$(srcdir)/'`cpustatmeter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-cpustatmeter.Tpo $(DEPDIR)/libsinfometer_la-cpustatmeter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cpustatmeter.cc' object='libsinfometer_la-cpustatmeter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-cpustatmeter.lo `test -f 'cpustatmeter.cc' || echo '$(srcdir)/'`cpustatmeter.cc libsinfometer_la-cpuinfometer.lo: cpuinfometer.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-cpuinfometer.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-cpuinfometer.Tpo -c -o libsinfometer_la-cpuinfometer.lo `test -f 'cpuinfometer.cc' || echo '$(srcdir)/'`cpuinfometer.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-cpuinfometer.Tpo $(DEPDIR)/libsinfometer_la-cpuinfometer.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cpuinfometer.cc' object='libsinfometer_la-cpuinfometer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-cpuinfometer.lo `test -f 'cpuinfometer.cc' || echo '$(srcdir)/'`cpuinfometer.cc libsinfometer_la-loadavgmeter.lo: loadavgmeter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-loadavgmeter.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-loadavgmeter.Tpo -c -o libsinfometer_la-loadavgmeter.lo `test -f 'loadavgmeter.cc' || echo '$(srcdir)/'`loadavgmeter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-loadavgmeter.Tpo $(DEPDIR)/libsinfometer_la-loadavgmeter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='loadavgmeter.cc' object='libsinfometer_la-loadavgmeter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-loadavgmeter.lo `test -f 'loadavgmeter.cc' || echo '$(srcdir)/'`loadavgmeter.cc libsinfometer_la-meminfometer.lo: meminfometer.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-meminfometer.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-meminfometer.Tpo -c -o libsinfometer_la-meminfometer.lo `test -f 'meminfometer.cc' || echo '$(srcdir)/'`meminfometer.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-meminfometer.Tpo $(DEPDIR)/libsinfometer_la-meminfometer.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='meminfometer.cc' object='libsinfometer_la-meminfometer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-meminfometer.lo `test -f 'meminfometer.cc' || echo '$(srcdir)/'`meminfometer.cc libsinfometer_la-netloadmeter.lo: netloadmeter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-netloadmeter.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-netloadmeter.Tpo -c -o libsinfometer_la-netloadmeter.lo `test -f 'netloadmeter.cc' || echo '$(srcdir)/'`netloadmeter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-netloadmeter.Tpo $(DEPDIR)/libsinfometer_la-netloadmeter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='netloadmeter.cc' object='libsinfometer_la-netloadmeter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-netloadmeter.lo `test -f 'netloadmeter.cc' || echo '$(srcdir)/'`netloadmeter.cc libsinfometer_la-diskloadmeter.lo: diskloadmeter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-diskloadmeter.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-diskloadmeter.Tpo -c -o libsinfometer_la-diskloadmeter.lo `test -f 'diskloadmeter.cc' || echo '$(srcdir)/'`diskloadmeter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-diskloadmeter.Tpo $(DEPDIR)/libsinfometer_la-diskloadmeter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='diskloadmeter.cc' object='libsinfometer_la-diskloadmeter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-diskloadmeter.lo `test -f 'diskloadmeter.cc' || echo '$(srcdir)/'`diskloadmeter.cc libsinfometer_la-procinfometer.lo: procinfometer.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-procinfometer.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-procinfometer.Tpo -c -o libsinfometer_la-procinfometer.lo `test -f 'procinfometer.cc' || echo '$(srcdir)/'`procinfometer.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-procinfometer.Tpo $(DEPDIR)/libsinfometer_la-procinfometer.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='procinfometer.cc' object='libsinfometer_la-procinfometer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-procinfometer.lo `test -f 'procinfometer.cc' || echo '$(srcdir)/'`procinfometer.cc libsinfometer_la-unamemeter.lo: unamemeter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-unamemeter.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-unamemeter.Tpo -c -o libsinfometer_la-unamemeter.lo `test -f 'unamemeter.cc' || echo '$(srcdir)/'`unamemeter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-unamemeter.Tpo $(DEPDIR)/libsinfometer_la-unamemeter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='unamemeter.cc' object='libsinfometer_la-unamemeter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-unamemeter.lo `test -f 'unamemeter.cc' || echo '$(srcdir)/'`unamemeter.cc libsinfometer_la-uptimemeter.lo: uptimemeter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-uptimemeter.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-uptimemeter.Tpo -c -o libsinfometer_la-uptimemeter.lo `test -f 'uptimemeter.cc' || echo '$(srcdir)/'`uptimemeter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-uptimemeter.Tpo $(DEPDIR)/libsinfometer_la-uptimemeter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='uptimemeter.cc' object='libsinfometer_la-uptimemeter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-uptimemeter.lo `test -f 'uptimemeter.cc' || echo '$(srcdir)/'`uptimemeter.cc libsinfometer_la-usersmeter.lo: usersmeter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libsinfometer_la-usersmeter.lo -MD -MP -MF $(DEPDIR)/libsinfometer_la-usersmeter.Tpo -c -o libsinfometer_la-usersmeter.lo `test -f 'usersmeter.cc' || echo '$(srcdir)/'`usersmeter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libsinfometer_la-usersmeter.Tpo $(DEPDIR)/libsinfometer_la-usersmeter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='usersmeter.cc' object='libsinfometer_la-usersmeter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsinfometer_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libsinfometer_la-usersmeter.lo `test -f 'usersmeter.cc' || echo '$(srcdir)/'`usersmeter.cc mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libsinfometer/cpuinfometer.h0000644000175000017500000000021112101563731015346 00000000000000#ifndef _cpuinfometer_h #define _cpuinfometer_h #include "cpuinfo.h" bool getCpuinfo(Cpuinfo & cpuinfo); #endif // _cpuinfometer_h sinfo-0.0.48/libsinfometer/cpuinfometer.cc0000644000175000017500000000740112376321001015510 00000000000000#include #ifdef __sun__ #include #include #include #include #include #include #endif #ifdef __FreeBSD__ #include #include #endif #include #include #include "cpuinfometer.h" bool getCpuinfo(Cpuinfo & cpuinfo) { cpuinfo.cpus = 0; cpuinfo.speedmhz = 0; #ifdef __linux__ FILE *fcinfo; if ( (fcinfo = fopen("/proc/cpuinfo", "r") ) != NULL) { #ifdef CPUNO_ADJUST int siblings = 1; int cores = 1; #endif while (1) { char line[401]; int fsret = fscanf(fcinfo, "%400[^\n]\n",line); if (fsret == EOF) break; char entry[201]; char value[201]; fsret = sscanf(line, "%200[^\t:]%*[\t: ]%200[^\n]", entry, value); // cout << "entry \"" << entry << "\"" << endl // << " value \"" << value << "\"" << endl; if (fsret == 2) { // interpret the fscanned data if (strcmp(entry, "processor") == 0) { cpuinfo.cpus++; } if (strcmp(entry, "cpu MHz") == 0) { sscanf(value, "%f", &cpuinfo.speedmhz); } #ifdef CPUNO_ADJUST if (strcmp(entry, "siblings") == 0) { sscanf(value, "%d", &siblings); } if (strcmp(entry, "cpu cores") == 0) { sscanf(value, "%d", &cores); } #endif // for PowerPC970, contributed by Francois Thomas if (strcmp(entry, "clock") == 0) { sscanf(value, "%fMHz", &cpuinfo.speedmhz); } } } #ifdef CPUNO_ADJUST cpuinfo.cpus = cpuinfo.cpus * cores / siblings; #endif fclose(fcinfo); return true; } #endif #ifdef __FreeBSD__ // found hint to the kernal-variabel "tsc_freq" in // /usr/src/sys/i386/i386/identcpu.c // that´s part of the kernel startup function kvm_t *kd; if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open")) == NULL) { fprintf(stderr, "kvm_open failed\n"); return false; } struct nlist nlst[] = { #define X_TSC_FREQ 0 { "_tsc_freq" }, { 0 } }; kvm_nlist(kd, nlst); if (nlst[0].n_type == 0) { std::cerr << "kvm_nlist failed: " << std::endl; return false; } unsigned int mytsc_freq; if (kvm_read(kd, nlst[X_TSC_FREQ].n_value, &mytsc_freq, sizeof(mytsc_freq)) != sizeof(mytsc_freq)) { std::cerr << "kvm_read failed: " << kvm_geterr(kd) << std::endl; return false; } kvm_close(kd); cpuinfo.cpus = 1; // FIXME: I don´t have acces to a multi processor FreeBSD system // so I´ll assume, that there is at least one CPU .... std::cout << "mytsc_freq= " << (mytsc_freq + 4999.) / 1e6 << std::endl; cpuinfo.speedmhz = (mytsc_freq + 4999.) / 1e6; return true; #endif #ifdef __sun__ struct kstat_ctl *kc; if ((kc = kstat_open()) == 0) { fprintf(stderr, "Sorry, I cannot initialise the `kstat' library.\n" "This library is used for accessing kernel information.\n" "The diagnostics are: `%s'.\n\n", strerror(errno)); } else { // CPUS zählen for (kstat_t * ksp = kc->kc_chain; ksp != 0; ksp = ksp->ks_next) { if (strncmp(ksp->ks_name, "cpu_info", 8) == 0) { cpuinfo.cpus++; if (kstat_read(kc, ksp, 0) != -1) { kstat_named_t *kn = (kstat_named_t *)ksp->ks_data; for (int i = 0; i < (int) ksp->ks_ndata; i++) { std::cout << kn->name << std::endl; if (strcmp(kn->name, "clock_MHz") == 0) { cpuinfo.speedmhz = kn->value.ul; break; } kn++; } } } } if (kc != 0) kstat_close(kc); return true; } #endif return false; } sinfo-0.0.48/libsinfometer/diskloadmeter.cc0000644000175000017500000000314312011403607015635 00000000000000#include #include #include #include #include #include #include "diskloadmeter.h" using namespace std; DiskloadMeter::DiskloadMeter() { } #ifdef __linux__ bool DiskloadMeter::getDiskload(Diskload & diskload) { FILE *fcinfo; if ( (fcinfo = fopen("/proc/vmstat", "r") ) != NULL) { int entriesFound=0; long readkbytes=0; long writekbytes=0; while (true) { char entry[200]; long value; // FIXME: limit the value of scanned chars to prevent buffer overruns int fsret = fscanf(fcinfo, "%[^\t ]%*[\t ]%ld\n", entry, &value); if (fsret == EOF) break; if (fsret == 2) { // interpret the fscanned data if (0 == strcmp(entry, "pgpgin")) { readkbytes=value; entriesFound++; } if (0 == strcmp(entry, "pgpgout")) { writekbytes=value; entriesFound++; } } } fclose(fcinfo); if (2==entriesFound) { diskload.readkbytespersec =readKBytesDeriver.setCurrentValueAndGetDerivation(readkbytes); diskload.writekbytespersec=writeKBytesDeriver.setCurrentValueAndGetDerivation(writekbytes); return true; } } return false; } #endif #ifdef __sun__ bool DiskloadMeter::getDiskload(Diskload & diskload) { diskload.readkbytespersec = -1.; diskload.writekbytespersec = -1.; return false; } #endif #ifdef __FreeBSD__ bool DiskloadMeter::getDiskload(Diskload & diskload) { diskload.readkbytespersec = -1.; diskload.writekbytespersec = -1.; return false; } #endif sinfo-0.0.48/libsinfometer/procinfometer.cc0000644000175000017500000002656012376321001015673 00000000000000#include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __linux__ #include /* get definition of HZ */ #include #endif #ifdef __sun__ #include #include #include #include #include #endif #ifdef __FreeBSD__ #include #include #include #include #include #include #endif #include "procinfometer.h" using namespace std; #define COMMSIZE 17 // synchronize with size of comm in struct task_struct in // /usr/include/linux/sched.h ... or equivalent on sun or BSD #define USERNAMEMAX 10 // maximum length for user names #define PROC_BASE "/proc" #define cmdlineReadBufferSizeMAX 16*1024 // MAXimum ReadBufferSize for command lines ProcinfoMeter::ProcinfoMeter(bool cmdlinemode, std::list < std::string > ignoreList) : cmdlinemode(cmdlinemode), ignoreList(ignoreList) { #ifdef __linux__ cmdlineReadBufferSize = sysconf(_SC_ARG_MAX); // Limit bufferSize to cmdlineReadBufferSizeMAX, // because linux (tested with 2.6.32 and some more) // might return a large number that is not available as memory, // if the maximum stack size is unlimited: // ulimit -s unlimited // // e.g. // On a 32Bit System with // ulimit -s unlimited // sysconf(_SC_ARG_MAX) // returns // 1073741823 // which is appriximately 2^30 // // On a 62Bit System with // ulimit -s unlimited // sysconf(_SC_ARG_MAX) // returns // 4611686018427387903 // which is appriximately 2^62 // if (cmdlineReadBufferSize>cmdlineReadBufferSizeMAX) { cmdlineReadBufferSize=cmdlineReadBufferSizeMAX; } cmdlineReadBuffer = new char[cmdlineReadBufferSize]; #endif #ifdef __sun__ getCpuinfo(cpuinfo); #endif } ProcinfoMeter::~ProcinfoMeter() { #ifdef __linux__ delete [] cmdlineReadBuffer; #endif } void ProcinfoMeter::unmarkProcinfoInternalList() { for (std::list < ProcinfoInternal > ::iterator it = procinfoInternalList.begin(); it != procinfoInternalList.end(); ++it) { it->updated = false; } } bool operator<(const ProcinfoMeter::ProcinfoInternal& a, const ProcinfoMeter::ProcinfoInternal& b) { return (a.procinfo.cpupercent > b.procinfo.cpupercent); } std::list < ProcinfoMeter::ProcinfoInternal > ::iterator ProcinfoMeter::getProcinfoInternalList(int pid) { std::list < ProcinfoInternal > ::iterator pit; bool found = false; for (pit = procinfoInternalList.begin(); pit != procinfoInternalList.end(); ++pit) { if (pit->procinfo.pid == pid) { found = true; break; } } if (!found) { ProcinfoInternal newentry; pit = procinfoInternalList.insert(pit, newentry); pit->procinfo.pid = pid; pit->uid = -1; } pit->updated = true; return pit; } #ifdef __linux__ bool ProcinfoMeter::readCmdline(std::string & cmdline, int pid) { char path[PATH_MAX + 1]; snprintf(path, PATH_MAX + 1, "%s/%d/cmdline", PROC_BASE, pid); int fd=open(path, O_RDONLY); if (-1 != fd) { int bufferStartIdx=0; while (true) { int readRet=read(fd, &cmdlineReadBuffer[bufferStartIdx], cmdlineReadBufferSize-bufferStartIdx); if (readRet<=0) { // no (more) (valid) data break; } bufferStartIdx+=readRet; if (bufferStartIdx>=cmdlineReadBufferSize) { // full buffer break; } } close(fd); // convert 0 to ' ' for (int idx=0; idx ::iterator it = ignoreList.begin(); it != ignoreList.end(); ++it) { if ( pii.procinfo.command == (*it) ) { pii.ignoreListMatch=true; } } } pii.procinfo.cpupercent=(pii.utimeDeriver.setCurrentValueAndGetDerivation(double(stat_utime)/double(HZ)) +pii.stimeDeriver.setCurrentValueAndGetDerivation(double(stat_stime)/double(HZ)))*100.; } fclose(file); } else { retval = false; } return retval; } void ProcinfoMeter::updateProcinfoInternalList() { DIR *dir; if (!(dir = opendir(PROC_BASE))) { perror(PROC_BASE); } else { struct dirent *de; while ((de = readdir(dir))) { pid_t pid; if ((pid = atoi(de->d_name))) { std::list < ProcinfoInternal > ::iterator pit = getProcinfoInternalList(pid); readProcinfo(*pit); } } closedir(dir); } } #endif #ifdef __sun__ bool ProcinfoMeter::readProcinfo(ProcinfoMeter::ProcinfoInternal & pii) { char path[PATH_MAX + 1]; snprintf(path, PATH_MAX + 1, "%s/%d/psinfo", PROC_BASE, pii.procinfo.pid); psinfo_t psi; int fd; if ((fd = open(path, O_RDONLY)) < 0) return false; if (read(fd, (void *)&psi, sizeof(psi)) < (int)sizeof(psi)) { close(fd); return false; } close(fd); pii.uid = psi.pr_uid; strncpy(pii.procinfo.command, psi.pr_fname, COMMSIZE); pii.procinfo.command[COMMSIZE - 1] = 0; pii.procinfo.state = psi.pr_lwp.pr_sname; pii.procinfo.priority = psi.pr_lwp.pr_nice; pii.procinfo.cpupercent = ((float)psi.pr_pctcpu) / 0x8000 * cpuinfo.cpus * 100.; return true; } void ProcinfoMeter::updateProcinfoInternalList() { DIR *dir; if (!(dir = opendir(PROC_BASE))) { perror(PROC_BASE); } else { struct dirent *de; while (de = readdir(dir)) { pid_t pid; if (pid = atoi(de->d_name)) { std::list < ProcinfoInternal > ::iterator pit = getProcinfoInternalList(pid); readProcinfo(*pit); } } closedir(dir); } } #endif #ifdef __FreeBSD__ void ProcinfoMeter::updateProcinfoInternalList() { kvm_t *kd; if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open")) == NULL) { fprintf(stderr, "kvm_open failed\n"); } else { int nentries; struct kinfo_proc *kp; /* defines in include/sys/user.h */ if ((kp = kvm_getprocs(kd, KERN_PROC_ALL, 0, &nentries)) == 0) { fprintf(stderr, "kvm_getprocs failed\n"); } else { for (int i = nentries; --i >= 0; ++kp) { /* struct proc is defined in include/sys/proc.h */ #ifdef HAVE_STRUCT_KINFO_PROC_KI_PID if ((kp->ki_flag & P_CONTROLT ) != 0) { std::list < ProcinfoInternal > ::iterator pit = getProcinfoInternalList(kp->ki_pid); pit->procinfo.command=string(kp->ki_comm); pit->procinfo.priority = kp->ki_nice; pit->uid = kp->ki_ruid; pit->procinfo.cpupercent = 100.0 * double(kp->ki_pctcpu) / double(FSCALE); switch (kp->ki_stat) #else if ((kp->kp_proc.p_flag & P_CONTROLT ) != 0) { std::list < ProcinfoInternal > ::iterator pit = getProcinfoInternalList(kp->kp_proc.p_pid); pit->procinfo.command=string(kp->kp_proc.p_comm); pit->procinfo.priority = kp->kp_proc.p_nice; pit->uid = kp->kp_eproc.e_pcred.p_ruid; pit->procinfo.cpupercent = 100.0 * double(kp->kp_proc.p_pctcpu) / double(FSCALE); switch (kp->kp_proc.p_stat) #endif { case SSTOP: pit->procinfo.state = 'T'; break; case SSLEEP: pit->procinfo.state = 'D'; break; case SRUN: case SIDL: pit->procinfo.state = 'R'; break; case SZOMB: pit->procinfo.state = 'Z'; break; default: pit->procinfo.state = '?'; } } } } kvm_close(kd); } } #endif void ProcinfoMeter::cleanupProcinfoInternalList() { for (std::list < ProcinfoInternal > ::iterator pit = procinfoInternalList.begin(); pit != procinfoInternalList.end(); ) { if (pit->updated) { /* cout << "pid:" << pit->procinfo.pid << " cmd:" << pit->procinfo.command << " cpupercent:" << pit->procinfo.cpupercent << endl; */ ++pit; } else { pit = procinfoInternalList.erase(pit); } } } bool ProcinfoMeter::getTopList(int nr, std::list < Procinfo > & returnProcinfoList) { unmarkProcinfoInternalList(); updateProcinfoInternalList(); procinfoInternalList.sort(); cleanupProcinfoInternalList(); returnProcinfoList.erase(returnProcinfoList.begin(),returnProcinfoList.end()); int i = 0; for (std::list < ProcinfoInternal > ::iterator pit = procinfoInternalList.begin(); ((pit != procinfoInternalList.end()) && (i < nr)); ++pit) { #ifdef SIMPLE_USER_CACHE if (0 == pit->procinfo.username.size()) { // do some kind of name-caching to prevent (NIS/NIS+) name-lookups for (std::list < ProcinfoInternal > ::iterator ppit = procinfoInternalList.begin(); ppit != procinfoInternalList.end(); ++ppit) { if ((pit->uid == ppit->uid) && (ppit->procinfo.username.size() != 0 )) { pit->procinfo.username=ppit->procinfo.username; break; } } } #endif if (0 == pit->procinfo.username.size()) { struct passwd * passwdent = getpwuid(pit->uid); if (passwdent != 0) { pit->procinfo.username=string(passwdent->pw_name); } else { char username[USERNAMEMAX]; snprintf(username, USERNAMEMAX, "%d", pit->uid); pit->procinfo.username=string(username); } } if (false==pit->ignoreListMatch) { returnProcinfoList.push_back(pit->procinfo); i++; } } if (i == nr) return true; return false; } sinfo-0.0.48/libsinfometer/unamemeter.h0000644000175000017500000000020712101563720015013 00000000000000#ifndef _unamemeter_h #define _unamemeter_h #include #include "uname.h" Unameinfo getUnameinfo(); #endif // _unamemeter_h sinfo-0.0.48/libsinfometer/procinfometer.h0000644000175000017500000000320512101563700015524 00000000000000#ifndef _procinfometer_h #define _procinfometer_h #include #include "procinfo.h" #include "deriver.h" #ifdef __sun__ // we need the number of cpus for propper scaling of percent cpu-usage #include #endif class ProcinfoMeter { public: struct ProcinfoInternal { Procinfo procinfo; int uid; bool ignoreListMatch; #ifdef __linux__ DeriverWithTimer utimeDeriver; DeriverWithTimer stimeDeriver; #endif bool updated; // set to true if updated or new, false if process terminated }; private: bool cmdlinemode; std::list < std::string > ignoreList; std::list < ProcinfoInternal > procinfoInternalList; void unmarkProcinfoInternalList(); // set alle "updated" flags to false std::list < ProcinfoInternal > ::iterator getProcinfoInternalList(int pid); // and set "updated" #ifdef __linux__ char * cmdlineReadBuffer; long cmdlineReadBufferSize; bool readCmdline(std::string & cmdline, int pid); bool readProcinfo(ProcinfoInternal & pii); #endif #ifdef __sun__ Cpuinfo cpuinfo; bool readProcinfo(ProcinfoInternal & pii); #endif void updateProcinfoInternalList(); // different implementations for Linux, Solaris, FreeBSD available void cleanupProcinfoInternalList(); // erase all entries that are not "updated" public: ProcinfoMeter(bool cmdlinemode, std::list < std::string > ignoreList); ~ProcinfoMeter(); bool getTopList(int nr, std::list < Procinfo > & returnProcinfoList); // Update and return the top nr entries of procinfoInternalList } ; bool operator<(const ProcinfoMeter::ProcinfoInternal& a, const ProcinfoMeter::ProcinfoInternal&b); #endif // _procinfometer_h sinfo-0.0.48/libsinfometer/Makefile.am0000644000175000017500000000103612263052343014540 00000000000000pkglib_LTLIBRARIES = \ libsinfometer.la libsinfometer_la_CPPFLAGS = \ -I$(top_srcdir)/libsinfotypes libsinfometer_la_LDFLAGS = \ -release $(VERSION) libsinfometer_la_SOURCES = \ deriver.h deriver.cc \ cpustatmeter.h cpustatmeter.cc \ cpuinfometer.h cpuinfometer.cc \ loadavgmeter.h loadavgmeter.cc \ meminfometer.h meminfometer.cc \ netloadmeter.h netloadmeter.cc \ diskloadmeter.h diskloadmeter.cc \ procinfometer.h procinfometer.cc \ unamemeter.h unamemeter.cc \ uptimemeter.h uptimemeter.cc \ usersmeter.h usersmeter.cc sinfo-0.0.48/libsinfometer/unamemeter.cc0000644000175000017500000000063511517102003015147 00000000000000#include #include #include #include #include "unamemeter.h" Unameinfo getUnameinfo() { Unameinfo unameinfo; struct utsname suname; uname(&suname); unameinfo.sysname=suname.sysname; unameinfo.nodename=suname.nodename; unameinfo.release=suname.release; unameinfo.version=suname.version; unameinfo.machine=suname.machine; return unameinfo; } sinfo-0.0.48/libsinfometer/netloadmeter.h0000644000175000017500000000077512101563726015354 00000000000000#ifndef _netloadmeter_h #define _netloadmeter_h #include #include #include "netload.h" #include "deriver.h" #define IFACESIZE 11 class NetloadMeter { private: char iface[IFACESIZE]; DeriverWithTimer rxBytesDeriver; DeriverWithTimer rxPktDeriver; DeriverWithTimer txBytesDeriver; DeriverWithTimer txPktDeriver; const char * selectNetIface(); public: NetloadMeter(const std::string & _iface =""); bool getNetload(Netload & netload); }; #endif // _netloadmeter_h sinfo-0.0.48/libsinfometer/cpustatmeter.h0000644000175000017500000000055212101563675015405 00000000000000#ifndef _cpustatmeter_h #define _cpustatmeter_h #include "cpustat.h" class CpustatMeter { private: long long last_user; long long last_nice; long long last_sys; long long last_idle; long long last_iowait; long long last_irq; long long last_softirq; public: CpustatMeter(); bool getCpustat(Cpustat & cpustat); }; #endif // _cpustatmeter_h sinfo-0.0.48/libsinfometer/diskloadmeter.h0000644000175000017500000000051012101563707015502 00000000000000#ifndef _diskloadmeter_h #define _diskloadmeter_h #include #include "diskload.h" #include "deriver.h" class DiskloadMeter { private: DeriverWithTimer readKBytesDeriver; DeriverWithTimer writeKBytesDeriver; public: DiskloadMeter(); bool getDiskload(Diskload & diskload); }; #endif // _diskloadmeter_h sinfo-0.0.48/libsinfometer/netloadmeter.cc0000644000175000017500000001753712300715310015503 00000000000000#include #include #include #include #include #include #ifdef __sun__ #include #include #include #include #include #include #include #include #include #endif #ifdef __FreeBSD__ #include #include #include #include #endif #include "netloadmeter.h" using namespace std; NetloadMeter::NetloadMeter(const std::string & _iface) { if (0 == _iface.size()) { iface[0] = 0; // cout << "iface not given" << endl; } else { strncpy(iface, _iface.c_str(), IFACESIZE); iface[IFACESIZE - 1] = 0; // cout << "iface given by constructor as " << _iface << endl; } selectNetIface(); std::cout << "iface=" << iface << std::endl; } #ifdef __linux__ const char * NetloadMeter::selectNetIface() { if (0 == iface[0]) { FILE * f = fopen("/proc/net/dev", "r"); if (f != 0) { fscanf(f, "%*[^\n]\n"); fscanf(f, "%*[^\n]\n"); unsigned long iface_sum = 0; while (1) { char thisiface[IFACESIZE] = ""; unsigned long rxbytes, txbytes; int num = fscanf(f, "%[^:]:%lu %*u %*u %*u %*u %*u %*u %*u" "%lu %*u %*u %*u %*u %*u %*u %*u\n", thisiface, &rxbytes, &txbytes); if (num != 3) break; unsigned long thisiface_sum = rxbytes + txbytes; if (( thisiface_sum > iface_sum) && (strcmp(thisiface, "lo") != 0)) { iface_sum = thisiface_sum; strncpy(iface, thisiface, IFACESIZE); iface[IFACESIZE - 1] = 0; } } fclose (f); } } return iface; } #define BUFSIZE 4096 bool NetloadMeter::getNetload(Netload & netload) { // Try to open /proc/net/dev for reading. FILE * f = fopen("/proc/net/dev", "r"); if (f != 0) { char buf[BUFSIZE]; /* Read the file into a buffer. */ int num = fread(buf, 1, BUFSIZE - 1, f); fclose(f); if (num > 0) { buf[num] = 0; char *pch = strstr(buf, iface); if (pch != 0) { // Skip the interface name. pch += strlen(iface); // Skip the ":" after the interface name. pch++; unsigned long rxbytes, rxpkt, txbytes, txpkt; num = sscanf(pch, "%lu %lu %*u %*u %*u %*u %*u %*u" "%lu %lu %*u %*u %*u %*u %*u %*u", &rxbytes, &rxpkt, &txbytes, &txpkt); if (4 == num) { netload.rxbytes=rxBytesDeriver.setCurrentValueAndGetDerivation(rxbytes); netload.rxpkt=rxPktDeriver.setCurrentValueAndGetDerivation(rxpkt); netload.txbytes=txBytesDeriver.setCurrentValueAndGetDerivation(txbytes); netload.txpkt=txPktDeriver.setCurrentValueAndGetDerivation(txpkt); /* cout << "netload.rxbytes " << netload.rxbytes << endl; cout << "netload.txbytes " << netload.txbytes << endl; cout << "netload.rxpkt " << netload.rxpkt << endl; cout << "netload.txpkt " << netload.txpkt << endl; */ netload.iface=string(iface); return true; } } } } return false; } #endif #ifdef __sun__ const char * NetloadMeter::selectNetIface() { if (0 == iface[0]) { struct kstat_ctl *kc; if ((kc = kstat_open()) == 0) { fprintf(stderr, "Sorry, I cannot initialise the `kstat' library.\n" "This library is used for accessing kernel information.\n" "The diagnostics are: `%s'.\n\n", strerror(errno)); } else { kstat_t *ks = kstat_lookup(kc, "hme", 0, "hme0"); if ((ks) && (kstat_read(kc, ks, 0) != -1)) { strncpy(iface, "hme0", IFACESIZE); } ks = kstat_lookup(kc, "le", 0, "le0"); if ((ks) && (kstat_read(kc, ks, 0) != -1)) { strncpy(iface, "le0", IFACESIZE); } kstat_close(kc); } } return iface; } bool NetloadMeter::getNetload(Netload & netload, const char * iface) { struct kstat_ctl *kc; if ((kc = kstat_open()) == 0) { fprintf(stderr, "Sorry, I cannot initialise the `kstat' library.\n" "This library is used for accessing kernel information.\n" "The diagnostics are: `%s'.\n\n", strerror(errno)); } else { char shortiface[IFACESIZE]; strncpy(shortiface, iface, IFACESIZE); shortiface[IFACESIZE - 1] = 0; shortiface[strlen(shortiface) - 1] = 0; kstat_t *ks = kstat_lookup(kc, shortiface, 0, (char*)iface); if (!ks || kstat_read(kc, ks, 0) == -1) { perror("kstat_lookup/read"); kstat_close(kc); } else { kstat_named_t *kn; unsigned long rxbytes=0; unsigned long rxpkt=0; unsigned long txbytes=0; unsigned long txpkt=0; kn = (kstat_named_t *)kstat_data_lookup(ks, "rbytes"); if (kn) rxbytes = kn->value.ui32; kn = (kstat_named_t *)kstat_data_lookup(ks, "obytes"); if (kn) txbytes = kn->value.ui32; kn = (kstat_named_t *)kstat_data_lookup(ks, "ipackets"); if (kn) rxpkt = kn->value.ui32; kn = (kstat_named_t *)kstat_data_lookup(ks, "opackets"); if (kn) txpkt = kn->value.ui32; kstat_close(kc); float elapsed = nlget_elapsed_time(); netload.rxbytes = (rxbytes - lastrxbytes) / elapsed; netload.txbytes = (txbytes - lasttxbytes) / elapsed; netload.rxpkt = (rxpkt - lastrxpkt) / elapsed; netload.txpkt = (txpkt - lasttxpkt) / elapsed; /* cout << "netload.rxbytes " << netload.rxbytes << endl; cout << "netload.txbytes " << netload.txbytes << endl; cout << "netload.rxpkt " << netload.rxpkt << endl; cout << "netload.txpkt " << netload.txpkt << endl; */ lastrxbytes = rxbytes; lasttxbytes = txbytes; lastrxpkt = rxpkt; lasttxpkt = txpkt; strncpy(netload.iface, iface, IFACESIZE); netload.iface[IFACESIZE - 1] = 0; return true; } } return false; } #endif #ifdef __FreeBSD__ const char * NetloadMeter::selectNetIface() { struct ifaddrs *ifap, *ifa; if (getifaddrs(&ifap)) { std::cerr << "error using getifaddrs" << std::endl; return iface; } unsigned long iface_sum = 0; for (ifa = ifap; ifa; ifa = ifa->ifa_next) { if (ifa->ifa_addr->sa_family != AF_LINK) continue; struct if_data * if_dataptr = (struct if_data *) ifa->ifa_data; unsigned long rxbytes, txbytes; rxbytes = if_dataptr->ifi_ibytes; txbytes = if_dataptr->ifi_obytes; unsigned long thisiface_sum = rxbytes + txbytes; if (( thisiface_sum > iface_sum) && (strcmp(ifa->ifa_name, "lo0") != 0)) { iface_sum = thisiface_sum; strncpy(iface, ifa->ifa_name, IFACESIZE); iface[IFACESIZE - 1] = 0; } } freeifaddrs(ifap); return iface; } bool NetloadMeter::getNetload(Netload & netload) { struct ifaddrs *ifap, *ifa; if (getifaddrs(&ifap)) { std::cerr << "error using getifaddrs" << std::endl; return false; } unsigned long rxbytes, rxpkt, txbytes, txpkt; for (ifa = ifap; ifa; ifa = ifa->ifa_next) { if (ifa->ifa_addr->sa_family != AF_LINK) continue; if (0 == strcmp(iface, ifa->ifa_name)) { struct if_data * if_dataptr = (struct if_data *) ifa->ifa_data; rxbytes = if_dataptr->ifi_ibytes; txbytes = if_dataptr->ifi_obytes; rxpkt = if_dataptr->ifi_ipackets; txpkt = if_dataptr->ifi_opackets; } } freeifaddrs(ifap); netload.rxbytes=rxBytesDeriver.setCurrentValueAndGetDerivation(rxbytes); netload.rxpkt=rxPktDeriver.setCurrentValueAndGetDerivation(rxpkt); netload.txbytes=txBytesDeriver.setCurrentValueAndGetDerivation(txbytes); netload.txpkt=txPktDeriver.setCurrentValueAndGetDerivation(txpkt); return true; } #endif sinfo-0.0.48/libsinfometer/uptimemeter.cc0000644000175000017500000000355211517102003015346 00000000000000#include #ifdef __sun__ #include #include #include #include #include #include #include #include #include #endif #ifdef __FreeBSD__ #include #include #include #endif #include "uptimemeter.h" bool getUptime(Uptime & uptime) { #ifdef __linux__ long readtime=0; FILE *fup; if ( (fup = fopen("/proc/uptime", "r") ) != NULL) { fscanf(fup, "%ld", &readtime); uptime.days=readtime/(24*60*60); uptime.seconds=readtime%(24*60*60); fclose(fup); return true; } #endif #ifdef __FreeBSD__ int mib[2]; mib[0] = CTL_KERN; mib[1] = KERN_BOOTTIME; struct timeval boottime; size_t bt_size = sizeof(boottime); if (sysctl(mib, 2, &boottime, &bt_size, NULL, 0) != -1 && boottime.tv_sec != 0) { long readtime = time(NULL) - boottime.tv_sec; uptime.days=readtime/(24*60*60); uptime.seconds=readtime%(24*60*60); return true; } else { uptime.seconds = 0; } #endif #ifdef __sun__ struct kstat_ctl *kc; if ((kc = kstat_open()) == 0) { fprintf(stderr, "Sorry, I cannot initialise the `kstat' library.\n" "This library is used for accessing kernel information.\n" "The diagnostics are: `%s'.\n\n", strerror(errno)); } else { kstat_t *ks = kstat_lookup(kc, "unix", 0, "system_misc"); if (!ks || kstat_read(kc, ks, 0) == -1) { perror("kstat_lookup/read"); } else { kstat_named_t *kn; kn = (kstat_named_t *)kstat_data_lookup(ks, "boot_time"); if (kn) { long readtime = time(NULL) - kn->value.ui32; uptime.days=readtime/(24*60*60); uptime.seconds=readtime%(24*60*60); } kstat_close(kc); return true; } } #endif return false; } sinfo-0.0.48/libsinfometer/usersmeter.cc0000644000175000017500000000145611517102003015205 00000000000000#include #include #include // nust be included before utmp.h for FreeBSD #include #include "usersmeter.h" Users getUsers() { Users users; users.number = 0; #ifdef __FreeBSD__ FILE *ut; if ((ut = fopen(_PATH_UTMP, "r")) != NULL) { struct utmp usr; /* only entries with both name and line fields */ while (fread((char *)&usr, sizeof(usr), 1, ut) == 1) if (*usr.ut_name && *usr.ut_line) users.number++; fclose(ut); } #else // __linux__ and __sun__ // ideas out of the program "uptime" setutent(); struct utmp *utmpstruct; while ((utmpstruct = getutent())) { if ((utmpstruct->ut_type == USER_PROCESS) && (utmpstruct->ut_name[0] != '\0')) users.number++; } endutent(); #endif return users; } sinfo-0.0.48/libsinfometer/cpustatmeter.cc0000644000175000017500000001507112376321001015532 00000000000000#include #include #ifdef __sun__ #include #include #include #include #include #include #endif #ifdef __FreeBSD__ #include #include #include #endif #include "cpustatmeter.h" CpustatMeter::CpustatMeter() { last_user = 0; last_nice = 0; last_sys = 0; last_idle = 0; last_iowait = 0; last_irq = 0; last_softirq = 0; } #ifdef __linux__ bool CpustatMeter::getCpustat(Cpustat & cpustat) { FILE *fstat; if ( (fstat = fopen("/proc/stat", "r") ) != NULL) { long long user, nice, sys, idle, iowait, irq, softirq; user = nice = sys = idle = iowait = irq = softirq = 0; // no testing of return value should make it work for linux 2.4 and 2.4 // not 2.4 has only 4 states: user, nice, sys, idle // while 2.6 has 7 states: user, nice, sys, idle, iowait, irq, softirq fscanf(fstat, "%*s %Ld %Ld %Ld %Ld %Ld %Ld %Ld", &user, &nice, &sys, &idle, &iowait, &irq, &softirq); fclose(fstat); long long d_user = user - last_user; long long d_nice = nice - last_nice; long long d_sys = sys - last_sys; long long d_idle = idle - last_idle; long long d_iowait = iowait - last_iowait; long long d_irq = irq - last_irq; long long d_softirq = softirq - last_softirq; long long d_total = d_user + d_sys + d_nice + d_idle + d_iowait + d_irq + d_softirq; cpustat.userp = float(d_user) / float(d_total); cpustat.sysp = float(d_sys) / float(d_total); cpustat.nicep = float(d_nice) / float(d_total); cpustat.idlep = float(d_idle) / float(d_total); cpustat.iowaitp = float(d_iowait) / float(d_total); cpustat.irqp = float(d_irq) / float(d_total); cpustat.softirqp = float(d_softirq) / float(d_total); if (cpustat.userp>1.) cpustat.userp=1.; if (cpustat.sysp>1.) cpustat.sysp=1.; if (cpustat.nicep>1.) cpustat.nicep=1.; if (cpustat.idlep>1.) cpustat.idlep=1.; if (cpustat.iowaitp>1.) cpustat.iowaitp=1.; if (cpustat.irqp>1.) cpustat.irqp=1.; if (cpustat.softirqp>1.) cpustat.softirqp=1.; last_user = user; last_nice = nice; last_sys = sys; last_idle = idle; last_iowait = iowait; last_irq = irq; last_softirq = softirq; return true; } return false; } #endif #ifdef __FreeBSD__ bool CpustatMeter::getCpustat(Cpustat & cpustat) { kvm_t *kd; if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open")) == NULL) { fprintf(stderr, "kvm_open failed\n"); return false; } struct nlist nlst[] = { #define X_CP_TIME 0 { "_cp_time" }, { 0 } }; kvm_nlist(kd, nlst); if (nlst[0].n_type == 0) { fprintf(stderr, "kvm_nlist failed\n"); return false; } long cp_time[CPUSTATES]; if (kvm_read(kd, nlst[X_CP_TIME].n_value, cp_time, sizeof(cp_time)) != sizeof(cp_time)) { fprintf(stderr, "kvm_read failed\n"); return false; } kvm_close(kd); long user = cp_time[0]; long nice = cp_time[1]; long sys = cp_time[2]; long irq = cp_time[3]; long idle = cp_time[4]; long d_user = user - last_user; long d_nice = nice - last_nice; long d_sys = sys - last_sys; long d_idle = idle - last_idle; long d_iowait = 0; long d_irq = irq - last_irq; long d_softirq = 0; long d_total = d_user + d_sys + d_nice + d_idle + d_iowait + d_irq + d_softirq; cpustat.userp = float(d_user) / float(d_total); cpustat.sysp = float(d_sys) / float(d_total); cpustat.nicep = float(d_nice) / float(d_total); cpustat.idlep = float(d_idle) / float(d_total); cpustat.iowaitp = float(d_iowait) / float(d_total); cpustat.irqp = float(d_irq) / float(d_total); cpustat.softirqp = float(d_softirq) / float(d_total); if (cpustat.userp>1.) cpustat.userp=1.; if (cpustat.sysp>1.) cpustat.sysp=1.; if (cpustat.nicep>1.) cpustat.nicep=1.; if (cpustat.idlep>1.) cpustat.idlep=1.; if (cpustat.iowaitp>1.) cpustat.iowaitp=1.; if (cpustat.irqp>1.) cpustat.irqp=1.; if (cpustat.softirqp>1.) cpustat.softirqp=1.; last_user = user; last_nice = nice; last_sys = sys; last_idle = idle; last_irq = irq; return true; } #endif #ifdef __sun__ bool CpustatMeter::getCpustat(Cpustat & cpustat) { struct kstat_ctl *kc; if ((kc = kstat_open()) == 0) { fprintf(stderr, "Sorry, I cannot initialise the `kstat' library.\n" "This library is used for accessing kernel information.\n" "The diagnostics are: `%s'.\n\n", strerror(errno)); } else { long user = 0; long nice = 0; long sys = 0; long idle = 0; // CPUS zählen int cpus = 0; for (kstat_t * ksp = kc->kc_chain; ksp != 0; ksp = ksp->ks_next) { if (strncmp(ksp->ks_name, "cpu_stat", 8) == 0) { cpus++; cpu_stat_t cstat; if (kstat_read(kc, ksp, 0) == -1 || // update from kernel kstat_read(kc, ksp, &cstat) == -1) // and read into buffer fprintf(stderr, "Sorry, I cannot read the CPU statistics entry\n" "from the `kstat' library. The diagnostics are `%1'.\n\n", strerror(errno)); // fields are: idle user kernel iowait idle += cstat.cpu_sysinfo.cpu[0]; user += cstat.cpu_sysinfo.cpu[1]; sys += cstat.cpu_sysinfo.cpu[2]; nice += cstat.cpu_sysinfo.cpu[3]; } } kstat_close(kc); long d_user = user - last_user; long d_nice = nice - last_nice; long d_sys = sys - last_sys; long d_idle = idle - last_idle; long d_iowait = 0; long d_irq = 0; long d_softirq = 0; long d_total = d_user + d_sys + d_nice + d_idle + d_iowait + d_irq + d_softirq; cpustat.userp = float(d_user) / float(d_total); cpustat.sysp = float(d_sys) / float(d_total); cpustat.nicep = float(d_nice) / float(d_total); cpustat.idlep = float(d_idle) / float(d_total); cpustat.iowaitp = float(d_iowait) / float(d_total); cpustat.irqp = float(d_irq) / float(d_total); cpustat.softirqp = float(d_softirq) / float(d_total); if (cpustat.userp>1.) cpustat.userp=1.; if (cpustat.sysp>1.) cpustat.sysp=1.; if (cpustat.nicep>1.) cpustat.nicep=1.; if (cpustat.idlep>1.) cpustat.idlep=1.; if (cpustat.iowaitp>1.) cpustat.iowaitp=1.; if (cpustat.irqp>1.) cpustat.irqp=1.; if (cpustat.softirqp>1.) cpustat.softirqp=1.; last_user = user; last_nice = nice; last_sys = sys; last_idle = idle; return true; } return false; } #endif sinfo-0.0.48/libsinfometer/deriver.cc0000644000175000017500000000255312076047257014472 00000000000000#include "deriver.h" Deriver::Deriver() { lastValue=0.; lastIsValid=false; currentValue=0.; currentIsValid=false; } void Deriver::setCurrentValue(boost::posix_time::ptime theCurrentTime, double value) { lastValue=currentValue; lastTime=currentTime; lastIsValid=currentIsValid; currentValue=value; currentTime=theCurrentTime; currentIsValid=true; } double Deriver::getDerivation(boost::posix_time::ptime theCurrentTime) { if ((false==lastIsValid) || (false==currentIsValid)) { return 0.; } boost::posix_time::time_duration elapsedTime=currentTime-lastTime; return (currentValue-lastValue) / (double(elapsedTime.total_microseconds())/1e6); } double Deriver::setCurrentValueAndGetDerivation(boost::posix_time::ptime theCurrentTime, double value) { setCurrentValue(theCurrentTime, value); return getDerivation(theCurrentTime); } DeriverWithTimer::DeriverWithTimer() { } void DeriverWithTimer::setCurrentValue(double value) { Deriver::setCurrentValue(boost::posix_time::microsec_clock::universal_time(), value); } double DeriverWithTimer::getDerivation() { return Deriver::getDerivation(boost::posix_time::microsec_clock::universal_time()); } double DeriverWithTimer::setCurrentValueAndGetDerivation(double value) { return Deriver::setCurrentValueAndGetDerivation(boost::posix_time::microsec_clock::universal_time(), value); } sinfo-0.0.48/libsinfometer/meminfometer.cc0000644000175000017500000001433412376321001015502 00000000000000#include #include #include "meminfometer.h" #ifdef __sun__ #include #include #include #include #include #include #include #include #endif #ifdef __FreeBSD__ #include #include #include #include #endif #ifdef __linux__ #include #endif bool getMeminfo(Meminfo & meminfo) { #ifdef __linux__ /* FILE *fmem; if ( (fmem = fopen("/proc/meminfo", "r") ) != NULL) { fscanf(fmem, "%*s %*s %*s %*s %*s %*s"); fscanf(fmem, "%*s %lu %lu %lu %lu %lu %lu", &meminfo.mem_total, &meminfo.mem_used, &meminfo.mem_free, &meminfo.mem_shared, &meminfo.mem_buffers, &meminfo.mem_cached); fscanf(fmem, "%*s %lu %lu %lu", &meminfo.swap_total, &meminfo.swap_used, &meminfo.swap_free); fclose(fmem); return true; } */ // alternative interface struct sysinfo info; sysinfo(&info); meminfo.mem_total = float(info.totalram) * float(info.mem_unit); meminfo.mem_free = float(info.freeram) * float(info.mem_unit); meminfo.mem_used = meminfo.mem_total - meminfo.mem_free; meminfo.swap_total = float(info.totalswap) * float(info.mem_unit); meminfo.swap_free = float(info.freeswap) * float(info.mem_unit); meminfo.swap_used = meminfo.swap_total - meminfo.swap_free; /* cout << "meminfo.swap_total " << meminfo.swap_total << endl << "meminfo.swap_used " << meminfo.swap_used << endl << "meminfo.swao_free " << meminfo.swap_free << endl; */ return true; #endif #ifdef __FreeBSD__ kvm_t *kd; if ((kd = kvm_open(NULL, NULL, NULL, O_RDONLY, "kvm_open")) == NULL) { fprintf(stderr, "kvm_open failed\n"); return false; } struct nlist nlst[] = { #define X_CNT 0 { "_cnt" }, { 0 } }; kvm_nlist(kd, nlst); if (nlst[0].n_type == 0) { fprintf(stderr, "kvm_nlist failed\n"); return false; } struct vmmeter sum; if (kvm_read(kd, nlst[X_CNT].n_value, &sum, sizeof(sum)) != sizeof(sum)) { fprintf(stderr, "kvm_read failed\n"); return false; } struct kvm_swap swapary[1]; int n = kvm_getswapinfo(kd, swapary, 1, 0); if (n < 0 || swapary[0].ksw_total == 0) return false; kvm_close(kd); meminfo.mem_total = float(sum.v_page_size) * float(sum.v_page_count); meminfo.mem_free = float(sum.v_page_size) * float(sum.v_free_count); meminfo.mem_used = meminfo.mem_total - meminfo.mem_free; meminfo.swap_total = float(sum.v_page_size) * float(swapary[0].ksw_total); meminfo.swap_used = float(sum.v_page_size) * float(swapary[0].ksw_used); meminfo.swap_free = meminfo.swap_total - meminfo.swap_used; return true; #endif #ifdef __sun__ struct kstat_ctl *kc; if ((kc = kstat_open()) == 0) { fprintf(stderr, "Sorry, I cannot initialise the `kstat' library.\n" "This library is used for accessing kernel information.\n" "The diagnostics are: `%s'.\n\n", strerror(errno)); } else { kstat_t * ksp; // availrmem = pages of core for user-proc ( == physmem - kernelmem) // freemem = no of free pages // physmem == total mem in 4KB blocks errno = 0; if ((ksp = kstat_lookup(kc, "unix", -1, "system_pages")) == 0 || kstat_read(kc, ksp, 0) == -1) fprintf(stderr, "Sorry, I cannot read the memory statistics entry\n" "from the `kstat' library. The diagnostics are `%s'\n\n", strerror(errno)); unsigned long physmem = 0; unsigned long freemem = 0; unsigned long availrmem = 0; kstat_named_t *kn = (kstat_named_t *)ksp->ks_data; for (int i = 0; i < (int) ksp->ks_ndata; i++) { if (strcmp(kn->name, "physmem") == 0) physmem = kn->value.ul; else if (strcmp(kn->name, "freemem") == 0) freemem = kn->value.ul; else if (strcmp(kn->name, "availrmem") == 0) availrmem = kn->value.ul; kn++; } if (physmem == 0) // sanity check, this should always be > 0 fprintf(stderr, "Uh uh, there seems to be a problem with my handling\n" "of the `kstat' library: I determined 0 physical memory!\n" "(Free memory is %ld, available memory is %ld.)\n\n", freemem, availrmem); if (kc != 0) kstat_close(kc); meminfo.mem_total = float(physmem) * 4096.; meminfo.mem_free = float(freemem) * 4096.; meminfo.mem_used = float(availrmem - freemem) * 4096.; /* cout << "meminfo.mem_total " << meminfo.mem_total << endl << "meminfo.mem_used " << meminfo.mem_used << endl << "meminfo.mem_free " << meminfo.mem_free << endl; */ meminfo.swap_total = 0; meminfo.swap_used = 0; meminfo.swap_free = 0; int swapentries; if ((swapentries = swapctl(SC_GETNSWP, 0)) == -1) fprintf(stderr, "Sorry, cannot determine the number of\n" "swap spaces. The diagnostics are `%s'.\n\n", strerror(errno)); if (swapentries != 0) { // 2* to get some space for padding?? swaptbl_t *stbl = (swaptbl_t *) malloc(2 * sizeof(int) + swapentries * sizeof(struct swapent)); if (stbl == 0) fprintf(stderr, "Sorry, I ran out of memory while\n" "trying to determine the swap usage.\n"); char path[PATH_MAX + 1]; stbl->swt_n = swapentries; for (int i = 0; i < swapentries; i++) stbl->swt_ent[i].ste_path = path; if ((swapentries = swapctl(SC_LIST, stbl)) == -1) fprintf(stderr, "Sorry, I cannot determine the swap usage.\n" "The diagnostics are `%s'.\n\n", strerror(errno)); if (swapentries != stbl->swt_n) fprintf(stderr, "Strange, I requested information for\n" "%ld swap spaces, but only got %ld swap entries back.\n", stbl->swt_n, swapentries); for (int i = 0; i < swapentries; i++) { meminfo.swap_total += float(stbl->swt_ent[i].ste_pages); meminfo.swap_free += float(stbl->swt_ent[i].ste_free); } free(stbl); } meminfo.swap_total *= 4096.; meminfo.swap_free *= 4096.; meminfo.swap_used = meminfo.swap_total - meminfo.swap_free; return true; } #endif return false; } sinfo-0.0.48/libmessageio/0000755000175000017500000000000012444035677012401 500000000000000sinfo-0.0.48/libmessageio/udpmessagereceiver.h0000644000175000017500000000135612263577527016365 00000000000000#ifndef _udpmessagereceiver_h #define _udpmessagereceiver_h #include #include #include "message.h" #include "messageioconst.h" class UDPMessageReceiver { private: char data[maxMessageIOSize]; boost::asio::ip::udp::endpoint sender_endpoint; boost::asio::io_service & ioservice; boost::asio::ip::udp::socket sock; void handleReceiveFrom(const boost::system::error_code& err, size_t length); public: UDPMessageReceiver(boost::asio::io_service& io_service, const boost::asio::ip::udp::endpoint & listenEndpoint, const boost::asio::ip::address& multicast_address); boost::signals2::signal receiveMessageSignal; }; #endif // _udpmessagereceiver_h sinfo-0.0.48/libmessageio/udpmessageserver.h0000644000175000017500000000111212101564021016025 00000000000000#ifndef _udpmessageserver_h #define _udpmessageserver_h #include #include "messageserver.h" #include "messageioconst.h" class UDPMessageServer : public MessageServer { private: char data[maxMessageIOSize]; boost::asio::ip::udp::endpoint sender_endpoint; boost::asio::io_service & ioservice; boost::asio::ip::udp::socket sock; void handleReceiveFrom(const boost::system::error_code& err, size_t length); public: UDPMessageServer(boost::asio::io_service& io_service, const boost::asio::ip::udp::endpoint & endpoint); }; #endif // _udpmessageserver_h sinfo-0.0.48/libmessageio/udpmessageserver.cc0000644000175000017500000000336711764202176016217 00000000000000#include #include "udpmessageserver.h" UDPMessageServer::UDPMessageServer(boost::asio::io_service& io_service, const boost::asio::ip::udp::endpoint & endpoint ) :ioservice(io_service), sock(io_service) { sock.open(endpoint.protocol()); if (endpoint.address().is_v6()) { sock.set_option(boost::asio::ip::v6_only(true)); } sock.bind(endpoint); sock.async_receive_from( boost::asio::buffer(data, maxMessageIOSize), sender_endpoint, boost::bind(&UDPMessageServer::handleReceiveFrom, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } void UDPMessageServer::handleReceiveFrom(const boost::system::error_code& err, size_t length) { if (err) { // cout << "receive error: " << err.message() << endl; } else { //cout << "UDPMessageServer::handle_receive_from received " << length << " bytes" << endl; Message message(length, data); Message returnMessage; receiveMessageSignal(returnMessage, message); // FIXME add a queue (including timer for retransmission) for returnMessage handling - how to handle different sender_endpoints? if ((false==returnMessage.dontSendFlag) && (returnMessage.size()>0) && (returnMessage.size()<=maxMessageIOSize)) { //cout << "UDPMessageServer::handle_receive_from sending " << returnMessage.size() << " bytes" << endl; sock.send_to(boost::asio::buffer(returnMessage.getDataPtr(), returnMessage.size()), sender_endpoint); } sock.async_receive_from( boost::asio::buffer(data, maxMessageIOSize), sender_endpoint, boost::bind(&UDPMessageServer::handleReceiveFrom, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } } sinfo-0.0.48/libmessageio/messageclient.h0000644000175000017500000000101312263577527015314 00000000000000#ifndef _messageclient_h #define _messageclient_h #include #include "message.h" #include "messageioconst.h" class MessageClient { public: virtual ~MessageClient() {} bool stopAfterOneReceivedMessage; boost::signals2::signal connectionReadySignal; boost::signals2::signal connectionNotReadySignal; boost::signals2::signal receivedMessageSignal; virtual void queueAndSendMessageSlot(Message & message)=0; }; #endif // _messageclient_h sinfo-0.0.48/libmessageio/Makefile.in0000644000175000017500000006632512444035656014377 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libmessageio DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libmessageio_la_LIBADD = am_libmessageio_la_OBJECTS = libmessageio_la-udpmessagereceiver.lo \ libmessageio_la-udpmessagetransmitter.lo \ libmessageio_la-udpmessageserver.lo \ libmessageio_la-tcpmessageserver.lo \ libmessageio_la-tcpmessageserverconnection.lo \ libmessageio_la-udpmessageclient.lo \ libmessageio_la-tcpmessageclient.lo libmessageio_la_OBJECTS = $(am_libmessageio_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libmessageio_la_SOURCES) DIST_SOURCES = $(libmessageio_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = libmessageio.la libmessageio_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageiobase libmessageio_la_SOURCES = \ messageioconst.h \ \ \ udpmessagereceiver.h udpmessagereceiver.cc \ udpmessagetransmitter.h udpmessagetransmitter.cc \ \ udpmessageserver.h udpmessageserver.cc \ \ tcpmessageserver.h tcpmessageserver.cc \ tcpmessageserverconnection.h tcpmessageserverconnection.cc \ \ \ messageclient.h \ udpmessageclient.h udpmessageclient.cc \ tcpmessageclient.h tcpmessageclient.cc all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libmessageio/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libmessageio/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libmessageio.la: $(libmessageio_la_OBJECTS) $(libmessageio_la_DEPENDENCIES) $(EXTRA_libmessageio_la_DEPENDENCIES) $(CXXLINK) -rpath $(pkglibdir) $(libmessageio_la_OBJECTS) $(libmessageio_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageio_la-tcpmessageclient.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageio_la-tcpmessageserver.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageio_la-tcpmessageserverconnection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageio_la-udpmessageclient.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageio_la-udpmessagereceiver.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageio_la-udpmessageserver.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessageio_la-udpmessagetransmitter.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< libmessageio_la-udpmessagereceiver.lo: udpmessagereceiver.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageio_la-udpmessagereceiver.lo -MD -MP -MF $(DEPDIR)/libmessageio_la-udpmessagereceiver.Tpo -c -o libmessageio_la-udpmessagereceiver.lo `test -f 'udpmessagereceiver.cc' || echo '$(srcdir)/'`udpmessagereceiver.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageio_la-udpmessagereceiver.Tpo $(DEPDIR)/libmessageio_la-udpmessagereceiver.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='udpmessagereceiver.cc' object='libmessageio_la-udpmessagereceiver.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageio_la-udpmessagereceiver.lo `test -f 'udpmessagereceiver.cc' || echo '$(srcdir)/'`udpmessagereceiver.cc libmessageio_la-udpmessagetransmitter.lo: udpmessagetransmitter.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageio_la-udpmessagetransmitter.lo -MD -MP -MF $(DEPDIR)/libmessageio_la-udpmessagetransmitter.Tpo -c -o libmessageio_la-udpmessagetransmitter.lo `test -f 'udpmessagetransmitter.cc' || echo '$(srcdir)/'`udpmessagetransmitter.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageio_la-udpmessagetransmitter.Tpo $(DEPDIR)/libmessageio_la-udpmessagetransmitter.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='udpmessagetransmitter.cc' object='libmessageio_la-udpmessagetransmitter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageio_la-udpmessagetransmitter.lo `test -f 'udpmessagetransmitter.cc' || echo '$(srcdir)/'`udpmessagetransmitter.cc libmessageio_la-udpmessageserver.lo: udpmessageserver.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageio_la-udpmessageserver.lo -MD -MP -MF $(DEPDIR)/libmessageio_la-udpmessageserver.Tpo -c -o libmessageio_la-udpmessageserver.lo `test -f 'udpmessageserver.cc' || echo '$(srcdir)/'`udpmessageserver.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageio_la-udpmessageserver.Tpo $(DEPDIR)/libmessageio_la-udpmessageserver.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='udpmessageserver.cc' object='libmessageio_la-udpmessageserver.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageio_la-udpmessageserver.lo `test -f 'udpmessageserver.cc' || echo '$(srcdir)/'`udpmessageserver.cc libmessageio_la-tcpmessageserver.lo: tcpmessageserver.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageio_la-tcpmessageserver.lo -MD -MP -MF $(DEPDIR)/libmessageio_la-tcpmessageserver.Tpo -c -o libmessageio_la-tcpmessageserver.lo `test -f 'tcpmessageserver.cc' || echo '$(srcdir)/'`tcpmessageserver.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageio_la-tcpmessageserver.Tpo $(DEPDIR)/libmessageio_la-tcpmessageserver.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tcpmessageserver.cc' object='libmessageio_la-tcpmessageserver.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageio_la-tcpmessageserver.lo `test -f 'tcpmessageserver.cc' || echo '$(srcdir)/'`tcpmessageserver.cc libmessageio_la-tcpmessageserverconnection.lo: tcpmessageserverconnection.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageio_la-tcpmessageserverconnection.lo -MD -MP -MF $(DEPDIR)/libmessageio_la-tcpmessageserverconnection.Tpo -c -o libmessageio_la-tcpmessageserverconnection.lo `test -f 'tcpmessageserverconnection.cc' || echo '$(srcdir)/'`tcpmessageserverconnection.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageio_la-tcpmessageserverconnection.Tpo $(DEPDIR)/libmessageio_la-tcpmessageserverconnection.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tcpmessageserverconnection.cc' object='libmessageio_la-tcpmessageserverconnection.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageio_la-tcpmessageserverconnection.lo `test -f 'tcpmessageserverconnection.cc' || echo '$(srcdir)/'`tcpmessageserverconnection.cc libmessageio_la-udpmessageclient.lo: udpmessageclient.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageio_la-udpmessageclient.lo -MD -MP -MF $(DEPDIR)/libmessageio_la-udpmessageclient.Tpo -c -o libmessageio_la-udpmessageclient.lo `test -f 'udpmessageclient.cc' || echo '$(srcdir)/'`udpmessageclient.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageio_la-udpmessageclient.Tpo $(DEPDIR)/libmessageio_la-udpmessageclient.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='udpmessageclient.cc' object='libmessageio_la-udpmessageclient.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageio_la-udpmessageclient.lo `test -f 'udpmessageclient.cc' || echo '$(srcdir)/'`udpmessageclient.cc libmessageio_la-tcpmessageclient.lo: tcpmessageclient.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libmessageio_la-tcpmessageclient.lo -MD -MP -MF $(DEPDIR)/libmessageio_la-tcpmessageclient.Tpo -c -o libmessageio_la-tcpmessageclient.lo `test -f 'tcpmessageclient.cc' || echo '$(srcdir)/'`tcpmessageclient.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libmessageio_la-tcpmessageclient.Tpo $(DEPDIR)/libmessageio_la-tcpmessageclient.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='tcpmessageclient.cc' object='libmessageio_la-tcpmessageclient.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libmessageio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libmessageio_la-tcpmessageclient.lo `test -f 'tcpmessageclient.cc' || echo '$(srcdir)/'`tcpmessageclient.cc mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libmessageio/udpmessageclient.h0000644000175000017500000000171712101563772016024 00000000000000#ifndef _udpmessageclient_h #define _udpmessageclient_h #include #include #include "messageclient.h" class UDPMessageClient : public MessageClient { private: boost::asio::io_service & ioservice; boost::asio::ip::udp::resolver resolver; boost::asio::ip::udp::endpoint remoteEndpoint; void handleResolve(const boost::system::error_code& err, boost::asio::ip::udp::resolver::iterator endpointIterator); boost::asio::ip::udp::socket socket; char data[maxMessageIOSize]; void handleReceiveFrom(const boost::system::error_code& err, size_t length); std::list sendQueue; bool sendQueueCurrentlySending; void handleSendTo(const boost::system::error_code& err, size_t length); void startNewTransmission(); public: UDPMessageClient(boost::asio::io_service& io_service, const char * host, const char * port); ~UDPMessageClient(); void queueAndSendMessageSlot(Message & message); }; #endif // _udpmessageclient_h sinfo-0.0.48/libmessageio/messageioconst.h0000644000175000017500000000044112101564004015471 00000000000000#ifndef _messageioconst_h #define _messageioconst_h enum { maxMessageIOSize = 65535 }; // maximum message size to handle (without overhead e.g. header size) enum { maxSendQueueSize = 500 }; // maximum number of messages in queues; drop messages if exceeded #endif // _messageioconst_h sinfo-0.0.48/libmessageio/Makefile.am0000644000175000017500000000105212263052213014333 00000000000000 pkglib_LTLIBRARIES = libmessageio.la libmessageio_la_CPPFLAGS = \ -I$(top_srcdir)/libmessage \ -I$(top_srcdir)/libmessageiobase libmessageio_la_SOURCES= \ messageioconst.h \ \ \ udpmessagereceiver.h udpmessagereceiver.cc \ udpmessagetransmitter.h udpmessagetransmitter.cc \ \ udpmessageserver.h udpmessageserver.cc \ \ tcpmessageserver.h tcpmessageserver.cc \ tcpmessageserverconnection.h tcpmessageserverconnection.cc \ \ \ messageclient.h \ udpmessageclient.h udpmessageclient.cc \ tcpmessageclient.h tcpmessageclient.cc sinfo-0.0.48/libmessageio/udpmessagetransmitter.cc0000644000175000017500000000120211764201611017240 00000000000000#include "udpmessagetransmitter.h" #include "messageioconst.h" #include using namespace std; UDPMessageTransmitter::UDPMessageTransmitter(boost::asio::io_service& io_service, const boost::asio::ip::udp::endpoint & senderEndpoint) :ioservice(io_service), senderEndpoint(senderEndpoint) { } void UDPMessageTransmitter::send(const Message & message) { boost::asio::ip::udp::socket sock(ioservice,senderEndpoint.protocol()); sock.set_option(boost::asio::socket_base::broadcast(true)); if (message.size()<=maxMessageIOSize) { sock.send_to(boost::asio::buffer(message.getDataPtr(), message.size()), senderEndpoint); } } sinfo-0.0.48/libmessageio/tcpmessageserver.h0000644000175000017500000000145412101564012016034 00000000000000#ifndef _tcpmessageserver_h #define _tcpmessageserver_h #include #include #include #include "tcpmessageserverconnection.h" class TCPMessageServer : private boost::noncopyable { private: boost::asio::io_service & ioservice; boost::asio::ip::tcp::acceptor acceptor; ServerConnectorFactoryBase & serverConnectorFactoryBase; void handleAccept(const boost::system::error_code& e); void handleStop(); TCPMessageServerConnectionManager tcpMessageServerConnectionManager; connection_ptr newConnection; public: explicit TCPMessageServer(boost::asio::io_service& io_service, const boost::asio::ip::tcp::endpoint & endpoint, ServerConnectorFactoryBase & serverConnectorFactoryBase); void run(); void stop(); }; #endif // _tcpmessageserver_h sinfo-0.0.48/libmessageio/tcpmessageserverconnection.cc0000644000175000017500000001147512300715425020265 00000000000000#include #include #include "tcpmessageserverconnection.h" #include "messagebasictypes.h" #include "messageioconst.h" #include using namespace std; TCPMessageServerConnection::TCPMessageServerConnection(boost::asio::io_service& io_service, TCPMessageServerConnectionManager& manager, ServerConnectorFactoryBase & serverConnectorFactoryBase) : socket_(io_service), tcpMessageServerConnectionManager(manager), serverConnectorFactoryBase(serverConnectorFactoryBase) { messageSize=0; data[0]=0; sendQueueCurrentlySending=false; } boost::asio::ip::tcp::socket& TCPMessageServerConnection::socket() { return socket_; } void TCPMessageServerConnection::start() { serverConnectorBasePtr=serverConnectorFactoryBase.createServerConnector(); serverConnectorBasePtr->sendMessageSignal.connect(boost::bind(&TCPMessageServerConnection::queueAndSendMessageSlot, this, _1)); // FIXME: managed signal slot for clean shutdown messageSignal.connect(boost::bind(&ServerConnectorBase::receiveMessageSlot, serverConnectorBasePtr, _1)); // FIXME: managed signal slot for clean shutdown boost::asio::async_read(socket_, boost::asio::buffer(data, sizeof(uint32)), boost::asio::transfer_at_least(sizeof(uint32)), boost::bind(&TCPMessageServerConnection::handleReadMessageSize, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } void TCPMessageServerConnection::stop() { socket_.close(); } void TCPMessageServerConnection::handleReadMessageSize(const boost::system::error_code& err, size_t length) { if (!err) { // cout << "handleReadMessageSize length=" << length << endl; Message sizeMessage(length,data); uint32 messageSizeTmp; Msg::popFrontuint32(sizeMessage, messageSizeTmp); messageSize=messageSizeTmp; boost::asio::async_read(socket_, boost::asio::buffer(data, messageSize), boost::asio::transfer_at_least(messageSize), boost::bind(&TCPMessageServerConnection::handleReadMessage, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } else if (err != boost::asio::error::operation_aborted) { tcpMessageServerConnectionManager.stop(shared_from_this()); } } void TCPMessageServerConnection::handleReadMessage(const boost::system::error_code& err, size_t length) { if (!err) { Message message(length,data); // Message returnMessage; // FIXME // call server functions // receiveMessageSignal(returnMessage,message); // FIXME messageSignal(message); // queueAndSendMessageSlot(returnMessage); // FIXME // read next size boost::asio::async_read(socket_, boost::asio::buffer(data, sizeof(uint32)), boost::asio::transfer_at_least(sizeof(uint32)), boost::bind(&TCPMessageServerConnection::handleReadMessageSize, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } else if (err != boost::asio::error::operation_aborted) { tcpMessageServerConnectionManager.stop(shared_from_this()); } } void TCPMessageServerConnection::queueAndSendMessageSlot(Message & message) { if (sendQueue.size()start(); } void TCPMessageServerConnectionManager::stop(connection_ptr c) { connectionPtrSet.erase(c); c->stop(); } void TCPMessageServerConnectionManager::stopAll() { std::for_each(connectionPtrSet.begin(), connectionPtrSet.end(), boost::bind(&TCPMessageServerConnection::stop, _1)); connectionPtrSet.clear(); } sinfo-0.0.48/libmessageio/tcpmessageserverconnection.h0000644000175000017500000000405212263600623020121 00000000000000#ifndef _tcpmessageserverconnection_h #define _tcpmessageserverconnection_h #include #include #include #include #include #include #include "messageioconst.h" #include "serverconnectorfactorybase.h" class TCPMessageServerConnectionManager; class TCPMessageServerConnection : public boost::enable_shared_from_this, private boost::noncopyable { private: boost::asio::ip::tcp::socket socket_; TCPMessageServerConnectionManager & tcpMessageServerConnectionManager; boost::signals2::signal messageSignal; ServerConnectorFactoryBase & serverConnectorFactoryBase; boost::shared_ptr serverConnectorBasePtr; unsigned long messageSize; char data[maxMessageIOSize]; void handleReadMessageSize(const boost::system::error_code& err, size_t length); void handleReadMessage(const boost::system::error_code& err, size_t length); void queueAndSendMessageSlot(Message & message); std::list sendQueue; bool sendQueueCurrentlySending; void startNewTransmission(); void handleWriteMessage(const boost::system::error_code& err); public: explicit TCPMessageServerConnection(boost::asio::io_service& io_service, TCPMessageServerConnectionManager& manager, ServerConnectorFactoryBase & serverConnectorFactoryBase); boost::asio::ip::tcp::socket& socket(); void start(); void stop(); }; typedef boost::shared_ptr connection_ptr; /// Manages open connections so that they may be cleanly stopped when the server /// needs to shut down. class TCPMessageServerConnectionManager: private boost::noncopyable { private: std::set connectionPtrSet; public: /// Add the specified connection to the manager and start it. void start(connection_ptr c); /// Stop the specified connection. void stop(connection_ptr c); /// Stop all connections. void stopAll(); }; #endif // _tcpmessageserverconnection_h sinfo-0.0.48/libmessageio/tcpmessageclient.h0000644000175000017500000000327112263577651016031 00000000000000#ifndef _tcpmessageclient_h #define _tcpmessageclient_h #include #include #include #include "messageclient.h" // class TCPMessageClient // actively tries to connect to a server // and tries to reconnect to a server every the the connection is interrupted // // There is no interface to start and stop a connection to the upper leyer code. // // Availability is signalized to upper layer by the signals // connectionReadySignal // and // connectioNotReadySignal class TCPMessageClient : public MessageClient { private: boost::asio::io_service & ioservice; boost::asio::deadline_timer timer; boost::asio::ip::tcp::resolver resolver; boost::asio::ip::tcp::socket socket; unsigned long messageSize; char data[maxMessageIOSize]; void handleResolve(const boost::system::error_code& err, boost::asio::ip::tcp::resolver::iterator endpoint_iterator); void handleConnect(const boost::system::error_code& err, boost::asio::ip::tcp::resolver::iterator endpoint_iterator); void handleReadMessageSize(const boost::system::error_code& err, size_t length); void handleReadMessage(const boost::system::error_code& err, size_t length); std::list sendQueue; void startResolver(); void closeAndScheduleResolve(); bool sendQueueCurrentlySending; void startNewTransmission(); void handleWriteMessage(const boost::system::error_code& err); std::string m_host; std::string m_port; public: TCPMessageClient(boost::asio::io_service& io_service, const char * host, const char * port); ~TCPMessageClient(); void queueAndSendMessageSlot(Message & message); }; #endif // _tcpmessageclient_h sinfo-0.0.48/libmessageio/udpmessagereceiver.cc0000644000175000017500000000332511764201123016476 00000000000000#include #include "udpmessagereceiver.h" UDPMessageReceiver::UDPMessageReceiver(boost::asio::io_service& io_service, const boost::asio::ip::udp::endpoint & listenEndpoint, const boost::asio::ip::address& multicast_address ) :ioservice(io_service), sock(io_service) { sock.open(listenEndpoint.protocol()); if (listenEndpoint.address().is_v6()) { sock.set_option(boost::asio::ip::v6_only(true)); } sock.set_option(boost::asio::ip::udp::socket::reuse_address(true)); sock.bind(listenEndpoint); if (( (multicast_address.is_v4()) && (multicast_address.to_v4().is_multicast()) ) ||( (multicast_address.is_v6()) && (multicast_address.to_v6().is_multicast()) ) ) { // Join the multicast group. sock.set_option(boost::asio::ip::multicast::join_group(multicast_address)); } sock.async_receive_from( boost::asio::buffer(data, maxMessageIOSize), sender_endpoint, boost::bind(&UDPMessageReceiver::handleReceiveFrom, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } void UDPMessageReceiver::handleReceiveFrom(const boost::system::error_code& err, size_t length) { if (err) { // cout << "receive error: " << err.message() << endl; } else { //cout << "UDPMessageServer::handle_receive_from received " << length << " bytes" << endl; Message message(length, data); receiveMessageSignal(message); sock.async_receive_from( boost::asio::buffer(data, maxMessageIOSize), sender_endpoint, boost::bind(&UDPMessageReceiver::handleReceiveFrom, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } } sinfo-0.0.48/libmessageio/tcpmessageserver.cc0000644000175000017500000000445511764202462016212 00000000000000#include "tcpmessageserver.h" #include TCPMessageServer::TCPMessageServer(boost::asio::io_service& io_service, const boost::asio::ip::tcp::endpoint & endpoint, ServerConnectorFactoryBase & serverConnectorFactoryBase) : ioservice(io_service), acceptor(ioservice), serverConnectorFactoryBase(serverConnectorFactoryBase), tcpMessageServerConnectionManager(), newConnection(new TCPMessageServerConnection(ioservice, tcpMessageServerConnectionManager, serverConnectorFactoryBase)) { // Open the acceptor with the option to reuse the address (i.e. SO_REUSEADDR). acceptor.open(endpoint.protocol()); if (endpoint.address().is_v6()) { acceptor.set_option(boost::asio::ip::v6_only(true)); } acceptor.set_option(boost::asio::ip::tcp::acceptor::reuse_address(true)); acceptor.bind(endpoint); acceptor.listen(); acceptor.async_accept(newConnection->socket(), boost::bind(&TCPMessageServer::handleAccept, this, boost::asio::placeholders::error)); } void TCPMessageServer::run() { // The io_service::run() call will block until all asynchronous operations // have finished. While the server is running, there is always at least one // asynchronous operation outstanding: the asynchronous accept call waiting // for new incoming connections. ioservice.run(); } void TCPMessageServer::stop() { // Post a call to the stop function so that server::stop() is safe to call // from any thread. ioservice.post(boost::bind(&TCPMessageServer::handleStop, this)); } void TCPMessageServer::handleAccept(const boost::system::error_code& e) { if (!e) { tcpMessageServerConnectionManager.start(newConnection); newConnection.reset(new TCPMessageServerConnection(ioservice, tcpMessageServerConnectionManager, serverConnectorFactoryBase)); acceptor.async_accept(newConnection->socket(), boost::bind(&TCPMessageServer::handleAccept, this, boost::asio::placeholders::error)); } } void TCPMessageServer::handleStop() { // The server is stopped by cancelling all outstanding asynchronous // operations. Once all operations have finished the io_service::run() call // will exit. acceptor.close(); tcpMessageServerConnectionManager.stopAll(); } sinfo-0.0.48/libmessageio/tcpmessageclient.cc0000644000175000017500000001347312300715425016155 00000000000000#include #include #include "message.h" #include "messagebasictypes.h" #include "tcpmessageclient.h" using namespace std; TCPMessageClient::TCPMessageClient(boost::asio::io_service& io_service, const char * host, const char * port): ioservice(io_service), timer(ioservice), resolver(ioservice), socket(ioservice), m_host(host), m_port(port) { startResolver(); } TCPMessageClient::~TCPMessageClient() { } void TCPMessageClient::startResolver() { boost::asio::ip::tcp::resolver::query query(m_host, m_port); stopAfterOneReceivedMessage=false; sendQueueCurrentlySending=false; resolver.async_resolve(query, boost::bind(&TCPMessageClient::handleResolve, this, boost::asio::placeholders::error, boost::asio::placeholders::iterator)); } void TCPMessageClient::closeAndScheduleResolve() { socket.close(); boost::posix_time::time_duration expiry_time=boost::posix_time::seconds(3); timer.expires_from_now(expiry_time); timer.async_wait(boost::bind(&TCPMessageClient::startResolver, this)); } void TCPMessageClient::handleResolve(const boost::system::error_code& err, boost::asio::ip::tcp::resolver::iterator endpoint_iterator) { if (!err) { // Attempt a connection to the first endpoint in the list. Each endpoint // will be tried until we successfully establish a connection. boost::asio::ip::tcp::endpoint endpoint = *endpoint_iterator; socket.async_connect(endpoint, boost::bind(&TCPMessageClient::handleConnect, this, boost::asio::placeholders::error, ++endpoint_iterator)); } else { std::cout << "TCPMessageClient::handleResolve error: " << err.message() << endl; closeAndScheduleResolve(); } } void TCPMessageClient::handleConnect(const boost::system::error_code& err, boost::asio::ip::tcp::resolver::iterator endpoint_iterator) { if (!err) { // start handleReadMessageSize, handleReadMessage Event loop boost::asio::async_read(socket, boost::asio::buffer(data, sizeof(uint32)), boost::asio::transfer_at_least(sizeof(uint32)), boost::bind(&TCPMessageClient::handleReadMessageSize, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); connectionReadySignal(); } else if (endpoint_iterator != boost::asio::ip::tcp::resolver::iterator()) { // The connection failed. Try the next endpoint in the list. socket.close(); boost::asio::ip::tcp::endpoint endpoint = *endpoint_iterator; socket.async_connect(endpoint, boost::bind(&TCPMessageClient::handleConnect, this, boost::asio::placeholders::error, ++endpoint_iterator)); } else { std::cout << "TCPMessageClient::handleConnect error: " << err.message() << endl; connectionNotReadySignal(); closeAndScheduleResolve(); } } void TCPMessageClient::queueAndSendMessageSlot(Message & message) { if (sendQueue.size() #include #include "udpmessageclient.h" using namespace std; UDPMessageClient::UDPMessageClient(boost::asio::io_service& io_service, const char * host, const char * port) : ioservice(io_service), resolver(ioservice), socket(ioservice) { boost::asio::ip::udp::resolver::query query(host, port); resolver.async_resolve(query, boost::bind(&UDPMessageClient::handleResolve, this, boost::asio::placeholders::error, boost::asio::placeholders::iterator)); stopAfterOneReceivedMessage=false; sendQueueCurrentlySending=false; } UDPMessageClient::~UDPMessageClient() { } void UDPMessageClient::handleResolve(const boost::system::error_code& err, boost::asio::ip::udp::resolver::iterator endpointIterator) { // cout << "UDPMessageClient::handleResolve" << endl; if (err) { cout << "receive error: " << err.message() << endl; } else { remoteEndpoint=*endpointIterator; boost::asio::ip::udp::endpoint localEndpoint(remoteEndpoint.protocol(), 0); socket.open(localEndpoint.protocol()); if (localEndpoint.address().is_v6()) { socket.set_option(boost::asio::ip::v6_only(true)); } socket.bind(localEndpoint); socket.async_receive_from(boost::asio::buffer(data, maxMessageIOSize), remoteEndpoint, boost::bind(&UDPMessageClient::handleReceiveFrom, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); connectionReadySignal(); } } void UDPMessageClient::handleReceiveFrom(const boost::system::error_code& err, size_t length) { //cout << "UDPMessageClient::handle_receive_from" << endl; if (err) { cout << "receive error: " << err.message() << endl; } else { Message returnMessage(length, data); receivedMessageSignal(returnMessage); if (false==stopAfterOneReceivedMessage) { socket.async_receive_from(boost::asio::buffer(data, maxMessageIOSize), remoteEndpoint, boost::bind(&UDPMessageClient::handleReceiveFrom, this, boost::asio::placeholders::error, boost::asio::placeholders::bytes_transferred)); } } } void UDPMessageClient::queueAndSendMessageSlot(Message & message) { //cout << "UDPMessageClient::queueAndSendMessageEvent" << endl; //cout << "remoteEndpoint=" << remoteEndpoint << endl; if (sendQueue.size() #include "message.h" class UDPMessageTransmitter { private: boost::asio::io_service & ioservice; boost::asio::ip::udp::endpoint senderEndpoint; public: UDPMessageTransmitter(boost::asio::io_service& io_service, const boost::asio::ip::udp::endpoint & senderEndpoint); void send(const Message & message); }; #endif // _udpmessagetransmitter_h sinfo-0.0.48/Makefile.am0000644000175000017500000000023711547006554011707 00000000000000SUBDIRS = html libmessage libmessageparser libmessageiobase libmessageio librpc libprotocol libprotocolasio libsinfotypes libsinfometer sinfod sinfo cgi addon sinfo-0.0.48/config.sub0000744000175000017500000010532712444035655011643 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-04-18' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, 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. # Please send patches to . Submit a context # diff and a properly formatted GNU ChangeLog entry. # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 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-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; 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 | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | 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 ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | 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-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | 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-* \ | 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 ;; 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 ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze) basic_machine=microblaze-xilinx ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i386-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) 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* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -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 ;; 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: sinfo-0.0.48/depcomp0000744000175000017500000005064312444035655011235 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2012-03-27.16; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011, 2012 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 # A tabulation character. tab=' ' # A newline character. nl=' ' if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi 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 informations. 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 -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' "$nl" < "$tmpdepfile" | ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. 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. 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 -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$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 # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; 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. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependent.h'. # Do two passes, one to just change these to # '$object: dependent.h' and one to simply 'dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler anf tcc (Tiny C Compiler) understand '-MD -MF file'. # However on # $CC -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\': # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... # tcc 0.9.26 (FIXME still under development at the moment of writing) # will emit a similar output, but also prepend the continuation lines # with horizontal tabulation characters. "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form 'foo.o: dependent.h', # or 'foo.o: dep1.h dep2.h \', or ' dep3.h dep4.h \'. # Do two passes, one to just change these to # '$object: dependent.h' and one to simply 'dependent.h:'. sed -e "s/^[ $tab][ $tab]*/ /" -e "s,^[^:]*:,$object :," \ < "$tmpdepfile" > "$depfile" sed ' s/[ '"$tab"'][ '"$tab"']*/ /g s/^ *// s/ *\\*$// s/^[^:]*: *// /^$/d /:$/d s/$/ :/ ' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" sed -e 's,^.*\.[a-z]*:['"$tab"' ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; 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" = 0; then : else 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" 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" tr ' ' "$nl" < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # 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" sed '1,2d' "$tmpdepfile" | tr ' ' "$nl" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$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: sinfo-0.0.48/libmessage/0000755000175000017500000000000012444035677012051 500000000000000sinfo-0.0.48/libmessage/messagecomplextypes.h0000644000175000017500000000074212101563613016230 00000000000000#ifndef _messagecomplextypes_h #define _messagecomplextypes_h #include #include "message.h" namespace Msg { void pushFrontstring(Message & message, const std::string & value); void pushBackstring(Message & message, const std::string & value); void popFrontstring(Message & message, std::string & returnValue); void pushFront(Message & message, const std::string & value); void popFront(Message & message, std::string & returnValue); } #endif // _messagecomplextypes_h sinfo-0.0.48/libmessage/Makefile.in0000644000175000017500000005670712444035655014051 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libmessage DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libmessage_la_LIBADD = am_libmessage_la_OBJECTS = message.lo messagebasictypes.lo \ messagecomplextypes.lo messagestlcontainertypes.lo libmessage_la_OBJECTS = $(am_libmessage_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libmessage_la_SOURCES) DIST_SOURCES = $(libmessage_la_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = \ . \ testmessage pkglib_LTLIBRARIES = \ libmessage.la libmessage_la_SOURCES = \ message.h message.cc \ messagebasictypes.h messagebasictypes.cc \ messagecomplextypes.h messagecomplextypes.cc \ messagestlcontainertypes.h messagestlcontainertypes.cc all: all-recursive .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libmessage/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libmessage/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libmessage.la: $(libmessage_la_OBJECTS) $(libmessage_la_DEPENDENCIES) $(EXTRA_libmessage_la_DEPENDENCIES) $(CXXLINK) -rpath $(pkglibdir) $(libmessage_la_OBJECTS) $(libmessage_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/message.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/messagebasictypes.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/messagecomplextypes.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/messagestlcontainertypes.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(LTLIBRARIES) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ clean-pkglibLTLIBRARIES ctags ctags-recursive distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am \ uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libmessage/testmessage/0000755000175000017500000000000012444035677014375 500000000000000sinfo-0.0.48/libmessage/testmessage/testmessage2.cc0000644000175000017500000000204011517102003017200 00000000000000#include "messagebasictypes.h" #include "messagecomplextypes.h" #include using namespace std; using namespace Msg; Message makeMessage() { Message message; float x=1.2345; pushFrontfloat32(message,x); cout << hex << uint64(message.getDataPtr()) << endl; return message; } int main() { cout << "// the pointer is the same" << endl; Message message2=makeMessage(); cout << "message2.size() " << dec << message2.size() << " " << hex << uint64(message2.getDataPtr()) << endl; cout << sizeof(message2.getDataPtr()) << endl; cout << "// same data" << endl; Message a=message2; Message b=message2; cout << "a.size() " << dec << a.size() << " " << hex << uint64(a.getDataPtr()) << endl; cout << "b.size() " << dec << b.size() << " " << hex << uint64(b.getDataPtr()) << endl; float x=1.2345; pushFrontfloat32(a,x); cout << "a.size() " << dec << a.size() << " " << hex << uint64(a.getDataPtr()) << endl; cout << "b.size() " << dec << b.size() << " " << hex << uint64(b.getDataPtr()) << endl; return 0; } sinfo-0.0.48/libmessage/testmessage/Makefile.in0000644000175000017500000004734212444035656016371 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ noinst_PROGRAMS = testmessage$(EXEEXT) testmessage2$(EXEEXT) subdir = libmessage/testmessage DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = PROGRAMS = $(noinst_PROGRAMS) am_testmessage_OBJECTS = testmessage-testmessage.$(OBJEXT) testmessage_OBJECTS = $(am_testmessage_OBJECTS) testmessage_DEPENDENCIES = ../libmessage.la am_testmessage2_OBJECTS = testmessage2-testmessage2.$(OBJEXT) testmessage2_OBJECTS = $(am_testmessage2_OBJECTS) testmessage2_DEPENDENCIES = ../libmessage.la DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(testmessage_SOURCES) $(testmessage2_SOURCES) DIST_SOURCES = $(testmessage_SOURCES) $(testmessage2_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ testmessage_CPPFLAGS = -I$(top_srcdir)/libmessage testmessage_SOURCES = testmessage.cc testmessage_LDADD = ../libmessage.la testmessage2_CPPFLAGS = -I$(top_srcdir)/libmessage testmessage2_SOURCES = testmessage2.cc testmessage2_LDADD = ../libmessage.la check_DATA = \ testmessage.out CLEANFILES = testmessage.out EXTRA_DIST = testmessage.out.approved all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libmessage/testmessage/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libmessage/testmessage/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): clean-noinstPROGRAMS: @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list testmessage$(EXEEXT): $(testmessage_OBJECTS) $(testmessage_DEPENDENCIES) $(EXTRA_testmessage_DEPENDENCIES) @rm -f testmessage$(EXEEXT) $(CXXLINK) $(testmessage_OBJECTS) $(testmessage_LDADD) $(LIBS) testmessage2$(EXEEXT): $(testmessage2_OBJECTS) $(testmessage2_DEPENDENCIES) $(EXTRA_testmessage2_DEPENDENCIES) @rm -f testmessage2$(EXEEXT) $(CXXLINK) $(testmessage2_OBJECTS) $(testmessage2_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testmessage-testmessage.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/testmessage2-testmessage2.Po@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< testmessage-testmessage.o: testmessage.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testmessage-testmessage.o -MD -MP -MF $(DEPDIR)/testmessage-testmessage.Tpo -c -o testmessage-testmessage.o `test -f 'testmessage.cc' || echo '$(srcdir)/'`testmessage.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testmessage-testmessage.Tpo $(DEPDIR)/testmessage-testmessage.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='testmessage.cc' object='testmessage-testmessage.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testmessage-testmessage.o `test -f 'testmessage.cc' || echo '$(srcdir)/'`testmessage.cc testmessage-testmessage.obj: testmessage.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testmessage-testmessage.obj -MD -MP -MF $(DEPDIR)/testmessage-testmessage.Tpo -c -o testmessage-testmessage.obj `if test -f 'testmessage.cc'; then $(CYGPATH_W) 'testmessage.cc'; else $(CYGPATH_W) '$(srcdir)/testmessage.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testmessage-testmessage.Tpo $(DEPDIR)/testmessage-testmessage.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='testmessage.cc' object='testmessage-testmessage.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testmessage-testmessage.obj `if test -f 'testmessage.cc'; then $(CYGPATH_W) 'testmessage.cc'; else $(CYGPATH_W) '$(srcdir)/testmessage.cc'; fi` testmessage2-testmessage2.o: testmessage2.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage2_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testmessage2-testmessage2.o -MD -MP -MF $(DEPDIR)/testmessage2-testmessage2.Tpo -c -o testmessage2-testmessage2.o `test -f 'testmessage2.cc' || echo '$(srcdir)/'`testmessage2.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testmessage2-testmessage2.Tpo $(DEPDIR)/testmessage2-testmessage2.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='testmessage2.cc' object='testmessage2-testmessage2.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage2_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testmessage2-testmessage2.o `test -f 'testmessage2.cc' || echo '$(srcdir)/'`testmessage2.cc testmessage2-testmessage2.obj: testmessage2.cc @am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage2_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT testmessage2-testmessage2.obj -MD -MP -MF $(DEPDIR)/testmessage2-testmessage2.Tpo -c -o testmessage2-testmessage2.obj `if test -f 'testmessage2.cc'; then $(CYGPATH_W) 'testmessage2.cc'; else $(CYGPATH_W) '$(srcdir)/testmessage2.cc'; fi` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/testmessage2-testmessage2.Tpo $(DEPDIR)/testmessage2-testmessage2.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='testmessage2.cc' object='testmessage2-testmessage2.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(testmessage2_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o testmessage2-testmessage2.obj `if test -f 'testmessage2.cc'; then $(CYGPATH_W) 'testmessage2.cc'; else $(CYGPATH_W) '$(srcdir)/testmessage2.cc'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_DATA) check: check-am all-am: Makefile $(PROGRAMS) installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-noinstPROGRAMS \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: .MAKE: check-am install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-noinstPROGRAMS ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am testmessage.out : testmessage ${abs_builddir}/testmessage | tee testmessage.out diff testmessage.out $(top_srcdir)/libmessage/testmessage/testmessage.out.approved # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libmessage/testmessage/testmessage.out.approved0000644000175000017500000000116211637412344021202 00000000000000uintvector 0 uintvector 1 uintvector 2 uintvector 3 uintvector 4 uintvector 5 uintvector 6 uintvector 7 uintvector 8 uintvector 9 unitlist 0 unitlist 1 unitlist 2 unitlist 3 unitlist 4 unitlist 5 unitlist 6 unitlist 7 unitlist 8 unitlist 9 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890 bla bla bla -30000 -30000 -30000 10 30000 30000 30000 110 1.2345 1.2345 remaining size=0 sizeof(float32)=4 sizeof(float64)=8 sizeof(uint8)=1 sizeof(uint16)=2 sizeof(uint32)=4 sizeof(uint64)=8 sizeof(int8)=1 sizeof(int16)=2 sizeof(int32)=4 sizeof(int64)=8 sinfo-0.0.48/libmessage/testmessage/Makefile.am0000644000175000017500000000107612263053714016344 00000000000000 noinst_PROGRAMS = testmessage testmessage2 testmessage_CPPFLAGS = -I$(top_srcdir)/libmessage testmessage_SOURCES = testmessage.cc testmessage_LDADD = ../libmessage.la testmessage2_CPPFLAGS = -I$(top_srcdir)/libmessage testmessage2_SOURCES = testmessage2.cc testmessage2_LDADD = ../libmessage.la check_DATA = \ testmessage.out testmessage.out : testmessage ${abs_builddir}/testmessage | tee testmessage.out diff testmessage.out $(top_srcdir)/libmessage/testmessage/testmessage.out.approved CLEANFILES = testmessage.out EXTRA_DIST = testmessage.out.approved sinfo-0.0.48/libmessage/testmessage/testmessage.cc0000644000175000017500000000757512170053745017156 00000000000000#include "messagebasictypes.h" #include "messagecomplextypes.h" #include "messagestlcontainertypes.h" #include using namespace std; using namespace Msg; int main() { Message message; { float x=1.2345; pushFrontfloat32(message,x); } { double x=1.2345; pushFrontfloat64(message,x); } { unsigned char x=110; pushFrontuint8(message,x); } { unsigned short x=30000; pushFrontuint16(message,x); } { unsigned int x=30000; pushFrontuint32(message,x); } { unsigned long long x=30000; pushFrontuint64(message,x); } { char x=10; pushFrontint8(message,x); } { short x=-30000; pushFrontint16(message,x); } { int x=-30000; pushFrontint32(message,x); } { long long x=-30000; pushFrontint64(message,x); } { string text("bla bla bla"); pushFrontstring(message,text); } { string text130("1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"); pushFrontstring(message,text130); } { list uintlist; for (int i=0; i<10; i++) { uintlist.push_back(uint8(i)); } pushFront(message,uintlist); } { vector uintvector; for (int i=0; i<10; i++) { uintvector.push_back(uint8(i)); } pushFront(message,uintvector); } { // nested serialization list < vector < string > > vslist; { vector vs1; vs1.push_back("a1"); vs1.push_back("b1"); vslist.push_back(vs1); vector vs2; vs2.push_back("a2"); vs2.push_back("b2"); vslist.push_back(vs2); } pushFront(message,vslist); } // pop { // nested serialization list < vector < string > > vslist; popFront(message,vslist); } { vector uintvector; popFront(message,uintvector); std::vector::const_iterator it; for (it=uintvector.begin(); it!=uintvector.end(); ++it) { cout << "uintvector " << int(*it) << endl; } } { list uintlist; popFront(message,uintlist); std::list::const_iterator it; for (it=uintlist.begin(); it!=uintlist.end(); ++it) { cout << "unitlist " << int(*it) << endl; } } { string text130; popFrontstring(message,text130); cout << text130 << endl; } { string text; popFrontstring(message,text); cout << text << endl; } { long long x; popFrontint64(message,x); cout << x << endl; } { int x; popFrontint32(message,x); cout << x << endl; } { short x; popFrontint16(message,x); cout << x << endl; } { char x; popFrontint8(message,x); cout << int(x) << endl; } { unsigned long long x; popFrontuint64(message,x); cout << x << endl; } { unsigned int x; popFrontuint32(message,x); cout << x << endl; } { unsigned short x; popFrontuint16(message,x); cout << x << endl; } { unsigned char x; popFrontuint8(message,x); cout << int(x) << endl; } { double x; popFrontfloat64(message,x); cout << x << endl; } { float x; popFrontfloat32(message,x); cout << x << endl; } cout << "remaining size=" << message.size() << endl; cout << "sizeof(float32)=" << sizeof(float32) << endl; cout << "sizeof(float64)=" << sizeof(float64) << endl; cout << "sizeof(uint8)=" << sizeof(uint8) << endl; cout << "sizeof(uint16)=" << sizeof(uint16) << endl; cout << "sizeof(uint32)=" << sizeof(uint32) << endl; cout << "sizeof(uint64)=" << sizeof(uint64) << endl; cout << "sizeof(int8)=" << sizeof(int8) << endl; cout << "sizeof(int16)=" << sizeof(int16) << endl; cout << "sizeof(int32)=" << sizeof(int32) << endl; cout << "sizeof(int64)=" << sizeof(int64) << endl; return 0; } sinfo-0.0.48/libmessage/messagebasictypes.h0000644000175000017500000000500412101563617015642 00000000000000#ifndef _messagebasictypes_h #define _messagebasictypes_h #include "message.h" typedef unsigned char uint8; typedef unsigned short uint16; typedef unsigned int uint32; typedef unsigned long long uint64; typedef char int8; typedef short int16; typedef int int32; typedef long long int64; typedef float float32; typedef double float64; namespace Msg { void pushFrontuint8(Message & message, const uint8 & value); void pushBackuint8(Message & message, const uint8 & value); void popFrontuint8(Message & message, uint8 & returnValue); void pushFront(Message & message, const uint8 & value); void popFront(Message & message, uint8 & returnValue); void pushFrontuint16(Message & message, const uint16 & value); void pushBackuint16(Message & message, const uint16 & value); void popFrontuint16(Message & message, uint16 & returnValue); void pushFrontuint32(Message & message, const uint32 & value); void pushBackuint32(Message & message, const uint32 & value); void popFrontuint32(Message & message, uint32 & returnValue); void pushFrontuint64(Message & message, const uint64 & value); void pushBackuint64(Message & message, const uint64 & value); void popFrontuint64(Message & message, uint64 & returnValue); void pushFrontint8(Message & message, const int8 & value); void pushBackint8(Message & message, const int8 & value); void popFrontint8(Message & message, int8 & returnValue); void pushFrontint16(Message & message, const int16 & value); void pushBackint16(Message & message, const int16 & value); void popFrontint16(Message & message, int16 & returnValue); void pushFrontint32(Message & message, const int32 & value); void pushBackint32(Message & message, const int32 & value); void popFrontint32(Message & message, int32 & returnValue); void pushFrontint64(Message & message, const int64 & value); void pushBackint64(Message & message, const int64 & value); void popFrontint64(Message & message, int64 & returnValue); void pushFrontfloat32(Message & message, const float32 & value); void pushBackfloat32(Message & message, const float32 & value); void popFrontfloat32(Message & message, float32 & returnValue); void pushFrontfloat64(Message & message, const float64 & value); void pushBackfloat64(Message & message, const float64 & value); void popFrontfloat64(Message & message, float64 & returnValue); void pushFront(Message & message, const float64 & value); void popFront(Message & message, float64 & returnValue); } #endif // _messagebasictypes_h sinfo-0.0.48/libmessage/Makefile.am0000644000175000017500000000041411637170323014013 00000000000000SUBDIRS = \ . \ testmessage pkglib_LTLIBRARIES = \ libmessage.la libmessage_la_SOURCES= \ message.h message.cc \ messagebasictypes.h messagebasictypes.cc \ messagecomplextypes.h messagecomplextypes.cc \ messagestlcontainertypes.h messagestlcontainertypes.cc sinfo-0.0.48/libmessage/messagebasictypes.cc0000644000175000017500000000764211517102003015776 00000000000000#include "messagebasictypes.h" namespace Msg { void pushFrontuint8(Message & message, const uint8 & value) { message.pushFrontMemory(&value, sizeof(uint8)); } void pushBackuint8(Message & message, const uint8 & value) { message.pushBackMemory(&value, sizeof(uint8)); } void popFrontuint8(Message & message, uint8 & returnValue) { message.popFrontMemory(&returnValue, sizeof(uint8)); } void pushFront(Message & message, const uint8 & value) { pushFrontuint8(message, value); } void popFront(Message & message, uint8 & returnValue) { popFrontuint8(message, returnValue); } void pushFrontuint16(Message & message, const uint16 & value) { message.pushFrontMemory(&value, sizeof(uint16)); } void pushBackuint16(Message & message, const uint16 & value) { message.pushBackMemory(&value, sizeof(uint16)); } void popFrontuint16(Message & message, uint16 & returnValue) { message.popFrontMemory(&returnValue, sizeof(uint16)); } void pushFrontuint32(Message & message, const uint32 & value) { message.pushFrontMemory(&value, sizeof(uint32)); } void pushBackuint32(Message & message, const uint32 & value) { message.pushBackMemory(&value, sizeof(uint32)); } void popFrontuint32(Message & message, uint32 & returnValue) { message.popFrontMemory(&returnValue, sizeof(uint32)); } void pushFrontuint64(Message & message, const uint64 & value) { message.pushFrontMemory(&value, sizeof(uint64)); } void pushBackuint64(Message & message, const uint64 & value) { message.pushBackMemory(&value, sizeof(uint64)); } void popFrontuint64(Message & message, uint64 & returnValue) { message.popFrontMemory(&returnValue, sizeof(uint64)); } void pushFrontint8(Message & message, const int8 & value) { message.pushFrontMemory(&value, sizeof(int8)); } void pushBackint8(Message & message, const int8 & value) { message.pushBackMemory(&value, sizeof(int8)); } void popFrontint8(Message & message, int8 & returnValue) { message.popFrontMemory(&returnValue, sizeof(int8)); } void pushFrontint16(Message & message, const int16 & value) { message.pushFrontMemory(&value, sizeof(int16)); } void pushBackint16(Message & message, const int16 & value) { message.pushBackMemory(&value, sizeof(int16)); } void popFrontint16(Message & message, int16 & returnValue) { message.popFrontMemory(&returnValue, sizeof(int16)); } void pushFrontint32(Message & message, const int32 & value) { message.pushFrontMemory(&value, sizeof(int32)); } void pushBackint32(Message & message, const int32 & value) { message.pushBackMemory(&value, sizeof(int32)); } void popFrontint32(Message & message, int32 & returnValue) { message.popFrontMemory(&returnValue, sizeof(int32)); } void pushFrontint64(Message & message, const int64 & value) { message.pushFrontMemory(&value, sizeof(int64)); } void pushBackint64(Message & message, const int64 & value) { message.pushBackMemory(&value, sizeof(int64)); } void popFrontint64(Message & message, int64 & returnValue) { message.popFrontMemory(&returnValue, sizeof(int64)); } void pushFrontfloat32(Message & message, const float32 & value) { message.pushFrontMemory(&value, sizeof(float32)); } void pushBackfloat32(Message & message, const float32 & value) { message.pushBackMemory(&value, sizeof(float32)); } void popFrontfloat32(Message & message, float32 & returnValue) { message.popFrontMemory(&returnValue, sizeof(float32)); } void pushFrontfloat64(Message & message, const float64 & value) { message.pushFrontMemory(&value, sizeof(float64)); } void pushBackfloat64(Message & message, const float64 & value) { message.pushBackMemory(&value, sizeof(float64)); } void popFrontfloat64(Message & message, float64 & returnValue) { message.popFrontMemory(&returnValue, sizeof(float64)); } void pushFront(Message & message, const float64 & value) { pushFrontfloat64(message, value); } void popFront(Message & message, float64 & returnValue) { popFrontfloat64(message, returnValue); } } sinfo-0.0.48/libmessage/message.h0000644000175000017500000000227012101563622013551 00000000000000#ifndef _message_h #define _message_h #include #include #define STANDARDBUFFERSIZE 4096 #define STANDARDBUFFERINCREMENT 1024 class MessageException : public std::runtime_error { public: explicit MessageException(const std::string& what):std::runtime_error(what) {} virtual ~MessageException() throw() {} }; class Message { private: boost::shared_array memory; unsigned long memorySize; // size of allocated memory unsigned long startIndex; // memory[startIndex] is the first valid byte unsigned long endIndex; // memory[endIndex] is the byte AFTER the last valid byte public: Message(unsigned long length=STANDARDBUFFERSIZE, const char * data=0); Message(const Message& message); ~Message(); bool dontSendFlag; void setMessage(unsigned long length, const char * data); Message & operator= (const Message & message); const char & operator [] (unsigned long idx); const char * getDataPtr() const; unsigned long size() const; void clear(); void pushFrontMemory(const void *src, size_t n); void pushBackMemory(const void *src, size_t n); void popFrontMemory(void *dest, size_t n); }; #endif // _message_h sinfo-0.0.48/libmessage/messagecomplextypes.cc0000644000175000017500000000364511517102003016363 00000000000000#include "messagebasictypes.h" #include "messagecomplextypes.h" namespace Msg { void pushFrontstring(Message & message, const std::string & value) { int charCountDown=value.size(); bool lastPart=true; do { int partSize=charCountDown; if (partSize>127) { partSize=127; } int partCountDown=partSize; while (partCountDown>0) { pushFrontuint8(message,uint8(value[charCountDown-1])); charCountDown--; partCountDown--; } if (true==lastPart) { pushFrontuint8(message,partSize ); lastPart=false; } else { pushFrontuint8(message,partSize | 0x80 ); // continue flag } } while (charCountDown>0); } void pushBackstring(Message & message, const std::string & value) { int charSize=value.size(); int charCountUp=0; do { int partSize=charSize-charCountUp; if (partSize>127) { partSize=127; pushBackuint8(message,partSize | 0x80 ); // continue flag } else { pushBackuint8(message,partSize ); } int partCountUp=0; while (partCountUp #include "message.h" Message::Message(unsigned long length, const char * data) { memorySize=length; memory = boost::shared_array(new char[memorySize]); if (data) { startIndex=0; endIndex=memorySize; memcpy(memory.get(),data,memorySize); } else { startIndex=memorySize; endIndex=memorySize; } dontSendFlag=false; } Message::Message(const Message& message) { memorySize=message.size(); memory = boost::shared_array(new char[memorySize]); startIndex=0; endIndex=memorySize; memcpy(memory.get(),message.getDataPtr(),memorySize); dontSendFlag=message.dontSendFlag; } Message::~Message() { } void Message::setMessage(unsigned long length, const char * data) { memorySize=length; memory = boost::shared_array(new char[memorySize]); startIndex=0; endIndex=length; memcpy(memory.get(),data,length); } Message& Message::operator=(const Message & message) { // check for self-assignment by comparing the address of the implicit object and the parameter if (this == &message) { return *this; } setMessage(message.size(),message.getDataPtr()); dontSendFlag=message.dontSendFlag; return *this; } const char * Message::getDataPtr() const { return &memory[startIndex]; } unsigned long Message::size() const { return endIndex-startIndex; } void Message::clear() { memorySize=STANDARDBUFFERSIZE; memory = boost::shared_array(new char[memorySize]); startIndex=memorySize; endIndex=memorySize; dontSendFlag=false; } const char & Message::operator [] (unsigned long idx) { unsigned long localidx=startIndex+idx; if (localidx>=memorySize) { throw MessageException("Message::operator[] failed, localidx>=memorySize"); } return memory[localidx]; } void Message::pushFrontMemory(const void *src, size_t n) { // increase memory by STANDARDBUFFERINCREMENT or n if (startIndex newMemory(new char[newMemorySize]); long newStartIndex=startIndex+increment; long newEndIndex=endIndex+increment; memcpy(&newMemory[newStartIndex], &memory[startIndex], endIndex-startIndex); memorySize=newMemorySize; memory=newMemory; startIndex=newStartIndex; endIndex=newEndIndex; } startIndex-=n; // without litte=>big endian conversion // memcpy(&memory[startIndex],src,n); // with little =>big endian conversion char * srcchar=(char*)src; for (unsigned long k=0; kmemorySize) { long increment=STANDARDBUFFERINCREMENT; if (endIndex+n>memorySize+STANDARDBUFFERINCREMENT) { increment=n; } unsigned long newMemorySize=memorySize+increment; boost::shared_array newMemory(new char[newMemorySize]); unsigned long newStartIndex=startIndex; unsigned long newEndIndex=endIndex; memcpy(&newMemory[newStartIndex], &memory[startIndex], endIndex-startIndex); memorySize=newMemorySize; memory=newMemory; startIndex=newStartIndex; endIndex=newEndIndex; } // without litte=>big endian conversion // memcpy(&newMemory[endIndex],src,n); // with little =>big endian conversion char * srccrar=(char*)src; for (unsigned long k=0; klitte endian conversion // memcpy(dest,&memory[startIndex],n); // with little =>big endian conversion char * destchar=(char*)dest; for (unsigned long k=0; k=STANDARDBUFFERINCREMENT) { unsigned long newMemorySize=memorySize-STANDARDBUFFERINCREMENT; boost::shared_array newMemory(new char[newMemorySize]); unsigned long newStartIndex=startIndex-STANDARDBUFFERINCREMENT; unsigned long newEndIndex=endIndex-STANDARDBUFFERINCREMENT; memcpy(&newMemory[newStartIndex], &memory[startIndex], endIndex-startIndex); memorySize=newMemorySize; memory=newMemory; startIndex=newStartIndex; endIndex=newEndIndex; } } else { throw MessageException("Message::popFrontMemory failed, no data available"); } } sinfo-0.0.48/libmessage/messagestlcontainertypes.h0000644000175000017500000000624112101563626017272 00000000000000#ifndef _messagestlcontainertypes_h #define _messagestlcontainertypes_h #include #include #include "messagebasictypes.h" namespace Msg { // forward declarations to allow nested templates template void pushFront(Message & message, const std::list & value); template void popFront(Message & message, std::list & returnValue); template void pushFront(Message & message, const std::vector & value); template void popFront(Message & message, std::vector & returnValue); // end of forward declarations template void pushFront(Message & message, const std::list & value) { typename std::list::const_reverse_iterator it = value.rbegin(); // http://de.wikibooks.org/wiki/C++-Programmierung/_Die_STL/_Iteratoren int listCountDown=value.size(); bool lastPart=true; do { int partSize=listCountDown; if (partSize>127) { partSize=127; } int partCountDown=partSize; while (partCountDown>0) { pushFront(message, *it); it++; listCountDown--; partCountDown--; } if (true==lastPart) { pushFrontuint8(message,partSize ); lastPart=false; } else { pushFrontuint8(message,partSize | 0x80 ); // continue flag } } while (it != value.rend()); } template void popFront(Message & message, std::list & returnValue) { returnValue.erase(returnValue.begin(),returnValue.end()); bool continueFlag=true; while (continueFlag) { uint8 partSize; popFrontuint8(message,partSize); if (0x80 == (partSize&0x80) ) { continueFlag=true; partSize&=0x7f; } else { continueFlag=false; } for (int i=0; i void pushFront(Message & message, const std::vector & value) { typename std::vector::const_reverse_iterator it = value.rbegin(); // http://de.wikibooks.org/wiki/C++-Programmierung/_Die_STL/_Iteratoren int listCountDown=value.size(); bool lastPart=true; do { int partSize=listCountDown; if (partSize>127) { partSize=127; } int partCountDown=partSize; while (partCountDown>0) { pushFront(message, *it); it++; listCountDown--; partCountDown--; } if (true==lastPart) { pushFrontuint8(message,partSize ); lastPart=false; } else { pushFrontuint8(message,partSize | 0x80 ); // continue flag } } while (it != value.rend()); } template void popFront(Message & message, std::vector & returnValue) { returnValue.erase(returnValue.begin(),returnValue.end()); bool continueFlag=true; while (continueFlag) { uint8 partSize; popFrontuint8(message,partSize); if (0x80 == (partSize&0x80) ) { continueFlag=true; partSize&=0x7f; } else { continueFlag=false; } for (int i=0; i/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='sinfo' PACKAGE_TARNAME='sinfo' PACKAGE_VERSION='0.0.48' PACKAGE_STRING='sinfo 0.0.48' PACKAGE_BUGREPORT='' PACKAGE_URL='' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS BOOST_SYSTEM_LIB BOOST_SIGNALS_LIB BOOST_LDFLAGS BOOST_CPPFLAGS LIBOBJS CURSES_LIB SINFO_BROADCAST_PORT SINFO_REQUEST_PORT CXXCPP CPP OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB ac_ct_AR AR DLLTOOL OBJDUMP LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP EGREP GREP SED am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE ac_ct_CC CFLAGS CC host_os host_vendor host_cpu host build_os build_vendor build_cpu build LIBTOOL am__fastdepCXX_FALSE am__fastdepCXX_TRUE CXXDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CXX CPPFLAGS LDFLAGS CXXFLAGS CXX am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_dependency_tracking enable_static enable_shared with_pic enable_fast_install with_gnu_ld with_sysroot enable_libtool_lock enable_SINFO_REQUEST_PORT enable_SINFO_BROADCAST_PORT enable_SIMPLE_USER_CACHE enable_IPv6 enable_CPUNO_ADJUST with_ncurses with_ncursesw with_boost with_boost_libdir with_boost_signals with_boost_system ' ac_precious_vars='build_alias host_alias target_alias CXX CXXFLAGS LDFLAGS LIBS CPPFLAGS CCC CC CFLAGS CPP CXXCPP CURSES_LIB' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures sinfo 0.0.48 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/sinfo] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of sinfo 0.0.48:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-SINFO_REQUEST_PORT=n set the UDP REQUEST port used by sinfo to n [60002] --enable-SINFO_BROADCAST_PORT=n set the UDP broadcast port used by sinfo to n [60003] --enable-SIMPLE_USER_CACHE enable a simple cache for user name lookups --disable-IPv6 disable IPv6 --enable-CPUNO_ADJUST adjust the number of cpus for hyperthreading machines Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot=DIR Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-ncurses force the use of Ncurses or NcursesW --without-ncursesw do not use NcursesW (wide character support) --with-boost[=ARG] use Boost library from a standard location (ARG=yes), from the specified location (ARG=), or disable it (ARG=no) [ARG=yes] --with-boost-libdir=LIB_DIR Force given directory for boost libraries. Note that this will override library path detection, so use this parameter only if default library detection fails and you know exactly where your boost libraries are located. --with-boost-signals[=special-lib] use the Signals library from boost - it is possible to specify a certain library for the linker e.g. --with-boost-signals=boost_signals-gcc-mt-d --with-boost-system[=special-lib] use the System library from boost - it is possible to specify a certain library for the linker e.g. --with-boost-system=boost_system-gcc-mt Some influential environment variables: CXX C++ compiler command CXXFLAGS C++ compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CC C compiler command CFLAGS C compiler flags CPP C preprocessor CXXCPP C++ preprocessor CURSES_LIB linker library for Curses, e.g. -lcurses Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to the package provider. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF sinfo configure 0.0.48 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_cxx_try_compile LINENO # ---------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_cxx_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_compile # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_cxx_try_cpp LINENO # ------------------------ # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_cxx_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_cpp # ac_fn_cxx_try_link LINENO # ------------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_cxx_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_link # ac_fn_cxx_try_run LINENO # ------------------------ # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_cxx_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_cxx_try_run # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES # --------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_cxx_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_cxx_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_cxx_check_header_mongrel # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES # --------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_cxx_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_cxx_check_type # ac_fn_cxx_check_decl LINENO SYMBOL VAR INCLUDES # ----------------------------------------------- # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR # accordingly. ac_fn_cxx_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_cxx_check_decl # ac_fn_cxx_check_member LINENO AGGR MEMBER VAR INCLUDES # ------------------------------------------------------ # Tries to find if the field MEMBER exists in type AGGR, after including # INCLUDES, setting cache variable VAR accordingly. ac_fn_cxx_check_member () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5 $as_echo_n "checking for $2.$3... " >&6; } if eval \${$4+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : eval "$4=yes" else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $5 int main () { static $2 ac_aggr; if (sizeof ac_aggr.$3) return 0; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : eval "$4=yes" else eval "$4=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$4 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_cxx_check_member # ac_fn_cxx_check_func LINENO FUNC VAR # ------------------------------------ # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_cxx_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_cxx_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by sinfo $as_me 0.0.48, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='sinfo' VERSION='0.0.48' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 $as_echo "$CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CXX+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 $as_echo "$ac_ct_CXX" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CXX=$ac_ct_CXX fi fi fi fi # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 $as_echo_n "checking whether the C++ compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C++ compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 $as_echo_n "checking for C++ compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C++ compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } if ${ac_cv_cxx_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GXX=yes else GXX= fi ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 $as_echo_n "checking whether $CXX accepts -g... " >&6; } if ${ac_cv_prog_cxx_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes else CXXFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : else ac_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_prog_cxx_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cxx_werror_flag=$ac_save_cxx_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 $as_echo "$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CXX" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CXX_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. 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_CXX_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; 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_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=no fi case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.2' macro_revision='1.3337' ltmain="$ac_aux_dir/ltmain.sh" # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case "$ECHO" in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) DUMPBIN=: ;; esac fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; 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"; 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 $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test "$GCC" != yes; then reload_cmds=false fi ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. if ( test "$lt_cv_nm_interface" = "BSD nm" && 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*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh # decide which to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd="$ECHO" ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case ${with_sysroot} in #( yes) if test "$GCC" = yes; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 $as_echo "${with_sysroot}" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; *-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD="${LD-ld}_sol2" fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[012]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done func_stripname_cnf () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname_cnf # Set options enable_dlopen=no enable_win32_dll=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC="$CC" ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) link_all_deplibs=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; 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 "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>&1` in *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 "$host_cpu" != ia64; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='${wl}--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' link_all_deplibs=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi link_all_deplibs=no else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test "$lt_cv_ld_force_load" = "yes"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test x"$lt_cv_prog_compiler__b" = xyes; then archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test "$lt_cv_irix_exported_symbol" = yes; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='${wl}-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; 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` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([A-Za-z]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; 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=yes 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 "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # 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 "$lt_cv_prog_gnu_ld" = yes; 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 ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;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*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # 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 "$with_gnu_ld" = yes; 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=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existent directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen="shl_load" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen="dlopen" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $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 -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $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 -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report which library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu CC="$lt_save_CC" if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } if test -z "$CXXCPP"; then if ${ac_cv_prog_CXXCPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_cxx_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_cxx_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 $as_echo "$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_cxx_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_cxx_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu else _lt_caught_CXX_error=yes fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu archive_cmds_need_lc_CXX=no allow_undefined_flag_CXX= always_export_symbols_CXX=no archive_expsym_cmds_CXX= compiler_needs_object_CXX=no export_dynamic_flag_spec_CXX= hardcode_direct_CXX=no hardcode_direct_absolute_CXX=no hardcode_libdir_flag_spec_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_shlibpath_var_CXX=unsupported hardcode_automatic_CXX=no inherit_rpath_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds reload_flag_CXX=$reload_flag reload_cmds_CXX=$reload_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o objext_CXX=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_caught_CXX_error" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_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 compiler_CXX=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' else lt_prog_compiler_no_builtin_flag_CXX= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$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' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_CXX= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } ld_shlibs_CXX=yes case $host_os in aix3*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_CXX='' hardcode_direct_CXX=yes hardcode_direct_absolute_CXX=yes hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes file_list_spec_CXX='${wl}-f,' if test "$GXX" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct_CXX=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_CXX=yes hardcode_libdir_flag_spec_CXX='-L$libdir' hardcode_libdir_separator_CXX= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi export_dynamic_flag_spec_CXX='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. always_export_symbols_CXX=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty # executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath__CXX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath__CXX"; then lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath__CXX"; then lt_cv_aix_libpath__CXX="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath__CXX fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_CXX="-z nodefs" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath__CXX+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath__CXX"; then lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath__CXX"; then lt_cv_aix_libpath__CXX="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath__CXX fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_CXX='$convenience' fi archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared # libraries. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_CXX=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_CXX=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) 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. hardcode_libdir_flag_spec_CXX=' ' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=yes file_list_spec_CXX='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $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, CXX)='true' enable_shared_with_static_runtimes_CXX=yes # Don't use ranlib old_postinstall_cmds_CXX='chmod 644 $oldlib' postlink_cmds_CXX='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, CXX) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_CXX='-L$libdir' export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=no enable_shared_with_static_runtimes_CXX=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_CXX=no fi ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc_CXX=no hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported if test "$lt_cv_ld_force_load" = "yes"; then whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec_CXX='' fi link_all_deplibs_CXX=yes allow_undefined_flag_CXX="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" if test "$lt_cv_apple_cc_single_mod" != "yes"; then archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi else ld_shlibs_CXX=no fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes ;; haiku*) archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' link_all_deplibs_CXX=yes ;; hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then archive_cmds_CXX='$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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: case $host_cpu in hppa*64*|ia64*) ;; *) export_dynamic_flag_spec_CXX='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no ;; *) hardcode_direct_CXX=yes hardcode_direct_absolute_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$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 ld_shlibs_CXX=no fi ;; esac ;; interix[3-9]*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && 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. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then archive_cmds_CXX='$CC -shared $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 archive_cmds_CXX='$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 link_all_deplibs_CXX=yes ;; esac hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: inherit_rpath_CXX=yes ;; linux* | k*bsd*-gnu | 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. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac archive_cmds_need_lc_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [1-5].* | *pgcpp\ [1-5].*) prelink_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' old_archive_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' archive_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | 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 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; esac hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`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 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' hardcode_libdir_flag_spec_CXX='-R$libdir' whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object_CXX=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='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. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; m88k*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) ld_shlibs_CXX=yes ;; openbsd2*) # C++ shared libraries are fairly broken ld_shlibs_CXX=no ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no hardcode_direct_absolute_CXX=yes archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else ld_shlibs_CXX=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) case $host in osf3*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' ;; *) allow_undefined_flag_CXX=' -expect_unresolved \*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' ;; esac hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`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 "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) archive_cmds_CXX='$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 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' ;; esac link_all_deplibs_CXX=yes output_verbose_link_cmd='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. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_CXX='${wl}-z,text' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_CXX='${wl}-z,text' allow_undefined_flag_CXX='${wl}-z,nodefs' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes export_dynamic_flag_spec_CXX='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ '"$old_archive_cmds_CXX" reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ '"$reload_cmds_CXX" ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" LD_CXX="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... # Dependencies to place before and after the object being linked: predep_objects_CXX= postdep_objects_CXX= predeps_CXX= postdeps_CXX= compiler_lib_search_path_CXX= cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF _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 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" || test $p = "-R"; then prev=$p continue 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 "$pre_test_object_deps_done" = no; 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 "$compiler_lib_search_path_CXX"; then compiler_lib_search_path_CXX="${prev}${p}" else compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$postdeps_CXX"; then postdeps_CXX="${prev}${p}" else postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi 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 "$pre_test_object_deps_done" = no; then if test -z "$predep_objects_CXX"; then predep_objects_CXX="$p" else predep_objects_CXX="$predep_objects_CXX $p" fi else if test -z "$postdep_objects_CXX"; then postdep_objects_CXX="$p" else postdep_objects_CXX="$postdep_objects_CXX $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling CXX test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken case $host_os in interix[3-9]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. predep_objects_CXX= postdep_objects_CXX= postdeps_CXX= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then postdeps_CXX='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then postdeps_CXX='-library=Cstd -library=Crun' fi ;; esac ;; esac case " $postdeps_CXX " in *" -lc "*) archive_cmds_need_lc_CXX=no ;; esac compiler_lib_search_dirs_CXX= if test -n "${compiler_lib_search_path_CXX}"; then compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi lt_prog_compiler_wl_CXX= lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic_CXX='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_CXX='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static_CXX= ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic_CXX='-fPIC -shared' ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac else case $host_os in aix[4-9]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' else lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; 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). lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; dgux*) case $cc_basename in ec++*) lt_prog_compiler_pic_CXX='-KPIC' ;; ghcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then lt_prog_compiler_pic_CXX='+Z' fi ;; aCC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_CXX='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in KCC*) # KAI C++ Compiler lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64 which still supported -KPIC. lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-fPIC' lt_prog_compiler_static_CXX='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-fpic' lt_prog_compiler_static_CXX='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) # IBM XL 8.0, 9.0 on PPC and BlueGene lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-qpic' lt_prog_compiler_static_CXX='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) lt_prog_compiler_pic_CXX='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic_CXX='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) lt_prog_compiler_wl_CXX='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 lt_prog_compiler_pic_CXX='-pic' ;; cxx*) # Digital/Compaq C++ lt_prog_compiler_wl_CXX='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_static_CXX='-Bstatic' ;; lcc*) # Lucid lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 lt_prog_compiler_pic_CXX='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) lt_prog_compiler_can_build_shared_CXX=no ;; esac fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_CXX= ;; *) lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works_CXX=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in "" | " "*) ;; *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; esac else lt_prog_compiler_pic_CXX= lt_prog_compiler_can_build_shared_CXX=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works_CXX=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works_CXX=yes fi else lt_cv_prog_compiler_static_works_CXX=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then : else lt_prog_compiler_static_CXX= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o_CXX=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms_CXX='_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 AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global defined # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' ;; esac ;; linux* | k*bsd*-gnu | gnu*) link_all_deplibs_CXX=no ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 $as_echo "$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no with_gnu_ld_CXX=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_CXX" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_CXX=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_CXX in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_CXX pic_flag=$lt_prog_compiler_pic_CXX compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc_CXX=no else lt_cv_archive_cmds_need_lc_CXX=yes fi allow_undefined_flag_CXX=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # 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 "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # 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}' ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_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} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; 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=yes 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 "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # 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 "$lt_cv_prog_gnu_ld" = yes; 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 ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;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*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # 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 "$with_gnu_ld" = yes; 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=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || test -n "$runpath_var_CXX" || test "X$hardcode_automatic_CXX" = "Xyes" ; then # We can hardcode non-existent directories. if test "$hardcode_direct_CXX" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && test "$hardcode_minus_L_CXX" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_CXX=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_CXX=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_CXX=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 $as_echo "$hardcode_action_CXX" >&6; } if test "$hardcode_action_CXX" = relink || test "$inherit_rpath_CXX" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi fi # test -n "$compiler" CC=$lt_save_CC 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 "$_lt_caught_CXX_error" != yes ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ac_config_commands="$ac_config_commands libtool" # Only expand once: # Check whether --enable-SINFO_REQUEST_PORT was given. if test "${enable_SINFO_REQUEST_PORT+set}" = set; then : enableval=$enable_SINFO_REQUEST_PORT; SINFO_REQUEST_PORT=$enableval { $as_echo "$as_me:${as_lineno-$LINENO}: result: using SINFO_REQUEST_PORT=$enableval" >&5 $as_echo "using SINFO_REQUEST_PORT=$enableval" >&6; } else SINFO_REQUEST_PORT=60002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using SINFO_REQUEST_PORT=60002(default) " >&5 $as_echo "using SINFO_REQUEST_PORT=60002(default) " >&6; } fi # Check whether --enable-SINFO_BROADCAST_PORT was given. if test "${enable_SINFO_BROADCAST_PORT+set}" = set; then : enableval=$enable_SINFO_BROADCAST_PORT; SINFO_BROADCAST_PORT=$enableval { $as_echo "$as_me:${as_lineno-$LINENO}: result: using SINFO_BROADCAST_PORT=$enableval" >&5 $as_echo "using SINFO_BROADCAST_PORT=$enableval" >&6; } else SINFO_BROADCAST_PORT=60003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using SINFO_BROADCAST_PORT=60003(default) " >&5 $as_echo "using SINFO_BROADCAST_PORT=60003(default) " >&6; } fi # Check whether --enable-SIMPLE_USER_CACHE was given. if test "${enable_SIMPLE_USER_CACHE+set}" = set; then : enableval=$enable_SIMPLE_USER_CACHE; $as_echo "#define SIMPLE_USER_CACHE 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: result: SIMPLE_USER_CACHE enabled" >&5 $as_echo "SIMPLE_USER_CACHE enabled" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: SIMPLE_USER_CACHE disabled" >&5 $as_echo "SIMPLE_USER_CACHE disabled" >&6; } fi # Check whether --enable-IPv6 was given. if test "${enable_IPv6+set}" = set; then : enableval=$enable_IPv6; want_ipv6=$enableval else want_ipv6=yes fi if test "x$want_ipv6" = "xyes"; then $as_echo "#define ENABLEIPv6 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPv6 enabled" >&5 $as_echo "IPv6 enabled" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPv6 disabled" >&5 $as_echo "IPv6 disabled" >&6; } fi # Check whether --enable-CPUNO_ADJUST was given. if test "${enable_CPUNO_ADJUST+set}" = set; then : enableval=$enable_CPUNO_ADJUST; $as_echo "#define CPUNO_ADJUST 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: result: CPUNO_ADJUST enabled" >&5 $as_echo "CPUNO_ADJUST enabled" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: CPUNO_ADJUST disabled" >&5 $as_echo "CPUNO_ADJUST disabled" >&6; } fi # Check whether --with-ncurses was given. if test "${with_ncurses+set}" = set; then : withval=$with_ncurses; else with_ncurses=check fi # Check whether --with-ncursesw was given. if test "${with_ncursesw+set}" = set; then : withval=$with_ncursesw; else with_ncursesw=check fi ax_saved_LIBS=$LIBS if test "x$with_ncurses" = xyes || test "x$with_ncursesw" = xyes; then : ax_with_plaincurses=no else ax_with_plaincurses=check fi ax_cv_curses_which=no # Test for NcursesW if test "x$CURSES_LIB" = x && test "x$with_ncursesw" != xno; then : LIBS="$ax_saved_LIBS -lncursesw" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NcursesW wide-character library" >&5 $as_echo_n "checking for NcursesW wide-character library... " >&6; } if ${ax_cv_ncursesw+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char initscr (); int main () { return initscr (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_ncursesw=yes else ax_cv_ncursesw=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_ncursesw" >&5 $as_echo "$ax_cv_ncursesw" >&6; } if test "x$ax_cv_ncursesw" = xno && test "x$with_ncursesw" = xyes; then : as_fn_error $? "--with-ncursesw specified but could not find NcursesW library" "$LINENO" 5 fi if test "x$ax_cv_ncursesw" = xyes; then : ax_cv_curses=yes ax_cv_curses_which=ncursesw CURSES_LIB="-lncursesw" $as_echo "#define HAVE_NCURSESW 1" >>confdefs.h $as_echo "#define HAVE_CURSES 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working ncursesw/curses.h" >&5 $as_echo_n "checking for working ncursesw/curses.h... " >&6; } if ${ax_cv_header_ncursesw_curses_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_header_ncursesw_curses_h=yes else ax_cv_header_ncursesw_curses_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_header_ncursesw_curses_h" >&5 $as_echo "$ax_cv_header_ncursesw_curses_h" >&6; } if test "x$ax_cv_header_ncursesw_curses_h" = xyes; then : ax_cv_curses_enhanced=yes ax_cv_curses_color=yes ax_cv_curses_obsolete=yes $as_echo "#define HAVE_CURSES_ENHANCED 1" >>confdefs.h $as_echo "#define HAVE_CURSES_COLOR 1" >>confdefs.h $as_echo "#define HAVE_CURSES_OBSOLETE 1" >>confdefs.h $as_echo "#define HAVE_NCURSESW_CURSES_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working ncursesw.h" >&5 $as_echo_n "checking for working ncursesw.h... " >&6; } if ${ax_cv_header_ncursesw_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_header_ncursesw_h=yes else ax_cv_header_ncursesw_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_header_ncursesw_h" >&5 $as_echo "$ax_cv_header_ncursesw_h" >&6; } if test "x$ax_cv_header_ncursesw_h" = xyes; then : ax_cv_curses_enhanced=yes ax_cv_curses_color=yes ax_cv_curses_obsolete=yes $as_echo "#define HAVE_CURSES_ENHANCED 1" >>confdefs.h $as_echo "#define HAVE_CURSES_COLOR 1" >>confdefs.h $as_echo "#define HAVE_CURSES_OBSOLETE 1" >>confdefs.h $as_echo "#define HAVE_NCURSESW_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working ncurses.h" >&5 $as_echo_n "checking for working ncurses.h... " >&6; } if ${ax_cv_header_ncurses_h_with_ncursesw+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_header_ncurses_h_with_ncursesw=yes else ax_cv_header_ncurses_h_with_ncursesw=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_header_ncurses_h_with_ncursesw" >&5 $as_echo "$ax_cv_header_ncurses_h_with_ncursesw" >&6; } if test "x$ax_cv_header_ncurses_h_with_ncursesw" = xyes; then : ax_cv_curses_enhanced=yes ax_cv_curses_color=yes ax_cv_curses_obsolete=yes $as_echo "#define HAVE_CURSES_ENHANCED 1" >>confdefs.h $as_echo "#define HAVE_CURSES_COLOR 1" >>confdefs.h $as_echo "#define HAVE_CURSES_OBSOLETE 1" >>confdefs.h $as_echo "#define HAVE_NCURSES_H 1" >>confdefs.h fi if test "x$ax_cv_header_ncursesw_curses_h" = xno && test "x$ax_cv_header_ncursesw_h" = xno && test "x$ax_cv_header_ncurses_h_with_ncursesw" = xno; then : { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find a working ncursesw/curses.h, ncursesw.h or ncurses.h" >&5 $as_echo "$as_me: WARNING: could not find a working ncursesw/curses.h, ncursesw.h or ncurses.h" >&2;} fi fi fi # Test for Ncurses if test "x$CURSES_LIB" = x && test "x$with_ncurses" != xno && test "x$ax_cv_curses_which" = xno; then : LIBS="$ax_saved_LIBS -lncurses" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ncurses library" >&5 $as_echo_n "checking for Ncurses library... " >&6; } if ${ax_cv_ncurses+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char initscr (); int main () { return initscr (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_ncurses=yes else ax_cv_ncurses=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_ncurses" >&5 $as_echo "$ax_cv_ncurses" >&6; } if test "x$ax_cv_ncurses" = xno && test "x$with_ncurses" = xyes; then : as_fn_error $? "--with-ncurses specified but could not find Ncurses library" "$LINENO" 5 fi if test "x$ax_cv_ncurses" = xyes; then : ax_cv_curses=yes ax_cv_curses_which=ncurses CURSES_LIB="-lncurses" $as_echo "#define HAVE_NCURSES 1" >>confdefs.h $as_echo "#define HAVE_CURSES 1" >>confdefs.h { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working ncurses/curses.h" >&5 $as_echo_n "checking for working ncurses/curses.h... " >&6; } if ${ax_cv_header_ncurses_curses_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_header_ncurses_curses_h=yes else ax_cv_header_ncurses_curses_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_header_ncurses_curses_h" >&5 $as_echo "$ax_cv_header_ncurses_curses_h" >&6; } if test "x$ax_cv_header_ncurses_curses_h" = xyes; then : ax_cv_curses_color=yes ax_cv_curses_obsolete=yes $as_echo "#define HAVE_CURSES_COLOR 1" >>confdefs.h $as_echo "#define HAVE_CURSES_OBSOLETE 1" >>confdefs.h $as_echo "#define HAVE_NCURSES_CURSES_H 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working ncurses.h" >&5 $as_echo_n "checking for working ncurses.h... " >&6; } if ${ax_cv_header_ncurses_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_header_ncurses_h=yes else ax_cv_header_ncurses_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_header_ncurses_h" >&5 $as_echo "$ax_cv_header_ncurses_h" >&6; } if test "x$ax_cv_header_ncurses_h" = xyes; then : ax_cv_curses_color=yes ax_cv_curses_obsolete=yes $as_echo "#define HAVE_CURSES_COLOR 1" >>confdefs.h $as_echo "#define HAVE_CURSES_OBSOLETE 1" >>confdefs.h $as_echo "#define HAVE_NCURSES_H 1" >>confdefs.h fi if test "x$ax_cv_header_ncurses_curses_h" = xno && test "x$ax_cv_header_ncurses_h" = xno; then : { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find a working ncurses/curses.h or ncurses.h" >&5 $as_echo "$as_me: WARNING: could not find a working ncurses/curses.h or ncurses.h" >&2;} fi fi fi # Test for plain Curses (or if CURSES_LIB was set by user) if test "x$with_plaincurses" != xno && test "x$ax_cv_curses_which" = xno; then : if test "x$CURSES_LIB" != x; then : LIBS="$ax_saved_LIBS $CURSES_LIB" else LIBS="$ax_saved_LIBS -lcurses" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Curses library" >&5 $as_echo_n "checking for Curses library... " >&6; } if ${ax_cv_plaincurses+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char initscr (); int main () { return initscr (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_plaincurses=yes else ax_cv_plaincurses=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_plaincurses" >&5 $as_echo "$ax_cv_plaincurses" >&6; } if test "x$ax_cv_plaincurses" = xyes; then : ax_cv_curses=yes ax_cv_curses_which=plaincurses if test "x$CURSES_LIB" = x; then : CURSES_LIB="-lcurses" fi $as_echo "#define HAVE_CURSES 1" >>confdefs.h # Check for base conformance (and header file) { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working curses.h" >&5 $as_echo_n "checking for working curses.h... " >&6; } if ${ax_cv_header_curses_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; initscr(); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_header_curses_h=yes else ax_cv_header_curses_h=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_header_curses_h" >&5 $as_echo "$ax_cv_header_curses_h" >&6; } if test "x$ax_cv_header_curses_h" = xyes; then : $as_echo "#define HAVE_CURSES_H 1" >>confdefs.h # Check for X/Open Enhanced conformance { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X/Open Enhanced Curses conformance" >&5 $as_echo_n "checking for X/Open Enhanced Curses conformance... " >&6; } if ${ax_cv_plaincurses_enhanced+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include #ifndef _XOPEN_CURSES #error "this Curses library is not enhanced" "this Curses library is not enhanced" #endif int main () { chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_plaincurses_enhanced=yes else ax_cv_plaincurses_enhanced=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_plaincurses_enhanced" >&5 $as_echo "$ax_cv_plaincurses_enhanced" >&6; } if test "x$ax_cv_plaincurses_enhanced" = xyes; then : ax_cv_curses_enhanced=yes ax_cv_curses_color=yes $as_echo "#define HAVE_CURSES_ENHANCED 1" >>confdefs.h $as_echo "#define HAVE_CURSES_COLOR 1" >>confdefs.h fi # Check for color functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Curses color functions" >&5 $as_echo_n "checking for Curses color functions... " >&6; } if ${ax_cv_plaincurses_color+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _XOPEN_SOURCE_EXTENDED 1 #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_plaincurses_color=yes else ax_cv_plaincurses_color=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_plaincurses_color" >&5 $as_echo "$ax_cv_plaincurses_color" >&6; } if test "x$ax_cv_plaincurses_color" = xyes; then : ax_cv_curses_color=yes $as_echo "#define HAVE_CURSES_COLOR 1" >>confdefs.h fi # Check for obsolete functions { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete Curses functions" >&5 $as_echo_n "checking for obsolete Curses functions... " >&6; } if ${ax_cv_plaincurses_obsolete+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { chtype a = A_BOLD; int b = KEY_LEFT; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ax_cv_plaincurses_obsolete=yes else ax_cv_plaincurses_obsolete=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_plaincurses_obsolete" >&5 $as_echo "$ax_cv_plaincurses_obsolete" >&6; } if test "x$ax_cv_plaincurses_obsolete" = xyes; then : ax_cv_curses_obsolete=yes $as_echo "#define HAVE_CURSES_OBSOLETE 1" >>confdefs.h fi fi if test "x$ax_cv_header_curses_h" = xno; then : { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not find a working curses.h" >&5 $as_echo "$as_me: WARNING: could not find a working curses.h" >&2;} fi fi fi if test "x$ax_cv_curses" != xyes; then : ax_cv_curses=no fi if test "x$ax_cv_curses_enhanced" != xyes; then : ax_cv_curses_enhanced=no fi if test "x$ax_cv_curses_color" != xyes; then : ax_cv_curses_color=no fi if test "x$ax_cv_curses_obsolete" != xyes; then : ax_cv_curses_obsolete=no fi LIBS=$ax_saved_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: checking for use_default_colors in -lncurses" >&5 $as_echo_n "checking for use_default_colors in -lncurses... " >&6; } if ${ac_cv_lib_ncurses_use_default_colors+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lncurses $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char use_default_colors (); int main () { return use_default_colors (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_ncurses_use_default_colors=yes else ac_cv_lib_ncurses_use_default_colors=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_use_default_colors" >&5 $as_echo "$ac_cv_lib_ncurses_use_default_colors" >&6; } if test "x$ac_cv_lib_ncurses_use_default_colors" = xyes; then : $as_echo "#define HAVEDEFAULTCOLORS 1" >>confdefs.h else echo update ncurses for better color support fi # Checks for header files. ac_header_dirent=no for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } if eval \${$as_ac_Header+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include <$ac_hdr> int main () { if ((DIR *) 0) return 0; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : eval "$as_ac_Header=yes" else eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$as_ac_Header { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 _ACEOF ac_header_dirent=$ac_hdr; break fi done # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. if test $ac_header_dirent = dirent.h; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' dir; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_search_opendir=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_opendir+:} false; then : break fi done if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 $as_echo "$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 $as_echo_n "checking for library containing opendir... " >&6; } if ${ac_cv_search_opendir+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char opendir (); int main () { return opendir (); ; return 0; } _ACEOF for ac_lib in '' x; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_search_opendir=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_opendir+:} false; then : break fi done if ${ac_cv_search_opendir+:} false; then : else ac_cv_search_opendir=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 $as_echo "$ac_cv_search_opendir" >&6; } ac_res=$ac_cv_search_opendir if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_cxx_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; } if ${ac_cv_header_sys_types_h_makedev+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return makedev(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_header_sys_types_h_makedev=yes else ac_cv_header_sys_types_h_makedev=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; } if test $ac_cv_header_sys_types_h_makedev = no; then ac_fn_cxx_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default" if test "x$ac_cv_header_sys_mkdev_h" = xyes; then : $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h fi if test $ac_cv_header_sys_mkdev_h = no; then ac_fn_cxx_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default" if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then : $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; } if ${ac_cv_header_sys_wait_h+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #ifndef WEXITSTATUS # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) #endif #ifndef WIFEXITED # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) #endif int main () { int s; wait (&s); s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_header_sys_wait_h=yes else ac_cv_header_sys_wait_h=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5 $as_echo "$ac_cv_header_sys_wait_h" >&6; } if test $ac_cv_header_sys_wait_h = yes; then $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h fi for ac_header in arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h stdlib.h string.h sys/param.h sys/socket.h sys/time.h unistd.h utmp.h getopt.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Checks for typedefs, structures, and compiler characteristics. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } if ${ac_cv_c_const+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __cplusplus /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this sort of thing. */ char tx; char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; } bx; struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #endif ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_c_const=yes else ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then $as_echo "#define const /**/" >>confdefs.h fi ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" if test "x$ac_cv_type_size_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define size_t unsigned int _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } if ${ac_cv_header_time+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_header_time=yes else ac_cv_header_time=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 $as_echo "$ac_cv_header_time" >&6; } if test $ac_cv_header_time = yes; then $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h fi ac_fn_cxx_check_decl "$LINENO" "getopt" "ac_cv_have_decl_getopt" "$ac_includes_default" if test "x$ac_cv_have_decl_getopt" = xyes; then : ac_have_decl=1 else ac_have_decl=0 fi cat >>confdefs.h <<_ACEOF #define HAVE_DECL_GETOPT $ac_have_decl _ACEOF # check if we have to use the FreeBSD 5.0 conventions ac_fn_cxx_check_member "$LINENO" "struct kinfo_proc" "ki_pid" "ac_cv_member_struct_kinfo_proc_ki_pid" " #include #include #include #include #include " if test "x$ac_cv_member_struct_kinfo_proc_ki_pid" = xyes; then : $as_echo "#define HAVE_STRUCT_KINFO_PROC_KI_PID 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkvm" >&5 $as_echo_n "checking for main in -lkvm... " >&6; } if ${ac_cv_lib_kvm_main+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lkvm $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_kvm_main=yes else ac_cv_lib_kvm_main=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_main" >&5 $as_echo "$ac_cv_lib_kvm_main" >&6; } if test "x$ac_cv_lib_kvm_main" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBKVM 1 _ACEOF LIBS="-lkvm $LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgnugetopt" >&5 $as_echo_n "checking for main in -lgnugetopt... " >&6; } if ${ac_cv_lib_gnugetopt_main+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lgnugetopt $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_gnugetopt_main=yes else ac_cv_lib_gnugetopt_main=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnugetopt_main" >&5 $as_echo "$ac_cv_lib_gnugetopt_main" >&6; } if test "x$ac_cv_lib_gnugetopt_main" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBGNUGETOPT 1 _ACEOF LIBS="-lgnugetopt $LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5 $as_echo_n "checking for main in -lsocket... " >&6; } if ${ac_cv_lib_socket_main+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsocket $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_socket_main=yes else ac_cv_lib_socket_main=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5 $as_echo "$ac_cv_lib_socket_main" >&6; } if test "x$ac_cv_lib_socket_main" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBSOCKET 1 _ACEOF LIBS="-lsocket $LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5 $as_echo_n "checking for main in -lnsl... " >&6; } if ${ac_cv_lib_nsl_main+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_nsl_main=yes else ac_cv_lib_nsl_main=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5 $as_echo "$ac_cv_lib_nsl_main" >&6; } if test "x$ac_cv_lib_nsl_main" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBNSL 1 _ACEOF LIBS="-lnsl $LIBS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkstat" >&5 $as_echo_n "checking for main in -lkstat... " >&6; } if ${ac_cv_lib_kstat_main+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lkstat $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_kstat_main=yes else ac_cv_lib_kstat_main=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_main" >&5 $as_echo "$ac_cv_lib_kstat_main" >&6; } if test "x$ac_cv_lib_kstat_main" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBKSTAT 1 _ACEOF LIBS="-lkstat $LIBS" fi # Checks for library functions. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 $as_echo_n "checking for error_at_line... " >&6; } if ${ac_cv_lib_error_at_line+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { error_at_line (0, 0, "", 0, "an error occurred"); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_error_at_line=yes else ac_cv_lib_error_at_line=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 $as_echo "$ac_cv_lib_error_at_line" >&6; } if test $ac_cv_lib_error_at_line = no; then case " $LIBOBJS " in *" error.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS error.$ac_objext" ;; esac fi for ac_header in vfork.h do : ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" if test "x$ac_cv_header_vfork_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VFORK_H 1 _ACEOF fi done for ac_func in fork vfork do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "x$ac_cv_func_fork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 $as_echo_n "checking for working fork... " >&6; } if ${ac_cv_func_fork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_fork_works=cross else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* By Ruediger Kuhlmann. */ return fork () < 0; ; return 0; } _ACEOF if ac_fn_cxx_try_run "$LINENO"; then : ac_cv_func_fork_works=yes else ac_cv_func_fork_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 $as_echo "$ac_cv_func_fork_works" >&6; } else ac_cv_func_fork_works=$ac_cv_func_fork fi if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 $as_echo_n "checking for working vfork... " >&6; } if ${ac_cv_func_vfork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_vfork_works=cross else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Thanks to Paul Eggert for this test. */ $ac_includes_default #include #ifdef HAVE_VFORK_H # include #endif /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void #ifdef __cplusplus sparc_address_test (int arg) # else sparc_address_test (arg) int arg; #endif { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } int main () { pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; return ( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } } _ACEOF if ac_fn_cxx_try_run "$LINENO"; then : ac_cv_func_vfork_works=yes else ac_cv_func_vfork_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 $as_echo "$ac_cv_func_vfork_works" >&6; } fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} fi if test "x$ac_cv_func_vfork_works" = xyes; then $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h else $as_echo "#define vfork fork" >>confdefs.h fi if test "x$ac_cv_func_fork_works" = xyes; then $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h fi for ac_header in stdlib.h do : ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_malloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { return ! malloc (0); ; return 0; } _ACEOF if ac_fn_cxx_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } if test $ac_cv_func_malloc_0_nonnull = yes; then : $as_echo "#define HAVE_MALLOC 1" >>confdefs.h else $as_echo "#define HAVE_MALLOC 0" >>confdefs.h case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; esac $as_echo "#define malloc rpl_malloc" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 $as_echo_n "checking return type of signal handlers... " >&6; } if ${ac_cv_type_signal+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include int main () { return *(signal (0, 0)) (0) == 1; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ac_cv_type_signal=int else ac_cv_type_signal=void fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 $as_echo "$ac_cv_type_signal" >&6; } cat >>confdefs.h <<_ACEOF #define RETSIGTYPE $ac_cv_type_signal _ACEOF for ac_func in getopt_long do : ac_fn_cxx_check_func "$LINENO" "getopt_long" "ac_cv_func_getopt_long" if test "x$ac_cv_func_getopt_long" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_GETOPT_LONG 1 _ACEOF fi done for ac_func in daemon do : ac_fn_cxx_check_func "$LINENO" "daemon" "ac_cv_func_daemon" if test "x$ac_cv_func_daemon" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DAEMON 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lresolv" >&5 $as_echo_n "checking for main in -lresolv... " >&6; } if ${ac_cv_lib_resolv_main+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lresolv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : ac_cv_lib_resolv_main=yes else ac_cv_lib_resolv_main=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_main" >&5 $as_echo "$ac_cv_lib_resolv_main" >&6; } if test "x$ac_cv_lib_resolv_main" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LIBRESOLV 1 _ACEOF LIBS="-lresolv $LIBS" fi for ac_func in hstrerror do : ac_fn_cxx_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror" if test "x$ac_cv_func_hstrerror" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_HSTRERROR 1 _ACEOF fi done for ac_func in atexit gethostbyaddr gethostbyname getpagesize gettimeofday inet_ntoa memset select socket strerror strstr uname do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Check whether --with-boost was given. if test "${with_boost+set}" = set; then : withval=$with_boost; 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 else want_boost="yes" fi # Check whether --with-boost-libdir was given. if test "${with_boost_libdir+set}" = set; then : withval=$with_boost_libdir; if test -d "$withval" then ac_boost_lib_path="$withval" else as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5 fi else ac_boost_lib_path="" fi if test "x$want_boost" = "xyes"; then boost_lib_version_req=1.36 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` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5 $as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; } succeeded=no libsubdirs="lib" ax_arch=`uname -m` if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then libsubdirs="lib64 lib lib64" fi if test "$ac_boost_path" != ""; then BOOST_CPPFLAGS="-I$ac_boost_path/include" for ac_boost_path_tmp in $libsubdirs; do if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp" break fi done elif test "$cross_compiling" != yes; then for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then for libsubdir in $libsubdirs ; do if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir" BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" break; fi done fi if test "$ac_boost_lib_path" != ""; then BOOST_LDFLAGS="-L$ac_boost_lib_path" fi CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if BOOST_VERSION >= $WANT_BOOST_VERSION // Everything is okay #else # error Boost version is too old #endif ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes found_system=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test "x$succeeded" != "xyes"; then _version=0 if test "$ac_boost_path" != ""; then 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 if test "$cross_compiling" != yes; then for ac_boost_path in /usr /usr/local /opt /opt/local ; 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" if test "$ac_boost_lib_path" = ""; then for libsubdir in $libsubdirs ; do if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done BOOST_LDFLAGS="-L$best_path/$libsubdir" fi fi if test "x$BOOST_ROOT" != "x"; then for libsubdir in $libsubdirs ; do if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; 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" -a "$ac_boost_lib_path" = "" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5 $as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;} BOOST_CPPFLAGS="-I$BOOST_ROOT" BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir" fi fi fi fi CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { #if BOOST_VERSION >= $WANT_BOOST_VERSION // Everything is okay #else # error Boost version is too old #endif ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } succeeded=yes found_system=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi if test "$succeeded" != "yes" ; then if test "$_version" = "0" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: 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." >&5 $as_echo "$as_me: 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." >&6;} else { $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5 $as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;} fi # execute ACTION-IF-NOT-FOUND (if present): : else $as_echo "#define HAVE_BOOST /**/" >>confdefs.h # execute ACTION-IF-FOUND (if present): : fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi # Check whether --with-boost-signals was given. if test "${with_boost_signals+set}" = set; then : withval=$with_boost_signals; if test "$withval" = "no"; then want_boost="no" elif test "$withval" = "yes"; then want_boost="yes" ax_boost_user_signals_lib="" else want_boost="yes" ax_boost_user_signals_lib="$withval" fi else want_boost="yes" fi if test "x$want_boost" = "xyes"; then CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Signals library is available" >&5 $as_echo_n "checking whether the Boost::Signals library is available... " >&6; } if ${ax_cv_boost_signals+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { boost::signal sig; return 0; ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ax_cv_boost_signals=yes else ax_cv_boost_signals=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_signals" >&5 $as_echo "$ax_cv_boost_signals" >&6; } if test "x$ax_cv_boost_signals" = "xyes"; then $as_echo "#define HAVE_BOOST_SIGNALS /**/" >>confdefs.h BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` if test "x$ax_boost_user_signals_lib" = "x"; then for libextension in `ls $BOOSTLIBDIR/libboost_signals*.so* $BOOSTLIBDIR/libboost_signals*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_signals.*\)\.so.*$;\1;' -e 's;^lib\(boost_signals.*\)\.a*$;\1;'` ; do ax_lib=${libextension} as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5 $as_echo_n "checking for exit in -l$ax_lib... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l$ax_lib $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char exit (); int main () { return exit (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : eval "$as_ac_Lib=yes" else eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : BOOST_SIGNALS_LIB="-l$ax_lib"; link_signals="yes"; break else link_signals="no" fi done if test "x$link_signals" != "xyes"; then for libextension in `ls $BOOSTLIBDIR/boost_signals*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_signals.*\)\.dll.*$;\1;' -e 's;^\(boost_signals.*\)\.a*$;\1;'` ; do ax_lib=${libextension} as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5 $as_echo_n "checking for exit in -l$ax_lib... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l$ax_lib $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char exit (); int main () { return exit (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : eval "$as_ac_Lib=yes" else eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : BOOST_SIGNALS_LIB="-l$ax_lib"; link_signals="yes"; break else link_signals="no" fi done fi else for ax_lib in $ax_boost_user_signals_lib boost_signals-$ax_boost_user_signals_lib; do as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5 $as_echo_n "checking for main in -l$ax_lib... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l$ax_lib $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { return main (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : eval "$as_ac_Lib=yes" else eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : BOOST_SIGNALS_LIB="-l$ax_lib"; link_signals="yes"; break else link_signals="no" fi done fi if test "x$ax_lib" = "x"; then as_fn_error $? "Could not find a version of the library!" "$LINENO" 5 fi if test "x$link_signals" != "xyes"; then as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5 fi fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi # Check whether --with-boost-system was given. if test "${with_boost_system+set}" = set; then : withval=$with_boost_system; if test "$withval" = "no"; then want_boost="no" elif test "$withval" = "yes"; then want_boost="yes" ax_boost_user_system_lib="" else want_boost="yes" ax_boost_user_system_lib="$withval" fi else want_boost="yes" fi if test "x$want_boost" = "xyes"; then CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::System library is available" >&5 $as_echo_n "checking whether the Boost::System library is available... " >&6; } if ${ax_cv_boost_system+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu CXXFLAGS_SAVE=$CXXFLAGS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { boost::system::system_category ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : ax_cv_boost_system=yes else ax_cv_boost_system=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CXXFLAGS=$CXXFLAGS_SAVE ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_system" >&5 $as_echo "$ax_cv_boost_system" >&6; } if test "x$ax_cv_boost_system" = "xyes"; then $as_echo "#define HAVE_BOOST_SYSTEM /**/" >>confdefs.h BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'` LDFLAGS_SAVE=$LDFLAGS if test "x$ax_boost_user_system_lib" = "x"; then for libextension in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.a*$;\1;'` ; do ax_lib=${libextension} as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5 $as_echo_n "checking for exit in -l$ax_lib... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l$ax_lib $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char exit (); int main () { return exit (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : eval "$as_ac_Lib=yes" else eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break else link_system="no" fi done if test "x$link_system" != "xyes"; then for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.dll.*$;\1;' -e 's;^\(boost_system.*\)\.a*$;\1;'` ; do ax_lib=${libextension} as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5 $as_echo_n "checking for exit in -l$ax_lib... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l$ax_lib $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char exit (); int main () { return exit (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : eval "$as_ac_Lib=yes" else eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break else link_system="no" fi done fi else for ax_lib in $ax_boost_user_system_lib boost_system-$ax_boost_user_system_lib; do as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5 $as_echo_n "checking for exit in -l$ax_lib... " >&6; } if eval \${$as_ac_Lib+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-l$ax_lib $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char exit (); int main () { return exit (); ; return 0; } _ACEOF if ac_fn_cxx_try_link "$LINENO"; then : eval "$as_ac_Lib=yes" else eval "$as_ac_Lib=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi eval ac_res=\$$as_ac_Lib { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : BOOST_SYSTEM_LIB="-l$ax_lib"; link_system="yes"; break else link_system="no" fi done fi if test "x$ax_lib" = "x"; then as_fn_error $? "Could not find a version of the library!" "$LINENO" 5 fi if test "x$link_system" = "xno"; then as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5 fi fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi ac_config_files="$ac_config_files Makefile html/Makefile html/pics/Makefile sinfod/Makefile sinfo/Makefile addon/Makefile libsinfotypes/Makefile libsinfometer/Makefile libprotocol/Makefile libprotocolasio/Makefile librpc/Makefile libmessage/Makefile libmessage/testmessage/Makefile libmessageparser/Makefile libmessageiobase/Makefile libmessageio/Makefile cgi/Makefile cgi/sinfo.pl.cgi libsinfotypes/sinfo.h" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' :mline /\\$/{ N s,\\\n,, b mline } t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by sinfo $as_me 0.0.48, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Configuration commands: $config_commands Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ sinfo config.status 0.0.48 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ nm_file_list_spec \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib \ compiler_lib_search_dirs \ predep_objects \ postdep_objects \ predeps \ postdeps \ compiler_lib_search_path \ LD_CXX \ reload_flag_CXX \ compiler_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ lt_prog_compiler_pic_CXX \ lt_prog_compiler_wl_CXX \ lt_prog_compiler_static_CXX \ lt_cv_prog_compiler_c_o_CXX \ export_dynamic_flag_spec_CXX \ whole_archive_flag_spec_CXX \ compiler_needs_object_CXX \ with_gnu_ld_CXX \ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_separator_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX \ file_list_spec_CXX \ compiler_lib_search_dirs_CXX \ predep_objects_CXX \ postdep_objects_CXX \ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec \ reload_cmds_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ archive_cmds_CXX \ archive_expsym_cmds_CXX \ module_cmds_CXX \ module_expsym_cmds_CXX \ export_symbols_cmds_CXX \ prelink_cmds_CXX \ postlink_cmds_CXX; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' lt_shell_append='$lt_shell_append' # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "html/Makefile") CONFIG_FILES="$CONFIG_FILES html/Makefile" ;; "html/pics/Makefile") CONFIG_FILES="$CONFIG_FILES html/pics/Makefile" ;; "sinfod/Makefile") CONFIG_FILES="$CONFIG_FILES sinfod/Makefile" ;; "sinfo/Makefile") CONFIG_FILES="$CONFIG_FILES sinfo/Makefile" ;; "addon/Makefile") CONFIG_FILES="$CONFIG_FILES addon/Makefile" ;; "libsinfotypes/Makefile") CONFIG_FILES="$CONFIG_FILES libsinfotypes/Makefile" ;; "libsinfometer/Makefile") CONFIG_FILES="$CONFIG_FILES libsinfometer/Makefile" ;; "libprotocol/Makefile") CONFIG_FILES="$CONFIG_FILES libprotocol/Makefile" ;; "libprotocolasio/Makefile") CONFIG_FILES="$CONFIG_FILES libprotocolasio/Makefile" ;; "librpc/Makefile") CONFIG_FILES="$CONFIG_FILES librpc/Makefile" ;; "libmessage/Makefile") CONFIG_FILES="$CONFIG_FILES libmessage/Makefile" ;; "libmessage/testmessage/Makefile") CONFIG_FILES="$CONFIG_FILES libmessage/testmessage/Makefile" ;; "libmessageparser/Makefile") CONFIG_FILES="$CONFIG_FILES libmessageparser/Makefile" ;; "libmessageiobase/Makefile") CONFIG_FILES="$CONFIG_FILES libmessageiobase/Makefile" ;; "libmessageio/Makefile") CONFIG_FILES="$CONFIG_FILES libmessageio/Makefile" ;; "cgi/Makefile") CONFIG_FILES="$CONFIG_FILES cgi/Makefile" ;; "cgi/sinfo.pl.cgi") CONFIG_FILES="$CONFIG_FILES cgi/sinfo.pl.cgi" ;; "libsinfotypes/sinfo.h") CONFIG_FILES="$CONFIG_FILES libsinfotypes/sinfo.h" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # The names of the tagged configurations supported by this script. available_tags="CXX " # ### BEGIN LIBTOOL CONFIG # Whether or not to build static libraries. build_old_libs=$enable_static # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # DLL creation program. DLLTOOL=$lt_DLLTOOL # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and in which our libraries should be installed. lt_sysroot=$lt_sysroot # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \${shlibpath_var} if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # The directories searched by this compiler when creating a shared library. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs # Dependencies to place before and after the objects being linked to # create a shared library. predep_objects=$lt_predep_objects postdep_objects=$lt_postdep_objects predeps=$lt_predeps postdeps=$lt_postdeps # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain="$ac_aux_dir/ltmain.sh" # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) if test x"$xsi_shell" = xyes; then sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ func_dirname ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_basename ()$/,/^} # func_basename /c\ func_basename ()\ {\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ func_dirname_and_basename ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ func_stripname ()\ {\ \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ \ # positional parameters, so assign one to ordinary parameter first.\ \ func_stripname_result=${3}\ \ func_stripname_result=${func_stripname_result#"${1}"}\ \ func_stripname_result=${func_stripname_result%"${2}"}\ } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ func_split_long_opt ()\ {\ \ func_split_long_opt_name=${1%%=*}\ \ func_split_long_opt_arg=${1#*=}\ } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ func_split_short_opt ()\ {\ \ func_split_short_opt_arg=${1#??}\ \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ func_lo2o ()\ {\ \ case ${1} in\ \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ \ *) func_lo2o_result=${1} ;;\ \ esac\ } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_xform ()$/,/^} # func_xform /c\ func_xform ()\ {\ func_xform_result=${1%.*}.lo\ } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_arith ()$/,/^} # func_arith /c\ func_arith ()\ {\ func_arith_result=$(( $* ))\ } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_len ()$/,/^} # func_len /c\ func_len ()\ {\ func_len_result=${#1}\ } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$lt_shell_append" = xyes; then sed -e '/^func_append ()$/,/^} # func_append /c\ func_append ()\ {\ eval "${1}+=\\${2}"\ } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ func_append_quoted ()\ {\ \ func_quote_for_eval "${2}"\ \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} fi mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" cat <<_LT_EOF >> "$ofile" # ### BEGIN LIBTOOL TAG CONFIG: CXX # The linker used to build libraries. LD=$lt_LD_CXX # How to create reloadable object files. reload_flag=$lt_reload_flag_CXX reload_cmds=$lt_reload_cmds_CXX # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds_CXX # A language specific compiler. CC=$lt_compiler_CXX # Is the compiler the GNU compiler? with_gcc=$GCC_CXX # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_CXX # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object_CXX # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds_CXX archive_expsym_cmds=$lt_archive_expsym_cmds_CXX # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds_CXX module_expsym_cmds=$lt_module_expsym_cmds_CXX # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld_CXX # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_CXX # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_CXX # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct_CXX # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \${shlibpath_var} if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute_CXX # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L_CXX # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic_CXX # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath_CXX # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols_CXX # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_CXX # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_CXX # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_CXX # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds_CXX # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds_CXX # Specify filename containing input files. file_list_spec=$lt_file_list_spec_CXX # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_CXX # The directories searched by this compiler when creating a shared library. compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX # Dependencies to place before and after the objects being linked to # create a shared library. predep_objects=$lt_predep_objects_CXX postdep_objects=$lt_postdep_objects_CXX predeps=$lt_predeps_CXX postdeps=$lt_postdeps_CXX # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # ### END LIBTOOL TAG CONFIG: CXX _LT_EOF ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi sinfo-0.0.48/AUTHORS0000644000175000017500000000003611356411372010714 00000000000000Juergen Rinas sinfo-0.0.48/ChangeLog0000644000175000017500000004435712444035136011433 00000000000000sinfo (0.0.48) UNRELEASED; urgency=low * removed some warnings from newer g++s * changed configure to locate boost by AX_BOOST_BASE * many changes to make cppcheck more happy * updated for newer boost libraries i.e. no -mt any more * removed bashisms in scripts -- Juergen Rinas Tue, 16 Dec 2014 14:54:52 +0100 sinfo (0.0.47) unstable; urgency=low * switched from stand alone asio.hpp to boost/asio.hpp bundled with boost in order to simplify library requirements -- Juergen Rinas Sun, 08 Jul 2012 08:42:55 +0200 sinfo (0.0.46) unstable; urgency=low * some compile fixes for gcc 4.7 http://gcc.gnu.org/gcc-4.7/porting_to.html : Name lookup changes * fixed cursor handling, by using the asio::null_buffers() concept to get a trigger, if input is available according to the example http://www.boost.org/doc/libs/1_45_0/doc/html/boost_asio/example/non blocking/third_party_lib.cpp -- Juergen Rinas Mon, 14 May 2012 19:41:06 +0200 sinfo (0.0.45) unstable; urgency=low * corrected README compile hint for FreeBSD * added configure flag --disable-IPv6 to disable IPv6 support -- Juergen Rinas Tue, 13 Mar 2012 07:07:27 +0100 sinfo (0.0.44) unstable; urgency=low * added reconnect for TCP connections * added LIBADD to make it --as-needed linkable tnx to T.Harder -- Juergen Rinas Tue, 13 Dec 2011 18:32:33 +0100 sinfo (0.0.43) unstable; urgency=low * fixed printing bug (integer underflow) when using sinfo -L or -W tnx to J.Erkkilae -- Juergen Rinas Thu, 01 Sep 2011 09:00:13 +0200 sinfo (0.0.42) unstable; urgency=low * thanks to kvm: some fixes to make it compile with FreeBSD 8.2 -- Juergen Rinas Wed, 15 Jun 2011 08:07:07 +0200 sinfo (0.0.41) unstable; urgency=low * fixed syntax error in sshallsinfo * limit cmdlineReadBufferSizeMAX to 16*1024, since sysconf(_SC_ARG_MAX) does not return useful results, if stack size is set to unlimited (via ulimit -s unlimited) * cleanup of addon desktop files -- Juergen Rinas Mon, 23 May 2011 21:09:06 +0200 sinfo (0.0.40) unstable; urgency=low * made addon scripts work with KDE4 * using test macro MP_WITH_CURSES * now requesting ARG_MAX via sysconf -- Juergen Rinas Wed, 13 Apr 2011 08:32:16 +0200 sinfo (0.0.39) unstable; urgency=low * clean some parts of the build system * added include for linux/limits.h -- Juergen Rinas Thu, 11 Nov 2010 08:04:28 +0100 sinfo (0.0.38) unstable; urgency=low * using an idl compiler to streamline the internal structure -- Juergen Rinas Sat, 09 Oct 2010 13:09:23 +0200 sinfo (0.0.37) unstable; urgency=low * some more refactoring on client side message parser * increased communication buffer sizes to 65535 ... in order to handle big UDP packets * inhibit transmission of packages exceeding maxMessageIOSize * added --ignore to sinfod to suppress broadcasting any information on * added an option --top to sinfod to broadcast information on the top processes; default:5; you might like to set this option to larger values for newer multi-core CPUs -- Juergen Rinas Wed, 23 Jun 2010 08:31:44 +0200 sinfo (0.0.36) unstable; urgency=low * reorganized client side message parser * added option -c/--cmdline to sinfod to broadcast the full command line of each process -- Juergen Rinas Thu, 27 May 2010 20:01:33 +0200 sinfo (0.0.35) unstable; urgency=low * added some tests before reading environment variables to avoid possible segmentation faults -- Juergen Rinas Mon, 10 May 2010 20:35:59 +0200 sinfo (0.0.34) unstable; urgency=low * decreased update time of CPU information to 60 seconds (due to scaling of CPU speed) * added #include to enable compilation with newer compilers * fixed initialization bugs for procinfo, diskload and netload * much internal refactoring with respect to message handling -- Juergen Rinas Wed, 21 Apr 2010 20:17:47 +0200 sinfo (0.0.33) unstable; urgency=low * test programs in subdirs * increased buffer-size to 16kByte in libmessageio -- Juergen Rinas Fri, 12 Dec 2008 06:52:59 +0100 sinfo (0.0.32) unstable; urgency=low * now sinfo can request informations from sinfod using IPv6 e.g. sinfo --host ::1 * sinfo returning exit code 1 if a timeout occurs in non ncurses modes e.g. sinfo -L -H or -W * added --hostsandipmode as output option for sinfo * added -I/--ipmode as output option for sinfo * changed sshallsinfo and examples in addon directory to use --hostsandipmode respectively -I This should prevent problems with unreliable reverse name lookups. * encapsulate asio stuff to allow implementation of abstract polling protocol in sinfo's SinfoRequester * added options --udp(default) and --tcp to sinfo to select connection method sinfo<=>sinfod * added comparison for sorting of hostnames so that node9 is less than node10 * now using pkglib i.e. dynamic libraries go into prefix/lib/sinfo -- Juergen Rinas Sun, 26 Oct 2008 11:35:40 +0100 sinfo (0.0.31) unstable; urgency=low * corrected reading number of CPUs for linux 2.6.26 -- Juergen Rinas Tue, 02 Sep 2008 18:50:32 +0200 sinfo (0.0.30) unstable; urgency=low * restructured sinfod: sinfoserver => udpmessageserver * cleaned up Message class * binding UDP SINFO_REQUEST_PORT to IPv4 and IPv6 * added a few desktop files to simplify invocation of sinfo in addon directory -- Juergen Rinas Sat, 30 Aug 2008 19:18:19 +0200 sinfo (0.0.29) unstable; urgency=low * reorganized sinfo (client) to follow the Model View Controller architecture using boost::signal as observer - example: http://www.boost.org/doc/libs/1_35_0/doc/html/signals/tutorial.html -- Juergen Rinas Thu, 07 Aug 2008 12:31:19 +0200 sinfo (0.0.28) unstable; urgency=low * reorganized sinfo (client) around the asio io loop - requires asio 1.1.1 -- Juergen Rinas Thu, 07 Aug 2008 00:42:48 +0200 sinfo (0.0.27) unstable; urgency=low * added option -W/--watchdog to activate a simple watchdog for sinfod (this replaces the compile-time switch --enable-WATCHDOG) -- Juergen Rinas Wed, 06 Aug 2008 17:29:07 +0200 sinfo (0.0.26) unstable; urgency=low * code cleanups for g++ 4.3.1 -- Juergen Rinas Wed, 25 Jun 2008 08:32:51 +0200 sinfo (0.0.25) unstable; urgency=low * a few bug fixes * removed dynamic library * restructured sinfo completely to use the asio library for communication and using now 2 UDP ports this also fixed an annoying deadlock bug (?)within the TCP handling * new UDP ports: UDP data request port: 60002 SINFO_REQUEST_PORT ./configure with --enable-SINFO_REQUEST_PORT=60002 * new UDP ports: UDP broadcast port: 60003 SINFO_BROADCAST_PORT ./configure with --enable-SINFO_BROADCAST_PORT=60003 * sinfod now doing name lookups for hostnames every 30 minutes (useful on long running systems) tnx to H.Rebehn * removed --bindaddress --accessaddress --accessnetmask -- accesslocalhost from sinfod - they are not directly supported by the asio library and can be replaces by firewall/iptables manipulations * added function --marker to sinfod to identify hosts * added --filtermarker option to sinfo * ensure that percentage numbers are never greater than 1 ... tnx to hint by S.Hartrumpf * fixed disk load for 2.6.x kernels: now using /proc/vmstat -- Juergen Rinas Tue, 03 Jun 2008 19:59:44 +0200 sinfo (0.0.24) unstable; urgency=low * added option --ignore to sinfo in order to suppress process information * added run-time dependencies in init-script according to http://wiki.debian.org/LSBInitScripts * fixed restart ...sbindir.../sinfod error message -- Juergen Rinas Sun, 15 Jul 2007 00:24:15 +0200 sinfo (0.0.23) unstable; urgency=low * added determination of the number of cores tnx to H. Paul -- Juergen Rinas Sat, 17 Feb 2007 12:45:39 +0100 sinfo (0.0.22) unstable; urgency=low * changed determination of UID of every process from stat(/proc/#/stat,...) to a stat(/proc/#,..) in order to reflect the change of UID after a setuid() call of a daemon e.g. sshd tnx to T. Koschnick -- juergen Tue, 31 Oct 2006 20:28:51 +0100 sinfo (0.0.21) unstable; urgency=low * changed scanf of /proc/stat in cpustat.cc to long type (fixes a problem after long uptimes) tnx to T.Wiegner -- juergen Sun, 8 Oct 2006 09:48:02 +0200 sinfo (0.0.20) unstable; urgency=low * a few cleanups * fixed typos in man pages * linux: division of no of cpus by siblings to prevent HT-processors to appear as dual processor machines ... tnx to H.Rebehn ...to activate compile with --enable-CPUNO_ADJUST * added solaris compatibility patch from T.Wiegner -- Juergen Rinas Wed, 1 Mar 2006 17:09:38 +0100 sinfo (0.0.19) unstable; urgency=low * fixed FreeBSD 5.3 compilation, tnx S.Buys * added --help option to sinfo and sinfod -- Juergen Rinas Tue, 4 Jan 2005 19:22:05 +0100 sinfo (0.0.18) unstable; urgency=low * debian package: added a RUN_SINFO option in /etc/default/sinfo respectively /etc/init.d/sinfo (suggestion by M.Feuersaenger) * Removed scripts sinfodrestartall sshallrup etc. from /sbin. * install sshallsinfo in /bin and add a small manpage -- Juergen Rinas Sun, 12 Dec 2004 22:54:43 +0100 sinfo (0.0.17) unstable; urgency=low * changes to ensure 32, 64 bit compatibility, avoid long in exchange structs and use int or float sorry, but this makes the broadcasting incompatible again restart your demons * changed struct users.number from long to int * changed struct cpustat from long to float (percentage for user, nice, idle, ...) * changed struct uptime from long to two ints for days and seconds -- Juergen Rinas Thu, 9 Dec 2004 14:13:04 +0100 sinfo (0.0.16) unstable; urgency=low * added a PPC970 patch to get the right CPU speed from F.Thomas * added option -Ls so that the sinfo displays optionally the number of CPUs and their speed beside the hostnames and the system_load. This is made to be used by people using sinfo for rudimentary load- balancing. Remark: you can suppress the headlines (normally going to stderr) of this function by the command sinfo -qLs. * changed fscanf format string in cpuinfo.cc to hopefully work with some dual AMD Opterons * Added information for the linux 2.6er states iowait + (soft/hard)irq and broadcast them. The changes the format of the UDP packets, so restart all your demons. -- Juergen Rinas Mon, 29 Nov 2004 11:43:21 +0100 sinfo (0.0.15) unstable; urgency=low * added a monitor for disk activity (linux 2.4.x only) * in deb package;changed /etc/init.d/sinfo configuration to file /etc/default/sinfo * corrected swap and ram in html output -- Juergen Rinas Tue, 8 Jun 2004 07:42:30 +0200 sinfo (0.0.14) unstable; urgency=low * added output of the number of CPUs -- Juergen Rinas Thu, 27 Nov 2003 19:23:27 +0100 sinfo (0.0.13-1) unstable; urgency=low * updated to debian Standards-Version: 3.6.0 -- Juergen Rinas Sun, 10 Aug 2003 19:20:21 +0200 sinfo (0.0.13) unstable; urgency=low * changed bar length from linear to logarithmic scaling based on the minimum and maximum processor speeds use 'c' to toggle between "log", "lin" and "full". (I've added this function because of the big speed differences in our local pc pool.) * increased the buffer size for reading /proc/net/dev * updated man-page -- Juergen Rinas Mon, 4 Aug 2003 18:04:47 +0200 sinfo (0.0.12) unstable; urgency=low * some adaptations for the FreeBSD 5.x series: the layout of struct kinfo_proc changed from FreeBSD 4 to 5 -- Juergen Rinas Tue, 13 May 2003 21:38:40 +0200 sinfo (0.0.11) unstable; urgency=low * some fixes for gcc-3.2 on FreeBSD -- Juergen Rinas Mon, 31 Mar 2003 23:09:29 +0200 sinfo (0.0.10) unstable; urgency=low * enable-SIMPLE_USER_CACHE for debian binaries * renamed sinfod.1 to sinfod.8 * changed interface to get memory informations (linux system) * Added a broadcast-only mode to sinfod. This may be useful, if you have some slave/server computers where nobody works interactively. This is a very robust mode because much functionality of sinfod is deactivated (collection of UDP packets, server for connection of sinfo). You may activate this with "--spymode". I've selected this name to remind you not to uses this mode on computers that are used interactively - probably your users will not like it. * support for really big memories and swap space => changed broadcast format * changed default nice value of sinfod from 15 to 10 * changed rsh to ssh in sinfodrestartall -- Juergen Rinas Sat, 23 Nov 2002 19:12:01 +0100 sinfo (0.0.9) unstable; urgency=low * first debianized release * removed rshall and rshallrup scripts because rsh normally is a symbolic link to ssh on debian systems * added long options for gnu/linux and FreeBSD * added an option for --quiet startup of sinfod * displaying IP number of a host in the case that there is no name * some adjustments for gcc 3.2 * added a -B --bindaddress option to the sinfod to send UDP packets with a fixed IP address. (useful on systems with many network interfaces) * added a small (fork, watchpid) watchdog that restarts the sinfod if something goes wrong. This can be activated at compile time with --enable-WATCHDOG I've added this because some months ago there was a problem with the LDAP library that made some programs (sinfod) to crash in the case of LDAP-server failures. * added --accessaddress, --accessnetmask and --accesslocalhost to restrict the access to the sinfod * fixed process percentage calculation on solaris * changed memory variables from long to unsigned long so that a maximum of 4GB can be represented (only tested on linux) -- Juergen Rinas Thu, 7 Nov 2002 20:25:16 +0100 sinfo (0.0.8) unstable; urgency=low * add a timeout within select() to reduce the system load of "konsole" when displaying sinfo's ncurses output. * do not install the sample cgi-script but keep it in ./cgi * increased value: drop hosts from being displayed if they were not heard for 25 seconds (was: 10 seconds) * fixed some possible security holes using found by the code inspection tool "flawfinder" http://www.dwheeler.com/flawfinder/ * added broadcasting of the name of the network interface => broadcasted struct changed => you have to restart all demons if you update * fixed query of two separate networks with one "sinfo" * security fix for the cgi-script: "it was possible to start programs as cgi-user nobody"! ... see the cgi-script for details -- Juergen Rinas Fri, 28 Dec 2001 23:33:11 +0200 sinfo (0.0.7) unstable; urgency=low * minor bugs fix: sinfo segfaults if there isn't an "export HOSTNAME" * added HTML-output and a sample perl-cgi-script to read sinfo's informations over the web. -- Juergen Rinas Mon, 17 Dec 2001 23:33:11 +0200 sinfo (0.0.6) unstable; urgency=low * added a parameter to set the nice value of the demon. * added a simple cache for lookups of the names belonging to the UIDs in lib/procinfo.cc ... activate with: ./configure --enable-SIMPLE_USER_CACHE -- Juergen Rinas Nov, 12 Mon 2001 23:33:11 +0200 sinfo (0.0.5) unstable; urgency=low * minor bugs fixed that prevented static linkage of sinfo... (you can produce a static version of sinfo if you "export CXXFLAGS=-static" before ./configure ) * minor bug fix for RedHat 7.1 (and other systems?) added #include in cpuinfo.cc tnx "Eric Gravelle" , "Alan Wilter Sousa da Silva" * done a port to FreeBSD ( we got a new server at work :-) ) * changed format of the broadcast scheme... now: less overhead (incompatible with older versions of sinfo!) * broadcasting is done in a smarter way: * If the CPU-Usage doesn't change (variation less 3%).... the broadcasting frequency will be decreased down to 6 Bcast per minute. * If the CPU-Usage changes dramatically (variation greater than 30%) the TOP5 process list will be broadcasted right away. -- Juergen Rinas Tue, 20 Oct 2001 23:33:11 +0200 sinfo (0.0.4) unstable; urgency=low * Upper status line excluded from scrolling. * Connection scheme from sinfo to sinfod changed. A TCP connection will be kept for all transmissions. * Sinfo can use connections to multiple sinfods and join the data. This may be useful if you want to monitor two different networks with only one sinfo. i.e.: sinfo -h host_on.first.computer.net -h host_on.second.computer.net -- Juergen Rinas Sun, 26 Aug 2001 23:33:11 +0200 sinfo (0.0.3) unstable; urgency=low * all internal errors of the information gathering functions getCpuinfo, getNetload, ... result in a "false" return value... no more exit(1)s there! * SIGPIPE ignored to make the demon more robust! * System info: RAM and Swap - Space added -- Juergen Rinas Sat, 18 Aug 2001 23:33:11 +0200 sinfo (0.0.2) unstable; urgency=low * broadcast format changed.... => update on all workstations necessary * solaris port: broadcast cpu-usage * sinfo: highlight local workstation * sinfo: all hostnames sorted alphabetically * direct setting of the -h IP-address added * broadcast CPU-Information * scale bargraphs according to cpu-power * first installation on our research cluster for all users under /usr/local! -- Juergen Rinas sinfo (0.0.1) unstable; urgency=low * first local installation -- Juergen Rinas sinfo-0.0.48/install-sh0000744000175000017500000003325612444035655011665 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # 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 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 -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test 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` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: sinfo-0.0.48/libprotocolasio/0000755000175000017500000000000012444035677013142 500000000000000sinfo-0.0.48/libprotocolasio/protocoltimerasio.h0000644000175000017500000000120512403201451016763 00000000000000#ifndef _protocoltimerasio_h #define _protocoltimerasio_h #include "protocoltimer.h" #include /** * @brief asio variant of the ProtocolIO base class * * Keeps the reference to boost::asio::ioservice in order * to allow making use of the asio timers. * * This class has to be used in order to make a program use * the operating system / asio clock. */ class ProtocolIOAsio : public ProtocolIO { private: boost::asio::io_service & ioservice; public: ProtocolIOAsio(boost::asio::io_service & ioservice); boost::posix_time::ptime currentTimeUTC(); TheTimerObjectBase * getTimer(); }; #endif // _protocoltimerasio_h sinfo-0.0.48/libprotocolasio/protocoltimerasio.cc0000644000175000017500000000063212400327014017125 00000000000000#include #include "protocoltimerasio.h" #include "thetimerobjectasio.h" ProtocolIOAsio::ProtocolIOAsio(boost::asio::io_service & ioservice) : ioservice(ioservice) { } boost::posix_time::ptime ProtocolIOAsio::currentTimeUTC() { return boost::posix_time::microsec_clock::universal_time(); } TheTimerObjectBase * ProtocolIOAsio::getTimer() { return new TheTimerObjectAsio(ioservice); } sinfo-0.0.48/libprotocolasio/Makefile.in0000644000175000017500000005073012444035656015131 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = libprotocolasio DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(install_sh) -d CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(pkglibdir)" LTLIBRARIES = $(pkglib_LTLIBRARIES) libprotocolasio_la_LIBADD = am_libprotocolasio_la_OBJECTS = \ libprotocolasio_la-protocoltimerasio.lo \ libprotocolasio_la-thetimerobjectasio.lo libprotocolasio_la_OBJECTS = $(am_libprotocolasio_la_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(libprotocolasio_la_SOURCES) DIST_SOURCES = $(libprotocolasio_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ BOOST_CPPFLAGS = @BOOST_CPPFLAGS@ BOOST_LDFLAGS = @BOOST_LDFLAGS@ BOOST_SIGNALS_LIB = @BOOST_SIGNALS_LIB@ BOOST_SYSTEM_LIB = @BOOST_SYSTEM_LIB@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CURSES_LIB = @CURSES_LIB@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SINFO_BROADCAST_PORT = @SINFO_BROADCAST_PORT@ SINFO_REQUEST_PORT = @SINFO_REQUEST_PORT@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ pkglib_LTLIBRARIES = \ libprotocolasio.la libprotocolasio_la_CPPFLAGS = \ -I$(top_srcdir)/libprotocol libprotocolasio_la_SOURCES = \ protocoltimerasio.h protocoltimerasio.cc \ thetimerobjectasio.h thetimerobjectasio.cc all: all-am .SUFFIXES: .SUFFIXES: .cc .lo .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libprotocolasio/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu libprotocolasio/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-pkglibLTLIBRARIES: $(pkglib_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkglibdir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(pkglibdir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(pkglibdir)"; \ } uninstall-pkglibLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(pkglib_LTLIBRARIES)'; test -n "$(pkglibdir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(pkglibdir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(pkglibdir)/$$f"; \ done clean-pkglibLTLIBRARIES: -test -z "$(pkglib_LTLIBRARIES)" || rm -f $(pkglib_LTLIBRARIES) @list='$(pkglib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libprotocolasio.la: $(libprotocolasio_la_OBJECTS) $(libprotocolasio_la_DEPENDENCIES) $(EXTRA_libprotocolasio_la_DEPENDENCIES) $(CXXLINK) -rpath $(pkglibdir) $(libprotocolasio_la_OBJECTS) $(libprotocolasio_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libprotocolasio_la-protocoltimerasio.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libprotocolasio_la-thetimerobjectasio.Plo@am__quote@ .cc.o: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $< .cc.obj: @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .cc.lo: @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< libprotocolasio_la-protocoltimerasio.lo: protocoltimerasio.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libprotocolasio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libprotocolasio_la-protocoltimerasio.lo -MD -MP -MF $(DEPDIR)/libprotocolasio_la-protocoltimerasio.Tpo -c -o libprotocolasio_la-protocoltimerasio.lo `test -f 'protocoltimerasio.cc' || echo '$(srcdir)/'`protocoltimerasio.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libprotocolasio_la-protocoltimerasio.Tpo $(DEPDIR)/libprotocolasio_la-protocoltimerasio.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='protocoltimerasio.cc' object='libprotocolasio_la-protocoltimerasio.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libprotocolasio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libprotocolasio_la-protocoltimerasio.lo `test -f 'protocoltimerasio.cc' || echo '$(srcdir)/'`protocoltimerasio.cc libprotocolasio_la-thetimerobjectasio.lo: thetimerobjectasio.cc @am__fastdepCXX_TRUE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libprotocolasio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT libprotocolasio_la-thetimerobjectasio.lo -MD -MP -MF $(DEPDIR)/libprotocolasio_la-thetimerobjectasio.Tpo -c -o libprotocolasio_la-thetimerobjectasio.lo `test -f 'thetimerobjectasio.cc' || echo '$(srcdir)/'`thetimerobjectasio.cc @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/libprotocolasio_la-thetimerobjectasio.Tpo $(DEPDIR)/libprotocolasio_la-thetimerobjectasio.Plo @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='thetimerobjectasio.cc' object='libprotocolasio_la-thetimerobjectasio.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libprotocolasio_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o libprotocolasio_la-thetimerobjectasio.lo `test -f 'thetimerobjectasio.cc' || echo '$(srcdir)/'`thetimerobjectasio.cc mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) installdirs: for dir in "$(DESTDIR)$(pkglibdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-pkglibLTLIBRARIES \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-pkglibLTLIBRARIES install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-pkglibLTLIBRARIES .MAKE: install-am install-strip .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libtool clean-pkglibLTLIBRARIES ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-dvi \ install-dvi-am install-exec install-exec-am install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-pkglibLTLIBRARIES \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags uninstall uninstall-am uninstall-pkglibLTLIBRARIES # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: sinfo-0.0.48/libprotocolasio/Makefile.am0000644000175000017500000000034212400327304015074 00000000000000pkglib_LTLIBRARIES = \ libprotocolasio.la libprotocolasio_la_CPPFLAGS = \ -I$(top_srcdir)/libprotocol libprotocolasio_la_SOURCES = \ protocoltimerasio.h protocoltimerasio.cc \ thetimerobjectasio.h thetimerobjectasio.cc sinfo-0.0.48/libprotocolasio/thetimerobjectasio.cc0000644000175000017500000000247612440144365017255 00000000000000#include #include "protocoltimerasio.h" #include "thetimerobjectasio.h" void TheTimerObjectAsio::timerExpiredEvent(const boost::system::error_code& err) { if (boost::asio::error::operation_aborted==err) { } else { timerActive=false; if (myFunctorPointer) { (*myFunctorPointer)(); } } } TheTimerObjectAsio::TheTimerObjectAsio(boost::asio::io_service & ioservice) : timer(ioservice) { timerActive=false; myFunctorPointer=0; } TheTimerObjectAsio::~TheTimerObjectAsio() { stop(); } void TheTimerObjectAsio::startAlarmAt(const boost::posix_time::ptime & time, TimerEventFunctor * functor) { myFunctorPointer=functor; timer.expires_at(time); timer.async_wait(boost::bind(&TheTimerObjectAsio::timerExpiredEvent, this, boost::asio::placeholders::error)); timerActive=true; } void TheTimerObjectAsio::startAlarmAfter(const boost::posix_time::time_duration & expiry_time, TimerEventFunctor * functor) { myFunctorPointer=functor; timer.expires_from_now(expiry_time); timer.async_wait(boost::bind(&TheTimerObjectAsio::timerExpiredEvent, this, boost::asio::placeholders::error)); timerActive=true; } void TheTimerObjectAsio::stop() { if (timerActive) { timer.cancel(); timerActive=false; } } bool TheTimerObjectAsio::isRunning() { return timerActive; } sinfo-0.0.48/libprotocolasio/thetimerobjectasio.h0000644000175000017500000000130112440144342017074 00000000000000#ifndef _thetimerobjectasio_h #define _thetimerobjectasio_h #include "protocoltimer.h" /** * @brief asio variant of the TheTimerObjectBase base class */ class TheTimerObjectAsio : public TheTimerObjectBase { private: bool timerActive; boost::asio::deadline_timer timer; void timerExpiredEvent(const boost::system::error_code& err); public: TheTimerObjectAsio(boost::asio::io_service & ioservice); ~TheTimerObjectAsio(); void startAlarmAt(const boost::posix_time::ptime & time, TimerEventFunctor * functor); void startAlarmAfter(const boost::posix_time::time_duration & expiry_time, TimerEventFunctor * functor); void stop(); bool isRunning(); }; #endif // _thetimerobjectasio_h sinfo-0.0.48/README0000644000175000017500000001001611727326105010524 00000000000000SINFO is a system to distribute system information of every host on your local network (via UDP). It provides system load, memory usage and the top-5 running processes in a similar manner as top(1). It uses a minimal network bandwidth because of the broadcasting scheme used. The demon needs not to be run as a root (exception FreeBSD) - so there will be no security-risk. sinfo should work on * linux 2.4.x, 2.6.x * (FreeBSD 8.2 ... partly) * (solaris 2.8 tested up to 0.0.14) QUICKSTART: ========== export CXXFLAGS=-O3 # it´s better to enable optimization! ./configure make make install-strip # or "make install" if you want to waste some # disk-space. sinfod # (sinfod should be run at system startup) sinfo additional configure options ============================ --enable-SINFO_REQUEST_PORT=n set the UDP REQUEST port used by sinfo to n 60002 --enable-SINFO_BROADCAST_PORT=n set the UDP broadcast port used by sinfo to n 60003 --enable-SIMPLE_USER_CACHE enable a simple cache for user name lookups --enable-CPUNO_ADJUST adjust the number of cpus for hyperthreading machines sinfo access through your web server ==================================== After "make" you'll find a sample cgi-script ./cgi/sinfo.pl.cgi You should move this script to the cgi-bin path of your web server. This perl script calls "/usr/local/bin/sinfo -Wq" to produce html-output. The path to sinfo (e.g. /usr/local/bin/sinfo ) is set during the run of ./configure according to --prefix resp. --exec_prefix. Sinfo produces a very rudimentary html-output that has to be included in a complete html page. This procedure lets you adopt the output output of sinfo to your favored look and feel. Use ./cgi/sinfo.pl.cgi as a starting point for your customizations. TROUBLESHOOTING: =============== compile problems: * If you have an old ncurses library it may be necessary to set export CXXFLAGS=-fpermissive * If you have more than one curses.h file laying around in you include-paths be sure to use the correct one by sorting the entries in CPLUS_INCLUDE_PATH. i.e. Solaris 8 normally needs: CPLUS_INCLUDE_PATH=/opt/sfw/include:... ln -s /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/math.h ln -s /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/include/curses.h * On FreeBSD 8.2 Your need to make sure that automake, boost and asio from the ports collection (the port collection can be installed with sysinstall) are installed: cd /usr/ports devel/automake devel/boost net/asio make install clean unpack sinfo tar -xvzf sinfo-x.y.z.tar.gz cd sinfo-x.y.z And change -lboost_signals-mt to -lboost_signals in sinfo/Makefile.am and sinfod/Makefile.am ./configure CPLUS_INCLUDE_PATH=/usr/local/include LIBRARY_PATH=/usr/local/lib make will compile the program for you * your might even have to set CXXFLAGS=-fpermissive to change the "ANSI C++ conversation error" into a warning that is produced by #including < > /usr/include/sys/user.h:53, -> /usr/include/vm/vm_map.h runtime problems: * On FreeBSD systems sinfod has to be run as root. * sinfod --bcastaddress 127.0.0.1 may be necessary if you are running sinfod on a computer that is not part of a LAN. FILES: ===== /usr/local/bin/sinfo ................ the user program /usr/local/sbin/sinfod ............... the demon Some scripts to start a program on all computers on your network: /usr/local/bin/sshallsinfo ...... use ssh and get the list of hosts via "sinfo -Hq" /usr/local/man/man1/sinfo.1 .......... man-pages /usr/local/man/man1/sshallsinfo.1 /usr/local/man/man8/sinfod.8 not installed: ./cgi/sinfo.pl.cgi ... a sample perl-CGI-script for HTML-output ... change to your needs and move to your cgi-bin directory Juergen Rinas sinfo-0.0.48/aclocal.m40000644000175000017500000136537712444035654011537 00000000000000# generated automatically by aclocal 1.11.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, # Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.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'.])]) # =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_boost_base.html # =========================================================================== # # SYNOPSIS # # AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # 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, /opt and /opt/local 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 # # LICENSE # # Copyright (c) 2008 Thomas Porschberg # Copyright (c) 2009 Peter Adolphs # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. #serial 20 AC_DEFUN([AX_BOOST_BASE], [ AC_ARG_WITH([boost], [AS_HELP_STRING([--with-boost@<:@=ARG@:>@], [use Boost library from a standard location (ARG=yes), from the specified location (ARG=), or disable it (ARG=no) @<:@ARG=yes@:>@ ])], [ 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"]) AC_ARG_WITH([boost-libdir], AS_HELP_STRING([--with-boost-libdir=LIB_DIR], [Force given directory for boost libraries. Note that this will override library path detection, so use this parameter only if default library detection fails and you know exactly where your boost libraries are located.]), [ if test -d "$withval" then ac_boost_lib_path="$withval" else AC_MSG_ERROR(--with-boost-libdir expected directory name) fi ], [ac_boost_lib_path=""] ) 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 On 64-bit systems check for system libraries in both lib64 and lib. dnl The former is specified by FHS, but e.g. Debian does not adhere to dnl this (as it rises problems for generic multi-arch support). dnl The last entry in the list is chosen by default when no libraries dnl are found, e.g. when only header-only libraries are installed! libsubdirs="lib" ax_arch=`uname -m` if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then libsubdirs="lib64 lib lib64" fi 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_CPPFLAGS="-I$ac_boost_path/include" for ac_boost_path_tmp in $libsubdirs; do if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp" break fi done elif test "$cross_compiling" != yes; then for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then for libsubdir in $libsubdirs ; do if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir" BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include" break; fi done fi dnl overwrite ld flags if we have required special directory with dnl --with-boost-libdir parameter if test "$ac_boost_lib_path" != ""; then BOOST_LDFLAGS="-L$ac_boost_lib_path" fi CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS AC_REQUIRE([AC_PROG_CXX]) 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 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 if test "$cross_compiling" != yes; then for ac_boost_path in /usr /usr/local /opt /opt/local ; 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" if test "$ac_boost_lib_path" = ""; then for libsubdir in $libsubdirs ; do if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done BOOST_LDFLAGS="-L$best_path/$libsubdir" fi fi if test "x$BOOST_ROOT" != "x"; then for libsubdir in $libsubdirs ; do if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi done if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; 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" -a "$ac_boost_lib_path" = "" ; 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/$libsubdir" 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_NOTICE([[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 # execute ACTION-IF-NOT-FOUND (if present): ifelse([$3], , :, [$3]) else AC_SUBST(BOOST_CPPFLAGS) AC_SUBST(BOOST_LDFLAGS) AC_DEFINE(HAVE_BOOST,,[define if the Boost library is available]) # execute ACTION-IF-FOUND (if present): ifelse([$2], , :, [$2]) fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi ]) # =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_boost_signals.html # =========================================================================== # # SYNOPSIS # # AX_BOOST_SIGNALS # # DESCRIPTION # # Test for Signals 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_SIGNALS_LIB) # # And sets: # # HAVE_BOOST_SIGNALS # # LICENSE # # Copyright (c) 2008 Thomas Porschberg # Copyright (c) 2008 Michael Tindal # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. #serial 19 AC_DEFUN([AX_BOOST_SIGNALS], [ AC_ARG_WITH([boost-signals], AS_HELP_STRING([--with-boost-signals@<:@=special-lib@:>@], [use the Signals library from boost - it is possible to specify a certain library for the linker e.g. --with-boost-signals=boost_signals-gcc-mt-d ]), [ if test "$withval" = "no"; then want_boost="no" elif test "$withval" = "yes"; then want_boost="yes" ax_boost_user_signals_lib="" else want_boost="yes" ax_boost_user_signals_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::Signals library is available, ax_cv_boost_signals, [AC_LANG_PUSH([C++]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include ]], [[boost::signal sig; return 0; ]])], ax_cv_boost_signals=yes, ax_cv_boost_signals=no) AC_LANG_POP([C++]) ]) if test "x$ax_cv_boost_signals" = "xyes"; then AC_DEFINE(HAVE_BOOST_SIGNALS,,[define if the Boost::Signals library is available]) BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` if test "x$ax_boost_user_signals_lib" = "x"; then for libextension in `ls $BOOSTLIBDIR/libboost_signals*.so* $BOOSTLIBDIR/libboost_signals*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_signals.*\)\.so.*$;\1;' -e 's;^lib\(boost_signals.*\)\.a*$;\1;'` ; do ax_lib=${libextension} AC_CHECK_LIB($ax_lib, exit, [BOOST_SIGNALS_LIB="-l$ax_lib"; AC_SUBST(BOOST_SIGNALS_LIB) link_signals="yes"; break], [link_signals="no"]) done if test "x$link_signals" != "xyes"; then for libextension in `ls $BOOSTLIBDIR/boost_signals*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_signals.*\)\.dll.*$;\1;' -e 's;^\(boost_signals.*\)\.a*$;\1;'` ; do ax_lib=${libextension} AC_CHECK_LIB($ax_lib, exit, [BOOST_SIGNALS_LIB="-l$ax_lib"; AC_SUBST(BOOST_SIGNALS_LIB) link_signals="yes"; break], [link_signals="no"]) done fi else for ax_lib in $ax_boost_user_signals_lib boost_signals-$ax_boost_user_signals_lib; do AC_CHECK_LIB($ax_lib, main, [BOOST_SIGNALS_LIB="-l$ax_lib"; AC_SUBST(BOOST_SIGNALS_LIB) link_signals="yes"; break], [link_signals="no"]) done fi if test "x$ax_lib" = "x"; then AC_MSG_ERROR(Could not find a version of the library!) fi if test "x$link_signals" != "xyes"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi ]) # =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_boost_system.html # =========================================================================== # # SYNOPSIS # # AX_BOOST_SYSTEM # # DESCRIPTION # # Test for System 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_SYSTEM_LIB) # # And sets: # # HAVE_BOOST_SYSTEM # # LICENSE # # Copyright (c) 2008 Thomas Porschberg # Copyright (c) 2008 Michael Tindal # Copyright (c) 2008 Daniel Casimiro # # Copying and distribution of this file, with or without modification, are # permitted in any medium without royalty provided the copyright notice # and this notice are preserved. This file is offered as-is, without any # warranty. #serial 14 AC_DEFUN([AX_BOOST_SYSTEM], [ AC_ARG_WITH([boost-system], AS_HELP_STRING([--with-boost-system@<:@=special-lib@:>@], [use the System library from boost - it is possible to specify a certain library for the linker e.g. --with-boost-system=boost_system-gcc-mt ]), [ if test "$withval" = "no"; then want_boost="no" elif test "$withval" = "yes"; then want_boost="yes" ax_boost_user_system_lib="" else want_boost="yes" ax_boost_user_system_lib="$withval" fi ], [want_boost="yes"] ) if test "x$want_boost" = "xyes"; then AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_BUILD]) CPPFLAGS_SAVED="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS" export CPPFLAGS LDFLAGS_SAVED="$LDFLAGS" LDFLAGS="$LDFLAGS $BOOST_LDFLAGS" export LDFLAGS AC_CACHE_CHECK(whether the Boost::System library is available, ax_cv_boost_system, [AC_LANG_PUSH([C++]) CXXFLAGS_SAVE=$CXXFLAGS AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include ]], [[boost::system::system_category]])], ax_cv_boost_system=yes, ax_cv_boost_system=no) CXXFLAGS=$CXXFLAGS_SAVE AC_LANG_POP([C++]) ]) if test "x$ax_cv_boost_system" = "xyes"; then AC_SUBST(BOOST_CPPFLAGS) AC_DEFINE(HAVE_BOOST_SYSTEM,,[define if the Boost::System library is available]) BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'` LDFLAGS_SAVE=$LDFLAGS if test "x$ax_boost_user_system_lib" = "x"; then for libextension in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.a*$;\1;'` ; do ax_lib=${libextension} AC_CHECK_LIB($ax_lib, exit, [BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break], [link_system="no"]) done if test "x$link_system" != "xyes"; then for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.dll.*$;\1;' -e 's;^\(boost_system.*\)\.a*$;\1;'` ; do ax_lib=${libextension} AC_CHECK_LIB($ax_lib, exit, [BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break], [link_system="no"]) done fi else for ax_lib in $ax_boost_user_system_lib boost_system-$ax_boost_user_system_lib; do AC_CHECK_LIB($ax_lib, exit, [BOOST_SYSTEM_LIB="-l$ax_lib"; AC_SUBST(BOOST_SYSTEM_LIB) link_system="yes"; break], [link_system="no"]) done fi if test "x$ax_lib" = "x"; then AC_MSG_ERROR(Could not find a version of the library!) fi if test "x$link_system" = "xno"; then AC_MSG_ERROR(Could not link against $ax_lib !) fi fi CPPFLAGS="$CPPFLAGS_SAVED" LDFLAGS="$LDFLAGS_SAVED" fi ]) # =========================================================================== # http://www.gnu.org/software/autoconf-archive/ax_with_curses.html # =========================================================================== # # SYNOPSIS # # AX_WITH_CURSES # # DESCRIPTION # # This macro checks whether a SysV or X/Open-compatible Curses library is # present, along with the associated header file. The NcursesW # (wide-character) library is searched for first, followed by Ncurses, # then the system-default plain Curses. The first library found is the # one returned. # # The following options are understood: --with-ncursesw, --with-ncurses, # --without-ncursesw, --without-ncurses. The "--with" options force the # macro to use that particular library, terminating with an error if not # found. The "--without" options simply skip the check for that library. # The effect on the search pattern is: # # (no options) - NcursesW, Ncurses, Curses # --with-ncurses --with-ncursesw - NcursesW only [*] # --without-ncurses --with-ncursesw - NcursesW only [*] # --with-ncursesw - NcursesW only [*] # --with-ncurses --without-ncursesw - Ncurses only [*] # --with-ncurses - NcursesW, Ncurses [**] # --without-ncurses --without-ncursesw - Curses only # --without-ncursesw - Ncurses, Curses # --without-ncurses - NcursesW, Curses # # [*] If the library is not found, abort the configure script. # # [**] If the second library (Ncurses) is not found, abort configure. # # The following preprocessor symbols may be defined by this macro if the # appropriate conditions are met: # # HAVE_CURSES - if any SysV or X/Open Curses library found # HAVE_CURSES_ENHANCED - if library supports X/Open Enhanced functions # HAVE_CURSES_COLOR - if library supports color (enhanced functions) # HAVE_CURSES_OBSOLETE - if library supports certain obsolete features # HAVE_NCURSESW - if NcursesW (wide char) library is to be used # HAVE_NCURSES - if the Ncurses library is to be used # # HAVE_CURSES_H - if is present and should be used # HAVE_NCURSESW_H - if should be used # HAVE_NCURSES_H - if should be used # HAVE_NCURSESW_CURSES_H - if should be used # HAVE_NCURSES_CURSES_H - if should be used # # (These preprocessor symbols are discussed later in this document.) # # The following output variable is defined by this macro; it is precious # and may be overridden on the ./configure command line: # # CURSES_LIB - library to add to xxx_LDADD # # The library listed in CURSES_LIB is NOT added to LIBS by default. You # need to add CURSES_LIB to the appropriate xxx_LDADD line in your # Makefile.am. For example: # # prog_LDADD = @CURSES_LIB@ # # If CURSES_LIB is set on the configure command line (such as by running # "./configure CURSES_LIB=-lmycurses"), then the only header searched for # is . The user may use the CPPFLAGS precious variable to # override the standard #include search path. If the user needs to # specify an alternative path for a library (such as for a non-standard # NcurseW), the user should use the LDFLAGS variable. # # The following shell variables may be defined by this macro: # # ax_cv_curses - set to "yes" if any Curses library found # ax_cv_curses_enhanced - set to "yes" if Enhanced functions present # ax_cv_curses_color - set to "yes" if color functions present # ax_cv_curses_obsolete - set to "yes" if obsolete features present # # ax_cv_ncursesw - set to "yes" if NcursesW library found # ax_cv_ncurses - set to "yes" if Ncurses library found # ax_cv_plaincurses - set to "yes" if plain Curses library found # ax_cv_curses_which - set to "ncursesw", "ncurses", "plaincurses" or "no" # # These variables can be used in your configure.ac to determine the level # of support you need from the Curses library. For example, if you must # have either Ncurses or NcursesW, you could include: # # AX_WITH_CURSES # if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then # AX_MSG_ERROR([requires either NcursesW or Ncurses library]) # fi # # If any Curses library will do (but one must be present and must support # color), you could use: # # AX_WITH_CURSES # if test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes; then # AC_MSG_ERROR([requires an X/Open-compatible Curses library with color]) # fi # # Certain preprocessor symbols and shell variables defined by this macro # can be used to determine various features of the Curses library. In # particular, HAVE_CURSES and ax_cv_curses are defined if the Curses # library found conforms to the traditional SysV and/or X/Open Base Curses # definition. Any working Curses library conforms to this level. # # HAVE_CURSES_ENHANCED and ax_cv_curses_enhanced are defined if the # library supports the X/Open Enhanced Curses definition. In particular, # the wide-character types attr_t, cchar_t and wint_t, the functions # wattr_set() and wget_wch() and the macros WA_NORMAL and _XOPEN_CURSES # are checked. The Ncurses library does NOT conform to this definition, # although NcursesW does. # # HAVE_CURSES_COLOR and ax_cv_curses_color are defined if the library # supports color functions and macros such as COLOR_PAIR, A_COLOR, # COLOR_WHITE, COLOR_RED and init_pair(). These are NOT part of the # X/Open Base Curses definition, but are part of the Enhanced set of # functions. The Ncurses library DOES support these functions, as does # NcursesW. # # HAVE_CURSES_OBSOLETE and ax_cv_curses_obsolete are defined if the # library supports certain features present in SysV and BSD Curses but not # defined in the X/Open definition. In particular, the functions # getattrs(), getcurx() and getmaxx() are checked. # # To use the HAVE_xxx_H preprocessor symbols, insert the following into # your system.h (or equivalent) header file: # # #if defined(HAVE_NCURSESW_CURSES_H) # # include # #elif defined(HAVE_NCURSESW_H) # # include # #elif defined(HAVE_NCURSES_CURSES_H) # # include # #elif defined(HAVE_NCURSES_H) # # include # #elif defined(HAVE_CURSES_H) # # include # #else # # error "SysV or X/Open-compatible Curses header file required" # #endif # # For previous users of this macro: you should not need to change anything # in your configure.ac or Makefile.am, as the previous (serial 10) # semantics are still valid. However, you should update your system.h (or # equivalent) header file to the fragment shown above. You are encouraged # also to make use of the extended functionality provided by this version # of AX_WITH_CURSES, as well as in the additional macros # AX_WITH_CURSES_PANEL, AX_WITH_CURSES_MENU and AX_WITH_CURSES_FORM. # # LICENSE # # Copyright (c) 2009 Mark Pulford # Copyright (c) 2009 Damian Pietras # Copyright (c) 2011 Reuben Thomas # Copyright (c) 2011 John Zaitseff # # This program is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation, either version 3 of the License, or (at your # option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General # Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program. If not, see . # # As a special exception, the respective Autoconf Macro's copyright owner # gives unlimited permission to copy, distribute and modify the configure # scripts that are the output of Autoconf when processing the Macro. You # need not follow the terms of the GNU General Public License when using # or distributing such scripts, even though portions of the text of the # Macro appear in them. The GNU General Public License (GPL) does govern # all other use of the material that constitutes the Autoconf Macro. # # This special exception to the GPL applies to versions of the Autoconf # Macro released by the Autoconf Archive. When you make and distribute a # modified version of the Autoconf Macro, you may extend this special # exception to the GPL to apply to your modified version as well. #serial 12 AU_ALIAS([MP_WITH_CURSES], [AX_WITH_CURSES]) AC_DEFUN([AX_WITH_CURSES], [ AC_ARG_VAR([CURSES_LIB], [linker library for Curses, e.g. -lcurses]) AC_ARG_WITH([ncurses], [AS_HELP_STRING([--with-ncurses], [force the use of Ncurses or NcursesW])], [], [with_ncurses=check]) AC_ARG_WITH([ncursesw], [AS_HELP_STRING([--without-ncursesw], [do not use NcursesW (wide character support)])], [], [with_ncursesw=check]) ax_saved_LIBS=$LIBS AS_IF([test "x$with_ncurses" = xyes || test "x$with_ncursesw" = xyes], [ax_with_plaincurses=no], [ax_with_plaincurses=check]) ax_cv_curses_which=no # Test for NcursesW AS_IF([test "x$CURSES_LIB" = x && test "x$with_ncursesw" != xno], [ LIBS="$ax_saved_LIBS -lncursesw" AC_CACHE_CHECK([for NcursesW wide-character library], [ax_cv_ncursesw], [ AC_LINK_IFELSE([AC_LANG_CALL([], [initscr])], [ax_cv_ncursesw=yes], [ax_cv_ncursesw=no]) ]) AS_IF([test "x$ax_cv_ncursesw" = xno && test "x$with_ncursesw" = xyes], [ AC_MSG_ERROR([--with-ncursesw specified but could not find NcursesW library]) ]) AS_IF([test "x$ax_cv_ncursesw" = xyes], [ ax_cv_curses=yes ax_cv_curses_which=ncursesw CURSES_LIB="-lncursesw" AC_DEFINE([HAVE_NCURSESW], [1], [Define to 1 if the NcursesW library is present]) AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) AC_CACHE_CHECK([for working ncursesw/curses.h], [ax_cv_header_ncursesw_curses_h], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@define _XOPEN_SOURCE_EXTENDED 1 @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ]])], [ax_cv_header_ncursesw_curses_h=yes], [ax_cv_header_ncursesw_curses_h=no]) ]) AS_IF([test "x$ax_cv_header_ncursesw_curses_h" = xyes], [ ax_cv_curses_enhanced=yes ax_cv_curses_color=yes ax_cv_curses_obsolete=yes AC_DEFINE([HAVE_CURSES_ENHANCED], [1], [Define to 1 if library supports X/Open Enhanced functions]) AC_DEFINE([HAVE_CURSES_COLOR], [1], [Define to 1 if library supports color (enhanced functions)]) AC_DEFINE([HAVE_CURSES_OBSOLETE], [1], [Define to 1 if library supports certain obsolete features]) AC_DEFINE([HAVE_NCURSESW_CURSES_H], [1], [Define to 1 if is present]) ]) AC_CACHE_CHECK([for working ncursesw.h], [ax_cv_header_ncursesw_h], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@define _XOPEN_SOURCE_EXTENDED 1 @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ]])], [ax_cv_header_ncursesw_h=yes], [ax_cv_header_ncursesw_h=no]) ]) AS_IF([test "x$ax_cv_header_ncursesw_h" = xyes], [ ax_cv_curses_enhanced=yes ax_cv_curses_color=yes ax_cv_curses_obsolete=yes AC_DEFINE([HAVE_CURSES_ENHANCED], [1], [Define to 1 if library supports X/Open Enhanced functions]) AC_DEFINE([HAVE_CURSES_COLOR], [1], [Define to 1 if library supports color (enhanced functions)]) AC_DEFINE([HAVE_CURSES_OBSOLETE], [1], [Define to 1 if library supports certain obsolete features]) AC_DEFINE([HAVE_NCURSESW_H], [1], [Define to 1 if is present]) ]) AC_CACHE_CHECK([for working ncurses.h], [ax_cv_header_ncurses_h_with_ncursesw], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@define _XOPEN_SOURCE_EXTENDED 1 @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ]])], [ax_cv_header_ncurses_h_with_ncursesw=yes], [ax_cv_header_ncurses_h_with_ncursesw=no]) ]) AS_IF([test "x$ax_cv_header_ncurses_h_with_ncursesw" = xyes], [ ax_cv_curses_enhanced=yes ax_cv_curses_color=yes ax_cv_curses_obsolete=yes AC_DEFINE([HAVE_CURSES_ENHANCED], [1], [Define to 1 if library supports X/Open Enhanced functions]) AC_DEFINE([HAVE_CURSES_COLOR], [1], [Define to 1 if library supports color (enhanced functions)]) AC_DEFINE([HAVE_CURSES_OBSOLETE], [1], [Define to 1 if library supports certain obsolete features]) AC_DEFINE([HAVE_NCURSES_H], [1], [Define to 1 if is present]) ]) AS_IF([test "x$ax_cv_header_ncursesw_curses_h" = xno && test "x$ax_cv_header_ncursesw_h" = xno && test "x$ax_cv_header_ncurses_h_with_ncursesw" = xno], [ AC_MSG_WARN([could not find a working ncursesw/curses.h, ncursesw.h or ncurses.h]) ]) ]) ]) # Test for Ncurses AS_IF([test "x$CURSES_LIB" = x && test "x$with_ncurses" != xno && test "x$ax_cv_curses_which" = xno], [ LIBS="$ax_saved_LIBS -lncurses" AC_CACHE_CHECK([for Ncurses library], [ax_cv_ncurses], [ AC_LINK_IFELSE([AC_LANG_CALL([], [initscr])], [ax_cv_ncurses=yes], [ax_cv_ncurses=no]) ]) AS_IF([test "x$ax_cv_ncurses" = xno && test "x$with_ncurses" = xyes], [ AC_MSG_ERROR([--with-ncurses specified but could not find Ncurses library]) ]) AS_IF([test "x$ax_cv_ncurses" = xyes], [ ax_cv_curses=yes ax_cv_curses_which=ncurses CURSES_LIB="-lncurses" AC_DEFINE([HAVE_NCURSES], [1], [Define to 1 if the Ncurses library is present]) AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) AC_CACHE_CHECK([for working ncurses/curses.h], [ax_cv_header_ncurses_curses_h], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); ]])], [ax_cv_header_ncurses_curses_h=yes], [ax_cv_header_ncurses_curses_h=no]) ]) AS_IF([test "x$ax_cv_header_ncurses_curses_h" = xyes], [ ax_cv_curses_color=yes ax_cv_curses_obsolete=yes AC_DEFINE([HAVE_CURSES_COLOR], [1], [Define to 1 if library supports color (enhanced functions)]) AC_DEFINE([HAVE_CURSES_OBSOLETE], [1], [Define to 1 if library supports certain obsolete features]) AC_DEFINE([HAVE_NCURSES_CURSES_H], [1], [Define to 1 if is present]) ]) AC_CACHE_CHECK([for working ncurses.h], [ax_cv_header_ncurses_h], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); ]])], [ax_cv_header_ncurses_h=yes], [ax_cv_header_ncurses_h=no]) ]) AS_IF([test "x$ax_cv_header_ncurses_h" = xyes], [ ax_cv_curses_color=yes ax_cv_curses_obsolete=yes AC_DEFINE([HAVE_CURSES_COLOR], [1], [Define to 1 if library supports color (enhanced functions)]) AC_DEFINE([HAVE_CURSES_OBSOLETE], [1], [Define to 1 if library supports certain obsolete features]) AC_DEFINE([HAVE_NCURSES_H], [1], [Define to 1 if is present]) ]) AS_IF([test "x$ax_cv_header_ncurses_curses_h" = xno && test "x$ax_cv_header_ncurses_h" = xno], [ AC_MSG_WARN([could not find a working ncurses/curses.h or ncurses.h]) ]) ]) ]) # Test for plain Curses (or if CURSES_LIB was set by user) AS_IF([test "x$with_plaincurses" != xno && test "x$ax_cv_curses_which" = xno], [ AS_IF([test "x$CURSES_LIB" != x], [ LIBS="$ax_saved_LIBS $CURSES_LIB" ], [ LIBS="$ax_saved_LIBS -lcurses" ]) AC_CACHE_CHECK([for Curses library], [ax_cv_plaincurses], [ AC_LINK_IFELSE([AC_LANG_CALL([], [initscr])], [ax_cv_plaincurses=yes], [ax_cv_plaincurses=no]) ]) AS_IF([test "x$ax_cv_plaincurses" = xyes], [ ax_cv_curses=yes ax_cv_curses_which=plaincurses AS_IF([test "x$CURSES_LIB" = x], [ CURSES_LIB="-lcurses" ]) AC_DEFINE([HAVE_CURSES], [1], [Define to 1 if a SysV or X/Open compatible Curses library is present]) # Check for base conformance (and header file) AC_CACHE_CHECK([for working curses.h], [ax_cv_header_curses_h], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; initscr(); ]])], [ax_cv_header_curses_h=yes], [ax_cv_header_curses_h=no]) ]) AS_IF([test "x$ax_cv_header_curses_h" = xyes], [ AC_DEFINE([HAVE_CURSES_H], [1], [Define to 1 if is present]) # Check for X/Open Enhanced conformance AC_CACHE_CHECK([for X/Open Enhanced Curses conformance], [ax_cv_plaincurses_enhanced], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@define _XOPEN_SOURCE_EXTENDED 1 @%:@include @%:@ifndef _XOPEN_CURSES @%:@error "this Curses library is not enhanced" "this Curses library is not enhanced" @%:@endif ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; attr_t d = WA_NORMAL; cchar_t e; wint_t f; initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); wattr_set(stdscr, d, 0, NULL); wget_wch(stdscr, &f); ]])], [ax_cv_plaincurses_enhanced=yes], [ax_cv_plaincurses_enhanced=no]) ]) AS_IF([test "x$ax_cv_plaincurses_enhanced" = xyes], [ ax_cv_curses_enhanced=yes ax_cv_curses_color=yes AC_DEFINE([HAVE_CURSES_ENHANCED], [1], [Define to 1 if library supports X/Open Enhanced functions]) AC_DEFINE([HAVE_CURSES_COLOR], [1], [Define to 1 if library supports color (enhanced functions)]) ]) # Check for color functions AC_CACHE_CHECK([for Curses color functions], [ax_cv_plaincurses_color], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@define _XOPEN_SOURCE_EXTENDED 1 @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; chtype c = COLOR_PAIR(1) & A_COLOR; initscr(); init_pair(1, COLOR_WHITE, COLOR_RED); ]])], [ax_cv_plaincurses_color=yes], [ax_cv_plaincurses_color=no]) ]) AS_IF([test "x$ax_cv_plaincurses_color" = xyes], [ ax_cv_curses_color=yes AC_DEFINE([HAVE_CURSES_COLOR], [1], [Define to 1 if library supports color (enhanced functions)]) ]) # Check for obsolete functions AC_CACHE_CHECK([for obsolete Curses functions], [ax_cv_plaincurses_obsolete], [ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ @%:@include ]], [[ chtype a = A_BOLD; int b = KEY_LEFT; int g = getattrs(stdscr); int h = getcurx(stdscr) + getmaxx(stdscr); initscr(); ]])], [ax_cv_plaincurses_obsolete=yes], [ax_cv_plaincurses_obsolete=no]) ]) AS_IF([test "x$ax_cv_plaincurses_obsolete" = xyes], [ ax_cv_curses_obsolete=yes AC_DEFINE([HAVE_CURSES_OBSOLETE], [1], [Define to 1 if library supports certain obsolete features]) ]) ]) AS_IF([test "x$ax_cv_header_curses_h" = xno], [ AC_MSG_WARN([could not find a working curses.h]) ]) ]) ]) AS_IF([test "x$ax_cv_curses" != xyes], [ax_cv_curses=no]) AS_IF([test "x$ax_cv_curses_enhanced" != xyes], [ax_cv_curses_enhanced=no]) AS_IF([test "x$ax_cv_curses_color" != xyes], [ax_cv_curses_color=no]) AS_IF([test "x$ax_cv_curses_obsolete" != xyes], [ax_cv_curses_obsolete=no]) LIBS=$ax_saved_LIBS ])dnl # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of # the License, or (at your option) any later version. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) # serial 57 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT AC_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_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. m4_defun([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl 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 _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # 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 # 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], [[!?.]$], [], [.]) )]) # _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\\"\\\`\\\\\\"" ;; *) 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\\"\\\`\\\\\\"" ;; *) 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 $lt_write_fail = 0 && 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 "$silent" = yes && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # _LT_COPYING _LT_LIBTOOL_TAGS # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) _LT_PROG_REPLACE_SHELLFNS mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [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 $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) 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 $_lt_result -eq 0 && $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 "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; 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 "$lt_cv_ld_force_load" = "yes"; 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*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; 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 "$lt_cv_apple_cc_single_mod" != "yes"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([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 "${lt_cv_aix_libpath+set}" = 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 which will find a shell with a builtin # printf (which 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], [ --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 "$GCC" = yes; 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 in which 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 "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; *-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-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 "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test "x$lt_cv_ar_at_file" = xno; 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 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" # 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 x"[$]$2" = xyes; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_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 x"[$]$2" = xyes; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; 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; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; 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"; 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 $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $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 -fvisbility=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 "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$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 "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", [Define to the sub-directory in which libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existent directories. if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac 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` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # 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} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; 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=yes 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 "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # 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 "$lt_cv_prog_gnu_ld" = yes; 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 ;; # 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 # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;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*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # 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 "$with_gnu_ld" = yes; 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=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # 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 "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [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], [2], [Run-time system search path for libraries]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program which can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program which can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl 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 "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # 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*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_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 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi]) if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) 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 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 "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # 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 "$GCC" = yes; 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 "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi 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 con'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* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_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 "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # 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_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_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 "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; 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 "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; 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 "$host_cpu" != ia64; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | 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 "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; 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 "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | 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' ;; 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 which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_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 AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global defined # symbols, whereas GNU nm marks them as "W". 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) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw* | cegcc*) 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 "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; 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 "$with_gnu_ld" = yes; 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 "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>&1` in *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 "$host_cpu" != ia64; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.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 (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; 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 ;; 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 "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $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' ;; 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 "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | 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 "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $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 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $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 "$_LT_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". 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) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi _LT_TAGVAR(link_all_deplibs, $1)=no else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$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 "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$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 "$with_gnu_ld" = yes; 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 # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. 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~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $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 "$GCC" = yes; 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; 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 "$with_gnu_ld" = no; 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 "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $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 "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $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 "$lt_cv_irix_exported_symbol" = yes; 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 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 ;; 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*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && 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 "$GCC" = yes; 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 "$GCC" = yes; 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 "$GCC" = yes; then _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_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 if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC="$lt_save_CC" ])# _LT_LANG_C_CONFIG # _LT_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 "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi 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 "$_lt_caught_CXX_error" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_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 "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC $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 "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$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 "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$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 "$with_gnu_ld" = yes; 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 # This is similar to how AIX traditionally builds its shared # libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) 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~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $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 (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $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 "$GXX" = yes; then if test "$with_gnu_ld" = no; 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 "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; 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 ;; openbsd2*) # C++ shared libraries are fairly broken _LT_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd=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 "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && 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 "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -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 $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -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 can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(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 "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(GCC, $1)="$GXX" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC 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 "$_lt_caught_CXX_error" != yes 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 ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; 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 $p = "-L" || test $p = "-R"; 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 "$pre_test_object_deps_done" = no; 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 "$pre_test_object_deps_done" = no; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)="$p" else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)="$p" else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext 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)= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_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 "X$F77" = "Xno"; 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 "$_lt_disable_F77" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC 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 "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$G77" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" CFLAGS="$lt_save_CFLAGS" fi # test "$_lt_disable_F77" != yes 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 "X$FC" = "Xno"; 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 "$_lt_disable_FC" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC 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 "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test "$_lt_disable_FC" != yes AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_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 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 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 "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_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 $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes AC_MSG_RESULT([$xsi_shell]) _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) AC_MSG_CHECKING([whether the shell understands "+="]) lt_shell_append=no ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes AC_MSG_RESULT([$lt_shell_append]) _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) # ------------------------------------------------------ # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. m4_defun([_LT_PROG_FUNCTION_REPLACE], [dnl { sed -e '/^$1 ()$/,/^} # $1 /c\ $1 ()\ {\ m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: ]) # _LT_PROG_REPLACE_SHELLFNS # ------------------------- # Replace existing portable implementations of several shell functions with # equivalent extended shell implementations where those features are available.. m4_defun([_LT_PROG_REPLACE_SHELLFNS], [if test x"$xsi_shell" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"}]) _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl func_split_long_opt_name=${1%%=*} func_split_long_opt_arg=${1#*=}]) _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) fi if test x"$lt_shell_append" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl func_quote_for_eval "${2}" dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) fi ]) # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine which 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 # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 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 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS # _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_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=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) 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])]) # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59 which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) # ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 3337 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.2]) m4_define([LT_PACKAGE_REVISION], [1.3337]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2' macro_revision='1.3337' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2009 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])]) # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11.6], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.6])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, # 2010, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. 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 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; 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, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' 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, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR sinfo-0.0.48/missing0000744000175000017500000002415212444035655011253 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and \`g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: