--- sylpheed-claws-1.0.5.orig/libtool +++ sylpheed-claws-1.0.5/libtool @@ -0,0 +1,7364 @@ +#! /bin/sh + +# libtoolT - Provide generalized library-building support services. +# Generated automatically by (GNU sylpheed-claws 1.0.5) +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +# Free Software Foundation, Inc. +# +# This file is part of GNU Libtool: +# Originally by Gordon Matzigkeit , 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 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. +# +# 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. + +# A sed program that does not truncate output. +SED="/bin/sed" + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="/bin/sed -e s/^X//" + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi + +# The names of the tagged configurations supported by this script. +available_tags=" CXX F77" + +# ### BEGIN LIBTOOL CONFIG + +# Libtool was configured on host gashuffer: + +# Shell to use when invoking shell scripts. +SHELL="/bin/sh" + +# Whether or not to build shared libraries. +build_libtool_libs=yes + +# Whether or not to build static libraries. +build_old_libs=yes + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=no + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=no + +# Whether or not to optimize for fast installation. +fast_install=yes + +# The host system. +host_alias= +host=i486-pc-linux-gnu + +# An echo program that does not interpret backslashes. +echo="echo" + +# The archiver. +AR="ar" +AR_FLAGS="cru" + +# A C compiler. +LTCC="cc" + +# A language-specific compiler. +CC="cc" + +# Is the compiler the GNU C compiler? +with_gcc=yes + +# An ERE matcher. +EGREP="grep -E" + +# The linker used to build libraries. +LD="/usr/bin/ld" + +# Whether we need hard or soft links. +LN_S="ln -s" + +# A BSD-compatible nm program. +NM="/usr/bin/nm -B" + +# A symbol stripping program +STRIP="strip" + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=file + +# Used on cygwin: DLL creation program. +DLLTOOL="dlltool" + +# Used on cygwin: object dumper. +OBJDUMP="objdump" + +# Used on cygwin: assembler. +AS="as" + +# The name of the directory that contains temporary libtool files. +objdir=.libs + +# How to create reloadable object files. +reload_flag=" -r" +reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" + +# How to pass a linker flag through the compiler. +wl="-Wl," + +# Object file suffix (normally "o"). +objext="o" + +# Old archive suffix (normally "a"). +libext="a" + +# Shared library suffix (normally ".so"). +shrext_cmds='.so' + +# Executable file suffix (normally ""). +exeext="" + +# Additional compiler flags for building library objects. +pic_flag=" -fPIC -DPIC" +pic_mode=default + +# What is the maximum length of a command? +max_cmd_len=32768 + +# Does compiler simultaneously support -c and -o options? +compiler_c_o="yes" + +# Must we lock files when doing compilation ? +need_locks="no" + +# Do we need the lib prefix for modules? +need_lib_prefix=no + +# Do we need a version for libraries? +need_version=no + +# Whether dlopen is supported. +dlopen_support=unknown + +# Whether dlopen of programs is supported. +dlopen_self=unknown + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=unknown + +# Compiler flag to prevent dynamic linking. +link_static_flag="-static" + +# Compiler flag to turn off builtin functions. +no_builtin_flag=" -fno-builtin" + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec="\${wl}--export-dynamic" + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec="" + +# Library versioning type. +version_type=linux + +# Format of library name prefix. +libname_spec="lib\$name" + +# 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="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" + +# The coded name of the library, if different from the real name. +soname_spec="\${libname}\${release}\${shared_ext}\$major" + +# Commands used to build and install an old-style archive. +RANLIB="ranlib" +old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib" +old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib" +old_postuninstall_cmds="" + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds="" + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds="" + +# Commands used to build and install a shared archive. +archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" +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 -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" +postinstall_cmds="" +postuninstall_cmds="" + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds="" +module_expsym_cmds="" + +# Commands to strip libraries. +old_striplib="strip --strip-debug" +striplib="strip --strip-unneeded" + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects="" + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps="" + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path="" + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method="pass_all" + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd="\$MAGIC_CMD" + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag="" + +# Flag that forces no undefined symbols. +no_undefined_flag="" + +# Commands used to finish a libtool library installation in a directory. +finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval="" + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'" + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'" + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'" + +# This is the shared library runtime path variable. +runpath_var=LD_RUN_PATH + +# This is the shared library path variable. +shlibpath_var=LD_LIBRARY_PATH + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=no + +# How to hardcode a shared library path into an executable. +hardcode_action=immediate + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=yes + +# Flag to hardcode $libdir into a binary during linking. +# This must work even if $libdir does not exist. +hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" + +# If ld is used when linking, flag to hardcode $libdir into +# a binary during linking. This must work even if $libdir does +# not exist. +hardcode_libdir_flag_spec_ld="" + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator="" + +# Set to yes if using DIR/libNAME during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=no + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=no + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=unsupported + +# 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=no + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=no + +# Compile-time system search path for libraries +sys_lib_search_path_spec=" /usr/lib/gcc/i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/lib/i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/lib/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../ /lib/i486-linux-gnu/4.1.2/ /lib/ /usr/lib/i486-linux-gnu/4.1.2/ /usr/lib/" + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/atlas include /etc/ld.so.conf.d/*.conf " + +# Fix the shell variable $srcfile for the compiler. +fix_srcfile_path="" + +# Set to yes if exported symbols are required. +always_export_symbols=no + +# The commands to list exported symbols. +export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds="" + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + +# Symbols that must always be exported. +include_expsyms="" + +# ### END LIBTOOL CONFIG + +# ltmain.sh - Provide generalized library-building support services. +# NOTE: Changing this file will not affect anything until you rerun configure. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 +# Free Software Foundation, Inc. +# Originally by Gordon Matzigkeit , 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 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. +# +# 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. + +basename="s,^.*/,,g" + +# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh +# is ksh but when the shell is invoked as "sh" and the current value of +# the _XPG environment variable is not equal to 1 (one), the special +# positional parameter $0, within a function call, is the name of the +# function. +progpath="$0" + +# The name of this program: +progname=`echo "$progpath" | $SED $basename` +modename="$progname" + +# Global variables: +EXIT_SUCCESS=0 +EXIT_FAILURE=1 + +PROGRAM=ltmain.sh +PACKAGE=libtool +VERSION=1.5.6 +TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $" + + +# Check that we have a working $echo. +if test "X$1" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift +elif test "X$1" = X--fallback-echo; then + # Avoid inline document here, it may be left over + : +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then + # Yippee, $echo works! + : +else + # Restart under the correct shell, and then maybe $echo will work. + exec $SHELL "$progpath" --no-reexec ${1+"$@"} +fi + +if test "X$1" = X--fallback-echo; then + # used as fallback echo + shift + cat <&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE +fi + +# Global variables. +mode=$default_mode +nonopt= +prev= +prevopt= +run= +show="$echo" +show_help= +execute_dlfiles= +lo2o="s/\\.lo\$/.${objext}/" +o2lo="s/\\.${objext}\$/.lo/" + +##################################### +# Shell function definitions: +# This seems to be the best place for them + +# 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. +func_win32_libid () { + 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 + if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ + $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then + win32_nmres=`eval $NM -f posix -A $1 | \ + sed -n -e '1,100{/ I /{x;/import/!{s/^/import/;h;p;};x;};}'` + if test "X$win32_nmres" = "Ximport" ; then + win32_libid_type="x86 archive import" + else + win32_libid_type="x86 archive static" + fi + 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_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 () { + if test -n "$available_tags" && test -z "$tagname"; then + CC_quoted= + for arg in $CC; do + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + 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 "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; + # 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. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + CC_quoted="$CC_quoted $arg" + done + case "$@ " in + " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) + # 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 + $echo "$modename: unable to infer tagged configuration" + $echo "$modename: specify a tag with \`--tag'" 1>&2 + exit $EXIT_FAILURE +# else +# $echo "$modename: using $tagname tagged configuration" + fi + ;; + esac + fi +} +# End of Shell function definitions +##################################### + +# Darwin sucks +eval std_shrext=\"$shrext_cmds\" + +# Parse our command line options once, thoroughly. +while test "$#" -gt 0 +do + arg="$1" + shift + + case $arg in + -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; + *) optarg= ;; + esac + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + execute_dlfiles) + execute_dlfiles="$execute_dlfiles $arg" + ;; + tag) + tagname="$arg" + preserve_args="${preserve_args}=$arg" + + # Check whether tagname contains only valid characters + case $tagname in + *[!-_A-Za-z0-9,/]*) + $echo "$progname: invalid tag name: $tagname" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + case $tagname in + CC) + # Don't test for the "default" C tag, as we know, it's there, but + # not specially marked. + ;; + *) + if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then + taglist="$taglist $tagname" + # Evaluate the configuration. + eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" + else + $echo "$progname: ignoring unknown tag $tagname" 1>&2 + fi + ;; + esac + ;; + *) + eval "$prev=\$arg" + ;; + esac + + prev= + prevopt= + continue + fi + + # Have we seen a non-optional argument yet? + case $arg in + --help) + show_help=yes + ;; + + --version) + $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" + $echo + $echo "Copyright (C) 2003 Free Software Foundation, Inc." + $echo "This is free software; see the source for copying conditions. There is NO" + $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + exit $EXIT_SUCCESS + ;; + + --config) + ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath + # Now print the configurations for the tags. + for tagname in $taglist; do + ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" + done + exit $EXIT_SUCCESS + ;; + + --debug) + $echo "$progname: enabling shell trace mode" + set -x + preserve_args="$preserve_args $arg" + ;; + + --dry-run | -n) + run=: + ;; + + --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 $EXIT_SUCCESS + ;; + + --finish) mode="finish" ;; + + --mode) prevopt="--mode" prev=mode ;; + --mode=*) mode="$optarg" ;; + + --preserve-dup-deps) duplicate_deps="yes" ;; + + --quiet | --silent) + show=: + preserve_args="$preserve_args $arg" + ;; + + --tag) prevopt="--tag" prev=tag ;; + --tag=*) + set tag "$optarg" ${1+"$@"} + shift + prev=tag + preserve_args="$preserve_args --tag" + ;; + + -dlopen) + prevopt="-dlopen" + prev=execute_dlfiles + ;; + + -*) + $echo "$modename: unrecognized option \`$arg'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + + *) + nonopt="$arg" + break + ;; + esac +done + +if test -n "$prevopt"; then + $echo "$modename: option \`$prevopt' requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE +fi + +# 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= + +if test -z "$show_help"; then + + # Infer the operation mode. + if test -z "$mode"; then + $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 + $echo "*** Future versions of Libtool will require -mode=MODE be specified." 1>&2 + case $nonopt in + *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) + mode=link + for arg + do + case $arg in + -c) + mode=compile + break + ;; + esac + done + ;; + *db | *dbx | *strace | *truss) + mode=execute + ;; + *install*|cp|mv) + mode=install + ;; + *rm) + mode=uninstall + ;; + *) + # If we have no mode, but dlfiles were specified, then do execute mode. + test -n "$execute_dlfiles" && mode=execute + + # Just use the default operation mode. + if test -z "$mode"; then + if test -n "$nonopt"; then + $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 + else + $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 + fi + fi + ;; + esac + fi + + # Only execute mode is allowed to have -dlopen flags. + if test -n "$execute_dlfiles" && test "$mode" != execute; then + $echo "$modename: unrecognized option \`-dlopen'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Change the help message to a mode-specific one. + generic_help="$help" + help="Try \`$modename --help --mode=$mode' for more information." + + # These modes are in order of execution frequency so that they run quickly. + case $mode in + # libtool compile mode + compile) + modename="$modename: compile" + # 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= + + 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) + if test -n "$libobj" ; then + $echo "$modename: you cannot specify \`-o' more than once" 1>&2 + exit $EXIT_FAILURE + fi + arg_mode=target + continue + ;; + + -static | -prefer-pic | -prefer-non-pic) + later="$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,*) + args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` + lastarg= + save_ifs="$IFS"; IFS=',' + for arg in $args; do + IFS="$save_ifs" + + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + lastarg="$lastarg $arg" + done + IFS="$save_ifs" + lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` + + # Add the arguments to base_compile. + base_compile="$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. + lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` + + case $lastarg in + # Double-quote args containing other shell metacharacters. + # Many Bourne shells cannot handle close brackets correctly + # in scan sets, so we specify it separately. + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + lastarg="\"$lastarg\"" + ;; + esac + + base_compile="$base_compile $lastarg" + done # for arg + + case $arg_mode in + arg) + $echo "$modename: you must specify an argument for -Xcompile" + exit $EXIT_FAILURE + ;; + target) + $echo "$modename: you must specify a target with \`-o'" 1>&2 + exit $EXIT_FAILURE + ;; + *) + # Get the name of the library object. + [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` + ;; + esac + + # Recognize several different file suffixes. + # If the user specifies -o file.o, it is replaced with file.lo + xform='[cCFSifmso]' + case $libobj in + *.ada) xform=ada ;; + *.adb) xform=adb ;; + *.ads) xform=ads ;; + *.asm) xform=asm ;; + *.c++) xform=c++ ;; + *.cc) xform=cc ;; + *.ii) xform=ii ;; + *.class) xform=class ;; + *.cpp) xform=cpp ;; + *.cxx) xform=cxx ;; + *.f90) xform=f90 ;; + *.for) xform=for ;; + *.java) xform=java ;; + esac + + libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` + + case $libobj in + *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; + *) + $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + func_infer_tag $base_compile + + for arg in $later; do + case $arg in + -static) + build_old_libs=yes + continue + ;; + + -prefer-pic) + pic_mode=yes + continue + ;; + + -prefer-non-pic) + pic_mode=no + continue + ;; + esac + done + + objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` + xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$obj"; then + xdir= + else + xdir=$xdir/ + fi + lobj=${xdir}$objdir/$objname + + if test -z "$base_compile"; then + $echo "$modename: you must specify a compilation command" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # 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 + + $run $rm $removelist + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + + # On Cygwin there's no "real" PIC flag so we must build both object types + case $host_os in + cygwin* | mingw* | pw32* | os2*) + 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 "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} + lockfile="$output_obj.lock" + removelist="$removelist $output_obj $lockfile" + trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 + 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 $run ln "$progpath" "$lockfile" 2>/dev/null; do + $show "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." + + $run $rm $removelist + exit $EXIT_FAILURE + fi + $echo $srcfile > "$lockfile" + fi + + if test -n "$fix_srcfile_path"; then + eval srcfile=\"$fix_srcfile_path\" + fi + + $run $rm "$libobj" "${libobj}T" + + # Create a libtool object file (analogous to a ".la" file), + # but don't create it if we're doing a dry run. + test -z "$run" && cat > ${libobj}T </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." + + $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 + $show "$mv $output_obj $lobj" + if $run $mv $output_obj $lobj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the PIC object to the libtool object file. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T </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." + + $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 + $show "$mv $output_obj $obj" + if $run $mv $output_obj $obj; then : + else + error=$? + $run $rm $removelist + exit $error + fi + fi + + # Append the name of the non-PIC object the libtool object file. + # Only append if the libtool object file exists. + test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 + fi + if test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + else + if test -z "$pic_flag" && test -n "$link_static_flag"; then + dlopen_self=$dlopen_self_static + fi + fi + build_libtool_libs=no + build_old_libs=yes + prefer_static_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 + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test + ;; + *) qarg=$arg ;; + esac + libtool_args="$libtool_args $qarg" + + # If the previous option needs an argument, assign it. + if test -n "$prev"; then + case $prev in + output) + compile_command="$compile_command @OUTPUT@" + finalize_command="$finalize_command @OUTPUT@" + ;; + esac + + case $prev in + dlfiles|dlprefiles) + if test "$preload" = no; then + # Add the symbol object into the linking commands. + compile_command="$compile_command @SYMFILE@" + finalize_command="$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 + dlfiles="$dlfiles $arg" + else + dlprefiles="$dlprefiles $arg" + fi + prev= + continue + ;; + esac + ;; + expsyms) + export_symbols="$arg" + if test ! -f "$arg"; then + $echo "$modename: symbol file \`$arg' does not exist" + exit $EXIT_FAILURE + fi + prev= + continue + ;; + expsyms_regex) + export_symbols_regex="$arg" + prev= + continue + ;; + inst_prefix) + inst_prefix_dir="$arg" + prev= + continue + ;; + precious_regex) + precious_files_regex="$arg" + prev= + continue + ;; + release) + release="-$arg" + prev= + continue + ;; + objectlist) + if test -f "$arg"; then + save_arg=$arg + moreargs= + for fil in `cat $save_arg` + do +# moreargs="$moreargs $fil" + arg=$fil + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + 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 + dlfiles="$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. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$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 + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + done + else + $echo "$modename: link input file \`$save_arg' does not exist" + exit $EXIT_FAILURE + fi + arg=$save_arg + prev= + continue + ;; + rpath | xrpath) + # We need an absolute path. + case $arg in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + if test "$prev" = rpath; then + case "$rpath " in + *" $arg "*) ;; + *) rpath="$rpath $arg" ;; + esac + else + case "$xrpath " in + *" $arg "*) ;; + *) xrpath="$xrpath $arg" ;; + esac + fi + prev= + continue + ;; + xcompiler) + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + xlinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $wl$qarg" + prev= + compile_command="$compile_command $wl$qarg" + finalize_command="$finalize_command $wl$qarg" + continue + ;; + xcclinker) + linker_flags="$linker_flags $qarg" + compiler_flags="$compiler_flags $qarg" + prev= + compile_command="$compile_command $qarg" + finalize_command="$finalize_command $qarg" + continue + ;; + shrext) + shrext_cmds="$arg" + prev= + 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 + compile_command="$compile_command $link_static_flag" + finalize_command="$finalize_command $link_static_flag" + fi + continue + ;; + + -allow-undefined) + # FIXME: remove this flag sometime in the future. + $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 + continue + ;; + + -avoid-version) + avoid_version=yes + 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 + $echo "$modename: more than one -exported-symbols argument is not allowed" + exit $EXIT_FAILURE + fi + if test "X$arg" = "X-export-symbols"; then + prev=expsyms + else + prev=expsyms_regex + fi + 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*) + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + ;; + esac + continue + ;; + + -L*) + dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 + exit $EXIT_FAILURE + fi + dir="$absdir" + ;; + esac + case "$deplibs " in + *" -L$dir "*) ;; + *) + deplibs="$deplibs -L$dir" + lib_search_path="$lib_search_path $dir" + ;; + esac + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$dir:"*) ;; + *) dllsearchpath="$dllsearchpath:$dir";; + esac + ;; + esac + continue + ;; + + -l*) + if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then + case $host in + *-*-cygwin* | *-*-pw32* | *-*-beos*) + # These systems don't actually have a C or math library (as such) + continue + ;; + *-*-mingw* | *-*-os2*) + # These systems don't actually have a C library (as such) + test "X$arg" = "X-lc" && continue + ;; + *-*-openbsd* | *-*-freebsd*) + # 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 + deplibs="$deplibs -framework System" + continue + esac + elif test "X$arg" = "X-lc_r"; then + case $host in + *-*-openbsd* | *-*-freebsd*) + # Do not include libc_r directly, use -pthread flag. + continue + ;; + esac + fi + deplibs="$deplibs $arg" + continue + ;; + + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) + deplibs="$deplibs $arg" + continue + ;; + + -module) + module=yes + continue + ;; + + # gcc -m* arguments should be passed to the linker via $compiler_flags + # in order to pass architecture information to the linker + # (e.g. 32 vs 64-bit). This may also be accomplished via -Wl,-mfoo + # but this is not reliable with gcc because gcc may use -mfoo to + # select a different linker, different libraries, etc, while + # -Wl,-mfoo simply passes -mfoo to the linker. + -m*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + if test "$with_gcc" = "yes" ; then + compiler_flags="$compiler_flags $arg" + fi + continue + ;; + + -shrext) + prev=shrext + continue + ;; + + -no-fast-install) + fast_install=no + continue + ;; + + -no-install) + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + # The PATH hackery in wrapper scripts is required on Windows + # in order for the loader to find any dlls it needs. + $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 + $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 + 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*) + dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + $echo "$modename: only absolute run-paths are allowed" 1>&2 + exit $EXIT_FAILURE + ;; + esac + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + continue + ;; + + -static) + # 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 + ;; + + -Wc,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Wl,*) + args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` + arg= + save_ifs="$IFS"; IFS=',' + for flag in $args; do + IFS="$save_ifs" + case $flag in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + flag="\"$flag\"" + ;; + esac + arg="$arg $wl$flag" + compiler_flags="$compiler_flags $wl$flag" + linker_flags="$linker_flags $flag" + done + IFS="$save_ifs" + arg=`$echo "X$arg" | $Xsed -e "s/^ //"` + ;; + + -Xcompiler) + prev=xcompiler + continue + ;; + + -Xlinker) + prev=xlinker + continue + ;; + + -XCClinker) + prev=xcclinker + continue + ;; + + # Some other compiler flag. + -* | +*) + # Unknown arguments in both finalize_command and compile_command need + # to be aesthetically quoted because they are evaled later. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + + *.$objext) + # A standard object. + objs="$objs $arg" + ;; + + *.lo) + # A libtool-controlled object. + + # Check to see that this really is a libtool object. + if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + pic_object= + non_pic_object= + + # Read the .lo file + # If there is no directory component, then add one. + case $arg in + */* | *\\*) . $arg ;; + *) . ./$arg ;; + esac + + if test -z "$pic_object" || \ + test -z "$non_pic_object" || + test "$pic_object" = none && \ + test "$non_pic_object" = none; then + $echo "$modename: cannot find name of object for \`$arg'" 1>&2 + exit $EXIT_FAILURE + fi + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + 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 + dlfiles="$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. + dlprefiles="$dlprefiles $pic_object" + prev= + fi + + # A PIC object. + libobjs="$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 + non_pic_objects="$non_pic_objects $non_pic_object" + if test -z "$pic_object" || test "$pic_object" = none ; then + arg="$non_pic_object" + fi + fi + else + # Only an error if not doing a dry-run. + if test -z "$run"; then + $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 + exit $EXIT_FAILURE + else + # Dry-run case. + + # Extract subdirectory from the argument. + xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` + if test "X$xdir" = "X$arg"; then + xdir= + else + xdir="$xdir/" + fi + + pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` + non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` + libobjs="$libobjs $pic_object" + non_pic_objects="$non_pic_objects $non_pic_object" + fi + fi + ;; + + *.$libext) + # An archive. + deplibs="$deplibs $arg" + old_deplibs="$old_deplibs $arg" + continue + ;; + + *.la) + # A libtool-controlled library. + + if test "$prev" = dlfiles; then + # This library was specified with -dlopen. + dlfiles="$dlfiles $arg" + prev= + elif test "$prev" = dlprefiles; then + # The library was specified with -dlpreopen. + dlprefiles="$dlprefiles $arg" + prev= + else + deplibs="$deplibs $arg" + 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. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") + arg="\"$arg\"" + ;; + esac + ;; + esac # arg + + # Now actually substitute the argument into the commands. + if test -n "$arg"; then + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + done # argument parsing loop + + if test -n "$prev"; then + $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then + eval arg=\"$export_dynamic_flag_spec\" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" + fi + + oldlibs= + # calculate the name of the file, without its directory + outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` + libobjs_save="$libobjs" + + if test -n "$shlibpath_var"; then + # get the directories listed in $shlibpath_var + eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'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\" + + output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` + if test "X$output_objdir" = "X$output"; then + output_objdir="$objdir" + else + output_objdir="$output_objdir/$objdir" + fi + # Create the object directory. + if test ! -d "$output_objdir"; then + $show "$mkdir $output_objdir" + $run $mkdir $output_objdir + status=$? + if test "$status" -ne 0 && test ! -d "$output_objdir"; then + exit $status + fi + fi + + # Determine the type of output + case $output in + "") + $echo "$modename: you must specify an output file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + *.$libext) linkmode=oldlib ;; + *.lo | *.$objext) linkmode=obj ;; + *.la) linkmode=lib ;; + *) linkmode=prog ;; # Anything else should be a program. + esac + + case $host in + *cygwin* | *mingw* | *pw32*) + # don't eliminate duplications in $postdeps and $predeps + duplicate_compiler_generated_deps=yes + ;; + *) + duplicate_compiler_generated_deps=$duplicate_deps + ;; + 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 test "X$duplicate_deps" = "Xyes" ; then + case "$libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + libs="$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 test "X$duplicate_compiler_generated_deps" = "Xyes" ; then + for pre_post_dep in $predeps $postdeps; do + case "$pre_post_deps " in + *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; + esac + pre_post_deps="$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 link" + for file in $dlfiles $dlprefiles; do + case $file in + *.la) ;; + *) + $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 + exit $EXIT_FAILURE + ;; + 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 + 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 "$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) + if test "$linkmode,$pass" = "prog,link"; then + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + deplibs="$deplib $deplibs" + fi + continue + ;; + -l*) + if test "$linkmode" != lib && test "$linkmode" != prog; then + $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 + continue + fi + name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` + for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; 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 (${SED} -e '2q' $lib | + grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + library_names= + old_library= + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + 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 + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + 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 + -L*) + case $linkmode in + lib) + deplibs="$deplib $deplibs" + test "$pass" = conv && continue + newdependency_libs="$deplib $newdependency_libs" + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + 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 + newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` + ;; + *) + $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 + ;; + esac # linkmode + continue + ;; # -L + -R*) + if test "$pass" = link; then + dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` + # Make sure the xrpath contains only unique directories. + case "$xrpath " in + *" $dir "*) ;; + *) xrpath="$xrpath $dir" ;; + esac + fi + deplibs="$deplib $deplibs" + continue + ;; + *.la) lib="$deplib" ;; + *.$libext) + if test "$pass" = conv; then + deplibs="$deplib $deplibs" + continue + fi + case $linkmode in + lib) + if test "$deplibs_check_method" != pass_all; 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 used here." + else + $echo + $echo "*** Warning: Linking the shared library $output against the" + $echo "*** static library $deplib is not portable!" + deplibs="$deplib $deplibs" + fi + 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. + newdlprefiles="$newdlprefiles $deplib" + compile_deplibs="$deplib $compile_deplibs" + finalize_deplibs="$deplib $finalize_deplibs" + else + newdlfiles="$newdlfiles $deplib" + fi + fi + continue + ;; + %DEPLIBS%) + alldeplibs=yes + continue + ;; + esac # case $deplib + if test "$found" = yes || test -f "$lib"; then : + else + $echo "$modename: cannot find the library \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + + ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` + test "X$ladir" = "X$lib" && ladir="." + + dlname= + dlopen= + dlpreopen= + libdir= + library_names= + old_library= + # If the library was installed with an old release of libtool, + # it will not redefine variables installed, or shouldnotlink + installed=yes + shouldnotlink=no + + # Read the .la file + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + + if test "$linkmode,$pass" = "lib,link" || + test "$linkmode,$pass" = "prog,scan" || + { test "$linkmode" != prog && test "$linkmode" != lib; }; then + test -n "$dlopen" && dlfiles="$dlfiles $dlopen" + test -n "$dlpreopen" && dlprefiles="$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 + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # It is a libtool convenience library, so add in its objects. + convenience="$convenience $ladir/$objdir/$old_library" + old_convenience="$old_convenience $ladir/$objdir/$old_library" + tmp_libs= + for deplib in $dependency_libs; do + deplibs="$deplib $deplibs" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + elif test "$linkmode" != prog && test "$linkmode" != lib; then + $echo "$modename: \`$lib' is not a convenience library" 1>&2 + exit $EXIT_FAILURE + fi + continue + fi # $pass = conv + + + # Get the name of the library we link against. + linklib= + for l in $old_library $library_names; do + linklib="$l" + done + if test -z "$linklib"; then + $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + + # This library was specified with -dlopen. + if test "$pass" = dlopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + 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. + dlprefiles="$dlprefiles $lib $dependency_libs" + else + newdlfiles="$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 + $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 + $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 + abs_ladir="$ladir" + fi + ;; + esac + laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + + # Find the relevant object directory and library name. + if test "X$installed" = Xyes; then + if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then + $echo "$modename: warning: library \`$lib' was moved." 1>&2 + dir="$ladir" + absdir="$abs_ladir" + libdir="$abs_ladir" + else + dir="$libdir" + absdir="$libdir" + fi + else + dir="$ladir/$objdir" + absdir="$abs_ladir/$objdir" + # Remove this search path later + notinst_path="$notinst_path $abs_ladir" + fi # $installed = yes + name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + + # This library was specified with -dlpreopen. + if test "$pass" = dlpreopen; then + if test -z "$libdir"; then + $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 + exit $EXIT_FAILURE + fi + # Prefer using a static library (so that no silly _DYNAMIC symbols + # are required to link). + if test -n "$old_library"; then + newdlprefiles="$newdlprefiles $dir/$old_library" + # Otherwise, use the dlname, so that lt_dlopen finds it. + elif test -n "$dlname"; then + newdlprefiles="$newdlprefiles $dir/$dlname" + else + newdlprefiles="$newdlprefiles $dir/$linklib" + fi + 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 + newlib_search_path="$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*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test + 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 test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$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 -z "$old_library"; }; then + # We need to hardcode the library path + if test -n "$shlibpath_var"; then + # Make sure the rpath contains only unique directories. + case "$temp_rpath " in + *" $dir "*) ;; + *" $absdir "*) ;; + *) temp_rpath="$temp_rpath $dir" ;; + 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 "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$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 + if test -n "$library_names" && + { test "$prefer_static_libs" = no || test -z "$old_library"; }; then + if test "$installed" = no; then + notinst_deplibs="$notinst_deplibs $lib" + need_relink=yes + fi + # This is a shared library + + # Warn about portability, can't link against -module's on + # some systems (darwin) + if 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 "*) ;; + *) compile_rpath="$compile_rpath $absdir" + esac + ;; + esac + case " $sys_lib_dlsearch_path " in + *" $libdir "*) ;; + *) + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$finalize_rpath $libdir" + esac + ;; + esac + fi + + if test -n "$old_archive_from_expsyms_cmds"; then + # figure out the soname + set dummy $library_names + realname="$2" + shift; 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*) + major=`expr $current - $age` + versuffix="-$major" + ;; + esac + eval soname=\"$soname_spec\" + else + soname="$realname" + fi + + # Make a new name for the extract_expsyms_cmds to use + soroot="$soname" + soname=`$echo $soroot | ${SED} -e 's/^.*\///'` + newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" + + # If the library has no export list, then create one now + if test -f "$output_objdir/$soname-def"; then : + else + $show "extracting exported symbol list from \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$extract_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Create $newlib + if test -f "$output_objdir/$newlib"; then :; else + $show "generating import library for \`$soname'" + save_ifs="$IFS"; IFS='~' + cmds=$old_archive_from_expsyms_cmds + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + 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 "$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* ) add_dir="-L$dir" ;; + *-*-darwin* ) + # if the lib is a module then we can not link against + # it, someone is ignoring the new warnings I added + if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; 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 + 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; then + add="$dir/$linklib" + elif test "$hardcode_minus_L" = yes; then + add_dir="-L$dir" + # Try looking first in the location we're being installed to. + if test -n "$inst_prefix_dir"; then + case "$libdir" in + [\\/]*) + add_dir="$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 + $echo "$modename: configuration error: unsupported hardcode properties" + exit $EXIT_FAILURE + fi + + if test -n "$add_shlibpath"; then + case :$compile_shlibpath: in + *":$add_shlibpath:"*) ;; + *) compile_shlibpath="$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:"*) ;; + *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; + esac + fi + fi + fi + + if test "$linkmode" = prog || test "$mode" = relink; then + add_shlibpath= + add_dir= + add= + # Finalize command for both is simple: just hardcode it. + if test "$hardcode_direct" = yes; 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:"*) ;; + *) finalize_shlibpath="$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 + [\\/]*) + add_dir="$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 + convenience="$convenience $dir/$old_library" + old_convenience="$old_convenience $dir/$old_library" + 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*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` + case " $xrpath " in + *" $temp_xrpath "*) ;; + *) xrpath="$xrpath $temp_xrpath";; + esac;; + *) temp_deplibs="$temp_deplibs $libdir";; + esac + done + dependency_libs="$temp_deplibs" + fi + + newlib_search_path="$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" + if test "X$duplicate_deps" = "Xyes" ; then + case "$tmp_libs " in + *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; + esac + fi + tmp_libs="$tmp_libs $deplib" + done + + if test "$link_all_deplibs" != no; then + # Add the search paths of all dependency libraries + for deplib in $dependency_libs; do + case $deplib in + -L*) path="$deplib" ;; + *.la) + dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$deplib" && dir="." + # We need an absolute path. + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; + *) + absdir=`cd "$dir" && pwd` + if test -z "$absdir"; then + $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 + absdir="$dir" + fi + ;; + esac + if grep "^installed=no" $deplib > /dev/null; then + path="$absdir/$objdir" + else + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + if test "$absdir" != "$libdir"; then + $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 + fi + path="$absdir" + fi + depdepl= + case $host in + *-*-darwin*) + # we do not want to link against static libs, + # but need to link against shared + 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 "$path/$depdepl" ; then + depdepl="$path/$depdepl" + fi + # do not add paths which are already there + case " $newlib_search_path " in + *" $path "*) ;; + *) newlib_search_path="$newlib_search_path $path";; + esac + fi + path="" + ;; + *) + path="-L$path" + ;; + esac + ;; + -l*) + case $host in + *-*-darwin*) + # Again, we only want to link against shared libraries + eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` + for tmp in $newlib_search_path ; do + if test -f "$tmp/lib$tmp_libs.dylib" ; then + eval depdepl="$tmp/lib$tmp_libs.dylib" + break + fi + done + path="" + ;; + *) continue ;; + esac + ;; + *) continue ;; + esac + case " $deplibs " in + *" $depdepl "*) ;; + *) deplibs="$depdepl $deplibs" ;; + esac + case " $deplibs " in + *" $path "*) ;; + *) deplibs="$deplibs $path" ;; + esac + done + fi # link_all_deplibs != no + fi # linkmode = lib + done # for deplib in $libs + 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 "*) ;; + *) lib_search_path="$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 "*) ;; + *) tmp_libs="$tmp_libs $deplib" ;; + esac + ;; + *) tmp_libs="$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 + tmp_libs="$tmp_libs $i" + fi + done + dependency_libs=$tmp_libs + done # for pass + if test "$linkmode" = prog; then + dlfiles="$newdlfiles" + dlprefiles="$newdlprefiles" + fi + + case $linkmode in + oldlib) + if test -n "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 + fi + + if test -n "$export_symbols" || test -n "$export_symbols_regex"; then + $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 + fi + + # Now set the variables for building old libraries. + build_libtool_libs=no + oldlibs="$output" + objs="$objs$old_deplibs" + ;; + + lib) + # Make sure we only generate libraries of the form `libNAME.la'. + case $outputname in + lib*) + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + ;; + *) + if test "$module" = no; then + $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + if test "$need_lib_prefix" != no; then + # Add the "lib" prefix for modules if required + name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + eval shared_ext=\"$shrext_cmds\" + eval libname=\"$libname_spec\" + else + libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` + fi + ;; + esac + + if test -n "$objs"; then + if test "$deplibs_check_method" != pass_all; then + $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 + exit $EXIT_FAILURE + else + $echo + $echo "*** Warning: Linking the shared library $output against the non-libtool" + $echo "*** objects $objs is not portable!" + libobjs="$libobjs $objs" + fi + fi + + if test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 + fi + + set dummy $rpath + if test "$#" -gt 2; then + $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 + fi + install_libdir="$2" + + 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 + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 + fi + else + + # Parse the version information argument. + save_ifs="$IFS"; IFS=':' + set dummy $vinfo 0 0 0 + IFS="$save_ifs" + + if test -n "$8"; then + $echo "$modename: too many parameters to \`-version-info'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # 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="$2" + number_minor="$3" + number_revision="$4" + # + # 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 + darwin|linux|osf|windows) + current=`expr $number_major + $number_minor` + age="$number_minor" + revision="$number_revision" + ;; + freebsd-aout|freebsd-elf|sunos) + current="$number_major" + revision="$number_minor" + age="0" + ;; + irix|nonstopux) + current=`expr $number_major + $number_minor - 1` + age="$number_minor" + revision="$number_minor" + ;; + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE + ;; + esac + ;; + no) + current="$2" + revision="$3" + age="$4" + ;; + 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]) ;; + *) + $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + 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]) ;; + *) + $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + 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]) ;; + *) + $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test "$age" -gt "$current"; then + $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 + $echo "$modename: \`$vinfo' is not valid version information" 1>&2 + exit $EXIT_FAILURE + 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 + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + # Darwin ld doesn't like 0 for these options... + minor_current=`expr $current + 1` + 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) + major=`expr $current - $age + 1` + + 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 + iface=`expr $revision - $loop` + loop=`expr $loop - 1` + verstring="$verstring_prefix$major.$iface:$verstring" + done + + # Before this point, $major must not contain `.'. + major=.$major + versuffix="$major.$revision" + ;; + + linux) + major=.`expr $current - $age` + versuffix="$major.$age.$revision" + ;; + + osf) + major=.`expr $current - $age` + 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 + iface=`expr $current - $loop` + loop=`expr $loop - 1` + verstring="$verstring:${iface}.0" + done + + # Make executables depend on our current version. + verstring="$verstring:${current}.0" + ;; + + sunos) + major=".$current" + versuffix=".$current.$revision" + ;; + + windows) + # Use '-' rather than '.', since we only want one + # extension on DOS 8.3 filesystems. + major=`expr $current - $age` + versuffix="-$major" + ;; + + *) + $echo "$modename: unknown library version type \`$version_type'" 1>&2 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 + exit $EXIT_FAILURE + ;; + 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 + $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 + build_libtool_libs=no + build_old_libs=yes + fi + else + # Don't allow undefined symbols. + allow_undefined_flag="$no_undefined_flag" + fi + fi + + if test "$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) + ;; + $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 + removelist="$removelist $p" + ;; + *) ;; + esac + done + if test -n "$removelist"; then + $show "${rm}r $removelist" + $run ${rm}r $removelist + fi + fi + + # Now set the variables for building old libraries. + if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then + oldlibs="$oldlibs $output_objdir/$libname.$libext" + + # Transform .lo files to .o files. + oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` + fi + + # Eliminate all temporary directories. + for path in $notinst_path; do + lib_search_path=`$echo "$lib_search_path " | ${SED} -e 's% $path % %g'` + deplibs=`$echo "$deplibs " | ${SED} -e 's% -L$path % %g'` + dependency_libs=`$echo "$dependency_libs " | ${SED} -e '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 + temp_xrpath="$temp_xrpath -R$libdir" + case "$finalize_rpath " in + *" $libdir "*) ;; + *) finalize_rpath="$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 "*) ;; + *) dlfiles="$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 "*) ;; + *) dlprefiles="$dlprefiles $lib" ;; + esac + done + + if test "$build_libtool_libs" = yes; then + if test -n "$rpath"; then + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) + # these systems don't actually have a c library (as such)! + ;; + *-*-rhapsody* | *-*-darwin1.[012]) + # Rhapsody C library is in the System framework + deplibs="$deplibs -framework System" + ;; + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; + *-*-openbsd* | *-*-freebsd*) + # Do not include libc due to us having libc/libc_r. + test "X$arg" = "X-lc" && continue + ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test "$build_libtool_need_lc" = "yes"; then + deplibs="$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. + $rm conftest.c + cat > conftest.c </dev/null` + 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 "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; + esac + done + if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ + | ${SED} 10q \ + | $EGREP "$file_magic_regex" > /dev/null; then + newdeplibs="$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 + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + match_pattern*) + set dummy $deplibs_check_method + match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` + for a_deplib in $deplibs; do + name="`expr $a_deplib : '-l\(.*\)'`" + # If $name is empty we are operating on a -L argument. + if test -n "$name" && test "$name" != "0"; then + if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then + case " $predeps $postdeps " in + *" $a_deplib "*) + newdeplibs="$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 + newdeplibs="$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 + else + # Add a -L argument. + newdeplibs="$newdeplibs $a_deplib" + fi + done # Gone through all deplibs. + ;; + none | unknown | *) + newdeplibs="" + tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ + -e '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 "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` + done + fi + if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ + | grep . >/dev/null; then + $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 + fi + ;; + 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 is the System framework + newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + 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 + + # 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 + if test "$hardcode_into_libs" = yes; then + # Hardcode the library paths + hardcode_libdirs= + dep_rpath= + rpath="$finalize_rpath" + test "$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 + 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"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + dep_rpath="$dep_rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$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" + if test -n "$hardcode_libdir_flag_spec_ld"; then + eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" + else + eval dep_rpath=\"$hardcode_libdir_flag_spec\" + fi + fi + if test -n "$runpath_var" && test -n "$perm_rpath"; then + # We should set the runpath_var. + rpath= + for dir in $perm_rpath; do + rpath="$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 "$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 + realname="$2" + shift; 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" + for link + do + linknames="$linknames $link" + done + + # Use standard objects if they are pic + test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + cmds=$export_symbols_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + if len=`expr "X$cmd" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + $show "$cmd" + $run eval "$cmd" || exit $? + skipped_export=false + else + # The command line is too long to execute in one step. + $show "using reloadable object file for export list..." + skipped_export=: + fi + done + IFS="$save_ifs" + if test -n "$export_symbols_regex"; then + $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" + $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' + $show "$mv \"${export_symbols}T\" \"$export_symbols\"" + $run eval '$mv "${export_symbols}T" "$export_symbols"' + fi + fi + fi + + if test -n "$export_symbols" && test -n "$include_expsyms"; then + $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' + fi + + tmp_deplibs= + for test_deplib in $deplibs; do + case " $convenience " in + *" $test_deplib "*) ;; + *) + tmp_deplibs="$tmp_deplibs $test_deplib" + ;; + esac + done + deplibs="$tmp_deplibs" + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + save_libobjs=$libobjs + eval libobjs=\"\$libobjs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + libobjs="$libobjs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then + eval flag=\"$thread_safe_flag_spec\" + linker_flags="$linker_flags $flag" + fi + + # Make a backup of the uninstalled library when relinking + if test "$mode" = relink; then + $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:" && len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + : + else + # The command line is too long to link in one step, link piecewise. + $echo "creating reloadable object files..." + + # 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 + + # Clear the reloadable object creation command queue and + # initialize k to one. + test_cmds= + concat_cmds= + objlist= + delfiles= + last_robj= + k=1 + output=$output_objdir/$save_output-${k}.$objext + # Loop over the list of objects to be linked. + for obj in $save_libobjs + do + eval test_cmds=\"$reload_cmds $objlist $last_robj\" + if test "X$objlist" = X || + { len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$max_cmd_len"; }; then + objlist="$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. + eval concat_cmds=\"$reload_cmds $objlist $last_robj\" + else + # All subsequent reloadable object files will link in + # the last one created. + eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" + fi + last_robj=$output_objdir/$save_output-${k}.$objext + k=`expr $k + 1` + output=$output_objdir/$save_output-${k}.$objext + objlist=$obj + len=1 + 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~ + eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" + + if ${skipped_export-false}; then + $show "generating symbol list for \`$libname.la'" + export_symbols="$output_objdir/$libname.exp" + $run $rm $export_symbols + libobjs=$output + # Append the command to create the export file. + eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" + fi + + # Set up a command to remove the reloadale object files + # after they are used. + i=0 + while test "$i" -lt "$k" + do + i=`expr $i + 1` + delfiles="$delfiles $output_objdir/$save_output-${i}.$objext" + done + + $echo "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" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + 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\" + 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 + + # Append the command to remove the reloadable object files + # to the just-reset $cmds. + eval cmds=\"\$cmds~\$rm $delfiles\" + fi + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Restore the uninstalled library and exit + if test "$mode" = relink; then + $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? + exit $EXIT_SUCCESS + fi + + # Create links to the real library. + for linkname in $linknames; do + if test "$realname" != "$linkname"; then + $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" + $run 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 "$deplibs"; then + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 + fi + + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 + fi + + if test -n "$rpath"; then + $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 + fi + + if test -n "$xrpath"; then + $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 + fi + + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 + fi + + case $output in + *.lo) + if test -n "$objs$old_deplibs"; then + $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 + exit $EXIT_FAILURE + fi + libobj="$output" + obj=`$echo "X$output" | $Xsed -e "$lo2o"` + ;; + *) + libobj= + obj="$output" + ;; + esac + + # Delete the old objects. + $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 + wl= + + if test -n "$convenience"; then + if test -n "$whole_archive_flag_spec"; then + eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" + else + gentop="$output_objdir/${obj}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + for xlib in $convenience; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + reload_conv_objs="$reload_objs "`find $xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + done + fi + fi + + # Create the old-style object. + reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test + + output="$obj" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + + # Exit if we aren't doing a library object file. + if test -z "$libobj"; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + fi + + if test "$build_libtool_libs" != yes; then + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${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" + # $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" + cmds=$reload_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + if test -n "$gentop"; then + $show "${rm}r $gentop" + $run ${rm}r $gentop + fi + + exit $EXIT_SUCCESS + ;; + + prog) + case $host in + *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; + esac + if test -n "$vinfo"; then + $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 + fi + + if test -n "$release"; then + $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 + fi + + if test "$preload" = yes; then + if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && + test "$dlopen_self_static" = unknown; then + $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." + fi + fi + + case $host in + *-*-rhapsody* | *-*-darwin1.[012]) + # On Rhapsody replace the C library is the System framework + compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` + ;; + esac + + case $host in + *darwin*) + # Don't allow lazy linking, it breaks C++ global constructors + if test "$tagname" = CXX ; then + compile_command="$compile_command ${wl}-bind_at_load" + finalize_command="$finalize_command ${wl}-bind_at_load" + fi + ;; + esac + + compile_command="$compile_command $compile_deplibs" + finalize_command="$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 "*) ;; + *) finalize_rpath="$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"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$perm_rpath " in + *" $libdir "*) ;; + *) perm_rpath="$perm_rpath $libdir" ;; + esac + fi + case $host in + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) + case :$dllsearchpath: in + *":$libdir:"*) ;; + *) dllsearchpath="$dllsearchpath:$libdir";; + 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"*) + ;; + *) + hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" + ;; + esac + fi + else + eval flag=\"$hardcode_libdir_flag_spec\" + rpath="$rpath $flag" + fi + elif test -n "$runpath_var"; then + case "$finalize_perm_rpath " in + *" $libdir "*) ;; + *) finalize_perm_rpath="$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 "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + fi + + dlsyms= + if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then + if test -n "$NM" && test -n "$global_symbol_pipe"; then + dlsyms="${outputname}S.c" + else + $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 + fi + fi + + if test -n "$dlsyms"; then + case $dlsyms in + "") ;; + *.c) + # Discover the nlist of each of the dlfiles. + nlist="$output_objdir/${outputname}.nm" + + $show "$rm $nlist ${nlist}S ${nlist}T" + $run $rm "$nlist" "${nlist}S" "${nlist}T" + + # Parse the name list into a source file. + $show "creating $output_objdir/$dlsyms" + + test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ +/* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ +/* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ + +#ifdef __cplusplus +extern \"C\" { +#endif + +/* Prevent the only kind of declaration conflicts we can make. */ +#define lt_preloaded_symbols some_other_symbol + +/* External symbol declarations for the compiler. */\ +" + + if test "$dlself" = yes; then + $show "generating symbol list for \`$output'" + + test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" + + # Add our own program objects to the symbol list. + progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` + for arg in $progfiles; do + $show "extracting global C symbols from \`$arg'" + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -n "$exclude_expsyms"; then + $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + if test -n "$export_symbols_regex"; then + $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' + $run eval '$mv "$nlist"T "$nlist"' + fi + + # Prepare the list of exported symbols + if test -z "$export_symbols"; then + export_symbols="$output_objdir/$output.exp" + $run $rm $export_symbols + $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' + else + $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' + $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' + $run eval 'mv "$nlist"T "$nlist"' + fi + fi + + for arg in $dlprefiles; do + $show "extracting global C symbols from \`$arg'" + name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` + $run eval '$echo ": $name " >> "$nlist"' + $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" + done + + if test -z "$run"; then + # 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/$dlsyms"' + else + $echo '/* NONE */' >> "$output_objdir/$dlsyms" + fi + + $echo >> "$output_objdir/$dlsyms" "\ + +#undef lt_preloaded_symbols + +#if defined (__STDC__) && __STDC__ +# define lt_ptr void * +#else +# define lt_ptr char * +# define const +#endif + +/* The mapping between symbol names and symbols. */ +const struct { + const char *name; + lt_ptr address; +} +lt_preloaded_symbols[] = +{\ +" + + eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" + + $echo >> "$output_objdir/$dlsyms" "\ + {0, (lt_ptr) 0} +}; + +/* This works around a problem in FreeBSD linker */ +#ifdef FREEBSD_WORKAROUND +static const void *lt_preloaded_setup() { + return lt_preloaded_symbols; +} +#endif + +#ifdef __cplusplus +} +#endif\ +" + fi + + pic_flag_for_symtable= + 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*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; + esac;; + *-*-hpux*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag";; + esac + esac + + # Now compile the dynamic symbol file. + $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" + $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? + + # Clean up the generated files. + $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" + $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" + + # Transform the symbol file into the correct name. + compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` + ;; + *) + $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 + exit $EXIT_FAILURE + ;; + 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 "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` + finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` + fi + + if test "$need_relink" = no || test "$build_libtool_libs" != yes; then + # Replace the output file specification. + compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + link_command="$compile_command$compile_rpath" + + # We have no uninstalled library dependencies, so finalize right now. + $show "$link_command" + $run eval "$link_command" + status=$? + + # Delete the generated files. + if test -n "$dlsyms"; then + $show "$rm $output_objdir/${outputname}S.${objext}" + $run $rm "$output_objdir/${outputname}S.${objext}" + fi + + exit $status + fi + + if test -n "$shlibpath_var"; then + # We should set the shlibpath_var + rpath= + for dir in $temp_rpath; do + case $dir in + [\\/]* | [A-Za-z]:[\\/]*) + # Absolute path. + rpath="$rpath$dir:" + ;; + *) + # Relative path: add a thisdir entry. + rpath="$rpath\$thisdir/$dir:" + ;; + esac + done + temp_rpath="$rpath" + 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 + rpath="$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 + rpath="$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 "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` + # Delete the old output file. + $run $rm $output + # Link the executable and exit + $show "$link_command" + $run eval "$link_command" || exit $? + 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" + + $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 + $echo "$modename: \`$output' will be relinked during installation" 1>&2 + else + if test "$fast_install" != no; then + link_command="$finalize_var$compile_command$finalize_rpath" + if test "$fast_install" = yes; then + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e '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 "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` + + # Delete the old output files. + $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname + + $show "$link_command" + $run eval "$link_command" || exit $? + + # Now create the wrapper script. + $show "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}\" || 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 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; export $var; $relink_command" + fi + done + relink_command="(cd `pwd`; $relink_command)" + relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` + fi + + # Quote $echo for shipping. + if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then + case $progpath in + [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; + *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; + esac + qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` + else + qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` + fi + + # Only actually do things if our run command is non-null. + if test -z "$run"; then + # win32 will think the script is a binary if it has + # a .exe suffix, so we strip it off here. + case $output in + *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; + esac + # test for cygwin because mv fails w/o .exe extensions + case $host in + *cygwin*) + exeext=.exe + outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; + *) exeext= ;; + esac + case $host in + *cygwin* | *mingw* ) + cwrappersource=`$echo ${objdir}/lt-${output}.c` + cwrapper=`$echo ${output}.exe` + $rm $cwrappersource $cwrapper + trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 + + cat > $cwrappersource <> $cwrappersource<<"EOF" +#include +#include +#include +#include +#include +#include + +#if defined(PATH_MAX) +# define LT_PATHMAX PATH_MAX +#elif defined(MAXPATHLEN) +# define LT_PATHMAX MAXPATHLEN +#else +# define LT_PATHMAX 1024 +#endif + +#ifndef DIR_SEPARATOR +#define DIR_SEPARATOR '/' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ + defined (__OS2__) +#define HAVE_DOS_BASED_FILE_SYSTEM +#ifndef DIR_SEPARATOR_2 +#define DIR_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 */ + +#define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) +#define XFREE(stale) do { \ + if (stale) { free ((void *) stale); stale = 0; } \ +} while (0) + +const char *program_name = NULL; + +void * xmalloc (size_t num); +char * xstrdup (const char *string); +char * basename (const char *name); +char * fnqualify(const char *path); +char * strendzap(char *str, const char *pat); +void lt_fatal (const char *message, ...); + +int +main (int argc, char *argv[]) +{ + char **newargz; + int i; + + program_name = (char *) xstrdup ((char *) basename (argv[0])); + newargz = XMALLOC(char *, argc+2); +EOF + + cat >> $cwrappersource <> $cwrappersource <<"EOF" + newargz[1] = fnqualify(argv[0]); + /* we know the script has the same name, without the .exe */ + /* so make sure newargz[1] doesn't end in .exe */ + strendzap(newargz[1],".exe"); + for (i = 1; i < argc; i++) + newargz[i+1] = xstrdup(argv[i]); + newargz[argc+1] = NULL; +EOF + + cat >> $cwrappersource <> $cwrappersource <<"EOF" +} + +void * +xmalloc (size_t num) +{ + void * p = (void *) malloc (num); + if (!p) + lt_fatal ("Memory exhausted"); + + return p; +} + +char * +xstrdup (const char *string) +{ + return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL +; +} + +char * +basename (const char *name) +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over the disk name in MSDOS pathnames. */ + if (isalpha (name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + return (char *) base; +} + +char * +fnqualify(const char *path) +{ + size_t size; + char *p; + char tmp[LT_PATHMAX + 1]; + + assert(path != NULL); + + /* Is it qualified already? */ +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + if (isalpha (path[0]) && path[1] == ':') + return xstrdup (path); +#endif + if (IS_DIR_SEPARATOR (path[0])) + return xstrdup (path); + + /* prepend the current directory */ + /* doesn't handle '~' */ + if (getcwd (tmp, LT_PATHMAX) == NULL) + lt_fatal ("getcwd failed"); + size = strlen(tmp) + 1 + strlen(path) + 1; /* +2 for '/' and '\0' */ + p = XMALLOC(char, size); + sprintf(p, "%s%c%s", tmp, DIR_SEPARATOR, path); + return p; +} + +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; +} + +static void +lt_error_core (int exit_status, const char * mode, + const char * message, va_list ap) +{ + fprintf (stderr, "%s: %s: ", program_name, mode); + vfprintf (stderr, message, ap); + fprintf (stderr, ".\n"); + + if (exit_status >= 0) + exit (exit_status); +} + +void +lt_fatal (const char *message, ...) +{ + va_list ap; + va_start (ap, message); + lt_error_core (EXIT_FAILURE, "FATAL", message, ap); + va_end (ap); +} +EOF + # we should really use a build-platform specific compiler + # here, but OTOH, the wrappers (shell script and this C one) + # are only useful if you want to execute the "real" binary. + # Since the "real" binary is built for $host, then this + # wrapper might as well be built for $host, too. + $run $LTCC -s -o $cwrapper $cwrappersource + ;; + esac + $rm $output + trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 + + $echo > $output "\ +#! $SHELL + +# $output - temporary wrapper script for $objdir/$outputname +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# 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. +Xsed='${SED} -e 1s/^X//' +sed_quote_subst='$sed_quote_subst' + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi + +relink_command=\"$relink_command\" + +# This environment variable determines our operation mode. +if test \"\$libtool_install_magic\" = \"$magic\"; then + # install mode needs the following variable: + 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 + echo=\"$qecho\" + file=\"\$0\" + # Make sure echo works. + if test \"X\$1\" = X--no-reexec; then + # Discard the --no-reexec flag, and continue. + shift + elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then + # Yippee, \$echo works! + : + else + # Restart under the correct shell, and then maybe \$echo will work. + exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} + fi + fi\ +" + $echo >> $output "\ + + # Find the directory that this script lives in. + thisdir=\`\$echo \"X\$file\" | \$Xsed -e '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 \"X\$file\" | \$Xsed -e '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 \"X\$file\" | \$Xsed -e 's%^.*/%%'\` + file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` + done + + # Try to get the absolute directory name. + absdir=\`cd \"\$thisdir\" && pwd\` + test -n \"\$absdir\" && thisdir=\"\$absdir\" +" + + if test "$fast_install" = yes; then + $echo >> $output "\ + 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 >> $output "\ + + # 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 $EXIT_FAILURE + fi + fi + + $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || + { $rm \"\$progdir/\$program\"; + $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } + $rm \"\$progdir/\$file\" + fi" + else + $echo >> $output "\ + program='$outputname' + progdir=\"\$thisdir/$objdir\" +" + fi + + $echo >> $output "\ + + if test -f \"\$progdir/\$program\"; then" + + # Export our shlibpath_var if we have one. + if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then + $echo >> $output "\ + # 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 \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` + + export $shlibpath_var +" + fi + + # fixup the dll searchpath if we need to. + if test -n "$dllsearchpath"; then + $echo >> $output "\ + # Add the dll search path components to the executable PATH + PATH=$dllsearchpath:\$PATH +" + fi + + $echo >> $output "\ + if test \"\$libtool_execute_magic\" != \"$magic\"; then + # Run the actual program with our arguments. +" + case $host in + # Backslashes separate directories on plain windows + *-*-mingw | *-*-os2*) + $echo >> $output "\ + exec \$progdir\\\\\$program \${1+\"\$@\"} +" + ;; + + *) + $echo >> $output "\ + exec \$progdir/\$program \${1+\"\$@\"} +" + ;; + esac + $echo >> $output "\ + \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" + exit $EXIT_FAILURE + 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 $EXIT_FAILURE + fi +fi\ +" + chmod +x $output + fi + 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" + 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" + fi + addlibs="$old_convenience" + fi + + if test -n "$addlibs"; then + gentop="$output_objdir/${outputname}x" + $show "${rm}r $gentop" + $run ${rm}r "$gentop" + $show "$mkdir $gentop" + $run $mkdir "$gentop" + status=$? + if test "$status" -ne 0 && test ! -d "$gentop"; then + exit $status + fi + generated="$generated $gentop" + + # Add in members from convenience archives. + for xlib in $addlibs; do + # Extract the objects. + case $xlib in + [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; + *) xabs=`pwd`"/$xlib" ;; + esac + xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` + xdir="$gentop/$xlib" + + $show "${rm}r $xdir" + $run ${rm}r "$xdir" + $show "$mkdir $xdir" + $run $mkdir "$xdir" + status=$? + if test "$status" -ne 0 && test ! -d "$xdir"; then + exit $status + fi + # We will extract separately just the conflicting names and we will no + # longer touch any unique names. It is faster to leave these extract + # automatically by $AR in one run. + $show "(cd $xdir && $AR x $xabs)" + $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? + if ($AR t "$xabs" | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; renaming object files" 1>&2 + $echo "$modename: warning: to ensure that they will not overwrite" 1>&2 + $AR t "$xabs" | sort | uniq -cd | while read -r count name + do + i=1 + while test "$i" -le "$count" + do + # Put our $i before any first dot (extension) + # Never overwrite any file + name_to="$name" + while test "X$name_to" = "X$name" || test -f "$xdir/$name_to" + do + name_to=`$echo "X$name_to" | $Xsed -e "s/\([^.]*\)/\1-$i/"` + done + $show "(cd $xdir && $AR xN $i $xabs '$name' && $mv '$name' '$name_to')" + $run eval "(cd \$xdir && $AR xN $i \$xabs '$name' && $mv '$name' '$name_to')" || exit $? + i=`expr $i + 1` + done + done + fi + + oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` + done + 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 + eval cmds=\"$old_archive_cmds\" + + if len=`expr "X$cmds" : ".*"` && + test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then + cmds=$old_archive_cmds + else + # the command line is too long to link in one step, link in parts + $echo "using piecewise archive linking..." + save_RANLIB=$RANLIB + RANLIB=: + objlist= + concat_cmds= + save_oldobjs=$oldobjs + # GNU ar 2.10+ was changed to match POSIX; thus no paths are + # encoded into archives. This makes 'ar r' malfunction in + # this piecewise linking case whenever conflicting object + # names appear in distinct ar calls; check, warn and compensate. + if (for obj in $save_oldobjs + do + $echo "X$obj" | $Xsed -e 's%^.*/%%' + done | sort | sort -uc >/dev/null 2>&1); then + : + else + $echo "$modename: warning: object name conflicts; overriding AR_FLAGS to 'cq'" 1>&2 + $echo "$modename: warning: to ensure that POSIX-compatible ar will work" 1>&2 + AR_FLAGS=cq + fi + # Is there a better way of finding the last object in the list? + for obj in $save_oldobjs + do + last_oldobj=$obj + done + for obj in $save_oldobjs + do + oldobjs="$objlist $obj" + objlist="$objlist $obj" + eval test_cmds=\"$old_archive_cmds\" + if len=`expr "X$test_cmds" : ".*"` && + test "$len" -le "$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= + 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 + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + eval cmd=\"$cmd\" + IFS="$save_ifs" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$generated"; then + $show "${rm}r$generated" + $run ${rm}r$generated + fi + + # Now create the libtool archive. + case $output in + *.la) + old_library= + test "$build_old_libs" = yes && old_library="$libname.$libext" + $show "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}\" || 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 + var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` + relink_command="$var=\"$var_value\"; 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 "X$relink_command" | $Xsed -e "$sed_quote_subst"` + if test "$hardcode_automatic" = yes ; then + relink_command= + fi + + + # Only create the output if not a dry run. + if test -z "$run"; then + 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) + name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` + if test -z "$libdir"; then + $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdependency_libs="$newdependency_libs $libdir/$name" + ;; + *) newdependency_libs="$newdependency_libs $deplib" ;; + esac + done + dependency_libs="$newdependency_libs" + newdlfiles= + for lib in $dlfiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlfiles="$newdlfiles $libdir/$name" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` + eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` + if test -z "$libdir"; then + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + exit $EXIT_FAILURE + fi + newdlprefiles="$newdlprefiles $libdir/$name" + done + dlprefiles="$newdlprefiles" + else + newdlfiles= + for lib in $dlfiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlfiles="$newdlfiles $abs" + done + dlfiles="$newdlfiles" + newdlprefiles= + for lib in $dlprefiles; do + case $lib in + [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; + *) abs=`pwd`"/$lib" ;; + esac + newdlprefiles="$newdlprefiles $abs" + done + dlprefiles="$newdlprefiles" + fi + $rm $output + # place dlname in correct position for cygwin + tdlname=$dlname + case $host,$output,$installed,$module,$dlname in + *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; + esac + $echo > $output "\ +# $outputname - a libtool library file +# Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP +# +# 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' + +# Libraries that this one depends upon. +dependency_libs='$dependency_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 + fi + + # Do a symbolic link so that the libtool archive can be found in + # LD_LIBRARY_PATH before the program is installed. + $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" + $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? + ;; + esac + exit $EXIT_SUCCESS + ;; + + # libtool install mode + install) + modename="$modename: install" + + # 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. + $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then + # Aesthetically quote it. + arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$arg " + arg="$1" + shift + else + install_prog= + arg="$nonopt" + fi + + # The real first argument should be the name of the installation program. + # Aesthetically quote it. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog$arg" + + # We need to accept at least all the BSD install flags. + dest= + files= + opts= + prev= + install_type= + isdir=no + stripme= + for arg + do + if test -n "$dest"; then + files="$files $dest" + dest="$arg" + continue + fi + + case $arg in + -d) isdir=yes ;; + -f) prev="-f" ;; + -g) prev="-g" ;; + -m) prev="-m" ;; + -o) prev="-o" ;; + -s) + stripme=" -s" + continue + ;; + -*) ;; + + *) + # If the previous option needed an argument, then skip it. + if test -n "$prev"; then + prev= + else + dest="$arg" + continue + fi + ;; + esac + + # Aesthetically quote the argument. + arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + case $arg in + *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) + arg="\"$arg\"" + ;; + esac + install_prog="$install_prog $arg" + done + + if test -z "$install_prog"; then + $echo "$modename: you must specify an install program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -n "$prev"; then + $echo "$modename: the \`$prev' option requires an argument" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + if test -z "$files"; then + if test -z "$dest"; then + $echo "$modename: no file or destination specified" 1>&2 + else + $echo "$modename: you must specify a destination" 1>&2 + fi + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Strip any trailing slash from the destination. + dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` + + # Check to see that the destination is a directory. + test -d "$dest" && isdir=yes + if test "$isdir" = yes; then + destdir="$dest" + destname= + else + destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` + test "X$destdir" = "X$dest" && destdir=. + destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` + + # Not a directory, so check to see that there is only one file specified. + set dummy $files + if test "$#" -gt 2; then + $echo "$modename: \`$dest' is not a directory" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + fi + case $destdir in + [\\/]* | [A-Za-z]:[\\/]*) ;; + *) + for file in $files; do + case $file in + *.lo) ;; + *) + $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + 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. + staticlibs="$staticlibs $file" + ;; + + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + library_names= + old_library= + relink_command= + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Add the libdir to current_libdirs if it is the destination. + if test "X$destdir" = "X$libdir"; then + case "$current_libdirs " in + *" $libdir "*) ;; + *) current_libdirs="$current_libdirs $libdir" ;; + esac + else + # Note the libdir as a future libdir. + case "$future_libdirs " in + *" $libdir "*) ;; + *) future_libdirs="$future_libdirs $libdir" ;; + esac + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ + test "X$dir" = "X$file/" && dir= + dir="$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 "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. + if test "$inst_prefix_dir" = "$destdir"; then + $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 + exit $EXIT_FAILURE + fi + + 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 + + $echo "$modename: warning: relinking \`$file'" 1>&2 + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + exit $EXIT_FAILURE + fi + fi + + # See the names of the shared library. + set dummy $library_names + if test -n "$2"; then + realname="$2" + shift + shift + + srcname="$realname" + test -n "$relink_command" && srcname="$realname"T + + # Install the shared library and build the symlinks. + $show "$install_prog $dir/$srcname $destdir/$realname" + $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? + if test -n "$stripme" && test -n "$striplib"; then + $show "$striplib $destdir/$realname" + $run eval "$striplib $destdir/$realname" || exit $? + fi + + if test "$#" -gt 0; then + # Delete the old symlinks, and create new ones. + for linkname + do + if test "$linkname" != "$realname"; then + $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" + fi + done + fi + + # Do each command in the postinstall commands. + lib="$destdir/$realname" + cmds=$postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + fi + + # Install the pseudo-library for information purposes. + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$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 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + destfile="$destdir/$destfile" + fi + + # Deduce the name of the destination old-style object file. + case $destfile in + *.lo) + staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` + ;; + *.$objext) + staticdest="$destfile" + destfile= + ;; + *) + $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + # Install the libtool object if requested. + if test -n "$destfile"; then + $show "$install_prog $file $destfile" + $run eval "$install_prog $file $destfile" || exit $? + fi + + # Install the old object if enabled. + if test "$build_old_libs" = yes; then + # Deduce the name of the old-style object file. + staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` + + $show "$install_prog $staticobj $staticdest" + $run 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 + destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + 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 + file=`$echo $file|${SED} 's,.exe$,,'` + stripped_ext=".exe" + fi + ;; + esac + + # Do a test to see if this is really a libtool program. + case $host in + *cygwin*|*mingw*) + wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` + ;; + *) + wrapper=$file + ;; + esac + if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then + notinst_deplibs= + relink_command= + + # To insure that "foo" is sourced, and not "foo.exe", + # finese the cygwin/MSYS system by explicitly sourcing "foo." + # which disallows the automatic-append-.exe behavior. + case $build in + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; + *) wrapperdot=${wrapper} ;; + esac + # If there is no directory component, then add one. + case $file in + */* | *\\*) . ${wrapperdot} ;; + *) . ./${wrapperdot} ;; + esac + + # Check the variables that should have been set. + if test -z "$notinst_deplibs"; then + $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 + exit $EXIT_FAILURE + fi + + finalize=yes + for lib in $notinst_deplibs; do + # Check to see that each library is installed. + libdir= + if test -f "$lib"; then + # If there is no directory component, then add one. + case $lib in + */* | *\\*) . $lib ;; + *) . ./$lib ;; + esac + fi + libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test + if test -n "$libdir" && test ! -f "$libfile"; then + $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 + finalize=no + fi + done + + relink_command= + # To insure that "foo" is sourced, and not "foo.exe", + # finese the cygwin/MSYS system by explicitly sourcing "foo." + # which disallows the automatic-append-.exe behavior. + case $build in + *cygwin* | *mingw*) wrapperdot=${wrapper}. ;; + *) wrapperdot=${wrapper} ;; + esac + # If there is no directory component, then add one. + case $file in + */* | *\\*) . ${wrapperdot} ;; + *) . ./${wrapperdot} ;; + esac + + outputname= + if test "$fast_install" = no && test -n "$relink_command"; then + if test "$finalize" = yes && test -z "$run"; then + tmpdir="/tmp" + test -n "$TMPDIR" && tmpdir="$TMPDIR" + tmpdir="$tmpdir/libtool-$$" + save_umask=`umask` + umask 0077 + if $mkdir "$tmpdir"; then + umask $save_umask + else + umask $save_umask + $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 + continue + fi + file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` + outputname="$tmpdir/$file" + # Replace the output file specification. + relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` + + $show "$relink_command" + if $run eval "$relink_command"; then : + else + $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 + ${rm}r "$tmpdir" + continue + fi + file="$outputname" + else + $echo "$modename: warning: cannot relink \`$file'" 1>&2 + fi + else + # Install the binary that we compiled earlier. + file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` + fi + fi + + # remove .exe since cygwin /usr/bin/install will append another + # one anyways + case $install_prog,$host in + */usr/bin/install*,*cygwin*) + case $file:$destfile in + *.exe:*.exe) + # this is ok + ;; + *.exe:*) + destfile=$destfile.exe + ;; + *:*.exe) + destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` + ;; + esac + ;; + esac + $show "$install_prog$stripme $file $destfile" + $run eval "$install_prog\$stripme \$file \$destfile" || exit $? + test -n "$outputname" && ${rm}r "$tmpdir" + ;; + esac + done + + for file in $staticlibs; do + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + + # Set up the ranlib parameters. + oldlib="$destdir/$name" + + $show "$install_prog $file $oldlib" + $run eval "$install_prog \$file \$oldlib" || exit $? + + if test -n "$stripme" && test -n "$old_striplib"; then + $show "$old_striplib $oldlib" + $run eval "$old_striplib $oldlib" || exit $? + fi + + # Do each command in the postinstall commands. + cmds=$old_postinstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || exit $? + done + IFS="$save_ifs" + done + + if test -n "$future_libdirs"; then + $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 + fi + + if test -n "$current_libdirs"; then + # Maybe just do a dry run. + test -n "$run" && current_libdirs=" -n$current_libdirs" + exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' + else + exit $EXIT_SUCCESS + fi + ;; + + # libtool finish mode + finish) + modename="$modename: finish" + libdirs="$nonopt" + admincmds= + + if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then + for dir + do + libdirs="$libdirs $dir" + done + + for libdir in $libdirs; do + if test -n "$finish_cmds"; then + # Do each command in the finish commands. + cmds=$finish_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" || admincmds="$admincmds + $cmd" + done + IFS="$save_ifs" + fi + if test -n "$finish_eval"; then + # Do the single finish_eval. + eval cmds=\"$finish_eval\" + $run eval "$cmds" || admincmds="$admincmds + $cmds" + fi + done + fi + + # Exit here if they wanted silent mode. + test "$show" = : && exit $EXIT_SUCCESS + + $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" + $echo "more information, such as the ld(1) and ld.so(8) manual pages." + $echo "----------------------------------------------------------------------" + exit $EXIT_SUCCESS + ;; + + # libtool execute mode + execute) + modename="$modename: execute" + + # The first argument is the command name. + cmd="$nonopt" + if test -z "$cmd"; then + $echo "$modename: you must specify a COMMAND" 1>&2 + $echo "$help" + exit $EXIT_FAILURE + fi + + # Handle -dlopen flags immediately. + for file in $execute_dlfiles; do + if test ! -f "$file"; then + $echo "$modename: \`$file' is not a file" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + dir= + case $file in + *.la) + # Check to see that this really is a libtool archive. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : + else + $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + # Read the libtool library. + dlname= + library_names= + + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Skip this library if it cannot be dlopened. + if test -z "$dlname"; then + # Warn if it was a shared library. + test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" + continue + fi + + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + + if test -f "$dir/$objdir/$dlname"; then + dir="$dir/$objdir" + else + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 + exit $EXIT_FAILURE + fi + ;; + + *.lo) + # Just add the directory containing the .lo file. + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + test "X$dir" = "X$file" && dir=. + ;; + + *) + $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 + 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 + -*) ;; + *) + # Do a test to see if this is really a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + # If there is no directory component, then add one. + case $file in + */* | *\\*) . $file ;; + *) . ./$file ;; + esac + + # Transform arg to wrapped name. + file="$progdir/$program" + fi + ;; + esac + # Quote arguments (to preserve shell metacharacters). + file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` + args="$args \"$file\"" + done + + if test -z "$run"; then + if test -n "$shlibpath_var"; then + # Export the shlibpath_var. + eval "export $shlibpath_var" + fi + + # Restore saved environment variables + if test "${save_LC_ALL+set}" = set; then + LC_ALL="$save_LC_ALL"; export LC_ALL + fi + if test "${save_LANG+set}" = set; then + LANG="$save_LANG"; export LANG + fi + + # 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 + ;; + + # libtool clean and uninstall mode + clean | uninstall) + modename="$modename: $mode" + 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) rm="$rm $arg"; rmforce=yes ;; + -*) rm="$rm $arg" ;; + *) files="$files $arg" ;; + esac + done + + if test -z "$rm"; then + $echo "$modename: you must specify an RM program" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + fi + + rmdirs= + + origobjdir="$objdir" + for file in $files; do + dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` + if test "X$dir" = "X$file"; then + dir=. + objdir="$origobjdir" + else + objdir="$dir/$origobjdir" + fi + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + test "$mode" = uninstall && objdir="$dir" + + # Remember objdir for removal later, being careful to avoid duplicates + if test "$mode" = clean; then + case " $rmdirs " in + *" $objdir "*) ;; + *) rmdirs="$rmdirs $objdir" ;; + 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 (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + . $dir/$name + + # Delete the libtool libraries and symlinks. + for n in $library_names; do + rmfiles="$rmfiles $objdir/$n" + done + test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" + test "$mode" = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" + + if test "$mode" = uninstall; then + if test -n "$library_names"; then + # Do each command in the postuninstall commands. + cmds=$postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + + if test -n "$old_library"; then + # Do each command in the old_postuninstall commands. + cmds=$old_postuninstall_cmds + save_ifs="$IFS"; IFS='~' + for cmd in $cmds; do + IFS="$save_ifs" + eval cmd=\"$cmd\" + $show "$cmd" + $run eval "$cmd" + if test "$?" -ne 0 && test "$rmforce" != yes; then + exit_status=1 + fi + done + IFS="$save_ifs" + fi + # FIXME: should reinstall the best remaining shared library. + fi + fi + ;; + + *.lo) + # Possibly a libtool object, so verify it. + if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + + # Read the .lo file + . $dir/$name + + # Add PIC object to the list of files to remove. + if test -n "$pic_object" \ + && test "$pic_object" != none; then + rmfiles="$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 + rmfiles="$rmfiles $dir/$non_pic_object" + fi + fi + ;; + + *) + if test "$mode" = clean ; then + noexename=$name + case $file in + *.exe) + file=`$echo $file|${SED} 's,.exe$,,'` + noexename=`$echo $name|${SED} 's,.exe$,,'` + # $file with .exe has already been added to rmfiles, + # add $file without .exe + rmfiles="$rmfiles $file" + ;; + esac + # Do a test to see if this is a libtool program. + if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then + relink_command= + . $dir/$noexename + + # note $name still contains .exe if it was in $file originally + # as does the version of $file that was added into $rmfiles + rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" + if test "$fast_install" = yes && test -n "$relink_command"; then + rmfiles="$rmfiles $objdir/lt-$name" + fi + if test "X$noexename" != "X$name" ; then + rmfiles="$rmfiles $objdir/lt-${noexename}.c" + fi + fi + fi + ;; + esac + $show "$rm $rmfiles" + $run $rm $rmfiles || exit_status=1 + done + objdir="$origobjdir" + + # Try to remove the ${objdir}s in the directories where we deleted files + for dir in $rmdirs; do + if test -d "$dir"; then + $show "rmdir $dir" + $run rmdir $dir >/dev/null 2>&1 + fi + done + + exit $exit_status + ;; + + "") + $echo "$modename: you must specify a MODE" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + ;; + esac + + if test -z "$exec_cmd"; then + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$generic_help" 1>&2 + exit $EXIT_FAILURE + fi +fi # test -z "$show_help" + +if test -n "$exec_cmd"; then + eval exec $exec_cmd + exit $EXIT_FAILURE +fi + +# We need to display help for each of the modes. +case $mode in +"") $echo \ +"Usage: $modename [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 + --finish same as \`--mode=finish' + --help display this help message and exit + --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] + --quiet same as \`--silent' + --silent don't print informational messages + --tag=TAG use configuration variables from tag TAG + --version print version information + +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. Try \`$modename --help --mode=MODE' for +a more detailed description of MODE. + +Report bugs to ." + exit $EXIT_SUCCESS + ;; + +clean) + $echo \ +"Usage: $modename [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: $modename [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 + -prefer-pic try to building PIC objects only + -prefer-non-pic try to building non-PIC objects only + -static always build a \`.o' file suitable for static linking + +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: $modename [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: $modename [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: $modename [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 rest of the components are interpreted as arguments to that command (only +BSD-compatible install options are recognized)." + ;; + +link) + $echo \ +"Usage: $modename [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 + -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 + -static do not do any dynamic linking of libtool libraries + -version-info CURRENT[:REVISION[:AGE]] + specify library version info [each variable defaults to 0] + +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: $modename [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." + ;; + +*) + $echo "$modename: invalid operation mode \`$mode'" 1>&2 + $echo "$help" 1>&2 + exit $EXIT_FAILURE + ;; +esac + +$echo +$echo "Try \`$modename --help' for more information about other modes." + +exit $EXIT_SUCCESS + +# 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: +# ### BEGIN LIBTOOL TAG CONFIG: CXX + +# Libtool was configured on host gashuffer: + +# Shell to use when invoking shell scripts. +SHELL="/bin/sh" + +# Whether or not to build shared libraries. +build_libtool_libs=yes + +# Whether or not to build static libraries. +build_old_libs=yes + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=no + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=no + +# Whether or not to optimize for fast installation. +fast_install=yes + +# The host system. +host_alias= +host=i486-pc-linux-gnu + +# An echo program that does not interpret backslashes. +echo="echo" + +# The archiver. +AR="ar" +AR_FLAGS="cru" + +# A C compiler. +LTCC="cc" + +# A language-specific compiler. +CC="g++" + +# Is the compiler the GNU C compiler? +with_gcc=yes + +# An ERE matcher. +EGREP="grep -E" + +# The linker used to build libraries. +LD="/usr/bin/ld" + +# Whether we need hard or soft links. +LN_S="ln -s" + +# A BSD-compatible nm program. +NM="/usr/bin/nm -B" + +# A symbol stripping program +STRIP="strip" + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=file + +# Used on cygwin: DLL creation program. +DLLTOOL="dlltool" + +# Used on cygwin: object dumper. +OBJDUMP="objdump" + +# Used on cygwin: assembler. +AS="as" + +# The name of the directory that contains temporary libtool files. +objdir=.libs + +# How to create reloadable object files. +reload_flag=" -r" +reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" + +# How to pass a linker flag through the compiler. +wl="-Wl," + +# Object file suffix (normally "o"). +objext="o" + +# Old archive suffix (normally "a"). +libext="a" + +# Shared library suffix (normally ".so"). +shrext_cmds='.so' + +# Executable file suffix (normally ""). +exeext="" + +# Additional compiler flags for building library objects. +pic_flag=" -fPIC -DPIC" +pic_mode=default + +# What is the maximum length of a command? +max_cmd_len=32768 + +# Does compiler simultaneously support -c and -o options? +compiler_c_o="yes" + +# Must we lock files when doing compilation ? +need_locks="no" + +# Do we need the lib prefix for modules? +need_lib_prefix=no + +# Do we need a version for libraries? +need_version=no + +# Whether dlopen is supported. +dlopen_support=unknown + +# Whether dlopen of programs is supported. +dlopen_self=unknown + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=unknown + +# Compiler flag to prevent dynamic linking. +link_static_flag="-static" + +# Compiler flag to turn off builtin functions. +no_builtin_flag=" -fno-builtin" + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec="\${wl}--export-dynamic" + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec="" + +# Library versioning type. +version_type=linux + +# Format of library name prefix. +libname_spec="lib\$name" + +# 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="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" + +# The coded name of the library, if different from the real name. +soname_spec="\${libname}\${release}\${shared_ext}\$major" + +# Commands used to build and install an old-style archive. +RANLIB="ranlib" +old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib" +old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib" +old_postuninstall_cmds="" + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds="" + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds="" + +# Commands used to build and install a shared archive. +archive_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" +archive_expsym_cmds="\$CC -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-retain-symbols-file \$wl\$export_symbols -o \$lib" +postinstall_cmds="" +postuninstall_cmds="" + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds="" +module_expsym_cmds="" + +# Commands to strip libraries. +old_striplib="strip --strip-debug" +striplib="strip --strip-unneeded" + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects="/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crti.o /usr/lib/gcc/i486-linux-gnu/4.1.2/crtbeginS.o" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects="/usr/lib/gcc/i486-linux-gnu/4.1.2/crtendS.o /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/crtn.o" + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps="-lstdc++ -lm -lgcc_s -lc -lgcc_s" + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path="-L/usr/lib/gcc/i486-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-linux-gnu/4.1.2 -L/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib -L/lib/../lib -L/usr/lib/../lib" + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method="pass_all" + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd="\$MAGIC_CMD" + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag="" + +# Flag that forces no undefined symbols. +no_undefined_flag="" + +# Commands used to finish a libtool library installation in a directory. +finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval="" + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'" + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'" + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'" + +# This is the shared library runtime path variable. +runpath_var=LD_RUN_PATH + +# This is the shared library path variable. +shlibpath_var=LD_LIBRARY_PATH + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=no + +# How to hardcode a shared library path into an executable. +hardcode_action=immediate + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=yes + +# Flag to hardcode $libdir into a binary during linking. +# This must work even if $libdir does not exist. +hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" + +# If ld is used when linking, flag to hardcode $libdir into +# a binary during linking. This must work even if $libdir does +# not exist. +hardcode_libdir_flag_spec_ld="" + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator="" + +# Set to yes if using DIR/libNAME during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=no + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=no + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +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=no + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=no + +# Compile-time system search path for libraries +sys_lib_search_path_spec=" /usr/lib/gcc/i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/lib/i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../i486-linux-gnu/lib/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../i486-linux-gnu/4.1.2/ /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../ /lib/i486-linux-gnu/4.1.2/ /lib/ /usr/lib/i486-linux-gnu/4.1.2/ /usr/lib/" + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/atlas include /etc/ld.so.conf.d/*.conf " + +# Fix the shell variable $srcfile for the compiler. +fix_srcfile_path="" + +# Set to yes if exported symbols are required. +always_export_symbols=no + +# The commands to list exported symbols. +export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds="" + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms="" + +# Symbols that must always be exported. +include_expsyms="" + +# ### END LIBTOOL TAG CONFIG: CXX + +# ### BEGIN LIBTOOL TAG CONFIG: F77 + +# Libtool was configured on host gashuffer: + +# Shell to use when invoking shell scripts. +SHELL="/bin/sh" + +# Whether or not to build shared libraries. +build_libtool_libs=yes + +# Whether or not to build static libraries. +build_old_libs=yes + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=no + +# Whether or not to disallow shared libs when runtime libs are static +allow_libtool_libs_with_static_runtimes=no + +# Whether or not to optimize for fast installation. +fast_install=yes + +# The host system. +host_alias= +host=i486-pc-linux-gnu + +# An echo program that does not interpret backslashes. +echo="echo" + +# The archiver. +AR="ar" +AR_FLAGS="cru" + +# A C compiler. +LTCC="cc" + +# A language-specific compiler. +CC="g77" + +# Is the compiler the GNU C compiler? +with_gcc=yes + +# An ERE matcher. +EGREP="grep -E" + +# The linker used to build libraries. +LD="/usr/bin/ld" + +# Whether we need hard or soft links. +LN_S="ln -s" + +# A BSD-compatible nm program. +NM="/usr/bin/nm -B" + +# A symbol stripping program +STRIP="strip" + +# Used to examine libraries when file_magic_cmd begins "file" +MAGIC_CMD=file + +# Used on cygwin: DLL creation program. +DLLTOOL="dlltool" + +# Used on cygwin: object dumper. +OBJDUMP="objdump" + +# Used on cygwin: assembler. +AS="as" + +# The name of the directory that contains temporary libtool files. +objdir=.libs + +# How to create reloadable object files. +reload_flag=" -r" +reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs" + +# How to pass a linker flag through the compiler. +wl="-Wl," + +# Object file suffix (normally "o"). +objext="o" + +# Old archive suffix (normally "a"). +libext="a" + +# Shared library suffix (normally ".so"). +shrext_cmds='.so' + +# Executable file suffix (normally ""). +exeext="" + +# Additional compiler flags for building library objects. +pic_flag=" -fPIC" +pic_mode=default + +# What is the maximum length of a command? +max_cmd_len=32768 + +# Does compiler simultaneously support -c and -o options? +compiler_c_o="yes" + +# Must we lock files when doing compilation ? +need_locks="no" + +# Do we need the lib prefix for modules? +need_lib_prefix=no + +# Do we need a version for libraries? +need_version=no + +# Whether dlopen is supported. +dlopen_support=unknown + +# Whether dlopen of programs is supported. +dlopen_self=unknown + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=unknown + +# Compiler flag to prevent dynamic linking. +link_static_flag="-static" + +# Compiler flag to turn off builtin functions. +no_builtin_flag="" + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec="\${wl}--export-dynamic" + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec="\${wl}--whole-archive\$convenience \${wl}--no-whole-archive" + +# Compiler flag to generate thread-safe objects. +thread_safe_flag_spec="" + +# Library versioning type. +version_type=linux + +# Format of library name prefix. +libname_spec="lib\$name" + +# 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="\${libname}\${release}\${shared_ext}\$versuffix \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}" + +# The coded name of the library, if different from the real name. +soname_spec="\${libname}\${release}\${shared_ext}\$major" + +# Commands used to build and install an old-style archive. +RANLIB="ranlib" +old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs\$old_deplibs~\$RANLIB \$oldlib" +old_postinstall_cmds="\$RANLIB \$oldlib~chmod 644 \$oldlib" +old_postuninstall_cmds="" + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds="" + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds="" + +# Commands used to build and install a shared archive. +archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname -o \$lib" +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 -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o \$lib" +postinstall_cmds="" +postuninstall_cmds="" + +# Commands used to build a loadable module (assumed same as above if empty) +module_cmds="" +module_expsym_cmds="" + +# Commands to strip libraries. +old_striplib="strip --strip-debug" +striplib="strip --strip-unneeded" + +# Dependencies to place before the objects being linked to create a +# shared library. +predep_objects="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdep_objects="" + +# Dependencies to place before the objects being linked to create a +# shared library. +predeps="" + +# Dependencies to place after the objects being linked to create a +# shared library. +postdeps="" + +# The library search path used internally by the compiler when linking +# a shared library. +compiler_lib_search_path="" + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method="pass_all" + +# Command to use when deplibs_check_method == file_magic. +file_magic_cmd="\$MAGIC_CMD" + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag="" + +# Flag that forces no undefined symbols. +no_undefined_flag="" + +# Commands used to finish a libtool library installation in a directory. +finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir" + +# Same as above, but a single script fragment to be evaled but not shown. +finish_eval="" + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe="sed -n -e 's/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'" + +# Transform the output of nm in a proper C declaration +global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'" + +# Transform the output of nm in a C name address pair +global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'" + +# This is the shared library runtime path variable. +runpath_var=LD_RUN_PATH + +# This is the shared library path variable. +shlibpath_var=LD_LIBRARY_PATH + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=no + +# How to hardcode a shared library path into an executable. +hardcode_action=immediate + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=yes + +# Flag to hardcode $libdir into a binary during linking. +# This must work even if $libdir does not exist. +hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir" + +# If ld is used when linking, flag to hardcode $libdir into +# a binary during linking. This must work even if $libdir does +# not exist. +hardcode_libdir_flag_spec_ld="" + +# Whether we need a single -rpath flag with a separated argument. +hardcode_libdir_separator="" + +# Set to yes if using DIR/libNAME during linking hardcodes DIR into the +# resulting binary. +hardcode_direct=no + +# Set to yes if using the -LDIR flag during linking hardcodes DIR into the +# resulting binary. +hardcode_minus_L=no + +# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into +# the resulting binary. +hardcode_shlibpath_var=unsupported + +# 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=no + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at relink time. +variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=no + +# Compile-time system search path for libraries +sys_lib_search_path_spec=" /usr/lib/gcc/i486-linux-gnu/3.4.6/ /usr/lib/gcc/i486-linux-gnu/3.4.6/ /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../i486-linux-gnu/lib/i486-linux-gnu/3.4.6/ /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../i486-linux-gnu/lib/ /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../i486-linux-gnu/3.4.6/ /usr/lib/gcc/i486-linux-gnu/3.4.6/../../../ /lib/i486-linux-gnu/3.4.6/ /lib/ /usr/lib/i486-linux-gnu/3.4.6/ /usr/lib/" + +# Run-time system search path for libraries +sys_lib_dlsearch_path_spec="/lib /usr/lib /usr/lib/atlas include /etc/ld.so.conf.d/*.conf " + +# Fix the shell variable $srcfile for the compiler. +fix_srcfile_path="" + +# Set to yes if exported symbols are required. +always_export_symbols=no + +# The commands to list exported symbols. +export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols" + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds="" + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms="_GLOBAL_OFFSET_TABLE_" + +# Symbols that must always be exported. +include_expsyms="" + +# ### END LIBTOOL TAG CONFIG: F77 + --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-trayicon.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-trayicon.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/sylpheed-claws/plugins/trayicon*so --- sylpheed-claws-1.0.5.orig/debian/libsylpheed-claws-dev.install +++ sylpheed-claws-1.0.5/debian/libsylpheed-claws-dev.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/pkgconfig/sylpheed-claws.pc +debian/tmp/usr/include/* --- sylpheed-claws-1.0.5.orig/debian/compat +++ sylpheed-claws-1.0.5/debian/compat @@ -0,0 +1 @@ +4 --- sylpheed-claws-1.0.5.orig/debian/get-version.sh +++ sylpheed-claws-1.0.5/debian/get-version.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +head -1 debian/changelog | cut -d '(' -f 2 | cut -d '-' -f 1 --- sylpheed-claws-1.0.5.orig/debian/menu +++ sylpheed-claws-1.0.5/debian/menu @@ -0,0 +1,7 @@ +?package(sylpheed-claws):\ +needs="X11"\ +section="Apps/Net"\ +title="Sylpheed Claws"\ +hints="Gtk+-based Mail Client"\ +command="/usr/bin/sylpheed-claws"\ +icon="/usr/share/pixmaps/sylpheed-claws-debian.xpm" --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws.README.Debian +++ sylpheed-claws-1.0.5/debian/sylpheed-claws.README.Debian @@ -0,0 +1,68 @@ +Sylpheed-claws for Debian +------------------------- + +This package is a very unstable version of sylpheed. Unstable like +in Debian unstable. It changes very often and has all the bleeding +edge patches included. If you want stability and don't care losing +some functions from this package use the 'sylpheed' package instead. + +* Tools + +There are some useful tools for users of this package, they can be +found on /usr/share/doc/sylpheed-claws/tools, please read the +README files found in this directory for information on how to use +the tools and what they are for. + +These tools are now available in the sylpheed-claws-script package. + +* X-Face + +To create a X-Face you have to use the gif2xface script. You need +to install compface and netpbm for the script to work. Read +/usr/share/doc/sylpheed/tools/README to learn how to use it. +A cortesy from Chris Hessmann , a Debian-swirl +X-Face: + +X-Face: yuSM.z0$PasG_!+)P;ugu5P+@#JEocHIpArGcQZ^hcGos8:DBJ-tfTQYWyf`$2r0vfaoo7F|h.;Agl'@x8v]?{#ZLQDqSB:L^6RXGfF_fD+G9$c:)p, Sat, 08 Feb 2005 20:15:51 +0100 --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-clamav.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-clamav.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/sylpheed-claws/plugins/clamav*so --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws.docs.in +++ sylpheed-claws-1.0.5/debian/sylpheed-claws.docs.in @@ -0,0 +1,5 @@ +-DIR-/NEWS +-DIR-/README +-DIR-/README.claws +-DIR-/TODO +-DIR-/RELEASE_NOTES.claws --- sylpheed-claws-1.0.5.orig/debian/patches/01verticalbar_automatic.patch +++ sylpheed-claws-1.0.5/debian/patches/01verticalbar_automatic.patch @@ -0,0 +1,12 @@ +diff -urN sylpheed-claws-0.9.8claws/src/folderview.c sylpheed-claws-0.9.8claws.patched/src/folderview.c +--- sylpheed-claws-0.9.8claws/src/folderview.c 2003-12-08 18:10:39.000000000 +0000 ++++ sylpheed-claws-0.9.8claws.patched/src/folderview.c 2003-12-20 17:51:12.000000000 +0000 +@@ -390,7 +390,7 @@ + gtk_scrolled_window_set_policy + (GTK_SCROLLED_WINDOW(scrolledwin), + GTK_POLICY_AUTOMATIC, +- prefs_common.folderview_vscrollbar_policy); ++ GTK_POLICY_AUTOMATIC); + gtk_widget_set_usize(scrolledwin, + prefs_common.folderview_width, + prefs_common.folderview_height); --- sylpheed-claws-1.0.5.orig/debian/patches/02dotfolders.patch +++ sylpheed-claws-1.0.5/debian/patches/02dotfolders.patch @@ -0,0 +1,54 @@ +diff -urN sylpheed-claws-0.9.11claws/src/imap_gtk.c sylpheed-claws-0.9.11claws.patched/src/imap_gtk.c +--- sylpheed-claws-0.9.11claws/src/imap_gtk.c 2004-04-20 23:29:04.000000000 +0200 ++++ sylpheed-claws-0.9.11claws.patched/src/imap_gtk.c 2004-05-31 14:22:37.000000000 +0200 +@@ -136,6 +136,11 @@ + return; + } + ++ if (new_folder[0] == '.') { ++ alertpanel_error(_("Cannot create a folder beginning with a dot.")); ++ return; ++ } ++ + name = trim_string(new_folder, 32); + AUTORELEASE_STR(name, {g_free(name); return;}); + +@@ -186,6 +191,11 @@ + return; + } + */ ++ if (new_folder[0] == '.') { ++ alertpanel_error(_("Cannot create a folder beginning with a dot.")); ++ return; ++ } ++ + if (folder_find_child_item_by_name(folder_item_parent(item), new_folder)) { + name = trim_string(new_folder, 32); + alertpanel_error(_("The folder `%s' already exists."), name); +diff -urN sylpheed-claws-0.9.11claws/src/mh_gtk.c sylpheed-claws-0.9.11claws.patched/src/mh_gtk.c +--- sylpheed-claws-0.9.11claws/src/mh_gtk.c 2004-04-21 14:42:00.000000000 +0200 ++++ sylpheed-claws-0.9.11claws.patched/src/mh_gtk.c 2004-05-31 14:17:45.000000000 +0200 +@@ -128,6 +128,11 @@ + return; + } + ++ if (new_folder[0] == '.') { ++ alertpanel_error(_("Cannot create a folder beginning with a dot.")); ++ return; ++ } ++ + name = trim_string(new_folder, 32); + AUTORELEASE_STR(name, {g_free(name); return;}); + +@@ -229,6 +234,11 @@ + return; + } + ++ if (new_folder[0] == '.') { ++ alertpanel_error(_("Cannot create a folder beginning with a dot.")); ++ return; ++ } ++ + if (folder_find_child_item_by_name(folder_item_parent(item), new_folder)) { + name = trim_string(new_folder, 32); + alertpanel_error(_("The folder `%s' already exists."), name); --- sylpheed-claws-1.0.5.orig/debian/patches/14security_2.10.0cvs153.patch +++ sylpheed-claws-1.0.5/debian/patches/14security_2.10.0cvs153.patch @@ -0,0 +1,12 @@ +diff -Nur sylpheed-claws-1.0.5/src/inc.c sylpheed-claws-1.0.5.new/src/inc.c +--- sylpheed-claws-1.0.5/src/inc.c 2005-06-27 13:50:13.000000000 +0200 ++++ sylpheed-claws-1.0.5.new/src/inc.c 2007-09-06 15:59:48.000000000 +0200 +@@ -1180,7 +1180,7 @@ + log_warning("%s\n", log_msg); + } + if (err_msg) { +- alertpanel_error_log(err_msg); ++ alertpanel_error_log("%s", err_msg); + g_free(err_msg); + } + } --- sylpheed-claws-1.0.5.orig/debian/patches/11security_CVE-2005-3354.patch +++ sylpheed-claws-1.0.5/debian/patches/11security_CVE-2005-3354.patch @@ -0,0 +1,131 @@ +--- sylpheed-claws-1.0.4.orig/src/ldif.c ++++ sylpheed-claws-1.0.4/src/ldif.c +@@ -305,16 +305,14 @@ + static gchar *ldif_get_line( LdifFile *ldifFile ) { + gchar buf[ LDIFBUFSIZE ]; + gint ch; +- gchar *ptr; ++ int i = 0; + + if( feof( ldifFile->file ) ) return NULL; + +- ptr = buf; +- while( TRUE ) { +- *ptr = '\0'; ++ while( i < LDIFBUFSIZE-1 ) { + ch = fgetc( ldifFile->file ); + if( ch == '\0' || ch == EOF ) { +- if( *buf == '\0' ) return NULL; ++ if( i == 0 ) return NULL; + break; + } + #if HAVE_DOSISH_SYSTEM +@@ -322,9 +320,10 @@ + if( ch == '\r' ) continue; + #endif + if( ch == '\n' ) break; +- *ptr = ch; +- ptr++; ++ buf[i] = ch; ++ i++; + } ++ buf[i] = '\0'; + + /* Return a copy of buffer */ + return g_strdup( buf ); +only in patch2: +unchanged: +--- sylpheed-claws-1.0.4.orig/src/mutt.c ++++ sylpheed-claws-1.0.4/src/mutt.c +@@ -160,34 +160,36 @@ + static gchar *mutt_get_line( MuttFile *muttFile, gboolean *flagCont ) { + gchar buf[ MUTTBUFSIZE ]; + int ch, lch; +- gchar *ptr, *lptr; ++ int i = 0, li = 0; + + *flagCont = FALSE; + if( feof( muttFile->file ) ) return NULL; + +- ptr = buf; ++ memset(buf, 0, MUTTBUFSIZE); ++ + lch = '\0'; +- lptr = NULL; +- while( TRUE ) { +- *ptr = '\0'; ++ while( i < MUTTBUFSIZE-1 ) { + ch = fgetc( muttFile->file ); + if( ch == '\0' || ch == EOF ) { +- if( *buf == '\0' ) return NULL; ++ if( i == 0 ) ++ return NULL; + break; + } + if( ch == '\n' ) { + if( lch == '\\' ) { + /* Replace backslash with NULL */ +- if( lptr ) *lptr = '\0'; ++ if( li != 0 ) ++ buf[li] = '\0'; + *flagCont = TRUE; + } + break; + } +- *ptr = ch; +- lptr = ptr; ++ buf[i] = ch; ++ li = i; + lch = ch; +- ptr++; ++ i++; + } ++ buf[i]='\0'; + + /* Copy into private buffer */ + return g_strdup( buf ); +only in patch2: +unchanged: +--- sylpheed-claws-1.0.4.orig/src/pine.c ++++ sylpheed-claws-1.0.4/src/pine.c +@@ -165,31 +165,31 @@ + */ + static gchar *pine_read_line( PineFile *pineFile ) { + gchar buf[ PINEBUFSIZE ]; +- int c; ++ int c, i = 0; + gchar ch; +- gchar *ptr; + + if( feof( pineFile->file ) ) return NULL; + +- ptr = buf; +- while( TRUE ) { +- *ptr = '\0'; ++ while( i < PINEBUFSIZE-1 ) { + c = fgetc( pineFile->file ); + if( c == EOF ) { +- if( *buf == '\0' ) return NULL; ++ if( i == 0 ) ++ return NULL; + break; + } + ch = (gchar) c; + if( ch == '\0' ) { +- if( *buf == '\0' ) return NULL; ++ if( i == 0 ) ++ return NULL; + break; + } + if( ch == '\n' ) { + break; + } +- *ptr = ch; +- ptr++; ++ buf[i] = ch; ++ i++; + } ++ buf[i] = '\0'; + + /* Copy into private buffer */ + return g_strdup( buf ); --- sylpheed-claws-1.0.5.orig/debian/patches/06free_browsers_and_x_terminal_emulator.patch +++ sylpheed-claws-1.0.5/debian/patches/06free_browsers_and_x_terminal_emulator.patch @@ -0,0 +1,54 @@ +diff -urN sylpheed-claws-0.9.13.orig/src/prefs_ext_prog.c sylpheed-claws-0.9.13/src/prefs_ext_prog.c +--- sylpheed-claws-0.9.13.orig/src/prefs_ext_prog.c 2004-11-11 11:59:42.000000000 +0000 ++++ sylpheed-claws-0.9.13/src/prefs_ext_prog.c 2004-12-09 14:36:34.000000000 +0000 +@@ -128,18 +128,22 @@ + gtk_widget_show (uri_combo); + gtk_table_attach (GTK_TABLE (table2), uri_combo, 1, 2, 0, 1, + GTK_EXPAND | GTK_FILL, 0, 0, 0); ++ /* in Debian we want free browsers ;-) */ + gtkut_combo_set_items (GTK_COMBO (uri_combo), + DEFAULT_BROWSER_CMD, ++ "galeon --new-window '%s'", + "galeon --new-tab '%s'", + "galeon '%s'", +- "mozilla -remote 'openurl(%s,new-window)'", +- "netscape -remote 'openURL(%s, new-window)'", +- "netscape '%s'", ++ "mozilla-firefox -remote 'openURL(%s,new-window)'", ++ "mozilla-firefox '%s'", ++ "mozilla -remote 'openURL(%s,new-window)'", ++ "mozilla -remote 'openURL(%s,raise)'", ++ "mozilla '%s'", + "gnome-moz-remote --newwin '%s'", + "kfmclient openURL '%s'", +- "opera -newwindow '%s'", +- "rxvt -e w3m '%s'", +- "rxvt -e lynx '%s'", ++ "x-terminal-emulator -e w3m '%s'", ++ "x-terminal-emulator -e lynx '%s'", ++ "x-terminal-emulator -e links '%s'", + NULL); + uri_entry = GTK_COMBO (uri_combo)->entry; + gtk_entry_set_text(GTK_ENTRY(uri_entry), prefs_common.uri_cmd ? prefs_common.uri_cmd : ""); +@@ -173,6 +177,7 @@ + gtk_widget_show (exteditor_combo); + gtk_table_attach (GTK_TABLE (table2), exteditor_combo, 1, 2, 2, 3, + GTK_EXPAND | GTK_FILL, 0, 0, 0); ++ /* some Debian common editors */ + gtkut_combo_set_items (GTK_COMBO (exteditor_combo), + "gedit %s", + "kedit %s", +@@ -180,8 +185,11 @@ + "mgedit --no-fork %s", + "emacs %s", + "xemacs %s", +- "kterm -e jed %s", +- "kterm -e vi %s", ++ "gvim -f '%s'", ++ "kvim -f '%s'", ++ "x-terminal-emulator -e joe %s", ++ "x-terminal-emulator -e jed %s", ++ "x-terminal-emulator -e vi %s", + NULL); + exteditor_entry = GTK_COMBO (exteditor_combo)->entry; + gtk_entry_set_text(GTK_ENTRY(exteditor_entry), --- sylpheed-claws-1.0.5.orig/debian/patches/05always_gnome.patch +++ sylpheed-claws-1.0.5/debian/patches/05always_gnome.patch @@ -0,0 +1,45 @@ +diff -urN sylpheed-claws-0.9.10claws/Makefile.am sylpheed-claws-0.9.10claws.patched/Makefile.am +--- sylpheed-claws-0.9.10claws/Makefile.am 2004-03-08 09:02:15.000000000 +0100 ++++ sylpheed-claws-0.9.10claws.patched/Makefile.am 2004-03-09 00:45:06.000000000 +0100 +@@ -17,17 +17,10 @@ + TODO.claws \ + TODO.jp + +-if SYLPHEED_GNOME +-pixmapdir=$(gnomedatadir)/pixmaps ++pixmapdir=$(prefix)/share/pixmaps + pixmap_DATA=sylpheed.png +-gnomapdir=$(gnomedatadir)/gnome/apps/Internet ++gnomapdir=$(prefix)/share/gnome/apps/Internet + gnomap_DATA=sylpheed.desktop +-else +-pixmapdir= +-pixmap_DATA= +-gnomapdir= +-gnomap_DATA= +-endif + + BZIP2_ENV = + +diff -urN sylpheed-claws-0.9.10claws/Makefile.in sylpheed-claws-0.9.10claws.patched/Makefile.in +--- sylpheed-claws-0.9.10claws/Makefile.in 2004-03-08 10:04:33.000000000 +0100 ++++ sylpheed-claws-0.9.10claws.patched/Makefile.in 2004-03-09 00:46:51.000000000 +0100 +@@ -301,14 +301,10 @@ + TODO.claws \ + TODO.jp + +-@SYLPHEED_GNOME_FALSE@pixmapdir = +-@SYLPHEED_GNOME_TRUE@pixmapdir = $(gnomedatadir)/pixmaps +-@SYLPHEED_GNOME_FALSE@pixmap_DATA = +-@SYLPHEED_GNOME_TRUE@pixmap_DATA = sylpheed.png +-@SYLPHEED_GNOME_FALSE@gnomapdir = +-@SYLPHEED_GNOME_TRUE@gnomapdir = $(gnomedatadir)/gnome/apps/Internet +-@SYLPHEED_GNOME_FALSE@gnomap_DATA = +-@SYLPHEED_GNOME_TRUE@gnomap_DATA = sylpheed.desktop ++pixmapdir = $(prefix)/share/pixmaps ++pixmap_DATA = sylpheed.png ++gnomapdir = $(prefix)/share/gnome/apps/Internet ++gnomap_DATA = sylpheed.desktop + BZIP2_ENV = + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = sylpheed-claws.pc --- sylpheed-claws-1.0.5.orig/debian/patches/09claws_specific_scripts.patch +++ sylpheed-claws-1.0.5/debian/patches/09claws_specific_scripts.patch @@ -0,0 +1,355 @@ +Binary files sylpheed-claws-0.9.13.orig/tools/.multiwebsearch.pl.swp and sylpheed-claws-0.9.13/tools/.multiwebsearch.pl.swp differ +diff -urN sylpheed-claws-0.9.13.orig/tools/Makefile.am sylpheed-claws-0.9.13/tools/Makefile.am +--- sylpheed-claws-0.9.13.orig/tools/Makefile.am 2004-12-05 10:14:02.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/Makefile.am 2004-12-12 21:54:25.000000000 +0000 +@@ -14,6 +14,8 @@ + maildir2sylpheed.pl \ + multiwebsearch.pl \ + nautilus2sylpheed.sh \ ++ nautilus2sylpheed-claws.sh \ ++ nautilus2sylpheed-claws-gtk2.sh \ + outlook2sylpheed.pl \ + sylpheed-switcher \ + sylprint.pl \ +diff -urN sylpheed-claws-0.9.13.orig/tools/Makefile.in sylpheed-claws-0.9.13/tools/Makefile.in +--- sylpheed-claws-0.9.13.orig/tools/Makefile.in 2004-12-06 17:26:57.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/Makefile.in 2004-12-12 21:56:59.000000000 +0000 +@@ -272,6 +272,8 @@ + maildir2sylpheed.pl \ + multiwebsearch.pl \ + nautilus2sylpheed.sh \ ++ nautilus2sylpheed-claws.sh \ ++ nautilus2sylpheed-claws-gtk2.sh \ + outlook2sylpheed.pl \ + sylpheed-switcher \ + sylprint.pl \ +diff -urN sylpheed-claws-0.9.13.orig/tools/README sylpheed-claws-0.9.13/tools/README +--- sylpheed-claws-0.9.13.orig/tools/README 2004-12-05 11:28:59.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/README 2004-12-12 22:01:30.000000000 +0000 +@@ -36,6 +36,10 @@ + Extra tools: + gif2xface.pl Convert a 48x48 GIF file to an X-Face header + ++Debian specific: ++ nautilus2sylpheed-claws.sh ++ nautilus2sylpheed-claws-gtk2.sh ++ + -------------------------------------------------------------------------------- + Detailed Descriptions: + -------------------------------------------------------------------------------- +diff -urN sylpheed-claws-0.9.13.orig/tools/freshmeat_search.pl sylpheed-claws-0.9.13/tools/freshmeat_search.pl +--- sylpheed-claws-0.9.13.orig/tools/freshmeat_search.pl 2003-02-23 10:10:22.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/freshmeat_search.pl 2004-12-11 12:41:01.000000000 +0000 +@@ -20,7 +20,7 @@ + my $freshmeat = "http://freshmeat.net/search?q"; + $_ = <>; + +-chdir($ENV{HOME} . "/.sylpheed") || die("Can't find your .sylpheed directory\n"); ++chdir($ENV{HOME} . "/.sylpheed") || chdir($ENV{HOME} . "/.sylpheed-claws") || die("Can't find your .sylpheed or .sylpheed-claws directory\n"); + + open (SYLRC, "; +diff -urN sylpheed-claws-0.9.13.orig/tools/google_search.pl sylpheed-claws-0.9.13/tools/google_search.pl +--- sylpheed-claws-0.9.13.orig/tools/google_search.pl 2003-02-23 10:10:22.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/google_search.pl 2004-12-11 12:43:58.000000000 +0000 +@@ -20,7 +20,7 @@ + my $google = "http://www.google.com/search?q"; + $_ = <>; + +-chdir($ENV{HOME} . "/.sylpheed") || die("Can't find your .sylpheed directory\n"); ++chdir($ENV{HOME} . "/.sylpheed") || chdir($ENV{HOME} . "/.sylpheed-claws") || die("Can't find your .sylpheed or .sylpheed-claws directory\n"); + + open (SYLRC, "; +diff -urN sylpheed-claws-0.9.13.orig/tools/kmail2sylpheed.pl sylpheed-claws-0.9.13/tools/kmail2sylpheed.pl +--- sylpheed-claws-0.9.13.orig/tools/kmail2sylpheed.pl 2002-05-25 10:10:05.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/kmail2sylpheed.pl 2004-12-12 01:03:22.000000000 +0000 +@@ -34,7 +34,12 @@ + chdir; + #chdir '.sylpheed' || die("You don't appear to have Sylpheed installed\n"); + +-opendir(SYLPHEED, ".sylpheed") || die("Can't open .sylpheed directory\n"); ++$rcdir = ''; ++if (-d '.sylpheed') { $rcdir = '.sylpheed'; } ++else { if (-d '.sylpheed-claws') { $rcdir = '.sylpheed-claws'; } ++ else { die("Can't found your .sylpheed or .sylpheed-claws directory\n"); } } ++ ++opendir(SYLPHEED, $rcdir) || die("Can't open your $rcdir directory\n"); + push(@cached,(readdir(SYLPHEED))); + closedir(SYLPHEED); + +@@ -187,11 +192,11 @@ + } + $sylph_addr .= "\n"; + +-open (NEWADDR, ">.sylpheed/$new_addrbk"); ++open (NEWADDR, ">$rcdir/$new_addrbk"); + print NEWADDR $sylph_addr; + close NEWADDR; + +-open (ADDRIN, "<.sylpheed/addrbook--index.xml") || die("can't open addrbook--index.xml"); ++open (ADDRIN, "<$rcdir/addrbook--index.xml") || die("can't open addrbook--index.xml"); + @addrindex_file = ; + close ADDRIN; + +@@ -204,7 +209,7 @@ + } + } + +-open (NEWADDRIN, ">.sylpheed/addrbook--index.xml"); ++open (NEWADDRIN, ">$rcdir/addrbook--index.xml"); + print NEWADDRIN "$rewrite_addrin"; + close NEWADDRIN; + +diff -urN sylpheed-claws-0.9.13.orig/tools/kmail2sylpheed_v2.pl sylpheed-claws-0.9.13/tools/kmail2sylpheed_v2.pl +--- sylpheed-claws-0.9.13.orig/tools/kmail2sylpheed_v2.pl 2002-11-08 15:33:03.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/kmail2sylpheed_v2.pl 2004-12-12 14:29:17.000000000 +0000 +@@ -40,7 +40,10 @@ + exit; + } + +-$sylph_dir = ".sylpheed"; ++$sylph_dir = ""; ++if (-d '.sylpheed') { $sylph_dir = '.sylpheed'; } ++else { if (-d '.sylpheed-claws') { $sylph_dir = '.sylpheed-claws'; } ++ else { die("Can't found your .sylpheed or .sylpheed-claws directory\n"); } } + $addr_index = "$sylph_dir/addrbook--index.xml"; + $new_addressbook = "Kmail address book"; + +diff -urN sylpheed-claws-0.9.13.orig/tools/multiwebsearch.pl sylpheed-claws-0.9.13/tools/multiwebsearch.pl +--- sylpheed-claws-0.9.13.orig/tools/multiwebsearch.pl 2003-07-26 10:05:48.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/multiwebsearch.pl 2004-12-12 14:50:37.000000000 +0000 +@@ -27,11 +27,16 @@ + + $what =~ s/\s/%20/g; + +-chdir($ENV{HOME} . "/.sylpheed") +- || die("Can't find your ~/.sylpheed directory\n"); ++chdir($ENV{HOME}); ++$rcdir = ''; ++if (-d '.sylpheed') { $rcdir = '.sylpheed'; } ++else { if (-d '.sylpheed-claws') { $rcdir = '.sylpheed-claws'; } ++ else { die("Can't found your .sylpheed or .sylpheed-claws directory\n"); } } ++chdir($rcdir) ++ || die("Can't find your ~/$rcdir directory\n"); + + open (CONF, "; + close CONF; + +@@ -51,7 +56,7 @@ + } + + open (SYLRC, "; + close SYLRC; + +diff -urN sylpheed-claws-0.9.13.orig/tools/nautilus2sylpheed-claws-gtk2.sh sylpheed-claws-0.9.13/tools/nautilus2sylpheed-claws-gtk2.sh +--- sylpheed-claws-0.9.13.orig/tools/nautilus2sylpheed-claws-gtk2.sh 1970-01-01 00:00:00.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/nautilus2sylpheed-claws-gtk2.sh 2004-12-12 22:10:54.000000000 +0000 +@@ -0,0 +1,54 @@ ++#!/bin/bash ++ ++# nautilus2sylpheed-claws-gtk2.sh ++# Copyright 2004 Reza Pakdel ++ ++# 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. ++ ++# This script will recursively attach a number of selected ++# files/directories from Nautilus to a new blank e-mail. ++ ++# Authors: Reza Pakdel ++# Stephan Sachse ++# ++# Fixes: ++# Stephan Sachse : files/directorys with whitspaces ++ ++ ++SELECTED_PATHS="${NAUTILUS_SCRIPT_SELECTED_FILE_PATHS}" ++NB_SELECTED_PATHS=`echo -n "${SELECTED_PATHS}" | wc -l | awk '{print $1}'` ++ ++ATTACHMENTS="" ++ ++for ((i=${NB_SELECTED_PATHS}; i>0; i--)) ; do ++ CURRENT_PATH=`echo -n "${SELECTED_PATHS}" | head -n${i} | tail -n1` ++ if test -d "${CURRENT_PATH}" ; then ++ FILES_FOUND=`find "${CURRENT_PATH}" -type f` ++ NB_FILES_FOUND=`echo "${FILES_FOUND}" | wc -l | awk '{print $1}'` ++ for ((j=${NB_FILES_FOUND}; j>0; j--)) ; do ++ CURRENT_FILE=`echo "${FILES_FOUND}" | head -n${j} | tail -n1` ++ ATTACHMENTS="${ATTACHMENTS} \"${CURRENT_FILE}\"" ++ done ++ else ++ ATTACHMENTS="${ATTACHMENTS} \"${CURRENT_PATH}\"" ++ fi ++done ++ ++echo "-----------" ++echo ${ATTACHMENTS} ++ ++eval "sylpheed-claws-gtk2 --compose --attach ${ATTACHMENTS}" ++ +diff -urN sylpheed-claws-0.9.13.orig/tools/nautilus2sylpheed-claws.sh sylpheed-claws-0.9.13/tools/nautilus2sylpheed-claws.sh +--- sylpheed-claws-0.9.13.orig/tools/nautilus2sylpheed-claws.sh 1970-01-01 00:00:00.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/nautilus2sylpheed-claws.sh 2004-12-12 22:10:29.000000000 +0000 +@@ -0,0 +1,54 @@ ++#!/bin/bash ++ ++# nautilus2sylpheed-claws.sh ++# Copyright 2004 Reza Pakdel ++ ++# 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. ++ ++# This script will recursively attach a number of selected ++# files/directories from Nautilus to a new blank e-mail. ++ ++# Authors: Reza Pakdel ++# Stephan Sachse ++# ++# Fixes: ++# Stephan Sachse : files/directorys with whitspaces ++ ++ ++SELECTED_PATHS="${NAUTILUS_SCRIPT_SELECTED_FILE_PATHS}" ++NB_SELECTED_PATHS=`echo -n "${SELECTED_PATHS}" | wc -l | awk '{print $1}'` ++ ++ATTACHMENTS="" ++ ++for ((i=${NB_SELECTED_PATHS}; i>0; i--)) ; do ++ CURRENT_PATH=`echo -n "${SELECTED_PATHS}" | head -n${i} | tail -n1` ++ if test -d "${CURRENT_PATH}" ; then ++ FILES_FOUND=`find "${CURRENT_PATH}" -type f` ++ NB_FILES_FOUND=`echo "${FILES_FOUND}" | wc -l | awk '{print $1}'` ++ for ((j=${NB_FILES_FOUND}; j>0; j--)) ; do ++ CURRENT_FILE=`echo "${FILES_FOUND}" | head -n${j} | tail -n1` ++ ATTACHMENTS="${ATTACHMENTS} \"${CURRENT_FILE}\"" ++ done ++ else ++ ATTACHMENTS="${ATTACHMENTS} \"${CURRENT_PATH}\"" ++ fi ++done ++ ++echo "-----------" ++echo ${ATTACHMENTS} ++ ++eval "sylpheed-claws --compose --attach ${ATTACHMENTS}" ++ +diff -urN sylpheed-claws-0.9.13.orig/tools/outlook2sylpheed.pl sylpheed-claws-0.9.13/tools/outlook2sylpheed.pl +--- sylpheed-claws-0.9.13.orig/tools/outlook2sylpheed.pl 2003-04-20 08:18:44.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/outlook2sylpheed.pl 2004-12-12 15:31:19.000000000 +0000 +@@ -41,13 +41,16 @@ + $outl_file = $ARGV[0]; + } + # some init +-$sylconf = ".sylpheed"; ++$sylconf = ""; + $indexname = "$sylconf/addrbook--index.xml"; + + # the next is mostly Paul's code + $time = time; + + chdir; ++if (-d '.sylpheed') { $sylconf = '.sylpheed'; } ++else { if (-d '.sylpheed-claws') { $sylconf = '.sylpheed-claws'; } ++ else { die("Can't found your .sylpheed or .sylpheed-claws directory\n"); } } + opendir(SYLPHEED, $sylconf) || die("Error: can't open $sylconf directory\n"); + push(@cached,(readdir(SYLPHEED))); + closedir(SYLPHEED); +diff -urN sylpheed-claws-0.9.13.orig/tools/sylprint.pl sylpheed-claws-0.9.13/tools/sylprint.pl +--- sylpheed-claws-0.9.13.orig/tools/sylprint.pl 2002-01-08 19:34:37.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/sylprint.pl 2004-12-12 22:13:32.000000000 +0000 +@@ -43,6 +43,8 @@ + if (-x $rcf) { do $rcf; } + $rcf="$ENV{'HOME'}/.sylpheed/$rc"; + if (-x $rcf) { do $rcf; } ++ else { $rcf="$ENV{'HOME'}/.sylpheed-claws/$rc"; ++ if (-x $rcf) { do $rcf; } } + } + @forens = (); + while (defined($ARGV[$a])) { +diff -urN sylpheed-claws-0.9.13.orig/tools/tb2sylpheed sylpheed-claws-0.9.13/tools/tb2sylpheed +--- sylpheed-claws-0.9.13.orig/tools/tb2sylpheed 2003-11-19 10:24:53.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/tb2sylpheed 2004-12-12 20:04:08.000000000 +0000 +@@ -43,7 +43,12 @@ + chdir; + + # check is Sylpheed instrtalled +-opendir(SYLPHEED, ".sylpheed") || die("Can't open Sylpheed directory! Conversion abroted\n"); ++$rcdir = ''; ++if (-d '.sylpheed') { $rcdir = '.sylpheed'; } ++else { if (-d '.sylpheed-claws') { $rcdir = '.sylpheed-claws'; } ++ else { die("Can't found your .sylpheed or .sylpheed-claws directory\n"); } } ++ ++opendir(SYLPHEED, $rcdir) || die("Can't open Sylpheed directory! Conversion abroted\n"); + push(@cached, (readdir(SYLPHEED))); + closedir(SYLPHEED); + +@@ -251,12 +256,12 @@ + $sylph_addr .= "\n"; + + # print new addressbook to file +-open (NEWADDR, ">.sylpheed/$new_addrbk"); ++open (NEWADDR, ">$rcdir/$new_addrbk"); + print NEWADDR $sylph_addr; + close NEWADDR; + + # add new addressbook to index +-open (ADDRIN, "<.sylpheed/addrbook--index.xml") || die("Can't open addrbook--index.xml"); ++open (ADDRIN, "<$rcdir/addrbook--index.xml") || die("Can't open addrbook--index.xml"); + @addrindex_file = ; + close ADDRIN; + +@@ -269,7 +274,7 @@ + } + } + +-open (NEWADDRIN, ">.sylpheed/addrbook--index.xml"); ++open (NEWADDRIN, ">$rcdir/addrbook--index.xml"); + print NEWADDRIN "$rewrite_addrin"; + close NEWADDRIN; + print "You have sucessfully converted your The Bat! addressbook\n"; +diff -urN sylpheed-claws-0.9.13.orig/tools/vcard2xml.py sylpheed-claws-0.9.13/tools/vcard2xml.py +--- sylpheed-claws-0.9.13.orig/tools/vcard2xml.py 2003-09-23 08:06:49.000000000 +0000 ++++ sylpheed-claws-0.9.13/tools/vcard2xml.py 2004-12-12 21:52:27.000000000 +0000 +@@ -157,6 +157,11 @@ + in_file = None + out_file = None + path_to_out = os.environ['HOME']+'/.sylpheed/' ++ try : ++ os.stat(path_to_out) ++ except OSError, e: ++ path_to_out = os.environ['HOME']+'/.sylpheed-claws/' ++ + adr_idx = 'addrbook--index.xml' + adr_idx_file = None + tmp_adr_idx_file= None --- sylpheed-claws-1.0.5.orig/debian/patches/13clamav-0.90.dpatch +++ sylpheed-claws-1.0.5/debian/patches/13clamav-0.90.dpatch @@ -0,0 +1,37 @@ +--- sylpheed-claws-1.0.5.orig/src/plugins/clamav/clamav_plugin.c ++++ sylpheed-claws-1.0.5/src/plugins/clamav/clamav_plugin.c +@@ -105,6 +105,7 @@ + MimeInfo *mimeinfo; + + int ret, no = 0; ++ unsigned int cl_options = CL_DB_STDOPT; + struct scan_parameters params; + + if (!config.clamav_enable) +@@ -127,14 +128,14 @@ + if (config.clamav_enable_arc) + params.scan_archive = TRUE; + +- if ((ret = cl_loaddbdir(cl_retdbdir(), ¶ms.root, &no))) { +- debug_print("cl_loaddbdir: %s\n", cl_strerror(ret)); ++ if ((ret = cl_load(cl_retdbdir(), ¶ms.root, &no, cl_options))) { ++ debug_print("cl_load: %s\n", cl_strerror(ret)); + return FALSE; + } + + debug_print("Database loaded (containing in total %d signatures)\n", no); + +- cl_buildtrie(params.root); ++ cl_build(params.root); + + g_node_traverse(mimeinfo->node, G_PRE_ORDER, G_TRAVERSE_ALL, -1, scan_func, ¶ms); + +@@ -154,7 +155,7 @@ + } + } + +- cl_freetrie(params.root); ++ cl_free(params.root); + procmime_mimeinfo_free_all(mimeinfo); + + return params.is_infected; --- sylpheed-claws-1.0.5.orig/debian/patches/08migrate_rc_dir_to_sylpheed_claws.patch +++ sylpheed-claws-1.0.5/debian/patches/08migrate_rc_dir_to_sylpheed_claws.patch @@ -0,0 +1,25 @@ +diff -urN sylpheed-claws-0.9.9claws/src/main.c sylpheed-claws-0.9.9claws.patched/src/main.c +--- sylpheed-claws-0.9.9claws/src/main.c 2004-01-10 10:56:36.000000000 +0100 ++++ sylpheed-claws-0.9.9claws.patched/src/main.c 2004-02-10 15:23:21.000000000 +0100 +@@ -140,6 +140,8 @@ + static void install_basic_sighandlers (void); + static void exit_sylpheed (MainWindow *mainwin); + ++#define DEBIAN_MIGRATE_RC_DIR "cp -r $HOME/.sylpheed $HOME/.sylpheed-claws" ++ + #if 0 + /* for gettext */ + _("File `%s' already exists.\n" +@@ -234,6 +236,12 @@ + g_free(userrc); + + CHDIR_RETURN_VAL_IF_FAIL(get_home_dir(), 1); ++ ++ /* Debian: migrate .sylpheed to .sylpheed-claws (>= 0.9.9) */ ++ if (is_dir_exist(".sylpheed") == TRUE && is_dir_exist(RC_DIR) == FALSE) { ++ system(DEBIAN_MIGRATE_RC_DIR); ++ debug_print("building claws RC_DIR from existing .sylpheed"); ++ } + + MAKE_DIR_IF_NOT_EXIST(RC_DIR); + MAKE_DIR_IF_NOT_EXIST(get_imap_cache_dir()); --- sylpheed-claws-1.0.5.orig/debian/patches/12security_CVE-2006-2920.patch +++ sylpheed-claws-1.0.5/debian/patches/12security_CVE-2006-2920.patch @@ -0,0 +1,100 @@ +diff -urN sylpheed-claws-1.0.5.orig/src/common/utils.c sylpheed-claws-1.0.5/src/common/utils.c +--- sylpheed-claws-1.0.5.orig/src/common/utils.c 2005-06-27 13:50:13.000000000 +0200 ++++ sylpheed-claws-1.0.5/src/common/utils.c 2006-06-13 19:43:12.000000000 +0200 +@@ -1510,6 +1510,8 @@ + + gboolean is_uri_string(const gchar *str) + { ++ while (str && *str && g_ascii_isspace(*str)) ++ str++; + return (g_strncasecmp(str, "http://", 7) == 0 || + g_strncasecmp(str, "https://", 8) == 0 || + g_strncasecmp(str, "ftp://", 6) == 0 || +@@ -1518,6 +1520,8 @@ + + gchar *get_uri_path(const gchar *uri) + { ++ while (uri && *uri && g_ascii_isspace(*uri)) ++ uri++; + if (g_strncasecmp(uri, "http://", 7) == 0) + return (gchar *)(uri + 7); + else if (g_strncasecmp(uri, "https://", 8) == 0) +@@ -1536,6 +1540,8 @@ + gchar *dec = decoded_uri; + const gchar *enc = encoded_uri; + ++ while (enc && *enc && g_ascii_isspace(*enc)) ++ enc++; + while (*enc) { + if (*enc == '%') { + enc++; +diff -urN sylpheed-claws-1.0.5.orig/src/common/utils.h sylpheed-claws-1.0.5/src/common/utils.h +--- sylpheed-claws-1.0.5.orig/src/common/utils.h 2005-06-27 13:50:13.000000000 +0200 ++++ sylpheed-claws-1.0.5/src/common/utils.h 2006-06-13 19:40:35.000000000 +0200 +@@ -144,6 +144,12 @@ + perror(func); \ + } + ++/* Debian added: g_ascii_isspace (synthesized from glib-2.0) */ ++#define g_ascii_isspace(c) \ ++ (((guchar) (c) == 0x09) || ((guchar) (c) == 0x0a) \ ++ || ((guchar) (c) == 0x0c) || ((guchar) (c) == 0x0d) \ ++ || ((guchar) (c) == 0x20)) ++ + #define IS_ASCII(c) (((guchar) c) <= 0177 ? 1 : 0) + + #ifdef __cplusplus +diff -urN sylpheed-claws-1.0.5.orig/src/textview.c sylpheed-claws-1.0.5/src/textview.c +--- sylpheed-claws-1.0.5.orig/src/textview.c 2005-06-27 13:50:13.000000000 +0200 ++++ sylpheed-claws-1.0.5/src/textview.c 2006-06-13 19:44:16.000000000 +0200 +@@ -625,6 +625,8 @@ + * if still inside an , but already parsed past HREF */ + str = strtok(str, " "); + if (str) { ++ while (str && *str && g_ascii_isspace(*str)) ++ str++; + parser->href = g_strdup(str); + /* the URL may (or not) be followed by the + * referenced text */ +@@ -669,9 +671,13 @@ + g_return_val_if_fail(ep != NULL, FALSE); + + *bp = scanpos; ++ ep_ = scanpos; ++ ++ while (ep_ && *ep_ && g_ascii_isspace(*ep_)) ++ ep_++; + + /* find end point of URI */ +- for (ep_ = scanpos; *ep_ != '\0'; ep_++) { ++ for (; *ep_ != '\0'; ep_++) { + if (!isgraph(*(const guchar *)ep_) || + !IS_ASCII(*(const guchar *)ep_) || + strchr("()<>\"", *ep_)) +@@ -700,6 +706,8 @@ + + static gchar *make_uri_string(const gchar *bp, const gchar *ep) + { ++ while (bp && *bp && g_ascii_isspace(*bp)) ++ bp++; + return g_strndup(bp, ep - bp); + } + +@@ -954,6 +962,8 @@ + gchar *tmp; + gchar *result; + ++ while (bp && *bp && g_ascii_isspace(*bp)) ++ bp++; + tmp = g_strndup(bp, ep - bp); + result = g_strconcat("mailto:", tmp, NULL); + g_free(tmp); +@@ -967,6 +977,8 @@ + gchar *tmp; + gchar *result; + ++ while (bp && *bp && g_ascii_isspace(*bp)) ++ bp++; + tmp = g_strndup(bp, ep - bp); + result = g_strconcat("http://", tmp, NULL); + g_free(tmp); --- sylpheed-claws-1.0.5.orig/debian/patches/00alternative.patch +++ sylpheed-claws-1.0.5/debian/patches/00alternative.patch @@ -0,0 +1,48 @@ +diff -urN sylpheed-claws-0.9.12.orig/configure sylpheed-claws-0.9.12/configure +--- sylpheed-claws-0.9.12.orig/configure 2004-06-28 19:14:16.000000000 +0200 ++++ sylpheed-claws-0.9.12/configure 2004-06-29 10:39:48.000000000 +0200 +@@ -23957,9 +23957,9 @@ + localedir='${prefix}/${DATADIRNAME}/locale' + + +-manualdir='${prefix}/${DATADIRNAME}/${PACKAGE}/manual' ++manualdir='${prefix}/${DATADIRNAME}/doc/sylpheed-doc/manual' + +-faqdir='${prefix}/${DATADIRNAME}/${PACKAGE}/faq' ++faqdir='${prefix}/${DATADIRNAME}/doc/sylpheed-doc/faq' + + + if test "x${datadir}" = 'x${prefix}/share'; then +diff -urN sylpheed-claws-0.9.12.orig/configure.ac sylpheed-claws-0.9.12/configure.ac +--- sylpheed-claws-0.9.12.orig/configure.ac 2004-06-28 18:04:41.000000000 +0200 ++++ sylpheed-claws-0.9.12/configure.ac 2004-06-29 10:41:14.000000000 +0200 +@@ -97,9 +97,9 @@ + localedir='${prefix}/${DATADIRNAME}/locale' + AC_SUBST(localedir) + +-manualdir='${prefix}/${DATADIRNAME}/${PACKAGE}/manual' ++manualdir='${prefix}/${DATADIRNAME}/doc/sylpheed-doc/manual' + AC_SUBST(manualdir) +-faqdir='${prefix}/${DATADIRNAME}/${PACKAGE}/faq' ++faqdir='${prefix}/${DATADIRNAME}/doc/sylpheed-doc/faq' + AC_SUBST(faqdir) + + dnl Set PACKAGE_DATA_DIR in config.h. +diff -urN sylpheed-claws-0.9.12.orig/sylpheed.desktop sylpheed-claws-0.9.12/sylpheed.desktop +--- sylpheed-claws-0.9.12.orig/sylpheed.desktop 2004-06-28 18:03:23.000000000 +0200 ++++ sylpheed-claws-0.9.12/sylpheed.desktop 2004-06-29 10:42:13.000000000 +0200 +@@ -1,10 +1,10 @@ + [Desktop Entry] +-Name=Sylpheed +-Name[ja]=Sylpheed ++Name=Sylpheed-Claws ++Name[ja]=Sylpheed-Claws + Comment=E-Mail client + Comment[ja]=ÅŻҥ᡼¥ë¥¯¥é¥¤¥¢¥ó¥È +-Exec=sylpheed +-Icon=sylpheed.png ++Exec=sylpheed-claws ++Icon=sylpheed-claws.png + Terminal=0 + Type=Application + Categories=Application;Network; --- sylpheed-claws-1.0.5.orig/debian/patches/10get_xface_from_file.patch +++ sylpheed-claws-1.0.5/debian/patches/10get_xface_from_file.patch @@ -0,0 +1,127 @@ +diff -urN sylpheed-claws-1.0.1.orig/src/common/utils.c sylpheed-claws-1.0.1/src/common/utils.c +--- sylpheed-claws-1.0.1.orig/src/common/utils.c 2005-01-24 09:09:41.000000000 +0100 ++++ sylpheed-claws-1.0.1/src/common/utils.c 2005-02-08 19:49:06.000000000 +0100 +@@ -49,6 +49,7 @@ + #include "socket.h" + + #define BUFFSIZE 8192 ++#define MAX_XFACE_LEN 990 + + static gboolean debug_mode = FALSE; + +@@ -3055,6 +3056,30 @@ + return str; + } + ++void get_default_xface(gchar *buf, gint len) ++{ ++ FILE *xfp; ++ gchar *xfile; ++ gint lastc; ++ ++ xfile = g_strconcat(get_home_dir(), G_DIR_SEPARATOR_S, RC_DIR, ++ G_DIR_SEPARATOR_S, "xface", NULL); ++ buf[0] = '\0'; ++ if ((xfp = fopen(xfile, "rb")) == NULL) { ++ g_free(xfile); ++ return; ++ } ++ if (fgets(buf, (len < MAX_XFACE_LEN)? len: MAX_XFACE_LEN, xfp) == NULL) { ++ fclose(xfp); ++ g_free(xfile); ++ return; ++ } ++ lastc = strlen(buf) - 1; /* remove trailing \n */ ++ buf[lastc] = (buf[lastc] == '\n')? '\0': buf[lastc]; ++ fclose(xfp); ++ g_free(xfile); ++} ++ + gint execute_async(gchar *const argv[]) + { + pid_t pid; +diff -urN sylpheed-claws-1.0.1.orig/src/common/utils.h sylpheed-claws-1.0.1/src/common/utils.h +--- sylpheed-claws-1.0.1.orig/src/common/utils.h 2004-12-02 18:54:01.000000000 +0100 ++++ sylpheed-claws-1.0.1/src/common/utils.h 2005-02-08 19:49:06.000000000 +0100 +@@ -429,6 +429,8 @@ + const gchar *file); + gchar *file_read_to_str (const gchar *file); + gchar *file_read_stream_to_str (FILE *fp); ++void get_default_xface (gchar *buf, ++ gint len); + + /* process execution */ + gint execute_async (gchar *const argv[]); +diff -urN sylpheed-claws-1.0.1.orig/src/compose.c sylpheed-claws-1.0.1/src/compose.c +--- sylpheed-claws-1.0.1.orig/src/compose.c 2005-02-05 11:24:39.000000000 +0100 ++++ sylpheed-claws-1.0.1/src/compose.c 2005-02-08 19:49:06.000000000 +0100 +@@ -4052,6 +4052,12 @@ + } + } + ++ /* default xface */ ++ if (compose->account->use_def_xface) { ++ get_default_xface(buf, sizeof(buf)); ++ g_string_sprintfa(header, "X-Face: %s\n", buf); ++ } ++ + /* PRIORITY */ + switch (compose->priority) { + case PRIORITY_HIGHEST: g_string_sprintfa(header, "Importance: high\n" +diff -urN sylpheed-claws-1.0.1.orig/src/prefs_account.c sylpheed-claws-1.0.1/src/prefs_account.c +--- sylpheed-claws-1.0.1.orig/src/prefs_account.c 2004-12-08 09:14:00.000000000 +0100 ++++ sylpheed-claws-1.0.1/src/prefs_account.c 2005-02-08 19:49:06.000000000 +0100 +@@ -118,6 +118,7 @@ + static struct Send { + GtkWidget *date_chkbtn; + GtkWidget *msgid_chkbtn; ++ GtkWidget *def_xface_chkbtn; + GtkWidget *customhdr_chkbtn; + GtkWidget *smtp_auth_chkbtn; + GtkWidget *smtp_auth_type_optmenu; +@@ -339,6 +340,10 @@ + &p_send.msgid_chkbtn, + prefs_set_data_from_toggle, prefs_set_toggle}, + ++ {"use_default_xface", "FALSE", &tmp_ac_prefs.use_def_xface, P_BOOL, ++ &p_send.def_xface_chkbtn, ++ prefs_set_data_from_toggle, prefs_set_toggle}, ++ + {"add_custom_header", "FALSE", &tmp_ac_prefs.add_customhdr, P_BOOL, + &p_send.customhdr_chkbtn, + prefs_set_data_from_toggle, prefs_set_toggle}, +@@ -1501,6 +1506,7 @@ + GtkWidget *frame; + GtkWidget *date_chkbtn; + GtkWidget *msgid_chkbtn; ++ GtkWidget *def_xface_chkbtn; + GtkWidget *hbox; + GtkWidget *customhdr_chkbtn; + GtkWidget *customhdr_edit_btn; +@@ -1532,6 +1538,7 @@ + + PACK_CHECK_BUTTON (vbox2, date_chkbtn, _("Add Date")); + PACK_CHECK_BUTTON (vbox2, msgid_chkbtn, _("Generate Message-ID")); ++ PACK_CHECK_BUTTON (vbox2, def_xface_chkbtn, _("Use default X-Face")); + + hbox = gtk_hbox_new (FALSE, 12); + gtk_widget_show (hbox); +@@ -1675,6 +1682,7 @@ + + p_send.date_chkbtn = date_chkbtn; + p_send.msgid_chkbtn = msgid_chkbtn; ++ p_send.def_xface_chkbtn = def_xface_chkbtn; + p_send.customhdr_chkbtn = customhdr_chkbtn; + + p_send.smtp_auth_chkbtn = smtp_auth_chkbtn; +diff -urN sylpheed-claws-1.0.1.orig/src/prefs_account.h sylpheed-claws-1.0.1/src/prefs_account.h +--- sylpheed-claws-1.0.1.orig/src/prefs_account.h 2004-11-25 11:13:01.000000000 +0100 ++++ sylpheed-claws-1.0.1/src/prefs_account.h 2005-02-08 19:49:06.000000000 +0100 +@@ -101,6 +101,7 @@ + /* Send */ + gboolean add_date; + gboolean gen_msgid; ++ gboolean use_def_xface; + gboolean add_customhdr; + gboolean use_smtp_auth; + SMTPAuthType smtp_auth_type; --- sylpheed-claws-1.0.5.orig/debian/copyright +++ sylpheed-claws-1.0.5/debian/copyright @@ -0,0 +1,36 @@ +This package was debianized by Gustavo Noronha Silva on +Thu, 4 Oct 2001 19:04:33 -0300. + +It was downloaded from http://sylpheed-claws.sourceforge.net + +Upstream Authors: + +main-branch (http://sylpheed.good-day.net) + + Hiroyuki Yamamoto + + +claws-branch (http://sylpheed-claws.sourceforge.net) + + Hoa viet Dinh + Match Grun + Melvin Hadasht + Christoph Hohmann + Alfons Hoogervorst + Darko Koruga + Paul Mangan + Sergey Vlasov + Hiroyuki Yamamoto + + +Copyright: + +Copyright 1999-2005 by Hiroyuki Yamamoto and the Sylpheed Claws Team. + +You are free to distribute this software under the terms of +the GNU General Public License. +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL file. + +Specific permission is granted for the GPLed code in this distribution to +be linked to OpenSSL without invoking GPL clause 2(b). --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-spamassassin.docs.in +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-spamassassin.docs.in @@ -0,0 +1 @@ +-DIR-/src/plugins/spamassassin/README --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-i18n.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-i18n.install @@ -0,0 +1 @@ +debian/tmp/usr/share/locale/* --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-pgpmime.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-pgpmime.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/sylpheed-claws/plugins/pgpmime*so --- sylpheed-claws-1.0.5.orig/debian/changelog +++ sylpheed-claws-1.0.5/debian/changelog @@ -0,0 +1,1329 @@ +sylpheed-claws (1.0.5-5.1ubuntu0.1~dapper1) dapper-backports; urgency=low + + * Dapper backport to support clamav-0.92 backport + + -- Scott Kitterman Tue, 22 Jan 2008 15:18:50 -0500 + +sylpheed-claws (1.0.5-5.1ubuntu0.1) feisty-security; urgency=low + + * SECURITY UPDATE: a format string error could lead to arbitrary + code execution. + * Add 'debian/patches/14security_2.10.0cvs153.patch': add format string to + alertpanel_error_log() call. Patch from upstream CVS. (Fixes LP: #136302) + * References + http://www.colino.net/claws-mail/getpatchset.php3?ver=2.10.0cvs153&view=src/inc.c + CVE-2007-2958 + + -- Cesare Tirabassi Thu, 06 Sep 2007 15:27:50 +0200 + +sylpheed-claws (1.0.5-5.1) unstable; urgency=low + + * Non-maintainer upload. + * Update to new clamav API + + -- Stephen Gran Thu, 1 Mar 2007 23:12:42 +0000 + +sylpheed-claws (1.0.5-5) unstable; urgency=low + + * debian/control + - make unversioned recommendation of -i18n package + - fix strict dependency of -i18n on main package (Closes: #391138) + + -- Ricardo Mones Thu, 5 Oct 2006 11:18:20 +0200 + +sylpheed-claws (1.0.5-4) unstable; urgency=low + + * debian/rules + - Fix calling script for bash script (Closes: #376390) + + -- Ricardo Mones Mon, 3 Jul 2006 21:41:37 +0200 + +sylpheed-claws (1.0.5-3) unstable; urgency=high + + * debian/control + - Updated Standards-Version, updated maintainer mail address + - Make -i18n package depend on binary, and binary recomend -i18n + * debian/patches/12security_CVE-2006-2920.patch + - fix for security bug CVE-2006-2920: URI bypass (Closes: #372891) + + -- Ricardo Mones Tue, 13 Jun 2006 08:02:01 +0200 + +sylpheed-claws (1.0.5-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Remove build-dependency on xlibs-dev. (Closes: #346917) + + -- Steinar H. Gunderson Sat, 21 Jan 2006 03:23:58 +0100 + +sylpheed-claws (1.0.5-2) unstable; urgency=high + + * Security upload (Closes: #338436) + - Fixes CVE-2005-3354: Arbitrary code execution in Sylpheed + Patch thanks Martin Schulze + * debian/control + - Built with libreadline5-dev. + - Removed circular dependency with i18n (Closes: #340027) + + -- Ricardo Mones Mon, 21 Nov 2005 00:37:51 +0100 + +sylpheed-claws (1.0.5-1) unstable; urgency=low + + * New upstream release. + * debian/rules + - Moved desktop entry to usr/share/applications (Closes: #318570) + * debian/control, debian/copyright + - Fixed description, copyright and Debian policy version. + + -- Ricardo Mones Sun, 31 Jul 2005 13:03:02 +0200 + +sylpheed-claws (1.0.4-1) unstable; urgency=high + + * New upstream release. + - Fixes security bug (buffer overflow) (Closes: #301200) + + -- Ricardo Mones Thu, 24 Mar 2005 17:19:43 +0000 + +sylpheed-claws (1.0.3-1) unstable; urgency=HIGH + + * New upstream release. + * debian/control + - Removed rendundant referencies to *aspell* (Closes: #294603) + * debian/sylpheed-claws.docs.in, debian/rules + - Reflect current real docs (Closes: #295157) + + -- Ricardo Mones Mon, 14 Mar 2005 08:09:22 +0000 + +sylpheed-claws (1.0.1-1) unstable; urgency=low + + * New upstream release. + * debian/control + - Replaced B-D: libclamav1-dev with newer libclamav-dev + * Closes: #292737 (according upstream fixed since 1.0.0) + * debian/patches/10get_xface_from_file.patch + - New patch (Closes: #135123) allows a global X-Face for all accounts + (disabled by default, must be enabled on each account using it). + * debian/sylpheed-claws.README.Debian + - Reviewed, added "Use default X-Face" usage explanation. + + -- Ricardo Mones Tue, 8 Feb 2005 20:18:48 +0100 + +sylpheed-claws (0.9.13-1) unstable; urgency=low + + * New upstream release. + - Closes: #276642 + * debian/patches/09claws_specific_scripts.patch + - Implemented detection of ~/.sylpheed-claws dir in all scripts + * debian/patches/06free_browsers_and_x_terminal_emulator.patch + - Regenerated + * debian/control + - Updated s-c-pgpmime plugin description. + + -- Ricardo Mones Sun, 12 Dec 2004 22:37:10 +0000 + +sylpheed-claws (0.9.12b-1) unstable; urgency=low + + * New upstream release. + - Closes: #269506, #263703 + + -- Ricardo Mones Thu, 30 Sep 2004 10:48:28 +0200 + +sylpheed-claws (0.9.12a-2) unstable; urgency=low + + * debian/sylpheed-claws-pgpmime.install + - Forgot adding to svn repo, got missed :( (Closes: #268754) + * debian/control + - Conflict with old s-c-ghostscript-viewer (Closes: #269001) + + -- Ricardo Mones Tue, 31 Aug 2004 16:30:21 +0200 + +sylpheed-claws (0.9.12a-1) unstable; urgency=low + + * New upstream release. + * debian/control, sylpheed-claws-pgpmime.install + - New upstream PGP/MIME plugin. + * debian/control, sylpheed-claws-i18n.install + - Separate packaging for architecture independent locale data. + * debian/sylpheed-claws.install + - Removed locale data from main package. + * debian/control + - Suggest also sylpheed-claws-themes. + * debian/create-docs.sh + - Require proper shell (fixes FTBFS if /bin/sh is a POSIX shell). + * debian/sylpheed-claws.docs.in + - Added TODO.claws. + + -- Ricardo Mones Mon, 23 Aug 2004 19:37:20 +0200 + +sylpheed-claws (0.9.12-1) unstable; urgency=low + + * New upstream release. + - Closes: #254586, #246182, #215745 + * patches/00alternative.patch, patches/09claws_specific_scripts.patch + - Regenerated patches, minor fix. + * patches/10spamassassin_zombies.patch + - Removed backported patch. + * debian/sylpheed-claws*.ex + - Removed to keep linda happy :-) + * debian/control + - Moved metamail from Depends to Recommends. + * debian/rules + - Removed bogus po/*.gmo deletion from clean target. + + -- Ricardo Mones Fri, 2 Jul 2004 02:49:32 +0200 + +sylpheed-claws (0.9.11claws-2) unstable; urgency=low + + * debian/control + - Fixed libsylpheed-claws-dev dependency on OpenSSL. + * patches/10spamassasin_zombies.patch + - Correctly check waitpid return code (already in CVS) + patch by Christoph Hohmann . + + -- Ricardo Mones Fri, 11 Jun 2004 16:32:55 +0200 + +sylpheed-claws (0.9.11claws-1) unstable; urgency=low + + * New upstream release. + - Already fixed according upstream (Closes: #212551) + http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/show_bug.cgi?id=346 + - Rebuilt with libt1-dev instead t1lib-dev (Closes: #251180) + * patches/07default_plugins_directory.patch + - Removed patch, upstream has now this feature. + * 02dotfolders.patch, 09claws_specific_scripts.patch + - Regenerated patches + * debian/control + - sylpheed-claws-plugins arch set to any to keep linda happy + - Added aspell-en alternative to Recommends + - Set Section devel for libsylpheed-claws-dev + * changelog converted to UTF-8 to keep lintian happy too :) + + -- Ricardo Mones Wed, 2 Jun 2004 16:11:14 +0200 + +sylpheed-claws (0.9.10claws-1) unstable; urgency=low + + * New upstream release. + * debian/rules + - Cleaned up completely tarball stuff. + - Added removal of po/*.gmo files on clean target. + * 02dotfolders.patch, 05always_gnome.patch + - Regenerated patches. + * debian/menu + - Fix double unquoted-string-in-menu-item warning. + + -- Ricardo Mones Tue, 9 Mar 2004 01:18:15 +0100 + +sylpheed-claws (0.9.9claws-3) unstable; urgency=low + + * debian/rules + - Removed DEB_TAR_SRCDIR references (thanks Gustavo ;-) + * debian/create-docs.sh + - Set building path to . + * debian/copyright + - Fixed typo. + + -- Ricardo Mones Tue, 2 Mar 2004 12:19:25 +0100 + +sylpheed-claws (0.9.9claws-2) unstable; urgency=low + + * debian/control + - Fixed sylpheed-claws-plugins architecture. + * New patches to handle config dir migration. + - 08migrate_rc_dir_to_sylpheed_claws.patch + 09claws_specific_scripts.patch + * debian/sylpheed-claws.README.Debian + - Changed important note to warning about config dir name change. + + -- Ricardo Mones Tue, 10 Feb 2004 15:17:20 +0100 + +sylpheed-claws (0.9.9claws-1) unstable; urgency=low + + * New upstream release. + * debian/sylpheed-claws.README.Debian + - Important note about migration from main to claws. + * debian/patches/06free_browsers_and_x_terminal_emulator.patch + - Rebuilt. + + -- Ricardo Mones Sat, 7 Feb 2004 20:43:54 +0100 + +sylpheed-claws (0.9.8claws-2) unstable; urgency=low + + * New maintainer. + * debian/control: + - added Uploader field for Paul and Gustavo. + - upgraded Standards-Version + - added sylpheed-claws-scripts package, now Recomended by sylpheed-claws. + - Priority set to optional. + - sylpheed-claws-plugins arch set to any, scripts arch set to all. + * debian/rules: + - modified DEB_TAR_SRCDIR to sylpheed-claws-$(VERSION) + - added --with-config-dir=.sylpheed-claws to DEB_CONFIGURE_EXTRA_FLAGS + so we don't conflict now with main version. + * debian/sylpheed-claws-scripts.install + - created + * debian/sylpheed-claws.install + - removed tools. + * debian/sylpheed-claws.post[rm|inst] -> .ex + - disabled update-alternatives stuff, debian/*.README.* for rationale. + * debian/sylpheed-claws.docs.in + - added RELEASE_NOTES.claws to installed docs. + * debian/sylpheed-claws.REAME.Debian + - added rationale for no update-alternatives + - references to sylpheed-claws-scripts + + -- Ricardo Mones Fri, 6 Feb 2004 20:14:19 +0100 + +sylpheed-claws (0.9.8claws-1) unstable; urgency=low + + * New upstream release + * patches/*: + - regenerated patches to avoid errors + * debian/sylpheed-claws-debian.xpm: + - replace to avoid lintian errors + + -- Paul Mangan Sat, 21 Dec 2003 13:42:48 +0000 + +sylpheed-claws (0.9.6clawsa-3) unstable; urgency=low + + * debian/rules: + - oops, rebuild with gpgme and spelling back in... damn typo! + + -- Gustavo Noronha Silva Wed, 12 Nov 2003 21:11:38 -0200 + +sylpheed-claws (0.9.6clawsa-2) unstable; urgency=low + + * debian/rules: + - calls the script using /bin/sh directly, to solve the FTBFS + problems + + -- Gustavo Noronha Silva Tue, 11 Nov 2003 23:49:26 -0200 + +sylpheed-claws (0.9.6clawsa-1) unstable; urgency=low + + * Repackaging 0.9.6claws + * debian/rules: + - new package building model, still using cdbs, though + - disable mathml plugin, for now + * debian/control: + - does not build package sylpheed-claws-mathml anymore, + as the libgtkmathml-dev available on Debian will not + work + - removed the related Build-Deps + + -- Gustavo Noronha Silva Fri, 31 Oct 2003 01:44:57 -0200 + +sylpheed-claws (0.9.5claws28-2) experimental; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Sun, 28 Sep 2003 16:10:15 -0300 + +sylpheed-claws (0.9.5claws28-1) experimental; urgency=low + + * CVS snapshot + * debian/rules: + - does not remove the .gmo stuff when cleaning + + -- Gustavo Noronha Silva Tue, 23 Sep 2003 17:55:42 -0300 + +sylpheed-claws (0.9.5claws-2) unstable; urgency=low + + * debian/control: + - make plugin packages Replaces: older sylpheed-claws so + that they won't blow up at uncompress time (Closes: #210452) + + -- Gustavo Noronha Silva Thu, 11 Sep 2003 14:25:03 -0300 + +sylpheed-claws (0.9.5claws-1) unstable; urgency=low + + * New upstream release + - let's bring the new stuff to unstable =) + + -- Gustavo Noronha Silva Wed, 10 Sep 2003 21:41:07 -0300 + +sylpheed-claws (0.9.4claws76-1) experimental; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Wed, 10 Sep 2003 05:28:48 -0300 + +sylpheed-claws (0.9.4claws43-3) experimental; urgency=low + + * debian/control: + - fixed the image viewer plugin's description + + -- Gustavo Noronha Silva Sun, 7 Sep 2003 10:24:35 -0300 + +sylpheed-claws (0.9.4claws43-2) experimental; urgency=low + + * debian/libsylpheed-claws-dev.install: + - add the .pc file for pkgconfig, which was missing from the + last build + * debian/patches/07default_plugins_directory.diff: + - the plugin file selection dialog will open directly in + /usr/lib/sylpheed-claws/plugins, where the plugins lie + + -- Gustavo Noronha Silva Sun, 31 Aug 2003 16:34:59 -0300 + +sylpheed-claws (0.9.4claws43-1) experimental; urgency=low + + * CVS snapshot + * debian/control, debian/*install: + - new packages for each plugin, and one metapackage: + sylpheed-claws-plugins + sylpheed-claws-clamav + sylpheed-claws-dillo-viewer + sylpheed-claws-image-viewer + sylpheed-claws-mathml-viewer + sylpheed-claws-spamassassin + sylpheed-claws-trayicon + + -- Gustavo Noronha Silva Sun, 31 Aug 2003 10:00:20 -0300 + +sylpheed-claws (0.9.4claws36-1) unstable; urgency=low + + * CVS snapshot + * debian/control: + - new libsylpheed-claws-dev providing development + headers for plugins + + -- Gustavo Noronha Silva Sun, 24 Aug 2003 15:13:23 -0300 + +sylpheed-claws (0.9.4claws28-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Mon, 18 Aug 2003 03:29:40 -0300 + +sylpheed-claws (0.9.4claws-3) unstable; urgency=low + + * debian/rules: + - no longer removes po/*gmo, as they're not being + generated during the build (Closes: #204402) + + -- Gustavo Noronha Silva Thu, 7 Aug 2003 05:20:37 -0300 + +sylpheed-claws (0.9.4claws-2) unstable; urgency=low + + * debian/prerm -> debian/postrm: + - renamed to make update-alternatives stuff work + - only remove alternative when removing or purging + on postrm + + -- Gustavo Noronha Silva Tue, 5 Aug 2003 05:35:04 -0300 + +sylpheed-claws (0.9.4claws-1) unstable; urgency=low + + * New upstream release + - notification of valid/invalid signatures is provided by + icons at the right of the messageview (Closes: #155293) + - pop-before-smtp no longer segfaults (Closes: #202073) + + -- Gustavo Noronha Silva Tue, 5 Aug 2003 04:21:43 -0300 + +sylpheed-claws (0.9.3claws-2) unstable; urgency=low + + * debian/docs: + - removed ChangeLog + * debian/control: + - versioned Build-Depends on libgtkmathview-dev (Closes: #201105) + - Standards-Version to 3.6.0 + + -- Gustavo Noronha Silva Tue, 15 Jul 2003 13:46:10 -0300 + +sylpheed-claws (0.9.3claws-1) unstable; urgency=low + + * New upstream release + * According to bugzilla the IMAP problem has been fixed between + 0.9.0 and 0.9.3 (there was no 0.9.1 nor 0.9.2, it seems) + See http://www.thewildbeast.co.uk/sylpheed-claws/bugzilla/show_bug.cgi?id=161 + (Closes: #194072) + * debian/control: + - Build-Depends on flex | flex-old + + -- Gustavo Noronha Silva Sun, 13 Jul 2003 03:35:36 -0300 + +sylpheed-claws (0.9.0claws-3) unstable; urgency=low + + The "Hey, aspell, take this!" release. + * debian/control: + - added aspell-bin to Build-Depends (Closes: #196316, #196901) + + -- Gustavo Noronha Silva Sat, 14 Jun 2003 04:33:57 -0300 + +sylpheed-claws (0.9.0claws-2) unstable; urgency=low + + The "The Free Software International Forum is about to begin!" + release + * debian/control: + - Build-Depends on debhelper >= 4.1.0 (Closes: #195957) + + -- Gustavo Noronha Silva Wed, 4 Jun 2003 19:47:06 -0300 + +sylpheed-claws (0.9.0claws-1) unstable; urgency=low + + * New upstream release + * debian/rules: + - addotping CDBS + * debian/control: + - Build-Depends on cdbs, and not on debhelper + + -- Gustavo Noronha Silva Sat, 31 May 2003 05:12:02 -0300 + +sylpheed-claws (0.8.11claws175-1) unstable; urgency=low + + * CVS snapshot + - pop-before-smtp has been fixed on CVS already + (Closes: #164112) + + -- Gustavo Noronha Silva Sat, 24 May 2003 01:52:09 -0300 + +sylpheed-claws (0.8.11claws161-1) unstable; urgency=low + + * CVS snapshot + - spellchecking reativated (Closes: #193636) + - selective download has been deactivated because of + the POP3 rewrite, the reinclusion is being thought + about (Closes: #193655) + - the network IO stuff should not block anymore + (Closes: #145540) + - locale does not seem to be a problem anymore, upstream + could not reproduce (Closes: #138865) + - folder scanning seems to be reworked to updated from + local cache when using IMAP (Closes: #175326) + - reply works when using windows now (Closes: #184056) + - according to upstream, this bug is no more since 0.8.11claws25 + (Closes: #172947) + + -- Gustavo Noronha Silva Wed, 21 May 2003 05:40:12 -0300 + +sylpheed-claws (0.8.11claws151-1) unstable; urgency=low + + * CVS snapshot + - According to upstream claws now handles optional POP3 + commands OK since 0.8.11claws143. (Closes: #192022) + + -- Gustavo Noronha Silva Wed, 14 May 2003 05:03:45 -0300 + +sylpheed-claws (0.8.11claws141-1) unstable; urgency=low + + * CVS snapshot + * debina/rules: + - enabled clamav and mathview plugins + * debian/control: + - Build-Depends: -libpng2-dev +libpng12-dev -libsasl-dev (libsasl2-dev should + be grabbed by libldap2-dev) +libgtkmathview-dev +libclamav1-dev (for the + plugins) +t1lib-dev + - Suggests dillo, to use the html viewer + + -- Gustavo Noronha Silva Sat, 3 May 2003 16:19:20 -0300 + +sylpheed-claws (0.8.11claws76-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Tue, 8 Apr 2003 05:14:07 -0300 + +sylpheed-claws (0.8.11claws56-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Thu, 27 Mar 2003 12:25:41 -0300 + +sylpheed-claws (0.8.11claws48-1) unstable; urgency=low + + * CVS snapshot + * debian/rules: + - --enable-{dillo,trayicon}-viewer-plugin + - mathml has problems + * should not segfault because of locale anymore since + 0.8.10claws93 (Closes: #138865) + * locale problem, according to the authors, encoding/decoding + should work (Closes: #125842) + + -- Gustavo Noronha Silva Thu, 27 Mar 2003 05:14:19 -0300 + +sylpheed-claws (0.8.10claws13-1) unstable; urgency=low + + * CVS snapshot + - fixes rules merging according to upstream (Closes: #180253) + + -- Gustavo Noronha Silva Sat, 15 Feb 2003 15:43:40 -0200 + +sylpheed-claws (0.8.9claws48-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Sat, 8 Feb 2003 20:40:43 -0200 + +sylpheed-claws (0.8.9claws31-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Sat, 1 Feb 2003 01:02:59 -0200 + +sylpheed-claws (0.8.8claws127-1) unstable; urgency=low + + * CVS snapshot + * debian/rules: + - enable spamassassin plugin + + -- Gustavo Noronha Silva Thu, 23 Jan 2003 14:43:14 -0200 + +sylpheed-claws (0.8.8claws111-1) unstable; urgency=low + + The "Hey aspell, welcome back!" release. + * CVS snapshot + * Conflicts between directories and files were fixed a while + ago. (Closes: #132875) + * patches/00alternative: + - changed configure.in to configura.ac + * debian/control: + - Build-Depends on libreadline4-dev and libaspell-dev (>= 0.50.3) + * debian/rules: + - reenable aspell, yes! + + -- Gustavo Noronha Silva Sat, 18 Jan 2003 02:02:02 -0200 + +sylpheed-claws (0.8.8claws25-2) unstable; urgency=low + + * debian/control: + - Build-Depends on libgpgme-dev >= 0.3.10 + + -- Gustavo Noronha Silva Mon, 30 Dec 2002 22:02:35 -0200 + +sylpheed-claws (0.8.8claws25-1) unstable; urgency=low + + * CVS snapshot + - I cannot reproduce the segfault on deleting the message that + tops a thread with 'execute imdiately' disabled, I guess it + was fixed on previous version, reopen if needed (Closes: #172882) + + -- Gustavo Noronha Silva Mon, 30 Dec 2002 00:44:16 -0200 + +sylpheed-claws (0.8.6claws123-1) unstable; urgency=low + + * CVS snapshot + * patches/06free_browsers_and_x_terminal_emulator: + - modified a bit, the authors added lots of changes like + mine + + -- Gustavo Noronha Silva Sat, 21 Dec 2002 23:40:52 -0200 + +sylpheed-claws (0.8.6claws82-2) unstable; urgency=low + + The "Damn, things DO change!" release + + * debian/rules: + - fixed TARGET_ALIAS, for X-Mailer (../configure call) + - --enable-ssl changed to --enable-openssl (Closes: #172646) + + -- Gustavo Noronha Silva Wed, 11 Dec 2002 22:21:05 -0200 + +sylpheed-claws (0.8.6claws82-1) unstable; urgency=low + + * CVS snapshot + * debian/control: + - changed Build-Depends from xlib6g-dev to xlibs-dev + (Closes: #170150) + * debian/sylpheed-claws-debian.xpm: + - lowered size and colors of the icon + * debian/rules: + - support the nostrip option for DEB_BUILD_OPTIONS + * debian/control: + - Standards-Version bump to 3.5.8 + + -- Gustavo Noronha Silva Sun, 8 Dec 2002 20:11:13 -0200 + +sylpheed-claws (0.8.5claws175-1) unstable; urgency=low + + * CVS snapshot + * patches/04manual: + - removed... now Sylpheed-Claws has its own way of detecting + wether the manuals are installed + + -- Gustavo Noronha Silva Fri, 22 Nov 2002 22:16:12 -0200 + +sylpheed-claws (0.8.5claws126-1) unstable; urgency=low + + * CVS snapshot + * debian/control: + - Depends on metamail, instead of just suggesting, to work + like vanilla + + -- Gustavo Noronha Silva Tue, 12 Nov 2002 02:06:15 -0200 + +sylpheed-claws (0.8.5claws56-1) unstable; urgency=low + + * The "I hope this really fixes that nasty bug" release + * CVS snapshot + * debian/control: + - Build-Depends on libtool (Closes: #165943) + + -- Gustavo Noronha Silva Mon, 28 Oct 2002 02:20:49 -0200 + +sylpheed-claws (0.8.5claws49-1) unstable; urgency=low + + * CVS snapshot + * debian/rules: + - Oops... claws runs config.sub and config.guess from inside + the 'config' subdir... now copy them from autotools-dev to + the right place. This should really (Closes: #164759) + + -- Gustavo Noronha Silva Tue, 22 Oct 2002 10:08:59 -0200 + +sylpheed-claws (0.8.5claws20-2) unstable; urgency=low + + * debian/rules: + - get configsub and config.guess from autotools-dev on + the 'untar' rule + * debian/control: Build-Depends on autotools-dev (Closes: #164546) + + -- Gustavo Noronha Silva Sun, 13 Oct 2002 19:36:45 -0200 + +sylpheed-claws (0.8.5claws20-1) unstable; urgency=low + + * CVS snapshot + * patches/07unsigned_char: + - removed, upstream solved the problem + + -- Gustavo Noronha Silva Fri, 11 Oct 2002 23:54:36 -0300 + +sylpheed-claws (0.8.2claws52-2) unstable; urgency=low + + * patches/07unsigned_char: + - fixes problem with archs assuming char to be unsigned, + sent upstream (Closes: #161140) + * debian/control: + - updated Conflicts to avoid problems with docs location + on sylpheed-doc package + + -- Gustavo Noronha Silva Wed, 18 Sep 2002 01:20:40 -0300 + +sylpheed-claws (0.8.2claws52-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Mon, 16 Sep 2002 16:16:14 -0300 + +sylpheed-claws (0.8.2claws36-1) unstable; urgency=low + + * CVS snaphost + * debian/control: + - Sylpheed-Claws now uses libaspell, change Build-Depends + * debian/rules: + - --enable-aspell [set to no while libaspell-dev's package is + not updated in unstable] + * patches/06free_browsers_and_x_terminal_emulator: + - fixed default mozilla command (Closes: #154243) + + -- Gustavo Noronha Silva Tue, 10 Sep 2002 15:58:52 -0300 + +sylpheed-claws (0.8.2claws28-2) unstable; urgency=low + + * debian/prerm: + - remove alternative also when prerm is called with 'remove' + + -- Gustavo Noronha Silva Thu, 5 Sep 2002 11:14:38 -0300 + +sylpheed-claws (0.8.2claws28-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Wed, 4 Sep 2002 18:54:31 -0300 + +sylpheed-claws (0.8.1claws120-1) unstable; urgency=low + + * CVS snapshot + * debian/control: + - Build-Depends on libpng2-dev (Closes: #157721) + * debian/rules: + - installs all the pngs + + -- Gustavo Noronha Silva Wed, 28 Aug 2002 11:31:17 -0300 + +sylpheed-claws (0.8.1claws68-1) unstable; urgency=low + + * CVS snapshot + * Build with libpisock8 (Closes: #156906) + + -- Gustavo Noronha Silva Fri, 16 Aug 2002 13:10:12 -0300 + +sylpheed-claws (0.8.1claws60-1) unstable; urgency=low + + * CVS snapshot + * debian/control: + - added metamail to Recommends, thanks to Thomas Schmid + for the hint + + -- Gustavo Noronha Silva Wed, 14 Aug 2002 17:25:11 -0300 + +sylpheed-claws (0.8.1claws38-1) unstable; urgency=low + + * CVS snapshot + - fixed the news canceling bug (or super-feature) + (Closes: #155233) + + -- Gustavo Noronha Silva Fri, 9 Aug 2002 11:53:52 -0300 + +sylpheed-claws (0.8.1claws3-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Wed, 31 Jul 2002 09:13:17 -0300 + +sylpheed-claws (0.8.0claws6-2) unstable; urgency=low + + * Made copyright clearer and cleaner + * patches/*: + - regenerated patches to avoid hunks + + -- Gustavo Noronha Silva Wed, 24 Jul 2002 14:15:25 -0300 + +sylpheed-claws (0.8.0claws6-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Wed, 24 Jul 2002 03:39:17 -0300 + +sylpheed-claws (0.7.8claws69-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Mon, 15 Jul 2002 12:45:17 -0300 + +sylpheed-claws (0.7.8claws55-2) unstable; urgency=low + + * patches/01vertical_automatic: + - but the option is hiden + * debian/rules: + - uses the upstream manpage + + -- Gustavo Noronha Silva Tue, 9 Jul 2002 16:48:59 -0300 + +sylpheed-claws (0.7.8claws55-1) unstable; urgency=low + + * CVS snapshot: + - builds with libpisock5 (Closes: #152011) + * patches/01verticalbar_automatic: + - upstream added preference option for this one + + -- Gustavo Noronha Silva Mon, 8 Jul 2002 22:10:48 -0300 + +sylpheed-claws (0.7.8claws9-1) unstable; urgency=low + + * CVS snapshot + + -- Gustavo Noronha Silva Thu, 20 Jun 2002 14:46:37 -0300 + +sylpheed-claws (0.7.8claws-1) unstable; urgency=low + + * New upstream version + + -- Gustavo Noronha Silva Sat, 15 Jun 2002 18:11:35 -0300 + +sylpheed-claws (0.7.6claws48-1) unstable; urgency=low + + * CVS snapshot: + - the attach file selection dialog now works as expected + (Closes: #149761) + + -- Gustavo Noronha Silva Fri, 14 Jun 2002 11:11:12 -0300 + +sylpheed-claws (0.7.6claws38-1) unstable; urgency=low + + * CVS snapshot: + - Selective download is now really a 'selective download' + "Receive" was also renamed to "Preview" (Closes: #138093) + + -- Gustavo Noronha Silva Tue, 11 Jun 2002 13:00:34 -0300 + +sylpheed-claws (0.7.6claws34-1) unstable; urgency=low + + * CVS snapshot + * patches/04manual: + - removes changes to defs.h, I've fixed sylpheed-doc + * debian/control: + - versioned suggests because of the above entry + * debian/sylpheed.1: + - manpage rewritten by Guido Günther , + thanks! + + -- Gustavo Noronha Silva Sun, 9 Jun 2002 20:44:32 -0300 + +sylpheed-claws (0.7.6claws16-1) unstable; urgency=low + + * CVS snapshot + * patches/06free_browsers_and_x_terminal_emulator: + - fixed galeon's command lines + + -- Gustavo Noronha Silva Sat, 25 May 2002 15:29:31 -0300 + +sylpheed-claws (0.7.6claws-1) unstable; urgency=low + + * New upstream release + * debian/rules: + - added 'compatibility' rules 'unpack:' + + -- Gustavo Noronha Silva Tue, 21 May 2002 18:11:46 -0300 + +sylpheed-claws (0.7.5claws25-1) unstable; urgency=low + + * Update from cvs + * debian/sylpheed-claws-debian.xpm: + - updated based on the new sylpheed-claws.png + * patches/06free_browsers_and_x_terminal_emulator: + - changes all ocurrences of 'netscape' to 'mozilla' + and all 'kterm's to 'x-terminal-emulator', also + removes opera and adds galeon to the default list + of browsers + + -- Gustavo Noronha Silva Mon, 13 May 2002 21:58:57 -0300 + +sylpheed-claws (0.7.5claws-1) unstable; urgency=low + + * New upstream version + + -- Gustavo Noronha Silva Tue, 7 May 2002 21:44:27 +0000 + +sylpheed-claws (0.7.4claws-3) unstable; urgency=high + + * moved into main + * debian/control: + - changed Section to 'mail' + - added Recommends on aspell-dictionary + * debian/copyright: + - documents the license changes made by the author to let sylpheed-claws + link with libssl (let's sylpheed go in main) + * debian/COPYING.new: + - new copyright file for sylpheed-claws, sent by the author to the lists + in the announcement mail + * urgency set to high as this is only licensing changes, fundamentaly, + and it is good that this package be in main when woody is released + (there're no RC bugs found after almost a month of testing) + + -- Gustavo Noronha Silva Thu, 11 Apr 2002 22:51:50 -0300 + +sylpheed-claws (0.7.4claws-2) unstable; urgency=low + + * patches/00alternatives: + - modified to reflect the changes on FAQ done by + sylpheed-doc + * patches/04manual: + - modified to include the ES manual added in sylpheed-doc + * see changelog for sylpheed 0.7.4-2 for more information + + -- Gustavo Noronha Silva Mon, 18 Mar 2002 03:05:28 -0300 + +sylpheed-claws (0.7.4claws-1) unstable; urgency=low + + * New upstream release + * patches/00alternatives: + - modified to modify the name of the entry for Gnome + * patches/05always_gnome: + - redone.. had problems with Makefile.in + + -- Gustavo Noronha Silva Tue, 12 Mar 2002 00:46:58 -0300 + +sylpheed-claws (0.7.3claws3-1) unstable; urgency=low + + * Updated from cvs + + -- Gustavo Noronha Silva Sun, 10 Mar 2002 00:54:21 -0300 + +sylpheed-claws (0.7.3claws1-1) unstable; urgency=low + + * Updated from cvs + + -- Gustavo Noronha Silva Thu, 7 Mar 2002 23:10:56 -0300 + +sylpheed-claws (0.7.2claws2-1) unstable; urgency=low + + * Updated from cvs + + -- Gustavo Noronha Silva Wed, 20 Feb 2002 18:43:06 -0300 + +sylpheed-claws (0.7.1claws12-1) unstable; urgency=low + + * Updated from cvs + * Built against libgpgm6 + + -- Gustavo Noronha Silva Sun, 17 Feb 2002 18:35:36 -0300 + +sylpheed-claws (0.7.1claws4-2) unstable; urgency=low + + * debian/control: + - fixed small typo in description, thanks to Roberto Mello + + - added pixmap theming to description + + -- Gustavo Noronha Silva Fri, 15 Feb 2002 01:04:27 -0200 + +sylpheed-claws (0.7.1claws4-1) unstable; urgency=low + + * Sylpheed-Claws 0.7.1claws released + * updated from cvs + * patches/03pspell_path: + - recreated The Right Way(tm) and sent upstream + now it gets PSPELL_PATH dinamically on ./configure + instead of hardcoding "/usr/share/pspell" + upstream hardcoded "/usr/local/share/pspell" + + -- Gustavo Noronha Silva Thu, 14 Feb 2002 20:19:15 -0200 + +sylpheed-claws (0.7.0claws67-1) unstable; urgency=low + + * not-released test version + + -- Gustavo Noronha Silva Tue, 12 Feb 2002 17:11:03 -0200 + +sylpheed-claws (0.7.0claws62-1) unstable; urgency=low + + * not-released test version + + -- Gustavo Noronha Silva Tue, 12 Feb 2002 17:09:59 -0200 + +sylpheed-claws (0.7.0claws57-3) unstable; urgency=low + + * scripts/recreate-diffs.sh: + - updated changes done to this script on sylpheed's + package + + -- Gustavo Noronha Silva Mon, 11 Feb 2002 18:49:11 -0200 + +sylpheed-claws (0.7.0claws57-2) unstable; urgency=low + + * patches/04manual: + - check wheter the manual is available and displays error + message if not when the user clicks "help->manual->language" + * patches/05always_gnome: + - sylpheed-claws was checking for gnome to decide if it + would install sylpheed.desktop, I don't want to include + a build-dep on libgnome-dev, but want to have sylpheed.desktop + installed, so I removed the check and hard-coded it on + Makefile.am. This was causing build failure on buildds + (Closes: #133253) + + -- Gustavo Noronha Silva Sun, 10 Feb 2002 18:24:43 -0200 + +sylpheed-claws (0.7.0claws57-1) unstable; urgency=low + + * First version using separated patches and upstream + sources upstream/ and patches/ + * debian/rules: + - added --sysconfdir=/etc to the call to configure + + -- Gustavo Noronha Silva Sat, 9 Feb 2002 20:24:50 -0200 + +sylpheed-claws (0.7.0claws52-2) unstable; urgency=low + + * The "Path of Now and Forever"-claws release + First version in which you are able to install sylpheed + (0.7.0-8, at least) and claws together + * configure.in: + - changed PACKAGE to sylpheed-claws, first move on making + sylpheed and sylpheed-claws instalable together + * sylpheed.desktop: + - modified xpm to sylpheed-claws.xpm + - modified exec to sylpheed-claws + * debian/rules: + - installs sylpheed, sylpheed.1, sylpheed.desktop and sylpheed.xpm + as sylpheed-claws, etc + * debian/menu: + - edited to point to the new sylpheed-claws binary + * debian/postinst,postrm: + - creates the 'sylpheed' alternative + + -- Gustavo Noronha Silva Thu, 7 Feb 2002 23:56:30 -0200 + +sylpheed-claws (0.7.0claws52-1) unstable; urgency=low + + * sync with cvs as of Wed, 6 Feb 2002 21:14:27 -0200 + + -- Gustavo Noronha Silva Wed, 6 Feb 2002 21:14:27 -0200 + +sylpheed-claws (0.7.0claws44-3) unstable; urgency=low + + * src/compose.c: + - removed default X-Face, it doesn't seem to make everyone + happy... I'll readd it if I find a better solution, but + it is gone by now. + * debian/README.Debian: + - modified to reflect above entry + + -- Gustavo Noronha Silva Wed, 6 Feb 2002 19:51:37 -0200 + +sylpheed-claws (0.7.0claws44-2) unstable; urgency=low + + * src/folderview.c: + - modified to avoid creation of folders with names + starting with a dot... this is upstream's decision + to "fix" the way sylpheed handles dot-folders + (Closes: #129662), sent patch upstream + + -- Gustavo Noronha Silva Sat, 2 Feb 2002 00:17:12 -0200 + +sylpheed-claws (0.7.0claws44-1) unstable; urgency=low + + * sync with cvs as of today + * debian/rules: + - call dpkg-architecture to set DEB_BUILD_ARCH and DEB_BUILD_GNU_SYSTEM + so that fakeroot debian/rules binary works + * debian/control: + - Build-Depends on debhelper >> 2.0.0, helps backports + + -- Gustavo Noronha Silva Fri, 1 Feb 2002 15:20:53 -0200 + +sylpheed-claws (0.7.0claws38-2) unstable; urgency=low + + * src/compose.c: + - added a default X-Face (Closes: #131364) + thanks to Chris Hessmann for the X-Face + and to David B Harris for the idea + * debian/rules: + - modified to install README* from tools/ + * debian/README.Debian: + - improved to teach about X-Face and how to change the + default one. + + -- Gustavo Noronha Silva Tue, 29 Jan 2002 15:56:49 -0200 + +sylpheed-claws (0.7.0claws38-1) unstable; urgency=low + + * New cvs + * This bug is in libpspell4 and is already fixed on pspell + 0.12.2-4. See #130600 (Closes: #129733) + * debian/README.Debian: + - mentions my modifications to the package + + -- Gustavo Noronha Silva Tue, 29 Jan 2002 02:26:28 -0200 + +sylpheed-claws (0.7.0claws34-1) unstable; urgency=low + + * New cvs + + -- Gustavo Noronha Silva Mon, 28 Jan 2002 02:44:23 -0200 + +sylpheed-claws (0.7.0claws10-1) unstable; urgency=low + + * New upstream release + * debian/control: + - added Suggests to X fonts, see sylpheed's changelog for explaation + - added sylpheed-doc to its Recommends + * Recompilation with libgpgme5 again (also see sylpheed 0.7.0-4's + changelog) + * src/html.c@555: + - quick hack to avoid segfault on parsing bad html () + thanks to Carsten Schurig + * src/prefs_common.c: + - use /usr/share/pspell as default dictionary directory (it is + the one the Debian packages use) + + -- Gustavo Noronha Silva Thu, 17 Jan 2002 12:02:36 -0200 + +sylpheed-claws (0.7.0claws0-1) unstable; urgency=low + + * New upstream release (from cvs) + + -- Gustavo Noronha Silva Mon, 14 Jan 2002 12:09:58 -0200 + +sylpheed-claws (0.6.6claws36-1) unstable; urgency=low + + * sync with cvs + * src/folderview.c: + - 318: changed POLICY_ALWAYS to POLICY_AUTOMATIC to hide the + vertical scroll bar when not needed (Closes: #127280), I + sent the suggestion upstream, we're discussing this on the list + (see the bug log) + * src/ldif.c, src/mutt.c: removed my changes because upstream + fixed the problem with a better one + + -- Gustavo Noronha Silva Thu, 3 Jan 2002 02:11:25 -0200 + +sylpheed-claws (0.6.6claws33-1) unstable; urgency=low + + * sync with cvs + * src/ldif.c@229, src/mutt.c@145: changed gchar to signed char + to fix wrong assumption on some arches (Closes: #127015) + + -- Gustavo Noronha Silva Sun, 30 Dec 2001 20:30:46 -0200 + +sylpheed-claws (0.6.6claws23-2) unstable; urgency=low + + * Now really added libltdl3-dev! (Closes: #126287), sorry. + + -- Gustavo Noronha Silva Fri, 28 Dec 2001 02:50:47 -0200 + +sylpheed-claws (0.6.6claws23-1) unstable; urgency=low + + * New upstream release (sync with cvs) + * Re-added build-dep on libltdl3-dev seems like we still need it + (Closes: #126287) + + -- Gustavo Noronha Silva Wed, 26 Dec 2001 19:37:57 -0200 + +sylpheed-claws (0.6.6claws4-2) unstable; urgency=low + + * src/filesel.c: hacked filesel_select_multiple_files() to get + the filename from the text entry of the file selection dialog if + no files are selected in the clist (sent upstream) + + -- Gustavo Noronha Silva Thu, 20 Dec 2001 18:19:05 -0200 + +sylpheed-claws (0.6.6claws4-1) unstable; urgency=low + + * New upstream release (sync with cvs) + * The "I Hope this will be in woody" release + + -- Gustavo Noronha Silva Wed, 19 Dec 2001 05:03:33 -0200 + +sylpheed-claws (0.6.6claws0-3) unstable; urgency=low + + * debian/control: removed build-dependency on libltdl3-dev + + -- Gustavo Noronha Silva Wed, 19 Dec 2001 04:50:39 -0200 + +sylpheed-claws (0.6.6claws0-2) unstable; urgency=low + + * debian/control: fixed spelling mistakes (Closes: #125407) + + -- Gustavo Noronha Silva Tue, 18 Dec 2001 02:04:25 -0200 + +sylpheed-claws (0.6.6claws0-1) unstable; urgency=low + + * New upstream release + * src/docs: added RELEASE_NOTES.claws + * copy&paste has been fixed on this release (Closes: #103652) + + -- Gustavo Noronha Silva Mon, 17 Dec 2001 01:34:44 -0200 + +sylpheed-claws (0.6.5claws78-1) unstable; urgency=low + + * New upstream release (sync with cvs) + + -- Gustavo Noronha Silva Wed, 12 Dec 2001 01:50:25 -0200 + +sylpheed-claws (0.6.5claws64-1) unstable; urgency=low + + * New upstream release + + -- Gustavo Noronha Silva Sat, 8 Dec 2001 18:54:12 -0200 + +sylpheed-claws (0.6.5claws46-1) unstable; urgency=low + + * New upstream release (sync with CVS) + + -- Gustavo Noronha Silva Sun, 2 Dec 2001 04:59:35 -0200 + +sylpheed-claws (0.6.5claws25-1) unstable; urgency=low + + * New upstream release (sync with CVS) + + -- Gustavo Noronha Silva Wed, 21 Nov 2001 22:21:05 -0200 + +sylpheed-claws (0.6.5claws17-1) unstable; urgency=low + + * Syncing with cvs + * configure.in: change the manual directory from + /usr/share/sylpheed/manual to /usr/share/doc/sylpheed-doc/manual + * debian/rules: Don't install manual in /usr/share/doc/sylpheed-doc/manual + as the docs will have their own package within sylpheed source package. + * debian/doc-base*: remove those files, they don't belong here anymore + + -- Gustavo Noronha Silva Sat, 17 Nov 2001 01:36:42 -0200 + +sylpheed-claws (0.6.5claws1-2) unstable; urgency=low + + * Changed priority to extra. + + -- Gustavo Noronha Silva Thu, 15 Nov 2001 12:39:10 -0200 + +sylpheed-claws (0.6.5claws1-1) unstable; urgency=low + + * New upstream release (cvs as of Wed, 7 Nov 2001 18:24:01 -0200) + + -- Gustavo Noronha Silva Wed, 7 Nov 2001 18:22:00 -0200 + +sylpheed-claws (0.6.4claws27-1) unstable; urgency=low + + * New upstream release (sync of cvs as of this date) + + -- Gustavo Noronha Silva Mon, 5 Nov 2001 22:32:10 -0200 + +sylpheed-claws (0.6.4claws6-2) unstable; urgency=low + + * debian/rules: Added build-arch to the configure line + * debian/rules: enables ipv6 + + -- Gustavo Noronha Silva Thu, 1 Nov 2001 23:50:53 -0200 + +sylpheed-claws (0.6.4claws6-1) unstable; urgency=low + + * Updated from CVS as in Thu Oct 25 16:59:27 BRST 2001 + * Added Suggests on jpilot, needed to work the integration with + sylpheed. + * Copied aclocal.m4, config.h.in from last package and ran autoconf + and automake --gnu because this was not right on upstream's CVS + + -- Gustavo Noronha Silva Thu, 25 Oct 2001 17:00:44 -0200 + +sylpheed-claws (0.6.3claws18-4) unstable; urgency=low + + * debian/control: added versioned b-d to gpgme. + + -- Gustavo Noronha Silva Sun, 21 Oct 2001 20:50:15 -0200 + +sylpheed-claws (0.6.3claws18-3) unstable; urgency=low + + * debian/control: added build-depends on bison (Closes: #116090) + + -- Gustavo Noronha Silva Thu, 18 Oct 2001 19:22:19 -0200 + +sylpheed-claws (0.6.3claws18-2) unstable; urgency=low + + * debian/rules: installs the tools found on tools/ directory + in /usr/share/doc/sylpheed-claws/tools + * debian/README.Debian: a few words about the toosl + + -- Gustavo Noronha Silva Wed, 17 Oct 2001 19:36:30 -0200 + +sylpheed-claws (0.6.3claws18-1) unstable; urgency=low + + * New upstream release + + -- Gustavo Noronha Silva Wed, 17 Oct 2001 13:48:59 -0200 + +sylpheed-claws (0.6.3claws15-1) unstable; urgency=low + + * Synched with cvs as of 2001-10-13. + + -- Gustavo Noronha Silva Mon, 15 Oct 2001 04:57:34 -0200 + +sylpheed-claws (0.6.2claws11-3) unstable; urgency=low + + * Updated config.guess and config.sub to the newest ones in + GNU's repository. (Closes: #115424) + * Added build-dependencies on: libpisock-dev, libltdl3-dev, + libldap2-dev, flex, gettext and libsasl-dev (Closes: #115627) + + -- Gustavo Noronha Silva Mon, 15 Oct 2001 00:40:27 -0200 + +sylpheed-claws (0.6.2claws11-2) unstable; urgency=low + + * Updated po/pt_BR.po and changed _Resumo to Re_sumo because it + was avoiding alt+r to work as 'reply'. Sent upstream. + * Fixed problem with doc-base.sylpheed-claws-{en,ja}. The 'Document:' + header was set to 'sylpheed-claws' in both and it should be + sylpheed-claws-{en,ja}, respectively. + * Removed "Section: mail" from binary package. + + -- Gustavo Noronha Silva Sun, 7 Oct 2001 18:16:45 -0300 + +sylpheed-claws (0.6.2claws11-1) unstable; urgency=low + + * Initial Release. (Closes: #114467) + * I borrowed the manpage used in the sylpheed package and + adapted it to use it on sylpheed-claws. + + -- Gustavo Noronha Silva Thu, 4 Oct 2001 22:08:54 -0300 + + --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-clamav.docs.in +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-clamav.docs.in @@ -0,0 +1 @@ +-DIR-/src/plugins/clamav/README --- sylpheed-claws-1.0.5.orig/debian/rules +++ sylpheed-claws-1.0.5/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f + +THISDIR := $(shell basename `pwd`) +VERSION := $(shell /bin/sh debian/get-version.sh) + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --disable-maintainer-mode \ + --enable-gpgme --enable-openssl \ + --enable-jpilot --enable-ldap \ + --enable-aspell --enable-ipv6 \ + --enable-spamassassin-plugin=yes \ + --enable-dillo-viewer-plugin=yes --enable-trayicon-plugin=yes \ + --enable-mathml-viewer-plugin=no --enable-image-viewer-plugin=yes \ + --enable-clamav-plugin=yes \ + --with-config-dir=.sylpheed-claws + +# I don't want all those files being duplicated through +# the packages +DEB_INSTALL_DOCS_ALL := +DEB_INSTALL_DOCS_sylpheed-claws := NEWS README README.claws TODO RELEASE_NOTES.claws + +clean:: + -rm debian/*.docs + +binary-post-install/sylpheed-claws:: + # debian auto-generated stuff + /bin/bash debian/create-docs.sh + + # images + cp ./sylpheed-*.png \ + debian/sylpheed-claws/usr/share/pixmaps/ + + # tools + rm -f \ + debian/sylpheed-claws/usr/share/doc/sylpheed-claws/tools/Makefile* + + mv debian/sylpheed-claws/usr/share/pixmaps/sylpheed-128x128.png \ + debian/sylpheed-claws/usr/share/pixmaps/sylpheed-claws-128x128.png + mv debian/sylpheed-claws/usr/share/pixmaps/sylpheed-64x64.png \ + debian/sylpheed-claws/usr/share/pixmaps/sylpheed-claws64x64.png + mv debian/sylpheed-claws/usr/bin/sylpheed \ + debian/sylpheed-claws/usr/bin/sylpheed-claws + + mkdir -m 755 \ + debian/sylpheed-claws/usr/share/applications + mv debian/sylpheed-claws/usr/share/gnome/apps/Internet/sylpheed.desktop \ + debian/sylpheed-claws/usr/share/applications/sylpheed-claws.desktop + + mv debian/sylpheed-claws/usr/share/pixmaps/sylpheed.png \ + debian/sylpheed-claws/usr/share/pixmaps/sylpheed-claws.png + mv debian/sylpheed-claws/usr/share/man/man1/sylpheed.1 \ + debian/sylpheed-claws/usr/share/man/man1/sylpheed-claws.1 + --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-dillo-viewer.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-dillo-viewer.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/sylpheed-claws/plugins/dillo_viewer*so --- sylpheed-claws-1.0.5.orig/debian/COPYING.new +++ sylpheed-claws-1.0.5/debian/COPYING.new @@ -0,0 +1,293 @@ +The code in this distribution is Copyright 1999-2002 by Hiroyuki Yamamoto. + +The portions applied from fetchmail is Copyright 1997 by Eric S. Raymond. +Portions of those are also copyrighted by Carl Harris, 1993 and 1995. +Copyright retained for the purpose of protecting free redistribution of +source. + +Kcc is copyright by Yasuhiro Tonooka (tonooka@msi.co.jp), +and libkcc is copyright by takeshi@SoftAgency.co.jp. + +Specific permission is granted for the GPLed code in this distribition to +be linked to OpenSSL without invoking GPL clause 2(b). + +------------------------------------------------------------------------------- + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 675 Mass Ave, Cambridge, MA 02139, 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. +------------------------------------------------------------------------------- --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-trayicon.docs.in +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-trayicon.docs.in @@ -0,0 +1 @@ +-DIR-/src/plugins/trayicon/README --- sylpheed-claws-1.0.5.orig/debian/control +++ sylpheed-claws-1.0.5/debian/control @@ -0,0 +1,141 @@ +Source: sylpheed-claws +Section: mail +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Ricardo Mones +Uploaders: Paul Mangan , Gustavo Noronha Silva +Build-Depends: debhelper (>= 5), libcompfaceg1-dev, libglib1.2-dev, + libgtk1.2-dev, libpng12-dev, libgdk-pixbuf-dev, libgpgme-dev (>= 0.3.10), + libssl-dev, libaspell-dev, aspell-bin, libpisock-dev, libldap2-dev, + flex | flex-old, bison, gettext, libltdl3-dev, autotools-dev, libtool, + libaspell-dev (>= 0.50.3), libreadline5-dev, libclamav-dev, libt1-dev, cdbs +Standards-Version: 3.7.2 + +Package: sylpheed-claws +Architecture: any +Depends: ${shlibs:Depends} +Recommends: sylpheed-claws-i18n, xfonts-100dpi | + xfonts-75dpi | xfonts-100dpi-transcoded | xfonts-75dpi-transcoded, + sylpheed-claws-plugins, sylpheed-claws-scripts, metamail +Suggests: jpilot, sylpheed-doc (>= 20020420-3), sylpheed-claws-themes +Conflicts: sylpheed (<= 0.7.0-7), sylpheed-doc (<= 20020420-2), + sylpheed-claws-ghostscript-viewer (<< 0.8) +Provides: mail-reader, news-reader +Description: Extended version of the Sylpheed mail client + Sylpheed Claws is an extended version of the Sylpheed mail + client which has the most advanced features designed to be included + in Sylpheed. It features the same features Sylpheed does: + * Very good performance + * Easy configuration and operation + * Multiple accounts + * High flexibility + . + And more: + * Better mail/news composing handling; + * More advanced ways of handling headers and attachments; + * More powerful handling of MIME types. + * Per-folder default reply-to address and threading mode + configuration; + * Pixmap theming + +Package: libsylpheed-claws-dev +Architecture: any +Section: devel +Depends: libssl-dev +Description: Development files to build plugins for Sylpheed-Claws + Sylpheed Claws is an extended version of the Sylpheed mail client + which has the most advanced features designed to be included in + Sylpheed. + . + This package provides the development headers needed to build + plugins for Sylpheed Claws. + +Package: sylpheed-claws-plugins +Architecture: all +Depends: sylpheed-claws-clamav, sylpheed-claws-dillo-viewer, sylpheed-claws-image-viewer, sylpheed-claws-spamassassin, sylpheed-claws-trayicon, sylpheed-claws-pgpmime +Description: Various plugins for the Sylpheed Claws mail client + This is a meta-package that will install all the available plugins. + +Package: sylpheed-claws-clamav +Architecture: any +Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}), clamav +Replaces: sylpheed-claws (<< 0.9.5claws-1) +Description: Clam AntiVirus plugin for Sylpheed Claws + Clam AntiVirus support for the Sylpheed Claws mail client. + This plugin will allow you to pass incoming messages through + the Clam AntiVirus. + +Package: sylpheed-claws-dillo-viewer +Architecture: any +Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}), dillo (>= 0.7.2) +Replaces: sylpheed-claws (<< 0.9.5claws-1) +Description: HTML viewer plugin for Sylpheed Claws using Dillo + This is an HTML viewer plugin for the Sylpheed Claws mail + client that uses the Dillo browser to render the pages. + +Package: sylpheed-claws-image-viewer +Architecture: any +Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}) +Replaces: sylpheed-claws (<< 0.9.5claws-1) +Description: Image viewer plugin for Sylpheed Claws + This is an image viewer plugin for the Sylpheed Claws mail + client. + +Package: sylpheed-claws-spamassassin +Architecture: any +Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}), spamassassin +Replaces: sylpheed-claws (<< 0.9.5claws-1) +Description: SpamAssassin plugin for Sylpheed Claws + This is a SpamAssassin plugin for the Sylpheed Claws email client. + This plugin will pass all received email through a spamassassin daemon + to decide if it is spam or not. + +Package: sylpheed-claws-trayicon +Architecture: any +Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}) +Replaces: sylpheed-claws (<< 0.9.5claws-1) +Description: Notification area plugin for Sylpheed Claws + This plugin for Sylpheed Claws will display an icon on the Desktop's + notification area with stats about emails. + +Package: sylpheed-claws-pgpmime +Architecture: any +Depends: ${shlibs:Depends}, sylpheed-claws (= ${Source-Version}) +Replaces: sylpheed-claws (<< 0.9.12a-1) +Description: PGP/MIME plugin for Sylpheed Claws + This plugin for Sylpheed Claws verifies signatures and decrypts + messages. You need also this plugin for sending signed and/or + encrypted messages. + +Package: sylpheed-claws-scripts +Architecture: all +Depends: ${shlibs:Depends}, perl, python +Replaces: sylpheed-claws (<< 0.9.5claws-1) +Description: Helper scripts for Sylpheed and Sylpheed Claws + Several scripts in a variety of languages which provide ready to use + solutions to common problems found by Sylpheed and Sylpheed Claws users. + E.g.: mailboxes migration, addressbooks conversion, etc. + . + See README files for further details about included scripts. + +Package: sylpheed-claws-i18n +Architecture: all +Depends: ${shlibs:Depends}, sylpheed-claws (>= ${Source-Version}) +Replaces: sylpheed-claws (<< 0.9.12a-1) +Conflicts: sylpheed-claws (<< 0.9.12a-1) +Enhances: sylpheed-claws +Description: Locale data for Sylpheed Claws (i18n support) + This package provides support for non-English interfaces in + Sylpheed Claws. + Current supported locales are: + bg (Bulgarian) cs (Czech) + de (German) el (Greek) + en_GB (British English) es (Spanish) + fr (French) hr (Croatian) + hu (Hungarian) it (Italian) + ja (Japanese) ko (Korean) + nl (Dutch) pl (Polish) + pt_BR (Brazilian Portuguese) ru (Russian) + sk (Slovak) sr (Serbian) + sv (Swedish) zh_CN (Chinese) + zh_TW.Big5 (Taiwanese) --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws.install @@ -0,0 +1,5 @@ +debian/tmp/usr/bin/sylpheed +debian/tmp/usr/share/gnome/* +debian/tmp/usr/share/man/* +debian/tmp/usr/share/pixmaps/* +debian/sylpheed-claws-debian.xpm usr/share/pixmaps/ --- sylpheed-claws-1.0.5.orig/debian/sylpheed-clawsstall.in +++ sylpheed-claws-1.0.5/debian/sylpheed-clawsstall.in @@ -0,0 +1,8 @@ +debian/tmp/usr/bin/sylpheed +debian/tmp/usr/share/gnome/* +debian/tmp/usr/share/locale/* +debian/tmp/usr/share/man/* +debian/tmp/usr/share/pixmaps/* +tools/* usr/share/doc/sylpheed-claws/tools/ +debian/sylpheed-claws-debian.xpm usr/share/pixmaps/ +build-tree/sylpheed-0.9.6claws57/sylpheed-*.png usr/share/pixmaps/ --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-dillo-viewer.docs.in +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-dillo-viewer.docs.in @@ -0,0 +1 @@ +-DIR-/src/plugins/dillo_viewer/README --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-spamassassin.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-spamassassin.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/sylpheed-claws/plugins/spamassassin*so --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-image-viewer.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-image-viewer.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/sylpheed-claws/plugins/image_viewer*so --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-scripts.install +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-scripts.install @@ -0,0 +1 @@ +tools/* usr/share/doc/sylpheed-claws/tools/ --- sylpheed-claws-1.0.5.orig/debian/sylpheed-claws-debian.xpm +++ sylpheed-claws-1.0.5/debian/sylpheed-claws-debian.xpm @@ -0,0 +1,44 @@ +/* XPM */ +static char * sylpheed_claws_debian_xpm[] = { +"32 32 9 1", +" c None", +". c #FFFFFF", +"+ c #E5E5E5", +"@ c #CCCCCC", +"# c #7F7F7F", +"$ c #999999", +"% c #333333", +"& c #0000FF", +"* c #FF0000", +" ", +" ", +" ", +" ", +" ..+. ", +" ....++++++++ ", +" +.+++@+++++++++ ## ", +" .+++@++++++++@$$@+$% ", +" ++++.+.++@$$$@@..@+$ ", +" +.+++++@$$@+++$++$+@ ", +" .++@+$$$+@@+@@$.$+++% ", +" +$$$@+@+$$$$$$+$+@+$ ", +" $$@@$.+$$$$$$@+$@++++% ", +" %$@+.+$$+&$$@@$@@+$+++++$ ", +" $+++.+$$@$$@$@+++$+@++@@@# ", +" $@$+.@&@@@+$@+++@$++@+@@@# ", +" %..@$$@.+.@@.+++$@+@+@+@@$% ", +" #+.+.+@$+.@.$%#$$+@+@@@@$@% ", +" @+.+.+.$$@$%#$%$+@+@@@@@$$ ", +" $+...+.++@%*@@$$@@@@@@$@@$# ", +" %..++.+..+$%$$%$+@@@@@$@$$# ", +" %+....+++++##*#@@@@@@$@$@$$% ", +" $++.+.++++@$$+@@@@$$@$$$%% ", +" %...++.++$$$$@@@@@@@$#% ", +" @..@+@$$$$$$@@$@$$# ", +" $+@$$$#$@$@+@@$%% ", +" #.$$$#$@@+@$#% ", +" %+$$$$@@@%$ ", +" $@$@@$#% ", +" $+$% ", +" % ", +" "}; --- sylpheed-claws-1.0.5.orig/debian/create-docs.sh +++ sylpheed-claws-1.0.5/debian/create-docs.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +DIR="." + +for file in debian/*.docs.in; do + cat ${file} | sed "s,-DIR-,${DIR},g" > ${file/.in/} +done --- sylpheed-claws-1.0.5.orig/config.log +++ sylpheed-claws-1.0.5/config.log @@ -0,0 +1,2378 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by configure, which was +generated by GNU Autoconf 2.59. Invocation command line was + + $ /home/steve/clam_patches/sylpheed-claws-1.0.5/./configure --build=i486-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/sylpheed-claws --disable-maintainer-mode --disable-dependency-tracking --srcdir=. --disable-maintainer-mode --enable-gpgme --enable-openssl --enable-jpilot --enable-ldap --enable-aspell --enable-ipv6 --enable-spamassassin-plugin=yes --enable-dillo-viewer-plugin=yes --enable-trayicon-plugin=yes --enable-mathml-viewer-plugin=no --enable-image-viewer-plugin=yes --enable-clamav-plugin=yes --with-config-dir=.sylpheed-claws + +## --------- ## +## Platform. ## +## --------- ## + +hostname = gashuffer +uname -m = i686 +uname -r = 2.6.18-4-686 +uname -s = Linux +uname -v = #1 SMP Fri Feb 2 15:10:49 UTC 2007 + +/usr/bin/uname -p = unknown +/bin/uname -X = unknown + +/bin/arch = i686 +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /usr/sbin +PATH: /usr/bin +PATH: /sbin +PATH: /bin +PATH: /usr/bin/X11 + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:1635: checking build system type +configure:1653: result: i486-pc-linux-gnu +configure:1661: checking host system type +configure:1675: result: i486-pc-linux-gnu +configure:1683: checking target system type +configure:1697: result: i486-pc-linux-gnu +configure:1726: checking for a BSD-compatible install +configure:1781: result: /usr/bin/install -c +configure:1792: checking whether build environment is sane +configure:1835: result: yes +configure:1900: checking for gawk +configure:1916: found /usr/bin/gawk +configure:1926: result: gawk +configure:1936: checking whether make sets $(MAKE) +configure:1956: result: yes +configure:2124: checking for gnome-config +configure:2155: result: no +configure:2201: checking whether to enable maintainer-specific portions of Makefiles +configure:2210: result: no +configure:2272: checking for gcc +configure:2298: result: cc +configure:2542: checking for C compiler version +configure:2545: cc --version &5 +cc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) +Copyright (C) 2006 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. + +configure:2548: $? = 0 +configure:2550: cc -v &5 +Using built-in specs. +Target: i486-linux-gnu +Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu +Thread model: posix +gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) +configure:2553: $? = 0 +configure:2555: cc -V &5 +cc: '-V' option must have argument +configure:2558: $? = 1 +configure:2581: checking for C compiler default output file name +configure:2584: cc -g -Wall -O2 conftest.c >&5 +configure:2587: $? = 0 +configure:2633: result: a.out +configure:2638: checking whether the C compiler works +configure:2644: ./a.out +configure:2647: $? = 0 +configure:2664: result: yes +configure:2671: checking whether we are cross compiling +configure:2673: result: no +configure:2676: checking for suffix of executables +configure:2678: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:2681: $? = 0 +configure:2706: result: +configure:2712: checking for suffix of object files +configure:2733: cc -c -g -Wall -O2 conftest.c >&5 +configure:2736: $? = 0 +configure:2758: result: o +configure:2762: checking whether we are using the GNU C compiler +configure:2786: cc -c -g -Wall -O2 conftest.c >&5 +configure:2792: $? = 0 +configure:2795: test -z || test ! -s conftest.err +configure:2798: $? = 0 +configure:2801: test -s conftest.o +configure:2804: $? = 0 +configure:2817: result: yes +configure:2823: checking whether cc accepts -g +configure:2844: cc -c -g conftest.c >&5 +configure:2850: $? = 0 +configure:2853: test -z || test ! -s conftest.err +configure:2856: $? = 0 +configure:2859: test -s conftest.o +configure:2862: $? = 0 +configure:2873: result: yes +configure:2890: checking for cc option to accept ANSI C +configure:2960: cc -c -g -Wall -O2 conftest.c >&5 +configure:2966: $? = 0 +configure:2969: test -z || test ! -s conftest.err +configure:2972: $? = 0 +configure:2975: test -s conftest.o +configure:2978: $? = 0 +configure:2996: result: none needed +configure:3014: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me' +configure:3020: $? = 1 +configure: failed program was: +| #ifndef __cplusplus +| choke me +| #endif +configure:3161: checking for style of include used by make +configure:3189: result: GNU +configure:3217: checking dependency style of cc +configure:3307: result: none +configure:3325: checking for library containing strerror +configure:3355: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:3361: $? = 0 +configure:3364: test -z || test ! -s conftest.err +configure:3367: $? = 0 +configure:3370: test -s conftest +configure:3373: $? = 0 +configure:3442: result: none required +configure:3462: checking for a BSD-compatible install +configure:3517: result: /usr/bin/install -c +configure:3528: checking whether ln -s works +configure:3532: result: yes +configure:3539: checking whether make sets $(MAKE) +configure:3559: result: yes +configure:3573: checking how to run the C preprocessor +configure:3608: cc -E conftest.c +configure:3614: $? = 0 +configure:3646: cc -E conftest.c +conftest.c:10:28: error: ac_nonexistent.h: No such file or directory +configure:3652: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| /* end confdefs.h. */ +| #include +configure:3691: result: cc -E +configure:3715: cc -E conftest.c +configure:3721: $? = 0 +configure:3753: cc -E conftest.c +conftest.c:10:28: error: ac_nonexistent.h: No such file or directory +configure:3759: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| /* end confdefs.h. */ +| #include +configure:3806: checking for flex +configure:3822: found /usr/bin/flex +configure:3832: result: flex +configure:3845: checking for yywrap in -lfl +configure:3875: cc -o conftest -g -Wall -O2 conftest.c -lfl >&5 +configure:3881: $? = 0 +configure:3884: test -z || test ! -s conftest.err +configure:3887: $? = 0 +configure:3890: test -s conftest +configure:3893: $? = 0 +configure:3906: result: yes +configure:3983: checking lex output file root +configure:3994: flex conftest.l +configure:3997: $? = 0 +configure:4009: result: lex.yy +configure:4014: checking whether yytext is a pointer +configure:4030: cc -o conftest -g -Wall -O2 conftest.c -lfl >&5 +lex.yy.c:1017: warning: 'yyunput' defined but not used +configure:4036: $? = 0 +configure:4039: test -z || test ! -s conftest.err +configure:4042: $? = 0 +configure:4045: test -s conftest +configure:4048: $? = 0 +configure:4062: result: yes +configure:4080: checking for bison +configure:4096: found /usr/bin/bison +configure:4106: result: bison -y +configure:4189: checking for a sed that does not truncate output +configure:4243: result: /bin/sed +configure:4246: checking for egrep +configure:4256: result: grep -E +configure:4272: checking for ld used by cc +configure:4339: result: /usr/bin/ld +configure:4348: checking if the linker (/usr/bin/ld) is GNU ld +configure:4363: result: yes +configure:4368: checking for /usr/bin/ld option to reload object files +configure:4375: result: -r +configure:4384: checking for BSD-compatible nm +configure:4426: result: /usr/bin/nm -B +configure:4430: checking how to recognise dependent libraries +configure:4604: result: pass_all +configure:4812: checking for ANSI C header files +configure:4837: cc -c -g -Wall -O2 conftest.c >&5 +configure:4843: $? = 0 +configure:4846: test -z || test ! -s conftest.err +configure:4849: $? = 0 +configure:4852: test -s conftest.o +configure:4855: $? = 0 +configure:4944: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:28: warning: implicit declaration of function 'exit' +conftest.c:28: warning: incompatible implicit declaration of built-in function 'exit' +configure:4947: $? = 0 +configure:4949: ./conftest +configure:4952: $? = 0 +configure:4967: result: yes +configure:4991: checking for sys/types.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for sys/stat.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for stdlib.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for string.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for memory.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for strings.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for inttypes.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for stdint.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:4991: checking for unistd.h +configure:5007: cc -c -g -Wall -O2 conftest.c >&5 +configure:5013: $? = 0 +configure:5016: test -z || test ! -s conftest.err +configure:5019: $? = 0 +configure:5022: test -s conftest.o +configure:5025: $? = 0 +configure:5036: result: yes +configure:5062: checking dlfcn.h usability +configure:5074: cc -c -g -Wall -O2 conftest.c >&5 +configure:5080: $? = 0 +configure:5083: test -z || test ! -s conftest.err +configure:5086: $? = 0 +configure:5089: test -s conftest.o +configure:5092: $? = 0 +configure:5102: result: yes +configure:5106: checking dlfcn.h presence +configure:5116: cc -E conftest.c +configure:5122: $? = 0 +configure:5142: result: yes +configure:5177: checking for dlfcn.h +configure:5184: result: yes +configure:5291: checking for C++ compiler version +configure:5294: g++ --version &5 +g++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) +Copyright (C) 2006 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. + +configure:5297: $? = 0 +configure:5299: g++ -v &5 +Using built-in specs. +Target: i486-linux-gnu +Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu +Thread model: posix +gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) +configure:5302: $? = 0 +configure:5304: g++ -V &5 +g++: '-V' option must have argument +configure:5307: $? = 1 +configure:5310: checking whether we are using the GNU C++ compiler +configure:5334: g++ -c -g -Wall -O2 conftest.cc >&5 +configure:5340: $? = 0 +configure:5343: test -z || test ! -s conftest.err +configure:5346: $? = 0 +configure:5349: test -s conftest.o +configure:5352: $? = 0 +configure:5365: result: yes +configure:5371: checking whether g++ accepts -g +configure:5392: g++ -c -g conftest.cc >&5 +configure:5398: $? = 0 +configure:5401: test -z || test ! -s conftest.err +configure:5404: $? = 0 +configure:5407: test -s conftest.o +configure:5410: $? = 0 +configure:5421: result: yes +configure:5463: g++ -c -g -Wall -O2 conftest.cc >&5 +configure:5469: $? = 0 +configure:5472: test -z || test ! -s conftest.err +configure:5475: $? = 0 +configure:5478: test -s conftest.o +configure:5481: $? = 0 +configure:5507: g++ -c -g -Wall -O2 conftest.cc >&5 +conftest.cc: In function 'int main()': +conftest.cc:26: error: 'exit' was not declared in this scope +configure:5513: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| #define YYTEXT_POINTER 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| /* end confdefs.h. */ +| +| int +| main () +| { +| exit (42); +| ; +| return 0; +| } +configure:5463: g++ -c -g -Wall -O2 conftest.cc >&5 +configure:5469: $? = 0 +configure:5472: test -z || test ! -s conftest.err +configure:5475: $? = 0 +configure:5478: test -s conftest.o +configure:5481: $? = 0 +configure:5507: g++ -c -g -Wall -O2 conftest.cc >&5 +configure:5513: $? = 0 +configure:5516: test -z || test ! -s conftest.err +configure:5519: $? = 0 +configure:5522: test -s conftest.o +configure:5525: $? = 0 +configure:5550: checking dependency style of g++ +configure:5640: result: none +configure:5662: checking how to run the C++ preprocessor +configure:5693: g++ -E conftest.cc +configure:5699: $? = 0 +configure:5731: g++ -E conftest.cc +conftest.cc:25:28: error: ac_nonexistent.h: No such file or directory +configure:5737: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| #define YYTEXT_POINTER 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #ifdef __cplusplus +| extern "C" void std::exit (int) throw (); using std::exit; +| #endif +| /* end confdefs.h. */ +| #include +configure:5776: result: g++ -E +configure:5800: g++ -E conftest.cc +configure:5806: $? = 0 +configure:5838: g++ -E conftest.cc +conftest.cc:25:28: error: ac_nonexistent.h: No such file or directory +configure:5844: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| #define YYTEXT_POINTER 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #ifdef __cplusplus +| extern "C" void std::exit (int) throw (); using std::exit; +| #endif +| /* end confdefs.h. */ +| #include +configure:5939: checking for g77 +configure:5955: found /usr/bin/g77 +configure:5965: result: g77 +configure:5980: checking for Fortran 77 compiler version +configure:5983: g77 --version &5 +GNU Fortran (GCC) 3.4.6 (Debian 3.4.6-5) +Copyright (C) 2006 Free Software Foundation, Inc. + +GNU Fortran comes with NO WARRANTY, to the extent permitted by law. +You may redistribute copies of GNU Fortran +under the terms of the GNU General Public License. +For more information about these matters, see the file named COPYING +or type the command `info -f g77 Copying'. +configure:5986: $? = 0 +configure:5988: g77 -v &5 +Reading specs from /usr/lib/gcc/i486-linux-gnu/3.4.6/specs +Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal --prefix=/usr --libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --with-tune=i686 i486-linux-gnu +Thread model: posix +gcc version 3.4.6 (Debian 3.4.6-5) +configure:5991: $? = 0 +configure:5993: g77 -V &5 +g77: `-V' option must have argument +configure:5996: $? = 1 +configure:6004: checking whether we are using the GNU Fortran 77 compiler +configure:6018: g77 -c conftest.F >&5 +configure:6024: $? = 0 +configure:6027: test -z || test ! -s conftest.err +configure:6030: $? = 0 +configure:6033: test -s conftest.o +configure:6036: $? = 0 +configure:6049: result: yes +configure:6055: checking whether g77 accepts -g +configure:6067: g77 -c -g conftest.f >&5 +configure:6073: $? = 0 +configure:6076: test -z || test ! -s conftest.err +configure:6079: $? = 0 +configure:6082: test -s conftest.o +configure:6085: $? = 0 +configure:6097: result: yes +configure:6127: checking the maximum length of command line arguments +configure:6192: result: 32768 +configure:6203: checking command to parse /usr/bin/nm -B output from cc object +configure:6292: cc -c -g -Wall -O2 conftest.c >&5 +configure:6295: $? = 0 +configure:6299: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' \> conftest.nm +configure:6302: $? = 0 +configure:6354: cc -o conftest -g -Wall -O2 conftest.c conftstm.o >&5 +configure:6357: $? = 0 +configure:6395: result: ok +configure:6399: checking for objdir +configure:6414: result: .libs +configure:6504: checking for ar +configure:6520: found /usr/bin/ar +configure:6531: result: ar +configure:6584: checking for ranlib +configure:6600: found /usr/bin/ranlib +configure:6611: result: ranlib +configure:6664: checking for strip +configure:6680: found /usr/bin/strip +configure:6691: result: strip +configure:6953: checking if cc static flag works +configure:6976: result: yes +configure:6994: checking if cc supports -fno-rtti -fno-exceptions +configure:7012: cc -c -g -Wall -O2 -fno-rtti -fno-exceptions conftest.c >&5 +cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C +configure:7016: $? = 0 +configure:7027: result: no +configure:7042: checking for cc option to produce PIC +configure:7219: result: -fPIC +configure:7227: checking if cc PIC flag -fPIC works +configure:7245: cc -c -g -Wall -O2 -fPIC -DPIC conftest.c >&5 +configure:7249: $? = 0 +configure:7260: result: yes +configure:7284: checking if cc supports -c -o file.o +configure:7305: cc -c -g -Wall -O2 -o out/conftest2.o conftest.c >&5 +configure:7309: $? = 0 +configure:7329: result: yes +configure:7355: checking whether the cc linker (/usr/bin/ld) supports shared libraries +configure:8202: result: yes +configure:8228: checking whether -lc should be explicitly linked in +configure:8233: cc -c -g -Wall -O2 conftest.c >&5 +configure:8236: $? = 0 +configure:8250: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 +configure:8253: $? = 0 +configure:8265: result: no +configure:8273: checking dynamic linker characteristics +configure:8825: result: GNU/Linux ld.so +configure:8829: checking how to hardcode library paths into programs +configure:8854: result: immediate +configure:8868: checking whether stripping libraries is possible +configure:8873: result: yes +configure:9696: checking if libtool supports shared libraries +configure:9698: result: yes +configure:9701: checking whether to build shared libraries +configure:9759: result: yes +configure:9762: checking whether to build static libraries +configure:9766: result: yes +configure:9858: creating libtool +configure:10405: checking for ld used by g++ +configure:10472: result: /usr/bin/ld +configure:10481: checking if the linker (/usr/bin/ld) is GNU ld +configure:10496: result: yes +configure:10547: checking whether the g++ linker (/usr/bin/ld) supports shared libraries +configure:11373: result: yes +configure:11391: g++ -c -g -Wall -O2 conftest.cc >&5 +configure:11394: $? = 0 +configure:11490: checking for g++ option to produce PIC +configure:11742: result: -fPIC +configure:11750: checking if g++ PIC flag -fPIC works +configure:11768: g++ -c -g -Wall -O2 -fPIC -DPIC conftest.cc >&5 +configure:11772: $? = 0 +configure:11783: result: yes +configure:11807: checking if g++ supports -c -o file.o +configure:11828: g++ -c -g -Wall -O2 -o out/conftest2.o conftest.cc >&5 +configure:11832: $? = 0 +configure:11852: result: yes +configure:11878: checking whether the g++ linker (/usr/bin/ld) supports shared libraries +configure:11906: result: yes +configure:11977: checking dynamic linker characteristics +configure:12529: result: GNU/Linux ld.so +configure:12533: checking how to hardcode library paths into programs +configure:12558: result: immediate +configure:12572: checking whether stripping libraries is possible +configure:12577: result: yes +configure:13877: checking if libtool supports shared libraries +configure:13879: result: yes +configure:13882: checking whether to build shared libraries +configure:13900: result: yes +configure:13903: checking whether to build static libraries +configure:13907: result: yes +configure:13919: checking for g77 option to produce PIC +configure:14096: result: -fPIC +configure:14104: checking if g77 PIC flag -fPIC works +configure:14122: g77 -c -g -O2 -fPIC conftest.f >&5 +configure:14126: $? = 0 +configure:14137: result: yes +configure:14161: checking if g77 supports -c -o file.o +configure:14182: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 +configure:14186: $? = 0 +configure:14206: result: yes +configure:14232: checking whether the g77 linker (/usr/bin/ld) supports shared libraries +configure:15059: result: yes +configure:15130: checking dynamic linker characteristics +configure:15682: result: GNU/Linux ld.so +configure:15686: checking how to hardcode library paths into programs +configure:15711: result: immediate +configure:15725: checking whether stripping libraries is possible +configure:15730: result: yes +configure:19873: checking for ld used by GCC +configure:19936: result: /usr/bin/ld +configure:19945: checking if the linker (/usr/bin/ld) is GNU ld +GNU ld version 2.17 Debian GNU/Linux +configure:19957: result: yes +configure:19963: checking for shared library run path origin +configure:19976: result: done +configure:20406: checking for iconv +configure:20433: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:20439: $? = 0 +configure:20442: test -z || test ! -s conftest.err +configure:20445: $? = 0 +configure:20448: test -s conftest +configure:20451: $? = 0 +configure:20516: result: yes +configure:20539: checking for iconv declaration +configure:20573: cc -c -g -Wall -O2 conftest.c >&5 +configure:20579: $? = 0 +configure:20582: test -z || test ! -s conftest.err +configure:20585: $? = 0 +configure:20588: test -s conftest.o +configure:20591: $? = 0 +configure:20606: result: + extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +configure:20632: checking whether NLS is requested +configure:20641: result: yes +configure:20679: checking for msgfmt +configure:20710: result: /usr/bin/msgfmt +configure:20719: checking for gmsgfmt +configure:20750: result: /usr/bin/msgfmt +configure:20789: checking for xgettext +configure:20820: result: /usr/bin/xgettext +configure:20860: checking for msgmerge +configure:20890: result: /usr/bin/msgmerge +configure:20966: checking for ranlib +configure:20993: result: ranlib +configure:21005: checking for an ANSI C-conforming const +configure:21072: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:54: warning: unused variable 's' +conftest.c:74: warning: unused variable 'foo' +conftest.c:41: warning: unused variable 'zero' +conftest.c:35: warning: unused variable 'x' +conftest.c:56: warning: 't' is used uninitialized in this function +conftest.c:71: warning: 'b' is used uninitialized in this function +configure:21078: $? = 0 +configure:21081: test -z || test ! -s conftest.err +configure:21084: $? = 0 +configure:21087: test -s conftest.o +configure:21090: $? = 0 +configure:21101: result: yes +configure:21111: checking for inline +configure:21132: cc -c -g -Wall -O2 conftest.c >&5 +configure:21138: $? = 0 +configure:21141: test -z || test ! -s conftest.err +configure:21144: $? = 0 +configure:21147: test -s conftest.o +configure:21150: $? = 0 +configure:21162: result: inline +configure:21181: checking for off_t +configure:21205: cc -c -g -Wall -O2 conftest.c >&5 +configure:21211: $? = 0 +configure:21214: test -z || test ! -s conftest.err +configure:21217: $? = 0 +configure:21220: test -s conftest.o +configure:21223: $? = 0 +configure:21234: result: yes +configure:21246: checking for size_t +configure:21270: cc -c -g -Wall -O2 conftest.c >&5 +configure:21276: $? = 0 +configure:21279: test -z || test ! -s conftest.err +configure:21282: $? = 0 +configure:21285: test -s conftest.o +configure:21288: $? = 0 +configure:21299: result: yes +configure:21313: checking for working alloca.h +configure:21334: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:31: warning: unused variable 'p' +configure:21340: $? = 0 +configure:21343: test -z || test ! -s conftest.err +configure:21346: $? = 0 +configure:21349: test -s conftest +configure:21352: $? = 0 +configure:21364: result: yes +configure:21374: checking for alloca +configure:21415: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:52: warning: unused variable 'p' +configure:21421: $? = 0 +configure:21424: test -z || test ! -s conftest.err +configure:21427: $? = 0 +configure:21430: test -s conftest +configure:21433: $? = 0 +configure:21445: result: yes +configure:21673: checking for stdlib.h +configure:21678: result: yes +configure:21673: checking for unistd.h +configure:21678: result: yes +configure:21821: checking for getpagesize +configure:21878: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:21884: $? = 0 +configure:21887: test -z || test ! -s conftest.err +configure:21890: $? = 0 +configure:21893: test -s conftest +configure:21896: $? = 0 +configure:21908: result: yes +configure:21918: checking for working mmap +configure:22060: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22063: $? = 0 +configure:22065: ./conftest +configure:22068: $? = 0 +configure:22082: result: yes +configure:22094: checking whether we are using the GNU C Library 2.1 or newer +configure:22125: result: yes +configure:22133: checking whether integer division by zero raises SIGFPE +configure:22195: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22198: $? = 0 +configure:22200: ./conftest +configure:22203: $? = 0 +configure:22218: result: yes +configure:22231: checking for inttypes.h +configure:22253: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:39: warning: unused variable 'i' +configure:22259: $? = 0 +configure:22262: test -z || test ! -s conftest.err +configure:22265: $? = 0 +configure:22268: test -s conftest.o +configure:22271: $? = 0 +configure:22282: result: yes +configure:22293: checking for stdint.h +configure:22315: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:40: warning: unused variable 'i' +configure:22321: $? = 0 +configure:22324: test -z || test ! -s conftest.err +configure:22327: $? = 0 +configure:22330: test -s conftest.o +configure:22333: $? = 0 +configure:22344: result: yes +configure:22355: checking for unsigned long long +configure:22377: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22383: $? = 0 +configure:22386: test -z || test ! -s conftest.err +configure:22389: $? = 0 +configure:22392: test -s conftest +configure:22395: $? = 0 +configure:22407: result: yes +configure:22439: checking for inttypes.h +configure:22462: cc -c -g -Wall -O2 conftest.c >&5 +configure:22468: $? = 0 +configure:22471: test -z || test ! -s conftest.err +configure:22474: $? = 0 +configure:22477: test -s conftest.o +configure:22480: $? = 0 +configure:22492: result: yes +configure:22505: checking whether the inttypes.h PRIxNN macros are broken +configure:22531: cc -c -g -Wall -O2 conftest.c >&5 +configure:22537: $? = 0 +configure:22540: test -z || test ! -s conftest.err +configure:22543: $? = 0 +configure:22546: test -s conftest.o +configure:22549: $? = 0 +configure:22561: result: no +configure:22598: checking argz.h usability +configure:22610: cc -c -g -Wall -O2 conftest.c >&5 +configure:22616: $? = 0 +configure:22619: test -z || test ! -s conftest.err +configure:22622: $? = 0 +configure:22625: test -s conftest.o +configure:22628: $? = 0 +configure:22638: result: yes +configure:22642: checking argz.h presence +configure:22652: cc -E conftest.c +configure:22658: $? = 0 +configure:22678: result: yes +configure:22713: checking for argz.h +configure:22720: result: yes +configure:22598: checking limits.h usability +configure:22610: cc -c -g -Wall -O2 conftest.c >&5 +configure:22616: $? = 0 +configure:22619: test -z || test ! -s conftest.err +configure:22622: $? = 0 +configure:22625: test -s conftest.o +configure:22628: $? = 0 +configure:22638: result: yes +configure:22642: checking limits.h presence +configure:22652: cc -E conftest.c +configure:22658: $? = 0 +configure:22678: result: yes +configure:22713: checking for limits.h +configure:22720: result: yes +configure:22598: checking locale.h usability +configure:22610: cc -c -g -Wall -O2 conftest.c >&5 +configure:22616: $? = 0 +configure:22619: test -z || test ! -s conftest.err +configure:22622: $? = 0 +configure:22625: test -s conftest.o +configure:22628: $? = 0 +configure:22638: result: yes +configure:22642: checking locale.h presence +configure:22652: cc -E conftest.c +configure:22658: $? = 0 +configure:22678: result: yes +configure:22713: checking for locale.h +configure:22720: result: yes +configure:22598: checking nl_types.h usability +configure:22610: cc -c -g -Wall -O2 conftest.c >&5 +configure:22616: $? = 0 +configure:22619: test -z || test ! -s conftest.err +configure:22622: $? = 0 +configure:22625: test -s conftest.o +configure:22628: $? = 0 +configure:22638: result: yes +configure:22642: checking nl_types.h presence +configure:22652: cc -E conftest.c +configure:22658: $? = 0 +configure:22678: result: yes +configure:22713: checking for nl_types.h +configure:22720: result: yes +configure:22598: checking malloc.h usability +configure:22610: cc -c -g -Wall -O2 conftest.c >&5 +configure:22616: $? = 0 +configure:22619: test -z || test ! -s conftest.err +configure:22622: $? = 0 +configure:22625: test -s conftest.o +configure:22628: $? = 0 +configure:22638: result: yes +configure:22642: checking malloc.h presence +configure:22652: cc -E conftest.c +configure:22658: $? = 0 +configure:22678: result: yes +configure:22713: checking for malloc.h +configure:22720: result: yes +configure:22598: checking stddef.h usability +configure:22610: cc -c -g -Wall -O2 conftest.c >&5 +configure:22616: $? = 0 +configure:22619: test -z || test ! -s conftest.err +configure:22622: $? = 0 +configure:22625: test -s conftest.o +configure:22628: $? = 0 +configure:22638: result: yes +configure:22642: checking stddef.h presence +configure:22652: cc -E conftest.c +configure:22658: $? = 0 +configure:22678: result: yes +configure:22713: checking for stddef.h +configure:22720: result: yes +configure:22589: checking for stdlib.h +configure:22594: result: yes +configure:22589: checking for string.h +configure:22594: result: yes +configure:22589: checking for unistd.h +configure:22594: result: yes +configure:22598: checking sys/param.h usability +configure:22610: cc -c -g -Wall -O2 conftest.c >&5 +configure:22616: $? = 0 +configure:22619: test -z || test ! -s conftest.err +configure:22622: $? = 0 +configure:22625: test -s conftest.o +configure:22628: $? = 0 +configure:22638: result: yes +configure:22642: checking sys/param.h presence +configure:22652: cc -E conftest.c +configure:22658: $? = 0 +configure:22678: result: yes +configure:22713: checking for sys/param.h +configure:22720: result: yes +configure:22761: checking for feof_unlocked +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for fgets_unlocked +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for getc_unlocked +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for getcwd +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for getegid +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for geteuid +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for getgid +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for getuid +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for mempcpy +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:81: warning: conflicting types for built-in function 'mempcpy' +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for munmap +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for putenv +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for setenv +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for setlocale +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for stpcpy +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:86: warning: conflicting types for built-in function 'stpcpy' +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for strcasecmp +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:87: warning: conflicting types for built-in function 'strcasecmp' +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for strdup +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:88: warning: conflicting types for built-in function 'strdup' +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for strtoul +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for tsearch +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for __argz_count +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for __argz_stringify +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for __argz_next +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22761: checking for __fsetlocking +configure:22818: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:22824: $? = 0 +configure:22827: test -z || test ! -s conftest.err +configure:22830: $? = 0 +configure:22833: test -s conftest +configure:22836: $? = 0 +configure:22848: result: yes +configure:22889: checking for iconv +configure:22999: result: yes +configure:23022: checking for iconv declaration +configure:23089: result: + extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +configure:23100: checking for nl_langinfo and CODESET +configure:23121: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:77: warning: unused variable 'cs' +configure:23127: $? = 0 +configure:23130: test -z || test ! -s conftest.err +configure:23133: $? = 0 +configure:23136: test -s conftest +configure:23139: $? = 0 +configure:23152: result: yes +configure:23164: checking for LC_MESSAGES +configure:23185: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:23191: $? = 0 +configure:23194: test -z || test ! -s conftest.err +configure:23197: $? = 0 +configure:23200: test -s conftest +configure:23203: $? = 0 +configure:23215: result: yes +configure:23231: checking for bison +configure:23247: found /usr/bin/bison +configure:23257: result: bison +configure:23270: checking version of bison +configure:23279: result: 2.3, ok +configure:23301: checking whether NLS is requested +configure:23310: result: yes +configure:23326: checking whether included gettext is requested +configure:23336: result: no +configure:23347: checking for GNU gettext in libc +configure:23371: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:23377: $? = 0 +configure:23380: test -z || test ! -s conftest.err +configure:23383: $? = 0 +configure:23386: test -s conftest +configure:23389: $? = 0 +configure:23401: result: yes +configure:23952: checking whether to use NLS +configure:23954: result: yes +configure:23957: checking where the gettext function comes from +configure:23968: result: libc +configure:24089: checking for setlocale in -lxpg4 +configure:24119: cc -o conftest -g -Wall -O2 conftest.c -lxpg4 >&5 +/usr/bin/ld: cannot find -lxpg4 +collect2: ld returned 1 exit status +configure:24125: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| #define YYTEXT_POINTER 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #ifdef __cplusplus +| extern "C" void std::exit (int) throw (); using std::exit; +| #endif +| #define HAVE_ICONV 1 +| #define ICONV_CONST +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETPAGESIZE 1 +| #define HAVE_MMAP 1 +| #define INTDIV0_RAISES_SIGFPE 1 +| #define HAVE_INTTYPES_H_WITH_UINTMAX 1 +| #define HAVE_STDINT_H_WITH_UINTMAX 1 +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define HAVE_UINTMAX_T 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_ARGZ_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_NL_TYPES_H 1 +| #define HAVE_MALLOC_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_FEOF_UNLOCKED 1 +| #define HAVE_FGETS_UNLOCKED 1 +| #define HAVE_GETC_UNLOCKED 1 +| #define HAVE_GETCWD 1 +| #define HAVE_GETEGID 1 +| #define HAVE_GETEUID 1 +| #define HAVE_GETGID 1 +| #define HAVE_GETUID 1 +| #define HAVE_MEMPCPY 1 +| #define HAVE_MUNMAP 1 +| #define HAVE_PUTENV 1 +| #define HAVE_SETENV 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_TSEARCH 1 +| #define HAVE___ARGZ_COUNT 1 +| #define HAVE___ARGZ_STRINGIFY 1 +| #define HAVE___ARGZ_NEXT 1 +| #define HAVE___FSETLOCKING 1 +| #define HAVE_ICONV 1 +| #define ICONV_CONST +| #define HAVE_LANGINFO_CODESET 1 +| #define HAVE_LC_MESSAGES 1 +| #define ENABLE_NLS 1 +| #define HAVE_GETTEXT 1 +| #define HAVE_DCGETTEXT 1 +| #define PACKAGE_DATA_DIR "/usr/share/sylpheed-claws" +| /* end confdefs.h. */ +| +| /* Override any gcc2 internal prototype to avoid an error. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| /* We use char because int might match the return type of a gcc2 +| builtin and then its argument prototype would still apply. */ +| char setlocale (); +| int +| main () +| { +| setlocale (); +| ; +| return 0; +| } +configure:24150: result: no +configure:24163: checking whether to use threads +configure:24182: result: no +configure:24186: checking whether struct dirent has d_type member +configure:24208: cc -c -g -Wall -O2 conftest.c >&5 +configure:24214: $? = 0 +configure:24217: test -z || test ! -s conftest.err +configure:24220: $? = 0 +configure:24223: test -s conftest.o +configure:24226: $? = 0 +configure:24239: result: yes +configure:24257: checking for dirent.h that defines DIR +configure:24281: cc -c -g -Wall -O2 conftest.c >&5 +configure:24287: $? = 0 +configure:24290: test -z || test ! -s conftest.err +configure:24293: $? = 0 +configure:24296: test -s conftest.o +configure:24299: $? = 0 +configure:24310: result: yes +configure:24323: checking for library containing opendir +configure:24353: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:24359: $? = 0 +configure:24362: test -z || test ! -s conftest.err +configure:24365: $? = 0 +configure:24368: test -s conftest +configure:24371: $? = 0 +configure:24440: result: none required +configure:24574: checking for ANSI C header files +configure:24729: result: yes +configure:24739: checking for sys/wait.h that is POSIX.1 compatible +configure:24770: cc -c -g -Wall -O2 conftest.c >&5 +configure:24776: $? = 0 +configure:24779: test -z || test ! -s conftest.err +configure:24782: $? = 0 +configure:24785: test -s conftest.o +configure:24788: $? = 0 +configure:24799: result: yes +configure:24834: checking fcntl.h usability +configure:24846: cc -c -g -Wall -O2 conftest.c >&5 +configure:24852: $? = 0 +configure:24855: test -z || test ! -s conftest.err +configure:24858: $? = 0 +configure:24861: test -s conftest.o +configure:24864: $? = 0 +configure:24874: result: yes +configure:24878: checking fcntl.h presence +configure:24888: cc -E conftest.c +configure:24894: $? = 0 +configure:24914: result: yes +configure:24949: checking for fcntl.h +configure:24956: result: yes +configure:24834: checking sys/file.h usability +configure:24846: cc -c -g -Wall -O2 conftest.c >&5 +configure:24852: $? = 0 +configure:24855: test -z || test ! -s conftest.err +configure:24858: $? = 0 +configure:24861: test -s conftest.o +configure:24864: $? = 0 +configure:24874: result: yes +configure:24878: checking sys/file.h presence +configure:24888: cc -E conftest.c +configure:24894: $? = 0 +configure:24914: result: yes +configure:24949: checking for sys/file.h +configure:24956: result: yes +configure:24825: checking for unistd.h +configure:24830: result: yes +configure:24834: checking paths.h usability +configure:24846: cc -c -g -Wall -O2 conftest.c >&5 +configure:24852: $? = 0 +configure:24855: test -z || test ! -s conftest.err +configure:24858: $? = 0 +configure:24861: test -s conftest.o +configure:24864: $? = 0 +configure:24874: result: yes +configure:24878: checking paths.h presence +configure:24888: cc -E conftest.c +configure:24894: $? = 0 +configure:24914: result: yes +configure:24949: checking for paths.h +configure:24956: result: yes +configure:24825: checking for sys/param.h +configure:24830: result: yes +configure:24834: checking sys/utsname.h usability +configure:24846: cc -c -g -Wall -O2 conftest.c >&5 +configure:24852: $? = 0 +configure:24855: test -z || test ! -s conftest.err +configure:24858: $? = 0 +configure:24861: test -s conftest.o +configure:24864: $? = 0 +configure:24874: result: yes +configure:24878: checking sys/utsname.h presence +configure:24888: cc -E conftest.c +configure:24894: $? = 0 +configure:24914: result: yes +configure:24949: checking for sys/utsname.h +configure:24956: result: yes +configure:24834: checking sys/select.h usability +configure:24846: cc -c -g -Wall -O2 conftest.c >&5 +configure:24852: $? = 0 +configure:24855: test -z || test ! -s conftest.err +configure:24858: $? = 0 +configure:24861: test -s conftest.o +configure:24864: $? = 0 +configure:24874: result: yes +configure:24878: checking sys/select.h presence +configure:24888: cc -E conftest.c +configure:24894: $? = 0 +configure:24914: result: yes +configure:24949: checking for sys/select.h +configure:24956: result: yes +configure:24834: checking wchar.h usability +configure:24846: cc -c -g -Wall -O2 conftest.c >&5 +configure:24852: $? = 0 +configure:24855: test -z || test ! -s conftest.err +configure:24858: $? = 0 +configure:24861: test -s conftest.o +configure:24864: $? = 0 +configure:24874: result: yes +configure:24878: checking wchar.h presence +configure:24888: cc -E conftest.c +configure:24894: $? = 0 +configure:24914: result: yes +configure:24949: checking for wchar.h +configure:24956: result: yes +configure:24834: checking wctype.h usability +configure:24846: cc -c -g -Wall -O2 conftest.c >&5 +configure:24852: $? = 0 +configure:24855: test -z || test ! -s conftest.err +configure:24858: $? = 0 +configure:24861: test -s conftest.o +configure:24864: $? = 0 +configure:24874: result: yes +configure:24878: checking wctype.h presence +configure:24888: cc -E conftest.c +configure:24894: $? = 0 +configure:24914: result: yes +configure:24949: checking for wctype.h +configure:24956: result: yes +configure:24825: checking for locale.h +configure:24830: result: yes +configure:24987: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:98: error: 'USE_HSREGEX' undeclared (first use in this function) +conftest.c:98: error: (Each undeclared identifier is reported only once +conftest.c:98: error: for each function it appears in.) +conftest.c:98: warning: unused variable 'x' +configure:24993: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| #define YYTEXT_POINTER 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #ifdef __cplusplus +| extern "C" void std::exit (int) throw (); using std::exit; +| #endif +| #define HAVE_ICONV 1 +| #define ICONV_CONST +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETPAGESIZE 1 +| #define HAVE_MMAP 1 +| #define INTDIV0_RAISES_SIGFPE 1 +| #define HAVE_INTTYPES_H_WITH_UINTMAX 1 +| #define HAVE_STDINT_H_WITH_UINTMAX 1 +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define HAVE_UINTMAX_T 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_ARGZ_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_NL_TYPES_H 1 +| #define HAVE_MALLOC_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_FEOF_UNLOCKED 1 +| #define HAVE_FGETS_UNLOCKED 1 +| #define HAVE_GETC_UNLOCKED 1 +| #define HAVE_GETCWD 1 +| #define HAVE_GETEGID 1 +| #define HAVE_GETEUID 1 +| #define HAVE_GETGID 1 +| #define HAVE_GETUID 1 +| #define HAVE_MEMPCPY 1 +| #define HAVE_MUNMAP 1 +| #define HAVE_PUTENV 1 +| #define HAVE_SETENV 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_TSEARCH 1 +| #define HAVE___ARGZ_COUNT 1 +| #define HAVE___ARGZ_STRINGIFY 1 +| #define HAVE___ARGZ_NEXT 1 +| #define HAVE___FSETLOCKING 1 +| #define HAVE_ICONV 1 +| #define ICONV_CONST +| #define HAVE_LANGINFO_CODESET 1 +| #define HAVE_LC_MESSAGES 1 +| #define ENABLE_NLS 1 +| #define HAVE_GETTEXT 1 +| #define HAVE_DCGETTEXT 1 +| #define PACKAGE_DATA_DIR "/usr/share/sylpheed-claws" +| #define HAVE_DIRENT_D_TYPE 1 +| #define HAVE_DIRENT_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_FILE_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_UTSNAME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_WCTYPE_H 1 +| #define HAVE_LOCALE_H 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| int x = USE_HSREGEX; +| ; +| return 0; +| } +configure:25022: checking whether to use Apache regex header kludge +configure:25024: result: no +configure:25027: checking for an ANSI C-conforming const +configure:25123: result: yes +configure:25133: checking for off_t +configure:25186: result: yes +configure:25198: checking for pid_t +configure:25222: cc -c -g -Wall -O2 conftest.c >&5 +configure:25228: $? = 0 +configure:25231: test -z || test ! -s conftest.err +configure:25234: $? = 0 +configure:25237: test -s conftest.o +configure:25240: $? = 0 +configure:25251: result: yes +configure:25263: checking for size_t +configure:25316: result: yes +configure:25328: checking whether struct tm is in sys/time.h or time.h +configure:25351: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:99: warning: statement with no effect +configure:25357: $? = 0 +configure:25360: test -z || test ! -s conftest.err +configure:25363: $? = 0 +configure:25366: test -s conftest.o +configure:25369: $? = 0 +configure:25380: result: time.h +configure:25391: checking for wint_t +configure:25426: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:110: warning: unused variable 'a' +configure:25432: $? = 0 +configure:25435: test -z || test ! -s conftest.err +configure:25438: $? = 0 +configure:25441: test -s conftest.o +configure:25444: $? = 0 +configure:25455: result: yes +configure:25466: checking for u32 typedef +configure:25491: cc -c -g -Wall -O2 conftest.c >&5 +conftest.c: In function 'main': +conftest.c:100: error: 'u32' undeclared (first use in this function) +conftest.c:100: error: (Each undeclared identifier is reported only once +conftest.c:100: error: for each function it appears in.) +conftest.c:100: warning: unused variable 'a' +configure:25497: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| +| #define PACKAGE_NAME "" +| #define PACKAGE_TARNAME "" +| #define PACKAGE_VERSION "" +| #define PACKAGE_STRING "" +| #define PACKAGE_BUGREPORT "" +| #define CLAWS 1 +| #define YYTEXT_POINTER 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #ifdef __cplusplus +| extern "C" void std::exit (int) throw (); using std::exit; +| #endif +| #define HAVE_ICONV 1 +| #define ICONV_CONST +| #define HAVE_ALLOCA_H 1 +| #define HAVE_ALLOCA 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_GETPAGESIZE 1 +| #define HAVE_MMAP 1 +| #define INTDIV0_RAISES_SIGFPE 1 +| #define HAVE_INTTYPES_H_WITH_UINTMAX 1 +| #define HAVE_STDINT_H_WITH_UINTMAX 1 +| #define HAVE_UNSIGNED_LONG_LONG 1 +| #define HAVE_UINTMAX_T 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_ARGZ_H 1 +| #define HAVE_LIMITS_H 1 +| #define HAVE_LOCALE_H 1 +| #define HAVE_NL_TYPES_H 1 +| #define HAVE_MALLOC_H 1 +| #define HAVE_STDDEF_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_FEOF_UNLOCKED 1 +| #define HAVE_FGETS_UNLOCKED 1 +| #define HAVE_GETC_UNLOCKED 1 +| #define HAVE_GETCWD 1 +| #define HAVE_GETEGID 1 +| #define HAVE_GETEUID 1 +| #define HAVE_GETGID 1 +| #define HAVE_GETUID 1 +| #define HAVE_MEMPCPY 1 +| #define HAVE_MUNMAP 1 +| #define HAVE_PUTENV 1 +| #define HAVE_SETENV 1 +| #define HAVE_SETLOCALE 1 +| #define HAVE_STPCPY 1 +| #define HAVE_STRCASECMP 1 +| #define HAVE_STRDUP 1 +| #define HAVE_STRTOUL 1 +| #define HAVE_TSEARCH 1 +| #define HAVE___ARGZ_COUNT 1 +| #define HAVE___ARGZ_STRINGIFY 1 +| #define HAVE___ARGZ_NEXT 1 +| #define HAVE___FSETLOCKING 1 +| #define HAVE_ICONV 1 +| #define ICONV_CONST +| #define HAVE_LANGINFO_CODESET 1 +| #define HAVE_LC_MESSAGES 1 +| #define ENABLE_NLS 1 +| #define HAVE_GETTEXT 1 +| #define HAVE_DCGETTEXT 1 +| #define PACKAGE_DATA_DIR "/usr/share/sylpheed-claws" +| #define HAVE_DIRENT_D_TYPE 1 +| #define HAVE_DIRENT_H 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_WAIT_H 1 +| #define HAVE_FCNTL_H 1 +| #define HAVE_SYS_FILE_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_PATHS_H 1 +| #define HAVE_SYS_PARAM_H 1 +| #define HAVE_SYS_UTSNAME_H 1 +| #define HAVE_SYS_SELECT_H 1 +| #define HAVE_WCHAR_H 1 +| #define HAVE_WCTYPE_H 1 +| #define HAVE_LOCALE_H 1 +| /* end confdefs.h. */ +| #include +| #include +| int +| main () +| { +| +| #undef u32 +| int a = sizeof(u32); +| +| ; +| return 0; +| } +configure:25521: result: no +configure:25531: checking for unsigned short +configure:25555: cc -c -g -Wall -O2 conftest.c >&5 +configure:25561: $? = 0 +configure:25564: test -z || test ! -s conftest.err +configure:25567: $? = 0 +configure:25570: test -s conftest.o +configure:25573: $? = 0 +configure:25584: result: yes +configure:25587: checking size of unsigned short +configure:25899: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:25902: $? = 0 +configure:25904: ./conftest +configure:25907: $? = 0 +configure:25930: result: 2 +configure:25937: checking for unsigned int +configure:25961: cc -c -g -Wall -O2 conftest.c >&5 +configure:25967: $? = 0 +configure:25970: test -z || test ! -s conftest.err +configure:25973: $? = 0 +configure:25976: test -s conftest.o +configure:25979: $? = 0 +configure:25990: result: yes +configure:25993: checking size of unsigned int +configure:26305: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:26308: $? = 0 +configure:26310: ./conftest +configure:26313: $? = 0 +configure:26336: result: 4 +configure:26343: checking for unsigned long +configure:26367: cc -c -g -Wall -O2 conftest.c >&5 +configure:26373: $? = 0 +configure:26376: test -z || test ! -s conftest.err +configure:26379: $? = 0 +configure:26382: test -s conftest.o +configure:26385: $? = 0 +configure:26396: result: yes +configure:26399: checking size of unsigned long +configure:26711: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:26714: $? = 0 +configure:26716: ./conftest +configure:26719: $? = 0 +configure:26742: result: 4 +configure:26752: checking for working alloca.h +configure:26803: result: yes +configure:26813: checking for alloca +configure:26884: result: yes +configure:27134: checking for gethostname +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for mkdir +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for mktime +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for socket +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for strstr +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:126: warning: conflicting types for built-in function 'strstr' +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for strchr +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:127: warning: conflicting types for built-in function 'strchr' +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for wcsstr +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for wcswcs +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for iswalnum +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:130: warning: conflicting types for built-in function 'iswalnum' +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for iswspace +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:131: warning: conflicting types for built-in function 'iswspace' +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for towlower +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +conftest.c:132: warning: conflicting types for built-in function 'towlower' +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for wcslen +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for wcscpy +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for wcsncpy +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for uname +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for flock +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for lockf +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for inet_aton +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for inet_addr +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for fchmod +configure:27191: cc -o conftest -g -Wall -O2 conftest.c >&5 +configure:27197: $? = 0 +configure:27200: test -z || test ! -s conftest.err +configure:27203: $? = 0 +configure:27206: test -s conftest +configure:27209: $? = 0 +configure:27221: result: yes +configure:27134: checking for mkstemp + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_build=i486-pc-linux-gnu +ac_cv_build_alias=i486-linux-gnu +ac_cv_c_compiler_gnu=yes +ac_cv_c_const=yes +ac_cv_c_inline=inline +ac_cv_cxx_compiler_gnu=yes +ac_cv_dirent_d_type=yes +ac_cv_env_CC_set=set +ac_cv_env_CC_value=cc +ac_cv_env_CFLAGS_set=set +ac_cv_env_CFLAGS_value='-g -Wall -O2' +ac_cv_env_CPPFLAGS_set=set +ac_cv_env_CPPFLAGS_value= +ac_cv_env_CPP_set= +ac_cv_env_CPP_value= +ac_cv_env_CXXCPP_set= +ac_cv_env_CXXCPP_value= +ac_cv_env_CXXFLAGS_set=set +ac_cv_env_CXXFLAGS_value='-g -Wall -O2' +ac_cv_env_CXX_set=set +ac_cv_env_CXX_value=g++ +ac_cv_env_F77_set= +ac_cv_env_F77_value= +ac_cv_env_FFLAGS_set= +ac_cv_env_FFLAGS_value= +ac_cv_env_GTK_MATH_VIEW_CFLAGS_set= +ac_cv_env_GTK_MATH_VIEW_CFLAGS_value= +ac_cv_env_GTK_MATH_VIEW_LIBS_set= +ac_cv_env_GTK_MATH_VIEW_LIBS_value= +ac_cv_env_LDFLAGS_set=set +ac_cv_env_LDFLAGS_value= +ac_cv_env_OPENSSL_CFLAGS_set= +ac_cv_env_OPENSSL_CFLAGS_value= +ac_cv_env_OPENSSL_LIBS_set= +ac_cv_env_OPENSSL_LIBS_value= +ac_cv_env_PKG_CONFIG_set= +ac_cv_env_PKG_CONFIG_value= +ac_cv_env_STARTUP_NOTIFICATION_CFLAGS_set= +ac_cv_env_STARTUP_NOTIFICATION_CFLAGS_value= +ac_cv_env_STARTUP_NOTIFICATION_LIBS_set= +ac_cv_env_STARTUP_NOTIFICATION_LIBS_value= +ac_cv_env_build_alias_set=set +ac_cv_env_build_alias_value=i486-linux-gnu +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_exeext= +ac_cv_f77_compiler_gnu=yes +ac_cv_func___argz_count=yes +ac_cv_func___argz_next=yes +ac_cv_func___argz_stringify=yes +ac_cv_func___fsetlocking=yes +ac_cv_func_alloca_works=yes +ac_cv_func_fchmod=yes +ac_cv_func_feof_unlocked=yes +ac_cv_func_fgets_unlocked=yes +ac_cv_func_flock=yes +ac_cv_func_getc_unlocked=yes +ac_cv_func_getcwd=yes +ac_cv_func_getegid=yes +ac_cv_func_geteuid=yes +ac_cv_func_getgid=yes +ac_cv_func_gethostname=yes +ac_cv_func_getpagesize=yes +ac_cv_func_getuid=yes +ac_cv_func_inet_addr=yes +ac_cv_func_inet_aton=yes +ac_cv_func_iswalnum=yes +ac_cv_func_iswspace=yes +ac_cv_func_lockf=yes +ac_cv_func_mempcpy=yes +ac_cv_func_mkdir=yes +ac_cv_func_mktime=yes +ac_cv_func_mmap_fixed_mapped=yes +ac_cv_func_munmap=yes +ac_cv_func_putenv=yes +ac_cv_func_setenv=yes +ac_cv_func_setlocale=yes +ac_cv_func_socket=yes +ac_cv_func_stpcpy=yes +ac_cv_func_strcasecmp=yes +ac_cv_func_strchr=yes +ac_cv_func_strdup=yes +ac_cv_func_strstr=yes +ac_cv_func_strtoul=yes +ac_cv_func_towlower=yes +ac_cv_func_tsearch=yes +ac_cv_func_uname=yes +ac_cv_func_wcscpy=yes +ac_cv_func_wcslen=yes +ac_cv_func_wcsncpy=yes +ac_cv_func_wcsstr=yes +ac_cv_func_wcswcs=yes +ac_cv_gnu_library_2_1=yes +ac_cv_have_apache_fnmatch=no +ac_cv_header_argz_h=yes +ac_cv_header_dirent_dirent_h=yes +ac_cv_header_dlfcn_h=yes +ac_cv_header_fcntl_h=yes +ac_cv_header_inttypes_h=yes +ac_cv_header_limits_h=yes +ac_cv_header_locale_h=yes +ac_cv_header_malloc_h=yes +ac_cv_header_memory_h=yes +ac_cv_header_nl_types_h=yes +ac_cv_header_paths_h=yes +ac_cv_header_stdc=yes +ac_cv_header_stddef_h=yes +ac_cv_header_stdint_h=yes +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_strings_h=yes +ac_cv_header_sys_file_h=yes +ac_cv_header_sys_param_h=yes +ac_cv_header_sys_select_h=yes +ac_cv_header_sys_stat_h=yes +ac_cv_header_sys_types_h=yes +ac_cv_header_sys_utsname_h=yes +ac_cv_header_sys_wait_h=yes +ac_cv_header_unistd_h=yes +ac_cv_header_wchar_h=yes +ac_cv_header_wctype_h=yes +ac_cv_host=i486-pc-linux-gnu +ac_cv_host_alias=i486-linux-gnu +ac_cv_lib_fl_yywrap=yes +ac_cv_lib_xpg4_setlocale=no +ac_cv_objext=o +ac_cv_path_GMSGFMT=/usr/bin/msgfmt +ac_cv_path_GNOME_CONFIG=no +ac_cv_path_MSGFMT=/usr/bin/msgfmt +ac_cv_path_MSGMERGE=/usr/bin/msgmerge +ac_cv_path_XGETTEXT=/usr/bin/xgettext +ac_cv_path_install='/usr/bin/install -c' +ac_cv_prog_AWK=gawk +ac_cv_prog_CPP='cc -E' +ac_cv_prog_CXXCPP='g++ -E' +ac_cv_prog_INTLBISON=bison +ac_cv_prog_LEX=flex +ac_cv_prog_YACC='bison -y' +ac_cv_prog_ac_ct_AR=ar +ac_cv_prog_ac_ct_CC=cc +ac_cv_prog_ac_ct_F77=g77 +ac_cv_prog_ac_ct_RANLIB=ranlib +ac_cv_prog_ac_ct_STRIP=strip +ac_cv_prog_cc_g=yes +ac_cv_prog_cc_stdc= +ac_cv_prog_cxx_g=yes +ac_cv_prog_egrep='grep -E' +ac_cv_prog_f77_g=yes +ac_cv_prog_lex_root=lex.yy +ac_cv_prog_lex_yytext_pointer=yes +ac_cv_prog_make_make_set=yes +ac_cv_search_opendir='none required' +ac_cv_search_strerror='none required' +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_struct_tm=time.h +ac_cv_target=i486-pc-linux-gnu +ac_cv_target_alias=i486-linux-gnu +ac_cv_type_off_t=yes +ac_cv_type_pid_t=yes +ac_cv_type_size_t=yes +ac_cv_type_unsigned_int=yes +ac_cv_type_unsigned_long=yes +ac_cv_type_unsigned_long_long=yes +ac_cv_type_unsigned_short=yes +ac_cv_working_alloca_h=yes +acl_cv_hardcode_direct=no +acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' +acl_cv_hardcode_libdir_separator= +acl_cv_hardcode_minus_L=no +acl_cv_libext=a +acl_cv_path_LD=/usr/bin/ld +acl_cv_prog_gnu_ld=yes +acl_cv_rpath=done +acl_cv_shlibext=so +acl_cv_wl=-Wl, +am_cv_CC_dependencies_compiler_type=none +am_cv_CXX_dependencies_compiler_type=none +am_cv_func_iconv=yes +am_cv_langinfo_codeset=yes +am_cv_lib_iconv=no +am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);' +am_cv_proto_iconv_arg1= +am_cv_val_LC_MESSAGES=yes +gnupg_cv_typedef_u32=no +gt_cv_func_gnugettext1_libc=yes +gt_cv_header_inttypes_h=yes +gt_cv_int_divbyzero_sigfpe=yes +gt_cv_inttypes_pri_broken=no +jm_ac_cv_header_inttypes_h=yes +jm_ac_cv_header_stdint_h=yes +lt_cv_deplibs_check_method=pass_all +lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_ld_reload_flag=-r +lt_cv_objdir=.libs +lt_cv_path_LD=/usr/bin/ld +lt_cv_path_LDCXX=/usr/bin/ld +lt_cv_path_NM='/usr/bin/nm -B' +lt_cv_path_SED=/bin/sed +lt_cv_prog_compiler_c_o=yes +lt_cv_prog_compiler_c_o_CXX=yes +lt_cv_prog_compiler_c_o_F77=yes +lt_cv_prog_compiler_rtti_exceptions=no +lt_cv_prog_gnu_ld=yes +lt_cv_prog_gnu_ldcxx=yes +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' +lt_cv_sys_max_cmd_len=32768 +lt_lt_cv_prog_compiler_c_o='"yes"' +lt_lt_cv_prog_compiler_c_o_CXX='"yes"' +lt_lt_cv_prog_compiler_c_o_F77='"yes"' +lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\(\\)\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2\\3 \\3/p'\''"' +lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' +lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' +nls_cv_force_use_gnu_gettext=no +nls_cv_header_intl= +nls_cv_header_libgt= +nls_cv_use_gnu_gettext=no +sylpheed_cv_type_wint_t=yes + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +ACLOCAL='${SHELL} /home/steve/clam_patches/sylpheed-claws-1.0.5/config/missing --run aclocal-1.9 -I m4' +ALLOCA='' +AMDEPBACKSLASH='' +AMDEP_FALSE='' +AMDEP_TRUE='#' +AMTAR='${SHELL} /home/steve/clam_patches/sylpheed-claws-1.0.5/config/missing --run tar' +AR='ar' +ASPELL='' +ASPELL_CFLAGS='' +ASPELL_LIBS='' +ASPELL_PATH='' +AUTOCONF='${SHELL} /home/steve/clam_patches/sylpheed-claws-1.0.5/config/missing --run autoconf' +AUTOHEADER='${SHELL} /home/steve/clam_patches/sylpheed-claws-1.0.5/config/missing --run autoheader' +AUTOMAKE='${SHELL} /home/steve/clam_patches/sylpheed-claws-1.0.5/config/missing --run automake-1.9' +AWK='gawk' +BUILD_CLAMAV_PLUGIN_FALSE='' +BUILD_CLAMAV_PLUGIN_TRUE='' +BUILD_DEMO_PLUGIN_FALSE='' +BUILD_DEMO_PLUGIN_TRUE='' +BUILD_DILLO_VIEWER_PLUGIN_FALSE='' +BUILD_DILLO_VIEWER_PLUGIN_TRUE='' +BUILD_IMAGE_VIEWER_PLUGIN_FALSE='' +BUILD_IMAGE_VIEWER_PLUGIN_TRUE='' +BUILD_INCLUDED_LIBINTL='no' +BUILD_MATHML_VIEWER_PLUGIN_FALSE='' +BUILD_MATHML_VIEWER_PLUGIN_TRUE='' +BUILD_PGPMIME_PLUGIN_FALSE='' +BUILD_PGPMIME_PLUGIN_TRUE='' +BUILD_SPAMASSASSIN_PLUGIN_FALSE='' +BUILD_SPAMASSASSIN_PLUGIN_TRUE='' +BUILD_TRAYICON_PLUGIN_FALSE='' +BUILD_TRAYICON_PLUGIN_TRUE='' +CATOBJEXT='.gmo' +CC='cc' +CCDEPMODE='depmode=none' +CFLAGS='-g -Wall -O2' +CLAMAV_LIBS='' +COMPFACE_LIBS='' +CPP='cc -E' +CPPFLAGS='' +CRYPT_LIBS='' +CXX='g++' +CXXCPP='g++ -E' +CXXDEPMODE='depmode=none' +CXXFLAGS='-g -Wall -O2' +CYGPATH_W='echo' +DATADIRNAME='share' +DEFS='' +DEPDIR='.deps' +ECHO='echo' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EGREP='grep -E' +EXEEXT='' +EXTRA_VERSION='0' +F77='g77' +FFLAGS='-g -O2' +GDK_IMLIB_CFLAGS='' +GDK_IMLIB_LIBS='' +GDK_PIXBUF_CFLAGS='' +GDK_PIXBUF_CONFIG='' +GDK_PIXBUF_LIBS='' +GENCAT='gencat' +GLIBC21='yes' +GLIB_CFLAGS='' +GLIB_CONFIG='' +GLIB_LIBS='' +GMSGFMT='/usr/bin/msgfmt' +GNOME_CONFIG='no' +GPGME_CFLAGS='' +GPGME_CONFIG='' +GPGME_LIBS='' +GTK_CFLAGS='' +GTK_CONFIG='' +GTK_LIBS='' +GTK_MATH_VIEW_CFLAGS='' +GTK_MATH_VIEW_LIBS='' +IMLIB_CONFIG='' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' +INSTOBJEXT='.mo' +INTLBISON='bison' +INTLLIBS='' +INTLOBJS='' +INTL_LIBTOOL_SUFFIX_PREFIX='l' +JPILOT_LIBS='' +LDAP_LIBS='' +LDFLAGS='' +LEX='flex' +LEXLIB='-lfl' +LEX_OUTPUT_ROOT='lex.yy' +LIBICONV='' +LIBINTL='' +LIBOBJS='' +LIBS='' +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +LN_S='ln -s' +LTLIBICONV='' +LTLIBINTL='' +LTLIBOBJS='' +LT_AGE='0' +LT_CURRENT='5' +LT_RELEASE='1.0' +LT_REVISION='0' +MAINT='#' +MAINTAINER_MODE_FALSE='' +MAINTAINER_MODE_TRUE='#' +MAJOR_VERSION='1' +MAKEINFO='${SHELL} /home/steve/clam_patches/sylpheed-claws-1.0.5/config/missing --run makeinfo' +MICRO_VERSION='5' +MINOR_VERSION='0' +MKINSTALLDIRS='$(top_builddir)/config/mkinstalldirs' +MSGFMT='/usr/bin/msgfmt' +MSGMERGE='/usr/bin/msgmerge' +OBJEXT='o' +OPENSSL_CFLAGS='' +OPENSSL_LIBS='' +PACKAGE='sylpheed-claws' +PACKAGE_BUGREPORT='' +PACKAGE_NAME='' +PACKAGE_STRING='' +PACKAGE_TARNAME='' +PACKAGE_VERSION='' +PASSCRYPT_KEY='' +PATH_SEPARATOR=':' +PKG_CONFIG='' +POSUB='po' +PTHREAD_LIBS='' +RANLIB='ranlib' +SET_MAKE='' +SHELL='/bin/sh' +STARTUP_NOTIFICATION_CFLAGS='' +STARTUP_NOTIFICATION_LIBS='' +STRIP='strip' +SYLPHEED_GNOME_FALSE='' +SYLPHEED_GNOME_TRUE='#' +USE_INCLUDED_LIBINTL='no' +USE_NLS='yes' +VERSION='1.0.5' +XGETTEXT='/usr/bin/xgettext' +YACC='bison -y' +ac_ct_AR='ar' +ac_ct_CC='cc' +ac_ct_CXX='' +ac_ct_F77='g77' +ac_ct_RANLIB='ranlib' +ac_ct_STRIP='strip' +ac_cv_enable_crash_dialog='' +ac_pt_PKG_CONFIG='' +am__fastdepCC_FALSE='' +am__fastdepCC_TRUE='#' +am__fastdepCXX_FALSE='' +am__fastdepCXX_TRUE='#' +am__include='include' +am__leading_dot='.' +am__quote='' +am__tar='${AMTAR} chof - "$$tardir"' +am__untar='${AMTAR} xf -' +bindir='${exec_prefix}/bin' +build='i486-pc-linux-gnu' +build_alias='i486-linux-gnu' +build_cpu='i486' +build_os='linux-gnu' +build_vendor='pc' +datadir='${prefix}/share' +exec_prefix='NONE' +faqdir='${prefix}/${DATADIRNAME}/doc/sylpheed-doc/faq' +gnomedatadir='' +host='i486-pc-linux-gnu' +host_alias='' +host_cpu='i486' +host_os='linux-gnu' +host_vendor='pc' +includedir='${prefix}/include' +infodir='${prefix}/share/info' +install_sh='/home/steve/clam_patches/sylpheed-claws-1.0.5/config/install-sh' +libdir='${exec_prefix}/lib' +libexecdir='${prefix}/lib/sylpheed-claws' +localedir='${datadir}/locale' +localstatedir='/var' +mandir='${prefix}/share/man' +manualdir='${prefix}/${DATADIRNAME}/doc/sylpheed-doc/manual' +mkdir_p='mkdir -p --' +oldincludedir='/usr/include' +prefix='/usr' +program_transform_name='s,x,x,' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='/etc' +target='i486-pc-linux-gnu' +target_alias='' +target_cpu='i486' +target_os='linux-gnu' +target_vendor='pc' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +#define CLAWS 1 +#define ENABLE_NLS 1 +#define HAVE_ALLOCA 1 +#define HAVE_ALLOCA 1 +#define HAVE_ALLOCA_H 1 +#define HAVE_ALLOCA_H 1 +#define HAVE_ARGZ_H 1 +#define HAVE_DCGETTEXT 1 +#define HAVE_DIRENT_D_TYPE 1 +#define HAVE_DIRENT_H 1 +#define HAVE_DLFCN_H 1 +#define HAVE_FCHMOD 1 +#define HAVE_FCNTL_H 1 +#define HAVE_FEOF_UNLOCKED 1 +#define HAVE_FGETS_UNLOCKED 1 +#define HAVE_FLOCK 1 +#define HAVE_GETCWD 1 +#define HAVE_GETC_UNLOCKED 1 +#define HAVE_GETEGID 1 +#define HAVE_GETEUID 1 +#define HAVE_GETGID 1 +#define HAVE_GETHOSTNAME 1 +#define HAVE_GETPAGESIZE 1 +#define HAVE_GETTEXT 1 +#define HAVE_GETUID 1 +#define HAVE_ICONV 1 +#define HAVE_ICONV 1 +#define HAVE_INET_ADDR 1 +#define HAVE_INET_ATON 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_INTTYPES_H_WITH_UINTMAX 1 +#define HAVE_ISWALNUM 1 +#define HAVE_ISWSPACE 1 +#define HAVE_LANGINFO_CODESET 1 +#define HAVE_LC_MESSAGES 1 +#define HAVE_LIMITS_H 1 +#define HAVE_LOCALE_H 1 +#define HAVE_LOCALE_H 1 +#define HAVE_LOCKF 1 +#define HAVE_MALLOC_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_MEMPCPY 1 +#define HAVE_MKDIR 1 +#define HAVE_MKTIME 1 +#define HAVE_MMAP 1 +#define HAVE_MUNMAP 1 +#define HAVE_NL_TYPES_H 1 +#define HAVE_PATHS_H 1 +#define HAVE_PUTENV 1 +#define HAVE_SETENV 1 +#define HAVE_SETLOCALE 1 +#define HAVE_SOCKET 1 +#define HAVE_STDDEF_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_STDINT_H_WITH_UINTMAX 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STPCPY 1 +#define HAVE_STRCASECMP 1 +#define HAVE_STRCHR 1 +#define HAVE_STRDUP 1 +#define HAVE_STRINGS_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRING_H 1 +#define HAVE_STRSTR 1 +#define HAVE_STRTOUL 1 +#define HAVE_SYS_FILE_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_PARAM_H 1 +#define HAVE_SYS_SELECT_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_UTSNAME_H 1 +#define HAVE_SYS_WAIT_H 1 +#define HAVE_TOWLOWER 1 +#define HAVE_TSEARCH 1 +#define HAVE_UINTMAX_T 1 +#define HAVE_UNAME 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_UNSIGNED_LONG_LONG 1 +#define HAVE_WCHAR_H 1 +#define HAVE_WCSCPY 1 +#define HAVE_WCSLEN 1 +#define HAVE_WCSNCPY 1 +#define HAVE_WCSSTR 1 +#define HAVE_WCSWCS 1 +#define HAVE_WCTYPE_H 1 +#define HAVE___ARGZ_COUNT 1 +#define HAVE___ARGZ_NEXT 1 +#define HAVE___ARGZ_STRINGIFY 1 +#define HAVE___FSETLOCKING 1 +#define ICONV_CONST +#define ICONV_CONST +#define INTDIV0_RAISES_SIGFPE 1 +#define PACKAGE_BUGREPORT "" +#define PACKAGE_DATA_DIR "/usr/share/sylpheed-claws" +#define PACKAGE_NAME "" +#define PACKAGE_STRING "" +#define PACKAGE_TARNAME "" +#define PACKAGE_VERSION "" +#define SIZEOF_UNSIGNED_INT 4 +#define SIZEOF_UNSIGNED_LONG 4 +#define SIZEOF_UNSIGNED_SHORT 2 +#define STDC_HEADERS 1 +#define STDC_HEADERS 1 +#define YYTEXT_POINTER 1 +#endif +#ifdef __cplusplus +extern "C" void std::exit (int) throw (); using std::exit; + +configure: exit 1