diff --git a/config/options b/config/options index f1ad3221ba..eb2071241d 100644 --- a/config/options +++ b/config/options @@ -31,10 +31,6 @@ PROJECT_DIR="$ROOT/projects" # Target system library C (eglibc) TARGET_LIBC="eglibc" -# Target iconv implementation (libiconv) -# leave empty if we are using glibc's gconv - ICONV="" - # Library strip LIBSTRIP="yes" diff --git a/packages/3rdparty/lib/libxslt/build b/packages/3rdparty/lib/libxslt/build index e4897f7f61..c31feb4d6c 100755 --- a/packages/3rdparty/lib/libxslt/build +++ b/packages/3rdparty/lib/libxslt/build @@ -24,17 +24,12 @@ cd $PKG_BUILD -if [ "$ICONV" = "libiconv" ]; then - CONFIG_LIBXML="--with-iconv" -fi - ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ --prefix=/usr \ --sysconfdir=/etc \ --enable-static \ --disable-shared \ - $CONFIG_LIBXML \ --disable-ipv6 \ --without-python \ --without-crypto diff --git a/packages/3rdparty/lib/libxslt/meta b/packages/3rdparty/lib/libxslt/meta index 9f662864a4..5ba5a2471c 100644 --- a/packages/3rdparty/lib/libxslt/meta +++ b/packages/3rdparty/lib/libxslt/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="MIT" PKG_SITE="http://xmlsoft.org/xslt/" PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="$ICONV" -PKG_BUILD_DEPENDS="toolchain $ICONV" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" PKG_PRIORITY="optional" PKG_SECTION="textproc" PKG_SHORTDESC="libxslt" diff --git a/packages/3rdparty/multimedia/vdr/build b/packages/3rdparty/multimedia/vdr/build index d183d26f92..81fef1e4ca 100755 --- a/packages/3rdparty/multimedia/vdr/build +++ b/packages/3rdparty/multimedia/vdr/build @@ -39,12 +39,6 @@ NO_KBD=yes VDR_USER=root EOF -if [ "$ICONV" = "libiconv" ]; then -cat >> Make.config < sub/conftest.c -+ for i in 1 2 3 4 5 6; do -+ echo '#include "conftst'$i'.h"' >> sub/conftest.c -+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with -+ # Solaris 10 /bin/sh. -+ echo '/* dummy */' > sub/conftst$i.h -+ done -+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf -+ -+ # We check with '-c' and '-o' for the sake of the "dashmstdout" -+ # mode. It turns out that the SunPro C++ compiler does not properly -+ # handle '-M -o', and we need to detect this. Also, some Intel -+ # versions had trouble with output in subdirs. -+ am__obj=sub/conftest.${OBJEXT-o} -+ am__minus_obj="-o $am__obj" -+ case $depmode in -+ gcc) -+ # This depmode causes a compiler race in universal mode. -+ test "$am__universal" = false || continue -+ ;; -+ nosideeffect) -+ # After this tag, mechanisms are not by side-effect, so they'll -+ # only be used when explicitly requested. -+ if test "x$enable_dependency_tracking" = xyes; then -+ continue -+ else -+ break -+ fi -+ ;; -+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) -+ # This compiler won't grok '-c -o', but also, the minuso test has -+ # not run yet. These depmodes are late enough in the game, and -+ # so weak that their functioning should not be impacted. -+ am__obj=conftest.${OBJEXT-o} -+ am__minus_obj= -+ ;; -+ none) break ;; -+ esac -+ if depmode=$depmode \ -+ source=sub/conftest.c object=$am__obj \ -+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ -+ >/dev/null 2>conftest.err && -+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && -+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && -+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then -+ # icc doesn't choke on unknown options, it will just issue warnings -+ # or remarks (even with -Werror). So we grep stderr for any message -+ # that says an option was ignored or not supported. -+ # When given -MP, icc 7.0 and 7.1 complain thusly: -+ # icc: Command line warning: ignoring option '-M'; no argument required -+ # The diagnosis changed in icc 8.0: -+ # icc: Command line remark: option '-MP' not supported -+ if (grep 'ignoring option' conftest.err || -+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else -+ am_cv_$1_dependencies_compiler_type=$depmode -+ break -+ fi -+ fi -+ done -+ -+ cd .. -+ rm -rf conftest.dir -+else -+ am_cv_$1_dependencies_compiler_type=none -+fi -+]) -+AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) -+AM_CONDITIONAL([am__fastdep$1], [ -+ test "x$enable_dependency_tracking" != xno \ -+ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) -+]) -+ -+ -+# AM_SET_DEPDIR -+# ------------- -+# Choose a directory name for dependency files. -+# This macro is AC_REQUIREd in _AM_DEPENDENCIES. -+AC_DEFUN([AM_SET_DEPDIR], -+[AC_REQUIRE([AM_SET_LEADING_DOT])dnl -+AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl -+]) -+ -+ -+# AM_DEP_TRACK -+# ------------ -+AC_DEFUN([AM_DEP_TRACK], -+[AC_ARG_ENABLE([dependency-tracking], [dnl -+AS_HELP_STRING( -+ [--enable-dependency-tracking], -+ [do not reject slow dependency extractors]) -+AS_HELP_STRING( -+ [--disable-dependency-tracking], -+ [speeds up one-time build])]) -+if test "x$enable_dependency_tracking" != xno; then -+ am_depcomp="$ac_aux_dir/depcomp" -+ AMDEPBACKSLASH='\' -+ am__nodep='_no' -+fi -+AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) -+AC_SUBST([AMDEPBACKSLASH])dnl -+_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl -+AC_SUBST([am__nodep])dnl -+_AM_SUBST_NOTMAKE([am__nodep])dnl -+]) -+ -+# Generate code to set up dependency tracking. -*- Autoconf -*- -+ -+# Copyright (C) 1999-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 6 -+ -+# _AM_OUTPUT_DEPENDENCY_COMMANDS -+# ------------------------------ -+AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], -+[{ -+ # Autoconf 2.62 quotes --file arguments for eval, but not when files -+ # are listed without --file. Let's play safe and only enable the eval -+ # if we detect the quoting. -+ case $CONFIG_FILES in -+ *\'*) eval set x "$CONFIG_FILES" ;; -+ *) set x $CONFIG_FILES ;; -+ esac -+ shift -+ for mf -+ do -+ # Strip MF so we end up with the name of the file. -+ mf=`echo "$mf" | sed -e 's/:.*$//'` -+ # Check whether this is an Automake generated Makefile or not. -+ # We used to match only the files named 'Makefile.in', but -+ # some people rename them; so instead we look at the file content. -+ # Grep'ing the first line is not enough: some people post-process -+ # each Makefile.in and add a new line on top of each file to say so. -+ # Grep'ing the whole file is not good either: AIX grep has a line -+ # limit of 2048, but all sed's we know have understand at least 4000. -+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then -+ dirpart=`AS_DIRNAME("$mf")` -+ else -+ continue -+ fi -+ # Extract the definition of DEPDIR, am__include, and am__quote -+ # from the Makefile without running 'make'. -+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -+ test -z "$DEPDIR" && continue -+ am__include=`sed -n 's/^am__include = //p' < "$mf"` -+ test -z "am__include" && continue -+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -+ # Find all dependency output files, they are included files with -+ # $(DEPDIR) in their names. We invoke sed twice because it is the -+ # simplest approach to changing $(DEPDIR) to its actual value in the -+ # expansion. -+ for file in `sed -n " -+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do -+ # Make sure the directory exists. -+ test -f "$dirpart/$file" && continue -+ fdir=`AS_DIRNAME(["$file"])` -+ AS_MKDIR_P([$dirpart/$fdir]) -+ # echo "creating $dirpart/$file" -+ echo '# dummy' > "$dirpart/$file" -+ done -+ done -+} -+])# _AM_OUTPUT_DEPENDENCY_COMMANDS -+ -+ -+# AM_OUTPUT_DEPENDENCY_COMMANDS -+# ----------------------------- -+# This macro should only be invoked once -- use via AC_REQUIRE. -+# -+# This code is only required when automatic dependency tracking -+# is enabled. FIXME. This creates each '.P' file that we will -+# need in order to bootstrap the dependency handling code. -+AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], -+[AC_CONFIG_COMMANDS([depfiles], -+ [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], -+ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) -+]) -+ -+# Do all the work for Automake. -*- Autoconf -*- -+ -+# Copyright (C) 1996-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 19 -+ -+# This macro actually does too much. Some checks are only needed if -+# your package does certain things. But this isn't really a big deal. -+ -+# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) -+# AM_INIT_AUTOMAKE([OPTIONS]) -+# ----------------------------------------------- -+# The call with PACKAGE and VERSION arguments is the old style -+# call (pre autoconf-2.50), which is being phased out. PACKAGE -+# and VERSION should now be passed to AC_INIT and removed from -+# the call to AM_INIT_AUTOMAKE. -+# We support both call styles for the transition. After -+# the next Automake release, Autoconf can make the AC_INIT -+# arguments mandatory, and then we can depend on a new Autoconf -+# release and drop the old call support. -+AC_DEFUN([AM_INIT_AUTOMAKE], -+[AC_PREREQ([2.62])dnl -+dnl Autoconf wants to disallow AM_ names. We explicitly allow -+dnl the ones we care about. -+m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl -+AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl -+AC_REQUIRE([AC_PROG_INSTALL])dnl -+if test "`cd $srcdir && pwd`" != "`pwd`"; then -+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output -+ # is not polluted with repeated "-I." -+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl -+ # test to see if srcdir already configured -+ if test -f $srcdir/config.status; then -+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) -+ fi -+fi -+ -+# test whether we have cygpath -+if test -z "$CYGPATH_W"; then -+ if (cygpath --version) >/dev/null 2>/dev/null; then -+ CYGPATH_W='cygpath -w' -+ else -+ CYGPATH_W=echo -+ fi -+fi -+AC_SUBST([CYGPATH_W]) -+ -+# Define the identity of the package. -+dnl Distinguish between old-style and new-style calls. -+m4_ifval([$2], -+[AC_DIAGNOSE([obsolete], -+[$0: two- and three-arguments forms are deprecated. For more info, see: -+http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation]) -+m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl -+ AC_SUBST([PACKAGE], [$1])dnl -+ AC_SUBST([VERSION], [$2])], -+[_AM_SET_OPTIONS([$1])dnl -+dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. -+m4_if( -+ m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), -+ [ok:ok],, -+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl -+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl -+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl -+ -+_AM_IF_OPTION([no-define],, -+[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) -+ AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl -+ -+# Some tools Automake needs. -+AC_REQUIRE([AM_SANITY_CHECK])dnl -+AC_REQUIRE([AC_ARG_PROGRAM])dnl -+AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) -+AM_MISSING_PROG([AUTOCONF], [autoconf]) -+AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) -+AM_MISSING_PROG([AUTOHEADER], [autoheader]) -+AM_MISSING_PROG([MAKEINFO], [makeinfo]) -+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl -+AC_REQUIRE([AC_PROG_MKDIR_P])dnl -+# For better backward compatibility. To be removed once Automake 1.9.x -+# dies out for good. For more background, see: -+# -+# -+AC_SUBST([mkdir_p], ['$(MKDIR_P)']) -+# We need awk for the "check" target. The system "awk" is bad on -+# some platforms. -+AC_REQUIRE([AC_PROG_AWK])dnl -+AC_REQUIRE([AC_PROG_MAKE_SET])dnl -+AC_REQUIRE([AM_SET_LEADING_DOT])dnl -+_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], -+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], -+ [_AM_PROG_TAR([v7])])]) -+_AM_IF_OPTION([no-dependencies],, -+[AC_PROVIDE_IFELSE([AC_PROG_CC], -+ [_AM_DEPENDENCIES([CC])], -+ [m4_define([AC_PROG_CC], -+ m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl -+AC_PROVIDE_IFELSE([AC_PROG_CXX], -+ [_AM_DEPENDENCIES([CXX])], -+ [m4_define([AC_PROG_CXX], -+ m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl -+AC_PROVIDE_IFELSE([AC_PROG_OBJC], -+ [_AM_DEPENDENCIES([OBJC])], -+ [m4_define([AC_PROG_OBJC], -+ m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl -+dnl Support for Objective C++ was only introduced in Autoconf 2.65, -+dnl but we still cater to Autoconf 2.62. -+m4_ifdef([AC_PROG_OBJCXX], -+[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], -+ [_AM_DEPENDENCIES([OBJCXX])], -+ [m4_define([AC_PROG_OBJCXX], -+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl -+]) -+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl -+dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the -+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro -+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. -+AC_CONFIG_COMMANDS_PRE(dnl -+[m4_provide_if([_AM_COMPILER_EXEEXT], -+ [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl -+]) -+ -+dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not -+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further -+dnl mangled by Autoconf and run in a shell conditional statement. -+m4_define([_AC_COMPILER_EXEEXT], -+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) -+ -+ -+# When config.status generates a header, we must update the stamp-h file. -+# This file resides in the same directory as the config header -+# that is generated. The stamp files are numbered to have different names. -+ -+# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the -+# loop where config.status creates the headers, so we can generate -+# our stamp files there. -+AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], -+[# Compute $1's index in $config_headers. -+_am_arg=$1 -+_am_stamp_count=1 -+for _am_header in $config_headers :; do -+ case $_am_header in -+ $_am_arg | $_am_arg:* ) -+ break ;; -+ * ) -+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; -+ esac -+done -+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) -+ -+# Copyright (C) 2001-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 8 -+ -+# AM_PROG_INSTALL_SH -+# ------------------ -+# Define $install_sh. -+AC_DEFUN([AM_PROG_INSTALL_SH], -+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -+if test x"${install_sh}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; -+ *) -+ install_sh="\${SHELL} $am_aux_dir/install-sh" -+ esac -+fi -+AC_SUBST([install_sh])]) -+ -+# Copyright (C) 2003-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 2 -+ -+# Check whether the underlying file-system supports filenames -+# with a leading dot. For instance MS-DOS doesn't. -+AC_DEFUN([AM_SET_LEADING_DOT], -+[rm -rf .tst 2>/dev/null -+mkdir .tst 2>/dev/null -+if test -d .tst; then -+ am__leading_dot=. -+else -+ am__leading_dot=_ -+fi -+rmdir .tst 2>/dev/null -+AC_SUBST([am__leading_dot])]) -+ -+# Check to see how 'make' treats includes. -*- Autoconf -*- -+ -+# Copyright (C) 2001-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 5 -+ -+# AM_MAKE_INCLUDE() -+# ----------------- -+# Check to see how make treats includes. -+AC_DEFUN([AM_MAKE_INCLUDE], -+[am_make=${MAKE-make} -+cat > confinc << 'END' -+am__doit: -+ @echo this is the am__doit target -+.PHONY: am__doit -+END -+# If we don't find an include directive, just comment out the code. -+AC_MSG_CHECKING([for style of include used by $am_make]) -+am__include="#" -+am__quote= -+_am_result=none -+# First try GNU make style include. -+echo "include confinc" > confmf -+# Ignore all kinds of additional output from 'make'. -+case `$am_make -s -f confmf 2> /dev/null` in #( -+*the\ am__doit\ target*) -+ am__include=include -+ am__quote= -+ _am_result=GNU -+ ;; -+esac -+# Now try BSD make style include. -+if test "$am__include" = "#"; then -+ echo '.include "confinc"' > confmf -+ case `$am_make -s -f confmf 2> /dev/null` in #( -+ *the\ am__doit\ target*) -+ am__include=.include -+ am__quote="\"" -+ _am_result=BSD -+ ;; -+ esac -+fi -+AC_SUBST([am__include]) -+AC_SUBST([am__quote]) -+AC_MSG_RESULT([$_am_result]) -+rm -f confinc confmf -+]) -+ -+# Copyright (C) 1999-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 6 -+ -+# AM_PROG_CC_C_O -+# -------------- -+# Like AC_PROG_CC_C_O, but changed for automake. -+AC_DEFUN([AM_PROG_CC_C_O], -+[AC_REQUIRE([AC_PROG_CC_C_O])dnl -+AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -+AC_REQUIRE_AUX_FILE([compile])dnl -+# FIXME: we rely on the cache variable name because -+# there is no other way. -+set dummy $CC -+am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` -+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o -+if test "$am_t" != yes; then -+ # Losing compiler, so override with the script. -+ # FIXME: It is wrong to rewrite CC. -+ # But if we don't then we get into trouble of one sort or another. -+ # A longer-term fix would be to have automake use am__CC in this case, -+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" -+ CC="$am_aux_dir/compile $CC" -+fi -+dnl Make sure AC_PROG_CC is never called again, or it will override our -+dnl setting of CC. -+m4_define([AC_PROG_CC], -+ [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) -+]) -+ -+# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -+ -+# Copyright (C) 1997-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 7 -+ -+# AM_MISSING_PROG(NAME, PROGRAM) -+# ------------------------------ -+AC_DEFUN([AM_MISSING_PROG], -+[AC_REQUIRE([AM_MISSING_HAS_RUN]) -+$1=${$1-"${am_missing_run}$2"} -+AC_SUBST($1)]) -+ -+ -+# AM_MISSING_HAS_RUN -+# ------------------ -+# Define MISSING if not defined so far and test if it supports --run. -+# If it does, set am_missing_run to use it, otherwise, to nothing. -+AC_DEFUN([AM_MISSING_HAS_RUN], -+[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl -+AC_REQUIRE_AUX_FILE([missing])dnl -+if test x"${MISSING+set}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; -+ *) -+ MISSING="\${SHELL} $am_aux_dir/missing" ;; -+ esac -+fi -+# Use eval to expand $SHELL -+if eval "$MISSING --run true"; then -+ am_missing_run="$MISSING --run " -+else -+ am_missing_run= -+ AC_MSG_WARN(['missing' script is too old or missing]) -+fi -+]) -+ -+# Helper functions for option handling. -*- Autoconf -*- -+ -+# Copyright (C) 2001-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 6 -+ -+# _AM_MANGLE_OPTION(NAME) -+# ----------------------- -+AC_DEFUN([_AM_MANGLE_OPTION], -+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) -+ -+# _AM_SET_OPTION(NAME) -+# -------------------- -+# Set option NAME. Presently that only means defining a flag for this option. -+AC_DEFUN([_AM_SET_OPTION], -+[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) -+ -+# _AM_SET_OPTIONS(OPTIONS) -+# ------------------------ -+# OPTIONS is a space-separated list of Automake options. -+AC_DEFUN([_AM_SET_OPTIONS], -+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) -+ -+# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) -+# ------------------------------------------- -+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. -+AC_DEFUN([_AM_IF_OPTION], -+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -+ -+# Check to make sure that the build environment is sane. -*- Autoconf -*- -+ -+# Copyright (C) 1996-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 9 -+ -+# AM_SANITY_CHECK -+# --------------- -+AC_DEFUN([AM_SANITY_CHECK], -+[AC_MSG_CHECKING([whether build environment is sane]) -+# Reject unsafe characters in $srcdir or the absolute working directory -+# name. Accept space and tab only in the latter. -+am_lf=' -+' -+case `pwd` in -+ *[[\\\"\#\$\&\'\`$am_lf]]*) -+ AC_MSG_ERROR([unsafe absolute working directory name]);; -+esac -+case $srcdir in -+ *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) -+ AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; -+esac -+ -+# Do 'set' in a subshell so we don't clobber the current shell's -+# arguments. Must try -L first in case configure is actually a -+# symlink; some systems play weird games with the mod time of symlinks -+# (eg FreeBSD returns the mod time of the symlink's containing -+# directory). -+if ( -+ am_has_slept=no -+ for am_try in 1 2; do -+ echo "timestamp, slept: $am_has_slept" > conftest.file -+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` -+ if test "$[*]" = "X"; then -+ # -L didn't work. -+ set X `ls -t "$srcdir/configure" conftest.file` -+ fi -+ if test "$[*]" != "X $srcdir/configure conftest.file" \ -+ && test "$[*]" != "X conftest.file $srcdir/configure"; then -+ -+ # If neither matched, then we have a broken ls. This can happen -+ # if, for instance, CONFIG_SHELL is bash and it inherits a -+ # broken ls alias from the environment. This has actually -+ # happened. Such a system could not be considered "sane". -+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken -+ alias in your environment]) -+ fi -+ if test "$[2]" = conftest.file || test $am_try -eq 2; then -+ break -+ fi -+ # Just in case. -+ sleep 1 -+ am_has_slept=yes -+ done -+ test "$[2]" = conftest.file -+ ) -+then -+ # Ok. -+ : -+else -+ AC_MSG_ERROR([newly created file is older than distributed files! -+Check your system clock]) -+fi -+AC_MSG_RESULT([yes]) -+# If we didn't sleep, we still need to ensure time stamps of config.status and -+# generated files are strictly newer. -+am_sleep_pid= -+if grep 'slept: no' conftest.file >/dev/null 2>&1; then -+ ( sleep 1 ) & -+ am_sleep_pid=$! -+fi -+AC_CONFIG_COMMANDS_PRE( -+ [AC_MSG_CHECKING([that generated files are newer than configure]) -+ if test -n "$am_sleep_pid"; then -+ # Hide warnings about reused PIDs. -+ wait $am_sleep_pid 2>/dev/null -+ fi -+ AC_MSG_RESULT([done])]) -+rm -f conftest.file -+]) -+ -+# Copyright (C) 2001-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 2 -+ -+# AM_PROG_INSTALL_STRIP -+# --------------------- -+# One issue with vendor 'install' (even GNU) is that you can't -+# specify the program used to strip binaries. This is especially -+# annoying in cross-compiling environments, where the build's strip -+# is unlikely to handle the host's binaries. -+# Fortunately install-sh will honor a STRIPPROG variable, so we -+# always use install-sh in "make install-strip", and initialize -+# STRIPPROG with the value of the STRIP variable (set by the user). -+AC_DEFUN([AM_PROG_INSTALL_STRIP], -+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl -+# Installed binaries are usually stripped using 'strip' when the user -+# run "make install-strip". However 'strip' might not be the right -+# tool to use in cross-compilation environments, therefore Automake -+# will honor the 'STRIP' environment variable to overrule this program. -+dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. -+if test "$cross_compiling" != no; then -+ AC_CHECK_TOOL([STRIP], [strip], :) -+fi -+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -+AC_SUBST([INSTALL_STRIP_PROGRAM])]) -+ -+# Copyright (C) 2006-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 3 -+ -+# _AM_SUBST_NOTMAKE(VARIABLE) -+# --------------------------- -+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. -+# This macro is traced by Automake. -+AC_DEFUN([_AM_SUBST_NOTMAKE]) -+ -+# AM_SUBST_NOTMAKE(VARIABLE) -+# -------------------------- -+# Public sister of _AM_SUBST_NOTMAKE. -+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) -+ -+# Check how to create a tarball. -*- Autoconf -*- -+ -+# Copyright (C) 2004-2012 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 3 -+ -+# _AM_PROG_TAR(FORMAT) -+# -------------------- -+# Check how to create a tarball in format FORMAT. -+# FORMAT should be one of 'v7', 'ustar', or 'pax'. -+# -+# Substitute a variable $(am__tar) that is a command -+# writing to stdout a FORMAT-tarball containing the directory -+# $tardir. -+# tardir=directory && $(am__tar) > result.tar -+# -+# Substitute a variable $(am__untar) that extract such -+# a tarball read from stdin. -+# $(am__untar) < result.tar -+AC_DEFUN([_AM_PROG_TAR], -+[# Always define AMTAR for backward compatibility. Yes, it's still used -+# in the wild :-( We should find a proper way to deprecate it ... -+AC_SUBST([AMTAR], ['$${TAR-tar}']) -+m4_if([$1], [v7], -+ [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], -+ [m4_case([$1], [ustar],, [pax],, -+ [m4_fatal([Unknown tar format])]) -+AC_MSG_CHECKING([how to create a $1 tar archive]) -+# Loop over all known methods to create a tar archive until one works. -+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' -+_am_tools=${am_cv_prog_tar_$1-$_am_tools} -+# Do not fold the above two line into one, because Tru64 sh and -+# Solaris sh will not grok spaces in the rhs of '-'. -+for _am_tool in $_am_tools -+do -+ case $_am_tool in -+ gnutar) -+ for _am_tar in tar gnutar gtar; -+ do -+ AM_RUN_LOG([$_am_tar --version]) && break -+ done -+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' -+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' -+ am__untar="$_am_tar -xf -" -+ ;; -+ plaintar) -+ # Must skip GNU tar: if it does not support --format= it doesn't create -+ # ustar tarball either. -+ (tar --version) >/dev/null 2>&1 && continue -+ am__tar='tar chf - "$$tardir"' -+ am__tar_='tar chf - "$tardir"' -+ am__untar='tar xf -' -+ ;; -+ pax) -+ am__tar='pax -L -x $1 -w "$$tardir"' -+ am__tar_='pax -L -x $1 -w "$tardir"' -+ am__untar='pax -r' -+ ;; -+ cpio) -+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L' -+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L' -+ am__untar='cpio -i -H $1 -d' -+ ;; -+ none) -+ am__tar=false -+ am__tar_=false -+ am__untar=false -+ ;; -+ esac -+ -+ # If the value was cached, stop now. We just wanted to have am__tar -+ # and am__untar set. -+ test -n "${am_cv_prog_tar_$1}" && break -+ -+ # tar/untar a dummy directory, and stop if the command works -+ rm -rf conftest.dir -+ mkdir conftest.dir -+ echo GrepMe > conftest.dir/file -+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) -+ rm -rf conftest.dir -+ if test -s conftest.tar; then -+ AM_RUN_LOG([$am__untar /dev/null 2>&1 && break -+ fi -+done -+rm -rf conftest.dir -+ -+AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) -+AC_MSG_RESULT([$am_cv_prog_tar_$1])]) -+AC_SUBST([am__tar]) -+AC_SUBST([am__untar]) -+]) # _AM_PROG_TAR -+ -+m4_include([srcm4/00gnulib.m4]) -+m4_include([srcm4/alloca.m4]) -+m4_include([srcm4/asm-underscore.m4]) -+m4_include([srcm4/canonicalize.m4]) -+m4_include([srcm4/codeset.m4]) -+m4_include([srcm4/double-slash-root.m4]) -+m4_include([srcm4/eealloc.m4]) -+m4_include([srcm4/environ.m4]) -+m4_include([srcm4/errno_h.m4]) -+m4_include([srcm4/error.m4]) -+m4_include([srcm4/extensions.m4]) -+m4_include([srcm4/extern-inline.m4]) -+m4_include([srcm4/fcntl_h.m4]) -+m4_include([srcm4/gettext.m4]) -+m4_include([srcm4/gnulib-common.m4]) -+m4_include([srcm4/gnulib-comp.m4]) -+m4_include([srcm4/iconv.m4]) -+m4_include([srcm4/include_next.m4]) -+m4_include([srcm4/intlmacosx.m4]) -+m4_include([srcm4/largefile.m4]) -+m4_include([srcm4/lib-ld.m4]) -+m4_include([srcm4/lib-link.m4]) -+m4_include([srcm4/lib-prefix.m4]) -+m4_include([srcm4/libunistring-base.m4]) -+m4_include([srcm4/longlong.m4]) -+m4_include([srcm4/lstat.m4]) -+m4_include([srcm4/malloca.m4]) -+m4_include([srcm4/mbstate_t.m4]) -+m4_include([srcm4/memmove.m4]) -+m4_include([srcm4/msvc-inval.m4]) -+m4_include([srcm4/msvc-nothrow.m4]) -+m4_include([srcm4/multiarch.m4]) -+m4_include([srcm4/nls.m4]) -+m4_include([srcm4/nocrash.m4]) -+m4_include([srcm4/off_t.m4]) -+m4_include([srcm4/pathmax.m4]) -+m4_include([srcm4/po.m4]) -+m4_include([srcm4/progtest.m4]) -+m4_include([srcm4/raise.m4]) -+m4_include([srcm4/read.m4]) -+m4_include([srcm4/readlink.m4]) -+m4_include([srcm4/relocatable-lib.m4]) -+m4_include([srcm4/relocatable.m4]) -+m4_include([srcm4/safe-read.m4]) -+m4_include([srcm4/setenv.m4]) -+m4_include([srcm4/signal_h.m4]) -+m4_include([srcm4/signalblocking.m4]) -+m4_include([srcm4/sigpipe.m4]) -+m4_include([srcm4/ssize_t.m4]) -+m4_include([srcm4/stat.m4]) -+m4_include([srcm4/stdbool.m4]) -+m4_include([srcm4/stddef_h.m4]) -+m4_include([srcm4/stdint.m4]) -+m4_include([srcm4/stdio_h.m4]) -+m4_include([srcm4/stdlib_h.m4]) -+m4_include([srcm4/strerror.m4]) -+m4_include([srcm4/string_h.m4]) -+m4_include([srcm4/sys_socket_h.m4]) -+m4_include([srcm4/sys_stat_h.m4]) -+m4_include([srcm4/sys_types_h.m4]) -+m4_include([srcm4/time_h.m4]) -+m4_include([srcm4/unistd_h.m4]) -+m4_include([srcm4/unlocked-io.m4]) -+m4_include([srcm4/visibility.m4]) -+m4_include([srcm4/warn-on-use.m4]) -+m4_include([srcm4/wchar_t.m4]) -+m4_include([m4/cp.m4]) -+m4_include([m4/eilseq.m4]) -+m4_include([m4/endian.m4]) -+m4_include([m4/fcntl-o.m4]) -+m4_include([m4/libtool.m4]) -+m4_include([m4/ln.m4]) -+m4_include([m4/ltoptions.m4]) -+m4_include([m4/ltsugar.m4]) -+m4_include([m4/ltversion.m4]) -+m4_include([m4/lt~obsolete.m4]) -diff -Naur libiconv-20130504/build-aux/config.libpath libiconv-20130504.patch/build-aux/config.libpath ---- libiconv-20130504/build-aux/config.libpath 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/build-aux/config.libpath 2013-05-04 10:20:07.495699178 +0200 -@@ -0,0 +1,152 @@ -+#! /bin/sh -+# Output a system dependent set of variables, describing how to set the -+# run time search path of shared libraries in an executable at run time. -+# -+# Copyright 1996-2013 Free Software Foundation, Inc. -+# Taken from GNU libtool, 2003 -+# 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 3 of the License, or -+# (at your option) any later version. -+# -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with this program. If not, see . -+# -+# As a special exception to the GNU General Public License, if you -+# distribute this file as part of a program that contains a -+# configuration script generated by Autoconf, you may include it under -+# the same distribution terms that you use for the rest of that program. -+# -+# The first argument passed to this file is the canonical host specification, -+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -+# or -+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -+# The environment variable LD should be set by the caller. -+# -+# The set of defined variables is at the end of this script. -+ -+host="$1" -+host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+ -+shlibpath_var= -+case $host_os in -+ aix3*) -+ shlibpath_var=LIBPATH -+ ;; -+ aix[4-9]*) -+ if test "$host_cpu" = ia64; then -+ # AIX 5 supports IA64 -+ shlibpath_var=LD_LIBRARY_PATH -+ else -+ shlibpath_var=LIBPATH -+ fi -+ ;; -+ beos*) -+ shlibpath_var=LIBRARY_PATH -+ ;; -+ bsdi[45]*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ cygwin* | mingw* | pw32* | cegcc*) -+ # FIXME: first we should search . and the directory the executable is in -+ shlibpath_var=PATH -+ ;; -+ darwin* | rhapsody*) -+ shlibpath_var=DYLD_LIBRARY_PATH -+ ;; -+ dgux*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ freebsd* | dragonfly*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ gnu*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ hpux9* | hpux10* | hpux11*) -+ case "$host_cpu" in -+ ia64* | hppa*64*) shlibpath_var=LD_LIBRARY_PATH ;; -+ *) shlibpath_var=SHLIB_PATH ;; -+ esac -+ ;; -+ interix[3-9]*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ irix5* | irix6* | nonstopux*) -+ case $host_os in -+ irix5* | nonstopux*) -+ shlibsuff= -+ ;; -+ *) -+ case $LD in # libtool.m4 will add one of these switches to LD -+ *-32|*"-32 ") shlibsuff= ;; -+ *-n32|*"-n32 ") shlibsuff=N32 ;; -+ *-64|*"-64 ") shlibsuff=64 ;; -+ *) shlibsuff= ;; -+ esac -+ ;; -+ esac -+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH -+ ;; -+ linux*oldld* | linux*aout* | linux*coff*) -+ ;; -+ linux* | k*bsd*-gnu) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ netbsd*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ newsos6) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ nto-qnx*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ openbsd*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ os2*) -+ shlibpath_var=LIBPATH -+ ;; -+ osf3* | osf4* | osf5*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ rdos*) -+ ;; -+ solaris*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ sunos4*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ sysv4 | sysv4.3*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ sysv4*MP*) -+ if test -d /usr/nec ;then -+ shlibpath_var=LD_LIBRARY_PATH -+ fi -+ ;; -+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ uts4*) -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+esac -+ -+LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <, 1996 -+# -+# This file is free software; the Free Software Foundation gives -+# unlimited permission to copy and/or distribute it, with or without -+# modifications, as long as this notice is preserved. -+# -+# The first argument passed to this file is the canonical host specification, -+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -+# or -+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -+# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld -+# should be set by the caller. -+# -+# The set of defined variables is at the end of this script. -+ -+# Known limitations: -+# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer -+# than 256 bytes, otherwise the compiler driver will dump core. The only -+# known workaround is to choose shorter directory names for the build -+# directory and/or the installation directory. -+ -+# All known linkers require a '.a' archive for static linking (except MSVC, -+# which needs '.lib'). -+libext=a -+shrext=.so -+ -+host="$1" -+host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+ -+# Code taken from libtool.m4's _LT_CC_BASENAME. -+ -+for cc_temp in $CC""; do -+ case $cc_temp in -+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; -+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; -+ \-*) ;; -+ *) break;; -+ esac -+done -+cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'` -+ -+# Code taken from libtool.m4's _LT_COMPILER_PIC. -+ -+wl= -+if test "$GCC" = yes; then -+ wl='-Wl,' -+else -+ case "$host_os" in -+ aix*) -+ wl='-Wl,' -+ ;; -+ mingw* | cygwin* | pw32* | os2* | cegcc*) -+ ;; -+ hpux9* | hpux10* | hpux11*) -+ wl='-Wl,' -+ ;; -+ irix5* | irix6* | nonstopux*) -+ wl='-Wl,' -+ ;; -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ case $cc_basename in -+ ecc*) -+ wl='-Wl,' -+ ;; -+ icc* | ifort*) -+ wl='-Wl,' -+ ;; -+ lf95*) -+ wl='-Wl,' -+ ;; -+ nagfor*) -+ wl='-Wl,-Wl,,' -+ ;; -+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) -+ wl='-Wl,' -+ ;; -+ ccc*) -+ wl='-Wl,' -+ ;; -+ xl* | bgxl* | bgf* | mpixl*) -+ wl='-Wl,' -+ ;; -+ como) -+ wl='-lopt=' -+ ;; -+ *) -+ case `$CC -V 2>&1 | sed 5q` in -+ *Sun\ F* | *Sun*Fortran*) -+ wl= -+ ;; -+ *Sun\ C*) -+ wl='-Wl,' -+ ;; -+ esac -+ ;; -+ esac -+ ;; -+ newsos6) -+ ;; -+ *nto* | *qnx*) -+ ;; -+ osf3* | osf4* | osf5*) -+ wl='-Wl,' -+ ;; -+ rdos*) -+ ;; -+ solaris*) -+ case $cc_basename in -+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) -+ wl='-Qoption ld ' -+ ;; -+ *) -+ wl='-Wl,' -+ ;; -+ esac -+ ;; -+ sunos4*) -+ wl='-Qoption ld ' -+ ;; -+ sysv4 | sysv4.2uw2* | sysv4.3*) -+ wl='-Wl,' -+ ;; -+ sysv4*MP*) -+ ;; -+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) -+ wl='-Wl,' -+ ;; -+ unicos*) -+ wl='-Wl,' -+ ;; -+ uts4*) -+ ;; -+ esac -+fi -+ -+# Code taken from libtool.m4's _LT_LINKER_SHLIBS. -+ -+hardcode_libdir_flag_spec= -+hardcode_libdir_separator= -+hardcode_direct=no -+hardcode_minus_L=no -+ -+case "$host_os" in -+ cygwin* | mingw* | pw32* | cegcc*) -+ # FIXME: the MSVC++ port hasn't been tested in a loooong time -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ if test "$GCC" != yes; then -+ with_gnu_ld=no -+ fi -+ ;; -+ interix*) -+ # we just hope/assume this is gcc and not c89 (= MSVC++) -+ with_gnu_ld=yes -+ ;; -+ openbsd*) -+ with_gnu_ld=no -+ ;; -+esac -+ -+ld_shlibs=yes -+if test "$with_gnu_ld" = yes; then -+ # Set some defaults for GNU ld with shared library support. These -+ # are reset later if shared libraries are not supported. Putting them -+ # here allows them to be overridden if necessary. -+ # Unlike libtool, we use -rpath here, not --rpath, since the documented -+ # option of GNU ld is called -rpath, not --rpath. -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ case "$host_os" in -+ aix[3-9]*) -+ # On AIX/PPC, the GNU linker is very broken -+ if test "$host_cpu" != ia64; then -+ ld_shlibs=no -+ fi -+ ;; -+ amigaos*) -+ case "$host_cpu" in -+ powerpc) -+ ;; -+ m68k) -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ beos*) -+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -+ : -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ cygwin* | mingw* | pw32* | cegcc*) -+ # hardcode_libdir_flag_spec is actually meaningless, as there is -+ # no search path for DLLs. -+ hardcode_libdir_flag_spec='-L$libdir' -+ if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then -+ : -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ haiku*) -+ ;; -+ interix[3-9]*) -+ hardcode_direct=no -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ ;; -+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) -+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -+ : -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ netbsd*) -+ ;; -+ solaris*) -+ if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then -+ ld_shlibs=no -+ elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -+ : -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) -+ case `$LD -v 2>&1` in -+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) -+ ld_shlibs=no -+ ;; -+ *) -+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ ;; -+ sunos4*) -+ hardcode_direct=yes -+ ;; -+ *) -+ if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then -+ : -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ if test "$ld_shlibs" = no; then -+ hardcode_libdir_flag_spec= -+ fi -+else -+ case "$host_os" in -+ aix3*) -+ # Note: this linker hardcodes the directories in LIBPATH if there -+ # are no directories specified by -L. -+ hardcode_minus_L=yes -+ if test "$GCC" = yes; then -+ # Neither direct hardcoding nor static linking is supported with a -+ # broken collect2. -+ hardcode_direct=unsupported -+ fi -+ ;; -+ aix[4-9]*) -+ if test "$host_cpu" = ia64; then -+ # On IA64, the linker does run time linking by default, so we don't -+ # have to do anything special. -+ aix_use_runtimelinking=no -+ else -+ aix_use_runtimelinking=no -+ # Test if we are trying to use run time linking or normal -+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we -+ # need to do runtime linking. -+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) -+ for ld_flag in $LDFLAGS; do -+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then -+ aix_use_runtimelinking=yes -+ break -+ fi -+ done -+ ;; -+ esac -+ fi -+ hardcode_direct=yes -+ hardcode_libdir_separator=':' -+ if test "$GCC" = yes; then -+ case $host_os in aix4.[012]|aix4.[012].*) -+ collect2name=`${CC} -print-prog-name=collect2` -+ if test -f "$collect2name" && \ -+ strings "$collect2name" | grep resolve_lib_name >/dev/null -+ then -+ # We have reworked collect2 -+ : -+ else -+ # We have old collect2 -+ hardcode_direct=unsupported -+ hardcode_minus_L=yes -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_libdir_separator= -+ fi -+ ;; -+ esac -+ fi -+ # Begin _LT_AC_SYS_LIBPATH_AIX. -+ echo 'int main () { return 0; }' > conftest.c -+ ${CC} ${LDFLAGS} conftest.c -o conftest -+ aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } -+}'` -+ if test -z "$aix_libpath"; then -+ aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } -+}'` -+ fi -+ if test -z "$aix_libpath"; then -+ aix_libpath="/usr/lib:/lib" -+ fi -+ rm -f conftest.c conftest -+ # End _LT_AC_SYS_LIBPATH_AIX. -+ if test "$aix_use_runtimelinking" = yes; then -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ else -+ if test "$host_cpu" = ia64; then -+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' -+ else -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ fi -+ fi -+ ;; -+ amigaos*) -+ case "$host_cpu" in -+ powerpc) -+ ;; -+ m68k) -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ bsdi[45]*) -+ ;; -+ cygwin* | mingw* | pw32* | cegcc*) -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ # hardcode_libdir_flag_spec is actually meaningless, as there is -+ # no search path for DLLs. -+ hardcode_libdir_flag_spec=' ' -+ libext=lib -+ ;; -+ darwin* | rhapsody*) -+ hardcode_direct=no -+ if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then -+ : -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ dgux*) -+ hardcode_libdir_flag_spec='-L$libdir' -+ ;; -+ freebsd2.2*) -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ ;; -+ freebsd2*) -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ ;; -+ freebsd* | dragonfly*) -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ ;; -+ hpux9*) -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ ;; -+ hpux10*) -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ fi -+ ;; -+ hpux11*) -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ case $host_cpu in -+ hppa*64*|ia64*) -+ hardcode_direct=no -+ ;; -+ *) -+ hardcode_direct=yes -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ ;; -+ esac -+ fi -+ ;; -+ irix5* | irix6* | nonstopux*) -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ ;; -+ netbsd*) -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ ;; -+ newsos6) -+ hardcode_direct=yes -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ ;; -+ *nto* | *qnx*) -+ ;; -+ openbsd*) -+ if test -f /usr/libexec/ld.so; then -+ hardcode_direct=yes -+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ else -+ case "$host_os" in -+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) -+ hardcode_libdir_flag_spec='-R$libdir' -+ ;; -+ *) -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ ;; -+ esac -+ fi -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ os2*) -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ osf3*) -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ ;; -+ osf4* | osf5*) -+ if test "$GCC" = yes; then -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ else -+ # Both cc and cxx compiler support -rpath directly -+ hardcode_libdir_flag_spec='-rpath $libdir' -+ fi -+ hardcode_libdir_separator=: -+ ;; -+ solaris*) -+ hardcode_libdir_flag_spec='-R$libdir' -+ ;; -+ sunos4*) -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ ;; -+ sysv4) -+ case $host_vendor in -+ sni) -+ hardcode_direct=yes # is this really true??? -+ ;; -+ siemens) -+ hardcode_direct=no -+ ;; -+ motorola) -+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie -+ ;; -+ esac -+ ;; -+ sysv4.3*) -+ ;; -+ sysv4*MP*) -+ if test -d /usr/nec; then -+ ld_shlibs=yes -+ fi -+ ;; -+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) -+ ;; -+ sysv5* | sco3.2v5* | sco5v6*) -+ hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' -+ hardcode_libdir_separator=':' -+ ;; -+ uts4*) -+ hardcode_libdir_flag_spec='-L$libdir' -+ ;; -+ *) -+ ld_shlibs=no -+ ;; -+ esac -+fi -+ -+# Check dynamic linker characteristics -+# Code taken from libtool.m4's _LT_SYS_DYNAMIC_LINKER. -+# Unlike libtool.m4, here we don't care about _all_ names of the library, but -+# only about the one the linker finds when passed -lNAME. This is the last -+# element of library_names_spec in libtool.m4, or possibly two of them if the -+# linker has special search rules. -+library_names_spec= # the last element of library_names_spec in libtool.m4 -+libname_spec='lib$name' -+case "$host_os" in -+ aix3*) -+ library_names_spec='$libname.a' -+ ;; -+ aix[4-9]*) -+ library_names_spec='$libname$shrext' -+ ;; -+ amigaos*) -+ case "$host_cpu" in -+ powerpc*) -+ library_names_spec='$libname$shrext' ;; -+ m68k) -+ library_names_spec='$libname.a' ;; -+ esac -+ ;; -+ beos*) -+ library_names_spec='$libname$shrext' -+ ;; -+ bsdi[45]*) -+ library_names_spec='$libname$shrext' -+ ;; -+ cygwin* | mingw* | pw32* | cegcc*) -+ shrext=.dll -+ library_names_spec='$libname.dll.a $libname.lib' -+ ;; -+ darwin* | rhapsody*) -+ shrext=.dylib -+ library_names_spec='$libname$shrext' -+ ;; -+ dgux*) -+ library_names_spec='$libname$shrext' -+ ;; -+ freebsd* | dragonfly*) -+ case "$host_os" in -+ freebsd[123]*) -+ library_names_spec='$libname$shrext$versuffix' ;; -+ *) -+ library_names_spec='$libname$shrext' ;; -+ esac -+ ;; -+ gnu*) -+ library_names_spec='$libname$shrext' -+ ;; -+ haiku*) -+ library_names_spec='$libname$shrext' -+ ;; -+ hpux9* | hpux10* | hpux11*) -+ case $host_cpu in -+ ia64*) -+ shrext=.so -+ ;; -+ hppa*64*) -+ shrext=.sl -+ ;; -+ *) -+ shrext=.sl -+ ;; -+ esac -+ library_names_spec='$libname$shrext' -+ ;; -+ interix[3-9]*) -+ library_names_spec='$libname$shrext' -+ ;; -+ irix5* | irix6* | nonstopux*) -+ library_names_spec='$libname$shrext' -+ case "$host_os" in -+ irix5* | nonstopux*) -+ libsuff= shlibsuff= -+ ;; -+ *) -+ case $LD in -+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;; -+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;; -+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;; -+ *) libsuff= shlibsuff= ;; -+ esac -+ ;; -+ esac -+ ;; -+ linux*oldld* | linux*aout* | linux*coff*) -+ ;; -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ library_names_spec='$libname$shrext' -+ ;; -+ knetbsd*-gnu) -+ library_names_spec='$libname$shrext' -+ ;; -+ netbsd*) -+ library_names_spec='$libname$shrext' -+ ;; -+ newsos6) -+ library_names_spec='$libname$shrext' -+ ;; -+ *nto* | *qnx*) -+ library_names_spec='$libname$shrext' -+ ;; -+ openbsd*) -+ library_names_spec='$libname$shrext$versuffix' -+ ;; -+ os2*) -+ libname_spec='$name' -+ shrext=.dll -+ library_names_spec='$libname.a' -+ ;; -+ osf3* | osf4* | osf5*) -+ library_names_spec='$libname$shrext' -+ ;; -+ rdos*) -+ ;; -+ solaris*) -+ library_names_spec='$libname$shrext' -+ ;; -+ sunos4*) -+ library_names_spec='$libname$shrext$versuffix' -+ ;; -+ sysv4 | sysv4.3*) -+ library_names_spec='$libname$shrext' -+ ;; -+ sysv4*MP*) -+ library_names_spec='$libname$shrext' -+ ;; -+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ library_names_spec='$libname$shrext' -+ ;; -+ tpf*) -+ library_names_spec='$libname$shrext' -+ ;; -+ uts4*) -+ library_names_spec='$libname$shrext' -+ ;; -+esac -+ -+sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -+escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"` -+shlibext=`echo "$shrext" | sed -e 's,^\.,,'` -+escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` -+escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` -+escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"` -+ -+LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <, 2003. -+# -+# This program is free software: you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with this program. If not, see . -+ -+# Usage: -+# install-reloc library_path_var library_path_value prefix destdir \ -+# compile_command srcdir builddir config_h_dir exeext \ -+# strip_command \ -+# install_command... destprog -+# where -+# - library_path_var is the platform dependent runtime library path variable -+# - library_path_value is a colon separated list of directories that contain -+# the libraries at installation time (use this instead of -rpath) -+# - prefix is the base directory at installation time -+# - destdir is a string that is prepended to all file names at installation -+# time; it is already prepended to destprog but not to library_path_value -+# and prefix -+# - compile_command is a C compiler compilation and linking command -+# - srcdir is the directory where to find relocwrapper.c and its dependencies -+# - builddir is the directory where to find built dependencies (namely, -+# alloca.h and stdbool.h) -+# - config_h_dir is the directory where to find config.h -+# - exeext is platform dependent suffix of executables -+# - strip_command is the command for stripping executables, or : if no -+# stripping is desired -+# - install_command is the install command line, excluding the final destprog -+# - destprog is the destination program name -+# install-reloc renames destprog to destprog.bin and installs a relocating -+# wrapper in the place of destprog. -+ -+progname=$0 -+ -+if test $# -eq 2; then -+ # Get arguments from environment variables. -+ library_path_var=$RELOC_LIBRARY_PATH_VAR -+ library_path_value=$RELOC_LIBRARY_PATH_VALUE -+ prefix=$RELOC_PREFIX -+ destdir=$RELOC_DESTDIR -+ compile_command=$RELOC_COMPILE_COMMAND -+ srcdir=$RELOC_SRCDIR -+ builddir=$RELOC_BUILDDIR -+ config_h_dir=$RELOC_CONFIG_H_DIR -+ exeext=$RELOC_EXEEXT -+ strip_prog=$RELOC_STRIP_PROG -+ install_prog=$RELOC_INSTALL_PROG # including the "-c" option -+else -+ if test $# -ge 11; then -+ # Get fixed position arguments. -+ library_path_var=$1 -+ library_path_value=$2 -+ prefix=$3 -+ destdir=$4 -+ shift -+ shift -+ shift -+ shift -+ compile_command=$1 -+ srcdir=$2 -+ builddir=$3 -+ config_h_dir=$4 -+ exeext=$5 -+ shift -+ shift -+ shift -+ shift -+ shift -+ strip_prog=$1 -+ shift -+ install_prog=$1 # maybe not including the "-c" option -+ shift -+ else -+ echo "Usage: $0 library_path_var library_path_value prefix destdir" \ -+ "compile_command srcdir builddir config_h_dir exeext" \ -+ "strip_command" \ -+ "install_command... destprog" 1>&2 -+ exit 1 -+ fi -+fi -+ -+# Get destprog, last argument. -+destprog= -+for arg -+do -+ destprog=$arg -+done -+# Remove trailing $exeext, if present. -+if test -n "$exeext"; then -+ sed_quote='s,\.,\\.,g' -+ sed_remove_exeext='s|'`echo "$exeext" | sed -e "$sed_quote"`'$||' -+ destprog=`echo "$destprog" | sed -e "$sed_remove_exeext"` -+fi -+ -+# Outputs a command and runs it. -+func_verbose () -+{ -+ echo "$@" -+ "$@" -+} -+ -+# Run install_command. -+func_verbose $install_prog "$@" || exit $? -+ -+# Run strip_command. -+test "$strip_prog" = ':' || func_verbose "$strip_prog" "$destprog$exeext" || exit $? -+ -+# If the platform doesn't support LD_LIBRARY_PATH or similar, we cannot build -+# a wrapper. -+test -n "$library_path_var" || exit 0 -+ -+libdirs= -+save_IFS="$IFS"; IFS=":" -+for dir in $library_path_value; do -+ IFS="$save_IFS" -+ if test -n "$dir"; then -+ case "$libdirs" in -+ *"\"$dir\""*) ;; # remove duplicate -+ *) libdirs="$libdirs\"$dir\"," ;; -+ esac -+ fi -+done -+IFS="$save_IFS" -+# If there are no library directories to add at runtime, we don't need a -+# wrapper. -+test -n "$libdirs" || exit 0 -+ -+# Determine installdir from destprog, removing a leading destdir if present. -+installdir=`echo "$destprog" | sed -e 's,/[^/]*$,,'` -+if test -n "$destdir"; then -+ sed_quote='s,\([|.\*^$[]\),\\\1,g' -+ sed_remove_destdir='s|^'`echo "$destdir" | sed -e "$sed_quote"`'||' -+ installdir=`echo "$installdir" | sed -e "$sed_remove_destdir"` -+fi -+ -+# Compile wrapper. -+func_verbose $compile_command \ -+ -I"$builddir" -I"$srcdir" -I"$config_h_dir" \ -+ -DHAVE_CONFIG_H -DIN_RELOCWRAPPER -DNO_XMALLOC \ -+ -D"INSTALLPREFIX=\"$prefix\"" -D"INSTALLDIR=\"$installdir\"" \ -+ -D"LIBPATHVAR=\"$library_path_var\"" -D"LIBDIRS=$libdirs" \ -+ -D"EXEEXT=\"$exeext\"" \ -+ "$srcdir"/relocwrapper.c \ -+ "$srcdir"/progname.c \ -+ "$srcdir"/progreloc.c \ -+ "$srcdir"/areadlink.c \ -+ "$srcdir"/careadlinkat.c \ -+ "$srcdir"/allocator.c \ -+ "$srcdir"/readlink.c \ -+ "$srcdir"/canonicalize-lgpl.c \ -+ "$srcdir"/malloca.c \ -+ "$srcdir"/relocatable.c \ -+ "$srcdir"/setenv.c \ -+ "$srcdir"/strerror.c \ -+ "$srcdir"/c-ctype.c \ -+ -o "$destprog.wrapper$exeext" -+rc=$? -+# Clean up object files left over in the current directory by the native C -+# compilers on Solaris, HP-UX, OSF/1, IRIX. -+rm -f relocwrapper.o \ -+ progname.o \ -+ progreloc.o \ -+ areadlink.o \ -+ careadlinkat.o \ -+ allocator.o \ -+ readlink.o \ -+ canonicalize-lgpl.o \ -+ malloca.o \ -+ relocatable.o \ -+ setenv.o \ -+ strerror.o \ -+ c-ctype.o -+test $rc = 0 || exit $? -+# Clean up debugging information left over by the native C compiler on Mac OS X. -+rm -rf "$destprog.wrapper$exeext.dSYM" -+test $rc = 0 || exit $? -+ -+# Strip wrapper. -+test "$strip_prog" = ':' || func_verbose "$strip_prog" "$destprog.wrapper$exeext" || exit $? -+ -+# Rename $destprog.wrapper -> $destprog -> $destprog.bin. -+ln -f "$destprog$exeext" "$destprog.bin$exeext" \ -+ || { rm -f "$destprog.bin$exeext" \ -+ && cp -p "$destprog$exeext" "$destprog.bin$exeext"; } \ -+ || exit 1 -+mv "$destprog.wrapper$exeext" "$destprog$exeext" || exit 1 -+ -+exit 0 -diff -Naur libiconv-20130504/build-aux/reloc-ldflags libiconv-20130504.patch/build-aux/reloc-ldflags ---- libiconv-20130504/build-aux/reloc-ldflags 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/build-aux/reloc-ldflags 2013-05-04 10:20:07.510699134 +0200 -@@ -0,0 +1,101 @@ -+#! /bin/sh -+# Output a system dependent linker command for putting a relocatable library -+# search path into an executable. -+# -+# Copyright 2003-2013 Free Software Foundation, Inc. -+# Written by Bruno Haible , 2003. -+# -+# This program is free software: you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with this program. If not, see . -+# -+# As a special exception 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. -+# -+# The first argument passed to this file is the canonical host specification, -+# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM -+# or -+# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM -+# The environment variable LD should be set by the caller. -+# -+# The second argument is a colon separated list of directories that contain -+# the libraries at installation time. -+# -+# The third argument is the directory into which the executable is going to be -+# installed. -+ -+host="$1" -+host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+ -+library_path_value=$2 -+ -+installdir=$3 -+ -+# Verify that installdir is absolute. -+case "$installdir" in -+ /*) ;; -+ *) -+ echo "installdir is not absolute: $installdir" 1>&2 -+ exit 1 -+ ;; -+esac -+ -+case "$host_os" in -+ linux* | kfreebsd*) -+ rpath= -+ save_IFS="$IFS"; IFS=":" -+ for dir in $library_path_value; do -+ IFS="$save_IFS" -+ case "$dir" in -+ /*) -+ # Make dir relative to installdir. (Works only if dir is absolute.) -+ idir="$installdir" -+ while true; do -+ dfirst=`echo "$dir" | sed -n -e 's,^//*\([^/]*\).*$,/\1,p'` -+ ifirst=`echo "$idir" | sed -n -e 's,^//*\([^/]*\).*$,/\1,p'` -+ if test -z "$dfirst" || test -z "$ifirst"; then -+ break -+ fi -+ if test "$dfirst" != "$ifirst"; then -+ break -+ fi -+ dir=`echo "$dir" | sed -e 's,^//*[^/]*,,'` -+ idir=`echo "$idir" | sed -e 's,^//*[^/]*,,'` -+ done -+ dir="\$ORIGIN"`echo "$idir" | sed -e 's,//*[^/]*,/..,g'`"$dir" -+ # Add dir to rpath. -+ rpath="${rpath}${rpath:+ }$dir" -+ ;; -+ *) -+ if test -n "$dir"; then -+ echo "libdir is not absolute: $dir" 1>&2 -+ fi -+ ;; -+ esac -+ done -+ IFS="$save_IFS" -+ # Output it. -+ if test -n "$rpath"; then -+ echo "-Wl,-rpath,$rpath" -+ fi -+ ;; -+ *) -+ echo "relocation via rpath not supported on this system: $host" 1>&2 -+ exit 1 -+ ;; -+esac -+ -+exit 0 -diff -Naur libiconv-20130504/build-aux/snippet/arg-nonnull.h libiconv-20130504.patch/build-aux/snippet/arg-nonnull.h ---- libiconv-20130504/build-aux/snippet/arg-nonnull.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/build-aux/snippet/arg-nonnull.h 2013-05-04 10:20:07.520699105 +0200 -@@ -0,0 +1,26 @@ -+/* A C macro for declaring that specific arguments must not be NULL. -+ Copyright (C) 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* _GL_ARG_NONNULL((n,...,m)) tells the compiler and static analyzer tools -+ that the values passed as arguments n, ..., m must be non-NULL pointers. -+ n = 1 stands for the first argument, n = 2 for the second argument etc. */ -+#ifndef _GL_ARG_NONNULL -+# if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ > 3 -+# define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params)) -+# else -+# define _GL_ARG_NONNULL(params) -+# endif -+#endif -diff -Naur libiconv-20130504/build-aux/snippet/c++defs.h libiconv-20130504.patch/build-aux/snippet/c++defs.h ---- libiconv-20130504/build-aux/snippet/c++defs.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/build-aux/snippet/c++defs.h 2013-05-04 10:20:07.526699087 +0200 -@@ -0,0 +1,271 @@ -+/* C++ compatible function declaration macros. -+ Copyright (C) 2010-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _GL_CXXDEFS_H -+#define _GL_CXXDEFS_H -+ -+/* The three most frequent use cases of these macros are: -+ -+ * For providing a substitute for a function that is missing on some -+ platforms, but is declared and works fine on the platforms on which -+ it exists: -+ -+ #if @GNULIB_FOO@ -+ # if !@HAVE_FOO@ -+ _GL_FUNCDECL_SYS (foo, ...); -+ # endif -+ _GL_CXXALIAS_SYS (foo, ...); -+ _GL_CXXALIASWARN (foo); -+ #elif defined GNULIB_POSIXCHECK -+ ... -+ #endif -+ -+ * For providing a replacement for a function that exists on all platforms, -+ but is broken/insufficient and needs to be replaced on some platforms: -+ -+ #if @GNULIB_FOO@ -+ # if @REPLACE_FOO@ -+ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+ # undef foo -+ # define foo rpl_foo -+ # endif -+ _GL_FUNCDECL_RPL (foo, ...); -+ _GL_CXXALIAS_RPL (foo, ...); -+ # else -+ _GL_CXXALIAS_SYS (foo, ...); -+ # endif -+ _GL_CXXALIASWARN (foo); -+ #elif defined GNULIB_POSIXCHECK -+ ... -+ #endif -+ -+ * For providing a replacement for a function that exists on some platforms -+ but is broken/insufficient and needs to be replaced on some of them and -+ is additionally either missing or undeclared on some other platforms: -+ -+ #if @GNULIB_FOO@ -+ # if @REPLACE_FOO@ -+ # if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+ # undef foo -+ # define foo rpl_foo -+ # endif -+ _GL_FUNCDECL_RPL (foo, ...); -+ _GL_CXXALIAS_RPL (foo, ...); -+ # else -+ # if !@HAVE_FOO@ or if !@HAVE_DECL_FOO@ -+ _GL_FUNCDECL_SYS (foo, ...); -+ # endif -+ _GL_CXXALIAS_SYS (foo, ...); -+ # endif -+ _GL_CXXALIASWARN (foo); -+ #elif defined GNULIB_POSIXCHECK -+ ... -+ #endif -+*/ -+ -+/* _GL_EXTERN_C declaration; -+ performs the declaration with C linkage. */ -+#if defined __cplusplus -+# define _GL_EXTERN_C extern "C" -+#else -+# define _GL_EXTERN_C extern -+#endif -+ -+/* _GL_FUNCDECL_RPL (func, rettype, parameters_and_attributes); -+ declares a replacement function, named rpl_func, with the given prototype, -+ consisting of return type, parameters, and attributes. -+ Example: -+ _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) -+ _GL_ARG_NONNULL ((1))); -+ */ -+#define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) \ -+ _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes) -+#define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) \ -+ _GL_EXTERN_C rettype rpl_func parameters_and_attributes -+ -+/* _GL_FUNCDECL_SYS (func, rettype, parameters_and_attributes); -+ declares the system function, named func, with the given prototype, -+ consisting of return type, parameters, and attributes. -+ Example: -+ _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...) -+ _GL_ARG_NONNULL ((1))); -+ */ -+#define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) \ -+ _GL_EXTERN_C rettype func parameters_and_attributes -+ -+/* _GL_CXXALIAS_RPL (func, rettype, parameters); -+ declares a C++ alias called GNULIB_NAMESPACE::func -+ that redirects to rpl_func, if GNULIB_NAMESPACE is defined. -+ Example: -+ _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); -+ */ -+#define _GL_CXXALIAS_RPL(func,rettype,parameters) \ -+ _GL_CXXALIAS_RPL_1 (func, rpl_##func, rettype, parameters) -+#if defined __cplusplus && defined GNULIB_NAMESPACE -+# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ -+ namespace GNULIB_NAMESPACE \ -+ { \ -+ rettype (*const func) parameters = ::rpl_func; \ -+ } \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#else -+# define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#endif -+ -+/* _GL_CXXALIAS_RPL_CAST_1 (func, rpl_func, rettype, parameters); -+ is like _GL_CXXALIAS_RPL_1 (func, rpl_func, rettype, parameters); -+ except that the C function rpl_func may have a slightly different -+ declaration. A cast is used to silence the "invalid conversion" error -+ that would otherwise occur. */ -+#if defined __cplusplus && defined GNULIB_NAMESPACE -+# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ -+ namespace GNULIB_NAMESPACE \ -+ { \ -+ rettype (*const func) parameters = \ -+ reinterpret_cast(::rpl_func); \ -+ } \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#else -+# define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#endif -+ -+/* _GL_CXXALIAS_SYS (func, rettype, parameters); -+ declares a C++ alias called GNULIB_NAMESPACE::func -+ that redirects to the system provided function func, if GNULIB_NAMESPACE -+ is defined. -+ Example: -+ _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); -+ */ -+#if defined __cplusplus && defined GNULIB_NAMESPACE -+ /* If we were to write -+ rettype (*const func) parameters = ::func; -+ like above in _GL_CXXALIAS_RPL_1, the compiler could optimize calls -+ better (remove an indirection through a 'static' pointer variable), -+ but then the _GL_CXXALIASWARN macro below would cause a warning not only -+ for uses of ::func but also for uses of GNULIB_NAMESPACE::func. */ -+# define _GL_CXXALIAS_SYS(func,rettype,parameters) \ -+ namespace GNULIB_NAMESPACE \ -+ { \ -+ static rettype (*func) parameters = ::func; \ -+ } \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#else -+# define _GL_CXXALIAS_SYS(func,rettype,parameters) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#endif -+ -+/* _GL_CXXALIAS_SYS_CAST (func, rettype, parameters); -+ is like _GL_CXXALIAS_SYS (func, rettype, parameters); -+ except that the C function func may have a slightly different declaration. -+ A cast is used to silence the "invalid conversion" error that would -+ otherwise occur. */ -+#if defined __cplusplus && defined GNULIB_NAMESPACE -+# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ -+ namespace GNULIB_NAMESPACE \ -+ { \ -+ static rettype (*func) parameters = \ -+ reinterpret_cast(::func); \ -+ } \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#else -+# define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#endif -+ -+/* _GL_CXXALIAS_SYS_CAST2 (func, rettype, parameters, rettype2, parameters2); -+ is like _GL_CXXALIAS_SYS (func, rettype, parameters); -+ except that the C function is picked among a set of overloaded functions, -+ namely the one with rettype2 and parameters2. Two consecutive casts -+ are used to silence the "cannot find a match" and "invalid conversion" -+ errors that would otherwise occur. */ -+#if defined __cplusplus && defined GNULIB_NAMESPACE -+ /* The outer cast must be a reinterpret_cast. -+ The inner cast: When the function is defined as a set of overloaded -+ functions, it works as a static_cast<>, choosing the designated variant. -+ When the function is defined as a single variant, it works as a -+ reinterpret_cast<>. The parenthesized cast syntax works both ways. */ -+# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ -+ namespace GNULIB_NAMESPACE \ -+ { \ -+ static rettype (*func) parameters = \ -+ reinterpret_cast( \ -+ (rettype2(*)parameters2)(::func)); \ -+ } \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#else -+# define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#endif -+ -+/* _GL_CXXALIASWARN (func); -+ causes a warning to be emitted when ::func is used but not when -+ GNULIB_NAMESPACE::func is used. func must be defined without overloaded -+ variants. */ -+#if defined __cplusplus && defined GNULIB_NAMESPACE -+# define _GL_CXXALIASWARN(func) \ -+ _GL_CXXALIASWARN_1 (func, GNULIB_NAMESPACE) -+# define _GL_CXXALIASWARN_1(func,namespace) \ -+ _GL_CXXALIASWARN_2 (func, namespace) -+/* To work around GCC bug , -+ we enable the warning only when not optimizing. */ -+# if !__OPTIMIZE__ -+# define _GL_CXXALIASWARN_2(func,namespace) \ -+ _GL_WARN_ON_USE (func, \ -+ "The symbol ::" #func " refers to the system function. " \ -+ "Use " #namespace "::" #func " instead.") -+# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING -+# define _GL_CXXALIASWARN_2(func,namespace) \ -+ extern __typeof__ (func) func -+# else -+# define _GL_CXXALIASWARN_2(func,namespace) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+# endif -+#else -+# define _GL_CXXALIASWARN(func) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#endif -+ -+/* _GL_CXXALIASWARN1 (func, rettype, parameters_and_attributes); -+ causes a warning to be emitted when the given overloaded variant of ::func -+ is used but not when GNULIB_NAMESPACE::func is used. */ -+#if defined __cplusplus && defined GNULIB_NAMESPACE -+# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ -+ _GL_CXXALIASWARN1_1 (func, rettype, parameters_and_attributes, \ -+ GNULIB_NAMESPACE) -+# define _GL_CXXALIASWARN1_1(func,rettype,parameters_and_attributes,namespace) \ -+ _GL_CXXALIASWARN1_2 (func, rettype, parameters_and_attributes, namespace) -+/* To work around GCC bug , -+ we enable the warning only when not optimizing. */ -+# if !__OPTIMIZE__ -+# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ -+ _GL_WARN_ON_USE_CXX (func, rettype, parameters_and_attributes, \ -+ "The symbol ::" #func " refers to the system function. " \ -+ "Use " #namespace "::" #func " instead.") -+# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING -+# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ -+ extern __typeof__ (func) func -+# else -+# define _GL_CXXALIASWARN1_2(func,rettype,parameters_and_attributes,namespace) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+# endif -+#else -+# define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) \ -+ _GL_EXTERN_C int _gl_cxxalias_dummy -+#endif -+ -+#endif /* _GL_CXXDEFS_H */ -diff -Naur libiconv-20130504/build-aux/snippet/_Noreturn.h libiconv-20130504.patch/build-aux/snippet/_Noreturn.h ---- libiconv-20130504/build-aux/snippet/_Noreturn.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/build-aux/snippet/_Noreturn.h 2013-05-04 10:20:07.516699116 +0200 -@@ -0,0 +1,10 @@ -+#if !defined _Noreturn && __STDC_VERSION__ < 201112 -+# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ -+ || 0x5110 <= __SUNPRO_C) -+# define _Noreturn __attribute__ ((__noreturn__)) -+# elif 1200 <= _MSC_VER -+# define _Noreturn __declspec (noreturn) -+# else -+# define _Noreturn -+# endif -+#endif -diff -Naur libiconv-20130504/build-aux/snippet/warn-on-use.h libiconv-20130504.patch/build-aux/snippet/warn-on-use.h ---- libiconv-20130504/build-aux/snippet/warn-on-use.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/build-aux/snippet/warn-on-use.h 2013-05-04 10:20:07.531699073 +0200 -@@ -0,0 +1,109 @@ -+/* A C macro for emitting warnings if a function is used. -+ Copyright (C) 2010-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* _GL_WARN_ON_USE (function, "literal string") issues a declaration -+ for FUNCTION which will then trigger a compiler warning containing -+ the text of "literal string" anywhere that function is called, if -+ supported by the compiler. If the compiler does not support this -+ feature, the macro expands to an unused extern declaration. -+ -+ This macro is useful for marking a function as a potential -+ portability trap, with the intent that "literal string" include -+ instructions on the replacement function that should be used -+ instead. However, one of the reasons that a function is a -+ portability trap is if it has the wrong signature. Declaring -+ FUNCTION with a different signature in C is a compilation error, so -+ this macro must use the same type as any existing declaration so -+ that programs that avoid the problematic FUNCTION do not fail to -+ compile merely because they included a header that poisoned the -+ function. But this implies that _GL_WARN_ON_USE is only safe to -+ use if FUNCTION is known to already have a declaration. Use of -+ this macro implies that there must not be any other macro hiding -+ the declaration of FUNCTION; but undefining FUNCTION first is part -+ of the poisoning process anyway (although for symbols that are -+ provided only via a macro, the result is a compilation error rather -+ than a warning containing "literal string"). Also note that in -+ C++, it is only safe to use if FUNCTION has no overloads. -+ -+ For an example, it is possible to poison 'getline' by: -+ - adding a call to gl_WARN_ON_USE_PREPARE([[#include ]], -+ [getline]) in configure.ac, which potentially defines -+ HAVE_RAW_DECL_GETLINE -+ - adding this code to a header that wraps the system : -+ #undef getline -+ #if HAVE_RAW_DECL_GETLINE -+ _GL_WARN_ON_USE (getline, "getline is required by POSIX 2008, but" -+ "not universally present; use the gnulib module getline"); -+ #endif -+ -+ It is not possible to directly poison global variables. But it is -+ possible to write a wrapper accessor function, and poison that -+ (less common usage, like &environ, will cause a compilation error -+ rather than issue the nice warning, but the end result of informing -+ the developer about their portability problem is still achieved): -+ #if HAVE_RAW_DECL_ENVIRON -+ static char ***rpl_environ (void) { return &environ; } -+ _GL_WARN_ON_USE (rpl_environ, "environ is not always properly declared"); -+ # undef environ -+ # define environ (*rpl_environ ()) -+ #endif -+ */ -+#ifndef _GL_WARN_ON_USE -+ -+# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) -+/* A compiler attribute is available in gcc versions 4.3.0 and later. */ -+# define _GL_WARN_ON_USE(function, message) \ -+extern __typeof__ (function) function __attribute__ ((__warning__ (message))) -+# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING -+/* Verify the existence of the function. */ -+# define _GL_WARN_ON_USE(function, message) \ -+extern __typeof__ (function) function -+# else /* Unsupported. */ -+# define _GL_WARN_ON_USE(function, message) \ -+_GL_WARN_EXTERN_C int _gl_warn_on_use -+# endif -+#endif -+ -+/* _GL_WARN_ON_USE_CXX (function, rettype, parameters_and_attributes, "string") -+ is like _GL_WARN_ON_USE (function, "string"), except that the function is -+ declared with the given prototype, consisting of return type, parameters, -+ and attributes. -+ This variant is useful for overloaded functions in C++. _GL_WARN_ON_USE does -+ not work in this case. */ -+#ifndef _GL_WARN_ON_USE_CXX -+# if 4 < __GNUC__ || (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) -+# define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ -+extern rettype function parameters_and_attributes \ -+ __attribute__ ((__warning__ (msg))) -+# elif __GNUC__ >= 3 && GNULIB_STRICT_CHECKING -+/* Verify the existence of the function. */ -+# define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ -+extern rettype function parameters_and_attributes -+# else /* Unsupported. */ -+# define _GL_WARN_ON_USE_CXX(function,rettype,parameters_and_attributes,msg) \ -+_GL_WARN_EXTERN_C int _gl_warn_on_use -+# endif -+#endif -+ -+/* _GL_WARN_EXTERN_C declaration; -+ performs the declaration with C linkage. */ -+#ifndef _GL_WARN_EXTERN_C -+# if defined __cplusplus -+# define _GL_WARN_EXTERN_C extern "C" -+# else -+# define _GL_WARN_EXTERN_C extern -+# endif -+#endif -diff -Naur libiconv-20130504/config.h.in libiconv-20130504.patch/config.h.in ---- libiconv-20130504/config.h.in 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/config.h.in 2013-05-04 10:23:28.936109581 +0200 -@@ -0,0 +1,1075 @@ -+/* config.h.in. Generated from configure.ac by autoheader. */ -+ -+/* Define to the number of bits in type 'ptrdiff_t'. */ -+#undef BITSIZEOF_PTRDIFF_T -+ -+/* Define to the number of bits in type 'sig_atomic_t'. */ -+#undef BITSIZEOF_SIG_ATOMIC_T -+ -+/* Define to the number of bits in type 'size_t'. */ -+#undef BITSIZEOF_SIZE_T -+ -+/* Define to the number of bits in type 'wchar_t'. */ -+#undef BITSIZEOF_WCHAR_T -+ -+/* Define to the number of bits in type 'wint_t'. */ -+#undef BITSIZEOF_WINT_T -+ -+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP -+ systems. This function is required for `alloca.c' support on those systems. -+ */ -+#undef CRAY_STACKSEG_END -+ -+/* Define to 1 if using `alloca.c'. */ -+#undef C_ALLOCA -+ -+/* Define to 1 if // is a file system root distinct from /. */ -+#undef DOUBLE_SLASH_IS_DISTINCT_ROOT -+ -+/* Define as good substitute value for EILSEQ. */ -+#undef EILSEQ -+ -+/* Define to 1 to enable a few rarely used encodings. */ -+#undef ENABLE_EXTRA -+ -+/* Define to 1 if translation of program messages to the user's native -+ language is requested. */ -+#undef ENABLE_NLS -+ -+/* Define to 1 if the package shall run at any location in the file system. */ -+#undef ENABLE_RELOCATABLE -+ -+/* Define to 1 if realpath() can malloc memory, always gives an absolute path, -+ and handles trailing slash correctly. */ -+#undef FUNC_REALPATH_WORKS -+ -+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending -+ whether the gnulib module canonicalize-lgpl shall be considered present. */ -+#undef GNULIB_CANONICALIZE_LGPL -+ -+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending -+ whether the gnulib module fscanf shall be considered present. */ -+#undef GNULIB_FSCANF -+ -+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending -+ whether the gnulib module scanf shall be considered present. */ -+#undef GNULIB_SCANF -+ -+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending -+ whether the gnulib module sigpipe shall be considered present. */ -+#undef GNULIB_SIGPIPE -+ -+/* Define to a C preprocessor expression that evaluates to 1 or 0, depending -+ whether the gnulib module strerror shall be considered present. */ -+#undef GNULIB_STRERROR -+ -+/* Define to 1 when the gnulib module canonicalize_file_name should be tested. -+ */ -+#undef GNULIB_TEST_CANONICALIZE_FILE_NAME -+ -+/* Define to 1 when the gnulib module environ should be tested. */ -+#undef GNULIB_TEST_ENVIRON -+ -+/* Define to 1 when the gnulib module lstat should be tested. */ -+#undef GNULIB_TEST_LSTAT -+ -+/* Define to 1 when the gnulib module raise should be tested. */ -+#undef GNULIB_TEST_RAISE -+ -+/* Define to 1 when the gnulib module read should be tested. */ -+#undef GNULIB_TEST_READ -+ -+/* Define to 1 when the gnulib module readlink should be tested. */ -+#undef GNULIB_TEST_READLINK -+ -+/* Define to 1 when the gnulib module realpath should be tested. */ -+#undef GNULIB_TEST_REALPATH -+ -+/* Define to 1 when the gnulib module sigprocmask should be tested. */ -+#undef GNULIB_TEST_SIGPROCMASK -+ -+/* Define to 1 when the gnulib module stat should be tested. */ -+#undef GNULIB_TEST_STAT -+ -+/* Define to 1 when the gnulib module strerror should be tested. */ -+#undef GNULIB_TEST_STRERROR -+ -+/* Define to 1 if you have `alloca', as a function or macro. */ -+#undef HAVE_ALLOCA -+ -+/* Define to 1 if you have and it should be used (not on Ultrix). -+ */ -+#undef HAVE_ALLOCA_H -+ -+/* Define to 1 if you have the `canonicalize_file_name' function. */ -+#undef HAVE_CANONICALIZE_FILE_NAME -+ -+/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the -+ CoreFoundation framework. */ -+#undef HAVE_CFLOCALECOPYCURRENT -+ -+/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in -+ the CoreFoundation framework. */ -+#undef HAVE_CFPREFERENCESCOPYAPPVALUE -+ -+/* Define if the GNU dcgettext() function is already present or preinstalled. -+ */ -+#undef HAVE_DCGETTEXT -+ -+/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_CLEARERR_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you -+ don't. */ -+#undef HAVE_DECL_FEOF_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_FERROR_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_FFLUSH_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_FGETS_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_FPUTC_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_FPUTS_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_FREAD_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_FWRITE_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_GETCHAR_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you -+ don't. */ -+#undef HAVE_DECL_GETC_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `program_invocation_name', and -+ to 0 if you don't. */ -+#undef HAVE_DECL_PROGRAM_INVOCATION_NAME -+ -+/* Define to 1 if you have the declaration of `program_invocation_short_name', -+ and to 0 if you don't. */ -+#undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME -+ -+/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if -+ you don't. */ -+#undef HAVE_DECL_PUTCHAR_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you -+ don't. */ -+#undef HAVE_DECL_PUTC_UNLOCKED -+ -+/* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. -+ */ -+#undef HAVE_DECL_SETENV -+ -+/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you -+ don't. */ -+#undef HAVE_DECL_STRERROR_R -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_DLFCN_H -+ -+/* Define if you have the declaration of environ. */ -+#undef HAVE_ENVIRON_DECL -+ -+/* Define to 1 if you have the `getcwd' function. */ -+#undef HAVE_GETCWD -+ -+/* Define to 1 if you have the `getc_unlocked' function. */ -+#undef HAVE_GETC_UNLOCKED -+ -+/* Define if the GNU gettext() function is already present or preinstalled. */ -+#undef HAVE_GETTEXT -+ -+/* Define if you have the iconv() function and it works. */ -+#undef HAVE_ICONV -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_INTTYPES_H -+ -+/* Define if you have and nl_langinfo(CODESET). */ -+#undef HAVE_LANGINFO_CODESET -+ -+/* Define to 1 if the system has the type 'long long int'. */ -+#undef HAVE_LONG_LONG_INT -+ -+/* Define to 1 if you have the `lstat' function. */ -+#undef HAVE_LSTAT -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_MACH_O_DYLD_H -+ -+/* Define to 1 if you have the `mbrtowc' function. */ -+#undef HAVE_MBRTOWC -+ -+/* Define to 1 if you have the `mbsinit' function. */ -+#undef HAVE_MBSINIT -+ -+/* Define to 1 if declares mbstate_t. */ -+#undef HAVE_MBSTATE_T -+ -+/* Define to 1 if you have the `memmove' function. */ -+#undef HAVE_MEMMOVE -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_MEMORY_H -+ -+/* Define to 1 on MSVC platforms that have the "invalid parameter handler" -+ concept. */ -+#undef HAVE_MSVC_INVALID_PARAMETER_HANDLER -+ -+/* Define to 1 if you have the `raise' function. */ -+#undef HAVE_RAISE -+ -+/* Define to 1 if atoll is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_ATOLL -+ -+/* Define to 1 if canonicalize_file_name is declared even after undefining -+ macros. */ -+#undef HAVE_RAW_DECL_CANONICALIZE_FILE_NAME -+ -+/* Define to 1 if chdir is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_CHDIR -+ -+/* Define to 1 if chown is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_CHOWN -+ -+/* Define to 1 if dprintf is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_DPRINTF -+ -+/* Define to 1 if dup is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_DUP -+ -+/* Define to 1 if dup2 is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_DUP2 -+ -+/* Define to 1 if dup3 is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_DUP3 -+ -+/* Define to 1 if endusershell is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_ENDUSERSHELL -+ -+/* Define to 1 if environ is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_ENVIRON -+ -+/* Define to 1 if euidaccess is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_EUIDACCESS -+ -+/* Define to 1 if faccessat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FACCESSAT -+ -+/* Define to 1 if fchdir is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FCHDIR -+ -+/* Define to 1 if fchmodat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FCHMODAT -+ -+/* Define to 1 if fchownat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FCHOWNAT -+ -+/* Define to 1 if fcntl is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FCNTL -+ -+/* Define to 1 if fdatasync is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FDATASYNC -+ -+/* Define to 1 if ffsl is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FFSL -+ -+/* Define to 1 if ffsll is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FFSLL -+ -+/* Define to 1 if fpurge is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FPURGE -+ -+/* Define to 1 if fseeko is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FSEEKO -+ -+/* Define to 1 if fstat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FSTAT -+ -+/* Define to 1 if fstatat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FSTATAT -+ -+/* Define to 1 if fsync is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FSYNC -+ -+/* Define to 1 if ftello is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FTELLO -+ -+/* Define to 1 if ftruncate is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FTRUNCATE -+ -+/* Define to 1 if futimens is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_FUTIMENS -+ -+/* Define to 1 if getcwd is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETCWD -+ -+/* Define to 1 if getdelim is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETDELIM -+ -+/* Define to 1 if getdomainname is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETDOMAINNAME -+ -+/* Define to 1 if getdtablesize is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETDTABLESIZE -+ -+/* Define to 1 if getgroups is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETGROUPS -+ -+/* Define to 1 if gethostname is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETHOSTNAME -+ -+/* Define to 1 if getline is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETLINE -+ -+/* Define to 1 if getloadavg is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETLOADAVG -+ -+/* Define to 1 if getlogin is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETLOGIN -+ -+/* Define to 1 if getlogin_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETLOGIN_R -+ -+/* Define to 1 if getpagesize is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETPAGESIZE -+ -+/* Define to 1 if gets is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETS -+ -+/* Define to 1 if getsubopt is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETSUBOPT -+ -+/* Define to 1 if getusershell is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GETUSERSHELL -+ -+/* Define to 1 if grantpt is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GRANTPT -+ -+/* Define to 1 if group_member is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_GROUP_MEMBER -+ -+/* Define to 1 if initstate is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_INITSTATE -+ -+/* Define to 1 if initstate_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_INITSTATE_R -+ -+/* Define to 1 if isatty is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_ISATTY -+ -+/* Define to 1 if lchmod is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_LCHMOD -+ -+/* Define to 1 if lchown is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_LCHOWN -+ -+/* Define to 1 if link is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_LINK -+ -+/* Define to 1 if linkat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_LINKAT -+ -+/* Define to 1 if lseek is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_LSEEK -+ -+/* Define to 1 if lstat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_LSTAT -+ -+/* Define to 1 if memmem is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MEMMEM -+ -+/* Define to 1 if mempcpy is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MEMPCPY -+ -+/* Define to 1 if memrchr is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MEMRCHR -+ -+/* Define to 1 if mkdirat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKDIRAT -+ -+/* Define to 1 if mkdtemp is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKDTEMP -+ -+/* Define to 1 if mkfifo is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKFIFO -+ -+/* Define to 1 if mkfifoat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKFIFOAT -+ -+/* Define to 1 if mknod is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKNOD -+ -+/* Define to 1 if mknodat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKNODAT -+ -+/* Define to 1 if mkostemp is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKOSTEMP -+ -+/* Define to 1 if mkostemps is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKOSTEMPS -+ -+/* Define to 1 if mkstemp is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKSTEMP -+ -+/* Define to 1 if mkstemps is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_MKSTEMPS -+ -+/* Define to 1 if openat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_OPENAT -+ -+/* Define to 1 if pclose is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PCLOSE -+ -+/* Define to 1 if pipe is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PIPE -+ -+/* Define to 1 if pipe2 is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PIPE2 -+ -+/* Define to 1 if popen is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_POPEN -+ -+/* Define to 1 if posix_openpt is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_POSIX_OPENPT -+ -+/* Define to 1 if pread is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PREAD -+ -+/* Define to 1 if pthread_sigmask is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PTHREAD_SIGMASK -+ -+/* Define to 1 if ptsname is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PTSNAME -+ -+/* Define to 1 if ptsname_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PTSNAME_R -+ -+/* Define to 1 if pwrite is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_PWRITE -+ -+/* Define to 1 if random is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_RANDOM -+ -+/* Define to 1 if random_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_RANDOM_R -+ -+/* Define to 1 if rawmemchr is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_RAWMEMCHR -+ -+/* Define to 1 if readlink is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_READLINK -+ -+/* Define to 1 if readlinkat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_READLINKAT -+ -+/* Define to 1 if realpath is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_REALPATH -+ -+/* Define to 1 if renameat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_RENAMEAT -+ -+/* Define to 1 if rmdir is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_RMDIR -+ -+/* Define to 1 if rpmatch is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_RPMATCH -+ -+/* Define to 1 if secure_getenv is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SECURE_GETENV -+ -+/* Define to 1 if setenv is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SETENV -+ -+/* Define to 1 if sethostname is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SETHOSTNAME -+ -+/* Define to 1 if setstate is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SETSTATE -+ -+/* Define to 1 if setstate_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SETSTATE_R -+ -+/* Define to 1 if setusershell is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SETUSERSHELL -+ -+/* Define to 1 if sigaction is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGACTION -+ -+/* Define to 1 if sigaddset is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGADDSET -+ -+/* Define to 1 if sigdelset is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGDELSET -+ -+/* Define to 1 if sigemptyset is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGEMPTYSET -+ -+/* Define to 1 if sigfillset is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGFILLSET -+ -+/* Define to 1 if sigismember is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGISMEMBER -+ -+/* Define to 1 if sigpending is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGPENDING -+ -+/* Define to 1 if sigprocmask is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SIGPROCMASK -+ -+/* Define to 1 if sleep is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SLEEP -+ -+/* Define to 1 if snprintf is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SNPRINTF -+ -+/* Define to 1 if srandom is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SRANDOM -+ -+/* Define to 1 if srandom_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SRANDOM_R -+ -+/* Define to 1 if stat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STAT -+ -+/* Define to 1 if stpcpy is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STPCPY -+ -+/* Define to 1 if stpncpy is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STPNCPY -+ -+/* Define to 1 if strcasestr is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRCASESTR -+ -+/* Define to 1 if strchrnul is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRCHRNUL -+ -+/* Define to 1 if strdup is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRDUP -+ -+/* Define to 1 if strerror_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRERROR_R -+ -+/* Define to 1 if strncat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRNCAT -+ -+/* Define to 1 if strndup is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRNDUP -+ -+/* Define to 1 if strnlen is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRNLEN -+ -+/* Define to 1 if strpbrk is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRPBRK -+ -+/* Define to 1 if strsep is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRSEP -+ -+/* Define to 1 if strsignal is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRSIGNAL -+ -+/* Define to 1 if strtod is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRTOD -+ -+/* Define to 1 if strtok_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRTOK_R -+ -+/* Define to 1 if strtoll is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRTOLL -+ -+/* Define to 1 if strtoull is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRTOULL -+ -+/* Define to 1 if strverscmp is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_STRVERSCMP -+ -+/* Define to 1 if symlink is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SYMLINK -+ -+/* Define to 1 if symlinkat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_SYMLINKAT -+ -+/* Define to 1 if tmpfile is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_TMPFILE -+ -+/* Define to 1 if ttyname_r is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_TTYNAME_R -+ -+/* Define to 1 if unlink is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_UNLINK -+ -+/* Define to 1 if unlinkat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_UNLINKAT -+ -+/* Define to 1 if unlockpt is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_UNLOCKPT -+ -+/* Define to 1 if unsetenv is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_UNSETENV -+ -+/* Define to 1 if usleep is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_USLEEP -+ -+/* Define to 1 if utimensat is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_UTIMENSAT -+ -+/* Define to 1 if vdprintf is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_VDPRINTF -+ -+/* Define to 1 if vsnprintf is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL_VSNPRINTF -+ -+/* Define to 1 if _Exit is declared even after undefining macros. */ -+#undef HAVE_RAW_DECL__EXIT -+ -+/* Define to 1 if you have the `readlink' function. */ -+#undef HAVE_READLINK -+ -+/* Define to 1 if you have the `readlinkat' function. */ -+#undef HAVE_READLINKAT -+ -+/* Define to 1 if you have the `realpath' function. */ -+#undef HAVE_REALPATH -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SEARCH_H -+ -+/* Define to 1 if you have the `setenv' function. */ -+#undef HAVE_SETENV -+ -+/* Define to 1 if you have the `setlocale' function. */ -+#undef HAVE_SETLOCALE -+ -+/* Define to 1 if 'sig_atomic_t' is a signed integer type. */ -+#undef HAVE_SIGNED_SIG_ATOMIC_T -+ -+/* Define to 1 if 'wchar_t' is a signed integer type. */ -+#undef HAVE_SIGNED_WCHAR_T -+ -+/* Define to 1 if 'wint_t' is a signed integer type. */ -+#undef HAVE_SIGNED_WINT_T -+ -+/* Define to 1 if the system has the type `sigset_t'. */ -+#undef HAVE_SIGSET_T -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STDINT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STDLIB_H -+ -+/* Define to 1 if you have the `strerror_r' function. */ -+#undef HAVE_STRERROR_R -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STRINGS_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STRING_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_BITYPES_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_INTTYPES_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_PARAM_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_SOCKET_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_STAT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_TIME_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_TYPES_H -+ -+/* Define to 1 if you have the `tsearch' function. */ -+#undef HAVE_TSEARCH -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_UNISTD_H -+ -+/* Define to 1 if the system has the type 'unsigned long long int'. */ -+#undef HAVE_UNSIGNED_LONG_LONG_INT -+ -+/* Define to 1 or 0, depending whether the compiler supports simple visibility -+ declarations. */ -+#undef HAVE_VISIBILITY -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_WCHAR_H -+ -+/* Define if you have the 'wchar_t' type. */ -+#undef HAVE_WCHAR_T -+ -+/* Define to 1 if you have the `wcrtomb' function. */ -+#undef HAVE_WCRTOMB -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_WINSOCK2_H -+ -+/* Define to 1 if O_NOATIME works. */ -+#undef HAVE_WORKING_O_NOATIME -+ -+/* Define to 1 if O_NOFOLLOW works. */ -+#undef HAVE_WORKING_O_NOFOLLOW -+ -+/* Define to 1 if the system has the type `_Bool'. */ -+#undef HAVE__BOOL -+ -+/* Define to 1 if you have the `_NSGetExecutablePath' function. */ -+#undef HAVE__NSGETEXECUTABLEPATH -+ -+/* Define to 1 if you have the `_set_invalid_parameter_handler' function. */ -+#undef HAVE__SET_INVALID_PARAMETER_HANDLER -+ -+/* Define as const if the declaration of iconv() needs const. */ -+#undef ICONV_CONST -+ -+/* Define to the value of ${prefix}, as a string. */ -+#undef INSTALLPREFIX -+ -+/* Define to 1 if 'lstat' dereferences a symlink specified with a trailing -+ slash. */ -+#undef LSTAT_FOLLOWS_SLASHED_SYMLINK -+ -+/* Define to the sub-directory in which libtool stores uninstalled libraries. -+ */ -+#undef LT_OBJDIR -+ -+/* If malloc(0) is != NULL, define this to 1. Otherwise define this to 0. */ -+#undef MALLOC_0_IS_NONNULL -+ -+/* Define to 1 if your C compiler doesn't accept -c and -o together. */ -+#undef NO_MINUS_C_MINUS_O -+ -+/* Name of package */ -+#undef PACKAGE -+ -+/* Define to the address where bug reports for this package should be sent. */ -+#undef PACKAGE_BUGREPORT -+ -+/* Define to the full name of this package. */ -+#undef PACKAGE_NAME -+ -+/* Define to the full name and version of this package. */ -+#undef PACKAGE_STRING -+ -+/* Define to the one symbol short name of this package. */ -+#undef PACKAGE_TARNAME -+ -+/* Define to the home page for this package. */ -+#undef PACKAGE_URL -+ -+/* Define to the version of this package. */ -+#undef PACKAGE_VERSION -+ -+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type -+ 'ptrdiff_t'. */ -+#undef PTRDIFF_T_SUFFIX -+ -+/* Define to 1 if readlink fails to recognize a trailing slash. */ -+#undef READLINK_TRAILING_SLASH_BUG -+ -+/* Define to 1 if stat needs help when passed a directory name with a trailing -+ slash */ -+#undef REPLACE_FUNC_STAT_DIR -+ -+/* Define to 1 if stat needs help when passed a file name with a trailing -+ slash */ -+#undef REPLACE_FUNC_STAT_FILE -+ -+/* Define to 1 if strerror(0) does not return a message implying success. */ -+#undef REPLACE_STRERROR_0 -+ -+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type -+ 'sig_atomic_t'. */ -+#undef SIG_ATOMIC_T_SUFFIX -+ -+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type -+ 'size_t'. */ -+#undef SIZE_T_SUFFIX -+ -+/* If using the C implementation of alloca, define if you know the -+ direction of stack growth for your system; otherwise it will be -+ automatically deduced at runtime. -+ STACK_DIRECTION > 0 => grows toward higher addresses -+ STACK_DIRECTION < 0 => grows toward lower addresses -+ STACK_DIRECTION = 0 => direction of growth unknown */ -+#undef STACK_DIRECTION -+ -+/* Define to 1 if the `S_IS*' macros in do not work properly. */ -+#undef STAT_MACROS_BROKEN -+ -+/* Define to 1 if you have the ANSI C header files. */ -+#undef STDC_HEADERS -+ -+/* Define to 1 if strerror_r returns char *. */ -+#undef STRERROR_R_CHAR_P -+ -+/* Define to the prefix of C symbols at the assembler and linker level, either -+ an underscore or empty. */ -+#undef USER_LABEL_PREFIX -+ -+/* Enable extensions on AIX 3, Interix. */ -+#ifndef _ALL_SOURCE -+# undef _ALL_SOURCE -+#endif -+/* Enable general extensions on OS X. */ -+#ifndef _DARWIN_C_SOURCE -+# undef _DARWIN_C_SOURCE -+#endif -+/* Enable GNU extensions on systems that have them. */ -+#ifndef _GNU_SOURCE -+# undef _GNU_SOURCE -+#endif -+/* Enable threading extensions on Solaris. */ -+#ifndef _POSIX_PTHREAD_SEMANTICS -+# undef _POSIX_PTHREAD_SEMANTICS -+#endif -+/* Enable extensions on HP NonStop. */ -+#ifndef _TANDEM_SOURCE -+# undef _TANDEM_SOURCE -+#endif -+/* Enable X/Open extensions if necessary. HP-UX 11.11 defines -+ mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of -+ whether compiling with -Ae or -D_HPUX_SOURCE=1. */ -+#ifndef _XOPEN_SOURCE -+# undef _XOPEN_SOURCE -+#endif -+/* Enable general extensions on Solaris. */ -+#ifndef __EXTENSIONS__ -+# undef __EXTENSIONS__ -+#endif -+ -+ -+/* Define to 1 if you want getc etc. to use unlocked I/O if available. -+ Unlocked I/O can improve performance in unithreaded apps, but it is not -+ safe for multithreaded apps. */ -+#undef USE_UNLOCKED_IO -+ -+/* Version number of package */ -+#undef VERSION -+ -+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type -+ 'wchar_t'. */ -+#undef WCHAR_T_SUFFIX -+ -+/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type -+ 'wint_t'. */ -+#undef WINT_T_SUFFIX -+ -+/* Define if the machine's byte ordering is little endian. */ -+#undef WORDS_LITTLEENDIAN -+ -+/* Enable large inode numbers on Mac OS X 10.5. */ -+#undef _DARWIN_USE_64_BIT_INODE -+ -+/* Number of bits in a file offset, on hosts where this is settable. */ -+#undef _FILE_OFFSET_BITS -+ -+/* Define to 1 if Gnulib overrides 'struct stat' on Windows so that struct -+ stat.st_size becomes 64-bit. */ -+#undef _GL_WINDOWS_64_BIT_ST_SIZE -+ -+/* Define for large files, on AIX-style hosts. */ -+#undef _LARGE_FILES -+ -+/* Define to 1 if on MINIX. */ -+#undef _MINIX -+ -+/* Define to 1 to make NetBSD features available. MINIX 3 needs this. */ -+#undef _NETBSD_SOURCE -+ -+/* The _Noreturn keyword of C11. */ -+#if ! (defined _Noreturn \ -+ || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) -+# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ -+ || 0x5110 <= __SUNPRO_C) -+# define _Noreturn __attribute__ ((__noreturn__)) -+# elif defined _MSC_VER && 1200 <= _MSC_VER -+# define _Noreturn __declspec (noreturn) -+# else -+# define _Noreturn -+# endif -+#endif -+ -+ -+/* Define to 2 if the system does not provide POSIX.1 features except with -+ this defined. */ -+#undef _POSIX_1_SOURCE -+ -+/* Define to 1 if you need to in order for 'stat' and other things to work. */ -+#undef _POSIX_SOURCE -+ -+/* _GL_INLINE is a portable alternative to ISO C99 plain 'inline'. -+ _GL_EXTERN_INLINE is a portable alternative to 'extern inline'. -+ _GL_INLINE_HEADER_BEGIN contains useful stuff to put -+ in an include file, before uses of _GL_INLINE. -+ It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic, -+ when FOO is an inline function in the header; see -+ . -+ _GL_INLINE_HEADER_END contains useful stuff to put -+ in the same include file, after uses of _GL_INLINE. -+ -+ Suppress extern inline with HP-UX cc, as it appears to be broken; see -+ . -+ -+ Suppress extern inline with Sun C in standards-conformance mode, as it -+ mishandles inline functions that call each other. E.g., for 'inline void f -+ (void) { } inline void g (void) { f (); }', c99 incorrectly complains -+ 'reference to static identifier "f" in extern inline function'. -+ This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. -+ -+ Suppress the use of extern inline on Apple's platforms, as Libc at least -+ through Libc-825.26 (2013-04-09) is incompatible with it; see, e.g., -+ . -+ Perhaps Apple will fix this some day. */ -+#if ((__GNUC__ \ -+ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ -+ : (199901L <= __STDC_VERSION__ \ -+ && !defined __HP_cc \ -+ && !(defined __SUNPRO_C && __STDC__))) \ -+ && !defined __APPLE__) -+# define _GL_INLINE inline -+# define _GL_EXTERN_INLINE extern inline -+#elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__ -+# if __GNUC_GNU_INLINE__ -+ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ -+# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) -+# else -+# define _GL_INLINE extern inline -+# endif -+# define _GL_EXTERN_INLINE extern -+#else -+# define _GL_INLINE static _GL_UNUSED -+# define _GL_EXTERN_INLINE static _GL_UNUSED -+#endif -+ -+#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) -+# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ -+# define _GL_INLINE_HEADER_CONST_PRAGMA -+# else -+# define _GL_INLINE_HEADER_CONST_PRAGMA \ -+ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") -+# endif -+# define _GL_INLINE_HEADER_BEGIN \ -+ _Pragma ("GCC diagnostic push") \ -+ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ -+ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ -+ _GL_INLINE_HEADER_CONST_PRAGMA -+# define _GL_INLINE_HEADER_END \ -+ _Pragma ("GCC diagnostic pop") -+#else -+# define _GL_INLINE_HEADER_BEGIN -+# define _GL_INLINE_HEADER_END -+#endif -+ -+/* Define to `int' if doesn't define. */ -+#undef gid_t -+ -+/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports -+ the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of -+ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. -+ __APPLE__ && __MACH__ test for Mac OS X. -+ __APPLE_CC__ tests for the Apple compiler and its version. -+ __STDC_VERSION__ tests for the C99 mode. */ -+#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ -+# define __GNUC_STDC_INLINE__ 1 -+#endif -+ -+/* Define to a type if does not define. */ -+#undef mbstate_t -+ -+/* Define to `int' if does not define. */ -+#undef mode_t -+ -+/* Define to the type of st_nlink in struct stat, or a supertype. */ -+#undef nlink_t -+ -+/* Define to `int' if does not define. */ -+#undef pid_t -+ -+/* Define to the equivalent of the C99 'restrict' keyword, or to -+ nothing if this is not supported. Do not define if restrict is -+ supported directly. */ -+#undef restrict -+/* Work around a bug in Sun C++: it does not support _Restrict or -+ __restrict__, even though the corresponding Sun C compiler ends up with -+ "#define restrict _Restrict" or "#define restrict __restrict__" in the -+ previous line. Perhaps some future version of Sun C++ will work with -+ restrict; if so, hopefully it defines __RESTRICT like Sun C does. */ -+#if defined __SUNPRO_CC && !defined __RESTRICT -+# define _Restrict -+# define __restrict__ -+#endif -+ -+/* Define to `unsigned int' if does not define. */ -+#undef size_t -+ -+/* Define as a signed type of the same size as size_t. */ -+#undef ssize_t -+ -+/* Define to `int' if doesn't define. */ -+#undef uid_t -+ -+/* Define as a marker that can be attached to declarations that might not -+ be used. This helps to reduce warnings, such as from -+ GCC -Wunused-parameter. */ -+#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) -+# define _GL_UNUSED __attribute__ ((__unused__)) -+#else -+# define _GL_UNUSED -+#endif -+/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name -+ is a misnomer outside of parameter lists. */ -+#define _UNUSED_PARAMETER_ _GL_UNUSED -+ -+/* The __pure__ attribute was added in gcc 2.96. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) -+#else -+# define _GL_ATTRIBUTE_PURE /* empty */ -+#endif -+ -+/* The __const__ attribute was added in gcc 2.95. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) -+# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) -+#else -+# define _GL_ATTRIBUTE_CONST /* empty */ -+#endif -+ -+ -+ -+/* On Windows, variables that may be in a DLL must be marked specially. */ -+#if defined _MSC_VER && defined _DLL -+# define DLL_VARIABLE __declspec (dllimport) -+#else -+# define DLL_VARIABLE -+#endif -+ -diff -Naur libiconv-20130504/configure libiconv-20130504.patch/configure ---- libiconv-20130504/configure 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/configure 2013-05-04 10:23:28.622110501 +0200 -@@ -0,0 +1,25691 @@ -+#! /bin/sh -+# Guess values for system-dependent variables and create Makefiles. -+# Generated by GNU Autoconf 2.69. -+# -+# -+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. -+# -+# -+# This configure script is free software; the Free Software Foundation -+# gives unlimited permission to copy, distribute and modify it. -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## -+ -+# Be more Bourne compatible -+DUALCASE=1; export DUALCASE # for MKS sh -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+ -+ -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' -+ fi -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' -+fi -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } -+fi -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. Quoting is -+# there to prevent editors from complaining about space-tab. -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word -+# splitting by setting IFS to empty value.) -+IFS=" "" $as_nl" -+ -+# Find who we are. Look in the path if we contain no directory separator. -+as_myself= -+case $0 in #(( -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done -+IFS=$as_save_IFS -+ -+ ;; -+esac -+# We did not find ourselves, most probably we were run as `sh COMMAND' -+# in which case we are not to be found in the path. -+if test "x$as_myself" = x; then -+ as_myself=$0 -+fi -+if test ! -f "$as_myself"; then -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 -+fi -+ -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -+done -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+# Use a proper internal environment variable to ensure we don't fall -+ # into an infinite loop, continuously re-executing ourselves. -+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then -+ _as_can_reexec=no; export _as_can_reexec; -+ # We cannot yet assume a decent shell, so we have to provide a -+# neutralization value for shells without unset; and this also -+# works around shells that cannot unset nonexistent variables. -+# Preserve -v and -x to the replacement shell. -+BASH_ENV=/dev/null -+ENV=/dev/null -+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -+case $- in # (((( -+ *v*x* | *x*v* ) as_opts=-vx ;; -+ *v* ) as_opts=-v ;; -+ *x* ) as_opts=-x ;; -+ * ) as_opts= ;; -+esac -+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -+# Admittedly, this is quite paranoid, since all the known shells bail -+# out after a failed `exec'. -+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -+as_fn_exit 255 -+ fi -+ # We don't want this to propagate to other subprocesses. -+ { _as_can_reexec=; unset _as_can_reexec;} -+if test "x$CONFIG_SHELL" = x; then -+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '\${1+\"\$@\"}'='\"\$@\"' -+ setopt NO_GLOB_SUBST -+else -+ case \`(set -o) 2>/dev/null\` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+" -+ as_required="as_fn_return () { (exit \$1); } -+as_fn_success () { as_fn_return 0; } -+as_fn_failure () { as_fn_return 1; } -+as_fn_ret_success () { return 0; } -+as_fn_ret_failure () { return 1; } -+ -+exitcode=0 -+as_fn_success || { exitcode=1; echo as_fn_success failed.; } -+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : -+ -+else -+ exitcode=1; echo positional parameters were not saved. -+fi -+test x\$exitcode = x0 || exit 1 -+test -x / || exit 1" -+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO -+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO -+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && -+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -+test \$(( 1 + 1 )) = 2 || exit 1 -+ -+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( -+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO -+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO -+ PATH=/empty FPATH=/empty; export PATH FPATH -+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ -+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" -+ if (eval "$as_required") 2>/dev/null; then : -+ as_have_required=yes -+else -+ as_have_required=no -+fi -+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : -+ -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+as_found=false -+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ as_found=: -+ case $as_dir in #( -+ /*) -+ for as_base in sh bash ksh sh5; do -+ # Try only shells that exist, to save several forks. -+ as_shell=$as_dir/$as_base -+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ CONFIG_SHELL=$as_shell as_have_required=yes -+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ break 2 -+fi -+fi -+ done;; -+ esac -+ as_found=false -+done -+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : -+ CONFIG_SHELL=$SHELL as_have_required=yes -+fi; } -+IFS=$as_save_IFS -+ -+ -+ if test "x$CONFIG_SHELL" != x; then : -+ export CONFIG_SHELL -+ # We cannot yet assume a decent shell, so we have to provide a -+# neutralization value for shells without unset; and this also -+# works around shells that cannot unset nonexistent variables. -+# Preserve -v and -x to the replacement shell. -+BASH_ENV=/dev/null -+ENV=/dev/null -+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -+case $- in # (((( -+ *v*x* | *x*v* ) as_opts=-vx ;; -+ *v* ) as_opts=-v ;; -+ *x* ) as_opts=-x ;; -+ * ) as_opts= ;; -+esac -+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -+# Admittedly, this is quite paranoid, since all the known shells bail -+# out after a failed `exec'. -+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -+exit 255 -+fi -+ -+ if test x$as_have_required = xno; then : -+ $as_echo "$0: This script requires a shell more modern than all" -+ $as_echo "$0: the shells that I found on your system." -+ if test x${ZSH_VERSION+set} = xset ; then -+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" -+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." -+ else -+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -+$0: including any error possibly output before this -+$0: message. Then install a modern shell, or manually run -+$0: the script under such a shell if you do have one." -+ fi -+ exit 1 -+fi -+fi -+fi -+SHELL=${CONFIG_SHELL-/bin/sh} -+export SHELL -+# Unset more variables known to interfere with behavior of common tools. -+CLICOLOR_FORCE= GREP_OPTIONS= -+unset CLICOLOR_FORCE GREP_OPTIONS -+ -+## --------------------- ## -+## M4sh Shell Functions. ## -+## --------------------- ## -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+ -+# as_fn_executable_p FILE -+# ----------------------- -+# Test if FILE is an executable regular file. -+as_fn_executable_p () -+{ -+ test -f "$1" && test -x "$1" -+} # as_fn_executable_p -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+# as_fn_error STATUS ERROR [LINENO LOG_FD] -+# ---------------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with STATUS, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$1; test $as_status -eq 0 && as_status=1 -+ if test "$4"; then -+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 -+ fi -+ $as_echo "$as_me: error: $2" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+if expr a : '\(a\)' >/dev/null 2>&1 && -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi -+ -+as_me=`$as_basename -- "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+ -+ as_lineno_1=$LINENO as_lineno_1a=$LINENO -+ as_lineno_2=$LINENO as_lineno_2a=$LINENO -+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && -+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { -+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) -+ sed -n ' -+ p -+ /[$]LINENO/= -+ ' <$as_myself | -+ sed ' -+ s/[$]LINENO.*/&-/ -+ t lineno -+ b -+ :lineno -+ N -+ :loop -+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ -+ t loop -+ s/-\n.*// -+ ' >$as_me.lineno && -+ chmod +x "$as_me.lineno" || -+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } -+ -+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have -+ # already done that, so ensure we don't try to do so again and fall -+ # in an infinite loop. This has already happened in practice. -+ _as_can_reexec=no; export _as_can_reexec -+ # Don't try to exec as it changes $[0], causing all sort of problems -+ # (the dirname of $[0] is not the place where we might find the -+ # original and so on. Autoconf is especially sensitive to this). -+ . "./$as_me.lineno" -+ # Exit status is that of the last command. -+ exit -+} -+ -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac -+ -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null -+fi -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -pR'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -pR' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -pR' -+ fi -+else -+ as_ln_s='cp -pR' -+fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null -+ -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+as_test_x='test -x' -+as_executable_p=as_fn_executable_p -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+SHELL=${CONFIG_SHELL-/bin/sh} -+ -+ -+test -n "$DJDIR" || exec 7<&0 &1 -+ -+# Name of the host. -+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, -+# so uname gets run too. -+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` -+ -+# -+# Initializations. -+# -+ac_default_prefix=/usr/local -+ac_clean_files= -+ac_config_libobj_dir=. -+LIBOBJS= -+cross_compiling=no -+subdirs= -+MFLAGS= -+MAKEFLAGS= -+ -+# Identity of this package. -+PACKAGE_NAME= -+PACKAGE_TARNAME= -+PACKAGE_VERSION= -+PACKAGE_STRING= -+PACKAGE_BUGREPORT= -+PACKAGE_URL= -+ -+ac_unique_file="lib/iconv.c" -+# Factoring default headers for most tests. -+ac_includes_default="\ -+#include -+#ifdef HAVE_SYS_TYPES_H -+# include -+#endif -+#ifdef HAVE_SYS_STAT_H -+# include -+#endif -+#ifdef STDC_HEADERS -+# include -+# include -+#else -+# ifdef HAVE_STDLIB_H -+# include -+# endif -+#endif -+#ifdef HAVE_STRING_H -+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -+# include -+# endif -+# include -+#endif -+#ifdef HAVE_STRINGS_H -+# include -+#endif -+#ifdef HAVE_INTTYPES_H -+# include -+#endif -+#ifdef HAVE_STDINT_H -+# include -+#endif -+#ifdef HAVE_UNISTD_H -+# include -+#endif" -+ -+gt_needs= -+ac_header_list= -+ac_func_list= -+enable_option_checking=no -+ac_subst_vars='gltests_LTLIBOBJS -+gltests_LIBOBJS -+gl_LTLIBOBJS -+gl_LIBOBJS -+am__EXEEXT_FALSE -+am__EXEEXT_TRUE -+LTLIBOBJS -+LIBOBJS -+subdirs -+DLL_VARIABLE -+WOE32DLL -+SRCLIBOBJS -+LIBICRT_LTLIBDEPS -+LIBICRT_LIBDEPS -+gltests_WITNESS -+LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE -+LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE -+LIBUNISTRING_UNIWIDTH_H -+LIBUNISTRING_UNITYPES_H -+HAVE_UNISTD_H -+NEXT_AS_FIRST_DIRECTIVE_UNISTD_H -+NEXT_UNISTD_H -+PTHREAD_H_DEFINES_STRUCT_TIMESPEC -+SYS_TIME_H_DEFINES_STRUCT_TIMESPEC -+TIME_H_DEFINES_STRUCT_TIMESPEC -+NEXT_AS_FIRST_DIRECTIVE_TIME_H -+NEXT_TIME_H -+REPLACE_TIMEGM -+REPLACE_NANOSLEEP -+REPLACE_MKTIME -+REPLACE_LOCALTIME_R -+HAVE_TIMEGM -+HAVE_STRPTIME -+HAVE_NANOSLEEP -+HAVE_DECL_LOCALTIME_R -+GNULIB_TIME_R -+GNULIB_TIMEGM -+GNULIB_STRPTIME -+GNULIB_NANOSLEEP -+GNULIB_MKTIME -+WINDOWS_64_BIT_OFF_T -+NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H -+NEXT_SYS_TYPES_H -+WINDOWS_64_BIT_ST_SIZE -+NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H -+NEXT_SYS_STAT_H -+NEXT_AS_FIRST_DIRECTIVE_STRING_H -+NEXT_STRING_H -+HAVE_WINSOCK2_H -+UNDEFINE_STRTOK_R -+REPLACE_STRTOK_R -+REPLACE_STRSIGNAL -+REPLACE_STRNLEN -+REPLACE_STRNDUP -+REPLACE_STRNCAT -+REPLACE_STRERROR_R -+REPLACE_STRERROR -+REPLACE_STRCHRNUL -+REPLACE_STRCASESTR -+REPLACE_STRSTR -+REPLACE_STRDUP -+REPLACE_STPNCPY -+REPLACE_MEMMEM -+REPLACE_MEMCHR -+HAVE_STRVERSCMP -+HAVE_DECL_STRSIGNAL -+HAVE_DECL_STRERROR_R -+HAVE_DECL_STRTOK_R -+HAVE_STRCASESTR -+HAVE_STRSEP -+HAVE_STRPBRK -+HAVE_DECL_STRNLEN -+HAVE_DECL_STRNDUP -+HAVE_DECL_STRDUP -+HAVE_STRCHRNUL -+HAVE_STPNCPY -+HAVE_STPCPY -+HAVE_RAWMEMCHR -+HAVE_DECL_MEMRCHR -+HAVE_MEMPCPY -+HAVE_DECL_MEMMEM -+HAVE_MEMCHR -+HAVE_FFSLL -+HAVE_FFSL -+HAVE_MBSLEN -+GNULIB_STRVERSCMP -+GNULIB_STRSIGNAL -+GNULIB_STRERROR_R -+GNULIB_STRERROR -+GNULIB_MBSTOK_R -+GNULIB_MBSSEP -+GNULIB_MBSSPN -+GNULIB_MBSPBRK -+GNULIB_MBSCSPN -+GNULIB_MBSCASESTR -+GNULIB_MBSPCASECMP -+GNULIB_MBSNCASECMP -+GNULIB_MBSCASECMP -+GNULIB_MBSSTR -+GNULIB_MBSRCHR -+GNULIB_MBSCHR -+GNULIB_MBSNLEN -+GNULIB_MBSLEN -+GNULIB_STRTOK_R -+GNULIB_STRCASESTR -+GNULIB_STRSTR -+GNULIB_STRSEP -+GNULIB_STRPBRK -+GNULIB_STRNLEN -+GNULIB_STRNDUP -+GNULIB_STRNCAT -+GNULIB_STRDUP -+GNULIB_STRCHRNUL -+GNULIB_STPNCPY -+GNULIB_STPCPY -+GNULIB_RAWMEMCHR -+GNULIB_MEMRCHR -+GNULIB_MEMPCPY -+GNULIB_MEMMEM -+GNULIB_MEMCHR -+GNULIB_FFSLL -+GNULIB_FFSL -+NEXT_AS_FIRST_DIRECTIVE_STDLIB_H -+NEXT_STDLIB_H -+NEXT_AS_FIRST_DIRECTIVE_STDIO_H -+NEXT_STDIO_H -+GL_GENERATE_STDINT_H_FALSE -+GL_GENERATE_STDINT_H_TRUE -+STDINT_H -+WINT_T_SUFFIX -+WCHAR_T_SUFFIX -+SIG_ATOMIC_T_SUFFIX -+SIZE_T_SUFFIX -+PTRDIFF_T_SUFFIX -+HAVE_SIGNED_WINT_T -+HAVE_SIGNED_WCHAR_T -+HAVE_SIGNED_SIG_ATOMIC_T -+BITSIZEOF_WINT_T -+BITSIZEOF_WCHAR_T -+BITSIZEOF_SIG_ATOMIC_T -+BITSIZEOF_SIZE_T -+BITSIZEOF_PTRDIFF_T -+HAVE_SYS_BITYPES_H -+HAVE_SYS_INTTYPES_H -+HAVE_STDINT_H -+NEXT_AS_FIRST_DIRECTIVE_STDINT_H -+NEXT_STDINT_H -+HAVE_SYS_TYPES_H -+HAVE_INTTYPES_H -+HAVE_WCHAR_H -+HAVE_UNSIGNED_LONG_LONG_INT -+HAVE_LONG_LONG_INT -+NEXT_AS_FIRST_DIRECTIVE_STDDEF_H -+NEXT_STDDEF_H -+GL_GENERATE_STDDEF_H_FALSE -+GL_GENERATE_STDDEF_H_TRUE -+STDDEF_H -+REPLACE_NULL -+HAVE__BOOL -+GL_GENERATE_STDBOOL_H_FALSE -+GL_GENERATE_STDBOOL_H_TRUE -+STDBOOL_H -+ASM_SYMBOL_PREFIX -+REPLACE_VSPRINTF -+REPLACE_VSNPRINTF -+REPLACE_VPRINTF -+REPLACE_VFPRINTF -+REPLACE_VDPRINTF -+REPLACE_VASPRINTF -+REPLACE_TMPFILE -+REPLACE_STDIO_WRITE_FUNCS -+REPLACE_STDIO_READ_FUNCS -+REPLACE_SPRINTF -+REPLACE_SNPRINTF -+REPLACE_RENAMEAT -+REPLACE_RENAME -+REPLACE_REMOVE -+REPLACE_PRINTF -+REPLACE_POPEN -+REPLACE_PERROR -+REPLACE_OBSTACK_PRINTF -+REPLACE_GETLINE -+REPLACE_GETDELIM -+REPLACE_FTELLO -+REPLACE_FTELL -+REPLACE_FSEEKO -+REPLACE_FSEEK -+REPLACE_FREOPEN -+REPLACE_FPURGE -+REPLACE_FPRINTF -+REPLACE_FOPEN -+REPLACE_FFLUSH -+REPLACE_FDOPEN -+REPLACE_FCLOSE -+REPLACE_DPRINTF -+HAVE_VDPRINTF -+HAVE_VASPRINTF -+HAVE_RENAMEAT -+HAVE_POPEN -+HAVE_PCLOSE -+HAVE_FTELLO -+HAVE_FSEEKO -+HAVE_DPRINTF -+HAVE_DECL_VSNPRINTF -+HAVE_DECL_SNPRINTF -+HAVE_DECL_OBSTACK_PRINTF -+HAVE_DECL_GETLINE -+HAVE_DECL_GETDELIM -+HAVE_DECL_FTELLO -+HAVE_DECL_FSEEKO -+HAVE_DECL_FPURGE -+GNULIB_VSPRINTF_POSIX -+GNULIB_VSNPRINTF -+GNULIB_VPRINTF_POSIX -+GNULIB_VPRINTF -+GNULIB_VFPRINTF_POSIX -+GNULIB_VFPRINTF -+GNULIB_VDPRINTF -+GNULIB_VSCANF -+GNULIB_VFSCANF -+GNULIB_VASPRINTF -+GNULIB_TMPFILE -+GNULIB_STDIO_H_SIGPIPE -+GNULIB_STDIO_H_NONBLOCKING -+GNULIB_SPRINTF_POSIX -+GNULIB_SNPRINTF -+GNULIB_SCANF -+GNULIB_RENAMEAT -+GNULIB_RENAME -+GNULIB_REMOVE -+GNULIB_PUTS -+GNULIB_PUTCHAR -+GNULIB_PUTC -+GNULIB_PRINTF_POSIX -+GNULIB_PRINTF -+GNULIB_POPEN -+GNULIB_PERROR -+GNULIB_PCLOSE -+GNULIB_OBSTACK_PRINTF_POSIX -+GNULIB_OBSTACK_PRINTF -+GNULIB_GETLINE -+GNULIB_GETDELIM -+GNULIB_GETCHAR -+GNULIB_GETC -+GNULIB_FWRITE -+GNULIB_FTELLO -+GNULIB_FTELL -+GNULIB_FSEEKO -+GNULIB_FSEEK -+GNULIB_FSCANF -+GNULIB_FREOPEN -+GNULIB_FREAD -+GNULIB_FPUTS -+GNULIB_FPUTC -+GNULIB_FPURGE -+GNULIB_FPRINTF_POSIX -+GNULIB_FPRINTF -+GNULIB_FOPEN -+GNULIB_FGETS -+GNULIB_FGETC -+GNULIB_FFLUSH -+GNULIB_FDOPEN -+GNULIB_FCLOSE -+GNULIB_DPRINTF -+NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H -+NEXT_SIGNAL_H -+REPLACE_RAISE -+REPLACE_PTHREAD_SIGMASK -+HAVE_SIGHANDLER_T -+HAVE_TYPE_VOLATILE_SIG_ATOMIC_T -+HAVE_STRUCT_SIGACTION_SA_SIGACTION -+HAVE_SIGACTION -+HAVE_SIGINFO_T -+HAVE_SIGSET_T -+HAVE_RAISE -+HAVE_PTHREAD_SIGMASK -+HAVE_POSIX_SIGNALBLOCKING -+GNULIB_SIGACTION -+GNULIB_SIGPROCMASK -+GNULIB_SIGNAL_H_SIGPIPE -+GNULIB_RAISE -+GNULIB_PTHREAD_SIGMASK -+APPLE_UNIVERSAL_BUILD -+HAVE_MSVC_INVALID_PARAMETER_HANDLER -+REPLACE_UTIMENSAT -+REPLACE_STAT -+REPLACE_MKNOD -+REPLACE_MKFIFO -+REPLACE_MKDIR -+REPLACE_LSTAT -+REPLACE_FUTIMENS -+REPLACE_FSTATAT -+REPLACE_FSTAT -+HAVE_UTIMENSAT -+HAVE_MKNODAT -+HAVE_MKNOD -+HAVE_MKFIFOAT -+HAVE_MKFIFO -+HAVE_MKDIRAT -+HAVE_LSTAT -+HAVE_LCHMOD -+HAVE_FUTIMENS -+HAVE_FSTATAT -+HAVE_FCHMODAT -+GNULIB_UTIMENSAT -+GNULIB_STAT -+GNULIB_MKNODAT -+GNULIB_MKNOD -+GNULIB_MKFIFOAT -+GNULIB_MKFIFO -+GNULIB_MKDIRAT -+GNULIB_LSTAT -+GNULIB_LCHMOD -+GNULIB_FUTIMENS -+GNULIB_FSTATAT -+GNULIB_FSTAT -+GNULIB_FCHMODAT -+NEXT_AS_FIRST_DIRECTIVE_FCNTL_H -+NEXT_FCNTL_H -+REPLACE_OPENAT -+REPLACE_OPEN -+REPLACE_FCNTL -+HAVE_OPENAT -+HAVE_FCNTL -+GNULIB_OPENAT -+GNULIB_OPEN -+GNULIB_NONBLOCKING -+GNULIB_FCNTL -+EOVERFLOW_VALUE -+EOVERFLOW_HIDDEN -+ENOLINK_VALUE -+ENOLINK_HIDDEN -+EMULTIHOP_VALUE -+EMULTIHOP_HIDDEN -+GL_GENERATE_ERRNO_H_FALSE -+GL_GENERATE_ERRNO_H_TRUE -+ERRNO_H -+NEXT_AS_FIRST_DIRECTIVE_ERRNO_H -+NEXT_ERRNO_H -+PRAGMA_COLUMNS -+PRAGMA_SYSTEM_HEADER -+INCLUDE_NEXT_AS_FIRST_DIRECTIVE -+INCLUDE_NEXT -+UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS -+UNISTD_H_HAVE_WINSOCK2_H -+REPLACE_WRITE -+REPLACE_USLEEP -+REPLACE_UNLINKAT -+REPLACE_UNLINK -+REPLACE_TTYNAME_R -+REPLACE_SYMLINK -+REPLACE_SLEEP -+REPLACE_RMDIR -+REPLACE_READLINK -+REPLACE_READ -+REPLACE_PWRITE -+REPLACE_PREAD -+REPLACE_LSEEK -+REPLACE_LINKAT -+REPLACE_LINK -+REPLACE_LCHOWN -+REPLACE_ISATTY -+REPLACE_GETPAGESIZE -+REPLACE_GETGROUPS -+REPLACE_GETLOGIN_R -+REPLACE_GETDOMAINNAME -+REPLACE_GETCWD -+REPLACE_FTRUNCATE -+REPLACE_FCHOWNAT -+REPLACE_DUP2 -+REPLACE_DUP -+REPLACE_CLOSE -+REPLACE_CHOWN -+HAVE_SYS_PARAM_H -+HAVE_OS_H -+HAVE_DECL_TTYNAME_R -+HAVE_DECL_SETHOSTNAME -+HAVE_DECL_GETUSERSHELL -+HAVE_DECL_GETPAGESIZE -+HAVE_DECL_GETLOGIN_R -+HAVE_DECL_GETDOMAINNAME -+HAVE_DECL_FDATASYNC -+HAVE_DECL_FCHDIR -+HAVE_DECL_ENVIRON -+HAVE_USLEEP -+HAVE_UNLINKAT -+HAVE_SYMLINKAT -+HAVE_SYMLINK -+HAVE_SLEEP -+HAVE_SETHOSTNAME -+HAVE_READLINKAT -+HAVE_READLINK -+HAVE_PWRITE -+HAVE_PREAD -+HAVE_PIPE2 -+HAVE_PIPE -+HAVE_LINKAT -+HAVE_LINK -+HAVE_LCHOWN -+HAVE_GROUP_MEMBER -+HAVE_GETPAGESIZE -+HAVE_GETLOGIN -+HAVE_GETHOSTNAME -+HAVE_GETGROUPS -+HAVE_GETDTABLESIZE -+HAVE_FTRUNCATE -+HAVE_FSYNC -+HAVE_FDATASYNC -+HAVE_FCHOWNAT -+HAVE_FCHDIR -+HAVE_FACCESSAT -+HAVE_EUIDACCESS -+HAVE_DUP3 -+HAVE_DUP2 -+HAVE_CHOWN -+GNULIB_WRITE -+GNULIB_USLEEP -+GNULIB_UNLINKAT -+GNULIB_UNLINK -+GNULIB_UNISTD_H_SIGPIPE -+GNULIB_UNISTD_H_NONBLOCKING -+GNULIB_TTYNAME_R -+GNULIB_SYMLINKAT -+GNULIB_SYMLINK -+GNULIB_SLEEP -+GNULIB_SETHOSTNAME -+GNULIB_RMDIR -+GNULIB_READLINKAT -+GNULIB_READLINK -+GNULIB_READ -+GNULIB_PWRITE -+GNULIB_PREAD -+GNULIB_PIPE2 -+GNULIB_PIPE -+GNULIB_LSEEK -+GNULIB_LINKAT -+GNULIB_LINK -+GNULIB_LCHOWN -+GNULIB_ISATTY -+GNULIB_GROUP_MEMBER -+GNULIB_GETUSERSHELL -+GNULIB_GETPAGESIZE -+GNULIB_GETLOGIN_R -+GNULIB_GETLOGIN -+GNULIB_GETHOSTNAME -+GNULIB_GETGROUPS -+GNULIB_GETDTABLESIZE -+GNULIB_GETDOMAINNAME -+GNULIB_GETCWD -+GNULIB_FTRUNCATE -+GNULIB_FSYNC -+GNULIB_FDATASYNC -+GNULIB_FCHOWNAT -+GNULIB_FCHDIR -+GNULIB_FACCESSAT -+GNULIB_EUIDACCESS -+GNULIB_ENVIRON -+GNULIB_DUP3 -+GNULIB_DUP2 -+GNULIB_DUP -+GNULIB_CLOSE -+GNULIB_CHOWN -+GNULIB_CHDIR -+REPLACE_WCTOMB -+REPLACE_UNSETENV -+REPLACE_STRTOD -+REPLACE_SETENV -+REPLACE_REALPATH -+REPLACE_REALLOC -+REPLACE_RANDOM_R -+REPLACE_PUTENV -+REPLACE_PTSNAME_R -+REPLACE_PTSNAME -+REPLACE_MKSTEMP -+REPLACE_MBTOWC -+REPLACE_MALLOC -+REPLACE_CANONICALIZE_FILE_NAME -+REPLACE_CALLOC -+HAVE_DECL_UNSETENV -+HAVE_UNLOCKPT -+HAVE_SYS_LOADAVG_H -+HAVE_STRUCT_RANDOM_DATA -+HAVE_STRTOULL -+HAVE_STRTOLL -+HAVE_STRTOD -+HAVE_DECL_SETENV -+HAVE_SETENV -+HAVE_SECURE_GETENV -+HAVE_RPMATCH -+HAVE_REALPATH -+HAVE_RANDOM_R -+HAVE_RANDOM_H -+HAVE_RANDOM -+HAVE_PTSNAME_R -+HAVE_PTSNAME -+HAVE_POSIX_OPENPT -+HAVE_MKSTEMPS -+HAVE_MKSTEMP -+HAVE_MKOSTEMPS -+HAVE_MKOSTEMP -+HAVE_MKDTEMP -+HAVE_GRANTPT -+HAVE_GETSUBOPT -+HAVE_DECL_GETLOADAVG -+HAVE_CANONICALIZE_FILE_NAME -+HAVE_ATOLL -+HAVE__EXIT -+GNULIB_WCTOMB -+GNULIB_UNSETENV -+GNULIB_UNLOCKPT -+GNULIB_SYSTEM_POSIX -+GNULIB_STRTOULL -+GNULIB_STRTOLL -+GNULIB_STRTOD -+GNULIB_SETENV -+GNULIB_SECURE_GETENV -+GNULIB_RPMATCH -+GNULIB_REALPATH -+GNULIB_REALLOC_POSIX -+GNULIB_RANDOM_R -+GNULIB_RANDOM -+GNULIB_PUTENV -+GNULIB_PTSNAME_R -+GNULIB_PTSNAME -+GNULIB_POSIX_OPENPT -+GNULIB_MKSTEMPS -+GNULIB_MKSTEMP -+GNULIB_MKOSTEMPS -+GNULIB_MKOSTEMP -+GNULIB_MKDTEMP -+GNULIB_MBTOWC -+GNULIB_MALLOC_POSIX -+GNULIB_GRANTPT -+GNULIB_GETSUBOPT -+GNULIB_GETLOADAVG -+GNULIB_CANONICALIZE_FILE_NAME -+GNULIB_CALLOC_POSIX -+GNULIB_ATOLL -+GNULIB__EXIT -+GL_GENERATE_ALLOCA_H_FALSE -+GL_GENERATE_ALLOCA_H_TRUE -+ALLOCA_H -+ALLOCA -+GL_COND_LIBTOOL_FALSE -+GL_COND_LIBTOOL_TRUE -+EILSEQ -+BROKEN_WCHAR_H -+USE_MBSTATE_T -+HAVE_WCHAR_T -+ICONV_CONST -+POSUB -+LTLIBINTL -+LIBINTL -+INTLLIBS -+INTL_MACOSX_LIBS -+XGETTEXT_EXTRA_OPTIONS -+MSGMERGE -+XGETTEXT_015 -+XGETTEXT -+GMSGFMT_015 -+MSGFMT_015 -+GMSGFMT -+MSGFMT -+GETTEXT_MACRO_VERSION -+USE_NLS -+LTLIBICONV -+LIBICONV -+HAVE_VISIBILITY -+CFLAG_VISIBILITY -+WINDRES -+WOE32 -+RC -+OTOOL64 -+OTOOL -+LIPO -+NMEDIT -+DSYMUTIL -+MANIFEST_TOOL -+ac_ct_AR -+NM -+ac_ct_DUMPBIN -+DUMPBIN -+LD -+FGREP -+SED -+LIBTOOL -+OBJDUMP -+DLLTOOL -+AS -+LN_S -+LN -+CP -+USE_EXTRA_ENCODINGS -+RELOCATABLE_STRIP -+RELOCATABLE_BUILD_DIR -+RELOCATABLE_SRC_DIR -+RELOCATABLE_CONFIG_H_DIR -+RELOCATABLE_LIBRARY_PATH -+RELOCATABLE_VIA_WRAPPER_FALSE -+RELOCATABLE_VIA_WRAPPER_TRUE -+RELOCATABLE_VIA_LD_FALSE -+RELOCATABLE_VIA_LD_TRUE -+INSTALL_PROGRAM_ENV -+RELOCATABLE_LDFLAGS -+RELOCATABLE -+RANLIB -+ARFLAGS -+AR -+EGREP -+GREP -+host_os -+host_vendor -+host_cpu -+host -+build_os -+build_vendor -+build_cpu -+build -+CPP -+am__fastdepCC_FALSE -+am__fastdepCC_TRUE -+CCDEPMODE -+am__nodep -+AMDEPBACKSLASH -+AMDEP_FALSE -+AMDEP_TRUE -+am__quote -+am__include -+DEPDIR -+OBJEXT -+EXEEXT -+ac_ct_CC -+CPPFLAGS -+LDFLAGS -+CFLAGS -+CC -+am__untar -+am__tar -+AMTAR -+am__leading_dot -+SET_MAKE -+AWK -+mkdir_p -+MKDIR_P -+INSTALL_STRIP_PROGRAM -+STRIP -+install_sh -+MAKEINFO -+AUTOHEADER -+AUTOMAKE -+AUTOCONF -+ACLOCAL -+VERSION -+PACKAGE -+CYGPATH_W -+am__isrc -+INSTALL_DATA -+INSTALL_SCRIPT -+INSTALL_PROGRAM -+target_alias -+host_alias -+build_alias -+LIBS -+ECHO_T -+ECHO_N -+ECHO_C -+DEFS -+mandir -+localedir -+libdir -+psdir -+pdfdir -+dvidir -+htmldir -+infodir -+docdir -+oldincludedir -+includedir -+localstatedir -+sharedstatedir -+sysconfdir -+datadir -+datarootdir -+libexecdir -+sbindir -+bindir -+program_transform_name -+prefix -+exec_prefix -+PACKAGE_URL -+PACKAGE_BUGREPORT -+PACKAGE_STRING -+PACKAGE_VERSION -+PACKAGE_TARNAME -+PACKAGE_NAME -+PATH_SEPARATOR -+SHELL' -+ac_subst_files='' -+ac_user_opts=' -+enable_option_checking -+enable_dependency_tracking -+enable_largefile -+with_gnu_ld -+enable_relocatable -+enable_extra_encodings -+enable_static -+enable_shared -+with_pic -+enable_fast_install -+with_sysroot -+enable_libtool_lock -+enable_rpath -+with_libiconv_prefix -+enable_nls -+with_libintl_prefix -+' -+ ac_precious_vars='build_alias -+host_alias -+target_alias -+CC -+CFLAGS -+LDFLAGS -+LIBS -+CPPFLAGS -+CPP' -+ac_subdirs_all='libcharset -+preload' -+ -+# Initialize some variables set by options. -+ac_init_help= -+ac_init_version=false -+ac_unrecognized_opts= -+ac_unrecognized_sep= -+# The variables have the same names as the options, with -+# dashes changed to underlines. -+cache_file=/dev/null -+exec_prefix=NONE -+no_create= -+no_recursion= -+prefix=NONE -+program_prefix=NONE -+program_suffix=NONE -+program_transform_name=s,x,x, -+silent= -+site= -+srcdir= -+verbose= -+x_includes=NONE -+x_libraries=NONE -+ -+# Installation directory options. -+# These are left unexpanded so users can "make install exec_prefix=/foo" -+# and all the variables that are supposed to be based on exec_prefix -+# by default will actually change. -+# Use braces instead of parens because sh, perl, etc. also accept them. -+# (The list follows the same order as the GNU Coding Standards.) -+bindir='${exec_prefix}/bin' -+sbindir='${exec_prefix}/sbin' -+libexecdir='${exec_prefix}/libexec' -+datarootdir='${prefix}/share' -+datadir='${datarootdir}' -+sysconfdir='${prefix}/etc' -+sharedstatedir='${prefix}/com' -+localstatedir='${prefix}/var' -+includedir='${prefix}/include' -+oldincludedir='/usr/include' -+docdir='${datarootdir}/doc/${PACKAGE}' -+infodir='${datarootdir}/info' -+htmldir='${docdir}' -+dvidir='${docdir}' -+pdfdir='${docdir}' -+psdir='${docdir}' -+libdir='${exec_prefix}/lib' -+localedir='${datarootdir}/locale' -+mandir='${datarootdir}/man' -+ -+ac_prev= -+ac_dashdash= -+for ac_option -+do -+ # If the previous option needs an argument, assign it. -+ if test -n "$ac_prev"; then -+ eval $ac_prev=\$ac_option -+ ac_prev= -+ continue -+ fi -+ -+ case $ac_option in -+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; -+ *=) ac_optarg= ;; -+ *) ac_optarg=yes ;; -+ esac -+ -+ # Accept the important Cygnus configure options, so we can diagnose typos. -+ -+ case $ac_dashdash$ac_option in -+ --) -+ ac_dashdash=yes ;; -+ -+ -bindir | --bindir | --bindi | --bind | --bin | --bi) -+ ac_prev=bindir ;; -+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) -+ bindir=$ac_optarg ;; -+ -+ -build | --build | --buil | --bui | --bu) -+ ac_prev=build_alias ;; -+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) -+ build_alias=$ac_optarg ;; -+ -+ -cache-file | --cache-file | --cache-fil | --cache-fi \ -+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) -+ ac_prev=cache_file ;; -+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) -+ cache_file=$ac_optarg ;; -+ -+ --config-cache | -C) -+ cache_file=config.cache ;; -+ -+ -datadir | --datadir | --datadi | --datad) -+ ac_prev=datadir ;; -+ -datadir=* | --datadir=* | --datadi=* | --datad=*) -+ datadir=$ac_optarg ;; -+ -+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ -+ | --dataroo | --dataro | --datar) -+ ac_prev=datarootdir ;; -+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ -+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) -+ datarootdir=$ac_optarg ;; -+ -+ -disable-* | --disable-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=no ;; -+ -+ -docdir | --docdir | --docdi | --doc | --do) -+ ac_prev=docdir ;; -+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) -+ docdir=$ac_optarg ;; -+ -+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) -+ ac_prev=dvidir ;; -+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) -+ dvidir=$ac_optarg ;; -+ -+ -enable-* | --enable-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=\$ac_optarg ;; -+ -+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ -+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ -+ | --exec | --exe | --ex) -+ ac_prev=exec_prefix ;; -+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ -+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ -+ | --exec=* | --exe=* | --ex=*) -+ exec_prefix=$ac_optarg ;; -+ -+ -gas | --gas | --ga | --g) -+ # Obsolete; use --with-gas. -+ with_gas=yes ;; -+ -+ -help | --help | --hel | --he | -h) -+ ac_init_help=long ;; -+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) -+ ac_init_help=recursive ;; -+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) -+ ac_init_help=short ;; -+ -+ -host | --host | --hos | --ho) -+ ac_prev=host_alias ;; -+ -host=* | --host=* | --hos=* | --ho=*) -+ host_alias=$ac_optarg ;; -+ -+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) -+ ac_prev=htmldir ;; -+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ -+ | --ht=*) -+ htmldir=$ac_optarg ;; -+ -+ -includedir | --includedir | --includedi | --included | --include \ -+ | --includ | --inclu | --incl | --inc) -+ ac_prev=includedir ;; -+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ -+ | --includ=* | --inclu=* | --incl=* | --inc=*) -+ includedir=$ac_optarg ;; -+ -+ -infodir | --infodir | --infodi | --infod | --info | --inf) -+ ac_prev=infodir ;; -+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) -+ infodir=$ac_optarg ;; -+ -+ -libdir | --libdir | --libdi | --libd) -+ ac_prev=libdir ;; -+ -libdir=* | --libdir=* | --libdi=* | --libd=*) -+ libdir=$ac_optarg ;; -+ -+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ -+ | --libexe | --libex | --libe) -+ ac_prev=libexecdir ;; -+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ -+ | --libexe=* | --libex=* | --libe=*) -+ libexecdir=$ac_optarg ;; -+ -+ -localedir | --localedir | --localedi | --localed | --locale) -+ ac_prev=localedir ;; -+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) -+ localedir=$ac_optarg ;; -+ -+ -localstatedir | --localstatedir | --localstatedi | --localstated \ -+ | --localstate | --localstat | --localsta | --localst | --locals) -+ ac_prev=localstatedir ;; -+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ -+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) -+ localstatedir=$ac_optarg ;; -+ -+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) -+ ac_prev=mandir ;; -+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) -+ mandir=$ac_optarg ;; -+ -+ -nfp | --nfp | --nf) -+ # Obsolete; use --without-fp. -+ with_fp=no ;; -+ -+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ -+ | --no-cr | --no-c | -n) -+ no_create=yes ;; -+ -+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ -+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) -+ no_recursion=yes ;; -+ -+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ -+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ -+ | --oldin | --oldi | --old | --ol | --o) -+ ac_prev=oldincludedir ;; -+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ -+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ -+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) -+ oldincludedir=$ac_optarg ;; -+ -+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) -+ ac_prev=prefix ;; -+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) -+ prefix=$ac_optarg ;; -+ -+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ -+ | --program-pre | --program-pr | --program-p) -+ ac_prev=program_prefix ;; -+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ -+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) -+ program_prefix=$ac_optarg ;; -+ -+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ -+ | --program-suf | --program-su | --program-s) -+ ac_prev=program_suffix ;; -+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ -+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) -+ program_suffix=$ac_optarg ;; -+ -+ -program-transform-name | --program-transform-name \ -+ | --program-transform-nam | --program-transform-na \ -+ | --program-transform-n | --program-transform- \ -+ | --program-transform | --program-transfor \ -+ | --program-transfo | --program-transf \ -+ | --program-trans | --program-tran \ -+ | --progr-tra | --program-tr | --program-t) -+ ac_prev=program_transform_name ;; -+ -program-transform-name=* | --program-transform-name=* \ -+ | --program-transform-nam=* | --program-transform-na=* \ -+ | --program-transform-n=* | --program-transform-=* \ -+ | --program-transform=* | --program-transfor=* \ -+ | --program-transfo=* | --program-transf=* \ -+ | --program-trans=* | --program-tran=* \ -+ | --progr-tra=* | --program-tr=* | --program-t=*) -+ program_transform_name=$ac_optarg ;; -+ -+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) -+ ac_prev=pdfdir ;; -+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) -+ pdfdir=$ac_optarg ;; -+ -+ -psdir | --psdir | --psdi | --psd | --ps) -+ ac_prev=psdir ;; -+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) -+ psdir=$ac_optarg ;; -+ -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ silent=yes ;; -+ -+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) -+ ac_prev=sbindir ;; -+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ -+ | --sbi=* | --sb=*) -+ sbindir=$ac_optarg ;; -+ -+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ -+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ -+ | --sharedst | --shareds | --shared | --share | --shar \ -+ | --sha | --sh) -+ ac_prev=sharedstatedir ;; -+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ -+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ -+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ -+ | --sha=* | --sh=*) -+ sharedstatedir=$ac_optarg ;; -+ -+ -site | --site | --sit) -+ ac_prev=site ;; -+ -site=* | --site=* | --sit=*) -+ site=$ac_optarg ;; -+ -+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -+ ac_prev=srcdir ;; -+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -+ srcdir=$ac_optarg ;; -+ -+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ -+ | --syscon | --sysco | --sysc | --sys | --sy) -+ ac_prev=sysconfdir ;; -+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ -+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) -+ sysconfdir=$ac_optarg ;; -+ -+ -target | --target | --targe | --targ | --tar | --ta | --t) -+ ac_prev=target_alias ;; -+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) -+ target_alias=$ac_optarg ;; -+ -+ -v | -verbose | --verbose | --verbos | --verbo | --verb) -+ verbose=yes ;; -+ -+ -version | --version | --versio | --versi | --vers | -V) -+ ac_init_version=: ;; -+ -+ -with-* | --with-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=\$ac_optarg ;; -+ -+ -without-* | --without-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=no ;; -+ -+ --x) -+ # Obsolete; use --with-x. -+ with_x=yes ;; -+ -+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ -+ | --x-incl | --x-inc | --x-in | --x-i) -+ ac_prev=x_includes ;; -+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ -+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) -+ x_includes=$ac_optarg ;; -+ -+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ -+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) -+ ac_prev=x_libraries ;; -+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ -+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) -+ x_libraries=$ac_optarg ;; -+ -+ -*) as_fn_error $? "unrecognized option: \`$ac_option' -+Try \`$0 --help' for more information" -+ ;; -+ -+ *=*) -+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` -+ # Reject names that are not valid shell variable names. -+ case $ac_envvar in #( -+ '' | [0-9]* | *[!_$as_cr_alnum]* ) -+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; -+ esac -+ eval $ac_envvar=\$ac_optarg -+ export $ac_envvar ;; -+ -+ *) -+ # FIXME: should be removed in autoconf 3.0. -+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 -+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && -+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 -+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" -+ ;; -+ -+ esac -+done -+ -+if test -n "$ac_prev"; then -+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` -+ as_fn_error $? "missing argument to $ac_option" -+fi -+ -+if test -n "$ac_unrecognized_opts"; then -+ case $enable_option_checking in -+ no) ;; -+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; -+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; -+ esac -+fi -+ -+# Check all directory arguments for consistency. -+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ -+ datadir sysconfdir sharedstatedir localstatedir includedir \ -+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ -+ libdir localedir mandir -+do -+ eval ac_val=\$$ac_var -+ # Remove trailing slashes. -+ case $ac_val in -+ */ ) -+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` -+ eval $ac_var=\$ac_val;; -+ esac -+ # Be sure to have absolute directory names. -+ case $ac_val in -+ [\\/$]* | ?:[\\/]* ) continue;; -+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; -+ esac -+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" -+done -+ -+# There might be people who depend on the old broken behavior: `$host' -+# used to hold the argument of --host etc. -+# FIXME: To remove some day. -+build=$build_alias -+host=$host_alias -+target=$target_alias -+ -+# FIXME: To remove some day. -+if test "x$host_alias" != x; then -+ if test "x$build_alias" = x; then -+ cross_compiling=maybe -+ elif test "x$build_alias" != "x$host_alias"; then -+ cross_compiling=yes -+ fi -+fi -+ -+ac_tool_prefix= -+test -n "$host_alias" && ac_tool_prefix=$host_alias- -+ -+test "$silent" = yes && exec 6>/dev/null -+ -+ -+ac_pwd=`pwd` && test -n "$ac_pwd" && -+ac_ls_di=`ls -di .` && -+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || -+ as_fn_error $? "working directory cannot be determined" -+test "X$ac_ls_di" = "X$ac_pwd_ls_di" || -+ as_fn_error $? "pwd does not report name of working directory" -+ -+ -+# Find the source files, if location was not specified. -+if test -z "$srcdir"; then -+ ac_srcdir_defaulted=yes -+ # Try the directory containing this script, then the parent directory. -+ ac_confdir=`$as_dirname -- "$as_myself" || -+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_myself" : 'X\(//\)[^/]' \| \ -+ X"$as_myself" : 'X\(//\)$' \| \ -+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_myself" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ srcdir=$ac_confdir -+ if test ! -r "$srcdir/$ac_unique_file"; then -+ srcdir=.. -+ fi -+else -+ ac_srcdir_defaulted=no -+fi -+if test ! -r "$srcdir/$ac_unique_file"; then -+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." -+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" -+fi -+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -+ac_abs_confdir=`( -+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" -+ pwd)` -+# When building in place, set srcdir=. -+if test "$ac_abs_confdir" = "$ac_pwd"; then -+ srcdir=. -+fi -+# Remove unnecessary trailing slashes from srcdir. -+# Double slashes in file names in object file debugging info -+# mess up M-x gdb in Emacs. -+case $srcdir in -+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -+esac -+for ac_var in $ac_precious_vars; do -+ eval ac_env_${ac_var}_set=\${${ac_var}+set} -+ eval ac_env_${ac_var}_value=\$${ac_var} -+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} -+ eval ac_cv_env_${ac_var}_value=\$${ac_var} -+done -+ -+# -+# Report the --help message. -+# -+if test "$ac_init_help" = "long"; then -+ # Omit some internal or obsolete options to make the list less imposing. -+ # This message is too long to be a string in the A/UX 3.1 sh. -+ cat <<_ACEOF -+\`configure' configures this package to adapt to many kinds of systems. -+ -+Usage: $0 [OPTION]... [VAR=VALUE]... -+ -+To assign environment variables (e.g., CC, CFLAGS...), specify them as -+VAR=VALUE. See below for descriptions of some of the useful variables. -+ -+Defaults for the options are specified in brackets. -+ -+Configuration: -+ -h, --help display this help and exit -+ --help=short display options specific to this package -+ --help=recursive display the short help of all the included packages -+ -V, --version display version information and exit -+ -q, --quiet, --silent do not print \`checking ...' messages -+ --cache-file=FILE cache test results in FILE [disabled] -+ -C, --config-cache alias for \`--cache-file=config.cache' -+ -n, --no-create do not create output files -+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] -+ -+Installation directories: -+ --prefix=PREFIX install architecture-independent files in PREFIX -+ [$ac_default_prefix] -+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX -+ [PREFIX] -+ -+By default, \`make install' will install all the files in -+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -+an installation prefix other than \`$ac_default_prefix' using \`--prefix', -+for instance \`--prefix=\$HOME'. -+ -+For better control, use the options below. -+ -+Fine tuning of the installation directories: -+ --bindir=DIR user executables [EPREFIX/bin] -+ --sbindir=DIR system admin executables [EPREFIX/sbin] -+ --libexecdir=DIR program executables [EPREFIX/libexec] -+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] -+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] -+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] -+ --libdir=DIR object code libraries [EPREFIX/lib] -+ --includedir=DIR C header files [PREFIX/include] -+ --oldincludedir=DIR C header files for non-gcc [/usr/include] -+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] -+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] -+ --infodir=DIR info documentation [DATAROOTDIR/info] -+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] -+ --mandir=DIR man documentation [DATAROOTDIR/man] -+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] -+ --htmldir=DIR html documentation [DOCDIR] -+ --dvidir=DIR dvi documentation [DOCDIR] -+ --pdfdir=DIR pdf documentation [DOCDIR] -+ --psdir=DIR ps documentation [DOCDIR] -+_ACEOF -+ -+ cat <<\_ACEOF -+ -+Program names: -+ --program-prefix=PREFIX prepend PREFIX to installed program names -+ --program-suffix=SUFFIX append SUFFIX to installed program names -+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names -+ -+System types: -+ --build=BUILD configure for building on BUILD [guessed] -+ --host=HOST cross-compile to build programs to run on HOST [BUILD] -+_ACEOF -+fi -+ -+if test -n "$ac_init_help"; then -+ -+ cat <<\_ACEOF -+ -+Optional Features: -+ --disable-option-checking ignore unrecognized --enable/--with options -+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) -+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] -+ --enable-dependency-tracking -+ do not reject slow dependency extractors -+ --disable-dependency-tracking -+ speeds up one-time build -+ --disable-largefile omit support for large files -+ --enable-relocatable install a package that can be moved in the file -+ system -+ --enable-extra-encodings -+ add support for a few rarely used encodings -+ --enable-static[=PKGS] build static libraries [default=no] -+ --enable-shared[=PKGS] build shared libraries [default=yes] -+ --enable-fast-install[=PKGS] -+ optimize for fast installation [default=yes] -+ --disable-libtool-lock avoid locking (might break parallel builds) -+ --disable-rpath do not hardcode runtime library paths -+ --disable-nls do not use Native Language Support -+ -+Optional Packages: -+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] -+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) -+ --with-gnu-ld assume the C compiler uses GNU ld [default=no] -+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use -+ both] -+ --with-gnu-ld assume the C compiler uses GNU ld [default=no] -+ --with-sysroot=DIR Search for dependent libraries within DIR -+ (or the compiler's sysroot if not specified). -+ --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib -+ --without-libiconv-prefix don't search for libiconv in includedir and libdir -+ --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib -+ --without-libintl-prefix don't search for libintl in includedir and libdir -+ -+Some influential environment variables: -+ CC C compiler command -+ CFLAGS C compiler flags -+ LDFLAGS linker flags, e.g. -L if you have libraries in a -+ nonstandard directory -+ LIBS libraries to pass to the linker, e.g. -l -+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if -+ you have headers in a nonstandard directory -+ CPP C preprocessor -+ -+Use these variables to override the choices made by `configure' or to help -+it to find libraries and programs with nonstandard names/locations. -+ -+Report bugs to the package provider. -+_ACEOF -+ac_status=$? -+fi -+ -+if test "$ac_init_help" = "recursive"; then -+ # If there are subdirs, report their specific --help. -+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue -+ test -d "$ac_dir" || -+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || -+ continue -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ cd "$ac_dir" || { ac_status=$?; continue; } -+ # Check for guested configure. -+ if test -f "$ac_srcdir/configure.gnu"; then -+ echo && -+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive -+ elif test -f "$ac_srcdir/configure"; then -+ echo && -+ $SHELL "$ac_srcdir/configure" --help=recursive -+ else -+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 -+ fi || ac_status=$? -+ cd "$ac_pwd" || { ac_status=$?; break; } -+ done -+fi -+ -+test -n "$ac_init_help" && exit $ac_status -+if $ac_init_version; then -+ cat <<\_ACEOF -+configure -+generated by GNU Autoconf 2.69 -+ -+Copyright (C) 2012 Free Software Foundation, Inc. -+This configure script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it. -+_ACEOF -+ exit -+fi -+ -+## ------------------------ ## -+## Autoconf initialization. ## -+## ------------------------ ## -+ -+# ac_fn_c_try_compile LINENO -+# -------------------------- -+# Try to compile conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext -+ if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest.$ac_objext; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_compile -+ -+# ac_fn_c_try_cpp LINENO -+# ---------------------- -+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_cpp () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_cpp conftest.$ac_ext" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } > conftest.i && { -+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -+ test ! -s conftest.err -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_cpp -+ -+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -+# ------------------------------------------------------- -+# Tests whether HEADER exists, giving a warning if it cannot be compiled using -+# the include files in INCLUDES and setting the cache variable VAR -+# accordingly. -+ac_fn_c_check_header_mongrel () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if eval \${$3+:} false; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+else -+ # Is the header compilable? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -+$as_echo_n "checking $2 usability... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_header_compiler=yes -+else -+ ac_header_compiler=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -+$as_echo "$ac_header_compiler" >&6; } -+ -+# Is the header present? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -+$as_echo_n "checking $2 presence... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include <$2> -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ ac_header_preproc=yes -+else -+ ac_header_preproc=no -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -+$as_echo "$ac_header_preproc" >&6; } -+ -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( -+ yes:no: ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+ no:yes:* ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+esac -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ eval "$3=\$ac_header_compiler" -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_header_mongrel -+ -+# ac_fn_c_try_run LINENO -+# ---------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -+# that executables *can* be run. -+ac_fn_c_try_run () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: program exited with status $ac_status" >&5 -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=$ac_status -+fi -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_run -+ -+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -+# ------------------------------------------------------- -+# Tests whether HEADER exists and can be compiled using the include files in -+# INCLUDES, setting the cache variable VAR accordingly. -+ac_fn_c_check_header_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_header_compile -+ -+# ac_fn_c_try_link LINENO -+# ----------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_link () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext conftest$ac_exeext -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest$ac_exeext && { -+ test "$cross_compiling" = yes || -+ test -x conftest$ac_exeext -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information -+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would -+ # interfere with the next link command; also delete a directory that is -+ # left behind by Apple's compiler. We do this before executing the actions. -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_link -+ -+# ac_fn_c_check_func LINENO FUNC VAR -+# ---------------------------------- -+# Tests whether FUNC exists, setting the cache variable VAR accordingly -+ac_fn_c_check_func () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+/* Define $2 to an innocuous variant, in case declares $2. -+ For example, HP-UX 11i declares gettimeofday. */ -+#define $2 innocuous_$2 -+ -+/* System header to define __stub macros and hopefully few prototypes, -+ which can conflict with char $2 (); below. -+ Prefer to if __STDC__ is defined, since -+ exists even on freestanding compilers. */ -+ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ -+#undef $2 -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char $2 (); -+/* The GNU C library defines this for functions which it implements -+ to always fail with ENOSYS. Some functions are actually named -+ something starting with __ and the normal name is an alias. */ -+#if defined __stub_$2 || defined __stub___$2 -+choke me -+#endif -+ -+int -+main () -+{ -+return $2 (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_func -+ -+# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES -+# -------------------------------------------- -+# Tries to find the compile-time value of EXPR in a program that includes -+# INCLUDES, setting VAR accordingly. Returns whether the value could be -+# computed -+ac_fn_c_compute_int () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if test "$cross_compiling" = yes; then -+ # Depending upon the size, compute the lo and hi bounds. -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) >= 0)]; -+test_array [0] = 0; -+return test_array [0]; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_lo=0 ac_mid=0 -+ while :; do -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -+test_array [0] = 0; -+return test_array [0]; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_hi=$ac_mid; break -+else -+ as_fn_arith $ac_mid + 1 && ac_lo=$as_val -+ if test $ac_lo -le $ac_mid; then -+ ac_lo= ac_hi= -+ break -+ fi -+ as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ done -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) < 0)]; -+test_array [0] = 0; -+return test_array [0]; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_hi=-1 ac_mid=-1 -+ while :; do -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) >= $ac_mid)]; -+test_array [0] = 0; -+return test_array [0]; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_lo=$ac_mid; break -+else -+ as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val -+ if test $ac_mid -le $ac_hi; then -+ ac_lo= ac_hi= -+ break -+ fi -+ as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ done -+else -+ ac_lo= ac_hi= -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+# Binary search between lo and hi bounds. -+while test "x$ac_lo" != "x$ac_hi"; do -+ as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+static int test_array [1 - 2 * !(($2) <= $ac_mid)]; -+test_array [0] = 0; -+return test_array [0]; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_hi=$ac_mid -+else -+ as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+done -+case $ac_lo in #(( -+?*) eval "$3=\$ac_lo"; ac_retval=0 ;; -+'') ac_retval=1 ;; -+esac -+ else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+static long int longval () { return $2; } -+static unsigned long int ulongval () { return $2; } -+#include -+#include -+int -+main () -+{ -+ -+ FILE *f = fopen ("conftest.val", "w"); -+ if (! f) -+ return 1; -+ if (($2) < 0) -+ { -+ long int i = longval (); -+ if (i != ($2)) -+ return 1; -+ fprintf (f, "%ld", i); -+ } -+ else -+ { -+ unsigned long int i = ulongval (); -+ if (i != ($2)) -+ return 1; -+ fprintf (f, "%lu", i); -+ } -+ /* Do not output a trailing newline, as this causes \r\n confusion -+ on some platforms. */ -+ return ferror (f) || fclose (f) != 0; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ echo >>conftest.val; read $3 &5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ eval "$3=no" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+if (sizeof ($2)) -+ return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+if (sizeof (($2))) -+ return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+else -+ eval "$3=yes" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_type -+ -+# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES -+# --------------------------------------------- -+# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR -+# accordingly. -+ac_fn_c_check_decl () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ as_decl_name=`echo $2|sed 's/ *(.*//'` -+ as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 -+$as_echo_n "checking whether $as_decl_name is declared... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+int -+main () -+{ -+#ifndef $as_decl_name -+#ifdef __cplusplus -+ (void) $as_decl_use; -+#else -+ (void) $as_decl_name; -+#endif -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_decl -+cat >config.log <<_ACEOF -+This file contains any messages produced by compilers while -+running configure, to aid debugging if configure makes a mistake. -+ -+It was created by $as_me, which was -+generated by GNU Autoconf 2.69. Invocation command line was -+ -+ $ $0 $@ -+ -+_ACEOF -+exec 5>>config.log -+{ -+cat <<_ASUNAME -+## --------- ## -+## Platform. ## -+## --------- ## -+ -+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -+uname -m = `(uname -m) 2>/dev/null || echo unknown` -+uname -r = `(uname -r) 2>/dev/null || echo unknown` -+uname -s = `(uname -s) 2>/dev/null || echo unknown` -+uname -v = `(uname -v) 2>/dev/null || echo unknown` -+ -+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` -+ -+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` -+ -+_ASUNAME -+ -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ $as_echo "PATH: $as_dir" -+ done -+IFS=$as_save_IFS -+ -+} >&5 -+ -+cat >&5 <<_ACEOF -+ -+ -+## ----------- ## -+## Core tests. ## -+## ----------- ## -+ -+_ACEOF -+ -+ -+# Keep a trace of the command line. -+# Strip out --no-create and --no-recursion so they do not pile up. -+# Strip out --silent because we don't want to record it for future runs. -+# Also quote any args containing shell meta-characters. -+# Make two passes to allow for proper duplicate-argument suppression. -+ac_configure_args= -+ac_configure_args0= -+ac_configure_args1= -+ac_must_keep_next=false -+for ac_pass in 1 2 -+do -+ for ac_arg -+ do -+ case $ac_arg in -+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ continue ;; -+ *\'*) -+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ case $ac_pass in -+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; -+ 2) -+ as_fn_append ac_configure_args1 " '$ac_arg'" -+ if test $ac_must_keep_next = true; then -+ ac_must_keep_next=false # Got value, back to normal. -+ else -+ case $ac_arg in -+ *=* | --config-cache | -C | -disable-* | --disable-* \ -+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ -+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ -+ | -with-* | --with-* | -without-* | --without-* | --x) -+ case "$ac_configure_args0 " in -+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; -+ esac -+ ;; -+ -* ) ac_must_keep_next=true ;; -+ esac -+ fi -+ as_fn_append ac_configure_args " '$ac_arg'" -+ ;; -+ esac -+ done -+done -+{ ac_configure_args0=; unset ac_configure_args0;} -+{ ac_configure_args1=; unset ac_configure_args1;} -+ -+# When interrupted or exit'd, cleanup temporary files, and complete -+# config.log. We remove comments because anyway the quotes in there -+# would cause problems or look ugly. -+# WARNING: Use '\'' to represent an apostrophe within the trap. -+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -+trap 'exit_status=$? -+ # Save into config.log some information that might help in debugging. -+ { -+ echo -+ -+ $as_echo "## ---------------- ## -+## Cache variables. ## -+## ---------------- ##" -+ echo -+ # The following way of writing the cache mishandles newlines in values, -+( -+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do -+ eval ac_val=\$$ac_var -+ case $ac_val in #( -+ *${as_nl}*) -+ case $ac_var in #( -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; -+ esac -+ case $ac_var in #( -+ _ | IFS | as_nl) ;; #( -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; -+ esac ;; -+ esac -+ done -+ (set) 2>&1 | -+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( -+ *${as_nl}ac_space=\ *) -+ sed -n \ -+ "s/'\''/'\''\\\\'\'''\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" -+ ;; #( -+ *) -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -+ ;; -+ esac | -+ sort -+) -+ echo -+ -+ $as_echo "## ----------------- ## -+## Output variables. ## -+## ----------------- ##" -+ echo -+ for ac_var in $ac_subst_vars -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo -+ -+ if test -n "$ac_subst_files"; then -+ $as_echo "## ------------------- ## -+## File substitutions. ## -+## ------------------- ##" -+ echo -+ for ac_var in $ac_subst_files -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo -+ fi -+ -+ if test -s confdefs.h; then -+ $as_echo "## ----------- ## -+## confdefs.h. ## -+## ----------- ##" -+ echo -+ cat confdefs.h -+ echo -+ fi -+ test "$ac_signal" != 0 && -+ $as_echo "$as_me: caught signal $ac_signal" -+ $as_echo "$as_me: exit $exit_status" -+ } >&5 -+ rm -f core *.core core.conftest.* && -+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && -+ exit $exit_status -+' 0 -+for ac_signal in 1 2 13 15; do -+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -+done -+ac_signal=0 -+ -+# confdefs.h avoids OS command line length limits that DEFS can exceed. -+rm -f -r conftest* confdefs.h -+ -+$as_echo "/* confdefs.h */" > confdefs.h -+ -+# Predefined preprocessor variables. -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_NAME "$PACKAGE_NAME" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_VERSION "$PACKAGE_VERSION" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_STRING "$PACKAGE_STRING" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_URL "$PACKAGE_URL" -+_ACEOF -+ -+ -+# Let the site file select an alternate cache file if it wants to. -+# Prefer an explicitly selected file to automatically selected ones. -+ac_site_file1=NONE -+ac_site_file2=NONE -+if test -n "$CONFIG_SITE"; then -+ # We do not want a PATH search for config.site. -+ case $CONFIG_SITE in #(( -+ -*) ac_site_file1=./$CONFIG_SITE;; -+ */*) ac_site_file1=$CONFIG_SITE;; -+ *) ac_site_file1=./$CONFIG_SITE;; -+ esac -+elif test "x$prefix" != xNONE; then -+ ac_site_file1=$prefix/share/config.site -+ ac_site_file2=$prefix/etc/config.site -+else -+ ac_site_file1=$ac_default_prefix/share/config.site -+ ac_site_file2=$ac_default_prefix/etc/config.site -+fi -+for ac_site_file in "$ac_site_file1" "$ac_site_file2" -+do -+ test "x$ac_site_file" = xNONE && continue -+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -+$as_echo "$as_me: loading site script $ac_site_file" >&6;} -+ sed 's/^/| /' "$ac_site_file" >&5 -+ . "$ac_site_file" \ -+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "failed to load site script $ac_site_file -+See \`config.log' for more details" "$LINENO" 5; } -+ fi -+done -+ -+if test -r "$cache_file"; then -+ # Some versions of bash will fail to source /dev/null (special files -+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. -+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -+$as_echo "$as_me: loading cache $cache_file" >&6;} -+ case $cache_file in -+ [\\/]* | ?:[\\/]* ) . "$cache_file";; -+ *) . "./$cache_file";; -+ esac -+ fi -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -+$as_echo "$as_me: creating cache $cache_file" >&6;} -+ >$cache_file -+fi -+ -+gt_needs="$gt_needs need-ngettext" -+as_fn_append ac_header_list " stdlib.h" -+as_fn_append ac_header_list " string.h" -+as_fn_append ac_func_list " canonicalize_file_name" -+as_fn_append ac_func_list " getcwd" -+as_fn_append ac_func_list " readlink" -+as_fn_append ac_func_list " realpath" -+as_fn_append ac_header_list " sys/param.h" -+as_fn_append ac_func_list " readlinkat" -+as_fn_append ac_header_list " unistd.h" -+as_fn_append ac_func_list " lstat" -+as_fn_append ac_func_list " _set_invalid_parameter_handler" -+as_fn_append ac_func_list " setenv" -+as_fn_append ac_header_list " wchar.h" -+as_fn_append ac_header_list " stdint.h" -+as_fn_append ac_header_list " sys/socket.h" -+as_fn_append ac_header_list " sys/stat.h" -+as_fn_append ac_header_list " sys/time.h" -+# Check that the precious variables saved in the cache have kept the same -+# value. -+ac_cache_corrupted=false -+for ac_var in $ac_precious_vars; do -+ eval ac_old_set=\$ac_cv_env_${ac_var}_set -+ eval ac_new_set=\$ac_env_${ac_var}_set -+ eval ac_old_val=\$ac_cv_env_${ac_var}_value -+ eval ac_new_val=\$ac_env_${ac_var}_value -+ case $ac_old_set,$ac_new_set in -+ set,) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,set) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,);; -+ *) -+ if test "x$ac_old_val" != "x$ac_new_val"; then -+ # differences in whitespace do not lead to failure. -+ ac_old_val_w=`echo x $ac_old_val` -+ ac_new_val_w=`echo x $ac_new_val` -+ if test "$ac_old_val_w" != "$ac_new_val_w"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} -+ ac_cache_corrupted=: -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} -+ eval $ac_var=\$ac_old_val -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} -+ fi;; -+ esac -+ # Pass precious variables to config.status. -+ if test "$ac_new_set" = set; then -+ case $ac_new_val in -+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; -+ *) ac_arg=$ac_var=$ac_new_val ;; -+ esac -+ case " $ac_configure_args " in -+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. -+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; -+ esac -+ fi -+done -+if $ac_cache_corrupted; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} -+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -+fi -+## -------------------- ## -+## Main body of script. ## -+## -------------------- ## -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+ -+ac_aux_dir= -+for ac_dir in build-aux "$srcdir"/build-aux; do -+ if test -f "$ac_dir/install-sh"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install-sh -c" -+ break -+ elif test -f "$ac_dir/install.sh"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install.sh -c" -+ break -+ elif test -f "$ac_dir/shtool"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/shtool install -c" -+ break -+ fi -+done -+if test -z "$ac_aux_dir"; then -+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 -+fi -+ -+# These three variables are undocumented and unsupported, -+# and are intended to be withdrawn in a future Autoconf release. -+# They can cause serious problems if a builder's source tree is in a directory -+# whose full name contains unusual characters. -+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -+ -+ -+am__api_version='1.12' -+ -+# Find a good install program. We prefer a C program (faster), -+# so one script is as good as another. But avoid the broken or -+# incompatible versions: -+# SysV /etc/install, /usr/sbin/install -+# SunOS /usr/etc/install -+# IRIX /sbin/install -+# AIX /bin/install -+# AmigaOS /C/install, which installs bootblocks on floppy discs -+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -+# AFS /usr/afsws/bin/install, which mishandles nonexistent args -+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -+# OS/2's system install, which has a completely different semantic -+# ./install, which can be erroneously created by make from ./install.sh. -+# Reject install programs that cannot install multiple files. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -+$as_echo_n "checking for a BSD-compatible install... " >&6; } -+if test -z "$INSTALL"; then -+if ${ac_cv_path_install+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ # Account for people who put trailing slashes in PATH elements. -+case $as_dir/ in #(( -+ ./ | .// | /[cC]/* | \ -+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ -+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ -+ /usr/ucb/* ) ;; -+ *) -+ # OSF1 and SCO ODT 3.0 have their own names for install. -+ # Don't use installbsd from OSF since it installs stuff as root -+ # by default. -+ for ac_prog in ginstall scoinst install; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then -+ if test $ac_prog = install && -+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # AIX install. It has an incompatible calling convention. -+ : -+ elif test $ac_prog = install && -+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # program-specific install script used by HP pwplus--don't use. -+ : -+ else -+ rm -rf conftest.one conftest.two conftest.dir -+ echo one > conftest.one -+ echo two > conftest.two -+ mkdir conftest.dir -+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && -+ test -s conftest.one && test -s conftest.two && -+ test -s conftest.dir/conftest.one && -+ test -s conftest.dir/conftest.two -+ then -+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" -+ break 3 -+ fi -+ fi -+ fi -+ done -+ done -+ ;; -+esac -+ -+ done -+IFS=$as_save_IFS -+ -+rm -rf conftest.one conftest.two conftest.dir -+ -+fi -+ if test "${ac_cv_path_install+set}" = set; then -+ INSTALL=$ac_cv_path_install -+ else -+ # As a last resort, use the slow shell script. Don't cache a -+ # value for INSTALL within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the value is a relative name. -+ INSTALL=$ac_install_sh -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -+$as_echo "$INSTALL" >&6; } -+ -+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -+# It thinks the first close brace ends the variable substitution. -+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -+ -+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -+ -+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 -+$as_echo_n "checking whether build environment is sane... " >&6; } -+# Reject unsafe characters in $srcdir or the absolute working directory -+# name. Accept space and tab only in the latter. -+am_lf=' -+' -+case `pwd` in -+ *[\\\"\#\$\&\'\`$am_lf]*) -+ as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; -+esac -+case $srcdir in -+ *[\\\"\#\$\&\'\`$am_lf\ \ ]*) -+ as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; -+esac -+ -+# Do 'set' in a subshell so we don't clobber the current shell's -+# arguments. Must try -L first in case configure is actually a -+# symlink; some systems play weird games with the mod time of symlinks -+# (eg FreeBSD returns the mod time of the symlink's containing -+# directory). -+if ( -+ am_has_slept=no -+ for am_try in 1 2; do -+ echo "timestamp, slept: $am_has_slept" > conftest.file -+ set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` -+ if test "$*" = "X"; then -+ # -L didn't work. -+ set X `ls -t "$srcdir/configure" conftest.file` -+ fi -+ if test "$*" != "X $srcdir/configure conftest.file" \ -+ && test "$*" != "X conftest.file $srcdir/configure"; then -+ -+ # If neither matched, then we have a broken ls. This can happen -+ # if, for instance, CONFIG_SHELL is bash and it inherits a -+ # broken ls alias from the environment. This has actually -+ # happened. Such a system could not be considered "sane". -+ as_fn_error $? "ls -t appears to fail. Make sure there is not a broken -+ alias in your environment" "$LINENO" 5 -+ fi -+ if test "$2" = conftest.file || test $am_try -eq 2; then -+ break -+ fi -+ # Just in case. -+ sleep 1 -+ am_has_slept=yes -+ done -+ test "$2" = conftest.file -+ ) -+then -+ # Ok. -+ : -+else -+ as_fn_error $? "newly created file is older than distributed files! -+Check your system clock" "$LINENO" 5 -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+# If we didn't sleep, we still need to ensure time stamps of config.status and -+# generated files are strictly newer. -+am_sleep_pid= -+if grep 'slept: no' conftest.file >/dev/null 2>&1; then -+ ( sleep 1 ) & -+ am_sleep_pid=$! -+fi -+ -+rm -f conftest.file -+ -+test "$program_prefix" != NONE && -+ program_transform_name="s&^&$program_prefix&;$program_transform_name" -+# Use a double $ so make ignores it. -+test "$program_suffix" != NONE && -+ program_transform_name="s&\$&$program_suffix&;$program_transform_name" -+# Double any \ or $. -+# By default was `s,x,x', remove it if useless. -+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' -+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` -+ -+# expand $ac_aux_dir to an absolute path -+am_aux_dir=`cd $ac_aux_dir && pwd` -+ -+if test x"${MISSING+set}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; -+ *) -+ MISSING="\${SHELL} $am_aux_dir/missing" ;; -+ esac -+fi -+# Use eval to expand $SHELL -+if eval "$MISSING --run true"; then -+ am_missing_run="$MISSING --run " -+else -+ am_missing_run= -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 -+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} -+fi -+ -+if test x"${install_sh}" != xset; then -+ case $am_aux_dir in -+ *\ * | *\ *) -+ install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; -+ *) -+ install_sh="\${SHELL} $am_aux_dir/install-sh" -+ esac -+fi -+ -+# Installed binaries are usually stripped using 'strip' when the user -+# run "make install-strip". However 'strip' might not be the right -+# tool to use in cross-compilation environments, therefore Automake -+# will honor the 'STRIP' environment variable to overrule this program. -+if test "$cross_compiling" != no; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -+set dummy ${ac_tool_prefix}strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$STRIP"; then -+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+STRIP=$ac_cv_prog_STRIP -+if test -n "$STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_STRIP"; then -+ ac_ct_STRIP=$STRIP -+ # Extract the first word of "strip", so it can be a program name with args. -+set dummy strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_STRIP"; then -+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_STRIP="strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -+if test -n "$ac_ct_STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -+$as_echo "$ac_ct_STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_STRIP" = x; then -+ STRIP=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ STRIP=$ac_ct_STRIP -+ fi -+else -+ STRIP="$ac_cv_prog_STRIP" -+fi -+ -+fi -+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 -+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } -+if test -z "$MKDIR_P"; then -+ if ${ac_cv_path_mkdir+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in mkdir gmkdir; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue -+ case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( -+ 'mkdir (GNU coreutils) '* | \ -+ 'mkdir (coreutils) '* | \ -+ 'mkdir (fileutils) '4.1*) -+ ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext -+ break 3;; -+ esac -+ done -+ done -+ done -+IFS=$as_save_IFS -+ -+fi -+ -+ test -d ./--version && rmdir ./--version -+ if test "${ac_cv_path_mkdir+set}" = set; then -+ MKDIR_P="$ac_cv_path_mkdir -p" -+ else -+ # As a last resort, use the slow shell script. Don't cache a -+ # value for MKDIR_P within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the value is a relative name. -+ MKDIR_P="$ac_install_sh -d" -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 -+$as_echo "$MKDIR_P" >&6; } -+ -+for ac_prog in gawk mawk nawk awk -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AWK+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AWK"; then -+ ac_cv_prog_AWK="$AWK" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AWK="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AWK=$ac_cv_prog_AWK -+if test -n "$AWK"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -+$as_echo "$AWK" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$AWK" && break -+done -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -+set x ${MAKE-make} -+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat >conftest.make <<\_ACEOF -+SHELL = /bin/sh -+all: -+ @echo '@@@%%%=$(MAKE)=@@@%%%' -+_ACEOF -+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. -+case `${MAKE-make} -f conftest.make 2>/dev/null` in -+ *@@@%%%=?*=@@@%%%*) -+ eval ac_cv_prog_make_${ac_make}_set=yes;; -+ *) -+ eval ac_cv_prog_make_${ac_make}_set=no;; -+esac -+rm -f conftest.make -+fi -+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ SET_MAKE= -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ SET_MAKE="MAKE=${MAKE-make}" -+fi -+ -+rm -rf .tst 2>/dev/null -+mkdir .tst 2>/dev/null -+if test -d .tst; then -+ am__leading_dot=. -+else -+ am__leading_dot=_ -+fi -+rmdir .tst 2>/dev/null -+ -+if test "`cd $srcdir && pwd`" != "`pwd`"; then -+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output -+ # is not polluted with repeated "-I." -+ am__isrc=' -I$(srcdir)' -+ # test to see if srcdir already configured -+ if test -f $srcdir/config.status; then -+ as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 -+ fi -+fi -+ -+# test whether we have cygpath -+if test -z "$CYGPATH_W"; then -+ if (cygpath --version) >/dev/null 2>/dev/null; then -+ CYGPATH_W='cygpath -w' -+ else -+ CYGPATH_W=echo -+ fi -+fi -+ -+ -+# Define the identity of the package. -+ -+ PACKAGE=libiconv -+ VERSION=1.14 -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE "$PACKAGE" -+_ACEOF -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define VERSION "$VERSION" -+_ACEOF -+ -+# Some tools Automake needs. -+ -+ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} -+ -+ -+AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} -+ -+ -+AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} -+ -+ -+AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} -+ -+ -+MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} -+ -+# For better backward compatibility. To be removed once Automake 1.9.x -+# dies out for good. For more background, see: -+# -+# -+mkdir_p='$(MKDIR_P)' -+ -+# We need awk for the "check" target. The system "awk" is bad on -+# some platforms. -+# Always define AMTAR for backward compatibility. Yes, it's still used -+# in the wild :-( We should find a proper way to deprecate it ... -+AMTAR='$${TAR-tar}' -+ -+am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' -+ -+ -+ -+ -+ -+ac_config_headers="$ac_config_headers config.h lib/config.h" -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -+set x ${MAKE-make} -+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat >conftest.make <<\_ACEOF -+SHELL = /bin/sh -+all: -+ @echo '@@@%%%=$(MAKE)=@@@%%%' -+_ACEOF -+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. -+case `${MAKE-make} -f conftest.make 2>/dev/null` in -+ *@@@%%%=?*=@@@%%%*) -+ eval ac_cv_prog_make_${ac_make}_set=yes;; -+ *) -+ eval ac_cv_prog_make_${ac_make}_set=no;; -+esac -+rm -f conftest.make -+fi -+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ SET_MAKE= -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ SET_MAKE="MAKE=${MAKE-make}" -+fi -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="${ac_tool_prefix}gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_CC"; then -+ ac_ct_CC=$CC -+ # Extract the first word of "gcc", so it can be a program name with args. -+set dummy gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_CC="gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi -+else -+ CC="$ac_cv_prog_CC" -+fi -+ -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="${ac_tool_prefix}cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ fi -+fi -+if test -z "$CC"; then -+ # Extract the first word of "cc", so it can be a program name with args. -+set dummy cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+ ac_prog_rejected=no -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then -+ ac_prog_rejected=yes -+ continue -+ fi -+ ac_cv_prog_CC="cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+if test $ac_prog_rejected = yes; then -+ # We found a bogon in the path, so make sure we never use it. -+ set dummy $ac_cv_prog_CC -+ shift -+ if test $# != 0; then -+ # We chose a different compiler from the bogus one. -+ # However, it has the same basename, so the bogon will be chosen -+ # first if we set CC to just the basename; use the full file name. -+ shift -+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" -+ fi -+fi -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ for ac_prog in cl.exe -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$CC" && break -+ done -+fi -+if test -z "$CC"; then -+ ac_ct_CC=$CC -+ for ac_prog in cl.exe -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_CC="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_CC" && break -+done -+ -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi -+fi -+ -+fi -+ -+ -+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "no acceptable C compiler found in \$PATH -+See \`config.log' for more details" "$LINENO" 5; } -+ -+# Provide some information about the compiler. -+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -+set X $ac_compile -+ac_compiler=$2 -+for ac_option in --version -v -V -qversion; do -+ { { ac_try="$ac_compiler $ac_option >&5" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ sed '10a\ -+... rest of stderr output deleted ... -+ 10q' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ fi -+ rm -f conftest.er1 conftest.err -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+done -+ -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -+# Try to create an executable without -o first, disregard a.out. -+# It will help us diagnose broken compilers, and finding out an intuition -+# of exeext. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -+$as_echo_n "checking whether the C compiler works... " >&6; } -+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -+ -+# The possible output files: -+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" -+ -+ac_rmfiles= -+for ac_file in $ac_files -+do -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; -+ esac -+done -+rm -f $ac_rmfiles -+ -+if { { ac_try="$ac_link_default" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link_default") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -+# in a Makefile. We should not override ac_cv_exeext if it was cached, -+# so that the user can short-circuit this test for compilers unknown to -+# Autoconf. -+for ac_file in $ac_files '' -+do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) -+ ;; -+ [ab].out ) -+ # We found the default executable, but exeext='' is most -+ # certainly right. -+ break;; -+ *.* ) -+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; -+ then :; else -+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ fi -+ # We set ac_cv_exeext here because the later test for it is not -+ # safe: cross compilers may not add the suffix if given an `-o' -+ # argument, so we may need to know it at that point already. -+ # Even if this section looks crufty: it has the advantage of -+ # actually working. -+ break;; -+ * ) -+ break;; -+ esac -+done -+test "$ac_cv_exeext" = no && ac_cv_exeext= -+ -+else -+ ac_file='' -+fi -+if test -z "$ac_file"; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+$as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error 77 "C compiler cannot create executables -+See \`config.log' for more details" "$LINENO" 5; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -+$as_echo_n "checking for C compiler default output file name... " >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -+$as_echo "$ac_file" >&6; } -+ac_exeext=$ac_cv_exeext -+ -+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -+$as_echo_n "checking for suffix of executables... " >&6; } -+if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # If both `conftest.exe' and `conftest' are `present' (well, observable) -+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -+# work properly (i.e., refer to `conftest.exe'), while it won't with -+# `rm'. -+for ac_file in conftest.exe conftest conftest.*; do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ break;; -+ * ) break;; -+ esac -+done -+else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot compute suffix of executables: cannot compile and link -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+rm -f conftest conftest$ac_cv_exeext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -+$as_echo "$ac_cv_exeext" >&6; } -+ -+rm -f conftest.$ac_ext -+EXEEXT=$ac_cv_exeext -+ac_exeext=$EXEEXT -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+FILE *f = fopen ("conftest.out", "w"); -+ return ferror (f) || fclose (f) != 0; -+ -+ ; -+ return 0; -+} -+_ACEOF -+ac_clean_files="$ac_clean_files conftest.out" -+# Check that the compiler produces executables we can run. If not, either -+# the compiler is broken, or we cross compile. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -+$as_echo_n "checking whether we are cross compiling... " >&6; } -+if test "$cross_compiling" != yes; then -+ { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if { ac_try='./conftest$ac_cv_exeext' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then -+ cross_compiling=no -+ else -+ if test "$cross_compiling" = maybe; then -+ cross_compiling=yes -+ else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot run C compiled programs. -+If you meant to cross compile, use \`--host'. -+See \`config.log' for more details" "$LINENO" 5; } -+ fi -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -+$as_echo "$cross_compiling" >&6; } -+ -+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -+$as_echo_n "checking for suffix of object files... " >&6; } -+if ${ac_cv_objext+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.o conftest.obj -+if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ for ac_file in conftest.o conftest.obj conftest.*; do -+ test -f "$ac_file" || continue; -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; -+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` -+ break;; -+ esac -+done -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot compute suffix of object files: cannot compile -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+rm -f conftest.$ac_cv_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -+$as_echo "$ac_cv_objext" >&6; } -+OBJEXT=$ac_cv_objext -+ac_objext=$OBJEXT -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -+if ${ac_cv_c_compiler_gnu+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+#ifndef __GNUC__ -+ choke me -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_compiler_gnu=yes -+else -+ ac_compiler_gnu=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ac_cv_c_compiler_gnu=$ac_compiler_gnu -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -+$as_echo "$ac_cv_c_compiler_gnu" >&6; } -+if test $ac_compiler_gnu = yes; then -+ GCC=yes -+else -+ GCC= -+fi -+ac_test_CFLAGS=${CFLAGS+set} -+ac_save_CFLAGS=$CFLAGS -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -+$as_echo_n "checking whether $CC accepts -g... " >&6; } -+if ${ac_cv_prog_cc_g+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_save_c_werror_flag=$ac_c_werror_flag -+ ac_c_werror_flag=yes -+ ac_cv_prog_cc_g=no -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes -+else -+ CFLAGS="" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+else -+ ac_c_werror_flag=$ac_save_c_werror_flag -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ ac_c_werror_flag=$ac_save_c_werror_flag -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -+$as_echo "$ac_cv_prog_cc_g" >&6; } -+if test "$ac_test_CFLAGS" = set; then -+ CFLAGS=$ac_save_CFLAGS -+elif test $ac_cv_prog_cc_g = yes; then -+ if test "$GCC" = yes; then -+ CFLAGS="-g -O2" -+ else -+ CFLAGS="-g" -+ fi -+else -+ if test "$GCC" = yes; then -+ CFLAGS="-O2" -+ else -+ CFLAGS= -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -+if ${ac_cv_prog_cc_c89+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_prog_cc_c89=no -+ac_save_CC=$CC -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+struct stat; -+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -+struct buf { int x; }; -+FILE * (*rcsopen) (struct buf *, struct stat *, int); -+static char *e (p, i) -+ char **p; -+ int i; -+{ -+ return p[i]; -+} -+static char *f (char * (*g) (char **, int), char **p, ...) -+{ -+ char *s; -+ va_list v; -+ va_start (v,p); -+ s = g (p, va_arg (v,int)); -+ va_end (v); -+ return s; -+} -+ -+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has -+ function prototypes and stuff, but not '\xHH' hex character constants. -+ These don't provoke an error unfortunately, instead are silently treated -+ as 'x'. The following induces an error, until -std is added to get -+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an -+ array size at least. It's necessary to write '\x00'==0 to get something -+ that's true only with -std. */ -+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; -+ -+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters -+ inside strings and character constants. */ -+#define FOO(x) 'x' -+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; -+ -+int test (int i, double x); -+struct s1 {int (*f) (int a);}; -+struct s2 {int (*f) (double a);}; -+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -+int argc; -+char **argv; -+int -+main () -+{ -+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -+ ; -+ return 0; -+} -+_ACEOF -+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -+do -+ CC="$ac_save_CC $ac_arg" -+ if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_c89=$ac_arg -+fi -+rm -f core conftest.err conftest.$ac_objext -+ test "x$ac_cv_prog_cc_c89" != "xno" && break -+done -+rm -f conftest.$ac_ext -+CC=$ac_save_CC -+ -+fi -+# AC_CACHE_VAL -+case "x$ac_cv_prog_cc_c89" in -+ x) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -+$as_echo "none needed" >&6; } ;; -+ xno) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -+$as_echo "unsupported" >&6; } ;; -+ *) -+ CC="$CC $ac_cv_prog_cc_c89" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -+esac -+if test "x$ac_cv_prog_cc_c89" != xno; then : -+ -+fi -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+DEPDIR="${am__leading_dot}deps" -+ -+ac_config_commands="$ac_config_commands depfiles" -+ -+ -+am_make=${MAKE-make} -+cat > confinc << 'END' -+am__doit: -+ @echo this is the am__doit target -+.PHONY: am__doit -+END -+# If we don't find an include directive, just comment out the code. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 -+$as_echo_n "checking for style of include used by $am_make... " >&6; } -+am__include="#" -+am__quote= -+_am_result=none -+# First try GNU make style include. -+echo "include confinc" > confmf -+# Ignore all kinds of additional output from 'make'. -+case `$am_make -s -f confmf 2> /dev/null` in #( -+*the\ am__doit\ target*) -+ am__include=include -+ am__quote= -+ _am_result=GNU -+ ;; -+esac -+# Now try BSD make style include. -+if test "$am__include" = "#"; then -+ echo '.include "confinc"' > confmf -+ case `$am_make -s -f confmf 2> /dev/null` in #( -+ *the\ am__doit\ target*) -+ am__include=.include -+ am__quote="\"" -+ _am_result=BSD -+ ;; -+ esac -+fi -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 -+$as_echo "$_am_result" >&6; } -+rm -f confinc confmf -+ -+# Check whether --enable-dependency-tracking was given. -+if test "${enable_dependency_tracking+set}" = set; then : -+ enableval=$enable_dependency_tracking; -+fi -+ -+if test "x$enable_dependency_tracking" != xno; then -+ am_depcomp="$ac_aux_dir/depcomp" -+ AMDEPBACKSLASH='\' -+ am__nodep='_no' -+fi -+ if test "x$enable_dependency_tracking" != xno; then -+ AMDEP_TRUE= -+ AMDEP_FALSE='#' -+else -+ AMDEP_TRUE='#' -+ AMDEP_FALSE= -+fi -+ -+ -+ -+depcc="$CC" am_compiler_list= -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 -+$as_echo_n "checking dependency style of $depcc... " >&6; } -+if ${am_cv_CC_dependencies_compiler_type+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then -+ # We make a subdir and do the tests there. Otherwise we can end up -+ # making bogus files that we don't know about and never remove. For -+ # instance it was reported that on HP-UX the gcc test will end up -+ # making a dummy file named 'D' -- because '-MD' means "put the output -+ # in D". -+ rm -rf conftest.dir -+ mkdir conftest.dir -+ # Copy depcomp to subdir because otherwise we won't find it if we're -+ # using a relative directory. -+ cp "$am_depcomp" conftest.dir -+ cd conftest.dir -+ # We will build objects and dependencies in a subdirectory because -+ # it helps to detect inapplicable dependency modes. For instance -+ # both Tru64's cc and ICC support -MD to output dependencies as a -+ # side effect of compilation, but ICC will put the dependencies in -+ # the current directory while Tru64 will put them in the object -+ # directory. -+ mkdir sub -+ -+ am_cv_CC_dependencies_compiler_type=none -+ if test "$am_compiler_list" = ""; then -+ am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` -+ fi -+ am__universal=false -+ case " $depcc " in #( -+ *\ -arch\ *\ -arch\ *) am__universal=true ;; -+ esac -+ -+ for depmode in $am_compiler_list; do -+ # Setup a source with many dependencies, because some compilers -+ # like to wrap large dependency lists on column 80 (with \), and -+ # we should not choose a depcomp mode which is confused by this. -+ # -+ # We need to recreate these files for each test, as the compiler may -+ # overwrite some of them when testing with obscure command lines. -+ # This happens at least with the AIX C compiler. -+ : > sub/conftest.c -+ for i in 1 2 3 4 5 6; do -+ echo '#include "conftst'$i'.h"' >> sub/conftest.c -+ # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with -+ # Solaris 10 /bin/sh. -+ echo '/* dummy */' > sub/conftst$i.h -+ done -+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf -+ -+ # We check with '-c' and '-o' for the sake of the "dashmstdout" -+ # mode. It turns out that the SunPro C++ compiler does not properly -+ # handle '-M -o', and we need to detect this. Also, some Intel -+ # versions had trouble with output in subdirs. -+ am__obj=sub/conftest.${OBJEXT-o} -+ am__minus_obj="-o $am__obj" -+ case $depmode in -+ gcc) -+ # This depmode causes a compiler race in universal mode. -+ test "$am__universal" = false || continue -+ ;; -+ nosideeffect) -+ # After this tag, mechanisms are not by side-effect, so they'll -+ # only be used when explicitly requested. -+ if test "x$enable_dependency_tracking" = xyes; then -+ continue -+ else -+ break -+ fi -+ ;; -+ msvc7 | msvc7msys | msvisualcpp | msvcmsys) -+ # This compiler won't grok '-c -o', but also, the minuso test has -+ # not run yet. These depmodes are late enough in the game, and -+ # so weak that their functioning should not be impacted. -+ am__obj=conftest.${OBJEXT-o} -+ am__minus_obj= -+ ;; -+ none) break ;; -+ esac -+ if depmode=$depmode \ -+ source=sub/conftest.c object=$am__obj \ -+ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ -+ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ -+ >/dev/null 2>conftest.err && -+ grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && -+ grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && -+ grep $am__obj sub/conftest.Po > /dev/null 2>&1 && -+ ${MAKE-make} -s -f confmf > /dev/null 2>&1; then -+ # icc doesn't choke on unknown options, it will just issue warnings -+ # or remarks (even with -Werror). So we grep stderr for any message -+ # that says an option was ignored or not supported. -+ # When given -MP, icc 7.0 and 7.1 complain thusly: -+ # icc: Command line warning: ignoring option '-M'; no argument required -+ # The diagnosis changed in icc 8.0: -+ # icc: Command line remark: option '-MP' not supported -+ if (grep 'ignoring option' conftest.err || -+ grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else -+ am_cv_CC_dependencies_compiler_type=$depmode -+ break -+ fi -+ fi -+ done -+ -+ cd .. -+ rm -rf conftest.dir -+else -+ am_cv_CC_dependencies_compiler_type=none -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 -+$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } -+CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type -+ -+ if -+ test "x$enable_dependency_tracking" != xno \ -+ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then -+ am__fastdepCC_TRUE= -+ am__fastdepCC_FALSE='#' -+else -+ am__fastdepCC_TRUE='#' -+ am__fastdepCC_FALSE= -+fi -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -+$as_echo_n "checking how to run the C preprocessor... " >&6; } -+# On Suns, sometimes $CPP names a directory. -+if test -n "$CPP" && test -d "$CPP"; then -+ CPP= -+fi -+if test -z "$CPP"; then -+ if ${ac_cv_prog_CPP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # Double quotes because CPP needs to be expanded -+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" -+ do -+ ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue -+else -+ # Passes both tests. -+ac_preproc_ok=: -+break -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.i conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : -+ break -+fi -+ -+ done -+ ac_cv_prog_CPP=$CPP -+ -+fi -+ CPP=$ac_cv_prog_CPP -+else -+ ac_cv_prog_CPP=$CPP -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -+$as_echo "$CPP" >&6; } -+ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue -+else -+ # Passes both tests. -+ac_preproc_ok=: -+break -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.i conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : -+ -+else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+ -+# Extract the first word of "strip", so it can be a program name with args. -+set dummy strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_path_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $STRIP in -+ [\\/]* | ?:[\\/]*) -+ ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path. -+ ;; -+ *) -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+ test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP=":" -+ ;; -+esac -+fi -+STRIP=$ac_cv_path_STRIP -+if test -n "$STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ # Installed binaries are usually stripped using 'strip' when the user -+# run "make install-strip". However 'strip' might not be the right -+# tool to use in cross-compilation environments, therefore Automake -+# will honor the 'STRIP' environment variable to overrule this program. -+if test "$cross_compiling" != no; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -+set dummy ${ac_tool_prefix}strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$STRIP"; then -+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+STRIP=$ac_cv_prog_STRIP -+if test -n "$STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_STRIP"; then -+ ac_ct_STRIP=$STRIP -+ # Extract the first word of "strip", so it can be a program name with args. -+set dummy strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_STRIP"; then -+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_STRIP="strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -+if test -n "$ac_ct_STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -+$as_echo "$ac_ct_STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_STRIP" = x; then -+ STRIP=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ STRIP=$ac_ct_STRIP -+ fi -+else -+ STRIP="$ac_cv_prog_STRIP" -+fi -+ -+fi -+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" -+ -+ -+# Make sure we can run config.sub. -+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || -+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -+$as_echo_n "checking build system type... " >&6; } -+if ${ac_cv_build+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_build_alias=$build_alias -+test "x$ac_build_alias" = x && -+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -+test "x$ac_build_alias" = x && -+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || -+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -+$as_echo "$ac_cv_build" >&6; } -+case $ac_cv_build in -+*-*-*) ;; -+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; -+esac -+build=$ac_cv_build -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_build -+shift -+build_cpu=$1 -+build_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+build_os=$* -+IFS=$ac_save_IFS -+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -+$as_echo_n "checking host system type... " >&6; } -+if ${ac_cv_host+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "x$host_alias" = x; then -+ ac_cv_host=$ac_cv_build -+else -+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || -+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -+$as_echo "$ac_cv_host" >&6; } -+case $ac_cv_host in -+*-*-*) ;; -+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; -+esac -+host=$ac_cv_host -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_host -+shift -+host_cpu=$1 -+host_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+host_os=$* -+IFS=$ac_save_IFS -+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -+if ${ac_cv_path_GREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$GREP"; then -+ ac_path_GREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in grep ggrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_GREP" || continue -+# Check for GNU ac_path_GREP and select it if it is found. -+ # Check for GNU $ac_path_GREP -+case `"$ac_path_GREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'GREP' >> "conftest.nl" -+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_GREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_GREP="$ac_path_GREP" -+ ac_path_GREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_GREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_GREP"; then -+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_GREP=$GREP -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -+$as_echo "$ac_cv_path_GREP" >&6; } -+ GREP="$ac_cv_path_GREP" -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -+$as_echo_n "checking for egrep... " >&6; } -+if ${ac_cv_path_EGREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 -+ then ac_cv_path_EGREP="$GREP -E" -+ else -+ if test -z "$EGREP"; then -+ ac_path_EGREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in egrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_EGREP" || continue -+# Check for GNU ac_path_EGREP and select it if it is found. -+ # Check for GNU $ac_path_EGREP -+case `"$ac_path_EGREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'EGREP' >> "conftest.nl" -+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_EGREP="$ac_path_EGREP" -+ ac_path_EGREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_EGREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_EGREP"; then -+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_EGREP=$EGREP -+fi -+ -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -+$as_echo "$ac_cv_path_EGREP" >&6; } -+ EGREP="$ac_cv_path_EGREP" -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Minix Amsterdam compiler" >&5 -+$as_echo_n "checking for Minix Amsterdam compiler... " >&6; } -+if ${gl_cv_c_amsterdam_compiler+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#ifdef __ACK__ -+Amsterdam -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "Amsterdam" >/dev/null 2>&1; then : -+ gl_cv_c_amsterdam_compiler=yes -+else -+ gl_cv_c_amsterdam_compiler=no -+fi -+rm -f conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_c_amsterdam_compiler" >&5 -+$as_echo "$gl_cv_c_amsterdam_compiler" >&6; } -+ if test -z "$AR"; then -+ if test $gl_cv_c_amsterdam_compiler = yes; then -+ AR='cc -c.a' -+ if test -z "$ARFLAGS"; then -+ ARFLAGS='-o' -+ fi -+ else -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ar; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AR"; then -+ ac_cv_prog_AR="$AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AR="${ac_tool_prefix}ar" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AR=$ac_cv_prog_AR -+if test -n "$AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -+$as_echo "$AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_AR"; then -+ ac_ct_AR=$AR -+ # Extract the first word of "ar", so it can be a program name with args. -+set dummy ar; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_AR"; then -+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_AR="ar" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_AR=$ac_cv_prog_ac_ct_AR -+if test -n "$ac_ct_AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -+$as_echo "$ac_ct_AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_AR" = x; then -+ AR="ar" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ AR=$ac_ct_AR -+ fi -+else -+ AR="$ac_cv_prog_AR" -+fi -+ -+ if test -z "$ARFLAGS"; then -+ ARFLAGS='cru' -+ fi -+ fi -+ else -+ if test -z "$ARFLAGS"; then -+ ARFLAGS='cru' -+ fi -+ fi -+ -+ -+ if test -z "$RANLIB"; then -+ if test $gl_cv_c_amsterdam_compiler = yes; then -+ RANLIB=':' -+ else -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$RANLIB"; then -+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+RANLIB=$ac_cv_prog_RANLIB -+if test -n "$RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -+$as_echo "$RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_RANLIB"; then -+ ac_ct_RANLIB=$RANLIB -+ # Extract the first word of "ranlib", so it can be a program name with args. -+set dummy ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_RANLIB"; then -+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_RANLIB="ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -+if test -n "$ac_ct_RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -+$as_echo "$ac_ct_RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_RANLIB" = x; then -+ RANLIB=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ RANLIB=$ac_ct_RANLIB -+ fi -+else -+ RANLIB="$ac_cv_prog_RANLIB" -+fi -+ -+ fi -+ fi -+ -+ -+if test "x$CC" != xcc; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 -+$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 -+$as_echo_n "checking whether cc understands -c and -o together... " >&6; } -+fi -+set dummy $CC; ac_cc=`$as_echo "$2" | -+ sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -+if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+# Make sure it works both with $CC and with simple cc. -+# We do the test twice because some compilers refuse to overwrite an -+# existing .o file with -o, though they will create one. -+ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' -+rm -f conftest2.* -+if { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && -+ test -f conftest2.$ac_objext && { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; -+then -+ eval ac_cv_prog_cc_${ac_cc}_c_o=yes -+ if test "x$CC" != xcc; then -+ # Test first that cc exists at all. -+ if { ac_try='cc -c conftest.$ac_ext >&5' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then -+ ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' -+ rm -f conftest2.* -+ if { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && -+ test -f conftest2.$ac_objext && { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; -+ then -+ # cc works too. -+ : -+ else -+ # cc exists but doesn't like -o. -+ eval ac_cv_prog_cc_${ac_cc}_c_o=no -+ fi -+ fi -+ fi -+else -+ eval ac_cv_prog_cc_${ac_cc}_c_o=no -+fi -+rm -f core conftest* -+ -+fi -+if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ -+$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h -+ -+fi -+ -+# FIXME: we rely on the cache variable name because -+# there is no other way. -+set dummy $CC -+am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` -+eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o -+if test "$am_t" != yes; then -+ # Losing compiler, so override with the script. -+ # FIXME: It is wrong to rewrite CC. -+ # But if we don't then we get into trouble of one sort or another. -+ # A longer-term fix would be to have automake use am__CC in this case, -+ # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" -+ CC="$am_aux_dir/compile $CC" -+fi -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -+$as_echo_n "checking for ANSI C header files... " >&6; } -+if ${ac_cv_header_stdc+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#include -+#include -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_stdc=yes -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+if test $ac_cv_header_stdc = yes; then -+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "memchr" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "free" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -+ if test "$cross_compiling" = yes; then : -+ : -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#if ((' ' & 0x0FF) == 0x020) -+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -+#else -+# define ISLOWER(c) \ -+ (('a' <= (c) && (c) <= 'i') \ -+ || ('j' <= (c) && (c) <= 'r') \ -+ || ('s' <= (c) && (c) <= 'z')) -+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -+#endif -+ -+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -+int -+main () -+{ -+ int i; -+ for (i = 0; i < 256; i++) -+ if (XOR (islower (i), ISLOWER (i)) -+ || toupper (i) != TOUPPER (i)) -+ return 2; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -+$as_echo "$ac_cv_header_stdc" >&6; } -+if test $ac_cv_header_stdc = yes; then -+ -+$as_echo "#define STDC_HEADERS 1" >>confdefs.h -+ -+fi -+ -+# On IRIX 5.3, sys/types and inttypes.h are conflicting. -+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ -+ inttypes.h stdint.h unistd.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -+" -+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ -+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -+if test "x$ac_cv_header_minix_config_h" = xyes; then : -+ MINIX=yes -+else -+ MINIX= -+fi -+ -+ -+ if test "$MINIX" = yes; then -+ -+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h -+ -+ -+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h -+ -+ -+$as_echo "#define _MINIX 1" >>confdefs.h -+ -+ -+$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h -+ -+ fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 -+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -+if ${ac_cv_safe_to_define___extensions__+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+# define __EXTENSIONS__ 1 -+ $ac_includes_default -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_safe_to_define___extensions__=yes -+else -+ ac_cv_safe_to_define___extensions__=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 -+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } -+ test $ac_cv_safe_to_define___extensions__ = yes && -+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h -+ -+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h -+ -+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 -+$as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; } -+if ${ac_cv_should_define__xopen_source+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_should_define__xopen_source=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ #include -+ mbstate_t x; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ #define _XOPEN_SOURCE 500 -+ #include -+ mbstate_t x; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_should_define__xopen_source=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 -+$as_echo "$ac_cv_should_define__xopen_source" >&6; } -+ test $ac_cv_should_define__xopen_source = yes && -+ $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ -+ -+# Check whether --enable-largefile was given. -+if test "${enable_largefile+set}" = set; then : -+ enableval=$enable_largefile; -+fi -+ -+if test "$enable_largefile" != no; then -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 -+$as_echo_n "checking for special C compiler options needed for large files... " >&6; } -+if ${ac_cv_sys_largefile_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_sys_largefile_CC=no -+ if test "$GCC" != yes; then -+ ac_save_CC=$CC -+ while :; do -+ # IRIX 6.2 and later do not support large files by default, -+ # so use the C compiler's -n32 option if that helps. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ /* Check that off_t can represent 2**63 - 1 correctly. -+ We can't simply define LARGE_OFF_T to be 9223372036854775807, -+ since some C++ compilers masquerading as C compilers -+ incorrectly reject 9223372036854775807. */ -+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) -+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 -+ && LARGE_OFF_T % 2147483647 == 1) -+ ? 1 : -1]; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+ if ac_fn_c_try_compile "$LINENO"; then : -+ break -+fi -+rm -f core conftest.err conftest.$ac_objext -+ CC="$CC -n32" -+ if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_sys_largefile_CC=' -n32'; break -+fi -+rm -f core conftest.err conftest.$ac_objext -+ break -+ done -+ CC=$ac_save_CC -+ rm -f conftest.$ac_ext -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 -+$as_echo "$ac_cv_sys_largefile_CC" >&6; } -+ if test "$ac_cv_sys_largefile_CC" != no; then -+ CC=$CC$ac_cv_sys_largefile_CC -+ fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 -+$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } -+if ${ac_cv_sys_file_offset_bits+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ while :; do -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ /* Check that off_t can represent 2**63 - 1 correctly. -+ We can't simply define LARGE_OFF_T to be 9223372036854775807, -+ since some C++ compilers masquerading as C compilers -+ incorrectly reject 9223372036854775807. */ -+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) -+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 -+ && LARGE_OFF_T % 2147483647 == 1) -+ ? 1 : -1]; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_sys_file_offset_bits=no; break -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#define _FILE_OFFSET_BITS 64 -+#include -+ /* Check that off_t can represent 2**63 - 1 correctly. -+ We can't simply define LARGE_OFF_T to be 9223372036854775807, -+ since some C++ compilers masquerading as C compilers -+ incorrectly reject 9223372036854775807. */ -+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) -+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 -+ && LARGE_OFF_T % 2147483647 == 1) -+ ? 1 : -1]; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_sys_file_offset_bits=64; break -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ ac_cv_sys_file_offset_bits=unknown -+ break -+done -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 -+$as_echo "$ac_cv_sys_file_offset_bits" >&6; } -+case $ac_cv_sys_file_offset_bits in #( -+ no | unknown) ;; -+ *) -+cat >>confdefs.h <<_ACEOF -+#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits -+_ACEOF -+;; -+esac -+rm -rf conftest* -+ if test $ac_cv_sys_file_offset_bits = unknown; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 -+$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } -+if ${ac_cv_sys_large_files+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ while :; do -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ /* Check that off_t can represent 2**63 - 1 correctly. -+ We can't simply define LARGE_OFF_T to be 9223372036854775807, -+ since some C++ compilers masquerading as C compilers -+ incorrectly reject 9223372036854775807. */ -+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) -+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 -+ && LARGE_OFF_T % 2147483647 == 1) -+ ? 1 : -1]; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_sys_large_files=no; break -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#define _LARGE_FILES 1 -+#include -+ /* Check that off_t can represent 2**63 - 1 correctly. -+ We can't simply define LARGE_OFF_T to be 9223372036854775807, -+ since some C++ compilers masquerading as C compilers -+ incorrectly reject 9223372036854775807. */ -+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) -+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 -+ && LARGE_OFF_T % 2147483647 == 1) -+ ? 1 : -1]; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_sys_large_files=1; break -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ ac_cv_sys_large_files=unknown -+ break -+done -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 -+$as_echo "$ac_cv_sys_large_files" >&6; } -+case $ac_cv_sys_large_files in #( -+ no | unknown) ;; -+ *) -+cat >>confdefs.h <<_ACEOF -+#define _LARGE_FILES $ac_cv_sys_large_files -+_ACEOF -+;; -+esac -+rm -rf conftest* -+ fi -+ -+ -+$as_echo "#define _DARWIN_USE_64_BIT_INODE 1" >>confdefs.h -+ -+fi -+ -+ -+ -+ -+ # Code from module alloca-opt: -+ # Code from module allocator: -+ # Code from module areadlink: -+ # Code from module binary-io: -+ # Code from module canonicalize-lgpl: -+ # Code from module careadlinkat: -+ # Code from module dosname: -+ # Code from module double-slash-root: -+ # Code from module environ: -+ # Code from module errno: -+ # Code from module error: -+ # Code from module extensions: -+ -+ # Code from module extern-inline: -+ # Code from module fcntl-h: -+ # Code from module gettext: -+ # Code from module gettext-h: -+ # Code from module havelib: -+ # Code from module include_next: -+ # Code from module intprops: -+ # Code from module largefile: -+ -+ # Code from module libiconv-misc: -+ # Code from module lstat: -+ # Code from module malloca: -+ # Code from module mbstate: -+ # Code from module memmove: -+ # Code from module msvc-inval: -+ # Code from module msvc-nothrow: -+ # Code from module multiarch: -+ # Code from module nocrash: -+ # Code from module pathmax: -+ # Code from module progname: -+ # Code from module raise: -+ # Code from module read: -+ # Code from module readlink: -+ # Code from module relocatable-prog: -+ # Code from module relocatable-prog-wrapper: -+ # Code from module safe-read: -+ # Code from module signal-h: -+ # Code from module sigpipe: -+ # Code from module sigprocmask: -+ # Code from module snippet/_Noreturn: -+ # Code from module snippet/arg-nonnull: -+ # Code from module snippet/c++defs: -+ # Code from module snippet/warn-on-use: -+ # Code from module ssize_t: -+ # Code from module stat: -+ # Code from module stdbool: -+ # Code from module stddef: -+ # Code from module stdint: -+ # Code from module stdio: -+ # Code from module stdlib: -+ # Code from module streq: -+ # Code from module strerror: -+ # Code from module strerror-override: -+ # Code from module string: -+ # Code from module sys_stat: -+ # Code from module sys_types: -+ # Code from module time: -+ # Code from module unistd: -+ # Code from module unitypes: -+ # Code from module uniwidth/base: -+ # Code from module uniwidth/width: -+ # Code from module unlocked-io: -+ # Code from module verify: -+ # Code from module xalloc: -+ # Code from module xreadlink: -+ -+ -+ -+ -+ -+# Check whether --with-gnu-ld was given. -+if test "${with_gnu_ld+set}" = set; then : -+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -+else -+ with_gnu_ld=no -+fi -+ -+# Prepare PATH_SEPARATOR. -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which -+ # contains only /bin. Note that ksh looks also at the FPATH variable, -+ # so we have to set that as well for the test. -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ || PATH_SEPARATOR=';' -+ } -+fi -+ -+ac_prog=ld -+if test "$GCC" = yes; then -+ # Check if gcc -print-prog-name=ld gives a path. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -+$as_echo_n "checking for ld used by $CC... " >&6; } -+ case $host in -+ *-*-mingw*) -+ # gcc leaves a trailing carriage return which upsets mingw -+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; -+ *) -+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; -+ esac -+ case $ac_prog in -+ # Accept absolute paths. -+ [\\/]* | ?:[\\/]*) -+ re_direlt='/[^/][^/]*/\.\./' -+ # Canonicalize the pathname of ld -+ ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` -+ while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do -+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` -+ done -+ test -z "$LD" && LD="$ac_prog" -+ ;; -+ "") -+ # If it fails, then pretend we aren't using GCC. -+ ac_prog=ld -+ ;; -+ *) -+ # If it is relative, then search for the first ld in PATH. -+ with_gnu_ld=unknown -+ ;; -+ esac -+elif test "$with_gnu_ld" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -+$as_echo_n "checking for GNU ld... " >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -+$as_echo_n "checking for non-GNU ld... " >&6; } -+fi -+if ${acl_cv_path_LD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$LD"; then -+ acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$acl_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then -+ acl_cv_path_LD="$ac_dir/$ac_prog" -+ # Check to see if the program is GNU ld. I'd rather use --version, -+ # but apparently some variants of GNU ld only accept -v. -+ # Break only if it was the GNU/non-GNU ld that we prefer. -+ case `"$acl_cv_path_LD" -v 2>&1 &5 -+$as_echo "$LD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -+if ${acl_cv_prog_gnu_ld+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # I'd rather use --version here, but apparently some GNU lds only accept -v. -+case `$LD -v 2>&1 &5 -+$as_echo "$acl_cv_prog_gnu_ld" >&6; } -+with_gnu_ld=$acl_cv_prog_gnu_ld -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library path variable" >&5 -+$as_echo_n "checking for shared library path variable... " >&6; } -+if ${acl_cv_libpath+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ LD="$LD" \ -+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh -+ . ./conftest.sh -+ rm -f ./conftest.sh -+ acl_cv_libpath=${acl_cv_shlibpath_var:-none} -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_libpath" >&5 -+$as_echo "$acl_cv_libpath" >&6; } -+ shlibpath_var="$acl_cv_shlibpath_var" -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5 -+$as_echo_n "checking whether to activate relocatable installation... " >&6; } -+ # Check whether --enable-relocatable was given. -+if test "${enable_relocatable+set}" = set; then : -+ enableval=$enable_relocatable; if test "$enableval" != no; then -+ RELOCATABLE=yes -+ else -+ RELOCATABLE=no -+ fi -+ -+else -+ RELOCATABLE=no -+fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5 -+$as_echo "$RELOCATABLE" >&6; } -+ -+ -+ -+ if test "X$prefix" = "XNONE"; then -+ reloc_final_prefix="$ac_default_prefix" -+ else -+ reloc_final_prefix="$prefix" -+ fi -+ -+cat >>confdefs.h <<_ACEOF -+#define INSTALLPREFIX "${reloc_final_prefix}" -+_ACEOF -+ -+ if test $RELOCATABLE = yes; then -+ -+$as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ -+ -+ -+ is_noop=no -+ use_elf_origin_trick=no -+ use_wrapper=no -+ if test $RELOCATABLE = yes; then -+ # --enable-relocatable implies --disable-rpath -+ enable_rpath=no -+ for ac_header in mach-o/dyld.h -+do : -+ ac_fn_c_check_header_mongrel "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default" -+if test "x$ac_cv_header_mach_o_dyld_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_MACH_O_DYLD_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ for ac_func in _NSGetExecutablePath -+do : -+ ac_fn_c_check_func "$LINENO" "_NSGetExecutablePath" "ac_cv_func__NSGetExecutablePath" -+if test "x$ac_cv_func__NSGetExecutablePath" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE__NSGETEXECUTABLEPATH 1 -+_ACEOF -+ -+fi -+done -+ -+ case "$host_os" in -+ mingw*) is_noop=yes ;; -+ linux* | kfreebsd*) use_elf_origin_trick=yes ;; -+ esac -+ if test $is_noop = yes; then -+ RELOCATABLE_LDFLAGS=: -+ -+ else -+ if test $use_elf_origin_trick = yes; then -+ case "$ac_aux_dir" in -+ /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;; -+ *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;; -+ esac -+ RELOCATABLE_LDFLAGS="\"$reloc_ldflags\" \"\$(host)\" \"\$(RELOCATABLE_LIBRARY_PATH)\"" -+ -+ else -+ use_wrapper=yes -+ INSTALL_PROGRAM_ENV="RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_DESTDIR=\"\$(DESTDIR)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_EXEEXT=\"\$(EXEEXT)\" RELOC_STRIP_PROG=\"\$(RELOCATABLE_STRIP)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\"" -+ -+ case "$ac_aux_dir" in -+ /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;; -+ *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;; -+ esac -+ fi -+ fi -+ fi -+ if test $is_noop = yes || test $use_elf_origin_trick = yes; then -+ RELOCATABLE_VIA_LD_TRUE= -+ RELOCATABLE_VIA_LD_FALSE='#' -+else -+ RELOCATABLE_VIA_LD_TRUE='#' -+ RELOCATABLE_VIA_LD_FALSE= -+fi -+ -+ if test $use_wrapper = yes; then -+ RELOCATABLE_VIA_WRAPPER_TRUE= -+ RELOCATABLE_VIA_WRAPPER_FALSE='#' -+else -+ RELOCATABLE_VIA_WRAPPER_TRUE='#' -+ RELOCATABLE_VIA_WRAPPER_FALSE= -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ RELOCATABLE_STRIP=':' -+ -+ -+ -+ -+ -+ -+ -+ : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'} -+ RELOCATABLE_SRC_DIR="\$(top_srcdir)/$gl_source_base" -+ RELOCATABLE_BUILD_DIR="\$(top_builddir)/$gl_source_base" -+ -+ -+# Check whether --enable-extra-encodings was given. -+if test "${enable_extra_encodings+set}" = set; then : -+ enableval=$enable_extra_encodings; -+$as_echo "#define ENABLE_EXTRA 1" >>confdefs.h -+ -+ USE_EXTRA_ENCODINGS=yes -+else -+ USE_EXTRA_ENCODINGS=no -+fi -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to copy files" >&5 -+$as_echo_n "checking how to copy files... " >&6; } -+if ${cl_cv_prog_cp+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+echo "blabla" > conftest.x -+err=`/bin/sh -c "cp -p conftest.x conftest.y 2>&1"` -+if test -z "$err"; then -+ cl_cv_prog_cp='cp -p' -+else -+ cl_cv_prog_cp='cp' -+fi -+rm -f conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_cp" >&5 -+$as_echo "$cl_cv_prog_cp" >&6; } -+CP="$cl_cv_prog_cp" -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to make hard links" >&5 -+$as_echo_n "checking how to make hard links... " >&6; } -+if ${cl_cv_prog_LN+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+rm -f conftestdata conftestfile -+echo data > conftestfile -+if ln conftestfile conftestdata 2>/dev/null; then -+ cl_cv_prog_LN=ln -+else -+ cl_cv_prog_LN="$cl_cv_prog_cp" -+fi -+rm -f conftestdata conftestfile -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_prog_LN" >&5 -+$as_echo "$cl_cv_prog_LN" >&6; } -+LN="$cl_cv_prog_LN" -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -+$as_echo_n "checking whether ln -s works... " >&6; } -+LN_S=$as_ln_s -+if test "$LN_S" = "ln -s"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -+$as_echo "no, using $LN_S" >&6; } -+fi -+ -+ -+ -+ -+ -+ -+ -+case `pwd` in -+ *\ * | *\ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -+esac -+ -+ -+ -+macro_version='2.4.2' -+macro_revision='1.3337' -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+# Backslashify metacharacters that are still active within -+# double-quoted strings. -+sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -+ -+# Same as above, but do not quote variable references. -+double_quote_subst='s/\(["`\\]\)/\\\1/g' -+ -+# Sed substitution to delay expansion of an escaped shell variable in a -+# double_quote_subst'ed string. -+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -+ -+# Sed substitution to delay expansion of an escaped single quote. -+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' -+ -+# Sed substitution to avoid accidental globbing in evaled expressions -+no_glob_subst='s/\*/\\\*/g' -+ -+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO -+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -+$as_echo_n "checking how to print strings... " >&6; } -+# Test print first, because it will be a builtin if present. -+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ -+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then -+ ECHO='print -r --' -+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -+ ECHO='printf %s\n' -+else -+ # Use this function as a fallback that always works. -+ func_fallback_echo () -+ { -+ eval 'cat <<_LTECHO_EOF -+$1 -+_LTECHO_EOF' -+ } -+ ECHO='func_fallback_echo' -+fi -+ -+# func_echo_all arg... -+# Invoke $ECHO with all args, space-separated. -+func_echo_all () -+{ -+ $ECHO "" -+} -+ -+case "$ECHO" in -+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -+$as_echo "printf" >&6; } ;; -+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -+$as_echo "print -r" >&6; } ;; -+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -+$as_echo "cat" >&6; } ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -+$as_echo_n "checking for a sed that does not truncate output... " >&6; } -+if ${ac_cv_path_SED+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ -+ for ac_i in 1 2 3 4 5 6 7; do -+ ac_script="$ac_script$as_nl$ac_script" -+ done -+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed -+ { ac_script=; unset ac_script;} -+ if test -z "$SED"; then -+ ac_path_SED_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in sed gsed; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_SED" || continue -+# Check for GNU ac_path_SED and select it if it is found. -+ # Check for GNU $ac_path_SED -+case `"$ac_path_SED" --version 2>&1` in -+*GNU*) -+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo '' >> "conftest.nl" -+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_SED_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_SED="$ac_path_SED" -+ ac_path_SED_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_SED_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_SED"; then -+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_SED=$SED -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -+$as_echo "$ac_cv_path_SED" >&6; } -+ SED="$ac_cv_path_SED" -+ rm -f conftest.sed -+ -+test -z "$SED" && SED=sed -+Xsed="$SED -e 1s/^X//" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -+$as_echo_n "checking for fgrep... " >&6; } -+if ${ac_cv_path_FGREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 -+ then ac_cv_path_FGREP="$GREP -F" -+ else -+ if test -z "$FGREP"; then -+ ac_path_FGREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in fgrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_FGREP" || continue -+# Check for GNU ac_path_FGREP and select it if it is found. -+ # Check for GNU $ac_path_FGREP -+case `"$ac_path_FGREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'FGREP' >> "conftest.nl" -+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_FGREP="$ac_path_FGREP" -+ ac_path_FGREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_FGREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_FGREP"; then -+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_FGREP=$FGREP -+fi -+ -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -+$as_echo "$ac_cv_path_FGREP" >&6; } -+ FGREP="$ac_cv_path_FGREP" -+ -+ -+test -z "$GREP" && GREP=grep -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# Check whether --with-gnu-ld was given. -+if test "${with_gnu_ld+set}" = set; then : -+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -+else -+ with_gnu_ld=no -+fi -+ -+ac_prog=ld -+if test "$GCC" = yes; then -+ # Check if gcc -print-prog-name=ld gives a path. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -+$as_echo_n "checking for ld used by $CC... " >&6; } -+ case $host in -+ *-*-mingw*) -+ # gcc leaves a trailing carriage return which upsets mingw -+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; -+ *) -+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; -+ esac -+ case $ac_prog in -+ # Accept absolute paths. -+ [\\/]* | ?:[\\/]*) -+ re_direlt='/[^/][^/]*/\.\./' -+ # Canonicalize the pathname of ld -+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` -+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do -+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` -+ done -+ test -z "$LD" && LD="$ac_prog" -+ ;; -+ "") -+ # If it fails, then pretend we aren't using GCC. -+ ac_prog=ld -+ ;; -+ *) -+ # If it is relative, then search for the first ld in PATH. -+ with_gnu_ld=unknown -+ ;; -+ esac -+elif test "$with_gnu_ld" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -+$as_echo_n "checking for GNU ld... " >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -+$as_echo_n "checking for non-GNU ld... " >&6; } -+fi -+if ${lt_cv_path_LD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$LD"; then -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then -+ lt_cv_path_LD="$ac_dir/$ac_prog" -+ # Check to see if the program is GNU ld. I'd rather use --version, -+ # but apparently some variants of GNU ld only accept -v. -+ # Break only if it was the GNU/non-GNU ld that we prefer. -+ case `"$lt_cv_path_LD" -v 2>&1 &5 -+$as_echo "$LD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -+if ${lt_cv_prog_gnu_ld+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # I'd rather use --version here, but apparently some GNU lds only accept -v. -+case `$LD -v 2>&1 &5 -+$as_echo "$lt_cv_prog_gnu_ld" >&6; } -+with_gnu_ld=$lt_cv_prog_gnu_ld -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -+if ${lt_cv_path_NM+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$NM"; then -+ # Let the user override the test. -+ lt_cv_path_NM="$NM" -+else -+ lt_nm_to_check="${ac_tool_prefix}nm" -+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then -+ lt_nm_to_check="$lt_nm_to_check nm" -+ fi -+ for lt_tmp_nm in $lt_nm_to_check; do -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ tmp_nm="$ac_dir/$lt_tmp_nm" -+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then -+ # Check to see if the nm accepts a BSD-compat flag. -+ # Adding the `sed 1q' prevents false positives on HP-UX, which says: -+ # nm: unknown option "B" ignored -+ # Tru64's nm complains that /dev/null is an invalid object file -+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in -+ */dev/null* | *'Invalid file or object type'*) -+ lt_cv_path_NM="$tmp_nm -B" -+ break -+ ;; -+ *) -+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in -+ */dev/null*) -+ lt_cv_path_NM="$tmp_nm -p" -+ break -+ ;; -+ *) -+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but -+ continue # so that we can try to find one that supports BSD flags -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ done -+ IFS="$lt_save_ifs" -+ done -+ : ${lt_cv_path_NM=no} -+fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -+$as_echo "$lt_cv_path_NM" >&6; } -+if test "$lt_cv_path_NM" != "no"; then -+ NM="$lt_cv_path_NM" -+else -+ # Didn't find any BSD compatible name lister, look for dumpbin. -+ if test -n "$DUMPBIN"; then : -+ # Let the user override the test. -+ else -+ if test -n "$ac_tool_prefix"; then -+ for ac_prog in dumpbin "link -dump" -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DUMPBIN+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DUMPBIN"; then -+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DUMPBIN=$ac_cv_prog_DUMPBIN -+if test -n "$DUMPBIN"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -+$as_echo "$DUMPBIN" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$DUMPBIN" && break -+ done -+fi -+if test -z "$DUMPBIN"; then -+ ac_ct_DUMPBIN=$DUMPBIN -+ for ac_prog in dumpbin "link -dump" -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DUMPBIN"; then -+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -+if test -n "$ac_ct_DUMPBIN"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -+$as_echo "$ac_ct_DUMPBIN" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_DUMPBIN" && break -+done -+ -+ if test "x$ac_ct_DUMPBIN" = x; then -+ DUMPBIN=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DUMPBIN=$ac_ct_DUMPBIN -+ fi -+fi -+ -+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in -+ *COFF*) -+ DUMPBIN="$DUMPBIN -symbols" -+ ;; -+ *) -+ DUMPBIN=: -+ ;; -+ esac -+ fi -+ -+ if test "$DUMPBIN" != ":"; then -+ NM="$DUMPBIN" -+ fi -+fi -+test -z "$NM" && NM=nm -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -+$as_echo_n "checking the name lister ($NM) interface... " >&6; } -+if ${lt_cv_nm_interface+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_nm_interface="BSD nm" -+ echo "int some_variable = 0;" > conftest.$ac_ext -+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) -+ (eval "$ac_compile" 2>conftest.err) -+ cat conftest.err >&5 -+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) -+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) -+ cat conftest.err >&5 -+ (eval echo "\"\$as_me:$LINENO: output\"" >&5) -+ cat conftest.out >&5 -+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then -+ lt_cv_nm_interface="MS dumpbin" -+ fi -+ rm -f conftest* -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -+$as_echo "$lt_cv_nm_interface" >&6; } -+ -+# find the maximum length of command line arguments -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -+$as_echo_n "checking the maximum length of command line arguments... " >&6; } -+if ${lt_cv_sys_max_cmd_len+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ i=0 -+ teststring="ABCD" -+ -+ case $build_os in -+ msdosdjgpp*) -+ # On DJGPP, this test can blow up pretty badly due to problems in libc -+ # (any single argument exceeding 2000 bytes causes a buffer overrun -+ # during glob expansion). Even if it were fixed, the result of this -+ # check would be larger than it should be. -+ lt_cv_sys_max_cmd_len=12288; # 12K is about right -+ ;; -+ -+ gnu*) -+ # Under GNU Hurd, this test is not required because there is -+ # no limit to the length of command line arguments. -+ # Libtool will interpret -1 as no limit whatsoever -+ lt_cv_sys_max_cmd_len=-1; -+ ;; -+ -+ cygwin* | mingw* | cegcc*) -+ # On Win9x/ME, this test blows up -- it succeeds, but takes -+ # about 5 minutes as the teststring grows exponentially. -+ # Worse, since 9x/ME are not pre-emptively multitasking, -+ # you end up with a "frozen" computer, even though with patience -+ # the test eventually succeeds (with a max line length of 256k). -+ # Instead, let's just punt: use the minimum linelength reported by -+ # all of the supported platforms: 8192 (on NT/2K/XP). -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ mint*) -+ # On MiNT this can take a long time and run out of memory. -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ amigaos*) -+ # On AmigaOS with pdksh, this test takes hours, literally. -+ # So we just punt and use a minimum line length of 8192. -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) -+ # This has been around since 386BSD, at least. Likely further. -+ if test -x /sbin/sysctl; then -+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` -+ elif test -x /usr/sbin/sysctl; then -+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` -+ else -+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs -+ fi -+ # And add a safety zone -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` -+ ;; -+ -+ interix*) -+ # We know the value 262144 and hardcode it with a safety zone (like BSD) -+ lt_cv_sys_max_cmd_len=196608 -+ ;; -+ -+ os2*) -+ # The test takes a long time on OS/2. -+ lt_cv_sys_max_cmd_len=8192 -+ ;; -+ -+ osf*) -+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure -+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not -+ # nice to cause kernel panics so lets avoid the loop below. -+ # First set a reasonable default. -+ lt_cv_sys_max_cmd_len=16384 -+ # -+ if test -x /sbin/sysconfig; then -+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in -+ *1*) lt_cv_sys_max_cmd_len=-1 ;; -+ esac -+ fi -+ ;; -+ sco3.2v5*) -+ lt_cv_sys_max_cmd_len=102400 -+ ;; -+ sysv5* | sco5v6* | sysv4.2uw2*) -+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` -+ if test -n "$kargmax"; then -+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` -+ else -+ lt_cv_sys_max_cmd_len=32768 -+ fi -+ ;; -+ *) -+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` -+ if test -n "$lt_cv_sys_max_cmd_len"; then -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` -+ else -+ # Make teststring a little bigger before we do anything with it. -+ # a 1K string should be a reasonable start. -+ for i in 1 2 3 4 5 6 7 8 ; do -+ teststring=$teststring$teststring -+ done -+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} -+ # If test is not a shell built-in, we'll probably end up computing a -+ # maximum length that is only half of the actual maximum length, but -+ # we can't tell. -+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ -+ = "X$teststring$teststring"; } >/dev/null 2>&1 && -+ test $i != 17 # 1/2 MB should be enough -+ do -+ i=`expr $i + 1` -+ teststring=$teststring$teststring -+ done -+ # Only check the string length outside the loop. -+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` -+ teststring= -+ # Add a significant safety factor because C++ compilers can tack on -+ # massive amounts of additional arguments before passing them to the -+ # linker. It appears as though 1/2 is a usable value. -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` -+ fi -+ ;; -+ esac -+ -+fi -+ -+if test -n $lt_cv_sys_max_cmd_len ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -+$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -+$as_echo "none" >&6; } -+fi -+max_cmd_len=$lt_cv_sys_max_cmd_len -+ -+ -+ -+ -+ -+ -+: ${CP="cp -f"} -+: ${MV="mv -f"} -+: ${RM="rm -f"} -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 -+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } -+# Try some XSI features -+xsi_shell=no -+( _lt_dummy="a/b/c" -+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ -+ = c,a/b,b/c, \ -+ && eval 'test $(( 1 + 1 )) -eq 2 \ -+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ -+ && xsi_shell=yes -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -+$as_echo "$xsi_shell" >&6; } -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 -+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } -+lt_shell_append=no -+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ -+ >/dev/null 2>&1 \ -+ && lt_shell_append=yes -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -+$as_echo "$lt_shell_append" >&6; } -+ -+ -+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -+ lt_unset=unset -+else -+ lt_unset=false -+fi -+ -+ -+ -+ -+ -+# test EBCDIC or ASCII -+case `echo X|tr X '\101'` in -+ A) # ASCII based system -+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr -+ lt_SP2NL='tr \040 \012' -+ lt_NL2SP='tr \015\012 \040\040' -+ ;; -+ *) # EBCDIC based system -+ lt_SP2NL='tr \100 \n' -+ lt_NL2SP='tr \r\n \100\100' -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 -+$as_echo_n "checking how to convert $build file names to $host format... " >&6; } -+if ${lt_cv_to_host_file_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $host in -+ *-*-mingw* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 -+ ;; -+ *-*-cygwin* ) -+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 -+ ;; -+ * ) # otherwise, assume *nix -+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 -+ ;; -+ esac -+ ;; -+ *-*-cygwin* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin -+ ;; -+ *-*-cygwin* ) -+ lt_cv_to_host_file_cmd=func_convert_file_noop -+ ;; -+ * ) # otherwise, assume *nix -+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin -+ ;; -+ esac -+ ;; -+ * ) # unhandled hosts (and "normal" native builds) -+ lt_cv_to_host_file_cmd=func_convert_file_noop -+ ;; -+esac -+ -+fi -+ -+to_host_file_cmd=$lt_cv_to_host_file_cmd -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 -+$as_echo "$lt_cv_to_host_file_cmd" >&6; } -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 -+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } -+if ${lt_cv_to_tool_file_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ #assume ordinary cross tools, or native build. -+lt_cv_to_tool_file_cmd=func_convert_file_noop -+case $host in -+ *-*-mingw* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 -+ ;; -+ esac -+ ;; -+esac -+ -+fi -+ -+to_tool_file_cmd=$lt_cv_to_tool_file_cmd -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 -+$as_echo "$lt_cv_to_tool_file_cmd" >&6; } -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -+$as_echo_n "checking for $LD option to reload object files... " >&6; } -+if ${lt_cv_ld_reload_flag+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_reload_flag='-r' -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -+$as_echo "$lt_cv_ld_reload_flag" >&6; } -+reload_flag=$lt_cv_ld_reload_flag -+case $reload_flag in -+"" | " "*) ;; -+*) reload_flag=" $reload_flag" ;; -+esac -+reload_cmds='$LD$reload_flag -o $output$reload_objs' -+case $host_os in -+ cygwin* | mingw* | pw32* | cegcc*) -+ if test "$GCC" != yes; then -+ reload_cmds=false -+ fi -+ ;; -+ darwin*) -+ if test "$GCC" = yes; then -+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -+ else -+ reload_cmds='$LD$reload_flag -o $output$reload_objs' -+ fi -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -+set dummy ${ac_tool_prefix}objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OBJDUMP"; then -+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OBJDUMP=$ac_cv_prog_OBJDUMP -+if test -n "$OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -+$as_echo "$OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OBJDUMP"; then -+ ac_ct_OBJDUMP=$OBJDUMP -+ # Extract the first word of "objdump", so it can be a program name with args. -+set dummy objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OBJDUMP"; then -+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OBJDUMP="objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -+if test -n "$ac_ct_OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -+$as_echo "$ac_ct_OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OBJDUMP" = x; then -+ OBJDUMP="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OBJDUMP=$ac_ct_OBJDUMP -+ fi -+else -+ OBJDUMP="$ac_cv_prog_OBJDUMP" -+fi -+ -+test -z "$OBJDUMP" && OBJDUMP=objdump -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -+$as_echo_n "checking how to recognize dependent libraries... " >&6; } -+if ${lt_cv_deplibs_check_method+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_file_magic_cmd='$MAGIC_CMD' -+lt_cv_file_magic_test_file= -+lt_cv_deplibs_check_method='unknown' -+# Need to set the preceding variable on all platforms that support -+# interlibrary dependencies. -+# 'none' -- dependencies not supported. -+# `unknown' -- same as none, but documents that we really don't know. -+# 'pass_all' -- all dependencies passed with no checks. -+# 'test_compile' -- check by making test program. -+# 'file_magic [[regex]]' -- check by looking for files in library path -+# which responds to the $file_magic_cmd with a given extended regex. -+# If you have `file' or equivalent on your system and you're not sure -+# whether `pass_all' will *always* work, you probably want this one. -+ -+case $host_os in -+aix[4-9]*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+beos*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+bsdi[45]*) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' -+ lt_cv_file_magic_cmd='/usr/bin/file -L' -+ lt_cv_file_magic_test_file=/shlib/libc.so -+ ;; -+ -+cygwin*) -+ # func_win32_libid is a shell function defined in ltmain.sh -+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' -+ lt_cv_file_magic_cmd='func_win32_libid' -+ ;; -+ -+mingw* | pw32*) -+ # Base MSYS/MinGW do not provide the 'file' command needed by -+ # func_win32_libid shell function, so use a weaker test based on 'objdump', -+ # unless we find 'file', for example because we are cross-compiling. -+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. -+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then -+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' -+ lt_cv_file_magic_cmd='func_win32_libid' -+ else -+ # Keep this pattern in sync with the one in func_win32_libid. -+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ fi -+ ;; -+ -+cegcc*) -+ # use the weaker test based on 'objdump'. See mingw*. -+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ ;; -+ -+darwin* | rhapsody*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+freebsd* | dragonfly*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then -+ case $host_cpu in -+ i*86 ) -+ # Not sure whether the presence of OpenBSD here was a mistake. -+ # Let's accept both of them until this is cleared up. -+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' -+ lt_cv_file_magic_cmd=/usr/bin/file -+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` -+ ;; -+ esac -+ else -+ lt_cv_deplibs_check_method=pass_all -+ fi -+ ;; -+ -+gnu*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+haiku*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+hpux10.20* | hpux11*) -+ lt_cv_file_magic_cmd=/usr/bin/file -+ case $host_cpu in -+ ia64*) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' -+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so -+ ;; -+ hppa*64*) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' -+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl -+ ;; -+ *) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' -+ lt_cv_file_magic_test_file=/usr/lib/libc.sl -+ ;; -+ esac -+ ;; -+ -+interix[3-9]*) -+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' -+ ;; -+ -+irix5* | irix6* | nonstopux*) -+ case $LD in -+ *-32|*"-32 ") libmagic=32-bit;; -+ *-n32|*"-n32 ") libmagic=N32;; -+ *-64|*"-64 ") libmagic=64-bit;; -+ *) libmagic=never-match;; -+ esac -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+# This must be glibc/ELF. -+linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -+ else -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' -+ fi -+ ;; -+ -+newos6*) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' -+ lt_cv_file_magic_cmd=/usr/bin/file -+ lt_cv_file_magic_test_file=/usr/lib/libnls.so -+ ;; -+ -+*nto* | *qnx*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+openbsd*) -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' -+ else -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -+ fi -+ ;; -+ -+osf3* | osf4* | osf5*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+rdos*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+solaris*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+sysv4 | sysv4.3*) -+ case $host_vendor in -+ motorola) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' -+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` -+ ;; -+ ncr) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ sequent) -+ lt_cv_file_magic_cmd='/bin/file' -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' -+ ;; -+ sni) -+ lt_cv_file_magic_cmd='/bin/file' -+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" -+ lt_cv_file_magic_test_file=/lib/libc.so -+ ;; -+ siemens) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ pc) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ esac -+ ;; -+ -+tpf*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+esac -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -+$as_echo "$lt_cv_deplibs_check_method" >&6; } -+ -+file_magic_glob= -+want_nocaseglob=no -+if test "$build" = "$host"; then -+ case $host_os in -+ mingw* | pw32*) -+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then -+ want_nocaseglob=yes -+ else -+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` -+ fi -+ ;; -+ esac -+fi -+ -+file_magic_cmd=$lt_cv_file_magic_cmd -+deplibs_check_method=$lt_cv_deplibs_check_method -+test -z "$deplibs_check_method" && deplibs_check_method=unknown -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DLLTOOL"; then -+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DLLTOOL=$ac_cv_prog_DLLTOOL -+if test -n "$DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -+$as_echo "$DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DLLTOOL"; then -+ ac_ct_DLLTOOL=$DLLTOOL -+ # Extract the first word of "dlltool", so it can be a program name with args. -+set dummy dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DLLTOOL"; then -+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DLLTOOL="dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -+if test -n "$ac_ct_DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -+$as_echo "$ac_ct_DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DLLTOOL" = x; then -+ DLLTOOL="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DLLTOOL=$ac_ct_DLLTOOL -+ fi -+else -+ DLLTOOL="$ac_cv_prog_DLLTOOL" -+fi -+ -+test -z "$DLLTOOL" && DLLTOOL=dlltool -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 -+$as_echo_n "checking how to associate runtime and link libraries... " >&6; } -+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_sharedlib_from_linklib_cmd='unknown' -+ -+case $host_os in -+cygwin* | mingw* | pw32* | cegcc*) -+ # two different shell functions defined in ltmain.sh -+ # decide which to use based on capabilities of $DLLTOOL -+ case `$DLLTOOL --help 2>&1` in -+ *--identify-strict*) -+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib -+ ;; -+ *) -+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback -+ ;; -+ esac -+ ;; -+*) -+ # fallback: assume linklib IS sharedlib -+ lt_cv_sharedlib_from_linklib_cmd="$ECHO" -+ ;; -+esac -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 -+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } -+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd -+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ for ac_prog in ar -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AR"; then -+ ac_cv_prog_AR="$AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AR=$ac_cv_prog_AR -+if test -n "$AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -+$as_echo "$AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$AR" && break -+ done -+fi -+if test -z "$AR"; then -+ ac_ct_AR=$AR -+ for ac_prog in ar -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_AR"; then -+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_AR="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_AR=$ac_cv_prog_ac_ct_AR -+if test -n "$ac_ct_AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -+$as_echo "$ac_ct_AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_AR" && break -+done -+ -+ if test "x$ac_ct_AR" = x; then -+ AR="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ AR=$ac_ct_AR -+ fi -+fi -+ -+: ${AR=ar} -+: ${AR_FLAGS=cru} -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 -+$as_echo_n "checking for archiver @FILE support... " >&6; } -+if ${lt_cv_ar_at_file+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ar_at_file=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ echo conftest.$ac_objext > conftest.lst -+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' -+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 -+ (eval $lt_ar_try) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if test "$ac_status" -eq 0; then -+ # Ensure the archiver fails upon bogus file names. -+ rm -f conftest.$ac_objext libconftest.a -+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 -+ (eval $lt_ar_try) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if test "$ac_status" -ne 0; then -+ lt_cv_ar_at_file=@ -+ fi -+ fi -+ rm -f conftest.* libconftest.a -+ -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 -+$as_echo "$lt_cv_ar_at_file" >&6; } -+ -+if test "x$lt_cv_ar_at_file" = xno; then -+ archiver_list_spec= -+else -+ archiver_list_spec=$lt_cv_ar_at_file -+fi -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -+set dummy ${ac_tool_prefix}strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$STRIP"; then -+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+STRIP=$ac_cv_prog_STRIP -+if test -n "$STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_STRIP"; then -+ ac_ct_STRIP=$STRIP -+ # Extract the first word of "strip", so it can be a program name with args. -+set dummy strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_STRIP"; then -+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_STRIP="strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -+if test -n "$ac_ct_STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -+$as_echo "$ac_ct_STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_STRIP" = x; then -+ STRIP=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ STRIP=$ac_ct_STRIP -+ fi -+else -+ STRIP="$ac_cv_prog_STRIP" -+fi -+ -+test -z "$STRIP" && STRIP=: -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$RANLIB"; then -+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+RANLIB=$ac_cv_prog_RANLIB -+if test -n "$RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -+$as_echo "$RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_RANLIB"; then -+ ac_ct_RANLIB=$RANLIB -+ # Extract the first word of "ranlib", so it can be a program name with args. -+set dummy ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_RANLIB"; then -+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_RANLIB="ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -+if test -n "$ac_ct_RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -+$as_echo "$ac_ct_RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_RANLIB" = x; then -+ RANLIB=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ RANLIB=$ac_ct_RANLIB -+ fi -+else -+ RANLIB="$ac_cv_prog_RANLIB" -+fi -+ -+test -z "$RANLIB" && RANLIB=: -+ -+ -+ -+ -+ -+ -+# Determine commands to create old-style static archives. -+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -+old_postinstall_cmds='chmod 644 $oldlib' -+old_postuninstall_cmds= -+ -+if test -n "$RANLIB"; then -+ case $host_os in -+ openbsd*) -+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" -+ ;; -+ *) -+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" -+ ;; -+ esac -+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" -+fi -+ -+case $host_os in -+ darwin*) -+ lock_old_archive_extraction=yes ;; -+ *) -+ lock_old_archive_extraction=no ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# If no C compiler was specified, use CC. -+LTCC=${LTCC-"$CC"} -+ -+# If no C compiler flags were specified, use CFLAGS. -+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -+ -+# Allow CC to be a program name with arguments. -+compiler=$CC -+ -+ -+# Check for command to grab the raw symbol name followed by C symbol from nm. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -+if ${lt_cv_sys_global_symbol_pipe+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+# These are sane defaults that work on at least a few old systems. -+# [They come from Ultrix. What could be older than Ultrix?!! ;)] -+ -+# Character class describing NM global symbol codes. -+symcode='[BCDEGRST]' -+ -+# Regexp to match symbols that can be accessed directly from C. -+sympat='\([_A-Za-z][_A-Za-z0-9]*\)' -+ -+# Define system-specific variables. -+case $host_os in -+aix*) -+ symcode='[BCDT]' -+ ;; -+cygwin* | mingw* | pw32* | cegcc*) -+ symcode='[ABCDGISTW]' -+ ;; -+hpux*) -+ if test "$host_cpu" = ia64; then -+ symcode='[ABCDEGRST]' -+ fi -+ ;; -+irix* | nonstopux*) -+ symcode='[BCDEGRST]' -+ ;; -+osf*) -+ symcode='[BCDEGQRST]' -+ ;; -+solaris*) -+ symcode='[BDRT]' -+ ;; -+sco3.2v5*) -+ symcode='[DT]' -+ ;; -+sysv4.2uw2*) -+ symcode='[DT]' -+ ;; -+sysv5* | sco5v6* | unixware* | OpenUNIX*) -+ symcode='[ABDT]' -+ ;; -+sysv4) -+ symcode='[DFNSTU]' -+ ;; -+esac -+ -+# If we're using GNU nm, then use its standard symbol codes. -+case `$NM -V 2>&1` in -+*GNU* | *'with BFD'*) -+ symcode='[ABCDGIRSTW]' ;; -+esac -+ -+# Transform an extracted symbol line into a proper C declaration. -+# Some systems (esp. on ia64) link data and code symbols differently, -+# so use this general approach. -+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" -+ -+# Transform an extracted symbol line into symbol name and symbol address -+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" -+ -+# Handle CRLF in mingw tool chain -+opt_cr= -+case $build_os in -+mingw*) -+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp -+ ;; -+esac -+ -+# Try without a prefix underscore, then with it. -+for ac_symprfx in "" "_"; do -+ -+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. -+ symxfrm="\\1 $ac_symprfx\\2 \\2" -+ -+ # Write the raw and C identifiers. -+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then -+ # Fake it for dumpbin and say T for any non-static function -+ # and D for any global variable. -+ # Also find C++ and __fastcall symbols from MSVC++, -+ # which start with @ or ?. -+ lt_cv_sys_global_symbol_pipe="$AWK '"\ -+" {last_section=section; section=\$ 3};"\ -+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ -+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -+" \$ 0!~/External *\|/{next};"\ -+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -+" {if(hide[section]) next};"\ -+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -+" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -+" ' prfx=^$ac_symprfx" -+ else -+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" -+ fi -+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" -+ -+ # Check to see that the pipe works correctly. -+ pipe_works=no -+ -+ rm -f conftest* -+ cat > conftest.$ac_ext <<_LT_EOF -+#ifdef __cplusplus -+extern "C" { -+#endif -+char nm_test_var; -+void nm_test_func(void); -+void nm_test_func(void){} -+#ifdef __cplusplus -+} -+#endif -+int main(){nm_test_var='a';nm_test_func();return(0);} -+_LT_EOF -+ -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ # Now try to grab the symbols. -+ nlist=conftest.nm -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 -+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s "$nlist"; then -+ # Try sorting and uniquifying the output. -+ if sort "$nlist" | uniq > "$nlist"T; then -+ mv -f "$nlist"T "$nlist" -+ else -+ rm -f "$nlist"T -+ fi -+ -+ # Make sure that we snagged all the symbols we need. -+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then -+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then -+ cat <<_LT_EOF > conftest.$ac_ext -+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) -+/* DATA imports from DLLs on WIN32 con't be const, because runtime -+ relocations are performed -- see ld's documentation on pseudo-relocs. */ -+# define LT_DLSYM_CONST -+#elif defined(__osf__) -+/* This system does not cope well with relocations in const data. */ -+# define LT_DLSYM_CONST -+#else -+# define LT_DLSYM_CONST const -+#endif -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+_LT_EOF -+ # Now generate the symbol file. -+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' -+ -+ cat <<_LT_EOF >> conftest.$ac_ext -+ -+/* The mapping between symbol names and symbols. */ -+LT_DLSYM_CONST struct { -+ const char *name; -+ void *address; -+} -+lt__PROGRAM__LTX_preloaded_symbols[] = -+{ -+ { "@PROGRAM@", (void *) 0 }, -+_LT_EOF -+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext -+ cat <<\_LT_EOF >> conftest.$ac_ext -+ {0, (void *) 0} -+}; -+ -+/* This works around a problem in FreeBSD linker */ -+#ifdef FREEBSD_WORKAROUND -+static const void *lt_preloaded_setup() { -+ return lt__PROGRAM__LTX_preloaded_symbols; -+} -+#endif -+ -+#ifdef __cplusplus -+} -+#endif -+_LT_EOF -+ # Now try linking the two files. -+ mv conftest.$ac_objext conftstm.$ac_objext -+ lt_globsym_save_LIBS=$LIBS -+ lt_globsym_save_CFLAGS=$CFLAGS -+ LIBS="conftstm.$ac_objext" -+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then -+ pipe_works=yes -+ fi -+ LIBS=$lt_globsym_save_LIBS -+ CFLAGS=$lt_globsym_save_CFLAGS -+ else -+ echo "cannot find nm_test_func in $nlist" >&5 -+ fi -+ else -+ echo "cannot find nm_test_var in $nlist" >&5 -+ fi -+ else -+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 -+ fi -+ else -+ echo "$progname: failed program was:" >&5 -+ cat conftest.$ac_ext >&5 -+ fi -+ rm -rf conftest* conftst* -+ -+ # Do not use the global_symbol_pipe unless it works. -+ if test "$pipe_works" = yes; then -+ break -+ else -+ lt_cv_sys_global_symbol_pipe= -+ fi -+done -+ -+fi -+ -+if test -z "$lt_cv_sys_global_symbol_pipe"; then -+ lt_cv_sys_global_symbol_to_cdecl= -+fi -+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -+$as_echo "failed" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -+$as_echo "ok" >&6; } -+fi -+ -+# Response file support. -+if test "$lt_cv_nm_interface" = "MS dumpbin"; then -+ nm_file_list_spec='@' -+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then -+ nm_file_list_spec='@' -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 -+$as_echo_n "checking for sysroot... " >&6; } -+ -+# Check whether --with-sysroot was given. -+if test "${with_sysroot+set}" = set; then : -+ withval=$with_sysroot; -+else -+ with_sysroot=no -+fi -+ -+ -+lt_sysroot= -+case ${with_sysroot} in #( -+ yes) -+ if test "$GCC" = yes; then -+ lt_sysroot=`$CC --print-sysroot 2>/dev/null` -+ fi -+ ;; #( -+ /*) -+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` -+ ;; #( -+ no|'') -+ ;; #( -+ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 -+$as_echo "${with_sysroot}" >&6; } -+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 -+ ;; -+esac -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 -+$as_echo "${lt_sysroot:-no}" >&6; } -+ -+ -+ -+ -+ -+# Check whether --enable-libtool-lock was given. -+if test "${enable_libtool_lock+set}" = set; then : -+ enableval=$enable_libtool_lock; -+fi -+ -+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -+ -+# Some flags need to be propagated to the compiler or linker for good -+# libtool support. -+case $host in -+ia64-*-hpux*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.$ac_objext` in -+ *ELF-32*) -+ HPUX_IA64_MODE="32" -+ ;; -+ *ELF-64*) -+ HPUX_IA64_MODE="64" -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+*-*-irix6*) -+ # Find out which ABI we are using. -+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ if test "$lt_cv_prog_gnu_ld" = yes; then -+ case `/usr/bin/file conftest.$ac_objext` in -+ *32-bit*) -+ LD="${LD-ld} -melf32bsmip" -+ ;; -+ *N32*) -+ LD="${LD-ld} -melf32bmipn32" -+ ;; -+ *64-bit*) -+ LD="${LD-ld} -melf64bmip" -+ ;; -+ esac -+ else -+ case `/usr/bin/file conftest.$ac_objext` in -+ *32-bit*) -+ LD="${LD-ld} -32" -+ ;; -+ *N32*) -+ LD="${LD-ld} -n32" -+ ;; -+ *64-bit*) -+ LD="${LD-ld} -64" -+ ;; -+ esac -+ fi -+ fi -+ rm -rf conftest* -+ ;; -+ -+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -+s390*-*linux*|s390*-*tpf*|sparc*-*linux*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.o` in -+ *32-bit*) -+ case $host in -+ x86_64-*kfreebsd*-gnu) -+ LD="${LD-ld} -m elf_i386_fbsd" -+ ;; -+ x86_64-*linux*) -+ LD="${LD-ld} -m elf_i386" -+ ;; -+ ppc64-*linux*|powerpc64-*linux*) -+ LD="${LD-ld} -m elf32ppclinux" -+ ;; -+ s390x-*linux*) -+ LD="${LD-ld} -m elf_s390" -+ ;; -+ sparc64-*linux*) -+ LD="${LD-ld} -m elf32_sparc" -+ ;; -+ esac -+ ;; -+ *64-bit*) -+ case $host in -+ x86_64-*kfreebsd*-gnu) -+ LD="${LD-ld} -m elf_x86_64_fbsd" -+ ;; -+ x86_64-*linux*) -+ LD="${LD-ld} -m elf_x86_64" -+ ;; -+ ppc*-*linux*|powerpc*-*linux*) -+ LD="${LD-ld} -m elf64ppc" -+ ;; -+ s390*-*linux*|s390*-*tpf*) -+ LD="${LD-ld} -m elf64_s390" -+ ;; -+ sparc*-*linux*) -+ LD="${LD-ld} -m elf64_sparc" -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+ -+*-*-sco3.2v5*) -+ # On SCO OpenServer 5, we need -belf to get full-featured binaries. -+ SAVE_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -belf" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -+$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -+if ${lt_cv_cc_needs_belf+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_cc_needs_belf=yes -+else -+ lt_cv_cc_needs_belf=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -+$as_echo "$lt_cv_cc_needs_belf" >&6; } -+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then -+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf -+ CFLAGS="$SAVE_CFLAGS" -+ fi -+ ;; -+*-*solaris*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.o` in -+ *64-bit*) -+ case $lt_cv_prog_gnu_ld in -+ yes*) -+ case $host in -+ i?86-*-solaris*) -+ LD="${LD-ld} -m elf_x86_64" -+ ;; -+ sparc*-*-solaris*) -+ LD="${LD-ld} -m elf64_sparc" -+ ;; -+ esac -+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available. -+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then -+ LD="${LD-ld}_sol2" -+ fi -+ ;; -+ *) -+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then -+ LD="${LD-ld} -64" -+ fi -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+esac -+ -+need_locks="$enable_libtool_lock" -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. -+set dummy ${ac_tool_prefix}mt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$MANIFEST_TOOL"; then -+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL -+if test -n "$MANIFEST_TOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 -+$as_echo "$MANIFEST_TOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then -+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL -+ # Extract the first word of "mt", so it can be a program name with args. -+set dummy mt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_MANIFEST_TOOL"; then -+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL -+if test -n "$ac_ct_MANIFEST_TOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 -+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_MANIFEST_TOOL" = x; then -+ MANIFEST_TOOL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL -+ fi -+else -+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" -+fi -+ -+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 -+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -+if ${lt_cv_path_mainfest_tool+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_path_mainfest_tool=no -+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 -+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out -+ cat conftest.err >&5 -+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then -+ lt_cv_path_mainfest_tool=yes -+ fi -+ rm -f conftest* -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -+$as_echo "$lt_cv_path_mainfest_tool" >&6; } -+if test "x$lt_cv_path_mainfest_tool" != xyes; then -+ MANIFEST_TOOL=: -+fi -+ -+ -+ -+ -+ -+ -+ case $host_os in -+ rhapsody* | darwin*) -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DSYMUTIL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DSYMUTIL"; then -+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DSYMUTIL=$ac_cv_prog_DSYMUTIL -+if test -n "$DSYMUTIL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -+$as_echo "$DSYMUTIL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DSYMUTIL"; then -+ ac_ct_DSYMUTIL=$DSYMUTIL -+ # Extract the first word of "dsymutil", so it can be a program name with args. -+set dummy dsymutil; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DSYMUTIL"; then -+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -+if test -n "$ac_ct_DSYMUTIL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -+$as_echo "$ac_ct_DSYMUTIL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DSYMUTIL" = x; then -+ DSYMUTIL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DSYMUTIL=$ac_ct_DSYMUTIL -+ fi -+else -+ DSYMUTIL="$ac_cv_prog_DSYMUTIL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -+set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_NMEDIT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$NMEDIT"; then -+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+NMEDIT=$ac_cv_prog_NMEDIT -+if test -n "$NMEDIT"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -+$as_echo "$NMEDIT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_NMEDIT"; then -+ ac_ct_NMEDIT=$NMEDIT -+ # Extract the first word of "nmedit", so it can be a program name with args. -+set dummy nmedit; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_NMEDIT"; then -+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_NMEDIT="nmedit" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -+if test -n "$ac_ct_NMEDIT"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -+$as_echo "$ac_ct_NMEDIT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_NMEDIT" = x; then -+ NMEDIT=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ NMEDIT=$ac_ct_NMEDIT -+ fi -+else -+ NMEDIT="$ac_cv_prog_NMEDIT" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -+set dummy ${ac_tool_prefix}lipo; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_LIPO+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$LIPO"; then -+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+LIPO=$ac_cv_prog_LIPO -+if test -n "$LIPO"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -+$as_echo "$LIPO" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_LIPO"; then -+ ac_ct_LIPO=$LIPO -+ # Extract the first word of "lipo", so it can be a program name with args. -+set dummy lipo; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_LIPO+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_LIPO"; then -+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_LIPO="lipo" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -+if test -n "$ac_ct_LIPO"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -+$as_echo "$ac_ct_LIPO" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_LIPO" = x; then -+ LIPO=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ LIPO=$ac_ct_LIPO -+ fi -+else -+ LIPO="$ac_cv_prog_LIPO" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}otool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OTOOL"; then -+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OTOOL=$ac_cv_prog_OTOOL -+if test -n "$OTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -+$as_echo "$OTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OTOOL"; then -+ ac_ct_OTOOL=$OTOOL -+ # Extract the first word of "otool", so it can be a program name with args. -+set dummy otool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OTOOL"; then -+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OTOOL="otool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -+if test -n "$ac_ct_OTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -+$as_echo "$ac_ct_OTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OTOOL" = x; then -+ OTOOL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OTOOL=$ac_ct_OTOOL -+ fi -+else -+ OTOOL="$ac_cv_prog_OTOOL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -+set dummy ${ac_tool_prefix}otool64; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OTOOL64+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OTOOL64"; then -+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OTOOL64=$ac_cv_prog_OTOOL64 -+if test -n "$OTOOL64"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -+$as_echo "$OTOOL64" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OTOOL64"; then -+ ac_ct_OTOOL64=$OTOOL64 -+ # Extract the first word of "otool64", so it can be a program name with args. -+set dummy otool64; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OTOOL64"; then -+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OTOOL64="otool64" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -+if test -n "$ac_ct_OTOOL64"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -+$as_echo "$ac_ct_OTOOL64" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OTOOL64" = x; then -+ OTOOL64=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OTOOL64=$ac_ct_OTOOL64 -+ fi -+else -+ OTOOL64="$ac_cv_prog_OTOOL64" -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -+$as_echo_n "checking for -single_module linker flag... " >&6; } -+if ${lt_cv_apple_cc_single_mod+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_apple_cc_single_mod=no -+ if test -z "${LT_MULTI_MODULE}"; then -+ # By default we will add the -single_module flag. You can override -+ # by either setting the environment variable LT_MULTI_MODULE -+ # non-empty at configure time, or by adding -multi_module to the -+ # link flags. -+ rm -rf libconftest.dylib* -+ echo "int foo(void){return 1;}" > conftest.c -+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -+-dynamiclib -Wl,-single_module conftest.c" >&5 -+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err -+ _lt_result=$? -+ # If there is a non-empty error log, and "single_module" -+ # appears in it, assume the flag caused a linker warning -+ if test -s conftest.err && $GREP single_module conftest.err; then -+ cat conftest.err >&5 -+ # Otherwise, if the output was created with a 0 exit code from -+ # the compiler, it worked. -+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then -+ lt_cv_apple_cc_single_mod=yes -+ else -+ cat conftest.err >&5 -+ fi -+ rm -rf libconftest.dylib* -+ rm -f conftest.* -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -+$as_echo "$lt_cv_apple_cc_single_mod" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -+if ${lt_cv_ld_exported_symbols_list+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_exported_symbols_list=no -+ save_LDFLAGS=$LDFLAGS -+ echo "_main" > conftest.sym -+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_ld_exported_symbols_list=yes -+else -+ lt_cv_ld_exported_symbols_list=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 -+$as_echo_n "checking for -force_load linker flag... " >&6; } -+if ${lt_cv_ld_force_load+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_force_load=no -+ cat > conftest.c << _LT_EOF -+int forced_loaded() { return 2;} -+_LT_EOF -+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 -+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 -+ echo "$AR cru libconftest.a conftest.o" >&5 -+ $AR cru libconftest.a conftest.o 2>&5 -+ echo "$RANLIB libconftest.a" >&5 -+ $RANLIB libconftest.a 2>&5 -+ cat > conftest.c << _LT_EOF -+int main() { return 0;} -+_LT_EOF -+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 -+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err -+ _lt_result=$? -+ if test -s conftest.err && $GREP force_load conftest.err; then -+ cat conftest.err >&5 -+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then -+ lt_cv_ld_force_load=yes -+ else -+ cat conftest.err >&5 -+ fi -+ rm -f conftest.err libconftest.a conftest conftest.c -+ rm -rf conftest.dSYM -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 -+$as_echo "$lt_cv_ld_force_load" >&6; } -+ case $host_os in -+ rhapsody* | darwin1.[012]) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; -+ darwin1.*) -+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; -+ darwin*) # darwin 5.x on -+ # if running on 10.5 or later, the deployment target defaults -+ # to the OS version, if on x86, and 10.4, the deployment -+ # target defaults to 10.4. Don't you love it? -+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in -+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; -+ 10.[012]*) -+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; -+ 10.*) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; -+ esac -+ ;; -+ esac -+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then -+ _lt_dar_single_mod='$single_module' -+ fi -+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then -+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' -+ else -+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' -+ fi -+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then -+ _lt_dsymutil='~$DSYMUTIL $lib || :' -+ else -+ _lt_dsymutil= -+ fi -+ ;; -+ esac -+ -+for ac_header in dlfcn.h -+do : -+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -+" -+if test "x$ac_cv_header_dlfcn_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DLFCN_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ -+ -+ -+# Set options -+# Check whether --enable-static was given. -+if test "${enable_static+set}" = set; then : -+ enableval=$enable_static; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_static=yes ;; -+ no) enable_static=no ;; -+ *) -+ enable_static=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_static=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_static=no -+fi -+ -+ -+ -+ -+ -+ -+ -+enable_win32_dll=yes -+ -+case $host in -+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -+set dummy ${ac_tool_prefix}as; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AS+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AS"; then -+ ac_cv_prog_AS="$AS" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AS="${ac_tool_prefix}as" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AS=$ac_cv_prog_AS -+if test -n "$AS"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -+$as_echo "$AS" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_AS"; then -+ ac_ct_AS=$AS -+ # Extract the first word of "as", so it can be a program name with args. -+set dummy as; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_AS+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_AS"; then -+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_AS="as" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_AS=$ac_cv_prog_ac_ct_AS -+if test -n "$ac_ct_AS"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -+$as_echo "$ac_ct_AS" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_AS" = x; then -+ AS="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ AS=$ac_ct_AS -+ fi -+else -+ AS="$ac_cv_prog_AS" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DLLTOOL"; then -+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DLLTOOL=$ac_cv_prog_DLLTOOL -+if test -n "$DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -+$as_echo "$DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DLLTOOL"; then -+ ac_ct_DLLTOOL=$DLLTOOL -+ # Extract the first word of "dlltool", so it can be a program name with args. -+set dummy dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DLLTOOL"; then -+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DLLTOOL="dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -+if test -n "$ac_ct_DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -+$as_echo "$ac_ct_DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DLLTOOL" = x; then -+ DLLTOOL="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DLLTOOL=$ac_ct_DLLTOOL -+ fi -+else -+ DLLTOOL="$ac_cv_prog_DLLTOOL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -+set dummy ${ac_tool_prefix}objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OBJDUMP"; then -+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OBJDUMP=$ac_cv_prog_OBJDUMP -+if test -n "$OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -+$as_echo "$OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OBJDUMP"; then -+ ac_ct_OBJDUMP=$OBJDUMP -+ # Extract the first word of "objdump", so it can be a program name with args. -+set dummy objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OBJDUMP"; then -+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OBJDUMP="objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -+if test -n "$ac_ct_OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -+$as_echo "$ac_ct_OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OBJDUMP" = x; then -+ OBJDUMP="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OBJDUMP=$ac_ct_OBJDUMP -+ fi -+else -+ OBJDUMP="$ac_cv_prog_OBJDUMP" -+fi -+ -+ ;; -+esac -+ -+test -z "$AS" && AS=as -+ -+ -+ -+ -+ -+test -z "$DLLTOOL" && DLLTOOL=dlltool -+ -+ -+ -+ -+ -+test -z "$OBJDUMP" && OBJDUMP=objdump -+ -+ -+ -+ -+ -+ -+ -+ enable_dlopen=no -+ -+ -+ -+ # Check whether --enable-shared was given. -+if test "${enable_shared+set}" = set; then : -+ enableval=$enable_shared; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_shared=yes ;; -+ no) enable_shared=no ;; -+ *) -+ enable_shared=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_shared=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_shared=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# Check whether --with-pic was given. -+if test "${with_pic+set}" = set; then : -+ withval=$with_pic; lt_p=${PACKAGE-default} -+ case $withval in -+ yes|no) pic_mode=$withval ;; -+ *) -+ pic_mode=default -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for lt_pkg in $withval; do -+ IFS="$lt_save_ifs" -+ if test "X$lt_pkg" = "X$lt_p"; then -+ pic_mode=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ pic_mode=default -+fi -+ -+ -+test -z "$pic_mode" && pic_mode=default -+ -+ -+ -+ -+ -+ -+ -+ # Check whether --enable-fast-install was given. -+if test "${enable_fast_install+set}" = set; then : -+ enableval=$enable_fast_install; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_fast_install=yes ;; -+ no) enable_fast_install=no ;; -+ *) -+ enable_fast_install=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_fast_install=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_fast_install=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# This can be used to rebuild libtool when needed -+LIBTOOL_DEPS="$ltmain" -+ -+# Always use our own libtool. -+LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool' -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+test -z "$LN_S" && LN_S="ln -s" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -+$as_echo_n "checking for objdir... " >&6; } -+if ${lt_cv_objdir+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ rm -f .libs 2>/dev/null -+mkdir .libs 2>/dev/null -+if test -d .libs; then -+ lt_cv_objdir=.libs -+else -+ # MS-DOS does not allow filenames that begin with a dot. -+ lt_cv_objdir=_libs -+fi -+rmdir .libs 2>/dev/null -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -+$as_echo "$lt_cv_objdir" >&6; } -+objdir=$lt_cv_objdir -+ -+ -+ -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define LT_OBJDIR "$lt_cv_objdir/" -+_ACEOF -+ -+ -+ -+ -+case $host_os in -+aix3*) -+ # AIX sometimes has problems with the GCC collect2 program. For some -+ # reason, if we set the COLLECT_NAMES environment variable, the problems -+ # vanish in a puff of smoke. -+ if test "X${COLLECT_NAMES+set}" != Xset; then -+ COLLECT_NAMES= -+ export COLLECT_NAMES -+ fi -+ ;; -+esac -+ -+# Global variables: -+ofile=libtool -+can_build_shared=yes -+ -+# All known linkers require a `.a' archive for static linking (except MSVC, -+# which needs '.lib'). -+libext=a -+ -+with_gnu_ld="$lt_cv_prog_gnu_ld" -+ -+old_CC="$CC" -+old_CFLAGS="$CFLAGS" -+ -+# Set sane defaults for various variables -+test -z "$CC" && CC=cc -+test -z "$LTCC" && LTCC=$CC -+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -+test -z "$LD" && LD=ld -+test -z "$ac_objext" && ac_objext=o -+ -+for cc_temp in $compiler""; do -+ case $cc_temp in -+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; -+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; -+ \-*) ;; -+ *) break;; -+ esac -+done -+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -+ -+ -+# Only perform the check for file, if the check method requires it -+test -z "$MAGIC_CMD" && MAGIC_CMD=file -+case $deplibs_check_method in -+file_magic*) -+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -+if ${lt_cv_path_MAGIC_CMD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $MAGIC_CMD in -+[\\/*] | ?:[\\/]*) -+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. -+ ;; -+*) -+ lt_save_MAGIC_CMD="$MAGIC_CMD" -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" -+ for ac_dir in $ac_dummy; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/${ac_tool_prefix}file; then -+ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" -+ if test -n "$file_magic_test_file"; then -+ case $deplibs_check_method in -+ "file_magic "*) -+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` -+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | -+ $EGREP "$file_magic_regex" > /dev/null; then -+ : -+ else -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the command libtool uses to detect shared libraries, -+*** $file_magic_cmd, produces output that libtool cannot recognize. -+*** The result is that libtool may fail to recognize shared libraries -+*** as such. This will affect the creation of libtool libraries that -+*** depend on shared libraries, but programs linked with such libtool -+*** libraries will work regardless of this problem. Nevertheless, you -+*** may want to report the problem to your system manager and/or to -+*** bug-libtool@gnu.org -+ -+_LT_EOF -+ fi ;; -+ esac -+ fi -+ break -+ fi -+ done -+ IFS="$lt_save_ifs" -+ MAGIC_CMD="$lt_save_MAGIC_CMD" -+ ;; -+esac -+fi -+ -+MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+if test -n "$MAGIC_CMD"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ -+ -+ -+if test -z "$lt_cv_path_MAGIC_CMD"; then -+ if test -n "$ac_tool_prefix"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -+$as_echo_n "checking for file... " >&6; } -+if ${lt_cv_path_MAGIC_CMD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $MAGIC_CMD in -+[\\/*] | ?:[\\/]*) -+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. -+ ;; -+*) -+ lt_save_MAGIC_CMD="$MAGIC_CMD" -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" -+ for ac_dir in $ac_dummy; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/file; then -+ lt_cv_path_MAGIC_CMD="$ac_dir/file" -+ if test -n "$file_magic_test_file"; then -+ case $deplibs_check_method in -+ "file_magic "*) -+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` -+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | -+ $EGREP "$file_magic_regex" > /dev/null; then -+ : -+ else -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the command libtool uses to detect shared libraries, -+*** $file_magic_cmd, produces output that libtool cannot recognize. -+*** The result is that libtool may fail to recognize shared libraries -+*** as such. This will affect the creation of libtool libraries that -+*** depend on shared libraries, but programs linked with such libtool -+*** libraries will work regardless of this problem. Nevertheless, you -+*** may want to report the problem to your system manager and/or to -+*** bug-libtool@gnu.org -+ -+_LT_EOF -+ fi ;; -+ esac -+ fi -+ break -+ fi -+ done -+ IFS="$lt_save_ifs" -+ MAGIC_CMD="$lt_save_MAGIC_CMD" -+ ;; -+esac -+fi -+ -+MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+if test -n "$MAGIC_CMD"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ else -+ MAGIC_CMD=: -+ fi -+fi -+ -+ fi -+ ;; -+esac -+ -+# Use C for the default configuration in the libtool script -+ -+lt_save_CC="$CC" -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+# Source file extension for C test sources. -+ac_ext=c -+ -+# Object file extension for compiled C test sources. -+objext=o -+objext=$objext -+ -+# Code to be used in simple compile tests -+lt_simple_compile_test_code="int some_variable = 0;" -+ -+# Code to be used in simple link tests -+lt_simple_link_test_code='int main(){return(0);}' -+ -+ -+ -+ -+ -+ -+ -+# If no C compiler was specified, use CC. -+LTCC=${LTCC-"$CC"} -+ -+# If no C compiler flags were specified, use CFLAGS. -+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -+ -+# Allow CC to be a program name with arguments. -+compiler=$CC -+ -+# Save the default compiler, since it gets overwritten when the other -+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -+compiler_DEFAULT=$CC -+ -+# save warnings/boilerplate of simple test code -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_compile_test_code" >conftest.$ac_ext -+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_compiler_boilerplate=`cat conftest.err` -+$RM conftest* -+ -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_link_test_code" >conftest.$ac_ext -+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_linker_boilerplate=`cat conftest.err` -+$RM -r conftest* -+ -+ -+## CAVEAT EMPTOR: -+## There is no encapsulation within the following macros, do not change -+## the running order or otherwise move them around unless you know exactly -+## what you are doing... -+if test -n "$compiler"; then -+ -+lt_prog_compiler_no_builtin_flag= -+ -+if test "$GCC" = yes; then -+ case $cc_basename in -+ nvcc*) -+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; -+ *) -+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; -+ esac -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_rtti_exceptions=no -+ ac_outfile=conftest.$ac_objext -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ lt_compiler_flag="-fno-rtti -fno-exceptions" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ # The option is referenced via a variable to avoid confusing sed. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>conftest.err) -+ ac_status=$? -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s "$ac_outfile"; then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings other than the usual output. -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_rtti_exceptions=yes -+ fi -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } -+ -+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then -+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -+else -+ : -+fi -+ -+fi -+ -+ -+ -+ -+ -+ -+ lt_prog_compiler_wl= -+lt_prog_compiler_pic= -+lt_prog_compiler_static= -+ -+ -+ if test "$GCC" = yes; then -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_static='-static' -+ -+ case $host_os in -+ aix*) -+ # All AIX code is PIC. -+ if test "$host_cpu" = ia64; then -+ # AIX 5 now supports IA64 processor -+ lt_prog_compiler_static='-Bstatic' -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ m68k) -+ # FIXME: we need at least 68020 code to build shared libraries, but -+ # adding the `-m68020' flag to GCC prevents building anything better, -+ # like `-m68040'. -+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' -+ ;; -+ esac -+ ;; -+ -+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) -+ # PIC is the default for these OSes. -+ ;; -+ -+ mingw* | cygwin* | pw32* | os2* | cegcc*) -+ # This hack is so that the source file can tell whether it is being -+ # built for inclusion in a dll (and should export symbols for example). -+ # Although the cygwin gcc ignores -fPIC, still need this for old-style -+ # (--disable-auto-import) libraries -+ lt_prog_compiler_pic='-DDLL_EXPORT' -+ ;; -+ -+ darwin* | rhapsody*) -+ # PIC is the default on this platform -+ # Common symbols not allowed in MH_DYLIB files -+ lt_prog_compiler_pic='-fno-common' -+ ;; -+ -+ haiku*) -+ # PIC is the default for Haiku. -+ # The "-static" flag exists, but is broken. -+ lt_prog_compiler_static= -+ ;; -+ -+ hpux*) -+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit -+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag -+ # sets the default TLS model and affects inlining. -+ case $host_cpu in -+ hppa*64*) -+ # +Z the default -+ ;; -+ *) -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ esac -+ ;; -+ -+ interix[3-9]*) -+ # Interix 3.x gcc -fpic/-fPIC options generate broken code. -+ # Instead, we relocate shared libraries at runtime. -+ ;; -+ -+ msdosdjgpp*) -+ # Just because we use GCC doesn't mean we suddenly get shared libraries -+ # on systems that don't support them. -+ lt_prog_compiler_can_build_shared=no -+ enable_shared=no -+ ;; -+ -+ *nto* | *qnx*) -+ # QNX uses GNU C++, but need to define -shared option too, otherwise -+ # it will coredump. -+ lt_prog_compiler_pic='-fPIC -shared' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec; then -+ lt_prog_compiler_pic=-Kconform_pic -+ fi -+ ;; -+ -+ *) -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ esac -+ -+ case $cc_basename in -+ nvcc*) # Cuda Compiler Driver 2.2 -+ lt_prog_compiler_wl='-Xlinker ' -+ if test -n "$lt_prog_compiler_pic"; then -+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" -+ fi -+ ;; -+ esac -+ else -+ # PORTME Check for flag to pass linker flags through the system compiler. -+ case $host_os in -+ aix*) -+ lt_prog_compiler_wl='-Wl,' -+ if test "$host_cpu" = ia64; then -+ # AIX 5 now supports IA64 processor -+ lt_prog_compiler_static='-Bstatic' -+ else -+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' -+ fi -+ ;; -+ -+ mingw* | cygwin* | pw32* | os2* | cegcc*) -+ # This hack is so that the source file can tell whether it is being -+ # built for inclusion in a dll (and should export symbols for example). -+ lt_prog_compiler_pic='-DDLL_EXPORT' -+ ;; -+ -+ hpux9* | hpux10* | hpux11*) -+ lt_prog_compiler_wl='-Wl,' -+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -+ # not for PA HP-UX. -+ case $host_cpu in -+ hppa*64*|ia64*) -+ # +Z the default -+ ;; -+ *) -+ lt_prog_compiler_pic='+Z' -+ ;; -+ esac -+ # Is there a better lt_prog_compiler_static that works with the bundled CC? -+ lt_prog_compiler_static='${wl}-a ${wl}archive' -+ ;; -+ -+ irix5* | irix6* | nonstopux*) -+ lt_prog_compiler_wl='-Wl,' -+ # PIC (with -KPIC) is the default. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ case $cc_basename in -+ # old Intel for x86_64 which still supported -KPIC. -+ ecc*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ # icc used to be incompatible with GCC. -+ # ICC 10 doesn't accept -KPIC any more. -+ icc* | ifort*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ # Lahey Fortran 8.1. -+ lf95*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='--shared' -+ lt_prog_compiler_static='--static' -+ ;; -+ nagfor*) -+ # NAG Fortran compiler -+ lt_prog_compiler_wl='-Wl,-Wl,,' -+ lt_prog_compiler_pic='-PIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) -+ # Portland Group compilers (*not* the Pentium gcc compiler, -+ # which looks to be a dead project) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fpic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ ccc*) -+ lt_prog_compiler_wl='-Wl,' -+ # All Alpha code is PIC. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ xl* | bgxl* | bgf* | mpixl*) -+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-qpic' -+ lt_prog_compiler_static='-qstaticlink' -+ ;; -+ *) -+ case `$CC -V 2>&1 | sed 5q` in -+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) -+ # Sun Fortran 8.3 passes all unrecognized flags to the linker -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='' -+ ;; -+ *Sun\ F* | *Sun*Fortran*) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='-Qoption ld ' -+ ;; -+ *Sun\ C*) -+ # Sun C 5.9 -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='-Wl,' -+ ;; -+ *Intel*\ [CF]*Compiler*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ *Portland\ Group*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fpic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ esac -+ ;; -+ esac -+ ;; -+ -+ newsos6) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ *nto* | *qnx*) -+ # QNX uses GNU C++, but need to define -shared option too, otherwise -+ # it will coredump. -+ lt_prog_compiler_pic='-fPIC -shared' -+ ;; -+ -+ osf3* | osf4* | osf5*) -+ lt_prog_compiler_wl='-Wl,' -+ # All OSF/1 code is PIC. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ rdos*) -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ solaris*) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ case $cc_basename in -+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) -+ lt_prog_compiler_wl='-Qoption ld ';; -+ *) -+ lt_prog_compiler_wl='-Wl,';; -+ esac -+ ;; -+ -+ sunos4*) -+ lt_prog_compiler_wl='-Qoption ld ' -+ lt_prog_compiler_pic='-PIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ sysv4 | sysv4.2uw2* | sysv4.3*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec ;then -+ lt_prog_compiler_pic='-Kconform_pic' -+ lt_prog_compiler_static='-Bstatic' -+ fi -+ ;; -+ -+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ unicos*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_can_build_shared=no -+ ;; -+ -+ uts4*) -+ lt_prog_compiler_pic='-pic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ *) -+ lt_prog_compiler_can_build_shared=no -+ ;; -+ esac -+ fi -+ -+case $host_os in -+ # For platforms which do not support PIC, -DPIC is meaningless: -+ *djgpp*) -+ lt_prog_compiler_pic= -+ ;; -+ *) -+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" -+ ;; -+esac -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -+$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -+if ${lt_cv_prog_compiler_pic+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 -+$as_echo "$lt_cv_prog_compiler_pic" >&6; } -+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic -+ -+# -+# Check to make sure the PIC flag actually works. -+# -+if test -n "$lt_prog_compiler_pic"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -+if ${lt_cv_prog_compiler_pic_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_pic_works=no -+ ac_outfile=conftest.$ac_objext -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ # The option is referenced via a variable to avoid confusing sed. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>conftest.err) -+ ac_status=$? -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s "$ac_outfile"; then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings other than the usual output. -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_pic_works=yes -+ fi -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } -+ -+if test x"$lt_cv_prog_compiler_pic_works" = xyes; then -+ case $lt_prog_compiler_pic in -+ "" | " "*) ;; -+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; -+ esac -+else -+ lt_prog_compiler_pic= -+ lt_prog_compiler_can_build_shared=no -+fi -+ -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# -+# Check to make sure the static flag actually works. -+# -+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -+if ${lt_cv_prog_compiler_static_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_static_works=no -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" -+ echo "$lt_simple_link_test_code" > conftest.$ac_ext -+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then -+ # The linker can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ if test -s conftest.err; then -+ # Append any errors to the config.log. -+ cat conftest.err 1>&5 -+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_static_works=yes -+ fi -+ else -+ lt_cv_prog_compiler_static_works=yes -+ fi -+ fi -+ $RM -r conftest* -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -+$as_echo "$lt_cv_prog_compiler_static_works" >&6; } -+ -+if test x"$lt_cv_prog_compiler_static_works" = xyes; then -+ : -+else -+ lt_prog_compiler_static= -+fi -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if ${lt_cv_prog_compiler_c_o+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_c_o=no -+ $RM -r conftest 2>/dev/null -+ mkdir conftest -+ cd conftest -+ mkdir out -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ lt_compiler_flag="-o out/conftest2.$ac_objext" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>out/conftest.err) -+ ac_status=$? -+ cat out/conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s out/conftest2.$ac_objext -+ then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp -+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 -+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_c_o=yes -+ fi -+ fi -+ chmod u+w . 2>&5 -+ $RM conftest* -+ # SGI C++ compiler will create directory out/ii_files/ for -+ # template instantiation -+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files -+ $RM out/* && rmdir out -+ cd .. -+ $RM -r conftest -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if ${lt_cv_prog_compiler_c_o+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_c_o=no -+ $RM -r conftest 2>/dev/null -+ mkdir conftest -+ cd conftest -+ mkdir out -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ lt_compiler_flag="-o out/conftest2.$ac_objext" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>out/conftest.err) -+ ac_status=$? -+ cat out/conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s out/conftest2.$ac_objext -+ then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp -+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 -+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_c_o=yes -+ fi -+ fi -+ chmod u+w . 2>&5 -+ $RM conftest* -+ # SGI C++ compiler will create directory out/ii_files/ for -+ # template instantiation -+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files -+ $RM out/* && rmdir out -+ cd .. -+ $RM -r conftest -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } -+ -+ -+ -+ -+hard_links="nottested" -+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then -+ # do not overwrite the value of need_locks provided by the user -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -+$as_echo_n "checking if we can lock with hard links... " >&6; } -+ hard_links=yes -+ $RM conftest* -+ ln conftest.a conftest.b 2>/dev/null && hard_links=no -+ touch conftest.a -+ ln conftest.a conftest.b 2>&5 || hard_links=no -+ ln conftest.a conftest.b 2>/dev/null && hard_links=no -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -+$as_echo "$hard_links" >&6; } -+ if test "$hard_links" = no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} -+ need_locks=warn -+ fi -+else -+ need_locks=no -+fi -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } -+ -+ runpath_var= -+ allow_undefined_flag= -+ always_export_symbols=no -+ archive_cmds= -+ archive_expsym_cmds= -+ compiler_needs_object=no -+ enable_shared_with_static_runtimes=no -+ export_dynamic_flag_spec= -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -+ hardcode_automatic=no -+ hardcode_direct=no -+ hardcode_direct_absolute=no -+ hardcode_libdir_flag_spec= -+ hardcode_libdir_separator= -+ hardcode_minus_L=no -+ hardcode_shlibpath_var=unsupported -+ inherit_rpath=no -+ link_all_deplibs=unknown -+ module_cmds= -+ module_expsym_cmds= -+ old_archive_from_new_cmds= -+ old_archive_from_expsyms_cmds= -+ thread_safe_flag_spec= -+ whole_archive_flag_spec= -+ # include_expsyms should be a list of space-separated symbols to be *always* -+ # included in the symbol list -+ include_expsyms= -+ # exclude_expsyms can be an extended regexp of symbols to exclude -+ # it will be wrapped by ` (' and `)$', so one must not match beginning or -+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -+ # as well as any symbol that contains `d'. -+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -+ # platforms (ab)use it in PIC code, but their linkers get confused if -+ # the symbol is explicitly referenced. Since portable code cannot -+ # rely on this symbol name, it's probably fine to never include it in -+ # preloaded symbol tables. -+ # Exclude shared library initialization/finalization symbols. -+ extract_expsyms_cmds= -+ -+ case $host_os in -+ cygwin* | mingw* | pw32* | cegcc*) -+ # FIXME: the MSVC++ port hasn't been tested in a loooong time -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ if test "$GCC" != yes; then -+ with_gnu_ld=no -+ fi -+ ;; -+ interix*) -+ # we just hope/assume this is gcc and not c89 (= MSVC++) -+ with_gnu_ld=yes -+ ;; -+ openbsd*) -+ with_gnu_ld=no -+ ;; -+ esac -+ -+ ld_shlibs=yes -+ -+ # On some targets, GNU ld is compatible enough with the native linker -+ # that we're better off using the native interface for both. -+ lt_use_gnu_ld_interface=no -+ if test "$with_gnu_ld" = yes; then -+ case $host_os in -+ aix*) -+ # The AIX port of GNU ld has always aspired to compatibility -+ # with the native linker. However, as the warning in the GNU ld -+ # block says, versions before 2.19.5* couldn't really create working -+ # shared libraries, regardless of the interface used. -+ case `$LD -v 2>&1` in -+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;; -+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; -+ *\ \(GNU\ Binutils\)\ [3-9]*) ;; -+ *) -+ lt_use_gnu_ld_interface=yes -+ ;; -+ esac -+ ;; -+ *) -+ lt_use_gnu_ld_interface=yes -+ ;; -+ esac -+ fi -+ -+ if test "$lt_use_gnu_ld_interface" = yes; then -+ # If archive_cmds runs LD, not CC, wlarc should be empty -+ wlarc='${wl}' -+ -+ # Set some defaults for GNU ld with shared library support. These -+ # are reset later if shared libraries are not supported. Putting them -+ # here allows them to be overridden if necessary. -+ runpath_var=LD_RUN_PATH -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ export_dynamic_flag_spec='${wl}--export-dynamic' -+ # ancient GNU ld didn't support --whole-archive et. al. -+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then -+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' -+ else -+ whole_archive_flag_spec= -+ fi -+ supports_anon_versioning=no -+ case `$LD -v 2>&1` in -+ *GNU\ gold*) supports_anon_versioning=yes ;; -+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 -+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... -+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... -+ *\ 2.11.*) ;; # other 2.11 versions -+ *) supports_anon_versioning=yes ;; -+ esac -+ -+ # See if GNU ld supports shared libraries. -+ case $host_os in -+ aix[3-9]*) -+ # On AIX/PPC, the GNU linker is very broken -+ if test "$host_cpu" != ia64; then -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the GNU linker, at least up to release 2.19, is reported -+*** to be unable to reliably create shared libraries on AIX. -+*** Therefore, libtool is disabling shared libraries support. If you -+*** really care for shared libraries, you may want to install binutils -+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. -+*** You will then need to restart the configuration process. -+ -+_LT_EOF -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='' -+ ;; -+ m68k) -+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ -+ beos*) -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ allow_undefined_flag=unsupported -+ # Joseph Beckenbach says some releases of gcc -+ # support --undefined. This deserves some investigation. FIXME -+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ cygwin* | mingw* | pw32* | cegcc*) -+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, -+ # as there is no search path for DLLs. -+ hardcode_libdir_flag_spec='-L$libdir' -+ export_dynamic_flag_spec='${wl}--export-all-symbols' -+ allow_undefined_flag=unsupported -+ always_export_symbols=no -+ enable_shared_with_static_runtimes=yes -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' -+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' -+ -+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -+ # If the export-symbols file already is a .def file (1st line -+ # is EXPORTS), use it as is; otherwise, prepend... -+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -+ cp $export_symbols $output_objdir/$soname.def; -+ else -+ echo EXPORTS > $output_objdir/$soname.def; -+ cat $export_symbols >> $output_objdir/$soname.def; -+ fi~ -+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ haiku*) -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ link_all_deplibs=yes -+ ;; -+ -+ interix[3-9]*) -+ hardcode_direct=no -+ hardcode_shlibpath_var=no -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ export_dynamic_flag_spec='${wl}-E' -+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. -+ # Instead, shared libraries are loaded at an image base (0x10000000 by -+ # default) and relocated if they conflict, which is a slow very memory -+ # consuming and fragmenting process. To avoid this, we pick a random, -+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link -+ # time. Moving up from 0x10000000 also allows more sbrk(2) space. -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -+ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -+ ;; -+ -+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) -+ tmp_diet=no -+ if test "$host_os" = linux-dietlibc; then -+ case $cc_basename in -+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) -+ esac -+ fi -+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ -+ && test "$tmp_diet" = no -+ then -+ tmp_addflag=' $pic_flag' -+ tmp_sharedflag='-shared' -+ case $cc_basename,$host_cpu in -+ pgcc*) # Portland Group C compiler -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ tmp_addflag=' $pic_flag' -+ ;; -+ pgf77* | pgf90* | pgf95* | pgfortran*) -+ # Portland Group f77 and f90 compilers -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ tmp_addflag=' $pic_flag -Mnomain' ;; -+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 -+ tmp_addflag=' -i_dynamic' ;; -+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 -+ tmp_addflag=' -i_dynamic -nofor_main' ;; -+ ifc* | ifort*) # Intel Fortran compiler -+ tmp_addflag=' -nofor_main' ;; -+ lf95*) # Lahey Fortran 8.1 -+ whole_archive_flag_spec= -+ tmp_sharedflag='--shared' ;; -+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) -+ tmp_sharedflag='-qmkshrobj' -+ tmp_addflag= ;; -+ nvcc*) # Cuda Compiler Driver 2.2 -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ compiler_needs_object=yes -+ ;; -+ esac -+ case `$CC -V 2>&1 | sed 5q` in -+ *Sun\ C*) # Sun C 5.9 -+ whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ compiler_needs_object=yes -+ tmp_sharedflag='-G' ;; -+ *Sun\ F*) # Sun Fortran 8.3 -+ tmp_sharedflag='-G' ;; -+ esac -+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ -+ if test "x$supports_anon_versioning" = xyes; then -+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ -+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -+ echo "local: *; };" >> $output_objdir/$libname.ver~ -+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -+ fi -+ -+ case $cc_basename in -+ xlf* | bgf* | bgxlf* | mpixlf*) -+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself -+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' -+ if test "x$supports_anon_versioning" = xyes; then -+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ -+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -+ echo "local: *; };" >> $output_objdir/$libname.ver~ -+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' -+ fi -+ ;; -+ esac -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' -+ wlarc= -+ else -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ fi -+ ;; -+ -+ solaris*) -+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: The releases 2.8.* of the GNU linker cannot reliably -+*** create shared libraries on Solaris systems. Therefore, libtool -+*** is disabling shared libraries support. We urge you to upgrade GNU -+*** binutils to release 2.9.1 or newer. Another option is to modify -+*** your PATH or compiler configuration so that the native linker is -+*** used, and then restart. -+ -+_LT_EOF -+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) -+ case `$LD -v 2>&1` in -+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -+*** reliably create shared libraries on SCO systems. Therefore, libtool -+*** is disabling shared libraries support. We urge you to upgrade GNU -+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -+*** your PATH or compiler configuration so that the native linker is -+*** used, and then restart. -+ -+_LT_EOF -+ ;; -+ *) -+ # For security reasons, it is highly recommended that you always -+ # use absolute paths for naming shared libraries, and exclude the -+ # DT_RUNPATH tag from executables and libraries. But doing so -+ # requires that you compile everything twice, which is a pain. -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ ;; -+ -+ sunos4*) -+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ wlarc= -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *) -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ -+ if test "$ld_shlibs" = no; then -+ runpath_var= -+ hardcode_libdir_flag_spec= -+ export_dynamic_flag_spec= -+ whole_archive_flag_spec= -+ fi -+ else -+ # PORTME fill in a description of your system's linker (not GNU ld) -+ case $host_os in -+ aix3*) -+ allow_undefined_flag=unsupported -+ always_export_symbols=yes -+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' -+ # Note: this linker hardcodes the directories in LIBPATH if there -+ # are no directories specified by -L. -+ hardcode_minus_L=yes -+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then -+ # Neither direct hardcoding nor static linking is supported with a -+ # broken collect2. -+ hardcode_direct=unsupported -+ fi -+ ;; -+ -+ aix[4-9]*) -+ if test "$host_cpu" = ia64; then -+ # On IA64, the linker does run time linking by default, so we don't -+ # have to do anything special. -+ aix_use_runtimelinking=no -+ exp_sym_flag='-Bexport' -+ no_entry_flag="" -+ else -+ # If we're using GNU nm, then we don't want the "-C" option. -+ # -C means demangle to AIX nm, but means don't demangle with GNU nm -+ # Also, AIX nm treats weak defined symbols like other global -+ # defined symbols, whereas GNU nm marks them as "W". -+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then -+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' -+ else -+ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' -+ fi -+ aix_use_runtimelinking=no -+ -+ # Test if we are trying to use run time linking or normal -+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we -+ # need to do runtime linking. -+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) -+ for ld_flag in $LDFLAGS; do -+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then -+ aix_use_runtimelinking=yes -+ break -+ fi -+ done -+ ;; -+ esac -+ -+ exp_sym_flag='-bexport' -+ no_entry_flag='-bnoentry' -+ fi -+ -+ # When large executables or shared objects are built, AIX ld can -+ # have problems creating the table of contents. If linking a library -+ # or program results in "error TOC overflow" add -mminimal-toc to -+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not -+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -+ -+ archive_cmds='' -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ hardcode_libdir_separator=':' -+ link_all_deplibs=yes -+ file_list_spec='${wl}-f,' -+ -+ if test "$GCC" = yes; then -+ case $host_os in aix4.[012]|aix4.[012].*) -+ # We only want to do this on AIX 4.2 and lower, the check -+ # below for broken collect2 doesn't work under 4.3+ -+ collect2name=`${CC} -print-prog-name=collect2` -+ if test -f "$collect2name" && -+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null -+ then -+ # We have reworked collect2 -+ : -+ else -+ # We have old collect2 -+ hardcode_direct=unsupported -+ # It fails to find uninstalled libraries when the uninstalled -+ # path is not listed in the libpath. Setting hardcode_minus_L -+ # to unsupported forces relinking -+ hardcode_minus_L=yes -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_libdir_separator= -+ fi -+ ;; -+ esac -+ shared_flag='-shared' -+ if test "$aix_use_runtimelinking" = yes; then -+ shared_flag="$shared_flag "'${wl}-G' -+ fi -+ else -+ # not using gcc -+ if test "$host_cpu" = ia64; then -+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release -+ # chokes on -Wl,-G. The following line is correct: -+ shared_flag='-G' -+ else -+ if test "$aix_use_runtimelinking" = yes; then -+ shared_flag='${wl}-G' -+ else -+ shared_flag='${wl}-bM:SRE' -+ fi -+ fi -+ fi -+ -+ export_dynamic_flag_spec='${wl}-bexpall' -+ # It seems that -bexpall does not export symbols beginning with -+ # underscore (_), so it is better to generate a list of symbols to export. -+ always_export_symbols=yes -+ if test "$aix_use_runtimelinking" = yes; then -+ # Warning - without using the other runtime loading flags (-brtl), -+ # -berok will link without error, but may produce a broken library. -+ allow_undefined_flag='-berok' -+ # Determine the default libpath from the value encoded in an -+ # empty executable. -+ if test "${lt_cv_aix_libpath+set}" = set; then -+ aix_libpath=$lt_cv_aix_libpath -+else -+ if ${lt_cv_aix_libpath_+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ -+ lt_aix_libpath_sed=' -+ /Import File Strings/,/^$/ { -+ /^0/ { -+ s/^0 *\([^ ]*\) *$/\1/ -+ p -+ } -+ }' -+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ # Check for a 64-bit object if we didn't find anything. -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_="/usr/lib:/lib" -+ fi -+ -+fi -+ -+ aix_libpath=$lt_cv_aix_libpath_ -+fi -+ -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" -+ else -+ if test "$host_cpu" = ia64; then -+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' -+ allow_undefined_flag="-z nodefs" -+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" -+ else -+ # Determine the default libpath from the value encoded in an -+ # empty executable. -+ if test "${lt_cv_aix_libpath+set}" = set; then -+ aix_libpath=$lt_cv_aix_libpath -+else -+ if ${lt_cv_aix_libpath_+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ -+ lt_aix_libpath_sed=' -+ /Import File Strings/,/^$/ { -+ /^0/ { -+ s/^0 *\([^ ]*\) *$/\1/ -+ p -+ } -+ }' -+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ # Check for a 64-bit object if we didn't find anything. -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_="/usr/lib:/lib" -+ fi -+ -+fi -+ -+ aix_libpath=$lt_cv_aix_libpath_ -+fi -+ -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ # Warning - without using the other run time loading flags, -+ # -berok will link without error, but may produce a broken library. -+ no_undefined_flag=' ${wl}-bernotok' -+ allow_undefined_flag=' ${wl}-berok' -+ if test "$with_gnu_ld" = yes; then -+ # We only use this code for GNU lds that support --whole-archive. -+ whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -+ else -+ # Exported symbols can be pulled into shared objects from archives -+ whole_archive_flag_spec='$convenience' -+ fi -+ archive_cmds_need_lc=yes -+ # This is similar to how AIX traditionally builds its shared libraries. -+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' -+ fi -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='' -+ ;; -+ m68k) -+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ -+ bsdi[45]*) -+ export_dynamic_flag_spec=-rdynamic -+ ;; -+ -+ cygwin* | mingw* | pw32* | cegcc*) -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ # hardcode_libdir_flag_spec is actually meaningless, as there is -+ # no search path for DLLs. -+ case $cc_basename in -+ cl*) -+ # Native MSVC -+ hardcode_libdir_flag_spec=' ' -+ allow_undefined_flag=unsupported -+ always_export_symbols=yes -+ file_list_spec='@' -+ # Tell ltmain to make .lib files, not .a files. -+ libext=lib -+ # Tell ltmain to make .dll files, not .so files. -+ shrext_cmds=".dll" -+ # FIXME: Setting linknames here is a bad hack. -+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' -+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; -+ else -+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; -+ fi~ -+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ -+ linknames=' -+ # The linker will not automatically build a static lib if we build a DLL. -+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true' -+ enable_shared_with_static_runtimes=yes -+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' -+ # Don't use ranlib -+ old_postinstall_cmds='chmod 644 $oldlib' -+ postlink_cmds='lt_outputfile="@OUTPUT@"~ -+ lt_tool_outputfile="@TOOL_OUTPUT@"~ -+ case $lt_outputfile in -+ *.exe|*.EXE) ;; -+ *) -+ lt_outputfile="$lt_outputfile.exe" -+ lt_tool_outputfile="$lt_tool_outputfile.exe" -+ ;; -+ esac~ -+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then -+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; -+ $RM "$lt_outputfile.manifest"; -+ fi' -+ ;; -+ *) -+ # Assume MSVC wrapper -+ hardcode_libdir_flag_spec=' ' -+ allow_undefined_flag=unsupported -+ # Tell ltmain to make .lib files, not .a files. -+ libext=lib -+ # Tell ltmain to make .dll files, not .so files. -+ shrext_cmds=".dll" -+ # FIXME: Setting linknames here is a bad hack. -+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' -+ # The linker will automatically build a .lib file if we build a DLL. -+ old_archive_from_new_cmds='true' -+ # FIXME: Should let the user specify the lib program. -+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' -+ enable_shared_with_static_runtimes=yes -+ ;; -+ esac -+ ;; -+ -+ darwin* | rhapsody*) -+ -+ -+ archive_cmds_need_lc=no -+ hardcode_direct=no -+ hardcode_automatic=yes -+ hardcode_shlibpath_var=unsupported -+ if test "$lt_cv_ld_force_load" = "yes"; then -+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' -+ -+ else -+ whole_archive_flag_spec='' -+ fi -+ link_all_deplibs=yes -+ allow_undefined_flag="$_lt_dar_allow_undefined" -+ case $cc_basename in -+ ifort*) _lt_dar_can_shared=yes ;; -+ *) _lt_dar_can_shared=$GCC ;; -+ esac -+ if test "$_lt_dar_can_shared" = "yes"; then -+ output_verbose_link_cmd=func_echo_all -+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" -+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" -+ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" -+ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" -+ -+ else -+ ld_shlibs=no -+ fi -+ -+ ;; -+ -+ dgux*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor -+ # support. Future versions do this automatically, but an explicit c++rt0.o -+ # does not break anything, and helps significantly (at the cost of a little -+ # extra space). -+ freebsd2.2*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # Unfortunately, older versions of FreeBSD 2 do not have this feature. -+ freebsd2.*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. -+ freebsd* | dragonfly*) -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ hpux9*) -+ if test "$GCC" = yes; then -+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -+ else -+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -+ fi -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ export_dynamic_flag_spec='${wl}-E' -+ ;; -+ -+ hpux10*) -+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -+ fi -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ export_dynamic_flag_spec='${wl}-E' -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ fi -+ ;; -+ -+ hpux11*) -+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then -+ case $host_cpu in -+ hppa*64*) -+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ ia64*) -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ *) -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ esac -+ else -+ case $host_cpu in -+ hppa*64*) -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ ia64*) -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ *) -+ -+ # Older versions of the 11.00 compiler do not understand -b yet -+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 -+$as_echo_n "checking if $CC understands -b... " >&6; } -+if ${lt_cv_prog_compiler__b+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler__b=no -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS -b" -+ echo "$lt_simple_link_test_code" > conftest.$ac_ext -+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then -+ # The linker can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ if test -s conftest.err; then -+ # Append any errors to the config.log. -+ cat conftest.err 1>&5 -+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler__b=yes -+ fi -+ else -+ lt_cv_prog_compiler__b=yes -+ fi -+ fi -+ $RM -r conftest* -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 -+$as_echo "$lt_cv_prog_compiler__b" >&6; } -+ -+if test x"$lt_cv_prog_compiler__b" = xyes; then -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+else -+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -+fi -+ -+ ;; -+ esac -+ fi -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ -+ case $host_cpu in -+ hppa*64*|ia64*) -+ hardcode_direct=no -+ hardcode_shlibpath_var=no -+ ;; -+ *) -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ export_dynamic_flag_spec='${wl}-E' -+ -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ ;; -+ esac -+ fi -+ ;; -+ -+ irix5* | irix6* | nonstopux*) -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ # Try to use the -exported_symbol ld option, if it does not -+ # work, assume that -exports_file does not work either and -+ # implicitly export all symbols. -+ # This should be the same for all languages, so no per-tag cache variable. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 -+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } -+if ${lt_cv_irix_exported_symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+int foo (void) { return 0; } -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_irix_exported_symbol=yes -+else -+ lt_cv_irix_exported_symbol=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS="$save_LDFLAGS" -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 -+$as_echo "$lt_cv_irix_exported_symbol" >&6; } -+ if test "$lt_cv_irix_exported_symbol" = yes; then -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' -+ fi -+ else -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ inherit_rpath=yes -+ link_all_deplibs=yes -+ ;; -+ -+ netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out -+ else -+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF -+ fi -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ newsos6) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *nto* | *qnx*) -+ ;; -+ -+ openbsd*) -+ if test -f /usr/libexec/ld.so; then -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ hardcode_direct_absolute=yes -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ export_dynamic_flag_spec='${wl}-E' -+ else -+ case $host_os in -+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-R$libdir' -+ ;; -+ *) -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ ;; -+ esac -+ fi -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ os2*) -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ allow_undefined_flag=unsupported -+ archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' -+ old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' -+ ;; -+ -+ osf3*) -+ if test "$GCC" = yes; then -+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ else -+ allow_undefined_flag=' -expect_unresolved \*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ ;; -+ -+ osf4* | osf5*) # as osf3* with the addition of -msym flag -+ if test "$GCC" = yes; then -+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ else -+ allow_undefined_flag=' -expect_unresolved \*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ -+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' -+ -+ # Both c and cxx compiler support -rpath directly -+ hardcode_libdir_flag_spec='-rpath $libdir' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_separator=: -+ ;; -+ -+ solaris*) -+ no_undefined_flag=' -z defs' -+ if test "$GCC" = yes; then -+ wlarc='${wl}' -+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' -+ else -+ case `$CC -V 2>&1` in -+ *"Compilers 5.0"*) -+ wlarc='' -+ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' -+ ;; -+ *) -+ wlarc='${wl}' -+ archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' -+ ;; -+ esac -+ fi -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_shlibpath_var=no -+ case $host_os in -+ solaris2.[0-5] | solaris2.[0-5].*) ;; -+ *) -+ # The compiler driver will combine and reorder linker options, -+ # but understands `-z linker_flag'. GCC discards it without `$wl', -+ # but is careful enough not to reorder. -+ # Supported since Solaris 2.6 (maybe 2.5.1?) -+ if test "$GCC" = yes; then -+ whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' -+ else -+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract' -+ fi -+ ;; -+ esac -+ link_all_deplibs=yes -+ ;; -+ -+ sunos4*) -+ if test "x$host_vendor" = xsequent; then -+ # Use $CC to link under sequent, because it throws in some extra .o -+ # files that make .init and .fini sections work. -+ archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' -+ fi -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ sysv4) -+ case $host_vendor in -+ sni) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes # is this really true??? -+ ;; -+ siemens) -+ ## LD is ld it makes a PLAMLIB -+ ## CC just makes a GrossModule. -+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' -+ reload_cmds='$CC -r -o $output$reload_objs' -+ hardcode_direct=no -+ ;; -+ motorola) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie -+ ;; -+ esac -+ runpath_var='LD_RUN_PATH' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ sysv4.3*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_shlibpath_var=no -+ export_dynamic_flag_spec='-Bexport' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec; then -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_shlibpath_var=no -+ runpath_var=LD_RUN_PATH -+ hardcode_runpath_var=yes -+ ld_shlibs=yes -+ fi -+ ;; -+ -+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) -+ no_undefined_flag='${wl}-z,text' -+ archive_cmds_need_lc=no -+ hardcode_shlibpath_var=no -+ runpath_var='LD_RUN_PATH' -+ -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ fi -+ ;; -+ -+ sysv5* | sco3.2v5* | sco5v6*) -+ # Note: We can NOT use -z defs as we might desire, because we do not -+ # link with -lc, and that would cause any symbols used from libc to -+ # always be unresolved, which means just about no library would -+ # ever link correctly. If we're not using GNU ld we use -z text -+ # though, which does catch some bad symbols but isn't as heavy-handed -+ # as -z defs. -+ no_undefined_flag='${wl}-z,text' -+ allow_undefined_flag='${wl}-z,nodefs' -+ archive_cmds_need_lc=no -+ hardcode_shlibpath_var=no -+ hardcode_libdir_flag_spec='${wl}-R,$libdir' -+ hardcode_libdir_separator=':' -+ link_all_deplibs=yes -+ export_dynamic_flag_spec='${wl}-Bexport' -+ runpath_var='LD_RUN_PATH' -+ -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ fi -+ ;; -+ -+ uts4*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *) -+ ld_shlibs=no -+ ;; -+ esac -+ -+ if test x$host_vendor = xsni; then -+ case $host in -+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) -+ export_dynamic_flag_spec='${wl}-Blargedynsym' -+ ;; -+ esac -+ fi -+ fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -+$as_echo "$ld_shlibs" >&6; } -+test "$ld_shlibs" = no && can_build_shared=no -+ -+with_gnu_ld=$with_gnu_ld -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# -+# Do we need to explicitly link libc? -+# -+case "x$archive_cmds_need_lc" in -+x|xyes) -+ # Assume -lc should be added -+ archive_cmds_need_lc=yes -+ -+ if test "$enable_shared" = yes && test "$GCC" = yes; then -+ case $archive_cmds in -+ *'~'*) -+ # FIXME: we may have to deal with multi-command sequences. -+ ;; -+ '$CC '*) -+ # Test whether the compiler implicitly links with -lc since on some -+ # systems, -lgcc has to come before -lc. If gcc already passes -lc -+ # to ld, don't add -lc before -lgcc. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -+if ${lt_cv_archive_cmds_need_lc+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ $RM conftest* -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } 2>conftest.err; then -+ soname=conftest -+ lib=conftest -+ libobjs=conftest.$ac_objext -+ deplibs= -+ wl=$lt_prog_compiler_wl -+ pic_flag=$lt_prog_compiler_pic -+ compiler_flags=-v -+ linker_flags=-v -+ verstring= -+ output_objdir=. -+ libname=conftest -+ lt_save_allow_undefined_flag=$allow_undefined_flag -+ allow_undefined_flag= -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 -+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ then -+ lt_cv_archive_cmds_need_lc=no -+ else -+ lt_cv_archive_cmds_need_lc=yes -+ fi -+ allow_undefined_flag=$lt_save_allow_undefined_flag -+ else -+ cat conftest.err 1>&5 -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 -+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } -+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc -+ ;; -+ esac -+ fi -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -+$as_echo_n "checking dynamic linker characteristics... " >&6; } -+ -+if test "$GCC" = yes; then -+ case $host_os in -+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; -+ *) lt_awk_arg="/^libraries:/" ;; -+ esac -+ case $host_os in -+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; -+ *) lt_sed_strip_eq="s,=/,/,g" ;; -+ esac -+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` -+ case $lt_search_path_spec in -+ *\;*) -+ # if the path contains ";" then we assume it to be the separator -+ # otherwise default to the standard path separator (i.e. ":") - it is -+ # assumed that no part of a normal pathname contains ";" but that should -+ # okay in the real world where ";" in dirpaths is itself problematic. -+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` -+ ;; -+ *) -+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` -+ ;; -+ esac -+ # Ok, now we have the path, separated by spaces, we can step through it -+ # and add multilib dir if necessary. -+ lt_tmp_lt_search_path_spec= -+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` -+ for lt_sys_path in $lt_search_path_spec; do -+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then -+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -+ else -+ test -d "$lt_sys_path" && \ -+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" -+ fi -+ done -+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' -+BEGIN {RS=" "; FS="/|\n";} { -+ lt_foo=""; -+ lt_count=0; -+ for (lt_i = NF; lt_i > 0; lt_i--) { -+ if ($lt_i != "" && $lt_i != ".") { -+ if ($lt_i == "..") { -+ lt_count++; -+ } else { -+ if (lt_count == 0) { -+ lt_foo="/" $lt_i lt_foo; -+ } else { -+ lt_count--; -+ } -+ } -+ } -+ } -+ if (lt_foo != "") { lt_freq[lt_foo]++; } -+ if (lt_freq[lt_foo] == 1) { print lt_foo; } -+}'` -+ # AWK program above erroneously prepends '/' to C:/dos/paths -+ # for these hosts. -+ case $host_os in -+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ -+ $SED 's,/\([A-Za-z]:\),\1,g'` ;; -+ esac -+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` -+else -+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -+fi -+library_names_spec= -+libname_spec='lib$name' -+soname_spec= -+shrext_cmds=".so" -+postinstall_cmds= -+postuninstall_cmds= -+finish_cmds= -+finish_eval= -+shlibpath_var= -+shlibpath_overrides_runpath=unknown -+version_type=none -+dynamic_linker="$host_os ld.so" -+sys_lib_dlsearch_path_spec="/lib /usr/lib" -+need_lib_prefix=unknown -+hardcode_into_libs=no -+ -+# when you set need_version to no, make sure it does not cause -set_version -+# flags to be left without arguments -+need_version=unknown -+ -+case $host_os in -+aix3*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' -+ shlibpath_var=LIBPATH -+ -+ # AIX 3 has no versioning support, so we append a major version to the name. -+ soname_spec='${libname}${release}${shared_ext}$major' -+ ;; -+ -+aix[4-9]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ hardcode_into_libs=yes -+ if test "$host_cpu" = ia64; then -+ # AIX 5 supports IA64 -+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ else -+ # With GCC up to 2.95.x, collect2 would create an import file -+ # for dependence libraries. The import file would start with -+ # the line `#! .'. This would cause the generated library to -+ # depend on `.', always an invalid library. This was fixed in -+ # development snapshots of GCC prior to 3.0. -+ case $host_os in -+ aix4 | aix4.[01] | aix4.[01].*) -+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' -+ echo ' yes ' -+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then -+ : -+ else -+ can_build_shared=no -+ fi -+ ;; -+ esac -+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct -+ # soname into executable. Probably we can add versioning support to -+ # collect2, so additional links can be useful in future. -+ if test "$aix_use_runtimelinking" = yes; then -+ # If using run time linking (on AIX 4.2 or later) use lib.so -+ # instead of lib.a to let people know that these are not -+ # typical AIX shared libraries. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ else -+ # We preserve .a as extension for shared libraries through AIX4.2 -+ # and later when we are not doing run time linking. -+ library_names_spec='${libname}${release}.a $libname.a' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ fi -+ shlibpath_var=LIBPATH -+ fi -+ ;; -+ -+amigaos*) -+ case $host_cpu in -+ powerpc) -+ # Since July 2007 AmigaOS4 officially supports .so libraries. -+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ ;; -+ m68k) -+ library_names_spec='$libname.ixlibrary $libname.a' -+ # Create ${libname}_ixlibrary.a entries in /sys/libs. -+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' -+ ;; -+ esac -+ ;; -+ -+beos*) -+ library_names_spec='${libname}${shared_ext}' -+ dynamic_linker="$host_os ld.so" -+ shlibpath_var=LIBRARY_PATH -+ ;; -+ -+bsdi[45]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" -+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" -+ # the default ld.so.conf also contains /usr/contrib/lib and -+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow -+ # libtool to hard-code these into programs -+ ;; -+ -+cygwin* | mingw* | pw32* | cegcc*) -+ version_type=windows -+ shrext_cmds=".dll" -+ need_version=no -+ need_lib_prefix=no -+ -+ case $GCC,$cc_basename in -+ yes,*) -+ # gcc -+ library_names_spec='$libname.dll.a' -+ # DLL is installed to $(libdir)/../bin by postinstall_cmds -+ postinstall_cmds='base_file=`basename \${file}`~ -+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ -+ dldir=$destdir/`dirname \$dlpath`~ -+ test -d \$dldir || mkdir -p \$dldir~ -+ $install_prog $dir/$dlname \$dldir/$dlname~ -+ chmod a+x \$dldir/$dlname~ -+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then -+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; -+ fi' -+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ -+ dlpath=$dir/\$dldll~ -+ $RM \$dlpath' -+ shlibpath_overrides_runpath=yes -+ -+ case $host_os in -+ cygwin*) -+ # Cygwin DLLs use 'cyg' prefix rather than 'lib' -+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" -+ ;; -+ mingw* | cegcc*) -+ # MinGW DLLs use traditional 'lib' prefix -+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ ;; -+ pw32*) -+ # pw32 DLLs use 'pw' prefix rather than 'lib' -+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ ;; -+ esac -+ dynamic_linker='Win32 ld.exe' -+ ;; -+ -+ *,cl*) -+ # Native MSVC -+ libname_spec='$name' -+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ library_names_spec='${libname}.dll.lib' -+ -+ case $build_os in -+ mingw*) -+ sys_lib_search_path_spec= -+ lt_save_ifs=$IFS -+ IFS=';' -+ for lt_path in $LIB -+ do -+ IFS=$lt_save_ifs -+ # Let DOS variable expansion print the short 8.3 style file name. -+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` -+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" -+ done -+ IFS=$lt_save_ifs -+ # Convert to MSYS style. -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` -+ ;; -+ cygwin*) -+ # Convert to unix form, then to dos form, then back to unix form -+ # but this time dos style (no spaces!) so that the unix form looks -+ # like /cygdrive/c/PROGRA~1:/cygdr... -+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` -+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` -+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -+ ;; -+ *) -+ sys_lib_search_path_spec="$LIB" -+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then -+ # It is most probably a Windows format PATH. -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` -+ else -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -+ fi -+ # FIXME: find the short name or the path components, as spaces are -+ # common. (e.g. "Program Files" -> "PROGRA~1") -+ ;; -+ esac -+ -+ # DLL is installed to $(libdir)/../bin by postinstall_cmds -+ postinstall_cmds='base_file=`basename \${file}`~ -+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ -+ dldir=$destdir/`dirname \$dlpath`~ -+ test -d \$dldir || mkdir -p \$dldir~ -+ $install_prog $dir/$dlname \$dldir/$dlname' -+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ -+ dlpath=$dir/\$dldll~ -+ $RM \$dlpath' -+ shlibpath_overrides_runpath=yes -+ dynamic_linker='Win32 link.exe' -+ ;; -+ -+ *) -+ # Assume MSVC wrapper -+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' -+ dynamic_linker='Win32 ld.exe' -+ ;; -+ esac -+ # FIXME: first we should search . and the directory the executable is in -+ shlibpath_var=PATH -+ ;; -+ -+darwin* | rhapsody*) -+ dynamic_linker="$host_os dyld" -+ version_type=darwin -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' -+ soname_spec='${libname}${release}${major}$shared_ext' -+ shlibpath_overrides_runpath=yes -+ shlibpath_var=DYLD_LIBRARY_PATH -+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -+ -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" -+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' -+ ;; -+ -+dgux*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ -+freebsd* | dragonfly*) -+ # DragonFly does not have aout. When/if they implement a new -+ # versioning mechanism, adjust this. -+ if test -x /usr/bin/objformat; then -+ objformat=`/usr/bin/objformat` -+ else -+ case $host_os in -+ freebsd[23].*) objformat=aout ;; -+ *) objformat=elf ;; -+ esac -+ fi -+ version_type=freebsd-$objformat -+ case $version_type in -+ freebsd-elf*) -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -+ need_version=no -+ need_lib_prefix=no -+ ;; -+ freebsd-*) -+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' -+ need_version=yes -+ ;; -+ esac -+ shlibpath_var=LD_LIBRARY_PATH -+ case $host_os in -+ freebsd2.*) -+ shlibpath_overrides_runpath=yes -+ ;; -+ freebsd3.[01]* | freebsdelf3.[01]*) -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ -+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ *) # from 4.6 on, and DragonFly -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ esac -+ ;; -+ -+gnu*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+haiku*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ dynamic_linker="$host_os runtime_loader" -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' -+ hardcode_into_libs=yes -+ ;; -+ -+hpux9* | hpux10* | hpux11*) -+ # Give a soname corresponding to the major version so that dld.sl refuses to -+ # link against other versions. -+ version_type=sunos -+ need_lib_prefix=no -+ need_version=no -+ case $host_cpu in -+ ia64*) -+ shrext_cmds='.so' -+ hardcode_into_libs=yes -+ dynamic_linker="$host_os dld.so" -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ if test "X$HPUX_IA64_MODE" = X32; then -+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" -+ else -+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" -+ fi -+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -+ ;; -+ hppa*64*) -+ shrext_cmds='.sl' -+ hardcode_into_libs=yes -+ dynamic_linker="$host_os dld.sl" -+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH -+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" -+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -+ ;; -+ *) -+ shrext_cmds='.sl' -+ dynamic_linker="$host_os dld.sl" -+ shlibpath_var=SHLIB_PATH -+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ ;; -+ esac -+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ... -+ postinstall_cmds='chmod 555 $lib' -+ # or fails outright, so override atomically: -+ install_override_mode=555 -+ ;; -+ -+interix[3-9]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+irix5* | irix6* | nonstopux*) -+ case $host_os in -+ nonstopux*) version_type=nonstopux ;; -+ *) -+ if test "$lt_cv_prog_gnu_ld" = yes; then -+ version_type=linux # correct to gnu/linux during the next big refactor -+ else -+ version_type=irix -+ fi ;; -+ esac -+ need_lib_prefix=no -+ need_version=no -+ soname_spec='${libname}${release}${shared_ext}$major' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' -+ case $host_os in -+ irix5* | nonstopux*) -+ libsuff= shlibsuff= -+ ;; -+ *) -+ case $LD in # libtool.m4 will add one of these switches to LD -+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") -+ libsuff= shlibsuff= libmagic=32-bit;; -+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") -+ libsuff=32 shlibsuff=N32 libmagic=N32;; -+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") -+ libsuff=64 shlibsuff=64 libmagic=64-bit;; -+ *) libsuff= shlibsuff= libmagic=never-match;; -+ esac -+ ;; -+ esac -+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH -+ shlibpath_overrides_runpath=no -+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" -+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" -+ hardcode_into_libs=yes -+ ;; -+ -+# No shared lib support for Linux oldld, aout, or coff. -+linux*oldld* | linux*aout* | linux*coff*) -+ dynamic_linker=no -+ ;; -+ -+# This must be glibc/ELF. -+linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ -+ # Some binutils ld are patched to set DT_RUNPATH -+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_shlibpath_overrides_runpath=no -+ save_LDFLAGS=$LDFLAGS -+ save_libdir=$libdir -+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ -+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : -+ lt_cv_shlibpath_overrides_runpath=yes -+fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS=$save_LDFLAGS -+ libdir=$save_libdir -+ -+fi -+ -+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath -+ -+ # This implies no fast_install, which is unacceptable. -+ # Some rework will be needed to allow for fast_install -+ # before this can be enabled. -+ hardcode_into_libs=yes -+ -+ # Append ld.so.conf contents to the search path -+ if test -f /etc/ld.so.conf; then -+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` -+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" -+ fi -+ -+ # We used to test for /lib/ld.so.1 and disable shared libraries on -+ # powerpc, because MkLinux only supported shared libraries with the -+ # GNU dynamic linker. Since this was broken with cross compilers, -+ # most powerpc-linux boxes support dynamic linking these days and -+ # people can always --disable-shared, the test was removed, and we -+ # assume the GNU/Linux dynamic linker is in use. -+ dynamic_linker='GNU/Linux ld.so' -+ ;; -+ -+netbsd*) -+ version_type=sunos -+ need_lib_prefix=no -+ need_version=no -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -+ dynamic_linker='NetBSD (a.out) ld.so' -+ else -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ dynamic_linker='NetBSD ld.elf_so' -+ fi -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ -+newsos6) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ ;; -+ -+*nto* | *qnx*) -+ version_type=qnx -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ dynamic_linker='ldqnx.so' -+ ;; -+ -+openbsd*) -+ version_type=sunos -+ sys_lib_dlsearch_path_spec="/usr/lib" -+ need_lib_prefix=no -+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. -+ case $host_os in -+ openbsd3.3 | openbsd3.3.*) need_version=yes ;; -+ *) need_version=no ;; -+ esac -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ case $host_os in -+ openbsd2.[89] | openbsd2.[89].*) -+ shlibpath_overrides_runpath=no -+ ;; -+ *) -+ shlibpath_overrides_runpath=yes -+ ;; -+ esac -+ else -+ shlibpath_overrides_runpath=yes -+ fi -+ ;; -+ -+os2*) -+ libname_spec='$name' -+ shrext_cmds=".dll" -+ need_lib_prefix=no -+ library_names_spec='$libname${shared_ext} $libname.a' -+ dynamic_linker='OS/2 ld.exe' -+ shlibpath_var=LIBPATH -+ ;; -+ -+osf3* | osf4* | osf5*) -+ version_type=osf -+ need_lib_prefix=no -+ need_version=no -+ soname_spec='${libname}${release}${shared_ext}$major' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" -+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" -+ ;; -+ -+rdos*) -+ dynamic_linker=no -+ ;; -+ -+solaris*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ # ldd complains unless libraries are executable -+ postinstall_cmds='chmod +x $lib' -+ ;; -+ -+sunos4*) -+ version_type=sunos -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ if test "$with_gnu_ld" = yes; then -+ need_lib_prefix=no -+ fi -+ need_version=yes -+ ;; -+ -+sysv4 | sysv4.3*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ case $host_vendor in -+ sni) -+ shlibpath_overrides_runpath=no -+ need_lib_prefix=no -+ runpath_var=LD_RUN_PATH -+ ;; -+ siemens) -+ need_lib_prefix=no -+ ;; -+ motorola) -+ need_lib_prefix=no -+ need_version=no -+ shlibpath_overrides_runpath=no -+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' -+ ;; -+ esac -+ ;; -+ -+sysv4*MP*) -+ if test -d /usr/nec ;then -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' -+ soname_spec='$libname${shared_ext}.$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ fi -+ ;; -+ -+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ version_type=freebsd-elf -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ if test "$with_gnu_ld" = yes; then -+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' -+ else -+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' -+ case $host_os in -+ sco3.2v5*) -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" -+ ;; -+ esac -+ fi -+ sys_lib_dlsearch_path_spec='/usr/lib' -+ ;; -+ -+tpf*) -+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux. -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+uts4*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ -+*) -+ dynamic_linker=no -+ ;; -+esac -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -+$as_echo "$dynamic_linker" >&6; } -+test "$dynamic_linker" = no && can_build_shared=no -+ -+variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -+if test "$GCC" = yes; then -+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -+fi -+ -+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then -+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -+fi -+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then -+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -+$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -+hardcode_action= -+if test -n "$hardcode_libdir_flag_spec" || -+ test -n "$runpath_var" || -+ test "X$hardcode_automatic" = "Xyes" ; then -+ -+ # We can hardcode non-existent directories. -+ if test "$hardcode_direct" != no && -+ # If the only mechanism to avoid hardcoding is shlibpath_var, we -+ # have to relink, otherwise we might link with an installed library -+ # when we should be linking with a yet-to-be-installed one -+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && -+ test "$hardcode_minus_L" != no; then -+ # Linking always hardcodes the temporary library directory. -+ hardcode_action=relink -+ else -+ # We can link without hardcoding, and we can hardcode nonexisting dirs. -+ hardcode_action=immediate -+ fi -+else -+ # We cannot hardcode anything, or else we can only hardcode existing -+ # directories. -+ hardcode_action=unsupported -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -+$as_echo "$hardcode_action" >&6; } -+ -+if test "$hardcode_action" = relink || -+ test "$inherit_rpath" = yes; then -+ # Fast installation is not supported -+ enable_fast_install=no -+elif test "$shlibpath_overrides_runpath" = yes || -+ test "$enable_shared" = no; then -+ # Fast installation is not necessary -+ enable_fast_install=needless -+fi -+ -+ -+ -+ -+ -+ -+ if test "x$enable_dlopen" != xyes; then -+ enable_dlopen=unknown -+ enable_dlopen_self=unknown -+ enable_dlopen_self_static=unknown -+else -+ lt_cv_dlopen=no -+ lt_cv_dlopen_libs= -+ -+ case $host_os in -+ beos*) -+ lt_cv_dlopen="load_add_on" -+ lt_cv_dlopen_libs= -+ lt_cv_dlopen_self=yes -+ ;; -+ -+ mingw* | pw32* | cegcc*) -+ lt_cv_dlopen="LoadLibrary" -+ lt_cv_dlopen_libs= -+ ;; -+ -+ cygwin*) -+ lt_cv_dlopen="dlopen" -+ lt_cv_dlopen_libs= -+ ;; -+ -+ darwin*) -+ # if libdl is installed we need to link against it -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if ${ac_cv_lib_dl_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dl_dlopen=yes -+else -+ ac_cv_lib_dl_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -+else -+ -+ lt_cv_dlopen="dyld" -+ lt_cv_dlopen_libs= -+ lt_cv_dlopen_self=yes -+ -+fi -+ -+ ;; -+ -+ *) -+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -+if test "x$ac_cv_func_shl_load" = xyes; then : -+ lt_cv_dlopen="shl_load" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -+$as_echo_n "checking for shl_load in -ldld... " >&6; } -+if ${ac_cv_lib_dld_shl_load+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char shl_load (); -+int -+main () -+{ -+return shl_load (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dld_shl_load=yes -+else -+ ac_cv_lib_dld_shl_load=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -+$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -+if test "x$ac_cv_lib_dld_shl_load" = xyes; then : -+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -+else -+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -+if test "x$ac_cv_func_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if ${ac_cv_lib_dl_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dl_dlopen=yes -+else -+ ac_cv_lib_dl_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -+$as_echo_n "checking for dlopen in -lsvld... " >&6; } -+if ${ac_cv_lib_svld_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lsvld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_svld_dlopen=yes -+else -+ ac_cv_lib_svld_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -+$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -+if test "x$ac_cv_lib_svld_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -+$as_echo_n "checking for dld_link in -ldld... " >&6; } -+if ${ac_cv_lib_dld_dld_link+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dld_link (); -+int -+main () -+{ -+return dld_link (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dld_dld_link=yes -+else -+ ac_cv_lib_dld_dld_link=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -+$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -+if test "x$ac_cv_lib_dld_dld_link" = xyes; then : -+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ ;; -+ esac -+ -+ if test "x$lt_cv_dlopen" != xno; then -+ enable_dlopen=yes -+ else -+ enable_dlopen=no -+ fi -+ -+ case $lt_cv_dlopen in -+ dlopen) -+ save_CPPFLAGS="$CPPFLAGS" -+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" -+ -+ save_LDFLAGS="$LDFLAGS" -+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" -+ -+ save_LIBS="$LIBS" -+ LIBS="$lt_cv_dlopen_libs $LIBS" -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -+$as_echo_n "checking whether a program can dlopen itself... " >&6; } -+if ${lt_cv_dlopen_self+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ lt_cv_dlopen_self=cross -+else -+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 -+ lt_status=$lt_dlunknown -+ cat > conftest.$ac_ext <<_LT_EOF -+#line $LINENO "configure" -+#include "confdefs.h" -+ -+#if HAVE_DLFCN_H -+#include -+#endif -+ -+#include -+ -+#ifdef RTLD_GLOBAL -+# define LT_DLGLOBAL RTLD_GLOBAL -+#else -+# ifdef DL_GLOBAL -+# define LT_DLGLOBAL DL_GLOBAL -+# else -+# define LT_DLGLOBAL 0 -+# endif -+#endif -+ -+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we -+ find out it does not work in some platform. */ -+#ifndef LT_DLLAZY_OR_NOW -+# ifdef RTLD_LAZY -+# define LT_DLLAZY_OR_NOW RTLD_LAZY -+# else -+# ifdef DL_LAZY -+# define LT_DLLAZY_OR_NOW DL_LAZY -+# else -+# ifdef RTLD_NOW -+# define LT_DLLAZY_OR_NOW RTLD_NOW -+# else -+# ifdef DL_NOW -+# define LT_DLLAZY_OR_NOW DL_NOW -+# else -+# define LT_DLLAZY_OR_NOW 0 -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+/* When -fvisbility=hidden is used, assume the code has been annotated -+ correspondingly for the symbols needed. */ -+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -+int fnord () __attribute__((visibility("default"))); -+#endif -+ -+int fnord () { return 42; } -+int main () -+{ -+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -+ int status = $lt_dlunknown; -+ -+ if (self) -+ { -+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; -+ else -+ { -+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; -+ else puts (dlerror ()); -+ } -+ /* dlclose (self); */ -+ } -+ else -+ puts (dlerror ()); -+ -+ return status; -+} -+_LT_EOF -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then -+ (./conftest; exit; ) >&5 2>/dev/null -+ lt_status=$? -+ case x$lt_status in -+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; -+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; -+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; -+ esac -+ else : -+ # compilation failed -+ lt_cv_dlopen_self=no -+ fi -+fi -+rm -fr conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -+$as_echo "$lt_cv_dlopen_self" >&6; } -+ -+ if test "x$lt_cv_dlopen_self" = xyes; then -+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -+if ${lt_cv_dlopen_self_static+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ lt_cv_dlopen_self_static=cross -+else -+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 -+ lt_status=$lt_dlunknown -+ cat > conftest.$ac_ext <<_LT_EOF -+#line $LINENO "configure" -+#include "confdefs.h" -+ -+#if HAVE_DLFCN_H -+#include -+#endif -+ -+#include -+ -+#ifdef RTLD_GLOBAL -+# define LT_DLGLOBAL RTLD_GLOBAL -+#else -+# ifdef DL_GLOBAL -+# define LT_DLGLOBAL DL_GLOBAL -+# else -+# define LT_DLGLOBAL 0 -+# endif -+#endif -+ -+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we -+ find out it does not work in some platform. */ -+#ifndef LT_DLLAZY_OR_NOW -+# ifdef RTLD_LAZY -+# define LT_DLLAZY_OR_NOW RTLD_LAZY -+# else -+# ifdef DL_LAZY -+# define LT_DLLAZY_OR_NOW DL_LAZY -+# else -+# ifdef RTLD_NOW -+# define LT_DLLAZY_OR_NOW RTLD_NOW -+# else -+# ifdef DL_NOW -+# define LT_DLLAZY_OR_NOW DL_NOW -+# else -+# define LT_DLLAZY_OR_NOW 0 -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+/* When -fvisbility=hidden is used, assume the code has been annotated -+ correspondingly for the symbols needed. */ -+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -+int fnord () __attribute__((visibility("default"))); -+#endif -+ -+int fnord () { return 42; } -+int main () -+{ -+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -+ int status = $lt_dlunknown; -+ -+ if (self) -+ { -+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; -+ else -+ { -+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; -+ else puts (dlerror ()); -+ } -+ /* dlclose (self); */ -+ } -+ else -+ puts (dlerror ()); -+ -+ return status; -+} -+_LT_EOF -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then -+ (./conftest; exit; ) >&5 2>/dev/null -+ lt_status=$? -+ case x$lt_status in -+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; -+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; -+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; -+ esac -+ else : -+ # compilation failed -+ lt_cv_dlopen_self_static=no -+ fi -+fi -+rm -fr conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -+$as_echo "$lt_cv_dlopen_self_static" >&6; } -+ fi -+ -+ CPPFLAGS="$save_CPPFLAGS" -+ LDFLAGS="$save_LDFLAGS" -+ LIBS="$save_LIBS" -+ ;; -+ esac -+ -+ case $lt_cv_dlopen_self in -+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; -+ *) enable_dlopen_self=unknown ;; -+ esac -+ -+ case $lt_cv_dlopen_self_static in -+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; -+ *) enable_dlopen_self_static=unknown ;; -+ esac -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+striplib= -+old_striplib= -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -+$as_echo_n "checking whether stripping libraries is possible... " >&6; } -+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then -+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" -+ test -z "$striplib" && striplib="$STRIP --strip-unneeded" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+else -+# FIXME - insert some real tests, host_os isn't really good enough -+ case $host_os in -+ darwin*) -+ if test -n "$STRIP" ; then -+ striplib="$STRIP -x" -+ old_striplib="$STRIP -S" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ fi -+ ;; -+ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ ;; -+ esac -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ # Report which library types will actually be built -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -+$as_echo_n "checking if libtool supports shared libraries... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -+$as_echo "$can_build_shared" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -+$as_echo_n "checking whether to build shared libraries... " >&6; } -+ test "$can_build_shared" = "no" && enable_shared=no -+ -+ # On AIX, shared libraries and static libraries use the same namespace, and -+ # are all built from PIC. -+ case $host_os in -+ aix3*) -+ test "$enable_shared" = yes && enable_static=no -+ if test -n "$RANLIB"; then -+ archive_cmds="$archive_cmds~\$RANLIB \$lib" -+ postinstall_cmds='$RANLIB $lib' -+ fi -+ ;; -+ -+ aix[4-9]*) -+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then -+ test "$enable_shared" = yes && enable_static=no -+ fi -+ ;; -+ esac -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -+$as_echo "$enable_shared" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -+$as_echo_n "checking whether to build static libraries... " >&6; } -+ # Make sure either enable_shared or enable_static is yes. -+ test "$enable_shared" = yes || enable_static=yes -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -+$as_echo "$enable_static" >&6; } -+ -+ -+ -+ -+fi -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+CC="$lt_save_CC" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ ac_config_commands="$ac_config_commands libtool" -+ -+ -+ -+ -+# Only expand once: -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. -+set dummy ${ac_tool_prefix}windres; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_RC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$RC"; then -+ ac_cv_prog_RC="$RC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_RC="${ac_tool_prefix}windres" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+RC=$ac_cv_prog_RC -+if test -n "$RC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5 -+$as_echo "$RC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_RC"; then -+ ac_ct_RC=$RC -+ # Extract the first word of "windres", so it can be a program name with args. -+set dummy windres; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_RC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_RC"; then -+ ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_RC="windres" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_RC=$ac_cv_prog_ac_ct_RC -+if test -n "$ac_ct_RC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5 -+$as_echo "$ac_ct_RC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_RC" = x; then -+ RC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ RC=$ac_ct_RC -+ fi -+else -+ RC="$ac_cv_prog_RC" -+fi -+ -+ -+ -+ -+# Source file extension for RC test sources. -+ac_ext=rc -+ -+# Object file extension for compiled RC test sources. -+objext=o -+objext_RC=$objext -+ -+# Code to be used in simple compile tests -+lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' -+ -+# Code to be used in simple link tests -+lt_simple_link_test_code="$lt_simple_compile_test_code" -+ -+# ltmain only uses $CC for tagged configurations so make sure $CC is set. -+ -+ -+ -+ -+ -+ -+# If no C compiler was specified, use CC. -+LTCC=${LTCC-"$CC"} -+ -+# If no C compiler flags were specified, use CFLAGS. -+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -+ -+# Allow CC to be a program name with arguments. -+compiler=$CC -+ -+ -+# save warnings/boilerplate of simple test code -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_compile_test_code" >conftest.$ac_ext -+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_compiler_boilerplate=`cat conftest.err` -+$RM conftest* -+ -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_link_test_code" >conftest.$ac_ext -+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_linker_boilerplate=`cat conftest.err` -+$RM -r conftest* -+ -+ -+# Allow CC to be a program name with arguments. -+lt_save_CC="$CC" -+lt_save_CFLAGS=$CFLAGS -+lt_save_GCC=$GCC -+GCC= -+CC=${RC-"windres"} -+CFLAGS= -+compiler=$CC -+compiler_RC=$CC -+for cc_temp in $compiler""; do -+ case $cc_temp in -+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; -+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; -+ \-*) ;; -+ *) break;; -+ esac -+done -+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -+ -+lt_cv_prog_compiler_c_o_RC=yes -+ -+if test -n "$compiler"; then -+ : -+ -+ -+ -+fi -+ -+GCC=$lt_save_GCC -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+CC=$lt_save_CC -+CFLAGS=$lt_save_CFLAGS -+ -+ -+case "$host_os" in -+ mingw* | cygwin*) is_woe32=yes ;; -+ *) is_woe32=no ;; -+esac -+WOE32=$is_woe32 -+ -+if test $WOE32 = yes; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args. -+set dummy ${ac_tool_prefix}windres; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_WINDRES+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$WINDRES"; then -+ ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_WINDRES="${ac_tool_prefix}windres" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+WINDRES=$ac_cv_prog_WINDRES -+if test -n "$WINDRES"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5 -+$as_echo "$WINDRES" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_WINDRES"; then -+ ac_ct_WINDRES=$WINDRES -+ # Extract the first word of "windres", so it can be a program name with args. -+set dummy windres; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_WINDRES+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_WINDRES"; then -+ ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_WINDRES="windres" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES -+if test -n "$ac_ct_WINDRES"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5 -+$as_echo "$ac_ct_WINDRES" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_WINDRES" = x; then -+ WINDRES="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ WINDRES=$ac_ct_WINDRES -+ fi -+else -+ WINDRES="$ac_cv_prog_WINDRES" -+fi -+ -+fi -+ -+ -+ -+ CFLAG_VISIBILITY= -+ HAVE_VISIBILITY=0 -+ if test -n "$GCC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 -+$as_echo_n "checking whether the -Werror option is usable... " >&6; } -+ if ${gl_cv_cc_vis_werror+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ gl_save_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -Werror" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_cc_vis_werror=yes -+else -+ gl_cv_cc_vis_werror=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ CFLAGS="$gl_save_CFLAGS" -+fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5 -+$as_echo "$gl_cv_cc_vis_werror" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 -+$as_echo_n "checking for simple visibility declarations... " >&6; } -+ if ${gl_cv_cc_visibility+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ gl_save_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -fvisibility=hidden" -+ if test $gl_cv_cc_vis_werror = yes; then -+ CFLAGS="$CFLAGS -Werror" -+ fi -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+extern __attribute__((__visibility__("hidden"))) int hiddenvar; -+ extern __attribute__((__visibility__("default"))) int exportedvar; -+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); -+ extern __attribute__((__visibility__("default"))) int exportedfunc (void); -+ void dummyfunc (void) {} -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_cc_visibility=yes -+else -+ gl_cv_cc_visibility=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ CFLAGS="$gl_save_CFLAGS" -+fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 -+$as_echo "$gl_cv_cc_visibility" >&6; } -+ if test $gl_cv_cc_visibility = yes; then -+ CFLAG_VISIBILITY="-fvisibility=hidden" -+ HAVE_VISIBILITY=1 -+ fi -+ fi -+ -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_VISIBILITY $HAVE_VISIBILITY -+_ACEOF -+ -+ -+ -+ if test "X$prefix" = "XNONE"; then -+ acl_final_prefix="$ac_default_prefix" -+ else -+ acl_final_prefix="$prefix" -+ fi -+ if test "X$exec_prefix" = "XNONE"; then -+ acl_final_exec_prefix='${prefix}' -+ else -+ acl_final_exec_prefix="$exec_prefix" -+ fi -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" -+ prefix="$acl_save_prefix" -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -+$as_echo_n "checking for shared library run path origin... " >&6; } -+if ${acl_cv_rpath+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ -+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh -+ . ./conftest.sh -+ rm -f ./conftest.sh -+ acl_cv_rpath=done -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -+$as_echo "$acl_cv_rpath" >&6; } -+ wl="$acl_cv_wl" -+ acl_libext="$acl_cv_libext" -+ acl_shlibext="$acl_cv_shlibext" -+ acl_libname_spec="$acl_cv_libname_spec" -+ acl_library_names_spec="$acl_cv_library_names_spec" -+ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" -+ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" -+ acl_hardcode_direct="$acl_cv_hardcode_direct" -+ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" -+ # Check whether --enable-rpath was given. -+if test "${enable_rpath+set}" = set; then : -+ enableval=$enable_rpath; : -+else -+ enable_rpath=yes -+fi -+ -+ -+ -+ -+ acl_libdirstem=lib -+ acl_libdirstem2= -+ case "$host_os" in -+ solaris*) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 -+$as_echo_n "checking for 64-bit host... " >&6; } -+if ${gl_cv_solaris_64bit+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#ifdef _LP64 -+sixtyfour bits -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "sixtyfour bits" >/dev/null 2>&1; then : -+ gl_cv_solaris_64bit=yes -+else -+ gl_cv_solaris_64bit=no -+fi -+rm -f conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 -+$as_echo "$gl_cv_solaris_64bit" >&6; } -+ if test $gl_cv_solaris_64bit = yes; then -+ acl_libdirstem=lib/64 -+ case "$host_cpu" in -+ sparc*) acl_libdirstem2=lib/sparcv9 ;; -+ i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; -+ esac -+ fi -+ ;; -+ *) -+ searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` -+ if test -n "$searchpath"; then -+ acl_save_IFS="${IFS= }"; IFS=":" -+ for searchdir in $searchpath; do -+ if test -d "$searchdir"; then -+ case "$searchdir" in -+ */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; -+ */../ | */.. ) -+ # Better ignore directories of this form. They are misleading. -+ ;; -+ *) searchdir=`cd "$searchdir" && pwd` -+ case "$searchdir" in -+ */lib64 ) acl_libdirstem=lib64 ;; -+ esac ;; -+ esac -+ fi -+ done -+ IFS="$acl_save_IFS" -+ fi -+ ;; -+ esac -+ test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ use_additional=yes -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ -+# Check whether --with-libiconv-prefix was given. -+if test "${with_libiconv_prefix+set}" = set; then : -+ withval=$with_libiconv_prefix; -+ if test "X$withval" = "Xno"; then -+ use_additional=no -+ else -+ if test "X$withval" = "X"; then -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ else -+ additional_includedir="$withval/include" -+ additional_libdir="$withval/$acl_libdirstem" -+ if test "$acl_libdirstem2" != "$acl_libdirstem" \ -+ && ! test -d "$withval/$acl_libdirstem"; then -+ additional_libdir="$withval/$acl_libdirstem2" -+ fi -+ fi -+ fi -+ -+fi -+ -+ LIBICONV= -+ LTLIBICONV= -+ INCICONV= -+ LIBICONV_PREFIX= -+ HAVE_LIBICONV= -+ rpathdirs= -+ ltrpathdirs= -+ names_already_handled= -+ names_next_round='iconv ' -+ while test -n "$names_next_round"; do -+ names_this_round="$names_next_round" -+ names_next_round= -+ for name in $names_this_round; do -+ already_handled= -+ for n in $names_already_handled; do -+ if test "$n" = "$name"; then -+ already_handled=yes -+ break -+ fi -+ done -+ if test -z "$already_handled"; then -+ names_already_handled="$names_already_handled $name" -+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` -+ eval value=\"\$HAVE_LIB$uppername\" -+ if test -n "$value"; then -+ if test "$value" = yes; then -+ eval value=\"\$LIB$uppername\" -+ test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" -+ eval value=\"\$LTLIB$uppername\" -+ test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" -+ else -+ : -+ fi -+ else -+ found_dir= -+ found_la= -+ found_so= -+ found_a= -+ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name -+ if test -n "$acl_shlibext"; then -+ shrext=".$acl_shlibext" # typically: shrext=.so -+ else -+ shrext= -+ fi -+ if test $use_additional = yes; then -+ dir="$additional_libdir" -+ if test -n "$acl_shlibext"; then -+ if test -f "$dir/$libname$shrext"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext" -+ else -+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then -+ ver=`(cd "$dir" && \ -+ for f in "$libname$shrext".*; do echo "$f"; done \ -+ | sed -e "s,^$libname$shrext\\\\.,," \ -+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ -+ | sed 1q ) 2>/dev/null` -+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext.$ver" -+ fi -+ else -+ eval library_names=\"$acl_library_names_spec\" -+ for f in $library_names; do -+ if test -f "$dir/$f"; then -+ found_dir="$dir" -+ found_so="$dir/$f" -+ break -+ fi -+ done -+ fi -+ fi -+ fi -+ if test "X$found_dir" = "X"; then -+ if test -f "$dir/$libname.$acl_libext"; then -+ found_dir="$dir" -+ found_a="$dir/$libname.$acl_libext" -+ fi -+ fi -+ if test "X$found_dir" != "X"; then -+ if test -f "$dir/$libname.la"; then -+ found_la="$dir/$libname.la" -+ fi -+ fi -+ fi -+ if test "X$found_dir" = "X"; then -+ for x in $LDFLAGS $LTLIBICONV; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ case "$x" in -+ -L*) -+ dir=`echo "X$x" | sed -e 's/^X-L//'` -+ if test -n "$acl_shlibext"; then -+ if test -f "$dir/$libname$shrext"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext" -+ else -+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then -+ ver=`(cd "$dir" && \ -+ for f in "$libname$shrext".*; do echo "$f"; done \ -+ | sed -e "s,^$libname$shrext\\\\.,," \ -+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ -+ | sed 1q ) 2>/dev/null` -+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext.$ver" -+ fi -+ else -+ eval library_names=\"$acl_library_names_spec\" -+ for f in $library_names; do -+ if test -f "$dir/$f"; then -+ found_dir="$dir" -+ found_so="$dir/$f" -+ break -+ fi -+ done -+ fi -+ fi -+ fi -+ if test "X$found_dir" = "X"; then -+ if test -f "$dir/$libname.$acl_libext"; then -+ found_dir="$dir" -+ found_a="$dir/$libname.$acl_libext" -+ fi -+ fi -+ if test "X$found_dir" != "X"; then -+ if test -f "$dir/$libname.la"; then -+ found_la="$dir/$libname.la" -+ fi -+ fi -+ ;; -+ esac -+ if test "X$found_dir" != "X"; then -+ break -+ fi -+ done -+ fi -+ if test "X$found_dir" != "X"; then -+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" -+ if test "X$found_so" != "X"; then -+ if test "$enable_rpath" = no \ -+ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ -+ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" -+ else -+ haveit= -+ for x in $ltrpathdirs; do -+ if test "X$x" = "X$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ ltrpathdirs="$ltrpathdirs $found_dir" -+ fi -+ if test "$acl_hardcode_direct" = yes; then -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" -+ else -+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" -+ haveit= -+ for x in $rpathdirs; do -+ if test "X$x" = "X$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ rpathdirs="$rpathdirs $found_dir" -+ fi -+ else -+ haveit= -+ for x in $LDFLAGS $LIBICONV; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-L$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" -+ fi -+ if test "$acl_hardcode_minus_L" != no; then -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" -+ else -+ LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" -+ fi -+ fi -+ fi -+ fi -+ else -+ if test "X$found_a" != "X"; then -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" -+ else -+ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" -+ fi -+ fi -+ additional_includedir= -+ case "$found_dir" in -+ */$acl_libdirstem | */$acl_libdirstem/) -+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` -+ if test "$name" = 'iconv'; then -+ LIBICONV_PREFIX="$basedir" -+ fi -+ additional_includedir="$basedir/include" -+ ;; -+ */$acl_libdirstem2 | */$acl_libdirstem2/) -+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` -+ if test "$name" = 'iconv'; then -+ LIBICONV_PREFIX="$basedir" -+ fi -+ additional_includedir="$basedir/include" -+ ;; -+ esac -+ if test "X$additional_includedir" != "X"; then -+ if test "X$additional_includedir" != "X/usr/include"; then -+ haveit= -+ if test "X$additional_includedir" = "X/usr/local/include"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux* | gnu* | k*bsd*-gnu) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ for x in $CPPFLAGS $INCICONV; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-I$additional_includedir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_includedir"; then -+ INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" -+ fi -+ fi -+ fi -+ fi -+ fi -+ if test -n "$found_la"; then -+ save_libdir="$libdir" -+ case "$found_la" in -+ */* | *\\*) . "$found_la" ;; -+ *) . "./$found_la" ;; -+ esac -+ libdir="$save_libdir" -+ for dep in $dependency_libs; do -+ case "$dep" in -+ -L*) -+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` -+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ -+ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then -+ haveit= -+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ -+ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux* | gnu* | k*bsd*-gnu) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ haveit= -+ for x in $LDFLAGS $LIBICONV; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-L$additional_libdir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_libdir"; then -+ LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" -+ fi -+ fi -+ haveit= -+ for x in $LDFLAGS $LTLIBICONV; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-L$additional_libdir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_libdir"; then -+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" -+ fi -+ fi -+ fi -+ fi -+ ;; -+ -R*) -+ dir=`echo "X$dep" | sed -e 's/^X-R//'` -+ if test "$enable_rpath" != no; then -+ haveit= -+ for x in $rpathdirs; do -+ if test "X$x" = "X$dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ rpathdirs="$rpathdirs $dir" -+ fi -+ haveit= -+ for x in $ltrpathdirs; do -+ if test "X$x" = "X$dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ ltrpathdirs="$ltrpathdirs $dir" -+ fi -+ fi -+ ;; -+ -l*) -+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` -+ ;; -+ *.la) -+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` -+ ;; -+ *) -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" -+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" -+ ;; -+ esac -+ done -+ fi -+ else -+ LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" -+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" -+ fi -+ fi -+ fi -+ done -+ done -+ if test "X$rpathdirs" != "X"; then -+ if test -n "$acl_hardcode_libdir_separator"; then -+ alldirs= -+ for found_dir in $rpathdirs; do -+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" -+ done -+ acl_save_libdir="$libdir" -+ libdir="$alldirs" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" -+ else -+ for found_dir in $rpathdirs; do -+ acl_save_libdir="$libdir" -+ libdir="$found_dir" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" -+ done -+ fi -+ fi -+ if test "X$ltrpathdirs" != "X"; then -+ for found_dir in $ltrpathdirs; do -+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" -+ done -+ fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ am_save_CPPFLAGS="$CPPFLAGS" -+ -+ for element in $INCICONV; do -+ haveit= -+ for x in $CPPFLAGS; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X$element"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" -+ fi -+ done -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -+$as_echo_n "checking for iconv... " >&6; } -+if ${am_cv_func_iconv+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ am_cv_func_iconv="no, consider installing GNU libiconv" -+ am_cv_lib_iconv=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#include -+ -+int -+main () -+{ -+iconv_t cd = iconv_open("",""); -+ iconv(cd,NULL,NULL,NULL,NULL); -+ iconv_close(cd); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ am_cv_func_iconv=yes -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test "$am_cv_func_iconv" != yes; then -+ am_save_LIBS="$LIBS" -+ LIBS="$LIBS $LIBICONV" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#include -+ -+int -+main () -+{ -+iconv_t cd = iconv_open("",""); -+ iconv(cd,NULL,NULL,NULL,NULL); -+ iconv_close(cd); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ am_cv_lib_iconv=yes -+ am_cv_func_iconv=yes -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LIBS="$am_save_LIBS" -+ fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -+$as_echo "$am_cv_func_iconv" >&6; } -+ if test "$am_cv_func_iconv" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 -+$as_echo_n "checking for working iconv... " >&6; } -+if ${am_cv_func_iconv_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ am_save_LIBS="$LIBS" -+ if test $am_cv_lib_iconv = yes; then -+ LIBS="$LIBS $LIBICONV" -+ fi -+ if test "$cross_compiling" = yes; then : -+ -+ case "$host_os" in -+ aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; -+ *) am_cv_func_iconv_works="guessing yes" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#include -+int main () -+{ -+ int result = 0; -+ /* Test against AIX 5.1 bug: Failures are not distinguishable from successful -+ returns. */ -+ { -+ iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); -+ if (cd_utf8_to_88591 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\342\202\254"; /* EURO SIGN */ -+ char buf[10]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_utf8_to_88591, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res == 0) -+ result |= 1; -+ iconv_close (cd_utf8_to_88591); -+ } -+ } -+ /* Test against Solaris 10 bug: Failures are not distinguishable from -+ successful returns. */ -+ { -+ iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); -+ if (cd_ascii_to_88591 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\263"; -+ char buf[10]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_ascii_to_88591, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res == 0) -+ result |= 2; -+ iconv_close (cd_ascii_to_88591); -+ } -+ } -+ /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ -+ { -+ iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); -+ if (cd_88591_to_utf8 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\304"; -+ static char buf[2] = { (char)0xDE, (char)0xAD }; -+ const char *inptr = input; -+ size_t inbytesleft = 1; -+ char *outptr = buf; -+ size_t outbytesleft = 1; -+ size_t res = iconv (cd_88591_to_utf8, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) -+ result |= 4; -+ iconv_close (cd_88591_to_utf8); -+ } -+ } -+#if 0 /* This bug could be worked around by the caller. */ -+ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ -+ { -+ iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); -+ if (cd_88591_to_utf8 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; -+ char buf[50]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_88591_to_utf8, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if ((int)res > 0) -+ result |= 8; -+ iconv_close (cd_88591_to_utf8); -+ } -+ } -+#endif -+ /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is -+ provided. */ -+ if (/* Try standardized names. */ -+ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) -+ /* Try IRIX, OSF/1 names. */ -+ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) -+ /* Try AIX names. */ -+ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) -+ /* Try HP-UX names. */ -+ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) -+ result |= 16; -+ return result; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ am_cv_func_iconv_works=yes -+else -+ am_cv_func_iconv_works=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ LIBS="$am_save_LIBS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 -+$as_echo "$am_cv_func_iconv_works" >&6; } -+ case "$am_cv_func_iconv_works" in -+ *no) am_func_iconv=no am_cv_lib_iconv=no ;; -+ *) am_func_iconv=yes ;; -+ esac -+ else -+ am_func_iconv=no am_cv_lib_iconv=no -+ fi -+ if test "$am_func_iconv" = yes; then -+ -+$as_echo "#define HAVE_ICONV 1" >>confdefs.h -+ -+ fi -+ if test "$am_cv_lib_iconv" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -+$as_echo_n "checking how to link with libiconv... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -+$as_echo "$LIBICONV" >&6; } -+ else -+ CPPFLAGS="$am_save_CPPFLAGS" -+ LIBICONV= -+ LTLIBICONV= -+ fi -+ -+ -+ -+ if test "$am_cv_func_iconv" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -+$as_echo_n "checking for iconv declaration... " >&6; } -+ if ${am_cv_proto_iconv+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#include -+extern -+#ifdef __cplusplus -+"C" -+#endif -+#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) -+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -+#else -+size_t iconv(); -+#endif -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ am_cv_proto_iconv_arg1="" -+else -+ am_cv_proto_iconv_arg1="const" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" -+fi -+ -+ am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: -+ $am_cv_proto_iconv" >&5 -+$as_echo " -+ $am_cv_proto_iconv" >&6; } -+ -+cat >>confdefs.h <<_ACEOF -+#define ICONV_CONST $am_cv_proto_iconv_arg1 -+_ACEOF -+ -+ -+ fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 -+$as_echo_n "checking whether NLS is requested... " >&6; } -+ # Check whether --enable-nls was given. -+if test "${enable_nls+set}" = set; then : -+ enableval=$enable_nls; USE_NLS=$enableval -+else -+ USE_NLS=yes -+fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -+$as_echo "$USE_NLS" >&6; } -+ -+ -+ -+ -+ GETTEXT_MACRO_VERSION=0.18 -+ -+ -+ -+ -+# Prepare PATH_SEPARATOR. -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which -+ # contains only /bin. Note that ksh looks also at the FPATH variable, -+ # so we have to set that as well for the test. -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ || PATH_SEPARATOR=';' -+ } -+fi -+ -+# Find out how to test for executable files. Don't use a zero-byte file, -+# as systems may use methods other than mode bits to determine executability. -+cat >conf$$.file <<_ASEOF -+#! /bin/sh -+exit 0 -+_ASEOF -+chmod +x conf$$.file -+if test -x conf$$.file >/dev/null 2>&1; then -+ ac_executable_p="test -x" -+else -+ ac_executable_p="test -f" -+fi -+rm -f conf$$.file -+ -+# Extract the first word of "msgfmt", so it can be a program name with args. -+set dummy msgfmt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_path_MSGFMT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case "$MSGFMT" in -+ [\\/]* | ?:[\\/]*) -+ ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. -+ ;; -+ *) -+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$ac_save_IFS" -+ test -z "$ac_dir" && ac_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then -+ echo "$as_me: trying $ac_dir/$ac_word..." >&5 -+ if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && -+ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then -+ ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" -+ break 2 -+ fi -+ fi -+ done -+ done -+ IFS="$ac_save_IFS" -+ test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" -+ ;; -+esac -+fi -+MSGFMT="$ac_cv_path_MSGFMT" -+if test "$MSGFMT" != ":"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 -+$as_echo "$MSGFMT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ # Extract the first word of "gmsgfmt", so it can be a program name with args. -+set dummy gmsgfmt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_path_GMSGFMT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $GMSGFMT in -+ [\\/]* | ?:[\\/]*) -+ ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. -+ ;; -+ *) -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+ test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" -+ ;; -+esac -+fi -+GMSGFMT=$ac_cv_path_GMSGFMT -+if test -n "$GMSGFMT"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 -+$as_echo "$GMSGFMT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ -+ case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in -+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; -+ *) MSGFMT_015=$MSGFMT ;; -+ esac -+ -+ case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in -+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; -+ *) GMSGFMT_015=$GMSGFMT ;; -+ esac -+ -+ -+ -+# Prepare PATH_SEPARATOR. -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which -+ # contains only /bin. Note that ksh looks also at the FPATH variable, -+ # so we have to set that as well for the test. -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ || PATH_SEPARATOR=';' -+ } -+fi -+ -+# Find out how to test for executable files. Don't use a zero-byte file, -+# as systems may use methods other than mode bits to determine executability. -+cat >conf$$.file <<_ASEOF -+#! /bin/sh -+exit 0 -+_ASEOF -+chmod +x conf$$.file -+if test -x conf$$.file >/dev/null 2>&1; then -+ ac_executable_p="test -x" -+else -+ ac_executable_p="test -f" -+fi -+rm -f conf$$.file -+ -+# Extract the first word of "xgettext", so it can be a program name with args. -+set dummy xgettext; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_path_XGETTEXT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case "$XGETTEXT" in -+ [\\/]* | ?:[\\/]*) -+ ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. -+ ;; -+ *) -+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$ac_save_IFS" -+ test -z "$ac_dir" && ac_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then -+ echo "$as_me: trying $ac_dir/$ac_word..." >&5 -+ if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && -+ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then -+ ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" -+ break 2 -+ fi -+ fi -+ done -+ done -+ IFS="$ac_save_IFS" -+ test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" -+ ;; -+esac -+fi -+XGETTEXT="$ac_cv_path_XGETTEXT" -+if test "$XGETTEXT" != ":"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 -+$as_echo "$XGETTEXT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ rm -f messages.po -+ -+ case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in -+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; -+ *) XGETTEXT_015=$XGETTEXT ;; -+ esac -+ -+ -+ -+# Prepare PATH_SEPARATOR. -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which -+ # contains only /bin. Note that ksh looks also at the FPATH variable, -+ # so we have to set that as well for the test. -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ || PATH_SEPARATOR=';' -+ } -+fi -+ -+# Find out how to test for executable files. Don't use a zero-byte file, -+# as systems may use methods other than mode bits to determine executability. -+cat >conf$$.file <<_ASEOF -+#! /bin/sh -+exit 0 -+_ASEOF -+chmod +x conf$$.file -+if test -x conf$$.file >/dev/null 2>&1; then -+ ac_executable_p="test -x" -+else -+ ac_executable_p="test -f" -+fi -+rm -f conf$$.file -+ -+# Extract the first word of "msgmerge", so it can be a program name with args. -+set dummy msgmerge; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_path_MSGMERGE+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case "$MSGMERGE" in -+ [\\/]* | ?:[\\/]*) -+ ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. -+ ;; -+ *) -+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$ac_save_IFS" -+ test -z "$ac_dir" && ac_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then -+ echo "$as_me: trying $ac_dir/$ac_word..." >&5 -+ if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then -+ ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" -+ break 2 -+ fi -+ fi -+ done -+ done -+ IFS="$ac_save_IFS" -+ test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" -+ ;; -+esac -+fi -+MSGMERGE="$ac_cv_path_MSGMERGE" -+if test "$MSGMERGE" != ":"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 -+$as_echo "$MSGMERGE" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$localedir" || localedir='${datadir}/locale' -+ -+ -+ test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= -+ -+ -+ ac_config_commands="$ac_config_commands po-directories" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 -+$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } -+if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ gt_save_LIBS="$LIBS" -+ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+CFPreferencesCopyAppValue(NULL, NULL) -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ gt_cv_func_CFPreferencesCopyAppValue=yes -+else -+ gt_cv_func_CFPreferencesCopyAppValue=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LIBS="$gt_save_LIBS" -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 -+$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } -+ if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then -+ -+$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h -+ -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 -+$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } -+if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ gt_save_LIBS="$LIBS" -+ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+CFLocaleCopyCurrent(); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ gt_cv_func_CFLocaleCopyCurrent=yes -+else -+ gt_cv_func_CFLocaleCopyCurrent=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LIBS="$gt_save_LIBS" -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 -+$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } -+ if test $gt_cv_func_CFLocaleCopyCurrent = yes; then -+ -+$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h -+ -+ fi -+ INTL_MACOSX_LIBS= -+ if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then -+ INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" -+ fi -+ -+ -+ -+ -+ -+ -+ LIBINTL= -+ LTLIBINTL= -+ POSUB= -+ -+ case " $gt_needs " in -+ *" need-formatstring-macros "*) gt_api_version=3 ;; -+ *" need-ngettext "*) gt_api_version=2 ;; -+ *) gt_api_version=1 ;; -+ esac -+ gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" -+ gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" -+ -+ if test "$USE_NLS" = "yes"; then -+ gt_use_preinstalled_gnugettext=no -+ -+ -+ if test $gt_api_version -ge 3; then -+ gt_revision_test_code=' -+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -+#endif -+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -+' -+ else -+ gt_revision_test_code= -+ fi -+ if test $gt_api_version -ge 2; then -+ gt_expression_test_code=' + * ngettext ("", "", 0)' -+ else -+ gt_expression_test_code= -+ fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 -+$as_echo_n "checking for GNU gettext in libc... " >&6; } -+if eval \${$gt_func_gnugettext_libc+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+$gt_revision_test_code -+extern int _nl_msg_cat_cntr; -+extern int *_nl_domain_bindings; -+ -+int -+main () -+{ -+ -+bindtextdomain ("", ""); -+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ eval "$gt_func_gnugettext_libc=yes" -+else -+ eval "$gt_func_gnugettext_libc=no" -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+eval ac_res=\$$gt_func_gnugettext_libc -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ -+ if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then -+ -+ -+ -+ -+ -+ am_save_CPPFLAGS="$CPPFLAGS" -+ -+ for element in $INCICONV; do -+ haveit= -+ for x in $CPPFLAGS; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X$element"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" -+ fi -+ done -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -+$as_echo_n "checking for iconv... " >&6; } -+if ${am_cv_func_iconv+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ am_cv_func_iconv="no, consider installing GNU libiconv" -+ am_cv_lib_iconv=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#include -+ -+int -+main () -+{ -+iconv_t cd = iconv_open("",""); -+ iconv(cd,NULL,NULL,NULL,NULL); -+ iconv_close(cd); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ am_cv_func_iconv=yes -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test "$am_cv_func_iconv" != yes; then -+ am_save_LIBS="$LIBS" -+ LIBS="$LIBS $LIBICONV" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#include -+ -+int -+main () -+{ -+iconv_t cd = iconv_open("",""); -+ iconv(cd,NULL,NULL,NULL,NULL); -+ iconv_close(cd); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ am_cv_lib_iconv=yes -+ am_cv_func_iconv=yes -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LIBS="$am_save_LIBS" -+ fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -+$as_echo "$am_cv_func_iconv" >&6; } -+ if test "$am_cv_func_iconv" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 -+$as_echo_n "checking for working iconv... " >&6; } -+if ${am_cv_func_iconv_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ am_save_LIBS="$LIBS" -+ if test $am_cv_lib_iconv = yes; then -+ LIBS="$LIBS $LIBICONV" -+ fi -+ if test "$cross_compiling" = yes; then : -+ -+ case "$host_os" in -+ aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; -+ *) am_cv_func_iconv_works="guessing yes" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#include -+int main () -+{ -+ int result = 0; -+ /* Test against AIX 5.1 bug: Failures are not distinguishable from successful -+ returns. */ -+ { -+ iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); -+ if (cd_utf8_to_88591 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\342\202\254"; /* EURO SIGN */ -+ char buf[10]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_utf8_to_88591, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res == 0) -+ result |= 1; -+ iconv_close (cd_utf8_to_88591); -+ } -+ } -+ /* Test against Solaris 10 bug: Failures are not distinguishable from -+ successful returns. */ -+ { -+ iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); -+ if (cd_ascii_to_88591 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\263"; -+ char buf[10]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_ascii_to_88591, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res == 0) -+ result |= 2; -+ iconv_close (cd_ascii_to_88591); -+ } -+ } -+ /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ -+ { -+ iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); -+ if (cd_88591_to_utf8 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\304"; -+ static char buf[2] = { (char)0xDE, (char)0xAD }; -+ const char *inptr = input; -+ size_t inbytesleft = 1; -+ char *outptr = buf; -+ size_t outbytesleft = 1; -+ size_t res = iconv (cd_88591_to_utf8, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) -+ result |= 4; -+ iconv_close (cd_88591_to_utf8); -+ } -+ } -+#if 0 /* This bug could be worked around by the caller. */ -+ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ -+ { -+ iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); -+ if (cd_88591_to_utf8 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; -+ char buf[50]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_88591_to_utf8, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if ((int)res > 0) -+ result |= 8; -+ iconv_close (cd_88591_to_utf8); -+ } -+ } -+#endif -+ /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is -+ provided. */ -+ if (/* Try standardized names. */ -+ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) -+ /* Try IRIX, OSF/1 names. */ -+ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) -+ /* Try AIX names. */ -+ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) -+ /* Try HP-UX names. */ -+ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) -+ result |= 16; -+ return result; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ am_cv_func_iconv_works=yes -+else -+ am_cv_func_iconv_works=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ LIBS="$am_save_LIBS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 -+$as_echo "$am_cv_func_iconv_works" >&6; } -+ case "$am_cv_func_iconv_works" in -+ *no) am_func_iconv=no am_cv_lib_iconv=no ;; -+ *) am_func_iconv=yes ;; -+ esac -+ else -+ am_func_iconv=no am_cv_lib_iconv=no -+ fi -+ if test "$am_func_iconv" = yes; then -+ -+$as_echo "#define HAVE_ICONV 1" >>confdefs.h -+ -+ fi -+ if test "$am_cv_lib_iconv" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -+$as_echo_n "checking how to link with libiconv... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -+$as_echo "$LIBICONV" >&6; } -+ else -+ CPPFLAGS="$am_save_CPPFLAGS" -+ LIBICONV= -+ LTLIBICONV= -+ fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ use_additional=yes -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ -+# Check whether --with-libintl-prefix was given. -+if test "${with_libintl_prefix+set}" = set; then : -+ withval=$with_libintl_prefix; -+ if test "X$withval" = "Xno"; then -+ use_additional=no -+ else -+ if test "X$withval" = "X"; then -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ else -+ additional_includedir="$withval/include" -+ additional_libdir="$withval/$acl_libdirstem" -+ if test "$acl_libdirstem2" != "$acl_libdirstem" \ -+ && ! test -d "$withval/$acl_libdirstem"; then -+ additional_libdir="$withval/$acl_libdirstem2" -+ fi -+ fi -+ fi -+ -+fi -+ -+ LIBINTL= -+ LTLIBINTL= -+ INCINTL= -+ LIBINTL_PREFIX= -+ HAVE_LIBINTL= -+ rpathdirs= -+ ltrpathdirs= -+ names_already_handled= -+ names_next_round='intl ' -+ while test -n "$names_next_round"; do -+ names_this_round="$names_next_round" -+ names_next_round= -+ for name in $names_this_round; do -+ already_handled= -+ for n in $names_already_handled; do -+ if test "$n" = "$name"; then -+ already_handled=yes -+ break -+ fi -+ done -+ if test -z "$already_handled"; then -+ names_already_handled="$names_already_handled $name" -+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` -+ eval value=\"\$HAVE_LIB$uppername\" -+ if test -n "$value"; then -+ if test "$value" = yes; then -+ eval value=\"\$LIB$uppername\" -+ test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" -+ eval value=\"\$LTLIB$uppername\" -+ test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" -+ else -+ : -+ fi -+ else -+ found_dir= -+ found_la= -+ found_so= -+ found_a= -+ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name -+ if test -n "$acl_shlibext"; then -+ shrext=".$acl_shlibext" # typically: shrext=.so -+ else -+ shrext= -+ fi -+ if test $use_additional = yes; then -+ dir="$additional_libdir" -+ if test -n "$acl_shlibext"; then -+ if test -f "$dir/$libname$shrext"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext" -+ else -+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then -+ ver=`(cd "$dir" && \ -+ for f in "$libname$shrext".*; do echo "$f"; done \ -+ | sed -e "s,^$libname$shrext\\\\.,," \ -+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ -+ | sed 1q ) 2>/dev/null` -+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext.$ver" -+ fi -+ else -+ eval library_names=\"$acl_library_names_spec\" -+ for f in $library_names; do -+ if test -f "$dir/$f"; then -+ found_dir="$dir" -+ found_so="$dir/$f" -+ break -+ fi -+ done -+ fi -+ fi -+ fi -+ if test "X$found_dir" = "X"; then -+ if test -f "$dir/$libname.$acl_libext"; then -+ found_dir="$dir" -+ found_a="$dir/$libname.$acl_libext" -+ fi -+ fi -+ if test "X$found_dir" != "X"; then -+ if test -f "$dir/$libname.la"; then -+ found_la="$dir/$libname.la" -+ fi -+ fi -+ fi -+ if test "X$found_dir" = "X"; then -+ for x in $LDFLAGS $LTLIBINTL; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ case "$x" in -+ -L*) -+ dir=`echo "X$x" | sed -e 's/^X-L//'` -+ if test -n "$acl_shlibext"; then -+ if test -f "$dir/$libname$shrext"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext" -+ else -+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then -+ ver=`(cd "$dir" && \ -+ for f in "$libname$shrext".*; do echo "$f"; done \ -+ | sed -e "s,^$libname$shrext\\\\.,," \ -+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ -+ | sed 1q ) 2>/dev/null` -+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext.$ver" -+ fi -+ else -+ eval library_names=\"$acl_library_names_spec\" -+ for f in $library_names; do -+ if test -f "$dir/$f"; then -+ found_dir="$dir" -+ found_so="$dir/$f" -+ break -+ fi -+ done -+ fi -+ fi -+ fi -+ if test "X$found_dir" = "X"; then -+ if test -f "$dir/$libname.$acl_libext"; then -+ found_dir="$dir" -+ found_a="$dir/$libname.$acl_libext" -+ fi -+ fi -+ if test "X$found_dir" != "X"; then -+ if test -f "$dir/$libname.la"; then -+ found_la="$dir/$libname.la" -+ fi -+ fi -+ ;; -+ esac -+ if test "X$found_dir" != "X"; then -+ break -+ fi -+ done -+ fi -+ if test "X$found_dir" != "X"; then -+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" -+ if test "X$found_so" != "X"; then -+ if test "$enable_rpath" = no \ -+ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ -+ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" -+ else -+ haveit= -+ for x in $ltrpathdirs; do -+ if test "X$x" = "X$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ ltrpathdirs="$ltrpathdirs $found_dir" -+ fi -+ if test "$acl_hardcode_direct" = yes; then -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" -+ else -+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" -+ haveit= -+ for x in $rpathdirs; do -+ if test "X$x" = "X$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ rpathdirs="$rpathdirs $found_dir" -+ fi -+ else -+ haveit= -+ for x in $LDFLAGS $LIBINTL; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-L$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" -+ fi -+ if test "$acl_hardcode_minus_L" != no; then -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" -+ else -+ LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" -+ fi -+ fi -+ fi -+ fi -+ else -+ if test "X$found_a" != "X"; then -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" -+ else -+ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" -+ fi -+ fi -+ additional_includedir= -+ case "$found_dir" in -+ */$acl_libdirstem | */$acl_libdirstem/) -+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` -+ if test "$name" = 'intl'; then -+ LIBINTL_PREFIX="$basedir" -+ fi -+ additional_includedir="$basedir/include" -+ ;; -+ */$acl_libdirstem2 | */$acl_libdirstem2/) -+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` -+ if test "$name" = 'intl'; then -+ LIBINTL_PREFIX="$basedir" -+ fi -+ additional_includedir="$basedir/include" -+ ;; -+ esac -+ if test "X$additional_includedir" != "X"; then -+ if test "X$additional_includedir" != "X/usr/include"; then -+ haveit= -+ if test "X$additional_includedir" = "X/usr/local/include"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux* | gnu* | k*bsd*-gnu) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ for x in $CPPFLAGS $INCINTL; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-I$additional_includedir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_includedir"; then -+ INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" -+ fi -+ fi -+ fi -+ fi -+ fi -+ if test -n "$found_la"; then -+ save_libdir="$libdir" -+ case "$found_la" in -+ */* | *\\*) . "$found_la" ;; -+ *) . "./$found_la" ;; -+ esac -+ libdir="$save_libdir" -+ for dep in $dependency_libs; do -+ case "$dep" in -+ -L*) -+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` -+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ -+ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then -+ haveit= -+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ -+ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux* | gnu* | k*bsd*-gnu) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ haveit= -+ for x in $LDFLAGS $LIBINTL; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-L$additional_libdir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_libdir"; then -+ LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" -+ fi -+ fi -+ haveit= -+ for x in $LDFLAGS $LTLIBINTL; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X-L$additional_libdir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_libdir"; then -+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" -+ fi -+ fi -+ fi -+ fi -+ ;; -+ -R*) -+ dir=`echo "X$dep" | sed -e 's/^X-R//'` -+ if test "$enable_rpath" != no; then -+ haveit= -+ for x in $rpathdirs; do -+ if test "X$x" = "X$dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ rpathdirs="$rpathdirs $dir" -+ fi -+ haveit= -+ for x in $ltrpathdirs; do -+ if test "X$x" = "X$dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ ltrpathdirs="$ltrpathdirs $dir" -+ fi -+ fi -+ ;; -+ -l*) -+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` -+ ;; -+ *.la) -+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` -+ ;; -+ *) -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" -+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" -+ ;; -+ esac -+ done -+ fi -+ else -+ LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" -+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" -+ fi -+ fi -+ fi -+ done -+ done -+ if test "X$rpathdirs" != "X"; then -+ if test -n "$acl_hardcode_libdir_separator"; then -+ alldirs= -+ for found_dir in $rpathdirs; do -+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" -+ done -+ acl_save_libdir="$libdir" -+ libdir="$alldirs" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" -+ else -+ for found_dir in $rpathdirs; do -+ acl_save_libdir="$libdir" -+ libdir="$found_dir" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" -+ done -+ fi -+ fi -+ if test "X$ltrpathdirs" != "X"; then -+ for found_dir in $ltrpathdirs; do -+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" -+ done -+ fi -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 -+$as_echo_n "checking for GNU gettext in libintl... " >&6; } -+if eval \${$gt_func_gnugettext_libintl+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ gt_save_CPPFLAGS="$CPPFLAGS" -+ CPPFLAGS="$CPPFLAGS $INCINTL" -+ gt_save_LIBS="$LIBS" -+ LIBS="$LIBS $LIBINTL" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+$gt_revision_test_code -+extern int _nl_msg_cat_cntr; -+extern -+#ifdef __cplusplus -+"C" -+#endif -+const char *_nl_expand_alias (const char *); -+ -+int -+main () -+{ -+ -+bindtextdomain ("", ""); -+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ eval "$gt_func_gnugettext_libintl=yes" -+else -+ eval "$gt_func_gnugettext_libintl=no" -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then -+ LIBS="$LIBS $LIBICONV" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+$gt_revision_test_code -+extern int _nl_msg_cat_cntr; -+extern -+#ifdef __cplusplus -+"C" -+#endif -+const char *_nl_expand_alias (const char *); -+ -+int -+main () -+{ -+ -+bindtextdomain ("", ""); -+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ LIBINTL="$LIBINTL $LIBICONV" -+ LTLIBINTL="$LTLIBINTL $LTLIBICONV" -+ eval "$gt_func_gnugettext_libintl=yes" -+ -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ fi -+ CPPFLAGS="$gt_save_CPPFLAGS" -+ LIBS="$gt_save_LIBS" -+fi -+eval ac_res=\$$gt_func_gnugettext_libintl -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ fi -+ -+ if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ -+ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ -+ && test "$PACKAGE" != gettext-runtime \ -+ && test "$PACKAGE" != gettext-tools; }; then -+ gt_use_preinstalled_gnugettext=yes -+ else -+ LIBINTL= -+ LTLIBINTL= -+ INCINTL= -+ fi -+ -+ -+ -+ if test -n "$INTL_MACOSX_LIBS"; then -+ if test "$gt_use_preinstalled_gnugettext" = "yes" \ -+ || test "$nls_cv_use_gnu_gettext" = "yes"; then -+ LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" -+ LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" -+ fi -+ fi -+ -+ if test "$gt_use_preinstalled_gnugettext" = "yes" \ -+ || test "$nls_cv_use_gnu_gettext" = "yes"; then -+ -+$as_echo "#define ENABLE_NLS 1" >>confdefs.h -+ -+ else -+ USE_NLS=no -+ fi -+ fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 -+$as_echo_n "checking whether to use NLS... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 -+$as_echo "$USE_NLS" >&6; } -+ if test "$USE_NLS" = "yes"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 -+$as_echo_n "checking where the gettext function comes from... " >&6; } -+ if test "$gt_use_preinstalled_gnugettext" = "yes"; then -+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then -+ gt_source="external libintl" -+ else -+ gt_source="libc" -+ fi -+ else -+ gt_source="included intl directory" -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 -+$as_echo "$gt_source" >&6; } -+ fi -+ -+ if test "$USE_NLS" = "yes"; then -+ -+ if test "$gt_use_preinstalled_gnugettext" = "yes"; then -+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 -+$as_echo_n "checking how to link with libintl... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 -+$as_echo "$LIBINTL" >&6; } -+ -+ for element in $INCINTL; do -+ haveit= -+ for x in $CPPFLAGS; do -+ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ eval x=\"$x\" -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+ -+ if test "X$x" = "X$element"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" -+ fi -+ done -+ -+ fi -+ -+ -+$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h -+ -+ -+$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h -+ -+ fi -+ -+ POSUB=po -+ fi -+ -+ -+ -+ INTLLIBS="$LIBINTL" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 -+$as_echo_n "checking for mbstate_t... " >&6; } -+if ${ac_cv_type_mbstate_t+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$ac_includes_default -+/* Tru64 with Desktop Toolkit C has a bug: must be included before -+ . -+ BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+#include -+#include -+#include -+#include -+int -+main () -+{ -+mbstate_t x; return sizeof x; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_type_mbstate_t=yes -+else -+ ac_cv_type_mbstate_t=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 -+$as_echo "$ac_cv_type_mbstate_t" >&6; } -+ if test $ac_cv_type_mbstate_t = yes; then -+ -+$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h -+ -+ else -+ -+$as_echo "#define mbstate_t int" >>confdefs.h -+ -+ fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5 -+$as_echo_n "checking for wchar_t... " >&6; } -+if ${gt_cv_c_wchar_t+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ wchar_t foo = (wchar_t)'\0'; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gt_cv_c_wchar_t=yes -+else -+ gt_cv_c_wchar_t=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_c_wchar_t" >&5 -+$as_echo "$gt_cv_c_wchar_t" >&6; } -+ if test $gt_cv_c_wchar_t = yes; then -+ -+$as_echo "#define HAVE_WCHAR_T 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+if test "$am_cv_func_iconv" = yes -a -n "$am_cv_proto_iconv_arg1"; then -+ ICONV_CONST="const" -+else -+ ICONV_CONST="" -+fi -+ -+ -+if test $gt_cv_c_wchar_t = yes; then -+ HAVE_WCHAR_T=1 -+else -+ HAVE_WCHAR_T=0 -+fi -+ -+ -+for ac_func in getc_unlocked mbrtowc wcrtomb mbsinit setlocale -+do : -+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+done -+ -+ -+if test $ac_cv_func_wcrtomb = yes || test $ac_cv_func_mbrtowc = yes; then -+ USE_MBSTATE_T=1 -+else -+ USE_MBSTATE_T=0 -+fi -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether is standalone" >&5 -+$as_echo_n "checking whether is standalone... " >&6; } -+if ${gl_cv_header_wchar_h_standalone+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ wchar_t w; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_header_wchar_h_standalone=yes -+else -+ gl_cv_header_wchar_h_standalone=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_standalone" >&5 -+$as_echo "$gl_cv_header_wchar_h_standalone" >&6; } -+if test $gl_cv_header_wchar_h_standalone = yes; then -+ BROKEN_WCHAR_H=0 -+else -+ BROKEN_WCHAR_H=1 -+fi -+ -+ -+for ac_func in memmove -+do : -+ ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove" -+if test "x$ac_cv_func_memmove" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_MEMMOVE 1 -+_ACEOF -+ -+else -+ SRCLIBOBJS="$SRCLIBOBJS $ac_func.$ac_objext" -+fi -+done -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 -+$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } -+if ${am_cv_langinfo_codeset+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+char* cs = nl_langinfo(CODESET); return !cs; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ am_cv_langinfo_codeset=yes -+else -+ am_cv_langinfo_codeset=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 -+$as_echo "$am_cv_langinfo_codeset" >&6; } -+ if test $am_cv_langinfo_codeset = yes; then -+ -+$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 -+$as_echo_n "checking for working fcntl.h... " >&6; } -+if ${gl_cv_header_working_fcntl_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ gl_cv_header_working_fcntl_h=cross-compiling -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ #include -+ #include -+ #include -+ #ifndef O_NOATIME -+ #define O_NOATIME 0 -+ #endif -+ #ifndef O_NOFOLLOW -+ #define O_NOFOLLOW 0 -+ #endif -+ static int const constants[] = -+ { -+ O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, -+ O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY -+ }; -+ -+int -+main () -+{ -+ -+ int status = !constants; -+ { -+ static char const sym[] = "conftest.sym"; -+ if (symlink (".", sym) != 0 -+ || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0) -+ status |= 32; -+ unlink (sym); -+ } -+ { -+ static char const file[] = "confdefs.h"; -+ int fd = open (file, O_RDONLY | O_NOATIME); -+ char c; -+ struct stat st0, st1; -+ if (fd < 0 -+ || fstat (fd, &st0) != 0 -+ || sleep (1) != 0 -+ || read (fd, &c, 1) != 1 -+ || close (fd) != 0 -+ || stat (file, &st1) != 0 -+ || st0.st_atime != st1.st_atime) -+ status |= 64; -+ } -+ return status; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_header_working_fcntl_h=yes -+else -+ case $? in #( -+ 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( -+ 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( -+ 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( -+ *) gl_cv_header_working_fcntl_h='no';; -+ esac -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 -+$as_echo "$gl_cv_header_working_fcntl_h" >&6; } -+ -+ case $gl_cv_header_working_fcntl_h in #( -+ *O_NOATIME* | no | cross-compiling) ac_val=0;; #( -+ *) ac_val=1;; -+ esac -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_WORKING_O_NOATIME $ac_val -+_ACEOF -+ -+ -+ case $gl_cv_header_working_fcntl_h in #( -+ *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( -+ *) ac_val=1;; -+ esac -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_WORKING_O_NOFOLLOW $ac_val -+_ACEOF -+ -+ -+ -+ -+ -+ for ac_header in wchar.h -+do : -+ ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default" -+if test "x$ac_cv_header_wchar_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_WCHAR_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EILSEQ" >&5 -+$as_echo_n "checking for EILSEQ... " >&6; } -+if ${ac_cv_decl_EILSEQ+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#ifdef EILSEQ -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ have_eilseq=1 -+fi -+rm -f conftest* -+ -+ if test -n "$have_eilseq"; then -+ ac_cv_decl_EILSEQ=yes -+ else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#if HAVE_WCHAR_H -+#include -+#endif -+#ifdef EILSEQ -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ have_eilseq=1 -+fi -+rm -f conftest* -+ -+ if test -n "$have_eilseq"; then -+ if ac_fn_c_compute_int "$LINENO" "EILSEQ" "ac_cv_decl_EILSEQ" " -+#include -+#if HAVE_WCHAR_H -+#include -+#endif -+/* The following two lines are a workaround against an autoconf-2.52 bug. */ -+#include -+#include -+"; then : -+ -+fi -+ -+ -+ else -+ ac_cv_decl_EILSEQ=ENOENT -+ fi -+ fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_decl_EILSEQ" >&5 -+$as_echo "$ac_cv_decl_EILSEQ" >&6; } -+ if test "$ac_cv_decl_EILSEQ" != yes; then -+ -+cat >>confdefs.h <<_ACEOF -+#define EILSEQ $ac_cv_decl_EILSEQ -+_ACEOF -+ -+ EILSEQ="$ac_cv_decl_EILSEQ" -+ -+ fi -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking byte ordering" >&5 -+$as_echo_n "checking byte ordering... " >&6; } -+if ${cl_cv_sys_endian+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+if test "$cross_compiling" = yes; then : -+ : # must guess the endianness -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+int main () { -+ /* Are we little or big endian? From Harbison&Steele. */ -+ union -+ { -+ long l; -+ char c[sizeof (long)]; -+ } u; -+ u.l = 1; -+ exit (u.c[0] == 1); -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ cl_cv_sys_endian="big endian" -+else -+ cl_cv_sys_endian="little endian" -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+if test -z "$cl_cv_sys_endian"; then -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#if defined(m68k) || defined(__m68k__) || defined(mc68000) || defined(mc68020) || defined(__mc68020__) || defined(sparc) || defined(__sparc__) || defined(MIPSEB) || defined(__MIPSEB__) || defined(hppa) || defined(__hppa) || defined(m88000) || defined(__m88k__) -+ yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ cl_cv_sys_endian="big endian" -+fi -+rm -f conftest* -+ -+fi -+if test -z "$cl_cv_sys_endian"; then -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#if defined(i386) || defined(__i386) || defined(__i386__) || defined(_I386) || defined(MIPSEL) || defined(__MIPSEL__) || defined(__alpha) -+ yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ cl_cv_sys_endian="little endian" -+fi -+rm -f conftest* -+ -+fi -+if test -z "$cl_cv_sys_endian"; then -+cl_cv_sys_endian="guessing little endian" -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cl_cv_sys_endian" >&5 -+$as_echo "$cl_cv_sys_endian" >&6; } -+case "$cl_cv_sys_endian" in -+ *little*) -+ -+$as_echo "#define WORDS_LITTLEENDIAN 1" >>confdefs.h -+ ;; -+ *big*) ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ LIBC_FATAL_STDERR_=1 -+ export LIBC_FATAL_STDERR_ -+ -+ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" -+if test "x$ac_cv_type_size_t" = xyes; then : -+ -+else -+ -+cat >>confdefs.h <<_ACEOF -+#define size_t unsigned int -+_ACEOF -+ -+fi -+ -+# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works -+# for constant arguments. Useless! -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5 -+$as_echo_n "checking for working alloca.h... " >&6; } -+if ${ac_cv_working_alloca_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+char *p = (char *) alloca (2 * sizeof (int)); -+ if (p) return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_working_alloca_h=yes -+else -+ ac_cv_working_alloca_h=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5 -+$as_echo "$ac_cv_working_alloca_h" >&6; } -+if test $ac_cv_working_alloca_h = yes; then -+ -+$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h -+ -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5 -+$as_echo_n "checking for alloca... " >&6; } -+if ${ac_cv_func_alloca_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __GNUC__ -+# define alloca __builtin_alloca -+#else -+# ifdef _MSC_VER -+# include -+# define alloca _alloca -+# else -+# ifdef HAVE_ALLOCA_H -+# include -+# else -+# ifdef _AIX -+ #pragma alloca -+# else -+# ifndef alloca /* predefined by HP cc +Olibcalls */ -+void *alloca (size_t); -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+int -+main () -+{ -+char *p = (char *) alloca (1); -+ if (p) return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_func_alloca_works=yes -+else -+ ac_cv_func_alloca_works=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5 -+$as_echo "$ac_cv_func_alloca_works" >&6; } -+ -+if test $ac_cv_func_alloca_works = yes; then -+ -+$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h -+ -+else -+ # The SVR3 libPW and SVR4 libucb both contain incompatible functions -+# that cause trouble. Some versions do not even contain alloca or -+# contain a buggy version. If you still want to use their alloca, -+# use ar to extract alloca.o from them instead of compiling alloca.c. -+ -+ -+ -+ -+ -+ALLOCA=\${LIBOBJDIR}alloca.$ac_objext -+ -+$as_echo "#define C_ALLOCA 1" >>confdefs.h -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5 -+$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; } -+if ${ac_cv_os_cray+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#if defined CRAY && ! defined CRAY2 -+webecray -+#else -+wenotbecray -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "webecray" >/dev/null 2>&1; then : -+ ac_cv_os_cray=yes -+else -+ ac_cv_os_cray=no -+fi -+rm -f conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5 -+$as_echo "$ac_cv_os_cray" >&6; } -+if test $ac_cv_os_cray = yes; then -+ for ac_func in _getb67 GETB67 getb67; do -+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : -+ -+cat >>confdefs.h <<_ACEOF -+#define CRAY_STACKSEG_END $ac_func -+_ACEOF -+ -+ break -+fi -+ -+ done -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5 -+$as_echo_n "checking stack direction for C alloca... " >&6; } -+if ${ac_cv_c_stack_direction+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ ac_cv_c_stack_direction=0 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$ac_includes_default -+int -+find_stack_direction (int *addr, int depth) -+{ -+ int dir, dummy = 0; -+ if (! addr) -+ addr = &dummy; -+ *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1; -+ dir = depth ? find_stack_direction (addr, depth - 1) : 0; -+ return dir + dummy; -+} -+ -+int -+main (int argc, char **argv) -+{ -+ return find_stack_direction (0, argc + !argv + 20) < 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ ac_cv_c_stack_direction=1 -+else -+ ac_cv_c_stack_direction=-1 -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5 -+$as_echo "$ac_cv_c_stack_direction" >&6; } -+cat >>confdefs.h <<_ACEOF -+#define STACK_DIRECTION $ac_cv_c_stack_direction -+_ACEOF -+ -+ -+fi -+ -+ -+ -+ -+ for ac_header in $ac_header_list -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -+" -+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ -+ -+ -+ -+ GNULIB__EXIT=0; -+ GNULIB_ATOLL=0; -+ GNULIB_CALLOC_POSIX=0; -+ GNULIB_CANONICALIZE_FILE_NAME=0; -+ GNULIB_GETLOADAVG=0; -+ GNULIB_GETSUBOPT=0; -+ GNULIB_GRANTPT=0; -+ GNULIB_MALLOC_POSIX=0; -+ GNULIB_MBTOWC=0; -+ GNULIB_MKDTEMP=0; -+ GNULIB_MKOSTEMP=0; -+ GNULIB_MKOSTEMPS=0; -+ GNULIB_MKSTEMP=0; -+ GNULIB_MKSTEMPS=0; -+ GNULIB_POSIX_OPENPT=0; -+ GNULIB_PTSNAME=0; -+ GNULIB_PTSNAME_R=0; -+ GNULIB_PUTENV=0; -+ GNULIB_RANDOM=0; -+ GNULIB_RANDOM_R=0; -+ GNULIB_REALLOC_POSIX=0; -+ GNULIB_REALPATH=0; -+ GNULIB_RPMATCH=0; -+ GNULIB_SECURE_GETENV=0; -+ GNULIB_SETENV=0; -+ GNULIB_STRTOD=0; -+ GNULIB_STRTOLL=0; -+ GNULIB_STRTOULL=0; -+ GNULIB_SYSTEM_POSIX=0; -+ GNULIB_UNLOCKPT=0; -+ GNULIB_UNSETENV=0; -+ GNULIB_WCTOMB=0; -+ HAVE__EXIT=1; -+ HAVE_ATOLL=1; -+ HAVE_CANONICALIZE_FILE_NAME=1; -+ HAVE_DECL_GETLOADAVG=1; -+ HAVE_GETSUBOPT=1; -+ HAVE_GRANTPT=1; -+ HAVE_MKDTEMP=1; -+ HAVE_MKOSTEMP=1; -+ HAVE_MKOSTEMPS=1; -+ HAVE_MKSTEMP=1; -+ HAVE_MKSTEMPS=1; -+ HAVE_POSIX_OPENPT=1; -+ HAVE_PTSNAME=1; -+ HAVE_PTSNAME_R=1; -+ HAVE_RANDOM=1; -+ HAVE_RANDOM_H=1; -+ HAVE_RANDOM_R=1; -+ HAVE_REALPATH=1; -+ HAVE_RPMATCH=1; -+ HAVE_SECURE_GETENV=1; -+ HAVE_SETENV=1; -+ HAVE_DECL_SETENV=1; -+ HAVE_STRTOD=1; -+ HAVE_STRTOLL=1; -+ HAVE_STRTOULL=1; -+ HAVE_STRUCT_RANDOM_DATA=1; -+ HAVE_SYS_LOADAVG_H=0; -+ HAVE_UNLOCKPT=1; -+ HAVE_DECL_UNSETENV=1; -+ REPLACE_CALLOC=0; -+ REPLACE_CANONICALIZE_FILE_NAME=0; -+ REPLACE_MALLOC=0; -+ REPLACE_MBTOWC=0; -+ REPLACE_MKSTEMP=0; -+ REPLACE_PTSNAME=0; -+ REPLACE_PTSNAME_R=0; -+ REPLACE_PUTENV=0; -+ REPLACE_RANDOM_R=0; -+ REPLACE_REALLOC=0; -+ REPLACE_REALPATH=0; -+ REPLACE_SETENV=0; -+ REPLACE_STRTOD=0; -+ REPLACE_UNSETENV=0; -+ REPLACE_WCTOMB=0; -+ -+ -+ -+ -+ for ac_func in $ac_func_list -+do : -+ as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -+if eval test \"x\$"$as_ac_var"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+done -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 -+$as_echo_n "checking whether // is distinct from /... " >&6; } -+if ${gl_cv_double_slash_root+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test x"$cross_compiling" = xyes ; then -+ # When cross-compiling, there is no way to tell whether // is special -+ # short of a list of hosts. However, the only known hosts to date -+ # that have a distinct // are Apollo DomainOS (too old to port to), -+ # Cygwin, and z/OS. If anyone knows of another system for which // has -+ # special semantics and is distinct from /, please report it to -+ # . -+ case $host in -+ *-cygwin | i370-ibm-openedition) -+ gl_cv_double_slash_root=yes ;; -+ *) -+ # Be optimistic and assume that / and // are the same when we -+ # don't know. -+ gl_cv_double_slash_root='unknown, assuming no' ;; -+ esac -+ else -+ set x `ls -di / // 2>/dev/null` -+ if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then -+ gl_cv_double_slash_root=no -+ else -+ gl_cv_double_slash_root=yes -+ fi -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 -+$as_echo "$gl_cv_double_slash_root" >&6; } -+ if test "$gl_cv_double_slash_root" = yes; then -+ -+$as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether realpath works" >&5 -+$as_echo_n "checking whether realpath works... " >&6; } -+if ${gl_cv_func_realpath_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ touch conftest.a -+ mkdir conftest.d -+ if test "$cross_compiling" = yes; then : -+ case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_realpath_works="guessing no" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ -+ -+#include -+#if defined __MACH__ && defined __APPLE__ -+/* Avoid a crash on Mac OS X. */ -+#include -+#include -+#include -+#include -+#include -+#include -+/* The exception port on which our thread listens. */ -+static mach_port_t our_exception_port; -+/* The main function of the thread listening for exceptions of type -+ EXC_BAD_ACCESS. */ -+static void * -+mach_exception_thread (void *arg) -+{ -+ /* Buffer for a message to be received. */ -+ struct { -+ mach_msg_header_t head; -+ mach_msg_body_t msgh_body; -+ char data[1024]; -+ } msg; -+ mach_msg_return_t retval; -+ /* Wait for a message on the exception port. */ -+ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), -+ our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); -+ if (retval != MACH_MSG_SUCCESS) -+ abort (); -+ exit (1); -+} -+static void -+nocrash_init (void) -+{ -+ mach_port_t self = mach_task_self (); -+ /* Allocate a port on which the thread shall listen for exceptions. */ -+ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) -+ == KERN_SUCCESS) { -+ /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ -+ if (mach_port_insert_right (self, our_exception_port, our_exception_port, -+ MACH_MSG_TYPE_MAKE_SEND) -+ == KERN_SUCCESS) { -+ /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting -+ for us. */ -+ exception_mask_t mask = EXC_MASK_BAD_ACCESS; -+ /* Create the thread listening on the exception port. */ -+ pthread_attr_t attr; -+ pthread_t thread; -+ if (pthread_attr_init (&attr) == 0 -+ && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 -+ && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { -+ pthread_attr_destroy (&attr); -+ /* Replace the exception port info for these exceptions with our own. -+ Note that we replace the exception port for the entire task, not only -+ for a particular thread. This has the effect that when our exception -+ port gets the message, the thread specific exception port has already -+ been asked, and we don't need to bother about it. -+ See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ -+ task_set_exception_ports (self, mask, our_exception_port, -+ EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); -+ } -+ } -+ } -+} -+#elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+/* Avoid a crash on native Windows. */ -+#define WIN32_LEAN_AND_MEAN -+#include -+#include -+static LONG WINAPI -+exception_filter (EXCEPTION_POINTERS *ExceptionInfo) -+{ -+ switch (ExceptionInfo->ExceptionRecord->ExceptionCode) -+ { -+ case EXCEPTION_ACCESS_VIOLATION: -+ case EXCEPTION_IN_PAGE_ERROR: -+ case EXCEPTION_STACK_OVERFLOW: -+ case EXCEPTION_GUARD_PAGE: -+ case EXCEPTION_PRIV_INSTRUCTION: -+ case EXCEPTION_ILLEGAL_INSTRUCTION: -+ case EXCEPTION_DATATYPE_MISALIGNMENT: -+ case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: -+ case EXCEPTION_NONCONTINUABLE_EXCEPTION: -+ exit (1); -+ } -+ return EXCEPTION_CONTINUE_SEARCH; -+} -+static void -+nocrash_init (void) -+{ -+ SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); -+} -+#else -+/* Avoid a crash on POSIX systems. */ -+#include -+/* A POSIX signal handler. */ -+static void -+exception_handler (int sig) -+{ -+ exit (1); -+} -+static void -+nocrash_init (void) -+{ -+#ifdef SIGSEGV -+ signal (SIGSEGV, exception_handler); -+#endif -+#ifdef SIGBUS -+ signal (SIGBUS, exception_handler); -+#endif -+} -+#endif -+ -+ #include -+ #include -+ -+int -+main () -+{ -+ -+ int result = 0; -+ { -+ char *name = realpath ("conftest.a", NULL); -+ if (!(name && *name == '/')) -+ result |= 1; -+ } -+ { -+ char *name = realpath ("conftest.b/../conftest.a", NULL); -+ if (name != NULL) -+ result |= 2; -+ } -+ { -+ char *name = realpath ("conftest.a/", NULL); -+ if (name != NULL) -+ result |= 4; -+ } -+ { -+ char *name1 = realpath (".", NULL); -+ char *name2 = realpath ("conftest.d//./..", NULL); -+ if (strcmp (name1, name2) != 0) -+ result |= 8; -+ } -+ return result; -+ -+ ; -+ return 0; -+} -+ -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_func_realpath_works=yes -+else -+ gl_cv_func_realpath_works=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ rm -rf conftest.a conftest.d -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_realpath_works" >&5 -+$as_echo "$gl_cv_func_realpath_works" >&6; } -+ case "$gl_cv_func_realpath_works" in -+ *yes) -+ -+$as_echo "#define FUNC_REALPATH_WORKS 1" >>confdefs.h -+ -+ ;; -+ esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ GNULIB_CHDIR=0; -+ GNULIB_CHOWN=0; -+ GNULIB_CLOSE=0; -+ GNULIB_DUP=0; -+ GNULIB_DUP2=0; -+ GNULIB_DUP3=0; -+ GNULIB_ENVIRON=0; -+ GNULIB_EUIDACCESS=0; -+ GNULIB_FACCESSAT=0; -+ GNULIB_FCHDIR=0; -+ GNULIB_FCHOWNAT=0; -+ GNULIB_FDATASYNC=0; -+ GNULIB_FSYNC=0; -+ GNULIB_FTRUNCATE=0; -+ GNULIB_GETCWD=0; -+ GNULIB_GETDOMAINNAME=0; -+ GNULIB_GETDTABLESIZE=0; -+ GNULIB_GETGROUPS=0; -+ GNULIB_GETHOSTNAME=0; -+ GNULIB_GETLOGIN=0; -+ GNULIB_GETLOGIN_R=0; -+ GNULIB_GETPAGESIZE=0; -+ GNULIB_GETUSERSHELL=0; -+ GNULIB_GROUP_MEMBER=0; -+ GNULIB_ISATTY=0; -+ GNULIB_LCHOWN=0; -+ GNULIB_LINK=0; -+ GNULIB_LINKAT=0; -+ GNULIB_LSEEK=0; -+ GNULIB_PIPE=0; -+ GNULIB_PIPE2=0; -+ GNULIB_PREAD=0; -+ GNULIB_PWRITE=0; -+ GNULIB_READ=0; -+ GNULIB_READLINK=0; -+ GNULIB_READLINKAT=0; -+ GNULIB_RMDIR=0; -+ GNULIB_SETHOSTNAME=0; -+ GNULIB_SLEEP=0; -+ GNULIB_SYMLINK=0; -+ GNULIB_SYMLINKAT=0; -+ GNULIB_TTYNAME_R=0; -+ GNULIB_UNISTD_H_NONBLOCKING=0; -+ GNULIB_UNISTD_H_SIGPIPE=0; -+ GNULIB_UNLINK=0; -+ GNULIB_UNLINKAT=0; -+ GNULIB_USLEEP=0; -+ GNULIB_WRITE=0; -+ HAVE_CHOWN=1; -+ HAVE_DUP2=1; -+ HAVE_DUP3=1; -+ HAVE_EUIDACCESS=1; -+ HAVE_FACCESSAT=1; -+ HAVE_FCHDIR=1; -+ HAVE_FCHOWNAT=1; -+ HAVE_FDATASYNC=1; -+ HAVE_FSYNC=1; -+ HAVE_FTRUNCATE=1; -+ HAVE_GETDTABLESIZE=1; -+ HAVE_GETGROUPS=1; -+ HAVE_GETHOSTNAME=1; -+ HAVE_GETLOGIN=1; -+ HAVE_GETPAGESIZE=1; -+ HAVE_GROUP_MEMBER=1; -+ HAVE_LCHOWN=1; -+ HAVE_LINK=1; -+ HAVE_LINKAT=1; -+ HAVE_PIPE=1; -+ HAVE_PIPE2=1; -+ HAVE_PREAD=1; -+ HAVE_PWRITE=1; -+ HAVE_READLINK=1; -+ HAVE_READLINKAT=1; -+ HAVE_SETHOSTNAME=1; -+ HAVE_SLEEP=1; -+ HAVE_SYMLINK=1; -+ HAVE_SYMLINKAT=1; -+ HAVE_UNLINKAT=1; -+ HAVE_USLEEP=1; -+ HAVE_DECL_ENVIRON=1; -+ HAVE_DECL_FCHDIR=1; -+ HAVE_DECL_FDATASYNC=1; -+ HAVE_DECL_GETDOMAINNAME=1; -+ HAVE_DECL_GETLOGIN_R=1; -+ HAVE_DECL_GETPAGESIZE=1; -+ HAVE_DECL_GETUSERSHELL=1; -+ HAVE_DECL_SETHOSTNAME=1; -+ HAVE_DECL_TTYNAME_R=1; -+ HAVE_OS_H=0; -+ HAVE_SYS_PARAM_H=0; -+ REPLACE_CHOWN=0; -+ REPLACE_CLOSE=0; -+ REPLACE_DUP=0; -+ REPLACE_DUP2=0; -+ REPLACE_FCHOWNAT=0; -+ REPLACE_FTRUNCATE=0; -+ REPLACE_GETCWD=0; -+ REPLACE_GETDOMAINNAME=0; -+ REPLACE_GETLOGIN_R=0; -+ REPLACE_GETGROUPS=0; -+ REPLACE_GETPAGESIZE=0; -+ REPLACE_ISATTY=0; -+ REPLACE_LCHOWN=0; -+ REPLACE_LINK=0; -+ REPLACE_LINKAT=0; -+ REPLACE_LSEEK=0; -+ REPLACE_PREAD=0; -+ REPLACE_PWRITE=0; -+ REPLACE_READ=0; -+ REPLACE_READLINK=0; -+ REPLACE_RMDIR=0; -+ REPLACE_SLEEP=0; -+ REPLACE_SYMLINK=0; -+ REPLACE_TTYNAME_R=0; -+ REPLACE_UNLINK=0; -+ REPLACE_UNLINKAT=0; -+ REPLACE_USLEEP=0; -+ REPLACE_WRITE=0; -+ UNISTD_H_HAVE_WINSOCK2_H=0; -+ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if environ is properly declared" >&5 -+$as_echo_n "checking if environ is properly declared... " >&6; } -+ if ${gt_cv_var_environ_declaration+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#if HAVE_UNISTD_H -+ #include -+ #endif -+ /* mingw, BeOS, Haiku declare environ in , not in . */ -+ #include -+ -+ extern struct { int foo; } environ; -+int -+main () -+{ -+environ.foo = 1; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gt_cv_var_environ_declaration=no -+else -+ gt_cv_var_environ_declaration=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_var_environ_declaration" >&5 -+$as_echo "$gt_cv_var_environ_declaration" >&6; } -+ if test $gt_cv_var_environ_declaration = yes; then -+ -+$as_echo "#define HAVE_ENVIRON_DECL 1" >>confdefs.h -+ -+ fi -+ -+ -+ if test $gt_cv_var_environ_declaration != yes; then -+ HAVE_DECL_ENVIRON=0 -+ fi -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5 -+$as_echo_n "checking whether the preprocessor supports include_next... " >&6; } -+if ${gl_cv_have_include_next+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ rm -rf conftestd1a conftestd1b conftestd2 -+ mkdir conftestd1a conftestd1b conftestd2 -+ cat < conftestd1a/conftest.h -+#define DEFINED_IN_CONFTESTD1 -+#include_next -+#ifdef DEFINED_IN_CONFTESTD2 -+int foo; -+#else -+#error "include_next doesn't work" -+#endif -+EOF -+ cat < conftestd1b/conftest.h -+#define DEFINED_IN_CONFTESTD1 -+#include -+#include_next -+#ifdef DEFINED_IN_CONFTESTD2 -+int foo; -+#else -+#error "include_next doesn't work" -+#endif -+EOF -+ cat < conftestd2/conftest.h -+#ifndef DEFINED_IN_CONFTESTD1 -+#error "include_next test doesn't work" -+#endif -+#define DEFINED_IN_CONFTESTD2 -+EOF -+ gl_save_CPPFLAGS="$CPPFLAGS" -+ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_have_include_next=yes -+else -+ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_have_include_next=buggy -+else -+ gl_cv_have_include_next=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ CPPFLAGS="$gl_save_CPPFLAGS" -+ rm -rf conftestd1a conftestd1b conftestd2 -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_have_include_next" >&5 -+$as_echo "$gl_cv_have_include_next" >&6; } -+ PRAGMA_SYSTEM_HEADER= -+ if test $gl_cv_have_include_next = yes; then -+ INCLUDE_NEXT=include_next -+ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next -+ if test -n "$GCC"; then -+ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' -+ fi -+ else -+ if test $gl_cv_have_include_next = buggy; then -+ INCLUDE_NEXT=include -+ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next -+ else -+ INCLUDE_NEXT=include -+ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include -+ fi -+ fi -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5 -+$as_echo_n "checking whether system header files limit the line length... " >&6; } -+if ${gl_cv_pragma_columns+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#ifdef __TANDEM -+choke me -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "choke me" >/dev/null 2>&1; then : -+ gl_cv_pragma_columns=yes -+else -+ gl_cv_pragma_columns=no -+fi -+rm -f conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5 -+$as_echo "$gl_cv_pragma_columns" >&6; } -+ if test $gl_cv_pragma_columns = yes; then -+ PRAGMA_COLUMNS="#pragma COLUMNS 10000" -+ else -+ PRAGMA_COLUMNS= -+ fi -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5 -+$as_echo_n "checking for complete errno.h... " >&6; } -+if ${gl_cv_header_errno_h_complete+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#if !defined ETXTBSY -+booboo -+#endif -+#if !defined ENOMSG -+booboo -+#endif -+#if !defined EIDRM -+booboo -+#endif -+#if !defined ENOLINK -+booboo -+#endif -+#if !defined EPROTO -+booboo -+#endif -+#if !defined EMULTIHOP -+booboo -+#endif -+#if !defined EBADMSG -+booboo -+#endif -+#if !defined EOVERFLOW -+booboo -+#endif -+#if !defined ENOTSUP -+booboo -+#endif -+#if !defined ENETRESET -+booboo -+#endif -+#if !defined ECONNABORTED -+booboo -+#endif -+#if !defined ESTALE -+booboo -+#endif -+#if !defined EDQUOT -+booboo -+#endif -+#if !defined ECANCELED -+booboo -+#endif -+#if !defined EOWNERDEAD -+booboo -+#endif -+#if !defined ENOTRECOVERABLE -+booboo -+#endif -+#if !defined EILSEQ -+booboo -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "booboo" >/dev/null 2>&1; then : -+ gl_cv_header_errno_h_complete=no -+else -+ gl_cv_header_errno_h_complete=yes -+fi -+rm -f conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_complete" >&5 -+$as_echo "$gl_cv_header_errno_h_complete" >&6; } -+ if test $gl_cv_header_errno_h_complete = yes; then -+ ERRNO_H='' -+ else -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_errno_h='<'errno.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_errno_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'errno.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5 -+$as_echo "$gl_cv_next_errno_h" >&6; } -+ fi -+ NEXT_ERRNO_H=$gl_cv_next_errno_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'errno.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_errno_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_ERRNO_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ ERRNO_H='errno.h' -+ fi -+ -+ if test -n "$ERRNO_H"; then -+ GL_GENERATE_ERRNO_H_TRUE= -+ GL_GENERATE_ERRNO_H_FALSE='#' -+else -+ GL_GENERATE_ERRNO_H_TRUE='#' -+ GL_GENERATE_ERRNO_H_FALSE= -+fi -+ -+ -+ if test -n "$ERRNO_H"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5 -+$as_echo_n "checking for EMULTIHOP value... " >&6; } -+if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#ifdef EMULTIHOP -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ gl_cv_header_errno_h_EMULTIHOP=yes -+else -+ gl_cv_header_errno_h_EMULTIHOP=no -+fi -+rm -f conftest* -+ -+ if test $gl_cv_header_errno_h_EMULTIHOP = no; then -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+#ifdef EMULTIHOP -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ gl_cv_header_errno_h_EMULTIHOP=hidden -+fi -+rm -f conftest* -+ -+ if test $gl_cv_header_errno_h_EMULTIHOP = hidden; then -+ if ac_fn_c_compute_int "$LINENO" "EMULTIHOP" "gl_cv_header_errno_h_EMULTIHOP" " -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+/* The following two lines are a workaround against an autoconf-2.52 bug. */ -+#include -+#include -+"; then : -+ -+fi -+ -+ fi -+ fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EMULTIHOP" >&5 -+$as_echo "$gl_cv_header_errno_h_EMULTIHOP" >&6; } -+ case $gl_cv_header_errno_h_EMULTIHOP in -+ yes | no) -+ EMULTIHOP_HIDDEN=0; EMULTIHOP_VALUE= -+ ;; -+ *) -+ EMULTIHOP_HIDDEN=1; EMULTIHOP_VALUE="$gl_cv_header_errno_h_EMULTIHOP" -+ ;; -+ esac -+ -+ -+ fi -+ -+ -+ if test -n "$ERRNO_H"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5 -+$as_echo_n "checking for ENOLINK value... " >&6; } -+if ${gl_cv_header_errno_h_ENOLINK+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#ifdef ENOLINK -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ gl_cv_header_errno_h_ENOLINK=yes -+else -+ gl_cv_header_errno_h_ENOLINK=no -+fi -+rm -f conftest* -+ -+ if test $gl_cv_header_errno_h_ENOLINK = no; then -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+#ifdef ENOLINK -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ gl_cv_header_errno_h_ENOLINK=hidden -+fi -+rm -f conftest* -+ -+ if test $gl_cv_header_errno_h_ENOLINK = hidden; then -+ if ac_fn_c_compute_int "$LINENO" "ENOLINK" "gl_cv_header_errno_h_ENOLINK" " -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+/* The following two lines are a workaround against an autoconf-2.52 bug. */ -+#include -+#include -+"; then : -+ -+fi -+ -+ fi -+ fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_ENOLINK" >&5 -+$as_echo "$gl_cv_header_errno_h_ENOLINK" >&6; } -+ case $gl_cv_header_errno_h_ENOLINK in -+ yes | no) -+ ENOLINK_HIDDEN=0; ENOLINK_VALUE= -+ ;; -+ *) -+ ENOLINK_HIDDEN=1; ENOLINK_VALUE="$gl_cv_header_errno_h_ENOLINK" -+ ;; -+ esac -+ -+ -+ fi -+ -+ -+ if test -n "$ERRNO_H"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5 -+$as_echo_n "checking for EOVERFLOW value... " >&6; } -+if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#ifdef EOVERFLOW -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ gl_cv_header_errno_h_EOVERFLOW=yes -+else -+ gl_cv_header_errno_h_EOVERFLOW=no -+fi -+rm -f conftest* -+ -+ if test $gl_cv_header_errno_h_EOVERFLOW = no; then -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+#ifdef EOVERFLOW -+yes -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "yes" >/dev/null 2>&1; then : -+ gl_cv_header_errno_h_EOVERFLOW=hidden -+fi -+rm -f conftest* -+ -+ if test $gl_cv_header_errno_h_EOVERFLOW = hidden; then -+ if ac_fn_c_compute_int "$LINENO" "EOVERFLOW" "gl_cv_header_errno_h_EOVERFLOW" " -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+/* The following two lines are a workaround against an autoconf-2.52 bug. */ -+#include -+#include -+"; then : -+ -+fi -+ -+ fi -+ fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_errno_h_EOVERFLOW" >&5 -+$as_echo "$gl_cv_header_errno_h_EOVERFLOW" >&6; } -+ case $gl_cv_header_errno_h_EOVERFLOW in -+ yes | no) -+ EOVERFLOW_HIDDEN=0; EOVERFLOW_VALUE= -+ ;; -+ *) -+ EOVERFLOW_HIDDEN=1; EOVERFLOW_VALUE="$gl_cv_header_errno_h_EOVERFLOW" -+ ;; -+ esac -+ -+ -+ fi -+ -+ -+ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" -+if test "x$ac_cv_have_decl_strerror_r" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_STRERROR_R $ac_have_decl -+_ACEOF -+ -+for ac_func in strerror_r -+do : -+ ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" -+if test "x$ac_cv_func_strerror_r" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_STRERROR_R 1 -+_ACEOF -+ -+fi -+done -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 -+$as_echo_n "checking whether strerror_r returns char *... " >&6; } -+if ${ac_cv_func_strerror_r_char_p+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ ac_cv_func_strerror_r_char_p=no -+ if test $ac_cv_have_decl_strerror_r = yes; then -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$ac_includes_default -+int -+main () -+{ -+ -+ char buf[100]; -+ char x = *strerror_r (0, buf, sizeof buf); -+ char *p = strerror_r (0, buf, sizeof buf); -+ return !p || x; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_func_strerror_r_char_p=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ else -+ # strerror_r is not declared. Choose between -+ # systems that have relatively inaccessible declarations for the -+ # function. BeOS and DEC UNIX 4.0 fall in this category, but the -+ # former has a strerror_r that returns char*, while the latter -+ # has a strerror_r that returns `int'. -+ # This test should segfault on the DEC system. -+ if test "$cross_compiling" = yes; then : -+ : -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$ac_includes_default -+ extern char *strerror_r (); -+int -+main () -+{ -+char buf[100]; -+ char x = *strerror_r (0, buf, sizeof buf); -+ return ! isalpha (x); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ ac_cv_func_strerror_r_char_p=yes -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 -+$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } -+if test $ac_cv_func_strerror_r_char_p = yes; then -+ -+$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h -+ -+fi -+ -+ -+ XGETTEXT_EXTRA_OPTIONS= -+ -+ -+ -+ -+ -+ GNULIB_FCNTL=0; -+ GNULIB_NONBLOCKING=0; -+ GNULIB_OPEN=0; -+ GNULIB_OPENAT=0; -+ HAVE_FCNTL=1; -+ HAVE_OPENAT=1; -+ REPLACE_FCNTL=0; -+ REPLACE_OPEN=0; -+ REPLACE_OPENAT=0; -+ -+ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" -+if test "x$ac_cv_type_pid_t" = xyes; then : -+ -+else -+ -+cat >>confdefs.h <<_ACEOF -+#define pid_t int -+_ACEOF -+ -+fi -+ -+ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" -+if test "x$ac_cv_type_mode_t" = xyes; then : -+ -+else -+ -+cat >>confdefs.h <<_ACEOF -+#define mode_t int -+_ACEOF -+ -+fi -+ -+ -+ -+ case "$host_os" in -+ mingw*) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit off_t" >&5 -+$as_echo_n "checking for 64-bit off_t... " >&6; } -+if ${gl_cv_type_off_t_64+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_type_off_t_64=yes -+else -+ gl_cv_type_off_t_64=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_type_off_t_64" >&5 -+$as_echo "$gl_cv_type_off_t_64" >&6; } -+ if test $gl_cv_type_off_t_64 = no; then -+ WINDOWS_64_BIT_OFF_T=1 -+ else -+ WINDOWS_64_BIT_OFF_T=0 -+ fi -+ WINDOWS_64_BIT_ST_SIZE=1 -+ ;; -+ *) -+ WINDOWS_64_BIT_OFF_T=0 -+ WINDOWS_64_BIT_ST_SIZE=0 -+ ;; -+ esac -+ -+ -+ GNULIB_FCHMODAT=0; -+ GNULIB_FSTAT=0; -+ GNULIB_FSTATAT=0; -+ GNULIB_FUTIMENS=0; -+ GNULIB_LCHMOD=0; -+ GNULIB_LSTAT=0; -+ GNULIB_MKDIRAT=0; -+ GNULIB_MKFIFO=0; -+ GNULIB_MKFIFOAT=0; -+ GNULIB_MKNOD=0; -+ GNULIB_MKNODAT=0; -+ GNULIB_STAT=0; -+ GNULIB_UTIMENSAT=0; -+ HAVE_FCHMODAT=1; -+ HAVE_FSTATAT=1; -+ HAVE_FUTIMENS=1; -+ HAVE_LCHMOD=1; -+ HAVE_LSTAT=1; -+ HAVE_MKDIRAT=1; -+ HAVE_MKFIFO=1; -+ HAVE_MKFIFOAT=1; -+ HAVE_MKNOD=1; -+ HAVE_MKNODAT=1; -+ HAVE_UTIMENSAT=1; -+ REPLACE_FSTAT=0; -+ REPLACE_FSTATAT=0; -+ REPLACE_FUTIMENS=0; -+ REPLACE_LSTAT=0; -+ REPLACE_MKDIR=0; -+ REPLACE_MKFIFO=0; -+ REPLACE_MKNOD=0; -+ REPLACE_STAT=0; -+ REPLACE_UTIMENSAT=0; -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5 -+$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; } -+if ${gl_cv_func_lstat_dereferences_slashed_symlink+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ rm -f conftest.sym conftest.file -+ echo >conftest.file -+ if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then -+ if test "$cross_compiling" = yes; then : -+ case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$ac_includes_default -+int -+main () -+{ -+struct stat sbuf; -+ /* Linux will dereference the symlink and fail, as required by -+ POSIX. That is better in the sense that it means we will not -+ have to compile and use the lstat wrapper. */ -+ return lstat ("conftest.sym/", &sbuf) == 0; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_func_lstat_dereferences_slashed_symlink=yes -+else -+ gl_cv_func_lstat_dereferences_slashed_symlink=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ else -+ # If the 'ln -s' command failed, then we probably don't even -+ # have an lstat function. -+ gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" -+ fi -+ rm -f conftest.sym conftest.file -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_lstat_dereferences_slashed_symlink" >&5 -+$as_echo "$gl_cv_func_lstat_dereferences_slashed_symlink" >&6; } -+ case "$gl_cv_func_lstat_dereferences_slashed_symlink" in -+ *yes) -+ -+cat >>confdefs.h <<_ACEOF -+#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 -+_ACEOF -+ -+ ;; -+ esac -+ -+ -+ for ac_header in stdlib.h -+do : -+ ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" -+if test "x$ac_cv_header_stdlib_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_STDLIB_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 -+$as_echo_n "checking for GNU libc compatible malloc... " >&6; } -+if ${ac_cv_func_malloc_0_nonnull+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ ac_cv_func_malloc_0_nonnull=no -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#if defined STDC_HEADERS || defined HAVE_STDLIB_H -+# include -+#else -+char *malloc (); -+#endif -+ -+int -+main () -+{ -+return ! malloc (0); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ ac_cv_func_malloc_0_nonnull=yes -+else -+ ac_cv_func_malloc_0_nonnull=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 -+$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } -+if test $ac_cv_func_malloc_0_nonnull = yes; then : -+ gl_cv_func_malloc_0_nonnull=1 -+else -+ gl_cv_func_malloc_0_nonnull=0 -+fi -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define MALLOC_0_IS_NONNULL $gl_cv_func_malloc_0_nonnull -+_ACEOF -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5 -+$as_echo_n "checking for unsigned long long int... " >&6; } -+if ${ac_cv_type_unsigned_long_long_int+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_type_unsigned_long_long_int=yes -+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ /* For now, do not test the preprocessor; as of 2007 there are too many -+ implementations with broken preprocessors. Perhaps this can -+ be revisited in 2012. In the meantime, code should not expect -+ #if to work with literals wider than 32 bits. */ -+ /* Test literals. */ -+ long long int ll = 9223372036854775807ll; -+ long long int nll = -9223372036854775807LL; -+ unsigned long long int ull = 18446744073709551615ULL; -+ /* Test constant expressions. */ -+ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) -+ ? 1 : -1)]; -+ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 -+ ? 1 : -1)]; -+ int i = 63; -+int -+main () -+{ -+/* Test availability of runtime routines for shift and division. */ -+ long long int llmax = 9223372036854775807ll; -+ unsigned long long int ullmax = 18446744073709551615ull; -+ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) -+ | (llmax / ll) | (llmax % ll) -+ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) -+ | (ullmax / ull) | (ullmax % ull)); -+ ; -+ return 0; -+} -+ -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ -+else -+ ac_cv_type_unsigned_long_long_int=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5 -+$as_echo "$ac_cv_type_unsigned_long_long_int" >&6; } -+ if test $ac_cv_type_unsigned_long_long_int = yes; then -+ -+$as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5 -+$as_echo_n "checking for long long int... " >&6; } -+if ${ac_cv_type_long_long_int+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_type_long_long_int=yes -+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then -+ ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int -+ if test $ac_cv_type_long_long_int = yes; then -+ if test "$cross_compiling" = yes; then : -+ : -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ #ifndef LLONG_MAX -+ # define HALF \ -+ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) -+ # define LLONG_MAX (HALF - 1 + HALF) -+ #endif -+int -+main () -+{ -+long long int n = 1; -+ int i; -+ for (i = 0; ; i++) -+ { -+ long long int m = n << i; -+ if (m >> i != n) -+ return 1; -+ if (LLONG_MAX / 2 < m) -+ break; -+ } -+ return 0; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ -+else -+ ac_cv_type_long_long_int=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ fi -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5 -+$as_echo "$ac_cv_type_long_long_int" >&6; } -+ if test $ac_cv_type_long_long_int = yes; then -+ -+$as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ -+ gl_cv_c_multiarch=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifndef __APPLE_CC__ -+ not a universal capable compiler -+ #endif -+ typedef int dummy; -+ -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+ arch= -+ prev= -+ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do -+ if test -n "$prev"; then -+ case $word in -+ i?86 | x86_64 | ppc | ppc64) -+ if test -z "$arch" || test "$arch" = "$word"; then -+ arch="$word" -+ else -+ gl_cv_c_multiarch=yes -+ fi -+ ;; -+ esac -+ prev= -+ else -+ if test "x$word" = "x-arch"; then -+ prev=arch -+ fi -+ fi -+ done -+ -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ if test $gl_cv_c_multiarch = yes; then -+ APPLE_UNIVERSAL_BUILD=1 -+ else -+ APPLE_UNIVERSAL_BUILD=0 -+ fi -+ -+ -+ -+ GNULIB_PTHREAD_SIGMASK=0; -+ GNULIB_RAISE=0; -+ GNULIB_SIGNAL_H_SIGPIPE=0; -+ GNULIB_SIGPROCMASK=0; -+ GNULIB_SIGACTION=0; -+ HAVE_POSIX_SIGNALBLOCKING=1; -+ HAVE_PTHREAD_SIGMASK=1; -+ HAVE_RAISE=1; -+ HAVE_SIGSET_T=1; -+ HAVE_SIGINFO_T=1; -+ HAVE_SIGACTION=1; -+ HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; -+ -+ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; -+ -+ HAVE_SIGHANDLER_T=1; -+ REPLACE_PTHREAD_SIGMASK=0; -+ REPLACE_RAISE=0; -+ -+ -+ ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" " -+ #include -+ /* Mingw defines sigset_t not in , but in . */ -+ #include -+ -+" -+if test "x$ac_cv_type_sigset_t" = xyes; then : -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_SIGSET_T 1 -+_ACEOF -+ -+gl_cv_type_sigset_t=yes -+else -+ gl_cv_type_sigset_t=no -+fi -+ -+ if test $gl_cv_type_sigset_t != yes; then -+ HAVE_SIGSET_T=0 -+ fi -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIGPIPE" >&5 -+$as_echo_n "checking for SIGPIPE... " >&6; } -+if ${gl_cv_header_signal_h_SIGPIPE+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#if !defined SIGPIPE -+booboo -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "booboo" >/dev/null 2>&1; then : -+ gl_cv_header_signal_h_SIGPIPE=no -+else -+ gl_cv_header_signal_h_SIGPIPE=yes -+fi -+rm -f conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_signal_h_SIGPIPE" >&5 -+$as_echo "$gl_cv_header_signal_h_SIGPIPE" >&6; } -+ -+ac_fn_c_check_decl "$LINENO" "setenv" "ac_cv_have_decl_setenv" "$ac_includes_default" -+if test "x$ac_cv_have_decl_setenv" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_SETENV $ac_have_decl -+_ACEOF -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 -+$as_echo_n "checking for ssize_t... " >&6; } -+if ${gt_cv_ssize_t+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+int x = sizeof (ssize_t *) + sizeof (ssize_t); -+ return !x; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gt_cv_ssize_t=yes -+else -+ gt_cv_ssize_t=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 -+$as_echo "$gt_cv_ssize_t" >&6; } -+ if test $gt_cv_ssize_t = no; then -+ -+$as_echo "#define ssize_t int" >>confdefs.h -+ -+ fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 -+$as_echo_n "checking for uid_t in sys/types.h... " >&6; } -+if ${ac_cv_type_uid_t+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "uid_t" >/dev/null 2>&1; then : -+ ac_cv_type_uid_t=yes -+else -+ ac_cv_type_uid_t=no -+fi -+rm -f conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 -+$as_echo "$ac_cv_type_uid_t" >&6; } -+if test $ac_cv_type_uid_t = no; then -+ -+$as_echo "#define uid_t int" >>confdefs.h -+ -+ -+$as_echo "#define gid_t int" >>confdefs.h -+ -+fi -+ -+ -+ GNULIB_DPRINTF=0; -+ GNULIB_FCLOSE=0; -+ GNULIB_FDOPEN=0; -+ GNULIB_FFLUSH=0; -+ GNULIB_FGETC=0; -+ GNULIB_FGETS=0; -+ GNULIB_FOPEN=0; -+ GNULIB_FPRINTF=0; -+ GNULIB_FPRINTF_POSIX=0; -+ GNULIB_FPURGE=0; -+ GNULIB_FPUTC=0; -+ GNULIB_FPUTS=0; -+ GNULIB_FREAD=0; -+ GNULIB_FREOPEN=0; -+ GNULIB_FSCANF=0; -+ GNULIB_FSEEK=0; -+ GNULIB_FSEEKO=0; -+ GNULIB_FTELL=0; -+ GNULIB_FTELLO=0; -+ GNULIB_FWRITE=0; -+ GNULIB_GETC=0; -+ GNULIB_GETCHAR=0; -+ GNULIB_GETDELIM=0; -+ GNULIB_GETLINE=0; -+ GNULIB_OBSTACK_PRINTF=0; -+ GNULIB_OBSTACK_PRINTF_POSIX=0; -+ GNULIB_PCLOSE=0; -+ GNULIB_PERROR=0; -+ GNULIB_POPEN=0; -+ GNULIB_PRINTF=0; -+ GNULIB_PRINTF_POSIX=0; -+ GNULIB_PUTC=0; -+ GNULIB_PUTCHAR=0; -+ GNULIB_PUTS=0; -+ GNULIB_REMOVE=0; -+ GNULIB_RENAME=0; -+ GNULIB_RENAMEAT=0; -+ GNULIB_SCANF=0; -+ GNULIB_SNPRINTF=0; -+ GNULIB_SPRINTF_POSIX=0; -+ GNULIB_STDIO_H_NONBLOCKING=0; -+ GNULIB_STDIO_H_SIGPIPE=0; -+ GNULIB_TMPFILE=0; -+ GNULIB_VASPRINTF=0; -+ GNULIB_VFSCANF=0; -+ GNULIB_VSCANF=0; -+ GNULIB_VDPRINTF=0; -+ GNULIB_VFPRINTF=0; -+ GNULIB_VFPRINTF_POSIX=0; -+ GNULIB_VPRINTF=0; -+ GNULIB_VPRINTF_POSIX=0; -+ GNULIB_VSNPRINTF=0; -+ GNULIB_VSPRINTF_POSIX=0; -+ HAVE_DECL_FPURGE=1; -+ HAVE_DECL_FSEEKO=1; -+ HAVE_DECL_FTELLO=1; -+ HAVE_DECL_GETDELIM=1; -+ HAVE_DECL_GETLINE=1; -+ HAVE_DECL_OBSTACK_PRINTF=1; -+ HAVE_DECL_SNPRINTF=1; -+ HAVE_DECL_VSNPRINTF=1; -+ HAVE_DPRINTF=1; -+ HAVE_FSEEKO=1; -+ HAVE_FTELLO=1; -+ HAVE_PCLOSE=1; -+ HAVE_POPEN=1; -+ HAVE_RENAMEAT=1; -+ HAVE_VASPRINTF=1; -+ HAVE_VDPRINTF=1; -+ REPLACE_DPRINTF=0; -+ REPLACE_FCLOSE=0; -+ REPLACE_FDOPEN=0; -+ REPLACE_FFLUSH=0; -+ REPLACE_FOPEN=0; -+ REPLACE_FPRINTF=0; -+ REPLACE_FPURGE=0; -+ REPLACE_FREOPEN=0; -+ REPLACE_FSEEK=0; -+ REPLACE_FSEEKO=0; -+ REPLACE_FTELL=0; -+ REPLACE_FTELLO=0; -+ REPLACE_GETDELIM=0; -+ REPLACE_GETLINE=0; -+ REPLACE_OBSTACK_PRINTF=0; -+ REPLACE_PERROR=0; -+ REPLACE_POPEN=0; -+ REPLACE_PRINTF=0; -+ REPLACE_REMOVE=0; -+ REPLACE_RENAME=0; -+ REPLACE_RENAMEAT=0; -+ REPLACE_SNPRINTF=0; -+ REPLACE_SPRINTF=0; -+ REPLACE_STDIO_READ_FUNCS=0; -+ REPLACE_STDIO_WRITE_FUNCS=0; -+ REPLACE_TMPFILE=0; -+ REPLACE_VASPRINTF=0; -+ REPLACE_VDPRINTF=0; -+ REPLACE_VFPRINTF=0; -+ REPLACE_VPRINTF=0; -+ REPLACE_VSNPRINTF=0; -+ REPLACE_VSPRINTF=0; -+ -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#ifdef _MSC_VER -+MicrosoftCompiler -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "MicrosoftCompiler" >/dev/null 2>&1; then : -+ gl_asmext='asm' -+ gl_c_asm_opt='-c -Fa' -+ -+else -+ gl_asmext='s' -+ gl_c_asm_opt='-S' -+ -+fi -+rm -f conftest* -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5 -+$as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; } -+if ${gl_cv_prog_as_underscore+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat > conftest.c <&5 -+ (eval $ac_try) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; } >/dev/null 2>&1 -+ if grep _foo conftest.$gl_asmext >/dev/null ; then -+ gl_cv_prog_as_underscore=yes -+ else -+ gl_cv_prog_as_underscore=no -+ fi -+ rm -f conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_prog_as_underscore" >&5 -+$as_echo "$gl_cv_prog_as_underscore" >&6; } -+ if test $gl_cv_prog_as_underscore = yes; then -+ USER_LABEL_PREFIX=_ -+ else -+ USER_LABEL_PREFIX= -+ fi -+ -+cat >>confdefs.h <<_ACEOF -+#define USER_LABEL_PREFIX $USER_LABEL_PREFIX -+_ACEOF -+ -+ ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"' -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 -+$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } -+if ${ac_cv_header_stdbool_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ #include -+ #ifndef bool -+ "error: bool is not defined" -+ #endif -+ #ifndef false -+ "error: false is not defined" -+ #endif -+ #if false -+ "error: false is not 0" -+ #endif -+ #ifndef true -+ "error: true is not defined" -+ #endif -+ #if true != 1 -+ "error: true is not 1" -+ #endif -+ #ifndef __bool_true_false_are_defined -+ "error: __bool_true_false_are_defined is not defined" -+ #endif -+ -+ struct s { _Bool s: 1; _Bool t; } s; -+ -+ char a[true == 1 ? 1 : -1]; -+ char b[false == 0 ? 1 : -1]; -+ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; -+ char d[(bool) 0.5 == true ? 1 : -1]; -+ /* See body of main program for 'e'. */ -+ char f[(_Bool) 0.0 == false ? 1 : -1]; -+ char g[true]; -+ char h[sizeof (_Bool)]; -+ char i[sizeof s.t]; -+ enum { j = false, k = true, l = false * true, m = true * 256 }; -+ /* The following fails for -+ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ -+ _Bool n[m]; -+ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; -+ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; -+ /* Catch a bug in an HP-UX C compiler. See -+ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html -+ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html -+ */ -+ _Bool q = true; -+ _Bool *pq = &q; -+ -+int -+main () -+{ -+ -+ bool e = &s; -+ *pq |= q; -+ *pq |= ! q; -+ /* Refer to every declared value, to avoid compiler optimizations. */ -+ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l -+ + !m + !n + !o + !p + !q + !pq); -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_stdbool_h=yes -+else -+ ac_cv_header_stdbool_h=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 -+$as_echo "$ac_cv_header_stdbool_h" >&6; } -+ ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" -+if test "x$ac_cv_type__Bool" = xyes; then : -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE__BOOL 1 -+_ACEOF -+ -+ -+fi -+ -+ -+ -+ REPLACE_NULL=0; -+ HAVE_WCHAR_T=1; -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $ac_cv_type_long_long_int = yes; then -+ HAVE_LONG_LONG_INT=1 -+ else -+ HAVE_LONG_LONG_INT=0 -+ fi -+ -+ -+ if test $ac_cv_type_unsigned_long_long_int = yes; then -+ HAVE_UNSIGNED_LONG_LONG_INT=1 -+ else -+ HAVE_UNSIGNED_LONG_LONG_INT=0 -+ fi -+ -+ -+ -+ if test $ac_cv_header_wchar_h = yes; then -+ HAVE_WCHAR_H=1 -+ else -+ HAVE_WCHAR_H=0 -+ fi -+ -+ -+ if test $ac_cv_header_inttypes_h = yes; then -+ HAVE_INTTYPES_H=1 -+ else -+ HAVE_INTTYPES_H=0 -+ fi -+ -+ -+ if test $ac_cv_header_sys_types_h = yes; then -+ HAVE_SYS_TYPES_H=1 -+ else -+ HAVE_SYS_TYPES_H=0 -+ fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_stdint_h='<'stdint.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_stdint_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ if test $ac_cv_header_stdint_h = yes; then -+ -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'stdint.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ else -+ gl_cv_next_stdint_h='<'stdint.h'>' -+ fi -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5 -+$as_echo "$gl_cv_next_stdint_h" >&6; } -+ fi -+ NEXT_STDINT_H=$gl_cv_next_stdint_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'stdint.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_stdint_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_STDINT_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ if test $ac_cv_header_stdint_h = yes; then -+ HAVE_STDINT_H=1 -+ else -+ HAVE_STDINT_H=0 -+ fi -+ -+ -+ if test $ac_cv_header_stdint_h = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5 -+$as_echo_n "checking whether stdint.h conforms to C99... " >&6; } -+if ${gl_cv_header_working_stdint_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ gl_cv_header_working_stdint_h=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ -+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ -+#include -+/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ -+#if !(defined WCHAR_MIN && defined WCHAR_MAX) -+#error "WCHAR_MIN, WCHAR_MAX not defined in " -+#endif -+ -+ -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+ -+ -+#ifdef INT8_MAX -+int8_t a1 = INT8_MAX; -+int8_t a1min = INT8_MIN; -+#endif -+#ifdef INT16_MAX -+int16_t a2 = INT16_MAX; -+int16_t a2min = INT16_MIN; -+#endif -+#ifdef INT32_MAX -+int32_t a3 = INT32_MAX; -+int32_t a3min = INT32_MIN; -+#endif -+#ifdef INT64_MAX -+int64_t a4 = INT64_MAX; -+int64_t a4min = INT64_MIN; -+#endif -+#ifdef UINT8_MAX -+uint8_t b1 = UINT8_MAX; -+#else -+typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; -+#endif -+#ifdef UINT16_MAX -+uint16_t b2 = UINT16_MAX; -+#endif -+#ifdef UINT32_MAX -+uint32_t b3 = UINT32_MAX; -+#endif -+#ifdef UINT64_MAX -+uint64_t b4 = UINT64_MAX; -+#endif -+int_least8_t c1 = INT8_C (0x7f); -+int_least8_t c1max = INT_LEAST8_MAX; -+int_least8_t c1min = INT_LEAST8_MIN; -+int_least16_t c2 = INT16_C (0x7fff); -+int_least16_t c2max = INT_LEAST16_MAX; -+int_least16_t c2min = INT_LEAST16_MIN; -+int_least32_t c3 = INT32_C (0x7fffffff); -+int_least32_t c3max = INT_LEAST32_MAX; -+int_least32_t c3min = INT_LEAST32_MIN; -+int_least64_t c4 = INT64_C (0x7fffffffffffffff); -+int_least64_t c4max = INT_LEAST64_MAX; -+int_least64_t c4min = INT_LEAST64_MIN; -+uint_least8_t d1 = UINT8_C (0xff); -+uint_least8_t d1max = UINT_LEAST8_MAX; -+uint_least16_t d2 = UINT16_C (0xffff); -+uint_least16_t d2max = UINT_LEAST16_MAX; -+uint_least32_t d3 = UINT32_C (0xffffffff); -+uint_least32_t d3max = UINT_LEAST32_MAX; -+uint_least64_t d4 = UINT64_C (0xffffffffffffffff); -+uint_least64_t d4max = UINT_LEAST64_MAX; -+int_fast8_t e1 = INT_FAST8_MAX; -+int_fast8_t e1min = INT_FAST8_MIN; -+int_fast16_t e2 = INT_FAST16_MAX; -+int_fast16_t e2min = INT_FAST16_MIN; -+int_fast32_t e3 = INT_FAST32_MAX; -+int_fast32_t e3min = INT_FAST32_MIN; -+int_fast64_t e4 = INT_FAST64_MAX; -+int_fast64_t e4min = INT_FAST64_MIN; -+uint_fast8_t f1 = UINT_FAST8_MAX; -+uint_fast16_t f2 = UINT_FAST16_MAX; -+uint_fast32_t f3 = UINT_FAST32_MAX; -+uint_fast64_t f4 = UINT_FAST64_MAX; -+#ifdef INTPTR_MAX -+intptr_t g = INTPTR_MAX; -+intptr_t gmin = INTPTR_MIN; -+#endif -+#ifdef UINTPTR_MAX -+uintptr_t h = UINTPTR_MAX; -+#endif -+intmax_t i = INTMAX_MAX; -+uintmax_t j = UINTMAX_MAX; -+ -+#include /* for CHAR_BIT */ -+#define TYPE_MINIMUM(t) \ -+ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) -+#define TYPE_MAXIMUM(t) \ -+ ((t) ((t) 0 < (t) -1 \ -+ ? (t) -1 \ -+ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) -+struct s { -+ int check_PTRDIFF: -+ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) -+ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) -+ ? 1 : -1; -+ /* Detect bug in FreeBSD 6.0 / ia64. */ -+ int check_SIG_ATOMIC: -+ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) -+ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) -+ ? 1 : -1; -+ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; -+ int check_WCHAR: -+ WCHAR_MIN == TYPE_MINIMUM (wchar_t) -+ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) -+ ? 1 : -1; -+ /* Detect bug in mingw. */ -+ int check_WINT: -+ WINT_MIN == TYPE_MINIMUM (wint_t) -+ && WINT_MAX == TYPE_MAXIMUM (wint_t) -+ ? 1 : -1; -+ -+ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ -+ int check_UINT8_C: -+ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; -+ int check_UINT16_C: -+ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; -+ -+ /* Detect bugs in OpenBSD 3.9 stdint.h. */ -+#ifdef UINT8_MAX -+ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; -+#endif -+#ifdef UINT16_MAX -+ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; -+#endif -+#ifdef UINT32_MAX -+ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; -+#endif -+#ifdef UINT64_MAX -+ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; -+#endif -+ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; -+ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; -+ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; -+ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; -+ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; -+ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; -+ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; -+ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; -+ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; -+ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; -+ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; -+}; -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ if test "$cross_compiling" = yes; then : -+ gl_cv_header_working_stdint_h=yes -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ -+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ -+#include -+ -+ -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+ -+ -+#include -+#include -+#define MVAL(macro) MVAL1(macro) -+#define MVAL1(expression) #expression -+static const char *macro_values[] = -+ { -+#ifdef INT8_MAX -+ MVAL (INT8_MAX), -+#endif -+#ifdef INT16_MAX -+ MVAL (INT16_MAX), -+#endif -+#ifdef INT32_MAX -+ MVAL (INT32_MAX), -+#endif -+#ifdef INT64_MAX -+ MVAL (INT64_MAX), -+#endif -+#ifdef UINT8_MAX -+ MVAL (UINT8_MAX), -+#endif -+#ifdef UINT16_MAX -+ MVAL (UINT16_MAX), -+#endif -+#ifdef UINT32_MAX -+ MVAL (UINT32_MAX), -+#endif -+#ifdef UINT64_MAX -+ MVAL (UINT64_MAX), -+#endif -+ NULL -+ }; -+ -+int -+main () -+{ -+ -+ const char **mv; -+ for (mv = macro_values; *mv != NULL; mv++) -+ { -+ const char *value = *mv; -+ /* Test whether it looks like a cast expression. */ -+ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 -+ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 -+ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 -+ || strncmp (value, "((int)"/*)*/, 6) == 0 -+ || strncmp (value, "((signed short)"/*)*/, 15) == 0 -+ || strncmp (value, "((signed char)"/*)*/, 14) == 0) -+ return mv - macro_values + 1; -+ } -+ return 0; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_header_working_stdint_h=yes -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_stdint_h" >&5 -+$as_echo "$gl_cv_header_working_stdint_h" >&6; } -+ fi -+ if test "$gl_cv_header_working_stdint_h" = yes; then -+ STDINT_H= -+ else -+ for ac_header in sys/inttypes.h sys/bitypes.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" -+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ if test $ac_cv_header_sys_inttypes_h = yes; then -+ HAVE_SYS_INTTYPES_H=1 -+ else -+ HAVE_SYS_INTTYPES_H=0 -+ fi -+ -+ if test $ac_cv_header_sys_bitypes_h = yes; then -+ HAVE_SYS_BITYPES_H=1 -+ else -+ HAVE_SYS_BITYPES_H=0 -+ fi -+ -+ -+ -+ -+ if test $APPLE_UNIVERSAL_BUILD = 0; then -+ -+ -+ for gltype in ptrdiff_t size_t ; do -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 -+$as_echo_n "checking for bit size of $gltype... " >&6; } -+if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+ -+#include "; then : -+ -+else -+ result=unknown -+fi -+ -+ eval gl_cv_bitsizeof_${gltype}=\$result -+ -+fi -+eval ac_res=\$gl_cv_bitsizeof_${gltype} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval result=\$gl_cv_bitsizeof_${gltype} -+ if test $result = unknown; then -+ result=0 -+ fi -+ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ cat >>confdefs.h <<_ACEOF -+#define BITSIZEOF_${GLTYPE} $result -+_ACEOF -+ -+ eval BITSIZEOF_${GLTYPE}=\$result -+ done -+ -+ -+ fi -+ -+ -+ for gltype in sig_atomic_t wchar_t wint_t ; do -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5 -+$as_echo_n "checking for bit size of $gltype... " >&6; } -+if eval \${gl_cv_bitsizeof_${gltype}+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result" " -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+ -+#include "; then : -+ -+else -+ result=unknown -+fi -+ -+ eval gl_cv_bitsizeof_${gltype}=\$result -+ -+fi -+eval ac_res=\$gl_cv_bitsizeof_${gltype} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval result=\$gl_cv_bitsizeof_${gltype} -+ if test $result = unknown; then -+ result=0 -+ fi -+ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ cat >>confdefs.h <<_ACEOF -+#define BITSIZEOF_${GLTYPE} $result -+_ACEOF -+ -+ eval BITSIZEOF_${GLTYPE}=\$result -+ done -+ -+ -+ -+ -+ for gltype in sig_atomic_t wchar_t wint_t ; do -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5 -+$as_echo_n "checking whether $gltype is signed... " >&6; } -+if eval \${gl_cv_type_${gltype}_signed+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+ -+ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1]; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ result=yes -+else -+ result=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ eval gl_cv_type_${gltype}_signed=\$result -+ -+fi -+eval ac_res=\$gl_cv_type_${gltype}_signed -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval result=\$gl_cv_type_${gltype}_signed -+ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ if test "$result" = yes; then -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_SIGNED_${GLTYPE} 1 -+_ACEOF -+ -+ eval HAVE_SIGNED_${GLTYPE}=1 -+ else -+ eval HAVE_SIGNED_${GLTYPE}=0 -+ fi -+ done -+ -+ -+ gl_cv_type_ptrdiff_t_signed=yes -+ gl_cv_type_size_t_signed=no -+ if test $APPLE_UNIVERSAL_BUILD = 0; then -+ -+ -+ for gltype in ptrdiff_t size_t ; do -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 -+$as_echo_n "checking for $gltype integer literal suffix... " >&6; } -+if eval \${gl_cv_type_${gltype}_suffix+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ eval gl_cv_type_${gltype}_suffix=no -+ eval result=\$gl_cv_type_${gltype}_signed -+ if test "$result" = yes; then -+ glsufu= -+ else -+ glsufu=u -+ fi -+ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do -+ case $glsuf in -+ '') gltype1='int';; -+ l) gltype1='long int';; -+ ll) gltype1='long long int';; -+ i64) gltype1='__int64';; -+ u) gltype1='unsigned int';; -+ ul) gltype1='unsigned long int';; -+ ull) gltype1='unsigned long long int';; -+ ui64)gltype1='unsigned __int64';; -+ esac -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+ -+ extern $gltype foo; -+ extern $gltype1 foo; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval gl_cv_type_${gltype}_suffix=\$glsuf -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ eval result=\$gl_cv_type_${gltype}_suffix -+ test "$result" != no && break -+ done -+fi -+eval ac_res=\$gl_cv_type_${gltype}_suffix -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ eval result=\$gl_cv_type_${gltype}_suffix -+ test "$result" = no && result= -+ eval ${GLTYPE}_SUFFIX=\$result -+ cat >>confdefs.h <<_ACEOF -+#define ${GLTYPE}_SUFFIX $result -+_ACEOF -+ -+ done -+ -+ -+ fi -+ -+ -+ for gltype in sig_atomic_t wchar_t wint_t ; do -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5 -+$as_echo_n "checking for $gltype integer literal suffix... " >&6; } -+if eval \${gl_cv_type_${gltype}_suffix+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ eval gl_cv_type_${gltype}_suffix=no -+ eval result=\$gl_cv_type_${gltype}_signed -+ if test "$result" = yes; then -+ glsufu= -+ else -+ glsufu=u -+ fi -+ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do -+ case $glsuf in -+ '') gltype1='int';; -+ l) gltype1='long int';; -+ ll) gltype1='long long int';; -+ i64) gltype1='__int64';; -+ u) gltype1='unsigned int';; -+ ul) gltype1='unsigned long int';; -+ ull) gltype1='unsigned long long int';; -+ ui64)gltype1='unsigned __int64';; -+ esac -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+ -+ extern $gltype foo; -+ extern $gltype1 foo; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval gl_cv_type_${gltype}_suffix=\$glsuf -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ eval result=\$gl_cv_type_${gltype}_suffix -+ test "$result" != no && break -+ done -+fi -+eval ac_res=\$gl_cv_type_${gltype}_suffix -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ eval result=\$gl_cv_type_${gltype}_suffix -+ test "$result" = no && result= -+ eval ${GLTYPE}_SUFFIX=\$result -+ cat >>confdefs.h <<_ACEOF -+#define ${GLTYPE}_SUFFIX $result -+_ACEOF -+ -+ done -+ -+ -+ -+ if test $BITSIZEOF_WINT_T -lt 32; then -+ BITSIZEOF_WINT_T=32 -+ fi -+ -+ STDINT_H=stdint.h -+ fi -+ -+ if test -n "$STDINT_H"; then -+ GL_GENERATE_STDINT_H_TRUE= -+ GL_GENERATE_STDINT_H_FALSE='#' -+else -+ GL_GENERATE_STDINT_H_TRUE='#' -+ GL_GENERATE_STDINT_H_FALSE= -+fi -+ -+ -+ -+ GNULIB_FFSL=0; -+ GNULIB_FFSLL=0; -+ GNULIB_MEMCHR=0; -+ GNULIB_MEMMEM=0; -+ GNULIB_MEMPCPY=0; -+ GNULIB_MEMRCHR=0; -+ GNULIB_RAWMEMCHR=0; -+ GNULIB_STPCPY=0; -+ GNULIB_STPNCPY=0; -+ GNULIB_STRCHRNUL=0; -+ GNULIB_STRDUP=0; -+ GNULIB_STRNCAT=0; -+ GNULIB_STRNDUP=0; -+ GNULIB_STRNLEN=0; -+ GNULIB_STRPBRK=0; -+ GNULIB_STRSEP=0; -+ GNULIB_STRSTR=0; -+ GNULIB_STRCASESTR=0; -+ GNULIB_STRTOK_R=0; -+ GNULIB_MBSLEN=0; -+ GNULIB_MBSNLEN=0; -+ GNULIB_MBSCHR=0; -+ GNULIB_MBSRCHR=0; -+ GNULIB_MBSSTR=0; -+ GNULIB_MBSCASECMP=0; -+ GNULIB_MBSNCASECMP=0; -+ GNULIB_MBSPCASECMP=0; -+ GNULIB_MBSCASESTR=0; -+ GNULIB_MBSCSPN=0; -+ GNULIB_MBSPBRK=0; -+ GNULIB_MBSSPN=0; -+ GNULIB_MBSSEP=0; -+ GNULIB_MBSTOK_R=0; -+ GNULIB_STRERROR=0; -+ GNULIB_STRERROR_R=0; -+ GNULIB_STRSIGNAL=0; -+ GNULIB_STRVERSCMP=0; -+ HAVE_MBSLEN=0; -+ HAVE_FFSL=1; -+ HAVE_FFSLL=1; -+ HAVE_MEMCHR=1; -+ HAVE_DECL_MEMMEM=1; -+ HAVE_MEMPCPY=1; -+ HAVE_DECL_MEMRCHR=1; -+ HAVE_RAWMEMCHR=1; -+ HAVE_STPCPY=1; -+ HAVE_STPNCPY=1; -+ HAVE_STRCHRNUL=1; -+ HAVE_DECL_STRDUP=1; -+ HAVE_DECL_STRNDUP=1; -+ HAVE_DECL_STRNLEN=1; -+ HAVE_STRPBRK=1; -+ HAVE_STRSEP=1; -+ HAVE_STRCASESTR=1; -+ HAVE_DECL_STRTOK_R=1; -+ HAVE_DECL_STRERROR_R=1; -+ HAVE_DECL_STRSIGNAL=1; -+ HAVE_STRVERSCMP=1; -+ REPLACE_MEMCHR=0; -+ REPLACE_MEMMEM=0; -+ REPLACE_STPNCPY=0; -+ REPLACE_STRDUP=0; -+ REPLACE_STRSTR=0; -+ REPLACE_STRCASESTR=0; -+ REPLACE_STRCHRNUL=0; -+ REPLACE_STRERROR=0; -+ REPLACE_STRERROR_R=0; -+ REPLACE_STRNCAT=0; -+ REPLACE_STRNDUP=0; -+ REPLACE_STRNLEN=0; -+ REPLACE_STRSIGNAL=0; -+ REPLACE_STRTOK_R=0; -+ UNDEFINE_STRTOK_R=0; -+ -+ -+ REPLACE_STRERROR_0=0 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror(0) succeeds" >&5 -+$as_echo_n "checking whether strerror(0) succeeds... " >&6; } -+if ${gl_cv_func_strerror_0_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_strerror_0_works="guessing no" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ #include -+ -+int -+main () -+{ -+int result = 0; -+ char *str; -+ errno = 0; -+ str = strerror (0); -+ if (!*str) result |= 1; -+ if (errno) result |= 2; -+ if (strstr (str, "nknown") || strstr (str, "ndefined")) -+ result |= 4; -+ return result; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_func_strerror_0_works=yes -+else -+ gl_cv_func_strerror_0_works=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_strerror_0_works" >&5 -+$as_echo "$gl_cv_func_strerror_0_works" >&6; } -+ case "$gl_cv_func_strerror_0_works" in -+ *yes) ;; -+ *) -+ REPLACE_STRERROR_0=1 -+ -+$as_echo "#define REPLACE_STRERROR_0 1" >>confdefs.h -+ -+ ;; -+ esac -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5 -+$as_echo_n "checking for C/C++ restrict keyword... " >&6; } -+if ${ac_cv_c_restrict+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_c_restrict=no -+ # The order here caters to the fact that C++ does not require restrict. -+ for ac_kw in __restrict __restrict__ _Restrict restrict; do -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+typedef int * int_ptr; -+ int foo (int_ptr $ac_kw ip) { -+ return ip[0]; -+ } -+int -+main () -+{ -+int s[1]; -+ int * $ac_kw t = s; -+ t[0] = 0; -+ return foo(t) -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_c_restrict=$ac_kw -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ test "$ac_cv_c_restrict" != no && break -+ done -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5 -+$as_echo "$ac_cv_c_restrict" >&6; } -+ -+ case $ac_cv_c_restrict in -+ restrict) ;; -+ no) $as_echo "#define restrict /**/" >>confdefs.h -+ ;; -+ *) cat >>confdefs.h <<_ACEOF -+#define restrict $ac_cv_c_restrict -+_ACEOF -+ ;; -+ esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_string_h='<'string.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_string_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'string.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5 -+$as_echo "$gl_cv_next_string_h" >&6; } -+ fi -+ NEXT_STRING_H=$gl_cv_next_string_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'string.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_string_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_STRING_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+ -+ for gl_func in ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r strsignal strverscmp; do -+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -+if eval \${$as_gl_Symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+#undef $gl_func -+ (void) $gl_func; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$as_gl_Symbol=yes" -+else -+ eval "$as_gl_Symbol=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$as_gl_Symbol -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+ eval ac_cv_have_decl_$gl_func=yes -+fi -+ done -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5 -+$as_echo_n "checking whether stat file-mode macros are broken... " >&6; } -+if ${ac_cv_header_stat_broken+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+ -+#if defined S_ISBLK && defined S_IFDIR -+extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1]; -+#endif -+ -+#if defined S_ISBLK && defined S_IFCHR -+extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1]; -+#endif -+ -+#if defined S_ISLNK && defined S_IFREG -+extern char c3[S_ISLNK (S_IFREG) ? -1 : 1]; -+#endif -+ -+#if defined S_ISSOCK && defined S_IFREG -+extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1]; -+#endif -+ -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_stat_broken=no -+else -+ ac_cv_header_stat_broken=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5 -+$as_echo "$ac_cv_header_stat_broken" >&6; } -+if test $ac_cv_header_stat_broken = yes; then -+ -+$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h -+ -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_sys_types_h='<'sys/types.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_sys_types_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'sys/types.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_sys_types_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_types_h" >&5 -+$as_echo "$gl_cv_next_sys_types_h" >&6; } -+ fi -+ NEXT_SYS_TYPES_H=$gl_cv_next_sys_types_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'sys/types.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_sys_types_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ GNULIB_MKTIME=0; -+ GNULIB_NANOSLEEP=0; -+ GNULIB_STRPTIME=0; -+ GNULIB_TIMEGM=0; -+ GNULIB_TIME_R=0; -+ HAVE_DECL_LOCALTIME_R=1; -+ HAVE_NANOSLEEP=1; -+ HAVE_STRPTIME=1; -+ HAVE_TIMEGM=1; -+ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; -+ REPLACE_MKTIME=GNULIB_PORTCHECK; -+ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; -+ REPLACE_TIMEGM=GNULIB_PORTCHECK; -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -+$as_echo_n "checking for struct timespec in ... " >&6; } -+if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+static struct timespec x; x.tv_sec = x.tv_nsec; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_sys_struct_timespec_in_time_h=yes -+else -+ gl_cv_sys_struct_timespec_in_time_h=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_time_h" >&5 -+$as_echo "$gl_cv_sys_struct_timespec_in_time_h" >&6; } -+ -+ TIME_H_DEFINES_STRUCT_TIMESPEC=0 -+ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 -+ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 -+ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then -+ TIME_H_DEFINES_STRUCT_TIMESPEC=1 -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -+$as_echo_n "checking for struct timespec in ... " >&6; } -+if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+static struct timespec x; x.tv_sec = x.tv_nsec; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_sys_struct_timespec_in_sys_time_h=yes -+else -+ gl_cv_sys_struct_timespec_in_sys_time_h=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_sys_time_h" >&5 -+$as_echo "$gl_cv_sys_struct_timespec_in_sys_time_h" >&6; } -+ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then -+ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in " >&5 -+$as_echo_n "checking for struct timespec in ... " >&6; } -+if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+static struct timespec x; x.tv_sec = x.tv_nsec; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_sys_struct_timespec_in_pthread_h=yes -+else -+ gl_cv_sys_struct_timespec_in_pthread_h=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_sys_struct_timespec_in_pthread_h" >&5 -+$as_echo "$gl_cv_sys_struct_timespec_in_pthread_h" >&6; } -+ if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then -+ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 -+ fi -+ fi -+ fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_time_h='<'time.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_time_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'time.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5 -+$as_echo "$gl_cv_next_time_h" >&6; } -+ fi -+ NEXT_TIME_H=$gl_cv_next_time_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'time.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_time_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_TIME_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;} -+i\ -+0 -+q -+' -+gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;} -+i\ -+0 -+q -+' -+gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} -+i\ -+0 -+q -+' -+ -+ -+ if test "$HAVE_LIBUNISTRING" = yes; then -+ LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"` -+ LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"` -+ LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"` -+ fi -+ -+ac_fn_c_check_decl "$LINENO" "clearerr_unlocked" "ac_cv_have_decl_clearerr_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_clearerr_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_CLEARERR_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "feof_unlocked" "ac_cv_have_decl_feof_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_feof_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FEOF_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "ferror_unlocked" "ac_cv_have_decl_ferror_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_ferror_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FERROR_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FFLUSH_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "fgets_unlocked" "ac_cv_have_decl_fgets_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_fgets_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FGETS_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "fputc_unlocked" "ac_cv_have_decl_fputc_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_fputc_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FPUTC_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FPUTS_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "fread_unlocked" "ac_cv_have_decl_fread_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_fread_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FREAD_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "fwrite_unlocked" "ac_cv_have_decl_fwrite_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_fwrite_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_FWRITE_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_GETC_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "getchar_unlocked" "ac_cv_have_decl_getchar_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_getchar_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_GETCHAR_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_PUTC_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ac_fn_c_check_decl "$LINENO" "putchar_unlocked" "ac_cv_have_decl_putchar_unlocked" "$ac_includes_default" -+if test "x$ac_cv_have_decl_putchar_unlocked" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_PUTCHAR_UNLOCKED $ac_have_decl -+_ACEOF -+ -+ -+ if false; then -+ GL_COND_LIBTOOL_TRUE= -+ GL_COND_LIBTOOL_FALSE='#' -+else -+ GL_COND_LIBTOOL_TRUE='#' -+ GL_COND_LIBTOOL_FALSE= -+fi -+ -+ gl_cond_libtool=false -+ gl_libdeps= -+ gl_ltlibdeps= -+ gl_m4_base='srcm4' -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_source_base='srclib' -+ -+ -+ -+ -+ -+ if test $ac_cv_func_alloca_works = no; then -+ -+ -+ : -+ -+ fi -+ -+ # Define an additional variable used in the Makefile substitution. -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H -+ Need own alloca -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "Need own alloca" >/dev/null 2>&1; then : -+ ALLOCA_H=alloca.h -+else -+ ALLOCA_H= -+fi -+rm -f conftest* -+ -+ -+ if test -n "$ALLOCA_H"; then -+ GL_GENERATE_ALLOCA_H_TRUE= -+ GL_GENERATE_ALLOCA_H_FALSE='#' -+else -+ GL_GENERATE_ALLOCA_H_TRUE='#' -+ GL_GENERATE_ALLOCA_H_FALSE= -+fi -+ -+ -+ -+ -+ -+ if test $ac_cv_func_canonicalize_file_name = no; then -+ HAVE_CANONICALIZE_FILE_NAME=0 -+ if test $ac_cv_func_realpath = no; then -+ HAVE_REALPATH=0 -+ else -+ case "$gl_cv_func_realpath_works" in -+ *yes) ;; -+ *) REPLACE_REALPATH=1 ;; -+ esac -+ fi -+ else -+ case "$gl_cv_func_realpath_works" in -+ *yes) -+ ;; -+ *) -+ REPLACE_CANONICALIZE_FILE_NAME=1 -+ REPLACE_REALPATH=1 -+ ;; -+ esac -+ fi -+ -+ if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS canonicalize-lgpl.$ac_objext" -+ -+ fi -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define GNULIB_CANONICALIZE_LGPL 1 -+_ACEOF -+ -+ -+ -+ -+ -+ -+ -+ GNULIB_CANONICALIZE_FILE_NAME=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ -+ -+ GNULIB_REALPATH=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_REALPATH 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether // is distinct from /" >&5 -+$as_echo_n "checking whether // is distinct from /... " >&6; } -+if ${gl_cv_double_slash_root+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test x"$cross_compiling" = xyes ; then -+ # When cross-compiling, there is no way to tell whether // is special -+ # short of a list of hosts. However, the only known hosts to date -+ # that have a distinct // are Apollo DomainOS (too old to port to), -+ # Cygwin, and z/OS. If anyone knows of another system for which // has -+ # special semantics and is distinct from /, please report it to -+ # . -+ case $host in -+ *-cygwin | i370-ibm-openedition) -+ gl_cv_double_slash_root=yes ;; -+ *) -+ # Be optimistic and assume that / and // are the same when we -+ # don't know. -+ gl_cv_double_slash_root='unknown, assuming no' ;; -+ esac -+ else -+ set x `ls -di / // 2>/dev/null` -+ if test "$2" = "$4" && wc //dev/null >/dev/null 2>&1; then -+ gl_cv_double_slash_root=no -+ else -+ gl_cv_double_slash_root=yes -+ fi -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_double_slash_root" >&5 -+$as_echo "$gl_cv_double_slash_root" >&6; } -+ if test "$gl_cv_double_slash_root" = yes; then -+ -+$as_echo "#define DOUBLE_SLASH_IS_DISTINCT_ROOT 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ -+ -+ -+ -+ GNULIB_ENVIRON=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_ENVIRON 1" >>confdefs.h -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 -+$as_echo_n "checking for error_at_line... " >&6; } -+if ${ac_cv_lib_error_at_line+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+error_at_line (0, 0, "", 0, "an error occurred"); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_error_at_line=yes -+else -+ ac_cv_lib_error_at_line=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5 -+$as_echo "$ac_cv_lib_error_at_line" >&6; } -+ -+ if test $ac_cv_lib_error_at_line = no; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext" -+ -+ -+ -+ : -+ -+ fi -+ -+ -+ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error:3:c-format" -+ -+ -+ -+ XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS --flag=error_at_line:5:c-format" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_fcntl_h='<'fcntl.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_fcntl_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'fcntl.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5 -+$as_echo "$gl_cv_next_fcntl_h" >&6; } -+ fi -+ NEXT_FCNTL_H=$gl_cv_next_fcntl_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'fcntl.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_fcntl_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ for gl_func in fcntl openat; do -+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -+if eval \${$as_gl_Symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+#undef $gl_func -+ (void) $gl_func; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$as_gl_Symbol=yes" -+else -+ eval "$as_gl_Symbol=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$as_gl_Symbol -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+ eval ac_cv_have_decl_$gl_func=yes -+fi -+ done -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $ac_cv_func_lstat = yes; then -+ -+ case "$gl_cv_func_lstat_dereferences_slashed_symlink" in -+ *no) -+ REPLACE_LSTAT=1 -+ ;; -+ esac -+ else -+ HAVE_LSTAT=0 -+ fi -+ -+ if test $REPLACE_LSTAT = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS lstat.$ac_objext" -+ -+ : -+ fi -+ -+ -+ -+ -+ -+ GNULIB_LSTAT=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_LSTAT 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5 -+$as_echo_n "checking for mbstate_t... " >&6; } -+if ${ac_cv_type_mbstate_t+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$ac_includes_default -+/* Tru64 with Desktop Toolkit C has a bug: must be included before -+ . -+ BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+#include -+#include -+#include -+#include -+int -+main () -+{ -+mbstate_t x; return sizeof x; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_type_mbstate_t=yes -+else -+ ac_cv_type_mbstate_t=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_mbstate_t" >&5 -+$as_echo "$ac_cv_type_mbstate_t" >&6; } -+ if test $ac_cv_type_mbstate_t = yes; then -+ -+$as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h -+ -+ else -+ -+$as_echo "#define mbstate_t int" >>confdefs.h -+ -+ fi -+ -+ -+ for ac_func in memmove -+do : -+ ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove" -+if test "x$ac_cv_func_memmove" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_MEMMOVE 1 -+_ACEOF -+ -+fi -+done -+ -+ -+ if test $ac_cv_func_memmove = no; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS memmove.$ac_objext" -+ -+ -+ : -+ -+ fi -+ -+ -+ if test $ac_cv_func__set_invalid_parameter_handler = yes; then -+ HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 -+ -+$as_echo "#define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1" >>confdefs.h -+ -+ else -+ HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 -+ fi -+ -+ -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS msvc-inval.$ac_objext" -+ -+ fi -+ -+ -+ -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS msvc-nothrow.$ac_objext" -+ -+ fi -+ -+ -+ -+ -+ ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include -+" -+if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_PROGRAM_INVOCATION_NAME $ac_have_decl -+_ACEOF -+ -+ ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include -+" -+if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then : -+ ac_have_decl=1 -+else -+ ac_have_decl=0 -+fi -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME $ac_have_decl -+_ACEOF -+ -+ -+ -+ -+ -+ for ac_func in raise -+do : -+ ac_fn_c_check_func "$LINENO" "raise" "ac_cv_func_raise" -+if test "x$ac_cv_func_raise" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_RAISE 1 -+_ACEOF -+ -+fi -+done -+ -+ if test $ac_cv_func_raise = no; then -+ HAVE_RAISE=0 -+ else -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ REPLACE_RAISE=1 -+ fi -+ -+ -+ -+ -+ if test $gl_cv_type_sigset_t = yes; then -+ ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" -+if test "x$ac_cv_func_sigprocmask" = xyes; then : -+ gl_cv_func_sigprocmask=1 -+fi -+ -+ fi -+ if test -z "$gl_cv_func_sigprocmask"; then -+ HAVE_POSIX_SIGNALBLOCKING=0 -+ fi -+ -+ if test $HAVE_POSIX_SIGNALBLOCKING = 0; then -+ -+ -+ -+ -+ if test $gl_cv_header_signal_h_SIGPIPE != yes; then -+ REPLACE_RAISE=1 -+ fi -+ -+ fi -+ -+ fi -+ -+ if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS raise.$ac_objext" -+ -+ : -+ fi -+ -+ -+ -+ -+ -+ GNULIB_RAISE=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_RAISE 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ REPLACE_READ=1 -+ fi -+ -+ -+ if test $REPLACE_READ = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS read.$ac_objext" -+ -+ : -+ fi -+ -+ -+ -+ -+ -+ GNULIB_READ=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_READ 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ if test $ac_cv_func_readlink = no; then -+ HAVE_READLINK=0 -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink signature is correct" >&5 -+$as_echo_n "checking whether readlink signature is correct... " >&6; } -+if ${gl_cv_decl_readlink_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ /* Cause compilation failure if original declaration has wrong type. */ -+ ssize_t readlink (const char *, char *, size_t); -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_decl_readlink_works=yes -+else -+ gl_cv_decl_readlink_works=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_readlink_works" >&5 -+$as_echo "$gl_cv_decl_readlink_works" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readlink handles trailing slash correctly" >&5 -+$as_echo_n "checking whether readlink handles trailing slash correctly... " >&6; } -+if ${gl_cv_func_readlink_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # We have readlink, so assume ln -s works. -+ ln -s conftest.no-such conftest.link -+ ln -s conftest.link conftest.lnk2 -+ if test "$cross_compiling" = yes; then : -+ case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_readlink_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_readlink_works="guessing no" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+char buf[20]; -+ return readlink ("conftest.lnk2/", buf, sizeof buf) != -1; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_func_readlink_works=yes -+else -+ gl_cv_func_readlink_works=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ rm -f conftest.link conftest.lnk2 -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_readlink_works" >&5 -+$as_echo "$gl_cv_func_readlink_works" >&6; } -+ case "$gl_cv_func_readlink_works" in -+ *yes) -+ if test "$gl_cv_decl_readlink_works" != yes; then -+ REPLACE_READLINK=1 -+ fi -+ ;; -+ *) -+ -+$as_echo "#define READLINK_TRAILING_SLASH_BUG 1" >>confdefs.h -+ -+ REPLACE_READLINK=1 -+ ;; -+ esac -+ fi -+ -+ if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS readlink.$ac_objext" -+ -+ -+ : -+ -+ fi -+ -+ -+ -+ -+ -+ GNULIB_READLINK=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_READLINK 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ -+ -+ : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'} -+ RELOCATABLE_SRC_DIR="\$(top_srcdir)/$gl_source_base" -+ RELOCATABLE_BUILD_DIR="\$(top_builddir)/$gl_source_base" -+ -+ if test $RELOCATABLE = yes; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS progreloc.$ac_objext" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS relocatable.$ac_objext" -+ -+ fi -+ -+ -+ -+ : -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $ac_cv_have_decl_setenv = no; then -+ HAVE_DECL_SETENV=0 -+ fi -+ -+ -+ -+ -+ -+ for ac_header in search.h -+do : -+ ac_fn_c_check_header_mongrel "$LINENO" "search.h" "ac_cv_header_search_h" "$ac_includes_default" -+if test "x$ac_cv_header_search_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_SEARCH_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ for ac_func in tsearch -+do : -+ ac_fn_c_check_func "$LINENO" "tsearch" "ac_cv_func_tsearch" -+if test "x$ac_cv_func_tsearch" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_TSEARCH 1 -+_ACEOF -+ -+fi -+done -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_signal_h='<'signal.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_signal_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'signal.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_signal_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_signal_h" >&5 -+$as_echo "$gl_cv_next_signal_h" >&6; } -+ fi -+ NEXT_SIGNAL_H=$gl_cv_next_signal_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'signal.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_signal_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+# AIX declares sig_atomic_t to already include volatile, and C89 compilers -+# then choke on 'volatile sig_atomic_t'. C99 requires that it compile. -+ ac_fn_c_check_type "$LINENO" "volatile sig_atomic_t" "ac_cv_type_volatile_sig_atomic_t" " -+#include -+ -+" -+if test "x$ac_cv_type_volatile_sig_atomic_t" = xyes; then : -+ -+else -+ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0 -+fi -+ -+ -+ -+ -+ -+ -+ -+ ac_fn_c_check_type "$LINENO" "sighandler_t" "ac_cv_type_sighandler_t" " -+#include -+ -+" -+if test "x$ac_cv_type_sighandler_t" = xyes; then : -+ -+else -+ HAVE_SIGHANDLER_T=0 -+fi -+ -+ -+ -+ for gl_func in pthread_sigmask sigaction sigaddset sigdelset sigemptyset sigfillset sigismember sigpending sigprocmask; do -+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -+if eval \${$as_gl_Symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+#undef $gl_func -+ (void) $gl_func; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$as_gl_Symbol=yes" -+else -+ eval "$as_gl_Symbol=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$as_gl_Symbol -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+ eval ac_cv_have_decl_$gl_func=yes -+fi -+ done -+ -+ -+ -+ -+ -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define GNULIB_SIGPIPE 1 -+_ACEOF -+ -+ -+ -+ GNULIB_SIGNAL_H_SIGPIPE=1 -+ -+ -+ GNULIB_STDIO_H_SIGPIPE=1 -+ -+ GNULIB_UNISTD_H_SIGPIPE=1 -+ -+ -+ -+ if test $gl_cv_type_sigset_t = yes; then -+ ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask" -+if test "x$ac_cv_func_sigprocmask" = xyes; then : -+ gl_cv_func_sigprocmask=1 -+fi -+ -+ fi -+ if test -z "$gl_cv_func_sigprocmask"; then -+ HAVE_POSIX_SIGNALBLOCKING=0 -+ fi -+ -+ if test $HAVE_POSIX_SIGNALBLOCKING = 0; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS sigprocmask.$ac_objext" -+ -+ : -+ fi -+ -+ -+ -+ -+ -+ GNULIB_SIGPROCMASK=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_SIGPROCMASK 1" >>confdefs.h -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ssize_t" >&5 -+$as_echo_n "checking for ssize_t... " >&6; } -+if ${gt_cv_ssize_t+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+int x = sizeof (ssize_t *) + sizeof (ssize_t); -+ return !x; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gt_cv_ssize_t=yes -+else -+ gt_cv_ssize_t=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_ssize_t" >&5 -+$as_echo "$gt_cv_ssize_t" >&6; } -+ if test $gt_cv_ssize_t = no; then -+ -+$as_echo "#define ssize_t int" >>confdefs.h -+ -+ fi -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on directories" >&5 -+$as_echo_n "checking whether stat handles trailing slashes on directories... " >&6; } -+if ${gl_cv_func_stat_dir_slash+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ case $host_os in -+ mingw*) gl_cv_func_stat_dir_slash="guessing no";; -+ *) gl_cv_func_stat_dir_slash="guessing yes";; -+ esac -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+struct stat st; return stat (".", &st) != stat ("./", &st); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_func_stat_dir_slash=yes -+else -+ gl_cv_func_stat_dir_slash=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_dir_slash" >&5 -+$as_echo "$gl_cv_func_stat_dir_slash" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat handles trailing slashes on files" >&5 -+$as_echo_n "checking whether stat handles trailing slashes on files... " >&6; } -+if ${gl_cv_func_stat_file_slash+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ touch conftest.tmp -+ # Assume that if we have lstat, we can also check symlinks. -+ if test $ac_cv_func_lstat = yes; then -+ ln -s conftest.tmp conftest.lnk -+ fi -+ if test "$cross_compiling" = yes; then : -+ case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_stat_file_slash="guessing no" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+int result = 0; -+ struct stat st; -+ if (!stat ("conftest.tmp/", &st)) -+ result |= 1; -+#if HAVE_LSTAT -+ if (!stat ("conftest.lnk/", &st)) -+ result |= 2; -+#endif -+ return result; -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_func_stat_file_slash=yes -+else -+ gl_cv_func_stat_file_slash=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ rm -f conftest.tmp conftest.lnk -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_stat_file_slash" >&5 -+$as_echo "$gl_cv_func_stat_file_slash" >&6; } -+ case $gl_cv_func_stat_dir_slash in -+ *no) REPLACE_STAT=1 -+ -+$as_echo "#define REPLACE_FUNC_STAT_DIR 1" >>confdefs.h -+;; -+ esac -+ case $gl_cv_func_stat_file_slash in -+ *no) REPLACE_STAT=1 -+ -+$as_echo "#define REPLACE_FUNC_STAT_FILE 1" >>confdefs.h -+;; -+ esac -+ -+ if test $REPLACE_STAT = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS stat.$ac_objext" -+ -+ : -+ fi -+ -+ -+ -+ -+ -+ GNULIB_STAT=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_STAT 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ # Define two additional variables used in the Makefile substitution. -+ -+ if test "$ac_cv_header_stdbool_h" = yes; then -+ STDBOOL_H='' -+ else -+ STDBOOL_H='stdbool.h' -+ fi -+ -+ if test -n "$STDBOOL_H"; then -+ GL_GENERATE_STDBOOL_H_TRUE= -+ GL_GENERATE_STDBOOL_H_FALSE='#' -+else -+ GL_GENERATE_STDBOOL_H_TRUE='#' -+ GL_GENERATE_STDBOOL_H_FALSE= -+fi -+ -+ -+ if test "$ac_cv_type__Bool" = yes; then -+ HAVE__BOOL=1 -+ else -+ HAVE__BOOL=0 -+ fi -+ -+ -+ -+ -+ -+ STDDEF_H= -+ if test $gt_cv_c_wchar_t = no; then -+ HAVE_WCHAR_T=0 -+ STDDEF_H=stddef.h -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5 -+$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; } -+if ${gl_cv_decl_null_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ int test[2 * (sizeof NULL == sizeof (void *)) -1]; -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_decl_null_works=yes -+else -+ gl_cv_decl_null_works=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_decl_null_works" >&5 -+$as_echo "$gl_cv_decl_null_works" >&6; } -+ if test $gl_cv_decl_null_works = no; then -+ REPLACE_NULL=1 -+ STDDEF_H=stddef.h -+ fi -+ -+ if test -n "$STDDEF_H"; then -+ GL_GENERATE_STDDEF_H_TRUE= -+ GL_GENERATE_STDDEF_H_FALSE='#' -+else -+ GL_GENERATE_STDDEF_H_TRUE='#' -+ GL_GENERATE_STDDEF_H_FALSE= -+fi -+ -+ if test -n "$STDDEF_H"; then -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_stddef_h='<'stddef.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_stddef_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'stddef.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5 -+$as_echo "$gl_cv_next_stddef_h" >&6; } -+ fi -+ NEXT_STDDEF_H=$gl_cv_next_stddef_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'stddef.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_stddef_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_STDDEF_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_stdio_h='<'stdio.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_stdio_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'stdio.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5 -+$as_echo "$gl_cv_next_stdio_h" >&6; } -+ fi -+ NEXT_STDIO_H=$gl_cv_next_stdio_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'stdio.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_stdio_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_STDIO_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+ GNULIB_FSCANF=1 -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define GNULIB_FSCANF 1 -+_ACEOF -+ -+ -+ GNULIB_SCANF=1 -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define GNULIB_SCANF 1 -+_ACEOF -+ -+ -+ GNULIB_FGETC=1 -+ GNULIB_GETC=1 -+ GNULIB_GETCHAR=1 -+ GNULIB_FGETS=1 -+ GNULIB_FREAD=1 -+ -+ -+ GNULIB_FPRINTF=1 -+ GNULIB_PRINTF=1 -+ GNULIB_VFPRINTF=1 -+ GNULIB_VPRINTF=1 -+ GNULIB_FPUTC=1 -+ GNULIB_PUTC=1 -+ GNULIB_PUTCHAR=1 -+ GNULIB_FPUTS=1 -+ GNULIB_PUTS=1 -+ GNULIB_FWRITE=1 -+ -+ -+ -+ -+ if test $gl_cv_header_signal_h_SIGPIPE != yes; then -+ REPLACE_STDIO_WRITE_FUNCS=1 -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS stdio-write.$ac_objext" -+ -+ fi -+ -+ -+ -+ -+ for gl_func in dprintf fpurge fseeko ftello getdelim getline gets pclose popen renameat snprintf tmpfile vdprintf vsnprintf; do -+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -+if eval \${$as_gl_Symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+#undef $gl_func -+ (void) $gl_func; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$as_gl_Symbol=yes" -+else -+ eval "$as_gl_Symbol=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$as_gl_Symbol -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+ eval ac_cv_have_decl_$gl_func=yes -+fi -+ done -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_stdlib_h='<'stdlib.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_stdlib_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'stdlib.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5 -+$as_echo "$gl_cv_next_stdlib_h" >&6; } -+ fi -+ NEXT_STDLIB_H=$gl_cv_next_stdlib_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'stdlib.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_stdlib_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_STDLIB_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+ -+ for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps posix_openpt ptsname ptsname_r random random_r realpath rpmatch secure_getenv setenv setstate setstate_r srandom srandom_r strtod strtoll strtoull unlockpt unsetenv; do -+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -+if eval \${$as_gl_Symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#if HAVE_SYS_LOADAVG_H -+# include -+#endif -+#if HAVE_RANDOM_H -+# include -+#endif -+ -+int -+main () -+{ -+#undef $gl_func -+ (void) $gl_func; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$as_gl_Symbol=yes" -+else -+ eval "$as_gl_Symbol=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$as_gl_Symbol -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+ eval ac_cv_have_decl_$gl_func=yes -+fi -+ done -+ -+ -+ -+ -+ -+ -+ -+ if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5 -+$as_echo_n "checking for working strerror function... " >&6; } -+if ${gl_cv_func_working_strerror+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_working_strerror="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_working_strerror="guessing no" ;; -+ esac -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+if (!*strerror (-2)) return 1; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_func_working_strerror=yes -+else -+ gl_cv_func_working_strerror=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_working_strerror" >&5 -+$as_echo "$gl_cv_func_working_strerror" >&6; } -+ case "$gl_cv_func_working_strerror" in -+ *yes) ;; -+ *) -+ REPLACE_STRERROR=1 -+ ;; -+ esac -+ -+ else -+ REPLACE_STRERROR=1 -+ fi -+ -+ if test $REPLACE_STRERROR = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS strerror.$ac_objext" -+ -+ fi -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define GNULIB_STRERROR 1 -+_ACEOF -+ -+ -+ -+ -+ -+ -+ -+ GNULIB_STRERROR=1 -+ -+ -+ -+ -+ -+$as_echo "#define GNULIB_TEST_STRERROR 1" >>confdefs.h -+ -+ -+ -+ -+ -+ if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_LIBOBJS="$gl_LIBOBJS strerror-override.$ac_objext" -+ -+ -+ -+ -+ -+ if test $ac_cv_header_sys_socket_h != yes; then -+ for ac_header in winsock2.h -+do : -+ ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" -+if test "x$ac_cv_header_winsock2_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_WINSOCK2_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ fi -+ if test "$ac_cv_header_winsock2_h" = yes; then -+ HAVE_WINSOCK2_H=1 -+ UNISTD_H_HAVE_WINSOCK2_H=1 -+ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 -+ else -+ HAVE_WINSOCK2_H=0 -+ fi -+ -+ -+ fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_sys_stat_h='<'sys/stat.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_sys_stat_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ if test $ac_cv_header_sys_stat_h = yes; then -+ -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'sys/stat.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ else -+ gl_cv_next_sys_stat_h='<'sys/stat.h'>' -+ fi -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5 -+$as_echo "$gl_cv_next_sys_stat_h" >&6; } -+ fi -+ NEXT_SYS_STAT_H=$gl_cv_next_sys_stat_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'sys/stat.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_sys_stat_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $WINDOWS_64_BIT_ST_SIZE = 1; then -+ -+$as_echo "#define _GL_WINDOWS_64_BIT_ST_SIZE 1" >>confdefs.h -+ -+ fi -+ -+ ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include -+ #include -+" -+if test "x$ac_cv_type_nlink_t" = xyes; then : -+ -+else -+ -+$as_echo "#define nlink_t int" >>confdefs.h -+ -+fi -+ -+ -+ -+ for gl_func in fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat mknod mknodat stat utimensat; do -+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -+if eval \${$as_gl_Symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+int -+main () -+{ -+#undef $gl_func -+ (void) $gl_func; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$as_gl_Symbol=yes" -+else -+ eval "$as_gl_Symbol=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$as_gl_Symbol -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+ eval ac_cv_have_decl_$gl_func=yes -+fi -+ done -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ if test $gl_cv_have_include_next = yes; then -+ gl_cv_next_unistd_h='<'unistd.h'>' -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of " >&5 -+$as_echo_n "checking absolute name of ... " >&6; } -+if ${gl_cv_next_unistd_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ if test $ac_cv_header_unistd_h = yes; then -+ -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+ -+ case "$host_os" in -+ mingw*) -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+ -+ gl_header_literal_regex=`echo 'unistd.h' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+ s|^/[^/]|//&| -+ p -+ q -+ }' -+ gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 | -+ sed -n "$gl_absolute_header_sed"`'"' -+ else -+ gl_cv_next_unistd_h='<'unistd.h'>' -+ fi -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5 -+$as_echo "$gl_cv_next_unistd_h" >&6; } -+ fi -+ NEXT_UNISTD_H=$gl_cv_next_unistd_h -+ -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'unistd.h'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=$gl_cv_next_unistd_h -+ fi -+ NEXT_AS_FIRST_DIRECTIVE_UNISTD_H=$gl_next_as_first_directive -+ -+ -+ -+ -+ if test $ac_cv_header_unistd_h = yes; then -+ HAVE_UNISTD_H=1 -+ else -+ HAVE_UNISTD_H=0 -+ fi -+ -+ -+ -+ -+ -+ -+ -+ for gl_func in chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups gethostname getlogin getlogin_r getpagesize getusershell setusershell endusershell group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite readlink readlinkat rmdir sethostname sleep symlink symlinkat ttyname_r unlink unlinkat usleep; do -+ as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh` -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5 -+$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; } -+if eval \${$as_gl_Symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#if HAVE_UNISTD_H -+# include -+#endif -+/* Some systems declare various items in the wrong headers. */ -+#if !(defined __GLIBC__ && !defined __UCLIBC__) -+# include -+# include -+# include -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+# include -+# endif -+#endif -+ -+int -+main () -+{ -+#undef $gl_func -+ (void) $gl_func; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$as_gl_Symbol=yes" -+else -+ eval "$as_gl_Symbol=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$as_gl_Symbol -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1 -+_ACEOF -+ -+ eval ac_cv_have_decl_$gl_func=yes -+fi -+ done -+ -+ -+ -+ -+ if { test "$HAVE_LIBUNISTRING" != yes \ -+ || { -+ -+ -+ -+ test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ -+ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ -+ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ -+ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ -+ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 -+ } -+ } -+ } -+ -+ -+ -+ -+ } -+ }; then -+ LIBUNISTRING_UNITYPES_H='unitypes.h' -+ else -+ LIBUNISTRING_UNITYPES_H= -+ fi -+ -+ -+ -+ -+ if { test "$HAVE_LIBUNISTRING" != yes \ -+ || { -+ -+ -+ -+ test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ -+ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ -+ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ -+ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ -+ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 0 -+ } -+ } -+ } -+ -+ -+ -+ -+ } -+ }; then -+ LIBUNISTRING_UNIWIDTH_H='uniwidth.h' -+ else -+ LIBUNISTRING_UNIWIDTH_H= -+ fi -+ -+ -+ -+ -+ if { test "$HAVE_LIBUNISTRING" != yes \ -+ || { -+ -+ -+ -+ test $LIBUNISTRING_VERSION_MAJOR -lt 0 \ -+ || { test $LIBUNISTRING_VERSION_MAJOR -eq 0 \ -+ && { test $LIBUNISTRING_VERSION_MINOR -lt 9 \ -+ || { test $LIBUNISTRING_VERSION_MINOR -eq 9 \ -+ && test $LIBUNISTRING_VERSION_SUBMINOR -lt 4 -+ } -+ } -+ } -+ -+ -+ -+ -+ } -+ }; then -+ LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE= -+ LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE='#' -+else -+ LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE='#' -+ LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE= -+fi -+ -+ -+ -+ -+$as_echo "#define USE_UNLOCKED_IO 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ # End of code from modules -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ gltests_libdeps= -+ gltests_ltlibdeps= -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ gl_source_base='tests' -+ gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS -+ -+ gl_module_indicator_condition=$gltests_WITNESS -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ LIBICRT_LIBDEPS="$gl_libdeps" -+ -+ LIBICRT_LTLIBDEPS="$gl_ltlibdeps" -+ -+ -+ -+ -+ -+ -+ -+ -+if test "$enable_shared" = yes; then -+ case "$host_os" in -+ mingw* | cygwin*) is_woe32dll=yes ;; -+ *) is_woe32dll=no ;; -+ esac -+else -+ is_woe32dll=no -+fi -+WOE32DLL=$is_woe32dll -+ -+if test $is_woe32dll = yes; then -+ DLL_VARIABLE='__declspec (dllimport)' -+else -+ DLL_VARIABLE= -+fi -+ -+ -+ -+ -+ -+ -+subdirs="$subdirs libcharset" -+ -+subdirs="$subdirs preload" -+ -+ac_config_files="$ac_config_files Makefile" -+ -+ac_config_files="$ac_config_files lib/Makefile" -+ -+ac_config_files="$ac_config_files srclib/Makefile" -+ -+ac_config_files="$ac_config_files src/Makefile" -+ -+ac_config_files="$ac_config_files po/Makefile.in" -+ -+ac_config_files="$ac_config_files man/Makefile" -+ -+if test -d "${srcdir}/tests"; then -+ ac_config_files="$ac_config_files tests/Makefile" -+ -+fi -+ac_config_files="$ac_config_files include/iconv.h:include/iconv.h.build.in" -+ -+ac_config_files="$ac_config_files include/iconv.h.inst:include/iconv.h.in" -+ -+cat >confcache <<\_ACEOF -+# This file is a shell script that caches the results of configure -+# tests run on this system so they can be shared between configure -+# scripts and configure runs, see configure's option --config-cache. -+# It is not useful on other systems. If it contains results you don't -+# want to keep, you may remove or edit it. -+# -+# config.status only pays attention to the cache file if you give it -+# the --recheck option to rerun configure. -+# -+# `ac_cv_env_foo' variables (set or unset) will be overridden when -+# loading this file, other *unset* `ac_cv_foo' will be assigned the -+# following values. -+ -+_ACEOF -+ -+# The following way of writing the cache mishandles newlines in values, -+# but we know of no workaround that is simple, portable, and efficient. -+# So, we kill variables containing newlines. -+# Ultrix sh set writes to stderr and can't be redirected directly, -+# and sets the high bit in the cache file unless we assign to the vars. -+( -+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do -+ eval ac_val=\$$ac_var -+ case $ac_val in #( -+ *${as_nl}*) -+ case $ac_var in #( -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; -+ esac -+ case $ac_var in #( -+ _ | IFS | as_nl) ;; #( -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; -+ esac ;; -+ esac -+ done -+ -+ (set) 2>&1 | -+ case $as_nl`(ac_space=' '; set) 2>&1` in #( -+ *${as_nl}ac_space=\ *) -+ # `set' does not quote correctly, so add quotes: double-quote -+ # substitution turns \\\\ into \\, and sed turns \\ into \. -+ sed -n \ -+ "s/'/'\\\\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" -+ ;; #( -+ *) -+ # `set' quotes correctly as required by POSIX, so do not add quotes. -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -+ ;; -+ esac | -+ sort -+) | -+ sed ' -+ /^ac_cv_env_/b end -+ t clear -+ :clear -+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ -+ t end -+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ -+ :end' >>confcache -+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else -+ if test -w "$cache_file"; then -+ if test "x$cache_file" != "x/dev/null"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -+$as_echo "$as_me: updating cache $cache_file" >&6;} -+ if test ! -f "$cache_file" || test -h "$cache_file"; then -+ cat confcache >"$cache_file" -+ else -+ case $cache_file in #( -+ */* | ?:*) -+ mv -f confcache "$cache_file"$$ && -+ mv -f "$cache_file"$$ "$cache_file" ;; #( -+ *) -+ mv -f confcache "$cache_file" ;; -+ esac -+ fi -+ fi -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} -+ fi -+fi -+rm -f confcache -+ -+test "x$prefix" = xNONE && prefix=$ac_default_prefix -+# Let make expand exec_prefix. -+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -+ -+DEFS=-DHAVE_CONFIG_H -+ -+ac_libobjs= -+ac_ltlibobjs= -+U= -+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue -+ # 1. Remove the extension, and $U if already installed. -+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' -+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` -+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR -+ # will be set to the directory where LIBOBJS objects are built. -+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" -+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -+done -+LIBOBJS=$ac_libobjs -+ -+LTLIBOBJS=$ac_ltlibobjs -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 -+$as_echo_n "checking that generated files are newer than configure... " >&6; } -+ if test -n "$am_sleep_pid"; then -+ # Hide warnings about reused PIDs. -+ wait $am_sleep_pid 2>/dev/null -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 -+$as_echo "done" >&6; } -+ if test -n "$EXEEXT"; then -+ am__EXEEXT_TRUE= -+ am__EXEEXT_FALSE='#' -+else -+ am__EXEEXT_TRUE='#' -+ am__EXEEXT_FALSE= -+fi -+ -+if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then -+ as_fn_error $? "conditional \"AMDEP\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then -+ as_fn_error $? "conditional \"am__fastdepCC\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${RELOCATABLE_VIA_LD_TRUE}" && test -z "${RELOCATABLE_VIA_LD_FALSE}"; then -+ as_fn_error $? "conditional \"RELOCATABLE_VIA_LD\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${RELOCATABLE_VIA_WRAPPER_TRUE}" && test -z "${RELOCATABLE_VIA_WRAPPER_FALSE}"; then -+ as_fn_error $? "conditional \"RELOCATABLE_VIA_WRAPPER\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${GL_COND_LIBTOOL_TRUE}" && test -z "${GL_COND_LIBTOOL_FALSE}"; then -+ as_fn_error $? "conditional \"GL_COND_LIBTOOL\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${GL_GENERATE_ALLOCA_H_TRUE}" && test -z "${GL_GENERATE_ALLOCA_H_FALSE}"; then -+ as_fn_error $? "conditional \"GL_GENERATE_ALLOCA_H\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${GL_GENERATE_ERRNO_H_TRUE}" && test -z "${GL_GENERATE_ERRNO_H_FALSE}"; then -+ as_fn_error $? "conditional \"GL_GENERATE_ERRNO_H\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${GL_GENERATE_STDBOOL_H_TRUE}" && test -z "${GL_GENERATE_STDBOOL_H_FALSE}"; then -+ as_fn_error $? "conditional \"GL_GENERATE_STDBOOL_H\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${GL_GENERATE_STDDEF_H_TRUE}" && test -z "${GL_GENERATE_STDDEF_H_FALSE}"; then -+ as_fn_error $? "conditional \"GL_GENERATE_STDDEF_H\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${GL_GENERATE_STDINT_H_TRUE}" && test -z "${GL_GENERATE_STDINT_H_FALSE}"; then -+ as_fn_error $? "conditional \"GL_GENERATE_STDINT_H\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+if test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE}" && test -z "${LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_FALSE}"; then -+ as_fn_error $? "conditional \"LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH\" was never defined. -+Usually this means the macro was only invoked conditionally." "$LINENO" 5 -+fi -+ -+ gl_libobjs= -+ gl_ltlibobjs= -+ if test -n "$gl_LIBOBJS"; then -+ # Remove the extension. -+ sed_drop_objext='s/\.o$//;s/\.obj$//' -+ for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do -+ gl_libobjs="$gl_libobjs $i.$ac_objext" -+ gl_ltlibobjs="$gl_ltlibobjs $i.lo" -+ done -+ fi -+ gl_LIBOBJS=$gl_libobjs -+ -+ gl_LTLIBOBJS=$gl_ltlibobjs -+ -+ -+ -+ gltests_libobjs= -+ gltests_ltlibobjs= -+ if test -n "$gltests_LIBOBJS"; then -+ # Remove the extension. -+ sed_drop_objext='s/\.o$//;s/\.obj$//' -+ for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do -+ gltests_libobjs="$gltests_libobjs $i.$ac_objext" -+ gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" -+ done -+ fi -+ gltests_LIBOBJS=$gltests_libobjs -+ -+ gltests_LTLIBOBJS=$gltests_ltlibobjs -+ -+ -+ -+: "${CONFIG_STATUS=./config.status}" -+ac_write_fail=0 -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files $CONFIG_STATUS" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -+as_write_fail=0 -+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -+#! $SHELL -+# Generated by $as_me. -+# Run this file to recreate the current configuration. -+# Compiler output produced by configure, useful for debugging -+# configure, is in config.log if it exists. -+ -+debug=false -+ac_cs_recheck=false -+ac_cs_silent=false -+ -+SHELL=\${CONFIG_SHELL-$SHELL} -+export SHELL -+_ASEOF -+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## -+ -+# Be more Bourne compatible -+DUALCASE=1; export DUALCASE # for MKS sh -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+ -+ -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' -+ fi -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' -+fi -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } -+fi -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. Quoting is -+# there to prevent editors from complaining about space-tab. -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word -+# splitting by setting IFS to empty value.) -+IFS=" "" $as_nl" -+ -+# Find who we are. Look in the path if we contain no directory separator. -+as_myself= -+case $0 in #(( -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done -+IFS=$as_save_IFS -+ -+ ;; -+esac -+# We did not find ourselves, most probably we were run as `sh COMMAND' -+# in which case we are not to be found in the path. -+if test "x$as_myself" = x; then -+ as_myself=$0 -+fi -+if test ! -f "$as_myself"; then -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 -+fi -+ -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -+done -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+ -+# as_fn_error STATUS ERROR [LINENO LOG_FD] -+# ---------------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with STATUS, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$1; test $as_status -eq 0 && as_status=1 -+ if test "$4"; then -+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 -+ fi -+ $as_echo "$as_me: error: $2" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+if expr a : '\(a\)' >/dev/null 2>&1 && -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi -+ -+as_me=`$as_basename -- "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac -+ -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null -+fi -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -pR'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -pR' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -pR' -+ fi -+else -+ as_ln_s='cp -pR' -+fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null -+ -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+ -+# as_fn_executable_p FILE -+# ----------------------- -+# Test if FILE is an executable regular file. -+as_fn_executable_p () -+{ -+ test -f "$1" && test -x "$1" -+} # as_fn_executable_p -+as_test_x='test -x' -+as_executable_p=as_fn_executable_p -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+ -+exec 6>&1 -+## ----------------------------------- ## -+## Main body of $CONFIG_STATUS script. ## -+## ----------------------------------- ## -+_ASEOF -+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# Save the log message, to keep $0 and so on meaningful, and to -+# report actual input values of CONFIG_FILES etc. instead of their -+# values after options handling. -+ac_log=" -+This file was extended by $as_me, which was -+generated by GNU Autoconf 2.69. Invocation command line was -+ -+ CONFIG_FILES = $CONFIG_FILES -+ CONFIG_HEADERS = $CONFIG_HEADERS -+ CONFIG_LINKS = $CONFIG_LINKS -+ CONFIG_COMMANDS = $CONFIG_COMMANDS -+ $ $0 $@ -+ -+on `(hostname || uname -n) 2>/dev/null | sed 1q` -+" -+ -+_ACEOF -+ -+case $ac_config_files in *" -+"*) set x $ac_config_files; shift; ac_config_files=$*;; -+esac -+ -+case $ac_config_headers in *" -+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -+esac -+ -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+# Files that config.status was made for. -+config_files="$ac_config_files" -+config_headers="$ac_config_headers" -+config_commands="$ac_config_commands" -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ac_cs_usage="\ -+\`$as_me' instantiates files and other configuration actions -+from templates according to the current configuration. Unless the files -+and actions are specified as TAGs, all are instantiated by default. -+ -+Usage: $0 [OPTION]... [TAG]... -+ -+ -h, --help print this help, then exit -+ -V, --version print version number and configuration settings, then exit -+ --config print configuration, then exit -+ -q, --quiet, --silent -+ do not print progress messages -+ -d, --debug don't remove temporary files -+ --recheck update $as_me by reconfiguring in the same conditions -+ --file=FILE[:TEMPLATE] -+ instantiate the configuration file FILE -+ --header=FILE[:TEMPLATE] -+ instantiate the configuration header FILE -+ -+Configuration files: -+$config_files -+ -+Configuration headers: -+$config_headers -+ -+Configuration commands: -+$config_commands -+ -+Report bugs to the package provider." -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -+ac_cs_version="\\ -+config.status -+configured by $0, generated by GNU Autoconf 2.69, -+ with options \\"\$ac_cs_config\\" -+ -+Copyright (C) 2012 Free Software Foundation, Inc. -+This config.status script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it." -+ -+ac_pwd='$ac_pwd' -+srcdir='$srcdir' -+INSTALL='$INSTALL' -+MKDIR_P='$MKDIR_P' -+AWK='$AWK' -+test -n "\$AWK" || AWK=awk -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# The default lists apply if the user does not specify any file. -+ac_need_defaults=: -+while test $# != 0 -+do -+ case $1 in -+ --*=?*) -+ ac_option=`expr "X$1" : 'X\([^=]*\)='` -+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` -+ ac_shift=: -+ ;; -+ --*=) -+ ac_option=`expr "X$1" : 'X\([^=]*\)='` -+ ac_optarg= -+ ac_shift=: -+ ;; -+ *) -+ ac_option=$1 -+ ac_optarg=$2 -+ ac_shift=shift -+ ;; -+ esac -+ -+ case $ac_option in -+ # Handling of the options. -+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -+ ac_cs_recheck=: ;; -+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) -+ $as_echo "$ac_cs_version"; exit ;; -+ --config | --confi | --conf | --con | --co | --c ) -+ $as_echo "$ac_cs_config"; exit ;; -+ --debug | --debu | --deb | --de | --d | -d ) -+ debug=: ;; -+ --file | --fil | --fi | --f ) -+ $ac_shift -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ '') as_fn_error $? "missing file argument" ;; -+ esac -+ as_fn_append CONFIG_FILES " '$ac_optarg'" -+ ac_need_defaults=false;; -+ --header | --heade | --head | --hea ) -+ $ac_shift -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" -+ ac_need_defaults=false;; -+ --he | --h) -+ # Conflict between --help and --header -+ as_fn_error $? "ambiguous option: \`$1' -+Try \`$0 --help' for more information.";; -+ --help | --hel | -h ) -+ $as_echo "$ac_cs_usage"; exit ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil | --si | --s) -+ ac_cs_silent=: ;; -+ -+ # This is an error. -+ -*) as_fn_error $? "unrecognized option: \`$1' -+Try \`$0 --help' for more information." ;; -+ -+ *) as_fn_append ac_config_targets " $1" -+ ac_need_defaults=false ;; -+ -+ esac -+ shift -+done -+ -+ac_configure_extra_args= -+ -+if $ac_cs_silent; then -+ exec 6>/dev/null -+ ac_configure_extra_args="$ac_configure_extra_args --silent" -+fi -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+if \$ac_cs_recheck; then -+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -+ shift -+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 -+ CONFIG_SHELL='$SHELL' -+ export CONFIG_SHELL -+ exec "\$@" -+fi -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+exec 5>>config.log -+{ -+ echo -+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -+## Running $as_me. ## -+_ASBOX -+ $as_echo "$ac_log" -+} >&5 -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+# -+# INIT-COMMANDS -+# -+AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" -+ -+ -+# The HP-UX ksh and POSIX shell print the target directory to stdout -+# if CDPATH is set. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+sed_quote_subst='$sed_quote_subst' -+double_quote_subst='$double_quote_subst' -+delay_variable_subst='$delay_variable_subst' -+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' -+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' -+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' -+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' -+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' -+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' -+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' -+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' -+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' -+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' -+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' -+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' -+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' -+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' -+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' -+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' -+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' -+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' -+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' -+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' -+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' -+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' -+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' -+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' -+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' -+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' -+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' -+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' -+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' -+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' -+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' -+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' -+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' -+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' -+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' -+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' -+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' -+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' -+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' -+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' -+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' -+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' -+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' -+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' -+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' -+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' -+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' -+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' -+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' -+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' -+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' -+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' -+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' -+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' -+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' -+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' -+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' -+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' -+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' -+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' -+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' -+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' -+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' -+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' -+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' -+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' -+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' -+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' -+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' -+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' -+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' -+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' -+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' -+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' -+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' -+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' -+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' -+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' -+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' -+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' -+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' -+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' -+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' -+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' -+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' -+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' -+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' -+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' -+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' -+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' -+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' -+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' -+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' -+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' -+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' -+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' -+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' -+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' -+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' -+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' -+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' -+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' -+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' -+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' -+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' -+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' -+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' -+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' -+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' -+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' -+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' -+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' -+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' -+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' -+LD_RC='`$ECHO "$LD_RC" | $SED "$delay_single_quote_subst"`' -+reload_flag_RC='`$ECHO "$reload_flag_RC" | $SED "$delay_single_quote_subst"`' -+reload_cmds_RC='`$ECHO "$reload_cmds_RC" | $SED "$delay_single_quote_subst"`' -+old_archive_cmds_RC='`$ECHO "$old_archive_cmds_RC" | $SED "$delay_single_quote_subst"`' -+compiler_RC='`$ECHO "$compiler_RC" | $SED "$delay_single_quote_subst"`' -+GCC_RC='`$ECHO "$GCC_RC" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_no_builtin_flag_RC='`$ECHO "$lt_prog_compiler_no_builtin_flag_RC" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_pic_RC='`$ECHO "$lt_prog_compiler_pic_RC" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_wl_RC='`$ECHO "$lt_prog_compiler_wl_RC" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_static_RC='`$ECHO "$lt_prog_compiler_static_RC" | $SED "$delay_single_quote_subst"`' -+lt_cv_prog_compiler_c_o_RC='`$ECHO "$lt_cv_prog_compiler_c_o_RC" | $SED "$delay_single_quote_subst"`' -+archive_cmds_need_lc_RC='`$ECHO "$archive_cmds_need_lc_RC" | $SED "$delay_single_quote_subst"`' -+enable_shared_with_static_runtimes_RC='`$ECHO "$enable_shared_with_static_runtimes_RC" | $SED "$delay_single_quote_subst"`' -+export_dynamic_flag_spec_RC='`$ECHO "$export_dynamic_flag_spec_RC" | $SED "$delay_single_quote_subst"`' -+whole_archive_flag_spec_RC='`$ECHO "$whole_archive_flag_spec_RC" | $SED "$delay_single_quote_subst"`' -+compiler_needs_object_RC='`$ECHO "$compiler_needs_object_RC" | $SED "$delay_single_quote_subst"`' -+old_archive_from_new_cmds_RC='`$ECHO "$old_archive_from_new_cmds_RC" | $SED "$delay_single_quote_subst"`' -+old_archive_from_expsyms_cmds_RC='`$ECHO "$old_archive_from_expsyms_cmds_RC" | $SED "$delay_single_quote_subst"`' -+archive_cmds_RC='`$ECHO "$archive_cmds_RC" | $SED "$delay_single_quote_subst"`' -+archive_expsym_cmds_RC='`$ECHO "$archive_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`' -+module_cmds_RC='`$ECHO "$module_cmds_RC" | $SED "$delay_single_quote_subst"`' -+module_expsym_cmds_RC='`$ECHO "$module_expsym_cmds_RC" | $SED "$delay_single_quote_subst"`' -+with_gnu_ld_RC='`$ECHO "$with_gnu_ld_RC" | $SED "$delay_single_quote_subst"`' -+allow_undefined_flag_RC='`$ECHO "$allow_undefined_flag_RC" | $SED "$delay_single_quote_subst"`' -+no_undefined_flag_RC='`$ECHO "$no_undefined_flag_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_flag_spec_RC='`$ECHO "$hardcode_libdir_flag_spec_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_separator_RC='`$ECHO "$hardcode_libdir_separator_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_direct_RC='`$ECHO "$hardcode_direct_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_direct_absolute_RC='`$ECHO "$hardcode_direct_absolute_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_minus_L_RC='`$ECHO "$hardcode_minus_L_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_shlibpath_var_RC='`$ECHO "$hardcode_shlibpath_var_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_automatic_RC='`$ECHO "$hardcode_automatic_RC" | $SED "$delay_single_quote_subst"`' -+inherit_rpath_RC='`$ECHO "$inherit_rpath_RC" | $SED "$delay_single_quote_subst"`' -+link_all_deplibs_RC='`$ECHO "$link_all_deplibs_RC" | $SED "$delay_single_quote_subst"`' -+always_export_symbols_RC='`$ECHO "$always_export_symbols_RC" | $SED "$delay_single_quote_subst"`' -+export_symbols_cmds_RC='`$ECHO "$export_symbols_cmds_RC" | $SED "$delay_single_quote_subst"`' -+exclude_expsyms_RC='`$ECHO "$exclude_expsyms_RC" | $SED "$delay_single_quote_subst"`' -+include_expsyms_RC='`$ECHO "$include_expsyms_RC" | $SED "$delay_single_quote_subst"`' -+prelink_cmds_RC='`$ECHO "$prelink_cmds_RC" | $SED "$delay_single_quote_subst"`' -+postlink_cmds_RC='`$ECHO "$postlink_cmds_RC" | $SED "$delay_single_quote_subst"`' -+file_list_spec_RC='`$ECHO "$file_list_spec_RC" | $SED "$delay_single_quote_subst"`' -+hardcode_action_RC='`$ECHO "$hardcode_action_RC" | $SED "$delay_single_quote_subst"`' -+ -+LTCC='$LTCC' -+LTCFLAGS='$LTCFLAGS' -+compiler='$compiler_DEFAULT' -+ -+# A function that is used when there is no print builtin or printf. -+func_fallback_echo () -+{ -+ eval 'cat <<_LTECHO_EOF -+\$1 -+_LTECHO_EOF' -+} -+ -+# Quote evaled strings. -+for var in AS \ -+DLLTOOL \ -+OBJDUMP \ -+SHELL \ -+ECHO \ -+PATH_SEPARATOR \ -+SED \ -+GREP \ -+EGREP \ -+FGREP \ -+LD \ -+NM \ -+LN_S \ -+lt_SP2NL \ -+lt_NL2SP \ -+reload_flag \ -+deplibs_check_method \ -+file_magic_cmd \ -+file_magic_glob \ -+want_nocaseglob \ -+sharedlib_from_linklib_cmd \ -+AR \ -+AR_FLAGS \ -+archiver_list_spec \ -+STRIP \ -+RANLIB \ -+CC \ -+CFLAGS \ -+compiler \ -+lt_cv_sys_global_symbol_pipe \ -+lt_cv_sys_global_symbol_to_cdecl \ -+lt_cv_sys_global_symbol_to_c_name_address \ -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -+nm_file_list_spec \ -+lt_prog_compiler_no_builtin_flag \ -+lt_prog_compiler_pic \ -+lt_prog_compiler_wl \ -+lt_prog_compiler_static \ -+lt_cv_prog_compiler_c_o \ -+need_locks \ -+MANIFEST_TOOL \ -+DSYMUTIL \ -+NMEDIT \ -+LIPO \ -+OTOOL \ -+OTOOL64 \ -+shrext_cmds \ -+export_dynamic_flag_spec \ -+whole_archive_flag_spec \ -+compiler_needs_object \ -+with_gnu_ld \ -+allow_undefined_flag \ -+no_undefined_flag \ -+hardcode_libdir_flag_spec \ -+hardcode_libdir_separator \ -+exclude_expsyms \ -+include_expsyms \ -+file_list_spec \ -+variables_saved_for_relink \ -+libname_spec \ -+library_names_spec \ -+soname_spec \ -+install_override_mode \ -+finish_eval \ -+old_striplib \ -+striplib \ -+LD_RC \ -+reload_flag_RC \ -+compiler_RC \ -+lt_prog_compiler_no_builtin_flag_RC \ -+lt_prog_compiler_pic_RC \ -+lt_prog_compiler_wl_RC \ -+lt_prog_compiler_static_RC \ -+lt_cv_prog_compiler_c_o_RC \ -+export_dynamic_flag_spec_RC \ -+whole_archive_flag_spec_RC \ -+compiler_needs_object_RC \ -+with_gnu_ld_RC \ -+allow_undefined_flag_RC \ -+no_undefined_flag_RC \ -+hardcode_libdir_flag_spec_RC \ -+hardcode_libdir_separator_RC \ -+exclude_expsyms_RC \ -+include_expsyms_RC \ -+file_list_spec_RC; do -+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in -+ *[\\\\\\\`\\"\\\$]*) -+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" -+ ;; -+ *) -+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" -+ ;; -+ esac -+done -+ -+# Double-quote double-evaled strings. -+for var in reload_cmds \ -+old_postinstall_cmds \ -+old_postuninstall_cmds \ -+old_archive_cmds \ -+extract_expsyms_cmds \ -+old_archive_from_new_cmds \ -+old_archive_from_expsyms_cmds \ -+archive_cmds \ -+archive_expsym_cmds \ -+module_cmds \ -+module_expsym_cmds \ -+export_symbols_cmds \ -+prelink_cmds \ -+postlink_cmds \ -+postinstall_cmds \ -+postuninstall_cmds \ -+finish_cmds \ -+sys_lib_search_path_spec \ -+sys_lib_dlsearch_path_spec \ -+reload_cmds_RC \ -+old_archive_cmds_RC \ -+old_archive_from_new_cmds_RC \ -+old_archive_from_expsyms_cmds_RC \ -+archive_cmds_RC \ -+archive_expsym_cmds_RC \ -+module_cmds_RC \ -+module_expsym_cmds_RC \ -+export_symbols_cmds_RC \ -+prelink_cmds_RC \ -+postlink_cmds_RC; do -+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in -+ *[\\\\\\\`\\"\\\$]*) -+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" -+ ;; -+ *) -+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" -+ ;; -+ esac -+done -+ -+ac_aux_dir='$ac_aux_dir' -+xsi_shell='$xsi_shell' -+lt_shell_append='$lt_shell_append' -+ -+# See if we are running on zsh, and set the options which allow our -+# commands through without removal of \ escapes INIT. -+if test -n "\${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+fi -+ -+ -+ PACKAGE='$PACKAGE' -+ VERSION='$VERSION' -+ TIMESTAMP='$TIMESTAMP' -+ RM='$RM' -+ ofile='$ofile' -+ -+ -+ -+ -+ -+# Capture the value of obsolete ALL_LINGUAS because we need it to compute -+ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it -+ # from automake < 1.5. -+ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' -+ # Capture the value of LINGUAS because we need it to compute CATALOGS. -+ LINGUAS="${LINGUAS-%UNSET%}" -+ -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ -+# Handling of arguments. -+for ac_config_target in $ac_config_targets -+do -+ case $ac_config_target in -+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; -+ "lib/config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/config.h" ;; -+ "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; -+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; -+ "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; -+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; -+ "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; -+ "srclib/Makefile") CONFIG_FILES="$CONFIG_FILES srclib/Makefile" ;; -+ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; -+ "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; -+ "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; -+ "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; -+ "include/iconv.h") CONFIG_FILES="$CONFIG_FILES include/iconv.h:include/iconv.h.build.in" ;; -+ "include/iconv.h.inst") CONFIG_FILES="$CONFIG_FILES include/iconv.h.inst:include/iconv.h.in" ;; -+ -+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; -+ esac -+done -+ -+ -+# If the user did not use the arguments to specify the items to instantiate, -+# then the envvar interface is used. Set only those that are not. -+# We use the long form for the default assignment because of an extremely -+# bizarre bug on SunOS 4.1.3. -+if $ac_need_defaults; then -+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers -+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -+fi -+ -+# Have a temporary directory for convenience. Make it in the build tree -+# simply because there is no reason against having it here, and in addition, -+# creating and moving files from /tmp can sometimes cause problems. -+# Hook for its removal unless debugging. -+# Note that there is a small window in which the directory will not be cleaned: -+# after its creation but before its name has been assigned to `$tmp'. -+$debug || -+{ -+ tmp= ac_tmp= -+ trap 'exit_status=$? -+ : "${ac_tmp:=$tmp}" -+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -+' 0 -+ trap 'as_fn_exit 1' 1 2 13 15 -+} -+# Create a (secure) tmp directory for tmp files. -+ -+{ -+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && -+ test -d "$tmp" -+} || -+{ -+ tmp=./conf$$-$RANDOM -+ (umask 077 && mkdir "$tmp") -+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -+ac_tmp=$tmp -+ -+# Set up the scripts for CONFIG_FILES section. -+# No need to generate them if there are no CONFIG_FILES. -+# This happens for instance with `./config.status config.h'. -+if test -n "$CONFIG_FILES"; then -+ -+ -+ac_cr=`echo X | tr X '\015'` -+# On cygwin, bash can eat \r inside `` if the user requested igncr. -+# But we know of no other shell where ac_cr would be empty at this -+# point, so we can use a bashism as a fallback. -+if test "x$ac_cr" = x; then -+ eval ac_cr=\$\'\\r\' -+fi -+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then -+ ac_cs_awk_cr='\\r' -+else -+ ac_cs_awk_cr=$ac_cr -+fi -+ -+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -+_ACEOF -+ -+ -+{ -+ echo "cat >conf$$subs.awk <<_ACEOF" && -+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && -+ echo "_ACEOF" -+} >conf$$subs.sh || -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` -+ac_delim='%!_!# ' -+for ac_last_try in false false false false false :; do -+ . ./conf$$subs.sh || -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ -+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` -+ if test $ac_delim_n = $ac_delim_num; then -+ break -+ elif $ac_last_try; then -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ else -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " -+ fi -+done -+rm -f conf$$subs.sh -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && -+_ACEOF -+sed -n ' -+h -+s/^/S["/; s/!.*/"]=/ -+p -+g -+s/^[^!]*!// -+:repl -+t repl -+s/'"$ac_delim"'$// -+t delim -+:nl -+h -+s/\(.\{148\}\)..*/\1/ -+t more1 -+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -+p -+n -+b repl -+:more1 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t nl -+:delim -+h -+s/\(.\{148\}\)..*/\1/ -+t more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"/ -+p -+b -+:more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t delim -+' >$CONFIG_STATUS || ac_write_fail=1 -+rm -f conf$$subs.awk -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+_ACAWK -+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && -+ for (key in S) S_is_set[key] = 1 -+ FS = "" -+ -+} -+{ -+ line = $ 0 -+ nfields = split(line, field, "@") -+ substed = 0 -+ len = length(field[1]) -+ for (i = 2; i < nfields; i++) { -+ key = field[i] -+ keylen = length(key) -+ if (S_is_set[key]) { -+ value = S[key] -+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) -+ len += length(value) + length(field[++i]) -+ substed = 1 -+ } else -+ len += 1 + keylen -+ } -+ -+ print line -+} -+ -+_ACAWK -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then -+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -+else -+ cat -+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ -+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -+_ACEOF -+ -+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and -+# trailing colons and then remove the whole line if VPATH becomes empty -+# (actually we leave an empty line to preserve line numbers). -+if test "x$srcdir" = x.; then -+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -+h -+s/// -+s/^/:/ -+s/[ ]*$/:/ -+s/:\$(srcdir):/:/g -+s/:\${srcdir}:/:/g -+s/:@srcdir@:/:/g -+s/^:*// -+s/:*$// -+x -+s/\(=[ ]*\).*/\1/ -+G -+s/\n// -+s/^[^=]*=[ ]*$// -+}' -+fi -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+fi # test -n "$CONFIG_FILES" -+ -+# Set up the scripts for CONFIG_HEADERS section. -+# No need to generate them if there are no CONFIG_HEADERS. -+# This happens for instance with `./config.status Makefile'. -+if test -n "$CONFIG_HEADERS"; then -+cat >"$ac_tmp/defines.awk" <<\_ACAWK || -+BEGIN { -+_ACEOF -+ -+# Transform confdefs.h into an awk script `defines.awk', embedded as -+# here-document in config.status, that substitutes the proper values into -+# config.h.in to produce config.h. -+ -+# Create a delimiter string that does not exist in confdefs.h, to ease -+# handling of long lines. -+ac_delim='%!_!# ' -+for ac_last_try in false false :; do -+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` -+ if test -z "$ac_tt"; then -+ break -+ elif $ac_last_try; then -+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 -+ else -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " -+ fi -+done -+ -+# For the awk script, D is an array of macro values keyed by name, -+# likewise P contains macro parameters if any. Preserve backslash -+# newline sequences. -+ -+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -+sed -n ' -+s/.\{148\}/&'"$ac_delim"'/g -+t rset -+:rset -+s/^[ ]*#[ ]*define[ ][ ]*/ / -+t def -+d -+:def -+s/\\$// -+t bsnl -+s/["\\]/\\&/g -+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -+D["\1"]=" \3"/p -+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -+d -+:bsnl -+s/["\\]/\\&/g -+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -+D["\1"]=" \3\\\\\\n"\\/p -+t cont -+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -+t cont -+d -+:cont -+n -+s/.\{148\}/&'"$ac_delim"'/g -+t clear -+:clear -+s/\\$// -+t bsnlc -+s/["\\]/\\&/g; s/^/"/; s/$/"/p -+d -+:bsnlc -+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -+b cont -+' >$CONFIG_STATUS || ac_write_fail=1 -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ for (key in D) D_is_set[key] = 1 -+ FS = "" -+} -+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { -+ line = \$ 0 -+ split(line, arg, " ") -+ if (arg[1] == "#") { -+ defundef = arg[2] -+ mac1 = arg[3] -+ } else { -+ defundef = substr(arg[1], 2) -+ mac1 = arg[2] -+ } -+ split(mac1, mac2, "(") #) -+ macro = mac2[1] -+ prefix = substr(line, 1, index(line, defundef) - 1) -+ if (D_is_set[macro]) { -+ # Preserve the white space surrounding the "#". -+ print prefix "define", macro P[macro] D[macro] -+ next -+ } else { -+ # Replace #undef with comments. This is necessary, for example, -+ # in the case of _POSIX_SOURCE, which is predefined and required -+ # on some systems where configure will not decide to define it. -+ if (defundef == "undef") { -+ print "/*", prefix defundef, macro, "*/" -+ next -+ } -+ } -+} -+{ print } -+_ACAWK -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 -+fi # test -n "$CONFIG_HEADERS" -+ -+ -+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -+shift -+for ac_tag -+do -+ case $ac_tag in -+ :[FHLC]) ac_mode=$ac_tag; continue;; -+ esac -+ case $ac_mode$ac_tag in -+ :[FHL]*:*);; -+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; -+ :[FH]-) ac_tag=-:-;; -+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; -+ esac -+ ac_save_IFS=$IFS -+ IFS=: -+ set x $ac_tag -+ IFS=$ac_save_IFS -+ shift -+ ac_file=$1 -+ shift -+ -+ case $ac_mode in -+ :L) ac_source=$1;; -+ :[FH]) -+ ac_file_inputs= -+ for ac_f -+ do -+ case $ac_f in -+ -) ac_f="$ac_tmp/stdin";; -+ *) # Look for the file first in the build tree, then in the source tree -+ # (if the path is not absolute). The absolute path cannot be DOS-style, -+ # because $ac_f cannot contain `:'. -+ test -f "$ac_f" || -+ case $ac_f in -+ [\\/$]*) false;; -+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; -+ esac || -+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; -+ esac -+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac -+ as_fn_append ac_file_inputs " '$ac_f'" -+ done -+ -+ # Let's still pretend it is `configure' which instantiates (i.e., don't -+ # use $as_me), people would be surprised to read: -+ # /* config.h. Generated by config.status. */ -+ configure_input='Generated from '` -+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' -+ `' by configure.' -+ if test x"$ac_file" != x-; then -+ configure_input="$ac_file. $configure_input" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -+$as_echo "$as_me: creating $ac_file" >&6;} -+ fi -+ # Neutralize special characters interpreted by sed in replacement strings. -+ case $configure_input in #( -+ *\&* | *\|* | *\\* ) -+ ac_sed_conf_input=`$as_echo "$configure_input" | -+ sed 's/[\\\\&|]/\\\\&/g'`;; #( -+ *) ac_sed_conf_input=$configure_input;; -+ esac -+ -+ case $ac_tag in -+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; -+ esac -+ ;; -+ esac -+ -+ ac_dir=`$as_dirname -- "$ac_file" || -+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$ac_file" : 'X\(//\)[^/]' \| \ -+ X"$ac_file" : 'X\(//\)$' \| \ -+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$ac_file" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ as_dir="$ac_dir"; as_fn_mkdir_p -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ -+ case $ac_mode in -+ :F) -+ # -+ # CONFIG_FILE -+ # -+ -+ case $INSTALL in -+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; -+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; -+ esac -+ ac_MKDIR_P=$MKDIR_P -+ case $MKDIR_P in -+ [\\/$]* | ?:[\\/]* ) ;; -+ */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; -+ esac -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# If the template does not know about datarootdir, expand it. -+# FIXME: This hack should be removed a few years after 2.60. -+ac_datarootdir_hack=; ac_datarootdir_seen= -+ac_sed_dataroot=' -+/datarootdir/ { -+ p -+ q -+} -+/@datadir@/p -+/@docdir@/p -+/@infodir@/p -+/@localedir@/p -+/@mandir@/p' -+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -+*datarootdir*) ac_datarootdir_seen=yes;; -+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ ac_datarootdir_hack=' -+ s&@datadir@&$datadir&g -+ s&@docdir@&$docdir&g -+ s&@infodir@&$infodir&g -+ s&@localedir@&$localedir&g -+ s&@mandir@&$mandir&g -+ s&\\\${datarootdir}&$datarootdir&g' ;; -+esac -+_ACEOF -+ -+# Neutralize VPATH when `$srcdir' = `.'. -+# Shell code in configure.ac might set extrasub. -+# FIXME: do we really want to maintain this feature? -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_sed_extra="$ac_vpsub -+$extrasub -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+:t -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -+s|@configure_input@|$ac_sed_conf_input|;t t -+s&@top_builddir@&$ac_top_builddir_sub&;t t -+s&@top_build_prefix@&$ac_top_build_prefix&;t t -+s&@srcdir@&$ac_srcdir&;t t -+s&@abs_srcdir@&$ac_abs_srcdir&;t t -+s&@top_srcdir@&$ac_top_srcdir&;t t -+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -+s&@builddir@&$ac_builddir&;t t -+s&@abs_builddir@&$ac_abs_builddir&;t t -+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -+s&@INSTALL@&$ac_INSTALL&;t t -+s&@MKDIR_P@&$ac_MKDIR_P&;t t -+$ac_datarootdir_hack -+" -+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ -+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ -+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && -+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && -+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ -+ "$ac_tmp/out"`; test -z "$ac_out"; } && -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined" >&5 -+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined" >&2;} -+ -+ rm -f "$ac_tmp/stdin" -+ case $ac_file in -+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; -+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; -+ esac \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ ;; -+ :H) -+ # -+ # CONFIG_HEADER -+ # -+ if test x"$ac_file" != x-; then -+ { -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" -+ } >"$ac_tmp/config.h" \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -+$as_echo "$as_me: $ac_file is unchanged" >&6;} -+ else -+ rm -f "$ac_file" -+ mv "$ac_tmp/config.h" "$ac_file" \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ fi -+ else -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ -+ || as_fn_error $? "could not create -" "$LINENO" 5 -+ fi -+# Compute "$ac_file"'s index in $config_headers. -+_am_arg="$ac_file" -+_am_stamp_count=1 -+for _am_header in $config_headers :; do -+ case $_am_header in -+ $_am_arg | $_am_arg:* ) -+ break ;; -+ * ) -+ _am_stamp_count=`expr $_am_stamp_count + 1` ;; -+ esac -+done -+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || -+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$_am_arg" : 'X\(//\)[^/]' \| \ -+ X"$_am_arg" : 'X\(//\)$' \| \ -+ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$_am_arg" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'`/stamp-h$_am_stamp_count -+ ;; -+ -+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -+$as_echo "$as_me: executing $ac_file commands" >&6;} -+ ;; -+ esac -+ -+ -+ case $ac_file$ac_mode in -+ "depfiles":C) test x"$AMDEP_TRUE" != x"" || { -+ # Autoconf 2.62 quotes --file arguments for eval, but not when files -+ # are listed without --file. Let's play safe and only enable the eval -+ # if we detect the quoting. -+ case $CONFIG_FILES in -+ *\'*) eval set x "$CONFIG_FILES" ;; -+ *) set x $CONFIG_FILES ;; -+ esac -+ shift -+ for mf -+ do -+ # Strip MF so we end up with the name of the file. -+ mf=`echo "$mf" | sed -e 's/:.*$//'` -+ # Check whether this is an Automake generated Makefile or not. -+ # We used to match only the files named 'Makefile.in', but -+ # some people rename them; so instead we look at the file content. -+ # Grep'ing the first line is not enough: some people post-process -+ # each Makefile.in and add a new line on top of each file to say so. -+ # Grep'ing the whole file is not good either: AIX grep has a line -+ # limit of 2048, but all sed's we know have understand at least 4000. -+ if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then -+ dirpart=`$as_dirname -- "$mf" || -+$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$mf" : 'X\(//\)[^/]' \| \ -+ X"$mf" : 'X\(//\)$' \| \ -+ X"$mf" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$mf" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ else -+ continue -+ fi -+ # Extract the definition of DEPDIR, am__include, and am__quote -+ # from the Makefile without running 'make'. -+ DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` -+ test -z "$DEPDIR" && continue -+ am__include=`sed -n 's/^am__include = //p' < "$mf"` -+ test -z "am__include" && continue -+ am__quote=`sed -n 's/^am__quote = //p' < "$mf"` -+ # Find all dependency output files, they are included files with -+ # $(DEPDIR) in their names. We invoke sed twice because it is the -+ # simplest approach to changing $(DEPDIR) to its actual value in the -+ # expansion. -+ for file in `sed -n " -+ s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ -+ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do -+ # Make sure the directory exists. -+ test -f "$dirpart/$file" && continue -+ fdir=`$as_dirname -- "$file" || -+$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$file" : 'X\(//\)[^/]' \| \ -+ X"$file" : 'X\(//\)$' \| \ -+ X"$file" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$file" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ as_dir=$dirpart/$fdir; as_fn_mkdir_p -+ # echo "creating $dirpart/$file" -+ echo '# dummy' > "$dirpart/$file" -+ done -+ done -+} -+ ;; -+ "libtool":C) -+ -+ # See if we are running on zsh, and set the options which allow our -+ # commands through without removal of \ escapes. -+ if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+ fi -+ -+ cfgfile="${ofile}T" -+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15 -+ $RM "$cfgfile" -+ -+ cat <<_LT_EOF >> "$cfgfile" -+#! $SHELL -+ -+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -+# NOTE: Changes made to this file will be lost: look at ltmain.sh. -+# -+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software -+# Foundation, Inc. -+# Written by Gordon Matzigkeit, 1996 -+# -+# This file is part of GNU Libtool. -+# -+# GNU Libtool is free software; you can redistribute it and/or -+# modify it under the terms of the GNU General Public License as -+# published by the Free Software Foundation; either version 2 of -+# the License, or (at your option) any later version. -+# -+# As a special exception to the GNU General Public License, -+# if you distribute this file as part of a program or library that -+# is built using GNU Libtool, you may include this file under the -+# same distribution terms that you use for the rest of that program. -+# -+# GNU Libtool is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with GNU Libtool; see the file COPYING. If not, a copy -+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -+# obtained by writing to the Free Software Foundation, Inc., -+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -+ -+ -+# The names of the tagged configurations supported by this script. -+available_tags="RC " -+ -+# ### BEGIN LIBTOOL CONFIG -+ -+# Which release of libtool.m4 was used? -+macro_version=$macro_version -+macro_revision=$macro_revision -+ -+# Whether or not to build static libraries. -+build_old_libs=$enable_static -+ -+# Assembler program. -+AS=$lt_AS -+ -+# DLL creation program. -+DLLTOOL=$lt_DLLTOOL -+ -+# Object dumper program. -+OBJDUMP=$lt_OBJDUMP -+ -+# Whether or not to build shared libraries. -+build_libtool_libs=$enable_shared -+ -+# What type of objects to build. -+pic_mode=$pic_mode -+ -+# Whether or not to optimize for fast installation. -+fast_install=$enable_fast_install -+ -+# Shell to use when invoking shell scripts. -+SHELL=$lt_SHELL -+ -+# An echo program that protects backslashes. -+ECHO=$lt_ECHO -+ -+# The PATH separator for the build system. -+PATH_SEPARATOR=$lt_PATH_SEPARATOR -+ -+# The host system. -+host_alias=$host_alias -+host=$host -+host_os=$host_os -+ -+# The build system. -+build_alias=$build_alias -+build=$build -+build_os=$build_os -+ -+# A sed program that does not truncate output. -+SED=$lt_SED -+ -+# Sed that helps us avoid accidentally triggering echo(1) options like -n. -+Xsed="\$SED -e 1s/^X//" -+ -+# A grep program that handles long lines. -+GREP=$lt_GREP -+ -+# An ERE matcher. -+EGREP=$lt_EGREP -+ -+# A literal string matcher. -+FGREP=$lt_FGREP -+ -+# A BSD- or MS-compatible name lister. -+NM=$lt_NM -+ -+# Whether we need soft or hard links. -+LN_S=$lt_LN_S -+ -+# What is the maximum length of a command? -+max_cmd_len=$max_cmd_len -+ -+# Object file suffix (normally "o"). -+objext=$ac_objext -+ -+# Executable file suffix (normally ""). -+exeext=$exeext -+ -+# whether the shell understands "unset". -+lt_unset=$lt_unset -+ -+# turn spaces into newlines. -+SP2NL=$lt_lt_SP2NL -+ -+# turn newlines into spaces. -+NL2SP=$lt_lt_NL2SP -+ -+# convert \$build file names to \$host format. -+to_host_file_cmd=$lt_cv_to_host_file_cmd -+ -+# convert \$build files to toolchain format. -+to_tool_file_cmd=$lt_cv_to_tool_file_cmd -+ -+# Method to check whether dependent libraries are shared objects. -+deplibs_check_method=$lt_deplibs_check_method -+ -+# Command to use when deplibs_check_method = "file_magic". -+file_magic_cmd=$lt_file_magic_cmd -+ -+# How to find potential files when deplibs_check_method = "file_magic". -+file_magic_glob=$lt_file_magic_glob -+ -+# Find potential files using nocaseglob when deplibs_check_method = "file_magic". -+want_nocaseglob=$lt_want_nocaseglob -+ -+# Command to associate shared and link libraries. -+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd -+ -+# The archiver. -+AR=$lt_AR -+ -+# Flags to create an archive. -+AR_FLAGS=$lt_AR_FLAGS -+ -+# How to feed a file listing to the archiver. -+archiver_list_spec=$lt_archiver_list_spec -+ -+# A symbol stripping program. -+STRIP=$lt_STRIP -+ -+# Commands used to install an old-style archive. -+RANLIB=$lt_RANLIB -+old_postinstall_cmds=$lt_old_postinstall_cmds -+old_postuninstall_cmds=$lt_old_postuninstall_cmds -+ -+# Whether to use a lock for old archive extraction. -+lock_old_archive_extraction=$lock_old_archive_extraction -+ -+# A C compiler. -+LTCC=$lt_CC -+ -+# LTCC compiler flags. -+LTCFLAGS=$lt_CFLAGS -+ -+# Take the output of nm and produce a listing of raw symbols and C names. -+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -+ -+# Transform the output of nm in a proper C declaration. -+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -+ -+# Transform the output of nm in a C name address pair. -+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -+ -+# Transform the output of nm in a C name address pair when lib prefix is needed. -+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix -+ -+# Specify filename containing input files for \$NM. -+nm_file_list_spec=$lt_nm_file_list_spec -+ -+# The root where to search for dependent libraries,and in which our libraries should be installed. -+lt_sysroot=$lt_sysroot -+ -+# The name of the directory that contains temporary libtool files. -+objdir=$objdir -+ -+# Used to examine libraries when file_magic_cmd begins with "file". -+MAGIC_CMD=$MAGIC_CMD -+ -+# Must we lock files when doing compilation? -+need_locks=$lt_need_locks -+ -+# Manifest tool. -+MANIFEST_TOOL=$lt_MANIFEST_TOOL -+ -+# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -+DSYMUTIL=$lt_DSYMUTIL -+ -+# Tool to change global to local symbols on Mac OS X. -+NMEDIT=$lt_NMEDIT -+ -+# Tool to manipulate fat objects and archives on Mac OS X. -+LIPO=$lt_LIPO -+ -+# ldd/readelf like tool for Mach-O binaries on Mac OS X. -+OTOOL=$lt_OTOOL -+ -+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -+OTOOL64=$lt_OTOOL64 -+ -+# Old archive suffix (normally "a"). -+libext=$libext -+ -+# Shared library suffix (normally ".so"). -+shrext_cmds=$lt_shrext_cmds -+ -+# The commands to extract the exported symbol list from a shared archive. -+extract_expsyms_cmds=$lt_extract_expsyms_cmds -+ -+# Variables whose values should be saved in libtool wrapper scripts and -+# restored at link time. -+variables_saved_for_relink=$lt_variables_saved_for_relink -+ -+# Do we need the "lib" prefix for modules? -+need_lib_prefix=$need_lib_prefix -+ -+# Do we need a version for libraries? -+need_version=$need_version -+ -+# Library versioning type. -+version_type=$version_type -+ -+# Shared library runtime path variable. -+runpath_var=$runpath_var -+ -+# Shared library path variable. -+shlibpath_var=$shlibpath_var -+ -+# Is shlibpath searched before the hard-coded library search path? -+shlibpath_overrides_runpath=$shlibpath_overrides_runpath -+ -+# Format of library name prefix. -+libname_spec=$lt_libname_spec -+ -+# List of archive names. First name is the real one, the rest are links. -+# The last name is the one that the linker finds with -lNAME -+library_names_spec=$lt_library_names_spec -+ -+# The coded name of the library, if different from the real name. -+soname_spec=$lt_soname_spec -+ -+# Permission mode override for installation of shared libraries. -+install_override_mode=$lt_install_override_mode -+ -+# Command to use after installation of a shared archive. -+postinstall_cmds=$lt_postinstall_cmds -+ -+# Command to use after uninstallation of a shared archive. -+postuninstall_cmds=$lt_postuninstall_cmds -+ -+# Commands used to finish a libtool library installation in a directory. -+finish_cmds=$lt_finish_cmds -+ -+# As "finish_cmds", except a single script fragment to be evaled but -+# not shown. -+finish_eval=$lt_finish_eval -+ -+# Whether we should hardcode library paths into libraries. -+hardcode_into_libs=$hardcode_into_libs -+ -+# Compile-time system search path for libraries. -+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -+ -+# Run-time system search path for libraries. -+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -+ -+# Whether dlopen is supported. -+dlopen_support=$enable_dlopen -+ -+# Whether dlopen of programs is supported. -+dlopen_self=$enable_dlopen_self -+ -+# Whether dlopen of statically linked programs is supported. -+dlopen_self_static=$enable_dlopen_self_static -+ -+# Commands to strip libraries. -+old_striplib=$lt_old_striplib -+striplib=$lt_striplib -+ -+ -+# The linker used to build libraries. -+LD=$lt_LD -+ -+# How to create reloadable object files. -+reload_flag=$lt_reload_flag -+reload_cmds=$lt_reload_cmds -+ -+# Commands used to build an old-style archive. -+old_archive_cmds=$lt_old_archive_cmds -+ -+# A language specific compiler. -+CC=$lt_compiler -+ -+# Is the compiler the GNU compiler? -+with_gcc=$GCC -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag -+ -+# Additional compiler flags for building library objects. -+pic_flag=$lt_lt_prog_compiler_pic -+ -+# How to pass a linker flag through the compiler. -+wl=$lt_lt_prog_compiler_wl -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag=$lt_lt_prog_compiler_static -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o=$lt_lt_cv_prog_compiler_c_o -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=$archive_cmds_need_lc -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec=$lt_whole_archive_flag_spec -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object=$lt_compiler_needs_object -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds -+ -+# Commands used to build a shared archive. -+archive_cmds=$lt_archive_cmds -+archive_expsym_cmds=$lt_archive_expsym_cmds -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds=$lt_module_cmds -+module_expsym_cmds=$lt_module_expsym_cmds -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld=$lt_with_gnu_ld -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag=$lt_allow_undefined_flag -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag=$lt_no_undefined_flag -+ -+# Flag to hardcode \$libdir into a binary during linking. -+# This must work even if \$libdir does not exist -+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator=$lt_hardcode_libdir_separator -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=$hardcode_direct -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=$hardcode_direct_absolute -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=$hardcode_minus_L -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=$hardcode_shlibpath_var -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=$hardcode_automatic -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=$inherit_rpath -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=$link_all_deplibs -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=$always_export_symbols -+ -+# The commands to list exported symbols. -+export_symbols_cmds=$lt_export_symbols_cmds -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms=$lt_exclude_expsyms -+ -+# Symbols that must always be exported. -+include_expsyms=$lt_include_expsyms -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds=$lt_prelink_cmds -+ -+# Commands necessary for finishing linking programs. -+postlink_cmds=$lt_postlink_cmds -+ -+# Specify filename containing input files. -+file_list_spec=$lt_file_list_spec -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=$hardcode_action -+ -+# ### END LIBTOOL CONFIG -+ -+_LT_EOF -+ -+ case $host_os in -+ aix3*) -+ cat <<\_LT_EOF >> "$cfgfile" -+# AIX sometimes has problems with the GCC collect2 program. For some -+# reason, if we set the COLLECT_NAMES environment variable, the problems -+# vanish in a puff of smoke. -+if test "X${COLLECT_NAMES+set}" != Xset; then -+ COLLECT_NAMES= -+ export COLLECT_NAMES -+fi -+_LT_EOF -+ ;; -+ esac -+ -+ -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+ -+ # We use sed instead of cat because bash on DJGPP gets confused if -+ # if finds mixed CR/LF and LF-only lines. Since sed operates in -+ # text mode, it properly converts lines to CR/LF. This bash problem -+ # is reportedly fixed, but why not run on old versions too? -+ sed '$q' "$ltmain" >> "$cfgfile" \ -+ || (rm -f "$cfgfile"; exit 1) -+ -+ if test x"$xsi_shell" = xyes; then -+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ -+func_dirname ()\ -+{\ -+\ case ${1} in\ -+\ */*) func_dirname_result="${1%/*}${2}" ;;\ -+\ * ) func_dirname_result="${3}" ;;\ -+\ esac\ -+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_basename ()$/,/^} # func_basename /c\ -+func_basename ()\ -+{\ -+\ func_basename_result="${1##*/}"\ -+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ -+func_dirname_and_basename ()\ -+{\ -+\ case ${1} in\ -+\ */*) func_dirname_result="${1%/*}${2}" ;;\ -+\ * ) func_dirname_result="${3}" ;;\ -+\ esac\ -+\ func_basename_result="${1##*/}"\ -+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ -+func_stripname ()\ -+{\ -+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ -+\ # positional parameters, so assign one to ordinary parameter first.\ -+\ func_stripname_result=${3}\ -+\ func_stripname_result=${func_stripname_result#"${1}"}\ -+\ func_stripname_result=${func_stripname_result%"${2}"}\ -+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ -+func_split_long_opt ()\ -+{\ -+\ func_split_long_opt_name=${1%%=*}\ -+\ func_split_long_opt_arg=${1#*=}\ -+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ -+func_split_short_opt ()\ -+{\ -+\ func_split_short_opt_arg=${1#??}\ -+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ -+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ -+func_lo2o ()\ -+{\ -+\ case ${1} in\ -+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ -+\ *) func_lo2o_result=${1} ;;\ -+\ esac\ -+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_xform ()$/,/^} # func_xform /c\ -+func_xform ()\ -+{\ -+ func_xform_result=${1%.*}.lo\ -+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_arith ()$/,/^} # func_arith /c\ -+func_arith ()\ -+{\ -+ func_arith_result=$(( $* ))\ -+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_len ()$/,/^} # func_len /c\ -+func_len ()\ -+{\ -+ func_len_result=${#1}\ -+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+fi -+ -+if test x"$lt_shell_append" = xyes; then -+ sed -e '/^func_append ()$/,/^} # func_append /c\ -+func_append ()\ -+{\ -+ eval "${1}+=\\${2}"\ -+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ -+func_append_quoted ()\ -+{\ -+\ func_quote_for_eval "${2}"\ -+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ -+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ # Save a `func_append' function call where possible by direct use of '+=' -+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+ test 0 -eq $? || _lt_function_replace_fail=: -+else -+ # Save a `func_append' function call even when '+=' is not available -+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+ test 0 -eq $? || _lt_function_replace_fail=: -+fi -+ -+if test x"$_lt_function_replace_fail" = x":"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 -+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} -+fi -+ -+ -+ mv -f "$cfgfile" "$ofile" || -+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") -+ chmod +x "$ofile" -+ -+ -+ cat <<_LT_EOF >> "$ofile" -+ -+# ### BEGIN LIBTOOL TAG CONFIG: RC -+ -+# The linker used to build libraries. -+LD=$lt_LD_RC -+ -+# How to create reloadable object files. -+reload_flag=$lt_reload_flag_RC -+reload_cmds=$lt_reload_cmds_RC -+ -+# Commands used to build an old-style archive. -+old_archive_cmds=$lt_old_archive_cmds_RC -+ -+# A language specific compiler. -+CC=$lt_compiler_RC -+ -+# Is the compiler the GNU compiler? -+with_gcc=$GCC_RC -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC -+ -+# Additional compiler flags for building library objects. -+pic_flag=$lt_lt_prog_compiler_pic_RC -+ -+# How to pass a linker flag through the compiler. -+wl=$lt_lt_prog_compiler_wl_RC -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag=$lt_lt_prog_compiler_static_RC -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=$archive_cmds_need_lc_RC -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object=$lt_compiler_needs_object_RC -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC -+ -+# Commands used to build a shared archive. -+archive_cmds=$lt_archive_cmds_RC -+archive_expsym_cmds=$lt_archive_expsym_cmds_RC -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds=$lt_module_cmds_RC -+module_expsym_cmds=$lt_module_expsym_cmds_RC -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld=$lt_with_gnu_ld_RC -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag=$lt_allow_undefined_flag_RC -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag=$lt_no_undefined_flag_RC -+ -+# Flag to hardcode \$libdir into a binary during linking. -+# This must work even if \$libdir does not exist -+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=$hardcode_direct_RC -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=$hardcode_direct_absolute_RC -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=$hardcode_minus_L_RC -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=$hardcode_shlibpath_var_RC -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=$hardcode_automatic_RC -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=$inherit_rpath_RC -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=$link_all_deplibs_RC -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=$always_export_symbols_RC -+ -+# The commands to list exported symbols. -+export_symbols_cmds=$lt_export_symbols_cmds_RC -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms=$lt_exclude_expsyms_RC -+ -+# Symbols that must always be exported. -+include_expsyms=$lt_include_expsyms_RC -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds=$lt_prelink_cmds_RC -+ -+# Commands necessary for finishing linking programs. -+postlink_cmds=$lt_postlink_cmds_RC -+ -+# Specify filename containing input files. -+file_list_spec=$lt_file_list_spec_RC -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=$hardcode_action_RC -+ -+# ### END LIBTOOL TAG CONFIG: RC -+_LT_EOF -+ -+ ;; -+ "po-directories":C) -+ for ac_file in $CONFIG_FILES; do -+ # Support "outfile[:infile[:infile...]]" -+ case "$ac_file" in -+ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; -+ esac -+ # PO directories have a Makefile.in generated from Makefile.in.in. -+ case "$ac_file" in */Makefile.in) -+ # Adjust a relative srcdir. -+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` -+ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` -+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` -+ # In autoconf-2.13 it is called $ac_given_srcdir. -+ # In autoconf-2.50 it is called $srcdir. -+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" -+ case "$ac_given_srcdir" in -+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; -+ /*) top_srcdir="$ac_given_srcdir" ;; -+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; -+ esac -+ # Treat a directory as a PO directory if and only if it has a -+ # POTFILES.in file. This allows packages to have multiple PO -+ # directories under different names or in different locations. -+ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then -+ rm -f "$ac_dir/POTFILES" -+ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" -+ gt_tab=`printf '\t'` -+ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" -+ POMAKEFILEDEPS="POTFILES.in" -+ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend -+ # on $ac_dir but don't depend on user-specified configuration -+ # parameters. -+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then -+ # The LINGUAS file contains the set of available languages. -+ if test -n "$OBSOLETE_ALL_LINGUAS"; then -+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" -+ fi -+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` -+ # Hide the ALL_LINGUAS assignment from automake < 1.5. -+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' -+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" -+ else -+ # The set of available languages was given in configure.in. -+ # Hide the ALL_LINGUAS assignment from automake < 1.5. -+ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' -+ fi -+ # Compute POFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) -+ # Compute UPDATEPOFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) -+ # Compute DUMMYPOFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) -+ # Compute GMOFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) -+ case "$ac_given_srcdir" in -+ .) srcdirpre= ;; -+ *) srcdirpre='$(srcdir)/' ;; -+ esac -+ POFILES= -+ UPDATEPOFILES= -+ DUMMYPOFILES= -+ GMOFILES= -+ for lang in $ALL_LINGUAS; do -+ POFILES="$POFILES $srcdirpre$lang.po" -+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" -+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" -+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" -+ done -+ # CATALOGS depends on both $ac_dir and the user's LINGUAS -+ # environment variable. -+ INST_LINGUAS= -+ if test -n "$ALL_LINGUAS"; then -+ for presentlang in $ALL_LINGUAS; do -+ useit=no -+ if test "%UNSET%" != "$LINGUAS"; then -+ desiredlanguages="$LINGUAS" -+ else -+ desiredlanguages="$ALL_LINGUAS" -+ fi -+ for desiredlang in $desiredlanguages; do -+ # Use the presentlang catalog if desiredlang is -+ # a. equal to presentlang, or -+ # b. a variant of presentlang (because in this case, -+ # presentlang can be used as a fallback for messages -+ # which are not translated in the desiredlang catalog). -+ case "$desiredlang" in -+ "$presentlang"*) useit=yes;; -+ esac -+ done -+ if test $useit = yes; then -+ INST_LINGUAS="$INST_LINGUAS $presentlang" -+ fi -+ done -+ fi -+ CATALOGS= -+ if test -n "$INST_LINGUAS"; then -+ for lang in $INST_LINGUAS; do -+ CATALOGS="$CATALOGS $lang.gmo" -+ done -+ fi -+ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" -+ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" -+ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do -+ if test -f "$f"; then -+ case "$f" in -+ *.orig | *.bak | *~) ;; -+ *) cat "$f" >> "$ac_dir/Makefile" ;; -+ esac -+ fi -+ done -+ fi -+ ;; -+ esac -+ done ;; -+ -+ esac -+done # for ac_tag -+ -+ -+as_fn_exit 0 -+_ACEOF -+ac_clean_files=$ac_clean_files_save -+ -+test $ac_write_fail = 0 || -+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 -+ -+ -+# configure is writing to config.log, and then calls config.status. -+# config.status does its own redirection, appending to config.log. -+# Unfortunately, on DOS this fails, as config.log is still kept open -+# by configure, so config.status won't be able to write to it; its -+# output is simply discarded. So we exec the FD to /dev/null, -+# effectively closing config.log, so it can be properly (re)opened and -+# appended to by config.status. When coming back to configure, we -+# need to make the FD available again. -+if test "$no_create" != yes; then -+ ac_cs_success=: -+ ac_config_status_args= -+ test "$silent" = yes && -+ ac_config_status_args="$ac_config_status_args --quiet" -+ exec 5>/dev/null -+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false -+ exec 5>>config.log -+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which -+ # would make configure fail if this is the last instruction. -+ $ac_cs_success || as_fn_exit 1 -+fi -+ -+# -+# CONFIG_SUBDIRS section. -+# -+if test "$no_recursion" != yes; then -+ -+ # Remove --cache-file, --srcdir, and --disable-option-checking arguments -+ # so they do not pile up. -+ ac_sub_configure_args= -+ ac_prev= -+ eval "set x $ac_configure_args" -+ shift -+ for ac_arg -+ do -+ if test -n "$ac_prev"; then -+ ac_prev= -+ continue -+ fi -+ case $ac_arg in -+ -cache-file | --cache-file | --cache-fil | --cache-fi \ -+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) -+ ac_prev=cache_file ;; -+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ -+ | --c=*) -+ ;; -+ --config-cache | -C) -+ ;; -+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -+ ac_prev=srcdir ;; -+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -+ ;; -+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) -+ ac_prev=prefix ;; -+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) -+ ;; -+ --disable-option-checking) -+ ;; -+ *) -+ case $ac_arg in -+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ as_fn_append ac_sub_configure_args " '$ac_arg'" ;; -+ esac -+ done -+ -+ # Always prepend --prefix to ensure using the same prefix -+ # in subdir configurations. -+ ac_arg="--prefix=$prefix" -+ case $ac_arg in -+ *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" -+ -+ # Pass --silent -+ if test "$silent" = yes; then -+ ac_sub_configure_args="--silent $ac_sub_configure_args" -+ fi -+ -+ # Always prepend --disable-option-checking to silence warnings, since -+ # different subdirs can have different --enable and --with options. -+ ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" -+ -+ ac_popdir=`pwd` -+ for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue -+ -+ # Do not complain, so a configure script can configure whichever -+ # parts of a large source tree are present. -+ test -d "$srcdir/$ac_dir" || continue -+ -+ ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" -+ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 -+ $as_echo "$ac_msg" >&6 -+ as_dir="$ac_dir"; as_fn_mkdir_p -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ -+ cd "$ac_dir" -+ -+ # Check for guested configure; otherwise get Cygnus style configure. -+ if test -f "$ac_srcdir/configure.gnu"; then -+ ac_sub_configure=$ac_srcdir/configure.gnu -+ elif test -f "$ac_srcdir/configure"; then -+ ac_sub_configure=$ac_srcdir/configure -+ elif test -f "$ac_srcdir/configure.in"; then -+ # This should be Cygnus configure. -+ ac_sub_configure=$ac_aux_dir/configure -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 -+$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} -+ ac_sub_configure= -+ fi -+ -+ # The recursion is here. -+ if test -n "$ac_sub_configure"; then -+ # Make the cache file name correct relative to the subdirectory. -+ case $cache_file in -+ [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; -+ *) # Relative name. -+ ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; -+ esac -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 -+$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} -+ # The eval makes quoting arguments work. -+ eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ -+ --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || -+ as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 -+ fi -+ -+ cd "$ac_popdir" -+ done -+fi -+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -+fi -+ -diff -Naur libiconv-20130504/doc/relocatable.texi libiconv-20130504.patch/doc/relocatable.texi ---- libiconv-20130504/doc/relocatable.texi 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/doc/relocatable.texi 2013-05-04 10:20:07.535699061 +0200 -@@ -0,0 +1,62 @@ -+@node Enabling Relocatability -+@section Enabling Relocatability -+ -+It has been a pain for many users of GNU packages for a long time that -+packages are not relocatable. It means a user cannot copy a program, -+installed by another user on the same machine, to his home directory, -+and have it work correctly (including i18n). So many users need to go -+through @code{configure; make; make install} with all its -+dependencies, options, and hurdles. -+ -+Red Hat, Debian, and similar package systems solve the ``ease of -+installation'' problem, but they hardwire path names, usually to -+@file{/usr} or @file{/usr/local}. This means that users need root -+privileges to install a binary package, and prevents installing two -+different versions of the same binary package. -+ -+A relocatable program can be moved or copied to a different location -+on the file system. It is possible to make symlinks to the installed -+and moved programs, and invoke them through the symlink. It is -+possible to do the same thing with a hard link @emph{only} if the hard -+link file is in the same directory as the real program. -+ -+To configure a program to be relocatable, add -+@option{--enable-relocatable} to the @command{configure} command line. -+ -+On some OSes the executables remember the location of shared libraries -+and prefer them over any other search path. Therefore, such an -+executable will look for its shared libraries first in the original -+installation directory and only then in the current installation -+directory. Thus, for reliability, it is best to also give a -+@option{--prefix} option pointing to a directory that does not exist -+now and which never will be created, e.g.@: -+@option{--prefix=/nonexistent}. You may use -+@code{DESTDIR=@var{dest-dir}} on the @command{make} command line to -+avoid installing into that directory. -+ -+We do not recommend using a prefix writable by unprivileged users -+(e.g.@: @file{/tmp/inst$$}) because such a directory can be recreated -+by an unprivileged user after the original directory has been removed. -+We also do not recommend prefixes that might be behind an automounter -+(e.g.@: @file{$HOME/inst$$}) because of the performance impact of -+directory searching. -+ -+Here's a sample installation run that takes into account all these -+recommendations: -+ -+@example -+./configure --enable-relocatable --prefix=/nonexistent -+make -+make install DESTDIR=/tmp/inst$$ -+@end example -+ -+Installation with @option{--enable-relocatable} will not work for -+setuid or setgid executables, because such executables search only -+system library paths for security reasons. Also, installation with -+@option{--enable-relocatable} might not work on OpenBSD, when the -+package contains shared libraries and libtool versions 1.5.xx are used. -+ -+The runtime penalty and size penalty are negligible on GNU/Linux (just -+one system call more when an executable is launched), and small on -+other systems (the wrapper program just sets an environment variable -+and executes the real program). -diff -Naur libiconv-20130504/include/iconv.h.build.in libiconv-20130504.patch/include/iconv.h.build.in ---- libiconv-20130504/include/iconv.h.build.in 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/include/iconv.h.build.in 2013-05-04 10:23:28.939109572 +0200 -@@ -0,0 +1,247 @@ -+/* Copyright (C) 1999-2003, 2005-2006, 2008-2011 Free Software Foundation, Inc. -+ This file is part of the GNU LIBICONV Library. -+ -+ The GNU LIBICONV Library is free software; you can redistribute it -+ and/or modify it under the terms of the GNU Library General Public -+ License as published by the Free Software Foundation; either version 2 -+ of the License, or (at your option) any later version. -+ -+ The GNU LIBICONV Library is distributed in the hope that it will be -+ useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Library General Public License for more details. -+ -+ You should have received a copy of the GNU Library General Public -+ License along with the GNU LIBICONV Library; see the file COPYING.LIB. -+ If not, see . */ -+ -+/* When installed, this file is called "iconv.h". */ -+ -+#ifndef _LIBICONV_H -+#define _LIBICONV_H -+ -+#define _LIBICONV_VERSION 0x010E /* version number: (major<<8) + minor */ -+ -+#if @HAVE_VISIBILITY@ && BUILDING_LIBICONV -+#define LIBICONV_DLL_EXPORTED __attribute__((__visibility__("default"))) -+#else -+#define LIBICONV_DLL_EXPORTED -+#endif -+extern LIBICONV_DLL_EXPORTED @DLL_VARIABLE@ int _libiconv_version; /* Likewise */ -+ -+/* We would like to #include any system header file which could define -+ iconv_t, 1. in order to eliminate the risk that the user gets compilation -+ errors because some other system header file includes /usr/include/iconv.h -+ which defines iconv_t or declares iconv after this file, 2. when compiling -+ for LIBICONV_PLUG, we need the proper iconv_t type in order to produce -+ binary compatible code. -+ But gcc's #include_next is not portable. Thus, once libiconv's iconv.h -+ has been installed in /usr/local/include, there is no way any more to -+ include the original /usr/include/iconv.h. We simply have to get away -+ without it. -+ Ad 1. The risk that a system header file does -+ #include "iconv.h" or #include_next "iconv.h" -+ is small. They all do #include . -+ Ad 2. The iconv_t type is a pointer type in all cases I have seen. (It -+ has to be a scalar type because (iconv_t)(-1) is a possible return value -+ from iconv_open().) */ -+ -+/* Define iconv_t ourselves. */ -+#undef iconv_t -+#define iconv_t libiconv_t -+typedef void* iconv_t; -+ -+/* Get size_t declaration. -+ Get wchar_t declaration if it exists. */ -+#include -+ -+/* Get errno declaration and values. */ -+#include -+/* Some systems, like SunOS 4, don't have EILSEQ. Some systems, like BSD/OS, -+ have EILSEQ in a different header. On these systems, define EILSEQ -+ ourselves. */ -+#ifndef EILSEQ -+#define EILSEQ @EILSEQ@ -+#endif -+ -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* Allocates descriptor for code conversion from encoding ‘fromcode’ to -+ encoding ‘tocode’. */ -+#ifndef LIBICONV_PLUG -+#define iconv_open libiconv_open -+#endif -+extern LIBICONV_DLL_EXPORTED iconv_t iconv_open (const char* tocode, const char* fromcode); -+ -+/* Converts, using conversion descriptor ‘cd’, at most ‘*inbytesleft’ bytes -+ starting at ‘*inbuf’, writing at most ‘*outbytesleft’ bytes starting at -+ ‘*outbuf’. -+ Decrements ‘*inbytesleft’ and increments ‘*inbuf’ by the same amount. -+ Decrements ‘*outbytesleft’ and increments ‘*outbuf’ by the same amount. */ -+#ifndef LIBICONV_PLUG -+#define iconv libiconv -+#endif -+extern LIBICONV_DLL_EXPORTED size_t iconv (iconv_t cd, @ICONV_CONST@ char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); -+ -+/* Frees resources allocated for conversion descriptor ‘cd’. */ -+#ifndef LIBICONV_PLUG -+#define iconv_close libiconv_close -+#endif -+extern LIBICONV_DLL_EXPORTED int iconv_close (iconv_t cd); -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+ -+#ifndef LIBICONV_PLUG -+ -+/* Nonstandard extensions. */ -+ -+#if @USE_MBSTATE_T@ -+#if @BROKEN_WCHAR_H@ -+/* Tru64 with Desktop Toolkit C has a bug: must be included before -+ . -+ BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+#include -+#include -+#include -+#endif -+#include -+#endif -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+/* A type that holds all memory needed by a conversion descriptor. -+ A pointer to such an object can be used as an iconv_t. */ -+typedef struct { -+ void* dummy1[28]; -+#if @USE_MBSTATE_T@ -+ mbstate_t dummy2; -+#endif -+} iconv_allocation_t; -+ -+/* Allocates descriptor for code conversion from encoding ‘fromcode’ to -+ encoding ‘tocode’ into preallocated memory. Returns an error indicator -+ (0 or -1 with errno set). */ -+#define iconv_open_into libiconv_open_into -+extern LIBICONV_DLL_EXPORTED int iconv_open_into (const char* tocode, const char* fromcode, -+ iconv_allocation_t* resultp); -+ -+/* Control of attributes. */ -+#define iconvctl libiconvctl -+extern LIBICONV_DLL_EXPORTED int iconvctl (iconv_t cd, int request, void* argument); -+ -+/* Hook performed after every successful conversion of a Unicode character. */ -+typedef void (*iconv_unicode_char_hook) (unsigned int uc, void* data); -+/* Hook performed after every successful conversion of a wide character. */ -+typedef void (*iconv_wide_char_hook) (wchar_t wc, void* data); -+/* Set of hooks. */ -+struct iconv_hooks { -+ iconv_unicode_char_hook uc_hook; -+ iconv_wide_char_hook wc_hook; -+ void* data; -+}; -+ -+/* Fallback function. Invoked when a small number of bytes could not be -+ converted to a Unicode character. This function should process all -+ bytes from inbuf and may produce replacement Unicode characters by calling -+ the write_replacement callback repeatedly. */ -+typedef void (*iconv_unicode_mb_to_uc_fallback) -+ (const char* inbuf, size_t inbufsize, -+ void (*write_replacement) (const unsigned int *buf, size_t buflen, -+ void* callback_arg), -+ void* callback_arg, -+ void* data); -+/* Fallback function. Invoked when a Unicode character could not be converted -+ to the target encoding. This function should process the character and -+ may produce replacement bytes (in the target encoding) by calling the -+ write_replacement callback repeatedly. */ -+typedef void (*iconv_unicode_uc_to_mb_fallback) -+ (unsigned int code, -+ void (*write_replacement) (const char *buf, size_t buflen, -+ void* callback_arg), -+ void* callback_arg, -+ void* data); -+#if @HAVE_WCHAR_T@ -+/* Fallback function. Invoked when a number of bytes could not be converted to -+ a wide character. This function should process all bytes from inbuf and may -+ produce replacement wide characters by calling the write_replacement -+ callback repeatedly. */ -+typedef void (*iconv_wchar_mb_to_wc_fallback) -+ (const char* inbuf, size_t inbufsize, -+ void (*write_replacement) (const wchar_t *buf, size_t buflen, -+ void* callback_arg), -+ void* callback_arg, -+ void* data); -+/* Fallback function. Invoked when a wide character could not be converted to -+ the target encoding. This function should process the character and may -+ produce replacement bytes (in the target encoding) by calling the -+ write_replacement callback repeatedly. */ -+typedef void (*iconv_wchar_wc_to_mb_fallback) -+ (wchar_t code, -+ void (*write_replacement) (const char *buf, size_t buflen, -+ void* callback_arg), -+ void* callback_arg, -+ void* data); -+#else -+/* If the wchar_t type does not exist, these two fallback functions are never -+ invoked. Their argument list therefore does not matter. */ -+typedef void (*iconv_wchar_mb_to_wc_fallback) (); -+typedef void (*iconv_wchar_wc_to_mb_fallback) (); -+#endif -+/* Set of fallbacks. */ -+struct iconv_fallbacks { -+ iconv_unicode_mb_to_uc_fallback mb_to_uc_fallback; -+ iconv_unicode_uc_to_mb_fallback uc_to_mb_fallback; -+ iconv_wchar_mb_to_wc_fallback mb_to_wc_fallback; -+ iconv_wchar_wc_to_mb_fallback wc_to_mb_fallback; -+ void* data; -+}; -+ -+/* Requests for iconvctl. */ -+#define ICONV_TRIVIALP 0 /* int *argument */ -+#define ICONV_GET_TRANSLITERATE 1 /* int *argument */ -+#define ICONV_SET_TRANSLITERATE 2 /* const int *argument */ -+#define ICONV_GET_DISCARD_ILSEQ 3 /* int *argument */ -+#define ICONV_SET_DISCARD_ILSEQ 4 /* const int *argument */ -+#define ICONV_SET_HOOKS 5 /* const struct iconv_hooks *argument */ -+#define ICONV_SET_FALLBACKS 6 /* const struct iconv_fallbacks *argument */ -+ -+/* Listing of locale independent encodings. */ -+#define iconvlist libiconvlist -+extern LIBICONV_DLL_EXPORTED void iconvlist (int (*do_one) (unsigned int namescount, -+ const char * const * names, -+ void* data), -+ void* data); -+ -+/* Canonicalize an encoding name. -+ The result is either a canonical encoding name, or name itself. */ -+extern LIBICONV_DLL_EXPORTED const char * iconv_canonicalize (const char * name); -+ -+/* Support for relocatable packages. */ -+ -+/* Sets the original and the current installation prefix of the package. -+ Relocation simply replaces a pathname starting with the original prefix -+ by the corresponding pathname with the current prefix instead. Both -+ prefixes should be directory names without trailing slash (i.e. use "" -+ instead of "/"). */ -+extern LIBICONV_DLL_EXPORTED void libiconv_set_relocation_prefix (const char *orig_prefix, -+ const char *curr_prefix); -+ -+#ifdef __cplusplus -+} -+#endif -+ -+#endif -+ -+ -+#endif /* _LIBICONV_H */ -diff -Naur libiconv-20130504/lib/aliases_aix_sysaix.h libiconv-20130504.patch/lib/aliases_aix_sysaix.h ---- libiconv-20130504/lib/aliases_aix_sysaix.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_aix_sysaix.h 2013-05-04 10:23:30.804104109 +0200 -@@ -0,0 +1,24 @@ -+ S(aix_0, "CP856", ei_cp856 ) -+ S(aix_1, "IBM-856", ei_cp856 ) -+ S(aix_2, "CP922", ei_cp922 ) -+ S(aix_3, "IBM-922", ei_cp922 ) -+ S(aix_4, "CP943", ei_cp943 ) -+ S(aix_5, "IBM-943", ei_cp943 ) -+ S(aix_6, "CP1046", ei_cp1046 ) -+ S(aix_7, "IBM-1046", ei_cp1046 ) -+ S(aix_8, "CP1124", ei_cp1124 ) -+ S(aix_9, "IBM-1124", ei_cp1124 ) -+ S(aix_10, "CP1129", ei_cp1129 ) -+ S(aix_11, "IBM-1129", ei_cp1129 ) -+ S(aix_12, "CP1161", ei_cp1161 ) -+ S(aix_13, "IBM1161", ei_cp1161 ) -+ S(aix_14, "IBM-1161", ei_cp1161 ) -+ S(aix_15, "CSIBM1161", ei_cp1161 ) -+ S(aix_16, "CP1162", ei_cp1162 ) -+ S(aix_17, "IBM1162", ei_cp1162 ) -+ S(aix_18, "IBM-1162", ei_cp1162 ) -+ S(aix_19, "CSIBM1162", ei_cp1162 ) -+ S(aix_20, "CP1163", ei_cp1163 ) -+ S(aix_21, "IBM1163", ei_cp1163 ) -+ S(aix_22, "IBM-1163", ei_cp1163 ) -+ S(aix_23, "CSIBM1163", ei_cp1163 ) -diff -Naur libiconv-20130504/lib/aliases.gperf libiconv-20130504.patch/lib/aliases.gperf ---- libiconv-20130504/lib/aliases.gperf 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases.gperf 2013-05-04 10:23:29.006109376 +0200 -@@ -0,0 +1,360 @@ -+struct alias { int name; unsigned int encoding_index; }; -+%struct-type -+%language=ANSI-C -+%define hash-function-name aliases_hash -+%define lookup-function-name aliases_lookup -+%7bit -+%readonly-tables -+%global-table -+%define word-array-name aliases -+%pic -+%% -+US-ASCII, ei_ascii -+ASCII, ei_ascii -+ISO646-US, ei_ascii -+ISO_646.IRV:1991, ei_ascii -+ISO-IR-6, ei_ascii -+ANSI_X3.4-1968, ei_ascii -+ANSI_X3.4-1986, ei_ascii -+CP367, ei_ascii -+IBM367, ei_ascii -+US, ei_ascii -+CSASCII, ei_ascii -+UTF-8, ei_utf8 -+UCS-2, ei_ucs2 -+ISO-10646-UCS-2, ei_ucs2 -+CSUNICODE, ei_ucs2 -+UCS-2BE, ei_ucs2be -+UNICODEBIG, ei_ucs2be -+UNICODE-1-1, ei_ucs2be -+CSUNICODE11, ei_ucs2be -+UCS-2LE, ei_ucs2le -+UNICODELITTLE, ei_ucs2le -+UCS-4, ei_ucs4 -+ISO-10646-UCS-4, ei_ucs4 -+CSUCS4, ei_ucs4 -+UCS-4BE, ei_ucs4be -+UCS-4LE, ei_ucs4le -+UTF-16, ei_utf16 -+UTF-16BE, ei_utf16be -+UTF-16LE, ei_utf16le -+UTF-32, ei_utf32 -+UTF-32BE, ei_utf32be -+UTF-32LE, ei_utf32le -+UTF-7, ei_utf7 -+UNICODE-1-1-UTF-7, ei_utf7 -+CSUNICODE11UTF7, ei_utf7 -+UCS-2-INTERNAL, ei_ucs2internal -+UCS-2-SWAPPED, ei_ucs2swapped -+UCS-4-INTERNAL, ei_ucs4internal -+UCS-4-SWAPPED, ei_ucs4swapped -+C99, ei_c99 -+JAVA, ei_java -+ISO-8859-1, ei_iso8859_1 -+ISO_8859-1, ei_iso8859_1 -+ISO_8859-1:1987, ei_iso8859_1 -+ISO-IR-100, ei_iso8859_1 -+CP819, ei_iso8859_1 -+IBM819, ei_iso8859_1 -+LATIN1, ei_iso8859_1 -+L1, ei_iso8859_1 -+CSISOLATIN1, ei_iso8859_1 -+ISO8859-1, ei_iso8859_1 -+ISO-8859-2, ei_iso8859_2 -+ISO_8859-2, ei_iso8859_2 -+ISO_8859-2:1987, ei_iso8859_2 -+ISO-IR-101, ei_iso8859_2 -+LATIN2, ei_iso8859_2 -+L2, ei_iso8859_2 -+CSISOLATIN2, ei_iso8859_2 -+ISO8859-2, ei_iso8859_2 -+ISO-8859-3, ei_iso8859_3 -+ISO_8859-3, ei_iso8859_3 -+ISO_8859-3:1988, ei_iso8859_3 -+ISO-IR-109, ei_iso8859_3 -+LATIN3, ei_iso8859_3 -+L3, ei_iso8859_3 -+CSISOLATIN3, ei_iso8859_3 -+ISO8859-3, ei_iso8859_3 -+ISO-8859-4, ei_iso8859_4 -+ISO_8859-4, ei_iso8859_4 -+ISO_8859-4:1988, ei_iso8859_4 -+ISO-IR-110, ei_iso8859_4 -+LATIN4, ei_iso8859_4 -+L4, ei_iso8859_4 -+CSISOLATIN4, ei_iso8859_4 -+ISO8859-4, ei_iso8859_4 -+ISO-8859-5, ei_iso8859_5 -+ISO_8859-5, ei_iso8859_5 -+ISO_8859-5:1988, ei_iso8859_5 -+ISO-IR-144, ei_iso8859_5 -+CYRILLIC, ei_iso8859_5 -+CSISOLATINCYRILLIC, ei_iso8859_5 -+ISO8859-5, ei_iso8859_5 -+ISO-8859-6, ei_iso8859_6 -+ISO_8859-6, ei_iso8859_6 -+ISO_8859-6:1987, ei_iso8859_6 -+ISO-IR-127, ei_iso8859_6 -+ECMA-114, ei_iso8859_6 -+ASMO-708, ei_iso8859_6 -+ARABIC, ei_iso8859_6 -+CSISOLATINARABIC, ei_iso8859_6 -+ISO8859-6, ei_iso8859_6 -+ISO-8859-7, ei_iso8859_7 -+ISO_8859-7, ei_iso8859_7 -+ISO_8859-7:1987, ei_iso8859_7 -+ISO_8859-7:2003, ei_iso8859_7 -+ISO-IR-126, ei_iso8859_7 -+ECMA-118, ei_iso8859_7 -+ELOT_928, ei_iso8859_7 -+GREEK8, ei_iso8859_7 -+GREEK, ei_iso8859_7 -+CSISOLATINGREEK, ei_iso8859_7 -+ISO8859-7, ei_iso8859_7 -+ISO-8859-8, ei_iso8859_8 -+ISO_8859-8, ei_iso8859_8 -+ISO_8859-8:1988, ei_iso8859_8 -+ISO-IR-138, ei_iso8859_8 -+HEBREW, ei_iso8859_8 -+CSISOLATINHEBREW, ei_iso8859_8 -+ISO8859-8, ei_iso8859_8 -+ISO-8859-9, ei_iso8859_9 -+ISO_8859-9, ei_iso8859_9 -+ISO_8859-9:1989, ei_iso8859_9 -+ISO-IR-148, ei_iso8859_9 -+LATIN5, ei_iso8859_9 -+L5, ei_iso8859_9 -+CSISOLATIN5, ei_iso8859_9 -+ISO8859-9, ei_iso8859_9 -+ISO-8859-10, ei_iso8859_10 -+ISO_8859-10, ei_iso8859_10 -+ISO_8859-10:1992, ei_iso8859_10 -+ISO-IR-157, ei_iso8859_10 -+LATIN6, ei_iso8859_10 -+L6, ei_iso8859_10 -+CSISOLATIN6, ei_iso8859_10 -+ISO8859-10, ei_iso8859_10 -+ISO-8859-11, ei_iso8859_11 -+ISO_8859-11, ei_iso8859_11 -+ISO8859-11, ei_iso8859_11 -+ISO-8859-13, ei_iso8859_13 -+ISO_8859-13, ei_iso8859_13 -+ISO-IR-179, ei_iso8859_13 -+LATIN7, ei_iso8859_13 -+L7, ei_iso8859_13 -+ISO8859-13, ei_iso8859_13 -+ISO-8859-14, ei_iso8859_14 -+ISO_8859-14, ei_iso8859_14 -+ISO_8859-14:1998, ei_iso8859_14 -+ISO-IR-199, ei_iso8859_14 -+LATIN8, ei_iso8859_14 -+L8, ei_iso8859_14 -+ISO-CELTIC, ei_iso8859_14 -+ISO8859-14, ei_iso8859_14 -+ISO-8859-15, ei_iso8859_15 -+ISO_8859-15, ei_iso8859_15 -+ISO_8859-15:1998, ei_iso8859_15 -+ISO-IR-203, ei_iso8859_15 -+LATIN-9, ei_iso8859_15 -+ISO8859-15, ei_iso8859_15 -+ISO-8859-16, ei_iso8859_16 -+ISO_8859-16, ei_iso8859_16 -+ISO_8859-16:2001, ei_iso8859_16 -+ISO-IR-226, ei_iso8859_16 -+LATIN10, ei_iso8859_16 -+L10, ei_iso8859_16 -+ISO8859-16, ei_iso8859_16 -+KOI8-R, ei_koi8_r -+CSKOI8R, ei_koi8_r -+KOI8-U, ei_koi8_u -+KOI8-RU, ei_koi8_ru -+CP1250, ei_cp1250 -+WINDOWS-1250, ei_cp1250 -+MS-EE, ei_cp1250 -+CP1251, ei_cp1251 -+WINDOWS-1251, ei_cp1251 -+MS-CYRL, ei_cp1251 -+CP1252, ei_cp1252 -+WINDOWS-1252, ei_cp1252 -+MS-ANSI, ei_cp1252 -+CP1253, ei_cp1253 -+WINDOWS-1253, ei_cp1253 -+MS-GREEK, ei_cp1253 -+CP1254, ei_cp1254 -+WINDOWS-1254, ei_cp1254 -+MS-TURK, ei_cp1254 -+CP1255, ei_cp1255 -+WINDOWS-1255, ei_cp1255 -+MS-HEBR, ei_cp1255 -+CP1256, ei_cp1256 -+WINDOWS-1256, ei_cp1256 -+MS-ARAB, ei_cp1256 -+CP1257, ei_cp1257 -+WINDOWS-1257, ei_cp1257 -+WINBALTRIM, ei_cp1257 -+CP1258, ei_cp1258 -+WINDOWS-1258, ei_cp1258 -+CP850, ei_cp850 -+IBM850, ei_cp850 -+850, ei_cp850 -+CSPC850MULTILINGUAL, ei_cp850 -+CP862, ei_cp862 -+IBM862, ei_cp862 -+862, ei_cp862 -+CSPC862LATINHEBREW, ei_cp862 -+CP866, ei_cp866 -+IBM866, ei_cp866 -+866, ei_cp866 -+CSIBM866, ei_cp866 -+CP1131, ei_cp1131 -+MACROMAN, ei_mac_roman -+MACINTOSH, ei_mac_roman -+MAC, ei_mac_roman -+CSMACINTOSH, ei_mac_roman -+MACCENTRALEUROPE, ei_mac_centraleurope -+MACICELAND, ei_mac_iceland -+MACCROATIAN, ei_mac_croatian -+MACROMANIA, ei_mac_romania -+MACCYRILLIC, ei_mac_cyrillic -+MACUKRAINE, ei_mac_ukraine -+MACGREEK, ei_mac_greek -+MACTURKISH, ei_mac_turkish -+MACHEBREW, ei_mac_hebrew -+MACARABIC, ei_mac_arabic -+MACTHAI, ei_mac_thai -+HP-ROMAN8, ei_hp_roman8 -+ROMAN8, ei_hp_roman8 -+R8, ei_hp_roman8 -+CSHPROMAN8, ei_hp_roman8 -+NEXTSTEP, ei_nextstep -+ARMSCII-8, ei_armscii_8 -+GEORGIAN-ACADEMY, ei_georgian_academy -+GEORGIAN-PS, ei_georgian_ps -+KOI8-T, ei_koi8_t -+PT154, ei_pt154 -+PTCP154, ei_pt154 -+CP154, ei_pt154 -+CYRILLIC-ASIAN, ei_pt154 -+CSPTCP154, ei_pt154 -+RK1048, ei_rk1048 -+STRK1048-2002, ei_rk1048 -+KZ-1048, ei_rk1048 -+CSKZ1048, ei_rk1048 -+MULELAO-1, ei_mulelao -+CP1133, ei_cp1133 -+IBM-CP1133, ei_cp1133 -+TIS-620, ei_tis620 -+TIS620, ei_tis620 -+TIS620-0, ei_tis620 -+TIS620.2529-1, ei_tis620 -+TIS620.2533-0, ei_tis620 -+TIS620.2533-1, ei_tis620 -+ISO-IR-166, ei_tis620 -+CP874, ei_cp874 -+WINDOWS-874, ei_cp874 -+VISCII, ei_viscii -+VISCII1.1-1, ei_viscii -+CSVISCII, ei_viscii -+TCVN, ei_tcvn -+TCVN-5712, ei_tcvn -+TCVN5712-1, ei_tcvn -+TCVN5712-1:1993, ei_tcvn -+JIS_C6220-1969-RO, ei_iso646_jp -+ISO646-JP, ei_iso646_jp -+ISO-IR-14, ei_iso646_jp -+JP, ei_iso646_jp -+CSISO14JISC6220RO, ei_iso646_jp -+JIS_X0201, ei_jisx0201 -+JISX0201-1976, ei_jisx0201 -+X0201, ei_jisx0201 -+CSHALFWIDTHKATAKANA, ei_jisx0201 -+JIS_X0208, ei_jisx0208 -+JIS_X0208-1983, ei_jisx0208 -+JIS_X0208-1990, ei_jisx0208 -+JIS0208, ei_jisx0208 -+X0208, ei_jisx0208 -+ISO-IR-87, ei_jisx0208 -+JIS_C6226-1983, ei_jisx0208 -+CSISO87JISX0208, ei_jisx0208 -+JIS_X0212, ei_jisx0212 -+JIS_X0212.1990-0, ei_jisx0212 -+JIS_X0212-1990, ei_jisx0212 -+X0212, ei_jisx0212 -+ISO-IR-159, ei_jisx0212 -+CSISO159JISX02121990, ei_jisx0212 -+GB_1988-80, ei_iso646_cn -+ISO646-CN, ei_iso646_cn -+ISO-IR-57, ei_iso646_cn -+CN, ei_iso646_cn -+CSISO57GB1988, ei_iso646_cn -+GB_2312-80, ei_gb2312 -+ISO-IR-58, ei_gb2312 -+CSISO58GB231280, ei_gb2312 -+CHINESE, ei_gb2312 -+ISO-IR-165, ei_isoir165 -+CN-GB-ISOIR165, ei_isoir165 -+KSC_5601, ei_ksc5601 -+KS_C_5601-1987, ei_ksc5601 -+KS_C_5601-1989, ei_ksc5601 -+ISO-IR-149, ei_ksc5601 -+CSKSC56011987, ei_ksc5601 -+KOREAN, ei_ksc5601 -+EUC-JP, ei_euc_jp -+EUCJP, ei_euc_jp -+EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE, ei_euc_jp -+CSEUCPKDFMTJAPANESE, ei_euc_jp -+SHIFT_JIS, ei_sjis -+SHIFT-JIS, ei_sjis -+SJIS, ei_sjis -+MS_KANJI, ei_sjis -+CSSHIFTJIS, ei_sjis -+CP932, ei_cp932 -+ISO-2022-JP, ei_iso2022_jp -+CSISO2022JP, ei_iso2022_jp -+ISO-2022-JP-1, ei_iso2022_jp1 -+ISO-2022-JP-2, ei_iso2022_jp2 -+CSISO2022JP2, ei_iso2022_jp2 -+ISO-2022-JP-MS, ei_iso2022_jpms -+CP50221, ei_iso2022_jpms -+EUC-CN, ei_euc_cn -+EUCCN, ei_euc_cn -+GB2312, ei_euc_cn -+CN-GB, ei_euc_cn -+CSGB2312, ei_euc_cn -+GBK, ei_ces_gbk -+CP936, ei_cp936 -+MS936, ei_cp936 -+WINDOWS-936, ei_cp936 -+GB18030, ei_gb18030 -+ISO-2022-CN, ei_iso2022_cn -+CSISO2022CN, ei_iso2022_cn -+ISO-2022-CN-EXT, ei_iso2022_cn_ext -+HZ, ei_hz -+HZ-GB-2312, ei_hz -+EUC-TW, ei_euc_tw -+EUCTW, ei_euc_tw -+CSEUCTW, ei_euc_tw -+BIG5, ei_ces_big5 -+BIG-5, ei_ces_big5 -+BIG-FIVE, ei_ces_big5 -+BIGFIVE, ei_ces_big5 -+CN-BIG5, ei_ces_big5 -+CSBIG5, ei_ces_big5 -+CP950, ei_cp950 -+BIG5-HKSCS:1999, ei_big5hkscs1999 -+BIG5-HKSCS:2001, ei_big5hkscs2001 -+BIG5-HKSCS:2004, ei_big5hkscs2004 -+BIG5-HKSCS, ei_big5hkscs2008 -+BIG5HKSCS, ei_big5hkscs2008 -+BIG5-HKSCS:2008, ei_big5hkscs2008 -+EUC-KR, ei_euc_kr -+EUCKR, ei_euc_kr -+CSEUCKR, ei_euc_kr -+CP949, ei_cp949 -+UHC, ei_cp949 -+JOHAB, ei_johab -+CP1361, ei_johab -+ISO-2022-KR, ei_iso2022_kr -+CSISO2022KR, ei_iso2022_kr -+CHAR, ei_local_char -+WCHAR_T, ei_local_wchar_t -diff -Naur libiconv-20130504/lib/aliases.h libiconv-20130504.patch/lib/aliases.h ---- libiconv-20130504/lib/aliases.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases.h 2013-05-04 10:23:29.160108925 +0200 -@@ -0,0 +1,1738 @@ -+/* ANSI-C code produced by gperf version 3.0.4 */ -+/* Command-line: gperf -m 10 lib/aliases.gperf */ -+/* Computed positions: -k'1,3-11,$' */ -+ -+#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ -+ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ -+ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ -+ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ -+ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ -+ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ -+ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ -+ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ -+ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ -+ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ -+ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ -+ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ -+ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ -+ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ -+ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ -+ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ -+ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ -+ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ -+ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ -+ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ -+ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ -+ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ -+ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) -+/* The character set is not based on ISO-646. */ -+#error "gperf generated tables don't work with this execution character set. Please report a bug to ." -+#endif -+ -+#line 1 "lib/aliases.gperf" -+struct alias { int name; unsigned int encoding_index; }; -+ -+#define TOTAL_KEYWORDS 349 -+#define MIN_WORD_LENGTH 2 -+#define MAX_WORD_LENGTH 45 -+#define MIN_HASH_VALUE 15 -+#define MAX_HASH_VALUE 921 -+/* maximum key range = 907, duplicates = 0 */ -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static unsigned int -+aliases_hash (register const char *str, register unsigned int len) -+{ -+ static const unsigned short asso_values[] = -+ { -+ 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, -+ 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, -+ 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, -+ 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, -+ 922, 922, 922, 922, 922, 5, 6, 922, 97, 7, -+ 33, 102, 15, 17, 5, 173, 23, 25, 193, 922, -+ 922, 922, 922, 922, 922, 168, 159, 11, 32, 25, -+ 159, 13, 70, 6, 308, 186, 8, 132, 7, 6, -+ 62, 922, 5, 8, 30, 174, 163, 180, 79, 28, -+ 6, 922, 922, 922, 922, 6, 922, 922, 922, 922, -+ 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, -+ 922, 922, 922, 922, 922, 922, 922, 922, 922, 922, -+ 922, 922, 922, 922, 922, 922, 922, 922 -+ }; -+ register int hval = len; -+ -+ switch (hval) -+ { -+ default: -+ hval += asso_values[(unsigned char)str[10]]; -+ /*FALLTHROUGH*/ -+ case 10: -+ hval += asso_values[(unsigned char)str[9]]; -+ /*FALLTHROUGH*/ -+ case 9: -+ hval += asso_values[(unsigned char)str[8]]; -+ /*FALLTHROUGH*/ -+ case 8: -+ hval += asso_values[(unsigned char)str[7]]; -+ /*FALLTHROUGH*/ -+ case 7: -+ hval += asso_values[(unsigned char)str[6]]; -+ /*FALLTHROUGH*/ -+ case 6: -+ hval += asso_values[(unsigned char)str[5]]; -+ /*FALLTHROUGH*/ -+ case 5: -+ hval += asso_values[(unsigned char)str[4]]; -+ /*FALLTHROUGH*/ -+ case 4: -+ hval += asso_values[(unsigned char)str[3]]; -+ /*FALLTHROUGH*/ -+ case 3: -+ hval += asso_values[(unsigned char)str[2]]; -+ /*FALLTHROUGH*/ -+ case 2: -+ case 1: -+ hval += asso_values[(unsigned char)str[0]]; -+ break; -+ } -+ return hval + asso_values[(unsigned char)str[len - 1]]; -+} -+ -+struct stringpool_t -+ { -+ char stringpool_str15[sizeof("L6")]; -+ char stringpool_str17[sizeof("L1")]; -+ char stringpool_str20[sizeof("CN")]; -+ char stringpool_str25[sizeof("L4")]; -+ char stringpool_str27[sizeof("L5")]; -+ char stringpool_str30[sizeof("R8")]; -+ char stringpool_str33[sizeof("L8")]; -+ char stringpool_str34[sizeof("SJIS")]; -+ char stringpool_str36[sizeof("866")]; -+ char stringpool_str43[sizeof("L2")]; -+ char stringpool_str51[sizeof("ISO-IR-6")]; -+ char stringpool_str54[sizeof("CP866")]; -+ char stringpool_str64[sizeof("C99")]; -+ char stringpool_str65[sizeof("ISO-IR-166")]; -+ char stringpool_str66[sizeof("EUCCN")]; -+ char stringpool_str67[sizeof("LATIN6")]; -+ char stringpool_str70[sizeof("CP154")]; -+ char stringpool_str71[sizeof("LATIN1")]; -+ char stringpool_str72[sizeof("EUC-CN")]; -+ char stringpool_str74[sizeof("CYRILLIC")]; -+ char stringpool_str76[sizeof("ISO646-CN")]; -+ char stringpool_str78[sizeof("HZ")]; -+ char stringpool_str79[sizeof("ISO-IR-14")]; -+ char stringpool_str84[sizeof("CP1256")]; -+ char stringpool_str87[sizeof("LATIN4")]; -+ char stringpool_str88[sizeof("CP1251")]; -+ char stringpool_str89[sizeof("ISO-IR-165")]; -+ char stringpool_str91[sizeof("LATIN5")]; -+ char stringpool_str92[sizeof("862")]; -+ char stringpool_str93[sizeof("ISO-IR-126")]; -+ char stringpool_str95[sizeof("ISO-IR-144")]; -+ char stringpool_str96[sizeof("CP819")]; -+ char stringpool_str103[sizeof("LATIN8")]; -+ char stringpool_str104[sizeof("CP1254")]; -+ char stringpool_str105[sizeof("ISO-IR-58")]; -+ char stringpool_str106[sizeof("CP949")]; -+ char stringpool_str108[sizeof("CP1255")]; -+ char stringpool_str110[sizeof("CP862")]; -+ char stringpool_str111[sizeof("ISO-IR-148")]; -+ char stringpool_str112[sizeof("L3")]; -+ char stringpool_str113[sizeof("LATIN-9")]; -+ char stringpool_str114[sizeof("CHINESE")]; -+ char stringpool_str115[sizeof("ISO-IR-149")]; -+ char stringpool_str117[sizeof("ISO-IR-159")]; -+ char stringpool_str119[sizeof("ISO-IR-226")]; -+ char stringpool_str120[sizeof("CP1258")]; -+ char stringpool_str121[sizeof("PT154")]; -+ char stringpool_str123[sizeof("LATIN2")]; -+ char stringpool_str124[sizeof("ISO8859-6")]; -+ char stringpool_str125[sizeof("ISO-IR-199")]; -+ char stringpool_str128[sizeof("ISO8859-1")]; -+ char stringpool_str129[sizeof("ISO-CELTIC")]; -+ char stringpool_str130[sizeof("ISO-8859-6")]; -+ char stringpool_str131[sizeof("ISO_8859-6")]; -+ char stringpool_str132[sizeof("ISO8859-16")]; -+ char stringpool_str134[sizeof("ISO-8859-1")]; -+ char stringpool_str135[sizeof("ISO_8859-1")]; -+ char stringpool_str136[sizeof("ISO8859-11")]; -+ char stringpool_str138[sizeof("ISO-8859-16")]; -+ char stringpool_str139[sizeof("ISO_8859-16")]; -+ char stringpool_str140[sizeof("CP1252")]; -+ char stringpool_str142[sizeof("ISO-8859-11")]; -+ char stringpool_str143[sizeof("ISO_8859-11")]; -+ char stringpool_str144[sizeof("ISO8859-4")]; -+ char stringpool_str145[sizeof("CP1361")]; -+ char stringpool_str146[sizeof("ISO_8859-16:2001")]; -+ char stringpool_str147[sizeof("CP1131")]; -+ char stringpool_str148[sizeof("ISO8859-5")]; -+ char stringpool_str150[sizeof("ISO-8859-4")]; -+ char stringpool_str151[sizeof("ISO_8859-4")]; -+ char stringpool_str152[sizeof("ISO8859-14")]; -+ char stringpool_str153[sizeof("CP936")]; -+ char stringpool_str154[sizeof("ISO-8859-5")]; -+ char stringpool_str155[sizeof("ISO_8859-5")]; -+ char stringpool_str156[sizeof("ISO8859-15")]; -+ char stringpool_str157[sizeof("MAC")]; -+ char stringpool_str158[sizeof("ISO-8859-14")]; -+ char stringpool_str159[sizeof("ISO_8859-14")]; -+ char stringpool_str160[sizeof("ISO8859-8")]; -+ char stringpool_str161[sizeof("ISO-IR-101")]; -+ char stringpool_str162[sizeof("ISO-8859-15")]; -+ char stringpool_str163[sizeof("ISO_8859-15")]; -+ char stringpool_str164[sizeof("ISO8859-9")]; -+ char stringpool_str166[sizeof("ISO-8859-8")]; -+ char stringpool_str167[sizeof("ISO_8859-8")]; -+ char stringpool_str170[sizeof("ISO-8859-9")]; -+ char stringpool_str171[sizeof("ISO_8859-9")]; -+ char stringpool_str172[sizeof("ISO_8859-14:1998")]; -+ char stringpool_str174[sizeof("ISO_8859-15:1998")]; -+ char stringpool_str176[sizeof("RK1048")]; -+ char stringpool_str179[sizeof("ELOT_928")]; -+ char stringpool_str180[sizeof("ISO8859-2")]; -+ char stringpool_str182[sizeof("IBM866")]; -+ char stringpool_str183[sizeof("L7")]; -+ char stringpool_str184[sizeof("US")]; -+ char stringpool_str186[sizeof("ISO-8859-2")]; -+ char stringpool_str187[sizeof("ISO_8859-2")]; -+ char stringpool_str190[sizeof("X0212")]; -+ char stringpool_str193[sizeof("CHAR")]; -+ char stringpool_str196[sizeof("PTCP154")]; -+ char stringpool_str197[sizeof("ISO-IR-109")]; -+ char stringpool_str198[sizeof("ISO-IR-138")]; -+ char stringpool_str199[sizeof("UHC")]; -+ char stringpool_str202[sizeof("ASCII")]; -+ char stringpool_str204[sizeof("MS-CYRL")]; -+ char stringpool_str205[sizeof("L10")]; -+ char stringpool_str206[sizeof("VISCII")]; -+ char stringpool_str209[sizeof("CP932")]; -+ char stringpool_str210[sizeof("BIG5")]; -+ char stringpool_str211[sizeof("TCVN")]; -+ char stringpool_str212[sizeof("CP50221")]; -+ char stringpool_str216[sizeof("BIG-5")]; -+ char stringpool_str217[sizeof("MS-EE")]; -+ char stringpool_str220[sizeof("850")]; -+ char stringpool_str222[sizeof("UCS-4")]; -+ char stringpool_str223[sizeof("CSASCII")]; -+ char stringpool_str224[sizeof("IBM819")]; -+ char stringpool_str225[sizeof("CSVISCII")]; -+ char stringpool_str227[sizeof("GB2312")]; -+ char stringpool_str228[sizeof("X0201")]; -+ char stringpool_str229[sizeof("CSBIG5")]; -+ char stringpool_str235[sizeof("CN-BIG5")]; -+ char stringpool_str236[sizeof("KOI8-R")]; -+ char stringpool_str237[sizeof("EUCKR")]; -+ char stringpool_str238[sizeof("IBM862")]; -+ char stringpool_str239[sizeof("CSPTCP154")]; -+ char stringpool_str240[sizeof("CSUCS4")]; -+ char stringpool_str241[sizeof("ISO646-US")]; -+ char stringpool_str242[sizeof("CP874")]; -+ char stringpool_str243[sizeof("EUC-KR")]; -+ char stringpool_str244[sizeof("VISCII1.1-1")]; -+ char stringpool_str246[sizeof("ISO_646.IRV:1991")]; -+ char stringpool_str248[sizeof("MACCYRILLIC")]; -+ char stringpool_str249[sizeof("CSKOI8R")]; -+ char stringpool_str250[sizeof("CP850")]; -+ char stringpool_str251[sizeof("ISO-IR-110")]; -+ char stringpool_str252[sizeof("CP950")]; -+ char stringpool_str254[sizeof("ISO-2022-CN")]; -+ char stringpool_str255[sizeof("CN-GB-ISOIR165")]; -+ char stringpool_str257[sizeof("CYRILLIC-ASIAN")]; -+ char stringpool_str258[sizeof("UCS-2")]; -+ char stringpool_str259[sizeof("LATIN10")]; -+ char stringpool_str260[sizeof("X0208")]; -+ char stringpool_str261[sizeof("LATIN3")]; -+ char stringpool_str263[sizeof("CSISO2022CN")]; -+ char stringpool_str264[sizeof("ISO_8859-10:1992")]; -+ char stringpool_str267[sizeof("UCS-4LE")]; -+ char stringpool_str268[sizeof("CP1250")]; -+ char stringpool_str271[sizeof("CSISOLATIN6")]; -+ char stringpool_str273[sizeof("ISO-IR-179")]; -+ char stringpool_str274[sizeof("MS936")]; -+ char stringpool_str275[sizeof("CSISOLATIN1")]; -+ char stringpool_str276[sizeof("TIS620")]; -+ char stringpool_str278[sizeof("CP1253")]; -+ char stringpool_str281[sizeof("ISO-2022-CN-EXT")]; -+ char stringpool_str282[sizeof("TIS-620")]; -+ char stringpool_str285[sizeof("UCS-2LE")]; -+ char stringpool_str286[sizeof("KOI8-T")]; -+ char stringpool_str290[sizeof("CSISOLATINCYRILLIC")]; -+ char stringpool_str291[sizeof("CSISOLATIN4")]; -+ char stringpool_str295[sizeof("CSISOLATIN5")]; -+ char stringpool_str296[sizeof("UNICODE-1-1")]; -+ char stringpool_str301[sizeof("GREEK8")]; -+ char stringpool_str302[sizeof("UCS-4-INTERNAL")]; -+ char stringpool_str304[sizeof("CSUNICODE11")]; -+ char stringpool_str306[sizeof("CSUNICODE")]; -+ char stringpool_str307[sizeof("TIS620.2529-1")]; -+ char stringpool_str311[sizeof("NEXTSTEP")]; -+ char stringpool_str312[sizeof("GEORGIAN-PS")]; -+ char stringpool_str316[sizeof("ISO8859-10")]; -+ char stringpool_str318[sizeof("ISO8859-3")]; -+ char stringpool_str320[sizeof("UCS-2-INTERNAL")]; -+ char stringpool_str322[sizeof("ISO-8859-10")]; -+ char stringpool_str323[sizeof("ISO_8859-10")]; -+ char stringpool_str324[sizeof("ISO-8859-3")]; -+ char stringpool_str325[sizeof("ISO_8859-3")]; -+ char stringpool_str326[sizeof("ISO8859-13")]; -+ char stringpool_str327[sizeof("CSISOLATIN2")]; -+ char stringpool_str329[sizeof("GB_1988-80")]; -+ char stringpool_str332[sizeof("ISO-8859-13")]; -+ char stringpool_str333[sizeof("ISO_8859-13")]; -+ char stringpool_str337[sizeof("CP1133")]; -+ char stringpool_str339[sizeof("MS-ANSI")]; -+ char stringpool_str341[sizeof("ISO-IR-100")]; -+ char stringpool_str344[sizeof("KSC_5601")]; -+ char stringpool_str349[sizeof("MACINTOSH")]; -+ char stringpool_str352[sizeof("CN-GB")]; -+ char stringpool_str354[sizeof("CSIBM866")]; -+ char stringpool_str355[sizeof("ISO-10646-UCS-4")]; -+ char stringpool_str357[sizeof("ISO_8859-4:1988")]; -+ char stringpool_str359[sizeof("ISO_8859-5:1988")]; -+ char stringpool_str361[sizeof("UTF-16")]; -+ char stringpool_str363[sizeof("KZ-1048")]; -+ char stringpool_str364[sizeof("ROMAN8")]; -+ char stringpool_str365[sizeof("ISO_8859-8:1988")]; -+ char stringpool_str366[sizeof("UNICODELITTLE")]; -+ char stringpool_str369[sizeof("ISO_8859-9:1989")]; -+ char stringpool_str372[sizeof("JP")]; -+ char stringpool_str373[sizeof("ISO-10646-UCS-2")]; -+ char stringpool_str375[sizeof("MULELAO-1")]; -+ char stringpool_str376[sizeof("CSKZ1048")]; -+ char stringpool_str377[sizeof("ISO-IR-203")]; -+ char stringpool_str378[sizeof("IBM850")]; -+ char stringpool_str380[sizeof("TIS620-0")]; -+ char stringpool_str382[sizeof("ECMA-114")]; -+ char stringpool_str386[sizeof("KS_C_5601-1989")]; -+ char stringpool_str388[sizeof("GBK")]; -+ char stringpool_str389[sizeof("UTF-8")]; -+ char stringpool_str391[sizeof("ARMSCII-8")]; -+ char stringpool_str392[sizeof("US-ASCII")]; -+ char stringpool_str398[sizeof("ECMA-118")]; -+ char stringpool_str399[sizeof("CSGB2312")]; -+ char stringpool_str403[sizeof("LATIN7")]; -+ char stringpool_str404[sizeof("KOREAN")]; -+ char stringpool_str405[sizeof("ISO-IR-57")]; -+ char stringpool_str408[sizeof("MS-HEBR")]; -+ char stringpool_str409[sizeof("CSISO14JISC6220RO")]; -+ char stringpool_str411[sizeof("ISO-IR-87")]; -+ char stringpool_str413[sizeof("ISO-IR-157")]; -+ char stringpool_str416[sizeof("UTF-16LE")]; -+ char stringpool_str418[sizeof("UCS-4BE")]; -+ char stringpool_str420[sizeof("CP1257")]; -+ char stringpool_str421[sizeof("ANSI_X3.4-1986")]; -+ char stringpool_str424[sizeof("CSEUCKR")]; -+ char stringpool_str425[sizeof("ISO-2022-KR")]; -+ char stringpool_str426[sizeof("GB_2312-80")]; -+ char stringpool_str429[sizeof("ISO-IR-127")]; -+ char stringpool_str430[sizeof("MACTHAI")]; -+ char stringpool_str431[sizeof("EUCTW")]; -+ char stringpool_str433[sizeof("EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE")]; -+ char stringpool_str434[sizeof("CSISO2022KR")]; -+ char stringpool_str436[sizeof("UCS-2BE")]; -+ char stringpool_str437[sizeof("EUC-TW")]; -+ char stringpool_str439[sizeof("ANSI_X3.4-1968")]; -+ char stringpool_str440[sizeof("GREEK")]; -+ char stringpool_str442[sizeof("MACICELAND")]; -+ char stringpool_str443[sizeof("GB18030")]; -+ char stringpool_str444[sizeof("ISO_8859-3:1988")]; -+ char stringpool_str445[sizeof("CSISOLATINARABIC")]; -+ char stringpool_str446[sizeof("GEORGIAN-ACADEMY")]; -+ char stringpool_str448[sizeof("HP-ROMAN8")]; -+ char stringpool_str453[sizeof("TIS620.2533-1")]; -+ char stringpool_str455[sizeof("UNICODEBIG")]; -+ char stringpool_str459[sizeof("TCVN5712-1")]; -+ char stringpool_str460[sizeof("ISO8859-7")]; -+ char stringpool_str461[sizeof("CSISO57GB1988")]; -+ char stringpool_str463[sizeof("MACCENTRALEUROPE")]; -+ char stringpool_str464[sizeof("CSISOLATINGREEK")]; -+ char stringpool_str465[sizeof("CSISOLATIN3")]; -+ char stringpool_str466[sizeof("ISO-8859-7")]; -+ char stringpool_str467[sizeof("ISO_8859-7")]; -+ char stringpool_str468[sizeof("UNICODE-1-1-UTF-7")]; -+ char stringpool_str469[sizeof("CP367")]; -+ char stringpool_str470[sizeof("HZ-GB-2312")]; -+ char stringpool_str473[sizeof("EUCJP")]; -+ char stringpool_str474[sizeof("CSUNICODE11UTF7")]; -+ char stringpool_str476[sizeof("MACROMAN")]; -+ char stringpool_str477[sizeof("TCVN-5712")]; -+ char stringpool_str479[sizeof("EUC-JP")]; -+ char stringpool_str483[sizeof("ISO646-JP")]; -+ char stringpool_str489[sizeof("BIG5HKSCS")]; -+ char stringpool_str490[sizeof("CSISO58GB231280")]; -+ char stringpool_str492[sizeof("WINDOWS-1256")]; -+ char stringpool_str494[sizeof("WINDOWS-1251")]; -+ char stringpool_str495[sizeof("BIG5-HKSCS")]; -+ char stringpool_str496[sizeof("WCHAR_T")]; -+ char stringpool_str497[sizeof("ISO_8859-6:1987")]; -+ char stringpool_str499[sizeof("ISO_8859-1:1987")]; -+ char stringpool_str502[sizeof("WINDOWS-1254")]; -+ char stringpool_str504[sizeof("WINDOWS-1255")]; -+ char stringpool_str510[sizeof("WINDOWS-1258")]; -+ char stringpool_str512[sizeof("UTF-32")]; -+ char stringpool_str516[sizeof("CSISOLATINHEBREW")]; -+ char stringpool_str517[sizeof("CSHPROMAN8")]; -+ char stringpool_str519[sizeof("CSISO159JISX02121990")]; -+ char stringpool_str520[sizeof("WINDOWS-1252")]; -+ char stringpool_str522[sizeof("STRK1048-2002")]; -+ char stringpool_str525[sizeof("ISO_8859-2:1987")]; -+ char stringpool_str529[sizeof("ARABIC")]; -+ char stringpool_str530[sizeof("CSMACINTOSH")]; -+ char stringpool_str534[sizeof("KS_C_5601-1987")]; -+ char stringpool_str536[sizeof("JIS_C6220-1969-RO")]; -+ char stringpool_str537[sizeof("JIS_C6226-1983")]; -+ char stringpool_str539[sizeof("UTF-32LE")]; -+ char stringpool_str543[sizeof("TIS620.2533-0")]; -+ char stringpool_str546[sizeof("IBM-CP1133")]; -+ char stringpool_str547[sizeof("SHIFT-JIS")]; -+ char stringpool_str548[sizeof("SHIFT_JIS")]; -+ char stringpool_str555[sizeof("CSPC862LATINHEBREW")]; -+ char stringpool_str557[sizeof("BIGFIVE")]; -+ char stringpool_str560[sizeof("CSKSC56011987")]; -+ char stringpool_str562[sizeof("MACCROATIAN")]; -+ char stringpool_str563[sizeof("BIG-FIVE")]; -+ char stringpool_str566[sizeof("WINDOWS-936")]; -+ char stringpool_str567[sizeof("UTF-16BE")]; -+ char stringpool_str574[sizeof("KOI8-U")]; -+ char stringpool_str580[sizeof("KOI8-RU")]; -+ char stringpool_str584[sizeof("WINDOWS-1250")]; -+ char stringpool_str585[sizeof("MS-GREEK")]; -+ char stringpool_str589[sizeof("WINDOWS-1253")]; -+ char stringpool_str591[sizeof("MACGREEK")]; -+ char stringpool_str592[sizeof("CSPC850MULTILINGUAL")]; -+ char stringpool_str594[sizeof("ISO_8859-7:2003")]; -+ char stringpool_str596[sizeof("JIS0208")]; -+ char stringpool_str597[sizeof("IBM367")]; -+ char stringpool_str608[sizeof("ISO-2022-JP-1")]; -+ char stringpool_str610[sizeof("ISO-2022-JP-MS")]; -+ char stringpool_str613[sizeof("JIS_X0212")]; -+ char stringpool_str618[sizeof("CSEUCTW")]; -+ char stringpool_str624[sizeof("CSSHIFTJIS")]; -+ char stringpool_str625[sizeof("HEBREW")]; -+ char stringpool_str634[sizeof("ISO-2022-JP-2")]; -+ char stringpool_str635[sizeof("ASMO-708")]; -+ char stringpool_str642[sizeof("CSISO2022JP2")]; -+ char stringpool_str651[sizeof("JIS_X0201")]; -+ char stringpool_str655[sizeof("WINDOWS-874")]; -+ char stringpool_str660[sizeof("WINDOWS-1257")]; -+ char stringpool_str661[sizeof("ISO-2022-JP")]; -+ char stringpool_str665[sizeof("ISO_8859-7:1987")]; -+ char stringpool_str666[sizeof("CSISO87JISX0208")]; -+ char stringpool_str670[sizeof("CSISO2022JP")]; -+ char stringpool_str680[sizeof("MACARABIC")]; -+ char stringpool_str683[sizeof("JIS_X0208")]; -+ char stringpool_str684[sizeof("JISX0201-1976")]; -+ char stringpool_str689[sizeof("UTF-7")]; -+ char stringpool_str690[sizeof("UTF-32BE")]; -+ char stringpool_str692[sizeof("BIG5-HKSCS:2001")]; -+ char stringpool_str694[sizeof("JIS_X0212-1990")]; -+ char stringpool_str697[sizeof("JIS_X0212.1990-0")]; -+ char stringpool_str700[sizeof("BIG5-HKSCS:2004")]; -+ char stringpool_str702[sizeof("MACTURKISH")]; -+ char stringpool_str708[sizeof("BIG5-HKSCS:2008")]; -+ char stringpool_str710[sizeof("BIG5-HKSCS:1999")]; -+ char stringpool_str725[sizeof("MS-TURK")]; -+ char stringpool_str732[sizeof("UCS-4-SWAPPED")]; -+ char stringpool_str749[sizeof("MACUKRAINE")]; -+ char stringpool_str750[sizeof("UCS-2-SWAPPED")]; -+ char stringpool_str752[sizeof("TCVN5712-1:1993")]; -+ char stringpool_str774[sizeof("JIS_X0208-1990")]; -+ char stringpool_str779[sizeof("JIS_X0208-1983")]; -+ char stringpool_str796[sizeof("MACHEBREW")]; -+ char stringpool_str803[sizeof("MS-ARAB")]; -+ char stringpool_str811[sizeof("JAVA")]; -+ char stringpool_str813[sizeof("MACROMANIA")]; -+ char stringpool_str827[sizeof("MS_KANJI")]; -+ char stringpool_str837[sizeof("WINBALTRIM")]; -+ char stringpool_str866[sizeof("CSEUCPKDFMTJAPANESE")]; -+ char stringpool_str869[sizeof("JOHAB")]; -+ char stringpool_str921[sizeof("CSHALFWIDTHKATAKANA")]; -+ }; -+static const struct stringpool_t stringpool_contents = -+ { -+ "L6", -+ "L1", -+ "CN", -+ "L4", -+ "L5", -+ "R8", -+ "L8", -+ "SJIS", -+ "866", -+ "L2", -+ "ISO-IR-6", -+ "CP866", -+ "C99", -+ "ISO-IR-166", -+ "EUCCN", -+ "LATIN6", -+ "CP154", -+ "LATIN1", -+ "EUC-CN", -+ "CYRILLIC", -+ "ISO646-CN", -+ "HZ", -+ "ISO-IR-14", -+ "CP1256", -+ "LATIN4", -+ "CP1251", -+ "ISO-IR-165", -+ "LATIN5", -+ "862", -+ "ISO-IR-126", -+ "ISO-IR-144", -+ "CP819", -+ "LATIN8", -+ "CP1254", -+ "ISO-IR-58", -+ "CP949", -+ "CP1255", -+ "CP862", -+ "ISO-IR-148", -+ "L3", -+ "LATIN-9", -+ "CHINESE", -+ "ISO-IR-149", -+ "ISO-IR-159", -+ "ISO-IR-226", -+ "CP1258", -+ "PT154", -+ "LATIN2", -+ "ISO8859-6", -+ "ISO-IR-199", -+ "ISO8859-1", -+ "ISO-CELTIC", -+ "ISO-8859-6", -+ "ISO_8859-6", -+ "ISO8859-16", -+ "ISO-8859-1", -+ "ISO_8859-1", -+ "ISO8859-11", -+ "ISO-8859-16", -+ "ISO_8859-16", -+ "CP1252", -+ "ISO-8859-11", -+ "ISO_8859-11", -+ "ISO8859-4", -+ "CP1361", -+ "ISO_8859-16:2001", -+ "CP1131", -+ "ISO8859-5", -+ "ISO-8859-4", -+ "ISO_8859-4", -+ "ISO8859-14", -+ "CP936", -+ "ISO-8859-5", -+ "ISO_8859-5", -+ "ISO8859-15", -+ "MAC", -+ "ISO-8859-14", -+ "ISO_8859-14", -+ "ISO8859-8", -+ "ISO-IR-101", -+ "ISO-8859-15", -+ "ISO_8859-15", -+ "ISO8859-9", -+ "ISO-8859-8", -+ "ISO_8859-8", -+ "ISO-8859-9", -+ "ISO_8859-9", -+ "ISO_8859-14:1998", -+ "ISO_8859-15:1998", -+ "RK1048", -+ "ELOT_928", -+ "ISO8859-2", -+ "IBM866", -+ "L7", -+ "US", -+ "ISO-8859-2", -+ "ISO_8859-2", -+ "X0212", -+ "CHAR", -+ "PTCP154", -+ "ISO-IR-109", -+ "ISO-IR-138", -+ "UHC", -+ "ASCII", -+ "MS-CYRL", -+ "L10", -+ "VISCII", -+ "CP932", -+ "BIG5", -+ "TCVN", -+ "CP50221", -+ "BIG-5", -+ "MS-EE", -+ "850", -+ "UCS-4", -+ "CSASCII", -+ "IBM819", -+ "CSVISCII", -+ "GB2312", -+ "X0201", -+ "CSBIG5", -+ "CN-BIG5", -+ "KOI8-R", -+ "EUCKR", -+ "IBM862", -+ "CSPTCP154", -+ "CSUCS4", -+ "ISO646-US", -+ "CP874", -+ "EUC-KR", -+ "VISCII1.1-1", -+ "ISO_646.IRV:1991", -+ "MACCYRILLIC", -+ "CSKOI8R", -+ "CP850", -+ "ISO-IR-110", -+ "CP950", -+ "ISO-2022-CN", -+ "CN-GB-ISOIR165", -+ "CYRILLIC-ASIAN", -+ "UCS-2", -+ "LATIN10", -+ "X0208", -+ "LATIN3", -+ "CSISO2022CN", -+ "ISO_8859-10:1992", -+ "UCS-4LE", -+ "CP1250", -+ "CSISOLATIN6", -+ "ISO-IR-179", -+ "MS936", -+ "CSISOLATIN1", -+ "TIS620", -+ "CP1253", -+ "ISO-2022-CN-EXT", -+ "TIS-620", -+ "UCS-2LE", -+ "KOI8-T", -+ "CSISOLATINCYRILLIC", -+ "CSISOLATIN4", -+ "CSISOLATIN5", -+ "UNICODE-1-1", -+ "GREEK8", -+ "UCS-4-INTERNAL", -+ "CSUNICODE11", -+ "CSUNICODE", -+ "TIS620.2529-1", -+ "NEXTSTEP", -+ "GEORGIAN-PS", -+ "ISO8859-10", -+ "ISO8859-3", -+ "UCS-2-INTERNAL", -+ "ISO-8859-10", -+ "ISO_8859-10", -+ "ISO-8859-3", -+ "ISO_8859-3", -+ "ISO8859-13", -+ "CSISOLATIN2", -+ "GB_1988-80", -+ "ISO-8859-13", -+ "ISO_8859-13", -+ "CP1133", -+ "MS-ANSI", -+ "ISO-IR-100", -+ "KSC_5601", -+ "MACINTOSH", -+ "CN-GB", -+ "CSIBM866", -+ "ISO-10646-UCS-4", -+ "ISO_8859-4:1988", -+ "ISO_8859-5:1988", -+ "UTF-16", -+ "KZ-1048", -+ "ROMAN8", -+ "ISO_8859-8:1988", -+ "UNICODELITTLE", -+ "ISO_8859-9:1989", -+ "JP", -+ "ISO-10646-UCS-2", -+ "MULELAO-1", -+ "CSKZ1048", -+ "ISO-IR-203", -+ "IBM850", -+ "TIS620-0", -+ "ECMA-114", -+ "KS_C_5601-1989", -+ "GBK", -+ "UTF-8", -+ "ARMSCII-8", -+ "US-ASCII", -+ "ECMA-118", -+ "CSGB2312", -+ "LATIN7", -+ "KOREAN", -+ "ISO-IR-57", -+ "MS-HEBR", -+ "CSISO14JISC6220RO", -+ "ISO-IR-87", -+ "ISO-IR-157", -+ "UTF-16LE", -+ "UCS-4BE", -+ "CP1257", -+ "ANSI_X3.4-1986", -+ "CSEUCKR", -+ "ISO-2022-KR", -+ "GB_2312-80", -+ "ISO-IR-127", -+ "MACTHAI", -+ "EUCTW", -+ "EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE", -+ "CSISO2022KR", -+ "UCS-2BE", -+ "EUC-TW", -+ "ANSI_X3.4-1968", -+ "GREEK", -+ "MACICELAND", -+ "GB18030", -+ "ISO_8859-3:1988", -+ "CSISOLATINARABIC", -+ "GEORGIAN-ACADEMY", -+ "HP-ROMAN8", -+ "TIS620.2533-1", -+ "UNICODEBIG", -+ "TCVN5712-1", -+ "ISO8859-7", -+ "CSISO57GB1988", -+ "MACCENTRALEUROPE", -+ "CSISOLATINGREEK", -+ "CSISOLATIN3", -+ "ISO-8859-7", -+ "ISO_8859-7", -+ "UNICODE-1-1-UTF-7", -+ "CP367", -+ "HZ-GB-2312", -+ "EUCJP", -+ "CSUNICODE11UTF7", -+ "MACROMAN", -+ "TCVN-5712", -+ "EUC-JP", -+ "ISO646-JP", -+ "BIG5HKSCS", -+ "CSISO58GB231280", -+ "WINDOWS-1256", -+ "WINDOWS-1251", -+ "BIG5-HKSCS", -+ "WCHAR_T", -+ "ISO_8859-6:1987", -+ "ISO_8859-1:1987", -+ "WINDOWS-1254", -+ "WINDOWS-1255", -+ "WINDOWS-1258", -+ "UTF-32", -+ "CSISOLATINHEBREW", -+ "CSHPROMAN8", -+ "CSISO159JISX02121990", -+ "WINDOWS-1252", -+ "STRK1048-2002", -+ "ISO_8859-2:1987", -+ "ARABIC", -+ "CSMACINTOSH", -+ "KS_C_5601-1987", -+ "JIS_C6220-1969-RO", -+ "JIS_C6226-1983", -+ "UTF-32LE", -+ "TIS620.2533-0", -+ "IBM-CP1133", -+ "SHIFT-JIS", -+ "SHIFT_JIS", -+ "CSPC862LATINHEBREW", -+ "BIGFIVE", -+ "CSKSC56011987", -+ "MACCROATIAN", -+ "BIG-FIVE", -+ "WINDOWS-936", -+ "UTF-16BE", -+ "KOI8-U", -+ "KOI8-RU", -+ "WINDOWS-1250", -+ "MS-GREEK", -+ "WINDOWS-1253", -+ "MACGREEK", -+ "CSPC850MULTILINGUAL", -+ "ISO_8859-7:2003", -+ "JIS0208", -+ "IBM367", -+ "ISO-2022-JP-1", -+ "ISO-2022-JP-MS", -+ "JIS_X0212", -+ "CSEUCTW", -+ "CSSHIFTJIS", -+ "HEBREW", -+ "ISO-2022-JP-2", -+ "ASMO-708", -+ "CSISO2022JP2", -+ "JIS_X0201", -+ "WINDOWS-874", -+ "WINDOWS-1257", -+ "ISO-2022-JP", -+ "ISO_8859-7:1987", -+ "CSISO87JISX0208", -+ "CSISO2022JP", -+ "MACARABIC", -+ "JIS_X0208", -+ "JISX0201-1976", -+ "UTF-7", -+ "UTF-32BE", -+ "BIG5-HKSCS:2001", -+ "JIS_X0212-1990", -+ "JIS_X0212.1990-0", -+ "BIG5-HKSCS:2004", -+ "MACTURKISH", -+ "BIG5-HKSCS:2008", -+ "BIG5-HKSCS:1999", -+ "MS-TURK", -+ "UCS-4-SWAPPED", -+ "MACUKRAINE", -+ "UCS-2-SWAPPED", -+ "TCVN5712-1:1993", -+ "JIS_X0208-1990", -+ "JIS_X0208-1983", -+ "MACHEBREW", -+ "MS-ARAB", -+ "JAVA", -+ "MACROMANIA", -+ "MS_KANJI", -+ "WINBALTRIM", -+ "CSEUCPKDFMTJAPANESE", -+ "JOHAB", -+ "CSHALFWIDTHKATAKANA" -+ }; -+#define stringpool ((const char *) &stringpool_contents) -+ -+static const struct alias aliases[] = -+ { -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 134 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str15, ei_iso8859_10}, -+ {-1}, -+#line 60 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str17, ei_iso8859_1}, -+ {-1}, {-1}, -+#line 288 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str20, ei_iso646_cn}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 84 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str25, ei_iso8859_4}, -+ {-1}, -+#line 126 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str27, ei_iso8859_9}, -+ {-1}, {-1}, -+#line 227 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str30, ei_hp_roman8}, -+ {-1}, {-1}, -+#line 151 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str33, ei_iso8859_14}, -+#line 308 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str34, ei_sjis}, -+ {-1}, -+#line 207 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str36, ei_cp866}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 68 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str43, ei_iso8859_2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 16 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str51, ei_ascii}, -+ {-1}, {-1}, -+#line 205 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str54, ei_cp866}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 51 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str64, ei_c99}, -+#line 252 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str65, ei_tis620}, -+#line 320 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str66, ei_euc_cn}, -+#line 133 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str67, ei_iso8859_10}, -+ {-1}, {-1}, -+#line 236 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str70, ei_pt154}, -+#line 59 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str71, ei_iso8859_1}, -+#line 319 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str72, ei_euc_cn}, -+ {-1}, -+#line 91 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str74, ei_iso8859_5}, -+ {-1}, -+#line 286 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str76, ei_iso646_cn}, -+ {-1}, -+#line 332 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str78, ei_hz}, -+#line 264 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str79, ei_iso646_jp}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 189 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str84, ei_cp1256}, -+ {-1}, {-1}, -+#line 83 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str87, ei_iso8859_4}, -+#line 174 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str88, ei_cp1251}, -+#line 294 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str89, ei_isoir165}, -+ {-1}, -+#line 125 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str91, ei_iso8859_9}, -+#line 203 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str92, ei_cp862}, -+#line 107 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str93, ei_iso8859_7}, -+ {-1}, -+#line 90 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str95, ei_iso8859_5}, -+#line 57 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str96, ei_iso8859_1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 150 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str103, ei_iso8859_14}, -+#line 183 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str104, ei_cp1254}, -+#line 291 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str105, ei_gb2312}, -+#line 353 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str106, ei_cp949}, -+ {-1}, -+#line 186 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str108, ei_cp1255}, -+ {-1}, -+#line 201 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str110, ei_cp862}, -+#line 124 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str111, ei_iso8859_9}, -+#line 76 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str112, ei_iso8859_3}, -+#line 158 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str113, ei_iso8859_15}, -+#line 293 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str114, ei_gb2312}, -+#line 299 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str115, ei_ksc5601}, -+ {-1}, -+#line 283 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str117, ei_jisx0212}, -+ {-1}, -+#line 163 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str119, ei_iso8859_16}, -+#line 195 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str120, ei_cp1258}, -+#line 234 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str121, ei_pt154}, -+ {-1}, -+#line 67 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str123, ei_iso8859_2}, -+#line 102 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str124, ei_iso8859_6}, -+#line 149 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str125, ei_iso8859_14}, -+ {-1}, {-1}, -+#line 62 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str128, ei_iso8859_1}, -+#line 152 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str129, ei_iso8859_14}, -+#line 94 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str130, ei_iso8859_6}, -+#line 95 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str131, ei_iso8859_6}, -+#line 166 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str132, ei_iso8859_16}, -+ {-1}, -+#line 53 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str134, ei_iso8859_1}, -+#line 54 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str135, ei_iso8859_1}, -+#line 139 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str136, ei_iso8859_11}, -+ {-1}, -+#line 160 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str138, ei_iso8859_16}, -+#line 161 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str139, ei_iso8859_16}, -+#line 177 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str140, ei_cp1252}, -+ {-1}, -+#line 137 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str142, ei_iso8859_11}, -+#line 138 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str143, ei_iso8859_11}, -+#line 86 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str144, ei_iso8859_4}, -+#line 356 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str145, ei_johab}, -+#line 162 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str146, ei_iso8859_16}, -+#line 209 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str147, ei_cp1131}, -+#line 93 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str148, ei_iso8859_5}, -+ {-1}, -+#line 79 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str150, ei_iso8859_4}, -+#line 80 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str151, ei_iso8859_4}, -+#line 153 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str152, ei_iso8859_14}, -+#line 325 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str153, ei_cp936}, -+#line 87 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_5}, -+#line 88 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str155, ei_iso8859_5}, -+#line 159 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str156, ei_iso8859_15}, -+#line 212 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str157, ei_mac_roman}, -+#line 146 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str158, ei_iso8859_14}, -+#line 147 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str159, ei_iso8859_14}, -+#line 120 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str160, ei_iso8859_8}, -+#line 66 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str161, ei_iso8859_2}, -+#line 154 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str162, ei_iso8859_15}, -+#line 155 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str163, ei_iso8859_15}, -+#line 128 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str164, ei_iso8859_9}, -+ {-1}, -+#line 114 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str166, ei_iso8859_8}, -+#line 115 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str167, ei_iso8859_8}, -+ {-1}, {-1}, -+#line 121 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str170, ei_iso8859_9}, -+#line 122 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str171, ei_iso8859_9}, -+#line 148 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str172, ei_iso8859_14}, -+ {-1}, -+#line 156 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str174, ei_iso8859_15}, -+ {-1}, -+#line 239 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str176, ei_rk1048}, -+ {-1}, {-1}, -+#line 109 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str179, ei_iso8859_7}, -+#line 70 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str180, ei_iso8859_2}, -+ {-1}, -+#line 206 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str182, ei_cp866}, -+#line 144 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str183, ei_iso8859_13}, -+#line 21 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str184, ei_ascii}, -+ {-1}, -+#line 63 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str186, ei_iso8859_2}, -+#line 64 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str187, ei_iso8859_2}, -+ {-1}, {-1}, -+#line 282 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str190, ei_jisx0212}, -+ {-1}, {-1}, -+#line 359 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str193, ei_local_char}, -+ {-1}, {-1}, -+#line 235 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str196, ei_pt154}, -+#line 74 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str197, ei_iso8859_3}, -+#line 117 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str198, ei_iso8859_8}, -+#line 354 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str199, ei_cp949}, -+ {-1}, {-1}, -+#line 13 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str202, ei_ascii}, -+ {-1}, -+#line 176 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str204, ei_cp1251}, -+#line 165 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str205, ei_iso8859_16}, -+#line 255 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str206, ei_viscii}, -+ {-1}, {-1}, -+#line 311 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str209, ei_cp932}, -+#line 337 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str210, ei_ces_big5}, -+#line 258 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str211, ei_tcvn}, -+#line 318 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str212, ei_iso2022_jpms}, -+ {-1}, {-1}, {-1}, -+#line 338 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str216, ei_ces_big5}, -+#line 173 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str217, ei_cp1250}, -+ {-1}, {-1}, -+#line 199 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str220, ei_cp850}, -+ {-1}, -+#line 33 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str222, ei_ucs4}, -+#line 22 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str223, ei_ascii}, -+#line 58 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str224, ei_iso8859_1}, -+#line 257 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str225, ei_viscii}, -+ {-1}, -+#line 321 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str227, ei_euc_cn}, -+#line 269 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str228, ei_jisx0201}, -+#line 342 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str229, ei_ces_big5}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 341 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str235, ei_ces_big5}, -+#line 167 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str236, ei_koi8_r}, -+#line 351 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str237, ei_euc_kr}, -+#line 202 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str238, ei_cp862}, -+#line 238 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str239, ei_pt154}, -+#line 35 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str240, ei_ucs4}, -+#line 14 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str241, ei_ascii}, -+#line 253 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str242, ei_cp874}, -+#line 350 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str243, ei_euc_kr}, -+#line 256 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str244, ei_viscii}, -+ {-1}, -+#line 15 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str246, ei_ascii}, -+ {-1}, -+#line 218 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str248, ei_mac_cyrillic}, -+#line 168 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str249, ei_koi8_r}, -+#line 197 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str250, ei_cp850}, -+#line 82 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str251, ei_iso8859_4}, -+#line 343 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str252, ei_cp950}, -+ {-1}, -+#line 329 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str254, ei_iso2022_cn}, -+#line 295 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str255, ei_isoir165}, -+ {-1}, -+#line 237 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str257, ei_pt154}, -+#line 24 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str258, ei_ucs2}, -+#line 164 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str259, ei_iso8859_16}, -+#line 275 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str260, ei_jisx0208}, -+#line 75 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str261, ei_iso8859_3}, -+ {-1}, -+#line 330 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str263, ei_iso2022_cn}, -+#line 131 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str264, ei_iso8859_10}, -+ {-1}, {-1}, -+#line 37 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str267, ei_ucs4le}, -+#line 171 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str268, ei_cp1250}, -+ {-1}, {-1}, -+#line 135 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str271, ei_iso8859_10}, -+ {-1}, -+#line 142 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str273, ei_iso8859_13}, -+#line 326 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str274, ei_cp936}, -+#line 61 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str275, ei_iso8859_1}, -+#line 247 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str276, ei_tis620}, -+ {-1}, -+#line 180 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str278, ei_cp1253}, -+ {-1}, {-1}, -+#line 331 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str281, ei_iso2022_cn_ext}, -+#line 246 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str282, ei_tis620}, -+ {-1}, {-1}, -+#line 31 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str285, ei_ucs2le}, -+#line 233 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str286, ei_koi8_t}, -+ {-1}, {-1}, {-1}, -+#line 92 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str290, ei_iso8859_5}, -+#line 85 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str291, ei_iso8859_4}, -+ {-1}, {-1}, {-1}, -+#line 127 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str295, ei_iso8859_9}, -+#line 29 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str296, ei_ucs2be}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 110 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str301, ei_iso8859_7}, -+#line 49 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str302, ei_ucs4internal}, -+ {-1}, -+#line 30 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str304, ei_ucs2be}, -+ {-1}, -+#line 26 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str306, ei_ucs2}, -+#line 249 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str307, ei_tis620}, -+ {-1}, {-1}, {-1}, -+#line 229 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str311, ei_nextstep}, -+#line 232 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str312, ei_georgian_ps}, -+ {-1}, {-1}, {-1}, -+#line 136 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str316, ei_iso8859_10}, -+ {-1}, -+#line 78 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str318, ei_iso8859_3}, -+ {-1}, -+#line 47 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str320, ei_ucs2internal}, -+ {-1}, -+#line 129 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str322, ei_iso8859_10}, -+#line 130 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str323, ei_iso8859_10}, -+#line 71 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str324, ei_iso8859_3}, -+#line 72 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str325, ei_iso8859_3}, -+#line 145 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str326, ei_iso8859_13}, -+#line 69 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str327, ei_iso8859_2}, -+ {-1}, -+#line 285 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str329, ei_iso646_cn}, -+ {-1}, {-1}, -+#line 140 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str332, ei_iso8859_13}, -+#line 141 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str333, ei_iso8859_13}, -+ {-1}, {-1}, {-1}, -+#line 244 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str337, ei_cp1133}, -+ {-1}, -+#line 179 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str339, ei_cp1252}, -+ {-1}, -+#line 56 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str341, ei_iso8859_1}, -+ {-1}, {-1}, -+#line 296 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str344, ei_ksc5601}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 211 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str349, ei_mac_roman}, -+ {-1}, {-1}, -+#line 322 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str352, ei_euc_cn}, -+ {-1}, -+#line 208 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str354, ei_cp866}, -+#line 34 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str355, ei_ucs4}, -+ {-1}, -+#line 81 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str357, ei_iso8859_4}, -+ {-1}, -+#line 89 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str359, ei_iso8859_5}, -+ {-1}, -+#line 38 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str361, ei_utf16}, -+ {-1}, -+#line 241 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str363, ei_rk1048}, -+#line 226 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str364, ei_hp_roman8}, -+#line 116 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str365, ei_iso8859_8}, -+#line 32 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str366, ei_ucs2le}, -+ {-1}, {-1}, -+#line 123 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str369, ei_iso8859_9}, -+ {-1}, {-1}, -+#line 265 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str372, ei_iso646_jp}, -+#line 25 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str373, ei_ucs2}, -+ {-1}, -+#line 243 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str375, ei_mulelao}, -+#line 242 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str376, ei_rk1048}, -+#line 157 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str377, ei_iso8859_15}, -+#line 198 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str378, ei_cp850}, -+ {-1}, -+#line 248 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str380, ei_tis620}, -+ {-1}, -+#line 98 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str382, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, -+#line 298 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str386, ei_ksc5601}, -+ {-1}, -+#line 324 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str388, ei_ces_gbk}, -+#line 23 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str389, ei_utf8}, -+ {-1}, -+#line 230 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str391, ei_armscii_8}, -+#line 12 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str392, ei_ascii}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 108 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str398, ei_iso8859_7}, -+#line 323 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str399, ei_euc_cn}, -+ {-1}, {-1}, {-1}, -+#line 143 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str403, ei_iso8859_13}, -+#line 301 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str404, ei_ksc5601}, -+#line 287 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str405, ei_iso646_cn}, -+ {-1}, {-1}, -+#line 188 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str408, ei_cp1255}, -+#line 266 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str409, ei_iso646_jp}, -+ {-1}, -+#line 276 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str411, ei_jisx0208}, -+ {-1}, -+#line 132 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str413, ei_iso8859_10}, -+ {-1}, {-1}, -+#line 40 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str416, ei_utf16le}, -+ {-1}, -+#line 36 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str418, ei_ucs4be}, -+ {-1}, -+#line 192 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str420, ei_cp1257}, -+#line 18 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str421, ei_ascii}, -+ {-1}, {-1}, -+#line 352 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str424, ei_euc_kr}, -+#line 357 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str425, ei_iso2022_kr}, -+#line 290 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str426, ei_gb2312}, -+ {-1}, {-1}, -+#line 97 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str429, ei_iso8859_6}, -+#line 224 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str430, ei_mac_thai}, -+#line 335 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str431, ei_euc_tw}, -+ {-1}, -+#line 304 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str433, ei_euc_jp}, -+#line 358 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str434, ei_iso2022_kr}, -+ {-1}, -+#line 27 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str436, ei_ucs2be}, -+#line 334 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str437, ei_euc_tw}, -+ {-1}, -+#line 17 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str439, ei_ascii}, -+#line 111 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str440, ei_iso8859_7}, -+ {-1}, -+#line 215 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str442, ei_mac_iceland}, -+#line 328 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str443, ei_gb18030}, -+#line 73 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str444, ei_iso8859_3}, -+#line 101 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str445, ei_iso8859_6}, -+#line 231 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str446, ei_georgian_academy}, -+ {-1}, -+#line 225 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str448, ei_hp_roman8}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 251 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str453, ei_tis620}, -+ {-1}, -+#line 28 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str455, ei_ucs2be}, -+ {-1}, {-1}, {-1}, -+#line 260 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str459, ei_tcvn}, -+#line 113 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str460, ei_iso8859_7}, -+#line 289 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str461, ei_iso646_cn}, -+ {-1}, -+#line 214 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str463, ei_mac_centraleurope}, -+#line 112 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str464, ei_iso8859_7}, -+#line 77 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str465, ei_iso8859_3}, -+#line 103 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str466, ei_iso8859_7}, -+#line 104 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str467, ei_iso8859_7}, -+#line 45 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str468, ei_utf7}, -+#line 19 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str469, ei_ascii}, -+#line 333 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str470, ei_hz}, -+ {-1}, {-1}, -+#line 303 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str473, ei_euc_jp}, -+#line 46 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str474, ei_utf7}, -+ {-1}, -+#line 210 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str476, ei_mac_roman}, -+#line 259 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str477, ei_tcvn}, -+ {-1}, -+#line 302 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str479, ei_euc_jp}, -+ {-1}, {-1}, {-1}, -+#line 263 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str483, ei_iso646_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 348 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str489, ei_big5hkscs2008}, -+#line 292 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str490, ei_gb2312}, -+ {-1}, -+#line 190 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str492, ei_cp1256}, -+ {-1}, -+#line 175 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str494, ei_cp1251}, -+#line 347 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str495, ei_big5hkscs2008}, -+#line 360 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str496, ei_local_wchar_t}, -+#line 96 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str497, ei_iso8859_6}, -+ {-1}, -+#line 55 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str499, ei_iso8859_1}, -+ {-1}, {-1}, -+#line 184 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str502, ei_cp1254}, -+ {-1}, -+#line 187 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str504, ei_cp1255}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 196 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str510, ei_cp1258}, -+ {-1}, -+#line 41 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str512, ei_utf32}, -+ {-1}, {-1}, {-1}, -+#line 119 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str516, ei_iso8859_8}, -+#line 228 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str517, ei_hp_roman8}, -+ {-1}, -+#line 284 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str519, ei_jisx0212}, -+#line 178 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str520, ei_cp1252}, -+ {-1}, -+#line 240 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str522, ei_rk1048}, -+ {-1}, {-1}, -+#line 65 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str525, ei_iso8859_2}, -+ {-1}, {-1}, {-1}, -+#line 100 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str529, ei_iso8859_6}, -+#line 213 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str530, ei_mac_roman}, -+ {-1}, {-1}, {-1}, -+#line 297 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str534, ei_ksc5601}, -+ {-1}, -+#line 262 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str536, ei_iso646_jp}, -+#line 277 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str537, ei_jisx0208}, -+ {-1}, -+#line 43 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str539, ei_utf32le}, -+ {-1}, {-1}, {-1}, -+#line 250 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str543, ei_tis620}, -+ {-1}, {-1}, -+#line 245 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str546, ei_cp1133}, -+#line 307 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str547, ei_sjis}, -+#line 306 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str548, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 204 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str555, ei_cp862}, -+ {-1}, -+#line 340 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str557, ei_ces_big5}, -+ {-1}, {-1}, -+#line 300 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str560, ei_ksc5601}, -+ {-1}, -+#line 216 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str562, ei_mac_croatian}, -+#line 339 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str563, ei_ces_big5}, -+ {-1}, {-1}, -+#line 327 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str566, ei_cp936}, -+#line 39 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str567, ei_utf16be}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 169 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str574, ei_koi8_u}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 170 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str580, ei_koi8_ru}, -+ {-1}, {-1}, {-1}, -+#line 172 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str584, ei_cp1250}, -+#line 182 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str585, ei_cp1253}, -+ {-1}, {-1}, {-1}, -+#line 181 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str589, ei_cp1253}, -+ {-1}, -+#line 220 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str591, ei_mac_greek}, -+#line 200 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str592, ei_cp850}, -+ {-1}, -+#line 106 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str594, ei_iso8859_7}, -+ {-1}, -+#line 274 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str596, ei_jisx0208}, -+#line 20 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str597, ei_ascii}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 314 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str608, ei_iso2022_jp1}, -+ {-1}, -+#line 317 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str610, ei_iso2022_jpms}, -+ {-1}, {-1}, -+#line 279 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str613, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 336 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str618, ei_euc_tw}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 310 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str624, ei_sjis}, -+#line 118 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str625, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 315 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str634, ei_iso2022_jp2}, -+#line 99 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str635, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 316 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str642, ei_iso2022_jp2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 267 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str651, ei_jisx0201}, -+ {-1}, {-1}, {-1}, -+#line 254 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str655, ei_cp874}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 193 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str660, ei_cp1257}, -+#line 312 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str661, ei_iso2022_jp}, -+ {-1}, {-1}, {-1}, -+#line 105 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str665, ei_iso8859_7}, -+#line 278 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str666, ei_jisx0208}, -+ {-1}, {-1}, {-1}, -+#line 313 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str670, ei_iso2022_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 223 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str680, ei_mac_arabic}, -+ {-1}, {-1}, -+#line 271 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str683, ei_jisx0208}, -+#line 268 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str684, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 44 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str689, ei_utf7}, -+#line 42 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str690, ei_utf32be}, -+ {-1}, -+#line 345 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str692, ei_big5hkscs2001}, -+ {-1}, -+#line 281 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str694, ei_jisx0212}, -+ {-1}, {-1}, -+#line 280 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str697, ei_jisx0212}, -+ {-1}, {-1}, -+#line 346 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str700, ei_big5hkscs2004}, -+ {-1}, -+#line 221 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str702, ei_mac_turkish}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 349 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str708, ei_big5hkscs2008}, -+ {-1}, -+#line 344 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str710, ei_big5hkscs1999}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 185 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str725, ei_cp1254}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 50 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str732, ei_ucs4swapped}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 219 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str749, ei_mac_ukraine}, -+#line 48 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str750, ei_ucs2swapped}, -+ {-1}, -+#line 261 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str752, ei_tcvn}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 273 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str774, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 272 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str779, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 222 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str796, ei_mac_hebrew}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 191 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str803, ei_cp1256}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 52 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str811, ei_java}, -+ {-1}, -+#line 217 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str813, ei_mac_romania}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 309 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str827, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 194 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str837, ei_cp1257}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 305 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str866, ei_euc_jp}, -+ {-1}, {-1}, -+#line 355 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str869, ei_johab}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 270 "lib/aliases.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str921, ei_jisx0201} -+ }; -+ -+#ifdef __GNUC__ -+__inline -+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ -+__attribute__ ((__gnu_inline__)) -+#endif -+#endif -+const struct alias * -+aliases_lookup (register const char *str, register unsigned int len) -+{ -+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) -+ { -+ register int key = aliases_hash (str, len); -+ -+ if (key <= MAX_HASH_VALUE && key >= 0) -+ { -+ register int o = aliases[key].name; -+ if (o >= 0) -+ { -+ register const char *s = o + stringpool; -+ -+ if (*str == *s && !strcmp (str + 1, s + 1)) -+ return &aliases[key]; -+ } -+ } -+ } -+ return 0; -+} -diff -Naur libiconv-20130504/lib/aliases_osf1_sysosf1.h libiconv-20130504.patch/lib/aliases_osf1_sysosf1.h ---- libiconv-20130504/lib/aliases_osf1_sysosf1.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_osf1_sysosf1.h 2013-05-04 10:23:30.900103828 +0200 -@@ -0,0 +1,4 @@ -+ S(osf1_0, "DEC-KANJI", ei_dec_kanji ) -+ S(osf1_1, "DECKANJI", ei_dec_kanji ) -+ S(osf1_2, "DEC-HANYU", ei_dec_hanyu ) -+ S(osf1_3, "DECHANYU", ei_dec_hanyu ) -diff -Naur libiconv-20130504/lib/aliases_sysaix.gperf libiconv-20130504.patch/lib/aliases_sysaix.gperf ---- libiconv-20130504/lib/aliases_sysaix.gperf 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_sysaix.gperf 2013-05-04 10:23:29.355108354 +0200 -@@ -0,0 +1,369 @@ -+struct alias { int name; unsigned int encoding_index; }; -+%struct-type -+%language=ANSI-C -+%define hash-function-name aliases_hash -+%define lookup-function-name aliases_lookup -+%7bit -+%readonly-tables -+%global-table -+%define word-array-name aliases -+%pic -+%% -+US-ASCII, ei_ascii -+ASCII, ei_ascii -+ISO646-US, ei_ascii -+ISO_646.IRV:1991, ei_ascii -+ISO-IR-6, ei_ascii -+ANSI_X3.4-1968, ei_ascii -+ANSI_X3.4-1986, ei_ascii -+CP367, ei_ascii -+IBM367, ei_ascii -+US, ei_ascii -+CSASCII, ei_ascii -+UTF-8, ei_utf8 -+UCS-2, ei_ucs2 -+ISO-10646-UCS-2, ei_ucs2 -+CSUNICODE, ei_ucs2 -+UCS-2BE, ei_ucs2be -+UNICODEBIG, ei_ucs2be -+UNICODE-1-1, ei_ucs2be -+CSUNICODE11, ei_ucs2be -+UCS-2LE, ei_ucs2le -+UNICODELITTLE, ei_ucs2le -+UCS-4, ei_ucs4 -+ISO-10646-UCS-4, ei_ucs4 -+CSUCS4, ei_ucs4 -+UCS-4BE, ei_ucs4be -+UCS-4LE, ei_ucs4le -+UTF-16, ei_utf16 -+UTF-16BE, ei_utf16be -+UTF-16LE, ei_utf16le -+UTF-32, ei_utf32 -+UTF-32BE, ei_utf32be -+UTF-32LE, ei_utf32le -+UTF-7, ei_utf7 -+UNICODE-1-1-UTF-7, ei_utf7 -+CSUNICODE11UTF7, ei_utf7 -+UCS-2-INTERNAL, ei_ucs2internal -+UCS-2-SWAPPED, ei_ucs2swapped -+UCS-4-INTERNAL, ei_ucs4internal -+UCS-4-SWAPPED, ei_ucs4swapped -+C99, ei_c99 -+JAVA, ei_java -+ISO-8859-1, ei_iso8859_1 -+ISO_8859-1, ei_iso8859_1 -+ISO_8859-1:1987, ei_iso8859_1 -+ISO-IR-100, ei_iso8859_1 -+CP819, ei_iso8859_1 -+IBM819, ei_iso8859_1 -+LATIN1, ei_iso8859_1 -+L1, ei_iso8859_1 -+CSISOLATIN1, ei_iso8859_1 -+ISO8859-1, ei_iso8859_1 -+ISO-8859-2, ei_iso8859_2 -+ISO_8859-2, ei_iso8859_2 -+ISO_8859-2:1987, ei_iso8859_2 -+ISO-IR-101, ei_iso8859_2 -+LATIN2, ei_iso8859_2 -+L2, ei_iso8859_2 -+CSISOLATIN2, ei_iso8859_2 -+ISO8859-2, ei_iso8859_2 -+ISO-8859-3, ei_iso8859_3 -+ISO_8859-3, ei_iso8859_3 -+ISO_8859-3:1988, ei_iso8859_3 -+ISO-IR-109, ei_iso8859_3 -+LATIN3, ei_iso8859_3 -+L3, ei_iso8859_3 -+CSISOLATIN3, ei_iso8859_3 -+ISO8859-3, ei_iso8859_3 -+ISO-8859-4, ei_iso8859_4 -+ISO_8859-4, ei_iso8859_4 -+ISO_8859-4:1988, ei_iso8859_4 -+ISO-IR-110, ei_iso8859_4 -+LATIN4, ei_iso8859_4 -+L4, ei_iso8859_4 -+CSISOLATIN4, ei_iso8859_4 -+ISO8859-4, ei_iso8859_4 -+ISO-8859-5, ei_iso8859_5 -+ISO_8859-5, ei_iso8859_5 -+ISO_8859-5:1988, ei_iso8859_5 -+ISO-IR-144, ei_iso8859_5 -+CYRILLIC, ei_iso8859_5 -+CSISOLATINCYRILLIC, ei_iso8859_5 -+ISO8859-5, ei_iso8859_5 -+ISO-8859-6, ei_iso8859_6 -+ISO_8859-6, ei_iso8859_6 -+ISO_8859-6:1987, ei_iso8859_6 -+ISO-IR-127, ei_iso8859_6 -+ECMA-114, ei_iso8859_6 -+ASMO-708, ei_iso8859_6 -+ARABIC, ei_iso8859_6 -+CSISOLATINARABIC, ei_iso8859_6 -+ISO8859-6, ei_iso8859_6 -+ISO-8859-7, ei_iso8859_7 -+ISO_8859-7, ei_iso8859_7 -+ISO_8859-7:1987, ei_iso8859_7 -+ISO_8859-7:2003, ei_iso8859_7 -+ISO-IR-126, ei_iso8859_7 -+ECMA-118, ei_iso8859_7 -+ELOT_928, ei_iso8859_7 -+GREEK8, ei_iso8859_7 -+GREEK, ei_iso8859_7 -+CSISOLATINGREEK, ei_iso8859_7 -+ISO8859-7, ei_iso8859_7 -+ISO-8859-8, ei_iso8859_8 -+ISO_8859-8, ei_iso8859_8 -+ISO_8859-8:1988, ei_iso8859_8 -+ISO-IR-138, ei_iso8859_8 -+HEBREW, ei_iso8859_8 -+CSISOLATINHEBREW, ei_iso8859_8 -+ISO8859-8, ei_iso8859_8 -+ISO-8859-9, ei_iso8859_9 -+ISO_8859-9, ei_iso8859_9 -+ISO_8859-9:1989, ei_iso8859_9 -+ISO-IR-148, ei_iso8859_9 -+LATIN5, ei_iso8859_9 -+L5, ei_iso8859_9 -+CSISOLATIN5, ei_iso8859_9 -+ISO8859-9, ei_iso8859_9 -+ISO-8859-10, ei_iso8859_10 -+ISO_8859-10, ei_iso8859_10 -+ISO_8859-10:1992, ei_iso8859_10 -+ISO-IR-157, ei_iso8859_10 -+LATIN6, ei_iso8859_10 -+L6, ei_iso8859_10 -+CSISOLATIN6, ei_iso8859_10 -+ISO8859-10, ei_iso8859_10 -+ISO-8859-11, ei_iso8859_11 -+ISO_8859-11, ei_iso8859_11 -+ISO8859-11, ei_iso8859_11 -+ISO-8859-13, ei_iso8859_13 -+ISO_8859-13, ei_iso8859_13 -+ISO-IR-179, ei_iso8859_13 -+LATIN7, ei_iso8859_13 -+L7, ei_iso8859_13 -+ISO8859-13, ei_iso8859_13 -+IBM-921, ei_iso8859_13 -+ISO-8859-14, ei_iso8859_14 -+ISO_8859-14, ei_iso8859_14 -+ISO_8859-14:1998, ei_iso8859_14 -+ISO-IR-199, ei_iso8859_14 -+LATIN8, ei_iso8859_14 -+L8, ei_iso8859_14 -+ISO-CELTIC, ei_iso8859_14 -+ISO8859-14, ei_iso8859_14 -+ISO-8859-15, ei_iso8859_15 -+ISO_8859-15, ei_iso8859_15 -+ISO_8859-15:1998, ei_iso8859_15 -+ISO-IR-203, ei_iso8859_15 -+LATIN-9, ei_iso8859_15 -+ISO8859-15, ei_iso8859_15 -+ISO-8859-16, ei_iso8859_16 -+ISO_8859-16, ei_iso8859_16 -+ISO_8859-16:2001, ei_iso8859_16 -+ISO-IR-226, ei_iso8859_16 -+LATIN10, ei_iso8859_16 -+L10, ei_iso8859_16 -+ISO8859-16, ei_iso8859_16 -+KOI8-R, ei_koi8_r -+CSKOI8R, ei_koi8_r -+KOI8-U, ei_koi8_u -+KOI8-RU, ei_koi8_ru -+CP1250, ei_cp1250 -+WINDOWS-1250, ei_cp1250 -+MS-EE, ei_cp1250 -+CP1251, ei_cp1251 -+WINDOWS-1251, ei_cp1251 -+MS-CYRL, ei_cp1251 -+CP1252, ei_cp1252 -+WINDOWS-1252, ei_cp1252 -+MS-ANSI, ei_cp1252 -+IBM-1252, ei_cp1252 -+CP1253, ei_cp1253 -+WINDOWS-1253, ei_cp1253 -+MS-GREEK, ei_cp1253 -+CP1254, ei_cp1254 -+WINDOWS-1254, ei_cp1254 -+MS-TURK, ei_cp1254 -+CP1255, ei_cp1255 -+WINDOWS-1255, ei_cp1255 -+MS-HEBR, ei_cp1255 -+CP1256, ei_cp1256 -+WINDOWS-1256, ei_cp1256 -+MS-ARAB, ei_cp1256 -+CP1257, ei_cp1257 -+WINDOWS-1257, ei_cp1257 -+WINBALTRIM, ei_cp1257 -+CP1258, ei_cp1258 -+WINDOWS-1258, ei_cp1258 -+CP850, ei_cp850 -+IBM850, ei_cp850 -+850, ei_cp850 -+CSPC850MULTILINGUAL, ei_cp850 -+IBM-850, ei_cp850 -+CP862, ei_cp862 -+IBM862, ei_cp862 -+862, ei_cp862 -+CSPC862LATINHEBREW, ei_cp862 -+CP866, ei_cp866 -+IBM866, ei_cp866 -+866, ei_cp866 -+CSIBM866, ei_cp866 -+CP1131, ei_cp1131 -+IBM-1131, ei_cp1131 -+MACROMAN, ei_mac_roman -+MACINTOSH, ei_mac_roman -+MAC, ei_mac_roman -+CSMACINTOSH, ei_mac_roman -+MACCENTRALEUROPE, ei_mac_centraleurope -+MACICELAND, ei_mac_iceland -+MACCROATIAN, ei_mac_croatian -+MACROMANIA, ei_mac_romania -+MACCYRILLIC, ei_mac_cyrillic -+MACUKRAINE, ei_mac_ukraine -+MACGREEK, ei_mac_greek -+MACTURKISH, ei_mac_turkish -+MACHEBREW, ei_mac_hebrew -+MACARABIC, ei_mac_arabic -+MACTHAI, ei_mac_thai -+HP-ROMAN8, ei_hp_roman8 -+ROMAN8, ei_hp_roman8 -+R8, ei_hp_roman8 -+CSHPROMAN8, ei_hp_roman8 -+NEXTSTEP, ei_nextstep -+ARMSCII-8, ei_armscii_8 -+GEORGIAN-ACADEMY, ei_georgian_academy -+GEORGIAN-PS, ei_georgian_ps -+KOI8-T, ei_koi8_t -+PT154, ei_pt154 -+PTCP154, ei_pt154 -+CP154, ei_pt154 -+CYRILLIC-ASIAN, ei_pt154 -+CSPTCP154, ei_pt154 -+RK1048, ei_rk1048 -+STRK1048-2002, ei_rk1048 -+KZ-1048, ei_rk1048 -+CSKZ1048, ei_rk1048 -+MULELAO-1, ei_mulelao -+CP1133, ei_cp1133 -+IBM-CP1133, ei_cp1133 -+TIS-620, ei_tis620 -+TIS620, ei_tis620 -+TIS620-0, ei_tis620 -+TIS620.2529-1, ei_tis620 -+TIS620.2533-0, ei_tis620 -+TIS620.2533-1, ei_tis620 -+ISO-IR-166, ei_tis620 -+CP874, ei_cp874 -+WINDOWS-874, ei_cp874 -+VISCII, ei_viscii -+VISCII1.1-1, ei_viscii -+CSVISCII, ei_viscii -+TCVN, ei_tcvn -+TCVN-5712, ei_tcvn -+TCVN5712-1, ei_tcvn -+TCVN5712-1:1993, ei_tcvn -+JIS_C6220-1969-RO, ei_iso646_jp -+ISO646-JP, ei_iso646_jp -+ISO-IR-14, ei_iso646_jp -+JP, ei_iso646_jp -+CSISO14JISC6220RO, ei_iso646_jp -+JIS_X0201, ei_jisx0201 -+JISX0201-1976, ei_jisx0201 -+X0201, ei_jisx0201 -+CSHALFWIDTHKATAKANA, ei_jisx0201 -+JIS_X0208, ei_jisx0208 -+JIS_X0208-1983, ei_jisx0208 -+JIS_X0208-1990, ei_jisx0208 -+JIS0208, ei_jisx0208 -+X0208, ei_jisx0208 -+ISO-IR-87, ei_jisx0208 -+JIS_C6226-1983, ei_jisx0208 -+CSISO87JISX0208, ei_jisx0208 -+JIS_X0212, ei_jisx0212 -+JIS_X0212.1990-0, ei_jisx0212 -+JIS_X0212-1990, ei_jisx0212 -+X0212, ei_jisx0212 -+ISO-IR-159, ei_jisx0212 -+CSISO159JISX02121990, ei_jisx0212 -+GB_1988-80, ei_iso646_cn -+ISO646-CN, ei_iso646_cn -+ISO-IR-57, ei_iso646_cn -+CN, ei_iso646_cn -+CSISO57GB1988, ei_iso646_cn -+GB_2312-80, ei_gb2312 -+ISO-IR-58, ei_gb2312 -+CSISO58GB231280, ei_gb2312 -+CHINESE, ei_gb2312 -+ISO-IR-165, ei_isoir165 -+CN-GB-ISOIR165, ei_isoir165 -+KSC_5601, ei_ksc5601 -+KS_C_5601-1987, ei_ksc5601 -+KS_C_5601-1989, ei_ksc5601 -+ISO-IR-149, ei_ksc5601 -+CSKSC56011987, ei_ksc5601 -+KOREAN, ei_ksc5601 -+EUC-JP, ei_euc_jp -+EUCJP, ei_euc_jp -+EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE, ei_euc_jp -+CSEUCPKDFMTJAPANESE, ei_euc_jp -+IBM-EUCJP, ei_euc_jp -+SHIFT_JIS, ei_sjis -+SHIFT-JIS, ei_sjis -+SJIS, ei_sjis -+MS_KANJI, ei_sjis -+CSSHIFTJIS, ei_sjis -+CP932, ei_cp932 -+IBM-932, ei_cp932 -+ISO-2022-JP, ei_iso2022_jp -+CSISO2022JP, ei_iso2022_jp -+ISO-2022-JP-1, ei_iso2022_jp1 -+ISO-2022-JP-2, ei_iso2022_jp2 -+CSISO2022JP2, ei_iso2022_jp2 -+ISO-2022-JP-MS, ei_iso2022_jpms -+CP50221, ei_iso2022_jpms -+EUC-CN, ei_euc_cn -+EUCCN, ei_euc_cn -+GB2312, ei_euc_cn -+CN-GB, ei_euc_cn -+CSGB2312, ei_euc_cn -+IBM-EUCCN, ei_euc_cn -+GBK, ei_ces_gbk -+CP936, ei_cp936 -+MS936, ei_cp936 -+WINDOWS-936, ei_cp936 -+GB18030, ei_gb18030 -+ISO-2022-CN, ei_iso2022_cn -+CSISO2022CN, ei_iso2022_cn -+ISO-2022-CN-EXT, ei_iso2022_cn_ext -+HZ, ei_hz -+HZ-GB-2312, ei_hz -+EUC-TW, ei_euc_tw -+EUCTW, ei_euc_tw -+CSEUCTW, ei_euc_tw -+IBM-EUCTW, ei_euc_tw -+BIG5, ei_ces_big5 -+BIG-5, ei_ces_big5 -+BIG-FIVE, ei_ces_big5 -+BIGFIVE, ei_ces_big5 -+CN-BIG5, ei_ces_big5 -+CSBIG5, ei_ces_big5 -+CP950, ei_cp950 -+BIG5-HKSCS:1999, ei_big5hkscs1999 -+BIG5-HKSCS:2001, ei_big5hkscs2001 -+BIG5-HKSCS:2004, ei_big5hkscs2004 -+BIG5-HKSCS, ei_big5hkscs2008 -+BIG5HKSCS, ei_big5hkscs2008 -+BIG5-HKSCS:2008, ei_big5hkscs2008 -+EUC-KR, ei_euc_kr -+EUCKR, ei_euc_kr -+CSEUCKR, ei_euc_kr -+IBM-EUCKR, ei_euc_kr -+CP949, ei_cp949 -+UHC, ei_cp949 -+JOHAB, ei_johab -+CP1361, ei_johab -+ISO-2022-KR, ei_iso2022_kr -+CSISO2022KR, ei_iso2022_kr -+CHAR, ei_local_char -+WCHAR_T, ei_local_wchar_t -diff -Naur libiconv-20130504/lib/aliases_sysaix.h libiconv-20130504.patch/lib/aliases_sysaix.h ---- libiconv-20130504/lib/aliases_sysaix.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_sysaix.h 2013-05-04 10:23:29.516107882 +0200 -@@ -0,0 +1,1775 @@ -+/* ANSI-C code produced by gperf version 3.0.4 */ -+/* Command-line: gperf -m 10 lib/aliases_sysaix.gperf */ -+/* Computed positions: -k'1,3-11,$' */ -+ -+#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ -+ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ -+ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ -+ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ -+ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ -+ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ -+ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ -+ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ -+ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ -+ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ -+ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ -+ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ -+ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ -+ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ -+ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ -+ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ -+ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ -+ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ -+ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ -+ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ -+ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ -+ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ -+ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) -+/* The character set is not based on ISO-646. */ -+#error "gperf generated tables don't work with this execution character set. Please report a bug to ." -+#endif -+ -+#line 1 "lib/aliases_sysaix.gperf" -+struct alias { int name; unsigned int encoding_index; }; -+ -+#define TOTAL_KEYWORDS 358 -+#define MIN_WORD_LENGTH 2 -+#define MAX_WORD_LENGTH 45 -+#define MIN_HASH_VALUE 5 -+#define MAX_HASH_VALUE 1039 -+/* maximum key range = 1035, duplicates = 0 */ -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static unsigned int -+aliases_hash (register const char *str, register unsigned int len) -+{ -+ static const unsigned short asso_values[] = -+ { -+ 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, -+ 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, -+ 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, -+ 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, -+ 1040, 1040, 1040, 1040, 1040, 0, 174, 1040, 44, 2, -+ 16, 28, 9, 13, 5, 188, 20, 0, 170, 1040, -+ 1040, 1040, 1040, 1040, 1040, 9, 191, 2, 19, 65, -+ 140, 65, 42, 88, 376, 199, 6, 206, 3, 0, -+ 52, 1040, 0, 11, 118, 97, 59, 189, 220, 13, -+ 4, 1040, 1040, 1040, 1040, 1, 1040, 1040, 1040, 1040, -+ 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, -+ 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040, -+ 1040, 1040, 1040, 1040, 1040, 1040, 1040, 1040 -+ }; -+ register int hval = len; -+ -+ switch (hval) -+ { -+ default: -+ hval += asso_values[(unsigned char)str[10]]; -+ /*FALLTHROUGH*/ -+ case 10: -+ hval += asso_values[(unsigned char)str[9]]; -+ /*FALLTHROUGH*/ -+ case 9: -+ hval += asso_values[(unsigned char)str[8]]; -+ /*FALLTHROUGH*/ -+ case 8: -+ hval += asso_values[(unsigned char)str[7]]; -+ /*FALLTHROUGH*/ -+ case 7: -+ hval += asso_values[(unsigned char)str[6]]; -+ /*FALLTHROUGH*/ -+ case 6: -+ hval += asso_values[(unsigned char)str[5]]; -+ /*FALLTHROUGH*/ -+ case 5: -+ hval += asso_values[(unsigned char)str[4]]; -+ /*FALLTHROUGH*/ -+ case 4: -+ hval += asso_values[(unsigned char)str[3]]; -+ /*FALLTHROUGH*/ -+ case 3: -+ hval += asso_values[(unsigned char)str[2]]; -+ /*FALLTHROUGH*/ -+ case 2: -+ case 1: -+ hval += asso_values[(unsigned char)str[0]]; -+ break; -+ } -+ return hval + asso_values[(unsigned char)str[len - 1]]; -+} -+ -+struct stringpool_t -+ { -+ char stringpool_str5[sizeof("C99")]; -+ char stringpool_str7[sizeof("CN")]; -+ char stringpool_str10[sizeof("L1")]; -+ char stringpool_str13[sizeof("L6")]; -+ char stringpool_str15[sizeof("CHAR")]; -+ char stringpool_str16[sizeof("CP949")]; -+ char stringpool_str17[sizeof("L4")]; -+ char stringpool_str21[sizeof("L5")]; -+ char stringpool_str22[sizeof("R8")]; -+ char stringpool_str24[sizeof("L2")]; -+ char stringpool_str28[sizeof("L8")]; -+ char stringpool_str29[sizeof("CP819")]; -+ char stringpool_str33[sizeof("866")]; -+ char stringpool_str36[sizeof("L3")]; -+ char stringpool_str40[sizeof("CP154")]; -+ char stringpool_str42[sizeof("CP866")]; -+ char stringpool_str43[sizeof("CP1251")]; -+ char stringpool_str44[sizeof("CP1131")]; -+ char stringpool_str45[sizeof("CP936")]; -+ char stringpool_str47[sizeof("CP1361")]; -+ char stringpool_str48[sizeof("HZ")]; -+ char stringpool_str49[sizeof("CP1256")]; -+ char stringpool_str55[sizeof("862")]; -+ char stringpool_str57[sizeof("CP1254")]; -+ char stringpool_str64[sizeof("CP862")]; -+ char stringpool_str65[sizeof("CP1255")]; -+ char stringpool_str67[sizeof("CP932")]; -+ char stringpool_str71[sizeof("CP1252")]; -+ char stringpool_str79[sizeof("CP1258")]; -+ char stringpool_str80[sizeof("EUCCN")]; -+ char stringpool_str81[sizeof("EUC-CN")]; -+ char stringpool_str90[sizeof("PT154")]; -+ char stringpool_str95[sizeof("CP1253")]; -+ char stringpool_str96[sizeof("CP1133")]; -+ char stringpool_str97[sizeof("L10")]; -+ char stringpool_str101[sizeof("RK1048")]; -+ char stringpool_str102[sizeof("CP50221")]; -+ char stringpool_str104[sizeof("UHC")]; -+ char stringpool_str108[sizeof("CP950")]; -+ char stringpool_str110[sizeof("US")]; -+ char stringpool_str111[sizeof("850")]; -+ char stringpool_str124[sizeof("ISO646-CN")]; -+ char stringpool_str125[sizeof("SJIS")]; -+ char stringpool_str127[sizeof("CP1250")]; -+ char stringpool_str128[sizeof("CP850")]; -+ char stringpool_str131[sizeof("UCS-4")]; -+ char stringpool_str136[sizeof("CSUCS4")]; -+ char stringpool_str145[sizeof("UCS-2")]; -+ char stringpool_str146[sizeof("PTCP154")]; -+ char stringpool_str149[sizeof("GB2312")]; -+ char stringpool_str150[sizeof("ISO8859-9")]; -+ char stringpool_str151[sizeof("ISO-8859-9")]; -+ char stringpool_str152[sizeof("ISO_8859-9")]; -+ char stringpool_str154[sizeof("ISO8859-1")]; -+ char stringpool_str155[sizeof("ISO-8859-1")]; -+ char stringpool_str156[sizeof("ISO_8859-1")]; -+ char stringpool_str157[sizeof("ISO8859-11")]; -+ char stringpool_str158[sizeof("ISO-8859-11")]; -+ char stringpool_str159[sizeof("ISO_8859-11")]; -+ char stringpool_str160[sizeof("ISO8859-6")]; -+ char stringpool_str161[sizeof("ISO-8859-6")]; -+ char stringpool_str162[sizeof("ISO_8859-6")]; -+ char stringpool_str163[sizeof("ISO8859-16")]; -+ char stringpool_str164[sizeof("ISO-8859-16")]; -+ char stringpool_str165[sizeof("ISO_8859-16")]; -+ char stringpool_str167[sizeof("ISO_8859-16:2001")]; -+ char stringpool_str168[sizeof("ISO8859-4")]; -+ char stringpool_str169[sizeof("ISO-8859-4")]; -+ char stringpool_str170[sizeof("ISO_8859-4")]; -+ char stringpool_str171[sizeof("ISO8859-14")]; -+ char stringpool_str172[sizeof("ISO-8859-14")]; -+ char stringpool_str173[sizeof("ISO_8859-14")]; -+ char stringpool_str176[sizeof("ISO8859-5")]; -+ char stringpool_str177[sizeof("ISO-8859-5")]; -+ char stringpool_str178[sizeof("ISO_8859-5")]; -+ char stringpool_str179[sizeof("ISO8859-15")]; -+ char stringpool_str180[sizeof("ISO-8859-15")]; -+ char stringpool_str181[sizeof("ISO_8859-15")]; -+ char stringpool_str182[sizeof("ISO8859-2")]; -+ char stringpool_str183[sizeof("ISO-8859-2")]; -+ char stringpool_str184[sizeof("ISO_8859-2")]; -+ char stringpool_str187[sizeof("TCVN")]; -+ char stringpool_str188[sizeof("ISO-IR-199")]; -+ char stringpool_str189[sizeof("ISO_8859-14:1998")]; -+ char stringpool_str190[sizeof("ISO8859-8")]; -+ char stringpool_str191[sizeof("ISO-8859-8")]; -+ char stringpool_str192[sizeof("ISO_8859-8")]; -+ char stringpool_str193[sizeof("ISO_8859-15:1998")]; -+ char stringpool_str194[sizeof("ISO-IR-6")]; -+ char stringpool_str196[sizeof("L7")]; -+ char stringpool_str197[sizeof("ISO-IR-149")]; -+ char stringpool_str199[sizeof("ISO-2022-CN")]; -+ char stringpool_str201[sizeof("ISO-IR-159")]; -+ char stringpool_str202[sizeof("CYRILLIC")]; -+ char stringpool_str203[sizeof("ISO-IR-166")]; -+ char stringpool_str205[sizeof("ISO-IR-14")]; -+ char stringpool_str206[sizeof("ISO8859-3")]; -+ char stringpool_str207[sizeof("ISO-8859-3")]; -+ char stringpool_str208[sizeof("ISO_8859-3")]; -+ char stringpool_str209[sizeof("ISO8859-13")]; -+ char stringpool_str210[sizeof("ISO-8859-13")]; -+ char stringpool_str211[sizeof("ISO_8859-13")]; -+ char stringpool_str212[sizeof("CSISO2022CN")]; -+ char stringpool_str213[sizeof("MAC")]; -+ char stringpool_str214[sizeof("ISO-IR-126")]; -+ char stringpool_str215[sizeof("ISO-IR-144")]; -+ char stringpool_str219[sizeof("ISO-IR-165")]; -+ char stringpool_str220[sizeof("ISO_8859-10:1992")]; -+ char stringpool_str222[sizeof("LATIN-9")]; -+ char stringpool_str225[sizeof("LATIN1")]; -+ char stringpool_str226[sizeof("GB_1988-80")]; -+ char stringpool_str228[sizeof("ISO-IR-226")]; -+ char stringpool_str229[sizeof("CYRILLIC-ASIAN")]; -+ char stringpool_str231[sizeof("LATIN6")]; -+ char stringpool_str232[sizeof("ISO-IR-109")]; -+ char stringpool_str233[sizeof("CP874")]; -+ char stringpool_str235[sizeof("ISO646-US")]; -+ char stringpool_str236[sizeof("ISO-IR-101")]; -+ char stringpool_str237[sizeof("ISO-IR-148")]; -+ char stringpool_str238[sizeof("ISO-IR-58")]; -+ char stringpool_str239[sizeof("LATIN4")]; -+ char stringpool_str240[sizeof("MS-CYRL")]; -+ char stringpool_str241[sizeof("ISO8859-10")]; -+ char stringpool_str242[sizeof("ISO-8859-10")]; -+ char stringpool_str243[sizeof("ISO_8859-10")]; -+ char stringpool_str244[sizeof("TIS620")]; -+ char stringpool_str245[sizeof("TIS-620")]; -+ char stringpool_str246[sizeof("GB_2312-80")]; -+ char stringpool_str247[sizeof("LATIN5")]; -+ char stringpool_str248[sizeof("ELOT_928")]; -+ char stringpool_str249[sizeof("MS936")]; -+ char stringpool_str253[sizeof("LATIN2")]; -+ char stringpool_str254[sizeof("GB18030")]; -+ char stringpool_str255[sizeof("UTF-16")]; -+ char stringpool_str256[sizeof("ISO-IR-138")]; -+ char stringpool_str260[sizeof("UCS-4LE")]; -+ char stringpool_str261[sizeof("LATIN8")]; -+ char stringpool_str264[sizeof("ROMAN8")]; -+ char stringpool_str267[sizeof("UCS-2LE")]; -+ char stringpool_str268[sizeof("CSPTCP154")]; -+ char stringpool_str270[sizeof("GEORGIAN-ACADEMY")]; -+ char stringpool_str271[sizeof("EUCKR")]; -+ char stringpool_str272[sizeof("EUC-KR")]; -+ char stringpool_str274[sizeof("ISO-10646-UCS-4")]; -+ char stringpool_str275[sizeof("X0212")]; -+ char stringpool_str276[sizeof("KSC_5601")]; -+ char stringpool_str277[sizeof("LATIN3")]; -+ char stringpool_str278[sizeof("ISO-IR-110")]; -+ char stringpool_str280[sizeof("ASCII")]; -+ char stringpool_str281[sizeof("ISO-10646-UCS-2")]; -+ char stringpool_str282[sizeof("UTF-8")]; -+ char stringpool_str283[sizeof("KS_C_5601-1989")]; -+ char stringpool_str285[sizeof("KOREAN")]; -+ char stringpool_str286[sizeof("BIG5")]; -+ char stringpool_str287[sizeof("BIG-5")]; -+ char stringpool_str288[sizeof("UNICODE-1-1")]; -+ char stringpool_str289[sizeof("X0201")]; -+ char stringpool_str290[sizeof("TIS620-0")]; -+ char stringpool_str293[sizeof("CSUNICODE11")]; -+ char stringpool_str295[sizeof("CSASCII")]; -+ char stringpool_str301[sizeof("KZ-1048")]; -+ char stringpool_str302[sizeof("ISO-IR-203")]; -+ char stringpool_str303[sizeof("UTF-32")]; -+ char stringpool_str305[sizeof("MULELAO-1")]; -+ char stringpool_str306[sizeof("CHINESE")]; -+ char stringpool_str307[sizeof("ARABIC")]; -+ char stringpool_str308[sizeof("CSKZ1048")]; -+ char stringpool_str309[sizeof("HP-ROMAN8")]; -+ char stringpool_str310[sizeof("ECMA-114")]; -+ char stringpool_str312[sizeof("LATIN10")]; -+ char stringpool_str313[sizeof("KOI8-R")]; -+ char stringpool_str315[sizeof("GEORGIAN-PS")]; -+ char stringpool_str316[sizeof("CSKOI8R")]; -+ char stringpool_str318[sizeof("ISO-2022-CN-EXT")]; -+ char stringpool_str320[sizeof("ISO-IR-100")]; -+ char stringpool_str321[sizeof("IBM-921")]; -+ char stringpool_str322[sizeof("IBM819")]; -+ char stringpool_str325[sizeof("X0208")]; -+ char stringpool_str327[sizeof("ISO_8859-9:1989")]; -+ char stringpool_str332[sizeof("ECMA-118")]; -+ char stringpool_str335[sizeof("IBM866")]; -+ char stringpool_str338[sizeof("IBM-1131")]; -+ char stringpool_str340[sizeof("CSISOLATIN1")]; -+ char stringpool_str342[sizeof("VISCII")]; -+ char stringpool_str344[sizeof("CSGB2312")]; -+ char stringpool_str346[sizeof("CSISOLATIN6")]; -+ char stringpool_str347[sizeof("CSISOLATINCYRILLIC")]; -+ char stringpool_str350[sizeof("CSUNICODE")]; -+ char stringpool_str352[sizeof("CSISOLATINARABIC")]; -+ char stringpool_str354[sizeof("CSISOLATIN4")]; -+ char stringpool_str356[sizeof("ISO_8859-4:1988")]; -+ char stringpool_str357[sizeof("IBM862")]; -+ char stringpool_str360[sizeof("ISO_8859-5:1988")]; -+ char stringpool_str361[sizeof("IBM-932")]; -+ char stringpool_str362[sizeof("CSISOLATIN5")]; -+ char stringpool_str364[sizeof("CSHPROMAN8")]; -+ char stringpool_str365[sizeof("IBM-1252")]; -+ char stringpool_str367[sizeof("ISO_8859-8:1988")]; -+ char stringpool_str368[sizeof("CSISOLATIN2")]; -+ char stringpool_str372[sizeof("CSEUCKR")]; -+ char stringpool_str374[sizeof("STRK1048-2002")]; -+ char stringpool_str375[sizeof("ISO_8859-3:1988")]; -+ char stringpool_str376[sizeof("ISO-IR-179")]; -+ char stringpool_str378[sizeof("CSBIG5")]; -+ char stringpool_str379[sizeof("CN-BIG5")]; -+ char stringpool_str381[sizeof("ISO-CELTIC")]; -+ char stringpool_str386[sizeof("HZ-GB-2312")]; -+ char stringpool_str388[sizeof("UTF-16LE")]; -+ char stringpool_str390[sizeof("ISO-2022-KR")]; -+ char stringpool_str391[sizeof("US-ASCII")]; -+ char stringpool_str392[sizeof("CSISOLATIN3")]; -+ char stringpool_str403[sizeof("CSISO2022KR")]; -+ char stringpool_str406[sizeof("MS-EE")]; -+ char stringpool_str411[sizeof("UCS-4-INTERNAL")]; -+ char stringpool_str412[sizeof("MS-ANSI")]; -+ char stringpool_str413[sizeof("TCVN5712-1")]; -+ char stringpool_str415[sizeof("CP1257")]; -+ char stringpool_str416[sizeof("CP367")]; -+ char stringpool_str418[sizeof("UCS-2-INTERNAL")]; -+ char stringpool_str421[sizeof("IBM850")]; -+ char stringpool_str422[sizeof("IBM-850")]; -+ char stringpool_str424[sizeof("TCVN-5712")]; -+ char stringpool_str425[sizeof("UTF-32LE")]; -+ char stringpool_str426[sizeof("MACCYRILLIC")]; -+ char stringpool_str428[sizeof("TIS620.2529-1")]; -+ char stringpool_str429[sizeof("MACICELAND")]; -+ char stringpool_str430[sizeof("JP")]; -+ char stringpool_str434[sizeof("CSVISCII")]; -+ char stringpool_str437[sizeof("MACROMAN")]; -+ char stringpool_str440[sizeof("GREEK8")]; -+ char stringpool_str441[sizeof("VISCII1.1-1")]; -+ char stringpool_str445[sizeof("UCS-4BE")]; -+ char stringpool_str446[sizeof("IBM-CP1133")]; -+ char stringpool_str447[sizeof("ISO_646.IRV:1991")]; -+ char stringpool_str451[sizeof("MACCROATIAN")]; -+ char stringpool_str452[sizeof("UCS-2BE")]; -+ char stringpool_str453[sizeof("ARMSCII-8")]; -+ char stringpool_str454[sizeof("CN-GB")]; -+ char stringpool_str456[sizeof("WINDOWS-1251")]; -+ char stringpool_str457[sizeof("JAVA")]; -+ char stringpool_str459[sizeof("WINDOWS-1256")]; -+ char stringpool_str460[sizeof("WINDOWS-936")]; -+ char stringpool_str462[sizeof("UCS-4-SWAPPED")]; -+ char stringpool_str463[sizeof("WINDOWS-1254")]; -+ char stringpool_str466[sizeof("GBK")]; -+ char stringpool_str467[sizeof("WINDOWS-1255")]; -+ char stringpool_str468[sizeof("TIS620.2533-1")]; -+ char stringpool_str469[sizeof("UCS-2-SWAPPED")]; -+ char stringpool_str470[sizeof("WINDOWS-1252")]; -+ char stringpool_str471[sizeof("KS_C_5601-1987")]; -+ char stringpool_str472[sizeof("CN-GB-ISOIR165")]; -+ char stringpool_str474[sizeof("WINDOWS-1258")]; -+ char stringpool_str475[sizeof("IBM-EUCCN")]; -+ char stringpool_str476[sizeof("JIS_C6226-1983")]; -+ char stringpool_str480[sizeof("UNICODE-1-1-UTF-7")]; -+ char stringpool_str481[sizeof("CSKSC56011987")]; -+ char stringpool_str482[sizeof("WINDOWS-1253")]; -+ char stringpool_str483[sizeof("CSUNICODE11UTF7")]; -+ char stringpool_str484[sizeof("WCHAR_T")]; -+ char stringpool_str490[sizeof("JIS_C6220-1969-RO")]; -+ char stringpool_str493[sizeof("CSISO58GB231280")]; -+ char stringpool_str495[sizeof("ASMO-708")]; -+ char stringpool_str498[sizeof("WINDOWS-1250")]; -+ char stringpool_str507[sizeof("KOI8-U")]; -+ char stringpool_str508[sizeof("KOI8-RU")]; -+ char stringpool_str510[sizeof("TIS620.2533-0")]; -+ char stringpool_str511[sizeof("MS-HEBR")]; -+ char stringpool_str517[sizeof("ISO_8859-1:1987")]; -+ char stringpool_str518[sizeof("MACARABIC")]; -+ char stringpool_str520[sizeof("ISO_8859-6:1987")]; -+ char stringpool_str521[sizeof("MACINTOSH")]; -+ char stringpool_str525[sizeof("CSPC862LATINHEBREW")]; -+ char stringpool_str526[sizeof("ISO8859-7")]; -+ char stringpool_str527[sizeof("ISO-8859-7")]; -+ char stringpool_str528[sizeof("ISO_8859-7")]; -+ char stringpool_str530[sizeof("CSIBM866")]; -+ char stringpool_str531[sizeof("ISO_8859-2:1987")]; -+ char stringpool_str534[sizeof("CSMACINTOSH")]; -+ char stringpool_str538[sizeof("JIS0208")]; -+ char stringpool_str542[sizeof("MACROMANIA")]; -+ char stringpool_str543[sizeof("ISO_8859-7:2003")]; -+ char stringpool_str549[sizeof("KOI8-T")]; -+ char stringpool_str552[sizeof("EUCJP")]; -+ char stringpool_str553[sizeof("EUC-JP")]; -+ char stringpool_str554[sizeof("BIG5HKSCS")]; -+ char stringpool_str555[sizeof("BIG5-HKSCS")]; -+ char stringpool_str557[sizeof("MACCENTRALEUROPE")]; -+ char stringpool_str560[sizeof("MACTHAI")]; -+ char stringpool_str561[sizeof("ANSI_X3.4-1986")]; -+ char stringpool_str565[sizeof("EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE")]; -+ char stringpool_str568[sizeof("EUCTW")]; -+ char stringpool_str569[sizeof("EUC-TW")]; -+ char stringpool_str572[sizeof("CSISOLATINHEBREW")]; -+ char stringpool_str573[sizeof("UTF-16BE")]; -+ char stringpool_str574[sizeof("ISO-IR-57")]; -+ char stringpool_str576[sizeof("ANSI_X3.4-1968")]; -+ char stringpool_str577[sizeof("ISO-IR-157")]; -+ char stringpool_str580[sizeof("ISO-IR-127")]; -+ char stringpool_str581[sizeof("ISO-IR-87")]; -+ char stringpool_str585[sizeof("CSPC850MULTILINGUAL")]; -+ char stringpool_str593[sizeof("CSISO57GB1988")]; -+ char stringpool_str596[sizeof("ISO646-JP")]; -+ char stringpool_str597[sizeof("LATIN7")]; -+ char stringpool_str598[sizeof("GREEK")]; -+ char stringpool_str604[sizeof("CSISOLATINGREEK")]; -+ char stringpool_str606[sizeof("CSISO14JISC6220RO")]; -+ char stringpool_str610[sizeof("UTF-32BE")]; -+ char stringpool_str613[sizeof("MS-ARAB")]; -+ char stringpool_str614[sizeof("TCVN5712-1:1993")]; -+ char stringpool_str618[sizeof("UTF-7")]; -+ char stringpool_str623[sizeof("ISO-2022-JP-1")]; -+ char stringpool_str633[sizeof("ISO-2022-JP-MS")]; -+ char stringpool_str637[sizeof("ISO-2022-JP-2")]; -+ char stringpool_str642[sizeof("WINDOWS-1257")]; -+ char stringpool_str647[sizeof("NEXTSTEP")]; -+ char stringpool_str648[sizeof("WINDOWS-874")]; -+ char stringpool_str649[sizeof("CSISO2022JP2")]; -+ char stringpool_str655[sizeof("CSISO159JISX02121990")]; -+ char stringpool_str666[sizeof("IBM-EUCKR")]; -+ char stringpool_str669[sizeof("CSEUCTW")]; -+ char stringpool_str671[sizeof("ISO-2022-JP")]; -+ char stringpool_str679[sizeof("UNICODELITTLE")]; -+ char stringpool_str680[sizeof("BIGFIVE")]; -+ char stringpool_str681[sizeof("BIG-FIVE")]; -+ char stringpool_str682[sizeof("HEBREW")]; -+ char stringpool_str683[sizeof("CSHALFWIDTHKATAKANA")]; -+ char stringpool_str684[sizeof("CSISO2022JP")]; -+ char stringpool_str690[sizeof("UNICODEBIG")]; -+ char stringpool_str703[sizeof("ISO_8859-7:1987")]; -+ char stringpool_str709[sizeof("IBM367")]; -+ char stringpool_str711[sizeof("JIS_X0212")]; -+ char stringpool_str719[sizeof("BIG5-HKSCS:1999")]; -+ char stringpool_str721[sizeof("BIG5-HKSCS:2001")]; -+ char stringpool_str725[sizeof("JIS_X0201")]; -+ char stringpool_str728[sizeof("BIG5-HKSCS:2004")]; -+ char stringpool_str733[sizeof("JISX0201-1976")]; -+ char stringpool_str739[sizeof("BIG5-HKSCS:2008")]; -+ char stringpool_str744[sizeof("MACUKRAINE")]; -+ char stringpool_str746[sizeof("JIS_X0212-1990")]; -+ char stringpool_str761[sizeof("JIS_X0208")]; -+ char stringpool_str776[sizeof("JIS_X0208-1983")]; -+ char stringpool_str792[sizeof("JIS_X0208-1990")]; -+ char stringpool_str807[sizeof("MS-GREEK")]; -+ char stringpool_str809[sizeof("MACGREEK")]; -+ char stringpool_str814[sizeof("JOHAB")]; -+ char stringpool_str815[sizeof("MACTURKISH")]; -+ char stringpool_str826[sizeof("MS-TURK")]; -+ char stringpool_str852[sizeof("SHIFT-JIS")]; -+ char stringpool_str853[sizeof("SHIFT_JIS")]; -+ char stringpool_str897[sizeof("CSSHIFTJIS")]; -+ char stringpool_str922[sizeof("JIS_X0212.1990-0")]; -+ char stringpool_str947[sizeof("IBM-EUCJP")]; -+ char stringpool_str958[sizeof("MACHEBREW")]; -+ char stringpool_str963[sizeof("IBM-EUCTW")]; -+ char stringpool_str978[sizeof("MS_KANJI")]; -+ char stringpool_str984[sizeof("CSEUCPKDFMTJAPANESE")]; -+ char stringpool_str1026[sizeof("WINBALTRIM")]; -+ char stringpool_str1039[sizeof("CSISO87JISX0208")]; -+ }; -+static const struct stringpool_t stringpool_contents = -+ { -+ "C99", -+ "CN", -+ "L1", -+ "L6", -+ "CHAR", -+ "CP949", -+ "L4", -+ "L5", -+ "R8", -+ "L2", -+ "L8", -+ "CP819", -+ "866", -+ "L3", -+ "CP154", -+ "CP866", -+ "CP1251", -+ "CP1131", -+ "CP936", -+ "CP1361", -+ "HZ", -+ "CP1256", -+ "862", -+ "CP1254", -+ "CP862", -+ "CP1255", -+ "CP932", -+ "CP1252", -+ "CP1258", -+ "EUCCN", -+ "EUC-CN", -+ "PT154", -+ "CP1253", -+ "CP1133", -+ "L10", -+ "RK1048", -+ "CP50221", -+ "UHC", -+ "CP950", -+ "US", -+ "850", -+ "ISO646-CN", -+ "SJIS", -+ "CP1250", -+ "CP850", -+ "UCS-4", -+ "CSUCS4", -+ "UCS-2", -+ "PTCP154", -+ "GB2312", -+ "ISO8859-9", -+ "ISO-8859-9", -+ "ISO_8859-9", -+ "ISO8859-1", -+ "ISO-8859-1", -+ "ISO_8859-1", -+ "ISO8859-11", -+ "ISO-8859-11", -+ "ISO_8859-11", -+ "ISO8859-6", -+ "ISO-8859-6", -+ "ISO_8859-6", -+ "ISO8859-16", -+ "ISO-8859-16", -+ "ISO_8859-16", -+ "ISO_8859-16:2001", -+ "ISO8859-4", -+ "ISO-8859-4", -+ "ISO_8859-4", -+ "ISO8859-14", -+ "ISO-8859-14", -+ "ISO_8859-14", -+ "ISO8859-5", -+ "ISO-8859-5", -+ "ISO_8859-5", -+ "ISO8859-15", -+ "ISO-8859-15", -+ "ISO_8859-15", -+ "ISO8859-2", -+ "ISO-8859-2", -+ "ISO_8859-2", -+ "TCVN", -+ "ISO-IR-199", -+ "ISO_8859-14:1998", -+ "ISO8859-8", -+ "ISO-8859-8", -+ "ISO_8859-8", -+ "ISO_8859-15:1998", -+ "ISO-IR-6", -+ "L7", -+ "ISO-IR-149", -+ "ISO-2022-CN", -+ "ISO-IR-159", -+ "CYRILLIC", -+ "ISO-IR-166", -+ "ISO-IR-14", -+ "ISO8859-3", -+ "ISO-8859-3", -+ "ISO_8859-3", -+ "ISO8859-13", -+ "ISO-8859-13", -+ "ISO_8859-13", -+ "CSISO2022CN", -+ "MAC", -+ "ISO-IR-126", -+ "ISO-IR-144", -+ "ISO-IR-165", -+ "ISO_8859-10:1992", -+ "LATIN-9", -+ "LATIN1", -+ "GB_1988-80", -+ "ISO-IR-226", -+ "CYRILLIC-ASIAN", -+ "LATIN6", -+ "ISO-IR-109", -+ "CP874", -+ "ISO646-US", -+ "ISO-IR-101", -+ "ISO-IR-148", -+ "ISO-IR-58", -+ "LATIN4", -+ "MS-CYRL", -+ "ISO8859-10", -+ "ISO-8859-10", -+ "ISO_8859-10", -+ "TIS620", -+ "TIS-620", -+ "GB_2312-80", -+ "LATIN5", -+ "ELOT_928", -+ "MS936", -+ "LATIN2", -+ "GB18030", -+ "UTF-16", -+ "ISO-IR-138", -+ "UCS-4LE", -+ "LATIN8", -+ "ROMAN8", -+ "UCS-2LE", -+ "CSPTCP154", -+ "GEORGIAN-ACADEMY", -+ "EUCKR", -+ "EUC-KR", -+ "ISO-10646-UCS-4", -+ "X0212", -+ "KSC_5601", -+ "LATIN3", -+ "ISO-IR-110", -+ "ASCII", -+ "ISO-10646-UCS-2", -+ "UTF-8", -+ "KS_C_5601-1989", -+ "KOREAN", -+ "BIG5", -+ "BIG-5", -+ "UNICODE-1-1", -+ "X0201", -+ "TIS620-0", -+ "CSUNICODE11", -+ "CSASCII", -+ "KZ-1048", -+ "ISO-IR-203", -+ "UTF-32", -+ "MULELAO-1", -+ "CHINESE", -+ "ARABIC", -+ "CSKZ1048", -+ "HP-ROMAN8", -+ "ECMA-114", -+ "LATIN10", -+ "KOI8-R", -+ "GEORGIAN-PS", -+ "CSKOI8R", -+ "ISO-2022-CN-EXT", -+ "ISO-IR-100", -+ "IBM-921", -+ "IBM819", -+ "X0208", -+ "ISO_8859-9:1989", -+ "ECMA-118", -+ "IBM866", -+ "IBM-1131", -+ "CSISOLATIN1", -+ "VISCII", -+ "CSGB2312", -+ "CSISOLATIN6", -+ "CSISOLATINCYRILLIC", -+ "CSUNICODE", -+ "CSISOLATINARABIC", -+ "CSISOLATIN4", -+ "ISO_8859-4:1988", -+ "IBM862", -+ "ISO_8859-5:1988", -+ "IBM-932", -+ "CSISOLATIN5", -+ "CSHPROMAN8", -+ "IBM-1252", -+ "ISO_8859-8:1988", -+ "CSISOLATIN2", -+ "CSEUCKR", -+ "STRK1048-2002", -+ "ISO_8859-3:1988", -+ "ISO-IR-179", -+ "CSBIG5", -+ "CN-BIG5", -+ "ISO-CELTIC", -+ "HZ-GB-2312", -+ "UTF-16LE", -+ "ISO-2022-KR", -+ "US-ASCII", -+ "CSISOLATIN3", -+ "CSISO2022KR", -+ "MS-EE", -+ "UCS-4-INTERNAL", -+ "MS-ANSI", -+ "TCVN5712-1", -+ "CP1257", -+ "CP367", -+ "UCS-2-INTERNAL", -+ "IBM850", -+ "IBM-850", -+ "TCVN-5712", -+ "UTF-32LE", -+ "MACCYRILLIC", -+ "TIS620.2529-1", -+ "MACICELAND", -+ "JP", -+ "CSVISCII", -+ "MACROMAN", -+ "GREEK8", -+ "VISCII1.1-1", -+ "UCS-4BE", -+ "IBM-CP1133", -+ "ISO_646.IRV:1991", -+ "MACCROATIAN", -+ "UCS-2BE", -+ "ARMSCII-8", -+ "CN-GB", -+ "WINDOWS-1251", -+ "JAVA", -+ "WINDOWS-1256", -+ "WINDOWS-936", -+ "UCS-4-SWAPPED", -+ "WINDOWS-1254", -+ "GBK", -+ "WINDOWS-1255", -+ "TIS620.2533-1", -+ "UCS-2-SWAPPED", -+ "WINDOWS-1252", -+ "KS_C_5601-1987", -+ "CN-GB-ISOIR165", -+ "WINDOWS-1258", -+ "IBM-EUCCN", -+ "JIS_C6226-1983", -+ "UNICODE-1-1-UTF-7", -+ "CSKSC56011987", -+ "WINDOWS-1253", -+ "CSUNICODE11UTF7", -+ "WCHAR_T", -+ "JIS_C6220-1969-RO", -+ "CSISO58GB231280", -+ "ASMO-708", -+ "WINDOWS-1250", -+ "KOI8-U", -+ "KOI8-RU", -+ "TIS620.2533-0", -+ "MS-HEBR", -+ "ISO_8859-1:1987", -+ "MACARABIC", -+ "ISO_8859-6:1987", -+ "MACINTOSH", -+ "CSPC862LATINHEBREW", -+ "ISO8859-7", -+ "ISO-8859-7", -+ "ISO_8859-7", -+ "CSIBM866", -+ "ISO_8859-2:1987", -+ "CSMACINTOSH", -+ "JIS0208", -+ "MACROMANIA", -+ "ISO_8859-7:2003", -+ "KOI8-T", -+ "EUCJP", -+ "EUC-JP", -+ "BIG5HKSCS", -+ "BIG5-HKSCS", -+ "MACCENTRALEUROPE", -+ "MACTHAI", -+ "ANSI_X3.4-1986", -+ "EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE", -+ "EUCTW", -+ "EUC-TW", -+ "CSISOLATINHEBREW", -+ "UTF-16BE", -+ "ISO-IR-57", -+ "ANSI_X3.4-1968", -+ "ISO-IR-157", -+ "ISO-IR-127", -+ "ISO-IR-87", -+ "CSPC850MULTILINGUAL", -+ "CSISO57GB1988", -+ "ISO646-JP", -+ "LATIN7", -+ "GREEK", -+ "CSISOLATINGREEK", -+ "CSISO14JISC6220RO", -+ "UTF-32BE", -+ "MS-ARAB", -+ "TCVN5712-1:1993", -+ "UTF-7", -+ "ISO-2022-JP-1", -+ "ISO-2022-JP-MS", -+ "ISO-2022-JP-2", -+ "WINDOWS-1257", -+ "NEXTSTEP", -+ "WINDOWS-874", -+ "CSISO2022JP2", -+ "CSISO159JISX02121990", -+ "IBM-EUCKR", -+ "CSEUCTW", -+ "ISO-2022-JP", -+ "UNICODELITTLE", -+ "BIGFIVE", -+ "BIG-FIVE", -+ "HEBREW", -+ "CSHALFWIDTHKATAKANA", -+ "CSISO2022JP", -+ "UNICODEBIG", -+ "ISO_8859-7:1987", -+ "IBM367", -+ "JIS_X0212", -+ "BIG5-HKSCS:1999", -+ "BIG5-HKSCS:2001", -+ "JIS_X0201", -+ "BIG5-HKSCS:2004", -+ "JISX0201-1976", -+ "BIG5-HKSCS:2008", -+ "MACUKRAINE", -+ "JIS_X0212-1990", -+ "JIS_X0208", -+ "JIS_X0208-1983", -+ "JIS_X0208-1990", -+ "MS-GREEK", -+ "MACGREEK", -+ "JOHAB", -+ "MACTURKISH", -+ "MS-TURK", -+ "SHIFT-JIS", -+ "SHIFT_JIS", -+ "CSSHIFTJIS", -+ "JIS_X0212.1990-0", -+ "IBM-EUCJP", -+ "MACHEBREW", -+ "IBM-EUCTW", -+ "MS_KANJI", -+ "CSEUCPKDFMTJAPANESE", -+ "WINBALTRIM", -+ "CSISO87JISX0208" -+ }; -+#define stringpool ((const char *) &stringpool_contents) -+ -+static const struct alias aliases[] = -+ { -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 51 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str5, ei_c99}, -+ {-1}, -+#line 292 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str7, ei_iso646_cn}, -+ {-1}, {-1}, -+#line 60 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str10, ei_iso8859_1}, -+ {-1}, {-1}, -+#line 134 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str13, ei_iso8859_10}, -+ {-1}, -+#line 368 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str15, ei_local_char}, -+#line 362 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str16, ei_cp949}, -+#line 84 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str17, ei_iso8859_4}, -+ {-1}, {-1}, {-1}, -+#line 126 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str21, ei_iso8859_9}, -+#line 231 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str22, ei_hp_roman8}, -+ {-1}, -+#line 68 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str24, ei_iso8859_2}, -+ {-1}, {-1}, {-1}, -+#line 152 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str28, ei_iso8859_14}, -+#line 57 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str29, ei_iso8859_1}, -+ {-1}, {-1}, {-1}, -+#line 210 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str33, ei_cp866}, -+ {-1}, {-1}, -+#line 76 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str36, ei_iso8859_3}, -+ {-1}, {-1}, {-1}, -+#line 240 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str40, ei_pt154}, -+ {-1}, -+#line 208 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str42, ei_cp866}, -+#line 175 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str43, ei_cp1251}, -+#line 212 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str44, ei_cp1131}, -+#line 332 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str45, ei_cp936}, -+ {-1}, -+#line 365 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str47, ei_johab}, -+#line 339 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str48, ei_hz}, -+#line 191 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str49, ei_cp1256}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 206 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str55, ei_cp862}, -+ {-1}, -+#line 185 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str57, ei_cp1254}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 204 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str64, ei_cp862}, -+#line 188 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str65, ei_cp1255}, -+ {-1}, -+#line 316 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str67, ei_cp932}, -+ {-1}, {-1}, {-1}, -+#line 178 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str71, ei_cp1252}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 197 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str79, ei_cp1258}, -+#line 326 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str80, ei_euc_cn}, -+#line 325 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str81, ei_euc_cn}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 238 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str90, ei_pt154}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 182 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str95, ei_cp1253}, -+#line 248 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str96, ei_cp1133}, -+#line 166 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str97, ei_iso8859_16}, -+ {-1}, {-1}, {-1}, -+#line 243 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str101, ei_rk1048}, -+#line 324 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str102, ei_iso2022_jpms}, -+ {-1}, -+#line 363 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str104, ei_cp949}, -+ {-1}, {-1}, {-1}, -+#line 351 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str108, ei_cp950}, -+ {-1}, -+#line 21 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str110, ei_ascii}, -+#line 201 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str111, ei_cp850}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 290 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str124, ei_iso646_cn}, -+#line 313 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str125, ei_sjis}, -+ {-1}, -+#line 172 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str127, ei_cp1250}, -+#line 199 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str128, ei_cp850}, -+ {-1}, {-1}, -+#line 33 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str131, ei_ucs4}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 35 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str136, ei_ucs4}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 24 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str145, ei_ucs2}, -+#line 239 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str146, ei_pt154}, -+ {-1}, {-1}, -+#line 327 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str149, ei_euc_cn}, -+#line 128 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str150, ei_iso8859_9}, -+#line 121 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str151, ei_iso8859_9}, -+#line 122 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str152, ei_iso8859_9}, -+ {-1}, -+#line 62 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_1}, -+#line 53 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str155, ei_iso8859_1}, -+#line 54 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str156, ei_iso8859_1}, -+#line 139 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str157, ei_iso8859_11}, -+#line 137 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str158, ei_iso8859_11}, -+#line 138 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str159, ei_iso8859_11}, -+#line 102 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str160, ei_iso8859_6}, -+#line 94 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str161, ei_iso8859_6}, -+#line 95 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str162, ei_iso8859_6}, -+#line 167 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str163, ei_iso8859_16}, -+#line 161 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str164, ei_iso8859_16}, -+#line 162 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str165, ei_iso8859_16}, -+ {-1}, -+#line 163 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str167, ei_iso8859_16}, -+#line 86 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str168, ei_iso8859_4}, -+#line 79 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str169, ei_iso8859_4}, -+#line 80 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str170, ei_iso8859_4}, -+#line 154 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str171, ei_iso8859_14}, -+#line 147 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str172, ei_iso8859_14}, -+#line 148 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str173, ei_iso8859_14}, -+ {-1}, {-1}, -+#line 93 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str176, ei_iso8859_5}, -+#line 87 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str177, ei_iso8859_5}, -+#line 88 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str178, ei_iso8859_5}, -+#line 160 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str179, ei_iso8859_15}, -+#line 155 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str180, ei_iso8859_15}, -+#line 156 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str181, ei_iso8859_15}, -+#line 70 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str182, ei_iso8859_2}, -+#line 63 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str183, ei_iso8859_2}, -+#line 64 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str184, ei_iso8859_2}, -+ {-1}, {-1}, -+#line 262 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str187, ei_tcvn}, -+#line 150 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str188, ei_iso8859_14}, -+#line 149 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str189, ei_iso8859_14}, -+#line 120 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str190, ei_iso8859_8}, -+#line 114 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str191, ei_iso8859_8}, -+#line 115 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str192, ei_iso8859_8}, -+#line 157 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str193, ei_iso8859_15}, -+#line 16 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str194, ei_ascii}, -+ {-1}, -+#line 144 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str196, ei_iso8859_13}, -+#line 303 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str197, ei_ksc5601}, -+ {-1}, -+#line 336 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str199, ei_iso2022_cn}, -+ {-1}, -+#line 287 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str201, ei_jisx0212}, -+#line 91 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str202, ei_iso8859_5}, -+#line 256 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str203, ei_tis620}, -+ {-1}, -+#line 268 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str205, ei_iso646_jp}, -+#line 78 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str206, ei_iso8859_3}, -+#line 71 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str207, ei_iso8859_3}, -+#line 72 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str208, ei_iso8859_3}, -+#line 145 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str209, ei_iso8859_13}, -+#line 140 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str210, ei_iso8859_13}, -+#line 141 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str211, ei_iso8859_13}, -+#line 337 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str212, ei_iso2022_cn}, -+#line 216 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str213, ei_mac_roman}, -+#line 107 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str214, ei_iso8859_7}, -+#line 90 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str215, ei_iso8859_5}, -+ {-1}, {-1}, {-1}, -+#line 298 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str219, ei_isoir165}, -+#line 131 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str220, ei_iso8859_10}, -+ {-1}, -+#line 159 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str222, ei_iso8859_15}, -+ {-1}, {-1}, -+#line 59 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str225, ei_iso8859_1}, -+#line 289 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str226, ei_iso646_cn}, -+ {-1}, -+#line 164 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str228, ei_iso8859_16}, -+#line 241 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str229, ei_pt154}, -+ {-1}, -+#line 133 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str231, ei_iso8859_10}, -+#line 74 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str232, ei_iso8859_3}, -+#line 257 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str233, ei_cp874}, -+ {-1}, -+#line 14 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str235, ei_ascii}, -+#line 66 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str236, ei_iso8859_2}, -+#line 124 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str237, ei_iso8859_9}, -+#line 295 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str238, ei_gb2312}, -+#line 83 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str239, ei_iso8859_4}, -+#line 177 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str240, ei_cp1251}, -+#line 136 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str241, ei_iso8859_10}, -+#line 129 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str242, ei_iso8859_10}, -+#line 130 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str243, ei_iso8859_10}, -+#line 251 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str244, ei_tis620}, -+#line 250 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str245, ei_tis620}, -+#line 294 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str246, ei_gb2312}, -+#line 125 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str247, ei_iso8859_9}, -+#line 109 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str248, ei_iso8859_7}, -+#line 333 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str249, ei_cp936}, -+ {-1}, {-1}, {-1}, -+#line 67 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str253, ei_iso8859_2}, -+#line 335 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str254, ei_gb18030}, -+#line 38 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str255, ei_utf16}, -+#line 117 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str256, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, -+#line 37 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str260, ei_ucs4le}, -+#line 151 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str261, ei_iso8859_14}, -+ {-1}, {-1}, -+#line 230 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str264, ei_hp_roman8}, -+ {-1}, {-1}, -+#line 31 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str267, ei_ucs2le}, -+#line 242 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str268, ei_pt154}, -+ {-1}, -+#line 235 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str270, ei_georgian_academy}, -+#line 359 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str271, ei_euc_kr}, -+#line 358 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str272, ei_euc_kr}, -+ {-1}, -+#line 34 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str274, ei_ucs4}, -+#line 286 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str275, ei_jisx0212}, -+#line 300 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str276, ei_ksc5601}, -+#line 75 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str277, ei_iso8859_3}, -+#line 82 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str278, ei_iso8859_4}, -+ {-1}, -+#line 13 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str280, ei_ascii}, -+#line 25 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str281, ei_ucs2}, -+#line 23 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str282, ei_utf8}, -+#line 302 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str283, ei_ksc5601}, -+ {-1}, -+#line 305 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str285, ei_ksc5601}, -+#line 345 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str286, ei_ces_big5}, -+#line 346 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str287, ei_ces_big5}, -+#line 29 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str288, ei_ucs2be}, -+#line 273 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str289, ei_jisx0201}, -+#line 252 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str290, ei_tis620}, -+ {-1}, {-1}, -+#line 30 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str293, ei_ucs2be}, -+ {-1}, -+#line 22 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str295, ei_ascii}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 245 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str301, ei_rk1048}, -+#line 158 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str302, ei_iso8859_15}, -+#line 41 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str303, ei_utf32}, -+ {-1}, -+#line 247 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str305, ei_mulelao}, -+#line 297 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str306, ei_gb2312}, -+#line 100 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str307, ei_iso8859_6}, -+#line 246 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str308, ei_rk1048}, -+#line 229 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str309, ei_hp_roman8}, -+#line 98 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str310, ei_iso8859_6}, -+ {-1}, -+#line 165 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str312, ei_iso8859_16}, -+#line 168 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str313, ei_koi8_r}, -+ {-1}, -+#line 236 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str315, ei_georgian_ps}, -+#line 169 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str316, ei_koi8_r}, -+ {-1}, -+#line 338 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str318, ei_iso2022_cn_ext}, -+ {-1}, -+#line 56 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str320, ei_iso8859_1}, -+#line 146 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str321, ei_iso8859_13}, -+#line 58 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str322, ei_iso8859_1}, -+ {-1}, {-1}, -+#line 279 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str325, ei_jisx0208}, -+ {-1}, -+#line 123 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str327, ei_iso8859_9}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 108 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str332, ei_iso8859_7}, -+ {-1}, {-1}, -+#line 209 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str335, ei_cp866}, -+ {-1}, {-1}, -+#line 213 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str338, ei_cp1131}, -+ {-1}, -+#line 61 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str340, ei_iso8859_1}, -+ {-1}, -+#line 259 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str342, ei_viscii}, -+ {-1}, -+#line 329 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str344, ei_euc_cn}, -+ {-1}, -+#line 135 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str346, ei_iso8859_10}, -+#line 92 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str347, ei_iso8859_5}, -+ {-1}, {-1}, -+#line 26 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str350, ei_ucs2}, -+ {-1}, -+#line 101 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str352, ei_iso8859_6}, -+ {-1}, -+#line 85 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str354, ei_iso8859_4}, -+ {-1}, -+#line 81 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str356, ei_iso8859_4}, -+#line 205 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str357, ei_cp862}, -+ {-1}, {-1}, -+#line 89 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str360, ei_iso8859_5}, -+#line 317 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str361, ei_cp932}, -+#line 127 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str362, ei_iso8859_9}, -+ {-1}, -+#line 232 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str364, ei_hp_roman8}, -+#line 181 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str365, ei_cp1252}, -+ {-1}, -+#line 116 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str367, ei_iso8859_8}, -+#line 69 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str368, ei_iso8859_2}, -+ {-1}, {-1}, {-1}, -+#line 360 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str372, ei_euc_kr}, -+ {-1}, -+#line 244 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str374, ei_rk1048}, -+#line 73 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str375, ei_iso8859_3}, -+#line 142 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str376, ei_iso8859_13}, -+ {-1}, -+#line 350 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str378, ei_ces_big5}, -+#line 349 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str379, ei_ces_big5}, -+ {-1}, -+#line 153 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str381, ei_iso8859_14}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 340 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str386, ei_hz}, -+ {-1}, -+#line 40 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str388, ei_utf16le}, -+ {-1}, -+#line 366 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str390, ei_iso2022_kr}, -+#line 12 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str391, ei_ascii}, -+#line 77 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str392, ei_iso8859_3}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 367 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str403, ei_iso2022_kr}, -+ {-1}, {-1}, -+#line 174 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str406, ei_cp1250}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 49 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str411, ei_ucs4internal}, -+#line 180 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str412, ei_cp1252}, -+#line 264 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str413, ei_tcvn}, -+ {-1}, -+#line 194 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str415, ei_cp1257}, -+#line 19 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str416, ei_ascii}, -+ {-1}, -+#line 47 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str418, ei_ucs2internal}, -+ {-1}, {-1}, -+#line 200 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str421, ei_cp850}, -+#line 203 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str422, ei_cp850}, -+ {-1}, -+#line 263 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str424, ei_tcvn}, -+#line 43 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str425, ei_utf32le}, -+#line 222 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str426, ei_mac_cyrillic}, -+ {-1}, -+#line 253 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str428, ei_tis620}, -+#line 219 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str429, ei_mac_iceland}, -+#line 269 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str430, ei_iso646_jp}, -+ {-1}, {-1}, {-1}, -+#line 261 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str434, ei_viscii}, -+ {-1}, {-1}, -+#line 214 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str437, ei_mac_roman}, -+ {-1}, {-1}, -+#line 110 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str440, ei_iso8859_7}, -+#line 260 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str441, ei_viscii}, -+ {-1}, {-1}, {-1}, -+#line 36 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str445, ei_ucs4be}, -+#line 249 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str446, ei_cp1133}, -+#line 15 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str447, ei_ascii}, -+ {-1}, {-1}, {-1}, -+#line 220 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str451, ei_mac_croatian}, -+#line 27 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str452, ei_ucs2be}, -+#line 234 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str453, ei_armscii_8}, -+#line 328 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str454, ei_euc_cn}, -+ {-1}, -+#line 176 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str456, ei_cp1251}, -+#line 52 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str457, ei_java}, -+ {-1}, -+#line 192 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str459, ei_cp1256}, -+#line 334 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str460, ei_cp936}, -+ {-1}, -+#line 50 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str462, ei_ucs4swapped}, -+#line 186 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str463, ei_cp1254}, -+ {-1}, {-1}, -+#line 331 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str466, ei_ces_gbk}, -+#line 189 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str467, ei_cp1255}, -+#line 255 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str468, ei_tis620}, -+#line 48 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str469, ei_ucs2swapped}, -+#line 179 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str470, ei_cp1252}, -+#line 301 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str471, ei_ksc5601}, -+#line 299 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str472, ei_isoir165}, -+ {-1}, -+#line 198 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str474, ei_cp1258}, -+#line 330 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str475, ei_euc_cn}, -+#line 281 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str476, ei_jisx0208}, -+ {-1}, {-1}, {-1}, -+#line 45 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str480, ei_utf7}, -+#line 304 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str481, ei_ksc5601}, -+#line 183 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str482, ei_cp1253}, -+#line 46 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str483, ei_utf7}, -+#line 369 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str484, ei_local_wchar_t}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 266 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str490, ei_iso646_jp}, -+ {-1}, {-1}, -+#line 296 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str493, ei_gb2312}, -+ {-1}, -+#line 99 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str495, ei_iso8859_6}, -+ {-1}, {-1}, -+#line 173 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str498, ei_cp1250}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 170 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str507, ei_koi8_u}, -+#line 171 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str508, ei_koi8_ru}, -+ {-1}, -+#line 254 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str510, ei_tis620}, -+#line 190 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str511, ei_cp1255}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 55 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str517, ei_iso8859_1}, -+#line 227 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str518, ei_mac_arabic}, -+ {-1}, -+#line 96 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str520, ei_iso8859_6}, -+#line 215 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str521, ei_mac_roman}, -+ {-1}, {-1}, {-1}, -+#line 207 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str525, ei_cp862}, -+#line 113 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str526, ei_iso8859_7}, -+#line 103 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str527, ei_iso8859_7}, -+#line 104 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str528, ei_iso8859_7}, -+ {-1}, -+#line 211 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str530, ei_cp866}, -+#line 65 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str531, ei_iso8859_2}, -+ {-1}, {-1}, -+#line 217 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str534, ei_mac_roman}, -+ {-1}, {-1}, {-1}, -+#line 278 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str538, ei_jisx0208}, -+ {-1}, {-1}, {-1}, -+#line 221 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str542, ei_mac_romania}, -+#line 106 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str543, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 237 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str549, ei_koi8_t}, -+ {-1}, {-1}, -+#line 307 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str552, ei_euc_jp}, -+#line 306 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str553, ei_euc_jp}, -+#line 356 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str554, ei_big5hkscs2008}, -+#line 355 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str555, ei_big5hkscs2008}, -+ {-1}, -+#line 218 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str557, ei_mac_centraleurope}, -+ {-1}, {-1}, -+#line 228 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str560, ei_mac_thai}, -+#line 18 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str561, ei_ascii}, -+ {-1}, {-1}, {-1}, -+#line 308 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str565, ei_euc_jp}, -+ {-1}, {-1}, -+#line 342 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str568, ei_euc_tw}, -+#line 341 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str569, ei_euc_tw}, -+ {-1}, {-1}, -+#line 119 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str572, ei_iso8859_8}, -+#line 39 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str573, ei_utf16be}, -+#line 291 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str574, ei_iso646_cn}, -+ {-1}, -+#line 17 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str576, ei_ascii}, -+#line 132 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str577, ei_iso8859_10}, -+ {-1}, {-1}, -+#line 97 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str580, ei_iso8859_6}, -+#line 280 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str581, ei_jisx0208}, -+ {-1}, {-1}, {-1}, -+#line 202 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str585, ei_cp850}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 293 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str593, ei_iso646_cn}, -+ {-1}, {-1}, -+#line 267 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str596, ei_iso646_jp}, -+#line 143 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str597, ei_iso8859_13}, -+#line 111 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str598, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 112 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str604, ei_iso8859_7}, -+ {-1}, -+#line 270 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str606, ei_iso646_jp}, -+ {-1}, {-1}, {-1}, -+#line 42 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str610, ei_utf32be}, -+ {-1}, {-1}, -+#line 193 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str613, ei_cp1256}, -+#line 265 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str614, ei_tcvn}, -+ {-1}, {-1}, {-1}, -+#line 44 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str618, ei_utf7}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 320 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str623, ei_iso2022_jp1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 323 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str633, ei_iso2022_jpms}, -+ {-1}, {-1}, {-1}, -+#line 321 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str637, ei_iso2022_jp2}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 195 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str642, ei_cp1257}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 233 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str647, ei_nextstep}, -+#line 258 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str648, ei_cp874}, -+#line 322 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str649, ei_iso2022_jp2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 288 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str655, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 361 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str666, ei_euc_kr}, -+ {-1}, {-1}, -+#line 343 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str669, ei_euc_tw}, -+ {-1}, -+#line 318 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str671, ei_iso2022_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 32 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str679, ei_ucs2le}, -+#line 348 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str680, ei_ces_big5}, -+#line 347 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str681, ei_ces_big5}, -+#line 118 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str682, ei_iso8859_8}, -+#line 274 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str683, ei_jisx0201}, -+#line 319 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str684, ei_iso2022_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 28 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str690, ei_ucs2be}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 105 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str703, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 20 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str709, ei_ascii}, -+ {-1}, -+#line 283 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str711, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 352 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str719, ei_big5hkscs1999}, -+ {-1}, -+#line 353 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str721, ei_big5hkscs2001}, -+ {-1}, {-1}, {-1}, -+#line 271 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str725, ei_jisx0201}, -+ {-1}, {-1}, -+#line 354 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str728, ei_big5hkscs2004}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 272 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str733, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 357 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str739, ei_big5hkscs2008}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 223 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str744, ei_mac_ukraine}, -+ {-1}, -+#line 285 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str746, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 275 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str761, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 276 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str776, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 277 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str792, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 184 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str807, ei_cp1253}, -+ {-1}, -+#line 224 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str809, ei_mac_greek}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 364 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str814, ei_johab}, -+#line 225 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str815, ei_mac_turkish}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 187 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str826, ei_cp1254}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 312 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str852, ei_sjis}, -+#line 311 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str853, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 315 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str897, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 284 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str922, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 310 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str947, ei_euc_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 226 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str958, ei_mac_hebrew}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 344 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str963, ei_euc_tw}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 314 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str978, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 309 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str984, ei_euc_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 196 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str1026, ei_cp1257}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 282 "lib/aliases_sysaix.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str1039, ei_jisx0208} -+ }; -+ -+#ifdef __GNUC__ -+__inline -+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ -+__attribute__ ((__gnu_inline__)) -+#endif -+#endif -+const struct alias * -+aliases_lookup (register const char *str, register unsigned int len) -+{ -+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) -+ { -+ register int key = aliases_hash (str, len); -+ -+ if (key <= MAX_HASH_VALUE && key >= 0) -+ { -+ register int o = aliases[key].name; -+ if (o >= 0) -+ { -+ register const char *s = o + stringpool; -+ -+ if (*str == *s && !strcmp (str + 1, s + 1)) -+ return &aliases[key]; -+ } -+ } -+ } -+ return 0; -+} -diff -Naur libiconv-20130504/lib/aliases_syshpux.gperf libiconv-20130504.patch/lib/aliases_syshpux.gperf ---- libiconv-20130504/lib/aliases_syshpux.gperf 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_syshpux.gperf 2013-05-04 10:23:29.703107335 +0200 -@@ -0,0 +1,370 @@ -+struct alias { int name; unsigned int encoding_index; }; -+%struct-type -+%language=ANSI-C -+%define hash-function-name aliases_hash -+%define lookup-function-name aliases_lookup -+%7bit -+%readonly-tables -+%global-table -+%define word-array-name aliases -+%pic -+%% -+US-ASCII, ei_ascii -+ASCII, ei_ascii -+ISO646-US, ei_ascii -+ISO_646.IRV:1991, ei_ascii -+ISO-IR-6, ei_ascii -+ANSI_X3.4-1968, ei_ascii -+ANSI_X3.4-1986, ei_ascii -+CP367, ei_ascii -+IBM367, ei_ascii -+US, ei_ascii -+CSASCII, ei_ascii -+UTF-8, ei_utf8 -+UTF8, ei_utf8 -+UCS-2, ei_ucs2 -+ISO-10646-UCS-2, ei_ucs2 -+CSUNICODE, ei_ucs2 -+UCS-2BE, ei_ucs2be -+UNICODEBIG, ei_ucs2be -+UNICODE-1-1, ei_ucs2be -+CSUNICODE11, ei_ucs2be -+UCS-2LE, ei_ucs2le -+UNICODELITTLE, ei_ucs2le -+UCS-4, ei_ucs4 -+ISO-10646-UCS-4, ei_ucs4 -+CSUCS4, ei_ucs4 -+UCS-4BE, ei_ucs4be -+UCS-4LE, ei_ucs4le -+UTF-16, ei_utf16 -+UTF-16BE, ei_utf16be -+UTF-16LE, ei_utf16le -+UTF-32, ei_utf32 -+UTF-32BE, ei_utf32be -+UTF-32LE, ei_utf32le -+UTF-7, ei_utf7 -+UNICODE-1-1-UTF-7, ei_utf7 -+CSUNICODE11UTF7, ei_utf7 -+UCS-2-INTERNAL, ei_ucs2internal -+UCS-2-SWAPPED, ei_ucs2swapped -+UCS-4-INTERNAL, ei_ucs4internal -+UCS-4-SWAPPED, ei_ucs4swapped -+C99, ei_c99 -+JAVA, ei_java -+ISO-8859-1, ei_iso8859_1 -+ISO_8859-1, ei_iso8859_1 -+ISO_8859-1:1987, ei_iso8859_1 -+ISO-IR-100, ei_iso8859_1 -+CP819, ei_iso8859_1 -+IBM819, ei_iso8859_1 -+LATIN1, ei_iso8859_1 -+L1, ei_iso8859_1 -+CSISOLATIN1, ei_iso8859_1 -+ISO8859-1, ei_iso8859_1 -+ISO88591, ei_iso8859_1 -+ISO-8859-2, ei_iso8859_2 -+ISO_8859-2, ei_iso8859_2 -+ISO_8859-2:1987, ei_iso8859_2 -+ISO-IR-101, ei_iso8859_2 -+LATIN2, ei_iso8859_2 -+L2, ei_iso8859_2 -+CSISOLATIN2, ei_iso8859_2 -+ISO8859-2, ei_iso8859_2 -+ISO88592, ei_iso8859_2 -+ISO-8859-3, ei_iso8859_3 -+ISO_8859-3, ei_iso8859_3 -+ISO_8859-3:1988, ei_iso8859_3 -+ISO-IR-109, ei_iso8859_3 -+LATIN3, ei_iso8859_3 -+L3, ei_iso8859_3 -+CSISOLATIN3, ei_iso8859_3 -+ISO8859-3, ei_iso8859_3 -+ISO-8859-4, ei_iso8859_4 -+ISO_8859-4, ei_iso8859_4 -+ISO_8859-4:1988, ei_iso8859_4 -+ISO-IR-110, ei_iso8859_4 -+LATIN4, ei_iso8859_4 -+L4, ei_iso8859_4 -+CSISOLATIN4, ei_iso8859_4 -+ISO8859-4, ei_iso8859_4 -+ISO-8859-5, ei_iso8859_5 -+ISO_8859-5, ei_iso8859_5 -+ISO_8859-5:1988, ei_iso8859_5 -+ISO-IR-144, ei_iso8859_5 -+CYRILLIC, ei_iso8859_5 -+CSISOLATINCYRILLIC, ei_iso8859_5 -+ISO8859-5, ei_iso8859_5 -+ISO88595, ei_iso8859_5 -+ISO-8859-6, ei_iso8859_6 -+ISO_8859-6, ei_iso8859_6 -+ISO_8859-6:1987, ei_iso8859_6 -+ISO-IR-127, ei_iso8859_6 -+ECMA-114, ei_iso8859_6 -+ASMO-708, ei_iso8859_6 -+ARABIC, ei_iso8859_6 -+CSISOLATINARABIC, ei_iso8859_6 -+ISO8859-6, ei_iso8859_6 -+ISO88596, ei_iso8859_6 -+ISO-8859-7, ei_iso8859_7 -+ISO_8859-7, ei_iso8859_7 -+ISO_8859-7:1987, ei_iso8859_7 -+ISO_8859-7:2003, ei_iso8859_7 -+ISO-IR-126, ei_iso8859_7 -+ECMA-118, ei_iso8859_7 -+ELOT_928, ei_iso8859_7 -+GREEK8, ei_iso8859_7 -+GREEK, ei_iso8859_7 -+CSISOLATINGREEK, ei_iso8859_7 -+ISO8859-7, ei_iso8859_7 -+ISO88597, ei_iso8859_7 -+ISO-8859-8, ei_iso8859_8 -+ISO_8859-8, ei_iso8859_8 -+ISO_8859-8:1988, ei_iso8859_8 -+ISO-IR-138, ei_iso8859_8 -+HEBREW, ei_iso8859_8 -+CSISOLATINHEBREW, ei_iso8859_8 -+ISO8859-8, ei_iso8859_8 -+ISO88598, ei_iso8859_8 -+ISO-8859-9, ei_iso8859_9 -+ISO_8859-9, ei_iso8859_9 -+ISO_8859-9:1989, ei_iso8859_9 -+ISO-IR-148, ei_iso8859_9 -+LATIN5, ei_iso8859_9 -+L5, ei_iso8859_9 -+CSISOLATIN5, ei_iso8859_9 -+ISO8859-9, ei_iso8859_9 -+ISO88599, ei_iso8859_9 -+ISO-8859-10, ei_iso8859_10 -+ISO_8859-10, ei_iso8859_10 -+ISO_8859-10:1992, ei_iso8859_10 -+ISO-IR-157, ei_iso8859_10 -+LATIN6, ei_iso8859_10 -+L6, ei_iso8859_10 -+CSISOLATIN6, ei_iso8859_10 -+ISO8859-10, ei_iso8859_10 -+ISO-8859-11, ei_iso8859_11 -+ISO_8859-11, ei_iso8859_11 -+ISO8859-11, ei_iso8859_11 -+ISO-8859-13, ei_iso8859_13 -+ISO_8859-13, ei_iso8859_13 -+ISO-IR-179, ei_iso8859_13 -+LATIN7, ei_iso8859_13 -+L7, ei_iso8859_13 -+ISO8859-13, ei_iso8859_13 -+ISO-8859-14, ei_iso8859_14 -+ISO_8859-14, ei_iso8859_14 -+ISO_8859-14:1998, ei_iso8859_14 -+ISO-IR-199, ei_iso8859_14 -+LATIN8, ei_iso8859_14 -+L8, ei_iso8859_14 -+ISO-CELTIC, ei_iso8859_14 -+ISO8859-14, ei_iso8859_14 -+ISO-8859-15, ei_iso8859_15 -+ISO_8859-15, ei_iso8859_15 -+ISO_8859-15:1998, ei_iso8859_15 -+ISO-IR-203, ei_iso8859_15 -+LATIN-9, ei_iso8859_15 -+ISO8859-15, ei_iso8859_15 -+ISO885915, ei_iso8859_15 -+ISO-8859-16, ei_iso8859_16 -+ISO_8859-16, ei_iso8859_16 -+ISO_8859-16:2001, ei_iso8859_16 -+ISO-IR-226, ei_iso8859_16 -+LATIN10, ei_iso8859_16 -+L10, ei_iso8859_16 -+ISO8859-16, ei_iso8859_16 -+KOI8-R, ei_koi8_r -+CSKOI8R, ei_koi8_r -+KOI8-U, ei_koi8_u -+KOI8-RU, ei_koi8_ru -+CP1250, ei_cp1250 -+WINDOWS-1250, ei_cp1250 -+MS-EE, ei_cp1250 -+CP1251, ei_cp1251 -+WINDOWS-1251, ei_cp1251 -+MS-CYRL, ei_cp1251 -+CP1252, ei_cp1252 -+WINDOWS-1252, ei_cp1252 -+MS-ANSI, ei_cp1252 -+CP1253, ei_cp1253 -+WINDOWS-1253, ei_cp1253 -+MS-GREEK, ei_cp1253 -+CP1254, ei_cp1254 -+WINDOWS-1254, ei_cp1254 -+MS-TURK, ei_cp1254 -+CP1255, ei_cp1255 -+WINDOWS-1255, ei_cp1255 -+MS-HEBR, ei_cp1255 -+CP1256, ei_cp1256 -+WINDOWS-1256, ei_cp1256 -+MS-ARAB, ei_cp1256 -+CP1257, ei_cp1257 -+WINDOWS-1257, ei_cp1257 -+WINBALTRIM, ei_cp1257 -+CP1258, ei_cp1258 -+WINDOWS-1258, ei_cp1258 -+CP850, ei_cp850 -+IBM850, ei_cp850 -+850, ei_cp850 -+CSPC850MULTILINGUAL, ei_cp850 -+CP862, ei_cp862 -+IBM862, ei_cp862 -+862, ei_cp862 -+CSPC862LATINHEBREW, ei_cp862 -+CP866, ei_cp866 -+IBM866, ei_cp866 -+866, ei_cp866 -+CSIBM866, ei_cp866 -+CP1131, ei_cp1131 -+MACROMAN, ei_mac_roman -+MACINTOSH, ei_mac_roman -+MAC, ei_mac_roman -+CSMACINTOSH, ei_mac_roman -+MACCENTRALEUROPE, ei_mac_centraleurope -+MACICELAND, ei_mac_iceland -+MACCROATIAN, ei_mac_croatian -+MACROMANIA, ei_mac_romania -+MACCYRILLIC, ei_mac_cyrillic -+MACUKRAINE, ei_mac_ukraine -+MACGREEK, ei_mac_greek -+MACTURKISH, ei_mac_turkish -+MACHEBREW, ei_mac_hebrew -+MACARABIC, ei_mac_arabic -+MACTHAI, ei_mac_thai -+HP-ROMAN8, ei_hp_roman8 -+ROMAN8, ei_hp_roman8 -+R8, ei_hp_roman8 -+CSHPROMAN8, ei_hp_roman8 -+NEXTSTEP, ei_nextstep -+ARMSCII-8, ei_armscii_8 -+GEORGIAN-ACADEMY, ei_georgian_academy -+GEORGIAN-PS, ei_georgian_ps -+KOI8-T, ei_koi8_t -+PT154, ei_pt154 -+PTCP154, ei_pt154 -+CP154, ei_pt154 -+CYRILLIC-ASIAN, ei_pt154 -+CSPTCP154, ei_pt154 -+RK1048, ei_rk1048 -+STRK1048-2002, ei_rk1048 -+KZ-1048, ei_rk1048 -+CSKZ1048, ei_rk1048 -+MULELAO-1, ei_mulelao -+CP1133, ei_cp1133 -+IBM-CP1133, ei_cp1133 -+TIS-620, ei_tis620 -+TIS620, ei_tis620 -+TIS620-0, ei_tis620 -+TIS620.2529-1, ei_tis620 -+TIS620.2533-0, ei_tis620 -+TIS620.2533-1, ei_tis620 -+ISO-IR-166, ei_tis620 -+CP874, ei_cp874 -+WINDOWS-874, ei_cp874 -+VISCII, ei_viscii -+VISCII1.1-1, ei_viscii -+CSVISCII, ei_viscii -+TCVN, ei_tcvn -+TCVN-5712, ei_tcvn -+TCVN5712-1, ei_tcvn -+TCVN5712-1:1993, ei_tcvn -+JIS_C6220-1969-RO, ei_iso646_jp -+ISO646-JP, ei_iso646_jp -+ISO-IR-14, ei_iso646_jp -+JP, ei_iso646_jp -+CSISO14JISC6220RO, ei_iso646_jp -+JIS_X0201, ei_jisx0201 -+JISX0201-1976, ei_jisx0201 -+X0201, ei_jisx0201 -+CSHALFWIDTHKATAKANA, ei_jisx0201 -+JIS_X0208, ei_jisx0208 -+JIS_X0208-1983, ei_jisx0208 -+JIS_X0208-1990, ei_jisx0208 -+JIS0208, ei_jisx0208 -+X0208, ei_jisx0208 -+ISO-IR-87, ei_jisx0208 -+JIS_C6226-1983, ei_jisx0208 -+CSISO87JISX0208, ei_jisx0208 -+JIS_X0212, ei_jisx0212 -+JIS_X0212.1990-0, ei_jisx0212 -+JIS_X0212-1990, ei_jisx0212 -+X0212, ei_jisx0212 -+ISO-IR-159, ei_jisx0212 -+CSISO159JISX02121990, ei_jisx0212 -+GB_1988-80, ei_iso646_cn -+ISO646-CN, ei_iso646_cn -+ISO-IR-57, ei_iso646_cn -+CN, ei_iso646_cn -+CSISO57GB1988, ei_iso646_cn -+GB_2312-80, ei_gb2312 -+ISO-IR-58, ei_gb2312 -+CSISO58GB231280, ei_gb2312 -+CHINESE, ei_gb2312 -+ISO-IR-165, ei_isoir165 -+CN-GB-ISOIR165, ei_isoir165 -+KSC_5601, ei_ksc5601 -+KS_C_5601-1987, ei_ksc5601 -+KS_C_5601-1989, ei_ksc5601 -+ISO-IR-149, ei_ksc5601 -+CSKSC56011987, ei_ksc5601 -+KOREAN, ei_ksc5601 -+EUC-JP, ei_euc_jp -+EUCJP, ei_euc_jp -+EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE, ei_euc_jp -+CSEUCPKDFMTJAPANESE, ei_euc_jp -+SHIFT_JIS, ei_sjis -+SHIFT-JIS, ei_sjis -+SJIS, ei_sjis -+MS_KANJI, ei_sjis -+CSSHIFTJIS, ei_sjis -+CP932, ei_cp932 -+ISO-2022-JP, ei_iso2022_jp -+CSISO2022JP, ei_iso2022_jp -+ISO-2022-JP-1, ei_iso2022_jp1 -+ISO-2022-JP-2, ei_iso2022_jp2 -+CSISO2022JP2, ei_iso2022_jp2 -+ISO-2022-JP-MS, ei_iso2022_jpms -+CP50221, ei_iso2022_jpms -+EUC-CN, ei_euc_cn -+EUCCN, ei_euc_cn -+GB2312, ei_euc_cn -+CN-GB, ei_euc_cn -+CSGB2312, ei_euc_cn -+HP15CN, ei_euc_cn -+GBK, ei_ces_gbk -+CP936, ei_cp936 -+MS936, ei_cp936 -+WINDOWS-936, ei_cp936 -+GB18030, ei_gb18030 -+ISO-2022-CN, ei_iso2022_cn -+CSISO2022CN, ei_iso2022_cn -+ISO-2022-CN-EXT, ei_iso2022_cn_ext -+HZ, ei_hz -+HZ-GB-2312, ei_hz -+EUC-TW, ei_euc_tw -+EUCTW, ei_euc_tw -+CSEUCTW, ei_euc_tw -+BIG5, ei_ces_big5 -+BIG-5, ei_ces_big5 -+BIG-FIVE, ei_ces_big5 -+BIGFIVE, ei_ces_big5 -+CN-BIG5, ei_ces_big5 -+CSBIG5, ei_ces_big5 -+CP950, ei_cp950 -+BIG5-HKSCS:1999, ei_big5hkscs1999 -+BIG5-HKSCS:2001, ei_big5hkscs2001 -+BIG5-HKSCS:2004, ei_big5hkscs2004 -+BIG5-HKSCS, ei_big5hkscs2008 -+BIG5HKSCS, ei_big5hkscs2008 -+BIG5-HKSCS:2008, ei_big5hkscs2008 -+EUC-KR, ei_euc_kr -+EUCKR, ei_euc_kr -+CSEUCKR, ei_euc_kr -+CP949, ei_cp949 -+UHC, ei_cp949 -+JOHAB, ei_johab -+CP1361, ei_johab -+ISO-2022-KR, ei_iso2022_kr -+CSISO2022KR, ei_iso2022_kr -+CHAR, ei_local_char -+WCHAR_T, ei_local_wchar_t -diff -Naur libiconv-20130504/lib/aliases_syshpux.h libiconv-20130504.patch/lib/aliases_syshpux.h ---- libiconv-20130504/lib/aliases_syshpux.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_syshpux.h 2013-05-04 10:23:29.866106857 +0200 -@@ -0,0 +1,1780 @@ -+/* ANSI-C code produced by gperf version 3.0.4 */ -+/* Command-line: gperf -m 10 lib/aliases_syshpux.gperf */ -+/* Computed positions: -k'1,3-11,$' */ -+ -+#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ -+ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ -+ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ -+ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ -+ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ -+ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ -+ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ -+ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ -+ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ -+ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ -+ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ -+ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ -+ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ -+ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ -+ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ -+ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ -+ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ -+ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ -+ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ -+ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ -+ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ -+ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ -+ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) -+/* The character set is not based on ISO-646. */ -+#error "gperf generated tables don't work with this execution character set. Please report a bug to ." -+#endif -+ -+#line 1 "lib/aliases_syshpux.gperf" -+struct alias { int name; unsigned int encoding_index; }; -+ -+#define TOTAL_KEYWORDS 359 -+#define MIN_WORD_LENGTH 2 -+#define MAX_WORD_LENGTH 45 -+#define MIN_HASH_VALUE 19 -+#define MAX_HASH_VALUE 1033 -+/* maximum key range = 1015, duplicates = 0 */ -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static unsigned int -+aliases_hash (register const char *str, register unsigned int len) -+{ -+ static const unsigned short asso_values[] = -+ { -+ 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, -+ 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, -+ 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, -+ 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, -+ 1034, 1034, 1034, 1034, 1034, 2, 22, 1034, 56, 4, -+ 36, 62, 23, 18, 11, 100, 30, 3, 115, 1034, -+ 1034, 1034, 1034, 1034, 1034, 62, 170, 101, 3, 35, -+ 78, 78, 169, 3, 375, 55, 16, 149, 18, 8, -+ 3, 1034, 2, 4, 161, 210, 136, 158, 191, 6, -+ 5, 1034, 1034, 1034, 1034, 3, 1034, 1034, 1034, 1034, -+ 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, -+ 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034, -+ 1034, 1034, 1034, 1034, 1034, 1034, 1034, 1034 -+ }; -+ register int hval = len; -+ -+ switch (hval) -+ { -+ default: -+ hval += asso_values[(unsigned char)str[10]]; -+ /*FALLTHROUGH*/ -+ case 10: -+ hval += asso_values[(unsigned char)str[9]]; -+ /*FALLTHROUGH*/ -+ case 9: -+ hval += asso_values[(unsigned char)str[8]]; -+ /*FALLTHROUGH*/ -+ case 8: -+ hval += asso_values[(unsigned char)str[7]]; -+ /*FALLTHROUGH*/ -+ case 7: -+ hval += asso_values[(unsigned char)str[6]]; -+ /*FALLTHROUGH*/ -+ case 6: -+ hval += asso_values[(unsigned char)str[5]]; -+ /*FALLTHROUGH*/ -+ case 5: -+ hval += asso_values[(unsigned char)str[4]]; -+ /*FALLTHROUGH*/ -+ case 4: -+ hval += asso_values[(unsigned char)str[3]]; -+ /*FALLTHROUGH*/ -+ case 3: -+ hval += asso_values[(unsigned char)str[2]]; -+ /*FALLTHROUGH*/ -+ case 2: -+ case 1: -+ hval += asso_values[(unsigned char)str[0]]; -+ break; -+ } -+ return hval + asso_values[(unsigned char)str[len - 1]]; -+} -+ -+struct stringpool_t -+ { -+ char stringpool_str19[sizeof("SJIS")]; -+ char stringpool_str22[sizeof("L1")]; -+ char stringpool_str29[sizeof("L6")]; -+ char stringpool_str34[sizeof("R8")]; -+ char stringpool_str36[sizeof("L5")]; -+ char stringpool_str41[sizeof("L4")]; -+ char stringpool_str43[sizeof("ISO-IR-199")]; -+ char stringpool_str48[sizeof("L8")]; -+ char stringpool_str50[sizeof("ISO-IR-6")]; -+ char stringpool_str54[sizeof("L2")]; -+ char stringpool_str55[sizeof("866")]; -+ char stringpool_str58[sizeof("ISO-IR-159")]; -+ char stringpool_str63[sizeof("ISO-IR-149")]; -+ char stringpool_str67[sizeof("ISO-IR-166")]; -+ char stringpool_str76[sizeof("PT154")]; -+ char stringpool_str79[sizeof("ISO-IR-14")]; -+ char stringpool_str80[sizeof("L3")]; -+ char stringpool_str81[sizeof("ISO-IR-165")]; -+ char stringpool_str92[sizeof("ISO-IR-126")]; -+ char stringpool_str96[sizeof("ISO-IR-109")]; -+ char stringpool_str98[sizeof("ISO-IR-101")]; -+ char stringpool_str100[sizeof("KOI8-R")]; -+ char stringpool_str103[sizeof("ISO-IR-144")]; -+ char stringpool_str105[sizeof("862")]; -+ char stringpool_str106[sizeof("ISO88599")]; -+ char stringpool_str107[sizeof("ISO-IR-58")]; -+ char stringpool_str108[sizeof("ISO88591")]; -+ char stringpool_str109[sizeof("ISO8859-9")]; -+ char stringpool_str110[sizeof("C99")]; -+ char stringpool_str111[sizeof("ISO8859-1")]; -+ char stringpool_str112[sizeof("ISO-8859-9")]; -+ char stringpool_str113[sizeof("ISO_8859-9")]; -+ char stringpool_str114[sizeof("ISO-8859-1")]; -+ char stringpool_str115[sizeof("ISO_8859-1")]; -+ char stringpool_str116[sizeof("ISO8859-11")]; -+ char stringpool_str117[sizeof("ISO-IR-148")]; -+ char stringpool_str118[sizeof("L7")]; -+ char stringpool_str119[sizeof("ISO-8859-11")]; -+ char stringpool_str120[sizeof("ISO_8859-11")]; -+ char stringpool_str121[sizeof("CN")]; -+ char stringpool_str122[sizeof("ISO88596")]; -+ char stringpool_str124[sizeof("ISO-IR-226")]; -+ char stringpool_str125[sizeof("ISO8859-6")]; -+ char stringpool_str128[sizeof("ISO-8859-6")]; -+ char stringpool_str129[sizeof("ISO_8859-6")]; -+ char stringpool_str130[sizeof("ISO8859-16")]; -+ char stringpool_str131[sizeof("L10")]; -+ char stringpool_str132[sizeof("ISO_8859-16:2001")]; -+ char stringpool_str133[sizeof("ISO-8859-16")]; -+ char stringpool_str134[sizeof("ISO_8859-16")]; -+ char stringpool_str136[sizeof("ISO88595")]; -+ char stringpool_str138[sizeof("CP949")]; -+ char stringpool_str139[sizeof("ISO8859-5")]; -+ char stringpool_str140[sizeof("ISO-IR-179")]; -+ char stringpool_str141[sizeof("ISO885915")]; -+ char stringpool_str142[sizeof("ISO-8859-5")]; -+ char stringpool_str143[sizeof("ISO_8859-5")]; -+ char stringpool_str144[sizeof("ISO8859-15")]; -+ char stringpool_str145[sizeof("850")]; -+ char stringpool_str146[sizeof("CP819")]; -+ char stringpool_str147[sizeof("ISO-8859-15")]; -+ char stringpool_str148[sizeof("ISO_8859-15")]; -+ char stringpool_str149[sizeof("ISO8859-4")]; -+ char stringpool_str150[sizeof("ISO-IR-110")]; -+ char stringpool_str151[sizeof("RK1048")]; -+ char stringpool_str152[sizeof("ISO-8859-4")]; -+ char stringpool_str153[sizeof("ISO_8859-4")]; -+ char stringpool_str154[sizeof("ISO8859-14")]; -+ char stringpool_str156[sizeof("ISO-IR-138")]; -+ char stringpool_str157[sizeof("ISO-8859-14")]; -+ char stringpool_str158[sizeof("ISO_8859-14")]; -+ char stringpool_str160[sizeof("ISO88598")]; -+ char stringpool_str163[sizeof("ISO8859-8")]; -+ char stringpool_str165[sizeof("ISO_8859-15:1998")]; -+ char stringpool_str166[sizeof("ISO-8859-8")]; -+ char stringpool_str167[sizeof("ISO_8859-8")]; -+ char stringpool_str169[sizeof("CP866")]; -+ char stringpool_str170[sizeof("ISO_8859-14:1998")]; -+ char stringpool_str171[sizeof("CHAR")]; -+ char stringpool_str172[sizeof("ISO88592")]; -+ char stringpool_str173[sizeof("CP1251")]; -+ char stringpool_str174[sizeof("CP154")]; -+ char stringpool_str175[sizeof("ISO8859-2")]; -+ char stringpool_str176[sizeof("HZ")]; -+ char stringpool_str177[sizeof("ASCII")]; -+ char stringpool_str178[sizeof("ISO-8859-2")]; -+ char stringpool_str179[sizeof("ISO_8859-2")]; -+ char stringpool_str182[sizeof("PTCP154")]; -+ char stringpool_str185[sizeof("CP1131")]; -+ char stringpool_str187[sizeof("CP1256")]; -+ char stringpool_str191[sizeof("GBK")]; -+ char stringpool_str192[sizeof("CP1361")]; -+ char stringpool_str193[sizeof("CP936")]; -+ char stringpool_str196[sizeof("KOREAN")]; -+ char stringpool_str198[sizeof("IBM819")]; -+ char stringpool_str200[sizeof("EUCKR")]; -+ char stringpool_str201[sizeof("CP1255")]; -+ char stringpool_str202[sizeof("ISO-IR-100")]; -+ char stringpool_str203[sizeof("EUC-KR")]; -+ char stringpool_str204[sizeof("ISO646-CN")]; -+ char stringpool_str207[sizeof("KZ-1048")]; -+ char stringpool_str208[sizeof("CSKOI8R")]; -+ char stringpool_str209[sizeof("ISO_8859-10:1992")]; -+ char stringpool_str211[sizeof("CP1254")]; -+ char stringpool_str212[sizeof("LATIN1")]; -+ char stringpool_str213[sizeof("LATIN-9")]; -+ char stringpool_str216[sizeof("US")]; -+ char stringpool_str219[sizeof("CP862")]; -+ char stringpool_str220[sizeof("ISO8859-10")]; -+ char stringpool_str221[sizeof("IBM866")]; -+ char stringpool_str223[sizeof("ISO-8859-10")]; -+ char stringpool_str224[sizeof("ISO_8859-10")]; -+ char stringpool_str225[sizeof("CP1258")]; -+ char stringpool_str226[sizeof("LATIN6")]; -+ char stringpool_str227[sizeof("ISO8859-3")]; -+ char stringpool_str230[sizeof("ISO-8859-3")]; -+ char stringpool_str231[sizeof("ISO_8859-3")]; -+ char stringpool_str232[sizeof("ISO8859-13")]; -+ char stringpool_str233[sizeof("ISO_8859-9:1989")]; -+ char stringpool_str235[sizeof("ISO-8859-13")]; -+ char stringpool_str236[sizeof("ISO_8859-13")]; -+ char stringpool_str237[sizeof("CP1252")]; -+ char stringpool_str238[sizeof("CHINESE")]; -+ char stringpool_str239[sizeof("CP950")]; -+ char stringpool_str240[sizeof("LATIN5")]; -+ char stringpool_str241[sizeof("MS936")]; -+ char stringpool_str242[sizeof("ISO_646.IRV:1991")]; -+ char stringpool_str243[sizeof("CP932")]; -+ char stringpool_str246[sizeof("ISO-IR-203")]; -+ char stringpool_str247[sizeof("ISO-IR-57")]; -+ char stringpool_str248[sizeof("MS-ANSI")]; -+ char stringpool_str249[sizeof("ISO-2022-KR")]; -+ char stringpool_str250[sizeof("LATIN4")]; -+ char stringpool_str252[sizeof("ISO-IR-157")]; -+ char stringpool_str256[sizeof("VISCII")]; -+ char stringpool_str258[sizeof("GB2312")]; -+ char stringpool_str259[sizeof("ISO-IR-87")]; -+ char stringpool_str260[sizeof("KSC_5601")]; -+ char stringpool_str261[sizeof("MS-EE")]; -+ char stringpool_str262[sizeof("CP50221")]; -+ char stringpool_str263[sizeof("GREEK")]; -+ char stringpool_str264[sizeof("LATIN8")]; -+ char stringpool_str266[sizeof("CP850")]; -+ char stringpool_str267[sizeof("UCS-4")]; -+ char stringpool_str269[sizeof("GREEK8")]; -+ char stringpool_str270[sizeof("ISO-IR-127")]; -+ char stringpool_str271[sizeof("IBM862")]; -+ char stringpool_str273[sizeof("GEORGIAN-PS")]; -+ char stringpool_str274[sizeof("KS_C_5601-1989")]; -+ char stringpool_str275[sizeof("ISO_8859-5:1988")]; -+ char stringpool_str276[sizeof("LATIN2")]; -+ char stringpool_str277[sizeof("CP1250")]; -+ char stringpool_str278[sizeof("EUCCN")]; -+ char stringpool_str280[sizeof("ISO_8859-4:1988")]; -+ char stringpool_str281[sizeof("EUC-CN")]; -+ char stringpool_str282[sizeof("CP874")]; -+ char stringpool_str284[sizeof("CSASCII")]; -+ char stringpool_str285[sizeof("ISO646-US")]; -+ char stringpool_str287[sizeof("ISO_8859-8:1988")]; -+ char stringpool_str288[sizeof("BIG5")]; -+ char stringpool_str289[sizeof("CP1253")]; -+ char stringpool_str291[sizeof("BIG-5")]; -+ char stringpool_str293[sizeof("UCS-2")]; -+ char stringpool_str296[sizeof("X0201")]; -+ char stringpool_str297[sizeof("ROMAN8")]; -+ char stringpool_str298[sizeof("VISCII1.1-1")]; -+ char stringpool_str299[sizeof("MS-CYRL")]; -+ char stringpool_str300[sizeof("ISO88597")]; -+ char stringpool_str301[sizeof("CP1133")]; -+ char stringpool_str302[sizeof("GB_1988-80")]; -+ char stringpool_str303[sizeof("ISO8859-7")]; -+ char stringpool_str305[sizeof("MULELAO-1")]; -+ char stringpool_str306[sizeof("ISO-8859-7")]; -+ char stringpool_str307[sizeof("ISO_8859-7")]; -+ char stringpool_str308[sizeof("X0212")]; -+ char stringpool_str310[sizeof("ECMA-114")]; -+ char stringpool_str312[sizeof("CSKZ1048")]; -+ char stringpool_str314[sizeof("ELOT_928")]; -+ char stringpool_str317[sizeof("STRK1048-2002")]; -+ char stringpool_str318[sizeof("IBM850")]; -+ char stringpool_str319[sizeof("ISO_8859-3:1988")]; -+ char stringpool_str321[sizeof("LATIN10")]; -+ char stringpool_str322[sizeof("UTF-16")]; -+ char stringpool_str324[sizeof("ECMA-118")]; -+ char stringpool_str327[sizeof("ISO-2022-CN")]; -+ char stringpool_str328[sizeof("LATIN3")]; -+ char stringpool_str330[sizeof("TIS620")]; -+ char stringpool_str331[sizeof("ISO_8859-1:1987")]; -+ char stringpool_str332[sizeof("UCS-4LE")]; -+ char stringpool_str333[sizeof("TIS-620")]; -+ char stringpool_str334[sizeof("HP15CN")]; -+ char stringpool_str337[sizeof("TCVN")]; -+ char stringpool_str338[sizeof("ISO_8859-6:1987")]; -+ char stringpool_str342[sizeof("CYRILLIC-ASIAN")]; -+ char stringpool_str345[sizeof("UCS-2LE")]; -+ char stringpool_str348[sizeof("X0208")]; -+ char stringpool_str349[sizeof("GB18030")]; -+ char stringpool_str350[sizeof("CSISO2022KR")]; -+ char stringpool_str351[sizeof("CYRILLIC")]; -+ char stringpool_str352[sizeof("UTF8")]; -+ char stringpool_str354[sizeof("MAC")]; -+ char stringpool_str355[sizeof("UTF-8")]; -+ char stringpool_str362[sizeof("CSVISCII")]; -+ char stringpool_str363[sizeof("ISO_8859-2:1987")]; -+ char stringpool_str365[sizeof("CP1257")]; -+ char stringpool_str368[sizeof("ISO-10646-UCS-4")]; -+ char stringpool_str371[sizeof("KS_C_5601-1987")]; -+ char stringpool_str373[sizeof("GB_2312-80")]; -+ char stringpool_str379[sizeof("CP367")]; -+ char stringpool_str380[sizeof("JP")]; -+ char stringpool_str381[sizeof("ISO-10646-UCS-2")]; -+ char stringpool_str387[sizeof("UNICODE-1-1")]; -+ char stringpool_str389[sizeof("ISO_8859-7:2003")]; -+ char stringpool_str390[sizeof("TIS620-0")]; -+ char stringpool_str393[sizeof("ARMSCII-8")]; -+ char stringpool_str394[sizeof("CSBIG5")]; -+ char stringpool_str395[sizeof("CSISOLATIN1")]; -+ char stringpool_str396[sizeof("US-ASCII")]; -+ char stringpool_str397[sizeof("CN-BIG5")]; -+ char stringpool_str399[sizeof("UTF-16LE")]; -+ char stringpool_str400[sizeof("TIS620.2529-1")]; -+ char stringpool_str401[sizeof("ANSI_X3.4-1986")]; -+ char stringpool_str404[sizeof("LATIN7")]; -+ char stringpool_str405[sizeof("CN-GB-ISOIR165")]; -+ char stringpool_str409[sizeof("CSISOLATIN6")]; -+ char stringpool_str415[sizeof("UHC")]; -+ char stringpool_str418[sizeof("KOI8-T")]; -+ char stringpool_str419[sizeof("MS-GREEK")]; -+ char stringpool_str420[sizeof("ANSI_X3.4-1968")]; -+ char stringpool_str423[sizeof("CSISOLATIN5")]; -+ char stringpool_str425[sizeof("WINDOWS-1251")]; -+ char stringpool_str427[sizeof("ISO_8859-7:1987")]; -+ char stringpool_str428[sizeof("CSISO2022CN")]; -+ char stringpool_str430[sizeof("UTF-32")]; -+ char stringpool_str431[sizeof("IBM367")]; -+ char stringpool_str432[sizeof("WINDOWS-1256")]; -+ char stringpool_str433[sizeof("CSISOLATIN4")]; -+ char stringpool_str436[sizeof("GEORGIAN-ACADEMY")]; -+ char stringpool_str439[sizeof("WINDOWS-1255")]; -+ char stringpool_str444[sizeof("WINDOWS-1254")]; -+ char stringpool_str445[sizeof("ASMO-708")]; -+ char stringpool_str446[sizeof("CSPTCP154")]; -+ char stringpool_str448[sizeof("ISO646-JP")]; -+ char stringpool_str449[sizeof("WINDOWS-936")]; -+ char stringpool_str451[sizeof("WINDOWS-1258")]; -+ char stringpool_str457[sizeof("WINDOWS-1252")]; -+ char stringpool_str459[sizeof("CSISOLATIN2")]; -+ char stringpool_str462[sizeof("IBM-CP1133")]; -+ char stringpool_str468[sizeof("CSUCS4")]; -+ char stringpool_str470[sizeof("CSKSC56011987")]; -+ char stringpool_str474[sizeof("ISO-2022-CN-EXT")]; -+ char stringpool_str477[sizeof("WINDOWS-1250")]; -+ char stringpool_str479[sizeof("HP-ROMAN8")]; -+ char stringpool_str482[sizeof("UTF-32LE")]; -+ char stringpool_str483[sizeof("WINDOWS-1253")]; -+ char stringpool_str485[sizeof("TIS620.2533-1")]; -+ char stringpool_str486[sizeof("UCS-4BE")]; -+ char stringpool_str487[sizeof("UCS-4-SWAPPED")]; -+ char stringpool_str489[sizeof("UNICODE-1-1-UTF-7")]; -+ char stringpool_str490[sizeof("UCS-4-INTERNAL")]; -+ char stringpool_str493[sizeof("TCVN5712-1")]; -+ char stringpool_str494[sizeof("CSIBM866")]; -+ char stringpool_str495[sizeof("UTF-7")]; -+ char stringpool_str499[sizeof("UCS-2BE")]; -+ char stringpool_str500[sizeof("UCS-2-SWAPPED")]; -+ char stringpool_str501[sizeof("MACICELAND")]; -+ char stringpool_str502[sizeof("CSUNICODE11")]; -+ char stringpool_str503[sizeof("UCS-2-INTERNAL")]; -+ char stringpool_str505[sizeof("ARABIC")]; -+ char stringpool_str511[sizeof("CSISOLATIN3")]; -+ char stringpool_str513[sizeof("CSEUCKR")]; -+ char stringpool_str515[sizeof("MACROMAN")]; -+ char stringpool_str516[sizeof("KOI8-U")]; -+ char stringpool_str518[sizeof("MACGREEK")]; -+ char stringpool_str519[sizeof("KOI8-RU")]; -+ char stringpool_str520[sizeof("TCVN-5712")]; -+ char stringpool_str521[sizeof("WINDOWS-1257")]; -+ char stringpool_str522[sizeof("EUCJP")]; -+ char stringpool_str523[sizeof("CSUNICODE")]; -+ char stringpool_str524[sizeof("CSISOLATINGREEK")]; -+ char stringpool_str525[sizeof("EUC-JP")]; -+ char stringpool_str526[sizeof("CN-GB")]; -+ char stringpool_str531[sizeof("CSGB2312")]; -+ char stringpool_str532[sizeof("CSISO57GB1988")]; -+ char stringpool_str536[sizeof("MS-HEBR")]; -+ char stringpool_str537[sizeof("TIS620.2533-0")]; -+ char stringpool_str538[sizeof("WINDOWS-874")]; -+ char stringpool_str541[sizeof("ISO-CELTIC")]; -+ char stringpool_str542[sizeof("BIGFIVE")]; -+ char stringpool_str545[sizeof("BIG-FIVE")]; -+ char stringpool_str553[sizeof("UTF-16BE")]; -+ char stringpool_str555[sizeof("CSISOLATINARABIC")]; -+ char stringpool_str571[sizeof("ISO-2022-JP")]; -+ char stringpool_str574[sizeof("ISO-2022-JP-1")]; -+ char stringpool_str575[sizeof("ISO-2022-JP-MS")]; -+ char stringpool_str581[sizeof("CSISO58GB231280")]; -+ char stringpool_str582[sizeof("CSHPROMAN8")]; -+ char stringpool_str584[sizeof("NEXTSTEP")]; -+ char stringpool_str594[sizeof("JIS0208")]; -+ char stringpool_str596[sizeof("CSISOLATINCYRILLIC")]; -+ char stringpool_str599[sizeof("CSISO159JISX02121990")]; -+ char stringpool_str601[sizeof("EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE")]; -+ char stringpool_str602[sizeof("CSUNICODE11UTF7")]; -+ char stringpool_str605[sizeof("HZ-GB-2312")]; -+ char stringpool_str606[sizeof("ISO-2022-JP-2")]; -+ char stringpool_str610[sizeof("MACCYRILLIC")]; -+ char stringpool_str612[sizeof("BIG5HKSCS")]; -+ char stringpool_str615[sizeof("BIG5-HKSCS")]; -+ char stringpool_str618[sizeof("EUCTW")]; -+ char stringpool_str621[sizeof("EUC-TW")]; -+ char stringpool_str624[sizeof("MS-ARAB")]; -+ char stringpool_str626[sizeof("MACROMANIA")]; -+ char stringpool_str636[sizeof("UTF-32BE")]; -+ char stringpool_str639[sizeof("JAVA")]; -+ char stringpool_str641[sizeof("MS-TURK")]; -+ char stringpool_str643[sizeof("SHIFT-JIS")]; -+ char stringpool_str644[sizeof("SHIFT_JIS")]; -+ char stringpool_str651[sizeof("CSISO14JISC6220RO")]; -+ char stringpool_str653[sizeof("JIS_C6220-1969-RO")]; -+ char stringpool_str655[sizeof("MACTHAI")]; -+ char stringpool_str659[sizeof("JIS_C6226-1983")]; -+ char stringpool_str671[sizeof("TCVN5712-1:1993")]; -+ char stringpool_str672[sizeof("CSISO2022JP")]; -+ char stringpool_str676[sizeof("MS_KANJI")]; -+ char stringpool_str680[sizeof("MACUKRAINE")]; -+ char stringpool_str696[sizeof("MACCROATIAN")]; -+ char stringpool_str698[sizeof("HEBREW")]; -+ char stringpool_str699[sizeof("UNICODEBIG")]; -+ char stringpool_str700[sizeof("CSPC862LATINHEBREW")]; -+ char stringpool_str706[sizeof("CSISO2022JP2")]; -+ char stringpool_str719[sizeof("CSISOLATINHEBREW")]; -+ char stringpool_str723[sizeof("WCHAR_T")]; -+ char stringpool_str731[sizeof("MACCENTRALEUROPE")]; -+ char stringpool_str734[sizeof("BIG5-HKSCS:1999")]; -+ char stringpool_str735[sizeof("BIG5-HKSCS:2001")]; -+ char stringpool_str738[sizeof("JIS_X0201")]; -+ char stringpool_str749[sizeof("UNICODELITTLE")]; -+ char stringpool_str750[sizeof("JIS_X0212")]; -+ char stringpool_str754[sizeof("BIG5-HKSCS:2004")]; -+ char stringpool_str755[sizeof("JISX0201-1976")]; -+ char stringpool_str760[sizeof("MACARABIC")]; -+ char stringpool_str761[sizeof("BIG5-HKSCS:2008")]; -+ char stringpool_str781[sizeof("JIS_X0212-1990")]; -+ char stringpool_str790[sizeof("JIS_X0208")]; -+ char stringpool_str791[sizeof("MACINTOSH")]; -+ char stringpool_str803[sizeof("JIS_X0212.1990-0")]; -+ char stringpool_str827[sizeof("JIS_X0208-1990")]; -+ char stringpool_str833[sizeof("JIS_X0208-1983")]; -+ char stringpool_str864[sizeof("CSISO87JISX0208")]; -+ char stringpool_str880[sizeof("CSPC850MULTILINGUAL")]; -+ char stringpool_str898[sizeof("WINBALTRIM")]; -+ char stringpool_str912[sizeof("CSSHIFTJIS")]; -+ char stringpool_str931[sizeof("CSEUCTW")]; -+ char stringpool_str950[sizeof("CSEUCPKDFMTJAPANESE")]; -+ char stringpool_str951[sizeof("JOHAB")]; -+ char stringpool_str956[sizeof("CSMACINTOSH")]; -+ char stringpool_str986[sizeof("MACHEBREW")]; -+ char stringpool_str1001[sizeof("CSHALFWIDTHKATAKANA")]; -+ char stringpool_str1033[sizeof("MACTURKISH")]; -+ }; -+static const struct stringpool_t stringpool_contents = -+ { -+ "SJIS", -+ "L1", -+ "L6", -+ "R8", -+ "L5", -+ "L4", -+ "ISO-IR-199", -+ "L8", -+ "ISO-IR-6", -+ "L2", -+ "866", -+ "ISO-IR-159", -+ "ISO-IR-149", -+ "ISO-IR-166", -+ "PT154", -+ "ISO-IR-14", -+ "L3", -+ "ISO-IR-165", -+ "ISO-IR-126", -+ "ISO-IR-109", -+ "ISO-IR-101", -+ "KOI8-R", -+ "ISO-IR-144", -+ "862", -+ "ISO88599", -+ "ISO-IR-58", -+ "ISO88591", -+ "ISO8859-9", -+ "C99", -+ "ISO8859-1", -+ "ISO-8859-9", -+ "ISO_8859-9", -+ "ISO-8859-1", -+ "ISO_8859-1", -+ "ISO8859-11", -+ "ISO-IR-148", -+ "L7", -+ "ISO-8859-11", -+ "ISO_8859-11", -+ "CN", -+ "ISO88596", -+ "ISO-IR-226", -+ "ISO8859-6", -+ "ISO-8859-6", -+ "ISO_8859-6", -+ "ISO8859-16", -+ "L10", -+ "ISO_8859-16:2001", -+ "ISO-8859-16", -+ "ISO_8859-16", -+ "ISO88595", -+ "CP949", -+ "ISO8859-5", -+ "ISO-IR-179", -+ "ISO885915", -+ "ISO-8859-5", -+ "ISO_8859-5", -+ "ISO8859-15", -+ "850", -+ "CP819", -+ "ISO-8859-15", -+ "ISO_8859-15", -+ "ISO8859-4", -+ "ISO-IR-110", -+ "RK1048", -+ "ISO-8859-4", -+ "ISO_8859-4", -+ "ISO8859-14", -+ "ISO-IR-138", -+ "ISO-8859-14", -+ "ISO_8859-14", -+ "ISO88598", -+ "ISO8859-8", -+ "ISO_8859-15:1998", -+ "ISO-8859-8", -+ "ISO_8859-8", -+ "CP866", -+ "ISO_8859-14:1998", -+ "CHAR", -+ "ISO88592", -+ "CP1251", -+ "CP154", -+ "ISO8859-2", -+ "HZ", -+ "ASCII", -+ "ISO-8859-2", -+ "ISO_8859-2", -+ "PTCP154", -+ "CP1131", -+ "CP1256", -+ "GBK", -+ "CP1361", -+ "CP936", -+ "KOREAN", -+ "IBM819", -+ "EUCKR", -+ "CP1255", -+ "ISO-IR-100", -+ "EUC-KR", -+ "ISO646-CN", -+ "KZ-1048", -+ "CSKOI8R", -+ "ISO_8859-10:1992", -+ "CP1254", -+ "LATIN1", -+ "LATIN-9", -+ "US", -+ "CP862", -+ "ISO8859-10", -+ "IBM866", -+ "ISO-8859-10", -+ "ISO_8859-10", -+ "CP1258", -+ "LATIN6", -+ "ISO8859-3", -+ "ISO-8859-3", -+ "ISO_8859-3", -+ "ISO8859-13", -+ "ISO_8859-9:1989", -+ "ISO-8859-13", -+ "ISO_8859-13", -+ "CP1252", -+ "CHINESE", -+ "CP950", -+ "LATIN5", -+ "MS936", -+ "ISO_646.IRV:1991", -+ "CP932", -+ "ISO-IR-203", -+ "ISO-IR-57", -+ "MS-ANSI", -+ "ISO-2022-KR", -+ "LATIN4", -+ "ISO-IR-157", -+ "VISCII", -+ "GB2312", -+ "ISO-IR-87", -+ "KSC_5601", -+ "MS-EE", -+ "CP50221", -+ "GREEK", -+ "LATIN8", -+ "CP850", -+ "UCS-4", -+ "GREEK8", -+ "ISO-IR-127", -+ "IBM862", -+ "GEORGIAN-PS", -+ "KS_C_5601-1989", -+ "ISO_8859-5:1988", -+ "LATIN2", -+ "CP1250", -+ "EUCCN", -+ "ISO_8859-4:1988", -+ "EUC-CN", -+ "CP874", -+ "CSASCII", -+ "ISO646-US", -+ "ISO_8859-8:1988", -+ "BIG5", -+ "CP1253", -+ "BIG-5", -+ "UCS-2", -+ "X0201", -+ "ROMAN8", -+ "VISCII1.1-1", -+ "MS-CYRL", -+ "ISO88597", -+ "CP1133", -+ "GB_1988-80", -+ "ISO8859-7", -+ "MULELAO-1", -+ "ISO-8859-7", -+ "ISO_8859-7", -+ "X0212", -+ "ECMA-114", -+ "CSKZ1048", -+ "ELOT_928", -+ "STRK1048-2002", -+ "IBM850", -+ "ISO_8859-3:1988", -+ "LATIN10", -+ "UTF-16", -+ "ECMA-118", -+ "ISO-2022-CN", -+ "LATIN3", -+ "TIS620", -+ "ISO_8859-1:1987", -+ "UCS-4LE", -+ "TIS-620", -+ "HP15CN", -+ "TCVN", -+ "ISO_8859-6:1987", -+ "CYRILLIC-ASIAN", -+ "UCS-2LE", -+ "X0208", -+ "GB18030", -+ "CSISO2022KR", -+ "CYRILLIC", -+ "UTF8", -+ "MAC", -+ "UTF-8", -+ "CSVISCII", -+ "ISO_8859-2:1987", -+ "CP1257", -+ "ISO-10646-UCS-4", -+ "KS_C_5601-1987", -+ "GB_2312-80", -+ "CP367", -+ "JP", -+ "ISO-10646-UCS-2", -+ "UNICODE-1-1", -+ "ISO_8859-7:2003", -+ "TIS620-0", -+ "ARMSCII-8", -+ "CSBIG5", -+ "CSISOLATIN1", -+ "US-ASCII", -+ "CN-BIG5", -+ "UTF-16LE", -+ "TIS620.2529-1", -+ "ANSI_X3.4-1986", -+ "LATIN7", -+ "CN-GB-ISOIR165", -+ "CSISOLATIN6", -+ "UHC", -+ "KOI8-T", -+ "MS-GREEK", -+ "ANSI_X3.4-1968", -+ "CSISOLATIN5", -+ "WINDOWS-1251", -+ "ISO_8859-7:1987", -+ "CSISO2022CN", -+ "UTF-32", -+ "IBM367", -+ "WINDOWS-1256", -+ "CSISOLATIN4", -+ "GEORGIAN-ACADEMY", -+ "WINDOWS-1255", -+ "WINDOWS-1254", -+ "ASMO-708", -+ "CSPTCP154", -+ "ISO646-JP", -+ "WINDOWS-936", -+ "WINDOWS-1258", -+ "WINDOWS-1252", -+ "CSISOLATIN2", -+ "IBM-CP1133", -+ "CSUCS4", -+ "CSKSC56011987", -+ "ISO-2022-CN-EXT", -+ "WINDOWS-1250", -+ "HP-ROMAN8", -+ "UTF-32LE", -+ "WINDOWS-1253", -+ "TIS620.2533-1", -+ "UCS-4BE", -+ "UCS-4-SWAPPED", -+ "UNICODE-1-1-UTF-7", -+ "UCS-4-INTERNAL", -+ "TCVN5712-1", -+ "CSIBM866", -+ "UTF-7", -+ "UCS-2BE", -+ "UCS-2-SWAPPED", -+ "MACICELAND", -+ "CSUNICODE11", -+ "UCS-2-INTERNAL", -+ "ARABIC", -+ "CSISOLATIN3", -+ "CSEUCKR", -+ "MACROMAN", -+ "KOI8-U", -+ "MACGREEK", -+ "KOI8-RU", -+ "TCVN-5712", -+ "WINDOWS-1257", -+ "EUCJP", -+ "CSUNICODE", -+ "CSISOLATINGREEK", -+ "EUC-JP", -+ "CN-GB", -+ "CSGB2312", -+ "CSISO57GB1988", -+ "MS-HEBR", -+ "TIS620.2533-0", -+ "WINDOWS-874", -+ "ISO-CELTIC", -+ "BIGFIVE", -+ "BIG-FIVE", -+ "UTF-16BE", -+ "CSISOLATINARABIC", -+ "ISO-2022-JP", -+ "ISO-2022-JP-1", -+ "ISO-2022-JP-MS", -+ "CSISO58GB231280", -+ "CSHPROMAN8", -+ "NEXTSTEP", -+ "JIS0208", -+ "CSISOLATINCYRILLIC", -+ "CSISO159JISX02121990", -+ "EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE", -+ "CSUNICODE11UTF7", -+ "HZ-GB-2312", -+ "ISO-2022-JP-2", -+ "MACCYRILLIC", -+ "BIG5HKSCS", -+ "BIG5-HKSCS", -+ "EUCTW", -+ "EUC-TW", -+ "MS-ARAB", -+ "MACROMANIA", -+ "UTF-32BE", -+ "JAVA", -+ "MS-TURK", -+ "SHIFT-JIS", -+ "SHIFT_JIS", -+ "CSISO14JISC6220RO", -+ "JIS_C6220-1969-RO", -+ "MACTHAI", -+ "JIS_C6226-1983", -+ "TCVN5712-1:1993", -+ "CSISO2022JP", -+ "MS_KANJI", -+ "MACUKRAINE", -+ "MACCROATIAN", -+ "HEBREW", -+ "UNICODEBIG", -+ "CSPC862LATINHEBREW", -+ "CSISO2022JP2", -+ "CSISOLATINHEBREW", -+ "WCHAR_T", -+ "MACCENTRALEUROPE", -+ "BIG5-HKSCS:1999", -+ "BIG5-HKSCS:2001", -+ "JIS_X0201", -+ "UNICODELITTLE", -+ "JIS_X0212", -+ "BIG5-HKSCS:2004", -+ "JISX0201-1976", -+ "MACARABIC", -+ "BIG5-HKSCS:2008", -+ "JIS_X0212-1990", -+ "JIS_X0208", -+ "MACINTOSH", -+ "JIS_X0212.1990-0", -+ "JIS_X0208-1990", -+ "JIS_X0208-1983", -+ "CSISO87JISX0208", -+ "CSPC850MULTILINGUAL", -+ "WINBALTRIM", -+ "CSSHIFTJIS", -+ "CSEUCTW", -+ "CSEUCPKDFMTJAPANESE", -+ "JOHAB", -+ "CSMACINTOSH", -+ "MACHEBREW", -+ "CSHALFWIDTHKATAKANA", -+ "MACTURKISH" -+ }; -+#define stringpool ((const char *) &stringpool_contents) -+ -+static const struct alias aliases[] = -+ { -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 317 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str19, ei_sjis}, -+ {-1}, {-1}, -+#line 61 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str22, ei_iso8859_1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 142 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str29, ei_iso8859_10}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 236 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str34, ei_hp_roman8}, -+ {-1}, -+#line 133 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str36, ei_iso8859_9}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 87 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str41, ei_iso8859_4}, -+ {-1}, -+#line 157 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str43, ei_iso8859_14}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 159 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str48, ei_iso8859_14}, -+ {-1}, -+#line 16 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str50, ei_ascii}, -+ {-1}, {-1}, {-1}, -+#line 70 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str54, ei_iso8859_2}, -+#line 216 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str55, ei_cp866}, -+ {-1}, {-1}, -+#line 292 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str58, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 308 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str63, ei_ksc5601}, -+ {-1}, {-1}, {-1}, -+#line 261 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str67, ei_tis620}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 243 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str76, ei_pt154}, -+ {-1}, {-1}, -+#line 273 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str79, ei_iso646_jp}, -+#line 79 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str80, ei_iso8859_3}, -+#line 303 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str81, ei_isoir165}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 112 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str92, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, -+#line 77 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str96, ei_iso8859_3}, -+ {-1}, -+#line 68 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str98, ei_iso8859_2}, -+ {-1}, -+#line 176 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str100, ei_koi8_r}, -+ {-1}, {-1}, -+#line 93 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str103, ei_iso8859_5}, -+ {-1}, -+#line 212 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str105, ei_cp862}, -+#line 136 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str106, ei_iso8859_9}, -+#line 300 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str107, ei_gb2312}, -+#line 64 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str108, ei_iso8859_1}, -+#line 135 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str109, ei_iso8859_9}, -+#line 52 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str110, ei_c99}, -+#line 63 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str111, ei_iso8859_1}, -+#line 128 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str112, ei_iso8859_9}, -+#line 129 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str113, ei_iso8859_9}, -+#line 54 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str114, ei_iso8859_1}, -+#line 55 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str115, ei_iso8859_1}, -+#line 147 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str116, ei_iso8859_11}, -+#line 131 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str117, ei_iso8859_9}, -+#line 152 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str118, ei_iso8859_13}, -+#line 145 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str119, ei_iso8859_11}, -+#line 146 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str120, ei_iso8859_11}, -+#line 297 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str121, ei_iso646_cn}, -+#line 107 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str122, ei_iso8859_6}, -+ {-1}, -+#line 172 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str124, ei_iso8859_16}, -+#line 106 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str125, ei_iso8859_6}, -+ {-1}, {-1}, -+#line 98 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str128, ei_iso8859_6}, -+#line 99 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str129, ei_iso8859_6}, -+#line 175 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str130, ei_iso8859_16}, -+#line 174 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str131, ei_iso8859_16}, -+#line 171 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str132, ei_iso8859_16}, -+#line 169 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str133, ei_iso8859_16}, -+#line 170 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str134, ei_iso8859_16}, -+ {-1}, -+#line 97 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str136, ei_iso8859_5}, -+ {-1}, -+#line 363 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str138, ei_cp949}, -+#line 96 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str139, ei_iso8859_5}, -+#line 150 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str140, ei_iso8859_13}, -+#line 168 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str141, ei_iso8859_15}, -+#line 90 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str142, ei_iso8859_5}, -+#line 91 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str143, ei_iso8859_5}, -+#line 167 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str144, ei_iso8859_15}, -+#line 208 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str145, ei_cp850}, -+#line 58 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str146, ei_iso8859_1}, -+#line 162 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str147, ei_iso8859_15}, -+#line 163 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str148, ei_iso8859_15}, -+#line 89 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str149, ei_iso8859_4}, -+#line 85 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str150, ei_iso8859_4}, -+#line 248 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str151, ei_rk1048}, -+#line 82 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str152, ei_iso8859_4}, -+#line 83 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str153, ei_iso8859_4}, -+#line 161 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_14}, -+ {-1}, -+#line 123 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str156, ei_iso8859_8}, -+#line 154 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str157, ei_iso8859_14}, -+#line 155 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str158, ei_iso8859_14}, -+ {-1}, -+#line 127 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str160, ei_iso8859_8}, -+ {-1}, {-1}, -+#line 126 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str163, ei_iso8859_8}, -+ {-1}, -+#line 164 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str165, ei_iso8859_15}, -+#line 120 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str166, ei_iso8859_8}, -+#line 121 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str167, ei_iso8859_8}, -+ {-1}, -+#line 214 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str169, ei_cp866}, -+#line 156 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str170, ei_iso8859_14}, -+#line 369 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str171, ei_local_char}, -+#line 73 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str172, ei_iso8859_2}, -+#line 183 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str173, ei_cp1251}, -+#line 245 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str174, ei_pt154}, -+#line 72 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str175, ei_iso8859_2}, -+#line 342 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str176, ei_hz}, -+#line 13 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str177, ei_ascii}, -+#line 65 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str178, ei_iso8859_2}, -+#line 66 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str179, ei_iso8859_2}, -+ {-1}, {-1}, -+#line 244 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str182, ei_pt154}, -+ {-1}, {-1}, -+#line 218 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str185, ei_cp1131}, -+ {-1}, -+#line 198 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str187, ei_cp1256}, -+ {-1}, {-1}, {-1}, -+#line 334 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str191, ei_ces_gbk}, -+#line 366 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str192, ei_johab}, -+#line 335 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str193, ei_cp936}, -+ {-1}, {-1}, -+#line 310 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str196, ei_ksc5601}, -+ {-1}, -+#line 59 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str198, ei_iso8859_1}, -+ {-1}, -+#line 361 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str200, ei_euc_kr}, -+#line 195 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str201, ei_cp1255}, -+#line 57 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str202, ei_iso8859_1}, -+#line 360 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str203, ei_euc_kr}, -+#line 295 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str204, ei_iso646_cn}, -+ {-1}, {-1}, -+#line 250 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str207, ei_rk1048}, -+#line 177 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str208, ei_koi8_r}, -+#line 139 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str209, ei_iso8859_10}, -+ {-1}, -+#line 192 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str211, ei_cp1254}, -+#line 60 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str212, ei_iso8859_1}, -+#line 166 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str213, ei_iso8859_15}, -+ {-1}, {-1}, -+#line 21 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str216, ei_ascii}, -+ {-1}, {-1}, -+#line 210 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str219, ei_cp862}, -+#line 144 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str220, ei_iso8859_10}, -+#line 215 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str221, ei_cp866}, -+ {-1}, -+#line 137 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str223, ei_iso8859_10}, -+#line 138 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str224, ei_iso8859_10}, -+#line 204 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str225, ei_cp1258}, -+#line 141 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str226, ei_iso8859_10}, -+#line 81 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str227, ei_iso8859_3}, -+ {-1}, {-1}, -+#line 74 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str230, ei_iso8859_3}, -+#line 75 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str231, ei_iso8859_3}, -+#line 153 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str232, ei_iso8859_13}, -+#line 130 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str233, ei_iso8859_9}, -+ {-1}, -+#line 148 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str235, ei_iso8859_13}, -+#line 149 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str236, ei_iso8859_13}, -+#line 186 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str237, ei_cp1252}, -+#line 302 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str238, ei_gb2312}, -+#line 353 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str239, ei_cp950}, -+#line 132 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str240, ei_iso8859_9}, -+#line 336 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str241, ei_cp936}, -+#line 15 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str242, ei_ascii}, -+#line 320 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str243, ei_cp932}, -+ {-1}, {-1}, -+#line 165 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str246, ei_iso8859_15}, -+#line 296 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str247, ei_iso646_cn}, -+#line 188 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str248, ei_cp1252}, -+#line 367 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str249, ei_iso2022_kr}, -+#line 86 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str250, ei_iso8859_4}, -+ {-1}, -+#line 140 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str252, ei_iso8859_10}, -+ {-1}, {-1}, {-1}, -+#line 264 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str256, ei_viscii}, -+ {-1}, -+#line 330 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str258, ei_euc_cn}, -+#line 285 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str259, ei_jisx0208}, -+#line 305 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str260, ei_ksc5601}, -+#line 182 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str261, ei_cp1250}, -+#line 327 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str262, ei_iso2022_jpms}, -+#line 116 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str263, ei_iso8859_7}, -+#line 158 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str264, ei_iso8859_14}, -+ {-1}, -+#line 206 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str266, ei_cp850}, -+#line 34 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str267, ei_ucs4}, -+ {-1}, -+#line 115 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str269, ei_iso8859_7}, -+#line 101 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str270, ei_iso8859_6}, -+#line 211 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str271, ei_cp862}, -+ {-1}, -+#line 241 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str273, ei_georgian_ps}, -+#line 307 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str274, ei_ksc5601}, -+#line 92 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str275, ei_iso8859_5}, -+#line 69 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str276, ei_iso8859_2}, -+#line 180 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str277, ei_cp1250}, -+#line 329 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str278, ei_euc_cn}, -+ {-1}, -+#line 84 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str280, ei_iso8859_4}, -+#line 328 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str281, ei_euc_cn}, -+#line 262 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str282, ei_cp874}, -+ {-1}, -+#line 22 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str284, ei_ascii}, -+#line 14 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str285, ei_ascii}, -+ {-1}, -+#line 122 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str287, ei_iso8859_8}, -+#line 347 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str288, ei_ces_big5}, -+#line 189 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str289, ei_cp1253}, -+ {-1}, -+#line 348 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str291, ei_ces_big5}, -+ {-1}, -+#line 25 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str293, ei_ucs2}, -+ {-1}, {-1}, -+#line 278 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str296, ei_jisx0201}, -+#line 235 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str297, ei_hp_roman8}, -+#line 265 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str298, ei_viscii}, -+#line 185 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str299, ei_cp1251}, -+#line 119 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str300, ei_iso8859_7}, -+#line 253 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str301, ei_cp1133}, -+#line 294 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str302, ei_iso646_cn}, -+#line 118 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str303, ei_iso8859_7}, -+ {-1}, -+#line 252 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str305, ei_mulelao}, -+#line 108 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str306, ei_iso8859_7}, -+#line 109 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str307, ei_iso8859_7}, -+#line 291 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str308, ei_jisx0212}, -+ {-1}, -+#line 102 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str310, ei_iso8859_6}, -+ {-1}, -+#line 251 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str312, ei_rk1048}, -+ {-1}, -+#line 114 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str314, ei_iso8859_7}, -+ {-1}, {-1}, -+#line 249 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str317, ei_rk1048}, -+#line 207 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str318, ei_cp850}, -+#line 76 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str319, ei_iso8859_3}, -+ {-1}, -+#line 173 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str321, ei_iso8859_16}, -+#line 39 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str322, ei_utf16}, -+ {-1}, -+#line 113 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str324, ei_iso8859_7}, -+ {-1}, {-1}, -+#line 339 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str327, ei_iso2022_cn}, -+#line 78 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str328, ei_iso8859_3}, -+ {-1}, -+#line 256 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str330, ei_tis620}, -+#line 56 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str331, ei_iso8859_1}, -+#line 38 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str332, ei_ucs4le}, -+#line 255 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str333, ei_tis620}, -+#line 333 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str334, ei_euc_cn}, -+ {-1}, {-1}, -+#line 267 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str337, ei_tcvn}, -+#line 100 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str338, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, -+#line 246 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str342, ei_pt154}, -+ {-1}, {-1}, -+#line 32 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str345, ei_ucs2le}, -+ {-1}, {-1}, -+#line 284 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str348, ei_jisx0208}, -+#line 338 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str349, ei_gb18030}, -+#line 368 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str350, ei_iso2022_kr}, -+#line 94 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str351, ei_iso8859_5}, -+#line 24 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str352, ei_utf8}, -+ {-1}, -+#line 221 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str354, ei_mac_roman}, -+#line 23 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str355, ei_utf8}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 266 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str362, ei_viscii}, -+#line 67 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str363, ei_iso8859_2}, -+ {-1}, -+#line 201 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str365, ei_cp1257}, -+ {-1}, {-1}, -+#line 35 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str368, ei_ucs4}, -+ {-1}, {-1}, -+#line 306 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str371, ei_ksc5601}, -+ {-1}, -+#line 299 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str373, ei_gb2312}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 19 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str379, ei_ascii}, -+#line 274 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str380, ei_iso646_jp}, -+#line 26 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str381, ei_ucs2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 30 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str387, ei_ucs2be}, -+ {-1}, -+#line 111 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str389, ei_iso8859_7}, -+#line 257 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str390, ei_tis620}, -+ {-1}, {-1}, -+#line 239 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str393, ei_armscii_8}, -+#line 352 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str394, ei_ces_big5}, -+#line 62 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str395, ei_iso8859_1}, -+#line 12 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str396, ei_ascii}, -+#line 351 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str397, ei_ces_big5}, -+ {-1}, -+#line 41 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str399, ei_utf16le}, -+#line 258 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str400, ei_tis620}, -+#line 18 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str401, ei_ascii}, -+ {-1}, {-1}, -+#line 151 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str404, ei_iso8859_13}, -+#line 304 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str405, ei_isoir165}, -+ {-1}, {-1}, {-1}, -+#line 143 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str409, ei_iso8859_10}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 364 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str415, ei_cp949}, -+ {-1}, {-1}, -+#line 242 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str418, ei_koi8_t}, -+#line 191 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str419, ei_cp1253}, -+#line 17 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str420, ei_ascii}, -+ {-1}, {-1}, -+#line 134 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str423, ei_iso8859_9}, -+ {-1}, -+#line 184 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str425, ei_cp1251}, -+ {-1}, -+#line 110 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str427, ei_iso8859_7}, -+#line 340 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str428, ei_iso2022_cn}, -+ {-1}, -+#line 42 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str430, ei_utf32}, -+#line 20 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str431, ei_ascii}, -+#line 199 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str432, ei_cp1256}, -+#line 88 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str433, ei_iso8859_4}, -+ {-1}, {-1}, -+#line 240 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str436, ei_georgian_academy}, -+ {-1}, {-1}, -+#line 196 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str439, ei_cp1255}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 193 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str444, ei_cp1254}, -+#line 103 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str445, ei_iso8859_6}, -+#line 247 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str446, ei_pt154}, -+ {-1}, -+#line 272 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str448, ei_iso646_jp}, -+#line 337 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str449, ei_cp936}, -+ {-1}, -+#line 205 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str451, ei_cp1258}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 187 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str457, ei_cp1252}, -+ {-1}, -+#line 71 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str459, ei_iso8859_2}, -+ {-1}, {-1}, -+#line 254 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str462, ei_cp1133}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 36 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str468, ei_ucs4}, -+ {-1}, -+#line 309 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str470, ei_ksc5601}, -+ {-1}, {-1}, {-1}, -+#line 341 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str474, ei_iso2022_cn_ext}, -+ {-1}, {-1}, -+#line 181 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str477, ei_cp1250}, -+ {-1}, -+#line 234 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str479, ei_hp_roman8}, -+ {-1}, {-1}, -+#line 44 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str482, ei_utf32le}, -+#line 190 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str483, ei_cp1253}, -+ {-1}, -+#line 260 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str485, ei_tis620}, -+#line 37 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str486, ei_ucs4be}, -+#line 51 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str487, ei_ucs4swapped}, -+ {-1}, -+#line 46 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str489, ei_utf7}, -+#line 50 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str490, ei_ucs4internal}, -+ {-1}, {-1}, -+#line 269 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str493, ei_tcvn}, -+#line 217 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str494, ei_cp866}, -+#line 45 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str495, ei_utf7}, -+ {-1}, {-1}, {-1}, -+#line 28 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str499, ei_ucs2be}, -+#line 49 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str500, ei_ucs2swapped}, -+#line 224 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str501, ei_mac_iceland}, -+#line 31 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str502, ei_ucs2be}, -+#line 48 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str503, ei_ucs2internal}, -+ {-1}, -+#line 104 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str505, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 80 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str511, ei_iso8859_3}, -+ {-1}, -+#line 362 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str513, ei_euc_kr}, -+ {-1}, -+#line 219 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str515, ei_mac_roman}, -+#line 178 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str516, ei_koi8_u}, -+ {-1}, -+#line 229 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str518, ei_mac_greek}, -+#line 179 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str519, ei_koi8_ru}, -+#line 268 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str520, ei_tcvn}, -+#line 202 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str521, ei_cp1257}, -+#line 312 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str522, ei_euc_jp}, -+#line 27 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str523, ei_ucs2}, -+#line 117 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str524, ei_iso8859_7}, -+#line 311 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str525, ei_euc_jp}, -+#line 331 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str526, ei_euc_cn}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 332 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str531, ei_euc_cn}, -+#line 298 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str532, ei_iso646_cn}, -+ {-1}, {-1}, {-1}, -+#line 197 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str536, ei_cp1255}, -+#line 259 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str537, ei_tis620}, -+#line 263 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str538, ei_cp874}, -+ {-1}, {-1}, -+#line 160 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str541, ei_iso8859_14}, -+#line 350 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str542, ei_ces_big5}, -+ {-1}, {-1}, -+#line 349 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str545, ei_ces_big5}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 40 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str553, ei_utf16be}, -+ {-1}, -+#line 105 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str555, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 321 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str571, ei_iso2022_jp}, -+ {-1}, {-1}, -+#line 323 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str574, ei_iso2022_jp1}, -+#line 326 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str575, ei_iso2022_jpms}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 301 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str581, ei_gb2312}, -+#line 237 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str582, ei_hp_roman8}, -+ {-1}, -+#line 238 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str584, ei_nextstep}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 283 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str594, ei_jisx0208}, -+ {-1}, -+#line 95 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str596, ei_iso8859_5}, -+ {-1}, {-1}, -+#line 293 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str599, ei_jisx0212}, -+ {-1}, -+#line 313 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str601, ei_euc_jp}, -+#line 47 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str602, ei_utf7}, -+ {-1}, {-1}, -+#line 343 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str605, ei_hz}, -+#line 324 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str606, ei_iso2022_jp2}, -+ {-1}, {-1}, {-1}, -+#line 227 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str610, ei_mac_cyrillic}, -+ {-1}, -+#line 358 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str612, ei_big5hkscs2008}, -+ {-1}, {-1}, -+#line 357 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str615, ei_big5hkscs2008}, -+ {-1}, {-1}, -+#line 345 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str618, ei_euc_tw}, -+ {-1}, {-1}, -+#line 344 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str621, ei_euc_tw}, -+ {-1}, {-1}, -+#line 200 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str624, ei_cp1256}, -+ {-1}, -+#line 226 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str626, ei_mac_romania}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 43 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str636, ei_utf32be}, -+ {-1}, {-1}, -+#line 53 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str639, ei_java}, -+ {-1}, -+#line 194 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str641, ei_cp1254}, -+ {-1}, -+#line 316 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str643, ei_sjis}, -+#line 315 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str644, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 275 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str651, ei_iso646_jp}, -+ {-1}, -+#line 271 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str653, ei_iso646_jp}, -+ {-1}, -+#line 233 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str655, ei_mac_thai}, -+ {-1}, {-1}, {-1}, -+#line 286 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str659, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, -+#line 270 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str671, ei_tcvn}, -+#line 322 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str672, ei_iso2022_jp}, -+ {-1}, {-1}, {-1}, -+#line 318 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str676, ei_sjis}, -+ {-1}, {-1}, {-1}, -+#line 228 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str680, ei_mac_ukraine}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 225 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str696, ei_mac_croatian}, -+ {-1}, -+#line 124 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str698, ei_iso8859_8}, -+#line 29 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str699, ei_ucs2be}, -+#line 213 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str700, ei_cp862}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 325 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str706, ei_iso2022_jp2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 125 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str719, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, -+#line 370 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str723, ei_local_wchar_t}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 223 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str731, ei_mac_centraleurope}, -+ {-1}, {-1}, -+#line 354 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str734, ei_big5hkscs1999}, -+#line 355 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str735, ei_big5hkscs2001}, -+ {-1}, {-1}, -+#line 276 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str738, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 33 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str749, ei_ucs2le}, -+#line 288 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str750, ei_jisx0212}, -+ {-1}, {-1}, {-1}, -+#line 356 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str754, ei_big5hkscs2004}, -+#line 277 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str755, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 232 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str760, ei_mac_arabic}, -+#line 359 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str761, ei_big5hkscs2008}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 290 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str781, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 280 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str790, ei_jisx0208}, -+#line 220 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str791, ei_mac_roman}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, -+#line 289 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str803, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 282 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str827, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 281 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str833, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 287 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str864, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 209 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str880, ei_cp850}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 203 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str898, ei_cp1257}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 319 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str912, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 346 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str931, ei_euc_tw}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 314 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str950, ei_euc_jp}, -+#line 365 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str951, ei_johab}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 222 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str956, ei_mac_roman}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, -+#line 231 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str986, ei_mac_hebrew}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 279 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str1001, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 230 "lib/aliases_syshpux.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str1033, ei_mac_turkish} -+ }; -+ -+#ifdef __GNUC__ -+__inline -+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ -+__attribute__ ((__gnu_inline__)) -+#endif -+#endif -+const struct alias * -+aliases_lookup (register const char *str, register unsigned int len) -+{ -+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) -+ { -+ register int key = aliases_hash (str, len); -+ -+ if (key <= MAX_HASH_VALUE && key >= 0) -+ { -+ register int o = aliases[key].name; -+ if (o >= 0) -+ { -+ register const char *s = o + stringpool; -+ -+ if (*str == *s && !strcmp (str + 1, s + 1)) -+ return &aliases[key]; -+ } -+ } -+ } -+ return 0; -+} -diff -Naur libiconv-20130504/lib/aliases_sysosf1.gperf libiconv-20130504.patch/lib/aliases_sysosf1.gperf ---- libiconv-20130504/lib/aliases_sysosf1.gperf 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_sysosf1.gperf 2013-05-04 10:23:30.061106286 +0200 -@@ -0,0 +1,365 @@ -+struct alias { int name; unsigned int encoding_index; }; -+%struct-type -+%language=ANSI-C -+%define hash-function-name aliases_hash -+%define lookup-function-name aliases_lookup -+%7bit -+%readonly-tables -+%global-table -+%define word-array-name aliases -+%pic -+%% -+US-ASCII, ei_ascii -+ASCII, ei_ascii -+ISO646-US, ei_ascii -+ISO_646.IRV:1991, ei_ascii -+ISO-IR-6, ei_ascii -+ANSI_X3.4-1968, ei_ascii -+ANSI_X3.4-1986, ei_ascii -+CP367, ei_ascii -+IBM367, ei_ascii -+US, ei_ascii -+CSASCII, ei_ascii -+UTF-8, ei_utf8 -+UCS-2, ei_ucs2 -+ISO-10646-UCS-2, ei_ucs2 -+CSUNICODE, ei_ucs2 -+UCS-2BE, ei_ucs2be -+UNICODEBIG, ei_ucs2be -+UNICODE-1-1, ei_ucs2be -+CSUNICODE11, ei_ucs2be -+UCS-2LE, ei_ucs2le -+UNICODELITTLE, ei_ucs2le -+UCS-4, ei_ucs4 -+ISO-10646-UCS-4, ei_ucs4 -+CSUCS4, ei_ucs4 -+UCS-4BE, ei_ucs4be -+UCS-4LE, ei_ucs4le -+UTF-16, ei_utf16 -+UTF-16BE, ei_utf16be -+UTF-16LE, ei_utf16le -+UTF-32, ei_utf32 -+UTF-32BE, ei_utf32be -+UTF-32LE, ei_utf32le -+UTF-7, ei_utf7 -+UNICODE-1-1-UTF-7, ei_utf7 -+CSUNICODE11UTF7, ei_utf7 -+UCS-2-INTERNAL, ei_ucs2internal -+UCS-2-SWAPPED, ei_ucs2swapped -+UCS-4-INTERNAL, ei_ucs4internal -+UCS-4-SWAPPED, ei_ucs4swapped -+C99, ei_c99 -+JAVA, ei_java -+ISO-8859-1, ei_iso8859_1 -+ISO_8859-1, ei_iso8859_1 -+ISO_8859-1:1987, ei_iso8859_1 -+ISO-IR-100, ei_iso8859_1 -+CP819, ei_iso8859_1 -+IBM819, ei_iso8859_1 -+LATIN1, ei_iso8859_1 -+L1, ei_iso8859_1 -+CSISOLATIN1, ei_iso8859_1 -+ISO8859-1, ei_iso8859_1 -+ISO-8859-2, ei_iso8859_2 -+ISO_8859-2, ei_iso8859_2 -+ISO_8859-2:1987, ei_iso8859_2 -+ISO-IR-101, ei_iso8859_2 -+LATIN2, ei_iso8859_2 -+L2, ei_iso8859_2 -+CSISOLATIN2, ei_iso8859_2 -+ISO8859-2, ei_iso8859_2 -+ISO-8859-3, ei_iso8859_3 -+ISO_8859-3, ei_iso8859_3 -+ISO_8859-3:1988, ei_iso8859_3 -+ISO-IR-109, ei_iso8859_3 -+LATIN3, ei_iso8859_3 -+L3, ei_iso8859_3 -+CSISOLATIN3, ei_iso8859_3 -+ISO8859-3, ei_iso8859_3 -+ISO-8859-4, ei_iso8859_4 -+ISO_8859-4, ei_iso8859_4 -+ISO_8859-4:1988, ei_iso8859_4 -+ISO-IR-110, ei_iso8859_4 -+LATIN4, ei_iso8859_4 -+L4, ei_iso8859_4 -+CSISOLATIN4, ei_iso8859_4 -+ISO8859-4, ei_iso8859_4 -+ISO-8859-5, ei_iso8859_5 -+ISO_8859-5, ei_iso8859_5 -+ISO_8859-5:1988, ei_iso8859_5 -+ISO-IR-144, ei_iso8859_5 -+CYRILLIC, ei_iso8859_5 -+CSISOLATINCYRILLIC, ei_iso8859_5 -+ISO8859-5, ei_iso8859_5 -+ISO-8859-6, ei_iso8859_6 -+ISO_8859-6, ei_iso8859_6 -+ISO_8859-6:1987, ei_iso8859_6 -+ISO-IR-127, ei_iso8859_6 -+ECMA-114, ei_iso8859_6 -+ASMO-708, ei_iso8859_6 -+ARABIC, ei_iso8859_6 -+CSISOLATINARABIC, ei_iso8859_6 -+ISO8859-6, ei_iso8859_6 -+ISO-8859-7, ei_iso8859_7 -+ISO_8859-7, ei_iso8859_7 -+ISO_8859-7:1987, ei_iso8859_7 -+ISO_8859-7:2003, ei_iso8859_7 -+ISO-IR-126, ei_iso8859_7 -+ECMA-118, ei_iso8859_7 -+ELOT_928, ei_iso8859_7 -+GREEK8, ei_iso8859_7 -+GREEK, ei_iso8859_7 -+CSISOLATINGREEK, ei_iso8859_7 -+ISO8859-7, ei_iso8859_7 -+ISO-8859-8, ei_iso8859_8 -+ISO_8859-8, ei_iso8859_8 -+ISO_8859-8:1988, ei_iso8859_8 -+ISO-IR-138, ei_iso8859_8 -+HEBREW, ei_iso8859_8 -+CSISOLATINHEBREW, ei_iso8859_8 -+ISO8859-8, ei_iso8859_8 -+ISO-8859-9, ei_iso8859_9 -+ISO_8859-9, ei_iso8859_9 -+ISO_8859-9:1989, ei_iso8859_9 -+ISO-IR-148, ei_iso8859_9 -+LATIN5, ei_iso8859_9 -+L5, ei_iso8859_9 -+CSISOLATIN5, ei_iso8859_9 -+ISO8859-9, ei_iso8859_9 -+ISO-8859-10, ei_iso8859_10 -+ISO_8859-10, ei_iso8859_10 -+ISO_8859-10:1992, ei_iso8859_10 -+ISO-IR-157, ei_iso8859_10 -+LATIN6, ei_iso8859_10 -+L6, ei_iso8859_10 -+CSISOLATIN6, ei_iso8859_10 -+ISO8859-10, ei_iso8859_10 -+ISO-8859-11, ei_iso8859_11 -+ISO_8859-11, ei_iso8859_11 -+ISO8859-11, ei_iso8859_11 -+ISO-8859-13, ei_iso8859_13 -+ISO_8859-13, ei_iso8859_13 -+ISO-IR-179, ei_iso8859_13 -+LATIN7, ei_iso8859_13 -+L7, ei_iso8859_13 -+ISO8859-13, ei_iso8859_13 -+ISO-8859-14, ei_iso8859_14 -+ISO_8859-14, ei_iso8859_14 -+ISO_8859-14:1998, ei_iso8859_14 -+ISO-IR-199, ei_iso8859_14 -+LATIN8, ei_iso8859_14 -+L8, ei_iso8859_14 -+ISO-CELTIC, ei_iso8859_14 -+ISO8859-14, ei_iso8859_14 -+ISO-8859-15, ei_iso8859_15 -+ISO_8859-15, ei_iso8859_15 -+ISO_8859-15:1998, ei_iso8859_15 -+ISO-IR-203, ei_iso8859_15 -+LATIN-9, ei_iso8859_15 -+ISO8859-15, ei_iso8859_15 -+ISO-8859-16, ei_iso8859_16 -+ISO_8859-16, ei_iso8859_16 -+ISO_8859-16:2001, ei_iso8859_16 -+ISO-IR-226, ei_iso8859_16 -+LATIN10, ei_iso8859_16 -+L10, ei_iso8859_16 -+ISO8859-16, ei_iso8859_16 -+KOI8-R, ei_koi8_r -+CSKOI8R, ei_koi8_r -+KOI8-U, ei_koi8_u -+KOI8-RU, ei_koi8_ru -+CP1250, ei_cp1250 -+WINDOWS-1250, ei_cp1250 -+MS-EE, ei_cp1250 -+CP1251, ei_cp1251 -+WINDOWS-1251, ei_cp1251 -+MS-CYRL, ei_cp1251 -+CP1252, ei_cp1252 -+WINDOWS-1252, ei_cp1252 -+MS-ANSI, ei_cp1252 -+CP1253, ei_cp1253 -+WINDOWS-1253, ei_cp1253 -+MS-GREEK, ei_cp1253 -+CP1254, ei_cp1254 -+WINDOWS-1254, ei_cp1254 -+MS-TURK, ei_cp1254 -+CP1255, ei_cp1255 -+WINDOWS-1255, ei_cp1255 -+MS-HEBR, ei_cp1255 -+CP1256, ei_cp1256 -+WINDOWS-1256, ei_cp1256 -+MS-ARAB, ei_cp1256 -+CP1257, ei_cp1257 -+WINDOWS-1257, ei_cp1257 -+WINBALTRIM, ei_cp1257 -+CP1258, ei_cp1258 -+WINDOWS-1258, ei_cp1258 -+CP850, ei_cp850 -+IBM850, ei_cp850 -+850, ei_cp850 -+CSPC850MULTILINGUAL, ei_cp850 -+CP862, ei_cp862 -+IBM862, ei_cp862 -+862, ei_cp862 -+CSPC862LATINHEBREW, ei_cp862 -+CP866, ei_cp866 -+IBM866, ei_cp866 -+866, ei_cp866 -+CSIBM866, ei_cp866 -+CP1131, ei_cp1131 -+MACROMAN, ei_mac_roman -+MACINTOSH, ei_mac_roman -+MAC, ei_mac_roman -+CSMACINTOSH, ei_mac_roman -+MACCENTRALEUROPE, ei_mac_centraleurope -+MACICELAND, ei_mac_iceland -+MACCROATIAN, ei_mac_croatian -+MACROMANIA, ei_mac_romania -+MACCYRILLIC, ei_mac_cyrillic -+MACUKRAINE, ei_mac_ukraine -+MACGREEK, ei_mac_greek -+MACTURKISH, ei_mac_turkish -+MACHEBREW, ei_mac_hebrew -+MACARABIC, ei_mac_arabic -+MACTHAI, ei_mac_thai -+HP-ROMAN8, ei_hp_roman8 -+ROMAN8, ei_hp_roman8 -+R8, ei_hp_roman8 -+CSHPROMAN8, ei_hp_roman8 -+NEXTSTEP, ei_nextstep -+ARMSCII-8, ei_armscii_8 -+GEORGIAN-ACADEMY, ei_georgian_academy -+GEORGIAN-PS, ei_georgian_ps -+KOI8-T, ei_koi8_t -+PT154, ei_pt154 -+PTCP154, ei_pt154 -+CP154, ei_pt154 -+CYRILLIC-ASIAN, ei_pt154 -+CSPTCP154, ei_pt154 -+RK1048, ei_rk1048 -+STRK1048-2002, ei_rk1048 -+KZ-1048, ei_rk1048 -+CSKZ1048, ei_rk1048 -+MULELAO-1, ei_mulelao -+CP1133, ei_cp1133 -+IBM-CP1133, ei_cp1133 -+TIS-620, ei_tis620 -+TIS620, ei_tis620 -+TIS620-0, ei_tis620 -+TIS620.2529-1, ei_tis620 -+TIS620.2533-0, ei_tis620 -+TIS620.2533-1, ei_tis620 -+ISO-IR-166, ei_tis620 -+TACTIS, ei_tis620 -+CP874, ei_cp874 -+WINDOWS-874, ei_cp874 -+VISCII, ei_viscii -+VISCII1.1-1, ei_viscii -+CSVISCII, ei_viscii -+TCVN, ei_tcvn -+TCVN-5712, ei_tcvn -+TCVN5712-1, ei_tcvn -+TCVN5712-1:1993, ei_tcvn -+JIS_C6220-1969-RO, ei_iso646_jp -+ISO646-JP, ei_iso646_jp -+ISO-IR-14, ei_iso646_jp -+JP, ei_iso646_jp -+CSISO14JISC6220RO, ei_iso646_jp -+JIS_X0201, ei_jisx0201 -+JISX0201-1976, ei_jisx0201 -+X0201, ei_jisx0201 -+CSHALFWIDTHKATAKANA, ei_jisx0201 -+JIS_X0208, ei_jisx0208 -+JIS_X0208-1983, ei_jisx0208 -+JIS_X0208-1990, ei_jisx0208 -+JIS0208, ei_jisx0208 -+X0208, ei_jisx0208 -+ISO-IR-87, ei_jisx0208 -+JIS_C6226-1983, ei_jisx0208 -+CSISO87JISX0208, ei_jisx0208 -+JIS_X0212, ei_jisx0212 -+JIS_X0212.1990-0, ei_jisx0212 -+JIS_X0212-1990, ei_jisx0212 -+X0212, ei_jisx0212 -+ISO-IR-159, ei_jisx0212 -+CSISO159JISX02121990, ei_jisx0212 -+GB_1988-80, ei_iso646_cn -+ISO646-CN, ei_iso646_cn -+ISO-IR-57, ei_iso646_cn -+CN, ei_iso646_cn -+CSISO57GB1988, ei_iso646_cn -+GB_2312-80, ei_gb2312 -+ISO-IR-58, ei_gb2312 -+CSISO58GB231280, ei_gb2312 -+CHINESE, ei_gb2312 -+ISO-IR-165, ei_isoir165 -+CN-GB-ISOIR165, ei_isoir165 -+KSC_5601, ei_ksc5601 -+KS_C_5601-1987, ei_ksc5601 -+KS_C_5601-1989, ei_ksc5601 -+ISO-IR-149, ei_ksc5601 -+CSKSC56011987, ei_ksc5601 -+KOREAN, ei_ksc5601 -+EUC-JP, ei_euc_jp -+EUCJP, ei_euc_jp -+EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE, ei_euc_jp -+CSEUCPKDFMTJAPANESE, ei_euc_jp -+SDECKANJI, ei_euc_jp -+SHIFT_JIS, ei_sjis -+SHIFT-JIS, ei_sjis -+SJIS, ei_sjis -+MS_KANJI, ei_sjis -+CSSHIFTJIS, ei_sjis -+CP932, ei_cp932 -+ISO-2022-JP, ei_iso2022_jp -+CSISO2022JP, ei_iso2022_jp -+ISO-2022-JP-1, ei_iso2022_jp1 -+ISO-2022-JP-2, ei_iso2022_jp2 -+CSISO2022JP2, ei_iso2022_jp2 -+ISO-2022-JP-MS, ei_iso2022_jpms -+CP50221, ei_iso2022_jpms -+EUC-CN, ei_euc_cn -+EUCCN, ei_euc_cn -+GB2312, ei_euc_cn -+CN-GB, ei_euc_cn -+CSGB2312, ei_euc_cn -+DECHANZI, ei_euc_cn -+GBK, ei_ces_gbk -+CP936, ei_cp936 -+MS936, ei_cp936 -+WINDOWS-936, ei_cp936 -+GB18030, ei_gb18030 -+ISO-2022-CN, ei_iso2022_cn -+CSISO2022CN, ei_iso2022_cn -+ISO-2022-CN-EXT, ei_iso2022_cn_ext -+HZ, ei_hz -+HZ-GB-2312, ei_hz -+EUC-TW, ei_euc_tw -+EUCTW, ei_euc_tw -+CSEUCTW, ei_euc_tw -+BIG5, ei_ces_big5 -+BIG-5, ei_ces_big5 -+BIG-FIVE, ei_ces_big5 -+BIGFIVE, ei_ces_big5 -+CN-BIG5, ei_ces_big5 -+CSBIG5, ei_ces_big5 -+CP950, ei_cp950 -+BIG5-HKSCS:1999, ei_big5hkscs1999 -+BIG5-HKSCS:2001, ei_big5hkscs2001 -+BIG5-HKSCS:2004, ei_big5hkscs2004 -+BIG5-HKSCS, ei_big5hkscs2008 -+BIG5HKSCS, ei_big5hkscs2008 -+BIG5-HKSCS:2008, ei_big5hkscs2008 -+EUC-KR, ei_euc_kr -+EUCKR, ei_euc_kr -+CSEUCKR, ei_euc_kr -+DECKOREAN, ei_euc_kr -+CP949, ei_cp949 -+UHC, ei_cp949 -+KSC5601, ei_cp949 -+JOHAB, ei_johab -+CP1361, ei_johab -+ISO-2022-KR, ei_iso2022_kr -+CSISO2022KR, ei_iso2022_kr -+CHAR, ei_local_char -+WCHAR_T, ei_local_wchar_t -diff -Naur libiconv-20130504/lib/aliases_sysosf1.h libiconv-20130504.patch/lib/aliases_sysosf1.h ---- libiconv-20130504/lib/aliases_sysosf1.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_sysosf1.h 2013-05-04 10:23:30.218105826 +0200 -@@ -0,0 +1,1750 @@ -+/* ANSI-C code produced by gperf version 3.0.4 */ -+/* Command-line: gperf -m 10 lib/aliases_sysosf1.gperf */ -+/* Computed positions: -k'1,3-11,$' */ -+ -+#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ -+ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ -+ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ -+ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ -+ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ -+ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ -+ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ -+ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ -+ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ -+ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ -+ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ -+ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ -+ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ -+ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ -+ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ -+ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ -+ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ -+ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ -+ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ -+ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ -+ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ -+ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ -+ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) -+/* The character set is not based on ISO-646. */ -+#error "gperf generated tables don't work with this execution character set. Please report a bug to ." -+#endif -+ -+#line 1 "lib/aliases_sysosf1.gperf" -+struct alias { int name; unsigned int encoding_index; }; -+ -+#define TOTAL_KEYWORDS 354 -+#define MIN_WORD_LENGTH 2 -+#define MAX_WORD_LENGTH 45 -+#define MIN_HASH_VALUE 15 -+#define MAX_HASH_VALUE 981 -+/* maximum key range = 967, duplicates = 0 */ -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static unsigned int -+aliases_hash (register const char *str, register unsigned int len) -+{ -+ static const unsigned short asso_values[] = -+ { -+ 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, -+ 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, -+ 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, -+ 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, -+ 982, 982, 982, 982, 982, 5, 96, 982, 97, 7, -+ 33, 102, 15, 17, 5, 173, 23, 25, 298, 982, -+ 982, 982, 982, 982, 982, 168, 248, 11, 26, 25, -+ 17, 29, 29, 6, 139, 153, 8, 132, 7, 6, -+ 114, 982, 5, 8, 30, 235, 185, 182, 225, 5, -+ 18, 982, 982, 982, 982, 6, 982, 982, 982, 982, -+ 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, -+ 982, 982, 982, 982, 982, 982, 982, 982, 982, 982, -+ 982, 982, 982, 982, 982, 982, 982, 982 -+ }; -+ register int hval = len; -+ -+ switch (hval) -+ { -+ default: -+ hval += asso_values[(unsigned char)str[10]]; -+ /*FALLTHROUGH*/ -+ case 10: -+ hval += asso_values[(unsigned char)str[9]]; -+ /*FALLTHROUGH*/ -+ case 9: -+ hval += asso_values[(unsigned char)str[8]]; -+ /*FALLTHROUGH*/ -+ case 8: -+ hval += asso_values[(unsigned char)str[7]]; -+ /*FALLTHROUGH*/ -+ case 7: -+ hval += asso_values[(unsigned char)str[6]]; -+ /*FALLTHROUGH*/ -+ case 6: -+ hval += asso_values[(unsigned char)str[5]]; -+ /*FALLTHROUGH*/ -+ case 5: -+ hval += asso_values[(unsigned char)str[4]]; -+ /*FALLTHROUGH*/ -+ case 4: -+ hval += asso_values[(unsigned char)str[3]]; -+ /*FALLTHROUGH*/ -+ case 3: -+ hval += asso_values[(unsigned char)str[2]]; -+ /*FALLTHROUGH*/ -+ case 2: -+ case 1: -+ hval += asso_values[(unsigned char)str[0]]; -+ break; -+ } -+ return hval + asso_values[(unsigned char)str[len - 1]]; -+} -+ -+struct stringpool_t -+ { -+ char stringpool_str15[sizeof("L6")]; -+ char stringpool_str17[sizeof("L1")]; -+ char stringpool_str20[sizeof("CN")]; -+ char stringpool_str25[sizeof("L4")]; -+ char stringpool_str27[sizeof("L5")]; -+ char stringpool_str30[sizeof("R8")]; -+ char stringpool_str33[sizeof("L8")]; -+ char stringpool_str34[sizeof("SJIS")]; -+ char stringpool_str36[sizeof("866")]; -+ char stringpool_str43[sizeof("L2")]; -+ char stringpool_str49[sizeof("HZ")]; -+ char stringpool_str51[sizeof("ISO-IR-6")]; -+ char stringpool_str54[sizeof("CP866")]; -+ char stringpool_str64[sizeof("C99")]; -+ char stringpool_str65[sizeof("ISO-IR-166")]; -+ char stringpool_str66[sizeof("EUCCN")]; -+ char stringpool_str67[sizeof("LATIN6")]; -+ char stringpool_str70[sizeof("CP154")]; -+ char stringpool_str71[sizeof("LATIN1")]; -+ char stringpool_str72[sizeof("EUC-CN")]; -+ char stringpool_str74[sizeof("CYRILLIC")]; -+ char stringpool_str76[sizeof("ISO646-CN")]; -+ char stringpool_str79[sizeof("ISO-IR-14")]; -+ char stringpool_str84[sizeof("CP1256")]; -+ char stringpool_str87[sizeof("LATIN4")]; -+ char stringpool_str88[sizeof("CP1251")]; -+ char stringpool_str89[sizeof("ISO-IR-165")]; -+ char stringpool_str91[sizeof("LATIN5")]; -+ char stringpool_str92[sizeof("862")]; -+ char stringpool_str93[sizeof("ISO-IR-126")]; -+ char stringpool_str95[sizeof("ISO-IR-144")]; -+ char stringpool_str96[sizeof("CP819")]; -+ char stringpool_str99[sizeof("TACTIS")]; -+ char stringpool_str103[sizeof("LATIN8")]; -+ char stringpool_str104[sizeof("CP1254")]; -+ char stringpool_str105[sizeof("ISO-IR-58")]; -+ char stringpool_str106[sizeof("CP949")]; -+ char stringpool_str108[sizeof("CP1255")]; -+ char stringpool_str110[sizeof("CP862")]; -+ char stringpool_str111[sizeof("ISO-IR-148")]; -+ char stringpool_str112[sizeof("L3")]; -+ char stringpool_str113[sizeof("LATIN-9")]; -+ char stringpool_str114[sizeof("CHINESE")]; -+ char stringpool_str115[sizeof("ISO-IR-149")]; -+ char stringpool_str117[sizeof("ISO-IR-159")]; -+ char stringpool_str119[sizeof("ISO-IR-226")]; -+ char stringpool_str120[sizeof("CP1258")]; -+ char stringpool_str123[sizeof("LATIN2")]; -+ char stringpool_str124[sizeof("ISO8859-6")]; -+ char stringpool_str125[sizeof("ISO-IR-199")]; -+ char stringpool_str128[sizeof("ISO8859-1")]; -+ char stringpool_str129[sizeof("ISO-CELTIC")]; -+ char stringpool_str130[sizeof("ISO-8859-6")]; -+ char stringpool_str131[sizeof("ISO_8859-6")]; -+ char stringpool_str132[sizeof("ISO8859-16")]; -+ char stringpool_str134[sizeof("ISO-8859-1")]; -+ char stringpool_str135[sizeof("ISO_8859-1")]; -+ char stringpool_str136[sizeof("ISO8859-11")]; -+ char stringpool_str138[sizeof("ISO-8859-16")]; -+ char stringpool_str139[sizeof("ISO_8859-16")]; -+ char stringpool_str140[sizeof("CP1252")]; -+ char stringpool_str142[sizeof("ISO-8859-11")]; -+ char stringpool_str143[sizeof("ISO_8859-11")]; -+ char stringpool_str144[sizeof("ISO8859-4")]; -+ char stringpool_str145[sizeof("CP1361")]; -+ char stringpool_str146[sizeof("ISO_8859-16:2001")]; -+ char stringpool_str147[sizeof("CP1131")]; -+ char stringpool_str148[sizeof("ISO8859-5")]; -+ char stringpool_str150[sizeof("ISO-8859-4")]; -+ char stringpool_str151[sizeof("ISO_8859-4")]; -+ char stringpool_str152[sizeof("ISO8859-14")]; -+ char stringpool_str153[sizeof("CP936")]; -+ char stringpool_str154[sizeof("ISO-8859-5")]; -+ char stringpool_str155[sizeof("ISO_8859-5")]; -+ char stringpool_str156[sizeof("ISO8859-15")]; -+ char stringpool_str157[sizeof("MAC")]; -+ char stringpool_str158[sizeof("ISO-8859-14")]; -+ char stringpool_str159[sizeof("ISO_8859-14")]; -+ char stringpool_str160[sizeof("ISO8859-8")]; -+ char stringpool_str161[sizeof("ISO-IR-101")]; -+ char stringpool_str162[sizeof("ISO-8859-15")]; -+ char stringpool_str163[sizeof("ISO_8859-15")]; -+ char stringpool_str164[sizeof("ISO8859-9")]; -+ char stringpool_str166[sizeof("ISO-8859-8")]; -+ char stringpool_str167[sizeof("ISO_8859-8")]; -+ char stringpool_str170[sizeof("ISO-8859-9")]; -+ char stringpool_str171[sizeof("ISO_8859-9")]; -+ char stringpool_str172[sizeof("ISO_8859-14:1998")]; -+ char stringpool_str173[sizeof("PT154")]; -+ char stringpool_str174[sizeof("ISO_8859-15:1998")]; -+ char stringpool_str176[sizeof("RK1048")]; -+ char stringpool_str179[sizeof("ELOT_928")]; -+ char stringpool_str180[sizeof("ISO8859-2")]; -+ char stringpool_str181[sizeof("MS-CYRL")]; -+ char stringpool_str182[sizeof("IBM866")]; -+ char stringpool_str183[sizeof("L7")]; -+ char stringpool_str186[sizeof("ISO-8859-2")]; -+ char stringpool_str187[sizeof("ISO_8859-2")]; -+ char stringpool_str193[sizeof("CHAR")]; -+ char stringpool_str197[sizeof("ISO-IR-109")]; -+ char stringpool_str198[sizeof("ISO-IR-138")]; -+ char stringpool_str202[sizeof("ASCII")]; -+ char stringpool_str203[sizeof("KOI8-R")]; -+ char stringpool_str204[sizeof("EUCKR")]; -+ char stringpool_str205[sizeof("L10")]; -+ char stringpool_str209[sizeof("CP932")]; -+ char stringpool_str210[sizeof("EUC-KR")]; -+ char stringpool_str212[sizeof("CP50221")]; -+ char stringpool_str216[sizeof("CSKOI8R")]; -+ char stringpool_str217[sizeof("MS-EE")]; -+ char stringpool_str220[sizeof("850")]; -+ char stringpool_str223[sizeof("CSASCII")]; -+ char stringpool_str224[sizeof("IBM819")]; -+ char stringpool_str225[sizeof("MACCYRILLIC")]; -+ char stringpool_str228[sizeof("VISCII")]; -+ char stringpool_str233[sizeof("TCVN")]; -+ char stringpool_str236[sizeof("SHIFT-JIS")]; -+ char stringpool_str237[sizeof("SHIFT_JIS")]; -+ char stringpool_str238[sizeof("IBM862")]; -+ char stringpool_str240[sizeof("CSISO14JISC6220RO")]; -+ char stringpool_str242[sizeof("CP874")]; -+ char stringpool_str243[sizeof("GB2312")]; -+ char stringpool_str245[sizeof("US")]; -+ char stringpool_str247[sizeof("CSVISCII")]; -+ char stringpool_str250[sizeof("CP850")]; -+ char stringpool_str251[sizeof("ISO-IR-110")]; -+ char stringpool_str252[sizeof("CP950")]; -+ char stringpool_str253[sizeof("KOI8-T")]; -+ char stringpool_str254[sizeof("ISO-2022-CN")]; -+ char stringpool_str255[sizeof("JP")]; -+ char stringpool_str257[sizeof("CYRILLIC-ASIAN")]; -+ char stringpool_str259[sizeof("LATIN10")]; -+ char stringpool_str260[sizeof("UHC")]; -+ char stringpool_str261[sizeof("LATIN3")]; -+ char stringpool_str263[sizeof("CSISO2022CN")]; -+ char stringpool_str264[sizeof("ISO_8859-10:1992")]; -+ char stringpool_str267[sizeof("MACINTOSH")]; -+ char stringpool_str268[sizeof("CP1250")]; -+ char stringpool_str271[sizeof("CSISOLATIN6")]; -+ char stringpool_str272[sizeof("CSSHIFTJIS")]; -+ char stringpool_str273[sizeof("ISO-IR-179")]; -+ char stringpool_str274[sizeof("MS936")]; -+ char stringpool_str275[sizeof("CSISOLATIN1")]; -+ char stringpool_str276[sizeof("TIS620")]; -+ char stringpool_str278[sizeof("CP1253")]; -+ char stringpool_str279[sizeof("DECHANZI")]; -+ char stringpool_str280[sizeof("UTF-16")]; -+ char stringpool_str281[sizeof("ISO-2022-CN-EXT")]; -+ char stringpool_str282[sizeof("TIS-620")]; -+ char stringpool_str283[sizeof("UCS-4")]; -+ char stringpool_str284[sizeof("GREEK8")]; -+ char stringpool_str290[sizeof("CSISOLATINCYRILLIC")]; -+ char stringpool_str291[sizeof("CSISOLATIN4")]; -+ char stringpool_str295[sizeof("CSISOLATIN5")]; -+ char stringpool_str300[sizeof("PTCP154")]; -+ char stringpool_str301[sizeof("CSUCS4")]; -+ char stringpool_str302[sizeof("ISO646-US")]; -+ char stringpool_str304[sizeof("KSC5601")]; -+ char stringpool_str308[sizeof("UTF-8")]; -+ char stringpool_str311[sizeof("KSC_5601")]; -+ char stringpool_str315[sizeof("BIG5")]; -+ char stringpool_str316[sizeof("ISO8859-10")]; -+ char stringpool_str318[sizeof("ISO8859-3")]; -+ char stringpool_str319[sizeof("UCS-2")]; -+ char stringpool_str321[sizeof("BIG-5")]; -+ char stringpool_str322[sizeof("ISO-8859-10")]; -+ char stringpool_str323[sizeof("ISO_8859-10")]; -+ char stringpool_str324[sizeof("ISO-8859-3")]; -+ char stringpool_str325[sizeof("ISO_8859-3")]; -+ char stringpool_str326[sizeof("ISO8859-13")]; -+ char stringpool_str327[sizeof("CSISOLATIN2")]; -+ char stringpool_str328[sizeof("UCS-4LE")]; -+ char stringpool_str330[sizeof("KZ-1048")]; -+ char stringpool_str332[sizeof("ISO-8859-13")]; -+ char stringpool_str333[sizeof("ISO_8859-13")]; -+ char stringpool_str334[sizeof("CSBIG5")]; -+ char stringpool_str335[sizeof("UTF-16LE")]; -+ char stringpool_str336[sizeof("X0212")]; -+ char stringpool_str337[sizeof("CP1133")]; -+ char stringpool_str338[sizeof("GBK")]; -+ char stringpool_str339[sizeof("MS-ANSI")]; -+ char stringpool_str340[sizeof("CN-BIG5")]; -+ char stringpool_str341[sizeof("ISO-IR-100")]; -+ char stringpool_str343[sizeof("CSPTCP154")]; -+ char stringpool_str345[sizeof("GB_1988-80")]; -+ char stringpool_str346[sizeof("UCS-2LE")]; -+ char stringpool_str350[sizeof("CSISO159JISX02121990")]; -+ char stringpool_str351[sizeof("UNICODE-1-1")]; -+ char stringpool_str353[sizeof("KS_C_5601-1989")]; -+ char stringpool_str355[sizeof("CSKZ1048")]; -+ char stringpool_str356[sizeof("VISCII1.1-1")]; -+ char stringpool_str358[sizeof("ISO_646.IRV:1991")]; -+ char stringpool_str359[sizeof("CSUNICODE11")]; -+ char stringpool_str360[sizeof("CN-GB-ISOIR165")]; -+ char stringpool_str361[sizeof("CSUNICODE")]; -+ char stringpool_str363[sizeof("UCS-4-INTERNAL")]; -+ char stringpool_str364[sizeof("ROMAN8")]; -+ char stringpool_str367[sizeof("JIS_C6220-1969-RO")]; -+ char stringpool_str368[sizeof("JIS_C6226-1983")]; -+ char stringpool_str371[sizeof("KOREAN")]; -+ char stringpool_str374[sizeof("X0201")]; -+ char stringpool_str375[sizeof("MULELAO-1")]; -+ char stringpool_str377[sizeof("ISO-IR-203")]; -+ char stringpool_str378[sizeof("IBM850")]; -+ char stringpool_str380[sizeof("TIS620-0")]; -+ char stringpool_str381[sizeof("UCS-2-INTERNAL")]; -+ char stringpool_str382[sizeof("ECMA-114")]; -+ char stringpool_str389[sizeof("MACTHAI")]; -+ char stringpool_str390[sizeof("GREEK")]; -+ char stringpool_str391[sizeof("ARMSCII-8")]; -+ char stringpool_str392[sizeof("ISO-2022-KR")]; -+ char stringpool_str396[sizeof("GEORGIAN-PS")]; -+ char stringpool_str397[sizeof("TIS620.2529-1")]; -+ char stringpool_str398[sizeof("ECMA-118")]; -+ char stringpool_str401[sizeof("CSISO2022KR")]; -+ char stringpool_str403[sizeof("LATIN7")]; -+ char stringpool_str405[sizeof("ISO-IR-57")]; -+ char stringpool_str406[sizeof("X0208")]; -+ char stringpool_str407[sizeof("HP-ROMAN8")]; -+ char stringpool_str408[sizeof("EUCJP")]; -+ char stringpool_str411[sizeof("ISO-IR-87")]; -+ char stringpool_str413[sizeof("ISO-IR-157")]; -+ char stringpool_str414[sizeof("EUC-JP")]; -+ char stringpool_str416[sizeof("ISO-10646-UCS-4")]; -+ char stringpool_str417[sizeof("DECKOREAN")]; -+ char stringpool_str418[sizeof("ISO646-JP")]; -+ char stringpool_str420[sizeof("CP1257")]; -+ char stringpool_str421[sizeof("UNICODELITTLE")]; -+ char stringpool_str427[sizeof("JIS0208")]; -+ char stringpool_str429[sizeof("ISO-IR-127")]; -+ char stringpool_str430[sizeof("MACICELAND")]; -+ char stringpool_str431[sizeof("UTF-32")]; -+ char stringpool_str434[sizeof("ISO-10646-UCS-2")]; -+ char stringpool_str435[sizeof("EUCTW")]; -+ char stringpool_str441[sizeof("EUC-TW")]; -+ char stringpool_str442[sizeof("GB_2312-80")]; -+ char stringpool_str443[sizeof("CSIBM866")]; -+ char stringpool_str445[sizeof("CSISOLATINARABIC")]; -+ char stringpool_str447[sizeof("CSISOLATINGREEK")]; -+ char stringpool_str448[sizeof("CSMACINTOSH")]; -+ char stringpool_str452[sizeof("CSEUCKR")]; -+ char stringpool_str453[sizeof("US-ASCII")]; -+ char stringpool_str455[sizeof("GEORGIAN-ACADEMY")]; -+ char stringpool_str456[sizeof("MS-HEBR")]; -+ char stringpool_str457[sizeof("WCHAR_T")]; -+ char stringpool_str458[sizeof("UTF-32LE")]; -+ char stringpool_str459[sizeof("GB18030")]; -+ char stringpool_str460[sizeof("ISO8859-7")]; -+ char stringpool_str462[sizeof("ISO_8859-4:1988")]; -+ char stringpool_str463[sizeof("MACCENTRALEUROPE")]; -+ char stringpool_str464[sizeof("ISO_8859-5:1988")]; -+ char stringpool_str465[sizeof("CSISOLATIN3")]; -+ char stringpool_str466[sizeof("ISO-8859-7")]; -+ char stringpool_str467[sizeof("ISO_8859-7")]; -+ char stringpool_str469[sizeof("CP367")]; -+ char stringpool_str470[sizeof("ISO_8859-8:1988")]; -+ char stringpool_str474[sizeof("ISO_8859-9:1989")]; -+ char stringpool_str476[sizeof("MACROMAN")]; -+ char stringpool_str477[sizeof("CSISOLATINHEBREW")]; -+ char stringpool_str481[sizeof("TCVN5712-1")]; -+ char stringpool_str482[sizeof("EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE")]; -+ char stringpool_str489[sizeof("STRK1048-2002")]; -+ char stringpool_str490[sizeof("WINDOWS-1256")]; -+ char stringpool_str491[sizeof("ISO-2022-JP-1")]; -+ char stringpool_str492[sizeof("WINDOWS-1251")]; -+ char stringpool_str493[sizeof("ISO-2022-JP-MS")]; -+ char stringpool_str499[sizeof("TCVN-5712")]; -+ char stringpool_str500[sizeof("WINDOWS-1254")]; -+ char stringpool_str501[sizeof("KS_C_5601-1987")]; -+ char stringpool_str502[sizeof("WINDOWS-1255")]; -+ char stringpool_str504[sizeof("CSGB2312")]; -+ char stringpool_str508[sizeof("WINDOWS-1258")]; -+ char stringpool_str517[sizeof("ISO-2022-JP-2")]; -+ char stringpool_str518[sizeof("WINDOWS-1252")]; -+ char stringpool_str520[sizeof("BIG5HKSCS")]; -+ char stringpool_str523[sizeof("UNICODE-1-1-UTF-7")]; -+ char stringpool_str525[sizeof("CSISO2022JP2")]; -+ char stringpool_str526[sizeof("BIG5-HKSCS")]; -+ char stringpool_str527[sizeof("CSKSC56011987")]; -+ char stringpool_str528[sizeof("CSHPROMAN8")]; -+ char stringpool_str529[sizeof("CSUNICODE11UTF7")]; -+ char stringpool_str532[sizeof("SDECKANJI")]; -+ char stringpool_str534[sizeof("HZ-GB-2312")]; -+ char stringpool_str535[sizeof("MS-GREEK")]; -+ char stringpool_str541[sizeof("MACGREEK")]; -+ char stringpool_str542[sizeof("BIGFIVE")]; -+ char stringpool_str543[sizeof("TIS620.2533-1")]; -+ char stringpool_str546[sizeof("CN-GB")]; -+ char stringpool_str548[sizeof("BIG-FIVE")]; -+ char stringpool_str549[sizeof("ISO_8859-3:1988")]; -+ char stringpool_str561[sizeof("NEXTSTEP")]; -+ char stringpool_str562[sizeof("MACCROATIAN")]; -+ char stringpool_str564[sizeof("WINDOWS-936")]; -+ char stringpool_str566[sizeof("CSISO57GB1988")]; -+ char stringpool_str568[sizeof("UCS-4BE")]; -+ char stringpool_str575[sizeof("UTF-16BE")]; -+ char stringpool_str582[sizeof("WINDOWS-1250")]; -+ char stringpool_str586[sizeof("UCS-2BE")]; -+ char stringpool_str587[sizeof("WINDOWS-1253")]; -+ char stringpool_str590[sizeof("JIS_X0212")]; -+ char stringpool_str595[sizeof("CSISO58GB231280")]; -+ char stringpool_str596[sizeof("ISO-2022-JP")]; -+ char stringpool_str597[sizeof("IBM367")]; -+ char stringpool_str598[sizeof("IBM-CP1133")]; -+ char stringpool_str602[sizeof("ISO_8859-6:1987")]; -+ char stringpool_str604[sizeof("ISO_8859-1:1987")]; -+ char stringpool_str605[sizeof("CSISO2022JP")]; -+ char stringpool_str608[sizeof("UTF-7")]; -+ char stringpool_str609[sizeof("CSPC862LATINHEBREW")]; -+ char stringpool_str618[sizeof("ARABIC")]; -+ char stringpool_str625[sizeof("MS_KANJI")]; -+ char stringpool_str628[sizeof("JIS_X0201")]; -+ char stringpool_str630[sizeof("ISO_8859-2:1987")]; -+ char stringpool_str631[sizeof("UNICODEBIG")]; -+ char stringpool_str633[sizeof("TIS620.2533-0")]; -+ char stringpool_str635[sizeof("ASMO-708")]; -+ char stringpool_str643[sizeof("CSISO87JISX0208")]; -+ char stringpool_str648[sizeof("MACTURKISH")]; -+ char stringpool_str653[sizeof("WINDOWS-874")]; -+ char stringpool_str657[sizeof("ANSI_X3.4-1986")]; -+ char stringpool_str658[sizeof("WINDOWS-1257")]; -+ char stringpool_str660[sizeof("JIS_X0208")]; -+ char stringpool_str661[sizeof("JISX0201-1976")]; -+ char stringpool_str663[sizeof("KOI8-U")]; -+ char stringpool_str664[sizeof("JAVA")]; -+ char stringpool_str669[sizeof("KOI8-RU")]; -+ char stringpool_str671[sizeof("JIS_X0212-1990")]; -+ char stringpool_str675[sizeof("ANSI_X3.4-1968")]; -+ char stringpool_str677[sizeof("HEBREW")]; -+ char stringpool_str683[sizeof("CSEUCTW")]; -+ char stringpool_str693[sizeof("CSHALFWIDTHKATAKANA")]; -+ char stringpool_str698[sizeof("UTF-32BE")]; -+ char stringpool_str699[sizeof("ISO_8859-7:2003")]; -+ char stringpool_str705[sizeof("CSPC850MULTILINGUAL")]; -+ char stringpool_str720[sizeof("MS-TURK")]; -+ char stringpool_str751[sizeof("JIS_X0208-1990")]; -+ char stringpool_str756[sizeof("JIS_X0208-1983")]; -+ char stringpool_str764[sizeof("JIS_X0212.1990-0")]; -+ char stringpool_str769[sizeof("MACARABIC")]; -+ char stringpool_str770[sizeof("ISO_8859-7:1987")]; -+ char stringpool_str777[sizeof("MACUKRAINE")]; -+ char stringpool_str798[sizeof("CSEUCPKDFMTJAPANESE")]; -+ char stringpool_str813[sizeof("MACROMANIA")]; -+ char stringpool_str828[sizeof("BIG5-HKSCS:2001")]; -+ char stringpool_str836[sizeof("BIG5-HKSCS:2004")]; -+ char stringpool_str837[sizeof("JOHAB")]; -+ char stringpool_str844[sizeof("BIG5-HKSCS:2008")]; -+ char stringpool_str846[sizeof("BIG5-HKSCS:1999")]; -+ char stringpool_str848[sizeof("MACHEBREW")]; -+ char stringpool_str879[sizeof("TCVN5712-1:1993")]; -+ char stringpool_str893[sizeof("UCS-4-SWAPPED")]; -+ char stringpool_str911[sizeof("UCS-2-SWAPPED")]; -+ char stringpool_str928[sizeof("WINBALTRIM")]; -+ char stringpool_str981[sizeof("MS-ARAB")]; -+ }; -+static const struct stringpool_t stringpool_contents = -+ { -+ "L6", -+ "L1", -+ "CN", -+ "L4", -+ "L5", -+ "R8", -+ "L8", -+ "SJIS", -+ "866", -+ "L2", -+ "HZ", -+ "ISO-IR-6", -+ "CP866", -+ "C99", -+ "ISO-IR-166", -+ "EUCCN", -+ "LATIN6", -+ "CP154", -+ "LATIN1", -+ "EUC-CN", -+ "CYRILLIC", -+ "ISO646-CN", -+ "ISO-IR-14", -+ "CP1256", -+ "LATIN4", -+ "CP1251", -+ "ISO-IR-165", -+ "LATIN5", -+ "862", -+ "ISO-IR-126", -+ "ISO-IR-144", -+ "CP819", -+ "TACTIS", -+ "LATIN8", -+ "CP1254", -+ "ISO-IR-58", -+ "CP949", -+ "CP1255", -+ "CP862", -+ "ISO-IR-148", -+ "L3", -+ "LATIN-9", -+ "CHINESE", -+ "ISO-IR-149", -+ "ISO-IR-159", -+ "ISO-IR-226", -+ "CP1258", -+ "LATIN2", -+ "ISO8859-6", -+ "ISO-IR-199", -+ "ISO8859-1", -+ "ISO-CELTIC", -+ "ISO-8859-6", -+ "ISO_8859-6", -+ "ISO8859-16", -+ "ISO-8859-1", -+ "ISO_8859-1", -+ "ISO8859-11", -+ "ISO-8859-16", -+ "ISO_8859-16", -+ "CP1252", -+ "ISO-8859-11", -+ "ISO_8859-11", -+ "ISO8859-4", -+ "CP1361", -+ "ISO_8859-16:2001", -+ "CP1131", -+ "ISO8859-5", -+ "ISO-8859-4", -+ "ISO_8859-4", -+ "ISO8859-14", -+ "CP936", -+ "ISO-8859-5", -+ "ISO_8859-5", -+ "ISO8859-15", -+ "MAC", -+ "ISO-8859-14", -+ "ISO_8859-14", -+ "ISO8859-8", -+ "ISO-IR-101", -+ "ISO-8859-15", -+ "ISO_8859-15", -+ "ISO8859-9", -+ "ISO-8859-8", -+ "ISO_8859-8", -+ "ISO-8859-9", -+ "ISO_8859-9", -+ "ISO_8859-14:1998", -+ "PT154", -+ "ISO_8859-15:1998", -+ "RK1048", -+ "ELOT_928", -+ "ISO8859-2", -+ "MS-CYRL", -+ "IBM866", -+ "L7", -+ "ISO-8859-2", -+ "ISO_8859-2", -+ "CHAR", -+ "ISO-IR-109", -+ "ISO-IR-138", -+ "ASCII", -+ "KOI8-R", -+ "EUCKR", -+ "L10", -+ "CP932", -+ "EUC-KR", -+ "CP50221", -+ "CSKOI8R", -+ "MS-EE", -+ "850", -+ "CSASCII", -+ "IBM819", -+ "MACCYRILLIC", -+ "VISCII", -+ "TCVN", -+ "SHIFT-JIS", -+ "SHIFT_JIS", -+ "IBM862", -+ "CSISO14JISC6220RO", -+ "CP874", -+ "GB2312", -+ "US", -+ "CSVISCII", -+ "CP850", -+ "ISO-IR-110", -+ "CP950", -+ "KOI8-T", -+ "ISO-2022-CN", -+ "JP", -+ "CYRILLIC-ASIAN", -+ "LATIN10", -+ "UHC", -+ "LATIN3", -+ "CSISO2022CN", -+ "ISO_8859-10:1992", -+ "MACINTOSH", -+ "CP1250", -+ "CSISOLATIN6", -+ "CSSHIFTJIS", -+ "ISO-IR-179", -+ "MS936", -+ "CSISOLATIN1", -+ "TIS620", -+ "CP1253", -+ "DECHANZI", -+ "UTF-16", -+ "ISO-2022-CN-EXT", -+ "TIS-620", -+ "UCS-4", -+ "GREEK8", -+ "CSISOLATINCYRILLIC", -+ "CSISOLATIN4", -+ "CSISOLATIN5", -+ "PTCP154", -+ "CSUCS4", -+ "ISO646-US", -+ "KSC5601", -+ "UTF-8", -+ "KSC_5601", -+ "BIG5", -+ "ISO8859-10", -+ "ISO8859-3", -+ "UCS-2", -+ "BIG-5", -+ "ISO-8859-10", -+ "ISO_8859-10", -+ "ISO-8859-3", -+ "ISO_8859-3", -+ "ISO8859-13", -+ "CSISOLATIN2", -+ "UCS-4LE", -+ "KZ-1048", -+ "ISO-8859-13", -+ "ISO_8859-13", -+ "CSBIG5", -+ "UTF-16LE", -+ "X0212", -+ "CP1133", -+ "GBK", -+ "MS-ANSI", -+ "CN-BIG5", -+ "ISO-IR-100", -+ "CSPTCP154", -+ "GB_1988-80", -+ "UCS-2LE", -+ "CSISO159JISX02121990", -+ "UNICODE-1-1", -+ "KS_C_5601-1989", -+ "CSKZ1048", -+ "VISCII1.1-1", -+ "ISO_646.IRV:1991", -+ "CSUNICODE11", -+ "CN-GB-ISOIR165", -+ "CSUNICODE", -+ "UCS-4-INTERNAL", -+ "ROMAN8", -+ "JIS_C6220-1969-RO", -+ "JIS_C6226-1983", -+ "KOREAN", -+ "X0201", -+ "MULELAO-1", -+ "ISO-IR-203", -+ "IBM850", -+ "TIS620-0", -+ "UCS-2-INTERNAL", -+ "ECMA-114", -+ "MACTHAI", -+ "GREEK", -+ "ARMSCII-8", -+ "ISO-2022-KR", -+ "GEORGIAN-PS", -+ "TIS620.2529-1", -+ "ECMA-118", -+ "CSISO2022KR", -+ "LATIN7", -+ "ISO-IR-57", -+ "X0208", -+ "HP-ROMAN8", -+ "EUCJP", -+ "ISO-IR-87", -+ "ISO-IR-157", -+ "EUC-JP", -+ "ISO-10646-UCS-4", -+ "DECKOREAN", -+ "ISO646-JP", -+ "CP1257", -+ "UNICODELITTLE", -+ "JIS0208", -+ "ISO-IR-127", -+ "MACICELAND", -+ "UTF-32", -+ "ISO-10646-UCS-2", -+ "EUCTW", -+ "EUC-TW", -+ "GB_2312-80", -+ "CSIBM866", -+ "CSISOLATINARABIC", -+ "CSISOLATINGREEK", -+ "CSMACINTOSH", -+ "CSEUCKR", -+ "US-ASCII", -+ "GEORGIAN-ACADEMY", -+ "MS-HEBR", -+ "WCHAR_T", -+ "UTF-32LE", -+ "GB18030", -+ "ISO8859-7", -+ "ISO_8859-4:1988", -+ "MACCENTRALEUROPE", -+ "ISO_8859-5:1988", -+ "CSISOLATIN3", -+ "ISO-8859-7", -+ "ISO_8859-7", -+ "CP367", -+ "ISO_8859-8:1988", -+ "ISO_8859-9:1989", -+ "MACROMAN", -+ "CSISOLATINHEBREW", -+ "TCVN5712-1", -+ "EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE", -+ "STRK1048-2002", -+ "WINDOWS-1256", -+ "ISO-2022-JP-1", -+ "WINDOWS-1251", -+ "ISO-2022-JP-MS", -+ "TCVN-5712", -+ "WINDOWS-1254", -+ "KS_C_5601-1987", -+ "WINDOWS-1255", -+ "CSGB2312", -+ "WINDOWS-1258", -+ "ISO-2022-JP-2", -+ "WINDOWS-1252", -+ "BIG5HKSCS", -+ "UNICODE-1-1-UTF-7", -+ "CSISO2022JP2", -+ "BIG5-HKSCS", -+ "CSKSC56011987", -+ "CSHPROMAN8", -+ "CSUNICODE11UTF7", -+ "SDECKANJI", -+ "HZ-GB-2312", -+ "MS-GREEK", -+ "MACGREEK", -+ "BIGFIVE", -+ "TIS620.2533-1", -+ "CN-GB", -+ "BIG-FIVE", -+ "ISO_8859-3:1988", -+ "NEXTSTEP", -+ "MACCROATIAN", -+ "WINDOWS-936", -+ "CSISO57GB1988", -+ "UCS-4BE", -+ "UTF-16BE", -+ "WINDOWS-1250", -+ "UCS-2BE", -+ "WINDOWS-1253", -+ "JIS_X0212", -+ "CSISO58GB231280", -+ "ISO-2022-JP", -+ "IBM367", -+ "IBM-CP1133", -+ "ISO_8859-6:1987", -+ "ISO_8859-1:1987", -+ "CSISO2022JP", -+ "UTF-7", -+ "CSPC862LATINHEBREW", -+ "ARABIC", -+ "MS_KANJI", -+ "JIS_X0201", -+ "ISO_8859-2:1987", -+ "UNICODEBIG", -+ "TIS620.2533-0", -+ "ASMO-708", -+ "CSISO87JISX0208", -+ "MACTURKISH", -+ "WINDOWS-874", -+ "ANSI_X3.4-1986", -+ "WINDOWS-1257", -+ "JIS_X0208", -+ "JISX0201-1976", -+ "KOI8-U", -+ "JAVA", -+ "KOI8-RU", -+ "JIS_X0212-1990", -+ "ANSI_X3.4-1968", -+ "HEBREW", -+ "CSEUCTW", -+ "CSHALFWIDTHKATAKANA", -+ "UTF-32BE", -+ "ISO_8859-7:2003", -+ "CSPC850MULTILINGUAL", -+ "MS-TURK", -+ "JIS_X0208-1990", -+ "JIS_X0208-1983", -+ "JIS_X0212.1990-0", -+ "MACARABIC", -+ "ISO_8859-7:1987", -+ "MACUKRAINE", -+ "CSEUCPKDFMTJAPANESE", -+ "MACROMANIA", -+ "BIG5-HKSCS:2001", -+ "BIG5-HKSCS:2004", -+ "JOHAB", -+ "BIG5-HKSCS:2008", -+ "BIG5-HKSCS:1999", -+ "MACHEBREW", -+ "TCVN5712-1:1993", -+ "UCS-4-SWAPPED", -+ "UCS-2-SWAPPED", -+ "WINBALTRIM", -+ "MS-ARAB" -+ }; -+#define stringpool ((const char *) &stringpool_contents) -+ -+static const struct alias aliases[] = -+ { -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 134 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str15, ei_iso8859_10}, -+ {-1}, -+#line 60 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str17, ei_iso8859_1}, -+ {-1}, {-1}, -+#line 289 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str20, ei_iso646_cn}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 84 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str25, ei_iso8859_4}, -+ {-1}, -+#line 126 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str27, ei_iso8859_9}, -+ {-1}, {-1}, -+#line 227 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str30, ei_hp_roman8}, -+ {-1}, {-1}, -+#line 151 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str33, ei_iso8859_14}, -+#line 310 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str34, ei_sjis}, -+ {-1}, -+#line 207 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str36, ei_cp866}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 68 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str43, ei_iso8859_2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 335 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str49, ei_hz}, -+ {-1}, -+#line 16 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str51, ei_ascii}, -+ {-1}, {-1}, -+#line 205 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str54, ei_cp866}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 51 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str64, ei_c99}, -+#line 252 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str65, ei_tis620}, -+#line 322 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str66, ei_euc_cn}, -+#line 133 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str67, ei_iso8859_10}, -+ {-1}, {-1}, -+#line 236 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str70, ei_pt154}, -+#line 59 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str71, ei_iso8859_1}, -+#line 321 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str72, ei_euc_cn}, -+ {-1}, -+#line 91 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str74, ei_iso8859_5}, -+ {-1}, -+#line 287 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str76, ei_iso646_cn}, -+ {-1}, {-1}, -+#line 265 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str79, ei_iso646_jp}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 189 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str84, ei_cp1256}, -+ {-1}, {-1}, -+#line 83 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str87, ei_iso8859_4}, -+#line 174 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str88, ei_cp1251}, -+#line 295 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str89, ei_isoir165}, -+ {-1}, -+#line 125 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str91, ei_iso8859_9}, -+#line 203 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str92, ei_cp862}, -+#line 107 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str93, ei_iso8859_7}, -+ {-1}, -+#line 90 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str95, ei_iso8859_5}, -+#line 57 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str96, ei_iso8859_1}, -+ {-1}, {-1}, -+#line 253 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str99, ei_tis620}, -+ {-1}, {-1}, {-1}, -+#line 150 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str103, ei_iso8859_14}, -+#line 183 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str104, ei_cp1254}, -+#line 292 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str105, ei_gb2312}, -+#line 357 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str106, ei_cp949}, -+ {-1}, -+#line 186 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str108, ei_cp1255}, -+ {-1}, -+#line 201 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str110, ei_cp862}, -+#line 124 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str111, ei_iso8859_9}, -+#line 76 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str112, ei_iso8859_3}, -+#line 158 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str113, ei_iso8859_15}, -+#line 294 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str114, ei_gb2312}, -+#line 300 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str115, ei_ksc5601}, -+ {-1}, -+#line 284 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str117, ei_jisx0212}, -+ {-1}, -+#line 163 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str119, ei_iso8859_16}, -+#line 195 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str120, ei_cp1258}, -+ {-1}, {-1}, -+#line 67 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str123, ei_iso8859_2}, -+#line 102 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str124, ei_iso8859_6}, -+#line 149 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str125, ei_iso8859_14}, -+ {-1}, {-1}, -+#line 62 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str128, ei_iso8859_1}, -+#line 152 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str129, ei_iso8859_14}, -+#line 94 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str130, ei_iso8859_6}, -+#line 95 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str131, ei_iso8859_6}, -+#line 166 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str132, ei_iso8859_16}, -+ {-1}, -+#line 53 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str134, ei_iso8859_1}, -+#line 54 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str135, ei_iso8859_1}, -+#line 139 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str136, ei_iso8859_11}, -+ {-1}, -+#line 160 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str138, ei_iso8859_16}, -+#line 161 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str139, ei_iso8859_16}, -+#line 177 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str140, ei_cp1252}, -+ {-1}, -+#line 137 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str142, ei_iso8859_11}, -+#line 138 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str143, ei_iso8859_11}, -+#line 86 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str144, ei_iso8859_4}, -+#line 361 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str145, ei_johab}, -+#line 162 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str146, ei_iso8859_16}, -+#line 209 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str147, ei_cp1131}, -+#line 93 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str148, ei_iso8859_5}, -+ {-1}, -+#line 79 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str150, ei_iso8859_4}, -+#line 80 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str151, ei_iso8859_4}, -+#line 153 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str152, ei_iso8859_14}, -+#line 328 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str153, ei_cp936}, -+#line 87 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_5}, -+#line 88 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str155, ei_iso8859_5}, -+#line 159 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str156, ei_iso8859_15}, -+#line 212 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str157, ei_mac_roman}, -+#line 146 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str158, ei_iso8859_14}, -+#line 147 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str159, ei_iso8859_14}, -+#line 120 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str160, ei_iso8859_8}, -+#line 66 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str161, ei_iso8859_2}, -+#line 154 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str162, ei_iso8859_15}, -+#line 155 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str163, ei_iso8859_15}, -+#line 128 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str164, ei_iso8859_9}, -+ {-1}, -+#line 114 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str166, ei_iso8859_8}, -+#line 115 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str167, ei_iso8859_8}, -+ {-1}, {-1}, -+#line 121 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str170, ei_iso8859_9}, -+#line 122 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str171, ei_iso8859_9}, -+#line 148 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str172, ei_iso8859_14}, -+#line 234 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str173, ei_pt154}, -+#line 156 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str174, ei_iso8859_15}, -+ {-1}, -+#line 239 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str176, ei_rk1048}, -+ {-1}, {-1}, -+#line 109 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str179, ei_iso8859_7}, -+#line 70 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str180, ei_iso8859_2}, -+#line 176 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str181, ei_cp1251}, -+#line 206 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str182, ei_cp866}, -+#line 144 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str183, ei_iso8859_13}, -+ {-1}, {-1}, -+#line 63 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str186, ei_iso8859_2}, -+#line 64 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str187, ei_iso8859_2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 364 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str193, ei_local_char}, -+ {-1}, {-1}, {-1}, -+#line 74 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str197, ei_iso8859_3}, -+#line 117 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str198, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, -+#line 13 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str202, ei_ascii}, -+#line 167 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str203, ei_koi8_r}, -+#line 354 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str204, ei_euc_kr}, -+#line 165 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str205, ei_iso8859_16}, -+ {-1}, {-1}, {-1}, -+#line 313 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str209, ei_cp932}, -+#line 353 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str210, ei_euc_kr}, -+ {-1}, -+#line 320 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str212, ei_iso2022_jpms}, -+ {-1}, {-1}, {-1}, -+#line 168 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str216, ei_koi8_r}, -+#line 173 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str217, ei_cp1250}, -+ {-1}, {-1}, -+#line 199 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str220, ei_cp850}, -+ {-1}, {-1}, -+#line 22 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str223, ei_ascii}, -+#line 58 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str224, ei_iso8859_1}, -+#line 218 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str225, ei_mac_cyrillic}, -+ {-1}, {-1}, -+#line 256 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str228, ei_viscii}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 259 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str233, ei_tcvn}, -+ {-1}, {-1}, -+#line 309 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str236, ei_sjis}, -+#line 308 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str237, ei_sjis}, -+#line 202 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str238, ei_cp862}, -+ {-1}, -+#line 267 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str240, ei_iso646_jp}, -+ {-1}, -+#line 254 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str242, ei_cp874}, -+#line 323 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str243, ei_euc_cn}, -+ {-1}, -+#line 21 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str245, ei_ascii}, -+ {-1}, -+#line 258 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str247, ei_viscii}, -+ {-1}, {-1}, -+#line 197 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str250, ei_cp850}, -+#line 82 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str251, ei_iso8859_4}, -+#line 346 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str252, ei_cp950}, -+#line 233 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str253, ei_koi8_t}, -+#line 332 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str254, ei_iso2022_cn}, -+#line 266 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str255, ei_iso646_jp}, -+ {-1}, -+#line 237 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str257, ei_pt154}, -+ {-1}, -+#line 164 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str259, ei_iso8859_16}, -+#line 358 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str260, ei_cp949}, -+#line 75 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str261, ei_iso8859_3}, -+ {-1}, -+#line 333 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str263, ei_iso2022_cn}, -+#line 131 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str264, ei_iso8859_10}, -+ {-1}, {-1}, -+#line 211 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str267, ei_mac_roman}, -+#line 171 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str268, ei_cp1250}, -+ {-1}, {-1}, -+#line 135 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str271, ei_iso8859_10}, -+#line 312 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str272, ei_sjis}, -+#line 142 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str273, ei_iso8859_13}, -+#line 329 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str274, ei_cp936}, -+#line 61 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str275, ei_iso8859_1}, -+#line 247 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str276, ei_tis620}, -+ {-1}, -+#line 180 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str278, ei_cp1253}, -+#line 326 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str279, ei_euc_cn}, -+#line 38 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str280, ei_utf16}, -+#line 334 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str281, ei_iso2022_cn_ext}, -+#line 246 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str282, ei_tis620}, -+#line 33 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str283, ei_ucs4}, -+#line 110 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str284, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 92 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str290, ei_iso8859_5}, -+#line 85 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str291, ei_iso8859_4}, -+ {-1}, {-1}, {-1}, -+#line 127 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str295, ei_iso8859_9}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 235 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str300, ei_pt154}, -+#line 35 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str301, ei_ucs4}, -+#line 14 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str302, ei_ascii}, -+ {-1}, -+#line 359 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str304, ei_cp949}, -+ {-1}, {-1}, {-1}, -+#line 23 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str308, ei_utf8}, -+ {-1}, {-1}, -+#line 297 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str311, ei_ksc5601}, -+ {-1}, {-1}, {-1}, -+#line 340 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str315, ei_ces_big5}, -+#line 136 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str316, ei_iso8859_10}, -+ {-1}, -+#line 78 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str318, ei_iso8859_3}, -+#line 24 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str319, ei_ucs2}, -+ {-1}, -+#line 341 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str321, ei_ces_big5}, -+#line 129 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str322, ei_iso8859_10}, -+#line 130 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str323, ei_iso8859_10}, -+#line 71 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str324, ei_iso8859_3}, -+#line 72 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str325, ei_iso8859_3}, -+#line 145 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str326, ei_iso8859_13}, -+#line 69 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str327, ei_iso8859_2}, -+#line 37 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str328, ei_ucs4le}, -+ {-1}, -+#line 241 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str330, ei_rk1048}, -+ {-1}, -+#line 140 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str332, ei_iso8859_13}, -+#line 141 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str333, ei_iso8859_13}, -+#line 345 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str334, ei_ces_big5}, -+#line 40 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str335, ei_utf16le}, -+#line 283 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str336, ei_jisx0212}, -+#line 244 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str337, ei_cp1133}, -+#line 327 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str338, ei_ces_gbk}, -+#line 179 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str339, ei_cp1252}, -+#line 344 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str340, ei_ces_big5}, -+#line 56 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str341, ei_iso8859_1}, -+ {-1}, -+#line 238 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str343, ei_pt154}, -+ {-1}, -+#line 286 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str345, ei_iso646_cn}, -+#line 31 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str346, ei_ucs2le}, -+ {-1}, {-1}, {-1}, -+#line 285 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str350, ei_jisx0212}, -+#line 29 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str351, ei_ucs2be}, -+ {-1}, -+#line 299 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str353, ei_ksc5601}, -+ {-1}, -+#line 242 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str355, ei_rk1048}, -+#line 257 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str356, ei_viscii}, -+ {-1}, -+#line 15 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str358, ei_ascii}, -+#line 30 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str359, ei_ucs2be}, -+#line 296 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str360, ei_isoir165}, -+#line 26 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str361, ei_ucs2}, -+ {-1}, -+#line 49 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str363, ei_ucs4internal}, -+#line 226 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str364, ei_hp_roman8}, -+ {-1}, {-1}, -+#line 263 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str367, ei_iso646_jp}, -+#line 278 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str368, ei_jisx0208}, -+ {-1}, {-1}, -+#line 302 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str371, ei_ksc5601}, -+ {-1}, {-1}, -+#line 270 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str374, ei_jisx0201}, -+#line 243 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str375, ei_mulelao}, -+ {-1}, -+#line 157 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str377, ei_iso8859_15}, -+#line 198 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str378, ei_cp850}, -+ {-1}, -+#line 248 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str380, ei_tis620}, -+#line 47 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str381, ei_ucs2internal}, -+#line 98 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str382, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 224 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str389, ei_mac_thai}, -+#line 111 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str390, ei_iso8859_7}, -+#line 230 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str391, ei_armscii_8}, -+#line 362 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str392, ei_iso2022_kr}, -+ {-1}, {-1}, {-1}, -+#line 232 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str396, ei_georgian_ps}, -+#line 249 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str397, ei_tis620}, -+#line 108 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str398, ei_iso8859_7}, -+ {-1}, {-1}, -+#line 363 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str401, ei_iso2022_kr}, -+ {-1}, -+#line 143 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str403, ei_iso8859_13}, -+ {-1}, -+#line 288 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str405, ei_iso646_cn}, -+#line 276 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str406, ei_jisx0208}, -+#line 225 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str407, ei_hp_roman8}, -+#line 304 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str408, ei_euc_jp}, -+ {-1}, {-1}, -+#line 277 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str411, ei_jisx0208}, -+ {-1}, -+#line 132 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str413, ei_iso8859_10}, -+#line 303 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str414, ei_euc_jp}, -+ {-1}, -+#line 34 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str416, ei_ucs4}, -+#line 356 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str417, ei_euc_kr}, -+#line 264 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str418, ei_iso646_jp}, -+ {-1}, -+#line 192 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str420, ei_cp1257}, -+#line 32 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str421, ei_ucs2le}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 275 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str427, ei_jisx0208}, -+ {-1}, -+#line 97 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str429, ei_iso8859_6}, -+#line 215 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str430, ei_mac_iceland}, -+#line 41 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str431, ei_utf32}, -+ {-1}, {-1}, -+#line 25 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str434, ei_ucs2}, -+#line 338 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str435, ei_euc_tw}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 337 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str441, ei_euc_tw}, -+#line 291 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str442, ei_gb2312}, -+#line 208 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str443, ei_cp866}, -+ {-1}, -+#line 101 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str445, ei_iso8859_6}, -+ {-1}, -+#line 112 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str447, ei_iso8859_7}, -+#line 213 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str448, ei_mac_roman}, -+ {-1}, {-1}, {-1}, -+#line 355 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str452, ei_euc_kr}, -+#line 12 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str453, ei_ascii}, -+ {-1}, -+#line 231 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str455, ei_georgian_academy}, -+#line 188 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str456, ei_cp1255}, -+#line 365 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str457, ei_local_wchar_t}, -+#line 43 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str458, ei_utf32le}, -+#line 331 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str459, ei_gb18030}, -+#line 113 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str460, ei_iso8859_7}, -+ {-1}, -+#line 81 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str462, ei_iso8859_4}, -+#line 214 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str463, ei_mac_centraleurope}, -+#line 89 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str464, ei_iso8859_5}, -+#line 77 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str465, ei_iso8859_3}, -+#line 103 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str466, ei_iso8859_7}, -+#line 104 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str467, ei_iso8859_7}, -+ {-1}, -+#line 19 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str469, ei_ascii}, -+#line 116 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str470, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, -+#line 123 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str474, ei_iso8859_9}, -+ {-1}, -+#line 210 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str476, ei_mac_roman}, -+#line 119 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str477, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, -+#line 261 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str481, ei_tcvn}, -+#line 305 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str482, ei_euc_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 240 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str489, ei_rk1048}, -+#line 190 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str490, ei_cp1256}, -+#line 316 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str491, ei_iso2022_jp1}, -+#line 175 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str492, ei_cp1251}, -+#line 319 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str493, ei_iso2022_jpms}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 260 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str499, ei_tcvn}, -+#line 184 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str500, ei_cp1254}, -+#line 298 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str501, ei_ksc5601}, -+#line 187 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str502, ei_cp1255}, -+ {-1}, -+#line 325 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str504, ei_euc_cn}, -+ {-1}, {-1}, {-1}, -+#line 196 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str508, ei_cp1258}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 317 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str517, ei_iso2022_jp2}, -+#line 178 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str518, ei_cp1252}, -+ {-1}, -+#line 351 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str520, ei_big5hkscs2008}, -+ {-1}, {-1}, -+#line 45 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str523, ei_utf7}, -+ {-1}, -+#line 318 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str525, ei_iso2022_jp2}, -+#line 350 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str526, ei_big5hkscs2008}, -+#line 301 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str527, ei_ksc5601}, -+#line 228 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str528, ei_hp_roman8}, -+#line 46 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str529, ei_utf7}, -+ {-1}, {-1}, -+#line 307 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str532, ei_euc_jp}, -+ {-1}, -+#line 336 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str534, ei_hz}, -+#line 182 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str535, ei_cp1253}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 220 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str541, ei_mac_greek}, -+#line 343 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str542, ei_ces_big5}, -+#line 251 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str543, ei_tis620}, -+ {-1}, {-1}, -+#line 324 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str546, ei_euc_cn}, -+ {-1}, -+#line 342 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str548, ei_ces_big5}, -+#line 73 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str549, ei_iso8859_3}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, -+#line 229 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str561, ei_nextstep}, -+#line 216 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str562, ei_mac_croatian}, -+ {-1}, -+#line 330 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str564, ei_cp936}, -+ {-1}, -+#line 290 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str566, ei_iso646_cn}, -+ {-1}, -+#line 36 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str568, ei_ucs4be}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 39 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str575, ei_utf16be}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 172 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str582, ei_cp1250}, -+ {-1}, {-1}, {-1}, -+#line 27 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str586, ei_ucs2be}, -+#line 181 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str587, ei_cp1253}, -+ {-1}, {-1}, -+#line 280 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str590, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 293 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str595, ei_gb2312}, -+#line 314 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str596, ei_iso2022_jp}, -+#line 20 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str597, ei_ascii}, -+#line 245 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str598, ei_cp1133}, -+ {-1}, {-1}, {-1}, -+#line 96 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str602, ei_iso8859_6}, -+ {-1}, -+#line 55 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str604, ei_iso8859_1}, -+#line 315 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str605, ei_iso2022_jp}, -+ {-1}, {-1}, -+#line 44 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str608, ei_utf7}, -+#line 204 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str609, ei_cp862}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 100 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str618, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 311 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str625, ei_sjis}, -+ {-1}, {-1}, -+#line 268 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str628, ei_jisx0201}, -+ {-1}, -+#line 65 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str630, ei_iso8859_2}, -+#line 28 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str631, ei_ucs2be}, -+ {-1}, -+#line 250 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str633, ei_tis620}, -+ {-1}, -+#line 99 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str635, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 279 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str643, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 221 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str648, ei_mac_turkish}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 255 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str653, ei_cp874}, -+ {-1}, {-1}, {-1}, -+#line 18 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str657, ei_ascii}, -+#line 193 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str658, ei_cp1257}, -+ {-1}, -+#line 272 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str660, ei_jisx0208}, -+#line 269 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str661, ei_jisx0201}, -+ {-1}, -+#line 169 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str663, ei_koi8_u}, -+#line 52 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str664, ei_java}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 170 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str669, ei_koi8_ru}, -+ {-1}, -+#line 282 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str671, ei_jisx0212}, -+ {-1}, {-1}, {-1}, -+#line 17 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str675, ei_ascii}, -+ {-1}, -+#line 118 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str677, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 339 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str683, ei_euc_tw}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 271 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str693, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 42 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str698, ei_utf32be}, -+#line 106 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str699, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 200 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str705, ei_cp850}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 185 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str720, ei_cp1254}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 274 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str751, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 273 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str756, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 281 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str764, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 223 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str769, ei_mac_arabic}, -+#line 105 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str770, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 219 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str777, ei_mac_ukraine}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, -+#line 306 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str798, ei_euc_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 217 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str813, ei_mac_romania}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 348 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str828, ei_big5hkscs2001}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 349 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str836, ei_big5hkscs2004}, -+#line 360 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str837, ei_johab}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 352 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str844, ei_big5hkscs2008}, -+ {-1}, -+#line 347 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str846, ei_big5hkscs1999}, -+ {-1}, -+#line 222 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str848, ei_mac_hebrew}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 262 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str879, ei_tcvn}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 50 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str893, ei_ucs4swapped}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 48 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str911, ei_ucs2swapped}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 194 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str928, ei_cp1257}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 191 "lib/aliases_sysosf1.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str981, ei_cp1256} -+ }; -+ -+#ifdef __GNUC__ -+__inline -+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ -+__attribute__ ((__gnu_inline__)) -+#endif -+#endif -+const struct alias * -+aliases_lookup (register const char *str, register unsigned int len) -+{ -+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) -+ { -+ register int key = aliases_hash (str, len); -+ -+ if (key <= MAX_HASH_VALUE && key >= 0) -+ { -+ register int o = aliases[key].name; -+ if (o >= 0) -+ { -+ register const char *s = o + stringpool; -+ -+ if (*str == *s && !strcmp (str + 1, s + 1)) -+ return &aliases[key]; -+ } -+ } -+ } -+ return 0; -+} -diff -Naur libiconv-20130504/lib/aliases_syssolaris.gperf libiconv-20130504.patch/lib/aliases_syssolaris.gperf ---- libiconv-20130504/lib/aliases_syssolaris.gperf 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_syssolaris.gperf 2013-05-04 10:23:30.434105193 +0200 -@@ -0,0 +1,367 @@ -+struct alias { int name; unsigned int encoding_index; }; -+%struct-type -+%language=ANSI-C -+%define hash-function-name aliases_hash -+%define lookup-function-name aliases_lookup -+%7bit -+%readonly-tables -+%global-table -+%define word-array-name aliases -+%pic -+%% -+US-ASCII, ei_ascii -+ASCII, ei_ascii -+ISO646-US, ei_ascii -+ISO_646.IRV:1991, ei_ascii -+ISO-IR-6, ei_ascii -+ANSI_X3.4-1968, ei_ascii -+ANSI_X3.4-1986, ei_ascii -+CP367, ei_ascii -+IBM367, ei_ascii -+US, ei_ascii -+CSASCII, ei_ascii -+646, ei_ascii -+UTF-8, ei_utf8 -+UCS-2, ei_ucs2 -+ISO-10646-UCS-2, ei_ucs2 -+CSUNICODE, ei_ucs2 -+UCS-2BE, ei_ucs2be -+UNICODEBIG, ei_ucs2be -+UNICODE-1-1, ei_ucs2be -+CSUNICODE11, ei_ucs2be -+UCS-2LE, ei_ucs2le -+UNICODELITTLE, ei_ucs2le -+UCS-4, ei_ucs4 -+ISO-10646-UCS-4, ei_ucs4 -+CSUCS4, ei_ucs4 -+UCS-4BE, ei_ucs4be -+UCS-4LE, ei_ucs4le -+UTF-16, ei_utf16 -+UTF-16BE, ei_utf16be -+UTF-16LE, ei_utf16le -+UTF-32, ei_utf32 -+UTF-32BE, ei_utf32be -+UTF-32LE, ei_utf32le -+UTF-7, ei_utf7 -+UNICODE-1-1-UTF-7, ei_utf7 -+CSUNICODE11UTF7, ei_utf7 -+UCS-2-INTERNAL, ei_ucs2internal -+UCS-2-SWAPPED, ei_ucs2swapped -+UCS-4-INTERNAL, ei_ucs4internal -+UCS-4-SWAPPED, ei_ucs4swapped -+C99, ei_c99 -+JAVA, ei_java -+ISO-8859-1, ei_iso8859_1 -+ISO_8859-1, ei_iso8859_1 -+ISO_8859-1:1987, ei_iso8859_1 -+ISO-IR-100, ei_iso8859_1 -+CP819, ei_iso8859_1 -+IBM819, ei_iso8859_1 -+LATIN1, ei_iso8859_1 -+L1, ei_iso8859_1 -+CSISOLATIN1, ei_iso8859_1 -+ISO8859-1, ei_iso8859_1 -+ISO-8859-2, ei_iso8859_2 -+ISO_8859-2, ei_iso8859_2 -+ISO_8859-2:1987, ei_iso8859_2 -+ISO-IR-101, ei_iso8859_2 -+LATIN2, ei_iso8859_2 -+L2, ei_iso8859_2 -+CSISOLATIN2, ei_iso8859_2 -+ISO8859-2, ei_iso8859_2 -+ISO-8859-3, ei_iso8859_3 -+ISO_8859-3, ei_iso8859_3 -+ISO_8859-3:1988, ei_iso8859_3 -+ISO-IR-109, ei_iso8859_3 -+LATIN3, ei_iso8859_3 -+L3, ei_iso8859_3 -+CSISOLATIN3, ei_iso8859_3 -+ISO8859-3, ei_iso8859_3 -+ISO-8859-4, ei_iso8859_4 -+ISO_8859-4, ei_iso8859_4 -+ISO_8859-4:1988, ei_iso8859_4 -+ISO-IR-110, ei_iso8859_4 -+LATIN4, ei_iso8859_4 -+L4, ei_iso8859_4 -+CSISOLATIN4, ei_iso8859_4 -+ISO8859-4, ei_iso8859_4 -+ISO-8859-5, ei_iso8859_5 -+ISO_8859-5, ei_iso8859_5 -+ISO_8859-5:1988, ei_iso8859_5 -+ISO-IR-144, ei_iso8859_5 -+CYRILLIC, ei_iso8859_5 -+CSISOLATINCYRILLIC, ei_iso8859_5 -+ISO8859-5, ei_iso8859_5 -+ISO-8859-6, ei_iso8859_6 -+ISO_8859-6, ei_iso8859_6 -+ISO_8859-6:1987, ei_iso8859_6 -+ISO-IR-127, ei_iso8859_6 -+ECMA-114, ei_iso8859_6 -+ASMO-708, ei_iso8859_6 -+ARABIC, ei_iso8859_6 -+CSISOLATINARABIC, ei_iso8859_6 -+ISO8859-6, ei_iso8859_6 -+ISO-8859-7, ei_iso8859_7 -+ISO_8859-7, ei_iso8859_7 -+ISO_8859-7:1987, ei_iso8859_7 -+ISO_8859-7:2003, ei_iso8859_7 -+ISO-IR-126, ei_iso8859_7 -+ECMA-118, ei_iso8859_7 -+ELOT_928, ei_iso8859_7 -+GREEK8, ei_iso8859_7 -+GREEK, ei_iso8859_7 -+CSISOLATINGREEK, ei_iso8859_7 -+ISO8859-7, ei_iso8859_7 -+ISO-8859-8, ei_iso8859_8 -+ISO_8859-8, ei_iso8859_8 -+ISO_8859-8:1988, ei_iso8859_8 -+ISO-IR-138, ei_iso8859_8 -+HEBREW, ei_iso8859_8 -+CSISOLATINHEBREW, ei_iso8859_8 -+ISO8859-8, ei_iso8859_8 -+ISO-8859-9, ei_iso8859_9 -+ISO_8859-9, ei_iso8859_9 -+ISO_8859-9:1989, ei_iso8859_9 -+ISO-IR-148, ei_iso8859_9 -+LATIN5, ei_iso8859_9 -+L5, ei_iso8859_9 -+CSISOLATIN5, ei_iso8859_9 -+ISO8859-9, ei_iso8859_9 -+ISO-8859-10, ei_iso8859_10 -+ISO_8859-10, ei_iso8859_10 -+ISO_8859-10:1992, ei_iso8859_10 -+ISO-IR-157, ei_iso8859_10 -+LATIN6, ei_iso8859_10 -+L6, ei_iso8859_10 -+CSISOLATIN6, ei_iso8859_10 -+ISO8859-10, ei_iso8859_10 -+ISO-8859-11, ei_iso8859_11 -+ISO_8859-11, ei_iso8859_11 -+ISO8859-11, ei_iso8859_11 -+ISO-8859-13, ei_iso8859_13 -+ISO_8859-13, ei_iso8859_13 -+ISO-IR-179, ei_iso8859_13 -+LATIN7, ei_iso8859_13 -+L7, ei_iso8859_13 -+ISO8859-13, ei_iso8859_13 -+ISO-8859-14, ei_iso8859_14 -+ISO_8859-14, ei_iso8859_14 -+ISO_8859-14:1998, ei_iso8859_14 -+ISO-IR-199, ei_iso8859_14 -+LATIN8, ei_iso8859_14 -+L8, ei_iso8859_14 -+ISO-CELTIC, ei_iso8859_14 -+ISO8859-14, ei_iso8859_14 -+ISO-8859-15, ei_iso8859_15 -+ISO_8859-15, ei_iso8859_15 -+ISO_8859-15:1998, ei_iso8859_15 -+ISO-IR-203, ei_iso8859_15 -+LATIN-9, ei_iso8859_15 -+ISO8859-15, ei_iso8859_15 -+ISO-8859-16, ei_iso8859_16 -+ISO_8859-16, ei_iso8859_16 -+ISO_8859-16:2001, ei_iso8859_16 -+ISO-IR-226, ei_iso8859_16 -+LATIN10, ei_iso8859_16 -+L10, ei_iso8859_16 -+ISO8859-16, ei_iso8859_16 -+KOI8-R, ei_koi8_r -+CSKOI8R, ei_koi8_r -+KOI8-U, ei_koi8_u -+KOI8-RU, ei_koi8_ru -+CP1250, ei_cp1250 -+WINDOWS-1250, ei_cp1250 -+MS-EE, ei_cp1250 -+CP1251, ei_cp1251 -+WINDOWS-1251, ei_cp1251 -+MS-CYRL, ei_cp1251 -+ANSI-1251, ei_cp1251 -+CP1252, ei_cp1252 -+WINDOWS-1252, ei_cp1252 -+MS-ANSI, ei_cp1252 -+CP1253, ei_cp1253 -+WINDOWS-1253, ei_cp1253 -+MS-GREEK, ei_cp1253 -+CP1254, ei_cp1254 -+WINDOWS-1254, ei_cp1254 -+MS-TURK, ei_cp1254 -+CP1255, ei_cp1255 -+WINDOWS-1255, ei_cp1255 -+MS-HEBR, ei_cp1255 -+CP1256, ei_cp1256 -+WINDOWS-1256, ei_cp1256 -+MS-ARAB, ei_cp1256 -+CP1257, ei_cp1257 -+WINDOWS-1257, ei_cp1257 -+WINBALTRIM, ei_cp1257 -+CP1258, ei_cp1258 -+WINDOWS-1258, ei_cp1258 -+CP850, ei_cp850 -+IBM850, ei_cp850 -+850, ei_cp850 -+CSPC850MULTILINGUAL, ei_cp850 -+CP862, ei_cp862 -+IBM862, ei_cp862 -+862, ei_cp862 -+CSPC862LATINHEBREW, ei_cp862 -+CP866, ei_cp866 -+IBM866, ei_cp866 -+866, ei_cp866 -+CSIBM866, ei_cp866 -+CP1131, ei_cp1131 -+MACROMAN, ei_mac_roman -+MACINTOSH, ei_mac_roman -+MAC, ei_mac_roman -+CSMACINTOSH, ei_mac_roman -+MACCENTRALEUROPE, ei_mac_centraleurope -+MACICELAND, ei_mac_iceland -+MACCROATIAN, ei_mac_croatian -+MACROMANIA, ei_mac_romania -+MACCYRILLIC, ei_mac_cyrillic -+MACUKRAINE, ei_mac_ukraine -+MACGREEK, ei_mac_greek -+MACTURKISH, ei_mac_turkish -+MACHEBREW, ei_mac_hebrew -+MACARABIC, ei_mac_arabic -+MACTHAI, ei_mac_thai -+HP-ROMAN8, ei_hp_roman8 -+ROMAN8, ei_hp_roman8 -+R8, ei_hp_roman8 -+CSHPROMAN8, ei_hp_roman8 -+NEXTSTEP, ei_nextstep -+ARMSCII-8, ei_armscii_8 -+GEORGIAN-ACADEMY, ei_georgian_academy -+GEORGIAN-PS, ei_georgian_ps -+KOI8-T, ei_koi8_t -+PT154, ei_pt154 -+PTCP154, ei_pt154 -+CP154, ei_pt154 -+CYRILLIC-ASIAN, ei_pt154 -+CSPTCP154, ei_pt154 -+RK1048, ei_rk1048 -+STRK1048-2002, ei_rk1048 -+KZ-1048, ei_rk1048 -+CSKZ1048, ei_rk1048 -+MULELAO-1, ei_mulelao -+CP1133, ei_cp1133 -+IBM-CP1133, ei_cp1133 -+TIS-620, ei_tis620 -+TIS620, ei_tis620 -+TIS620-0, ei_tis620 -+TIS620.2529-1, ei_tis620 -+TIS620.2533-0, ei_tis620 -+TIS620.2533-1, ei_tis620 -+ISO-IR-166, ei_tis620 -+TIS620.2533, ei_tis620 -+CP874, ei_cp874 -+WINDOWS-874, ei_cp874 -+VISCII, ei_viscii -+VISCII1.1-1, ei_viscii -+CSVISCII, ei_viscii -+TCVN, ei_tcvn -+TCVN-5712, ei_tcvn -+TCVN5712-1, ei_tcvn -+TCVN5712-1:1993, ei_tcvn -+JIS_C6220-1969-RO, ei_iso646_jp -+ISO646-JP, ei_iso646_jp -+ISO-IR-14, ei_iso646_jp -+JP, ei_iso646_jp -+CSISO14JISC6220RO, ei_iso646_jp -+JIS_X0201, ei_jisx0201 -+JISX0201-1976, ei_jisx0201 -+X0201, ei_jisx0201 -+CSHALFWIDTHKATAKANA, ei_jisx0201 -+JIS_X0208, ei_jisx0208 -+JIS_X0208-1983, ei_jisx0208 -+JIS_X0208-1990, ei_jisx0208 -+JIS0208, ei_jisx0208 -+X0208, ei_jisx0208 -+ISO-IR-87, ei_jisx0208 -+JIS_C6226-1983, ei_jisx0208 -+CSISO87JISX0208, ei_jisx0208 -+JIS_X0212, ei_jisx0212 -+JIS_X0212.1990-0, ei_jisx0212 -+JIS_X0212-1990, ei_jisx0212 -+X0212, ei_jisx0212 -+ISO-IR-159, ei_jisx0212 -+CSISO159JISX02121990, ei_jisx0212 -+GB_1988-80, ei_iso646_cn -+ISO646-CN, ei_iso646_cn -+ISO-IR-57, ei_iso646_cn -+CN, ei_iso646_cn -+CSISO57GB1988, ei_iso646_cn -+GB_2312-80, ei_gb2312 -+ISO-IR-58, ei_gb2312 -+CSISO58GB231280, ei_gb2312 -+CHINESE, ei_gb2312 -+ISO-IR-165, ei_isoir165 -+CN-GB-ISOIR165, ei_isoir165 -+KSC_5601, ei_ksc5601 -+KS_C_5601-1987, ei_ksc5601 -+KS_C_5601-1989, ei_ksc5601 -+ISO-IR-149, ei_ksc5601 -+CSKSC56011987, ei_ksc5601 -+KOREAN, ei_ksc5601 -+EUC-JP, ei_euc_jp -+EUCJP, ei_euc_jp -+EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE, ei_euc_jp -+CSEUCPKDFMTJAPANESE, ei_euc_jp -+SHIFT_JIS, ei_sjis -+SHIFT-JIS, ei_sjis -+SJIS, ei_sjis -+MS_KANJI, ei_sjis -+CSSHIFTJIS, ei_sjis -+PCK, ei_sjis -+CP932, ei_cp932 -+ISO-2022-JP, ei_iso2022_jp -+CSISO2022JP, ei_iso2022_jp -+ISO-2022-JP-1, ei_iso2022_jp1 -+ISO-2022-JP-2, ei_iso2022_jp2 -+CSISO2022JP2, ei_iso2022_jp2 -+ISO-2022-JP-MS, ei_iso2022_jpms -+CP50221, ei_iso2022_jpms -+EUC-CN, ei_euc_cn -+EUCCN, ei_euc_cn -+GB2312, ei_euc_cn -+CN-GB, ei_euc_cn -+CSGB2312, ei_euc_cn -+GBK, ei_ces_gbk -+CP936, ei_cp936 -+MS936, ei_cp936 -+WINDOWS-936, ei_cp936 -+GB18030, ei_gb18030 -+ISO-2022-CN, ei_iso2022_cn -+CSISO2022CN, ei_iso2022_cn -+ISO-2022-CN-EXT, ei_iso2022_cn_ext -+HZ, ei_hz -+HZ-GB-2312, ei_hz -+EUC-TW, ei_euc_tw -+EUCTW, ei_euc_tw -+CSEUCTW, ei_euc_tw -+CNS11643, ei_euc_tw -+BIG5, ei_ces_big5 -+BIG-5, ei_ces_big5 -+BIG-FIVE, ei_ces_big5 -+BIGFIVE, ei_ces_big5 -+CN-BIG5, ei_ces_big5 -+CSBIG5, ei_ces_big5 -+CP950, ei_cp950 -+BIG5-HKSCS:1999, ei_big5hkscs1999 -+BIG5-HKSCS:2001, ei_big5hkscs2001 -+BIG5-HKSCS:2004, ei_big5hkscs2004 -+BIG5-HKSCS, ei_big5hkscs2008 -+BIG5HKSCS, ei_big5hkscs2008 -+BIG5-HKSCS:2008, ei_big5hkscs2008 -+EUC-KR, ei_euc_kr -+EUCKR, ei_euc_kr -+CSEUCKR, ei_euc_kr -+5601, ei_euc_kr -+CP949, ei_cp949 -+UHC, ei_cp949 -+JOHAB, ei_johab -+CP1361, ei_johab -+KO_KR.JOHAP92, ei_johab -+ISO-2022-KR, ei_iso2022_kr -+CSISO2022KR, ei_iso2022_kr -+CHAR, ei_local_char -+WCHAR_T, ei_local_wchar_t -diff -Naur libiconv-20130504/lib/aliases_syssolaris.h libiconv-20130504.patch/lib/aliases_syssolaris.h ---- libiconv-20130504/lib/aliases_syssolaris.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/aliases_syssolaris.h 2013-05-04 10:23:30.583104757 +0200 -@@ -0,0 +1,1760 @@ -+/* ANSI-C code produced by gperf version 3.0.4 */ -+/* Command-line: gperf -m 10 lib/aliases_syssolaris.gperf */ -+/* Computed positions: -k'1,3-11,$' */ -+ -+#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ -+ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ -+ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ -+ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ -+ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ -+ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ -+ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ -+ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ -+ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ -+ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ -+ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ -+ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ -+ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ -+ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ -+ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ -+ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ -+ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ -+ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ -+ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ -+ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ -+ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ -+ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ -+ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126)) -+/* The character set is not based on ISO-646. */ -+#error "gperf generated tables don't work with this execution character set. Please report a bug to ." -+#endif -+ -+#line 1 "lib/aliases_syssolaris.gperf" -+struct alias { int name; unsigned int encoding_index; }; -+ -+#define TOTAL_KEYWORDS 356 -+#define MIN_WORD_LENGTH 2 -+#define MAX_WORD_LENGTH 45 -+#define MIN_HASH_VALUE 8 -+#define MAX_HASH_VALUE 956 -+/* maximum key range = 949, duplicates = 0 */ -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static unsigned int -+aliases_hash (register const char *str, register unsigned int len) -+{ -+ static const unsigned short asso_values[] = -+ { -+ 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, -+ 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, -+ 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, -+ 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, -+ 957, 957, 957, 957, 957, 10, 110, 957, 34, 2, -+ 8, 85, 31, 4, 3, 170, 6, 7, 192, 957, -+ 957, 957, 957, 957, 957, 26, 164, 2, 39, 78, -+ 125, 98, 118, 2, 168, 103, 149, 143, 4, 2, -+ 139, 957, 40, 64, 28, 123, 106, 162, 190, 5, -+ 4, 957, 957, 957, 957, 82, 957, 957, 957, 957, -+ 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, -+ 957, 957, 957, 957, 957, 957, 957, 957, 957, 957, -+ 957, 957, 957, 957, 957, 957, 957, 957 -+ }; -+ register int hval = len; -+ -+ switch (hval) -+ { -+ default: -+ hval += asso_values[(unsigned char)str[10]]; -+ /*FALLTHROUGH*/ -+ case 10: -+ hval += asso_values[(unsigned char)str[9]]; -+ /*FALLTHROUGH*/ -+ case 9: -+ hval += asso_values[(unsigned char)str[8]]; -+ /*FALLTHROUGH*/ -+ case 8: -+ hval += asso_values[(unsigned char)str[7]]; -+ /*FALLTHROUGH*/ -+ case 7: -+ hval += asso_values[(unsigned char)str[6]]; -+ /*FALLTHROUGH*/ -+ case 6: -+ hval += asso_values[(unsigned char)str[5]]; -+ /*FALLTHROUGH*/ -+ case 5: -+ hval += asso_values[(unsigned char)str[4]]; -+ /*FALLTHROUGH*/ -+ case 4: -+ hval += asso_values[(unsigned char)str[3]]; -+ /*FALLTHROUGH*/ -+ case 3: -+ hval += asso_values[(unsigned char)str[2]]; -+ /*FALLTHROUGH*/ -+ case 2: -+ case 1: -+ hval += asso_values[(unsigned char)str[0]]; -+ break; -+ } -+ return hval + asso_values[(unsigned char)str[len - 1]]; -+} -+ -+struct stringpool_t -+ { -+ char stringpool_str8[sizeof("CN")]; -+ char stringpool_str12[sizeof("646")]; -+ char stringpool_str15[sizeof("866")]; -+ char stringpool_str19[sizeof("C99")]; -+ char stringpool_str22[sizeof("CP866")]; -+ char stringpool_str25[sizeof("862")]; -+ char stringpool_str26[sizeof("CP1251")]; -+ char stringpool_str28[sizeof("CP1256")]; -+ char stringpool_str29[sizeof("CP819")]; -+ char stringpool_str30[sizeof("CP1255")]; -+ char stringpool_str32[sizeof("CP862")]; -+ char stringpool_str34[sizeof("CP1258")]; -+ char stringpool_str38[sizeof("CP1252")]; -+ char stringpool_str39[sizeof("ASCII")]; -+ char stringpool_str46[sizeof("5601")]; -+ char stringpool_str48[sizeof("R8")]; -+ char stringpool_str50[sizeof("ISO8859-1")]; -+ char stringpool_str52[sizeof("ISO8859-6")]; -+ char stringpool_str53[sizeof("ISO8859-11")]; -+ char stringpool_str54[sizeof("ISO8859-5")]; -+ char stringpool_str55[sizeof("ISO8859-16")]; -+ char stringpool_str57[sizeof("ISO8859-15")]; -+ char stringpool_str58[sizeof("ISO8859-8")]; -+ char stringpool_str59[sizeof("CP949")]; -+ char stringpool_str60[sizeof("ISO8859-9")]; -+ char stringpool_str61[sizeof("ISO-8859-1")]; -+ char stringpool_str62[sizeof("ISO8859-2")]; -+ char stringpool_str63[sizeof("ISO-8859-6")]; -+ char stringpool_str64[sizeof("ISO-8859-11")]; -+ char stringpool_str65[sizeof("ISO-8859-5")]; -+ char stringpool_str66[sizeof("ISO-8859-16")]; -+ char stringpool_str67[sizeof("CP50221")]; -+ char stringpool_str68[sizeof("ISO-8859-15")]; -+ char stringpool_str69[sizeof("ISO-8859-8")]; -+ char stringpool_str70[sizeof("ISO646-CN")]; -+ char stringpool_str71[sizeof("ISO-8859-9")]; -+ char stringpool_str73[sizeof("ISO-8859-2")]; -+ char stringpool_str75[sizeof("CP154")]; -+ char stringpool_str77[sizeof("850")]; -+ char stringpool_str80[sizeof("ISO-IR-6")]; -+ char stringpool_str84[sizeof("CP1254")]; -+ char stringpool_str85[sizeof("CP850")]; -+ char stringpool_str86[sizeof("CP950")]; -+ char stringpool_str87[sizeof("ISO-IR-166")]; -+ char stringpool_str89[sizeof("ISO-IR-165")]; -+ char stringpool_str90[sizeof("CP1250")]; -+ char stringpool_str91[sizeof("ISO-IR-58")]; -+ char stringpool_str92[sizeof("ISO-IR-126")]; -+ char stringpool_str95[sizeof("EUCCN")]; -+ char stringpool_str96[sizeof("ISO-IR-159")]; -+ char stringpool_str98[sizeof("ISO-IR-226")]; -+ char stringpool_str99[sizeof("ISO-IR-199")]; -+ char stringpool_str101[sizeof("CP1131")]; -+ char stringpool_str102[sizeof("CP1361")]; -+ char stringpool_str103[sizeof("ISO-2022-CN")]; -+ char stringpool_str105[sizeof("CP936")]; -+ char stringpool_str106[sizeof("EUC-CN")]; -+ char stringpool_str107[sizeof("CSASCII")]; -+ char stringpool_str108[sizeof("ISO8859-4")]; -+ char stringpool_str111[sizeof("ISO8859-14")]; -+ char stringpool_str112[sizeof("CHAR")]; -+ char stringpool_str115[sizeof("CP932")]; -+ char stringpool_str116[sizeof("ISO-IR-101")]; -+ char stringpool_str117[sizeof("ISO8859-10")]; -+ char stringpool_str119[sizeof("ISO-8859-4")]; -+ char stringpool_str121[sizeof("ISO-IR-148")]; -+ char stringpool_str122[sizeof("ISO-8859-14")]; -+ char stringpool_str123[sizeof("ISO-IR-149")]; -+ char stringpool_str124[sizeof("HZ")]; -+ char stringpool_str125[sizeof("RK1048")]; -+ char stringpool_str126[sizeof("ISO-IR-109")]; -+ char stringpool_str128[sizeof("ISO-8859-10")]; -+ char stringpool_str129[sizeof("ANSI-1251")]; -+ char stringpool_str130[sizeof("UHC")]; -+ char stringpool_str131[sizeof("ISO-2022-CN-EXT")]; -+ char stringpool_str133[sizeof("ISO_8859-1")]; -+ char stringpool_str135[sizeof("ISO_8859-6")]; -+ char stringpool_str136[sizeof("ISO_8859-11")]; -+ char stringpool_str137[sizeof("ISO_8859-5")]; -+ char stringpool_str138[sizeof("ISO_8859-16")]; -+ char stringpool_str139[sizeof("ISO-IR-14")]; -+ char stringpool_str140[sizeof("ISO_8859-15")]; -+ char stringpool_str141[sizeof("ISO_8859-8")]; -+ char stringpool_str142[sizeof("ISO_8859-16:2001")]; -+ char stringpool_str143[sizeof("ISO_8859-9")]; -+ char stringpool_str145[sizeof("ISO_8859-2")]; -+ char stringpool_str146[sizeof("TCVN")]; -+ char stringpool_str147[sizeof("ISO_8859-15:1998")]; -+ char stringpool_str148[sizeof("ISO-IR-110")]; -+ char stringpool_str149[sizeof("CSISO2022CN")]; -+ char stringpool_str150[sizeof("MAC")]; -+ char stringpool_str153[sizeof("L1")]; -+ char stringpool_str154[sizeof("L6")]; -+ char stringpool_str155[sizeof("L5")]; -+ char stringpool_str157[sizeof("L8")]; -+ char stringpool_str159[sizeof("L2")]; -+ char stringpool_str166[sizeof("IBM866")]; -+ char stringpool_str171[sizeof("ISO-IR-144")]; -+ char stringpool_str173[sizeof("IBM819")]; -+ char stringpool_str174[sizeof("ISO_8859-14:1998")]; -+ char stringpool_str175[sizeof("ISO-IR-138")]; -+ char stringpool_str176[sizeof("IBM862")]; -+ char stringpool_str177[sizeof("TIS620")]; -+ char stringpool_str179[sizeof("ISO_8859-10:1992")]; -+ char stringpool_str180[sizeof("ISO-IR-100")]; -+ char stringpool_str182[sizeof("L4")]; -+ char stringpool_str183[sizeof("KOI8-T")]; -+ char stringpool_str184[sizeof("VISCII")]; -+ char stringpool_str188[sizeof("TIS-620")]; -+ char stringpool_str189[sizeof("US")]; -+ char stringpool_str190[sizeof("CSVISCII")]; -+ char stringpool_str191[sizeof("ISO_8859-4")]; -+ char stringpool_str192[sizeof("CP1253")]; -+ char stringpool_str193[sizeof("LATIN1")]; -+ char stringpool_str194[sizeof("ISO_8859-14")]; -+ char stringpool_str195[sizeof("LATIN6")]; -+ char stringpool_str196[sizeof("CSKZ1048")]; -+ char stringpool_str197[sizeof("LATIN5")]; -+ char stringpool_str198[sizeof("SJIS")]; -+ char stringpool_str199[sizeof("KZ-1048")]; -+ char stringpool_str200[sizeof("ISO_8859-10")]; -+ char stringpool_str201[sizeof("LATIN8")]; -+ char stringpool_str202[sizeof("CSKOI8R")]; -+ char stringpool_str205[sizeof("LATIN2")]; -+ char stringpool_str207[sizeof("KOI8-R")]; -+ char stringpool_str212[sizeof("PT154")]; -+ char stringpool_str214[sizeof("LATIN-9")]; -+ char stringpool_str215[sizeof("GB2312")]; -+ char stringpool_str216[sizeof("ISO8859-3")]; -+ char stringpool_str218[sizeof("UCS-2")]; -+ char stringpool_str219[sizeof("ISO8859-13")]; -+ char stringpool_str220[sizeof("L10")]; -+ char stringpool_str221[sizeof("X0212")]; -+ char stringpool_str223[sizeof("TIS620-0")]; -+ char stringpool_str225[sizeof("ELOT_928")]; -+ char stringpool_str227[sizeof("ISO-8859-3")]; -+ char stringpool_str228[sizeof("ARABIC")]; -+ char stringpool_str229[sizeof("IBM850")]; -+ char stringpool_str230[sizeof("ISO-8859-13")]; -+ char stringpool_str231[sizeof("ROMAN8")]; -+ char stringpool_str236[sizeof("L3")]; -+ char stringpool_str239[sizeof("US-ASCII")]; -+ char stringpool_str240[sizeof("KSC_5601")]; -+ char stringpool_str241[sizeof("X0201")]; -+ char stringpool_str243[sizeof("ISO-10646-UCS-2")]; -+ char stringpool_str245[sizeof("CP874")]; -+ char stringpool_str246[sizeof("MS936")]; -+ char stringpool_str249[sizeof("X0208")]; -+ char stringpool_str251[sizeof("LATIN4")]; -+ char stringpool_str258[sizeof("MS-ANSI")]; -+ char stringpool_str259[sizeof("CSUCS4")]; -+ char stringpool_str260[sizeof("LATIN10")]; -+ char stringpool_str261[sizeof("KOREAN")]; -+ char stringpool_str262[sizeof("ISO-IR-179")]; -+ char stringpool_str264[sizeof("UCS-4")]; -+ char stringpool_str266[sizeof("ISO-10646-UCS-4")]; -+ char stringpool_str267[sizeof("CP1133")]; -+ char stringpool_str268[sizeof("EUCKR")]; -+ char stringpool_str269[sizeof("CSUNICODE11")]; -+ char stringpool_str270[sizeof("ARMSCII-8")]; -+ char stringpool_str272[sizeof("UTF-16")]; -+ char stringpool_str274[sizeof("BIG5")]; -+ char stringpool_str275[sizeof("UTF-8")]; -+ char stringpool_str276[sizeof("ISO-2022-KR")]; -+ char stringpool_str279[sizeof("EUC-KR")]; -+ char stringpool_str280[sizeof("CSBIG5")]; -+ char stringpool_str281[sizeof("ECMA-118")]; -+ char stringpool_str282[sizeof("CNS11643")]; -+ char stringpool_str283[sizeof("UNICODE-1-1")]; -+ char stringpool_str285[sizeof("BIG-5")]; -+ char stringpool_str287[sizeof("ISO-CELTIC")]; -+ char stringpool_str288[sizeof("ISO-IR-203")]; -+ char stringpool_str289[sizeof("TIS620.2529-1")]; -+ char stringpool_str290[sizeof("MACCROATIAN")]; -+ char stringpool_str291[sizeof("CN-BIG5")]; -+ char stringpool_str294[sizeof("CSISOLATIN1")]; -+ char stringpool_str295[sizeof("GB_1988-80")]; -+ char stringpool_str296[sizeof("CSISOLATIN6")]; -+ char stringpool_str298[sizeof("CSISOLATIN5")]; -+ char stringpool_str299[sizeof("ISO_8859-3")]; -+ char stringpool_str300[sizeof("GB18030")]; -+ char stringpool_str301[sizeof("CSISOLATINCYRILLIC")]; -+ char stringpool_str302[sizeof("ISO_8859-13")]; -+ char stringpool_str306[sizeof("CSISOLATIN2")]; -+ char stringpool_str307[sizeof("GBK")]; -+ char stringpool_str309[sizeof("JP")]; -+ char stringpool_str311[sizeof("ISO646-US")]; -+ char stringpool_str313[sizeof("CHINESE")]; -+ char stringpool_str315[sizeof("VISCII1.1-1")]; -+ char stringpool_str321[sizeof("L7")]; -+ char stringpool_str322[sizeof("CSISO2022KR")]; -+ char stringpool_str323[sizeof("CSISOLATINARABIC")]; -+ char stringpool_str327[sizeof("JIS0208")]; -+ char stringpool_str328[sizeof("MACTHAI")]; -+ char stringpool_str329[sizeof("GEORGIAN-ACADEMY")]; -+ char stringpool_str330[sizeof("JAVA")]; -+ char stringpool_str331[sizeof("ECMA-114")]; -+ char stringpool_str334[sizeof("CSIBM866")]; -+ char stringpool_str336[sizeof("ISO_8859-5:1988")]; -+ char stringpool_str338[sizeof("ISO_8859-8:1988")]; -+ char stringpool_str339[sizeof("CSUNICODE")]; -+ char stringpool_str340[sizeof("ISO_8859-9:1989")]; -+ char stringpool_str345[sizeof("KS_C_5601-1989")]; -+ char stringpool_str346[sizeof("TCVN5712-1")]; -+ char stringpool_str348[sizeof("PCK")]; -+ char stringpool_str349[sizeof("TCVN-5712")]; -+ char stringpool_str352[sizeof("CSISOLATIN4")]; -+ char stringpool_str353[sizeof("STRK1048-2002")]; -+ char stringpool_str355[sizeof("PTCP154")]; -+ char stringpool_str356[sizeof("CYRILLIC")]; -+ char stringpool_str358[sizeof("CSISO14JISC6220RO")]; -+ char stringpool_str359[sizeof("LATIN3")]; -+ char stringpool_str362[sizeof("CP1257")]; -+ char stringpool_str363[sizeof("ISO_8859-4:1988")]; -+ char stringpool_str364[sizeof("HP-ROMAN8")]; -+ char stringpool_str365[sizeof("UTF-32")]; -+ char stringpool_str371[sizeof("CSISO159JISX02121990")]; -+ char stringpool_str372[sizeof("MACROMAN")]; -+ char stringpool_str373[sizeof("KOI8-U")]; -+ char stringpool_str375[sizeof("GREEK8")]; -+ char stringpool_str377[sizeof("GB_2312-80")]; -+ char stringpool_str383[sizeof("CSGB2312")]; -+ char stringpool_str386[sizeof("ISO8859-7")]; -+ char stringpool_str387[sizeof("CSPTCP154")]; -+ char stringpool_str392[sizeof("MS-EE")]; -+ char stringpool_str395[sizeof("CSEUCKR")]; -+ char stringpool_str397[sizeof("ISO-8859-7")]; -+ char stringpool_str399[sizeof("ISO_646.IRV:1991")]; -+ char stringpool_str400[sizeof("JIS_C6220-1969-RO")]; -+ char stringpool_str404[sizeof("ISO-2022-JP-1")]; -+ char stringpool_str405[sizeof("ASMO-708")]; -+ char stringpool_str406[sizeof("CSKSC56011987")]; -+ char stringpool_str410[sizeof("ISO-2022-JP-2")]; -+ char stringpool_str412[sizeof("CN-GB-ISOIR165")]; -+ char stringpool_str414[sizeof("KOI8-RU")]; -+ char stringpool_str416[sizeof("MACARABIC")]; -+ char stringpool_str417[sizeof("ISO_8859-3:1988")]; -+ char stringpool_str419[sizeof("ISO-IR-57")]; -+ char stringpool_str421[sizeof("ISO-IR-87")]; -+ char stringpool_str422[sizeof("ISO-IR-157")]; -+ char stringpool_str424[sizeof("MACROMANIA")]; -+ char stringpool_str426[sizeof("ISO-IR-127")]; -+ char stringpool_str435[sizeof("CP367")]; -+ char stringpool_str437[sizeof("EUCTW")]; -+ char stringpool_str441[sizeof("CSUNICODE11UTF7")]; -+ char stringpool_str443[sizeof("CN-GB")]; -+ char stringpool_str444[sizeof("TIS620.2533-1")]; -+ char stringpool_str448[sizeof("EUC-TW")]; -+ char stringpool_str449[sizeof("JIS_C6226-1983")]; -+ char stringpool_str455[sizeof("CSISO2022JP2")]; -+ char stringpool_str457[sizeof("UNICODE-1-1-UTF-7")]; -+ char stringpool_str460[sizeof("CSISOLATIN3")]; -+ char stringpool_str464[sizeof("CYRILLIC-ASIAN")]; -+ char stringpool_str465[sizeof("GREEK")]; -+ char stringpool_str467[sizeof("ISO-2022-JP-MS")]; -+ char stringpool_str469[sizeof("ISO_8859-7")]; -+ char stringpool_str471[sizeof("WINDOWS-1251")]; -+ char stringpool_str472[sizeof("WINDOWS-1256")]; -+ char stringpool_str473[sizeof("WINDOWS-1255")]; -+ char stringpool_str475[sizeof("WINDOWS-1258")]; -+ char stringpool_str476[sizeof("TIS620.2533-0")]; -+ char stringpool_str477[sizeof("WINDOWS-1252")]; -+ char stringpool_str484[sizeof("CSISO58GB231280")]; -+ char stringpool_str490[sizeof("MACINTOSH")]; -+ char stringpool_str491[sizeof("WCHAR_T")]; -+ char stringpool_str494[sizeof("MACICELAND")]; -+ char stringpool_str495[sizeof("CSISOLATINGREEK")]; -+ char stringpool_str496[sizeof("CSHPROMAN8")]; -+ char stringpool_str498[sizeof("ISO_8859-1:1987")]; -+ char stringpool_str499[sizeof("ISO_8859-6:1987")]; -+ char stringpool_str500[sizeof("WINDOWS-1254")]; -+ char stringpool_str503[sizeof("WINDOWS-1250")]; -+ char stringpool_str504[sizeof("ISO_8859-2:1987")]; -+ char stringpool_str505[sizeof("MS-CYRL")]; -+ char stringpool_str506[sizeof("ISO646-JP")]; -+ char stringpool_str508[sizeof("KS_C_5601-1987")]; -+ char stringpool_str509[sizeof("MACCYRILLIC")]; -+ char stringpool_str517[sizeof("UCS-2LE")]; -+ char stringpool_str520[sizeof("CSMACINTOSH")]; -+ char stringpool_str521[sizeof("HZ-GB-2312")]; -+ char stringpool_str525[sizeof("TIS620.2533")]; -+ char stringpool_str529[sizeof("LATIN7")]; -+ char stringpool_str530[sizeof("UCS-2-INTERNAL")]; -+ char stringpool_str531[sizeof("EUCJP")]; -+ char stringpool_str532[sizeof("UCS-2BE")]; -+ char stringpool_str534[sizeof("CSISO57GB1988")]; -+ char stringpool_str535[sizeof("JISX0201-1976")]; -+ char stringpool_str536[sizeof("SHIFT-JIS")]; -+ char stringpool_str538[sizeof("MS_KANJI")]; -+ char stringpool_str539[sizeof("ISO-2022-JP")]; -+ char stringpool_str540[sizeof("UCS-4LE")]; -+ char stringpool_str542[sizeof("EUC-JP")]; -+ char stringpool_str544[sizeof("UNICODELITTLE")]; -+ char stringpool_str545[sizeof("CSPC862LATINHEBREW")]; -+ char stringpool_str552[sizeof("WINDOWS-936")]; -+ char stringpool_str553[sizeof("UCS-4-INTERNAL")]; -+ char stringpool_str554[sizeof("WINDOWS-1253")]; -+ char stringpool_str555[sizeof("UCS-4BE")]; -+ char stringpool_str557[sizeof("MS-TURK")]; -+ char stringpool_str558[sizeof("GEORGIAN-PS")]; -+ char stringpool_str564[sizeof("CSEUCTW")]; -+ char stringpool_str565[sizeof("IBM-CP1133")]; -+ char stringpool_str570[sizeof("MULELAO-1")]; -+ char stringpool_str573[sizeof("JIS_X0212")]; -+ char stringpool_str575[sizeof("CSISOLATINHEBREW")]; -+ char stringpool_str576[sizeof("UTF-16LE")]; -+ char stringpool_str579[sizeof("IBM367")]; -+ char stringpool_str580[sizeof("MS-ARAB")]; -+ char stringpool_str581[sizeof("ISO_8859-7:2003")]; -+ char stringpool_str585[sizeof("CSISO2022JP")]; -+ char stringpool_str591[sizeof("UTF-16BE")]; -+ char stringpool_str593[sizeof("JIS_X0201")]; -+ char stringpool_str600[sizeof("MS-HEBR")]; -+ char stringpool_str601[sizeof("JIS_X0208")]; -+ char stringpool_str603[sizeof("UTF-7")]; -+ char stringpool_str608[sizeof("SHIFT_JIS")]; -+ char stringpool_str609[sizeof("MACUKRAINE")]; -+ char stringpool_str616[sizeof("JIS_X0212-1990")]; -+ char stringpool_str618[sizeof("UNICODEBIG")]; -+ char stringpool_str619[sizeof("ANSI_X3.4-1986")]; -+ char stringpool_str622[sizeof("ANSI_X3.4-1968")]; -+ char stringpool_str626[sizeof("TCVN5712-1:1993")]; -+ char stringpool_str639[sizeof("WINDOWS-1257")]; -+ char stringpool_str644[sizeof("MACCENTRALEUROPE")]; -+ char stringpool_str645[sizeof("JOHAB")]; -+ char stringpool_str646[sizeof("JIS_X0208-1990")]; -+ char stringpool_str647[sizeof("CSSHIFTJIS")]; -+ char stringpool_str653[sizeof("MACGREEK")]; -+ char stringpool_str658[sizeof("BIGFIVE")]; -+ char stringpool_str661[sizeof("MS-GREEK")]; -+ char stringpool_str664[sizeof("UTF-32LE")]; -+ char stringpool_str666[sizeof("ISO_8859-7:1987")]; -+ char stringpool_str669[sizeof("BIG-FIVE")]; -+ char stringpool_str676[sizeof("EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE")]; -+ char stringpool_str678[sizeof("NEXTSTEP")]; -+ char stringpool_str679[sizeof("UTF-32BE")]; -+ char stringpool_str690[sizeof("BIG5HKSCS")]; -+ char stringpool_str691[sizeof("CSISO87JISX0208")]; -+ char stringpool_str692[sizeof("WINDOWS-874")]; -+ char stringpool_str697[sizeof("JIS_X0208-1983")]; -+ char stringpool_str701[sizeof("BIG5-HKSCS")]; -+ char stringpool_str718[sizeof("JIS_X0212.1990-0")]; -+ char stringpool_str730[sizeof("HEBREW")]; -+ char stringpool_str751[sizeof("MACTURKISH")]; -+ char stringpool_str797[sizeof("UCS-2-SWAPPED")]; -+ char stringpool_str798[sizeof("CSPC850MULTILINGUAL")]; -+ char stringpool_str814[sizeof("CSHALFWIDTHKATAKANA")]; -+ char stringpool_str820[sizeof("UCS-4-SWAPPED")]; -+ char stringpool_str836[sizeof("BIG5-HKSCS:2001")]; -+ char stringpool_str840[sizeof("BIG5-HKSCS:2008")]; -+ char stringpool_str841[sizeof("BIG5-HKSCS:1999")]; -+ char stringpool_str865[sizeof("BIG5-HKSCS:2004")]; -+ char stringpool_str871[sizeof("WINBALTRIM")]; -+ char stringpool_str879[sizeof("CSEUCPKDFMTJAPANESE")]; -+ char stringpool_str912[sizeof("KO_KR.JOHAP92")]; -+ char stringpool_str956[sizeof("MACHEBREW")]; -+ }; -+static const struct stringpool_t stringpool_contents = -+ { -+ "CN", -+ "646", -+ "866", -+ "C99", -+ "CP866", -+ "862", -+ "CP1251", -+ "CP1256", -+ "CP819", -+ "CP1255", -+ "CP862", -+ "CP1258", -+ "CP1252", -+ "ASCII", -+ "5601", -+ "R8", -+ "ISO8859-1", -+ "ISO8859-6", -+ "ISO8859-11", -+ "ISO8859-5", -+ "ISO8859-16", -+ "ISO8859-15", -+ "ISO8859-8", -+ "CP949", -+ "ISO8859-9", -+ "ISO-8859-1", -+ "ISO8859-2", -+ "ISO-8859-6", -+ "ISO-8859-11", -+ "ISO-8859-5", -+ "ISO-8859-16", -+ "CP50221", -+ "ISO-8859-15", -+ "ISO-8859-8", -+ "ISO646-CN", -+ "ISO-8859-9", -+ "ISO-8859-2", -+ "CP154", -+ "850", -+ "ISO-IR-6", -+ "CP1254", -+ "CP850", -+ "CP950", -+ "ISO-IR-166", -+ "ISO-IR-165", -+ "CP1250", -+ "ISO-IR-58", -+ "ISO-IR-126", -+ "EUCCN", -+ "ISO-IR-159", -+ "ISO-IR-226", -+ "ISO-IR-199", -+ "CP1131", -+ "CP1361", -+ "ISO-2022-CN", -+ "CP936", -+ "EUC-CN", -+ "CSASCII", -+ "ISO8859-4", -+ "ISO8859-14", -+ "CHAR", -+ "CP932", -+ "ISO-IR-101", -+ "ISO8859-10", -+ "ISO-8859-4", -+ "ISO-IR-148", -+ "ISO-8859-14", -+ "ISO-IR-149", -+ "HZ", -+ "RK1048", -+ "ISO-IR-109", -+ "ISO-8859-10", -+ "ANSI-1251", -+ "UHC", -+ "ISO-2022-CN-EXT", -+ "ISO_8859-1", -+ "ISO_8859-6", -+ "ISO_8859-11", -+ "ISO_8859-5", -+ "ISO_8859-16", -+ "ISO-IR-14", -+ "ISO_8859-15", -+ "ISO_8859-8", -+ "ISO_8859-16:2001", -+ "ISO_8859-9", -+ "ISO_8859-2", -+ "TCVN", -+ "ISO_8859-15:1998", -+ "ISO-IR-110", -+ "CSISO2022CN", -+ "MAC", -+ "L1", -+ "L6", -+ "L5", -+ "L8", -+ "L2", -+ "IBM866", -+ "ISO-IR-144", -+ "IBM819", -+ "ISO_8859-14:1998", -+ "ISO-IR-138", -+ "IBM862", -+ "TIS620", -+ "ISO_8859-10:1992", -+ "ISO-IR-100", -+ "L4", -+ "KOI8-T", -+ "VISCII", -+ "TIS-620", -+ "US", -+ "CSVISCII", -+ "ISO_8859-4", -+ "CP1253", -+ "LATIN1", -+ "ISO_8859-14", -+ "LATIN6", -+ "CSKZ1048", -+ "LATIN5", -+ "SJIS", -+ "KZ-1048", -+ "ISO_8859-10", -+ "LATIN8", -+ "CSKOI8R", -+ "LATIN2", -+ "KOI8-R", -+ "PT154", -+ "LATIN-9", -+ "GB2312", -+ "ISO8859-3", -+ "UCS-2", -+ "ISO8859-13", -+ "L10", -+ "X0212", -+ "TIS620-0", -+ "ELOT_928", -+ "ISO-8859-3", -+ "ARABIC", -+ "IBM850", -+ "ISO-8859-13", -+ "ROMAN8", -+ "L3", -+ "US-ASCII", -+ "KSC_5601", -+ "X0201", -+ "ISO-10646-UCS-2", -+ "CP874", -+ "MS936", -+ "X0208", -+ "LATIN4", -+ "MS-ANSI", -+ "CSUCS4", -+ "LATIN10", -+ "KOREAN", -+ "ISO-IR-179", -+ "UCS-4", -+ "ISO-10646-UCS-4", -+ "CP1133", -+ "EUCKR", -+ "CSUNICODE11", -+ "ARMSCII-8", -+ "UTF-16", -+ "BIG5", -+ "UTF-8", -+ "ISO-2022-KR", -+ "EUC-KR", -+ "CSBIG5", -+ "ECMA-118", -+ "CNS11643", -+ "UNICODE-1-1", -+ "BIG-5", -+ "ISO-CELTIC", -+ "ISO-IR-203", -+ "TIS620.2529-1", -+ "MACCROATIAN", -+ "CN-BIG5", -+ "CSISOLATIN1", -+ "GB_1988-80", -+ "CSISOLATIN6", -+ "CSISOLATIN5", -+ "ISO_8859-3", -+ "GB18030", -+ "CSISOLATINCYRILLIC", -+ "ISO_8859-13", -+ "CSISOLATIN2", -+ "GBK", -+ "JP", -+ "ISO646-US", -+ "CHINESE", -+ "VISCII1.1-1", -+ "L7", -+ "CSISO2022KR", -+ "CSISOLATINARABIC", -+ "JIS0208", -+ "MACTHAI", -+ "GEORGIAN-ACADEMY", -+ "JAVA", -+ "ECMA-114", -+ "CSIBM866", -+ "ISO_8859-5:1988", -+ "ISO_8859-8:1988", -+ "CSUNICODE", -+ "ISO_8859-9:1989", -+ "KS_C_5601-1989", -+ "TCVN5712-1", -+ "PCK", -+ "TCVN-5712", -+ "CSISOLATIN4", -+ "STRK1048-2002", -+ "PTCP154", -+ "CYRILLIC", -+ "CSISO14JISC6220RO", -+ "LATIN3", -+ "CP1257", -+ "ISO_8859-4:1988", -+ "HP-ROMAN8", -+ "UTF-32", -+ "CSISO159JISX02121990", -+ "MACROMAN", -+ "KOI8-U", -+ "GREEK8", -+ "GB_2312-80", -+ "CSGB2312", -+ "ISO8859-7", -+ "CSPTCP154", -+ "MS-EE", -+ "CSEUCKR", -+ "ISO-8859-7", -+ "ISO_646.IRV:1991", -+ "JIS_C6220-1969-RO", -+ "ISO-2022-JP-1", -+ "ASMO-708", -+ "CSKSC56011987", -+ "ISO-2022-JP-2", -+ "CN-GB-ISOIR165", -+ "KOI8-RU", -+ "MACARABIC", -+ "ISO_8859-3:1988", -+ "ISO-IR-57", -+ "ISO-IR-87", -+ "ISO-IR-157", -+ "MACROMANIA", -+ "ISO-IR-127", -+ "CP367", -+ "EUCTW", -+ "CSUNICODE11UTF7", -+ "CN-GB", -+ "TIS620.2533-1", -+ "EUC-TW", -+ "JIS_C6226-1983", -+ "CSISO2022JP2", -+ "UNICODE-1-1-UTF-7", -+ "CSISOLATIN3", -+ "CYRILLIC-ASIAN", -+ "GREEK", -+ "ISO-2022-JP-MS", -+ "ISO_8859-7", -+ "WINDOWS-1251", -+ "WINDOWS-1256", -+ "WINDOWS-1255", -+ "WINDOWS-1258", -+ "TIS620.2533-0", -+ "WINDOWS-1252", -+ "CSISO58GB231280", -+ "MACINTOSH", -+ "WCHAR_T", -+ "MACICELAND", -+ "CSISOLATINGREEK", -+ "CSHPROMAN8", -+ "ISO_8859-1:1987", -+ "ISO_8859-6:1987", -+ "WINDOWS-1254", -+ "WINDOWS-1250", -+ "ISO_8859-2:1987", -+ "MS-CYRL", -+ "ISO646-JP", -+ "KS_C_5601-1987", -+ "MACCYRILLIC", -+ "UCS-2LE", -+ "CSMACINTOSH", -+ "HZ-GB-2312", -+ "TIS620.2533", -+ "LATIN7", -+ "UCS-2-INTERNAL", -+ "EUCJP", -+ "UCS-2BE", -+ "CSISO57GB1988", -+ "JISX0201-1976", -+ "SHIFT-JIS", -+ "MS_KANJI", -+ "ISO-2022-JP", -+ "UCS-4LE", -+ "EUC-JP", -+ "UNICODELITTLE", -+ "CSPC862LATINHEBREW", -+ "WINDOWS-936", -+ "UCS-4-INTERNAL", -+ "WINDOWS-1253", -+ "UCS-4BE", -+ "MS-TURK", -+ "GEORGIAN-PS", -+ "CSEUCTW", -+ "IBM-CP1133", -+ "MULELAO-1", -+ "JIS_X0212", -+ "CSISOLATINHEBREW", -+ "UTF-16LE", -+ "IBM367", -+ "MS-ARAB", -+ "ISO_8859-7:2003", -+ "CSISO2022JP", -+ "UTF-16BE", -+ "JIS_X0201", -+ "MS-HEBR", -+ "JIS_X0208", -+ "UTF-7", -+ "SHIFT_JIS", -+ "MACUKRAINE", -+ "JIS_X0212-1990", -+ "UNICODEBIG", -+ "ANSI_X3.4-1986", -+ "ANSI_X3.4-1968", -+ "TCVN5712-1:1993", -+ "WINDOWS-1257", -+ "MACCENTRALEUROPE", -+ "JOHAB", -+ "JIS_X0208-1990", -+ "CSSHIFTJIS", -+ "MACGREEK", -+ "BIGFIVE", -+ "MS-GREEK", -+ "UTF-32LE", -+ "ISO_8859-7:1987", -+ "BIG-FIVE", -+ "EXTENDED_UNIX_CODE_PACKED_FORMAT_FOR_JAPANESE", -+ "NEXTSTEP", -+ "UTF-32BE", -+ "BIG5HKSCS", -+ "CSISO87JISX0208", -+ "WINDOWS-874", -+ "JIS_X0208-1983", -+ "BIG5-HKSCS", -+ "JIS_X0212.1990-0", -+ "HEBREW", -+ "MACTURKISH", -+ "UCS-2-SWAPPED", -+ "CSPC850MULTILINGUAL", -+ "CSHALFWIDTHKATAKANA", -+ "UCS-4-SWAPPED", -+ "BIG5-HKSCS:2001", -+ "BIG5-HKSCS:2008", -+ "BIG5-HKSCS:1999", -+ "BIG5-HKSCS:2004", -+ "WINBALTRIM", -+ "CSEUCPKDFMTJAPANESE", -+ "KO_KR.JOHAP92", -+ "MACHEBREW" -+ }; -+#define stringpool ((const char *) &stringpool_contents) -+ -+static const struct alias aliases[] = -+ { -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 291 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str8, ei_iso646_cn}, -+ {-1}, {-1}, {-1}, -+#line 23 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str12, ei_ascii}, -+ {-1}, {-1}, -+#line 209 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str15, ei_cp866}, -+ {-1}, {-1}, {-1}, -+#line 52 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str19, ei_c99}, -+ {-1}, {-1}, -+#line 207 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str22, ei_cp866}, -+ {-1}, {-1}, -+#line 205 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str25, ei_cp862}, -+#line 175 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str26, ei_cp1251}, -+ {-1}, -+#line 191 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str28, ei_cp1256}, -+#line 58 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str29, ei_iso8859_1}, -+#line 188 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str30, ei_cp1255}, -+ {-1}, -+#line 203 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str32, ei_cp862}, -+ {-1}, -+#line 197 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str34, ei_cp1258}, -+ {-1}, {-1}, {-1}, -+#line 179 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str38, ei_cp1252}, -+#line 13 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str39, ei_ascii}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 358 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str46, ei_euc_kr}, -+ {-1}, -+#line 229 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str48, ei_hp_roman8}, -+ {-1}, -+#line 63 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str50, ei_iso8859_1}, -+ {-1}, -+#line 103 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str52, ei_iso8859_6}, -+#line 140 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str53, ei_iso8859_11}, -+#line 94 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str54, ei_iso8859_5}, -+#line 167 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str55, ei_iso8859_16}, -+ {-1}, -+#line 160 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str57, ei_iso8859_15}, -+#line 121 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str58, ei_iso8859_8}, -+#line 359 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str59, ei_cp949}, -+#line 129 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str60, ei_iso8859_9}, -+#line 54 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str61, ei_iso8859_1}, -+#line 71 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str62, ei_iso8859_2}, -+#line 95 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str63, ei_iso8859_6}, -+#line 138 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str64, ei_iso8859_11}, -+#line 88 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str65, ei_iso8859_5}, -+#line 161 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str66, ei_iso8859_16}, -+#line 322 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str67, ei_iso2022_jpms}, -+#line 155 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str68, ei_iso8859_15}, -+#line 115 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str69, ei_iso8859_8}, -+#line 289 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str70, ei_iso646_cn}, -+#line 122 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str71, ei_iso8859_9}, -+ {-1}, -+#line 64 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str73, ei_iso8859_2}, -+ {-1}, -+#line 238 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str75, ei_pt154}, -+ {-1}, -+#line 201 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str77, ei_cp850}, -+ {-1}, {-1}, -+#line 16 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str80, ei_ascii}, -+ {-1}, {-1}, {-1}, -+#line 185 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str84, ei_cp1254}, -+#line 199 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str85, ei_cp850}, -+#line 348 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str86, ei_cp950}, -+#line 254 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str87, ei_tis620}, -+ {-1}, -+#line 297 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str89, ei_isoir165}, -+#line 172 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str90, ei_cp1250}, -+#line 294 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str91, ei_gb2312}, -+#line 108 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str92, ei_iso8859_7}, -+ {-1}, {-1}, -+#line 324 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str95, ei_euc_cn}, -+#line 286 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str96, ei_jisx0212}, -+ {-1}, -+#line 164 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str98, ei_iso8859_16}, -+#line 150 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str99, ei_iso8859_14}, -+ {-1}, -+#line 211 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str101, ei_cp1131}, -+#line 362 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str102, ei_johab}, -+#line 333 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str103, ei_iso2022_cn}, -+ {-1}, -+#line 329 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str105, ei_cp936}, -+#line 323 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str106, ei_euc_cn}, -+#line 22 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str107, ei_ascii}, -+#line 87 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str108, ei_iso8859_4}, -+ {-1}, {-1}, -+#line 154 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str111, ei_iso8859_14}, -+#line 366 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str112, ei_local_char}, -+ {-1}, {-1}, -+#line 315 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str115, ei_cp932}, -+#line 67 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str116, ei_iso8859_2}, -+#line 137 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str117, ei_iso8859_10}, -+ {-1}, -+#line 80 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str119, ei_iso8859_4}, -+ {-1}, -+#line 125 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str121, ei_iso8859_9}, -+#line 147 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str122, ei_iso8859_14}, -+#line 302 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str123, ei_ksc5601}, -+#line 336 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str124, ei_hz}, -+#line 241 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str125, ei_rk1048}, -+#line 75 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str126, ei_iso8859_3}, -+ {-1}, -+#line 130 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str128, ei_iso8859_10}, -+#line 178 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str129, ei_cp1251}, -+#line 360 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str130, ei_cp949}, -+#line 335 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str131, ei_iso2022_cn_ext}, -+ {-1}, -+#line 55 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str133, ei_iso8859_1}, -+ {-1}, -+#line 96 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str135, ei_iso8859_6}, -+#line 139 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str136, ei_iso8859_11}, -+#line 89 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str137, ei_iso8859_5}, -+#line 162 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str138, ei_iso8859_16}, -+#line 267 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str139, ei_iso646_jp}, -+#line 156 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str140, ei_iso8859_15}, -+#line 116 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str141, ei_iso8859_8}, -+#line 163 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str142, ei_iso8859_16}, -+#line 123 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str143, ei_iso8859_9}, -+ {-1}, -+#line 65 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str145, ei_iso8859_2}, -+#line 261 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str146, ei_tcvn}, -+#line 157 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str147, ei_iso8859_15}, -+#line 83 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str148, ei_iso8859_4}, -+#line 334 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str149, ei_iso2022_cn}, -+#line 214 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str150, ei_mac_roman}, -+ {-1}, {-1}, -+#line 61 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str153, ei_iso8859_1}, -+#line 135 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str154, ei_iso8859_10}, -+#line 127 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str155, ei_iso8859_9}, -+ {-1}, -+#line 152 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str157, ei_iso8859_14}, -+ {-1}, -+#line 69 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str159, ei_iso8859_2}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 208 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str166, ei_cp866}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 91 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str171, ei_iso8859_5}, -+ {-1}, -+#line 59 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str173, ei_iso8859_1}, -+#line 149 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str174, ei_iso8859_14}, -+#line 118 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str175, ei_iso8859_8}, -+#line 204 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str176, ei_cp862}, -+#line 249 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str177, ei_tis620}, -+ {-1}, -+#line 132 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str179, ei_iso8859_10}, -+#line 57 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str180, ei_iso8859_1}, -+ {-1}, -+#line 85 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str182, ei_iso8859_4}, -+#line 235 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str183, ei_koi8_t}, -+#line 258 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str184, ei_viscii}, -+ {-1}, {-1}, {-1}, -+#line 248 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str188, ei_tis620}, -+#line 21 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str189, ei_ascii}, -+#line 260 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str190, ei_viscii}, -+#line 81 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str191, ei_iso8859_4}, -+#line 182 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str192, ei_cp1253}, -+#line 60 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str193, ei_iso8859_1}, -+#line 148 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str194, ei_iso8859_14}, -+#line 134 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str195, ei_iso8859_10}, -+#line 244 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str196, ei_rk1048}, -+#line 126 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str197, ei_iso8859_9}, -+#line 311 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str198, ei_sjis}, -+#line 243 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str199, ei_rk1048}, -+#line 131 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str200, ei_iso8859_10}, -+#line 151 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str201, ei_iso8859_14}, -+#line 169 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str202, ei_koi8_r}, -+ {-1}, {-1}, -+#line 68 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str205, ei_iso8859_2}, -+ {-1}, -+#line 168 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str207, ei_koi8_r}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 236 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str212, ei_pt154}, -+ {-1}, -+#line 159 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str214, ei_iso8859_15}, -+#line 325 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str215, ei_euc_cn}, -+#line 79 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str216, ei_iso8859_3}, -+ {-1}, -+#line 25 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str218, ei_ucs2}, -+#line 146 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str219, ei_iso8859_13}, -+#line 166 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str220, ei_iso8859_16}, -+#line 285 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str221, ei_jisx0212}, -+ {-1}, -+#line 250 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str223, ei_tis620}, -+ {-1}, -+#line 110 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str225, ei_iso8859_7}, -+ {-1}, -+#line 72 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str227, ei_iso8859_3}, -+#line 101 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str228, ei_iso8859_6}, -+#line 200 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str229, ei_cp850}, -+#line 141 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str230, ei_iso8859_13}, -+#line 228 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str231, ei_hp_roman8}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 77 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str236, ei_iso8859_3}, -+ {-1}, {-1}, -+#line 12 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str239, ei_ascii}, -+#line 299 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str240, ei_ksc5601}, -+#line 272 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str241, ei_jisx0201}, -+ {-1}, -+#line 26 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str243, ei_ucs2}, -+ {-1}, -+#line 256 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str245, ei_cp874}, -+#line 330 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str246, ei_cp936}, -+ {-1}, {-1}, -+#line 278 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str249, ei_jisx0208}, -+ {-1}, -+#line 84 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str251, ei_iso8859_4}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 181 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str258, ei_cp1252}, -+#line 36 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str259, ei_ucs4}, -+#line 165 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str260, ei_iso8859_16}, -+#line 304 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str261, ei_ksc5601}, -+#line 143 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str262, ei_iso8859_13}, -+ {-1}, -+#line 34 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str264, ei_ucs4}, -+ {-1}, -+#line 35 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str266, ei_ucs4}, -+#line 246 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str267, ei_cp1133}, -+#line 356 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str268, ei_euc_kr}, -+#line 31 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str269, ei_ucs2be}, -+#line 232 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str270, ei_armscii_8}, -+ {-1}, -+#line 39 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str272, ei_utf16}, -+ {-1}, -+#line 342 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str274, ei_ces_big5}, -+#line 24 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str275, ei_utf8}, -+#line 364 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str276, ei_iso2022_kr}, -+ {-1}, {-1}, -+#line 355 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str279, ei_euc_kr}, -+#line 347 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str280, ei_ces_big5}, -+#line 109 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str281, ei_iso8859_7}, -+#line 341 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str282, ei_euc_tw}, -+#line 30 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str283, ei_ucs2be}, -+ {-1}, -+#line 343 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str285, ei_ces_big5}, -+ {-1}, -+#line 153 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str287, ei_iso8859_14}, -+#line 158 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str288, ei_iso8859_15}, -+#line 251 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str289, ei_tis620}, -+#line 218 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str290, ei_mac_croatian}, -+#line 346 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str291, ei_ces_big5}, -+ {-1}, {-1}, -+#line 62 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str294, ei_iso8859_1}, -+#line 288 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str295, ei_iso646_cn}, -+#line 136 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str296, ei_iso8859_10}, -+ {-1}, -+#line 128 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str298, ei_iso8859_9}, -+#line 73 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str299, ei_iso8859_3}, -+#line 332 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str300, ei_gb18030}, -+#line 93 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str301, ei_iso8859_5}, -+#line 142 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str302, ei_iso8859_13}, -+ {-1}, {-1}, {-1}, -+#line 70 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str306, ei_iso8859_2}, -+#line 328 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str307, ei_ces_gbk}, -+ {-1}, -+#line 268 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str309, ei_iso646_jp}, -+ {-1}, -+#line 14 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str311, ei_ascii}, -+ {-1}, -+#line 296 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str313, ei_gb2312}, -+ {-1}, -+#line 259 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str315, ei_viscii}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 145 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str321, ei_iso8859_13}, -+#line 365 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str322, ei_iso2022_kr}, -+#line 102 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str323, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, -+#line 277 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str327, ei_jisx0208}, -+#line 226 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str328, ei_mac_thai}, -+#line 233 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str329, ei_georgian_academy}, -+#line 53 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str330, ei_java}, -+#line 99 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str331, ei_iso8859_6}, -+ {-1}, {-1}, -+#line 210 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str334, ei_cp866}, -+ {-1}, -+#line 90 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str336, ei_iso8859_5}, -+ {-1}, -+#line 117 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str338, ei_iso8859_8}, -+#line 27 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str339, ei_ucs2}, -+#line 124 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str340, ei_iso8859_9}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 301 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str345, ei_ksc5601}, -+#line 263 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str346, ei_tcvn}, -+ {-1}, -+#line 314 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str348, ei_sjis}, -+#line 262 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str349, ei_tcvn}, -+ {-1}, {-1}, -+#line 86 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str352, ei_iso8859_4}, -+#line 242 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str353, ei_rk1048}, -+ {-1}, -+#line 237 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str355, ei_pt154}, -+#line 92 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str356, ei_iso8859_5}, -+ {-1}, -+#line 269 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str358, ei_iso646_jp}, -+#line 76 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str359, ei_iso8859_3}, -+ {-1}, {-1}, -+#line 194 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str362, ei_cp1257}, -+#line 82 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str363, ei_iso8859_4}, -+#line 227 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str364, ei_hp_roman8}, -+#line 42 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str365, ei_utf32}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 287 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str371, ei_jisx0212}, -+#line 212 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str372, ei_mac_roman}, -+#line 170 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str373, ei_koi8_u}, -+ {-1}, -+#line 111 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str375, ei_iso8859_7}, -+ {-1}, -+#line 293 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str377, ei_gb2312}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 327 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str383, ei_euc_cn}, -+ {-1}, {-1}, -+#line 114 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str386, ei_iso8859_7}, -+#line 240 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str387, ei_pt154}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 174 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str392, ei_cp1250}, -+ {-1}, {-1}, -+#line 357 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str395, ei_euc_kr}, -+ {-1}, -+#line 104 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str397, ei_iso8859_7}, -+ {-1}, -+#line 15 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str399, ei_ascii}, -+#line 265 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str400, ei_iso646_jp}, -+ {-1}, {-1}, {-1}, -+#line 318 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str404, ei_iso2022_jp1}, -+#line 100 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str405, ei_iso8859_6}, -+#line 303 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str406, ei_ksc5601}, -+ {-1}, {-1}, {-1}, -+#line 319 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str410, ei_iso2022_jp2}, -+ {-1}, -+#line 298 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str412, ei_isoir165}, -+ {-1}, -+#line 171 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str414, ei_koi8_ru}, -+ {-1}, -+#line 225 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str416, ei_mac_arabic}, -+#line 74 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str417, ei_iso8859_3}, -+ {-1}, -+#line 290 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str419, ei_iso646_cn}, -+ {-1}, -+#line 279 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str421, ei_jisx0208}, -+#line 133 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str422, ei_iso8859_10}, -+ {-1}, -+#line 219 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str424, ei_mac_romania}, -+ {-1}, -+#line 98 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str426, ei_iso8859_6}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 19 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str435, ei_ascii}, -+ {-1}, -+#line 339 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str437, ei_euc_tw}, -+ {-1}, {-1}, {-1}, -+#line 47 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str441, ei_utf7}, -+ {-1}, -+#line 326 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str443, ei_euc_cn}, -+#line 253 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str444, ei_tis620}, -+ {-1}, {-1}, {-1}, -+#line 338 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str448, ei_euc_tw}, -+#line 280 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str449, ei_jisx0208}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 320 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str455, ei_iso2022_jp2}, -+ {-1}, -+#line 46 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str457, ei_utf7}, -+ {-1}, {-1}, -+#line 78 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str460, ei_iso8859_3}, -+ {-1}, {-1}, {-1}, -+#line 239 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str464, ei_pt154}, -+#line 112 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str465, ei_iso8859_7}, -+ {-1}, -+#line 321 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str467, ei_iso2022_jpms}, -+ {-1}, -+#line 105 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str469, ei_iso8859_7}, -+ {-1}, -+#line 176 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str471, ei_cp1251}, -+#line 192 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str472, ei_cp1256}, -+#line 189 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str473, ei_cp1255}, -+ {-1}, -+#line 198 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str475, ei_cp1258}, -+#line 252 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str476, ei_tis620}, -+#line 180 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str477, ei_cp1252}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 295 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str484, ei_gb2312}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 213 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str490, ei_mac_roman}, -+#line 367 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str491, ei_local_wchar_t}, -+ {-1}, {-1}, -+#line 217 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str494, ei_mac_iceland}, -+#line 113 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str495, ei_iso8859_7}, -+#line 230 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str496, ei_hp_roman8}, -+ {-1}, -+#line 56 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str498, ei_iso8859_1}, -+#line 97 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str499, ei_iso8859_6}, -+#line 186 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str500, ei_cp1254}, -+ {-1}, {-1}, -+#line 173 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str503, ei_cp1250}, -+#line 66 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str504, ei_iso8859_2}, -+#line 177 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str505, ei_cp1251}, -+#line 266 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str506, ei_iso646_jp}, -+ {-1}, -+#line 300 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str508, ei_ksc5601}, -+#line 220 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str509, ei_mac_cyrillic}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 32 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str517, ei_ucs2le}, -+ {-1}, {-1}, -+#line 215 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str520, ei_mac_roman}, -+#line 337 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str521, ei_hz}, -+ {-1}, {-1}, {-1}, -+#line 255 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str525, ei_tis620}, -+ {-1}, {-1}, {-1}, -+#line 144 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str529, ei_iso8859_13}, -+#line 48 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str530, ei_ucs2internal}, -+#line 306 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str531, ei_euc_jp}, -+#line 28 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str532, ei_ucs2be}, -+ {-1}, -+#line 292 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str534, ei_iso646_cn}, -+#line 271 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str535, ei_jisx0201}, -+#line 310 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str536, ei_sjis}, -+ {-1}, -+#line 312 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str538, ei_sjis}, -+#line 316 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str539, ei_iso2022_jp}, -+#line 38 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str540, ei_ucs4le}, -+ {-1}, -+#line 305 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str542, ei_euc_jp}, -+ {-1}, -+#line 33 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str544, ei_ucs2le}, -+#line 206 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str545, ei_cp862}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 331 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str552, ei_cp936}, -+#line 50 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str553, ei_ucs4internal}, -+#line 183 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str554, ei_cp1253}, -+#line 37 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str555, ei_ucs4be}, -+ {-1}, -+#line 187 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str557, ei_cp1254}, -+#line 234 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str558, ei_georgian_ps}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 340 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str564, ei_euc_tw}, -+#line 247 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str565, ei_cp1133}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 245 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str570, ei_mulelao}, -+ {-1}, {-1}, -+#line 282 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str573, ei_jisx0212}, -+ {-1}, -+#line 120 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str575, ei_iso8859_8}, -+#line 41 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str576, ei_utf16le}, -+ {-1}, {-1}, -+#line 20 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str579, ei_ascii}, -+#line 193 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str580, ei_cp1256}, -+#line 107 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str581, ei_iso8859_7}, -+ {-1}, {-1}, {-1}, -+#line 317 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str585, ei_iso2022_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 40 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str591, ei_utf16be}, -+ {-1}, -+#line 270 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str593, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 190 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str600, ei_cp1255}, -+#line 274 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str601, ei_jisx0208}, -+ {-1}, -+#line 45 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str603, ei_utf7}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 309 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str608, ei_sjis}, -+#line 221 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str609, ei_mac_ukraine}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 284 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str616, ei_jisx0212}, -+ {-1}, -+#line 29 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str618, ei_ucs2be}, -+#line 18 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str619, ei_ascii}, -+ {-1}, {-1}, -+#line 17 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str622, ei_ascii}, -+ {-1}, {-1}, {-1}, -+#line 264 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str626, ei_tcvn}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, -+#line 195 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str639, ei_cp1257}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 216 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str644, ei_mac_centraleurope}, -+#line 361 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str645, ei_johab}, -+#line 276 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str646, ei_jisx0208}, -+#line 313 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str647, ei_sjis}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 222 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str653, ei_mac_greek}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 345 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str658, ei_ces_big5}, -+ {-1}, {-1}, -+#line 184 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str661, ei_cp1253}, -+ {-1}, {-1}, -+#line 44 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str664, ei_utf32le}, -+ {-1}, -+#line 106 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str666, ei_iso8859_7}, -+ {-1}, {-1}, -+#line 344 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str669, ei_ces_big5}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 307 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str676, ei_euc_jp}, -+ {-1}, -+#line 231 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str678, ei_nextstep}, -+#line 43 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str679, ei_utf32be}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, -+#line 353 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str690, ei_big5hkscs2008}, -+#line 281 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str691, ei_jisx0208}, -+#line 257 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str692, ei_cp874}, -+ {-1}, {-1}, {-1}, {-1}, -+#line 275 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str697, ei_jisx0208}, -+ {-1}, {-1}, {-1}, -+#line 352 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str701, ei_big5hkscs2008}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 283 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str718, ei_jisx0212}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, -+#line 119 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str730, ei_iso8859_8}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, -+#line 223 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str751, ei_mac_turkish}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 49 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str797, ei_ucs2swapped}, -+#line 202 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str798, ei_cp850}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 273 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str814, ei_jisx0201}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 51 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str820, ei_ucs4swapped}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 350 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str836, ei_big5hkscs2001}, -+ {-1}, {-1}, {-1}, -+#line 354 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str840, ei_big5hkscs2008}, -+#line 349 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str841, ei_big5hkscs1999}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 351 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str865, ei_big5hkscs2004}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 196 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str871, ei_cp1257}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 308 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str879, ei_euc_jp}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 363 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str912, ei_johab}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+ {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, -+#line 224 "lib/aliases_syssolaris.gperf" -+ {(int)(long)&((struct stringpool_t *)0)->stringpool_str956, ei_mac_hebrew} -+ }; -+ -+#ifdef __GNUC__ -+__inline -+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__ -+__attribute__ ((__gnu_inline__)) -+#endif -+#endif -+const struct alias * -+aliases_lookup (register const char *str, register unsigned int len) -+{ -+ if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) -+ { -+ register int key = aliases_hash (str, len); -+ -+ if (key <= MAX_HASH_VALUE && key >= 0) -+ { -+ register int o = aliases[key].name; -+ if (o >= 0) -+ { -+ register const char *s = o + stringpool; -+ -+ if (*str == *s && !strcmp (str + 1, s + 1)) -+ return &aliases[key]; -+ } -+ } -+ } -+ return 0; -+} -diff -Naur libiconv-20130504/lib/canonical_aix.h libiconv-20130504.patch/lib/canonical_aix.h ---- libiconv-20130504/lib/canonical_aix.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_aix.h 2013-05-04 10:23:30.755104253 +0200 -@@ -0,0 +1,9 @@ -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_0, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_1, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_2, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_3, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_4, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_5, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_6, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_10, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_14, -diff -Naur libiconv-20130504/lib/canonical_aix_sysaix.h libiconv-20130504.patch/lib/canonical_aix_sysaix.h ---- libiconv-20130504/lib/canonical_aix_sysaix.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_aix_sysaix.h 2013-05-04 10:23:30.804104109 +0200 -@@ -0,0 +1,9 @@ -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_0, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_2, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_4, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_6, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_8, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_10, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_12, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_16, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_aix_20, -diff -Naur libiconv-20130504/lib/canonical_dos.h libiconv-20130504.patch/lib/canonical_dos.h ---- libiconv-20130504/lib/canonical_dos.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_dos.h 2013-05-04 10:23:30.958103658 +0200 -@@ -0,0 +1,15 @@ -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_0, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_4, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_5, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_8, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_12, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_13, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_17, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_21, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_22, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_26, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_31, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_35, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_38, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_42, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_dos_47, -diff -Naur libiconv-20130504/lib/canonical_extra.h libiconv-20130504.patch/lib/canonical_extra.h ---- libiconv-20130504/lib/canonical_extra.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_extra.h 2013-05-04 10:23:31.003103527 +0200 -@@ -0,0 +1,7 @@ -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_0, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_2, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_4, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_6, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_7, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_9, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_extra_11, -diff -Naur libiconv-20130504/lib/canonical.h libiconv-20130504.patch/lib/canonical.h ---- libiconv-20130504/lib/canonical.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical.h 2013-05-04 10:23:29.282108568 +0200 -@@ -0,0 +1,111 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str392, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str389, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str258, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str436, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str285, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str222, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str418, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str267, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str361, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str567, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str416, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str512, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str690, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str539, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str689, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str320, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str750, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str302, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str732, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str64, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str811, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str134, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str186, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str324, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str150, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str154, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str130, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str466, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str166, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str170, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str322, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str142, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str332, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str158, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str162, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str138, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str236, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str574, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str580, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str268, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str88, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str140, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str278, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str104, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str108, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str84, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str420, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str120, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str250, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str110, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str54, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str147, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str476, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str463, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str442, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str562, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str813, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str248, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str749, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str591, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str702, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str796, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str680, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str430, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str448, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str311, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str391, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str446, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str312, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str286, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str121, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str176, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str375, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str337, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str282, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str242, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str206, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str211, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str536, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str651, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str683, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str613, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str329, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str426, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str89, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str344, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str479, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str548, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str209, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str661, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str608, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str634, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str610, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str72, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str388, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str153, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str443, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str254, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str281, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str78, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str437, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str210, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str252, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str710, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str692, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str700, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str495, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str243, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str106, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str869, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str425, -diff -Naur libiconv-20130504/lib/canonical_local.h libiconv-20130504.patch/lib/canonical_local.h ---- libiconv-20130504/lib/canonical_local.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_local.h 2013-05-04 10:23:29.288108550 +0200 -@@ -0,0 +1,2 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str193, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str496, -diff -Naur libiconv-20130504/lib/canonical_local_sysaix.h libiconv-20130504.patch/lib/canonical_local_sysaix.h ---- libiconv-20130504/lib/canonical_local_sysaix.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_local_sysaix.h 2013-05-04 10:23:29.638107525 +0200 -@@ -0,0 +1,2 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str15, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str484, -diff -Naur libiconv-20130504/lib/canonical_local_syshpux.h libiconv-20130504.patch/lib/canonical_local_syshpux.h ---- libiconv-20130504/lib/canonical_local_syshpux.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_local_syshpux.h 2013-05-04 10:23:29.986106506 +0200 -@@ -0,0 +1,2 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str171, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str723, -diff -Naur libiconv-20130504/lib/canonical_local_sysosf1.h libiconv-20130504.patch/lib/canonical_local_sysosf1.h ---- libiconv-20130504/lib/canonical_local_sysosf1.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_local_sysosf1.h 2013-05-04 10:23:30.354105428 +0200 -@@ -0,0 +1,2 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str193, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str457, -diff -Naur libiconv-20130504/lib/canonical_local_syssolaris.h libiconv-20130504.patch/lib/canonical_local_syssolaris.h ---- libiconv-20130504/lib/canonical_local_syssolaris.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_local_syssolaris.h 2013-05-04 10:23:30.708104391 +0200 -@@ -0,0 +1,2 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str112, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str491, -diff -Naur libiconv-20130504/lib/canonical_osf1.h libiconv-20130504.patch/lib/canonical_osf1.h ---- libiconv-20130504/lib/canonical_osf1.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_osf1.h 2013-05-04 10:23:30.859103948 +0200 -@@ -0,0 +1,2 @@ -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_0, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_1, -diff -Naur libiconv-20130504/lib/canonical_osf1_sysosf1.h libiconv-20130504.patch/lib/canonical_osf1_sysosf1.h ---- libiconv-20130504/lib/canonical_osf1_sysosf1.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_osf1_sysosf1.h 2013-05-04 10:23:30.900103828 +0200 -@@ -0,0 +1,2 @@ -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_0, -+ (int)(long)&((struct stringpool2_t *)0)->stringpool_osf1_2, -diff -Naur libiconv-20130504/lib/canonical_sysaix.h libiconv-20130504.patch/lib/canonical_sysaix.h ---- libiconv-20130504/lib/canonical_sysaix.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_sysaix.h 2013-05-04 10:23:29.631107545 +0200 -@@ -0,0 +1,111 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str391, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str282, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str145, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str452, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str267, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str131, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str445, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str260, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str255, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str573, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str388, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str303, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str610, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str425, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str618, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str418, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str469, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str411, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str462, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str5, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str457, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str155, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str183, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str207, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str169, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str177, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str161, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str527, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str191, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str151, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str242, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str158, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str210, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str172, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str180, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str164, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str313, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str507, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str508, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str127, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str43, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str71, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str95, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str57, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str65, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str49, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str415, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str79, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str128, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str64, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str42, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str44, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str437, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str557, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str429, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str451, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str542, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str426, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str744, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str809, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str815, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str958, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str518, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str560, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str309, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str647, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str453, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str270, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str315, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str549, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str90, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str101, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str305, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str96, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str245, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str233, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str342, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str187, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str490, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str725, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str761, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str711, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str226, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str246, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str219, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str276, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str553, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str853, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str67, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str671, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str623, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str637, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str633, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str81, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str466, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str45, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str254, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str199, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str318, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str48, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str569, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str286, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str108, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str719, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str721, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str728, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str555, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str272, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str16, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str814, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str390, -diff -Naur libiconv-20130504/lib/canonical_syshpux.h libiconv-20130504.patch/lib/canonical_syshpux.h ---- libiconv-20130504/lib/canonical_syshpux.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_syshpux.h 2013-05-04 10:23:29.982106517 +0200 -@@ -0,0 +1,111 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str396, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str355, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str293, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str499, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str345, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str267, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str486, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str332, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str322, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str553, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str399, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str430, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str636, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str482, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str495, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str503, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str500, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str490, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str487, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str110, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str639, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str114, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str178, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str230, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str152, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str142, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str128, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str306, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str166, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str112, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str223, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str119, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str235, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str157, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str147, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str133, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str100, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str516, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str519, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str277, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str173, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str237, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str289, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str211, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str201, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str187, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str365, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str225, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str266, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str219, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str169, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str185, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str515, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str731, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str501, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str696, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str626, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str610, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str680, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str518, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str1033, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str986, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str760, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str655, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str479, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str584, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str393, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str436, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str273, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str418, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str76, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str151, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str305, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str301, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str333, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str282, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str256, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str337, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str653, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str738, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str790, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str750, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str302, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str373, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str81, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str260, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str525, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str644, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str243, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str571, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str574, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str606, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str575, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str281, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str191, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str193, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str349, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str327, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str474, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str176, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str621, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str288, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str239, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str734, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str735, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str754, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str615, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str203, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str138, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str951, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str249, -diff -Naur libiconv-20130504/lib/canonical_sysosf1.h libiconv-20130504.patch/lib/canonical_sysosf1.h ---- libiconv-20130504/lib/canonical_sysosf1.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_sysosf1.h 2013-05-04 10:23:30.349105442 +0200 -@@ -0,0 +1,111 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str453, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str308, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str319, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str586, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str346, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str283, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str568, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str328, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str280, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str575, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str335, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str431, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str698, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str458, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str608, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str381, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str911, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str363, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str893, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str64, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str664, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str134, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str186, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str324, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str150, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str154, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str130, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str466, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str166, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str170, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str322, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str142, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str332, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str158, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str162, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str138, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str203, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str663, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str669, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str268, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str88, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str140, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str278, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str104, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str108, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str84, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str420, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str120, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str250, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str110, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str54, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str147, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str476, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str463, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str430, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str562, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str813, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str225, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str777, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str541, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str648, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str848, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str769, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str389, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str407, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str561, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str391, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str455, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str396, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str253, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str173, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str176, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str375, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str337, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str282, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str242, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str228, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str233, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str367, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str628, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str660, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str590, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str345, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str442, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str89, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str311, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str414, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str237, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str209, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str596, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str491, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str517, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str493, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str72, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str338, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str153, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str459, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str254, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str281, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str49, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str441, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str315, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str252, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str846, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str828, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str836, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str526, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str210, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str106, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str837, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str392, -diff -Naur libiconv-20130504/lib/canonical_syssolaris.h libiconv-20130504.patch/lib/canonical_syssolaris.h ---- libiconv-20130504/lib/canonical_syssolaris.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/canonical_syssolaris.h 2013-05-04 10:23:30.704104402 +0200 -@@ -0,0 +1,111 @@ -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str239, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str275, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str218, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str532, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str517, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str264, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str555, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str540, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str272, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str591, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str576, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str365, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str679, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str664, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str603, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str530, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str797, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str553, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str820, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str19, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str330, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str61, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str73, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str227, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str119, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str65, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str63, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str397, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str69, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str71, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str128, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str64, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str230, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str122, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str68, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str66, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str207, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str373, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str414, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str90, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str26, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str38, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str192, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str84, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str30, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str28, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str362, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str34, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str85, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str32, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str22, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str101, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str372, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str644, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str494, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str290, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str424, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str509, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str609, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str653, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str751, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str956, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str416, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str328, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str364, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str678, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str270, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str329, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str558, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str183, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str212, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str125, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str570, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str267, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str188, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str245, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str184, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str146, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str400, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str593, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str601, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str573, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str295, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str377, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str89, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str240, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str542, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str608, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str115, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str539, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str404, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str410, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str467, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str106, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str307, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str105, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str300, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str103, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str131, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str124, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str448, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str274, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str86, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str841, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str836, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str865, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str701, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str279, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str59, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str645, -+ (int)(long)&((struct stringpool_t *)0)->stringpool_str276, -diff -Naur libiconv-20130504/lib/flags.h libiconv-20130504.patch/lib/flags.h ---- libiconv-20130504/lib/flags.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/lib/flags.h 2013-05-04 10:23:32.551098992 +0200 -@@ -0,0 +1,158 @@ -+/* Generated automatically by genflags. */ -+ -+/* Set if the encoding can encode -+ the acute and grave accents U+00B4 and U+0060. */ -+#define HAVE_ACCENTS 1 -+ -+/* Set if the encoding can encode -+ the single quotation marks U+2018 and U+2019. */ -+#define HAVE_QUOTATION_MARKS 2 -+ -+/* Set if the encoding can encode -+ the double-width Hangul letters (Jamo) U+3131 to U+3163. */ -+#define HAVE_HANGUL_JAMO 4 -+ -+#define ei_ascii_oflags (0) -+#define ei_utf8_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs2_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs2be_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs2le_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs4_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs4be_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs4le_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_utf16_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_utf16be_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_utf16le_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_utf32_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_utf32be_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_utf32le_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_utf7_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs2internal_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs2swapped_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs4internal_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_ucs4swapped_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_c99_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_java_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_iso8859_1_oflags (HAVE_ACCENTS) -+#define ei_iso8859_2_oflags (HAVE_ACCENTS) -+#define ei_iso8859_3_oflags (HAVE_ACCENTS) -+#define ei_iso8859_4_oflags (HAVE_ACCENTS) -+#define ei_iso8859_5_oflags (0) -+#define ei_iso8859_6_oflags (0) -+#define ei_iso8859_7_oflags (HAVE_QUOTATION_MARKS) -+#define ei_iso8859_8_oflags (HAVE_ACCENTS) -+#define ei_iso8859_9_oflags (HAVE_ACCENTS) -+#define ei_iso8859_10_oflags (0) -+#define ei_iso8859_11_oflags (0) -+#define ei_iso8859_13_oflags (0) -+#define ei_iso8859_14_oflags (0) -+#define ei_iso8859_15_oflags (0) -+#define ei_iso8859_16_oflags (0) -+#define ei_koi8_r_oflags (0) -+#define ei_koi8_u_oflags (0) -+#define ei_koi8_ru_oflags (0) -+#define ei_cp1250_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp1251_oflags (HAVE_QUOTATION_MARKS) -+#define ei_cp1252_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp1253_oflags (HAVE_QUOTATION_MARKS) -+#define ei_cp1254_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp1255_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp1256_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp1257_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp1258_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp850_oflags (HAVE_ACCENTS) -+#define ei_cp862_oflags (0) -+#define ei_cp866_oflags (0) -+#define ei_cp1131_oflags (0) -+#define ei_mac_roman_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_mac_centraleurope_oflags (HAVE_QUOTATION_MARKS) -+#define ei_mac_iceland_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_mac_croatian_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_mac_romania_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_mac_cyrillic_oflags (HAVE_QUOTATION_MARKS) -+#define ei_mac_ukraine_oflags (HAVE_QUOTATION_MARKS) -+#define ei_mac_greek_oflags (HAVE_QUOTATION_MARKS) -+#define ei_mac_turkish_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_mac_hebrew_oflags (HAVE_QUOTATION_MARKS) -+#define ei_mac_arabic_oflags (0) -+#define ei_mac_thai_oflags (HAVE_QUOTATION_MARKS) -+#define ei_hp_roman8_oflags (HAVE_ACCENTS) -+#define ei_nextstep_oflags (HAVE_ACCENTS) -+#define ei_armscii_8_oflags (0) -+#define ei_georgian_academy_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_georgian_ps_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_koi8_t_oflags (HAVE_QUOTATION_MARKS) -+#define ei_pt154_oflags (HAVE_QUOTATION_MARKS) -+#define ei_rk1048_oflags (HAVE_QUOTATION_MARKS) -+#define ei_mulelao_oflags (0) -+#define ei_cp1133_oflags (0) -+#define ei_tis620_oflags (0) -+#define ei_cp874_oflags (HAVE_QUOTATION_MARKS) -+#define ei_viscii_oflags (0) -+#define ei_tcvn_oflags (HAVE_ACCENTS) -+#define ei_iso646_jp_oflags (0) -+#define ei_jisx0201_oflags (0) -+#define ei_jisx0208_oflags (HAVE_QUOTATION_MARKS) -+#define ei_jisx0212_oflags (0) -+#define ei_iso646_cn_oflags (0) -+#define ei_gb2312_oflags (HAVE_QUOTATION_MARKS) -+#define ei_isoir165_oflags (HAVE_QUOTATION_MARKS) -+#define ei_ksc5601_oflags (HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_euc_jp_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_sjis_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp932_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_iso2022_jp_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_iso2022_jp1_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_iso2022_jp2_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_iso2022_jpms_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_euc_cn_oflags (HAVE_QUOTATION_MARKS) -+#define ei_ces_gbk_oflags (HAVE_QUOTATION_MARKS) -+#define ei_cp936_oflags (HAVE_QUOTATION_MARKS) -+#define ei_gb18030_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_iso2022_cn_oflags (HAVE_QUOTATION_MARKS) -+#define ei_iso2022_cn_ext_oflags (HAVE_QUOTATION_MARKS) -+#define ei_hz_oflags (HAVE_QUOTATION_MARKS) -+#define ei_euc_tw_oflags (HAVE_QUOTATION_MARKS) -+#define ei_ces_big5_oflags (HAVE_QUOTATION_MARKS) -+#define ei_cp950_oflags (HAVE_QUOTATION_MARKS) -+#define ei_big5hkscs1999_oflags (HAVE_QUOTATION_MARKS) -+#define ei_big5hkscs2001_oflags (HAVE_QUOTATION_MARKS) -+#define ei_big5hkscs2004_oflags (HAVE_QUOTATION_MARKS) -+#define ei_big5hkscs2008_oflags (HAVE_QUOTATION_MARKS) -+#define ei_euc_kr_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_cp949_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_johab_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_iso2022_kr_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS | HAVE_HANGUL_JAMO) -+#define ei_cp856_oflags (HAVE_ACCENTS) -+#define ei_cp922_oflags (HAVE_ACCENTS) -+#define ei_cp943_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_cp1046_oflags (0) -+#define ei_cp1124_oflags (0) -+#define ei_cp1129_oflags (0) -+#define ei_cp1161_oflags (0) -+#define ei_cp1162_oflags (HAVE_QUOTATION_MARKS) -+#define ei_cp1163_oflags (0) -+#define ei_dec_kanji_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_dec_hanyu_oflags (HAVE_QUOTATION_MARKS) -+#define ei_cp437_oflags (0) -+#define ei_cp737_oflags (0) -+#define ei_cp775_oflags (0) -+#define ei_cp852_oflags (HAVE_ACCENTS) -+#define ei_cp853_oflags (HAVE_ACCENTS) -+#define ei_cp855_oflags (0) -+#define ei_cp857_oflags (HAVE_ACCENTS) -+#define ei_cp858_oflags (HAVE_ACCENTS) -+#define ei_cp860_oflags (0) -+#define ei_cp861_oflags (0) -+#define ei_cp863_oflags (HAVE_ACCENTS) -+#define ei_cp864_oflags (0) -+#define ei_cp865_oflags (0) -+#define ei_cp869_oflags (HAVE_QUOTATION_MARKS) -+#define ei_cp1125_oflags (0) -+#define ei_euc_jisx0213_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_shift_jisx0213_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_iso2022_jp3_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -+#define ei_big5_2003_oflags (HAVE_QUOTATION_MARKS) -+#define ei_tds565_oflags (0) -+#define ei_atarist_oflags (HAVE_ACCENTS) -+#define ei_riscos1_oflags (HAVE_ACCENTS | HAVE_QUOTATION_MARKS) -diff -Naur libiconv-20130504/libcharset/autoconf/aclocal.m4 libiconv-20130504.patch/libcharset/autoconf/aclocal.m4 ---- libiconv-20130504/libcharset/autoconf/aclocal.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/libcharset/autoconf/aclocal.m4 2013-05-04 10:23:35.519090298 +0200 -@@ -0,0 +1,23 @@ -+# generated automatically by aclocal 1.12.2 -*- Autoconf -*- -+ -+# Copyright (C) 1996-2012 Free Software Foundation, Inc. -+ -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -+# PARTICULAR PURPOSE. -+ -+m4_include([m4/codeset.m4]) -+m4_include([m4/fcntl-o.m4]) -+m4_include([m4/glibc21.m4]) -+m4_include([m4/libtool.m4]) -+m4_include([m4/ltoptions.m4]) -+m4_include([m4/ltsugar.m4]) -+m4_include([m4/ltversion.m4]) -+m4_include([m4/lt~obsolete.m4]) -+m4_include([m4/relocatable-lib.m4]) -+m4_include([m4/visibility.m4]) -diff -Naur libiconv-20130504/libcharset/autom4te.cache/output.0 libiconv-20130504.patch/libcharset/autom4te.cache/output.0 -diff -Naur libiconv-20130504/libcharset/autom4te.cache/output.1 libiconv-20130504.patch/libcharset/autom4te.cache/output.1 -diff -Naur libiconv-20130504/libcharset/autom4te.cache/requests libiconv-20130504.patch/libcharset/autom4te.cache/requests -diff -Naur libiconv-20130504/libcharset/autom4te.cache/traces.0 libiconv-20130504.patch/libcharset/autom4te.cache/traces.0 -diff -Naur libiconv-20130504/libcharset/autom4te.cache/traces.1 libiconv-20130504.patch/libcharset/autom4te.cache/traces.1 -diff -Naur libiconv-20130504/libcharset/config.h.in libiconv-20130504.patch/libcharset/config.h.in ---- libiconv-20130504/libcharset/config.h.in 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/libcharset/config.h.in 2013-05-04 10:23:36.360087834 +0200 -@@ -0,0 +1,110 @@ -+/* config.h.in. Generated from configure.ac by autoheader. */ -+ -+/* Define to 1 if the package shall run at any location in the filesystem. */ -+#undef ENABLE_RELOCATABLE -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_DLFCN_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_INTTYPES_H -+ -+/* Define if you have and nl_langinfo(CODESET). */ -+#undef HAVE_LANGINFO_CODESET -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_MEMORY_H -+ -+/* Define to 1 if you have the `setlocale' function. */ -+#undef HAVE_SETLOCALE -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STDINT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STDLIB_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STRINGS_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_STRING_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_STAT_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_SYS_TYPES_H -+ -+/* Define to 1 if you have the header file. */ -+#undef HAVE_UNISTD_H -+ -+/* Define to 1 or 0, depending whether the compiler supports simple visibility -+ declarations. */ -+#undef HAVE_VISIBILITY -+ -+/* Define to 1 if O_NOATIME works. */ -+#undef HAVE_WORKING_O_NOATIME -+ -+/* Define to 1 if O_NOFOLLOW works. */ -+#undef HAVE_WORKING_O_NOFOLLOW -+ -+/* Define to the value of ${prefix}, as a string. */ -+#undef INSTALLPREFIX -+ -+/* Define to the sub-directory in which libtool stores uninstalled libraries. -+ */ -+#undef LT_OBJDIR -+ -+/* Define to the address where bug reports for this package should be sent. */ -+#undef PACKAGE_BUGREPORT -+ -+/* Define to the full name of this package. */ -+#undef PACKAGE_NAME -+ -+/* Define to the full name and version of this package. */ -+#undef PACKAGE_STRING -+ -+/* Define to the one symbol short name of this package. */ -+#undef PACKAGE_TARNAME -+ -+/* Define to the home page for this package. */ -+#undef PACKAGE_URL -+ -+/* Define to the version of this package. */ -+#undef PACKAGE_VERSION -+ -+/* Define to 1 if you have the ANSI C header files. */ -+#undef STDC_HEADERS -+ -+/* Enable extensions on AIX 3, Interix. */ -+#ifndef _ALL_SOURCE -+# undef _ALL_SOURCE -+#endif -+/* Enable GNU extensions on systems that have them. */ -+#ifndef _GNU_SOURCE -+# undef _GNU_SOURCE -+#endif -+/* Enable threading extensions on Solaris. */ -+#ifndef _POSIX_PTHREAD_SEMANTICS -+# undef _POSIX_PTHREAD_SEMANTICS -+#endif -+/* Enable extensions on HP NonStop. */ -+#ifndef _TANDEM_SOURCE -+# undef _TANDEM_SOURCE -+#endif -+/* Enable general extensions on Solaris. */ -+#ifndef __EXTENSIONS__ -+# undef __EXTENSIONS__ -+#endif -+ -+ -+/* Define to 1 if on MINIX. */ -+#undef _MINIX -+ -+/* Define to 2 if the system does not provide POSIX.1 features except with -+ this defined. */ -+#undef _POSIX_1_SOURCE -+ -+/* Define to 1 if you need to in order for `stat' and other things to work. */ -+#undef _POSIX_SOURCE -diff -Naur libiconv-20130504/libcharset/configure libiconv-20130504.patch/libcharset/configure ---- libiconv-20130504/libcharset/configure 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/libcharset/configure 2013-05-04 10:23:36.119088540 +0200 -@@ -0,0 +1,13592 @@ -+#! /bin/sh -+# Guess values for system-dependent variables and create Makefiles. -+# Generated by GNU Autoconf 2.69. -+# -+# -+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. -+# -+# -+# This configure script is free software; the Free Software Foundation -+# gives unlimited permission to copy, distribute and modify it. -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## -+ -+# Be more Bourne compatible -+DUALCASE=1; export DUALCASE # for MKS sh -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+ -+ -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' -+ fi -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' -+fi -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } -+fi -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. Quoting is -+# there to prevent editors from complaining about space-tab. -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word -+# splitting by setting IFS to empty value.) -+IFS=" "" $as_nl" -+ -+# Find who we are. Look in the path if we contain no directory separator. -+as_myself= -+case $0 in #(( -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done -+IFS=$as_save_IFS -+ -+ ;; -+esac -+# We did not find ourselves, most probably we were run as `sh COMMAND' -+# in which case we are not to be found in the path. -+if test "x$as_myself" = x; then -+ as_myself=$0 -+fi -+if test ! -f "$as_myself"; then -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 -+fi -+ -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -+done -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+# Use a proper internal environment variable to ensure we don't fall -+ # into an infinite loop, continuously re-executing ourselves. -+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then -+ _as_can_reexec=no; export _as_can_reexec; -+ # We cannot yet assume a decent shell, so we have to provide a -+# neutralization value for shells without unset; and this also -+# works around shells that cannot unset nonexistent variables. -+# Preserve -v and -x to the replacement shell. -+BASH_ENV=/dev/null -+ENV=/dev/null -+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -+case $- in # (((( -+ *v*x* | *x*v* ) as_opts=-vx ;; -+ *v* ) as_opts=-v ;; -+ *x* ) as_opts=-x ;; -+ * ) as_opts= ;; -+esac -+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -+# Admittedly, this is quite paranoid, since all the known shells bail -+# out after a failed `exec'. -+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -+as_fn_exit 255 -+ fi -+ # We don't want this to propagate to other subprocesses. -+ { _as_can_reexec=; unset _as_can_reexec;} -+if test "x$CONFIG_SHELL" = x; then -+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '\${1+\"\$@\"}'='\"\$@\"' -+ setopt NO_GLOB_SUBST -+else -+ case \`(set -o) 2>/dev/null\` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+" -+ as_required="as_fn_return () { (exit \$1); } -+as_fn_success () { as_fn_return 0; } -+as_fn_failure () { as_fn_return 1; } -+as_fn_ret_success () { return 0; } -+as_fn_ret_failure () { return 1; } -+ -+exitcode=0 -+as_fn_success || { exitcode=1; echo as_fn_success failed.; } -+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : -+ -+else -+ exitcode=1; echo positional parameters were not saved. -+fi -+test x\$exitcode = x0 || exit 1 -+test -x / || exit 1" -+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO -+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO -+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && -+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -+test \$(( 1 + 1 )) = 2 || exit 1 -+ -+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( -+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO -+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO -+ PATH=/empty FPATH=/empty; export PATH FPATH -+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ -+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" -+ if (eval "$as_required") 2>/dev/null; then : -+ as_have_required=yes -+else -+ as_have_required=no -+fi -+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : -+ -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+as_found=false -+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ as_found=: -+ case $as_dir in #( -+ /*) -+ for as_base in sh bash ksh sh5; do -+ # Try only shells that exist, to save several forks. -+ as_shell=$as_dir/$as_base -+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ CONFIG_SHELL=$as_shell as_have_required=yes -+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ break 2 -+fi -+fi -+ done;; -+ esac -+ as_found=false -+done -+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : -+ CONFIG_SHELL=$SHELL as_have_required=yes -+fi; } -+IFS=$as_save_IFS -+ -+ -+ if test "x$CONFIG_SHELL" != x; then : -+ export CONFIG_SHELL -+ # We cannot yet assume a decent shell, so we have to provide a -+# neutralization value for shells without unset; and this also -+# works around shells that cannot unset nonexistent variables. -+# Preserve -v and -x to the replacement shell. -+BASH_ENV=/dev/null -+ENV=/dev/null -+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -+case $- in # (((( -+ *v*x* | *x*v* ) as_opts=-vx ;; -+ *v* ) as_opts=-v ;; -+ *x* ) as_opts=-x ;; -+ * ) as_opts= ;; -+esac -+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -+# Admittedly, this is quite paranoid, since all the known shells bail -+# out after a failed `exec'. -+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -+exit 255 -+fi -+ -+ if test x$as_have_required = xno; then : -+ $as_echo "$0: This script requires a shell more modern than all" -+ $as_echo "$0: the shells that I found on your system." -+ if test x${ZSH_VERSION+set} = xset ; then -+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" -+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." -+ else -+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -+$0: including any error possibly output before this -+$0: message. Then install a modern shell, or manually run -+$0: the script under such a shell if you do have one." -+ fi -+ exit 1 -+fi -+fi -+fi -+SHELL=${CONFIG_SHELL-/bin/sh} -+export SHELL -+# Unset more variables known to interfere with behavior of common tools. -+CLICOLOR_FORCE= GREP_OPTIONS= -+unset CLICOLOR_FORCE GREP_OPTIONS -+ -+## --------------------- ## -+## M4sh Shell Functions. ## -+## --------------------- ## -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+ -+# as_fn_executable_p FILE -+# ----------------------- -+# Test if FILE is an executable regular file. -+as_fn_executable_p () -+{ -+ test -f "$1" && test -x "$1" -+} # as_fn_executable_p -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+# as_fn_error STATUS ERROR [LINENO LOG_FD] -+# ---------------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with STATUS, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$1; test $as_status -eq 0 && as_status=1 -+ if test "$4"; then -+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 -+ fi -+ $as_echo "$as_me: error: $2" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+if expr a : '\(a\)' >/dev/null 2>&1 && -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi -+ -+as_me=`$as_basename -- "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+ -+ as_lineno_1=$LINENO as_lineno_1a=$LINENO -+ as_lineno_2=$LINENO as_lineno_2a=$LINENO -+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && -+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { -+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) -+ sed -n ' -+ p -+ /[$]LINENO/= -+ ' <$as_myself | -+ sed ' -+ s/[$]LINENO.*/&-/ -+ t lineno -+ b -+ :lineno -+ N -+ :loop -+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ -+ t loop -+ s/-\n.*// -+ ' >$as_me.lineno && -+ chmod +x "$as_me.lineno" || -+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } -+ -+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have -+ # already done that, so ensure we don't try to do so again and fall -+ # in an infinite loop. This has already happened in practice. -+ _as_can_reexec=no; export _as_can_reexec -+ # Don't try to exec as it changes $[0], causing all sort of problems -+ # (the dirname of $[0] is not the place where we might find the -+ # original and so on. Autoconf is especially sensitive to this). -+ . "./$as_me.lineno" -+ # Exit status is that of the last command. -+ exit -+} -+ -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac -+ -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null -+fi -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -pR'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -pR' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -pR' -+ fi -+else -+ as_ln_s='cp -pR' -+fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null -+ -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+as_test_x='test -x' -+as_executable_p=as_fn_executable_p -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+SHELL=${CONFIG_SHELL-/bin/sh} -+ -+ -+test -n "$DJDIR" || exec 7<&0 &1 -+ -+# Name of the host. -+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, -+# so uname gets run too. -+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` -+ -+# -+# Initializations. -+# -+ac_default_prefix=/usr/local -+ac_clean_files= -+ac_config_libobj_dir=. -+LIBOBJS= -+cross_compiling=no -+subdirs= -+MFLAGS= -+MAKEFLAGS= -+ -+# Identity of this package. -+PACKAGE_NAME= -+PACKAGE_TARNAME= -+PACKAGE_VERSION= -+PACKAGE_STRING= -+PACKAGE_BUGREPORT= -+PACKAGE_URL= -+ -+ac_unique_file="lib/localcharset.c" -+# Factoring default headers for most tests. -+ac_includes_default="\ -+#include -+#ifdef HAVE_SYS_TYPES_H -+# include -+#endif -+#ifdef HAVE_SYS_STAT_H -+# include -+#endif -+#ifdef STDC_HEADERS -+# include -+# include -+#else -+# ifdef HAVE_STDLIB_H -+# include -+# endif -+#endif -+#ifdef HAVE_STRING_H -+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -+# include -+# endif -+# include -+#endif -+#ifdef HAVE_STRINGS_H -+# include -+#endif -+#ifdef HAVE_INTTYPES_H -+# include -+#endif -+#ifdef HAVE_STDINT_H -+# include -+#endif -+#ifdef HAVE_UNISTD_H -+# include -+#endif" -+ -+ac_subst_vars='LTLIBOBJS -+GLIBC21 -+HAVE_VISIBILITY -+CFLAG_VISIBILITY -+OTOOL64 -+OTOOL -+LIPO -+NMEDIT -+DSYMUTIL -+MANIFEST_TOOL -+AWK -+RANLIB -+STRIP -+ac_ct_AR -+AR -+LN_S -+NM -+ac_ct_DUMPBIN -+DUMPBIN -+LD -+FGREP -+SED -+LIBTOOL -+OBJDUMP -+DLLTOOL -+AS -+EGREP -+GREP -+LIBOBJS -+RELOCATABLE -+host_os -+host_vendor -+host_cpu -+host -+build_os -+build_vendor -+build_cpu -+build -+INSTALL_DATA -+INSTALL_SCRIPT -+INSTALL_PROGRAM -+CPP -+OBJEXT -+EXEEXT -+ac_ct_CC -+CPPFLAGS -+LDFLAGS -+CFLAGS -+CC -+VERSION -+PACKAGE -+SET_MAKE -+target_alias -+host_alias -+build_alias -+LIBS -+ECHO_T -+ECHO_N -+ECHO_C -+DEFS -+mandir -+localedir -+libdir -+psdir -+pdfdir -+dvidir -+htmldir -+infodir -+docdir -+oldincludedir -+includedir -+localstatedir -+sharedstatedir -+sysconfdir -+datadir -+datarootdir -+libexecdir -+sbindir -+bindir -+program_transform_name -+prefix -+exec_prefix -+PACKAGE_URL -+PACKAGE_BUGREPORT -+PACKAGE_STRING -+PACKAGE_VERSION -+PACKAGE_TARNAME -+PACKAGE_NAME -+PATH_SEPARATOR -+SHELL' -+ac_subst_files='' -+ac_user_opts=' -+enable_option_checking -+enable_relocatable -+enable_shared -+enable_static -+with_pic -+enable_fast_install -+with_gnu_ld -+with_sysroot -+enable_libtool_lock -+' -+ ac_precious_vars='build_alias -+host_alias -+target_alias -+CC -+CFLAGS -+LDFLAGS -+LIBS -+CPPFLAGS -+CPP' -+ -+ -+# Initialize some variables set by options. -+ac_init_help= -+ac_init_version=false -+ac_unrecognized_opts= -+ac_unrecognized_sep= -+# The variables have the same names as the options, with -+# dashes changed to underlines. -+cache_file=/dev/null -+exec_prefix=NONE -+no_create= -+no_recursion= -+prefix=NONE -+program_prefix=NONE -+program_suffix=NONE -+program_transform_name=s,x,x, -+silent= -+site= -+srcdir= -+verbose= -+x_includes=NONE -+x_libraries=NONE -+ -+# Installation directory options. -+# These are left unexpanded so users can "make install exec_prefix=/foo" -+# and all the variables that are supposed to be based on exec_prefix -+# by default will actually change. -+# Use braces instead of parens because sh, perl, etc. also accept them. -+# (The list follows the same order as the GNU Coding Standards.) -+bindir='${exec_prefix}/bin' -+sbindir='${exec_prefix}/sbin' -+libexecdir='${exec_prefix}/libexec' -+datarootdir='${prefix}/share' -+datadir='${datarootdir}' -+sysconfdir='${prefix}/etc' -+sharedstatedir='${prefix}/com' -+localstatedir='${prefix}/var' -+includedir='${prefix}/include' -+oldincludedir='/usr/include' -+docdir='${datarootdir}/doc/${PACKAGE}' -+infodir='${datarootdir}/info' -+htmldir='${docdir}' -+dvidir='${docdir}' -+pdfdir='${docdir}' -+psdir='${docdir}' -+libdir='${exec_prefix}/lib' -+localedir='${datarootdir}/locale' -+mandir='${datarootdir}/man' -+ -+ac_prev= -+ac_dashdash= -+for ac_option -+do -+ # If the previous option needs an argument, assign it. -+ if test -n "$ac_prev"; then -+ eval $ac_prev=\$ac_option -+ ac_prev= -+ continue -+ fi -+ -+ case $ac_option in -+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; -+ *=) ac_optarg= ;; -+ *) ac_optarg=yes ;; -+ esac -+ -+ # Accept the important Cygnus configure options, so we can diagnose typos. -+ -+ case $ac_dashdash$ac_option in -+ --) -+ ac_dashdash=yes ;; -+ -+ -bindir | --bindir | --bindi | --bind | --bin | --bi) -+ ac_prev=bindir ;; -+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) -+ bindir=$ac_optarg ;; -+ -+ -build | --build | --buil | --bui | --bu) -+ ac_prev=build_alias ;; -+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) -+ build_alias=$ac_optarg ;; -+ -+ -cache-file | --cache-file | --cache-fil | --cache-fi \ -+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) -+ ac_prev=cache_file ;; -+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) -+ cache_file=$ac_optarg ;; -+ -+ --config-cache | -C) -+ cache_file=config.cache ;; -+ -+ -datadir | --datadir | --datadi | --datad) -+ ac_prev=datadir ;; -+ -datadir=* | --datadir=* | --datadi=* | --datad=*) -+ datadir=$ac_optarg ;; -+ -+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ -+ | --dataroo | --dataro | --datar) -+ ac_prev=datarootdir ;; -+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ -+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) -+ datarootdir=$ac_optarg ;; -+ -+ -disable-* | --disable-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=no ;; -+ -+ -docdir | --docdir | --docdi | --doc | --do) -+ ac_prev=docdir ;; -+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) -+ docdir=$ac_optarg ;; -+ -+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) -+ ac_prev=dvidir ;; -+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) -+ dvidir=$ac_optarg ;; -+ -+ -enable-* | --enable-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=\$ac_optarg ;; -+ -+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ -+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ -+ | --exec | --exe | --ex) -+ ac_prev=exec_prefix ;; -+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ -+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ -+ | --exec=* | --exe=* | --ex=*) -+ exec_prefix=$ac_optarg ;; -+ -+ -gas | --gas | --ga | --g) -+ # Obsolete; use --with-gas. -+ with_gas=yes ;; -+ -+ -help | --help | --hel | --he | -h) -+ ac_init_help=long ;; -+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) -+ ac_init_help=recursive ;; -+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) -+ ac_init_help=short ;; -+ -+ -host | --host | --hos | --ho) -+ ac_prev=host_alias ;; -+ -host=* | --host=* | --hos=* | --ho=*) -+ host_alias=$ac_optarg ;; -+ -+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) -+ ac_prev=htmldir ;; -+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ -+ | --ht=*) -+ htmldir=$ac_optarg ;; -+ -+ -includedir | --includedir | --includedi | --included | --include \ -+ | --includ | --inclu | --incl | --inc) -+ ac_prev=includedir ;; -+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ -+ | --includ=* | --inclu=* | --incl=* | --inc=*) -+ includedir=$ac_optarg ;; -+ -+ -infodir | --infodir | --infodi | --infod | --info | --inf) -+ ac_prev=infodir ;; -+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) -+ infodir=$ac_optarg ;; -+ -+ -libdir | --libdir | --libdi | --libd) -+ ac_prev=libdir ;; -+ -libdir=* | --libdir=* | --libdi=* | --libd=*) -+ libdir=$ac_optarg ;; -+ -+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ -+ | --libexe | --libex | --libe) -+ ac_prev=libexecdir ;; -+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ -+ | --libexe=* | --libex=* | --libe=*) -+ libexecdir=$ac_optarg ;; -+ -+ -localedir | --localedir | --localedi | --localed | --locale) -+ ac_prev=localedir ;; -+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) -+ localedir=$ac_optarg ;; -+ -+ -localstatedir | --localstatedir | --localstatedi | --localstated \ -+ | --localstate | --localstat | --localsta | --localst | --locals) -+ ac_prev=localstatedir ;; -+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ -+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) -+ localstatedir=$ac_optarg ;; -+ -+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) -+ ac_prev=mandir ;; -+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) -+ mandir=$ac_optarg ;; -+ -+ -nfp | --nfp | --nf) -+ # Obsolete; use --without-fp. -+ with_fp=no ;; -+ -+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ -+ | --no-cr | --no-c | -n) -+ no_create=yes ;; -+ -+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ -+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) -+ no_recursion=yes ;; -+ -+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ -+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ -+ | --oldin | --oldi | --old | --ol | --o) -+ ac_prev=oldincludedir ;; -+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ -+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ -+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) -+ oldincludedir=$ac_optarg ;; -+ -+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) -+ ac_prev=prefix ;; -+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) -+ prefix=$ac_optarg ;; -+ -+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ -+ | --program-pre | --program-pr | --program-p) -+ ac_prev=program_prefix ;; -+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ -+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) -+ program_prefix=$ac_optarg ;; -+ -+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ -+ | --program-suf | --program-su | --program-s) -+ ac_prev=program_suffix ;; -+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ -+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) -+ program_suffix=$ac_optarg ;; -+ -+ -program-transform-name | --program-transform-name \ -+ | --program-transform-nam | --program-transform-na \ -+ | --program-transform-n | --program-transform- \ -+ | --program-transform | --program-transfor \ -+ | --program-transfo | --program-transf \ -+ | --program-trans | --program-tran \ -+ | --progr-tra | --program-tr | --program-t) -+ ac_prev=program_transform_name ;; -+ -program-transform-name=* | --program-transform-name=* \ -+ | --program-transform-nam=* | --program-transform-na=* \ -+ | --program-transform-n=* | --program-transform-=* \ -+ | --program-transform=* | --program-transfor=* \ -+ | --program-transfo=* | --program-transf=* \ -+ | --program-trans=* | --program-tran=* \ -+ | --progr-tra=* | --program-tr=* | --program-t=*) -+ program_transform_name=$ac_optarg ;; -+ -+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) -+ ac_prev=pdfdir ;; -+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) -+ pdfdir=$ac_optarg ;; -+ -+ -psdir | --psdir | --psdi | --psd | --ps) -+ ac_prev=psdir ;; -+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) -+ psdir=$ac_optarg ;; -+ -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ silent=yes ;; -+ -+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) -+ ac_prev=sbindir ;; -+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ -+ | --sbi=* | --sb=*) -+ sbindir=$ac_optarg ;; -+ -+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ -+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ -+ | --sharedst | --shareds | --shared | --share | --shar \ -+ | --sha | --sh) -+ ac_prev=sharedstatedir ;; -+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ -+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ -+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ -+ | --sha=* | --sh=*) -+ sharedstatedir=$ac_optarg ;; -+ -+ -site | --site | --sit) -+ ac_prev=site ;; -+ -site=* | --site=* | --sit=*) -+ site=$ac_optarg ;; -+ -+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -+ ac_prev=srcdir ;; -+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -+ srcdir=$ac_optarg ;; -+ -+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ -+ | --syscon | --sysco | --sysc | --sys | --sy) -+ ac_prev=sysconfdir ;; -+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ -+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) -+ sysconfdir=$ac_optarg ;; -+ -+ -target | --target | --targe | --targ | --tar | --ta | --t) -+ ac_prev=target_alias ;; -+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) -+ target_alias=$ac_optarg ;; -+ -+ -v | -verbose | --verbose | --verbos | --verbo | --verb) -+ verbose=yes ;; -+ -+ -version | --version | --versio | --versi | --vers | -V) -+ ac_init_version=: ;; -+ -+ -with-* | --with-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=\$ac_optarg ;; -+ -+ -without-* | --without-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=no ;; -+ -+ --x) -+ # Obsolete; use --with-x. -+ with_x=yes ;; -+ -+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ -+ | --x-incl | --x-inc | --x-in | --x-i) -+ ac_prev=x_includes ;; -+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ -+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) -+ x_includes=$ac_optarg ;; -+ -+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ -+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) -+ ac_prev=x_libraries ;; -+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ -+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) -+ x_libraries=$ac_optarg ;; -+ -+ -*) as_fn_error $? "unrecognized option: \`$ac_option' -+Try \`$0 --help' for more information" -+ ;; -+ -+ *=*) -+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` -+ # Reject names that are not valid shell variable names. -+ case $ac_envvar in #( -+ '' | [0-9]* | *[!_$as_cr_alnum]* ) -+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; -+ esac -+ eval $ac_envvar=\$ac_optarg -+ export $ac_envvar ;; -+ -+ *) -+ # FIXME: should be removed in autoconf 3.0. -+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 -+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && -+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 -+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" -+ ;; -+ -+ esac -+done -+ -+if test -n "$ac_prev"; then -+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` -+ as_fn_error $? "missing argument to $ac_option" -+fi -+ -+if test -n "$ac_unrecognized_opts"; then -+ case $enable_option_checking in -+ no) ;; -+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; -+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; -+ esac -+fi -+ -+# Check all directory arguments for consistency. -+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ -+ datadir sysconfdir sharedstatedir localstatedir includedir \ -+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ -+ libdir localedir mandir -+do -+ eval ac_val=\$$ac_var -+ # Remove trailing slashes. -+ case $ac_val in -+ */ ) -+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` -+ eval $ac_var=\$ac_val;; -+ esac -+ # Be sure to have absolute directory names. -+ case $ac_val in -+ [\\/$]* | ?:[\\/]* ) continue;; -+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; -+ esac -+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" -+done -+ -+# There might be people who depend on the old broken behavior: `$host' -+# used to hold the argument of --host etc. -+# FIXME: To remove some day. -+build=$build_alias -+host=$host_alias -+target=$target_alias -+ -+# FIXME: To remove some day. -+if test "x$host_alias" != x; then -+ if test "x$build_alias" = x; then -+ cross_compiling=maybe -+ elif test "x$build_alias" != "x$host_alias"; then -+ cross_compiling=yes -+ fi -+fi -+ -+ac_tool_prefix= -+test -n "$host_alias" && ac_tool_prefix=$host_alias- -+ -+test "$silent" = yes && exec 6>/dev/null -+ -+ -+ac_pwd=`pwd` && test -n "$ac_pwd" && -+ac_ls_di=`ls -di .` && -+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || -+ as_fn_error $? "working directory cannot be determined" -+test "X$ac_ls_di" = "X$ac_pwd_ls_di" || -+ as_fn_error $? "pwd does not report name of working directory" -+ -+ -+# Find the source files, if location was not specified. -+if test -z "$srcdir"; then -+ ac_srcdir_defaulted=yes -+ # Try the directory containing this script, then the parent directory. -+ ac_confdir=`$as_dirname -- "$as_myself" || -+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_myself" : 'X\(//\)[^/]' \| \ -+ X"$as_myself" : 'X\(//\)$' \| \ -+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_myself" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ srcdir=$ac_confdir -+ if test ! -r "$srcdir/$ac_unique_file"; then -+ srcdir=.. -+ fi -+else -+ ac_srcdir_defaulted=no -+fi -+if test ! -r "$srcdir/$ac_unique_file"; then -+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." -+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" -+fi -+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -+ac_abs_confdir=`( -+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" -+ pwd)` -+# When building in place, set srcdir=. -+if test "$ac_abs_confdir" = "$ac_pwd"; then -+ srcdir=. -+fi -+# Remove unnecessary trailing slashes from srcdir. -+# Double slashes in file names in object file debugging info -+# mess up M-x gdb in Emacs. -+case $srcdir in -+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -+esac -+for ac_var in $ac_precious_vars; do -+ eval ac_env_${ac_var}_set=\${${ac_var}+set} -+ eval ac_env_${ac_var}_value=\$${ac_var} -+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} -+ eval ac_cv_env_${ac_var}_value=\$${ac_var} -+done -+ -+# -+# Report the --help message. -+# -+if test "$ac_init_help" = "long"; then -+ # Omit some internal or obsolete options to make the list less imposing. -+ # This message is too long to be a string in the A/UX 3.1 sh. -+ cat <<_ACEOF -+\`configure' configures this package to adapt to many kinds of systems. -+ -+Usage: $0 [OPTION]... [VAR=VALUE]... -+ -+To assign environment variables (e.g., CC, CFLAGS...), specify them as -+VAR=VALUE. See below for descriptions of some of the useful variables. -+ -+Defaults for the options are specified in brackets. -+ -+Configuration: -+ -h, --help display this help and exit -+ --help=short display options specific to this package -+ --help=recursive display the short help of all the included packages -+ -V, --version display version information and exit -+ -q, --quiet, --silent do not print \`checking ...' messages -+ --cache-file=FILE cache test results in FILE [disabled] -+ -C, --config-cache alias for \`--cache-file=config.cache' -+ -n, --no-create do not create output files -+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] -+ -+Installation directories: -+ --prefix=PREFIX install architecture-independent files in PREFIX -+ [$ac_default_prefix] -+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX -+ [PREFIX] -+ -+By default, \`make install' will install all the files in -+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -+an installation prefix other than \`$ac_default_prefix' using \`--prefix', -+for instance \`--prefix=\$HOME'. -+ -+For better control, use the options below. -+ -+Fine tuning of the installation directories: -+ --bindir=DIR user executables [EPREFIX/bin] -+ --sbindir=DIR system admin executables [EPREFIX/sbin] -+ --libexecdir=DIR program executables [EPREFIX/libexec] -+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] -+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] -+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] -+ --libdir=DIR object code libraries [EPREFIX/lib] -+ --includedir=DIR C header files [PREFIX/include] -+ --oldincludedir=DIR C header files for non-gcc [/usr/include] -+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] -+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] -+ --infodir=DIR info documentation [DATAROOTDIR/info] -+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] -+ --mandir=DIR man documentation [DATAROOTDIR/man] -+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] -+ --htmldir=DIR html documentation [DOCDIR] -+ --dvidir=DIR dvi documentation [DOCDIR] -+ --pdfdir=DIR pdf documentation [DOCDIR] -+ --psdir=DIR ps documentation [DOCDIR] -+_ACEOF -+ -+ cat <<\_ACEOF -+ -+System types: -+ --build=BUILD configure for building on BUILD [guessed] -+ --host=HOST cross-compile to build programs to run on HOST [BUILD] -+_ACEOF -+fi -+ -+if test -n "$ac_init_help"; then -+ -+ cat <<\_ACEOF -+ -+Optional Features: -+ --disable-option-checking ignore unrecognized --enable/--with options -+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) -+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] -+ --enable-relocatable install a package that can be moved in the filesystem -+ --enable-shared[=PKGS] build shared libraries [default=yes] -+ --enable-static[=PKGS] build static libraries [default=yes] -+ --enable-fast-install[=PKGS] -+ optimize for fast installation [default=yes] -+ --disable-libtool-lock avoid locking (might break parallel builds) -+ -+Optional Packages: -+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] -+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) -+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use -+ both] -+ --with-gnu-ld assume the C compiler uses GNU ld [default=no] -+ --with-sysroot=DIR Search for dependent libraries within DIR -+ (or the compiler's sysroot if not specified). -+ -+Some influential environment variables: -+ CC C compiler command -+ CFLAGS C compiler flags -+ LDFLAGS linker flags, e.g. -L if you have libraries in a -+ nonstandard directory -+ LIBS libraries to pass to the linker, e.g. -l -+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if -+ you have headers in a nonstandard directory -+ CPP C preprocessor -+ -+Use these variables to override the choices made by `configure' or to help -+it to find libraries and programs with nonstandard names/locations. -+ -+Report bugs to the package provider. -+_ACEOF -+ac_status=$? -+fi -+ -+if test "$ac_init_help" = "recursive"; then -+ # If there are subdirs, report their specific --help. -+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue -+ test -d "$ac_dir" || -+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || -+ continue -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ cd "$ac_dir" || { ac_status=$?; continue; } -+ # Check for guested configure. -+ if test -f "$ac_srcdir/configure.gnu"; then -+ echo && -+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive -+ elif test -f "$ac_srcdir/configure"; then -+ echo && -+ $SHELL "$ac_srcdir/configure" --help=recursive -+ else -+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 -+ fi || ac_status=$? -+ cd "$ac_pwd" || { ac_status=$?; break; } -+ done -+fi -+ -+test -n "$ac_init_help" && exit $ac_status -+if $ac_init_version; then -+ cat <<\_ACEOF -+configure -+generated by GNU Autoconf 2.69 -+ -+Copyright (C) 2012 Free Software Foundation, Inc. -+This configure script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it. -+_ACEOF -+ exit -+fi -+ -+## ------------------------ ## -+## Autoconf initialization. ## -+## ------------------------ ## -+ -+# ac_fn_c_try_compile LINENO -+# -------------------------- -+# Try to compile conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext -+ if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest.$ac_objext; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_compile -+ -+# ac_fn_c_try_cpp LINENO -+# ---------------------- -+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_cpp () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_cpp conftest.$ac_ext" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } > conftest.i && { -+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -+ test ! -s conftest.err -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_cpp -+ -+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -+# ------------------------------------------------------- -+# Tests whether HEADER exists, giving a warning if it cannot be compiled using -+# the include files in INCLUDES and setting the cache variable VAR -+# accordingly. -+ac_fn_c_check_header_mongrel () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if eval \${$3+:} false; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+else -+ # Is the header compilable? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -+$as_echo_n "checking $2 usability... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_header_compiler=yes -+else -+ ac_header_compiler=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -+$as_echo "$ac_header_compiler" >&6; } -+ -+# Is the header present? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -+$as_echo_n "checking $2 presence... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include <$2> -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ ac_header_preproc=yes -+else -+ ac_header_preproc=no -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -+$as_echo "$ac_header_preproc" >&6; } -+ -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( -+ yes:no: ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+ no:yes:* ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+esac -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ eval "$3=\$ac_header_compiler" -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_header_mongrel -+ -+# ac_fn_c_try_run LINENO -+# ---------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -+# that executables *can* be run. -+ac_fn_c_try_run () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: program exited with status $ac_status" >&5 -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=$ac_status -+fi -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_run -+ -+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -+# ------------------------------------------------------- -+# Tests whether HEADER exists and can be compiled using the include files in -+# INCLUDES, setting the cache variable VAR accordingly. -+ac_fn_c_check_header_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_header_compile -+ -+# ac_fn_c_try_link LINENO -+# ----------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_link () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext conftest$ac_exeext -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest$ac_exeext && { -+ test "$cross_compiling" = yes || -+ test -x conftest$ac_exeext -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information -+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would -+ # interfere with the next link command; also delete a directory that is -+ # left behind by Apple's compiler. We do this before executing the actions. -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_link -+ -+# ac_fn_c_check_func LINENO FUNC VAR -+# ---------------------------------- -+# Tests whether FUNC exists, setting the cache variable VAR accordingly -+ac_fn_c_check_func () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+/* Define $2 to an innocuous variant, in case declares $2. -+ For example, HP-UX 11i declares gettimeofday. */ -+#define $2 innocuous_$2 -+ -+/* System header to define __stub macros and hopefully few prototypes, -+ which can conflict with char $2 (); below. -+ Prefer to if __STDC__ is defined, since -+ exists even on freestanding compilers. */ -+ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ -+#undef $2 -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char $2 (); -+/* The GNU C library defines this for functions which it implements -+ to always fail with ENOSYS. Some functions are actually named -+ something starting with __ and the normal name is an alias. */ -+#if defined __stub_$2 || defined __stub___$2 -+choke me -+#endif -+ -+int -+main () -+{ -+return $2 (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_func -+cat >config.log <<_ACEOF -+This file contains any messages produced by compilers while -+running configure, to aid debugging if configure makes a mistake. -+ -+It was created by $as_me, which was -+generated by GNU Autoconf 2.69. Invocation command line was -+ -+ $ $0 $@ -+ -+_ACEOF -+exec 5>>config.log -+{ -+cat <<_ASUNAME -+## --------- ## -+## Platform. ## -+## --------- ## -+ -+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -+uname -m = `(uname -m) 2>/dev/null || echo unknown` -+uname -r = `(uname -r) 2>/dev/null || echo unknown` -+uname -s = `(uname -s) 2>/dev/null || echo unknown` -+uname -v = `(uname -v) 2>/dev/null || echo unknown` -+ -+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` -+ -+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` -+ -+_ASUNAME -+ -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ $as_echo "PATH: $as_dir" -+ done -+IFS=$as_save_IFS -+ -+} >&5 -+ -+cat >&5 <<_ACEOF -+ -+ -+## ----------- ## -+## Core tests. ## -+## ----------- ## -+ -+_ACEOF -+ -+ -+# Keep a trace of the command line. -+# Strip out --no-create and --no-recursion so they do not pile up. -+# Strip out --silent because we don't want to record it for future runs. -+# Also quote any args containing shell meta-characters. -+# Make two passes to allow for proper duplicate-argument suppression. -+ac_configure_args= -+ac_configure_args0= -+ac_configure_args1= -+ac_must_keep_next=false -+for ac_pass in 1 2 -+do -+ for ac_arg -+ do -+ case $ac_arg in -+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ continue ;; -+ *\'*) -+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ case $ac_pass in -+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; -+ 2) -+ as_fn_append ac_configure_args1 " '$ac_arg'" -+ if test $ac_must_keep_next = true; then -+ ac_must_keep_next=false # Got value, back to normal. -+ else -+ case $ac_arg in -+ *=* | --config-cache | -C | -disable-* | --disable-* \ -+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ -+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ -+ | -with-* | --with-* | -without-* | --without-* | --x) -+ case "$ac_configure_args0 " in -+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; -+ esac -+ ;; -+ -* ) ac_must_keep_next=true ;; -+ esac -+ fi -+ as_fn_append ac_configure_args " '$ac_arg'" -+ ;; -+ esac -+ done -+done -+{ ac_configure_args0=; unset ac_configure_args0;} -+{ ac_configure_args1=; unset ac_configure_args1;} -+ -+# When interrupted or exit'd, cleanup temporary files, and complete -+# config.log. We remove comments because anyway the quotes in there -+# would cause problems or look ugly. -+# WARNING: Use '\'' to represent an apostrophe within the trap. -+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -+trap 'exit_status=$? -+ # Save into config.log some information that might help in debugging. -+ { -+ echo -+ -+ $as_echo "## ---------------- ## -+## Cache variables. ## -+## ---------------- ##" -+ echo -+ # The following way of writing the cache mishandles newlines in values, -+( -+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do -+ eval ac_val=\$$ac_var -+ case $ac_val in #( -+ *${as_nl}*) -+ case $ac_var in #( -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; -+ esac -+ case $ac_var in #( -+ _ | IFS | as_nl) ;; #( -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; -+ esac ;; -+ esac -+ done -+ (set) 2>&1 | -+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( -+ *${as_nl}ac_space=\ *) -+ sed -n \ -+ "s/'\''/'\''\\\\'\'''\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" -+ ;; #( -+ *) -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -+ ;; -+ esac | -+ sort -+) -+ echo -+ -+ $as_echo "## ----------------- ## -+## Output variables. ## -+## ----------------- ##" -+ echo -+ for ac_var in $ac_subst_vars -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo -+ -+ if test -n "$ac_subst_files"; then -+ $as_echo "## ------------------- ## -+## File substitutions. ## -+## ------------------- ##" -+ echo -+ for ac_var in $ac_subst_files -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo -+ fi -+ -+ if test -s confdefs.h; then -+ $as_echo "## ----------- ## -+## confdefs.h. ## -+## ----------- ##" -+ echo -+ cat confdefs.h -+ echo -+ fi -+ test "$ac_signal" != 0 && -+ $as_echo "$as_me: caught signal $ac_signal" -+ $as_echo "$as_me: exit $exit_status" -+ } >&5 -+ rm -f core *.core core.conftest.* && -+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && -+ exit $exit_status -+' 0 -+for ac_signal in 1 2 13 15; do -+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -+done -+ac_signal=0 -+ -+# confdefs.h avoids OS command line length limits that DEFS can exceed. -+rm -f -r conftest* confdefs.h -+ -+$as_echo "/* confdefs.h */" > confdefs.h -+ -+# Predefined preprocessor variables. -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_NAME "$PACKAGE_NAME" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_VERSION "$PACKAGE_VERSION" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_STRING "$PACKAGE_STRING" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_URL "$PACKAGE_URL" -+_ACEOF -+ -+ -+# Let the site file select an alternate cache file if it wants to. -+# Prefer an explicitly selected file to automatically selected ones. -+ac_site_file1=NONE -+ac_site_file2=NONE -+if test -n "$CONFIG_SITE"; then -+ # We do not want a PATH search for config.site. -+ case $CONFIG_SITE in #(( -+ -*) ac_site_file1=./$CONFIG_SITE;; -+ */*) ac_site_file1=$CONFIG_SITE;; -+ *) ac_site_file1=./$CONFIG_SITE;; -+ esac -+elif test "x$prefix" != xNONE; then -+ ac_site_file1=$prefix/share/config.site -+ ac_site_file2=$prefix/etc/config.site -+else -+ ac_site_file1=$ac_default_prefix/share/config.site -+ ac_site_file2=$ac_default_prefix/etc/config.site -+fi -+for ac_site_file in "$ac_site_file1" "$ac_site_file2" -+do -+ test "x$ac_site_file" = xNONE && continue -+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -+$as_echo "$as_me: loading site script $ac_site_file" >&6;} -+ sed 's/^/| /' "$ac_site_file" >&5 -+ . "$ac_site_file" \ -+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "failed to load site script $ac_site_file -+See \`config.log' for more details" "$LINENO" 5; } -+ fi -+done -+ -+if test -r "$cache_file"; then -+ # Some versions of bash will fail to source /dev/null (special files -+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. -+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -+$as_echo "$as_me: loading cache $cache_file" >&6;} -+ case $cache_file in -+ [\\/]* | ?:[\\/]* ) . "$cache_file";; -+ *) . "./$cache_file";; -+ esac -+ fi -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -+$as_echo "$as_me: creating cache $cache_file" >&6;} -+ >$cache_file -+fi -+ -+# Check that the precious variables saved in the cache have kept the same -+# value. -+ac_cache_corrupted=false -+for ac_var in $ac_precious_vars; do -+ eval ac_old_set=\$ac_cv_env_${ac_var}_set -+ eval ac_new_set=\$ac_env_${ac_var}_set -+ eval ac_old_val=\$ac_cv_env_${ac_var}_value -+ eval ac_new_val=\$ac_env_${ac_var}_value -+ case $ac_old_set,$ac_new_set in -+ set,) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,set) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,);; -+ *) -+ if test "x$ac_old_val" != "x$ac_new_val"; then -+ # differences in whitespace do not lead to failure. -+ ac_old_val_w=`echo x $ac_old_val` -+ ac_new_val_w=`echo x $ac_new_val` -+ if test "$ac_old_val_w" != "$ac_new_val_w"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} -+ ac_cache_corrupted=: -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} -+ eval $ac_var=\$ac_old_val -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} -+ fi;; -+ esac -+ # Pass precious variables to config.status. -+ if test "$ac_new_set" = set; then -+ case $ac_new_val in -+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; -+ *) ac_arg=$ac_var=$ac_new_val ;; -+ esac -+ case " $ac_configure_args " in -+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. -+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; -+ esac -+ fi -+done -+if $ac_cache_corrupted; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} -+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -+fi -+## -------------------- ## -+## Main body of script. ## -+## -------------------- ## -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+ac_aux_dir= -+for ac_dir in build-aux "$srcdir"/build-aux; do -+ if test -f "$ac_dir/install-sh"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install-sh -c" -+ break -+ elif test -f "$ac_dir/install.sh"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install.sh -c" -+ break -+ elif test -f "$ac_dir/shtool"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/shtool install -c" -+ break -+ fi -+done -+if test -z "$ac_aux_dir"; then -+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 -+fi -+ -+# These three variables are undocumented and unsupported, -+# and are intended to be withdrawn in a future Autoconf release. -+# They can cause serious problems if a builder's source tree is in a directory -+# whose full name contains unusual characters. -+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -+ -+ -+ac_config_headers="$ac_config_headers config.h" -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -+set x ${MAKE-make} -+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat >conftest.make <<\_ACEOF -+SHELL = /bin/sh -+all: -+ @echo '@@@%%%=$(MAKE)=@@@%%%' -+_ACEOF -+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. -+case `${MAKE-make} -f conftest.make 2>/dev/null` in -+ *@@@%%%=?*=@@@%%%*) -+ eval ac_cv_prog_make_${ac_make}_set=yes;; -+ *) -+ eval ac_cv_prog_make_${ac_make}_set=no;; -+esac -+rm -f conftest.make -+fi -+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ SET_MAKE= -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ SET_MAKE="MAKE=${MAKE-make}" -+fi -+ -+ -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="${ac_tool_prefix}gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_CC"; then -+ ac_ct_CC=$CC -+ # Extract the first word of "gcc", so it can be a program name with args. -+set dummy gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_CC="gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi -+else -+ CC="$ac_cv_prog_CC" -+fi -+ -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="${ac_tool_prefix}cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ fi -+fi -+if test -z "$CC"; then -+ # Extract the first word of "cc", so it can be a program name with args. -+set dummy cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+ ac_prog_rejected=no -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then -+ ac_prog_rejected=yes -+ continue -+ fi -+ ac_cv_prog_CC="cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+if test $ac_prog_rejected = yes; then -+ # We found a bogon in the path, so make sure we never use it. -+ set dummy $ac_cv_prog_CC -+ shift -+ if test $# != 0; then -+ # We chose a different compiler from the bogus one. -+ # However, it has the same basename, so the bogon will be chosen -+ # first if we set CC to just the basename; use the full file name. -+ shift -+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" -+ fi -+fi -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ for ac_prog in cl.exe -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$CC" && break -+ done -+fi -+if test -z "$CC"; then -+ ac_ct_CC=$CC -+ for ac_prog in cl.exe -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_CC="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_CC" && break -+done -+ -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi -+fi -+ -+fi -+ -+ -+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "no acceptable C compiler found in \$PATH -+See \`config.log' for more details" "$LINENO" 5; } -+ -+# Provide some information about the compiler. -+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -+set X $ac_compile -+ac_compiler=$2 -+for ac_option in --version -v -V -qversion; do -+ { { ac_try="$ac_compiler $ac_option >&5" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ sed '10a\ -+... rest of stderr output deleted ... -+ 10q' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ fi -+ rm -f conftest.er1 conftest.err -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+done -+ -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -+# Try to create an executable without -o first, disregard a.out. -+# It will help us diagnose broken compilers, and finding out an intuition -+# of exeext. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -+$as_echo_n "checking whether the C compiler works... " >&6; } -+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -+ -+# The possible output files: -+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" -+ -+ac_rmfiles= -+for ac_file in $ac_files -+do -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; -+ esac -+done -+rm -f $ac_rmfiles -+ -+if { { ac_try="$ac_link_default" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link_default") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -+# in a Makefile. We should not override ac_cv_exeext if it was cached, -+# so that the user can short-circuit this test for compilers unknown to -+# Autoconf. -+for ac_file in $ac_files '' -+do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) -+ ;; -+ [ab].out ) -+ # We found the default executable, but exeext='' is most -+ # certainly right. -+ break;; -+ *.* ) -+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; -+ then :; else -+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ fi -+ # We set ac_cv_exeext here because the later test for it is not -+ # safe: cross compilers may not add the suffix if given an `-o' -+ # argument, so we may need to know it at that point already. -+ # Even if this section looks crufty: it has the advantage of -+ # actually working. -+ break;; -+ * ) -+ break;; -+ esac -+done -+test "$ac_cv_exeext" = no && ac_cv_exeext= -+ -+else -+ ac_file='' -+fi -+if test -z "$ac_file"; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+$as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error 77 "C compiler cannot create executables -+See \`config.log' for more details" "$LINENO" 5; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -+$as_echo_n "checking for C compiler default output file name... " >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -+$as_echo "$ac_file" >&6; } -+ac_exeext=$ac_cv_exeext -+ -+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -+$as_echo_n "checking for suffix of executables... " >&6; } -+if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # If both `conftest.exe' and `conftest' are `present' (well, observable) -+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -+# work properly (i.e., refer to `conftest.exe'), while it won't with -+# `rm'. -+for ac_file in conftest.exe conftest conftest.*; do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ break;; -+ * ) break;; -+ esac -+done -+else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot compute suffix of executables: cannot compile and link -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+rm -f conftest conftest$ac_cv_exeext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -+$as_echo "$ac_cv_exeext" >&6; } -+ -+rm -f conftest.$ac_ext -+EXEEXT=$ac_cv_exeext -+ac_exeext=$EXEEXT -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+FILE *f = fopen ("conftest.out", "w"); -+ return ferror (f) || fclose (f) != 0; -+ -+ ; -+ return 0; -+} -+_ACEOF -+ac_clean_files="$ac_clean_files conftest.out" -+# Check that the compiler produces executables we can run. If not, either -+# the compiler is broken, or we cross compile. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -+$as_echo_n "checking whether we are cross compiling... " >&6; } -+if test "$cross_compiling" != yes; then -+ { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if { ac_try='./conftest$ac_cv_exeext' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then -+ cross_compiling=no -+ else -+ if test "$cross_compiling" = maybe; then -+ cross_compiling=yes -+ else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot run C compiled programs. -+If you meant to cross compile, use \`--host'. -+See \`config.log' for more details" "$LINENO" 5; } -+ fi -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -+$as_echo "$cross_compiling" >&6; } -+ -+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -+$as_echo_n "checking for suffix of object files... " >&6; } -+if ${ac_cv_objext+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.o conftest.obj -+if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ for ac_file in conftest.o conftest.obj conftest.*; do -+ test -f "$ac_file" || continue; -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; -+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` -+ break;; -+ esac -+done -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot compute suffix of object files: cannot compile -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+rm -f conftest.$ac_cv_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -+$as_echo "$ac_cv_objext" >&6; } -+OBJEXT=$ac_cv_objext -+ac_objext=$OBJEXT -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -+if ${ac_cv_c_compiler_gnu+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+#ifndef __GNUC__ -+ choke me -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_compiler_gnu=yes -+else -+ ac_compiler_gnu=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ac_cv_c_compiler_gnu=$ac_compiler_gnu -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -+$as_echo "$ac_cv_c_compiler_gnu" >&6; } -+if test $ac_compiler_gnu = yes; then -+ GCC=yes -+else -+ GCC= -+fi -+ac_test_CFLAGS=${CFLAGS+set} -+ac_save_CFLAGS=$CFLAGS -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -+$as_echo_n "checking whether $CC accepts -g... " >&6; } -+if ${ac_cv_prog_cc_g+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_save_c_werror_flag=$ac_c_werror_flag -+ ac_c_werror_flag=yes -+ ac_cv_prog_cc_g=no -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes -+else -+ CFLAGS="" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+else -+ ac_c_werror_flag=$ac_save_c_werror_flag -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ ac_c_werror_flag=$ac_save_c_werror_flag -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -+$as_echo "$ac_cv_prog_cc_g" >&6; } -+if test "$ac_test_CFLAGS" = set; then -+ CFLAGS=$ac_save_CFLAGS -+elif test $ac_cv_prog_cc_g = yes; then -+ if test "$GCC" = yes; then -+ CFLAGS="-g -O2" -+ else -+ CFLAGS="-g" -+ fi -+else -+ if test "$GCC" = yes; then -+ CFLAGS="-O2" -+ else -+ CFLAGS= -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -+if ${ac_cv_prog_cc_c89+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_prog_cc_c89=no -+ac_save_CC=$CC -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+struct stat; -+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -+struct buf { int x; }; -+FILE * (*rcsopen) (struct buf *, struct stat *, int); -+static char *e (p, i) -+ char **p; -+ int i; -+{ -+ return p[i]; -+} -+static char *f (char * (*g) (char **, int), char **p, ...) -+{ -+ char *s; -+ va_list v; -+ va_start (v,p); -+ s = g (p, va_arg (v,int)); -+ va_end (v); -+ return s; -+} -+ -+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has -+ function prototypes and stuff, but not '\xHH' hex character constants. -+ These don't provoke an error unfortunately, instead are silently treated -+ as 'x'. The following induces an error, until -std is added to get -+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an -+ array size at least. It's necessary to write '\x00'==0 to get something -+ that's true only with -std. */ -+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; -+ -+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters -+ inside strings and character constants. */ -+#define FOO(x) 'x' -+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; -+ -+int test (int i, double x); -+struct s1 {int (*f) (int a);}; -+struct s2 {int (*f) (double a);}; -+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -+int argc; -+char **argv; -+int -+main () -+{ -+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -+ ; -+ return 0; -+} -+_ACEOF -+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -+do -+ CC="$ac_save_CC $ac_arg" -+ if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_c89=$ac_arg -+fi -+rm -f core conftest.err conftest.$ac_objext -+ test "x$ac_cv_prog_cc_c89" != "xno" && break -+done -+rm -f conftest.$ac_ext -+CC=$ac_save_CC -+ -+fi -+# AC_CACHE_VAL -+case "x$ac_cv_prog_cc_c89" in -+ x) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -+$as_echo "none needed" >&6; } ;; -+ xno) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -+$as_echo "unsupported" >&6; } ;; -+ *) -+ CC="$CC $ac_cv_prog_cc_c89" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -+esac -+if test "x$ac_cv_prog_cc_c89" != xno; then : -+ -+fi -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -+$as_echo_n "checking how to run the C preprocessor... " >&6; } -+# On Suns, sometimes $CPP names a directory. -+if test -n "$CPP" && test -d "$CPP"; then -+ CPP= -+fi -+if test -z "$CPP"; then -+ if ${ac_cv_prog_CPP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # Double quotes because CPP needs to be expanded -+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" -+ do -+ ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue -+else -+ # Passes both tests. -+ac_preproc_ok=: -+break -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.i conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : -+ break -+fi -+ -+ done -+ ac_cv_prog_CPP=$CPP -+ -+fi -+ CPP=$ac_cv_prog_CPP -+else -+ ac_cv_prog_CPP=$CPP -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -+$as_echo "$CPP" >&6; } -+ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue -+else -+ # Passes both tests. -+ac_preproc_ok=: -+break -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.i conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : -+ -+else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+# Find a good install program. We prefer a C program (faster), -+# so one script is as good as another. But avoid the broken or -+# incompatible versions: -+# SysV /etc/install, /usr/sbin/install -+# SunOS /usr/etc/install -+# IRIX /sbin/install -+# AIX /bin/install -+# AmigaOS /C/install, which installs bootblocks on floppy discs -+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -+# AFS /usr/afsws/bin/install, which mishandles nonexistent args -+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -+# OS/2's system install, which has a completely different semantic -+# ./install, which can be erroneously created by make from ./install.sh. -+# Reject install programs that cannot install multiple files. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -+$as_echo_n "checking for a BSD-compatible install... " >&6; } -+if test -z "$INSTALL"; then -+if ${ac_cv_path_install+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ # Account for people who put trailing slashes in PATH elements. -+case $as_dir/ in #(( -+ ./ | .// | /[cC]/* | \ -+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ -+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ -+ /usr/ucb/* ) ;; -+ *) -+ # OSF1 and SCO ODT 3.0 have their own names for install. -+ # Don't use installbsd from OSF since it installs stuff as root -+ # by default. -+ for ac_prog in ginstall scoinst install; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then -+ if test $ac_prog = install && -+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # AIX install. It has an incompatible calling convention. -+ : -+ elif test $ac_prog = install && -+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # program-specific install script used by HP pwplus--don't use. -+ : -+ else -+ rm -rf conftest.one conftest.two conftest.dir -+ echo one > conftest.one -+ echo two > conftest.two -+ mkdir conftest.dir -+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && -+ test -s conftest.one && test -s conftest.two && -+ test -s conftest.dir/conftest.one && -+ test -s conftest.dir/conftest.two -+ then -+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" -+ break 3 -+ fi -+ fi -+ fi -+ done -+ done -+ ;; -+esac -+ -+ done -+IFS=$as_save_IFS -+ -+rm -rf conftest.one conftest.two conftest.dir -+ -+fi -+ if test "${ac_cv_path_install+set}" = set; then -+ INSTALL=$ac_cv_path_install -+ else -+ # As a last resort, use the slow shell script. Don't cache a -+ # value for INSTALL within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the value is a relative name. -+ INSTALL=$ac_install_sh -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -+$as_echo "$INSTALL" >&6; } -+ -+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -+# It thinks the first close brace ends the variable substitution. -+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -+ -+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -+ -+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -+ -+ -+ -+# Make sure we can run config.sub. -+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || -+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -+$as_echo_n "checking build system type... " >&6; } -+if ${ac_cv_build+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_build_alias=$build_alias -+test "x$ac_build_alias" = x && -+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -+test "x$ac_build_alias" = x && -+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || -+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -+$as_echo "$ac_cv_build" >&6; } -+case $ac_cv_build in -+*-*-*) ;; -+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; -+esac -+build=$ac_cv_build -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_build -+shift -+build_cpu=$1 -+build_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+build_os=$* -+IFS=$ac_save_IFS -+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -+$as_echo_n "checking host system type... " >&6; } -+if ${ac_cv_host+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "x$host_alias" = x; then -+ ac_cv_host=$ac_cv_build -+else -+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || -+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -+$as_echo "$ac_cv_host" >&6; } -+case $ac_cv_host in -+*-*-*) ;; -+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; -+esac -+host=$ac_cv_host -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_host -+shift -+host_cpu=$1 -+host_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+host_os=$* -+IFS=$ac_save_IFS -+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5 -+$as_echo_n "checking whether to activate relocatable installation... " >&6; } -+ # Check whether --enable-relocatable was given. -+if test "${enable_relocatable+set}" = set; then : -+ enableval=$enable_relocatable; if test "$enableval" != no; then -+ RELOCATABLE=yes -+ else -+ RELOCATABLE=no -+ fi -+ -+else -+ RELOCATABLE=no -+fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5 -+$as_echo "$RELOCATABLE" >&6; } -+ -+ -+ -+ if test "X$prefix" = "XNONE"; then -+ reloc_final_prefix="$ac_default_prefix" -+ else -+ reloc_final_prefix="$prefix" -+ fi -+ -+cat >>confdefs.h <<_ACEOF -+#define INSTALLPREFIX "${reloc_final_prefix}" -+_ACEOF -+ -+ if test $RELOCATABLE = yes; then -+ -+$as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ if test $RELOCATABLE = yes; then -+ case " $LIBOBJS " in -+ *" relocatable.$ac_objext "* ) ;; -+ *) LIBOBJS="$LIBOBJS relocatable.$ac_objext" -+ ;; -+esac -+ -+ fi -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -+if ${ac_cv_path_GREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$GREP"; then -+ ac_path_GREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in grep ggrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_GREP" || continue -+# Check for GNU ac_path_GREP and select it if it is found. -+ # Check for GNU $ac_path_GREP -+case `"$ac_path_GREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'GREP' >> "conftest.nl" -+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_GREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_GREP="$ac_path_GREP" -+ ac_path_GREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_GREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_GREP"; then -+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_GREP=$GREP -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -+$as_echo "$ac_cv_path_GREP" >&6; } -+ GREP="$ac_cv_path_GREP" -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -+$as_echo_n "checking for egrep... " >&6; } -+if ${ac_cv_path_EGREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 -+ then ac_cv_path_EGREP="$GREP -E" -+ else -+ if test -z "$EGREP"; then -+ ac_path_EGREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in egrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_EGREP" || continue -+# Check for GNU ac_path_EGREP and select it if it is found. -+ # Check for GNU $ac_path_EGREP -+case `"$ac_path_EGREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'EGREP' >> "conftest.nl" -+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_EGREP="$ac_path_EGREP" -+ ac_path_EGREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_EGREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_EGREP"; then -+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_EGREP=$EGREP -+fi -+ -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -+$as_echo "$ac_cv_path_EGREP" >&6; } -+ EGREP="$ac_cv_path_EGREP" -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -+$as_echo_n "checking for ANSI C header files... " >&6; } -+if ${ac_cv_header_stdc+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#include -+#include -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_stdc=yes -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+if test $ac_cv_header_stdc = yes; then -+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "memchr" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "free" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -+ if test "$cross_compiling" = yes; then : -+ : -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#if ((' ' & 0x0FF) == 0x020) -+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -+#else -+# define ISLOWER(c) \ -+ (('a' <= (c) && (c) <= 'i') \ -+ || ('j' <= (c) && (c) <= 'r') \ -+ || ('s' <= (c) && (c) <= 'z')) -+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -+#endif -+ -+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -+int -+main () -+{ -+ int i; -+ for (i = 0; i < 256; i++) -+ if (XOR (islower (i), ISLOWER (i)) -+ || toupper (i) != TOUPPER (i)) -+ return 2; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -+$as_echo "$ac_cv_header_stdc" >&6; } -+if test $ac_cv_header_stdc = yes; then -+ -+$as_echo "#define STDC_HEADERS 1" >>confdefs.h -+ -+fi -+ -+# On IRIX 5.3, sys/types and inttypes.h are conflicting. -+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ -+ inttypes.h stdint.h unistd.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -+" -+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ -+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -+if test "x$ac_cv_header_minix_config_h" = xyes; then : -+ MINIX=yes -+else -+ MINIX= -+fi -+ -+ -+ if test "$MINIX" = yes; then -+ -+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h -+ -+ -+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h -+ -+ -+$as_echo "#define _MINIX 1" >>confdefs.h -+ -+ fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 -+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -+if ${ac_cv_safe_to_define___extensions__+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+# define __EXTENSIONS__ 1 -+ $ac_includes_default -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_safe_to_define___extensions__=yes -+else -+ ac_cv_safe_to_define___extensions__=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 -+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } -+ test $ac_cv_safe_to_define___extensions__ = yes && -+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h -+ -+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h -+ -+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ -+ -+case `pwd` in -+ *\ * | *\ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -+esac -+ -+ -+ -+macro_version='2.4.2' -+macro_revision='1.3337' -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+# Backslashify metacharacters that are still active within -+# double-quoted strings. -+sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -+ -+# Same as above, but do not quote variable references. -+double_quote_subst='s/\(["`\\]\)/\\\1/g' -+ -+# Sed substitution to delay expansion of an escaped shell variable in a -+# double_quote_subst'ed string. -+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -+ -+# Sed substitution to delay expansion of an escaped single quote. -+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' -+ -+# Sed substitution to avoid accidental globbing in evaled expressions -+no_glob_subst='s/\*/\\\*/g' -+ -+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO -+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -+$as_echo_n "checking how to print strings... " >&6; } -+# Test print first, because it will be a builtin if present. -+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ -+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then -+ ECHO='print -r --' -+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -+ ECHO='printf %s\n' -+else -+ # Use this function as a fallback that always works. -+ func_fallback_echo () -+ { -+ eval 'cat <<_LTECHO_EOF -+$1 -+_LTECHO_EOF' -+ } -+ ECHO='func_fallback_echo' -+fi -+ -+# func_echo_all arg... -+# Invoke $ECHO with all args, space-separated. -+func_echo_all () -+{ -+ $ECHO "" -+} -+ -+case "$ECHO" in -+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -+$as_echo "printf" >&6; } ;; -+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -+$as_echo "print -r" >&6; } ;; -+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -+$as_echo "cat" >&6; } ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -+$as_echo_n "checking for a sed that does not truncate output... " >&6; } -+if ${ac_cv_path_SED+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ -+ for ac_i in 1 2 3 4 5 6 7; do -+ ac_script="$ac_script$as_nl$ac_script" -+ done -+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed -+ { ac_script=; unset ac_script;} -+ if test -z "$SED"; then -+ ac_path_SED_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in sed gsed; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_SED" || continue -+# Check for GNU ac_path_SED and select it if it is found. -+ # Check for GNU $ac_path_SED -+case `"$ac_path_SED" --version 2>&1` in -+*GNU*) -+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo '' >> "conftest.nl" -+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_SED_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_SED="$ac_path_SED" -+ ac_path_SED_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_SED_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_SED"; then -+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_SED=$SED -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -+$as_echo "$ac_cv_path_SED" >&6; } -+ SED="$ac_cv_path_SED" -+ rm -f conftest.sed -+ -+test -z "$SED" && SED=sed -+Xsed="$SED -e 1s/^X//" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -+$as_echo_n "checking for fgrep... " >&6; } -+if ${ac_cv_path_FGREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 -+ then ac_cv_path_FGREP="$GREP -F" -+ else -+ if test -z "$FGREP"; then -+ ac_path_FGREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in fgrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_FGREP" || continue -+# Check for GNU ac_path_FGREP and select it if it is found. -+ # Check for GNU $ac_path_FGREP -+case `"$ac_path_FGREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'FGREP' >> "conftest.nl" -+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_FGREP="$ac_path_FGREP" -+ ac_path_FGREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_FGREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_FGREP"; then -+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_FGREP=$FGREP -+fi -+ -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -+$as_echo "$ac_cv_path_FGREP" >&6; } -+ FGREP="$ac_cv_path_FGREP" -+ -+ -+test -z "$GREP" && GREP=grep -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# Check whether --with-gnu-ld was given. -+if test "${with_gnu_ld+set}" = set; then : -+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -+else -+ with_gnu_ld=no -+fi -+ -+ac_prog=ld -+if test "$GCC" = yes; then -+ # Check if gcc -print-prog-name=ld gives a path. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -+$as_echo_n "checking for ld used by $CC... " >&6; } -+ case $host in -+ *-*-mingw*) -+ # gcc leaves a trailing carriage return which upsets mingw -+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; -+ *) -+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; -+ esac -+ case $ac_prog in -+ # Accept absolute paths. -+ [\\/]* | ?:[\\/]*) -+ re_direlt='/[^/][^/]*/\.\./' -+ # Canonicalize the pathname of ld -+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` -+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do -+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` -+ done -+ test -z "$LD" && LD="$ac_prog" -+ ;; -+ "") -+ # If it fails, then pretend we aren't using GCC. -+ ac_prog=ld -+ ;; -+ *) -+ # If it is relative, then search for the first ld in PATH. -+ with_gnu_ld=unknown -+ ;; -+ esac -+elif test "$with_gnu_ld" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -+$as_echo_n "checking for GNU ld... " >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -+$as_echo_n "checking for non-GNU ld... " >&6; } -+fi -+if ${lt_cv_path_LD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$LD"; then -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then -+ lt_cv_path_LD="$ac_dir/$ac_prog" -+ # Check to see if the program is GNU ld. I'd rather use --version, -+ # but apparently some variants of GNU ld only accept -v. -+ # Break only if it was the GNU/non-GNU ld that we prefer. -+ case `"$lt_cv_path_LD" -v 2>&1 &5 -+$as_echo "$LD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -+if ${lt_cv_prog_gnu_ld+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # I'd rather use --version here, but apparently some GNU lds only accept -v. -+case `$LD -v 2>&1 &5 -+$as_echo "$lt_cv_prog_gnu_ld" >&6; } -+with_gnu_ld=$lt_cv_prog_gnu_ld -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -+if ${lt_cv_path_NM+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$NM"; then -+ # Let the user override the test. -+ lt_cv_path_NM="$NM" -+else -+ lt_nm_to_check="${ac_tool_prefix}nm" -+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then -+ lt_nm_to_check="$lt_nm_to_check nm" -+ fi -+ for lt_tmp_nm in $lt_nm_to_check; do -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ tmp_nm="$ac_dir/$lt_tmp_nm" -+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then -+ # Check to see if the nm accepts a BSD-compat flag. -+ # Adding the `sed 1q' prevents false positives on HP-UX, which says: -+ # nm: unknown option "B" ignored -+ # Tru64's nm complains that /dev/null is an invalid object file -+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in -+ */dev/null* | *'Invalid file or object type'*) -+ lt_cv_path_NM="$tmp_nm -B" -+ break -+ ;; -+ *) -+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in -+ */dev/null*) -+ lt_cv_path_NM="$tmp_nm -p" -+ break -+ ;; -+ *) -+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but -+ continue # so that we can try to find one that supports BSD flags -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ done -+ IFS="$lt_save_ifs" -+ done -+ : ${lt_cv_path_NM=no} -+fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -+$as_echo "$lt_cv_path_NM" >&6; } -+if test "$lt_cv_path_NM" != "no"; then -+ NM="$lt_cv_path_NM" -+else -+ # Didn't find any BSD compatible name lister, look for dumpbin. -+ if test -n "$DUMPBIN"; then : -+ # Let the user override the test. -+ else -+ if test -n "$ac_tool_prefix"; then -+ for ac_prog in dumpbin "link -dump" -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DUMPBIN+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DUMPBIN"; then -+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DUMPBIN=$ac_cv_prog_DUMPBIN -+if test -n "$DUMPBIN"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -+$as_echo "$DUMPBIN" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$DUMPBIN" && break -+ done -+fi -+if test -z "$DUMPBIN"; then -+ ac_ct_DUMPBIN=$DUMPBIN -+ for ac_prog in dumpbin "link -dump" -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DUMPBIN"; then -+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -+if test -n "$ac_ct_DUMPBIN"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -+$as_echo "$ac_ct_DUMPBIN" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_DUMPBIN" && break -+done -+ -+ if test "x$ac_ct_DUMPBIN" = x; then -+ DUMPBIN=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DUMPBIN=$ac_ct_DUMPBIN -+ fi -+fi -+ -+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in -+ *COFF*) -+ DUMPBIN="$DUMPBIN -symbols" -+ ;; -+ *) -+ DUMPBIN=: -+ ;; -+ esac -+ fi -+ -+ if test "$DUMPBIN" != ":"; then -+ NM="$DUMPBIN" -+ fi -+fi -+test -z "$NM" && NM=nm -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -+$as_echo_n "checking the name lister ($NM) interface... " >&6; } -+if ${lt_cv_nm_interface+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_nm_interface="BSD nm" -+ echo "int some_variable = 0;" > conftest.$ac_ext -+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) -+ (eval "$ac_compile" 2>conftest.err) -+ cat conftest.err >&5 -+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) -+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) -+ cat conftest.err >&5 -+ (eval echo "\"\$as_me:$LINENO: output\"" >&5) -+ cat conftest.out >&5 -+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then -+ lt_cv_nm_interface="MS dumpbin" -+ fi -+ rm -f conftest* -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -+$as_echo "$lt_cv_nm_interface" >&6; } -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -+$as_echo_n "checking whether ln -s works... " >&6; } -+LN_S=$as_ln_s -+if test "$LN_S" = "ln -s"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -+$as_echo "no, using $LN_S" >&6; } -+fi -+ -+# find the maximum length of command line arguments -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -+$as_echo_n "checking the maximum length of command line arguments... " >&6; } -+if ${lt_cv_sys_max_cmd_len+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ i=0 -+ teststring="ABCD" -+ -+ case $build_os in -+ msdosdjgpp*) -+ # On DJGPP, this test can blow up pretty badly due to problems in libc -+ # (any single argument exceeding 2000 bytes causes a buffer overrun -+ # during glob expansion). Even if it were fixed, the result of this -+ # check would be larger than it should be. -+ lt_cv_sys_max_cmd_len=12288; # 12K is about right -+ ;; -+ -+ gnu*) -+ # Under GNU Hurd, this test is not required because there is -+ # no limit to the length of command line arguments. -+ # Libtool will interpret -1 as no limit whatsoever -+ lt_cv_sys_max_cmd_len=-1; -+ ;; -+ -+ cygwin* | mingw* | cegcc*) -+ # On Win9x/ME, this test blows up -- it succeeds, but takes -+ # about 5 minutes as the teststring grows exponentially. -+ # Worse, since 9x/ME are not pre-emptively multitasking, -+ # you end up with a "frozen" computer, even though with patience -+ # the test eventually succeeds (with a max line length of 256k). -+ # Instead, let's just punt: use the minimum linelength reported by -+ # all of the supported platforms: 8192 (on NT/2K/XP). -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ mint*) -+ # On MiNT this can take a long time and run out of memory. -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ amigaos*) -+ # On AmigaOS with pdksh, this test takes hours, literally. -+ # So we just punt and use a minimum line length of 8192. -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) -+ # This has been around since 386BSD, at least. Likely further. -+ if test -x /sbin/sysctl; then -+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` -+ elif test -x /usr/sbin/sysctl; then -+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` -+ else -+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs -+ fi -+ # And add a safety zone -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` -+ ;; -+ -+ interix*) -+ # We know the value 262144 and hardcode it with a safety zone (like BSD) -+ lt_cv_sys_max_cmd_len=196608 -+ ;; -+ -+ os2*) -+ # The test takes a long time on OS/2. -+ lt_cv_sys_max_cmd_len=8192 -+ ;; -+ -+ osf*) -+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure -+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not -+ # nice to cause kernel panics so lets avoid the loop below. -+ # First set a reasonable default. -+ lt_cv_sys_max_cmd_len=16384 -+ # -+ if test -x /sbin/sysconfig; then -+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in -+ *1*) lt_cv_sys_max_cmd_len=-1 ;; -+ esac -+ fi -+ ;; -+ sco3.2v5*) -+ lt_cv_sys_max_cmd_len=102400 -+ ;; -+ sysv5* | sco5v6* | sysv4.2uw2*) -+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` -+ if test -n "$kargmax"; then -+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` -+ else -+ lt_cv_sys_max_cmd_len=32768 -+ fi -+ ;; -+ *) -+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` -+ if test -n "$lt_cv_sys_max_cmd_len"; then -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` -+ else -+ # Make teststring a little bigger before we do anything with it. -+ # a 1K string should be a reasonable start. -+ for i in 1 2 3 4 5 6 7 8 ; do -+ teststring=$teststring$teststring -+ done -+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} -+ # If test is not a shell built-in, we'll probably end up computing a -+ # maximum length that is only half of the actual maximum length, but -+ # we can't tell. -+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ -+ = "X$teststring$teststring"; } >/dev/null 2>&1 && -+ test $i != 17 # 1/2 MB should be enough -+ do -+ i=`expr $i + 1` -+ teststring=$teststring$teststring -+ done -+ # Only check the string length outside the loop. -+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` -+ teststring= -+ # Add a significant safety factor because C++ compilers can tack on -+ # massive amounts of additional arguments before passing them to the -+ # linker. It appears as though 1/2 is a usable value. -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` -+ fi -+ ;; -+ esac -+ -+fi -+ -+if test -n $lt_cv_sys_max_cmd_len ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -+$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -+$as_echo "none" >&6; } -+fi -+max_cmd_len=$lt_cv_sys_max_cmd_len -+ -+ -+ -+ -+ -+ -+: ${CP="cp -f"} -+: ${MV="mv -f"} -+: ${RM="rm -f"} -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 -+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } -+# Try some XSI features -+xsi_shell=no -+( _lt_dummy="a/b/c" -+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ -+ = c,a/b,b/c, \ -+ && eval 'test $(( 1 + 1 )) -eq 2 \ -+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ -+ && xsi_shell=yes -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -+$as_echo "$xsi_shell" >&6; } -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 -+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } -+lt_shell_append=no -+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ -+ >/dev/null 2>&1 \ -+ && lt_shell_append=yes -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -+$as_echo "$lt_shell_append" >&6; } -+ -+ -+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -+ lt_unset=unset -+else -+ lt_unset=false -+fi -+ -+ -+ -+ -+ -+# test EBCDIC or ASCII -+case `echo X|tr X '\101'` in -+ A) # ASCII based system -+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr -+ lt_SP2NL='tr \040 \012' -+ lt_NL2SP='tr \015\012 \040\040' -+ ;; -+ *) # EBCDIC based system -+ lt_SP2NL='tr \100 \n' -+ lt_NL2SP='tr \r\n \100\100' -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 -+$as_echo_n "checking how to convert $build file names to $host format... " >&6; } -+if ${lt_cv_to_host_file_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $host in -+ *-*-mingw* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 -+ ;; -+ *-*-cygwin* ) -+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 -+ ;; -+ * ) # otherwise, assume *nix -+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 -+ ;; -+ esac -+ ;; -+ *-*-cygwin* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin -+ ;; -+ *-*-cygwin* ) -+ lt_cv_to_host_file_cmd=func_convert_file_noop -+ ;; -+ * ) # otherwise, assume *nix -+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin -+ ;; -+ esac -+ ;; -+ * ) # unhandled hosts (and "normal" native builds) -+ lt_cv_to_host_file_cmd=func_convert_file_noop -+ ;; -+esac -+ -+fi -+ -+to_host_file_cmd=$lt_cv_to_host_file_cmd -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 -+$as_echo "$lt_cv_to_host_file_cmd" >&6; } -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 -+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } -+if ${lt_cv_to_tool_file_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ #assume ordinary cross tools, or native build. -+lt_cv_to_tool_file_cmd=func_convert_file_noop -+case $host in -+ *-*-mingw* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 -+ ;; -+ esac -+ ;; -+esac -+ -+fi -+ -+to_tool_file_cmd=$lt_cv_to_tool_file_cmd -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 -+$as_echo "$lt_cv_to_tool_file_cmd" >&6; } -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -+$as_echo_n "checking for $LD option to reload object files... " >&6; } -+if ${lt_cv_ld_reload_flag+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_reload_flag='-r' -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -+$as_echo "$lt_cv_ld_reload_flag" >&6; } -+reload_flag=$lt_cv_ld_reload_flag -+case $reload_flag in -+"" | " "*) ;; -+*) reload_flag=" $reload_flag" ;; -+esac -+reload_cmds='$LD$reload_flag -o $output$reload_objs' -+case $host_os in -+ cygwin* | mingw* | pw32* | cegcc*) -+ if test "$GCC" != yes; then -+ reload_cmds=false -+ fi -+ ;; -+ darwin*) -+ if test "$GCC" = yes; then -+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -+ else -+ reload_cmds='$LD$reload_flag -o $output$reload_objs' -+ fi -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -+set dummy ${ac_tool_prefix}objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OBJDUMP"; then -+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OBJDUMP=$ac_cv_prog_OBJDUMP -+if test -n "$OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -+$as_echo "$OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OBJDUMP"; then -+ ac_ct_OBJDUMP=$OBJDUMP -+ # Extract the first word of "objdump", so it can be a program name with args. -+set dummy objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OBJDUMP"; then -+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OBJDUMP="objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -+if test -n "$ac_ct_OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -+$as_echo "$ac_ct_OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OBJDUMP" = x; then -+ OBJDUMP="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OBJDUMP=$ac_ct_OBJDUMP -+ fi -+else -+ OBJDUMP="$ac_cv_prog_OBJDUMP" -+fi -+ -+test -z "$OBJDUMP" && OBJDUMP=objdump -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -+$as_echo_n "checking how to recognize dependent libraries... " >&6; } -+if ${lt_cv_deplibs_check_method+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_file_magic_cmd='$MAGIC_CMD' -+lt_cv_file_magic_test_file= -+lt_cv_deplibs_check_method='unknown' -+# Need to set the preceding variable on all platforms that support -+# interlibrary dependencies. -+# 'none' -- dependencies not supported. -+# `unknown' -- same as none, but documents that we really don't know. -+# 'pass_all' -- all dependencies passed with no checks. -+# 'test_compile' -- check by making test program. -+# 'file_magic [[regex]]' -- check by looking for files in library path -+# which responds to the $file_magic_cmd with a given extended regex. -+# If you have `file' or equivalent on your system and you're not sure -+# whether `pass_all' will *always* work, you probably want this one. -+ -+case $host_os in -+aix[4-9]*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+beos*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+bsdi[45]*) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' -+ lt_cv_file_magic_cmd='/usr/bin/file -L' -+ lt_cv_file_magic_test_file=/shlib/libc.so -+ ;; -+ -+cygwin*) -+ # func_win32_libid is a shell function defined in ltmain.sh -+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' -+ lt_cv_file_magic_cmd='func_win32_libid' -+ ;; -+ -+mingw* | pw32*) -+ # Base MSYS/MinGW do not provide the 'file' command needed by -+ # func_win32_libid shell function, so use a weaker test based on 'objdump', -+ # unless we find 'file', for example because we are cross-compiling. -+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. -+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then -+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' -+ lt_cv_file_magic_cmd='func_win32_libid' -+ else -+ # Keep this pattern in sync with the one in func_win32_libid. -+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ fi -+ ;; -+ -+cegcc*) -+ # use the weaker test based on 'objdump'. See mingw*. -+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ ;; -+ -+darwin* | rhapsody*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+freebsd* | dragonfly*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then -+ case $host_cpu in -+ i*86 ) -+ # Not sure whether the presence of OpenBSD here was a mistake. -+ # Let's accept both of them until this is cleared up. -+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' -+ lt_cv_file_magic_cmd=/usr/bin/file -+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` -+ ;; -+ esac -+ else -+ lt_cv_deplibs_check_method=pass_all -+ fi -+ ;; -+ -+gnu*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+haiku*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+hpux10.20* | hpux11*) -+ lt_cv_file_magic_cmd=/usr/bin/file -+ case $host_cpu in -+ ia64*) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' -+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so -+ ;; -+ hppa*64*) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' -+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl -+ ;; -+ *) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' -+ lt_cv_file_magic_test_file=/usr/lib/libc.sl -+ ;; -+ esac -+ ;; -+ -+interix[3-9]*) -+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' -+ ;; -+ -+irix5* | irix6* | nonstopux*) -+ case $LD in -+ *-32|*"-32 ") libmagic=32-bit;; -+ *-n32|*"-n32 ") libmagic=N32;; -+ *-64|*"-64 ") libmagic=64-bit;; -+ *) libmagic=never-match;; -+ esac -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+# This must be glibc/ELF. -+linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -+ else -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' -+ fi -+ ;; -+ -+newos6*) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' -+ lt_cv_file_magic_cmd=/usr/bin/file -+ lt_cv_file_magic_test_file=/usr/lib/libnls.so -+ ;; -+ -+*nto* | *qnx*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+openbsd*) -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' -+ else -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -+ fi -+ ;; -+ -+osf3* | osf4* | osf5*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+rdos*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+solaris*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+sysv4 | sysv4.3*) -+ case $host_vendor in -+ motorola) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' -+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` -+ ;; -+ ncr) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ sequent) -+ lt_cv_file_magic_cmd='/bin/file' -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' -+ ;; -+ sni) -+ lt_cv_file_magic_cmd='/bin/file' -+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" -+ lt_cv_file_magic_test_file=/lib/libc.so -+ ;; -+ siemens) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ pc) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ esac -+ ;; -+ -+tpf*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+esac -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -+$as_echo "$lt_cv_deplibs_check_method" >&6; } -+ -+file_magic_glob= -+want_nocaseglob=no -+if test "$build" = "$host"; then -+ case $host_os in -+ mingw* | pw32*) -+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then -+ want_nocaseglob=yes -+ else -+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` -+ fi -+ ;; -+ esac -+fi -+ -+file_magic_cmd=$lt_cv_file_magic_cmd -+deplibs_check_method=$lt_cv_deplibs_check_method -+test -z "$deplibs_check_method" && deplibs_check_method=unknown -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DLLTOOL"; then -+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DLLTOOL=$ac_cv_prog_DLLTOOL -+if test -n "$DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -+$as_echo "$DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DLLTOOL"; then -+ ac_ct_DLLTOOL=$DLLTOOL -+ # Extract the first word of "dlltool", so it can be a program name with args. -+set dummy dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DLLTOOL"; then -+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DLLTOOL="dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -+if test -n "$ac_ct_DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -+$as_echo "$ac_ct_DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DLLTOOL" = x; then -+ DLLTOOL="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DLLTOOL=$ac_ct_DLLTOOL -+ fi -+else -+ DLLTOOL="$ac_cv_prog_DLLTOOL" -+fi -+ -+test -z "$DLLTOOL" && DLLTOOL=dlltool -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 -+$as_echo_n "checking how to associate runtime and link libraries... " >&6; } -+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_sharedlib_from_linklib_cmd='unknown' -+ -+case $host_os in -+cygwin* | mingw* | pw32* | cegcc*) -+ # two different shell functions defined in ltmain.sh -+ # decide which to use based on capabilities of $DLLTOOL -+ case `$DLLTOOL --help 2>&1` in -+ *--identify-strict*) -+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib -+ ;; -+ *) -+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback -+ ;; -+ esac -+ ;; -+*) -+ # fallback: assume linklib IS sharedlib -+ lt_cv_sharedlib_from_linklib_cmd="$ECHO" -+ ;; -+esac -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 -+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } -+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd -+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ for ac_prog in ar -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AR"; then -+ ac_cv_prog_AR="$AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AR=$ac_cv_prog_AR -+if test -n "$AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -+$as_echo "$AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$AR" && break -+ done -+fi -+if test -z "$AR"; then -+ ac_ct_AR=$AR -+ for ac_prog in ar -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_AR"; then -+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_AR="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_AR=$ac_cv_prog_ac_ct_AR -+if test -n "$ac_ct_AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -+$as_echo "$ac_ct_AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_AR" && break -+done -+ -+ if test "x$ac_ct_AR" = x; then -+ AR="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ AR=$ac_ct_AR -+ fi -+fi -+ -+: ${AR=ar} -+: ${AR_FLAGS=cru} -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 -+$as_echo_n "checking for archiver @FILE support... " >&6; } -+if ${lt_cv_ar_at_file+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ar_at_file=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ echo conftest.$ac_objext > conftest.lst -+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' -+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 -+ (eval $lt_ar_try) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if test "$ac_status" -eq 0; then -+ # Ensure the archiver fails upon bogus file names. -+ rm -f conftest.$ac_objext libconftest.a -+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 -+ (eval $lt_ar_try) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if test "$ac_status" -ne 0; then -+ lt_cv_ar_at_file=@ -+ fi -+ fi -+ rm -f conftest.* libconftest.a -+ -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 -+$as_echo "$lt_cv_ar_at_file" >&6; } -+ -+if test "x$lt_cv_ar_at_file" = xno; then -+ archiver_list_spec= -+else -+ archiver_list_spec=$lt_cv_ar_at_file -+fi -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -+set dummy ${ac_tool_prefix}strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$STRIP"; then -+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+STRIP=$ac_cv_prog_STRIP -+if test -n "$STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_STRIP"; then -+ ac_ct_STRIP=$STRIP -+ # Extract the first word of "strip", so it can be a program name with args. -+set dummy strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_STRIP"; then -+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_STRIP="strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -+if test -n "$ac_ct_STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -+$as_echo "$ac_ct_STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_STRIP" = x; then -+ STRIP=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ STRIP=$ac_ct_STRIP -+ fi -+else -+ STRIP="$ac_cv_prog_STRIP" -+fi -+ -+test -z "$STRIP" && STRIP=: -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$RANLIB"; then -+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+RANLIB=$ac_cv_prog_RANLIB -+if test -n "$RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -+$as_echo "$RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_RANLIB"; then -+ ac_ct_RANLIB=$RANLIB -+ # Extract the first word of "ranlib", so it can be a program name with args. -+set dummy ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_RANLIB"; then -+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_RANLIB="ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -+if test -n "$ac_ct_RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -+$as_echo "$ac_ct_RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_RANLIB" = x; then -+ RANLIB=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ RANLIB=$ac_ct_RANLIB -+ fi -+else -+ RANLIB="$ac_cv_prog_RANLIB" -+fi -+ -+test -z "$RANLIB" && RANLIB=: -+ -+ -+ -+ -+ -+ -+# Determine commands to create old-style static archives. -+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -+old_postinstall_cmds='chmod 644 $oldlib' -+old_postuninstall_cmds= -+ -+if test -n "$RANLIB"; then -+ case $host_os in -+ openbsd*) -+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" -+ ;; -+ *) -+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" -+ ;; -+ esac -+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" -+fi -+ -+case $host_os in -+ darwin*) -+ lock_old_archive_extraction=yes ;; -+ *) -+ lock_old_archive_extraction=no ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+for ac_prog in gawk mawk nawk awk -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AWK+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AWK"; then -+ ac_cv_prog_AWK="$AWK" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AWK="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AWK=$ac_cv_prog_AWK -+if test -n "$AWK"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -+$as_echo "$AWK" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$AWK" && break -+done -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# If no C compiler was specified, use CC. -+LTCC=${LTCC-"$CC"} -+ -+# If no C compiler flags were specified, use CFLAGS. -+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -+ -+# Allow CC to be a program name with arguments. -+compiler=$CC -+ -+ -+# Check for command to grab the raw symbol name followed by C symbol from nm. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -+if ${lt_cv_sys_global_symbol_pipe+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+# These are sane defaults that work on at least a few old systems. -+# [They come from Ultrix. What could be older than Ultrix?!! ;)] -+ -+# Character class describing NM global symbol codes. -+symcode='[BCDEGRST]' -+ -+# Regexp to match symbols that can be accessed directly from C. -+sympat='\([_A-Za-z][_A-Za-z0-9]*\)' -+ -+# Define system-specific variables. -+case $host_os in -+aix*) -+ symcode='[BCDT]' -+ ;; -+cygwin* | mingw* | pw32* | cegcc*) -+ symcode='[ABCDGISTW]' -+ ;; -+hpux*) -+ if test "$host_cpu" = ia64; then -+ symcode='[ABCDEGRST]' -+ fi -+ ;; -+irix* | nonstopux*) -+ symcode='[BCDEGRST]' -+ ;; -+osf*) -+ symcode='[BCDEGQRST]' -+ ;; -+solaris*) -+ symcode='[BDRT]' -+ ;; -+sco3.2v5*) -+ symcode='[DT]' -+ ;; -+sysv4.2uw2*) -+ symcode='[DT]' -+ ;; -+sysv5* | sco5v6* | unixware* | OpenUNIX*) -+ symcode='[ABDT]' -+ ;; -+sysv4) -+ symcode='[DFNSTU]' -+ ;; -+esac -+ -+# If we're using GNU nm, then use its standard symbol codes. -+case `$NM -V 2>&1` in -+*GNU* | *'with BFD'*) -+ symcode='[ABCDGIRSTW]' ;; -+esac -+ -+# Transform an extracted symbol line into a proper C declaration. -+# Some systems (esp. on ia64) link data and code symbols differently, -+# so use this general approach. -+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" -+ -+# Transform an extracted symbol line into symbol name and symbol address -+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" -+ -+# Handle CRLF in mingw tool chain -+opt_cr= -+case $build_os in -+mingw*) -+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp -+ ;; -+esac -+ -+# Try without a prefix underscore, then with it. -+for ac_symprfx in "" "_"; do -+ -+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. -+ symxfrm="\\1 $ac_symprfx\\2 \\2" -+ -+ # Write the raw and C identifiers. -+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then -+ # Fake it for dumpbin and say T for any non-static function -+ # and D for any global variable. -+ # Also find C++ and __fastcall symbols from MSVC++, -+ # which start with @ or ?. -+ lt_cv_sys_global_symbol_pipe="$AWK '"\ -+" {last_section=section; section=\$ 3};"\ -+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ -+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -+" \$ 0!~/External *\|/{next};"\ -+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -+" {if(hide[section]) next};"\ -+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -+" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -+" ' prfx=^$ac_symprfx" -+ else -+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" -+ fi -+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" -+ -+ # Check to see that the pipe works correctly. -+ pipe_works=no -+ -+ rm -f conftest* -+ cat > conftest.$ac_ext <<_LT_EOF -+#ifdef __cplusplus -+extern "C" { -+#endif -+char nm_test_var; -+void nm_test_func(void); -+void nm_test_func(void){} -+#ifdef __cplusplus -+} -+#endif -+int main(){nm_test_var='a';nm_test_func();return(0);} -+_LT_EOF -+ -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ # Now try to grab the symbols. -+ nlist=conftest.nm -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 -+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s "$nlist"; then -+ # Try sorting and uniquifying the output. -+ if sort "$nlist" | uniq > "$nlist"T; then -+ mv -f "$nlist"T "$nlist" -+ else -+ rm -f "$nlist"T -+ fi -+ -+ # Make sure that we snagged all the symbols we need. -+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then -+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then -+ cat <<_LT_EOF > conftest.$ac_ext -+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) -+/* DATA imports from DLLs on WIN32 con't be const, because runtime -+ relocations are performed -- see ld's documentation on pseudo-relocs. */ -+# define LT_DLSYM_CONST -+#elif defined(__osf__) -+/* This system does not cope well with relocations in const data. */ -+# define LT_DLSYM_CONST -+#else -+# define LT_DLSYM_CONST const -+#endif -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+_LT_EOF -+ # Now generate the symbol file. -+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' -+ -+ cat <<_LT_EOF >> conftest.$ac_ext -+ -+/* The mapping between symbol names and symbols. */ -+LT_DLSYM_CONST struct { -+ const char *name; -+ void *address; -+} -+lt__PROGRAM__LTX_preloaded_symbols[] = -+{ -+ { "@PROGRAM@", (void *) 0 }, -+_LT_EOF -+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext -+ cat <<\_LT_EOF >> conftest.$ac_ext -+ {0, (void *) 0} -+}; -+ -+/* This works around a problem in FreeBSD linker */ -+#ifdef FREEBSD_WORKAROUND -+static const void *lt_preloaded_setup() { -+ return lt__PROGRAM__LTX_preloaded_symbols; -+} -+#endif -+ -+#ifdef __cplusplus -+} -+#endif -+_LT_EOF -+ # Now try linking the two files. -+ mv conftest.$ac_objext conftstm.$ac_objext -+ lt_globsym_save_LIBS=$LIBS -+ lt_globsym_save_CFLAGS=$CFLAGS -+ LIBS="conftstm.$ac_objext" -+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then -+ pipe_works=yes -+ fi -+ LIBS=$lt_globsym_save_LIBS -+ CFLAGS=$lt_globsym_save_CFLAGS -+ else -+ echo "cannot find nm_test_func in $nlist" >&5 -+ fi -+ else -+ echo "cannot find nm_test_var in $nlist" >&5 -+ fi -+ else -+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 -+ fi -+ else -+ echo "$progname: failed program was:" >&5 -+ cat conftest.$ac_ext >&5 -+ fi -+ rm -rf conftest* conftst* -+ -+ # Do not use the global_symbol_pipe unless it works. -+ if test "$pipe_works" = yes; then -+ break -+ else -+ lt_cv_sys_global_symbol_pipe= -+ fi -+done -+ -+fi -+ -+if test -z "$lt_cv_sys_global_symbol_pipe"; then -+ lt_cv_sys_global_symbol_to_cdecl= -+fi -+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -+$as_echo "failed" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -+$as_echo "ok" >&6; } -+fi -+ -+# Response file support. -+if test "$lt_cv_nm_interface" = "MS dumpbin"; then -+ nm_file_list_spec='@' -+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then -+ nm_file_list_spec='@' -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 -+$as_echo_n "checking for sysroot... " >&6; } -+ -+# Check whether --with-sysroot was given. -+if test "${with_sysroot+set}" = set; then : -+ withval=$with_sysroot; -+else -+ with_sysroot=no -+fi -+ -+ -+lt_sysroot= -+case ${with_sysroot} in #( -+ yes) -+ if test "$GCC" = yes; then -+ lt_sysroot=`$CC --print-sysroot 2>/dev/null` -+ fi -+ ;; #( -+ /*) -+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` -+ ;; #( -+ no|'') -+ ;; #( -+ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 -+$as_echo "${with_sysroot}" >&6; } -+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 -+ ;; -+esac -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 -+$as_echo "${lt_sysroot:-no}" >&6; } -+ -+ -+ -+ -+ -+# Check whether --enable-libtool-lock was given. -+if test "${enable_libtool_lock+set}" = set; then : -+ enableval=$enable_libtool_lock; -+fi -+ -+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -+ -+# Some flags need to be propagated to the compiler or linker for good -+# libtool support. -+case $host in -+ia64-*-hpux*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.$ac_objext` in -+ *ELF-32*) -+ HPUX_IA64_MODE="32" -+ ;; -+ *ELF-64*) -+ HPUX_IA64_MODE="64" -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+*-*-irix6*) -+ # Find out which ABI we are using. -+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ if test "$lt_cv_prog_gnu_ld" = yes; then -+ case `/usr/bin/file conftest.$ac_objext` in -+ *32-bit*) -+ LD="${LD-ld} -melf32bsmip" -+ ;; -+ *N32*) -+ LD="${LD-ld} -melf32bmipn32" -+ ;; -+ *64-bit*) -+ LD="${LD-ld} -melf64bmip" -+ ;; -+ esac -+ else -+ case `/usr/bin/file conftest.$ac_objext` in -+ *32-bit*) -+ LD="${LD-ld} -32" -+ ;; -+ *N32*) -+ LD="${LD-ld} -n32" -+ ;; -+ *64-bit*) -+ LD="${LD-ld} -64" -+ ;; -+ esac -+ fi -+ fi -+ rm -rf conftest* -+ ;; -+ -+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -+s390*-*linux*|s390*-*tpf*|sparc*-*linux*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.o` in -+ *32-bit*) -+ case $host in -+ x86_64-*kfreebsd*-gnu) -+ LD="${LD-ld} -m elf_i386_fbsd" -+ ;; -+ x86_64-*linux*) -+ LD="${LD-ld} -m elf_i386" -+ ;; -+ ppc64-*linux*|powerpc64-*linux*) -+ LD="${LD-ld} -m elf32ppclinux" -+ ;; -+ s390x-*linux*) -+ LD="${LD-ld} -m elf_s390" -+ ;; -+ sparc64-*linux*) -+ LD="${LD-ld} -m elf32_sparc" -+ ;; -+ esac -+ ;; -+ *64-bit*) -+ case $host in -+ x86_64-*kfreebsd*-gnu) -+ LD="${LD-ld} -m elf_x86_64_fbsd" -+ ;; -+ x86_64-*linux*) -+ LD="${LD-ld} -m elf_x86_64" -+ ;; -+ ppc*-*linux*|powerpc*-*linux*) -+ LD="${LD-ld} -m elf64ppc" -+ ;; -+ s390*-*linux*|s390*-*tpf*) -+ LD="${LD-ld} -m elf64_s390" -+ ;; -+ sparc*-*linux*) -+ LD="${LD-ld} -m elf64_sparc" -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+ -+*-*-sco3.2v5*) -+ # On SCO OpenServer 5, we need -belf to get full-featured binaries. -+ SAVE_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -belf" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -+$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -+if ${lt_cv_cc_needs_belf+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_cc_needs_belf=yes -+else -+ lt_cv_cc_needs_belf=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -+$as_echo "$lt_cv_cc_needs_belf" >&6; } -+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then -+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf -+ CFLAGS="$SAVE_CFLAGS" -+ fi -+ ;; -+*-*solaris*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.o` in -+ *64-bit*) -+ case $lt_cv_prog_gnu_ld in -+ yes*) -+ case $host in -+ i?86-*-solaris*) -+ LD="${LD-ld} -m elf_x86_64" -+ ;; -+ sparc*-*-solaris*) -+ LD="${LD-ld} -m elf64_sparc" -+ ;; -+ esac -+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available. -+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then -+ LD="${LD-ld}_sol2" -+ fi -+ ;; -+ *) -+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then -+ LD="${LD-ld} -64" -+ fi -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+esac -+ -+need_locks="$enable_libtool_lock" -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. -+set dummy ${ac_tool_prefix}mt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$MANIFEST_TOOL"; then -+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL -+if test -n "$MANIFEST_TOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 -+$as_echo "$MANIFEST_TOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then -+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL -+ # Extract the first word of "mt", so it can be a program name with args. -+set dummy mt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_MANIFEST_TOOL"; then -+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL -+if test -n "$ac_ct_MANIFEST_TOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 -+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_MANIFEST_TOOL" = x; then -+ MANIFEST_TOOL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL -+ fi -+else -+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" -+fi -+ -+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 -+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -+if ${lt_cv_path_mainfest_tool+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_path_mainfest_tool=no -+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 -+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out -+ cat conftest.err >&5 -+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then -+ lt_cv_path_mainfest_tool=yes -+ fi -+ rm -f conftest* -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -+$as_echo "$lt_cv_path_mainfest_tool" >&6; } -+if test "x$lt_cv_path_mainfest_tool" != xyes; then -+ MANIFEST_TOOL=: -+fi -+ -+ -+ -+ -+ -+ -+ case $host_os in -+ rhapsody* | darwin*) -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DSYMUTIL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DSYMUTIL"; then -+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DSYMUTIL=$ac_cv_prog_DSYMUTIL -+if test -n "$DSYMUTIL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -+$as_echo "$DSYMUTIL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DSYMUTIL"; then -+ ac_ct_DSYMUTIL=$DSYMUTIL -+ # Extract the first word of "dsymutil", so it can be a program name with args. -+set dummy dsymutil; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DSYMUTIL"; then -+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -+if test -n "$ac_ct_DSYMUTIL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -+$as_echo "$ac_ct_DSYMUTIL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DSYMUTIL" = x; then -+ DSYMUTIL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DSYMUTIL=$ac_ct_DSYMUTIL -+ fi -+else -+ DSYMUTIL="$ac_cv_prog_DSYMUTIL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -+set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_NMEDIT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$NMEDIT"; then -+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+NMEDIT=$ac_cv_prog_NMEDIT -+if test -n "$NMEDIT"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -+$as_echo "$NMEDIT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_NMEDIT"; then -+ ac_ct_NMEDIT=$NMEDIT -+ # Extract the first word of "nmedit", so it can be a program name with args. -+set dummy nmedit; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_NMEDIT"; then -+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_NMEDIT="nmedit" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -+if test -n "$ac_ct_NMEDIT"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -+$as_echo "$ac_ct_NMEDIT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_NMEDIT" = x; then -+ NMEDIT=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ NMEDIT=$ac_ct_NMEDIT -+ fi -+else -+ NMEDIT="$ac_cv_prog_NMEDIT" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -+set dummy ${ac_tool_prefix}lipo; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_LIPO+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$LIPO"; then -+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+LIPO=$ac_cv_prog_LIPO -+if test -n "$LIPO"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -+$as_echo "$LIPO" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_LIPO"; then -+ ac_ct_LIPO=$LIPO -+ # Extract the first word of "lipo", so it can be a program name with args. -+set dummy lipo; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_LIPO+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_LIPO"; then -+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_LIPO="lipo" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -+if test -n "$ac_ct_LIPO"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -+$as_echo "$ac_ct_LIPO" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_LIPO" = x; then -+ LIPO=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ LIPO=$ac_ct_LIPO -+ fi -+else -+ LIPO="$ac_cv_prog_LIPO" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}otool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OTOOL"; then -+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OTOOL=$ac_cv_prog_OTOOL -+if test -n "$OTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -+$as_echo "$OTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OTOOL"; then -+ ac_ct_OTOOL=$OTOOL -+ # Extract the first word of "otool", so it can be a program name with args. -+set dummy otool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OTOOL"; then -+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OTOOL="otool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -+if test -n "$ac_ct_OTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -+$as_echo "$ac_ct_OTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OTOOL" = x; then -+ OTOOL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OTOOL=$ac_ct_OTOOL -+ fi -+else -+ OTOOL="$ac_cv_prog_OTOOL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -+set dummy ${ac_tool_prefix}otool64; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OTOOL64+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OTOOL64"; then -+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OTOOL64=$ac_cv_prog_OTOOL64 -+if test -n "$OTOOL64"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -+$as_echo "$OTOOL64" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OTOOL64"; then -+ ac_ct_OTOOL64=$OTOOL64 -+ # Extract the first word of "otool64", so it can be a program name with args. -+set dummy otool64; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OTOOL64"; then -+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OTOOL64="otool64" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -+if test -n "$ac_ct_OTOOL64"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -+$as_echo "$ac_ct_OTOOL64" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OTOOL64" = x; then -+ OTOOL64=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OTOOL64=$ac_ct_OTOOL64 -+ fi -+else -+ OTOOL64="$ac_cv_prog_OTOOL64" -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -+$as_echo_n "checking for -single_module linker flag... " >&6; } -+if ${lt_cv_apple_cc_single_mod+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_apple_cc_single_mod=no -+ if test -z "${LT_MULTI_MODULE}"; then -+ # By default we will add the -single_module flag. You can override -+ # by either setting the environment variable LT_MULTI_MODULE -+ # non-empty at configure time, or by adding -multi_module to the -+ # link flags. -+ rm -rf libconftest.dylib* -+ echo "int foo(void){return 1;}" > conftest.c -+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -+-dynamiclib -Wl,-single_module conftest.c" >&5 -+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err -+ _lt_result=$? -+ # If there is a non-empty error log, and "single_module" -+ # appears in it, assume the flag caused a linker warning -+ if test -s conftest.err && $GREP single_module conftest.err; then -+ cat conftest.err >&5 -+ # Otherwise, if the output was created with a 0 exit code from -+ # the compiler, it worked. -+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then -+ lt_cv_apple_cc_single_mod=yes -+ else -+ cat conftest.err >&5 -+ fi -+ rm -rf libconftest.dylib* -+ rm -f conftest.* -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -+$as_echo "$lt_cv_apple_cc_single_mod" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -+if ${lt_cv_ld_exported_symbols_list+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_exported_symbols_list=no -+ save_LDFLAGS=$LDFLAGS -+ echo "_main" > conftest.sym -+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_ld_exported_symbols_list=yes -+else -+ lt_cv_ld_exported_symbols_list=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 -+$as_echo_n "checking for -force_load linker flag... " >&6; } -+if ${lt_cv_ld_force_load+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_force_load=no -+ cat > conftest.c << _LT_EOF -+int forced_loaded() { return 2;} -+_LT_EOF -+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 -+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 -+ echo "$AR cru libconftest.a conftest.o" >&5 -+ $AR cru libconftest.a conftest.o 2>&5 -+ echo "$RANLIB libconftest.a" >&5 -+ $RANLIB libconftest.a 2>&5 -+ cat > conftest.c << _LT_EOF -+int main() { return 0;} -+_LT_EOF -+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 -+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err -+ _lt_result=$? -+ if test -s conftest.err && $GREP force_load conftest.err; then -+ cat conftest.err >&5 -+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then -+ lt_cv_ld_force_load=yes -+ else -+ cat conftest.err >&5 -+ fi -+ rm -f conftest.err libconftest.a conftest conftest.c -+ rm -rf conftest.dSYM -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 -+$as_echo "$lt_cv_ld_force_load" >&6; } -+ case $host_os in -+ rhapsody* | darwin1.[012]) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; -+ darwin1.*) -+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; -+ darwin*) # darwin 5.x on -+ # if running on 10.5 or later, the deployment target defaults -+ # to the OS version, if on x86, and 10.4, the deployment -+ # target defaults to 10.4. Don't you love it? -+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in -+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; -+ 10.[012]*) -+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; -+ 10.*) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; -+ esac -+ ;; -+ esac -+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then -+ _lt_dar_single_mod='$single_module' -+ fi -+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then -+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' -+ else -+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' -+ fi -+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then -+ _lt_dsymutil='~$DSYMUTIL $lib || :' -+ else -+ _lt_dsymutil= -+ fi -+ ;; -+ esac -+ -+for ac_header in dlfcn.h -+do : -+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -+" -+if test "x$ac_cv_header_dlfcn_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DLFCN_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ -+ -+ -+# Set options -+enable_win32_dll=yes -+ -+case $host in -+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -+set dummy ${ac_tool_prefix}as; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AS+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AS"; then -+ ac_cv_prog_AS="$AS" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AS="${ac_tool_prefix}as" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AS=$ac_cv_prog_AS -+if test -n "$AS"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -+$as_echo "$AS" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_AS"; then -+ ac_ct_AS=$AS -+ # Extract the first word of "as", so it can be a program name with args. -+set dummy as; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_AS+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_AS"; then -+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_AS="as" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_AS=$ac_cv_prog_ac_ct_AS -+if test -n "$ac_ct_AS"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -+$as_echo "$ac_ct_AS" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_AS" = x; then -+ AS="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ AS=$ac_ct_AS -+ fi -+else -+ AS="$ac_cv_prog_AS" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DLLTOOL"; then -+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DLLTOOL=$ac_cv_prog_DLLTOOL -+if test -n "$DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -+$as_echo "$DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DLLTOOL"; then -+ ac_ct_DLLTOOL=$DLLTOOL -+ # Extract the first word of "dlltool", so it can be a program name with args. -+set dummy dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DLLTOOL"; then -+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DLLTOOL="dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -+if test -n "$ac_ct_DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -+$as_echo "$ac_ct_DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DLLTOOL" = x; then -+ DLLTOOL="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DLLTOOL=$ac_ct_DLLTOOL -+ fi -+else -+ DLLTOOL="$ac_cv_prog_DLLTOOL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -+set dummy ${ac_tool_prefix}objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OBJDUMP"; then -+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OBJDUMP=$ac_cv_prog_OBJDUMP -+if test -n "$OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -+$as_echo "$OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OBJDUMP"; then -+ ac_ct_OBJDUMP=$OBJDUMP -+ # Extract the first word of "objdump", so it can be a program name with args. -+set dummy objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OBJDUMP"; then -+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OBJDUMP="objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -+if test -n "$ac_ct_OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -+$as_echo "$ac_ct_OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OBJDUMP" = x; then -+ OBJDUMP="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OBJDUMP=$ac_ct_OBJDUMP -+ fi -+else -+ OBJDUMP="$ac_cv_prog_OBJDUMP" -+fi -+ -+ ;; -+esac -+ -+test -z "$AS" && AS=as -+ -+ -+ -+ -+ -+test -z "$DLLTOOL" && DLLTOOL=dlltool -+ -+ -+ -+ -+ -+test -z "$OBJDUMP" && OBJDUMP=objdump -+ -+ -+ -+ -+ -+ -+ -+ enable_dlopen=no -+ -+ -+ -+ # Check whether --enable-shared was given. -+if test "${enable_shared+set}" = set; then : -+ enableval=$enable_shared; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_shared=yes ;; -+ no) enable_shared=no ;; -+ *) -+ enable_shared=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_shared=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_shared=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ # Check whether --enable-static was given. -+if test "${enable_static+set}" = set; then : -+ enableval=$enable_static; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_static=yes ;; -+ no) enable_static=no ;; -+ *) -+ enable_static=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_static=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_static=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# Check whether --with-pic was given. -+if test "${with_pic+set}" = set; then : -+ withval=$with_pic; lt_p=${PACKAGE-default} -+ case $withval in -+ yes|no) pic_mode=$withval ;; -+ *) -+ pic_mode=default -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for lt_pkg in $withval; do -+ IFS="$lt_save_ifs" -+ if test "X$lt_pkg" = "X$lt_p"; then -+ pic_mode=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ pic_mode=default -+fi -+ -+ -+test -z "$pic_mode" && pic_mode=default -+ -+ -+ -+ -+ -+ -+ -+ # Check whether --enable-fast-install was given. -+if test "${enable_fast_install+set}" = set; then : -+ enableval=$enable_fast_install; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_fast_install=yes ;; -+ no) enable_fast_install=no ;; -+ *) -+ enable_fast_install=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_fast_install=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_fast_install=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# This can be used to rebuild libtool when needed -+LIBTOOL_DEPS="$ltmain" -+ -+# Always use our own libtool. -+LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool' -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+test -z "$LN_S" && LN_S="ln -s" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -+$as_echo_n "checking for objdir... " >&6; } -+if ${lt_cv_objdir+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ rm -f .libs 2>/dev/null -+mkdir .libs 2>/dev/null -+if test -d .libs; then -+ lt_cv_objdir=.libs -+else -+ # MS-DOS does not allow filenames that begin with a dot. -+ lt_cv_objdir=_libs -+fi -+rmdir .libs 2>/dev/null -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -+$as_echo "$lt_cv_objdir" >&6; } -+objdir=$lt_cv_objdir -+ -+ -+ -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define LT_OBJDIR "$lt_cv_objdir/" -+_ACEOF -+ -+ -+ -+ -+case $host_os in -+aix3*) -+ # AIX sometimes has problems with the GCC collect2 program. For some -+ # reason, if we set the COLLECT_NAMES environment variable, the problems -+ # vanish in a puff of smoke. -+ if test "X${COLLECT_NAMES+set}" != Xset; then -+ COLLECT_NAMES= -+ export COLLECT_NAMES -+ fi -+ ;; -+esac -+ -+# Global variables: -+ofile=libtool -+can_build_shared=yes -+ -+# All known linkers require a `.a' archive for static linking (except MSVC, -+# which needs '.lib'). -+libext=a -+ -+with_gnu_ld="$lt_cv_prog_gnu_ld" -+ -+old_CC="$CC" -+old_CFLAGS="$CFLAGS" -+ -+# Set sane defaults for various variables -+test -z "$CC" && CC=cc -+test -z "$LTCC" && LTCC=$CC -+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -+test -z "$LD" && LD=ld -+test -z "$ac_objext" && ac_objext=o -+ -+for cc_temp in $compiler""; do -+ case $cc_temp in -+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; -+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; -+ \-*) ;; -+ *) break;; -+ esac -+done -+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -+ -+ -+# Only perform the check for file, if the check method requires it -+test -z "$MAGIC_CMD" && MAGIC_CMD=file -+case $deplibs_check_method in -+file_magic*) -+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -+if ${lt_cv_path_MAGIC_CMD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $MAGIC_CMD in -+[\\/*] | ?:[\\/]*) -+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. -+ ;; -+*) -+ lt_save_MAGIC_CMD="$MAGIC_CMD" -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" -+ for ac_dir in $ac_dummy; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/${ac_tool_prefix}file; then -+ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" -+ if test -n "$file_magic_test_file"; then -+ case $deplibs_check_method in -+ "file_magic "*) -+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` -+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | -+ $EGREP "$file_magic_regex" > /dev/null; then -+ : -+ else -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the command libtool uses to detect shared libraries, -+*** $file_magic_cmd, produces output that libtool cannot recognize. -+*** The result is that libtool may fail to recognize shared libraries -+*** as such. This will affect the creation of libtool libraries that -+*** depend on shared libraries, but programs linked with such libtool -+*** libraries will work regardless of this problem. Nevertheless, you -+*** may want to report the problem to your system manager and/or to -+*** bug-libtool@gnu.org -+ -+_LT_EOF -+ fi ;; -+ esac -+ fi -+ break -+ fi -+ done -+ IFS="$lt_save_ifs" -+ MAGIC_CMD="$lt_save_MAGIC_CMD" -+ ;; -+esac -+fi -+ -+MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+if test -n "$MAGIC_CMD"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ -+ -+ -+if test -z "$lt_cv_path_MAGIC_CMD"; then -+ if test -n "$ac_tool_prefix"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -+$as_echo_n "checking for file... " >&6; } -+if ${lt_cv_path_MAGIC_CMD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $MAGIC_CMD in -+[\\/*] | ?:[\\/]*) -+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. -+ ;; -+*) -+ lt_save_MAGIC_CMD="$MAGIC_CMD" -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" -+ for ac_dir in $ac_dummy; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/file; then -+ lt_cv_path_MAGIC_CMD="$ac_dir/file" -+ if test -n "$file_magic_test_file"; then -+ case $deplibs_check_method in -+ "file_magic "*) -+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` -+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | -+ $EGREP "$file_magic_regex" > /dev/null; then -+ : -+ else -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the command libtool uses to detect shared libraries, -+*** $file_magic_cmd, produces output that libtool cannot recognize. -+*** The result is that libtool may fail to recognize shared libraries -+*** as such. This will affect the creation of libtool libraries that -+*** depend on shared libraries, but programs linked with such libtool -+*** libraries will work regardless of this problem. Nevertheless, you -+*** may want to report the problem to your system manager and/or to -+*** bug-libtool@gnu.org -+ -+_LT_EOF -+ fi ;; -+ esac -+ fi -+ break -+ fi -+ done -+ IFS="$lt_save_ifs" -+ MAGIC_CMD="$lt_save_MAGIC_CMD" -+ ;; -+esac -+fi -+ -+MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+if test -n "$MAGIC_CMD"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ else -+ MAGIC_CMD=: -+ fi -+fi -+ -+ fi -+ ;; -+esac -+ -+# Use C for the default configuration in the libtool script -+ -+lt_save_CC="$CC" -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+# Source file extension for C test sources. -+ac_ext=c -+ -+# Object file extension for compiled C test sources. -+objext=o -+objext=$objext -+ -+# Code to be used in simple compile tests -+lt_simple_compile_test_code="int some_variable = 0;" -+ -+# Code to be used in simple link tests -+lt_simple_link_test_code='int main(){return(0);}' -+ -+ -+ -+ -+ -+ -+ -+# If no C compiler was specified, use CC. -+LTCC=${LTCC-"$CC"} -+ -+# If no C compiler flags were specified, use CFLAGS. -+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -+ -+# Allow CC to be a program name with arguments. -+compiler=$CC -+ -+# Save the default compiler, since it gets overwritten when the other -+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -+compiler_DEFAULT=$CC -+ -+# save warnings/boilerplate of simple test code -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_compile_test_code" >conftest.$ac_ext -+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_compiler_boilerplate=`cat conftest.err` -+$RM conftest* -+ -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_link_test_code" >conftest.$ac_ext -+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_linker_boilerplate=`cat conftest.err` -+$RM -r conftest* -+ -+ -+## CAVEAT EMPTOR: -+## There is no encapsulation within the following macros, do not change -+## the running order or otherwise move them around unless you know exactly -+## what you are doing... -+if test -n "$compiler"; then -+ -+lt_prog_compiler_no_builtin_flag= -+ -+if test "$GCC" = yes; then -+ case $cc_basename in -+ nvcc*) -+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; -+ *) -+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; -+ esac -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_rtti_exceptions=no -+ ac_outfile=conftest.$ac_objext -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ lt_compiler_flag="-fno-rtti -fno-exceptions" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ # The option is referenced via a variable to avoid confusing sed. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>conftest.err) -+ ac_status=$? -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s "$ac_outfile"; then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings other than the usual output. -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_rtti_exceptions=yes -+ fi -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } -+ -+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then -+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -+else -+ : -+fi -+ -+fi -+ -+ -+ -+ -+ -+ -+ lt_prog_compiler_wl= -+lt_prog_compiler_pic= -+lt_prog_compiler_static= -+ -+ -+ if test "$GCC" = yes; then -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_static='-static' -+ -+ case $host_os in -+ aix*) -+ # All AIX code is PIC. -+ if test "$host_cpu" = ia64; then -+ # AIX 5 now supports IA64 processor -+ lt_prog_compiler_static='-Bstatic' -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ m68k) -+ # FIXME: we need at least 68020 code to build shared libraries, but -+ # adding the `-m68020' flag to GCC prevents building anything better, -+ # like `-m68040'. -+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' -+ ;; -+ esac -+ ;; -+ -+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) -+ # PIC is the default for these OSes. -+ ;; -+ -+ mingw* | cygwin* | pw32* | os2* | cegcc*) -+ # This hack is so that the source file can tell whether it is being -+ # built for inclusion in a dll (and should export symbols for example). -+ # Although the cygwin gcc ignores -fPIC, still need this for old-style -+ # (--disable-auto-import) libraries -+ lt_prog_compiler_pic='-DDLL_EXPORT' -+ ;; -+ -+ darwin* | rhapsody*) -+ # PIC is the default on this platform -+ # Common symbols not allowed in MH_DYLIB files -+ lt_prog_compiler_pic='-fno-common' -+ ;; -+ -+ haiku*) -+ # PIC is the default for Haiku. -+ # The "-static" flag exists, but is broken. -+ lt_prog_compiler_static= -+ ;; -+ -+ hpux*) -+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit -+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag -+ # sets the default TLS model and affects inlining. -+ case $host_cpu in -+ hppa*64*) -+ # +Z the default -+ ;; -+ *) -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ esac -+ ;; -+ -+ interix[3-9]*) -+ # Interix 3.x gcc -fpic/-fPIC options generate broken code. -+ # Instead, we relocate shared libraries at runtime. -+ ;; -+ -+ msdosdjgpp*) -+ # Just because we use GCC doesn't mean we suddenly get shared libraries -+ # on systems that don't support them. -+ lt_prog_compiler_can_build_shared=no -+ enable_shared=no -+ ;; -+ -+ *nto* | *qnx*) -+ # QNX uses GNU C++, but need to define -shared option too, otherwise -+ # it will coredump. -+ lt_prog_compiler_pic='-fPIC -shared' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec; then -+ lt_prog_compiler_pic=-Kconform_pic -+ fi -+ ;; -+ -+ *) -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ esac -+ -+ case $cc_basename in -+ nvcc*) # Cuda Compiler Driver 2.2 -+ lt_prog_compiler_wl='-Xlinker ' -+ if test -n "$lt_prog_compiler_pic"; then -+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" -+ fi -+ ;; -+ esac -+ else -+ # PORTME Check for flag to pass linker flags through the system compiler. -+ case $host_os in -+ aix*) -+ lt_prog_compiler_wl='-Wl,' -+ if test "$host_cpu" = ia64; then -+ # AIX 5 now supports IA64 processor -+ lt_prog_compiler_static='-Bstatic' -+ else -+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' -+ fi -+ ;; -+ -+ mingw* | cygwin* | pw32* | os2* | cegcc*) -+ # This hack is so that the source file can tell whether it is being -+ # built for inclusion in a dll (and should export symbols for example). -+ lt_prog_compiler_pic='-DDLL_EXPORT' -+ ;; -+ -+ hpux9* | hpux10* | hpux11*) -+ lt_prog_compiler_wl='-Wl,' -+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -+ # not for PA HP-UX. -+ case $host_cpu in -+ hppa*64*|ia64*) -+ # +Z the default -+ ;; -+ *) -+ lt_prog_compiler_pic='+Z' -+ ;; -+ esac -+ # Is there a better lt_prog_compiler_static that works with the bundled CC? -+ lt_prog_compiler_static='${wl}-a ${wl}archive' -+ ;; -+ -+ irix5* | irix6* | nonstopux*) -+ lt_prog_compiler_wl='-Wl,' -+ # PIC (with -KPIC) is the default. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ case $cc_basename in -+ # old Intel for x86_64 which still supported -KPIC. -+ ecc*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ # icc used to be incompatible with GCC. -+ # ICC 10 doesn't accept -KPIC any more. -+ icc* | ifort*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ # Lahey Fortran 8.1. -+ lf95*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='--shared' -+ lt_prog_compiler_static='--static' -+ ;; -+ nagfor*) -+ # NAG Fortran compiler -+ lt_prog_compiler_wl='-Wl,-Wl,,' -+ lt_prog_compiler_pic='-PIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) -+ # Portland Group compilers (*not* the Pentium gcc compiler, -+ # which looks to be a dead project) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fpic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ ccc*) -+ lt_prog_compiler_wl='-Wl,' -+ # All Alpha code is PIC. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ xl* | bgxl* | bgf* | mpixl*) -+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-qpic' -+ lt_prog_compiler_static='-qstaticlink' -+ ;; -+ *) -+ case `$CC -V 2>&1 | sed 5q` in -+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) -+ # Sun Fortran 8.3 passes all unrecognized flags to the linker -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='' -+ ;; -+ *Sun\ F* | *Sun*Fortran*) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='-Qoption ld ' -+ ;; -+ *Sun\ C*) -+ # Sun C 5.9 -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='-Wl,' -+ ;; -+ *Intel*\ [CF]*Compiler*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ *Portland\ Group*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fpic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ esac -+ ;; -+ esac -+ ;; -+ -+ newsos6) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ *nto* | *qnx*) -+ # QNX uses GNU C++, but need to define -shared option too, otherwise -+ # it will coredump. -+ lt_prog_compiler_pic='-fPIC -shared' -+ ;; -+ -+ osf3* | osf4* | osf5*) -+ lt_prog_compiler_wl='-Wl,' -+ # All OSF/1 code is PIC. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ rdos*) -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ solaris*) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ case $cc_basename in -+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) -+ lt_prog_compiler_wl='-Qoption ld ';; -+ *) -+ lt_prog_compiler_wl='-Wl,';; -+ esac -+ ;; -+ -+ sunos4*) -+ lt_prog_compiler_wl='-Qoption ld ' -+ lt_prog_compiler_pic='-PIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ sysv4 | sysv4.2uw2* | sysv4.3*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec ;then -+ lt_prog_compiler_pic='-Kconform_pic' -+ lt_prog_compiler_static='-Bstatic' -+ fi -+ ;; -+ -+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ unicos*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_can_build_shared=no -+ ;; -+ -+ uts4*) -+ lt_prog_compiler_pic='-pic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ *) -+ lt_prog_compiler_can_build_shared=no -+ ;; -+ esac -+ fi -+ -+case $host_os in -+ # For platforms which do not support PIC, -DPIC is meaningless: -+ *djgpp*) -+ lt_prog_compiler_pic= -+ ;; -+ *) -+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" -+ ;; -+esac -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -+$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -+if ${lt_cv_prog_compiler_pic+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 -+$as_echo "$lt_cv_prog_compiler_pic" >&6; } -+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic -+ -+# -+# Check to make sure the PIC flag actually works. -+# -+if test -n "$lt_prog_compiler_pic"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -+if ${lt_cv_prog_compiler_pic_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_pic_works=no -+ ac_outfile=conftest.$ac_objext -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ # The option is referenced via a variable to avoid confusing sed. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>conftest.err) -+ ac_status=$? -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s "$ac_outfile"; then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings other than the usual output. -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_pic_works=yes -+ fi -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } -+ -+if test x"$lt_cv_prog_compiler_pic_works" = xyes; then -+ case $lt_prog_compiler_pic in -+ "" | " "*) ;; -+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; -+ esac -+else -+ lt_prog_compiler_pic= -+ lt_prog_compiler_can_build_shared=no -+fi -+ -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# -+# Check to make sure the static flag actually works. -+# -+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -+if ${lt_cv_prog_compiler_static_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_static_works=no -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" -+ echo "$lt_simple_link_test_code" > conftest.$ac_ext -+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then -+ # The linker can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ if test -s conftest.err; then -+ # Append any errors to the config.log. -+ cat conftest.err 1>&5 -+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_static_works=yes -+ fi -+ else -+ lt_cv_prog_compiler_static_works=yes -+ fi -+ fi -+ $RM -r conftest* -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -+$as_echo "$lt_cv_prog_compiler_static_works" >&6; } -+ -+if test x"$lt_cv_prog_compiler_static_works" = xyes; then -+ : -+else -+ lt_prog_compiler_static= -+fi -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if ${lt_cv_prog_compiler_c_o+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_c_o=no -+ $RM -r conftest 2>/dev/null -+ mkdir conftest -+ cd conftest -+ mkdir out -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ lt_compiler_flag="-o out/conftest2.$ac_objext" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>out/conftest.err) -+ ac_status=$? -+ cat out/conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s out/conftest2.$ac_objext -+ then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp -+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 -+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_c_o=yes -+ fi -+ fi -+ chmod u+w . 2>&5 -+ $RM conftest* -+ # SGI C++ compiler will create directory out/ii_files/ for -+ # template instantiation -+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files -+ $RM out/* && rmdir out -+ cd .. -+ $RM -r conftest -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if ${lt_cv_prog_compiler_c_o+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_c_o=no -+ $RM -r conftest 2>/dev/null -+ mkdir conftest -+ cd conftest -+ mkdir out -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ lt_compiler_flag="-o out/conftest2.$ac_objext" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>out/conftest.err) -+ ac_status=$? -+ cat out/conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s out/conftest2.$ac_objext -+ then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp -+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 -+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_c_o=yes -+ fi -+ fi -+ chmod u+w . 2>&5 -+ $RM conftest* -+ # SGI C++ compiler will create directory out/ii_files/ for -+ # template instantiation -+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files -+ $RM out/* && rmdir out -+ cd .. -+ $RM -r conftest -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } -+ -+ -+ -+ -+hard_links="nottested" -+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then -+ # do not overwrite the value of need_locks provided by the user -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -+$as_echo_n "checking if we can lock with hard links... " >&6; } -+ hard_links=yes -+ $RM conftest* -+ ln conftest.a conftest.b 2>/dev/null && hard_links=no -+ touch conftest.a -+ ln conftest.a conftest.b 2>&5 || hard_links=no -+ ln conftest.a conftest.b 2>/dev/null && hard_links=no -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -+$as_echo "$hard_links" >&6; } -+ if test "$hard_links" = no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} -+ need_locks=warn -+ fi -+else -+ need_locks=no -+fi -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } -+ -+ runpath_var= -+ allow_undefined_flag= -+ always_export_symbols=no -+ archive_cmds= -+ archive_expsym_cmds= -+ compiler_needs_object=no -+ enable_shared_with_static_runtimes=no -+ export_dynamic_flag_spec= -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -+ hardcode_automatic=no -+ hardcode_direct=no -+ hardcode_direct_absolute=no -+ hardcode_libdir_flag_spec= -+ hardcode_libdir_separator= -+ hardcode_minus_L=no -+ hardcode_shlibpath_var=unsupported -+ inherit_rpath=no -+ link_all_deplibs=unknown -+ module_cmds= -+ module_expsym_cmds= -+ old_archive_from_new_cmds= -+ old_archive_from_expsyms_cmds= -+ thread_safe_flag_spec= -+ whole_archive_flag_spec= -+ # include_expsyms should be a list of space-separated symbols to be *always* -+ # included in the symbol list -+ include_expsyms= -+ # exclude_expsyms can be an extended regexp of symbols to exclude -+ # it will be wrapped by ` (' and `)$', so one must not match beginning or -+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -+ # as well as any symbol that contains `d'. -+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -+ # platforms (ab)use it in PIC code, but their linkers get confused if -+ # the symbol is explicitly referenced. Since portable code cannot -+ # rely on this symbol name, it's probably fine to never include it in -+ # preloaded symbol tables. -+ # Exclude shared library initialization/finalization symbols. -+ extract_expsyms_cmds= -+ -+ case $host_os in -+ cygwin* | mingw* | pw32* | cegcc*) -+ # FIXME: the MSVC++ port hasn't been tested in a loooong time -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ if test "$GCC" != yes; then -+ with_gnu_ld=no -+ fi -+ ;; -+ interix*) -+ # we just hope/assume this is gcc and not c89 (= MSVC++) -+ with_gnu_ld=yes -+ ;; -+ openbsd*) -+ with_gnu_ld=no -+ ;; -+ esac -+ -+ ld_shlibs=yes -+ -+ # On some targets, GNU ld is compatible enough with the native linker -+ # that we're better off using the native interface for both. -+ lt_use_gnu_ld_interface=no -+ if test "$with_gnu_ld" = yes; then -+ case $host_os in -+ aix*) -+ # The AIX port of GNU ld has always aspired to compatibility -+ # with the native linker. However, as the warning in the GNU ld -+ # block says, versions before 2.19.5* couldn't really create working -+ # shared libraries, regardless of the interface used. -+ case `$LD -v 2>&1` in -+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;; -+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; -+ *\ \(GNU\ Binutils\)\ [3-9]*) ;; -+ *) -+ lt_use_gnu_ld_interface=yes -+ ;; -+ esac -+ ;; -+ *) -+ lt_use_gnu_ld_interface=yes -+ ;; -+ esac -+ fi -+ -+ if test "$lt_use_gnu_ld_interface" = yes; then -+ # If archive_cmds runs LD, not CC, wlarc should be empty -+ wlarc='${wl}' -+ -+ # Set some defaults for GNU ld with shared library support. These -+ # are reset later if shared libraries are not supported. Putting them -+ # here allows them to be overridden if necessary. -+ runpath_var=LD_RUN_PATH -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ export_dynamic_flag_spec='${wl}--export-dynamic' -+ # ancient GNU ld didn't support --whole-archive et. al. -+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then -+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' -+ else -+ whole_archive_flag_spec= -+ fi -+ supports_anon_versioning=no -+ case `$LD -v 2>&1` in -+ *GNU\ gold*) supports_anon_versioning=yes ;; -+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 -+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... -+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... -+ *\ 2.11.*) ;; # other 2.11 versions -+ *) supports_anon_versioning=yes ;; -+ esac -+ -+ # See if GNU ld supports shared libraries. -+ case $host_os in -+ aix[3-9]*) -+ # On AIX/PPC, the GNU linker is very broken -+ if test "$host_cpu" != ia64; then -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the GNU linker, at least up to release 2.19, is reported -+*** to be unable to reliably create shared libraries on AIX. -+*** Therefore, libtool is disabling shared libraries support. If you -+*** really care for shared libraries, you may want to install binutils -+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. -+*** You will then need to restart the configuration process. -+ -+_LT_EOF -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='' -+ ;; -+ m68k) -+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ -+ beos*) -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ allow_undefined_flag=unsupported -+ # Joseph Beckenbach says some releases of gcc -+ # support --undefined. This deserves some investigation. FIXME -+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ cygwin* | mingw* | pw32* | cegcc*) -+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, -+ # as there is no search path for DLLs. -+ hardcode_libdir_flag_spec='-L$libdir' -+ export_dynamic_flag_spec='${wl}--export-all-symbols' -+ allow_undefined_flag=unsupported -+ always_export_symbols=no -+ enable_shared_with_static_runtimes=yes -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' -+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' -+ -+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -+ # If the export-symbols file already is a .def file (1st line -+ # is EXPORTS), use it as is; otherwise, prepend... -+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -+ cp $export_symbols $output_objdir/$soname.def; -+ else -+ echo EXPORTS > $output_objdir/$soname.def; -+ cat $export_symbols >> $output_objdir/$soname.def; -+ fi~ -+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ haiku*) -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ link_all_deplibs=yes -+ ;; -+ -+ interix[3-9]*) -+ hardcode_direct=no -+ hardcode_shlibpath_var=no -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ export_dynamic_flag_spec='${wl}-E' -+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. -+ # Instead, shared libraries are loaded at an image base (0x10000000 by -+ # default) and relocated if they conflict, which is a slow very memory -+ # consuming and fragmenting process. To avoid this, we pick a random, -+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link -+ # time. Moving up from 0x10000000 also allows more sbrk(2) space. -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -+ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -+ ;; -+ -+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) -+ tmp_diet=no -+ if test "$host_os" = linux-dietlibc; then -+ case $cc_basename in -+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) -+ esac -+ fi -+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ -+ && test "$tmp_diet" = no -+ then -+ tmp_addflag=' $pic_flag' -+ tmp_sharedflag='-shared' -+ case $cc_basename,$host_cpu in -+ pgcc*) # Portland Group C compiler -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ tmp_addflag=' $pic_flag' -+ ;; -+ pgf77* | pgf90* | pgf95* | pgfortran*) -+ # Portland Group f77 and f90 compilers -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ tmp_addflag=' $pic_flag -Mnomain' ;; -+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 -+ tmp_addflag=' -i_dynamic' ;; -+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 -+ tmp_addflag=' -i_dynamic -nofor_main' ;; -+ ifc* | ifort*) # Intel Fortran compiler -+ tmp_addflag=' -nofor_main' ;; -+ lf95*) # Lahey Fortran 8.1 -+ whole_archive_flag_spec= -+ tmp_sharedflag='--shared' ;; -+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) -+ tmp_sharedflag='-qmkshrobj' -+ tmp_addflag= ;; -+ nvcc*) # Cuda Compiler Driver 2.2 -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ compiler_needs_object=yes -+ ;; -+ esac -+ case `$CC -V 2>&1 | sed 5q` in -+ *Sun\ C*) # Sun C 5.9 -+ whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ compiler_needs_object=yes -+ tmp_sharedflag='-G' ;; -+ *Sun\ F*) # Sun Fortran 8.3 -+ tmp_sharedflag='-G' ;; -+ esac -+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ -+ if test "x$supports_anon_versioning" = xyes; then -+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ -+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -+ echo "local: *; };" >> $output_objdir/$libname.ver~ -+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -+ fi -+ -+ case $cc_basename in -+ xlf* | bgf* | bgxlf* | mpixlf*) -+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself -+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' -+ if test "x$supports_anon_versioning" = xyes; then -+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ -+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -+ echo "local: *; };" >> $output_objdir/$libname.ver~ -+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' -+ fi -+ ;; -+ esac -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' -+ wlarc= -+ else -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ fi -+ ;; -+ -+ solaris*) -+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: The releases 2.8.* of the GNU linker cannot reliably -+*** create shared libraries on Solaris systems. Therefore, libtool -+*** is disabling shared libraries support. We urge you to upgrade GNU -+*** binutils to release 2.9.1 or newer. Another option is to modify -+*** your PATH or compiler configuration so that the native linker is -+*** used, and then restart. -+ -+_LT_EOF -+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) -+ case `$LD -v 2>&1` in -+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -+*** reliably create shared libraries on SCO systems. Therefore, libtool -+*** is disabling shared libraries support. We urge you to upgrade GNU -+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -+*** your PATH or compiler configuration so that the native linker is -+*** used, and then restart. -+ -+_LT_EOF -+ ;; -+ *) -+ # For security reasons, it is highly recommended that you always -+ # use absolute paths for naming shared libraries, and exclude the -+ # DT_RUNPATH tag from executables and libraries. But doing so -+ # requires that you compile everything twice, which is a pain. -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ ;; -+ -+ sunos4*) -+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ wlarc= -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *) -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ -+ if test "$ld_shlibs" = no; then -+ runpath_var= -+ hardcode_libdir_flag_spec= -+ export_dynamic_flag_spec= -+ whole_archive_flag_spec= -+ fi -+ else -+ # PORTME fill in a description of your system's linker (not GNU ld) -+ case $host_os in -+ aix3*) -+ allow_undefined_flag=unsupported -+ always_export_symbols=yes -+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' -+ # Note: this linker hardcodes the directories in LIBPATH if there -+ # are no directories specified by -L. -+ hardcode_minus_L=yes -+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then -+ # Neither direct hardcoding nor static linking is supported with a -+ # broken collect2. -+ hardcode_direct=unsupported -+ fi -+ ;; -+ -+ aix[4-9]*) -+ if test "$host_cpu" = ia64; then -+ # On IA64, the linker does run time linking by default, so we don't -+ # have to do anything special. -+ aix_use_runtimelinking=no -+ exp_sym_flag='-Bexport' -+ no_entry_flag="" -+ else -+ # If we're using GNU nm, then we don't want the "-C" option. -+ # -C means demangle to AIX nm, but means don't demangle with GNU nm -+ # Also, AIX nm treats weak defined symbols like other global -+ # defined symbols, whereas GNU nm marks them as "W". -+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then -+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' -+ else -+ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' -+ fi -+ aix_use_runtimelinking=no -+ -+ # Test if we are trying to use run time linking or normal -+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we -+ # need to do runtime linking. -+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) -+ for ld_flag in $LDFLAGS; do -+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then -+ aix_use_runtimelinking=yes -+ break -+ fi -+ done -+ ;; -+ esac -+ -+ exp_sym_flag='-bexport' -+ no_entry_flag='-bnoentry' -+ fi -+ -+ # When large executables or shared objects are built, AIX ld can -+ # have problems creating the table of contents. If linking a library -+ # or program results in "error TOC overflow" add -mminimal-toc to -+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not -+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -+ -+ archive_cmds='' -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ hardcode_libdir_separator=':' -+ link_all_deplibs=yes -+ file_list_spec='${wl}-f,' -+ -+ if test "$GCC" = yes; then -+ case $host_os in aix4.[012]|aix4.[012].*) -+ # We only want to do this on AIX 4.2 and lower, the check -+ # below for broken collect2 doesn't work under 4.3+ -+ collect2name=`${CC} -print-prog-name=collect2` -+ if test -f "$collect2name" && -+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null -+ then -+ # We have reworked collect2 -+ : -+ else -+ # We have old collect2 -+ hardcode_direct=unsupported -+ # It fails to find uninstalled libraries when the uninstalled -+ # path is not listed in the libpath. Setting hardcode_minus_L -+ # to unsupported forces relinking -+ hardcode_minus_L=yes -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_libdir_separator= -+ fi -+ ;; -+ esac -+ shared_flag='-shared' -+ if test "$aix_use_runtimelinking" = yes; then -+ shared_flag="$shared_flag "'${wl}-G' -+ fi -+ else -+ # not using gcc -+ if test "$host_cpu" = ia64; then -+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release -+ # chokes on -Wl,-G. The following line is correct: -+ shared_flag='-G' -+ else -+ if test "$aix_use_runtimelinking" = yes; then -+ shared_flag='${wl}-G' -+ else -+ shared_flag='${wl}-bM:SRE' -+ fi -+ fi -+ fi -+ -+ export_dynamic_flag_spec='${wl}-bexpall' -+ # It seems that -bexpall does not export symbols beginning with -+ # underscore (_), so it is better to generate a list of symbols to export. -+ always_export_symbols=yes -+ if test "$aix_use_runtimelinking" = yes; then -+ # Warning - without using the other runtime loading flags (-brtl), -+ # -berok will link without error, but may produce a broken library. -+ allow_undefined_flag='-berok' -+ # Determine the default libpath from the value encoded in an -+ # empty executable. -+ if test "${lt_cv_aix_libpath+set}" = set; then -+ aix_libpath=$lt_cv_aix_libpath -+else -+ if ${lt_cv_aix_libpath_+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ -+ lt_aix_libpath_sed=' -+ /Import File Strings/,/^$/ { -+ /^0/ { -+ s/^0 *\([^ ]*\) *$/\1/ -+ p -+ } -+ }' -+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ # Check for a 64-bit object if we didn't find anything. -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_="/usr/lib:/lib" -+ fi -+ -+fi -+ -+ aix_libpath=$lt_cv_aix_libpath_ -+fi -+ -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" -+ else -+ if test "$host_cpu" = ia64; then -+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' -+ allow_undefined_flag="-z nodefs" -+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" -+ else -+ # Determine the default libpath from the value encoded in an -+ # empty executable. -+ if test "${lt_cv_aix_libpath+set}" = set; then -+ aix_libpath=$lt_cv_aix_libpath -+else -+ if ${lt_cv_aix_libpath_+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ -+ lt_aix_libpath_sed=' -+ /Import File Strings/,/^$/ { -+ /^0/ { -+ s/^0 *\([^ ]*\) *$/\1/ -+ p -+ } -+ }' -+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ # Check for a 64-bit object if we didn't find anything. -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_="/usr/lib:/lib" -+ fi -+ -+fi -+ -+ aix_libpath=$lt_cv_aix_libpath_ -+fi -+ -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ # Warning - without using the other run time loading flags, -+ # -berok will link without error, but may produce a broken library. -+ no_undefined_flag=' ${wl}-bernotok' -+ allow_undefined_flag=' ${wl}-berok' -+ if test "$with_gnu_ld" = yes; then -+ # We only use this code for GNU lds that support --whole-archive. -+ whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -+ else -+ # Exported symbols can be pulled into shared objects from archives -+ whole_archive_flag_spec='$convenience' -+ fi -+ archive_cmds_need_lc=yes -+ # This is similar to how AIX traditionally builds its shared libraries. -+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' -+ fi -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='' -+ ;; -+ m68k) -+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ -+ bsdi[45]*) -+ export_dynamic_flag_spec=-rdynamic -+ ;; -+ -+ cygwin* | mingw* | pw32* | cegcc*) -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ # hardcode_libdir_flag_spec is actually meaningless, as there is -+ # no search path for DLLs. -+ case $cc_basename in -+ cl*) -+ # Native MSVC -+ hardcode_libdir_flag_spec=' ' -+ allow_undefined_flag=unsupported -+ always_export_symbols=yes -+ file_list_spec='@' -+ # Tell ltmain to make .lib files, not .a files. -+ libext=lib -+ # Tell ltmain to make .dll files, not .so files. -+ shrext_cmds=".dll" -+ # FIXME: Setting linknames here is a bad hack. -+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' -+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; -+ else -+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; -+ fi~ -+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ -+ linknames=' -+ # The linker will not automatically build a static lib if we build a DLL. -+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true' -+ enable_shared_with_static_runtimes=yes -+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' -+ # Don't use ranlib -+ old_postinstall_cmds='chmod 644 $oldlib' -+ postlink_cmds='lt_outputfile="@OUTPUT@"~ -+ lt_tool_outputfile="@TOOL_OUTPUT@"~ -+ case $lt_outputfile in -+ *.exe|*.EXE) ;; -+ *) -+ lt_outputfile="$lt_outputfile.exe" -+ lt_tool_outputfile="$lt_tool_outputfile.exe" -+ ;; -+ esac~ -+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then -+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; -+ $RM "$lt_outputfile.manifest"; -+ fi' -+ ;; -+ *) -+ # Assume MSVC wrapper -+ hardcode_libdir_flag_spec=' ' -+ allow_undefined_flag=unsupported -+ # Tell ltmain to make .lib files, not .a files. -+ libext=lib -+ # Tell ltmain to make .dll files, not .so files. -+ shrext_cmds=".dll" -+ # FIXME: Setting linknames here is a bad hack. -+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' -+ # The linker will automatically build a .lib file if we build a DLL. -+ old_archive_from_new_cmds='true' -+ # FIXME: Should let the user specify the lib program. -+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' -+ enable_shared_with_static_runtimes=yes -+ ;; -+ esac -+ ;; -+ -+ darwin* | rhapsody*) -+ -+ -+ archive_cmds_need_lc=no -+ hardcode_direct=no -+ hardcode_automatic=yes -+ hardcode_shlibpath_var=unsupported -+ if test "$lt_cv_ld_force_load" = "yes"; then -+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' -+ -+ else -+ whole_archive_flag_spec='' -+ fi -+ link_all_deplibs=yes -+ allow_undefined_flag="$_lt_dar_allow_undefined" -+ case $cc_basename in -+ ifort*) _lt_dar_can_shared=yes ;; -+ *) _lt_dar_can_shared=$GCC ;; -+ esac -+ if test "$_lt_dar_can_shared" = "yes"; then -+ output_verbose_link_cmd=func_echo_all -+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" -+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" -+ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" -+ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" -+ -+ else -+ ld_shlibs=no -+ fi -+ -+ ;; -+ -+ dgux*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor -+ # support. Future versions do this automatically, but an explicit c++rt0.o -+ # does not break anything, and helps significantly (at the cost of a little -+ # extra space). -+ freebsd2.2*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # Unfortunately, older versions of FreeBSD 2 do not have this feature. -+ freebsd2.*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. -+ freebsd* | dragonfly*) -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ hpux9*) -+ if test "$GCC" = yes; then -+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -+ else -+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -+ fi -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ export_dynamic_flag_spec='${wl}-E' -+ ;; -+ -+ hpux10*) -+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -+ fi -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ export_dynamic_flag_spec='${wl}-E' -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ fi -+ ;; -+ -+ hpux11*) -+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then -+ case $host_cpu in -+ hppa*64*) -+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ ia64*) -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ *) -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ esac -+ else -+ case $host_cpu in -+ hppa*64*) -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ ia64*) -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ *) -+ -+ # Older versions of the 11.00 compiler do not understand -b yet -+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 -+$as_echo_n "checking if $CC understands -b... " >&6; } -+if ${lt_cv_prog_compiler__b+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler__b=no -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS -b" -+ echo "$lt_simple_link_test_code" > conftest.$ac_ext -+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then -+ # The linker can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ if test -s conftest.err; then -+ # Append any errors to the config.log. -+ cat conftest.err 1>&5 -+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler__b=yes -+ fi -+ else -+ lt_cv_prog_compiler__b=yes -+ fi -+ fi -+ $RM -r conftest* -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 -+$as_echo "$lt_cv_prog_compiler__b" >&6; } -+ -+if test x"$lt_cv_prog_compiler__b" = xyes; then -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+else -+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -+fi -+ -+ ;; -+ esac -+ fi -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ -+ case $host_cpu in -+ hppa*64*|ia64*) -+ hardcode_direct=no -+ hardcode_shlibpath_var=no -+ ;; -+ *) -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ export_dynamic_flag_spec='${wl}-E' -+ -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ ;; -+ esac -+ fi -+ ;; -+ -+ irix5* | irix6* | nonstopux*) -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ # Try to use the -exported_symbol ld option, if it does not -+ # work, assume that -exports_file does not work either and -+ # implicitly export all symbols. -+ # This should be the same for all languages, so no per-tag cache variable. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 -+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } -+if ${lt_cv_irix_exported_symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+int foo (void) { return 0; } -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_irix_exported_symbol=yes -+else -+ lt_cv_irix_exported_symbol=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS="$save_LDFLAGS" -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 -+$as_echo "$lt_cv_irix_exported_symbol" >&6; } -+ if test "$lt_cv_irix_exported_symbol" = yes; then -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' -+ fi -+ else -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ inherit_rpath=yes -+ link_all_deplibs=yes -+ ;; -+ -+ netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out -+ else -+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF -+ fi -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ newsos6) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *nto* | *qnx*) -+ ;; -+ -+ openbsd*) -+ if test -f /usr/libexec/ld.so; then -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ hardcode_direct_absolute=yes -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ export_dynamic_flag_spec='${wl}-E' -+ else -+ case $host_os in -+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-R$libdir' -+ ;; -+ *) -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ ;; -+ esac -+ fi -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ os2*) -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ allow_undefined_flag=unsupported -+ archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' -+ old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' -+ ;; -+ -+ osf3*) -+ if test "$GCC" = yes; then -+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ else -+ allow_undefined_flag=' -expect_unresolved \*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ ;; -+ -+ osf4* | osf5*) # as osf3* with the addition of -msym flag -+ if test "$GCC" = yes; then -+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ else -+ allow_undefined_flag=' -expect_unresolved \*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ -+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' -+ -+ # Both c and cxx compiler support -rpath directly -+ hardcode_libdir_flag_spec='-rpath $libdir' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_separator=: -+ ;; -+ -+ solaris*) -+ no_undefined_flag=' -z defs' -+ if test "$GCC" = yes; then -+ wlarc='${wl}' -+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' -+ else -+ case `$CC -V 2>&1` in -+ *"Compilers 5.0"*) -+ wlarc='' -+ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' -+ ;; -+ *) -+ wlarc='${wl}' -+ archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' -+ ;; -+ esac -+ fi -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_shlibpath_var=no -+ case $host_os in -+ solaris2.[0-5] | solaris2.[0-5].*) ;; -+ *) -+ # The compiler driver will combine and reorder linker options, -+ # but understands `-z linker_flag'. GCC discards it without `$wl', -+ # but is careful enough not to reorder. -+ # Supported since Solaris 2.6 (maybe 2.5.1?) -+ if test "$GCC" = yes; then -+ whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' -+ else -+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract' -+ fi -+ ;; -+ esac -+ link_all_deplibs=yes -+ ;; -+ -+ sunos4*) -+ if test "x$host_vendor" = xsequent; then -+ # Use $CC to link under sequent, because it throws in some extra .o -+ # files that make .init and .fini sections work. -+ archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' -+ fi -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ sysv4) -+ case $host_vendor in -+ sni) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes # is this really true??? -+ ;; -+ siemens) -+ ## LD is ld it makes a PLAMLIB -+ ## CC just makes a GrossModule. -+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' -+ reload_cmds='$CC -r -o $output$reload_objs' -+ hardcode_direct=no -+ ;; -+ motorola) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie -+ ;; -+ esac -+ runpath_var='LD_RUN_PATH' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ sysv4.3*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_shlibpath_var=no -+ export_dynamic_flag_spec='-Bexport' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec; then -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_shlibpath_var=no -+ runpath_var=LD_RUN_PATH -+ hardcode_runpath_var=yes -+ ld_shlibs=yes -+ fi -+ ;; -+ -+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) -+ no_undefined_flag='${wl}-z,text' -+ archive_cmds_need_lc=no -+ hardcode_shlibpath_var=no -+ runpath_var='LD_RUN_PATH' -+ -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ fi -+ ;; -+ -+ sysv5* | sco3.2v5* | sco5v6*) -+ # Note: We can NOT use -z defs as we might desire, because we do not -+ # link with -lc, and that would cause any symbols used from libc to -+ # always be unresolved, which means just about no library would -+ # ever link correctly. If we're not using GNU ld we use -z text -+ # though, which does catch some bad symbols but isn't as heavy-handed -+ # as -z defs. -+ no_undefined_flag='${wl}-z,text' -+ allow_undefined_flag='${wl}-z,nodefs' -+ archive_cmds_need_lc=no -+ hardcode_shlibpath_var=no -+ hardcode_libdir_flag_spec='${wl}-R,$libdir' -+ hardcode_libdir_separator=':' -+ link_all_deplibs=yes -+ export_dynamic_flag_spec='${wl}-Bexport' -+ runpath_var='LD_RUN_PATH' -+ -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ fi -+ ;; -+ -+ uts4*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *) -+ ld_shlibs=no -+ ;; -+ esac -+ -+ if test x$host_vendor = xsni; then -+ case $host in -+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) -+ export_dynamic_flag_spec='${wl}-Blargedynsym' -+ ;; -+ esac -+ fi -+ fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -+$as_echo "$ld_shlibs" >&6; } -+test "$ld_shlibs" = no && can_build_shared=no -+ -+with_gnu_ld=$with_gnu_ld -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# -+# Do we need to explicitly link libc? -+# -+case "x$archive_cmds_need_lc" in -+x|xyes) -+ # Assume -lc should be added -+ archive_cmds_need_lc=yes -+ -+ if test "$enable_shared" = yes && test "$GCC" = yes; then -+ case $archive_cmds in -+ *'~'*) -+ # FIXME: we may have to deal with multi-command sequences. -+ ;; -+ '$CC '*) -+ # Test whether the compiler implicitly links with -lc since on some -+ # systems, -lgcc has to come before -lc. If gcc already passes -lc -+ # to ld, don't add -lc before -lgcc. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -+if ${lt_cv_archive_cmds_need_lc+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ $RM conftest* -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } 2>conftest.err; then -+ soname=conftest -+ lib=conftest -+ libobjs=conftest.$ac_objext -+ deplibs= -+ wl=$lt_prog_compiler_wl -+ pic_flag=$lt_prog_compiler_pic -+ compiler_flags=-v -+ linker_flags=-v -+ verstring= -+ output_objdir=. -+ libname=conftest -+ lt_save_allow_undefined_flag=$allow_undefined_flag -+ allow_undefined_flag= -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 -+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ then -+ lt_cv_archive_cmds_need_lc=no -+ else -+ lt_cv_archive_cmds_need_lc=yes -+ fi -+ allow_undefined_flag=$lt_save_allow_undefined_flag -+ else -+ cat conftest.err 1>&5 -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 -+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } -+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc -+ ;; -+ esac -+ fi -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -+$as_echo_n "checking dynamic linker characteristics... " >&6; } -+ -+if test "$GCC" = yes; then -+ case $host_os in -+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; -+ *) lt_awk_arg="/^libraries:/" ;; -+ esac -+ case $host_os in -+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; -+ *) lt_sed_strip_eq="s,=/,/,g" ;; -+ esac -+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` -+ case $lt_search_path_spec in -+ *\;*) -+ # if the path contains ";" then we assume it to be the separator -+ # otherwise default to the standard path separator (i.e. ":") - it is -+ # assumed that no part of a normal pathname contains ";" but that should -+ # okay in the real world where ";" in dirpaths is itself problematic. -+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` -+ ;; -+ *) -+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` -+ ;; -+ esac -+ # Ok, now we have the path, separated by spaces, we can step through it -+ # and add multilib dir if necessary. -+ lt_tmp_lt_search_path_spec= -+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` -+ for lt_sys_path in $lt_search_path_spec; do -+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then -+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -+ else -+ test -d "$lt_sys_path" && \ -+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" -+ fi -+ done -+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' -+BEGIN {RS=" "; FS="/|\n";} { -+ lt_foo=""; -+ lt_count=0; -+ for (lt_i = NF; lt_i > 0; lt_i--) { -+ if ($lt_i != "" && $lt_i != ".") { -+ if ($lt_i == "..") { -+ lt_count++; -+ } else { -+ if (lt_count == 0) { -+ lt_foo="/" $lt_i lt_foo; -+ } else { -+ lt_count--; -+ } -+ } -+ } -+ } -+ if (lt_foo != "") { lt_freq[lt_foo]++; } -+ if (lt_freq[lt_foo] == 1) { print lt_foo; } -+}'` -+ # AWK program above erroneously prepends '/' to C:/dos/paths -+ # for these hosts. -+ case $host_os in -+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ -+ $SED 's,/\([A-Za-z]:\),\1,g'` ;; -+ esac -+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` -+else -+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -+fi -+library_names_spec= -+libname_spec='lib$name' -+soname_spec= -+shrext_cmds=".so" -+postinstall_cmds= -+postuninstall_cmds= -+finish_cmds= -+finish_eval= -+shlibpath_var= -+shlibpath_overrides_runpath=unknown -+version_type=none -+dynamic_linker="$host_os ld.so" -+sys_lib_dlsearch_path_spec="/lib /usr/lib" -+need_lib_prefix=unknown -+hardcode_into_libs=no -+ -+# when you set need_version to no, make sure it does not cause -set_version -+# flags to be left without arguments -+need_version=unknown -+ -+case $host_os in -+aix3*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' -+ shlibpath_var=LIBPATH -+ -+ # AIX 3 has no versioning support, so we append a major version to the name. -+ soname_spec='${libname}${release}${shared_ext}$major' -+ ;; -+ -+aix[4-9]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ hardcode_into_libs=yes -+ if test "$host_cpu" = ia64; then -+ # AIX 5 supports IA64 -+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ else -+ # With GCC up to 2.95.x, collect2 would create an import file -+ # for dependence libraries. The import file would start with -+ # the line `#! .'. This would cause the generated library to -+ # depend on `.', always an invalid library. This was fixed in -+ # development snapshots of GCC prior to 3.0. -+ case $host_os in -+ aix4 | aix4.[01] | aix4.[01].*) -+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' -+ echo ' yes ' -+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then -+ : -+ else -+ can_build_shared=no -+ fi -+ ;; -+ esac -+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct -+ # soname into executable. Probably we can add versioning support to -+ # collect2, so additional links can be useful in future. -+ if test "$aix_use_runtimelinking" = yes; then -+ # If using run time linking (on AIX 4.2 or later) use lib.so -+ # instead of lib.a to let people know that these are not -+ # typical AIX shared libraries. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ else -+ # We preserve .a as extension for shared libraries through AIX4.2 -+ # and later when we are not doing run time linking. -+ library_names_spec='${libname}${release}.a $libname.a' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ fi -+ shlibpath_var=LIBPATH -+ fi -+ ;; -+ -+amigaos*) -+ case $host_cpu in -+ powerpc) -+ # Since July 2007 AmigaOS4 officially supports .so libraries. -+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ ;; -+ m68k) -+ library_names_spec='$libname.ixlibrary $libname.a' -+ # Create ${libname}_ixlibrary.a entries in /sys/libs. -+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' -+ ;; -+ esac -+ ;; -+ -+beos*) -+ library_names_spec='${libname}${shared_ext}' -+ dynamic_linker="$host_os ld.so" -+ shlibpath_var=LIBRARY_PATH -+ ;; -+ -+bsdi[45]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" -+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" -+ # the default ld.so.conf also contains /usr/contrib/lib and -+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow -+ # libtool to hard-code these into programs -+ ;; -+ -+cygwin* | mingw* | pw32* | cegcc*) -+ version_type=windows -+ shrext_cmds=".dll" -+ need_version=no -+ need_lib_prefix=no -+ -+ case $GCC,$cc_basename in -+ yes,*) -+ # gcc -+ library_names_spec='$libname.dll.a' -+ # DLL is installed to $(libdir)/../bin by postinstall_cmds -+ postinstall_cmds='base_file=`basename \${file}`~ -+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ -+ dldir=$destdir/`dirname \$dlpath`~ -+ test -d \$dldir || mkdir -p \$dldir~ -+ $install_prog $dir/$dlname \$dldir/$dlname~ -+ chmod a+x \$dldir/$dlname~ -+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then -+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; -+ fi' -+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ -+ dlpath=$dir/\$dldll~ -+ $RM \$dlpath' -+ shlibpath_overrides_runpath=yes -+ -+ case $host_os in -+ cygwin*) -+ # Cygwin DLLs use 'cyg' prefix rather than 'lib' -+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" -+ ;; -+ mingw* | cegcc*) -+ # MinGW DLLs use traditional 'lib' prefix -+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ ;; -+ pw32*) -+ # pw32 DLLs use 'pw' prefix rather than 'lib' -+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ ;; -+ esac -+ dynamic_linker='Win32 ld.exe' -+ ;; -+ -+ *,cl*) -+ # Native MSVC -+ libname_spec='$name' -+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ library_names_spec='${libname}.dll.lib' -+ -+ case $build_os in -+ mingw*) -+ sys_lib_search_path_spec= -+ lt_save_ifs=$IFS -+ IFS=';' -+ for lt_path in $LIB -+ do -+ IFS=$lt_save_ifs -+ # Let DOS variable expansion print the short 8.3 style file name. -+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` -+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" -+ done -+ IFS=$lt_save_ifs -+ # Convert to MSYS style. -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` -+ ;; -+ cygwin*) -+ # Convert to unix form, then to dos form, then back to unix form -+ # but this time dos style (no spaces!) so that the unix form looks -+ # like /cygdrive/c/PROGRA~1:/cygdr... -+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` -+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` -+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -+ ;; -+ *) -+ sys_lib_search_path_spec="$LIB" -+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then -+ # It is most probably a Windows format PATH. -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` -+ else -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -+ fi -+ # FIXME: find the short name or the path components, as spaces are -+ # common. (e.g. "Program Files" -> "PROGRA~1") -+ ;; -+ esac -+ -+ # DLL is installed to $(libdir)/../bin by postinstall_cmds -+ postinstall_cmds='base_file=`basename \${file}`~ -+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ -+ dldir=$destdir/`dirname \$dlpath`~ -+ test -d \$dldir || mkdir -p \$dldir~ -+ $install_prog $dir/$dlname \$dldir/$dlname' -+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ -+ dlpath=$dir/\$dldll~ -+ $RM \$dlpath' -+ shlibpath_overrides_runpath=yes -+ dynamic_linker='Win32 link.exe' -+ ;; -+ -+ *) -+ # Assume MSVC wrapper -+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' -+ dynamic_linker='Win32 ld.exe' -+ ;; -+ esac -+ # FIXME: first we should search . and the directory the executable is in -+ shlibpath_var=PATH -+ ;; -+ -+darwin* | rhapsody*) -+ dynamic_linker="$host_os dyld" -+ version_type=darwin -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' -+ soname_spec='${libname}${release}${major}$shared_ext' -+ shlibpath_overrides_runpath=yes -+ shlibpath_var=DYLD_LIBRARY_PATH -+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -+ -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" -+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' -+ ;; -+ -+dgux*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ -+freebsd* | dragonfly*) -+ # DragonFly does not have aout. When/if they implement a new -+ # versioning mechanism, adjust this. -+ if test -x /usr/bin/objformat; then -+ objformat=`/usr/bin/objformat` -+ else -+ case $host_os in -+ freebsd[23].*) objformat=aout ;; -+ *) objformat=elf ;; -+ esac -+ fi -+ version_type=freebsd-$objformat -+ case $version_type in -+ freebsd-elf*) -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -+ need_version=no -+ need_lib_prefix=no -+ ;; -+ freebsd-*) -+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' -+ need_version=yes -+ ;; -+ esac -+ shlibpath_var=LD_LIBRARY_PATH -+ case $host_os in -+ freebsd2.*) -+ shlibpath_overrides_runpath=yes -+ ;; -+ freebsd3.[01]* | freebsdelf3.[01]*) -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ -+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ *) # from 4.6 on, and DragonFly -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ esac -+ ;; -+ -+gnu*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+haiku*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ dynamic_linker="$host_os runtime_loader" -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' -+ hardcode_into_libs=yes -+ ;; -+ -+hpux9* | hpux10* | hpux11*) -+ # Give a soname corresponding to the major version so that dld.sl refuses to -+ # link against other versions. -+ version_type=sunos -+ need_lib_prefix=no -+ need_version=no -+ case $host_cpu in -+ ia64*) -+ shrext_cmds='.so' -+ hardcode_into_libs=yes -+ dynamic_linker="$host_os dld.so" -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ if test "X$HPUX_IA64_MODE" = X32; then -+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" -+ else -+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" -+ fi -+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -+ ;; -+ hppa*64*) -+ shrext_cmds='.sl' -+ hardcode_into_libs=yes -+ dynamic_linker="$host_os dld.sl" -+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH -+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" -+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -+ ;; -+ *) -+ shrext_cmds='.sl' -+ dynamic_linker="$host_os dld.sl" -+ shlibpath_var=SHLIB_PATH -+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ ;; -+ esac -+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ... -+ postinstall_cmds='chmod 555 $lib' -+ # or fails outright, so override atomically: -+ install_override_mode=555 -+ ;; -+ -+interix[3-9]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+irix5* | irix6* | nonstopux*) -+ case $host_os in -+ nonstopux*) version_type=nonstopux ;; -+ *) -+ if test "$lt_cv_prog_gnu_ld" = yes; then -+ version_type=linux # correct to gnu/linux during the next big refactor -+ else -+ version_type=irix -+ fi ;; -+ esac -+ need_lib_prefix=no -+ need_version=no -+ soname_spec='${libname}${release}${shared_ext}$major' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' -+ case $host_os in -+ irix5* | nonstopux*) -+ libsuff= shlibsuff= -+ ;; -+ *) -+ case $LD in # libtool.m4 will add one of these switches to LD -+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") -+ libsuff= shlibsuff= libmagic=32-bit;; -+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") -+ libsuff=32 shlibsuff=N32 libmagic=N32;; -+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") -+ libsuff=64 shlibsuff=64 libmagic=64-bit;; -+ *) libsuff= shlibsuff= libmagic=never-match;; -+ esac -+ ;; -+ esac -+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH -+ shlibpath_overrides_runpath=no -+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" -+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" -+ hardcode_into_libs=yes -+ ;; -+ -+# No shared lib support for Linux oldld, aout, or coff. -+linux*oldld* | linux*aout* | linux*coff*) -+ dynamic_linker=no -+ ;; -+ -+# This must be glibc/ELF. -+linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ -+ # Some binutils ld are patched to set DT_RUNPATH -+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_shlibpath_overrides_runpath=no -+ save_LDFLAGS=$LDFLAGS -+ save_libdir=$libdir -+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ -+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : -+ lt_cv_shlibpath_overrides_runpath=yes -+fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS=$save_LDFLAGS -+ libdir=$save_libdir -+ -+fi -+ -+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath -+ -+ # This implies no fast_install, which is unacceptable. -+ # Some rework will be needed to allow for fast_install -+ # before this can be enabled. -+ hardcode_into_libs=yes -+ -+ # Append ld.so.conf contents to the search path -+ if test -f /etc/ld.so.conf; then -+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` -+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" -+ fi -+ -+ # We used to test for /lib/ld.so.1 and disable shared libraries on -+ # powerpc, because MkLinux only supported shared libraries with the -+ # GNU dynamic linker. Since this was broken with cross compilers, -+ # most powerpc-linux boxes support dynamic linking these days and -+ # people can always --disable-shared, the test was removed, and we -+ # assume the GNU/Linux dynamic linker is in use. -+ dynamic_linker='GNU/Linux ld.so' -+ ;; -+ -+netbsd*) -+ version_type=sunos -+ need_lib_prefix=no -+ need_version=no -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -+ dynamic_linker='NetBSD (a.out) ld.so' -+ else -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ dynamic_linker='NetBSD ld.elf_so' -+ fi -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ -+newsos6) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ ;; -+ -+*nto* | *qnx*) -+ version_type=qnx -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ dynamic_linker='ldqnx.so' -+ ;; -+ -+openbsd*) -+ version_type=sunos -+ sys_lib_dlsearch_path_spec="/usr/lib" -+ need_lib_prefix=no -+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. -+ case $host_os in -+ openbsd3.3 | openbsd3.3.*) need_version=yes ;; -+ *) need_version=no ;; -+ esac -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ case $host_os in -+ openbsd2.[89] | openbsd2.[89].*) -+ shlibpath_overrides_runpath=no -+ ;; -+ *) -+ shlibpath_overrides_runpath=yes -+ ;; -+ esac -+ else -+ shlibpath_overrides_runpath=yes -+ fi -+ ;; -+ -+os2*) -+ libname_spec='$name' -+ shrext_cmds=".dll" -+ need_lib_prefix=no -+ library_names_spec='$libname${shared_ext} $libname.a' -+ dynamic_linker='OS/2 ld.exe' -+ shlibpath_var=LIBPATH -+ ;; -+ -+osf3* | osf4* | osf5*) -+ version_type=osf -+ need_lib_prefix=no -+ need_version=no -+ soname_spec='${libname}${release}${shared_ext}$major' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" -+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" -+ ;; -+ -+rdos*) -+ dynamic_linker=no -+ ;; -+ -+solaris*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ # ldd complains unless libraries are executable -+ postinstall_cmds='chmod +x $lib' -+ ;; -+ -+sunos4*) -+ version_type=sunos -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ if test "$with_gnu_ld" = yes; then -+ need_lib_prefix=no -+ fi -+ need_version=yes -+ ;; -+ -+sysv4 | sysv4.3*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ case $host_vendor in -+ sni) -+ shlibpath_overrides_runpath=no -+ need_lib_prefix=no -+ runpath_var=LD_RUN_PATH -+ ;; -+ siemens) -+ need_lib_prefix=no -+ ;; -+ motorola) -+ need_lib_prefix=no -+ need_version=no -+ shlibpath_overrides_runpath=no -+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' -+ ;; -+ esac -+ ;; -+ -+sysv4*MP*) -+ if test -d /usr/nec ;then -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' -+ soname_spec='$libname${shared_ext}.$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ fi -+ ;; -+ -+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ version_type=freebsd-elf -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ if test "$with_gnu_ld" = yes; then -+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' -+ else -+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' -+ case $host_os in -+ sco3.2v5*) -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" -+ ;; -+ esac -+ fi -+ sys_lib_dlsearch_path_spec='/usr/lib' -+ ;; -+ -+tpf*) -+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux. -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+uts4*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ -+*) -+ dynamic_linker=no -+ ;; -+esac -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -+$as_echo "$dynamic_linker" >&6; } -+test "$dynamic_linker" = no && can_build_shared=no -+ -+variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -+if test "$GCC" = yes; then -+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -+fi -+ -+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then -+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -+fi -+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then -+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -+$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -+hardcode_action= -+if test -n "$hardcode_libdir_flag_spec" || -+ test -n "$runpath_var" || -+ test "X$hardcode_automatic" = "Xyes" ; then -+ -+ # We can hardcode non-existent directories. -+ if test "$hardcode_direct" != no && -+ # If the only mechanism to avoid hardcoding is shlibpath_var, we -+ # have to relink, otherwise we might link with an installed library -+ # when we should be linking with a yet-to-be-installed one -+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && -+ test "$hardcode_minus_L" != no; then -+ # Linking always hardcodes the temporary library directory. -+ hardcode_action=relink -+ else -+ # We can link without hardcoding, and we can hardcode nonexisting dirs. -+ hardcode_action=immediate -+ fi -+else -+ # We cannot hardcode anything, or else we can only hardcode existing -+ # directories. -+ hardcode_action=unsupported -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -+$as_echo "$hardcode_action" >&6; } -+ -+if test "$hardcode_action" = relink || -+ test "$inherit_rpath" = yes; then -+ # Fast installation is not supported -+ enable_fast_install=no -+elif test "$shlibpath_overrides_runpath" = yes || -+ test "$enable_shared" = no; then -+ # Fast installation is not necessary -+ enable_fast_install=needless -+fi -+ -+ -+ -+ -+ -+ -+ if test "x$enable_dlopen" != xyes; then -+ enable_dlopen=unknown -+ enable_dlopen_self=unknown -+ enable_dlopen_self_static=unknown -+else -+ lt_cv_dlopen=no -+ lt_cv_dlopen_libs= -+ -+ case $host_os in -+ beos*) -+ lt_cv_dlopen="load_add_on" -+ lt_cv_dlopen_libs= -+ lt_cv_dlopen_self=yes -+ ;; -+ -+ mingw* | pw32* | cegcc*) -+ lt_cv_dlopen="LoadLibrary" -+ lt_cv_dlopen_libs= -+ ;; -+ -+ cygwin*) -+ lt_cv_dlopen="dlopen" -+ lt_cv_dlopen_libs= -+ ;; -+ -+ darwin*) -+ # if libdl is installed we need to link against it -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if ${ac_cv_lib_dl_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dl_dlopen=yes -+else -+ ac_cv_lib_dl_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -+else -+ -+ lt_cv_dlopen="dyld" -+ lt_cv_dlopen_libs= -+ lt_cv_dlopen_self=yes -+ -+fi -+ -+ ;; -+ -+ *) -+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -+if test "x$ac_cv_func_shl_load" = xyes; then : -+ lt_cv_dlopen="shl_load" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -+$as_echo_n "checking for shl_load in -ldld... " >&6; } -+if ${ac_cv_lib_dld_shl_load+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char shl_load (); -+int -+main () -+{ -+return shl_load (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dld_shl_load=yes -+else -+ ac_cv_lib_dld_shl_load=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -+$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -+if test "x$ac_cv_lib_dld_shl_load" = xyes; then : -+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -+else -+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -+if test "x$ac_cv_func_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if ${ac_cv_lib_dl_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dl_dlopen=yes -+else -+ ac_cv_lib_dl_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -+$as_echo_n "checking for dlopen in -lsvld... " >&6; } -+if ${ac_cv_lib_svld_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lsvld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_svld_dlopen=yes -+else -+ ac_cv_lib_svld_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -+$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -+if test "x$ac_cv_lib_svld_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -+$as_echo_n "checking for dld_link in -ldld... " >&6; } -+if ${ac_cv_lib_dld_dld_link+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dld_link (); -+int -+main () -+{ -+return dld_link (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dld_dld_link=yes -+else -+ ac_cv_lib_dld_dld_link=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -+$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -+if test "x$ac_cv_lib_dld_dld_link" = xyes; then : -+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ ;; -+ esac -+ -+ if test "x$lt_cv_dlopen" != xno; then -+ enable_dlopen=yes -+ else -+ enable_dlopen=no -+ fi -+ -+ case $lt_cv_dlopen in -+ dlopen) -+ save_CPPFLAGS="$CPPFLAGS" -+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" -+ -+ save_LDFLAGS="$LDFLAGS" -+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" -+ -+ save_LIBS="$LIBS" -+ LIBS="$lt_cv_dlopen_libs $LIBS" -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -+$as_echo_n "checking whether a program can dlopen itself... " >&6; } -+if ${lt_cv_dlopen_self+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ lt_cv_dlopen_self=cross -+else -+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 -+ lt_status=$lt_dlunknown -+ cat > conftest.$ac_ext <<_LT_EOF -+#line $LINENO "configure" -+#include "confdefs.h" -+ -+#if HAVE_DLFCN_H -+#include -+#endif -+ -+#include -+ -+#ifdef RTLD_GLOBAL -+# define LT_DLGLOBAL RTLD_GLOBAL -+#else -+# ifdef DL_GLOBAL -+# define LT_DLGLOBAL DL_GLOBAL -+# else -+# define LT_DLGLOBAL 0 -+# endif -+#endif -+ -+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we -+ find out it does not work in some platform. */ -+#ifndef LT_DLLAZY_OR_NOW -+# ifdef RTLD_LAZY -+# define LT_DLLAZY_OR_NOW RTLD_LAZY -+# else -+# ifdef DL_LAZY -+# define LT_DLLAZY_OR_NOW DL_LAZY -+# else -+# ifdef RTLD_NOW -+# define LT_DLLAZY_OR_NOW RTLD_NOW -+# else -+# ifdef DL_NOW -+# define LT_DLLAZY_OR_NOW DL_NOW -+# else -+# define LT_DLLAZY_OR_NOW 0 -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+/* When -fvisbility=hidden is used, assume the code has been annotated -+ correspondingly for the symbols needed. */ -+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -+int fnord () __attribute__((visibility("default"))); -+#endif -+ -+int fnord () { return 42; } -+int main () -+{ -+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -+ int status = $lt_dlunknown; -+ -+ if (self) -+ { -+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; -+ else -+ { -+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; -+ else puts (dlerror ()); -+ } -+ /* dlclose (self); */ -+ } -+ else -+ puts (dlerror ()); -+ -+ return status; -+} -+_LT_EOF -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then -+ (./conftest; exit; ) >&5 2>/dev/null -+ lt_status=$? -+ case x$lt_status in -+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; -+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; -+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; -+ esac -+ else : -+ # compilation failed -+ lt_cv_dlopen_self=no -+ fi -+fi -+rm -fr conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -+$as_echo "$lt_cv_dlopen_self" >&6; } -+ -+ if test "x$lt_cv_dlopen_self" = xyes; then -+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -+if ${lt_cv_dlopen_self_static+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ lt_cv_dlopen_self_static=cross -+else -+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 -+ lt_status=$lt_dlunknown -+ cat > conftest.$ac_ext <<_LT_EOF -+#line $LINENO "configure" -+#include "confdefs.h" -+ -+#if HAVE_DLFCN_H -+#include -+#endif -+ -+#include -+ -+#ifdef RTLD_GLOBAL -+# define LT_DLGLOBAL RTLD_GLOBAL -+#else -+# ifdef DL_GLOBAL -+# define LT_DLGLOBAL DL_GLOBAL -+# else -+# define LT_DLGLOBAL 0 -+# endif -+#endif -+ -+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we -+ find out it does not work in some platform. */ -+#ifndef LT_DLLAZY_OR_NOW -+# ifdef RTLD_LAZY -+# define LT_DLLAZY_OR_NOW RTLD_LAZY -+# else -+# ifdef DL_LAZY -+# define LT_DLLAZY_OR_NOW DL_LAZY -+# else -+# ifdef RTLD_NOW -+# define LT_DLLAZY_OR_NOW RTLD_NOW -+# else -+# ifdef DL_NOW -+# define LT_DLLAZY_OR_NOW DL_NOW -+# else -+# define LT_DLLAZY_OR_NOW 0 -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+/* When -fvisbility=hidden is used, assume the code has been annotated -+ correspondingly for the symbols needed. */ -+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -+int fnord () __attribute__((visibility("default"))); -+#endif -+ -+int fnord () { return 42; } -+int main () -+{ -+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -+ int status = $lt_dlunknown; -+ -+ if (self) -+ { -+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; -+ else -+ { -+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; -+ else puts (dlerror ()); -+ } -+ /* dlclose (self); */ -+ } -+ else -+ puts (dlerror ()); -+ -+ return status; -+} -+_LT_EOF -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then -+ (./conftest; exit; ) >&5 2>/dev/null -+ lt_status=$? -+ case x$lt_status in -+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; -+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; -+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; -+ esac -+ else : -+ # compilation failed -+ lt_cv_dlopen_self_static=no -+ fi -+fi -+rm -fr conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -+$as_echo "$lt_cv_dlopen_self_static" >&6; } -+ fi -+ -+ CPPFLAGS="$save_CPPFLAGS" -+ LDFLAGS="$save_LDFLAGS" -+ LIBS="$save_LIBS" -+ ;; -+ esac -+ -+ case $lt_cv_dlopen_self in -+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; -+ *) enable_dlopen_self=unknown ;; -+ esac -+ -+ case $lt_cv_dlopen_self_static in -+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; -+ *) enable_dlopen_self_static=unknown ;; -+ esac -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+striplib= -+old_striplib= -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -+$as_echo_n "checking whether stripping libraries is possible... " >&6; } -+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then -+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" -+ test -z "$striplib" && striplib="$STRIP --strip-unneeded" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+else -+# FIXME - insert some real tests, host_os isn't really good enough -+ case $host_os in -+ darwin*) -+ if test -n "$STRIP" ; then -+ striplib="$STRIP -x" -+ old_striplib="$STRIP -S" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ fi -+ ;; -+ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ ;; -+ esac -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ # Report which library types will actually be built -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -+$as_echo_n "checking if libtool supports shared libraries... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -+$as_echo "$can_build_shared" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -+$as_echo_n "checking whether to build shared libraries... " >&6; } -+ test "$can_build_shared" = "no" && enable_shared=no -+ -+ # On AIX, shared libraries and static libraries use the same namespace, and -+ # are all built from PIC. -+ case $host_os in -+ aix3*) -+ test "$enable_shared" = yes && enable_static=no -+ if test -n "$RANLIB"; then -+ archive_cmds="$archive_cmds~\$RANLIB \$lib" -+ postinstall_cmds='$RANLIB $lib' -+ fi -+ ;; -+ -+ aix[4-9]*) -+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then -+ test "$enable_shared" = yes && enable_static=no -+ fi -+ ;; -+ esac -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -+$as_echo "$enable_shared" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -+$as_echo_n "checking whether to build static libraries... " >&6; } -+ # Make sure either enable_shared or enable_static is yes. -+ test "$enable_shared" = yes || enable_static=yes -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -+$as_echo "$enable_static" >&6; } -+ -+ -+ -+ -+fi -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+CC="$lt_save_CC" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ ac_config_commands="$ac_config_commands libtool" -+ -+ -+ -+ -+# Only expand once: -+ -+ -+ -+ -+ CFLAG_VISIBILITY= -+ HAVE_VISIBILITY=0 -+ if test -n "$GCC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 -+$as_echo_n "checking for simple visibility declarations... " >&6; } -+ if ${gl_cv_cc_visibility+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ gl_save_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -fvisibility=hidden" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+extern __attribute__((__visibility__("hidden"))) int hiddenvar; -+ extern __attribute__((__visibility__("default"))) int exportedvar; -+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); -+ extern __attribute__((__visibility__("default"))) int exportedfunc (void); -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_cc_visibility=yes -+else -+ gl_cv_cc_visibility=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ CFLAGS="$gl_save_CFLAGS" -+fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 -+$as_echo "$gl_cv_cc_visibility" >&6; } -+ if test $gl_cv_cc_visibility = yes; then -+ CFLAG_VISIBILITY="-fvisibility=hidden" -+ HAVE_VISIBILITY=1 -+ fi -+ fi -+ -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_VISIBILITY $HAVE_VISIBILITY -+_ACEOF -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5 -+$as_echo_n "checking for nl_langinfo and CODESET... " >&6; } -+if ${am_cv_langinfo_codeset+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+char* cs = nl_langinfo(CODESET); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ am_cv_langinfo_codeset=yes -+else -+ am_cv_langinfo_codeset=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5 -+$as_echo "$am_cv_langinfo_codeset" >&6; } -+ if test $am_cv_langinfo_codeset = yes; then -+ -+$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5 -+$as_echo_n "checking for working fcntl.h... " >&6; } -+if ${gl_cv_header_working_fcntl_h+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ gl_cv_header_working_fcntl_h=cross-compiling -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ #include -+ #include -+ #include -+ #ifndef O_NOATIME -+ #define O_NOATIME 0 -+ #endif -+ #ifndef O_NOFOLLOW -+ #define O_NOFOLLOW 0 -+ #endif -+ static int const constants[] = -+ { -+ O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, -+ O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY -+ }; -+ -+int -+main () -+{ -+ -+ int status = !constants; -+ { -+ static char const sym[] = "conftest.sym"; -+ if (symlink (".", sym) != 0 -+ || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0) -+ status |= 32; -+ unlink (sym); -+ } -+ { -+ static char const file[] = "confdefs.h"; -+ int fd = open (file, O_RDONLY | O_NOATIME); -+ char c; -+ struct stat st0, st1; -+ if (fd < 0 -+ || fstat (fd, &st0) != 0 -+ || sleep (1) != 0 -+ || read (fd, &c, 1) != 1 -+ || close (fd) != 0 -+ || stat (file, &st1) != 0 -+ || st0.st_atime != st1.st_atime) -+ status |= 64; -+ } -+ return status; -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ gl_cv_header_working_fcntl_h=yes -+else -+ case $? in #( -+ 32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( -+ 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( -+ 96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( -+ *) gl_cv_header_working_fcntl_h='no';; -+ esac -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5 -+$as_echo "$gl_cv_header_working_fcntl_h" >&6; } -+ -+ case $gl_cv_header_working_fcntl_h in #( -+ *O_NOATIME* | no | cross-compiling) ac_val=0;; #( -+ *) ac_val=1;; -+ esac -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_WORKING_O_NOATIME $ac_val -+_ACEOF -+ -+ -+ case $gl_cv_header_working_fcntl_h in #( -+ *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( -+ *) ac_val=1;; -+ esac -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_WORKING_O_NOFOLLOW $ac_val -+_ACEOF -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5 -+$as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; } -+if ${ac_cv_gnu_library_2_1+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+#include -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) -+ Lucky GNU user -+ #endif -+#endif -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "Lucky GNU user" >/dev/null 2>&1; then : -+ ac_cv_gnu_library_2_1=yes -+else -+ ac_cv_gnu_library_2_1=no -+fi -+rm -f conftest* -+ -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5 -+$as_echo "$ac_cv_gnu_library_2_1" >&6; } -+ -+ GLIBC21="$ac_cv_gnu_library_2_1" -+ -+ -+for ac_func in setlocale -+do : -+ ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" -+if test "x$ac_cv_func_setlocale" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_SETLOCALE 1 -+_ACEOF -+ -+fi -+done -+ -+ -+ac_config_files="$ac_config_files Makefile" -+ -+ac_config_files="$ac_config_files lib/Makefile" -+ -+ac_config_files="$ac_config_files include/localcharset.h:include/localcharset.h.build.in" -+ -+ac_config_files="$ac_config_files include/localcharset.h.inst:include/localcharset.h.in" -+ -+cat >confcache <<\_ACEOF -+# This file is a shell script that caches the results of configure -+# tests run on this system so they can be shared between configure -+# scripts and configure runs, see configure's option --config-cache. -+# It is not useful on other systems. If it contains results you don't -+# want to keep, you may remove or edit it. -+# -+# config.status only pays attention to the cache file if you give it -+# the --recheck option to rerun configure. -+# -+# `ac_cv_env_foo' variables (set or unset) will be overridden when -+# loading this file, other *unset* `ac_cv_foo' will be assigned the -+# following values. -+ -+_ACEOF -+ -+# The following way of writing the cache mishandles newlines in values, -+# but we know of no workaround that is simple, portable, and efficient. -+# So, we kill variables containing newlines. -+# Ultrix sh set writes to stderr and can't be redirected directly, -+# and sets the high bit in the cache file unless we assign to the vars. -+( -+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do -+ eval ac_val=\$$ac_var -+ case $ac_val in #( -+ *${as_nl}*) -+ case $ac_var in #( -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; -+ esac -+ case $ac_var in #( -+ _ | IFS | as_nl) ;; #( -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; -+ esac ;; -+ esac -+ done -+ -+ (set) 2>&1 | -+ case $as_nl`(ac_space=' '; set) 2>&1` in #( -+ *${as_nl}ac_space=\ *) -+ # `set' does not quote correctly, so add quotes: double-quote -+ # substitution turns \\\\ into \\, and sed turns \\ into \. -+ sed -n \ -+ "s/'/'\\\\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" -+ ;; #( -+ *) -+ # `set' quotes correctly as required by POSIX, so do not add quotes. -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -+ ;; -+ esac | -+ sort -+) | -+ sed ' -+ /^ac_cv_env_/b end -+ t clear -+ :clear -+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ -+ t end -+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ -+ :end' >>confcache -+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else -+ if test -w "$cache_file"; then -+ if test "x$cache_file" != "x/dev/null"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -+$as_echo "$as_me: updating cache $cache_file" >&6;} -+ if test ! -f "$cache_file" || test -h "$cache_file"; then -+ cat confcache >"$cache_file" -+ else -+ case $cache_file in #( -+ */* | ?:*) -+ mv -f confcache "$cache_file"$$ && -+ mv -f "$cache_file"$$ "$cache_file" ;; #( -+ *) -+ mv -f confcache "$cache_file" ;; -+ esac -+ fi -+ fi -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} -+ fi -+fi -+rm -f confcache -+ -+test "x$prefix" = xNONE && prefix=$ac_default_prefix -+# Let make expand exec_prefix. -+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -+ -+DEFS=-DHAVE_CONFIG_H -+ -+ac_libobjs= -+ac_ltlibobjs= -+U= -+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue -+ # 1. Remove the extension, and $U if already installed. -+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' -+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` -+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR -+ # will be set to the directory where LIBOBJS objects are built. -+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" -+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -+done -+LIBOBJS=$ac_libobjs -+ -+LTLIBOBJS=$ac_ltlibobjs -+ -+ -+ -+: "${CONFIG_STATUS=./config.status}" -+ac_write_fail=0 -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files $CONFIG_STATUS" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -+as_write_fail=0 -+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -+#! $SHELL -+# Generated by $as_me. -+# Run this file to recreate the current configuration. -+# Compiler output produced by configure, useful for debugging -+# configure, is in config.log if it exists. -+ -+debug=false -+ac_cs_recheck=false -+ac_cs_silent=false -+ -+SHELL=\${CONFIG_SHELL-$SHELL} -+export SHELL -+_ASEOF -+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## -+ -+# Be more Bourne compatible -+DUALCASE=1; export DUALCASE # for MKS sh -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+ -+ -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' -+ fi -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' -+fi -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } -+fi -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. Quoting is -+# there to prevent editors from complaining about space-tab. -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word -+# splitting by setting IFS to empty value.) -+IFS=" "" $as_nl" -+ -+# Find who we are. Look in the path if we contain no directory separator. -+as_myself= -+case $0 in #(( -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done -+IFS=$as_save_IFS -+ -+ ;; -+esac -+# We did not find ourselves, most probably we were run as `sh COMMAND' -+# in which case we are not to be found in the path. -+if test "x$as_myself" = x; then -+ as_myself=$0 -+fi -+if test ! -f "$as_myself"; then -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 -+fi -+ -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -+done -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+ -+# as_fn_error STATUS ERROR [LINENO LOG_FD] -+# ---------------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with STATUS, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$1; test $as_status -eq 0 && as_status=1 -+ if test "$4"; then -+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 -+ fi -+ $as_echo "$as_me: error: $2" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+if expr a : '\(a\)' >/dev/null 2>&1 && -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi -+ -+as_me=`$as_basename -- "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac -+ -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null -+fi -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -pR'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -pR' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -pR' -+ fi -+else -+ as_ln_s='cp -pR' -+fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null -+ -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+ -+# as_fn_executable_p FILE -+# ----------------------- -+# Test if FILE is an executable regular file. -+as_fn_executable_p () -+{ -+ test -f "$1" && test -x "$1" -+} # as_fn_executable_p -+as_test_x='test -x' -+as_executable_p=as_fn_executable_p -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+ -+exec 6>&1 -+## ----------------------------------- ## -+## Main body of $CONFIG_STATUS script. ## -+## ----------------------------------- ## -+_ASEOF -+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# Save the log message, to keep $0 and so on meaningful, and to -+# report actual input values of CONFIG_FILES etc. instead of their -+# values after options handling. -+ac_log=" -+This file was extended by $as_me, which was -+generated by GNU Autoconf 2.69. Invocation command line was -+ -+ CONFIG_FILES = $CONFIG_FILES -+ CONFIG_HEADERS = $CONFIG_HEADERS -+ CONFIG_LINKS = $CONFIG_LINKS -+ CONFIG_COMMANDS = $CONFIG_COMMANDS -+ $ $0 $@ -+ -+on `(hostname || uname -n) 2>/dev/null | sed 1q` -+" -+ -+_ACEOF -+ -+case $ac_config_files in *" -+"*) set x $ac_config_files; shift; ac_config_files=$*;; -+esac -+ -+case $ac_config_headers in *" -+"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -+esac -+ -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+# Files that config.status was made for. -+config_files="$ac_config_files" -+config_headers="$ac_config_headers" -+config_commands="$ac_config_commands" -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ac_cs_usage="\ -+\`$as_me' instantiates files and other configuration actions -+from templates according to the current configuration. Unless the files -+and actions are specified as TAGs, all are instantiated by default. -+ -+Usage: $0 [OPTION]... [TAG]... -+ -+ -h, --help print this help, then exit -+ -V, --version print version number and configuration settings, then exit -+ --config print configuration, then exit -+ -q, --quiet, --silent -+ do not print progress messages -+ -d, --debug don't remove temporary files -+ --recheck update $as_me by reconfiguring in the same conditions -+ --file=FILE[:TEMPLATE] -+ instantiate the configuration file FILE -+ --header=FILE[:TEMPLATE] -+ instantiate the configuration header FILE -+ -+Configuration files: -+$config_files -+ -+Configuration headers: -+$config_headers -+ -+Configuration commands: -+$config_commands -+ -+Report bugs to the package provider." -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -+ac_cs_version="\\ -+config.status -+configured by $0, generated by GNU Autoconf 2.69, -+ with options \\"\$ac_cs_config\\" -+ -+Copyright (C) 2012 Free Software Foundation, Inc. -+This config.status script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it." -+ -+ac_pwd='$ac_pwd' -+srcdir='$srcdir' -+INSTALL='$INSTALL' -+AWK='$AWK' -+test -n "\$AWK" || AWK=awk -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# The default lists apply if the user does not specify any file. -+ac_need_defaults=: -+while test $# != 0 -+do -+ case $1 in -+ --*=?*) -+ ac_option=`expr "X$1" : 'X\([^=]*\)='` -+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` -+ ac_shift=: -+ ;; -+ --*=) -+ ac_option=`expr "X$1" : 'X\([^=]*\)='` -+ ac_optarg= -+ ac_shift=: -+ ;; -+ *) -+ ac_option=$1 -+ ac_optarg=$2 -+ ac_shift=shift -+ ;; -+ esac -+ -+ case $ac_option in -+ # Handling of the options. -+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -+ ac_cs_recheck=: ;; -+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) -+ $as_echo "$ac_cs_version"; exit ;; -+ --config | --confi | --conf | --con | --co | --c ) -+ $as_echo "$ac_cs_config"; exit ;; -+ --debug | --debu | --deb | --de | --d | -d ) -+ debug=: ;; -+ --file | --fil | --fi | --f ) -+ $ac_shift -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ '') as_fn_error $? "missing file argument" ;; -+ esac -+ as_fn_append CONFIG_FILES " '$ac_optarg'" -+ ac_need_defaults=false;; -+ --header | --heade | --head | --hea ) -+ $ac_shift -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ as_fn_append CONFIG_HEADERS " '$ac_optarg'" -+ ac_need_defaults=false;; -+ --he | --h) -+ # Conflict between --help and --header -+ as_fn_error $? "ambiguous option: \`$1' -+Try \`$0 --help' for more information.";; -+ --help | --hel | -h ) -+ $as_echo "$ac_cs_usage"; exit ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil | --si | --s) -+ ac_cs_silent=: ;; -+ -+ # This is an error. -+ -*) as_fn_error $? "unrecognized option: \`$1' -+Try \`$0 --help' for more information." ;; -+ -+ *) as_fn_append ac_config_targets " $1" -+ ac_need_defaults=false ;; -+ -+ esac -+ shift -+done -+ -+ac_configure_extra_args= -+ -+if $ac_cs_silent; then -+ exec 6>/dev/null -+ ac_configure_extra_args="$ac_configure_extra_args --silent" -+fi -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+if \$ac_cs_recheck; then -+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -+ shift -+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 -+ CONFIG_SHELL='$SHELL' -+ export CONFIG_SHELL -+ exec "\$@" -+fi -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+exec 5>>config.log -+{ -+ echo -+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -+## Running $as_me. ## -+_ASBOX -+ $as_echo "$ac_log" -+} >&5 -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+# -+# INIT-COMMANDS -+# -+ -+ -+# The HP-UX ksh and POSIX shell print the target directory to stdout -+# if CDPATH is set. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+sed_quote_subst='$sed_quote_subst' -+double_quote_subst='$double_quote_subst' -+delay_variable_subst='$delay_variable_subst' -+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' -+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' -+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' -+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' -+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' -+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' -+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' -+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' -+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' -+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' -+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' -+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' -+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' -+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' -+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' -+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' -+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' -+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' -+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' -+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' -+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' -+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' -+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' -+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' -+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' -+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' -+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' -+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' -+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' -+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' -+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' -+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' -+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' -+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' -+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' -+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' -+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' -+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' -+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' -+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' -+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' -+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' -+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' -+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' -+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' -+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' -+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' -+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' -+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' -+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' -+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' -+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' -+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' -+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' -+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' -+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' -+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' -+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' -+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' -+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' -+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' -+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' -+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' -+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' -+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' -+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' -+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' -+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' -+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' -+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' -+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' -+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' -+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' -+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' -+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' -+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' -+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' -+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' -+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' -+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' -+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' -+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' -+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' -+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' -+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' -+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' -+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' -+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' -+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' -+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' -+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' -+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' -+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' -+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' -+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' -+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' -+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' -+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' -+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' -+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' -+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' -+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' -+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' -+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' -+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' -+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' -+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' -+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' -+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' -+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' -+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' -+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' -+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' -+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' -+ -+LTCC='$LTCC' -+LTCFLAGS='$LTCFLAGS' -+compiler='$compiler_DEFAULT' -+ -+# A function that is used when there is no print builtin or printf. -+func_fallback_echo () -+{ -+ eval 'cat <<_LTECHO_EOF -+\$1 -+_LTECHO_EOF' -+} -+ -+# Quote evaled strings. -+for var in AS \ -+DLLTOOL \ -+OBJDUMP \ -+SHELL \ -+ECHO \ -+PATH_SEPARATOR \ -+SED \ -+GREP \ -+EGREP \ -+FGREP \ -+LD \ -+NM \ -+LN_S \ -+lt_SP2NL \ -+lt_NL2SP \ -+reload_flag \ -+deplibs_check_method \ -+file_magic_cmd \ -+file_magic_glob \ -+want_nocaseglob \ -+sharedlib_from_linklib_cmd \ -+AR \ -+AR_FLAGS \ -+archiver_list_spec \ -+STRIP \ -+RANLIB \ -+CC \ -+CFLAGS \ -+compiler \ -+lt_cv_sys_global_symbol_pipe \ -+lt_cv_sys_global_symbol_to_cdecl \ -+lt_cv_sys_global_symbol_to_c_name_address \ -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -+nm_file_list_spec \ -+lt_prog_compiler_no_builtin_flag \ -+lt_prog_compiler_pic \ -+lt_prog_compiler_wl \ -+lt_prog_compiler_static \ -+lt_cv_prog_compiler_c_o \ -+need_locks \ -+MANIFEST_TOOL \ -+DSYMUTIL \ -+NMEDIT \ -+LIPO \ -+OTOOL \ -+OTOOL64 \ -+shrext_cmds \ -+export_dynamic_flag_spec \ -+whole_archive_flag_spec \ -+compiler_needs_object \ -+with_gnu_ld \ -+allow_undefined_flag \ -+no_undefined_flag \ -+hardcode_libdir_flag_spec \ -+hardcode_libdir_separator \ -+exclude_expsyms \ -+include_expsyms \ -+file_list_spec \ -+variables_saved_for_relink \ -+libname_spec \ -+library_names_spec \ -+soname_spec \ -+install_override_mode \ -+finish_eval \ -+old_striplib \ -+striplib; do -+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in -+ *[\\\\\\\`\\"\\\$]*) -+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" -+ ;; -+ *) -+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" -+ ;; -+ esac -+done -+ -+# Double-quote double-evaled strings. -+for var in reload_cmds \ -+old_postinstall_cmds \ -+old_postuninstall_cmds \ -+old_archive_cmds \ -+extract_expsyms_cmds \ -+old_archive_from_new_cmds \ -+old_archive_from_expsyms_cmds \ -+archive_cmds \ -+archive_expsym_cmds \ -+module_cmds \ -+module_expsym_cmds \ -+export_symbols_cmds \ -+prelink_cmds \ -+postlink_cmds \ -+postinstall_cmds \ -+postuninstall_cmds \ -+finish_cmds \ -+sys_lib_search_path_spec \ -+sys_lib_dlsearch_path_spec; do -+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in -+ *[\\\\\\\`\\"\\\$]*) -+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" -+ ;; -+ *) -+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" -+ ;; -+ esac -+done -+ -+ac_aux_dir='$ac_aux_dir' -+xsi_shell='$xsi_shell' -+lt_shell_append='$lt_shell_append' -+ -+# See if we are running on zsh, and set the options which allow our -+# commands through without removal of \ escapes INIT. -+if test -n "\${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+fi -+ -+ -+ PACKAGE='$PACKAGE' -+ VERSION='$VERSION' -+ TIMESTAMP='$TIMESTAMP' -+ RM='$RM' -+ ofile='$ofile' -+ -+ -+ -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ -+# Handling of arguments. -+for ac_config_target in $ac_config_targets -+do -+ case $ac_config_target in -+ "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; -+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; -+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; -+ "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; -+ "include/localcharset.h") CONFIG_FILES="$CONFIG_FILES include/localcharset.h:include/localcharset.h.build.in" ;; -+ "include/localcharset.h.inst") CONFIG_FILES="$CONFIG_FILES include/localcharset.h.inst:include/localcharset.h.in" ;; -+ -+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; -+ esac -+done -+ -+ -+# If the user did not use the arguments to specify the items to instantiate, -+# then the envvar interface is used. Set only those that are not. -+# We use the long form for the default assignment because of an extremely -+# bizarre bug on SunOS 4.1.3. -+if $ac_need_defaults; then -+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers -+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -+fi -+ -+# Have a temporary directory for convenience. Make it in the build tree -+# simply because there is no reason against having it here, and in addition, -+# creating and moving files from /tmp can sometimes cause problems. -+# Hook for its removal unless debugging. -+# Note that there is a small window in which the directory will not be cleaned: -+# after its creation but before its name has been assigned to `$tmp'. -+$debug || -+{ -+ tmp= ac_tmp= -+ trap 'exit_status=$? -+ : "${ac_tmp:=$tmp}" -+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -+' 0 -+ trap 'as_fn_exit 1' 1 2 13 15 -+} -+# Create a (secure) tmp directory for tmp files. -+ -+{ -+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && -+ test -d "$tmp" -+} || -+{ -+ tmp=./conf$$-$RANDOM -+ (umask 077 && mkdir "$tmp") -+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -+ac_tmp=$tmp -+ -+# Set up the scripts for CONFIG_FILES section. -+# No need to generate them if there are no CONFIG_FILES. -+# This happens for instance with `./config.status config.h'. -+if test -n "$CONFIG_FILES"; then -+ -+ -+ac_cr=`echo X | tr X '\015'` -+# On cygwin, bash can eat \r inside `` if the user requested igncr. -+# But we know of no other shell where ac_cr would be empty at this -+# point, so we can use a bashism as a fallback. -+if test "x$ac_cr" = x; then -+ eval ac_cr=\$\'\\r\' -+fi -+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then -+ ac_cs_awk_cr='\\r' -+else -+ ac_cs_awk_cr=$ac_cr -+fi -+ -+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -+_ACEOF -+ -+ -+{ -+ echo "cat >conf$$subs.awk <<_ACEOF" && -+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && -+ echo "_ACEOF" -+} >conf$$subs.sh || -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` -+ac_delim='%!_!# ' -+for ac_last_try in false false false false false :; do -+ . ./conf$$subs.sh || -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ -+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` -+ if test $ac_delim_n = $ac_delim_num; then -+ break -+ elif $ac_last_try; then -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ else -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " -+ fi -+done -+rm -f conf$$subs.sh -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && -+_ACEOF -+sed -n ' -+h -+s/^/S["/; s/!.*/"]=/ -+p -+g -+s/^[^!]*!// -+:repl -+t repl -+s/'"$ac_delim"'$// -+t delim -+:nl -+h -+s/\(.\{148\}\)..*/\1/ -+t more1 -+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -+p -+n -+b repl -+:more1 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t nl -+:delim -+h -+s/\(.\{148\}\)..*/\1/ -+t more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"/ -+p -+b -+:more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t delim -+' >$CONFIG_STATUS || ac_write_fail=1 -+rm -f conf$$subs.awk -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+_ACAWK -+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && -+ for (key in S) S_is_set[key] = 1 -+ FS = "" -+ -+} -+{ -+ line = $ 0 -+ nfields = split(line, field, "@") -+ substed = 0 -+ len = length(field[1]) -+ for (i = 2; i < nfields; i++) { -+ key = field[i] -+ keylen = length(key) -+ if (S_is_set[key]) { -+ value = S[key] -+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) -+ len += length(value) + length(field[++i]) -+ substed = 1 -+ } else -+ len += 1 + keylen -+ } -+ -+ print line -+} -+ -+_ACAWK -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then -+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -+else -+ cat -+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ -+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -+_ACEOF -+ -+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and -+# trailing colons and then remove the whole line if VPATH becomes empty -+# (actually we leave an empty line to preserve line numbers). -+if test "x$srcdir" = x.; then -+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -+h -+s/// -+s/^/:/ -+s/[ ]*$/:/ -+s/:\$(srcdir):/:/g -+s/:\${srcdir}:/:/g -+s/:@srcdir@:/:/g -+s/^:*// -+s/:*$// -+x -+s/\(=[ ]*\).*/\1/ -+G -+s/\n// -+s/^[^=]*=[ ]*$// -+}' -+fi -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+fi # test -n "$CONFIG_FILES" -+ -+# Set up the scripts for CONFIG_HEADERS section. -+# No need to generate them if there are no CONFIG_HEADERS. -+# This happens for instance with `./config.status Makefile'. -+if test -n "$CONFIG_HEADERS"; then -+cat >"$ac_tmp/defines.awk" <<\_ACAWK || -+BEGIN { -+_ACEOF -+ -+# Transform confdefs.h into an awk script `defines.awk', embedded as -+# here-document in config.status, that substitutes the proper values into -+# config.h.in to produce config.h. -+ -+# Create a delimiter string that does not exist in confdefs.h, to ease -+# handling of long lines. -+ac_delim='%!_!# ' -+for ac_last_try in false false :; do -+ ac_tt=`sed -n "/$ac_delim/p" confdefs.h` -+ if test -z "$ac_tt"; then -+ break -+ elif $ac_last_try; then -+ as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 -+ else -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " -+ fi -+done -+ -+# For the awk script, D is an array of macro values keyed by name, -+# likewise P contains macro parameters if any. Preserve backslash -+# newline sequences. -+ -+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -+sed -n ' -+s/.\{148\}/&'"$ac_delim"'/g -+t rset -+:rset -+s/^[ ]*#[ ]*define[ ][ ]*/ / -+t def -+d -+:def -+s/\\$// -+t bsnl -+s/["\\]/\\&/g -+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -+D["\1"]=" \3"/p -+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -+d -+:bsnl -+s/["\\]/\\&/g -+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -+D["\1"]=" \3\\\\\\n"\\/p -+t cont -+s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -+t cont -+d -+:cont -+n -+s/.\{148\}/&'"$ac_delim"'/g -+t clear -+:clear -+s/\\$// -+t bsnlc -+s/["\\]/\\&/g; s/^/"/; s/$/"/p -+d -+:bsnlc -+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -+b cont -+' >$CONFIG_STATUS || ac_write_fail=1 -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ for (key in D) D_is_set[key] = 1 -+ FS = "" -+} -+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { -+ line = \$ 0 -+ split(line, arg, " ") -+ if (arg[1] == "#") { -+ defundef = arg[2] -+ mac1 = arg[3] -+ } else { -+ defundef = substr(arg[1], 2) -+ mac1 = arg[2] -+ } -+ split(mac1, mac2, "(") #) -+ macro = mac2[1] -+ prefix = substr(line, 1, index(line, defundef) - 1) -+ if (D_is_set[macro]) { -+ # Preserve the white space surrounding the "#". -+ print prefix "define", macro P[macro] D[macro] -+ next -+ } else { -+ # Replace #undef with comments. This is necessary, for example, -+ # in the case of _POSIX_SOURCE, which is predefined and required -+ # on some systems where configure will not decide to define it. -+ if (defundef == "undef") { -+ print "/*", prefix defundef, macro, "*/" -+ next -+ } -+ } -+} -+{ print } -+_ACAWK -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 -+fi # test -n "$CONFIG_HEADERS" -+ -+ -+eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" -+shift -+for ac_tag -+do -+ case $ac_tag in -+ :[FHLC]) ac_mode=$ac_tag; continue;; -+ esac -+ case $ac_mode$ac_tag in -+ :[FHL]*:*);; -+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; -+ :[FH]-) ac_tag=-:-;; -+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; -+ esac -+ ac_save_IFS=$IFS -+ IFS=: -+ set x $ac_tag -+ IFS=$ac_save_IFS -+ shift -+ ac_file=$1 -+ shift -+ -+ case $ac_mode in -+ :L) ac_source=$1;; -+ :[FH]) -+ ac_file_inputs= -+ for ac_f -+ do -+ case $ac_f in -+ -) ac_f="$ac_tmp/stdin";; -+ *) # Look for the file first in the build tree, then in the source tree -+ # (if the path is not absolute). The absolute path cannot be DOS-style, -+ # because $ac_f cannot contain `:'. -+ test -f "$ac_f" || -+ case $ac_f in -+ [\\/$]*) false;; -+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; -+ esac || -+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; -+ esac -+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac -+ as_fn_append ac_file_inputs " '$ac_f'" -+ done -+ -+ # Let's still pretend it is `configure' which instantiates (i.e., don't -+ # use $as_me), people would be surprised to read: -+ # /* config.h. Generated by config.status. */ -+ configure_input='Generated from '` -+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' -+ `' by configure.' -+ if test x"$ac_file" != x-; then -+ configure_input="$ac_file. $configure_input" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -+$as_echo "$as_me: creating $ac_file" >&6;} -+ fi -+ # Neutralize special characters interpreted by sed in replacement strings. -+ case $configure_input in #( -+ *\&* | *\|* | *\\* ) -+ ac_sed_conf_input=`$as_echo "$configure_input" | -+ sed 's/[\\\\&|]/\\\\&/g'`;; #( -+ *) ac_sed_conf_input=$configure_input;; -+ esac -+ -+ case $ac_tag in -+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; -+ esac -+ ;; -+ esac -+ -+ ac_dir=`$as_dirname -- "$ac_file" || -+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$ac_file" : 'X\(//\)[^/]' \| \ -+ X"$ac_file" : 'X\(//\)$' \| \ -+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$ac_file" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ as_dir="$ac_dir"; as_fn_mkdir_p -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ -+ case $ac_mode in -+ :F) -+ # -+ # CONFIG_FILE -+ # -+ -+ case $INSTALL in -+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; -+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; -+ esac -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# If the template does not know about datarootdir, expand it. -+# FIXME: This hack should be removed a few years after 2.60. -+ac_datarootdir_hack=; ac_datarootdir_seen= -+ac_sed_dataroot=' -+/datarootdir/ { -+ p -+ q -+} -+/@datadir@/p -+/@docdir@/p -+/@infodir@/p -+/@localedir@/p -+/@mandir@/p' -+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -+*datarootdir*) ac_datarootdir_seen=yes;; -+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ ac_datarootdir_hack=' -+ s&@datadir@&$datadir&g -+ s&@docdir@&$docdir&g -+ s&@infodir@&$infodir&g -+ s&@localedir@&$localedir&g -+ s&@mandir@&$mandir&g -+ s&\\\${datarootdir}&$datarootdir&g' ;; -+esac -+_ACEOF -+ -+# Neutralize VPATH when `$srcdir' = `.'. -+# Shell code in configure.ac might set extrasub. -+# FIXME: do we really want to maintain this feature? -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_sed_extra="$ac_vpsub -+$extrasub -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+:t -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -+s|@configure_input@|$ac_sed_conf_input|;t t -+s&@top_builddir@&$ac_top_builddir_sub&;t t -+s&@top_build_prefix@&$ac_top_build_prefix&;t t -+s&@srcdir@&$ac_srcdir&;t t -+s&@abs_srcdir@&$ac_abs_srcdir&;t t -+s&@top_srcdir@&$ac_top_srcdir&;t t -+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -+s&@builddir@&$ac_builddir&;t t -+s&@abs_builddir@&$ac_abs_builddir&;t t -+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -+s&@INSTALL@&$ac_INSTALL&;t t -+$ac_datarootdir_hack -+" -+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ -+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ -+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && -+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && -+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ -+ "$ac_tmp/out"`; test -z "$ac_out"; } && -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined" >&5 -+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined" >&2;} -+ -+ rm -f "$ac_tmp/stdin" -+ case $ac_file in -+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; -+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; -+ esac \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ ;; -+ :H) -+ # -+ # CONFIG_HEADER -+ # -+ if test x"$ac_file" != x-; then -+ { -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" -+ } >"$ac_tmp/config.h" \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 -+$as_echo "$as_me: $ac_file is unchanged" >&6;} -+ else -+ rm -f "$ac_file" -+ mv "$ac_tmp/config.h" "$ac_file" \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ fi -+ else -+ $as_echo "/* $configure_input */" \ -+ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ -+ || as_fn_error $? "could not create -" "$LINENO" 5 -+ fi -+ ;; -+ -+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -+$as_echo "$as_me: executing $ac_file commands" >&6;} -+ ;; -+ esac -+ -+ -+ case $ac_file$ac_mode in -+ "libtool":C) -+ -+ # See if we are running on zsh, and set the options which allow our -+ # commands through without removal of \ escapes. -+ if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+ fi -+ -+ cfgfile="${ofile}T" -+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15 -+ $RM "$cfgfile" -+ -+ cat <<_LT_EOF >> "$cfgfile" -+#! $SHELL -+ -+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -+# NOTE: Changes made to this file will be lost: look at ltmain.sh. -+# -+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software -+# Foundation, Inc. -+# Written by Gordon Matzigkeit, 1996 -+# -+# This file is part of GNU Libtool. -+# -+# GNU Libtool is free software; you can redistribute it and/or -+# modify it under the terms of the GNU General Public License as -+# published by the Free Software Foundation; either version 2 of -+# the License, or (at your option) any later version. -+# -+# As a special exception to the GNU General Public License, -+# if you distribute this file as part of a program or library that -+# is built using GNU Libtool, you may include this file under the -+# same distribution terms that you use for the rest of that program. -+# -+# GNU Libtool is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with GNU Libtool; see the file COPYING. If not, a copy -+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -+# obtained by writing to the Free Software Foundation, Inc., -+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -+ -+ -+# The names of the tagged configurations supported by this script. -+available_tags="" -+ -+# ### BEGIN LIBTOOL CONFIG -+ -+# Which release of libtool.m4 was used? -+macro_version=$macro_version -+macro_revision=$macro_revision -+ -+# Assembler program. -+AS=$lt_AS -+ -+# DLL creation program. -+DLLTOOL=$lt_DLLTOOL -+ -+# Object dumper program. -+OBJDUMP=$lt_OBJDUMP -+ -+# Whether or not to build shared libraries. -+build_libtool_libs=$enable_shared -+ -+# Whether or not to build static libraries. -+build_old_libs=$enable_static -+ -+# What type of objects to build. -+pic_mode=$pic_mode -+ -+# Whether or not to optimize for fast installation. -+fast_install=$enable_fast_install -+ -+# Shell to use when invoking shell scripts. -+SHELL=$lt_SHELL -+ -+# An echo program that protects backslashes. -+ECHO=$lt_ECHO -+ -+# The PATH separator for the build system. -+PATH_SEPARATOR=$lt_PATH_SEPARATOR -+ -+# The host system. -+host_alias=$host_alias -+host=$host -+host_os=$host_os -+ -+# The build system. -+build_alias=$build_alias -+build=$build -+build_os=$build_os -+ -+# A sed program that does not truncate output. -+SED=$lt_SED -+ -+# Sed that helps us avoid accidentally triggering echo(1) options like -n. -+Xsed="\$SED -e 1s/^X//" -+ -+# A grep program that handles long lines. -+GREP=$lt_GREP -+ -+# An ERE matcher. -+EGREP=$lt_EGREP -+ -+# A literal string matcher. -+FGREP=$lt_FGREP -+ -+# A BSD- or MS-compatible name lister. -+NM=$lt_NM -+ -+# Whether we need soft or hard links. -+LN_S=$lt_LN_S -+ -+# What is the maximum length of a command? -+max_cmd_len=$max_cmd_len -+ -+# Object file suffix (normally "o"). -+objext=$ac_objext -+ -+# Executable file suffix (normally ""). -+exeext=$exeext -+ -+# whether the shell understands "unset". -+lt_unset=$lt_unset -+ -+# turn spaces into newlines. -+SP2NL=$lt_lt_SP2NL -+ -+# turn newlines into spaces. -+NL2SP=$lt_lt_NL2SP -+ -+# convert \$build file names to \$host format. -+to_host_file_cmd=$lt_cv_to_host_file_cmd -+ -+# convert \$build files to toolchain format. -+to_tool_file_cmd=$lt_cv_to_tool_file_cmd -+ -+# Method to check whether dependent libraries are shared objects. -+deplibs_check_method=$lt_deplibs_check_method -+ -+# Command to use when deplibs_check_method = "file_magic". -+file_magic_cmd=$lt_file_magic_cmd -+ -+# How to find potential files when deplibs_check_method = "file_magic". -+file_magic_glob=$lt_file_magic_glob -+ -+# Find potential files using nocaseglob when deplibs_check_method = "file_magic". -+want_nocaseglob=$lt_want_nocaseglob -+ -+# Command to associate shared and link libraries. -+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd -+ -+# The archiver. -+AR=$lt_AR -+ -+# Flags to create an archive. -+AR_FLAGS=$lt_AR_FLAGS -+ -+# How to feed a file listing to the archiver. -+archiver_list_spec=$lt_archiver_list_spec -+ -+# A symbol stripping program. -+STRIP=$lt_STRIP -+ -+# Commands used to install an old-style archive. -+RANLIB=$lt_RANLIB -+old_postinstall_cmds=$lt_old_postinstall_cmds -+old_postuninstall_cmds=$lt_old_postuninstall_cmds -+ -+# Whether to use a lock for old archive extraction. -+lock_old_archive_extraction=$lock_old_archive_extraction -+ -+# A C compiler. -+LTCC=$lt_CC -+ -+# LTCC compiler flags. -+LTCFLAGS=$lt_CFLAGS -+ -+# Take the output of nm and produce a listing of raw symbols and C names. -+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -+ -+# Transform the output of nm in a proper C declaration. -+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -+ -+# Transform the output of nm in a C name address pair. -+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -+ -+# Transform the output of nm in a C name address pair when lib prefix is needed. -+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix -+ -+# Specify filename containing input files for \$NM. -+nm_file_list_spec=$lt_nm_file_list_spec -+ -+# The root where to search for dependent libraries,and in which our libraries should be installed. -+lt_sysroot=$lt_sysroot -+ -+# The name of the directory that contains temporary libtool files. -+objdir=$objdir -+ -+# Used to examine libraries when file_magic_cmd begins with "file". -+MAGIC_CMD=$MAGIC_CMD -+ -+# Must we lock files when doing compilation? -+need_locks=$lt_need_locks -+ -+# Manifest tool. -+MANIFEST_TOOL=$lt_MANIFEST_TOOL -+ -+# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -+DSYMUTIL=$lt_DSYMUTIL -+ -+# Tool to change global to local symbols on Mac OS X. -+NMEDIT=$lt_NMEDIT -+ -+# Tool to manipulate fat objects and archives on Mac OS X. -+LIPO=$lt_LIPO -+ -+# ldd/readelf like tool for Mach-O binaries on Mac OS X. -+OTOOL=$lt_OTOOL -+ -+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -+OTOOL64=$lt_OTOOL64 -+ -+# Old archive suffix (normally "a"). -+libext=$libext -+ -+# Shared library suffix (normally ".so"). -+shrext_cmds=$lt_shrext_cmds -+ -+# The commands to extract the exported symbol list from a shared archive. -+extract_expsyms_cmds=$lt_extract_expsyms_cmds -+ -+# Variables whose values should be saved in libtool wrapper scripts and -+# restored at link time. -+variables_saved_for_relink=$lt_variables_saved_for_relink -+ -+# Do we need the "lib" prefix for modules? -+need_lib_prefix=$need_lib_prefix -+ -+# Do we need a version for libraries? -+need_version=$need_version -+ -+# Library versioning type. -+version_type=$version_type -+ -+# Shared library runtime path variable. -+runpath_var=$runpath_var -+ -+# Shared library path variable. -+shlibpath_var=$shlibpath_var -+ -+# Is shlibpath searched before the hard-coded library search path? -+shlibpath_overrides_runpath=$shlibpath_overrides_runpath -+ -+# Format of library name prefix. -+libname_spec=$lt_libname_spec -+ -+# List of archive names. First name is the real one, the rest are links. -+# The last name is the one that the linker finds with -lNAME -+library_names_spec=$lt_library_names_spec -+ -+# The coded name of the library, if different from the real name. -+soname_spec=$lt_soname_spec -+ -+# Permission mode override for installation of shared libraries. -+install_override_mode=$lt_install_override_mode -+ -+# Command to use after installation of a shared archive. -+postinstall_cmds=$lt_postinstall_cmds -+ -+# Command to use after uninstallation of a shared archive. -+postuninstall_cmds=$lt_postuninstall_cmds -+ -+# Commands used to finish a libtool library installation in a directory. -+finish_cmds=$lt_finish_cmds -+ -+# As "finish_cmds", except a single script fragment to be evaled but -+# not shown. -+finish_eval=$lt_finish_eval -+ -+# Whether we should hardcode library paths into libraries. -+hardcode_into_libs=$hardcode_into_libs -+ -+# Compile-time system search path for libraries. -+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -+ -+# Run-time system search path for libraries. -+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -+ -+# Whether dlopen is supported. -+dlopen_support=$enable_dlopen -+ -+# Whether dlopen of programs is supported. -+dlopen_self=$enable_dlopen_self -+ -+# Whether dlopen of statically linked programs is supported. -+dlopen_self_static=$enable_dlopen_self_static -+ -+# Commands to strip libraries. -+old_striplib=$lt_old_striplib -+striplib=$lt_striplib -+ -+ -+# The linker used to build libraries. -+LD=$lt_LD -+ -+# How to create reloadable object files. -+reload_flag=$lt_reload_flag -+reload_cmds=$lt_reload_cmds -+ -+# Commands used to build an old-style archive. -+old_archive_cmds=$lt_old_archive_cmds -+ -+# A language specific compiler. -+CC=$lt_compiler -+ -+# Is the compiler the GNU compiler? -+with_gcc=$GCC -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag -+ -+# Additional compiler flags for building library objects. -+pic_flag=$lt_lt_prog_compiler_pic -+ -+# How to pass a linker flag through the compiler. -+wl=$lt_lt_prog_compiler_wl -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag=$lt_lt_prog_compiler_static -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o=$lt_lt_cv_prog_compiler_c_o -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=$archive_cmds_need_lc -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec=$lt_whole_archive_flag_spec -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object=$lt_compiler_needs_object -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds -+ -+# Commands used to build a shared archive. -+archive_cmds=$lt_archive_cmds -+archive_expsym_cmds=$lt_archive_expsym_cmds -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds=$lt_module_cmds -+module_expsym_cmds=$lt_module_expsym_cmds -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld=$lt_with_gnu_ld -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag=$lt_allow_undefined_flag -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag=$lt_no_undefined_flag -+ -+# Flag to hardcode \$libdir into a binary during linking. -+# This must work even if \$libdir does not exist -+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator=$lt_hardcode_libdir_separator -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=$hardcode_direct -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=$hardcode_direct_absolute -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=$hardcode_minus_L -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=$hardcode_shlibpath_var -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=$hardcode_automatic -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=$inherit_rpath -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=$link_all_deplibs -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=$always_export_symbols -+ -+# The commands to list exported symbols. -+export_symbols_cmds=$lt_export_symbols_cmds -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms=$lt_exclude_expsyms -+ -+# Symbols that must always be exported. -+include_expsyms=$lt_include_expsyms -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds=$lt_prelink_cmds -+ -+# Commands necessary for finishing linking programs. -+postlink_cmds=$lt_postlink_cmds -+ -+# Specify filename containing input files. -+file_list_spec=$lt_file_list_spec -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=$hardcode_action -+ -+# ### END LIBTOOL CONFIG -+ -+_LT_EOF -+ -+ case $host_os in -+ aix3*) -+ cat <<\_LT_EOF >> "$cfgfile" -+# AIX sometimes has problems with the GCC collect2 program. For some -+# reason, if we set the COLLECT_NAMES environment variable, the problems -+# vanish in a puff of smoke. -+if test "X${COLLECT_NAMES+set}" != Xset; then -+ COLLECT_NAMES= -+ export COLLECT_NAMES -+fi -+_LT_EOF -+ ;; -+ esac -+ -+ -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+ -+ # We use sed instead of cat because bash on DJGPP gets confused if -+ # if finds mixed CR/LF and LF-only lines. Since sed operates in -+ # text mode, it properly converts lines to CR/LF. This bash problem -+ # is reportedly fixed, but why not run on old versions too? -+ sed '$q' "$ltmain" >> "$cfgfile" \ -+ || (rm -f "$cfgfile"; exit 1) -+ -+ if test x"$xsi_shell" = xyes; then -+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ -+func_dirname ()\ -+{\ -+\ case ${1} in\ -+\ */*) func_dirname_result="${1%/*}${2}" ;;\ -+\ * ) func_dirname_result="${3}" ;;\ -+\ esac\ -+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_basename ()$/,/^} # func_basename /c\ -+func_basename ()\ -+{\ -+\ func_basename_result="${1##*/}"\ -+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ -+func_dirname_and_basename ()\ -+{\ -+\ case ${1} in\ -+\ */*) func_dirname_result="${1%/*}${2}" ;;\ -+\ * ) func_dirname_result="${3}" ;;\ -+\ esac\ -+\ func_basename_result="${1##*/}"\ -+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ -+func_stripname ()\ -+{\ -+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ -+\ # positional parameters, so assign one to ordinary parameter first.\ -+\ func_stripname_result=${3}\ -+\ func_stripname_result=${func_stripname_result#"${1}"}\ -+\ func_stripname_result=${func_stripname_result%"${2}"}\ -+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ -+func_split_long_opt ()\ -+{\ -+\ func_split_long_opt_name=${1%%=*}\ -+\ func_split_long_opt_arg=${1#*=}\ -+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ -+func_split_short_opt ()\ -+{\ -+\ func_split_short_opt_arg=${1#??}\ -+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ -+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ -+func_lo2o ()\ -+{\ -+\ case ${1} in\ -+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ -+\ *) func_lo2o_result=${1} ;;\ -+\ esac\ -+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_xform ()$/,/^} # func_xform /c\ -+func_xform ()\ -+{\ -+ func_xform_result=${1%.*}.lo\ -+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_arith ()$/,/^} # func_arith /c\ -+func_arith ()\ -+{\ -+ func_arith_result=$(( $* ))\ -+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_len ()$/,/^} # func_len /c\ -+func_len ()\ -+{\ -+ func_len_result=${#1}\ -+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+fi -+ -+if test x"$lt_shell_append" = xyes; then -+ sed -e '/^func_append ()$/,/^} # func_append /c\ -+func_append ()\ -+{\ -+ eval "${1}+=\\${2}"\ -+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ -+func_append_quoted ()\ -+{\ -+\ func_quote_for_eval "${2}"\ -+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ -+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ # Save a `func_append' function call where possible by direct use of '+=' -+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+ test 0 -eq $? || _lt_function_replace_fail=: -+else -+ # Save a `func_append' function call even when '+=' is not available -+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+ test 0 -eq $? || _lt_function_replace_fail=: -+fi -+ -+if test x"$_lt_function_replace_fail" = x":"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 -+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} -+fi -+ -+ -+ mv -f "$cfgfile" "$ofile" || -+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") -+ chmod +x "$ofile" -+ -+ ;; -+ -+ esac -+done # for ac_tag -+ -+ -+as_fn_exit 0 -+_ACEOF -+ac_clean_files=$ac_clean_files_save -+ -+test $ac_write_fail = 0 || -+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 -+ -+ -+# configure is writing to config.log, and then calls config.status. -+# config.status does its own redirection, appending to config.log. -+# Unfortunately, on DOS this fails, as config.log is still kept open -+# by configure, so config.status won't be able to write to it; its -+# output is simply discarded. So we exec the FD to /dev/null, -+# effectively closing config.log, so it can be properly (re)opened and -+# appended to by config.status. When coming back to configure, we -+# need to make the FD available again. -+if test "$no_create" != yes; then -+ ac_cs_success=: -+ ac_config_status_args= -+ test "$silent" = yes && -+ ac_config_status_args="$ac_config_status_args --quiet" -+ exec 5>/dev/null -+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false -+ exec 5>>config.log -+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which -+ # would make configure fail if this is the last instruction. -+ $ac_cs_success || as_fn_exit 1 -+fi -+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -+fi -+ -diff -Naur libiconv-20130504/libcharset/include/localcharset.h.build.in libiconv-20130504.patch/libcharset/include/localcharset.h.build.in ---- libiconv-20130504/libcharset/include/localcharset.h.build.in 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/libcharset/include/localcharset.h.build.in 2013-05-04 10:23:36.363087825 +0200 -@@ -0,0 +1,46 @@ -+/* Determine a canonical name for the current locale's character encoding. -+ Copyright (C) 2000-2003 Free Software Foundation, Inc. -+ This file is part of the GNU CHARSET Library. -+ -+ This program is free software; you can redistribute it and/or modify it -+ under the terms of the GNU Library General Public License as published -+ by the Free Software Foundation; either version 2, 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 -+ Library General Public License for more details. -+ -+ You should have received a copy of the GNU Library General Public License -+ along with this program; if not, see . */ -+ -+#ifndef _LOCALCHARSET_H -+#define _LOCALCHARSET_H -+ -+#if @HAVE_VISIBILITY@ && BUILDING_LIBCHARSET -+#define LIBCHARSET_DLL_EXPORTED __attribute__((__visibility__("default"))) -+#else -+#define LIBCHARSET_DLL_EXPORTED -+#endif -+ -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* Determine the current locale's character encoding, and canonicalize it -+ into one of the canonical names listed in config.charset. -+ The result must not be freed; it is statically allocated. -+ If the canonical name cannot be determined, the result is a non-canonical -+ name. */ -+extern LIBCHARSET_DLL_EXPORTED const char * locale_charset (void); -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+ -+#endif /* _LOCALCHARSET_H */ -diff -Naur libiconv-20130504/libcharset/Makefile.devel libiconv-20130504.patch/libcharset/Makefile.devel -diff -Naur libiconv-20130504/Makefile.devel libiconv-20130504.patch/Makefile.devel -diff -Naur libiconv-20130504/man/iconv.1.html libiconv-20130504.patch/man/iconv.1.html ---- libiconv-20130504/man/iconv.1.html 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/man/iconv.1.html 2013-05-04 10:23:32.725098482 +0200 -@@ -0,0 +1,206 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ICONV -+ -+ -+ -+ -+

ICONV

-+ -+NAME
-+SYNOPSIS
-+DESCRIPTION
-+EXAMPLES
-+CONFORMING TO
-+SEE ALSO
-+ -+
-+ -+ -+

NAME -+ -+

-+ -+ -+

iconv − -+character set conversion

-+ -+

SYNOPSIS -+ -+

-+ -+ -+

iconv -+[OPTION...] [−f encoding] -+[−t encoding] [inputfile ...] -+
-+iconv −l

-+ -+

DESCRIPTION -+ -+

-+ -+ -+

The -+iconv program converts text from one encoding to -+another encoding. More precisely, it converts from -+the encoding given for the −f option to -+the encoding given for the −t option. Either of -+these encodings defaults to the encoding of the current -+locale. All the inputfiles are read and converted in -+turn; if no inputfile is given, the standard input is -+used. The converted text is printed to standard output.

-+ -+

The encodings -+permitted are system dependent. For the libiconv -+implementation, they are listed in the iconv_open(3) manual -+page.

-+ -+

Options -+controlling the input and output format:
-+−f
encoding, -+−−from−code=encoding

-+ -+

Specifies the encoding of the -+input.

-+ -+

−t -+encoding, -+−−to−code=encoding

-+ -+

Specifies the encoding of the -+output.

-+ -+

Options -+controlling conversion problems:

-+ -+ -+ -+ -+ -+ -+ -+
-+ -+ -+

−c

-+ -+ -+

When this option is given, characters that cannot be -+converted are silently discarded, instead of leading to a -+conversion error.

-+ -+ -+

−−unicode−subst=formatstring

-+ -+

When this option is given, -+Unicode characters that cannot be represented in the target -+encoding are replaced with a placeholder string that is -+constructed from the given formatstring, applied to -+the Unicode code point. The formatstring must be a -+format string in the same format as for the printf -+command or the printf() function, taking either no -+argument or exactly one unsigned integer argument.

-+ -+ -+

−−byte−subst=formatstring

-+ -+

When this option is given, -+bytes in the input that are not valid in the source encoding -+are replaced with a placeholder string that is constructed -+from the given formatstring, applied to the -+byte’s value. The formatstring must be a format -+string in the same format as for the printf command -+or the printf() function, taking either no argument -+or exactly one unsigned integer argument.

-+ -+ -+

−−widechar−subst=formatstring

-+ -+

When this option is given, wide -+characters in the input that are not valid in the source -+encoding are replaced with a placeholder string that is -+constructed from the given formatstring, applied to -+the byte’s value. The formatstring must be a -+format string in the same format as for the printf -+command or the printf() function, taking either no -+argument or exactly one unsigned integer argument.

-+ -+

Options -+controlling error output:
-+−s
, −−silent

-+ -+

When this option is given, -+error messages about invalid or unconvertible characters are -+omitted, but the actual converted text is unaffected.

-+ -+

The iconv -+−l or iconv −−list command -+lists the names of the supported encodings, in a system -+dependent format. For the libiconv implementation, the names -+are printed in upper case, separated by whitespace, and -+alias names of an encoding are listed on the same line as -+the encoding itself.

-+ -+

EXAMPLES -+ -+

-+ -+ -+

iconv -+−f ISO−8859−1 −t UTF−8

-+ -+

converts input from the old -+West-European encoding ISO−8859−1 to -+Unicode.

-+ -+

iconv -+−f KOI8−R -+−−byte−subst="<0x%x>"
-+ -+−−unicode−subst="<U+%04X>"

-+ -+

converts input from the old -+Russian encoding KOI8−R to the locale encoding, -+substituting an angle bracket notation with hexadecimal -+numbers for invalid bytes and for valid but unconvertible -+characters.

-+ -+

iconv -+−−list

-+ -+

lists the supported -+encodings.

-+ -+

CONFORMING TO -+ -+

-+ -+ -+

POSIX:2001

-+ -+

SEE ALSO -+ -+

-+ -+ -+ -+

iconv_open(3), -+locale(7)

-+
-+ -+ -diff -Naur libiconv-20130504/man/iconv.3.html libiconv-20130504.patch/man/iconv.3.html ---- libiconv-20130504/man/iconv.3.html 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/man/iconv.3.html 2013-05-04 10:23:32.792098286 +0200 -@@ -0,0 +1,207 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ICONV -+ -+ -+ -+ -+

ICONV

-+ -+NAME
-+SYNOPSIS
-+DESCRIPTION
-+RETURN VALUE
-+ERRORS
-+CONFORMING TO
-+SEE ALSO
-+ -+
-+ -+ -+

NAME -+ -+

-+ -+ -+

iconv − -+perform character set conversion

-+ -+

SYNOPSIS -+ -+

-+ -+ -+

#include -+<iconv.h>

-+ -+

size_t iconv -+(iconv_t cd,
-+const char* *
inbuf, size_t * -+inbytesleft,
-+char* *
outbuf, size_t * -+outbytesleft);

-+ -+

DESCRIPTION -+ -+

-+ -+ -+

The argument -+cd must be a conversion descriptor created using the -+function iconv_open.

-+ -+

The main case -+is when inbuf is not NULL and *inbuf is not -+NULL. In this case, the iconv function converts the -+multibyte sequence starting at *inbuf to a multibyte -+sequence starting at *outbuf. At most -+*inbytesleft bytes, starting at *inbuf, will -+be read. At most *outbytesleft bytes, starting at -+*outbuf, will be written.

-+ -+

The -+iconv function converts one multibyte character at a -+time, and for each character conversion it increments -+*inbuf and decrements *inbytesleft by the -+number of converted input bytes, it increments -+*outbuf and decrements *outbytesleft by the -+number of converted output bytes, and it updates the -+conversion state contained in cd. If the character -+encoding of the input is stateful, the iconv function -+can also convert a sequence of input bytes to an update of -+the conversion state without producing any output bytes; -+such input is called a shift sequence. The conversion -+can stop for four reasons:

-+ -+

1. An invalid -+multibyte sequence is encountered in the input. In this case -+it sets errno to EILSEQ and returns -+(size_t)(−1). *inbuf is left pointing to the -+beginning of the invalid multibyte sequence.

-+ -+

2. The input -+byte sequence has been entirely converted, i.e. -+*inbytesleft has gone down to 0. In this case -+iconv returns the number of non-reversible -+conversions performed during this call.

-+ -+

3. An -+incomplete multibyte sequence is encountered in the input, -+and the input byte sequence terminates after it. In this -+case it sets errno to EINVAL and returns -+(size_t)(−1). *inbuf is left pointing to the -+beginning of the incomplete multibyte sequence.

-+ -+

4. The output -+buffer has no more room for the next converted character. In -+this case it sets errno to E2BIG and returns -+(size_t)(−1).

-+ -+

A different -+case is when inbuf is NULL or *inbuf is NULL, -+but outbuf is not NULL and *outbuf is not -+NULL. In this case, the iconv function attempts to -+set cd’s conversion state to the initial state -+and store a corresponding shift sequence at *outbuf. -+At most *outbytesleft bytes, starting at -+*outbuf, will be written. If the output buffer has no -+more room for this reset sequence, it sets errno to -+E2BIG and returns (size_t)(−1). Otherwise it -+increments *outbuf and decrements -+*outbytesleft by the number of bytes written.

-+ -+

A third case is -+when inbuf is NULL or *inbuf is NULL, and -+outbuf is NULL or *outbuf is NULL. In this -+case, the iconv function sets cd’s -+conversion state to the initial state.

-+ -+

RETURN VALUE -+ -+

-+ -+ -+

The -+iconv function returns the number of characters -+converted in a non-reversible way during this call; -+reversible conversions are not counted. In case of error, it -+sets errno and returns (size_t)(−1).

-+ -+

ERRORS -+ -+

-+ -+ -+

The following -+errors can occur, among others:

-+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+
-+ -+ -+

E2BIG

-+ -+ -+

There is not sufficient room at *outbuf.

-+ -+ -+

EILSEQ

-+ -+ -+

An invalid multibyte sequence has been encountered in -+the input.

-+ -+ -+

EINVAL

-+ -+ -+

An incomplete multibyte sequence has been encountered in -+the input.

-+ -+

CONFORMING TO -+ -+

-+ -+ -+

POSIX:2001

-+ -+

SEE ALSO -+ -+

-+ -+ -+ -+

iconv_open(3), -+iconvctl(3) iconv_close(3)

-+
-+ -+ -diff -Naur libiconv-20130504/man/iconv_close.3.html libiconv-20130504.patch/man/iconv_close.3.html ---- libiconv-20130504/man/iconv_close.3.html 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/man/iconv_close.3.html 2013-05-04 10:23:32.870098057 +0200 -@@ -0,0 +1,90 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ICONV_CLOSE -+ -+ -+ -+ -+

ICONV_CLOSE

-+ -+NAME
-+SYNOPSIS
-+DESCRIPTION
-+RETURN VALUE
-+CONFORMING TO
-+SEE ALSO
-+ -+
-+ -+ -+

NAME -+ -+

-+ -+ -+

iconv_close -+− deallocate descriptor for character set -+conversion

-+ -+

SYNOPSIS -+ -+

-+ -+ -+

#include -+<iconv.h>

-+ -+

int -+iconv_close (iconv_t cd);

-+ -+

DESCRIPTION -+ -+

-+ -+ -+

The -+iconv_close function deallocates a conversion -+descriptor cd previously allocated using -+iconv_open.

-+ -+

RETURN VALUE -+ -+

-+ -+ -+

When -+successful, the iconv_close function returns 0. In -+case of error, it sets errno and returns -+−1.

-+ -+

CONFORMING TO -+ -+

-+ -+ -+

POSIX:2001

-+ -+

SEE ALSO -+ -+

-+ -+ -+ -+

iconv_open(3) -+iconv(3)

-+
-+ -+ -diff -Naur libiconv-20130504/man/iconv_open.3.html libiconv-20130504.patch/man/iconv_open.3.html ---- libiconv-20130504/man/iconv_open.3.html 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/man/iconv_open.3.html 2013-05-04 10:23:32.973097756 +0200 -@@ -0,0 +1,319 @@ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ICONV_OPEN -+ -+ -+ -+ -+

ICONV_OPEN

-+ -+NAME
-+SYNOPSIS
-+DESCRIPTION
-+RETURN VALUE
-+ERRORS
-+CONFORMING TO
-+SEE ALSO
-+ -+
-+ -+ -+

NAME -+ -+

-+ -+ -+

iconv_open -+− allocate descriptor for character set conversion

-+ -+

SYNOPSIS -+ -+

-+ -+ -+

#include -+<iconv.h>

-+ -+

iconv_t -+iconv_open (const char* tocode, const -+char* fromcode);

-+ -+

DESCRIPTION -+ -+

-+ -+ -+

The -+iconv_open function allocates a conversion descriptor -+suitable for converting byte sequences from character -+encoding fromcode to character encoding -+tocode.

-+ -+

The values -+permitted for fromcode and tocode and the -+supported combinations are system dependent. For the -+libiconv library, the following encodings are supported, in -+all combinations.
-+European languages

-+ -+

ASCII, -+ISO−8859−{1,2,3,4,5,7,9,10,13,14,15,16}, -+KOI8−R, KOI8−U, KOI8−RU, -+CP{1250,1251,1252,1253,1254,1257}, CP{850,866,1131}, -+Mac{Roman,CentralEurope,Iceland,Croatian,Romania}, -+Mac{Cyrillic,Ukraine,Greek,Turkish}, Macintosh

-+ -+

Semitic languages

-+ -+

ISO−8859−{6,8}, -+CP{1255,1256}, CP862, Mac{Hebrew,Arabic}

-+ -+

Japanese

-+ -+

EUC−JP, SHIFT_JIS, CP932, -+ISO−2022−JP, ISO−2022−JP−2, -+ISO−2022−JP−1, -+ISO-2022−JP−MS

-+ -+

Chinese

-+ -+

EUC−CN, HZ, GBK, CP936, -+GB18030, EUC−TW, BIG5, CP950, BIG5−HKSCS, -+BIG5−HKSCS:2004, BIG5−HKSCS:2001, -+BIG5−HKSCS:1999, ISO−2022−CN, -+ISO−2022−CN−EXT

-+ -+ -+ -+ -+ -+ -+ -+ -+
-+ -+ -+

Korean

-+ -+ -+

EUC−KR, CP949, ISO−2022−KR, JOHAB

-+
-+ -+

Armenian

-+ -+

ARMSCII−8

-+ -+

Georgian

-+ -+

Georgian−Academy, -+Georgian−PS

-+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+
-+ -+ -+

Tajik

-+ -+ -+

KOI8−T

-+
-+ -+ -+

Kazakh

-+ -+ -+

PT154, RK1048

-+
-+ -+ -+

Thai

-+ -+ -+

TIS−620, CP874, MacThai

-+
-+ -+

Laotian

-+ -+

MuleLao−1, CP1133

-+ -+

Vietnamese

-+ -+

VISCII, TCVN, CP1258

-+ -+

Platform specifics

-+ -+

HP−ROMAN8, NEXTSTEP

-+ -+

Full Unicode

-+ -+

UTF−8
-+UCS−2, UCS−2BE, UCS−2LE
-+UCS−4, UCS−4BE, UCS−4LE
-+UTF−16, UTF−16BE, UTF−16LE
-+UTF−32, UTF−32BE, UTF−32LE
-+UTF−7
-+C99, JAVA

-+ -+

Full Unicode, in terms of -+uint16_t or uint32_t

-+ -+

(with machine dependent -+endianness and alignment)
-+UCS−2−INTERNAL, UCS−4−INTERNAL

-+ -+

Locale dependent, in terms of -+char or wchar_t

-+ -+

(with machine dependent -+endianness and alignment, and with semantics depending on -+the OS and the current LC_CTYPE locale facet)
-+char, wchar_t

-+ -+

When configured -+with the option -+−−enable−extra−encodings, it -+also provides support for a few extra encodings:
-+European languages

-+ -+ -+

CP{437,737,775,852,853,855,857,858,860,861,863,865,869,1125}

-+ -+

Semitic languages

-+ -+

CP864

-+ -+

Japanese

-+ -+

EUC−JISX0213, -+Shift_JISX0213, ISO−2022−JP−3

-+ -+

Chinese

-+ -+

BIG5−2003 -+(experimental)

-+ -+

Turkmen

-+ -+

TDS565

-+ -+

Platform specifics

-+ -+

ATARIST, -+RISCOS−LATIN1

-+ -+

The empty -+encoding name "" is equivalent to -+"char": it denotes the locale dependent character -+encoding.

-+ -+

When the string -+"//TRANSLIT" is appended to tocode, -+transliteration is activated. This means that when a -+character cannot be represented in the target character set, -+it can be approximated through one or several characters -+that look similar to the original character.

-+ -+

When the string -+"//IGNORE" is appended to tocode, -+characters that cannot be represented in the target -+character set will be silently discarded.

-+ -+

The resulting -+conversion descriptor can be used with iconv any -+number of times. It remains valid until deallocated using -+iconv_close.

-+ -+

A conversion -+descriptor contains a conversion state. After creation using -+iconv_open, the state is in the initial state. Using -+iconv modifies the descriptor’s conversion -+state. (This implies that a conversion descriptor can not be -+used in multiple threads simultaneously.) To bring the state -+back to the initial state, use iconv with NULL as -+inbuf argument.

-+ -+

RETURN VALUE -+ -+

-+ -+ -+

The -+iconv_open function returns a freshly allocated -+conversion descriptor. In case of error, it sets -+errno and returns (iconv_t)(−1).

-+ -+

ERRORS -+ -+

-+ -+ -+

The following -+error can occur, among others:

-+ -+ -+ -+ -+ -+ -+ -+
-+ -+ -+

EINVAL

-+ -+ -+

The conversion from fromcode to tocode is -+not supported by the implementation.

-+ -+

CONFORMING TO -+ -+

-+ -+ -+

POSIX:2001

-+ -+

SEE ALSO -+ -+

-+ -+ -+ -+

iconv(3) -+iconvctl(3) iconv_close(3)

-+
-+ -+ -diff -Naur libiconv-20130504/preload/aclocal.m4 libiconv-20130504.patch/preload/aclocal.m4 ---- libiconv-20130504/preload/aclocal.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/preload/aclocal.m4 2013-05-04 10:23:34.339093754 +0200 -@@ -0,0 +1,21 @@ -+# generated automatically by aclocal 1.12.2 -*- Autoconf -*- -+ -+# Copyright (C) 1996-2012 Free Software Foundation, Inc. -+ -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -+# PARTICULAR PURPOSE. -+ -+m4_include([../srcm4/extensions.m4]) -+m4_include([../srcm4/relocatable-lib.m4]) -+m4_include([../srcm4/visibility.m4]) -+m4_include([../m4/libtool.m4]) -+m4_include([../m4/ltoptions.m4]) -+m4_include([../m4/ltsugar.m4]) -+m4_include([../m4/ltversion.m4]) -+m4_include([../m4/lt~obsolete.m4]) -diff -Naur libiconv-20130504/preload/autom4te.cache/output.0 libiconv-20130504.patch/preload/autom4te.cache/output.0 -diff -Naur libiconv-20130504/preload/autom4te.cache/output.1 libiconv-20130504.patch/preload/autom4te.cache/output.1 -diff -Naur libiconv-20130504/preload/autom4te.cache/requests libiconv-20130504.patch/preload/autom4te.cache/requests -diff -Naur libiconv-20130504/preload/autom4te.cache/traces.0 libiconv-20130504.patch/preload/autom4te.cache/traces.0 -diff -Naur libiconv-20130504/preload/autom4te.cache/traces.1 libiconv-20130504.patch/preload/autom4te.cache/traces.1 -diff -Naur libiconv-20130504/preload/configure libiconv-20130504.patch/preload/configure ---- libiconv-20130504/preload/configure 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/preload/configure 2013-05-04 10:23:34.819092348 +0200 -@@ -0,0 +1,13379 @@ -+#! /bin/sh -+# Guess values for system-dependent variables and create Makefiles. -+# Generated by GNU Autoconf 2.69. -+# -+# -+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. -+# -+# -+# This configure script is free software; the Free Software Foundation -+# gives unlimited permission to copy, distribute and modify it. -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## -+ -+# Be more Bourne compatible -+DUALCASE=1; export DUALCASE # for MKS sh -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+ -+ -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' -+ fi -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' -+fi -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } -+fi -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. Quoting is -+# there to prevent editors from complaining about space-tab. -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word -+# splitting by setting IFS to empty value.) -+IFS=" "" $as_nl" -+ -+# Find who we are. Look in the path if we contain no directory separator. -+as_myself= -+case $0 in #(( -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done -+IFS=$as_save_IFS -+ -+ ;; -+esac -+# We did not find ourselves, most probably we were run as `sh COMMAND' -+# in which case we are not to be found in the path. -+if test "x$as_myself" = x; then -+ as_myself=$0 -+fi -+if test ! -f "$as_myself"; then -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 -+fi -+ -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -+done -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+# Use a proper internal environment variable to ensure we don't fall -+ # into an infinite loop, continuously re-executing ourselves. -+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then -+ _as_can_reexec=no; export _as_can_reexec; -+ # We cannot yet assume a decent shell, so we have to provide a -+# neutralization value for shells without unset; and this also -+# works around shells that cannot unset nonexistent variables. -+# Preserve -v and -x to the replacement shell. -+BASH_ENV=/dev/null -+ENV=/dev/null -+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -+case $- in # (((( -+ *v*x* | *x*v* ) as_opts=-vx ;; -+ *v* ) as_opts=-v ;; -+ *x* ) as_opts=-x ;; -+ * ) as_opts= ;; -+esac -+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -+# Admittedly, this is quite paranoid, since all the known shells bail -+# out after a failed `exec'. -+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -+as_fn_exit 255 -+ fi -+ # We don't want this to propagate to other subprocesses. -+ { _as_can_reexec=; unset _as_can_reexec;} -+if test "x$CONFIG_SHELL" = x; then -+ as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '\${1+\"\$@\"}'='\"\$@\"' -+ setopt NO_GLOB_SUBST -+else -+ case \`(set -o) 2>/dev/null\` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+" -+ as_required="as_fn_return () { (exit \$1); } -+as_fn_success () { as_fn_return 0; } -+as_fn_failure () { as_fn_return 1; } -+as_fn_ret_success () { return 0; } -+as_fn_ret_failure () { return 1; } -+ -+exitcode=0 -+as_fn_success || { exitcode=1; echo as_fn_success failed.; } -+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } -+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } -+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } -+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : -+ -+else -+ exitcode=1; echo positional parameters were not saved. -+fi -+test x\$exitcode = x0 || exit 1 -+test -x / || exit 1" -+ as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO -+ as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO -+ eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && -+ test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 -+test \$(( 1 + 1 )) = 2 || exit 1 -+ -+ test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( -+ ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO -+ ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO -+ PATH=/empty FPATH=/empty; export PATH FPATH -+ test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ -+ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" -+ if (eval "$as_required") 2>/dev/null; then : -+ as_have_required=yes -+else -+ as_have_required=no -+fi -+ if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : -+ -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+as_found=false -+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ as_found=: -+ case $as_dir in #( -+ /*) -+ for as_base in sh bash ksh sh5; do -+ # Try only shells that exist, to save several forks. -+ as_shell=$as_dir/$as_base -+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ CONFIG_SHELL=$as_shell as_have_required=yes -+ if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : -+ break 2 -+fi -+fi -+ done;; -+ esac -+ as_found=false -+done -+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && -+ { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : -+ CONFIG_SHELL=$SHELL as_have_required=yes -+fi; } -+IFS=$as_save_IFS -+ -+ -+ if test "x$CONFIG_SHELL" != x; then : -+ export CONFIG_SHELL -+ # We cannot yet assume a decent shell, so we have to provide a -+# neutralization value for shells without unset; and this also -+# works around shells that cannot unset nonexistent variables. -+# Preserve -v and -x to the replacement shell. -+BASH_ENV=/dev/null -+ENV=/dev/null -+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -+case $- in # (((( -+ *v*x* | *x*v* ) as_opts=-vx ;; -+ *v* ) as_opts=-v ;; -+ *x* ) as_opts=-x ;; -+ * ) as_opts= ;; -+esac -+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -+# Admittedly, this is quite paranoid, since all the known shells bail -+# out after a failed `exec'. -+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -+exit 255 -+fi -+ -+ if test x$as_have_required = xno; then : -+ $as_echo "$0: This script requires a shell more modern than all" -+ $as_echo "$0: the shells that I found on your system." -+ if test x${ZSH_VERSION+set} = xset ; then -+ $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" -+ $as_echo "$0: be upgraded to zsh 4.3.4 or later." -+ else -+ $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -+$0: including any error possibly output before this -+$0: message. Then install a modern shell, or manually run -+$0: the script under such a shell if you do have one." -+ fi -+ exit 1 -+fi -+fi -+fi -+SHELL=${CONFIG_SHELL-/bin/sh} -+export SHELL -+# Unset more variables known to interfere with behavior of common tools. -+CLICOLOR_FORCE= GREP_OPTIONS= -+unset CLICOLOR_FORCE GREP_OPTIONS -+ -+## --------------------- ## -+## M4sh Shell Functions. ## -+## --------------------- ## -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+ -+# as_fn_executable_p FILE -+# ----------------------- -+# Test if FILE is an executable regular file. -+as_fn_executable_p () -+{ -+ test -f "$1" && test -x "$1" -+} # as_fn_executable_p -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+# as_fn_error STATUS ERROR [LINENO LOG_FD] -+# ---------------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with STATUS, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$1; test $as_status -eq 0 && as_status=1 -+ if test "$4"; then -+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 -+ fi -+ $as_echo "$as_me: error: $2" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+if expr a : '\(a\)' >/dev/null 2>&1 && -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi -+ -+as_me=`$as_basename -- "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+ -+ as_lineno_1=$LINENO as_lineno_1a=$LINENO -+ as_lineno_2=$LINENO as_lineno_2a=$LINENO -+ eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && -+ test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { -+ # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) -+ sed -n ' -+ p -+ /[$]LINENO/= -+ ' <$as_myself | -+ sed ' -+ s/[$]LINENO.*/&-/ -+ t lineno -+ b -+ :lineno -+ N -+ :loop -+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ -+ t loop -+ s/-\n.*// -+ ' >$as_me.lineno && -+ chmod +x "$as_me.lineno" || -+ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } -+ -+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have -+ # already done that, so ensure we don't try to do so again and fall -+ # in an infinite loop. This has already happened in practice. -+ _as_can_reexec=no; export _as_can_reexec -+ # Don't try to exec as it changes $[0], causing all sort of problems -+ # (the dirname of $[0] is not the place where we might find the -+ # original and so on. Autoconf is especially sensitive to this). -+ . "./$as_me.lineno" -+ # Exit status is that of the last command. -+ exit -+} -+ -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac -+ -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null -+fi -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -pR'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -pR' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -pR' -+ fi -+else -+ as_ln_s='cp -pR' -+fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null -+ -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+as_test_x='test -x' -+as_executable_p=as_fn_executable_p -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+SHELL=${CONFIG_SHELL-/bin/sh} -+ -+ -+test -n "$DJDIR" || exec 7<&0 &1 -+ -+# Name of the host. -+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, -+# so uname gets run too. -+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` -+ -+# -+# Initializations. -+# -+ac_default_prefix=/usr/local -+ac_clean_files= -+ac_config_libobj_dir=. -+LIBOBJS= -+cross_compiling=no -+subdirs= -+MFLAGS= -+MAKEFLAGS= -+ -+# Identity of this package. -+PACKAGE_NAME= -+PACKAGE_TARNAME= -+PACKAGE_VERSION= -+PACKAGE_STRING= -+PACKAGE_BUGREPORT= -+PACKAGE_URL= -+ -+ac_unique_file="configure.ac" -+# Factoring default headers for most tests. -+ac_includes_default="\ -+#include -+#ifdef HAVE_SYS_TYPES_H -+# include -+#endif -+#ifdef HAVE_SYS_STAT_H -+# include -+#endif -+#ifdef STDC_HEADERS -+# include -+# include -+#else -+# ifdef HAVE_STDLIB_H -+# include -+# endif -+#endif -+#ifdef HAVE_STRING_H -+# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -+# include -+# endif -+# include -+#endif -+#ifdef HAVE_STRINGS_H -+# include -+#endif -+#ifdef HAVE_INTTYPES_H -+# include -+#endif -+#ifdef HAVE_STDINT_H -+# include -+#endif -+#ifdef HAVE_UNISTD_H -+# include -+#endif" -+ -+ac_subst_vars='LTLIBOBJS -+LIBOBJS -+PLUGLIB -+HAVE_VISIBILITY -+CFLAG_VISIBILITY -+OTOOL64 -+OTOOL -+LIPO -+NMEDIT -+DSYMUTIL -+MANIFEST_TOOL -+AWK -+RANLIB -+STRIP -+ac_ct_AR -+AR -+NM -+ac_ct_DUMPBIN -+DUMPBIN -+LD -+FGREP -+SED -+LIBTOOL -+OBJDUMP -+DLLTOOL -+AS -+EGREP -+GREP -+LN_S -+RELOCATABLE -+host_os -+host_vendor -+host_cpu -+host -+build_os -+build_vendor -+build_cpu -+build -+INSTALL_DATA -+INSTALL_SCRIPT -+INSTALL_PROGRAM -+CPP -+OBJEXT -+EXEEXT -+ac_ct_CC -+CPPFLAGS -+LDFLAGS -+CFLAGS -+CC -+VERSION -+PACKAGE -+SET_MAKE -+target_alias -+host_alias -+build_alias -+LIBS -+ECHO_T -+ECHO_N -+ECHO_C -+DEFS -+mandir -+localedir -+libdir -+psdir -+pdfdir -+dvidir -+htmldir -+infodir -+docdir -+oldincludedir -+includedir -+localstatedir -+sharedstatedir -+sysconfdir -+datadir -+datarootdir -+libexecdir -+sbindir -+bindir -+program_transform_name -+prefix -+exec_prefix -+PACKAGE_URL -+PACKAGE_BUGREPORT -+PACKAGE_STRING -+PACKAGE_VERSION -+PACKAGE_TARNAME -+PACKAGE_NAME -+PATH_SEPARATOR -+SHELL' -+ac_subst_files='' -+ac_user_opts=' -+enable_option_checking -+enable_relocatable -+enable_shared -+enable_static -+with_pic -+enable_fast_install -+with_gnu_ld -+with_sysroot -+enable_libtool_lock -+' -+ ac_precious_vars='build_alias -+host_alias -+target_alias -+CC -+CFLAGS -+LDFLAGS -+LIBS -+CPPFLAGS -+CPP' -+ -+ -+# Initialize some variables set by options. -+ac_init_help= -+ac_init_version=false -+ac_unrecognized_opts= -+ac_unrecognized_sep= -+# The variables have the same names as the options, with -+# dashes changed to underlines. -+cache_file=/dev/null -+exec_prefix=NONE -+no_create= -+no_recursion= -+prefix=NONE -+program_prefix=NONE -+program_suffix=NONE -+program_transform_name=s,x,x, -+silent= -+site= -+srcdir= -+verbose= -+x_includes=NONE -+x_libraries=NONE -+ -+# Installation directory options. -+# These are left unexpanded so users can "make install exec_prefix=/foo" -+# and all the variables that are supposed to be based on exec_prefix -+# by default will actually change. -+# Use braces instead of parens because sh, perl, etc. also accept them. -+# (The list follows the same order as the GNU Coding Standards.) -+bindir='${exec_prefix}/bin' -+sbindir='${exec_prefix}/sbin' -+libexecdir='${exec_prefix}/libexec' -+datarootdir='${prefix}/share' -+datadir='${datarootdir}' -+sysconfdir='${prefix}/etc' -+sharedstatedir='${prefix}/com' -+localstatedir='${prefix}/var' -+includedir='${prefix}/include' -+oldincludedir='/usr/include' -+docdir='${datarootdir}/doc/${PACKAGE}' -+infodir='${datarootdir}/info' -+htmldir='${docdir}' -+dvidir='${docdir}' -+pdfdir='${docdir}' -+psdir='${docdir}' -+libdir='${exec_prefix}/lib' -+localedir='${datarootdir}/locale' -+mandir='${datarootdir}/man' -+ -+ac_prev= -+ac_dashdash= -+for ac_option -+do -+ # If the previous option needs an argument, assign it. -+ if test -n "$ac_prev"; then -+ eval $ac_prev=\$ac_option -+ ac_prev= -+ continue -+ fi -+ -+ case $ac_option in -+ *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; -+ *=) ac_optarg= ;; -+ *) ac_optarg=yes ;; -+ esac -+ -+ # Accept the important Cygnus configure options, so we can diagnose typos. -+ -+ case $ac_dashdash$ac_option in -+ --) -+ ac_dashdash=yes ;; -+ -+ -bindir | --bindir | --bindi | --bind | --bin | --bi) -+ ac_prev=bindir ;; -+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) -+ bindir=$ac_optarg ;; -+ -+ -build | --build | --buil | --bui | --bu) -+ ac_prev=build_alias ;; -+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) -+ build_alias=$ac_optarg ;; -+ -+ -cache-file | --cache-file | --cache-fil | --cache-fi \ -+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) -+ ac_prev=cache_file ;; -+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) -+ cache_file=$ac_optarg ;; -+ -+ --config-cache | -C) -+ cache_file=config.cache ;; -+ -+ -datadir | --datadir | --datadi | --datad) -+ ac_prev=datadir ;; -+ -datadir=* | --datadir=* | --datadi=* | --datad=*) -+ datadir=$ac_optarg ;; -+ -+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ -+ | --dataroo | --dataro | --datar) -+ ac_prev=datarootdir ;; -+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ -+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) -+ datarootdir=$ac_optarg ;; -+ -+ -disable-* | --disable-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=no ;; -+ -+ -docdir | --docdir | --docdi | --doc | --do) -+ ac_prev=docdir ;; -+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) -+ docdir=$ac_optarg ;; -+ -+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) -+ ac_prev=dvidir ;; -+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) -+ dvidir=$ac_optarg ;; -+ -+ -enable-* | --enable-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid feature name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"enable_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval enable_$ac_useropt=\$ac_optarg ;; -+ -+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ -+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ -+ | --exec | --exe | --ex) -+ ac_prev=exec_prefix ;; -+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ -+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ -+ | --exec=* | --exe=* | --ex=*) -+ exec_prefix=$ac_optarg ;; -+ -+ -gas | --gas | --ga | --g) -+ # Obsolete; use --with-gas. -+ with_gas=yes ;; -+ -+ -help | --help | --hel | --he | -h) -+ ac_init_help=long ;; -+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) -+ ac_init_help=recursive ;; -+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) -+ ac_init_help=short ;; -+ -+ -host | --host | --hos | --ho) -+ ac_prev=host_alias ;; -+ -host=* | --host=* | --hos=* | --ho=*) -+ host_alias=$ac_optarg ;; -+ -+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) -+ ac_prev=htmldir ;; -+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ -+ | --ht=*) -+ htmldir=$ac_optarg ;; -+ -+ -includedir | --includedir | --includedi | --included | --include \ -+ | --includ | --inclu | --incl | --inc) -+ ac_prev=includedir ;; -+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ -+ | --includ=* | --inclu=* | --incl=* | --inc=*) -+ includedir=$ac_optarg ;; -+ -+ -infodir | --infodir | --infodi | --infod | --info | --inf) -+ ac_prev=infodir ;; -+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) -+ infodir=$ac_optarg ;; -+ -+ -libdir | --libdir | --libdi | --libd) -+ ac_prev=libdir ;; -+ -libdir=* | --libdir=* | --libdi=* | --libd=*) -+ libdir=$ac_optarg ;; -+ -+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ -+ | --libexe | --libex | --libe) -+ ac_prev=libexecdir ;; -+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ -+ | --libexe=* | --libex=* | --libe=*) -+ libexecdir=$ac_optarg ;; -+ -+ -localedir | --localedir | --localedi | --localed | --locale) -+ ac_prev=localedir ;; -+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) -+ localedir=$ac_optarg ;; -+ -+ -localstatedir | --localstatedir | --localstatedi | --localstated \ -+ | --localstate | --localstat | --localsta | --localst | --locals) -+ ac_prev=localstatedir ;; -+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ -+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) -+ localstatedir=$ac_optarg ;; -+ -+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) -+ ac_prev=mandir ;; -+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) -+ mandir=$ac_optarg ;; -+ -+ -nfp | --nfp | --nf) -+ # Obsolete; use --without-fp. -+ with_fp=no ;; -+ -+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ -+ | --no-cr | --no-c | -n) -+ no_create=yes ;; -+ -+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ -+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) -+ no_recursion=yes ;; -+ -+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ -+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ -+ | --oldin | --oldi | --old | --ol | --o) -+ ac_prev=oldincludedir ;; -+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ -+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ -+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) -+ oldincludedir=$ac_optarg ;; -+ -+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) -+ ac_prev=prefix ;; -+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) -+ prefix=$ac_optarg ;; -+ -+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ -+ | --program-pre | --program-pr | --program-p) -+ ac_prev=program_prefix ;; -+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ -+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) -+ program_prefix=$ac_optarg ;; -+ -+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ -+ | --program-suf | --program-su | --program-s) -+ ac_prev=program_suffix ;; -+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ -+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) -+ program_suffix=$ac_optarg ;; -+ -+ -program-transform-name | --program-transform-name \ -+ | --program-transform-nam | --program-transform-na \ -+ | --program-transform-n | --program-transform- \ -+ | --program-transform | --program-transfor \ -+ | --program-transfo | --program-transf \ -+ | --program-trans | --program-tran \ -+ | --progr-tra | --program-tr | --program-t) -+ ac_prev=program_transform_name ;; -+ -program-transform-name=* | --program-transform-name=* \ -+ | --program-transform-nam=* | --program-transform-na=* \ -+ | --program-transform-n=* | --program-transform-=* \ -+ | --program-transform=* | --program-transfor=* \ -+ | --program-transfo=* | --program-transf=* \ -+ | --program-trans=* | --program-tran=* \ -+ | --progr-tra=* | --program-tr=* | --program-t=*) -+ program_transform_name=$ac_optarg ;; -+ -+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) -+ ac_prev=pdfdir ;; -+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) -+ pdfdir=$ac_optarg ;; -+ -+ -psdir | --psdir | --psdi | --psd | --ps) -+ ac_prev=psdir ;; -+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) -+ psdir=$ac_optarg ;; -+ -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ silent=yes ;; -+ -+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) -+ ac_prev=sbindir ;; -+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ -+ | --sbi=* | --sb=*) -+ sbindir=$ac_optarg ;; -+ -+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ -+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ -+ | --sharedst | --shareds | --shared | --share | --shar \ -+ | --sha | --sh) -+ ac_prev=sharedstatedir ;; -+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ -+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ -+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ -+ | --sha=* | --sh=*) -+ sharedstatedir=$ac_optarg ;; -+ -+ -site | --site | --sit) -+ ac_prev=site ;; -+ -site=* | --site=* | --sit=*) -+ site=$ac_optarg ;; -+ -+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -+ ac_prev=srcdir ;; -+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -+ srcdir=$ac_optarg ;; -+ -+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ -+ | --syscon | --sysco | --sysc | --sys | --sy) -+ ac_prev=sysconfdir ;; -+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ -+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) -+ sysconfdir=$ac_optarg ;; -+ -+ -target | --target | --targe | --targ | --tar | --ta | --t) -+ ac_prev=target_alias ;; -+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) -+ target_alias=$ac_optarg ;; -+ -+ -v | -verbose | --verbose | --verbos | --verbo | --verb) -+ verbose=yes ;; -+ -+ -version | --version | --versio | --versi | --vers | -V) -+ ac_init_version=: ;; -+ -+ -with-* | --with-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=\$ac_optarg ;; -+ -+ -without-* | --without-*) -+ ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && -+ as_fn_error $? "invalid package name: $ac_useropt" -+ ac_useropt_orig=$ac_useropt -+ ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` -+ case $ac_user_opts in -+ *" -+"with_$ac_useropt" -+"*) ;; -+ *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" -+ ac_unrecognized_sep=', ';; -+ esac -+ eval with_$ac_useropt=no ;; -+ -+ --x) -+ # Obsolete; use --with-x. -+ with_x=yes ;; -+ -+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ -+ | --x-incl | --x-inc | --x-in | --x-i) -+ ac_prev=x_includes ;; -+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ -+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) -+ x_includes=$ac_optarg ;; -+ -+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ -+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) -+ ac_prev=x_libraries ;; -+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ -+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) -+ x_libraries=$ac_optarg ;; -+ -+ -*) as_fn_error $? "unrecognized option: \`$ac_option' -+Try \`$0 --help' for more information" -+ ;; -+ -+ *=*) -+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` -+ # Reject names that are not valid shell variable names. -+ case $ac_envvar in #( -+ '' | [0-9]* | *[!_$as_cr_alnum]* ) -+ as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; -+ esac -+ eval $ac_envvar=\$ac_optarg -+ export $ac_envvar ;; -+ -+ *) -+ # FIXME: should be removed in autoconf 3.0. -+ $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 -+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && -+ $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 -+ : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" -+ ;; -+ -+ esac -+done -+ -+if test -n "$ac_prev"; then -+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` -+ as_fn_error $? "missing argument to $ac_option" -+fi -+ -+if test -n "$ac_unrecognized_opts"; then -+ case $enable_option_checking in -+ no) ;; -+ fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; -+ *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; -+ esac -+fi -+ -+# Check all directory arguments for consistency. -+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ -+ datadir sysconfdir sharedstatedir localstatedir includedir \ -+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ -+ libdir localedir mandir -+do -+ eval ac_val=\$$ac_var -+ # Remove trailing slashes. -+ case $ac_val in -+ */ ) -+ ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` -+ eval $ac_var=\$ac_val;; -+ esac -+ # Be sure to have absolute directory names. -+ case $ac_val in -+ [\\/$]* | ?:[\\/]* ) continue;; -+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;; -+ esac -+ as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" -+done -+ -+# There might be people who depend on the old broken behavior: `$host' -+# used to hold the argument of --host etc. -+# FIXME: To remove some day. -+build=$build_alias -+host=$host_alias -+target=$target_alias -+ -+# FIXME: To remove some day. -+if test "x$host_alias" != x; then -+ if test "x$build_alias" = x; then -+ cross_compiling=maybe -+ elif test "x$build_alias" != "x$host_alias"; then -+ cross_compiling=yes -+ fi -+fi -+ -+ac_tool_prefix= -+test -n "$host_alias" && ac_tool_prefix=$host_alias- -+ -+test "$silent" = yes && exec 6>/dev/null -+ -+ -+ac_pwd=`pwd` && test -n "$ac_pwd" && -+ac_ls_di=`ls -di .` && -+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || -+ as_fn_error $? "working directory cannot be determined" -+test "X$ac_ls_di" = "X$ac_pwd_ls_di" || -+ as_fn_error $? "pwd does not report name of working directory" -+ -+ -+# Find the source files, if location was not specified. -+if test -z "$srcdir"; then -+ ac_srcdir_defaulted=yes -+ # Try the directory containing this script, then the parent directory. -+ ac_confdir=`$as_dirname -- "$as_myself" || -+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_myself" : 'X\(//\)[^/]' \| \ -+ X"$as_myself" : 'X\(//\)$' \| \ -+ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_myself" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ srcdir=$ac_confdir -+ if test ! -r "$srcdir/$ac_unique_file"; then -+ srcdir=.. -+ fi -+else -+ ac_srcdir_defaulted=no -+fi -+if test ! -r "$srcdir/$ac_unique_file"; then -+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." -+ as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" -+fi -+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -+ac_abs_confdir=`( -+ cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" -+ pwd)` -+# When building in place, set srcdir=. -+if test "$ac_abs_confdir" = "$ac_pwd"; then -+ srcdir=. -+fi -+# Remove unnecessary trailing slashes from srcdir. -+# Double slashes in file names in object file debugging info -+# mess up M-x gdb in Emacs. -+case $srcdir in -+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -+esac -+for ac_var in $ac_precious_vars; do -+ eval ac_env_${ac_var}_set=\${${ac_var}+set} -+ eval ac_env_${ac_var}_value=\$${ac_var} -+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} -+ eval ac_cv_env_${ac_var}_value=\$${ac_var} -+done -+ -+# -+# Report the --help message. -+# -+if test "$ac_init_help" = "long"; then -+ # Omit some internal or obsolete options to make the list less imposing. -+ # This message is too long to be a string in the A/UX 3.1 sh. -+ cat <<_ACEOF -+\`configure' configures this package to adapt to many kinds of systems. -+ -+Usage: $0 [OPTION]... [VAR=VALUE]... -+ -+To assign environment variables (e.g., CC, CFLAGS...), specify them as -+VAR=VALUE. See below for descriptions of some of the useful variables. -+ -+Defaults for the options are specified in brackets. -+ -+Configuration: -+ -h, --help display this help and exit -+ --help=short display options specific to this package -+ --help=recursive display the short help of all the included packages -+ -V, --version display version information and exit -+ -q, --quiet, --silent do not print \`checking ...' messages -+ --cache-file=FILE cache test results in FILE [disabled] -+ -C, --config-cache alias for \`--cache-file=config.cache' -+ -n, --no-create do not create output files -+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] -+ -+Installation directories: -+ --prefix=PREFIX install architecture-independent files in PREFIX -+ [$ac_default_prefix] -+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX -+ [PREFIX] -+ -+By default, \`make install' will install all the files in -+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -+an installation prefix other than \`$ac_default_prefix' using \`--prefix', -+for instance \`--prefix=\$HOME'. -+ -+For better control, use the options below. -+ -+Fine tuning of the installation directories: -+ --bindir=DIR user executables [EPREFIX/bin] -+ --sbindir=DIR system admin executables [EPREFIX/sbin] -+ --libexecdir=DIR program executables [EPREFIX/libexec] -+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] -+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] -+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] -+ --libdir=DIR object code libraries [EPREFIX/lib] -+ --includedir=DIR C header files [PREFIX/include] -+ --oldincludedir=DIR C header files for non-gcc [/usr/include] -+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] -+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR] -+ --infodir=DIR info documentation [DATAROOTDIR/info] -+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale] -+ --mandir=DIR man documentation [DATAROOTDIR/man] -+ --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] -+ --htmldir=DIR html documentation [DOCDIR] -+ --dvidir=DIR dvi documentation [DOCDIR] -+ --pdfdir=DIR pdf documentation [DOCDIR] -+ --psdir=DIR ps documentation [DOCDIR] -+_ACEOF -+ -+ cat <<\_ACEOF -+ -+System types: -+ --build=BUILD configure for building on BUILD [guessed] -+ --host=HOST cross-compile to build programs to run on HOST [BUILD] -+_ACEOF -+fi -+ -+if test -n "$ac_init_help"; then -+ -+ cat <<\_ACEOF -+ -+Optional Features: -+ --disable-option-checking ignore unrecognized --enable/--with options -+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) -+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] -+ --enable-relocatable install a package that can be moved in the file -+ system -+ --enable-shared[=PKGS] build shared libraries [default=yes] -+ --enable-static[=PKGS] build static libraries [default=yes] -+ --enable-fast-install[=PKGS] -+ optimize for fast installation [default=yes] -+ --disable-libtool-lock avoid locking (might break parallel builds) -+ -+Optional Packages: -+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] -+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) -+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use -+ both] -+ --with-gnu-ld assume the C compiler uses GNU ld [default=no] -+ --with-sysroot=DIR Search for dependent libraries within DIR -+ (or the compiler's sysroot if not specified). -+ -+Some influential environment variables: -+ CC C compiler command -+ CFLAGS C compiler flags -+ LDFLAGS linker flags, e.g. -L if you have libraries in a -+ nonstandard directory -+ LIBS libraries to pass to the linker, e.g. -l -+ CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if -+ you have headers in a nonstandard directory -+ CPP C preprocessor -+ -+Use these variables to override the choices made by `configure' or to help -+it to find libraries and programs with nonstandard names/locations. -+ -+Report bugs to the package provider. -+_ACEOF -+ac_status=$? -+fi -+ -+if test "$ac_init_help" = "recursive"; then -+ # If there are subdirs, report their specific --help. -+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue -+ test -d "$ac_dir" || -+ { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || -+ continue -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ cd "$ac_dir" || { ac_status=$?; continue; } -+ # Check for guested configure. -+ if test -f "$ac_srcdir/configure.gnu"; then -+ echo && -+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive -+ elif test -f "$ac_srcdir/configure"; then -+ echo && -+ $SHELL "$ac_srcdir/configure" --help=recursive -+ else -+ $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 -+ fi || ac_status=$? -+ cd "$ac_pwd" || { ac_status=$?; break; } -+ done -+fi -+ -+test -n "$ac_init_help" && exit $ac_status -+if $ac_init_version; then -+ cat <<\_ACEOF -+configure -+generated by GNU Autoconf 2.69 -+ -+Copyright (C) 2012 Free Software Foundation, Inc. -+This configure script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it. -+_ACEOF -+ exit -+fi -+ -+## ------------------------ ## -+## Autoconf initialization. ## -+## ------------------------ ## -+ -+# ac_fn_c_try_compile LINENO -+# -------------------------- -+# Try to compile conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext -+ if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest.$ac_objext; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_compile -+ -+# ac_fn_c_try_cpp LINENO -+# ---------------------- -+# Try to preprocess conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_cpp () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_cpp conftest.$ac_ext" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } > conftest.i && { -+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || -+ test ! -s conftest.err -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_cpp -+ -+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES -+# ------------------------------------------------------- -+# Tests whether HEADER exists, giving a warning if it cannot be compiled using -+# the include files in INCLUDES and setting the cache variable VAR -+# accordingly. -+ac_fn_c_check_header_mongrel () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if eval \${$3+:} false; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+else -+ # Is the header compilable? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 -+$as_echo_n "checking $2 usability... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_header_compiler=yes -+else -+ ac_header_compiler=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 -+$as_echo "$ac_header_compiler" >&6; } -+ -+# Is the header present? -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 -+$as_echo_n "checking $2 presence... " >&6; } -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include <$2> -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ ac_header_preproc=yes -+else -+ ac_header_preproc=no -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 -+$as_echo "$ac_header_preproc" >&6; } -+ -+# So? What about this header? -+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( -+ yes:no: ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 -+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+ no:yes:* ) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 -+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 -+$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 -+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 -+$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -+ ;; -+esac -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ eval "$3=\$ac_header_compiler" -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+fi -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_header_mongrel -+ -+# ac_fn_c_try_run LINENO -+# ---------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes -+# that executables *can* be run. -+ac_fn_c_try_run () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: program exited with status $ac_status" >&5 -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=$ac_status -+fi -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_run -+ -+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES -+# ------------------------------------------------------- -+# Tests whether HEADER exists and can be compiled using the include files in -+# INCLUDES, setting the cache variable VAR accordingly. -+ac_fn_c_check_header_compile () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+$4 -+#include <$2> -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_header_compile -+ -+# ac_fn_c_try_link LINENO -+# ----------------------- -+# Try to link conftest.$ac_ext, and return whether this succeeded. -+ac_fn_c_try_link () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ rm -f conftest.$ac_objext conftest$ac_exeext -+ if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ grep -v '^ *+' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ mv -f conftest.er1 conftest.err -+ fi -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && { -+ test -z "$ac_c_werror_flag" || -+ test ! -s conftest.err -+ } && test -s conftest$ac_exeext && { -+ test "$cross_compiling" = yes || -+ test -x conftest$ac_exeext -+ }; then : -+ ac_retval=0 -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+ ac_retval=1 -+fi -+ # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information -+ # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would -+ # interfere with the next link command; also delete a directory that is -+ # left behind by Apple's compiler. We do this before executing the actions. -+ rm -rf conftest.dSYM conftest_ipa8_conftest.oo -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ as_fn_set_status $ac_retval -+ -+} # ac_fn_c_try_link -+ -+# ac_fn_c_check_func LINENO FUNC VAR -+# ---------------------------------- -+# Tests whether FUNC exists, setting the cache variable VAR accordingly -+ac_fn_c_check_func () -+{ -+ as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -+$as_echo_n "checking for $2... " >&6; } -+if eval \${$3+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+/* Define $2 to an innocuous variant, in case declares $2. -+ For example, HP-UX 11i declares gettimeofday. */ -+#define $2 innocuous_$2 -+ -+/* System header to define __stub macros and hopefully few prototypes, -+ which can conflict with char $2 (); below. -+ Prefer to if __STDC__ is defined, since -+ exists even on freestanding compilers. */ -+ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ -+#undef $2 -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char $2 (); -+/* The GNU C library defines this for functions which it implements -+ to always fail with ENOSYS. Some functions are actually named -+ something starting with __ and the normal name is an alias. */ -+#if defined __stub_$2 || defined __stub___$2 -+choke me -+#endif -+ -+int -+main () -+{ -+return $2 (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ eval "$3=yes" -+else -+ eval "$3=no" -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+fi -+eval ac_res=\$$3 -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -+$as_echo "$ac_res" >&6; } -+ eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -+ -+} # ac_fn_c_check_func -+cat >config.log <<_ACEOF -+This file contains any messages produced by compilers while -+running configure, to aid debugging if configure makes a mistake. -+ -+It was created by $as_me, which was -+generated by GNU Autoconf 2.69. Invocation command line was -+ -+ $ $0 $@ -+ -+_ACEOF -+exec 5>>config.log -+{ -+cat <<_ASUNAME -+## --------- ## -+## Platform. ## -+## --------- ## -+ -+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -+uname -m = `(uname -m) 2>/dev/null || echo unknown` -+uname -r = `(uname -r) 2>/dev/null || echo unknown` -+uname -s = `(uname -s) 2>/dev/null || echo unknown` -+uname -v = `(uname -v) 2>/dev/null || echo unknown` -+ -+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` -+ -+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` -+ -+_ASUNAME -+ -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ $as_echo "PATH: $as_dir" -+ done -+IFS=$as_save_IFS -+ -+} >&5 -+ -+cat >&5 <<_ACEOF -+ -+ -+## ----------- ## -+## Core tests. ## -+## ----------- ## -+ -+_ACEOF -+ -+ -+# Keep a trace of the command line. -+# Strip out --no-create and --no-recursion so they do not pile up. -+# Strip out --silent because we don't want to record it for future runs. -+# Also quote any args containing shell meta-characters. -+# Make two passes to allow for proper duplicate-argument suppression. -+ac_configure_args= -+ac_configure_args0= -+ac_configure_args1= -+ac_must_keep_next=false -+for ac_pass in 1 2 -+do -+ for ac_arg -+ do -+ case $ac_arg in -+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ continue ;; -+ *\'*) -+ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ case $ac_pass in -+ 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; -+ 2) -+ as_fn_append ac_configure_args1 " '$ac_arg'" -+ if test $ac_must_keep_next = true; then -+ ac_must_keep_next=false # Got value, back to normal. -+ else -+ case $ac_arg in -+ *=* | --config-cache | -C | -disable-* | --disable-* \ -+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ -+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ -+ | -with-* | --with-* | -without-* | --without-* | --x) -+ case "$ac_configure_args0 " in -+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; -+ esac -+ ;; -+ -* ) ac_must_keep_next=true ;; -+ esac -+ fi -+ as_fn_append ac_configure_args " '$ac_arg'" -+ ;; -+ esac -+ done -+done -+{ ac_configure_args0=; unset ac_configure_args0;} -+{ ac_configure_args1=; unset ac_configure_args1;} -+ -+# When interrupted or exit'd, cleanup temporary files, and complete -+# config.log. We remove comments because anyway the quotes in there -+# would cause problems or look ugly. -+# WARNING: Use '\'' to represent an apostrophe within the trap. -+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -+trap 'exit_status=$? -+ # Save into config.log some information that might help in debugging. -+ { -+ echo -+ -+ $as_echo "## ---------------- ## -+## Cache variables. ## -+## ---------------- ##" -+ echo -+ # The following way of writing the cache mishandles newlines in values, -+( -+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do -+ eval ac_val=\$$ac_var -+ case $ac_val in #( -+ *${as_nl}*) -+ case $ac_var in #( -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; -+ esac -+ case $ac_var in #( -+ _ | IFS | as_nl) ;; #( -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; -+ esac ;; -+ esac -+ done -+ (set) 2>&1 | -+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( -+ *${as_nl}ac_space=\ *) -+ sed -n \ -+ "s/'\''/'\''\\\\'\'''\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" -+ ;; #( -+ *) -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -+ ;; -+ esac | -+ sort -+) -+ echo -+ -+ $as_echo "## ----------------- ## -+## Output variables. ## -+## ----------------- ##" -+ echo -+ for ac_var in $ac_subst_vars -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo -+ -+ if test -n "$ac_subst_files"; then -+ $as_echo "## ------------------- ## -+## File substitutions. ## -+## ------------------- ##" -+ echo -+ for ac_var in $ac_subst_files -+ do -+ eval ac_val=\$$ac_var -+ case $ac_val in -+ *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; -+ esac -+ $as_echo "$ac_var='\''$ac_val'\''" -+ done | sort -+ echo -+ fi -+ -+ if test -s confdefs.h; then -+ $as_echo "## ----------- ## -+## confdefs.h. ## -+## ----------- ##" -+ echo -+ cat confdefs.h -+ echo -+ fi -+ test "$ac_signal" != 0 && -+ $as_echo "$as_me: caught signal $ac_signal" -+ $as_echo "$as_me: exit $exit_status" -+ } >&5 -+ rm -f core *.core core.conftest.* && -+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files && -+ exit $exit_status -+' 0 -+for ac_signal in 1 2 13 15; do -+ trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal -+done -+ac_signal=0 -+ -+# confdefs.h avoids OS command line length limits that DEFS can exceed. -+rm -f -r conftest* confdefs.h -+ -+$as_echo "/* confdefs.h */" > confdefs.h -+ -+# Predefined preprocessor variables. -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_NAME "$PACKAGE_NAME" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_VERSION "$PACKAGE_VERSION" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_STRING "$PACKAGE_STRING" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -+_ACEOF -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_URL "$PACKAGE_URL" -+_ACEOF -+ -+ -+# Let the site file select an alternate cache file if it wants to. -+# Prefer an explicitly selected file to automatically selected ones. -+ac_site_file1=NONE -+ac_site_file2=NONE -+if test -n "$CONFIG_SITE"; then -+ # We do not want a PATH search for config.site. -+ case $CONFIG_SITE in #(( -+ -*) ac_site_file1=./$CONFIG_SITE;; -+ */*) ac_site_file1=$CONFIG_SITE;; -+ *) ac_site_file1=./$CONFIG_SITE;; -+ esac -+elif test "x$prefix" != xNONE; then -+ ac_site_file1=$prefix/share/config.site -+ ac_site_file2=$prefix/etc/config.site -+else -+ ac_site_file1=$ac_default_prefix/share/config.site -+ ac_site_file2=$ac_default_prefix/etc/config.site -+fi -+for ac_site_file in "$ac_site_file1" "$ac_site_file2" -+do -+ test "x$ac_site_file" = xNONE && continue -+ if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 -+$as_echo "$as_me: loading site script $ac_site_file" >&6;} -+ sed 's/^/| /' "$ac_site_file" >&5 -+ . "$ac_site_file" \ -+ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "failed to load site script $ac_site_file -+See \`config.log' for more details" "$LINENO" 5; } -+ fi -+done -+ -+if test -r "$cache_file"; then -+ # Some versions of bash will fail to source /dev/null (special files -+ # actually), so we avoid doing that. DJGPP emulates it as a regular file. -+ if test /dev/null != "$cache_file" && test -f "$cache_file"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -+$as_echo "$as_me: loading cache $cache_file" >&6;} -+ case $cache_file in -+ [\\/]* | ?:[\\/]* ) . "$cache_file";; -+ *) . "./$cache_file";; -+ esac -+ fi -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -+$as_echo "$as_me: creating cache $cache_file" >&6;} -+ >$cache_file -+fi -+ -+# Check that the precious variables saved in the cache have kept the same -+# value. -+ac_cache_corrupted=false -+for ac_var in $ac_precious_vars; do -+ eval ac_old_set=\$ac_cv_env_${ac_var}_set -+ eval ac_new_set=\$ac_env_${ac_var}_set -+ eval ac_old_val=\$ac_cv_env_${ac_var}_value -+ eval ac_new_val=\$ac_env_${ac_var}_value -+ case $ac_old_set,$ac_new_set in -+ set,) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,set) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 -+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,);; -+ *) -+ if test "x$ac_old_val" != "x$ac_new_val"; then -+ # differences in whitespace do not lead to failure. -+ ac_old_val_w=`echo x $ac_old_val` -+ ac_new_val_w=`echo x $ac_new_val` -+ if test "$ac_old_val_w" != "$ac_new_val_w"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 -+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} -+ ac_cache_corrupted=: -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} -+ eval $ac_var=\$ac_old_val -+ fi -+ { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 -+$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 -+$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} -+ fi;; -+ esac -+ # Pass precious variables to config.status. -+ if test "$ac_new_set" = set; then -+ case $ac_new_val in -+ *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; -+ *) ac_arg=$ac_var=$ac_new_val ;; -+ esac -+ case " $ac_configure_args " in -+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. -+ *) as_fn_append ac_configure_args " '$ac_arg'" ;; -+ esac -+ fi -+done -+if $ac_cache_corrupted; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+ { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 -+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} -+ as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 -+fi -+## -------------------- ## -+## Main body of script. ## -+## -------------------- ## -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+ac_aux_dir= -+for ac_dir in ../build-aux "$srcdir"/../build-aux; do -+ if test -f "$ac_dir/install-sh"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install-sh -c" -+ break -+ elif test -f "$ac_dir/install.sh"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install.sh -c" -+ break -+ elif test -f "$ac_dir/shtool"; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/shtool install -c" -+ break -+ fi -+done -+if test -z "$ac_aux_dir"; then -+ as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../build-aux \"$srcdir\"/../build-aux" "$LINENO" 5 -+fi -+ -+# These three variables are undocumented and unsupported, -+# and are intended to be withdrawn in a future Autoconf release. -+# They can cause serious problems if a builder's source tree is in a directory -+# whose full name contains unusual characters. -+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } -+set x ${MAKE-make} -+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat >conftest.make <<\_ACEOF -+SHELL = /bin/sh -+all: -+ @echo '@@@%%%=$(MAKE)=@@@%%%' -+_ACEOF -+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. -+case `${MAKE-make} -f conftest.make 2>/dev/null` in -+ *@@@%%%=?*=@@@%%%*) -+ eval ac_cv_prog_make_${ac_make}_set=yes;; -+ *) -+ eval ac_cv_prog_make_${ac_make}_set=no;; -+esac -+rm -f conftest.make -+fi -+if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ SET_MAKE= -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ SET_MAKE="MAKE=${MAKE-make}" -+fi -+ -+ -+ -+ -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="${ac_tool_prefix}gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_CC"; then -+ ac_ct_CC=$CC -+ # Extract the first word of "gcc", so it can be a program name with args. -+set dummy gcc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_CC="gcc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi -+else -+ CC="$ac_cv_prog_CC" -+fi -+ -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -+set dummy ${ac_tool_prefix}cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="${ac_tool_prefix}cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ fi -+fi -+if test -z "$CC"; then -+ # Extract the first word of "cc", so it can be a program name with args. -+set dummy cc; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+ ac_prog_rejected=no -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then -+ ac_prog_rejected=yes -+ continue -+ fi -+ ac_cv_prog_CC="cc" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+if test $ac_prog_rejected = yes; then -+ # We found a bogon in the path, so make sure we never use it. -+ set dummy $ac_cv_prog_CC -+ shift -+ if test $# != 0; then -+ # We chose a different compiler from the bogus one. -+ # However, it has the same basename, so the bogon will be chosen -+ # first if we set CC to just the basename; use the full file name. -+ shift -+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" -+ fi -+fi -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$CC"; then -+ if test -n "$ac_tool_prefix"; then -+ for ac_prog in cl.exe -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 -+$as_echo "$CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$CC" && break -+ done -+fi -+if test -z "$CC"; then -+ ac_ct_CC=$CC -+ for ac_prog in cl.exe -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_CC+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_CC"; then -+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_CC="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_CC=$ac_cv_prog_ac_ct_CC -+if test -n "$ac_ct_CC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 -+$as_echo "$ac_ct_CC" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_CC" && break -+done -+ -+ if test "x$ac_ct_CC" = x; then -+ CC="" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ CC=$ac_ct_CC -+ fi -+fi -+ -+fi -+ -+ -+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "no acceptable C compiler found in \$PATH -+See \`config.log' for more details" "$LINENO" 5; } -+ -+# Provide some information about the compiler. -+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 -+set X $ac_compile -+ac_compiler=$2 -+for ac_option in --version -v -V -qversion; do -+ { { ac_try="$ac_compiler $ac_option >&5" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compiler $ac_option >&5") 2>conftest.err -+ ac_status=$? -+ if test -s conftest.err; then -+ sed '10a\ -+... rest of stderr output deleted ... -+ 10q' conftest.err >conftest.er1 -+ cat conftest.er1 >&5 -+ fi -+ rm -f conftest.er1 conftest.err -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+done -+ -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -+# Try to create an executable without -o first, disregard a.out. -+# It will help us diagnose broken compilers, and finding out an intuition -+# of exeext. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 -+$as_echo_n "checking whether the C compiler works... " >&6; } -+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -+ -+# The possible output files: -+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" -+ -+ac_rmfiles= -+for ac_file in $ac_files -+do -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ * ) ac_rmfiles="$ac_rmfiles $ac_file";; -+ esac -+done -+rm -f $ac_rmfiles -+ -+if { { ac_try="$ac_link_default" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link_default") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -+# in a Makefile. We should not override ac_cv_exeext if it was cached, -+# so that the user can short-circuit this test for compilers unknown to -+# Autoconf. -+for ac_file in $ac_files '' -+do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) -+ ;; -+ [ab].out ) -+ # We found the default executable, but exeext='' is most -+ # certainly right. -+ break;; -+ *.* ) -+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; -+ then :; else -+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ fi -+ # We set ac_cv_exeext here because the later test for it is not -+ # safe: cross compilers may not add the suffix if given an `-o' -+ # argument, so we may need to know it at that point already. -+ # Even if this section looks crufty: it has the advantage of -+ # actually working. -+ break;; -+ * ) -+ break;; -+ esac -+done -+test "$ac_cv_exeext" = no && ac_cv_exeext= -+ -+else -+ ac_file='' -+fi -+if test -z "$ac_file"; then : -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+$as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error 77 "C compiler cannot create executables -+See \`config.log' for more details" "$LINENO" 5; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 -+$as_echo_n "checking for C compiler default output file name... " >&6; } -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 -+$as_echo "$ac_file" >&6; } -+ac_exeext=$ac_cv_exeext -+ -+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 -+$as_echo_n "checking for suffix of executables... " >&6; } -+if { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ # If both `conftest.exe' and `conftest' are `present' (well, observable) -+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -+# work properly (i.e., refer to `conftest.exe'), while it won't with -+# `rm'. -+for ac_file in conftest.exe conftest conftest.*; do -+ test -f "$ac_file" || continue -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; -+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` -+ break;; -+ * ) break;; -+ esac -+done -+else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot compute suffix of executables: cannot compile and link -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+rm -f conftest conftest$ac_cv_exeext -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 -+$as_echo "$ac_cv_exeext" >&6; } -+ -+rm -f conftest.$ac_ext -+EXEEXT=$ac_cv_exeext -+ac_exeext=$EXEEXT -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+int -+main () -+{ -+FILE *f = fopen ("conftest.out", "w"); -+ return ferror (f) || fclose (f) != 0; -+ -+ ; -+ return 0; -+} -+_ACEOF -+ac_clean_files="$ac_clean_files conftest.out" -+# Check that the compiler produces executables we can run. If not, either -+# the compiler is broken, or we cross compile. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 -+$as_echo_n "checking whether we are cross compiling... " >&6; } -+if test "$cross_compiling" != yes; then -+ { { ac_try="$ac_link" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_link") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if { ac_try='./conftest$ac_cv_exeext' -+ { { case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_try") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; }; then -+ cross_compiling=no -+ else -+ if test "$cross_compiling" = maybe; then -+ cross_compiling=yes -+ else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot run C compiled programs. -+If you meant to cross compile, use \`--host'. -+See \`config.log' for more details" "$LINENO" 5; } -+ fi -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 -+$as_echo "$cross_compiling" >&6; } -+ -+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out -+ac_clean_files=$ac_clean_files_save -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 -+$as_echo_n "checking for suffix of object files... " >&6; } -+if ${ac_cv_objext+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+rm -f conftest.o conftest.obj -+if { { ac_try="$ac_compile" -+case "(($ac_try" in -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; -+ *) ac_try_echo=$ac_try;; -+esac -+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" -+$as_echo "$ac_try_echo"; } >&5 -+ (eval "$ac_compile") 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then : -+ for ac_file in conftest.o conftest.obj conftest.*; do -+ test -f "$ac_file" || continue; -+ case $ac_file in -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; -+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` -+ break;; -+ esac -+done -+else -+ $as_echo "$as_me: failed program was:" >&5 -+sed 's/^/| /' conftest.$ac_ext >&5 -+ -+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "cannot compute suffix of object files: cannot compile -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+rm -f conftest.$ac_cv_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 -+$as_echo "$ac_cv_objext" >&6; } -+OBJEXT=$ac_cv_objext -+ac_objext=$OBJEXT -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 -+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -+if ${ac_cv_c_compiler_gnu+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+#ifndef __GNUC__ -+ choke me -+#endif -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_compiler_gnu=yes -+else -+ ac_compiler_gnu=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ac_cv_c_compiler_gnu=$ac_compiler_gnu -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 -+$as_echo "$ac_cv_c_compiler_gnu" >&6; } -+if test $ac_compiler_gnu = yes; then -+ GCC=yes -+else -+ GCC= -+fi -+ac_test_CFLAGS=${CFLAGS+set} -+ac_save_CFLAGS=$CFLAGS -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 -+$as_echo_n "checking whether $CC accepts -g... " >&6; } -+if ${ac_cv_prog_cc_g+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_save_c_werror_flag=$ac_c_werror_flag -+ ac_c_werror_flag=yes -+ ac_cv_prog_cc_g=no -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes -+else -+ CFLAGS="" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+else -+ ac_c_werror_flag=$ac_save_c_werror_flag -+ CFLAGS="-g" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_g=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ ac_c_werror_flag=$ac_save_c_werror_flag -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 -+$as_echo "$ac_cv_prog_cc_g" >&6; } -+if test "$ac_test_CFLAGS" = set; then -+ CFLAGS=$ac_save_CFLAGS -+elif test $ac_cv_prog_cc_g = yes; then -+ if test "$GCC" = yes; then -+ CFLAGS="-g -O2" -+ else -+ CFLAGS="-g" -+ fi -+else -+ if test "$GCC" = yes; then -+ CFLAGS="-O2" -+ else -+ CFLAGS= -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 -+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -+if ${ac_cv_prog_cc_c89+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_prog_cc_c89=no -+ac_save_CC=$CC -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+struct stat; -+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -+struct buf { int x; }; -+FILE * (*rcsopen) (struct buf *, struct stat *, int); -+static char *e (p, i) -+ char **p; -+ int i; -+{ -+ return p[i]; -+} -+static char *f (char * (*g) (char **, int), char **p, ...) -+{ -+ char *s; -+ va_list v; -+ va_start (v,p); -+ s = g (p, va_arg (v,int)); -+ va_end (v); -+ return s; -+} -+ -+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has -+ function prototypes and stuff, but not '\xHH' hex character constants. -+ These don't provoke an error unfortunately, instead are silently treated -+ as 'x'. The following induces an error, until -std is added to get -+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an -+ array size at least. It's necessary to write '\x00'==0 to get something -+ that's true only with -std. */ -+int osf4_cc_array ['\x00' == 0 ? 1 : -1]; -+ -+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters -+ inside strings and character constants. */ -+#define FOO(x) 'x' -+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; -+ -+int test (int i, double x); -+struct s1 {int (*f) (int a);}; -+struct s2 {int (*f) (double a);}; -+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -+int argc; -+char **argv; -+int -+main () -+{ -+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; -+ ; -+ return 0; -+} -+_ACEOF -+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -+do -+ CC="$ac_save_CC $ac_arg" -+ if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_prog_cc_c89=$ac_arg -+fi -+rm -f core conftest.err conftest.$ac_objext -+ test "x$ac_cv_prog_cc_c89" != "xno" && break -+done -+rm -f conftest.$ac_ext -+CC=$ac_save_CC -+ -+fi -+# AC_CACHE_VAL -+case "x$ac_cv_prog_cc_c89" in -+ x) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 -+$as_echo "none needed" >&6; } ;; -+ xno) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 -+$as_echo "unsupported" >&6; } ;; -+ *) -+ CC="$CC $ac_cv_prog_cc_c89" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 -+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -+esac -+if test "x$ac_cv_prog_cc_c89" != xno; then : -+ -+fi -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 -+$as_echo_n "checking how to run the C preprocessor... " >&6; } -+# On Suns, sometimes $CPP names a directory. -+if test -n "$CPP" && test -d "$CPP"; then -+ CPP= -+fi -+if test -z "$CPP"; then -+ if ${ac_cv_prog_CPP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # Double quotes because CPP needs to be expanded -+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" -+ do -+ ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue -+else -+ # Passes both tests. -+ac_preproc_ok=: -+break -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.i conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : -+ break -+fi -+ -+ done -+ ac_cv_prog_CPP=$CPP -+ -+fi -+ CPP=$ac_cv_prog_CPP -+else -+ ac_cv_prog_CPP=$CPP -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 -+$as_echo "$CPP" >&6; } -+ac_preproc_ok=false -+for ac_c_preproc_warn_flag in '' yes -+do -+ # Use a header file that comes with gcc, so configuring glibc -+ # with a fresh cross-compiler works. -+ # Prefer to if __STDC__ is defined, since -+ # exists even on freestanding compilers. -+ # On the NeXT, cc -E runs the code through the compiler's parser, -+ # not just through cpp. "Syntax error" is here to catch this case. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#ifdef __STDC__ -+# include -+#else -+# include -+#endif -+ Syntax error -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ -+else -+ # Broken: fails on valid input. -+continue -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+ # OK, works on sane cases. Now check whether nonexistent headers -+ # can be detected and how. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+_ACEOF -+if ac_fn_c_try_cpp "$LINENO"; then : -+ # Broken: success on invalid input. -+continue -+else -+ # Passes both tests. -+ac_preproc_ok=: -+break -+fi -+rm -f conftest.err conftest.i conftest.$ac_ext -+ -+done -+# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -+rm -f conftest.i conftest.err conftest.$ac_ext -+if $ac_preproc_ok; then : -+ -+else -+ { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check -+See \`config.log' for more details" "$LINENO" 5; } -+fi -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+# Find a good install program. We prefer a C program (faster), -+# so one script is as good as another. But avoid the broken or -+# incompatible versions: -+# SysV /etc/install, /usr/sbin/install -+# SunOS /usr/etc/install -+# IRIX /sbin/install -+# AIX /bin/install -+# AmigaOS /C/install, which installs bootblocks on floppy discs -+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -+# AFS /usr/afsws/bin/install, which mishandles nonexistent args -+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -+# OS/2's system install, which has a completely different semantic -+# ./install, which can be erroneously created by make from ./install.sh. -+# Reject install programs that cannot install multiple files. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 -+$as_echo_n "checking for a BSD-compatible install... " >&6; } -+if test -z "$INSTALL"; then -+if ${ac_cv_path_install+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ # Account for people who put trailing slashes in PATH elements. -+case $as_dir/ in #(( -+ ./ | .// | /[cC]/* | \ -+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ -+ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ -+ /usr/ucb/* ) ;; -+ *) -+ # OSF1 and SCO ODT 3.0 have their own names for install. -+ # Don't use installbsd from OSF since it installs stuff as root -+ # by default. -+ for ac_prog in ginstall scoinst install; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then -+ if test $ac_prog = install && -+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # AIX install. It has an incompatible calling convention. -+ : -+ elif test $ac_prog = install && -+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # program-specific install script used by HP pwplus--don't use. -+ : -+ else -+ rm -rf conftest.one conftest.two conftest.dir -+ echo one > conftest.one -+ echo two > conftest.two -+ mkdir conftest.dir -+ if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && -+ test -s conftest.one && test -s conftest.two && -+ test -s conftest.dir/conftest.one && -+ test -s conftest.dir/conftest.two -+ then -+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" -+ break 3 -+ fi -+ fi -+ fi -+ done -+ done -+ ;; -+esac -+ -+ done -+IFS=$as_save_IFS -+ -+rm -rf conftest.one conftest.two conftest.dir -+ -+fi -+ if test "${ac_cv_path_install+set}" = set; then -+ INSTALL=$ac_cv_path_install -+ else -+ # As a last resort, use the slow shell script. Don't cache a -+ # value for INSTALL within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the value is a relative name. -+ INSTALL=$ac_install_sh -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 -+$as_echo "$INSTALL" >&6; } -+ -+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -+# It thinks the first close brace ends the variable substitution. -+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -+ -+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -+ -+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -+ -+ -+ -+# Make sure we can run config.sub. -+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || -+ as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 -+$as_echo_n "checking build system type... " >&6; } -+if ${ac_cv_build+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_build_alias=$build_alias -+test "x$ac_build_alias" = x && -+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -+test "x$ac_build_alias" = x && -+ as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 -+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || -+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 -+$as_echo "$ac_cv_build" >&6; } -+case $ac_cv_build in -+*-*-*) ;; -+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; -+esac -+build=$ac_cv_build -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_build -+shift -+build_cpu=$1 -+build_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+build_os=$* -+IFS=$ac_save_IFS -+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 -+$as_echo_n "checking host system type... " >&6; } -+if ${ac_cv_host+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "x$host_alias" = x; then -+ ac_cv_host=$ac_cv_build -+else -+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || -+ as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 -+$as_echo "$ac_cv_host" >&6; } -+case $ac_cv_host in -+*-*-*) ;; -+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; -+esac -+host=$ac_cv_host -+ac_save_IFS=$IFS; IFS='-' -+set x $ac_cv_host -+shift -+host_cpu=$1 -+host_vendor=$2 -+shift; shift -+# Remember, the first character of IFS is used to create $*, -+# except with old shells: -+host_os=$* -+IFS=$ac_save_IFS -+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5 -+$as_echo_n "checking whether to activate relocatable installation... " >&6; } -+ # Check whether --enable-relocatable was given. -+if test "${enable_relocatable+set}" = set; then : -+ enableval=$enable_relocatable; if test "$enableval" != no; then -+ RELOCATABLE=yes -+ else -+ RELOCATABLE=no -+ fi -+ -+else -+ RELOCATABLE=no -+fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5 -+$as_echo "$RELOCATABLE" >&6; } -+ -+ -+ -+ if test "X$prefix" = "XNONE"; then -+ reloc_final_prefix="$ac_default_prefix" -+ else -+ reloc_final_prefix="$prefix" -+ fi -+ -+cat >>confdefs.h <<_ACEOF -+#define INSTALLPREFIX "${reloc_final_prefix}" -+_ACEOF -+ -+ if test $RELOCATABLE = yes; then -+ -+$as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h -+ -+ fi -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 -+$as_echo_n "checking whether ln -s works... " >&6; } -+LN_S=$as_ln_s -+if test "$LN_S" = "ln -s"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 -+$as_echo "no, using $LN_S" >&6; } -+fi -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 -+$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -+if ${ac_cv_path_GREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$GREP"; then -+ ac_path_GREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in grep ggrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_GREP" || continue -+# Check for GNU ac_path_GREP and select it if it is found. -+ # Check for GNU $ac_path_GREP -+case `"$ac_path_GREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'GREP' >> "conftest.nl" -+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_GREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_GREP="$ac_path_GREP" -+ ac_path_GREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_GREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_GREP"; then -+ as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_GREP=$GREP -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 -+$as_echo "$ac_cv_path_GREP" >&6; } -+ GREP="$ac_cv_path_GREP" -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 -+$as_echo_n "checking for egrep... " >&6; } -+if ${ac_cv_path_EGREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 -+ then ac_cv_path_EGREP="$GREP -E" -+ else -+ if test -z "$EGREP"; then -+ ac_path_EGREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in egrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_EGREP" || continue -+# Check for GNU ac_path_EGREP and select it if it is found. -+ # Check for GNU $ac_path_EGREP -+case `"$ac_path_EGREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'EGREP' >> "conftest.nl" -+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_EGREP="$ac_path_EGREP" -+ ac_path_EGREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_EGREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_EGREP"; then -+ as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_EGREP=$EGREP -+fi -+ -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 -+$as_echo "$ac_cv_path_EGREP" >&6; } -+ EGREP="$ac_cv_path_EGREP" -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 -+$as_echo_n "checking for ANSI C header files... " >&6; } -+if ${ac_cv_header_stdc+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#include -+#include -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_header_stdc=yes -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+if test $ac_cv_header_stdc = yes; then -+ # SunOS 4.x string.h does not declare mem*, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "memchr" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+ -+_ACEOF -+if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -+ $EGREP "free" >/dev/null 2>&1; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f conftest* -+ -+fi -+ -+if test $ac_cv_header_stdc = yes; then -+ # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. -+ if test "$cross_compiling" = yes; then : -+ : -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+#include -+#include -+#if ((' ' & 0x0FF) == 0x020) -+# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -+# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -+#else -+# define ISLOWER(c) \ -+ (('a' <= (c) && (c) <= 'i') \ -+ || ('j' <= (c) && (c) <= 'r') \ -+ || ('s' <= (c) && (c) <= 'z')) -+# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -+#endif -+ -+#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -+int -+main () -+{ -+ int i; -+ for (i = 0; i < 256; i++) -+ if (XOR (islower (i), ISLOWER (i)) -+ || toupper (i) != TOUPPER (i)) -+ return 2; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_run "$LINENO"; then : -+ -+else -+ ac_cv_header_stdc=no -+fi -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ -+ conftest.$ac_objext conftest.beam conftest.$ac_ext -+fi -+ -+fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 -+$as_echo "$ac_cv_header_stdc" >&6; } -+if test $ac_cv_header_stdc = yes; then -+ -+$as_echo "#define STDC_HEADERS 1" >>confdefs.h -+ -+fi -+ -+# On IRIX 5.3, sys/types and inttypes.h are conflicting. -+for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ -+ inttypes.h stdint.h unistd.h -+do : -+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default -+" -+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : -+ cat >>confdefs.h <<_ACEOF -+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ -+ ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" -+if test "x$ac_cv_header_minix_config_h" = xyes; then : -+ MINIX=yes -+else -+ MINIX= -+fi -+ -+ -+ if test "$MINIX" = yes; then -+ -+$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h -+ -+ -+$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h -+ -+ -+$as_echo "#define _MINIX 1" >>confdefs.h -+ -+ -+$as_echo "#define _NETBSD_SOURCE 1" >>confdefs.h -+ -+ fi -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 -+$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } -+if ${ac_cv_safe_to_define___extensions__+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+# define __EXTENSIONS__ 1 -+ $ac_includes_default -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_safe_to_define___extensions__=yes -+else -+ ac_cv_safe_to_define___extensions__=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 -+$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } -+ test $ac_cv_safe_to_define___extensions__ = yes && -+ $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h -+ -+ $as_echo "#define _ALL_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _DARWIN_C_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _GNU_SOURCE 1" >>confdefs.h -+ -+ $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h -+ -+ $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 -+$as_echo_n "checking whether _XOPEN_SOURCE should be defined... " >&6; } -+if ${ac_cv_should_define__xopen_source+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_cv_should_define__xopen_source=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ #include -+ mbstate_t x; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+ #define _XOPEN_SOURCE 500 -+ #include -+ mbstate_t x; -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ ac_cv_should_define__xopen_source=yes -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 -+$as_echo "$ac_cv_should_define__xopen_source" >&6; } -+ test $ac_cv_should_define__xopen_source = yes && -+ $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h -+ -+ -+ -+ -+ -+ -+ -+ -+enable_shared=yes -+enable_static=no -+case `pwd` in -+ *\ * | *\ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 -+$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; -+esac -+ -+ -+ -+macro_version='2.4.2' -+macro_revision='1.3337' -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+# Backslashify metacharacters that are still active within -+# double-quoted strings. -+sed_quote_subst='s/\(["`$\\]\)/\\\1/g' -+ -+# Same as above, but do not quote variable references. -+double_quote_subst='s/\(["`\\]\)/\\\1/g' -+ -+# Sed substitution to delay expansion of an escaped shell variable in a -+# double_quote_subst'ed string. -+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' -+ -+# Sed substitution to delay expansion of an escaped single quote. -+delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' -+ -+# Sed substitution to avoid accidental globbing in evaled expressions -+no_glob_subst='s/\*/\\\*/g' -+ -+ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO -+ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 -+$as_echo_n "checking how to print strings... " >&6; } -+# Test print first, because it will be a builtin if present. -+if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ -+ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then -+ ECHO='print -r --' -+elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then -+ ECHO='printf %s\n' -+else -+ # Use this function as a fallback that always works. -+ func_fallback_echo () -+ { -+ eval 'cat <<_LTECHO_EOF -+$1 -+_LTECHO_EOF' -+ } -+ ECHO='func_fallback_echo' -+fi -+ -+# func_echo_all arg... -+# Invoke $ECHO with all args, space-separated. -+func_echo_all () -+{ -+ $ECHO "" -+} -+ -+case "$ECHO" in -+ printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 -+$as_echo "printf" >&6; } ;; -+ print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 -+$as_echo "print -r" >&6; } ;; -+ *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 -+$as_echo "cat" >&6; } ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 -+$as_echo_n "checking for a sed that does not truncate output... " >&6; } -+if ${ac_cv_path_SED+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ -+ for ac_i in 1 2 3 4 5 6 7; do -+ ac_script="$ac_script$as_nl$ac_script" -+ done -+ echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed -+ { ac_script=; unset ac_script;} -+ if test -z "$SED"; then -+ ac_path_SED_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in sed gsed; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_SED" || continue -+# Check for GNU ac_path_SED and select it if it is found. -+ # Check for GNU $ac_path_SED -+case `"$ac_path_SED" --version 2>&1` in -+*GNU*) -+ ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo '' >> "conftest.nl" -+ "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_SED_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_SED="$ac_path_SED" -+ ac_path_SED_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_SED_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_SED"; then -+ as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_SED=$SED -+fi -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 -+$as_echo "$ac_cv_path_SED" >&6; } -+ SED="$ac_cv_path_SED" -+ rm -f conftest.sed -+ -+test -z "$SED" && SED=sed -+Xsed="$SED -e 1s/^X//" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 -+$as_echo_n "checking for fgrep... " >&6; } -+if ${ac_cv_path_FGREP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 -+ then ac_cv_path_FGREP="$GREP -F" -+ else -+ if test -z "$FGREP"; then -+ ac_path_FGREP_found=false -+ # Loop through the user's path and test for each of PROGNAME-LIST -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_prog in fgrep; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" -+ as_fn_executable_p "$ac_path_FGREP" || continue -+# Check for GNU ac_path_FGREP and select it if it is found. -+ # Check for GNU $ac_path_FGREP -+case `"$ac_path_FGREP" --version 2>&1` in -+*GNU*) -+ ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; -+*) -+ ac_count=0 -+ $as_echo_n 0123456789 >"conftest.in" -+ while : -+ do -+ cat "conftest.in" "conftest.in" >"conftest.tmp" -+ mv "conftest.tmp" "conftest.in" -+ cp "conftest.in" "conftest.nl" -+ $as_echo 'FGREP' >> "conftest.nl" -+ "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break -+ as_fn_arith $ac_count + 1 && ac_count=$as_val -+ if test $ac_count -gt ${ac_path_FGREP_max-0}; then -+ # Best one so far, save it but keep looking for a better one -+ ac_cv_path_FGREP="$ac_path_FGREP" -+ ac_path_FGREP_max=$ac_count -+ fi -+ # 10*(2^10) chars as input seems more than enough -+ test $ac_count -gt 10 && break -+ done -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -+esac -+ -+ $ac_path_FGREP_found && break 3 -+ done -+ done -+ done -+IFS=$as_save_IFS -+ if test -z "$ac_cv_path_FGREP"; then -+ as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 -+ fi -+else -+ ac_cv_path_FGREP=$FGREP -+fi -+ -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 -+$as_echo "$ac_cv_path_FGREP" >&6; } -+ FGREP="$ac_cv_path_FGREP" -+ -+ -+test -z "$GREP" && GREP=grep -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# Check whether --with-gnu-ld was given. -+if test "${with_gnu_ld+set}" = set; then : -+ withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -+else -+ with_gnu_ld=no -+fi -+ -+ac_prog=ld -+if test "$GCC" = yes; then -+ # Check if gcc -print-prog-name=ld gives a path. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 -+$as_echo_n "checking for ld used by $CC... " >&6; } -+ case $host in -+ *-*-mingw*) -+ # gcc leaves a trailing carriage return which upsets mingw -+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; -+ *) -+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; -+ esac -+ case $ac_prog in -+ # Accept absolute paths. -+ [\\/]* | ?:[\\/]*) -+ re_direlt='/[^/][^/]*/\.\./' -+ # Canonicalize the pathname of ld -+ ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` -+ while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do -+ ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` -+ done -+ test -z "$LD" && LD="$ac_prog" -+ ;; -+ "") -+ # If it fails, then pretend we aren't using GCC. -+ ac_prog=ld -+ ;; -+ *) -+ # If it is relative, then search for the first ld in PATH. -+ with_gnu_ld=unknown -+ ;; -+ esac -+elif test "$with_gnu_ld" = yes; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -+$as_echo_n "checking for GNU ld... " >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -+$as_echo_n "checking for non-GNU ld... " >&6; } -+fi -+if ${lt_cv_path_LD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -z "$LD"; then -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then -+ lt_cv_path_LD="$ac_dir/$ac_prog" -+ # Check to see if the program is GNU ld. I'd rather use --version, -+ # but apparently some variants of GNU ld only accept -v. -+ # Break only if it was the GNU/non-GNU ld that we prefer. -+ case `"$lt_cv_path_LD" -v 2>&1 &5 -+$as_echo "$LD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -+$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -+if ${lt_cv_prog_gnu_ld+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ # I'd rather use --version here, but apparently some GNU lds only accept -v. -+case `$LD -v 2>&1 &5 -+$as_echo "$lt_cv_prog_gnu_ld" >&6; } -+with_gnu_ld=$lt_cv_prog_gnu_ld -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 -+$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } -+if ${lt_cv_path_NM+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$NM"; then -+ # Let the user override the test. -+ lt_cv_path_NM="$NM" -+else -+ lt_nm_to_check="${ac_tool_prefix}nm" -+ if test -n "$ac_tool_prefix" && test "$build" = "$host"; then -+ lt_nm_to_check="$lt_nm_to_check nm" -+ fi -+ for lt_tmp_nm in $lt_nm_to_check; do -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ tmp_nm="$ac_dir/$lt_tmp_nm" -+ if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then -+ # Check to see if the nm accepts a BSD-compat flag. -+ # Adding the `sed 1q' prevents false positives on HP-UX, which says: -+ # nm: unknown option "B" ignored -+ # Tru64's nm complains that /dev/null is an invalid object file -+ case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in -+ */dev/null* | *'Invalid file or object type'*) -+ lt_cv_path_NM="$tmp_nm -B" -+ break -+ ;; -+ *) -+ case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in -+ */dev/null*) -+ lt_cv_path_NM="$tmp_nm -p" -+ break -+ ;; -+ *) -+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but -+ continue # so that we can try to find one that supports BSD flags -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ done -+ IFS="$lt_save_ifs" -+ done -+ : ${lt_cv_path_NM=no} -+fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 -+$as_echo "$lt_cv_path_NM" >&6; } -+if test "$lt_cv_path_NM" != "no"; then -+ NM="$lt_cv_path_NM" -+else -+ # Didn't find any BSD compatible name lister, look for dumpbin. -+ if test -n "$DUMPBIN"; then : -+ # Let the user override the test. -+ else -+ if test -n "$ac_tool_prefix"; then -+ for ac_prog in dumpbin "link -dump" -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DUMPBIN+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DUMPBIN"; then -+ ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DUMPBIN=$ac_cv_prog_DUMPBIN -+if test -n "$DUMPBIN"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 -+$as_echo "$DUMPBIN" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$DUMPBIN" && break -+ done -+fi -+if test -z "$DUMPBIN"; then -+ ac_ct_DUMPBIN=$DUMPBIN -+ for ac_prog in dumpbin "link -dump" -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DUMPBIN"; then -+ ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN -+if test -n "$ac_ct_DUMPBIN"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 -+$as_echo "$ac_ct_DUMPBIN" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_DUMPBIN" && break -+done -+ -+ if test "x$ac_ct_DUMPBIN" = x; then -+ DUMPBIN=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DUMPBIN=$ac_ct_DUMPBIN -+ fi -+fi -+ -+ case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in -+ *COFF*) -+ DUMPBIN="$DUMPBIN -symbols" -+ ;; -+ *) -+ DUMPBIN=: -+ ;; -+ esac -+ fi -+ -+ if test "$DUMPBIN" != ":"; then -+ NM="$DUMPBIN" -+ fi -+fi -+test -z "$NM" && NM=nm -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 -+$as_echo_n "checking the name lister ($NM) interface... " >&6; } -+if ${lt_cv_nm_interface+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_nm_interface="BSD nm" -+ echo "int some_variable = 0;" > conftest.$ac_ext -+ (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) -+ (eval "$ac_compile" 2>conftest.err) -+ cat conftest.err >&5 -+ (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) -+ (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) -+ cat conftest.err >&5 -+ (eval echo "\"\$as_me:$LINENO: output\"" >&5) -+ cat conftest.out >&5 -+ if $GREP 'External.*some_variable' conftest.out > /dev/null; then -+ lt_cv_nm_interface="MS dumpbin" -+ fi -+ rm -f conftest* -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 -+$as_echo "$lt_cv_nm_interface" >&6; } -+ -+# find the maximum length of command line arguments -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 -+$as_echo_n "checking the maximum length of command line arguments... " >&6; } -+if ${lt_cv_sys_max_cmd_len+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ i=0 -+ teststring="ABCD" -+ -+ case $build_os in -+ msdosdjgpp*) -+ # On DJGPP, this test can blow up pretty badly due to problems in libc -+ # (any single argument exceeding 2000 bytes causes a buffer overrun -+ # during glob expansion). Even if it were fixed, the result of this -+ # check would be larger than it should be. -+ lt_cv_sys_max_cmd_len=12288; # 12K is about right -+ ;; -+ -+ gnu*) -+ # Under GNU Hurd, this test is not required because there is -+ # no limit to the length of command line arguments. -+ # Libtool will interpret -1 as no limit whatsoever -+ lt_cv_sys_max_cmd_len=-1; -+ ;; -+ -+ cygwin* | mingw* | cegcc*) -+ # On Win9x/ME, this test blows up -- it succeeds, but takes -+ # about 5 minutes as the teststring grows exponentially. -+ # Worse, since 9x/ME are not pre-emptively multitasking, -+ # you end up with a "frozen" computer, even though with patience -+ # the test eventually succeeds (with a max line length of 256k). -+ # Instead, let's just punt: use the minimum linelength reported by -+ # all of the supported platforms: 8192 (on NT/2K/XP). -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ mint*) -+ # On MiNT this can take a long time and run out of memory. -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ amigaos*) -+ # On AmigaOS with pdksh, this test takes hours, literally. -+ # So we just punt and use a minimum line length of 8192. -+ lt_cv_sys_max_cmd_len=8192; -+ ;; -+ -+ netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) -+ # This has been around since 386BSD, at least. Likely further. -+ if test -x /sbin/sysctl; then -+ lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` -+ elif test -x /usr/sbin/sysctl; then -+ lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` -+ else -+ lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs -+ fi -+ # And add a safety zone -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` -+ ;; -+ -+ interix*) -+ # We know the value 262144 and hardcode it with a safety zone (like BSD) -+ lt_cv_sys_max_cmd_len=196608 -+ ;; -+ -+ os2*) -+ # The test takes a long time on OS/2. -+ lt_cv_sys_max_cmd_len=8192 -+ ;; -+ -+ osf*) -+ # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure -+ # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not -+ # nice to cause kernel panics so lets avoid the loop below. -+ # First set a reasonable default. -+ lt_cv_sys_max_cmd_len=16384 -+ # -+ if test -x /sbin/sysconfig; then -+ case `/sbin/sysconfig -q proc exec_disable_arg_limit` in -+ *1*) lt_cv_sys_max_cmd_len=-1 ;; -+ esac -+ fi -+ ;; -+ sco3.2v5*) -+ lt_cv_sys_max_cmd_len=102400 -+ ;; -+ sysv5* | sco5v6* | sysv4.2uw2*) -+ kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` -+ if test -n "$kargmax"; then -+ lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` -+ else -+ lt_cv_sys_max_cmd_len=32768 -+ fi -+ ;; -+ *) -+ lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` -+ if test -n "$lt_cv_sys_max_cmd_len"; then -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` -+ else -+ # Make teststring a little bigger before we do anything with it. -+ # a 1K string should be a reasonable start. -+ for i in 1 2 3 4 5 6 7 8 ; do -+ teststring=$teststring$teststring -+ done -+ SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} -+ # If test is not a shell built-in, we'll probably end up computing a -+ # maximum length that is only half of the actual maximum length, but -+ # we can't tell. -+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ -+ = "X$teststring$teststring"; } >/dev/null 2>&1 && -+ test $i != 17 # 1/2 MB should be enough -+ do -+ i=`expr $i + 1` -+ teststring=$teststring$teststring -+ done -+ # Only check the string length outside the loop. -+ lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` -+ teststring= -+ # Add a significant safety factor because C++ compilers can tack on -+ # massive amounts of additional arguments before passing them to the -+ # linker. It appears as though 1/2 is a usable value. -+ lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` -+ fi -+ ;; -+ esac -+ -+fi -+ -+if test -n $lt_cv_sys_max_cmd_len ; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 -+$as_echo "$lt_cv_sys_max_cmd_len" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 -+$as_echo "none" >&6; } -+fi -+max_cmd_len=$lt_cv_sys_max_cmd_len -+ -+ -+ -+ -+ -+ -+: ${CP="cp -f"} -+: ${MV="mv -f"} -+: ${RM="rm -f"} -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 -+$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } -+# Try some XSI features -+xsi_shell=no -+( _lt_dummy="a/b/c" -+ test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ -+ = c,a/b,b/c, \ -+ && eval 'test $(( 1 + 1 )) -eq 2 \ -+ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ -+ && xsi_shell=yes -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 -+$as_echo "$xsi_shell" >&6; } -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 -+$as_echo_n "checking whether the shell understands \"+=\"... " >&6; } -+lt_shell_append=no -+( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ -+ >/dev/null 2>&1 \ -+ && lt_shell_append=yes -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 -+$as_echo "$lt_shell_append" >&6; } -+ -+ -+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -+ lt_unset=unset -+else -+ lt_unset=false -+fi -+ -+ -+ -+ -+ -+# test EBCDIC or ASCII -+case `echo X|tr X '\101'` in -+ A) # ASCII based system -+ # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr -+ lt_SP2NL='tr \040 \012' -+ lt_NL2SP='tr \015\012 \040\040' -+ ;; -+ *) # EBCDIC based system -+ lt_SP2NL='tr \100 \n' -+ lt_NL2SP='tr \r\n \100\100' -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 -+$as_echo_n "checking how to convert $build file names to $host format... " >&6; } -+if ${lt_cv_to_host_file_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $host in -+ *-*-mingw* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 -+ ;; -+ *-*-cygwin* ) -+ lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 -+ ;; -+ * ) # otherwise, assume *nix -+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 -+ ;; -+ esac -+ ;; -+ *-*-cygwin* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin -+ ;; -+ *-*-cygwin* ) -+ lt_cv_to_host_file_cmd=func_convert_file_noop -+ ;; -+ * ) # otherwise, assume *nix -+ lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin -+ ;; -+ esac -+ ;; -+ * ) # unhandled hosts (and "normal" native builds) -+ lt_cv_to_host_file_cmd=func_convert_file_noop -+ ;; -+esac -+ -+fi -+ -+to_host_file_cmd=$lt_cv_to_host_file_cmd -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 -+$as_echo "$lt_cv_to_host_file_cmd" >&6; } -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 -+$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } -+if ${lt_cv_to_tool_file_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ #assume ordinary cross tools, or native build. -+lt_cv_to_tool_file_cmd=func_convert_file_noop -+case $host in -+ *-*-mingw* ) -+ case $build in -+ *-*-mingw* ) # actually msys -+ lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 -+ ;; -+ esac -+ ;; -+esac -+ -+fi -+ -+to_tool_file_cmd=$lt_cv_to_tool_file_cmd -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 -+$as_echo "$lt_cv_to_tool_file_cmd" >&6; } -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 -+$as_echo_n "checking for $LD option to reload object files... " >&6; } -+if ${lt_cv_ld_reload_flag+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_reload_flag='-r' -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 -+$as_echo "$lt_cv_ld_reload_flag" >&6; } -+reload_flag=$lt_cv_ld_reload_flag -+case $reload_flag in -+"" | " "*) ;; -+*) reload_flag=" $reload_flag" ;; -+esac -+reload_cmds='$LD$reload_flag -o $output$reload_objs' -+case $host_os in -+ cygwin* | mingw* | pw32* | cegcc*) -+ if test "$GCC" != yes; then -+ reload_cmds=false -+ fi -+ ;; -+ darwin*) -+ if test "$GCC" = yes; then -+ reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' -+ else -+ reload_cmds='$LD$reload_flag -o $output$reload_objs' -+ fi -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -+set dummy ${ac_tool_prefix}objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OBJDUMP"; then -+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OBJDUMP=$ac_cv_prog_OBJDUMP -+if test -n "$OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -+$as_echo "$OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OBJDUMP"; then -+ ac_ct_OBJDUMP=$OBJDUMP -+ # Extract the first word of "objdump", so it can be a program name with args. -+set dummy objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OBJDUMP"; then -+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OBJDUMP="objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -+if test -n "$ac_ct_OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -+$as_echo "$ac_ct_OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OBJDUMP" = x; then -+ OBJDUMP="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OBJDUMP=$ac_ct_OBJDUMP -+ fi -+else -+ OBJDUMP="$ac_cv_prog_OBJDUMP" -+fi -+ -+test -z "$OBJDUMP" && OBJDUMP=objdump -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 -+$as_echo_n "checking how to recognize dependent libraries... " >&6; } -+if ${lt_cv_deplibs_check_method+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_file_magic_cmd='$MAGIC_CMD' -+lt_cv_file_magic_test_file= -+lt_cv_deplibs_check_method='unknown' -+# Need to set the preceding variable on all platforms that support -+# interlibrary dependencies. -+# 'none' -- dependencies not supported. -+# `unknown' -- same as none, but documents that we really don't know. -+# 'pass_all' -- all dependencies passed with no checks. -+# 'test_compile' -- check by making test program. -+# 'file_magic [[regex]]' -- check by looking for files in library path -+# which responds to the $file_magic_cmd with a given extended regex. -+# If you have `file' or equivalent on your system and you're not sure -+# whether `pass_all' will *always* work, you probably want this one. -+ -+case $host_os in -+aix[4-9]*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+beos*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+bsdi[45]*) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' -+ lt_cv_file_magic_cmd='/usr/bin/file -L' -+ lt_cv_file_magic_test_file=/shlib/libc.so -+ ;; -+ -+cygwin*) -+ # func_win32_libid is a shell function defined in ltmain.sh -+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' -+ lt_cv_file_magic_cmd='func_win32_libid' -+ ;; -+ -+mingw* | pw32*) -+ # Base MSYS/MinGW do not provide the 'file' command needed by -+ # func_win32_libid shell function, so use a weaker test based on 'objdump', -+ # unless we find 'file', for example because we are cross-compiling. -+ # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. -+ if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then -+ lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' -+ lt_cv_file_magic_cmd='func_win32_libid' -+ else -+ # Keep this pattern in sync with the one in func_win32_libid. -+ lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ fi -+ ;; -+ -+cegcc*) -+ # use the weaker test based on 'objdump'. See mingw*. -+ lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' -+ lt_cv_file_magic_cmd='$OBJDUMP -f' -+ ;; -+ -+darwin* | rhapsody*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+freebsd* | dragonfly*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then -+ case $host_cpu in -+ i*86 ) -+ # Not sure whether the presence of OpenBSD here was a mistake. -+ # Let's accept both of them until this is cleared up. -+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' -+ lt_cv_file_magic_cmd=/usr/bin/file -+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` -+ ;; -+ esac -+ else -+ lt_cv_deplibs_check_method=pass_all -+ fi -+ ;; -+ -+gnu*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+haiku*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+hpux10.20* | hpux11*) -+ lt_cv_file_magic_cmd=/usr/bin/file -+ case $host_cpu in -+ ia64*) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' -+ lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so -+ ;; -+ hppa*64*) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' -+ lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl -+ ;; -+ *) -+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' -+ lt_cv_file_magic_test_file=/usr/lib/libc.sl -+ ;; -+ esac -+ ;; -+ -+interix[3-9]*) -+ # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' -+ ;; -+ -+irix5* | irix6* | nonstopux*) -+ case $LD in -+ *-32|*"-32 ") libmagic=32-bit;; -+ *-n32|*"-n32 ") libmagic=N32;; -+ *-64|*"-64 ") libmagic=64-bit;; -+ *) libmagic=never-match;; -+ esac -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+# This must be glibc/ELF. -+linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -+ else -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' -+ fi -+ ;; -+ -+newos6*) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' -+ lt_cv_file_magic_cmd=/usr/bin/file -+ lt_cv_file_magic_test_file=/usr/lib/libnls.so -+ ;; -+ -+*nto* | *qnx*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+openbsd*) -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' -+ else -+ lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' -+ fi -+ ;; -+ -+osf3* | osf4* | osf5*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+rdos*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+solaris*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ -+sysv4 | sysv4.3*) -+ case $host_vendor in -+ motorola) -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' -+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` -+ ;; -+ ncr) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ sequent) -+ lt_cv_file_magic_cmd='/bin/file' -+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' -+ ;; -+ sni) -+ lt_cv_file_magic_cmd='/bin/file' -+ lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" -+ lt_cv_file_magic_test_file=/lib/libc.so -+ ;; -+ siemens) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ pc) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+ esac -+ ;; -+ -+tpf*) -+ lt_cv_deplibs_check_method=pass_all -+ ;; -+esac -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 -+$as_echo "$lt_cv_deplibs_check_method" >&6; } -+ -+file_magic_glob= -+want_nocaseglob=no -+if test "$build" = "$host"; then -+ case $host_os in -+ mingw* | pw32*) -+ if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then -+ want_nocaseglob=yes -+ else -+ file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` -+ fi -+ ;; -+ esac -+fi -+ -+file_magic_cmd=$lt_cv_file_magic_cmd -+deplibs_check_method=$lt_cv_deplibs_check_method -+test -z "$deplibs_check_method" && deplibs_check_method=unknown -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DLLTOOL"; then -+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DLLTOOL=$ac_cv_prog_DLLTOOL -+if test -n "$DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -+$as_echo "$DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DLLTOOL"; then -+ ac_ct_DLLTOOL=$DLLTOOL -+ # Extract the first word of "dlltool", so it can be a program name with args. -+set dummy dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DLLTOOL"; then -+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DLLTOOL="dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -+if test -n "$ac_ct_DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -+$as_echo "$ac_ct_DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DLLTOOL" = x; then -+ DLLTOOL="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DLLTOOL=$ac_ct_DLLTOOL -+ fi -+else -+ DLLTOOL="$ac_cv_prog_DLLTOOL" -+fi -+ -+test -z "$DLLTOOL" && DLLTOOL=dlltool -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 -+$as_echo_n "checking how to associate runtime and link libraries... " >&6; } -+if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_sharedlib_from_linklib_cmd='unknown' -+ -+case $host_os in -+cygwin* | mingw* | pw32* | cegcc*) -+ # two different shell functions defined in ltmain.sh -+ # decide which to use based on capabilities of $DLLTOOL -+ case `$DLLTOOL --help 2>&1` in -+ *--identify-strict*) -+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib -+ ;; -+ *) -+ lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback -+ ;; -+ esac -+ ;; -+*) -+ # fallback: assume linklib IS sharedlib -+ lt_cv_sharedlib_from_linklib_cmd="$ECHO" -+ ;; -+esac -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 -+$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } -+sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd -+test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ for ac_prog in ar -+ do -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AR"; then -+ ac_cv_prog_AR="$AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AR="$ac_tool_prefix$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AR=$ac_cv_prog_AR -+if test -n "$AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 -+$as_echo "$AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$AR" && break -+ done -+fi -+if test -z "$AR"; then -+ ac_ct_AR=$AR -+ for ac_prog in ar -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_AR+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_AR"; then -+ ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_AR="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_AR=$ac_cv_prog_ac_ct_AR -+if test -n "$ac_ct_AR"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 -+$as_echo "$ac_ct_AR" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$ac_ct_AR" && break -+done -+ -+ if test "x$ac_ct_AR" = x; then -+ AR="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ AR=$ac_ct_AR -+ fi -+fi -+ -+: ${AR=ar} -+: ${AR_FLAGS=cru} -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 -+$as_echo_n "checking for archiver @FILE support... " >&6; } -+if ${lt_cv_ar_at_file+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ar_at_file=no -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ echo conftest.$ac_objext > conftest.lst -+ lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' -+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 -+ (eval $lt_ar_try) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if test "$ac_status" -eq 0; then -+ # Ensure the archiver fails upon bogus file names. -+ rm -f conftest.$ac_objext libconftest.a -+ { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 -+ (eval $lt_ar_try) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ if test "$ac_status" -ne 0; then -+ lt_cv_ar_at_file=@ -+ fi -+ fi -+ rm -f conftest.* libconftest.a -+ -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 -+$as_echo "$lt_cv_ar_at_file" >&6; } -+ -+if test "x$lt_cv_ar_at_file" = xno; then -+ archiver_list_spec= -+else -+ archiver_list_spec=$lt_cv_ar_at_file -+fi -+ -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. -+set dummy ${ac_tool_prefix}strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$STRIP"; then -+ ac_cv_prog_STRIP="$STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_STRIP="${ac_tool_prefix}strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+STRIP=$ac_cv_prog_STRIP -+if test -n "$STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 -+$as_echo "$STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_STRIP"; then -+ ac_ct_STRIP=$STRIP -+ # Extract the first word of "strip", so it can be a program name with args. -+set dummy strip; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_STRIP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_STRIP"; then -+ ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_STRIP="strip" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP -+if test -n "$ac_ct_STRIP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 -+$as_echo "$ac_ct_STRIP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_STRIP" = x; then -+ STRIP=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ STRIP=$ac_ct_STRIP -+ fi -+else -+ STRIP="$ac_cv_prog_STRIP" -+fi -+ -+test -z "$STRIP" && STRIP=: -+ -+ -+ -+ -+ -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$RANLIB"; then -+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+RANLIB=$ac_cv_prog_RANLIB -+if test -n "$RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 -+$as_echo "$RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_RANLIB"; then -+ ac_ct_RANLIB=$RANLIB -+ # Extract the first word of "ranlib", so it can be a program name with args. -+set dummy ranlib; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_RANLIB"; then -+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_RANLIB="ranlib" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -+if test -n "$ac_ct_RANLIB"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 -+$as_echo "$ac_ct_RANLIB" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_RANLIB" = x; then -+ RANLIB=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ RANLIB=$ac_ct_RANLIB -+ fi -+else -+ RANLIB="$ac_cv_prog_RANLIB" -+fi -+ -+test -z "$RANLIB" && RANLIB=: -+ -+ -+ -+ -+ -+ -+# Determine commands to create old-style static archives. -+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' -+old_postinstall_cmds='chmod 644 $oldlib' -+old_postuninstall_cmds= -+ -+if test -n "$RANLIB"; then -+ case $host_os in -+ openbsd*) -+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" -+ ;; -+ *) -+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" -+ ;; -+ esac -+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" -+fi -+ -+case $host_os in -+ darwin*) -+ lock_old_archive_extraction=yes ;; -+ *) -+ lock_old_archive_extraction=no ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+for ac_prog in gawk mawk nawk awk -+do -+ # Extract the first word of "$ac_prog", so it can be a program name with args. -+set dummy $ac_prog; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AWK+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AWK"; then -+ ac_cv_prog_AWK="$AWK" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AWK="$ac_prog" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AWK=$ac_cv_prog_AWK -+if test -n "$AWK"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 -+$as_echo "$AWK" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ test -n "$AWK" && break -+done -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# If no C compiler was specified, use CC. -+LTCC=${LTCC-"$CC"} -+ -+# If no C compiler flags were specified, use CFLAGS. -+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -+ -+# Allow CC to be a program name with arguments. -+compiler=$CC -+ -+ -+# Check for command to grab the raw symbol name followed by C symbol from nm. -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 -+$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } -+if ${lt_cv_sys_global_symbol_pipe+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+# These are sane defaults that work on at least a few old systems. -+# [They come from Ultrix. What could be older than Ultrix?!! ;)] -+ -+# Character class describing NM global symbol codes. -+symcode='[BCDEGRST]' -+ -+# Regexp to match symbols that can be accessed directly from C. -+sympat='\([_A-Za-z][_A-Za-z0-9]*\)' -+ -+# Define system-specific variables. -+case $host_os in -+aix*) -+ symcode='[BCDT]' -+ ;; -+cygwin* | mingw* | pw32* | cegcc*) -+ symcode='[ABCDGISTW]' -+ ;; -+hpux*) -+ if test "$host_cpu" = ia64; then -+ symcode='[ABCDEGRST]' -+ fi -+ ;; -+irix* | nonstopux*) -+ symcode='[BCDEGRST]' -+ ;; -+osf*) -+ symcode='[BCDEGQRST]' -+ ;; -+solaris*) -+ symcode='[BDRT]' -+ ;; -+sco3.2v5*) -+ symcode='[DT]' -+ ;; -+sysv4.2uw2*) -+ symcode='[DT]' -+ ;; -+sysv5* | sco5v6* | unixware* | OpenUNIX*) -+ symcode='[ABDT]' -+ ;; -+sysv4) -+ symcode='[DFNSTU]' -+ ;; -+esac -+ -+# If we're using GNU nm, then use its standard symbol codes. -+case `$NM -V 2>&1` in -+*GNU* | *'with BFD'*) -+ symcode='[ABCDGIRSTW]' ;; -+esac -+ -+# Transform an extracted symbol line into a proper C declaration. -+# Some systems (esp. on ia64) link data and code symbols differently, -+# so use this general approach. -+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" -+ -+# Transform an extracted symbol line into symbol name and symbol address -+lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" -+ -+# Handle CRLF in mingw tool chain -+opt_cr= -+case $build_os in -+mingw*) -+ opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp -+ ;; -+esac -+ -+# Try without a prefix underscore, then with it. -+for ac_symprfx in "" "_"; do -+ -+ # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. -+ symxfrm="\\1 $ac_symprfx\\2 \\2" -+ -+ # Write the raw and C identifiers. -+ if test "$lt_cv_nm_interface" = "MS dumpbin"; then -+ # Fake it for dumpbin and say T for any non-static function -+ # and D for any global variable. -+ # Also find C++ and __fastcall symbols from MSVC++, -+ # which start with @ or ?. -+ lt_cv_sys_global_symbol_pipe="$AWK '"\ -+" {last_section=section; section=\$ 3};"\ -+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ -+" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ -+" \$ 0!~/External *\|/{next};"\ -+" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ -+" {if(hide[section]) next};"\ -+" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ -+" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ -+" s[1]~/^[@?]/{print s[1], s[1]; next};"\ -+" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ -+" ' prfx=^$ac_symprfx" -+ else -+ lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" -+ fi -+ lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" -+ -+ # Check to see that the pipe works correctly. -+ pipe_works=no -+ -+ rm -f conftest* -+ cat > conftest.$ac_ext <<_LT_EOF -+#ifdef __cplusplus -+extern "C" { -+#endif -+char nm_test_var; -+void nm_test_func(void); -+void nm_test_func(void){} -+#ifdef __cplusplus -+} -+#endif -+int main(){nm_test_var='a';nm_test_func();return(0);} -+_LT_EOF -+ -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ # Now try to grab the symbols. -+ nlist=conftest.nm -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 -+ (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s "$nlist"; then -+ # Try sorting and uniquifying the output. -+ if sort "$nlist" | uniq > "$nlist"T; then -+ mv -f "$nlist"T "$nlist" -+ else -+ rm -f "$nlist"T -+ fi -+ -+ # Make sure that we snagged all the symbols we need. -+ if $GREP ' nm_test_var$' "$nlist" >/dev/null; then -+ if $GREP ' nm_test_func$' "$nlist" >/dev/null; then -+ cat <<_LT_EOF > conftest.$ac_ext -+/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ -+#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) -+/* DATA imports from DLLs on WIN32 con't be const, because runtime -+ relocations are performed -- see ld's documentation on pseudo-relocs. */ -+# define LT_DLSYM_CONST -+#elif defined(__osf__) -+/* This system does not cope well with relocations in const data. */ -+# define LT_DLSYM_CONST -+#else -+# define LT_DLSYM_CONST const -+#endif -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+_LT_EOF -+ # Now generate the symbol file. -+ eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' -+ -+ cat <<_LT_EOF >> conftest.$ac_ext -+ -+/* The mapping between symbol names and symbols. */ -+LT_DLSYM_CONST struct { -+ const char *name; -+ void *address; -+} -+lt__PROGRAM__LTX_preloaded_symbols[] = -+{ -+ { "@PROGRAM@", (void *) 0 }, -+_LT_EOF -+ $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext -+ cat <<\_LT_EOF >> conftest.$ac_ext -+ {0, (void *) 0} -+}; -+ -+/* This works around a problem in FreeBSD linker */ -+#ifdef FREEBSD_WORKAROUND -+static const void *lt_preloaded_setup() { -+ return lt__PROGRAM__LTX_preloaded_symbols; -+} -+#endif -+ -+#ifdef __cplusplus -+} -+#endif -+_LT_EOF -+ # Now try linking the two files. -+ mv conftest.$ac_objext conftstm.$ac_objext -+ lt_globsym_save_LIBS=$LIBS -+ lt_globsym_save_CFLAGS=$CFLAGS -+ LIBS="conftstm.$ac_objext" -+ CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext}; then -+ pipe_works=yes -+ fi -+ LIBS=$lt_globsym_save_LIBS -+ CFLAGS=$lt_globsym_save_CFLAGS -+ else -+ echo "cannot find nm_test_func in $nlist" >&5 -+ fi -+ else -+ echo "cannot find nm_test_var in $nlist" >&5 -+ fi -+ else -+ echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 -+ fi -+ else -+ echo "$progname: failed program was:" >&5 -+ cat conftest.$ac_ext >&5 -+ fi -+ rm -rf conftest* conftst* -+ -+ # Do not use the global_symbol_pipe unless it works. -+ if test "$pipe_works" = yes; then -+ break -+ else -+ lt_cv_sys_global_symbol_pipe= -+ fi -+done -+ -+fi -+ -+if test -z "$lt_cv_sys_global_symbol_pipe"; then -+ lt_cv_sys_global_symbol_to_cdecl= -+fi -+if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 -+$as_echo "failed" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 -+$as_echo "ok" >&6; } -+fi -+ -+# Response file support. -+if test "$lt_cv_nm_interface" = "MS dumpbin"; then -+ nm_file_list_spec='@' -+elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then -+ nm_file_list_spec='@' -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 -+$as_echo_n "checking for sysroot... " >&6; } -+ -+# Check whether --with-sysroot was given. -+if test "${with_sysroot+set}" = set; then : -+ withval=$with_sysroot; -+else -+ with_sysroot=no -+fi -+ -+ -+lt_sysroot= -+case ${with_sysroot} in #( -+ yes) -+ if test "$GCC" = yes; then -+ lt_sysroot=`$CC --print-sysroot 2>/dev/null` -+ fi -+ ;; #( -+ /*) -+ lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` -+ ;; #( -+ no|'') -+ ;; #( -+ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 -+$as_echo "${with_sysroot}" >&6; } -+ as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 -+ ;; -+esac -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 -+$as_echo "${lt_sysroot:-no}" >&6; } -+ -+ -+ -+ -+ -+# Check whether --enable-libtool-lock was given. -+if test "${enable_libtool_lock+set}" = set; then : -+ enableval=$enable_libtool_lock; -+fi -+ -+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes -+ -+# Some flags need to be propagated to the compiler or linker for good -+# libtool support. -+case $host in -+ia64-*-hpux*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.$ac_objext` in -+ *ELF-32*) -+ HPUX_IA64_MODE="32" -+ ;; -+ *ELF-64*) -+ HPUX_IA64_MODE="64" -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+*-*-irix6*) -+ # Find out which ABI we are using. -+ echo '#line '$LINENO' "configure"' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ if test "$lt_cv_prog_gnu_ld" = yes; then -+ case `/usr/bin/file conftest.$ac_objext` in -+ *32-bit*) -+ LD="${LD-ld} -melf32bsmip" -+ ;; -+ *N32*) -+ LD="${LD-ld} -melf32bmipn32" -+ ;; -+ *64-bit*) -+ LD="${LD-ld} -melf64bmip" -+ ;; -+ esac -+ else -+ case `/usr/bin/file conftest.$ac_objext` in -+ *32-bit*) -+ LD="${LD-ld} -32" -+ ;; -+ *N32*) -+ LD="${LD-ld} -n32" -+ ;; -+ *64-bit*) -+ LD="${LD-ld} -64" -+ ;; -+ esac -+ fi -+ fi -+ rm -rf conftest* -+ ;; -+ -+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ -+s390*-*linux*|s390*-*tpf*|sparc*-*linux*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.o` in -+ *32-bit*) -+ case $host in -+ x86_64-*kfreebsd*-gnu) -+ LD="${LD-ld} -m elf_i386_fbsd" -+ ;; -+ x86_64-*linux*) -+ LD="${LD-ld} -m elf_i386" -+ ;; -+ ppc64-*linux*|powerpc64-*linux*) -+ LD="${LD-ld} -m elf32ppclinux" -+ ;; -+ s390x-*linux*) -+ LD="${LD-ld} -m elf_s390" -+ ;; -+ sparc64-*linux*) -+ LD="${LD-ld} -m elf32_sparc" -+ ;; -+ esac -+ ;; -+ *64-bit*) -+ case $host in -+ x86_64-*kfreebsd*-gnu) -+ LD="${LD-ld} -m elf_x86_64_fbsd" -+ ;; -+ x86_64-*linux*) -+ LD="${LD-ld} -m elf_x86_64" -+ ;; -+ ppc*-*linux*|powerpc*-*linux*) -+ LD="${LD-ld} -m elf64ppc" -+ ;; -+ s390*-*linux*|s390*-*tpf*) -+ LD="${LD-ld} -m elf64_s390" -+ ;; -+ sparc*-*linux*) -+ LD="${LD-ld} -m elf64_sparc" -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+ -+*-*-sco3.2v5*) -+ # On SCO OpenServer 5, we need -belf to get full-featured binaries. -+ SAVE_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -belf" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 -+$as_echo_n "checking whether the C compiler needs -belf... " >&6; } -+if ${lt_cv_cc_needs_belf+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_cc_needs_belf=yes -+else -+ lt_cv_cc_needs_belf=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 -+$as_echo "$lt_cv_cc_needs_belf" >&6; } -+ if test x"$lt_cv_cc_needs_belf" != x"yes"; then -+ # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf -+ CFLAGS="$SAVE_CFLAGS" -+ fi -+ ;; -+*-*solaris*) -+ # Find out which ABI we are using. -+ echo 'int i;' > conftest.$ac_ext -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; }; then -+ case `/usr/bin/file conftest.o` in -+ *64-bit*) -+ case $lt_cv_prog_gnu_ld in -+ yes*) -+ case $host in -+ i?86-*-solaris*) -+ LD="${LD-ld} -m elf_x86_64" -+ ;; -+ sparc*-*-solaris*) -+ LD="${LD-ld} -m elf64_sparc" -+ ;; -+ esac -+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available. -+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then -+ LD="${LD-ld}_sol2" -+ fi -+ ;; -+ *) -+ if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then -+ LD="${LD-ld} -64" -+ fi -+ ;; -+ esac -+ ;; -+ esac -+ fi -+ rm -rf conftest* -+ ;; -+esac -+ -+need_locks="$enable_libtool_lock" -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. -+set dummy ${ac_tool_prefix}mt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$MANIFEST_TOOL"; then -+ ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL -+if test -n "$MANIFEST_TOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 -+$as_echo "$MANIFEST_TOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_MANIFEST_TOOL"; then -+ ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL -+ # Extract the first word of "mt", so it can be a program name with args. -+set dummy mt; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_MANIFEST_TOOL"; then -+ ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL -+if test -n "$ac_ct_MANIFEST_TOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 -+$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_MANIFEST_TOOL" = x; then -+ MANIFEST_TOOL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL -+ fi -+else -+ MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" -+fi -+ -+test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 -+$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } -+if ${lt_cv_path_mainfest_tool+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_path_mainfest_tool=no -+ echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 -+ $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out -+ cat conftest.err >&5 -+ if $GREP 'Manifest Tool' conftest.out > /dev/null; then -+ lt_cv_path_mainfest_tool=yes -+ fi -+ rm -f conftest* -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 -+$as_echo "$lt_cv_path_mainfest_tool" >&6; } -+if test "x$lt_cv_path_mainfest_tool" != xyes; then -+ MANIFEST_TOOL=: -+fi -+ -+ -+ -+ -+ -+ -+ case $host_os in -+ rhapsody* | darwin*) -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DSYMUTIL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DSYMUTIL"; then -+ ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DSYMUTIL=$ac_cv_prog_DSYMUTIL -+if test -n "$DSYMUTIL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 -+$as_echo "$DSYMUTIL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DSYMUTIL"; then -+ ac_ct_DSYMUTIL=$DSYMUTIL -+ # Extract the first word of "dsymutil", so it can be a program name with args. -+set dummy dsymutil; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DSYMUTIL"; then -+ ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL -+if test -n "$ac_ct_DSYMUTIL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 -+$as_echo "$ac_ct_DSYMUTIL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DSYMUTIL" = x; then -+ DSYMUTIL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DSYMUTIL=$ac_ct_DSYMUTIL -+ fi -+else -+ DSYMUTIL="$ac_cv_prog_DSYMUTIL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. -+set dummy ${ac_tool_prefix}nmedit; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_NMEDIT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$NMEDIT"; then -+ ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+NMEDIT=$ac_cv_prog_NMEDIT -+if test -n "$NMEDIT"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 -+$as_echo "$NMEDIT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_NMEDIT"; then -+ ac_ct_NMEDIT=$NMEDIT -+ # Extract the first word of "nmedit", so it can be a program name with args. -+set dummy nmedit; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_NMEDIT"; then -+ ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_NMEDIT="nmedit" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT -+if test -n "$ac_ct_NMEDIT"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 -+$as_echo "$ac_ct_NMEDIT" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_NMEDIT" = x; then -+ NMEDIT=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ NMEDIT=$ac_ct_NMEDIT -+ fi -+else -+ NMEDIT="$ac_cv_prog_NMEDIT" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. -+set dummy ${ac_tool_prefix}lipo; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_LIPO+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$LIPO"; then -+ ac_cv_prog_LIPO="$LIPO" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_LIPO="${ac_tool_prefix}lipo" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+LIPO=$ac_cv_prog_LIPO -+if test -n "$LIPO"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 -+$as_echo "$LIPO" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_LIPO"; then -+ ac_ct_LIPO=$LIPO -+ # Extract the first word of "lipo", so it can be a program name with args. -+set dummy lipo; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_LIPO+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_LIPO"; then -+ ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_LIPO="lipo" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO -+if test -n "$ac_ct_LIPO"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 -+$as_echo "$ac_ct_LIPO" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_LIPO" = x; then -+ LIPO=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ LIPO=$ac_ct_LIPO -+ fi -+else -+ LIPO="$ac_cv_prog_LIPO" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}otool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OTOOL"; then -+ ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OTOOL="${ac_tool_prefix}otool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OTOOL=$ac_cv_prog_OTOOL -+if test -n "$OTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 -+$as_echo "$OTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OTOOL"; then -+ ac_ct_OTOOL=$OTOOL -+ # Extract the first word of "otool", so it can be a program name with args. -+set dummy otool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OTOOL"; then -+ ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OTOOL="otool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL -+if test -n "$ac_ct_OTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 -+$as_echo "$ac_ct_OTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OTOOL" = x; then -+ OTOOL=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OTOOL=$ac_ct_OTOOL -+ fi -+else -+ OTOOL="$ac_cv_prog_OTOOL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. -+set dummy ${ac_tool_prefix}otool64; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OTOOL64+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OTOOL64"; then -+ ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OTOOL64=$ac_cv_prog_OTOOL64 -+if test -n "$OTOOL64"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 -+$as_echo "$OTOOL64" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OTOOL64"; then -+ ac_ct_OTOOL64=$OTOOL64 -+ # Extract the first word of "otool64", so it can be a program name with args. -+set dummy otool64; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OTOOL64"; then -+ ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OTOOL64="otool64" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 -+if test -n "$ac_ct_OTOOL64"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 -+$as_echo "$ac_ct_OTOOL64" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OTOOL64" = x; then -+ OTOOL64=":" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OTOOL64=$ac_ct_OTOOL64 -+ fi -+else -+ OTOOL64="$ac_cv_prog_OTOOL64" -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 -+$as_echo_n "checking for -single_module linker flag... " >&6; } -+if ${lt_cv_apple_cc_single_mod+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_apple_cc_single_mod=no -+ if test -z "${LT_MULTI_MODULE}"; then -+ # By default we will add the -single_module flag. You can override -+ # by either setting the environment variable LT_MULTI_MODULE -+ # non-empty at configure time, or by adding -multi_module to the -+ # link flags. -+ rm -rf libconftest.dylib* -+ echo "int foo(void){return 1;}" > conftest.c -+ echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -+-dynamiclib -Wl,-single_module conftest.c" >&5 -+ $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -+ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err -+ _lt_result=$? -+ # If there is a non-empty error log, and "single_module" -+ # appears in it, assume the flag caused a linker warning -+ if test -s conftest.err && $GREP single_module conftest.err; then -+ cat conftest.err >&5 -+ # Otherwise, if the output was created with a 0 exit code from -+ # the compiler, it worked. -+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then -+ lt_cv_apple_cc_single_mod=yes -+ else -+ cat conftest.err >&5 -+ fi -+ rm -rf libconftest.dylib* -+ rm -f conftest.* -+ fi -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 -+$as_echo "$lt_cv_apple_cc_single_mod" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 -+$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } -+if ${lt_cv_ld_exported_symbols_list+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_exported_symbols_list=no -+ save_LDFLAGS=$LDFLAGS -+ echo "_main" > conftest.sym -+ LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_ld_exported_symbols_list=yes -+else -+ lt_cv_ld_exported_symbols_list=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 -+$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 -+$as_echo_n "checking for -force_load linker flag... " >&6; } -+if ${lt_cv_ld_force_load+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_ld_force_load=no -+ cat > conftest.c << _LT_EOF -+int forced_loaded() { return 2;} -+_LT_EOF -+ echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 -+ $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 -+ echo "$AR cru libconftest.a conftest.o" >&5 -+ $AR cru libconftest.a conftest.o 2>&5 -+ echo "$RANLIB libconftest.a" >&5 -+ $RANLIB libconftest.a 2>&5 -+ cat > conftest.c << _LT_EOF -+int main() { return 0;} -+_LT_EOF -+ echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 -+ $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err -+ _lt_result=$? -+ if test -s conftest.err && $GREP force_load conftest.err; then -+ cat conftest.err >&5 -+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then -+ lt_cv_ld_force_load=yes -+ else -+ cat conftest.err >&5 -+ fi -+ rm -f conftest.err libconftest.a conftest conftest.c -+ rm -rf conftest.dSYM -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 -+$as_echo "$lt_cv_ld_force_load" >&6; } -+ case $host_os in -+ rhapsody* | darwin1.[012]) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; -+ darwin1.*) -+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; -+ darwin*) # darwin 5.x on -+ # if running on 10.5 or later, the deployment target defaults -+ # to the OS version, if on x86, and 10.4, the deployment -+ # target defaults to 10.4. Don't you love it? -+ case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in -+ 10.0,*86*-darwin8*|10.0,*-darwin[91]*) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; -+ 10.[012]*) -+ _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; -+ 10.*) -+ _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; -+ esac -+ ;; -+ esac -+ if test "$lt_cv_apple_cc_single_mod" = "yes"; then -+ _lt_dar_single_mod='$single_module' -+ fi -+ if test "$lt_cv_ld_exported_symbols_list" = "yes"; then -+ _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' -+ else -+ _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' -+ fi -+ if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then -+ _lt_dsymutil='~$DSYMUTIL $lib || :' -+ else -+ _lt_dsymutil= -+ fi -+ ;; -+ esac -+ -+for ac_header in dlfcn.h -+do : -+ ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default -+" -+if test "x$ac_cv_header_dlfcn_h" = xyes; then : -+ cat >>confdefs.h <<_ACEOF -+#define HAVE_DLFCN_H 1 -+_ACEOF -+ -+fi -+ -+done -+ -+ -+ -+ -+ -+# Set options -+enable_win32_dll=yes -+ -+case $host in -+*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -+set dummy ${ac_tool_prefix}as; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_AS+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$AS"; then -+ ac_cv_prog_AS="$AS" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_AS="${ac_tool_prefix}as" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+AS=$ac_cv_prog_AS -+if test -n "$AS"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 -+$as_echo "$AS" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_AS"; then -+ ac_ct_AS=$AS -+ # Extract the first word of "as", so it can be a program name with args. -+set dummy as; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_AS+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_AS"; then -+ ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_AS="as" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_AS=$ac_cv_prog_ac_ct_AS -+if test -n "$ac_ct_AS"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 -+$as_echo "$ac_ct_AS" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_AS" = x; then -+ AS="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ AS=$ac_ct_AS -+ fi -+else -+ AS="$ac_cv_prog_AS" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. -+set dummy ${ac_tool_prefix}dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$DLLTOOL"; then -+ ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+DLLTOOL=$ac_cv_prog_DLLTOOL -+if test -n "$DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 -+$as_echo "$DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_DLLTOOL"; then -+ ac_ct_DLLTOOL=$DLLTOOL -+ # Extract the first word of "dlltool", so it can be a program name with args. -+set dummy dlltool; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_DLLTOOL"; then -+ ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_DLLTOOL="dlltool" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL -+if test -n "$ac_ct_DLLTOOL"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 -+$as_echo "$ac_ct_DLLTOOL" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_DLLTOOL" = x; then -+ DLLTOOL="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ DLLTOOL=$ac_ct_DLLTOOL -+ fi -+else -+ DLLTOOL="$ac_cv_prog_DLLTOOL" -+fi -+ -+ if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. -+set dummy ${ac_tool_prefix}objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$OBJDUMP"; then -+ ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+OBJDUMP=$ac_cv_prog_OBJDUMP -+if test -n "$OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 -+$as_echo "$OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+fi -+if test -z "$ac_cv_prog_OBJDUMP"; then -+ ac_ct_OBJDUMP=$OBJDUMP -+ # Extract the first word of "objdump", so it can be a program name with args. -+set dummy objdump; ac_word=$2 -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -+$as_echo_n "checking for $ac_word... " >&6; } -+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test -n "$ac_ct_OBJDUMP"; then -+ ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_OBJDUMP="objdump" -+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+ done -+IFS=$as_save_IFS -+ -+fi -+fi -+ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP -+if test -n "$ac_ct_OBJDUMP"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 -+$as_echo "$ac_ct_OBJDUMP" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ if test "x$ac_ct_OBJDUMP" = x; then -+ OBJDUMP="false" -+ else -+ case $cross_compiling:$ac_tool_warned in -+yes:) -+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 -+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -+ac_tool_warned=yes ;; -+esac -+ OBJDUMP=$ac_ct_OBJDUMP -+ fi -+else -+ OBJDUMP="$ac_cv_prog_OBJDUMP" -+fi -+ -+ ;; -+esac -+ -+test -z "$AS" && AS=as -+ -+ -+ -+ -+ -+test -z "$DLLTOOL" && DLLTOOL=dlltool -+ -+ -+ -+ -+ -+test -z "$OBJDUMP" && OBJDUMP=objdump -+ -+ -+ -+ -+ -+ -+ -+ enable_dlopen=no -+ -+ -+ -+ # Check whether --enable-shared was given. -+if test "${enable_shared+set}" = set; then : -+ enableval=$enable_shared; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_shared=yes ;; -+ no) enable_shared=no ;; -+ *) -+ enable_shared=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_shared=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_shared=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ # Check whether --enable-static was given. -+if test "${enable_static+set}" = set; then : -+ enableval=$enable_static; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_static=yes ;; -+ no) enable_static=no ;; -+ *) -+ enable_static=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_static=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_static=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# Check whether --with-pic was given. -+if test "${with_pic+set}" = set; then : -+ withval=$with_pic; lt_p=${PACKAGE-default} -+ case $withval in -+ yes|no) pic_mode=$withval ;; -+ *) -+ pic_mode=default -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for lt_pkg in $withval; do -+ IFS="$lt_save_ifs" -+ if test "X$lt_pkg" = "X$lt_p"; then -+ pic_mode=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ pic_mode=default -+fi -+ -+ -+test -z "$pic_mode" && pic_mode=default -+ -+ -+ -+ -+ -+ -+ -+ # Check whether --enable-fast-install was given. -+if test "${enable_fast_install+set}" = set; then : -+ enableval=$enable_fast_install; p=${PACKAGE-default} -+ case $enableval in -+ yes) enable_fast_install=yes ;; -+ no) enable_fast_install=no ;; -+ *) -+ enable_fast_install=no -+ # Look at the argument we got. We use all the common list separators. -+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," -+ for pkg in $enableval; do -+ IFS="$lt_save_ifs" -+ if test "X$pkg" = "X$p"; then -+ enable_fast_install=yes -+ fi -+ done -+ IFS="$lt_save_ifs" -+ ;; -+ esac -+else -+ enable_fast_install=yes -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# This can be used to rebuild libtool when needed -+LIBTOOL_DEPS="$ltmain" -+ -+# Always use our own libtool. -+LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool' -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+test -z "$LN_S" && LN_S="ln -s" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 -+$as_echo_n "checking for objdir... " >&6; } -+if ${lt_cv_objdir+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ rm -f .libs 2>/dev/null -+mkdir .libs 2>/dev/null -+if test -d .libs; then -+ lt_cv_objdir=.libs -+else -+ # MS-DOS does not allow filenames that begin with a dot. -+ lt_cv_objdir=_libs -+fi -+rmdir .libs 2>/dev/null -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 -+$as_echo "$lt_cv_objdir" >&6; } -+objdir=$lt_cv_objdir -+ -+ -+ -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define LT_OBJDIR "$lt_cv_objdir/" -+_ACEOF -+ -+ -+ -+ -+case $host_os in -+aix3*) -+ # AIX sometimes has problems with the GCC collect2 program. For some -+ # reason, if we set the COLLECT_NAMES environment variable, the problems -+ # vanish in a puff of smoke. -+ if test "X${COLLECT_NAMES+set}" != Xset; then -+ COLLECT_NAMES= -+ export COLLECT_NAMES -+ fi -+ ;; -+esac -+ -+# Global variables: -+ofile=libtool -+can_build_shared=yes -+ -+# All known linkers require a `.a' archive for static linking (except MSVC, -+# which needs '.lib'). -+libext=a -+ -+with_gnu_ld="$lt_cv_prog_gnu_ld" -+ -+old_CC="$CC" -+old_CFLAGS="$CFLAGS" -+ -+# Set sane defaults for various variables -+test -z "$CC" && CC=cc -+test -z "$LTCC" && LTCC=$CC -+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS -+test -z "$LD" && LD=ld -+test -z "$ac_objext" && ac_objext=o -+ -+for cc_temp in $compiler""; do -+ case $cc_temp in -+ compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; -+ distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; -+ \-*) ;; -+ *) break;; -+ esac -+done -+cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` -+ -+ -+# Only perform the check for file, if the check method requires it -+test -z "$MAGIC_CMD" && MAGIC_CMD=file -+case $deplibs_check_method in -+file_magic*) -+ if test "$file_magic_cmd" = '$MAGIC_CMD'; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 -+$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } -+if ${lt_cv_path_MAGIC_CMD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $MAGIC_CMD in -+[\\/*] | ?:[\\/]*) -+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. -+ ;; -+*) -+ lt_save_MAGIC_CMD="$MAGIC_CMD" -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" -+ for ac_dir in $ac_dummy; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/${ac_tool_prefix}file; then -+ lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" -+ if test -n "$file_magic_test_file"; then -+ case $deplibs_check_method in -+ "file_magic "*) -+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` -+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | -+ $EGREP "$file_magic_regex" > /dev/null; then -+ : -+ else -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the command libtool uses to detect shared libraries, -+*** $file_magic_cmd, produces output that libtool cannot recognize. -+*** The result is that libtool may fail to recognize shared libraries -+*** as such. This will affect the creation of libtool libraries that -+*** depend on shared libraries, but programs linked with such libtool -+*** libraries will work regardless of this problem. Nevertheless, you -+*** may want to report the problem to your system manager and/or to -+*** bug-libtool@gnu.org -+ -+_LT_EOF -+ fi ;; -+ esac -+ fi -+ break -+ fi -+ done -+ IFS="$lt_save_ifs" -+ MAGIC_CMD="$lt_save_MAGIC_CMD" -+ ;; -+esac -+fi -+ -+MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+if test -n "$MAGIC_CMD"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ -+ -+ -+if test -z "$lt_cv_path_MAGIC_CMD"; then -+ if test -n "$ac_tool_prefix"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 -+$as_echo_n "checking for file... " >&6; } -+if ${lt_cv_path_MAGIC_CMD+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ case $MAGIC_CMD in -+[\\/*] | ?:[\\/]*) -+ lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. -+ ;; -+*) -+ lt_save_MAGIC_CMD="$MAGIC_CMD" -+ lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" -+ for ac_dir in $ac_dummy; do -+ IFS="$lt_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/file; then -+ lt_cv_path_MAGIC_CMD="$ac_dir/file" -+ if test -n "$file_magic_test_file"; then -+ case $deplibs_check_method in -+ "file_magic "*) -+ file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` -+ MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+ if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | -+ $EGREP "$file_magic_regex" > /dev/null; then -+ : -+ else -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the command libtool uses to detect shared libraries, -+*** $file_magic_cmd, produces output that libtool cannot recognize. -+*** The result is that libtool may fail to recognize shared libraries -+*** as such. This will affect the creation of libtool libraries that -+*** depend on shared libraries, but programs linked with such libtool -+*** libraries will work regardless of this problem. Nevertheless, you -+*** may want to report the problem to your system manager and/or to -+*** bug-libtool@gnu.org -+ -+_LT_EOF -+ fi ;; -+ esac -+ fi -+ break -+ fi -+ done -+ IFS="$lt_save_ifs" -+ MAGIC_CMD="$lt_save_MAGIC_CMD" -+ ;; -+esac -+fi -+ -+MAGIC_CMD="$lt_cv_path_MAGIC_CMD" -+if test -n "$MAGIC_CMD"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 -+$as_echo "$MAGIC_CMD" >&6; } -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+fi -+ -+ -+ else -+ MAGIC_CMD=: -+ fi -+fi -+ -+ fi -+ ;; -+esac -+ -+# Use C for the default configuration in the libtool script -+ -+lt_save_CC="$CC" -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+# Source file extension for C test sources. -+ac_ext=c -+ -+# Object file extension for compiled C test sources. -+objext=o -+objext=$objext -+ -+# Code to be used in simple compile tests -+lt_simple_compile_test_code="int some_variable = 0;" -+ -+# Code to be used in simple link tests -+lt_simple_link_test_code='int main(){return(0);}' -+ -+ -+ -+ -+ -+ -+ -+# If no C compiler was specified, use CC. -+LTCC=${LTCC-"$CC"} -+ -+# If no C compiler flags were specified, use CFLAGS. -+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} -+ -+# Allow CC to be a program name with arguments. -+compiler=$CC -+ -+# Save the default compiler, since it gets overwritten when the other -+# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. -+compiler_DEFAULT=$CC -+ -+# save warnings/boilerplate of simple test code -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_compile_test_code" >conftest.$ac_ext -+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_compiler_boilerplate=`cat conftest.err` -+$RM conftest* -+ -+ac_outfile=conftest.$ac_objext -+echo "$lt_simple_link_test_code" >conftest.$ac_ext -+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err -+_lt_linker_boilerplate=`cat conftest.err` -+$RM -r conftest* -+ -+ -+## CAVEAT EMPTOR: -+## There is no encapsulation within the following macros, do not change -+## the running order or otherwise move them around unless you know exactly -+## what you are doing... -+if test -n "$compiler"; then -+ -+lt_prog_compiler_no_builtin_flag= -+ -+if test "$GCC" = yes; then -+ case $cc_basename in -+ nvcc*) -+ lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; -+ *) -+ lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; -+ esac -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 -+$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } -+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_rtti_exceptions=no -+ ac_outfile=conftest.$ac_objext -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ lt_compiler_flag="-fno-rtti -fno-exceptions" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ # The option is referenced via a variable to avoid confusing sed. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>conftest.err) -+ ac_status=$? -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s "$ac_outfile"; then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings other than the usual output. -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_rtti_exceptions=yes -+ fi -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 -+$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } -+ -+if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then -+ lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" -+else -+ : -+fi -+ -+fi -+ -+ -+ -+ -+ -+ -+ lt_prog_compiler_wl= -+lt_prog_compiler_pic= -+lt_prog_compiler_static= -+ -+ -+ if test "$GCC" = yes; then -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_static='-static' -+ -+ case $host_os in -+ aix*) -+ # All AIX code is PIC. -+ if test "$host_cpu" = ia64; then -+ # AIX 5 now supports IA64 processor -+ lt_prog_compiler_static='-Bstatic' -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ m68k) -+ # FIXME: we need at least 68020 code to build shared libraries, but -+ # adding the `-m68020' flag to GCC prevents building anything better, -+ # like `-m68040'. -+ lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' -+ ;; -+ esac -+ ;; -+ -+ beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) -+ # PIC is the default for these OSes. -+ ;; -+ -+ mingw* | cygwin* | pw32* | os2* | cegcc*) -+ # This hack is so that the source file can tell whether it is being -+ # built for inclusion in a dll (and should export symbols for example). -+ # Although the cygwin gcc ignores -fPIC, still need this for old-style -+ # (--disable-auto-import) libraries -+ lt_prog_compiler_pic='-DDLL_EXPORT' -+ ;; -+ -+ darwin* | rhapsody*) -+ # PIC is the default on this platform -+ # Common symbols not allowed in MH_DYLIB files -+ lt_prog_compiler_pic='-fno-common' -+ ;; -+ -+ haiku*) -+ # PIC is the default for Haiku. -+ # The "-static" flag exists, but is broken. -+ lt_prog_compiler_static= -+ ;; -+ -+ hpux*) -+ # PIC is the default for 64-bit PA HP-UX, but not for 32-bit -+ # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag -+ # sets the default TLS model and affects inlining. -+ case $host_cpu in -+ hppa*64*) -+ # +Z the default -+ ;; -+ *) -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ esac -+ ;; -+ -+ interix[3-9]*) -+ # Interix 3.x gcc -fpic/-fPIC options generate broken code. -+ # Instead, we relocate shared libraries at runtime. -+ ;; -+ -+ msdosdjgpp*) -+ # Just because we use GCC doesn't mean we suddenly get shared libraries -+ # on systems that don't support them. -+ lt_prog_compiler_can_build_shared=no -+ enable_shared=no -+ ;; -+ -+ *nto* | *qnx*) -+ # QNX uses GNU C++, but need to define -shared option too, otherwise -+ # it will coredump. -+ lt_prog_compiler_pic='-fPIC -shared' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec; then -+ lt_prog_compiler_pic=-Kconform_pic -+ fi -+ ;; -+ -+ *) -+ lt_prog_compiler_pic='-fPIC' -+ ;; -+ esac -+ -+ case $cc_basename in -+ nvcc*) # Cuda Compiler Driver 2.2 -+ lt_prog_compiler_wl='-Xlinker ' -+ if test -n "$lt_prog_compiler_pic"; then -+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" -+ fi -+ ;; -+ esac -+ else -+ # PORTME Check for flag to pass linker flags through the system compiler. -+ case $host_os in -+ aix*) -+ lt_prog_compiler_wl='-Wl,' -+ if test "$host_cpu" = ia64; then -+ # AIX 5 now supports IA64 processor -+ lt_prog_compiler_static='-Bstatic' -+ else -+ lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' -+ fi -+ ;; -+ -+ mingw* | cygwin* | pw32* | os2* | cegcc*) -+ # This hack is so that the source file can tell whether it is being -+ # built for inclusion in a dll (and should export symbols for example). -+ lt_prog_compiler_pic='-DDLL_EXPORT' -+ ;; -+ -+ hpux9* | hpux10* | hpux11*) -+ lt_prog_compiler_wl='-Wl,' -+ # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but -+ # not for PA HP-UX. -+ case $host_cpu in -+ hppa*64*|ia64*) -+ # +Z the default -+ ;; -+ *) -+ lt_prog_compiler_pic='+Z' -+ ;; -+ esac -+ # Is there a better lt_prog_compiler_static that works with the bundled CC? -+ lt_prog_compiler_static='${wl}-a ${wl}archive' -+ ;; -+ -+ irix5* | irix6* | nonstopux*) -+ lt_prog_compiler_wl='-Wl,' -+ # PIC (with -KPIC) is the default. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ case $cc_basename in -+ # old Intel for x86_64 which still supported -KPIC. -+ ecc*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ # icc used to be incompatible with GCC. -+ # ICC 10 doesn't accept -KPIC any more. -+ icc* | ifort*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ # Lahey Fortran 8.1. -+ lf95*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='--shared' -+ lt_prog_compiler_static='--static' -+ ;; -+ nagfor*) -+ # NAG Fortran compiler -+ lt_prog_compiler_wl='-Wl,-Wl,,' -+ lt_prog_compiler_pic='-PIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) -+ # Portland Group compilers (*not* the Pentium gcc compiler, -+ # which looks to be a dead project) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fpic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ ccc*) -+ lt_prog_compiler_wl='-Wl,' -+ # All Alpha code is PIC. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ xl* | bgxl* | bgf* | mpixl*) -+ # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-qpic' -+ lt_prog_compiler_static='-qstaticlink' -+ ;; -+ *) -+ case `$CC -V 2>&1 | sed 5q` in -+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) -+ # Sun Fortran 8.3 passes all unrecognized flags to the linker -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='' -+ ;; -+ *Sun\ F* | *Sun*Fortran*) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='-Qoption ld ' -+ ;; -+ *Sun\ C*) -+ # Sun C 5.9 -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ lt_prog_compiler_wl='-Wl,' -+ ;; -+ *Intel*\ [CF]*Compiler*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fPIC' -+ lt_prog_compiler_static='-static' -+ ;; -+ *Portland\ Group*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-fpic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ esac -+ ;; -+ esac -+ ;; -+ -+ newsos6) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ *nto* | *qnx*) -+ # QNX uses GNU C++, but need to define -shared option too, otherwise -+ # it will coredump. -+ lt_prog_compiler_pic='-fPIC -shared' -+ ;; -+ -+ osf3* | osf4* | osf5*) -+ lt_prog_compiler_wl='-Wl,' -+ # All OSF/1 code is PIC. -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ rdos*) -+ lt_prog_compiler_static='-non_shared' -+ ;; -+ -+ solaris*) -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ case $cc_basename in -+ f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) -+ lt_prog_compiler_wl='-Qoption ld ';; -+ *) -+ lt_prog_compiler_wl='-Wl,';; -+ esac -+ ;; -+ -+ sunos4*) -+ lt_prog_compiler_wl='-Qoption ld ' -+ lt_prog_compiler_pic='-PIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ sysv4 | sysv4.2uw2* | sysv4.3*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec ;then -+ lt_prog_compiler_pic='-Kconform_pic' -+ lt_prog_compiler_static='-Bstatic' -+ fi -+ ;; -+ -+ sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_pic='-KPIC' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ unicos*) -+ lt_prog_compiler_wl='-Wl,' -+ lt_prog_compiler_can_build_shared=no -+ ;; -+ -+ uts4*) -+ lt_prog_compiler_pic='-pic' -+ lt_prog_compiler_static='-Bstatic' -+ ;; -+ -+ *) -+ lt_prog_compiler_can_build_shared=no -+ ;; -+ esac -+ fi -+ -+case $host_os in -+ # For platforms which do not support PIC, -DPIC is meaningless: -+ *djgpp*) -+ lt_prog_compiler_pic= -+ ;; -+ *) -+ lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" -+ ;; -+esac -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 -+$as_echo_n "checking for $compiler option to produce PIC... " >&6; } -+if ${lt_cv_prog_compiler_pic+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_pic=$lt_prog_compiler_pic -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 -+$as_echo "$lt_cv_prog_compiler_pic" >&6; } -+lt_prog_compiler_pic=$lt_cv_prog_compiler_pic -+ -+# -+# Check to make sure the PIC flag actually works. -+# -+if test -n "$lt_prog_compiler_pic"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 -+$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } -+if ${lt_cv_prog_compiler_pic_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_pic_works=no -+ ac_outfile=conftest.$ac_objext -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ lt_compiler_flag="$lt_prog_compiler_pic -DPIC" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ # The option is referenced via a variable to avoid confusing sed. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>conftest.err) -+ ac_status=$? -+ cat conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s "$ac_outfile"; then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings other than the usual output. -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_pic_works=yes -+ fi -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 -+$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } -+ -+if test x"$lt_cv_prog_compiler_pic_works" = xyes; then -+ case $lt_prog_compiler_pic in -+ "" | " "*) ;; -+ *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; -+ esac -+else -+ lt_prog_compiler_pic= -+ lt_prog_compiler_can_build_shared=no -+fi -+ -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# -+# Check to make sure the static flag actually works. -+# -+wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 -+$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } -+if ${lt_cv_prog_compiler_static_works+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_static_works=no -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS $lt_tmp_static_flag" -+ echo "$lt_simple_link_test_code" > conftest.$ac_ext -+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then -+ # The linker can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ if test -s conftest.err; then -+ # Append any errors to the config.log. -+ cat conftest.err 1>&5 -+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_static_works=yes -+ fi -+ else -+ lt_cv_prog_compiler_static_works=yes -+ fi -+ fi -+ $RM -r conftest* -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 -+$as_echo "$lt_cv_prog_compiler_static_works" >&6; } -+ -+if test x"$lt_cv_prog_compiler_static_works" = xyes; then -+ : -+else -+ lt_prog_compiler_static= -+fi -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if ${lt_cv_prog_compiler_c_o+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_c_o=no -+ $RM -r conftest 2>/dev/null -+ mkdir conftest -+ cd conftest -+ mkdir out -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ lt_compiler_flag="-o out/conftest2.$ac_objext" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>out/conftest.err) -+ ac_status=$? -+ cat out/conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s out/conftest2.$ac_objext -+ then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp -+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 -+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_c_o=yes -+ fi -+ fi -+ chmod u+w . 2>&5 -+ $RM conftest* -+ # SGI C++ compiler will create directory out/ii_files/ for -+ # template instantiation -+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files -+ $RM out/* && rmdir out -+ cd .. -+ $RM -r conftest -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 -+$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } -+if ${lt_cv_prog_compiler_c_o+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler_c_o=no -+ $RM -r conftest 2>/dev/null -+ mkdir conftest -+ cd conftest -+ mkdir out -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ lt_compiler_flag="-o out/conftest2.$ac_objext" -+ # Insert the option either (1) after the last *FLAGS variable, or -+ # (2) before a word containing "conftest.", or (3) at the end. -+ # Note that $ac_compile itself does not contain backslashes and begins -+ # with a dollar sign (not a hyphen), so the echo should work correctly. -+ lt_compile=`echo "$ac_compile" | $SED \ -+ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -+ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -+ -e 's:$: $lt_compiler_flag:'` -+ (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) -+ (eval "$lt_compile" 2>out/conftest.err) -+ ac_status=$? -+ cat out/conftest.err >&5 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 -+ if (exit $ac_status) && test -s out/conftest2.$ac_objext -+ then -+ # The compiler can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp -+ $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 -+ if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler_c_o=yes -+ fi -+ fi -+ chmod u+w . 2>&5 -+ $RM conftest* -+ # SGI C++ compiler will create directory out/ii_files/ for -+ # template instantiation -+ test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files -+ $RM out/* && rmdir out -+ cd .. -+ $RM -r conftest -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 -+$as_echo "$lt_cv_prog_compiler_c_o" >&6; } -+ -+ -+ -+ -+hard_links="nottested" -+if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then -+ # do not overwrite the value of need_locks provided by the user -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 -+$as_echo_n "checking if we can lock with hard links... " >&6; } -+ hard_links=yes -+ $RM conftest* -+ ln conftest.a conftest.b 2>/dev/null && hard_links=no -+ touch conftest.a -+ ln conftest.a conftest.b 2>&5 || hard_links=no -+ ln conftest.a conftest.b 2>/dev/null && hard_links=no -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 -+$as_echo "$hard_links" >&6; } -+ if test "$hard_links" = no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 -+$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} -+ need_locks=warn -+ fi -+else -+ need_locks=no -+fi -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 -+$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } -+ -+ runpath_var= -+ allow_undefined_flag= -+ always_export_symbols=no -+ archive_cmds= -+ archive_expsym_cmds= -+ compiler_needs_object=no -+ enable_shared_with_static_runtimes=no -+ export_dynamic_flag_spec= -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' -+ hardcode_automatic=no -+ hardcode_direct=no -+ hardcode_direct_absolute=no -+ hardcode_libdir_flag_spec= -+ hardcode_libdir_separator= -+ hardcode_minus_L=no -+ hardcode_shlibpath_var=unsupported -+ inherit_rpath=no -+ link_all_deplibs=unknown -+ module_cmds= -+ module_expsym_cmds= -+ old_archive_from_new_cmds= -+ old_archive_from_expsyms_cmds= -+ thread_safe_flag_spec= -+ whole_archive_flag_spec= -+ # include_expsyms should be a list of space-separated symbols to be *always* -+ # included in the symbol list -+ include_expsyms= -+ # exclude_expsyms can be an extended regexp of symbols to exclude -+ # it will be wrapped by ` (' and `)$', so one must not match beginning or -+ # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', -+ # as well as any symbol that contains `d'. -+ exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' -+ # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out -+ # platforms (ab)use it in PIC code, but their linkers get confused if -+ # the symbol is explicitly referenced. Since portable code cannot -+ # rely on this symbol name, it's probably fine to never include it in -+ # preloaded symbol tables. -+ # Exclude shared library initialization/finalization symbols. -+ extract_expsyms_cmds= -+ -+ case $host_os in -+ cygwin* | mingw* | pw32* | cegcc*) -+ # FIXME: the MSVC++ port hasn't been tested in a loooong time -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ if test "$GCC" != yes; then -+ with_gnu_ld=no -+ fi -+ ;; -+ interix*) -+ # we just hope/assume this is gcc and not c89 (= MSVC++) -+ with_gnu_ld=yes -+ ;; -+ openbsd*) -+ with_gnu_ld=no -+ ;; -+ esac -+ -+ ld_shlibs=yes -+ -+ # On some targets, GNU ld is compatible enough with the native linker -+ # that we're better off using the native interface for both. -+ lt_use_gnu_ld_interface=no -+ if test "$with_gnu_ld" = yes; then -+ case $host_os in -+ aix*) -+ # The AIX port of GNU ld has always aspired to compatibility -+ # with the native linker. However, as the warning in the GNU ld -+ # block says, versions before 2.19.5* couldn't really create working -+ # shared libraries, regardless of the interface used. -+ case `$LD -v 2>&1` in -+ *\ \(GNU\ Binutils\)\ 2.19.5*) ;; -+ *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; -+ *\ \(GNU\ Binutils\)\ [3-9]*) ;; -+ *) -+ lt_use_gnu_ld_interface=yes -+ ;; -+ esac -+ ;; -+ *) -+ lt_use_gnu_ld_interface=yes -+ ;; -+ esac -+ fi -+ -+ if test "$lt_use_gnu_ld_interface" = yes; then -+ # If archive_cmds runs LD, not CC, wlarc should be empty -+ wlarc='${wl}' -+ -+ # Set some defaults for GNU ld with shared library support. These -+ # are reset later if shared libraries are not supported. Putting them -+ # here allows them to be overridden if necessary. -+ runpath_var=LD_RUN_PATH -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ export_dynamic_flag_spec='${wl}--export-dynamic' -+ # ancient GNU ld didn't support --whole-archive et. al. -+ if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then -+ whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' -+ else -+ whole_archive_flag_spec= -+ fi -+ supports_anon_versioning=no -+ case `$LD -v 2>&1` in -+ *GNU\ gold*) supports_anon_versioning=yes ;; -+ *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 -+ *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... -+ *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... -+ *\ 2.11.*) ;; # other 2.11 versions -+ *) supports_anon_versioning=yes ;; -+ esac -+ -+ # See if GNU ld supports shared libraries. -+ case $host_os in -+ aix[3-9]*) -+ # On AIX/PPC, the GNU linker is very broken -+ if test "$host_cpu" != ia64; then -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: the GNU linker, at least up to release 2.19, is reported -+*** to be unable to reliably create shared libraries on AIX. -+*** Therefore, libtool is disabling shared libraries support. If you -+*** really care for shared libraries, you may want to install binutils -+*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. -+*** You will then need to restart the configuration process. -+ -+_LT_EOF -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='' -+ ;; -+ m68k) -+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ -+ beos*) -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ allow_undefined_flag=unsupported -+ # Joseph Beckenbach says some releases of gcc -+ # support --undefined. This deserves some investigation. FIXME -+ archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ cygwin* | mingw* | pw32* | cegcc*) -+ # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, -+ # as there is no search path for DLLs. -+ hardcode_libdir_flag_spec='-L$libdir' -+ export_dynamic_flag_spec='${wl}--export-all-symbols' -+ allow_undefined_flag=unsupported -+ always_export_symbols=no -+ enable_shared_with_static_runtimes=yes -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' -+ exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' -+ -+ if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -+ # If the export-symbols file already is a .def file (1st line -+ # is EXPORTS), use it as is; otherwise, prepend... -+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -+ cp $export_symbols $output_objdir/$soname.def; -+ else -+ echo EXPORTS > $output_objdir/$soname.def; -+ cat $export_symbols >> $output_objdir/$soname.def; -+ fi~ -+ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ haiku*) -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ link_all_deplibs=yes -+ ;; -+ -+ interix[3-9]*) -+ hardcode_direct=no -+ hardcode_shlibpath_var=no -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ export_dynamic_flag_spec='${wl}-E' -+ # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. -+ # Instead, shared libraries are loaded at an image base (0x10000000 by -+ # default) and relocated if they conflict, which is a slow very memory -+ # consuming and fragmenting process. To avoid this, we pick a random, -+ # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link -+ # time. Moving up from 0x10000000 also allows more sbrk(2) space. -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -+ archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' -+ ;; -+ -+ gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) -+ tmp_diet=no -+ if test "$host_os" = linux-dietlibc; then -+ case $cc_basename in -+ diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) -+ esac -+ fi -+ if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ -+ && test "$tmp_diet" = no -+ then -+ tmp_addflag=' $pic_flag' -+ tmp_sharedflag='-shared' -+ case $cc_basename,$host_cpu in -+ pgcc*) # Portland Group C compiler -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ tmp_addflag=' $pic_flag' -+ ;; -+ pgf77* | pgf90* | pgf95* | pgfortran*) -+ # Portland Group f77 and f90 compilers -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ tmp_addflag=' $pic_flag -Mnomain' ;; -+ ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 -+ tmp_addflag=' -i_dynamic' ;; -+ efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 -+ tmp_addflag=' -i_dynamic -nofor_main' ;; -+ ifc* | ifort*) # Intel Fortran compiler -+ tmp_addflag=' -nofor_main' ;; -+ lf95*) # Lahey Fortran 8.1 -+ whole_archive_flag_spec= -+ tmp_sharedflag='--shared' ;; -+ xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) -+ tmp_sharedflag='-qmkshrobj' -+ tmp_addflag= ;; -+ nvcc*) # Cuda Compiler Driver 2.2 -+ whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ compiler_needs_object=yes -+ ;; -+ esac -+ case `$CC -V 2>&1 | sed 5q` in -+ *Sun\ C*) # Sun C 5.9 -+ whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' -+ compiler_needs_object=yes -+ tmp_sharedflag='-G' ;; -+ *Sun\ F*) # Sun Fortran 8.3 -+ tmp_sharedflag='-G' ;; -+ esac -+ archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ -+ if test "x$supports_anon_versioning" = xyes; then -+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ -+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -+ echo "local: *; };" >> $output_objdir/$libname.ver~ -+ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' -+ fi -+ -+ case $cc_basename in -+ xlf* | bgf* | bgxlf* | mpixlf*) -+ # IBM XL Fortran 10.1 on PPC cannot create shared libs itself -+ whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' -+ if test "x$supports_anon_versioning" = xyes; then -+ archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ -+ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ -+ echo "local: *; };" >> $output_objdir/$libname.ver~ -+ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' -+ fi -+ ;; -+ esac -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' -+ wlarc= -+ else -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ fi -+ ;; -+ -+ solaris*) -+ if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: The releases 2.8.* of the GNU linker cannot reliably -+*** create shared libraries on Solaris systems. Therefore, libtool -+*** is disabling shared libraries support. We urge you to upgrade GNU -+*** binutils to release 2.9.1 or newer. Another option is to modify -+*** your PATH or compiler configuration so that the native linker is -+*** used, and then restart. -+ -+_LT_EOF -+ elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) -+ case `$LD -v 2>&1` in -+ *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) -+ ld_shlibs=no -+ cat <<_LT_EOF 1>&2 -+ -+*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not -+*** reliably create shared libraries on SCO systems. Therefore, libtool -+*** is disabling shared libraries support. We urge you to upgrade GNU -+*** binutils to release 2.16.91.0.3 or newer. Another option is to modify -+*** your PATH or compiler configuration so that the native linker is -+*** used, and then restart. -+ -+_LT_EOF -+ ;; -+ *) -+ # For security reasons, it is highly recommended that you always -+ # use absolute paths for naming shared libraries, and exclude the -+ # DT_RUNPATH tag from executables and libraries. But doing so -+ # requires that you compile everything twice, which is a pain. -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ ;; -+ -+ sunos4*) -+ archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ wlarc= -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *) -+ if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ esac -+ -+ if test "$ld_shlibs" = no; then -+ runpath_var= -+ hardcode_libdir_flag_spec= -+ export_dynamic_flag_spec= -+ whole_archive_flag_spec= -+ fi -+ else -+ # PORTME fill in a description of your system's linker (not GNU ld) -+ case $host_os in -+ aix3*) -+ allow_undefined_flag=unsupported -+ always_export_symbols=yes -+ archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' -+ # Note: this linker hardcodes the directories in LIBPATH if there -+ # are no directories specified by -L. -+ hardcode_minus_L=yes -+ if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then -+ # Neither direct hardcoding nor static linking is supported with a -+ # broken collect2. -+ hardcode_direct=unsupported -+ fi -+ ;; -+ -+ aix[4-9]*) -+ if test "$host_cpu" = ia64; then -+ # On IA64, the linker does run time linking by default, so we don't -+ # have to do anything special. -+ aix_use_runtimelinking=no -+ exp_sym_flag='-Bexport' -+ no_entry_flag="" -+ else -+ # If we're using GNU nm, then we don't want the "-C" option. -+ # -C means demangle to AIX nm, but means don't demangle with GNU nm -+ # Also, AIX nm treats weak defined symbols like other global -+ # defined symbols, whereas GNU nm marks them as "W". -+ if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then -+ export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' -+ else -+ export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' -+ fi -+ aix_use_runtimelinking=no -+ -+ # Test if we are trying to use run time linking or normal -+ # AIX style linking. If -brtl is somewhere in LDFLAGS, we -+ # need to do runtime linking. -+ case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) -+ for ld_flag in $LDFLAGS; do -+ if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then -+ aix_use_runtimelinking=yes -+ break -+ fi -+ done -+ ;; -+ esac -+ -+ exp_sym_flag='-bexport' -+ no_entry_flag='-bnoentry' -+ fi -+ -+ # When large executables or shared objects are built, AIX ld can -+ # have problems creating the table of contents. If linking a library -+ # or program results in "error TOC overflow" add -mminimal-toc to -+ # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not -+ # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. -+ -+ archive_cmds='' -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ hardcode_libdir_separator=':' -+ link_all_deplibs=yes -+ file_list_spec='${wl}-f,' -+ -+ if test "$GCC" = yes; then -+ case $host_os in aix4.[012]|aix4.[012].*) -+ # We only want to do this on AIX 4.2 and lower, the check -+ # below for broken collect2 doesn't work under 4.3+ -+ collect2name=`${CC} -print-prog-name=collect2` -+ if test -f "$collect2name" && -+ strings "$collect2name" | $GREP resolve_lib_name >/dev/null -+ then -+ # We have reworked collect2 -+ : -+ else -+ # We have old collect2 -+ hardcode_direct=unsupported -+ # It fails to find uninstalled libraries when the uninstalled -+ # path is not listed in the libpath. Setting hardcode_minus_L -+ # to unsupported forces relinking -+ hardcode_minus_L=yes -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_libdir_separator= -+ fi -+ ;; -+ esac -+ shared_flag='-shared' -+ if test "$aix_use_runtimelinking" = yes; then -+ shared_flag="$shared_flag "'${wl}-G' -+ fi -+ else -+ # not using gcc -+ if test "$host_cpu" = ia64; then -+ # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release -+ # chokes on -Wl,-G. The following line is correct: -+ shared_flag='-G' -+ else -+ if test "$aix_use_runtimelinking" = yes; then -+ shared_flag='${wl}-G' -+ else -+ shared_flag='${wl}-bM:SRE' -+ fi -+ fi -+ fi -+ -+ export_dynamic_flag_spec='${wl}-bexpall' -+ # It seems that -bexpall does not export symbols beginning with -+ # underscore (_), so it is better to generate a list of symbols to export. -+ always_export_symbols=yes -+ if test "$aix_use_runtimelinking" = yes; then -+ # Warning - without using the other runtime loading flags (-brtl), -+ # -berok will link without error, but may produce a broken library. -+ allow_undefined_flag='-berok' -+ # Determine the default libpath from the value encoded in an -+ # empty executable. -+ if test "${lt_cv_aix_libpath+set}" = set; then -+ aix_libpath=$lt_cv_aix_libpath -+else -+ if ${lt_cv_aix_libpath_+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ -+ lt_aix_libpath_sed=' -+ /Import File Strings/,/^$/ { -+ /^0/ { -+ s/^0 *\([^ ]*\) *$/\1/ -+ p -+ } -+ }' -+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ # Check for a 64-bit object if we didn't find anything. -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_="/usr/lib:/lib" -+ fi -+ -+fi -+ -+ aix_libpath=$lt_cv_aix_libpath_ -+fi -+ -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" -+ else -+ if test "$host_cpu" = ia64; then -+ hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' -+ allow_undefined_flag="-z nodefs" -+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" -+ else -+ # Determine the default libpath from the value encoded in an -+ # empty executable. -+ if test "${lt_cv_aix_libpath+set}" = set; then -+ aix_libpath=$lt_cv_aix_libpath -+else -+ if ${lt_cv_aix_libpath_+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ -+ lt_aix_libpath_sed=' -+ /Import File Strings/,/^$/ { -+ /^0/ { -+ s/^0 *\([^ ]*\) *$/\1/ -+ p -+ } -+ }' -+ lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ # Check for a 64-bit object if we didn't find anything. -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` -+ fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ if test -z "$lt_cv_aix_libpath_"; then -+ lt_cv_aix_libpath_="/usr/lib:/lib" -+ fi -+ -+fi -+ -+ aix_libpath=$lt_cv_aix_libpath_ -+fi -+ -+ hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" -+ # Warning - without using the other run time loading flags, -+ # -berok will link without error, but may produce a broken library. -+ no_undefined_flag=' ${wl}-bernotok' -+ allow_undefined_flag=' ${wl}-berok' -+ if test "$with_gnu_ld" = yes; then -+ # We only use this code for GNU lds that support --whole-archive. -+ whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' -+ else -+ # Exported symbols can be pulled into shared objects from archives -+ whole_archive_flag_spec='$convenience' -+ fi -+ archive_cmds_need_lc=yes -+ # This is similar to how AIX traditionally builds its shared libraries. -+ archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' -+ fi -+ fi -+ ;; -+ -+ amigaos*) -+ case $host_cpu in -+ powerpc) -+ # see comment about AmigaOS4 .so support -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' -+ archive_expsym_cmds='' -+ ;; -+ m68k) -+ archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ ;; -+ esac -+ ;; -+ -+ bsdi[45]*) -+ export_dynamic_flag_spec=-rdynamic -+ ;; -+ -+ cygwin* | mingw* | pw32* | cegcc*) -+ # When not using gcc, we currently assume that we are using -+ # Microsoft Visual C++. -+ # hardcode_libdir_flag_spec is actually meaningless, as there is -+ # no search path for DLLs. -+ case $cc_basename in -+ cl*) -+ # Native MSVC -+ hardcode_libdir_flag_spec=' ' -+ allow_undefined_flag=unsupported -+ always_export_symbols=yes -+ file_list_spec='@' -+ # Tell ltmain to make .lib files, not .a files. -+ libext=lib -+ # Tell ltmain to make .dll files, not .so files. -+ shrext_cmds=".dll" -+ # FIXME: Setting linknames here is a bad hack. -+ archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' -+ archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then -+ sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; -+ else -+ sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; -+ fi~ -+ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ -+ linknames=' -+ # The linker will not automatically build a static lib if we build a DLL. -+ # _LT_TAGVAR(old_archive_from_new_cmds, )='true' -+ enable_shared_with_static_runtimes=yes -+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' -+ export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' -+ # Don't use ranlib -+ old_postinstall_cmds='chmod 644 $oldlib' -+ postlink_cmds='lt_outputfile="@OUTPUT@"~ -+ lt_tool_outputfile="@TOOL_OUTPUT@"~ -+ case $lt_outputfile in -+ *.exe|*.EXE) ;; -+ *) -+ lt_outputfile="$lt_outputfile.exe" -+ lt_tool_outputfile="$lt_tool_outputfile.exe" -+ ;; -+ esac~ -+ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then -+ $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; -+ $RM "$lt_outputfile.manifest"; -+ fi' -+ ;; -+ *) -+ # Assume MSVC wrapper -+ hardcode_libdir_flag_spec=' ' -+ allow_undefined_flag=unsupported -+ # Tell ltmain to make .lib files, not .a files. -+ libext=lib -+ # Tell ltmain to make .dll files, not .so files. -+ shrext_cmds=".dll" -+ # FIXME: Setting linknames here is a bad hack. -+ archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' -+ # The linker will automatically build a .lib file if we build a DLL. -+ old_archive_from_new_cmds='true' -+ # FIXME: Should let the user specify the lib program. -+ old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' -+ enable_shared_with_static_runtimes=yes -+ ;; -+ esac -+ ;; -+ -+ darwin* | rhapsody*) -+ -+ -+ archive_cmds_need_lc=no -+ hardcode_direct=no -+ hardcode_automatic=yes -+ hardcode_shlibpath_var=unsupported -+ if test "$lt_cv_ld_force_load" = "yes"; then -+ whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' -+ -+ else -+ whole_archive_flag_spec='' -+ fi -+ link_all_deplibs=yes -+ allow_undefined_flag="$_lt_dar_allow_undefined" -+ case $cc_basename in -+ ifort*) _lt_dar_can_shared=yes ;; -+ *) _lt_dar_can_shared=$GCC ;; -+ esac -+ if test "$_lt_dar_can_shared" = "yes"; then -+ output_verbose_link_cmd=func_echo_all -+ archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" -+ module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" -+ archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" -+ module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" -+ -+ else -+ ld_shlibs=no -+ fi -+ -+ ;; -+ -+ dgux*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor -+ # support. Future versions do this automatically, but an explicit c++rt0.o -+ # does not break anything, and helps significantly (at the cost of a little -+ # extra space). -+ freebsd2.2*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # Unfortunately, older versions of FreeBSD 2 do not have this feature. -+ freebsd2.*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. -+ freebsd* | dragonfly*) -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ hpux9*) -+ if test "$GCC" = yes; then -+ archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -+ else -+ archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' -+ fi -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ export_dynamic_flag_spec='${wl}-E' -+ ;; -+ -+ hpux10*) -+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -+ fi -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ export_dynamic_flag_spec='${wl}-E' -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ fi -+ ;; -+ -+ hpux11*) -+ if test "$GCC" = yes && test "$with_gnu_ld" = no; then -+ case $host_cpu in -+ hppa*64*) -+ archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ ia64*) -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ *) -+ archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ esac -+ else -+ case $host_cpu in -+ hppa*64*) -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ ia64*) -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' -+ ;; -+ *) -+ -+ # Older versions of the 11.00 compiler do not understand -b yet -+ # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 -+$as_echo_n "checking if $CC understands -b... " >&6; } -+if ${lt_cv_prog_compiler__b+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_prog_compiler__b=no -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS -b" -+ echo "$lt_simple_link_test_code" > conftest.$ac_ext -+ if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then -+ # The linker can only warn and ignore the option if not recognized -+ # So say no if there are warnings -+ if test -s conftest.err; then -+ # Append any errors to the config.log. -+ cat conftest.err 1>&5 -+ $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp -+ $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 -+ if diff conftest.exp conftest.er2 >/dev/null; then -+ lt_cv_prog_compiler__b=yes -+ fi -+ else -+ lt_cv_prog_compiler__b=yes -+ fi -+ fi -+ $RM -r conftest* -+ LDFLAGS="$save_LDFLAGS" -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 -+$as_echo "$lt_cv_prog_compiler__b" >&6; } -+ -+if test x"$lt_cv_prog_compiler__b" = xyes; then -+ archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' -+else -+ archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' -+fi -+ -+ ;; -+ esac -+ fi -+ if test "$with_gnu_ld" = no; then -+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' -+ hardcode_libdir_separator=: -+ -+ case $host_cpu in -+ hppa*64*|ia64*) -+ hardcode_direct=no -+ hardcode_shlibpath_var=no -+ ;; -+ *) -+ hardcode_direct=yes -+ hardcode_direct_absolute=yes -+ export_dynamic_flag_spec='${wl}-E' -+ -+ # hardcode_minus_L: Not really in the search PATH, -+ # but as the default location of the library. -+ hardcode_minus_L=yes -+ ;; -+ esac -+ fi -+ ;; -+ -+ irix5* | irix6* | nonstopux*) -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ # Try to use the -exported_symbol ld option, if it does not -+ # work, assume that -exports_file does not work either and -+ # implicitly export all symbols. -+ # This should be the same for all languages, so no per-tag cache variable. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 -+$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } -+if ${lt_cv_irix_exported_symbol+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ save_LDFLAGS="$LDFLAGS" -+ LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+int foo (void) { return 0; } -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ lt_cv_irix_exported_symbol=yes -+else -+ lt_cv_irix_exported_symbol=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS="$save_LDFLAGS" -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 -+$as_echo "$lt_cv_irix_exported_symbol" >&6; } -+ if test "$lt_cv_irix_exported_symbol" = yes; then -+ archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' -+ fi -+ else -+ archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ inherit_rpath=yes -+ link_all_deplibs=yes -+ ;; -+ -+ netbsd*) -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out -+ else -+ archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF -+ fi -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ newsos6) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *nto* | *qnx*) -+ ;; -+ -+ openbsd*) -+ if test -f /usr/libexec/ld.so; then -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -+ hardcode_direct_absolute=yes -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ export_dynamic_flag_spec='${wl}-E' -+ else -+ case $host_os in -+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-R$libdir' -+ ;; -+ *) -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ ;; -+ esac -+ fi -+ else -+ ld_shlibs=no -+ fi -+ ;; -+ -+ os2*) -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_minus_L=yes -+ allow_undefined_flag=unsupported -+ archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' -+ old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' -+ ;; -+ -+ osf3*) -+ if test "$GCC" = yes; then -+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ else -+ allow_undefined_flag=' -expect_unresolved \*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_separator=: -+ ;; -+ -+ osf4* | osf5*) # as osf3* with the addition of -msym flag -+ if test "$GCC" = yes; then -+ allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' -+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ else -+ allow_undefined_flag=' -expect_unresolved \*' -+ archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' -+ archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ -+ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' -+ -+ # Both c and cxx compiler support -rpath directly -+ hardcode_libdir_flag_spec='-rpath $libdir' -+ fi -+ archive_cmds_need_lc='no' -+ hardcode_libdir_separator=: -+ ;; -+ -+ solaris*) -+ no_undefined_flag=' -z defs' -+ if test "$GCC" = yes; then -+ wlarc='${wl}' -+ archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' -+ else -+ case `$CC -V 2>&1` in -+ *"Compilers 5.0"*) -+ wlarc='' -+ archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' -+ ;; -+ *) -+ wlarc='${wl}' -+ archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ -+ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' -+ ;; -+ esac -+ fi -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_shlibpath_var=no -+ case $host_os in -+ solaris2.[0-5] | solaris2.[0-5].*) ;; -+ *) -+ # The compiler driver will combine and reorder linker options, -+ # but understands `-z linker_flag'. GCC discards it without `$wl', -+ # but is careful enough not to reorder. -+ # Supported since Solaris 2.6 (maybe 2.5.1?) -+ if test "$GCC" = yes; then -+ whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' -+ else -+ whole_archive_flag_spec='-z allextract$convenience -z defaultextract' -+ fi -+ ;; -+ esac -+ link_all_deplibs=yes -+ ;; -+ -+ sunos4*) -+ if test "x$host_vendor" = xsequent; then -+ # Use $CC to link under sequent, because it throws in some extra .o -+ # files that make .init and .fini sections work. -+ archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' -+ fi -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_direct=yes -+ hardcode_minus_L=yes -+ hardcode_shlibpath_var=no -+ ;; -+ -+ sysv4) -+ case $host_vendor in -+ sni) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=yes # is this really true??? -+ ;; -+ siemens) -+ ## LD is ld it makes a PLAMLIB -+ ## CC just makes a GrossModule. -+ archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' -+ reload_cmds='$CC -r -o $output$reload_objs' -+ hardcode_direct=no -+ ;; -+ motorola) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_direct=no #Motorola manual says yes, but my tests say they lie -+ ;; -+ esac -+ runpath_var='LD_RUN_PATH' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ sysv4.3*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_shlibpath_var=no -+ export_dynamic_flag_spec='-Bexport' -+ ;; -+ -+ sysv4*MP*) -+ if test -d /usr/nec; then -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_shlibpath_var=no -+ runpath_var=LD_RUN_PATH -+ hardcode_runpath_var=yes -+ ld_shlibs=yes -+ fi -+ ;; -+ -+ sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) -+ no_undefined_flag='${wl}-z,text' -+ archive_cmds_need_lc=no -+ hardcode_shlibpath_var=no -+ runpath_var='LD_RUN_PATH' -+ -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ fi -+ ;; -+ -+ sysv5* | sco3.2v5* | sco5v6*) -+ # Note: We can NOT use -z defs as we might desire, because we do not -+ # link with -lc, and that would cause any symbols used from libc to -+ # always be unresolved, which means just about no library would -+ # ever link correctly. If we're not using GNU ld we use -z text -+ # though, which does catch some bad symbols but isn't as heavy-handed -+ # as -z defs. -+ no_undefined_flag='${wl}-z,text' -+ allow_undefined_flag='${wl}-z,nodefs' -+ archive_cmds_need_lc=no -+ hardcode_shlibpath_var=no -+ hardcode_libdir_flag_spec='${wl}-R,$libdir' -+ hardcode_libdir_separator=':' -+ link_all_deplibs=yes -+ export_dynamic_flag_spec='${wl}-Bexport' -+ runpath_var='LD_RUN_PATH' -+ -+ if test "$GCC" = yes; then -+ archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ else -+ archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' -+ fi -+ ;; -+ -+ uts4*) -+ archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' -+ hardcode_libdir_flag_spec='-L$libdir' -+ hardcode_shlibpath_var=no -+ ;; -+ -+ *) -+ ld_shlibs=no -+ ;; -+ esac -+ -+ if test x$host_vendor = xsni; then -+ case $host in -+ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) -+ export_dynamic_flag_spec='${wl}-Blargedynsym' -+ ;; -+ esac -+ fi -+ fi -+ -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 -+$as_echo "$ld_shlibs" >&6; } -+test "$ld_shlibs" = no && can_build_shared=no -+ -+with_gnu_ld=$with_gnu_ld -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+# -+# Do we need to explicitly link libc? -+# -+case "x$archive_cmds_need_lc" in -+x|xyes) -+ # Assume -lc should be added -+ archive_cmds_need_lc=yes -+ -+ if test "$enable_shared" = yes && test "$GCC" = yes; then -+ case $archive_cmds in -+ *'~'*) -+ # FIXME: we may have to deal with multi-command sequences. -+ ;; -+ '$CC '*) -+ # Test whether the compiler implicitly links with -lc since on some -+ # systems, -lgcc has to come before -lc. If gcc already passes -lc -+ # to ld, don't add -lc before -lgcc. -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 -+$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } -+if ${lt_cv_archive_cmds_need_lc+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ $RM conftest* -+ echo "$lt_simple_compile_test_code" > conftest.$ac_ext -+ -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 -+ (eval $ac_compile) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } 2>conftest.err; then -+ soname=conftest -+ lib=conftest -+ libobjs=conftest.$ac_objext -+ deplibs= -+ wl=$lt_prog_compiler_wl -+ pic_flag=$lt_prog_compiler_pic -+ compiler_flags=-v -+ linker_flags=-v -+ verstring= -+ output_objdir=. -+ libname=conftest -+ lt_save_allow_undefined_flag=$allow_undefined_flag -+ allow_undefined_flag= -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 -+ (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } -+ then -+ lt_cv_archive_cmds_need_lc=no -+ else -+ lt_cv_archive_cmds_need_lc=yes -+ fi -+ allow_undefined_flag=$lt_save_allow_undefined_flag -+ else -+ cat conftest.err 1>&5 -+ fi -+ $RM conftest* -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 -+$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } -+ archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc -+ ;; -+ esac -+ fi -+ ;; -+esac -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 -+$as_echo_n "checking dynamic linker characteristics... " >&6; } -+ -+if test "$GCC" = yes; then -+ case $host_os in -+ darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; -+ *) lt_awk_arg="/^libraries:/" ;; -+ esac -+ case $host_os in -+ mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; -+ *) lt_sed_strip_eq="s,=/,/,g" ;; -+ esac -+ lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` -+ case $lt_search_path_spec in -+ *\;*) -+ # if the path contains ";" then we assume it to be the separator -+ # otherwise default to the standard path separator (i.e. ":") - it is -+ # assumed that no part of a normal pathname contains ";" but that should -+ # okay in the real world where ";" in dirpaths is itself problematic. -+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` -+ ;; -+ *) -+ lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` -+ ;; -+ esac -+ # Ok, now we have the path, separated by spaces, we can step through it -+ # and add multilib dir if necessary. -+ lt_tmp_lt_search_path_spec= -+ lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` -+ for lt_sys_path in $lt_search_path_spec; do -+ if test -d "$lt_sys_path/$lt_multi_os_dir"; then -+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -+ else -+ test -d "$lt_sys_path" && \ -+ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" -+ fi -+ done -+ lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' -+BEGIN {RS=" "; FS="/|\n";} { -+ lt_foo=""; -+ lt_count=0; -+ for (lt_i = NF; lt_i > 0; lt_i--) { -+ if ($lt_i != "" && $lt_i != ".") { -+ if ($lt_i == "..") { -+ lt_count++; -+ } else { -+ if (lt_count == 0) { -+ lt_foo="/" $lt_i lt_foo; -+ } else { -+ lt_count--; -+ } -+ } -+ } -+ } -+ if (lt_foo != "") { lt_freq[lt_foo]++; } -+ if (lt_freq[lt_foo] == 1) { print lt_foo; } -+}'` -+ # AWK program above erroneously prepends '/' to C:/dos/paths -+ # for these hosts. -+ case $host_os in -+ mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ -+ $SED 's,/\([A-Za-z]:\),\1,g'` ;; -+ esac -+ sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` -+else -+ sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" -+fi -+library_names_spec= -+libname_spec='lib$name' -+soname_spec= -+shrext_cmds=".so" -+postinstall_cmds= -+postuninstall_cmds= -+finish_cmds= -+finish_eval= -+shlibpath_var= -+shlibpath_overrides_runpath=unknown -+version_type=none -+dynamic_linker="$host_os ld.so" -+sys_lib_dlsearch_path_spec="/lib /usr/lib" -+need_lib_prefix=unknown -+hardcode_into_libs=no -+ -+# when you set need_version to no, make sure it does not cause -set_version -+# flags to be left without arguments -+need_version=unknown -+ -+case $host_os in -+aix3*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' -+ shlibpath_var=LIBPATH -+ -+ # AIX 3 has no versioning support, so we append a major version to the name. -+ soname_spec='${libname}${release}${shared_ext}$major' -+ ;; -+ -+aix[4-9]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ hardcode_into_libs=yes -+ if test "$host_cpu" = ia64; then -+ # AIX 5 supports IA64 -+ library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ else -+ # With GCC up to 2.95.x, collect2 would create an import file -+ # for dependence libraries. The import file would start with -+ # the line `#! .'. This would cause the generated library to -+ # depend on `.', always an invalid library. This was fixed in -+ # development snapshots of GCC prior to 3.0. -+ case $host_os in -+ aix4 | aix4.[01] | aix4.[01].*) -+ if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' -+ echo ' yes ' -+ echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then -+ : -+ else -+ can_build_shared=no -+ fi -+ ;; -+ esac -+ # AIX (on Power*) has no versioning support, so currently we can not hardcode correct -+ # soname into executable. Probably we can add versioning support to -+ # collect2, so additional links can be useful in future. -+ if test "$aix_use_runtimelinking" = yes; then -+ # If using run time linking (on AIX 4.2 or later) use lib.so -+ # instead of lib.a to let people know that these are not -+ # typical AIX shared libraries. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ else -+ # We preserve .a as extension for shared libraries through AIX4.2 -+ # and later when we are not doing run time linking. -+ library_names_spec='${libname}${release}.a $libname.a' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ fi -+ shlibpath_var=LIBPATH -+ fi -+ ;; -+ -+amigaos*) -+ case $host_cpu in -+ powerpc) -+ # Since July 2007 AmigaOS4 officially supports .so libraries. -+ # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ ;; -+ m68k) -+ library_names_spec='$libname.ixlibrary $libname.a' -+ # Create ${libname}_ixlibrary.a entries in /sys/libs. -+ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' -+ ;; -+ esac -+ ;; -+ -+beos*) -+ library_names_spec='${libname}${shared_ext}' -+ dynamic_linker="$host_os ld.so" -+ shlibpath_var=LIBRARY_PATH -+ ;; -+ -+bsdi[45]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" -+ sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" -+ # the default ld.so.conf also contains /usr/contrib/lib and -+ # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow -+ # libtool to hard-code these into programs -+ ;; -+ -+cygwin* | mingw* | pw32* | cegcc*) -+ version_type=windows -+ shrext_cmds=".dll" -+ need_version=no -+ need_lib_prefix=no -+ -+ case $GCC,$cc_basename in -+ yes,*) -+ # gcc -+ library_names_spec='$libname.dll.a' -+ # DLL is installed to $(libdir)/../bin by postinstall_cmds -+ postinstall_cmds='base_file=`basename \${file}`~ -+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ -+ dldir=$destdir/`dirname \$dlpath`~ -+ test -d \$dldir || mkdir -p \$dldir~ -+ $install_prog $dir/$dlname \$dldir/$dlname~ -+ chmod a+x \$dldir/$dlname~ -+ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then -+ eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; -+ fi' -+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ -+ dlpath=$dir/\$dldll~ -+ $RM \$dlpath' -+ shlibpath_overrides_runpath=yes -+ -+ case $host_os in -+ cygwin*) -+ # Cygwin DLLs use 'cyg' prefix rather than 'lib' -+ soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" -+ ;; -+ mingw* | cegcc*) -+ # MinGW DLLs use traditional 'lib' prefix -+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ ;; -+ pw32*) -+ # pw32 DLLs use 'pw' prefix rather than 'lib' -+ library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ ;; -+ esac -+ dynamic_linker='Win32 ld.exe' -+ ;; -+ -+ *,cl*) -+ # Native MSVC -+ libname_spec='$name' -+ soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' -+ library_names_spec='${libname}.dll.lib' -+ -+ case $build_os in -+ mingw*) -+ sys_lib_search_path_spec= -+ lt_save_ifs=$IFS -+ IFS=';' -+ for lt_path in $LIB -+ do -+ IFS=$lt_save_ifs -+ # Let DOS variable expansion print the short 8.3 style file name. -+ lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` -+ sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" -+ done -+ IFS=$lt_save_ifs -+ # Convert to MSYS style. -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` -+ ;; -+ cygwin*) -+ # Convert to unix form, then to dos form, then back to unix form -+ # but this time dos style (no spaces!) so that the unix form looks -+ # like /cygdrive/c/PROGRA~1:/cygdr... -+ sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` -+ sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` -+ sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -+ ;; -+ *) -+ sys_lib_search_path_spec="$LIB" -+ if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then -+ # It is most probably a Windows format PATH. -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` -+ else -+ sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` -+ fi -+ # FIXME: find the short name or the path components, as spaces are -+ # common. (e.g. "Program Files" -> "PROGRA~1") -+ ;; -+ esac -+ -+ # DLL is installed to $(libdir)/../bin by postinstall_cmds -+ postinstall_cmds='base_file=`basename \${file}`~ -+ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ -+ dldir=$destdir/`dirname \$dlpath`~ -+ test -d \$dldir || mkdir -p \$dldir~ -+ $install_prog $dir/$dlname \$dldir/$dlname' -+ postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ -+ dlpath=$dir/\$dldll~ -+ $RM \$dlpath' -+ shlibpath_overrides_runpath=yes -+ dynamic_linker='Win32 link.exe' -+ ;; -+ -+ *) -+ # Assume MSVC wrapper -+ library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' -+ dynamic_linker='Win32 ld.exe' -+ ;; -+ esac -+ # FIXME: first we should search . and the directory the executable is in -+ shlibpath_var=PATH -+ ;; -+ -+darwin* | rhapsody*) -+ dynamic_linker="$host_os dyld" -+ version_type=darwin -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' -+ soname_spec='${libname}${release}${major}$shared_ext' -+ shlibpath_overrides_runpath=yes -+ shlibpath_var=DYLD_LIBRARY_PATH -+ shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' -+ -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" -+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' -+ ;; -+ -+dgux*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ -+freebsd* | dragonfly*) -+ # DragonFly does not have aout. When/if they implement a new -+ # versioning mechanism, adjust this. -+ if test -x /usr/bin/objformat; then -+ objformat=`/usr/bin/objformat` -+ else -+ case $host_os in -+ freebsd[23].*) objformat=aout ;; -+ *) objformat=elf ;; -+ esac -+ fi -+ version_type=freebsd-$objformat -+ case $version_type in -+ freebsd-elf*) -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -+ need_version=no -+ need_lib_prefix=no -+ ;; -+ freebsd-*) -+ library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' -+ need_version=yes -+ ;; -+ esac -+ shlibpath_var=LD_LIBRARY_PATH -+ case $host_os in -+ freebsd2.*) -+ shlibpath_overrides_runpath=yes -+ ;; -+ freebsd3.[01]* | freebsdelf3.[01]*) -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ -+ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ *) # from 4.6 on, and DragonFly -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ esac -+ ;; -+ -+gnu*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+haiku*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ dynamic_linker="$host_os runtime_loader" -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' -+ hardcode_into_libs=yes -+ ;; -+ -+hpux9* | hpux10* | hpux11*) -+ # Give a soname corresponding to the major version so that dld.sl refuses to -+ # link against other versions. -+ version_type=sunos -+ need_lib_prefix=no -+ need_version=no -+ case $host_cpu in -+ ia64*) -+ shrext_cmds='.so' -+ hardcode_into_libs=yes -+ dynamic_linker="$host_os dld.so" -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ if test "X$HPUX_IA64_MODE" = X32; then -+ sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" -+ else -+ sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" -+ fi -+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -+ ;; -+ hppa*64*) -+ shrext_cmds='.sl' -+ hardcode_into_libs=yes -+ dynamic_linker="$host_os dld.sl" -+ shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH -+ shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" -+ sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec -+ ;; -+ *) -+ shrext_cmds='.sl' -+ dynamic_linker="$host_os dld.sl" -+ shlibpath_var=SHLIB_PATH -+ shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ ;; -+ esac -+ # HP-UX runs *really* slowly unless shared libraries are mode 555, ... -+ postinstall_cmds='chmod 555 $lib' -+ # or fails outright, so override atomically: -+ install_override_mode=555 -+ ;; -+ -+interix[3-9]*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+irix5* | irix6* | nonstopux*) -+ case $host_os in -+ nonstopux*) version_type=nonstopux ;; -+ *) -+ if test "$lt_cv_prog_gnu_ld" = yes; then -+ version_type=linux # correct to gnu/linux during the next big refactor -+ else -+ version_type=irix -+ fi ;; -+ esac -+ need_lib_prefix=no -+ need_version=no -+ soname_spec='${libname}${release}${shared_ext}$major' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' -+ case $host_os in -+ irix5* | nonstopux*) -+ libsuff= shlibsuff= -+ ;; -+ *) -+ case $LD in # libtool.m4 will add one of these switches to LD -+ *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") -+ libsuff= shlibsuff= libmagic=32-bit;; -+ *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") -+ libsuff=32 shlibsuff=N32 libmagic=N32;; -+ *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") -+ libsuff=64 shlibsuff=64 libmagic=64-bit;; -+ *) libsuff= shlibsuff= libmagic=never-match;; -+ esac -+ ;; -+ esac -+ shlibpath_var=LD_LIBRARY${shlibsuff}_PATH -+ shlibpath_overrides_runpath=no -+ sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" -+ sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" -+ hardcode_into_libs=yes -+ ;; -+ -+# No shared lib support for Linux oldld, aout, or coff. -+linux*oldld* | linux*aout* | linux*coff*) -+ dynamic_linker=no -+ ;; -+ -+# This must be glibc/ELF. -+linux* | k*bsd*-gnu | kopensolaris*-gnu) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ -+ # Some binutils ld are patched to set DT_RUNPATH -+ if ${lt_cv_shlibpath_overrides_runpath+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ lt_cv_shlibpath_overrides_runpath=no -+ save_LDFLAGS=$LDFLAGS -+ save_libdir=$libdir -+ eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ -+ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : -+ lt_cv_shlibpath_overrides_runpath=yes -+fi -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+ LDFLAGS=$save_LDFLAGS -+ libdir=$save_libdir -+ -+fi -+ -+ shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath -+ -+ # This implies no fast_install, which is unacceptable. -+ # Some rework will be needed to allow for fast_install -+ # before this can be enabled. -+ hardcode_into_libs=yes -+ -+ # Append ld.so.conf contents to the search path -+ if test -f /etc/ld.so.conf; then -+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` -+ sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" -+ fi -+ -+ # We used to test for /lib/ld.so.1 and disable shared libraries on -+ # powerpc, because MkLinux only supported shared libraries with the -+ # GNU dynamic linker. Since this was broken with cross compilers, -+ # most powerpc-linux boxes support dynamic linking these days and -+ # people can always --disable-shared, the test was removed, and we -+ # assume the GNU/Linux dynamic linker is in use. -+ dynamic_linker='GNU/Linux ld.so' -+ ;; -+ -+netbsd*) -+ version_type=sunos -+ need_lib_prefix=no -+ need_version=no -+ if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -+ dynamic_linker='NetBSD (a.out) ld.so' -+ else -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ dynamic_linker='NetBSD ld.elf_so' -+ fi -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ ;; -+ -+newsos6) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ ;; -+ -+*nto* | *qnx*) -+ version_type=qnx -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ dynamic_linker='ldqnx.so' -+ ;; -+ -+openbsd*) -+ version_type=sunos -+ sys_lib_dlsearch_path_spec="/usr/lib" -+ need_lib_prefix=no -+ # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. -+ case $host_os in -+ openbsd3.3 | openbsd3.3.*) need_version=yes ;; -+ *) need_version=no ;; -+ esac -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then -+ case $host_os in -+ openbsd2.[89] | openbsd2.[89].*) -+ shlibpath_overrides_runpath=no -+ ;; -+ *) -+ shlibpath_overrides_runpath=yes -+ ;; -+ esac -+ else -+ shlibpath_overrides_runpath=yes -+ fi -+ ;; -+ -+os2*) -+ libname_spec='$name' -+ shrext_cmds=".dll" -+ need_lib_prefix=no -+ library_names_spec='$libname${shared_ext} $libname.a' -+ dynamic_linker='OS/2 ld.exe' -+ shlibpath_var=LIBPATH -+ ;; -+ -+osf3* | osf4* | osf5*) -+ version_type=osf -+ need_lib_prefix=no -+ need_version=no -+ soname_spec='${libname}${release}${shared_ext}$major' -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" -+ sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" -+ ;; -+ -+rdos*) -+ dynamic_linker=no -+ ;; -+ -+solaris*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ # ldd complains unless libraries are executable -+ postinstall_cmds='chmod +x $lib' -+ ;; -+ -+sunos4*) -+ version_type=sunos -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' -+ finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ if test "$with_gnu_ld" = yes; then -+ need_lib_prefix=no -+ fi -+ need_version=yes -+ ;; -+ -+sysv4 | sysv4.3*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ case $host_vendor in -+ sni) -+ shlibpath_overrides_runpath=no -+ need_lib_prefix=no -+ runpath_var=LD_RUN_PATH -+ ;; -+ siemens) -+ need_lib_prefix=no -+ ;; -+ motorola) -+ need_lib_prefix=no -+ need_version=no -+ shlibpath_overrides_runpath=no -+ sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' -+ ;; -+ esac -+ ;; -+ -+sysv4*MP*) -+ if test -d /usr/nec ;then -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' -+ soname_spec='$libname${shared_ext}.$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ fi -+ ;; -+ -+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) -+ version_type=freebsd-elf -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=yes -+ hardcode_into_libs=yes -+ if test "$with_gnu_ld" = yes; then -+ sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' -+ else -+ sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' -+ case $host_os in -+ sco3.2v5*) -+ sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" -+ ;; -+ esac -+ fi -+ sys_lib_dlsearch_path_spec='/usr/lib' -+ ;; -+ -+tpf*) -+ # TPF is a cross-target only. Preferred cross-host = GNU/Linux. -+ version_type=linux # correct to gnu/linux during the next big refactor -+ need_lib_prefix=no -+ need_version=no -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ shlibpath_var=LD_LIBRARY_PATH -+ shlibpath_overrides_runpath=no -+ hardcode_into_libs=yes -+ ;; -+ -+uts4*) -+ version_type=linux # correct to gnu/linux during the next big refactor -+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' -+ soname_spec='${libname}${release}${shared_ext}$major' -+ shlibpath_var=LD_LIBRARY_PATH -+ ;; -+ -+*) -+ dynamic_linker=no -+ ;; -+esac -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 -+$as_echo "$dynamic_linker" >&6; } -+test "$dynamic_linker" = no && can_build_shared=no -+ -+variables_saved_for_relink="PATH $shlibpath_var $runpath_var" -+if test "$GCC" = yes; then -+ variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" -+fi -+ -+if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then -+ sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" -+fi -+if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then -+ sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 -+$as_echo_n "checking how to hardcode library paths into programs... " >&6; } -+hardcode_action= -+if test -n "$hardcode_libdir_flag_spec" || -+ test -n "$runpath_var" || -+ test "X$hardcode_automatic" = "Xyes" ; then -+ -+ # We can hardcode non-existent directories. -+ if test "$hardcode_direct" != no && -+ # If the only mechanism to avoid hardcoding is shlibpath_var, we -+ # have to relink, otherwise we might link with an installed library -+ # when we should be linking with a yet-to-be-installed one -+ ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && -+ test "$hardcode_minus_L" != no; then -+ # Linking always hardcodes the temporary library directory. -+ hardcode_action=relink -+ else -+ # We can link without hardcoding, and we can hardcode nonexisting dirs. -+ hardcode_action=immediate -+ fi -+else -+ # We cannot hardcode anything, or else we can only hardcode existing -+ # directories. -+ hardcode_action=unsupported -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 -+$as_echo "$hardcode_action" >&6; } -+ -+if test "$hardcode_action" = relink || -+ test "$inherit_rpath" = yes; then -+ # Fast installation is not supported -+ enable_fast_install=no -+elif test "$shlibpath_overrides_runpath" = yes || -+ test "$enable_shared" = no; then -+ # Fast installation is not necessary -+ enable_fast_install=needless -+fi -+ -+ -+ -+ -+ -+ -+ if test "x$enable_dlopen" != xyes; then -+ enable_dlopen=unknown -+ enable_dlopen_self=unknown -+ enable_dlopen_self_static=unknown -+else -+ lt_cv_dlopen=no -+ lt_cv_dlopen_libs= -+ -+ case $host_os in -+ beos*) -+ lt_cv_dlopen="load_add_on" -+ lt_cv_dlopen_libs= -+ lt_cv_dlopen_self=yes -+ ;; -+ -+ mingw* | pw32* | cegcc*) -+ lt_cv_dlopen="LoadLibrary" -+ lt_cv_dlopen_libs= -+ ;; -+ -+ cygwin*) -+ lt_cv_dlopen="dlopen" -+ lt_cv_dlopen_libs= -+ ;; -+ -+ darwin*) -+ # if libdl is installed we need to link against it -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if ${ac_cv_lib_dl_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dl_dlopen=yes -+else -+ ac_cv_lib_dl_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -+else -+ -+ lt_cv_dlopen="dyld" -+ lt_cv_dlopen_libs= -+ lt_cv_dlopen_self=yes -+ -+fi -+ -+ ;; -+ -+ *) -+ ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" -+if test "x$ac_cv_func_shl_load" = xyes; then : -+ lt_cv_dlopen="shl_load" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 -+$as_echo_n "checking for shl_load in -ldld... " >&6; } -+if ${ac_cv_lib_dld_shl_load+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char shl_load (); -+int -+main () -+{ -+return shl_load (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dld_shl_load=yes -+else -+ ac_cv_lib_dld_shl_load=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 -+$as_echo "$ac_cv_lib_dld_shl_load" >&6; } -+if test "x$ac_cv_lib_dld_shl_load" = xyes; then : -+ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" -+else -+ ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" -+if test "x$ac_cv_func_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 -+$as_echo_n "checking for dlopen in -ldl... " >&6; } -+if ${ac_cv_lib_dl_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldl $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dl_dlopen=yes -+else -+ ac_cv_lib_dl_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 -+$as_echo "$ac_cv_lib_dl_dlopen" >&6; } -+if test "x$ac_cv_lib_dl_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 -+$as_echo_n "checking for dlopen in -lsvld... " >&6; } -+if ${ac_cv_lib_svld_dlopen+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-lsvld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dlopen (); -+int -+main () -+{ -+return dlopen (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_svld_dlopen=yes -+else -+ ac_cv_lib_svld_dlopen=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 -+$as_echo "$ac_cv_lib_svld_dlopen" >&6; } -+if test "x$ac_cv_lib_svld_dlopen" = xyes; then : -+ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" -+else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 -+$as_echo_n "checking for dld_link in -ldld... " >&6; } -+if ${ac_cv_lib_dld_dld_link+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ ac_check_lib_save_LIBS=$LIBS -+LIBS="-ldld $LIBS" -+cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+/* Override any GCC internal prototype to avoid an error. -+ Use char because int might match the return type of a GCC -+ builtin and then its argument prototype would still apply. */ -+#ifdef __cplusplus -+extern "C" -+#endif -+char dld_link (); -+int -+main () -+{ -+return dld_link (); -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_link "$LINENO"; then : -+ ac_cv_lib_dld_dld_link=yes -+else -+ ac_cv_lib_dld_dld_link=no -+fi -+rm -f core conftest.err conftest.$ac_objext \ -+ conftest$ac_exeext conftest.$ac_ext -+LIBS=$ac_check_lib_save_LIBS -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 -+$as_echo "$ac_cv_lib_dld_dld_link" >&6; } -+if test "x$ac_cv_lib_dld_dld_link" = xyes; then : -+ lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ -+fi -+ -+ ;; -+ esac -+ -+ if test "x$lt_cv_dlopen" != xno; then -+ enable_dlopen=yes -+ else -+ enable_dlopen=no -+ fi -+ -+ case $lt_cv_dlopen in -+ dlopen) -+ save_CPPFLAGS="$CPPFLAGS" -+ test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" -+ -+ save_LDFLAGS="$LDFLAGS" -+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" -+ -+ save_LIBS="$LIBS" -+ LIBS="$lt_cv_dlopen_libs $LIBS" -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 -+$as_echo_n "checking whether a program can dlopen itself... " >&6; } -+if ${lt_cv_dlopen_self+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ lt_cv_dlopen_self=cross -+else -+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 -+ lt_status=$lt_dlunknown -+ cat > conftest.$ac_ext <<_LT_EOF -+#line $LINENO "configure" -+#include "confdefs.h" -+ -+#if HAVE_DLFCN_H -+#include -+#endif -+ -+#include -+ -+#ifdef RTLD_GLOBAL -+# define LT_DLGLOBAL RTLD_GLOBAL -+#else -+# ifdef DL_GLOBAL -+# define LT_DLGLOBAL DL_GLOBAL -+# else -+# define LT_DLGLOBAL 0 -+# endif -+#endif -+ -+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we -+ find out it does not work in some platform. */ -+#ifndef LT_DLLAZY_OR_NOW -+# ifdef RTLD_LAZY -+# define LT_DLLAZY_OR_NOW RTLD_LAZY -+# else -+# ifdef DL_LAZY -+# define LT_DLLAZY_OR_NOW DL_LAZY -+# else -+# ifdef RTLD_NOW -+# define LT_DLLAZY_OR_NOW RTLD_NOW -+# else -+# ifdef DL_NOW -+# define LT_DLLAZY_OR_NOW DL_NOW -+# else -+# define LT_DLLAZY_OR_NOW 0 -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+/* When -fvisbility=hidden is used, assume the code has been annotated -+ correspondingly for the symbols needed. */ -+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -+int fnord () __attribute__((visibility("default"))); -+#endif -+ -+int fnord () { return 42; } -+int main () -+{ -+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -+ int status = $lt_dlunknown; -+ -+ if (self) -+ { -+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; -+ else -+ { -+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; -+ else puts (dlerror ()); -+ } -+ /* dlclose (self); */ -+ } -+ else -+ puts (dlerror ()); -+ -+ return status; -+} -+_LT_EOF -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then -+ (./conftest; exit; ) >&5 2>/dev/null -+ lt_status=$? -+ case x$lt_status in -+ x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; -+ x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; -+ x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; -+ esac -+ else : -+ # compilation failed -+ lt_cv_dlopen_self=no -+ fi -+fi -+rm -fr conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 -+$as_echo "$lt_cv_dlopen_self" >&6; } -+ -+ if test "x$lt_cv_dlopen_self" = xyes; then -+ wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 -+$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } -+if ${lt_cv_dlopen_self_static+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ if test "$cross_compiling" = yes; then : -+ lt_cv_dlopen_self_static=cross -+else -+ lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 -+ lt_status=$lt_dlunknown -+ cat > conftest.$ac_ext <<_LT_EOF -+#line $LINENO "configure" -+#include "confdefs.h" -+ -+#if HAVE_DLFCN_H -+#include -+#endif -+ -+#include -+ -+#ifdef RTLD_GLOBAL -+# define LT_DLGLOBAL RTLD_GLOBAL -+#else -+# ifdef DL_GLOBAL -+# define LT_DLGLOBAL DL_GLOBAL -+# else -+# define LT_DLGLOBAL 0 -+# endif -+#endif -+ -+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we -+ find out it does not work in some platform. */ -+#ifndef LT_DLLAZY_OR_NOW -+# ifdef RTLD_LAZY -+# define LT_DLLAZY_OR_NOW RTLD_LAZY -+# else -+# ifdef DL_LAZY -+# define LT_DLLAZY_OR_NOW DL_LAZY -+# else -+# ifdef RTLD_NOW -+# define LT_DLLAZY_OR_NOW RTLD_NOW -+# else -+# ifdef DL_NOW -+# define LT_DLLAZY_OR_NOW DL_NOW -+# else -+# define LT_DLLAZY_OR_NOW 0 -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+/* When -fvisbility=hidden is used, assume the code has been annotated -+ correspondingly for the symbols needed. */ -+#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) -+int fnord () __attribute__((visibility("default"))); -+#endif -+ -+int fnord () { return 42; } -+int main () -+{ -+ void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); -+ int status = $lt_dlunknown; -+ -+ if (self) -+ { -+ if (dlsym (self,"fnord")) status = $lt_dlno_uscore; -+ else -+ { -+ if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; -+ else puts (dlerror ()); -+ } -+ /* dlclose (self); */ -+ } -+ else -+ puts (dlerror ()); -+ -+ return status; -+} -+_LT_EOF -+ if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 -+ (eval $ac_link) 2>&5 -+ ac_status=$? -+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 -+ test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then -+ (./conftest; exit; ) >&5 2>/dev/null -+ lt_status=$? -+ case x$lt_status in -+ x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; -+ x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; -+ x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; -+ esac -+ else : -+ # compilation failed -+ lt_cv_dlopen_self_static=no -+ fi -+fi -+rm -fr conftest* -+ -+ -+fi -+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 -+$as_echo "$lt_cv_dlopen_self_static" >&6; } -+ fi -+ -+ CPPFLAGS="$save_CPPFLAGS" -+ LDFLAGS="$save_LDFLAGS" -+ LIBS="$save_LIBS" -+ ;; -+ esac -+ -+ case $lt_cv_dlopen_self in -+ yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; -+ *) enable_dlopen_self=unknown ;; -+ esac -+ -+ case $lt_cv_dlopen_self_static in -+ yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; -+ *) enable_dlopen_self_static=unknown ;; -+ esac -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+striplib= -+old_striplib= -+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 -+$as_echo_n "checking whether stripping libraries is possible... " >&6; } -+if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then -+ test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" -+ test -z "$striplib" && striplib="$STRIP --strip-unneeded" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+else -+# FIXME - insert some real tests, host_os isn't really good enough -+ case $host_os in -+ darwin*) -+ if test -n "$STRIP" ; then -+ striplib="$STRIP -x" -+ old_striplib="$STRIP -S" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -+$as_echo "yes" >&6; } -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ fi -+ ;; -+ *) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -+$as_echo "no" >&6; } -+ ;; -+ esac -+fi -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ # Report which library types will actually be built -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 -+$as_echo_n "checking if libtool supports shared libraries... " >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 -+$as_echo "$can_build_shared" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 -+$as_echo_n "checking whether to build shared libraries... " >&6; } -+ test "$can_build_shared" = "no" && enable_shared=no -+ -+ # On AIX, shared libraries and static libraries use the same namespace, and -+ # are all built from PIC. -+ case $host_os in -+ aix3*) -+ test "$enable_shared" = yes && enable_static=no -+ if test -n "$RANLIB"; then -+ archive_cmds="$archive_cmds~\$RANLIB \$lib" -+ postinstall_cmds='$RANLIB $lib' -+ fi -+ ;; -+ -+ aix[4-9]*) -+ if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then -+ test "$enable_shared" = yes && enable_static=no -+ fi -+ ;; -+ esac -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 -+$as_echo "$enable_shared" >&6; } -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 -+$as_echo_n "checking whether to build static libraries... " >&6; } -+ # Make sure either enable_shared or enable_static is yes. -+ test "$enable_shared" = yes || enable_static=yes -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 -+$as_echo "$enable_static" >&6; } -+ -+ -+ -+ -+fi -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+CC="$lt_save_CC" -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ ac_config_commands="$ac_config_commands libtool" -+ -+ -+ -+ -+# Only expand once: -+ -+ -+ -+ -+ CFLAG_VISIBILITY= -+ HAVE_VISIBILITY=0 -+ if test -n "$GCC"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 -+$as_echo_n "checking whether the -Werror option is usable... " >&6; } -+ if ${gl_cv_cc_vis_werror+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ gl_save_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -Werror" -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_cc_vis_werror=yes -+else -+ gl_cv_cc_vis_werror=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ CFLAGS="$gl_save_CFLAGS" -+fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_vis_werror" >&5 -+$as_echo "$gl_cv_cc_vis_werror" >&6; } -+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 -+$as_echo_n "checking for simple visibility declarations... " >&6; } -+ if ${gl_cv_cc_visibility+:} false; then : -+ $as_echo_n "(cached) " >&6 -+else -+ -+ gl_save_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -fvisibility=hidden" -+ if test $gl_cv_cc_vis_werror = yes; then -+ CFLAGS="$CFLAGS -Werror" -+ fi -+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext -+/* end confdefs.h. */ -+extern __attribute__((__visibility__("hidden"))) int hiddenvar; -+ extern __attribute__((__visibility__("default"))) int exportedvar; -+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); -+ extern __attribute__((__visibility__("default"))) int exportedfunc (void); -+ void dummyfunc (void) {} -+ -+int -+main () -+{ -+ -+ ; -+ return 0; -+} -+_ACEOF -+if ac_fn_c_try_compile "$LINENO"; then : -+ gl_cv_cc_visibility=yes -+else -+ gl_cv_cc_visibility=no -+fi -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -+ CFLAGS="$gl_save_CFLAGS" -+fi -+ -+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5 -+$as_echo "$gl_cv_cc_visibility" >&6; } -+ if test $gl_cv_cc_visibility = yes; then -+ CFLAG_VISIBILITY="-fvisibility=hidden" -+ HAVE_VISIBILITY=1 -+ fi -+ fi -+ -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define HAVE_VISIBILITY $HAVE_VISIBILITY -+_ACEOF -+ -+ -+ -+ -+case "$host_os" in -+ linux* | solaris* | osf*) -+ PLUGLIB="preloadable_libiconv.so" ;; -+ *) -+ PLUGLIB="" -+esac -+ -+ -+ac_config_files="$ac_config_files Makefile" -+ -+cat >confcache <<\_ACEOF -+# This file is a shell script that caches the results of configure -+# tests run on this system so they can be shared between configure -+# scripts and configure runs, see configure's option --config-cache. -+# It is not useful on other systems. If it contains results you don't -+# want to keep, you may remove or edit it. -+# -+# config.status only pays attention to the cache file if you give it -+# the --recheck option to rerun configure. -+# -+# `ac_cv_env_foo' variables (set or unset) will be overridden when -+# loading this file, other *unset* `ac_cv_foo' will be assigned the -+# following values. -+ -+_ACEOF -+ -+# The following way of writing the cache mishandles newlines in values, -+# but we know of no workaround that is simple, portable, and efficient. -+# So, we kill variables containing newlines. -+# Ultrix sh set writes to stderr and can't be redirected directly, -+# and sets the high bit in the cache file unless we assign to the vars. -+( -+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do -+ eval ac_val=\$$ac_var -+ case $ac_val in #( -+ *${as_nl}*) -+ case $ac_var in #( -+ *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 -+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; -+ esac -+ case $ac_var in #( -+ _ | IFS | as_nl) ;; #( -+ BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( -+ *) { eval $ac_var=; unset $ac_var;} ;; -+ esac ;; -+ esac -+ done -+ -+ (set) 2>&1 | -+ case $as_nl`(ac_space=' '; set) 2>&1` in #( -+ *${as_nl}ac_space=\ *) -+ # `set' does not quote correctly, so add quotes: double-quote -+ # substitution turns \\\\ into \\, and sed turns \\ into \. -+ sed -n \ -+ "s/'/'\\\\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" -+ ;; #( -+ *) -+ # `set' quotes correctly as required by POSIX, so do not add quotes. -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" -+ ;; -+ esac | -+ sort -+) | -+ sed ' -+ /^ac_cv_env_/b end -+ t clear -+ :clear -+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ -+ t end -+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ -+ :end' >>confcache -+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else -+ if test -w "$cache_file"; then -+ if test "x$cache_file" != "x/dev/null"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 -+$as_echo "$as_me: updating cache $cache_file" >&6;} -+ if test ! -f "$cache_file" || test -h "$cache_file"; then -+ cat confcache >"$cache_file" -+ else -+ case $cache_file in #( -+ */* | ?:*) -+ mv -f confcache "$cache_file"$$ && -+ mv -f "$cache_file"$$ "$cache_file" ;; #( -+ *) -+ mv -f confcache "$cache_file" ;; -+ esac -+ fi -+ fi -+ else -+ { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 -+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} -+ fi -+fi -+rm -f confcache -+ -+test "x$prefix" = xNONE && prefix=$ac_default_prefix -+# Let make expand exec_prefix. -+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -+ -+# Transform confdefs.h into DEFS. -+# Protect against shell expansion while executing Makefile rules. -+# Protect against Makefile macro expansion. -+# -+# If the first sed substitution is executed (which looks for macros that -+# take arguments), then branch to the quote section. Otherwise, -+# look for a macro that doesn't take arguments. -+ac_script=' -+:mline -+/\\$/{ -+ N -+ s,\\\n,, -+ b mline -+} -+t clear -+:clear -+s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g -+t quote -+s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g -+t quote -+b any -+:quote -+s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -+s/\[/\\&/g -+s/\]/\\&/g -+s/\$/$$/g -+H -+:any -+${ -+ g -+ s/^\n// -+ s/\n/ /g -+ p -+} -+' -+DEFS=`sed -n "$ac_script" confdefs.h` -+ -+ -+ac_libobjs= -+ac_ltlibobjs= -+U= -+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue -+ # 1. Remove the extension, and $U if already installed. -+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' -+ ac_i=`$as_echo "$ac_i" | sed "$ac_script"` -+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR -+ # will be set to the directory where LIBOBJS objects are built. -+ as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" -+ as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -+done -+LIBOBJS=$ac_libobjs -+ -+LTLIBOBJS=$ac_ltlibobjs -+ -+ -+ -+: "${CONFIG_STATUS=./config.status}" -+ac_write_fail=0 -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files $CONFIG_STATUS" -+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -+as_write_fail=0 -+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 -+#! $SHELL -+# Generated by $as_me. -+# Run this file to recreate the current configuration. -+# Compiler output produced by configure, useful for debugging -+# configure, is in config.log if it exists. -+ -+debug=false -+ac_cs_recheck=false -+ac_cs_silent=false -+ -+SHELL=\${CONFIG_SHELL-$SHELL} -+export SHELL -+_ASEOF -+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 -+## -------------------- ## -+## M4sh Initialization. ## -+## -------------------- ## -+ -+# Be more Bourne compatible -+DUALCASE=1; export DUALCASE # for MKS sh -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : -+ emulate sh -+ NULLCMD=: -+ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+ setopt NO_GLOB_SUBST -+else -+ case `(set -o) 2>/dev/null` in #( -+ *posix*) : -+ set -o posix ;; #( -+ *) : -+ ;; -+esac -+fi -+ -+ -+as_nl=' -+' -+export as_nl -+# Printing a long string crashes Solaris 7 /usr/bin/printf. -+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -+# Prefer a ksh shell builtin over an external printf program on Solaris, -+# but without wasting forks for bash or zsh. -+if test -z "$BASH_VERSION$ZSH_VERSION" \ -+ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='print -r --' -+ as_echo_n='print -rn --' -+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then -+ as_echo='printf %s\n' -+ as_echo_n='printf %s' -+else -+ if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then -+ as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' -+ as_echo_n='/usr/ucb/echo -n' -+ else -+ as_echo_body='eval expr "X$1" : "X\\(.*\\)"' -+ as_echo_n_body='eval -+ arg=$1; -+ case $arg in #( -+ *"$as_nl"*) -+ expr "X$arg" : "X\\(.*\\)$as_nl"; -+ arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; -+ esac; -+ expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" -+ ' -+ export as_echo_n_body -+ as_echo_n='sh -c $as_echo_n_body as_echo' -+ fi -+ export as_echo_body -+ as_echo='sh -c $as_echo_body as_echo' -+fi -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { -+ (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || -+ PATH_SEPARATOR=';' -+ } -+fi -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. Quoting is -+# there to prevent editors from complaining about space-tab. -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word -+# splitting by setting IFS to empty value.) -+IFS=" "" $as_nl" -+ -+# Find who we are. Look in the path if we contain no directory separator. -+as_myself= -+case $0 in #(( -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+ done -+IFS=$as_save_IFS -+ -+ ;; -+esac -+# We did not find ourselves, most probably we were run as `sh COMMAND' -+# in which case we are not to be found in the path. -+if test "x$as_myself" = x; then -+ as_myself=$0 -+fi -+if test ! -f "$as_myself"; then -+ $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 -+ exit 1 -+fi -+ -+# Unset variables that we do not need and which cause bugs (e.g. in -+# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -+# suppresses any "Segmentation fault" message there. '((' could -+# trigger a bug in pdksh 5.2.14. -+for as_var in BASH_ENV ENV MAIL MAILPATH -+do eval test x\${$as_var+set} = xset \ -+ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -+done -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+LC_ALL=C -+export LC_ALL -+LANGUAGE=C -+export LANGUAGE -+ -+# CDPATH. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+ -+# as_fn_error STATUS ERROR [LINENO LOG_FD] -+# ---------------------------------------- -+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the -+# script with STATUS, using 1 if that was 0. -+as_fn_error () -+{ -+ as_status=$1; test $as_status -eq 0 && as_status=1 -+ if test "$4"; then -+ as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack -+ $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 -+ fi -+ $as_echo "$as_me: error: $2" >&2 -+ as_fn_exit $as_status -+} # as_fn_error -+ -+ -+# as_fn_set_status STATUS -+# ----------------------- -+# Set $? to STATUS, without forking. -+as_fn_set_status () -+{ -+ return $1 -+} # as_fn_set_status -+ -+# as_fn_exit STATUS -+# ----------------- -+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -+as_fn_exit () -+{ -+ set +e -+ as_fn_set_status $1 -+ exit $1 -+} # as_fn_exit -+ -+# as_fn_unset VAR -+# --------------- -+# Portably unset VAR. -+as_fn_unset () -+{ -+ { eval $1=; unset $1;} -+} -+as_unset=as_fn_unset -+# as_fn_append VAR VALUE -+# ---------------------- -+# Append the text in VALUE to the end of the definition contained in VAR. Take -+# advantage of any shell optimizations that allow amortized linear growth over -+# repeated appends, instead of the typical quadratic growth present in naive -+# implementations. -+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : -+ eval 'as_fn_append () -+ { -+ eval $1+=\$2 -+ }' -+else -+ as_fn_append () -+ { -+ eval $1=\$$1\$2 -+ } -+fi # as_fn_append -+ -+# as_fn_arith ARG... -+# ------------------ -+# Perform arithmetic evaluation on the ARGs, and store the result in the -+# global $as_val. Take advantage of shells that can avoid forks. The arguments -+# must be portable across $(()) and expr. -+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : -+ eval 'as_fn_arith () -+ { -+ as_val=$(( $* )) -+ }' -+else -+ as_fn_arith () -+ { -+ as_val=`expr "$@" || test $? -eq 1` -+ } -+fi # as_fn_arith -+ -+ -+if expr a : '\(a\)' >/dev/null 2>&1 && -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then -+ as_dirname=dirname -+else -+ as_dirname=false -+fi -+ -+as_me=`$as_basename -- "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\/\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+ECHO_C= ECHO_N= ECHO_T= -+case `echo -n x` in #((((( -+-n*) -+ case `echo 'xy\c'` in -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character. -+ xy) ECHO_C='\c';; -+ *) echo `echo ksh88 bug on AIX 6.1` > /dev/null -+ ECHO_T=' ';; -+ esac;; -+*) -+ ECHO_N='-n';; -+esac -+ -+rm -f conf$$ conf$$.exe conf$$.file -+if test -d conf$$.dir; then -+ rm -f conf$$.dir/conf$$.file -+else -+ rm -f conf$$.dir -+ mkdir conf$$.dir 2>/dev/null -+fi -+if (echo >conf$$.file) 2>/dev/null; then -+ if ln -s conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s='ln -s' -+ # ... but there are two gotchas: -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. -+ # In both cases, we have to default to `cp -pR'. -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || -+ as_ln_s='cp -pR' -+ elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+ else -+ as_ln_s='cp -pR' -+ fi -+else -+ as_ln_s='cp -pR' -+fi -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -+rmdir conf$$.dir 2>/dev/null -+ -+ -+# as_fn_mkdir_p -+# ------------- -+# Create "$as_dir" as a directory, including parents if necessary. -+as_fn_mkdir_p () -+{ -+ -+ case $as_dir in #( -+ -*) as_dir=./$as_dir;; -+ esac -+ test -d "$as_dir" || eval $as_mkdir_p || { -+ as_dirs= -+ while :; do -+ case $as_dir in #( -+ *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( -+ *) as_qdir=$as_dir;; -+ esac -+ as_dirs="'$as_qdir' $as_dirs" -+ as_dir=`$as_dirname -- "$as_dir" || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ test -d "$as_dir" && break -+ done -+ test -z "$as_dirs" || eval "mkdir $as_dirs" -+ } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" -+ -+ -+} # as_fn_mkdir_p -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p='mkdir -p "$as_dir"' -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+ -+# as_fn_executable_p FILE -+# ----------------------- -+# Test if FILE is an executable regular file. -+as_fn_executable_p () -+{ -+ test -f "$1" && test -x "$1" -+} # as_fn_executable_p -+as_test_x='test -x' -+as_executable_p=as_fn_executable_p -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+ -+exec 6>&1 -+## ----------------------------------- ## -+## Main body of $CONFIG_STATUS script. ## -+## ----------------------------------- ## -+_ASEOF -+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# Save the log message, to keep $0 and so on meaningful, and to -+# report actual input values of CONFIG_FILES etc. instead of their -+# values after options handling. -+ac_log=" -+This file was extended by $as_me, which was -+generated by GNU Autoconf 2.69. Invocation command line was -+ -+ CONFIG_FILES = $CONFIG_FILES -+ CONFIG_HEADERS = $CONFIG_HEADERS -+ CONFIG_LINKS = $CONFIG_LINKS -+ CONFIG_COMMANDS = $CONFIG_COMMANDS -+ $ $0 $@ -+ -+on `(hostname || uname -n) 2>/dev/null | sed 1q` -+" -+ -+_ACEOF -+ -+case $ac_config_files in *" -+"*) set x $ac_config_files; shift; ac_config_files=$*;; -+esac -+ -+ -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+# Files that config.status was made for. -+config_files="$ac_config_files" -+config_commands="$ac_config_commands" -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ac_cs_usage="\ -+\`$as_me' instantiates files and other configuration actions -+from templates according to the current configuration. Unless the files -+and actions are specified as TAGs, all are instantiated by default. -+ -+Usage: $0 [OPTION]... [TAG]... -+ -+ -h, --help print this help, then exit -+ -V, --version print version number and configuration settings, then exit -+ --config print configuration, then exit -+ -q, --quiet, --silent -+ do not print progress messages -+ -d, --debug don't remove temporary files -+ --recheck update $as_me by reconfiguring in the same conditions -+ --file=FILE[:TEMPLATE] -+ instantiate the configuration file FILE -+ -+Configuration files: -+$config_files -+ -+Configuration commands: -+$config_commands -+ -+Report bugs to the package provider." -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" -+ac_cs_version="\\ -+config.status -+configured by $0, generated by GNU Autoconf 2.69, -+ with options \\"\$ac_cs_config\\" -+ -+Copyright (C) 2012 Free Software Foundation, Inc. -+This config.status script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it." -+ -+ac_pwd='$ac_pwd' -+srcdir='$srcdir' -+INSTALL='$INSTALL' -+AWK='$AWK' -+test -n "\$AWK" || AWK=awk -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# The default lists apply if the user does not specify any file. -+ac_need_defaults=: -+while test $# != 0 -+do -+ case $1 in -+ --*=?*) -+ ac_option=`expr "X$1" : 'X\([^=]*\)='` -+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` -+ ac_shift=: -+ ;; -+ --*=) -+ ac_option=`expr "X$1" : 'X\([^=]*\)='` -+ ac_optarg= -+ ac_shift=: -+ ;; -+ *) -+ ac_option=$1 -+ ac_optarg=$2 -+ ac_shift=shift -+ ;; -+ esac -+ -+ case $ac_option in -+ # Handling of the options. -+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -+ ac_cs_recheck=: ;; -+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) -+ $as_echo "$ac_cs_version"; exit ;; -+ --config | --confi | --conf | --con | --co | --c ) -+ $as_echo "$ac_cs_config"; exit ;; -+ --debug | --debu | --deb | --de | --d | -d ) -+ debug=: ;; -+ --file | --fil | --fi | --f ) -+ $ac_shift -+ case $ac_optarg in -+ *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ '') as_fn_error $? "missing file argument" ;; -+ esac -+ as_fn_append CONFIG_FILES " '$ac_optarg'" -+ ac_need_defaults=false;; -+ --he | --h | --help | --hel | -h ) -+ $as_echo "$ac_cs_usage"; exit ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil | --si | --s) -+ ac_cs_silent=: ;; -+ -+ # This is an error. -+ -*) as_fn_error $? "unrecognized option: \`$1' -+Try \`$0 --help' for more information." ;; -+ -+ *) as_fn_append ac_config_targets " $1" -+ ac_need_defaults=false ;; -+ -+ esac -+ shift -+done -+ -+ac_configure_extra_args= -+ -+if $ac_cs_silent; then -+ exec 6>/dev/null -+ ac_configure_extra_args="$ac_configure_extra_args --silent" -+fi -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+if \$ac_cs_recheck; then -+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -+ shift -+ \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 -+ CONFIG_SHELL='$SHELL' -+ export CONFIG_SHELL -+ exec "\$@" -+fi -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+exec 5>>config.log -+{ -+ echo -+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -+## Running $as_me. ## -+_ASBOX -+ $as_echo "$ac_log" -+} >&5 -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+# -+# INIT-COMMANDS -+# -+ -+ -+# The HP-UX ksh and POSIX shell print the target directory to stdout -+# if CDPATH is set. -+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH -+ -+sed_quote_subst='$sed_quote_subst' -+double_quote_subst='$double_quote_subst' -+delay_variable_subst='$delay_variable_subst' -+macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' -+macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' -+AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' -+DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' -+OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' -+enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' -+enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' -+pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' -+enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' -+SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' -+ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' -+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' -+host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' -+host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' -+host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' -+build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' -+build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' -+build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' -+SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' -+Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' -+GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' -+EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' -+FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' -+LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' -+NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' -+LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' -+max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' -+ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' -+exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' -+lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' -+lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' -+lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' -+lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' -+lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' -+reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' -+reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' -+deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' -+file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' -+file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' -+want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' -+sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' -+AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' -+AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' -+archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' -+STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' -+RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' -+old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' -+old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -+old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' -+lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' -+CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' -+CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' -+compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' -+GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' -+nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' -+lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' -+objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' -+MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' -+lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' -+lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' -+need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' -+MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' -+DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' -+NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' -+LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' -+OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' -+OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' -+libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' -+shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' -+extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -+archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' -+enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' -+export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' -+whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' -+compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' -+old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' -+old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' -+archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' -+archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' -+module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' -+module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' -+with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' -+allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' -+no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' -+hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' -+hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' -+hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' -+hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' -+hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' -+hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' -+inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' -+link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' -+always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' -+export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' -+exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' -+include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' -+prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' -+postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' -+file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' -+variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' -+need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' -+need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' -+version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' -+runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' -+shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' -+shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' -+libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' -+library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' -+soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' -+install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' -+postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' -+postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' -+finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' -+finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' -+hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' -+sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' -+sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' -+hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' -+enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' -+enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' -+enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' -+old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' -+striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' -+ -+LTCC='$LTCC' -+LTCFLAGS='$LTCFLAGS' -+compiler='$compiler_DEFAULT' -+ -+# A function that is used when there is no print builtin or printf. -+func_fallback_echo () -+{ -+ eval 'cat <<_LTECHO_EOF -+\$1 -+_LTECHO_EOF' -+} -+ -+# Quote evaled strings. -+for var in AS \ -+DLLTOOL \ -+OBJDUMP \ -+SHELL \ -+ECHO \ -+PATH_SEPARATOR \ -+SED \ -+GREP \ -+EGREP \ -+FGREP \ -+LD \ -+NM \ -+LN_S \ -+lt_SP2NL \ -+lt_NL2SP \ -+reload_flag \ -+deplibs_check_method \ -+file_magic_cmd \ -+file_magic_glob \ -+want_nocaseglob \ -+sharedlib_from_linklib_cmd \ -+AR \ -+AR_FLAGS \ -+archiver_list_spec \ -+STRIP \ -+RANLIB \ -+CC \ -+CFLAGS \ -+compiler \ -+lt_cv_sys_global_symbol_pipe \ -+lt_cv_sys_global_symbol_to_cdecl \ -+lt_cv_sys_global_symbol_to_c_name_address \ -+lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ -+nm_file_list_spec \ -+lt_prog_compiler_no_builtin_flag \ -+lt_prog_compiler_pic \ -+lt_prog_compiler_wl \ -+lt_prog_compiler_static \ -+lt_cv_prog_compiler_c_o \ -+need_locks \ -+MANIFEST_TOOL \ -+DSYMUTIL \ -+NMEDIT \ -+LIPO \ -+OTOOL \ -+OTOOL64 \ -+shrext_cmds \ -+export_dynamic_flag_spec \ -+whole_archive_flag_spec \ -+compiler_needs_object \ -+with_gnu_ld \ -+allow_undefined_flag \ -+no_undefined_flag \ -+hardcode_libdir_flag_spec \ -+hardcode_libdir_separator \ -+exclude_expsyms \ -+include_expsyms \ -+file_list_spec \ -+variables_saved_for_relink \ -+libname_spec \ -+library_names_spec \ -+soname_spec \ -+install_override_mode \ -+finish_eval \ -+old_striplib \ -+striplib; do -+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in -+ *[\\\\\\\`\\"\\\$]*) -+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" -+ ;; -+ *) -+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" -+ ;; -+ esac -+done -+ -+# Double-quote double-evaled strings. -+for var in reload_cmds \ -+old_postinstall_cmds \ -+old_postuninstall_cmds \ -+old_archive_cmds \ -+extract_expsyms_cmds \ -+old_archive_from_new_cmds \ -+old_archive_from_expsyms_cmds \ -+archive_cmds \ -+archive_expsym_cmds \ -+module_cmds \ -+module_expsym_cmds \ -+export_symbols_cmds \ -+prelink_cmds \ -+postlink_cmds \ -+postinstall_cmds \ -+postuninstall_cmds \ -+finish_cmds \ -+sys_lib_search_path_spec \ -+sys_lib_dlsearch_path_spec; do -+ case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in -+ *[\\\\\\\`\\"\\\$]*) -+ eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" -+ ;; -+ *) -+ eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" -+ ;; -+ esac -+done -+ -+ac_aux_dir='$ac_aux_dir' -+xsi_shell='$xsi_shell' -+lt_shell_append='$lt_shell_append' -+ -+# See if we are running on zsh, and set the options which allow our -+# commands through without removal of \ escapes INIT. -+if test -n "\${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+fi -+ -+ -+ PACKAGE='$PACKAGE' -+ VERSION='$VERSION' -+ TIMESTAMP='$TIMESTAMP' -+ RM='$RM' -+ ofile='$ofile' -+ -+ -+ -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+ -+# Handling of arguments. -+for ac_config_target in $ac_config_targets -+do -+ case $ac_config_target in -+ "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; -+ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; -+ -+ *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; -+ esac -+done -+ -+ -+# If the user did not use the arguments to specify the items to instantiate, -+# then the envvar interface is used. Set only those that are not. -+# We use the long form for the default assignment because of an extremely -+# bizarre bug on SunOS 4.1.3. -+if $ac_need_defaults; then -+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -+fi -+ -+# Have a temporary directory for convenience. Make it in the build tree -+# simply because there is no reason against having it here, and in addition, -+# creating and moving files from /tmp can sometimes cause problems. -+# Hook for its removal unless debugging. -+# Note that there is a small window in which the directory will not be cleaned: -+# after its creation but before its name has been assigned to `$tmp'. -+$debug || -+{ -+ tmp= ac_tmp= -+ trap 'exit_status=$? -+ : "${ac_tmp:=$tmp}" -+ { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -+' 0 -+ trap 'as_fn_exit 1' 1 2 13 15 -+} -+# Create a (secure) tmp directory for tmp files. -+ -+{ -+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && -+ test -d "$tmp" -+} || -+{ -+ tmp=./conf$$-$RANDOM -+ (umask 077 && mkdir "$tmp") -+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -+ac_tmp=$tmp -+ -+# Set up the scripts for CONFIG_FILES section. -+# No need to generate them if there are no CONFIG_FILES. -+# This happens for instance with `./config.status config.h'. -+if test -n "$CONFIG_FILES"; then -+ -+ -+ac_cr=`echo X | tr X '\015'` -+# On cygwin, bash can eat \r inside `` if the user requested igncr. -+# But we know of no other shell where ac_cr would be empty at this -+# point, so we can use a bashism as a fallback. -+if test "x$ac_cr" = x; then -+ eval ac_cr=\$\'\\r\' -+fi -+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then -+ ac_cs_awk_cr='\\r' -+else -+ ac_cs_awk_cr=$ac_cr -+fi -+ -+echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -+_ACEOF -+ -+ -+{ -+ echo "cat >conf$$subs.awk <<_ACEOF" && -+ echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && -+ echo "_ACEOF" -+} >conf$$subs.sh || -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` -+ac_delim='%!_!# ' -+for ac_last_try in false false false false false :; do -+ . ./conf$$subs.sh || -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ -+ ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` -+ if test $ac_delim_n = $ac_delim_num; then -+ break -+ elif $ac_last_try; then -+ as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -+ else -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! " -+ fi -+done -+rm -f conf$$subs.sh -+ -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && -+_ACEOF -+sed -n ' -+h -+s/^/S["/; s/!.*/"]=/ -+p -+g -+s/^[^!]*!// -+:repl -+t repl -+s/'"$ac_delim"'$// -+t delim -+:nl -+h -+s/\(.\{148\}\)..*/\1/ -+t more1 -+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -+p -+n -+b repl -+:more1 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t nl -+:delim -+h -+s/\(.\{148\}\)..*/\1/ -+t more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"/ -+p -+b -+:more2 -+s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -+p -+g -+s/.\{148\}// -+t delim -+' >$CONFIG_STATUS || ac_write_fail=1 -+rm -f conf$$subs.awk -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+_ACAWK -+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && -+ for (key in S) S_is_set[key] = 1 -+ FS = "" -+ -+} -+{ -+ line = $ 0 -+ nfields = split(line, field, "@") -+ substed = 0 -+ len = length(field[1]) -+ for (i = 2; i < nfields; i++) { -+ key = field[i] -+ keylen = length(key) -+ if (S_is_set[key]) { -+ value = S[key] -+ line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) -+ len += length(value) + length(field[++i]) -+ substed = 1 -+ } else -+ len += 1 + keylen -+ } -+ -+ print line -+} -+ -+_ACAWK -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then -+ sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -+else -+ cat -+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ -+ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -+_ACEOF -+ -+# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and -+# trailing colons and then remove the whole line if VPATH becomes empty -+# (actually we leave an empty line to preserve line numbers). -+if test "x$srcdir" = x.; then -+ ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ -+h -+s/// -+s/^/:/ -+s/[ ]*$/:/ -+s/:\$(srcdir):/:/g -+s/:\${srcdir}:/:/g -+s/:@srcdir@:/:/g -+s/^:*// -+s/:*$// -+x -+s/\(=[ ]*\).*/\1/ -+G -+s/\n// -+s/^[^=]*=[ ]*$// -+}' -+fi -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+fi # test -n "$CONFIG_FILES" -+ -+ -+eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" -+shift -+for ac_tag -+do -+ case $ac_tag in -+ :[FHLC]) ac_mode=$ac_tag; continue;; -+ esac -+ case $ac_mode$ac_tag in -+ :[FHL]*:*);; -+ :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; -+ :[FH]-) ac_tag=-:-;; -+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; -+ esac -+ ac_save_IFS=$IFS -+ IFS=: -+ set x $ac_tag -+ IFS=$ac_save_IFS -+ shift -+ ac_file=$1 -+ shift -+ -+ case $ac_mode in -+ :L) ac_source=$1;; -+ :[FH]) -+ ac_file_inputs= -+ for ac_f -+ do -+ case $ac_f in -+ -) ac_f="$ac_tmp/stdin";; -+ *) # Look for the file first in the build tree, then in the source tree -+ # (if the path is not absolute). The absolute path cannot be DOS-style, -+ # because $ac_f cannot contain `:'. -+ test -f "$ac_f" || -+ case $ac_f in -+ [\\/$]*) false;; -+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; -+ esac || -+ as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; -+ esac -+ case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac -+ as_fn_append ac_file_inputs " '$ac_f'" -+ done -+ -+ # Let's still pretend it is `configure' which instantiates (i.e., don't -+ # use $as_me), people would be surprised to read: -+ # /* config.h. Generated by config.status. */ -+ configure_input='Generated from '` -+ $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' -+ `' by configure.' -+ if test x"$ac_file" != x-; then -+ configure_input="$ac_file. $configure_input" -+ { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -+$as_echo "$as_me: creating $ac_file" >&6;} -+ fi -+ # Neutralize special characters interpreted by sed in replacement strings. -+ case $configure_input in #( -+ *\&* | *\|* | *\\* ) -+ ac_sed_conf_input=`$as_echo "$configure_input" | -+ sed 's/[\\\\&|]/\\\\&/g'`;; #( -+ *) ac_sed_conf_input=$configure_input;; -+ esac -+ -+ case $ac_tag in -+ *:-:* | *:-) cat >"$ac_tmp/stdin" \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; -+ esac -+ ;; -+ esac -+ -+ ac_dir=`$as_dirname -- "$ac_file" || -+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$ac_file" : 'X\(//\)[^/]' \| \ -+ X"$ac_file" : 'X\(//\)$' \| \ -+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -+$as_echo X"$ac_file" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)[^/].*/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\/\)$/{ -+ s//\1/ -+ q -+ } -+ /^X\(\/\).*/{ -+ s//\1/ -+ q -+ } -+ s/.*/./; q'` -+ as_dir="$ac_dir"; as_fn_mkdir_p -+ ac_builddir=. -+ -+case "$ac_dir" in -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -+*) -+ ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` -+ # A ".." for each directory in $ac_dir_suffix. -+ ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` -+ case $ac_top_builddir_sub in -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;; -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; -+ esac ;; -+esac -+ac_abs_top_builddir=$ac_pwd -+ac_abs_builddir=$ac_pwd$ac_dir_suffix -+# for backward compatibility: -+ac_top_builddir=$ac_top_build_prefix -+ -+case $srcdir in -+ .) # We are building in place. -+ ac_srcdir=. -+ ac_top_srcdir=$ac_top_builddir_sub -+ ac_abs_top_srcdir=$ac_pwd ;; -+ [\\/]* | ?:[\\/]* ) # Absolute name. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir -+ ac_abs_top_srcdir=$srcdir ;; -+ *) # Relative name. -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_build_prefix$srcdir -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -+esac -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix -+ -+ -+ case $ac_mode in -+ :F) -+ # -+ # CONFIG_FILE -+ # -+ -+ case $INSTALL in -+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; -+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; -+ esac -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+# If the template does not know about datarootdir, expand it. -+# FIXME: This hack should be removed a few years after 2.60. -+ac_datarootdir_hack=; ac_datarootdir_seen= -+ac_sed_dataroot=' -+/datarootdir/ { -+ p -+ q -+} -+/@datadir@/p -+/@docdir@/p -+/@infodir@/p -+/@localedir@/p -+/@mandir@/p' -+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -+*datarootdir*) ac_datarootdir_seen=yes;; -+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ ac_datarootdir_hack=' -+ s&@datadir@&$datadir&g -+ s&@docdir@&$docdir&g -+ s&@infodir@&$infodir&g -+ s&@localedir@&$localedir&g -+ s&@mandir@&$mandir&g -+ s&\\\${datarootdir}&$datarootdir&g' ;; -+esac -+_ACEOF -+ -+# Neutralize VPATH when `$srcdir' = `.'. -+# Shell code in configure.ac might set extrasub. -+# FIXME: do we really want to maintain this feature? -+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -+ac_sed_extra="$ac_vpsub -+$extrasub -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -+:t -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -+s|@configure_input@|$ac_sed_conf_input|;t t -+s&@top_builddir@&$ac_top_builddir_sub&;t t -+s&@top_build_prefix@&$ac_top_build_prefix&;t t -+s&@srcdir@&$ac_srcdir&;t t -+s&@abs_srcdir@&$ac_abs_srcdir&;t t -+s&@top_srcdir@&$ac_top_srcdir&;t t -+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -+s&@builddir@&$ac_builddir&;t t -+s&@abs_builddir@&$ac_abs_builddir&;t t -+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -+s&@INSTALL@&$ac_INSTALL&;t t -+$ac_datarootdir_hack -+" -+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ -+ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ -+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && -+ { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && -+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ -+ "$ac_tmp/out"`; test -z "$ac_out"; } && -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined" >&5 -+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -+which seems to be undefined. Please make sure it is defined" >&2;} -+ -+ rm -f "$ac_tmp/stdin" -+ case $ac_file in -+ -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; -+ *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; -+ esac \ -+ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 -+ ;; -+ -+ -+ :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 -+$as_echo "$as_me: executing $ac_file commands" >&6;} -+ ;; -+ esac -+ -+ -+ case $ac_file$ac_mode in -+ "libtool":C) -+ -+ # See if we are running on zsh, and set the options which allow our -+ # commands through without removal of \ escapes. -+ if test -n "${ZSH_VERSION+set}" ; then -+ setopt NO_GLOB_SUBST -+ fi -+ -+ cfgfile="${ofile}T" -+ trap "$RM \"$cfgfile\"; exit 1" 1 2 15 -+ $RM "$cfgfile" -+ -+ cat <<_LT_EOF >> "$cfgfile" -+#! $SHELL -+ -+# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. -+# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION -+# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -+# NOTE: Changes made to this file will be lost: look at ltmain.sh. -+# -+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, -+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software -+# Foundation, Inc. -+# Written by Gordon Matzigkeit, 1996 -+# -+# This file is part of GNU Libtool. -+# -+# GNU Libtool is free software; you can redistribute it and/or -+# modify it under the terms of the GNU General Public License as -+# published by the Free Software Foundation; either version 2 of -+# the License, or (at your option) any later version. -+# -+# As a special exception to the GNU General Public License, -+# if you distribute this file as part of a program or library that -+# is built using GNU Libtool, you may include this file under the -+# same distribution terms that you use for the rest of that program. -+# -+# GNU Libtool is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with GNU Libtool; see the file COPYING. If not, a copy -+# can be downloaded from http://www.gnu.org/licenses/gpl.html, or -+# obtained by writing to the Free Software Foundation, Inc., -+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -+ -+ -+# The names of the tagged configurations supported by this script. -+available_tags="" -+ -+# ### BEGIN LIBTOOL CONFIG -+ -+# Which release of libtool.m4 was used? -+macro_version=$macro_version -+macro_revision=$macro_revision -+ -+# Assembler program. -+AS=$lt_AS -+ -+# DLL creation program. -+DLLTOOL=$lt_DLLTOOL -+ -+# Object dumper program. -+OBJDUMP=$lt_OBJDUMP -+ -+# Whether or not to build shared libraries. -+build_libtool_libs=$enable_shared -+ -+# Whether or not to build static libraries. -+build_old_libs=$enable_static -+ -+# What type of objects to build. -+pic_mode=$pic_mode -+ -+# Whether or not to optimize for fast installation. -+fast_install=$enable_fast_install -+ -+# Shell to use when invoking shell scripts. -+SHELL=$lt_SHELL -+ -+# An echo program that protects backslashes. -+ECHO=$lt_ECHO -+ -+# The PATH separator for the build system. -+PATH_SEPARATOR=$lt_PATH_SEPARATOR -+ -+# The host system. -+host_alias=$host_alias -+host=$host -+host_os=$host_os -+ -+# The build system. -+build_alias=$build_alias -+build=$build -+build_os=$build_os -+ -+# A sed program that does not truncate output. -+SED=$lt_SED -+ -+# Sed that helps us avoid accidentally triggering echo(1) options like -n. -+Xsed="\$SED -e 1s/^X//" -+ -+# A grep program that handles long lines. -+GREP=$lt_GREP -+ -+# An ERE matcher. -+EGREP=$lt_EGREP -+ -+# A literal string matcher. -+FGREP=$lt_FGREP -+ -+# A BSD- or MS-compatible name lister. -+NM=$lt_NM -+ -+# Whether we need soft or hard links. -+LN_S=$lt_LN_S -+ -+# What is the maximum length of a command? -+max_cmd_len=$max_cmd_len -+ -+# Object file suffix (normally "o"). -+objext=$ac_objext -+ -+# Executable file suffix (normally ""). -+exeext=$exeext -+ -+# whether the shell understands "unset". -+lt_unset=$lt_unset -+ -+# turn spaces into newlines. -+SP2NL=$lt_lt_SP2NL -+ -+# turn newlines into spaces. -+NL2SP=$lt_lt_NL2SP -+ -+# convert \$build file names to \$host format. -+to_host_file_cmd=$lt_cv_to_host_file_cmd -+ -+# convert \$build files to toolchain format. -+to_tool_file_cmd=$lt_cv_to_tool_file_cmd -+ -+# Method to check whether dependent libraries are shared objects. -+deplibs_check_method=$lt_deplibs_check_method -+ -+# Command to use when deplibs_check_method = "file_magic". -+file_magic_cmd=$lt_file_magic_cmd -+ -+# How to find potential files when deplibs_check_method = "file_magic". -+file_magic_glob=$lt_file_magic_glob -+ -+# Find potential files using nocaseglob when deplibs_check_method = "file_magic". -+want_nocaseglob=$lt_want_nocaseglob -+ -+# Command to associate shared and link libraries. -+sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd -+ -+# The archiver. -+AR=$lt_AR -+ -+# Flags to create an archive. -+AR_FLAGS=$lt_AR_FLAGS -+ -+# How to feed a file listing to the archiver. -+archiver_list_spec=$lt_archiver_list_spec -+ -+# A symbol stripping program. -+STRIP=$lt_STRIP -+ -+# Commands used to install an old-style archive. -+RANLIB=$lt_RANLIB -+old_postinstall_cmds=$lt_old_postinstall_cmds -+old_postuninstall_cmds=$lt_old_postuninstall_cmds -+ -+# Whether to use a lock for old archive extraction. -+lock_old_archive_extraction=$lock_old_archive_extraction -+ -+# A C compiler. -+LTCC=$lt_CC -+ -+# LTCC compiler flags. -+LTCFLAGS=$lt_CFLAGS -+ -+# Take the output of nm and produce a listing of raw symbols and C names. -+global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe -+ -+# Transform the output of nm in a proper C declaration. -+global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl -+ -+# Transform the output of nm in a C name address pair. -+global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address -+ -+# Transform the output of nm in a C name address pair when lib prefix is needed. -+global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix -+ -+# Specify filename containing input files for \$NM. -+nm_file_list_spec=$lt_nm_file_list_spec -+ -+# The root where to search for dependent libraries,and in which our libraries should be installed. -+lt_sysroot=$lt_sysroot -+ -+# The name of the directory that contains temporary libtool files. -+objdir=$objdir -+ -+# Used to examine libraries when file_magic_cmd begins with "file". -+MAGIC_CMD=$MAGIC_CMD -+ -+# Must we lock files when doing compilation? -+need_locks=$lt_need_locks -+ -+# Manifest tool. -+MANIFEST_TOOL=$lt_MANIFEST_TOOL -+ -+# Tool to manipulate archived DWARF debug symbol files on Mac OS X. -+DSYMUTIL=$lt_DSYMUTIL -+ -+# Tool to change global to local symbols on Mac OS X. -+NMEDIT=$lt_NMEDIT -+ -+# Tool to manipulate fat objects and archives on Mac OS X. -+LIPO=$lt_LIPO -+ -+# ldd/readelf like tool for Mach-O binaries on Mac OS X. -+OTOOL=$lt_OTOOL -+ -+# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. -+OTOOL64=$lt_OTOOL64 -+ -+# Old archive suffix (normally "a"). -+libext=$libext -+ -+# Shared library suffix (normally ".so"). -+shrext_cmds=$lt_shrext_cmds -+ -+# The commands to extract the exported symbol list from a shared archive. -+extract_expsyms_cmds=$lt_extract_expsyms_cmds -+ -+# Variables whose values should be saved in libtool wrapper scripts and -+# restored at link time. -+variables_saved_for_relink=$lt_variables_saved_for_relink -+ -+# Do we need the "lib" prefix for modules? -+need_lib_prefix=$need_lib_prefix -+ -+# Do we need a version for libraries? -+need_version=$need_version -+ -+# Library versioning type. -+version_type=$version_type -+ -+# Shared library runtime path variable. -+runpath_var=$runpath_var -+ -+# Shared library path variable. -+shlibpath_var=$shlibpath_var -+ -+# Is shlibpath searched before the hard-coded library search path? -+shlibpath_overrides_runpath=$shlibpath_overrides_runpath -+ -+# Format of library name prefix. -+libname_spec=$lt_libname_spec -+ -+# List of archive names. First name is the real one, the rest are links. -+# The last name is the one that the linker finds with -lNAME -+library_names_spec=$lt_library_names_spec -+ -+# The coded name of the library, if different from the real name. -+soname_spec=$lt_soname_spec -+ -+# Permission mode override for installation of shared libraries. -+install_override_mode=$lt_install_override_mode -+ -+# Command to use after installation of a shared archive. -+postinstall_cmds=$lt_postinstall_cmds -+ -+# Command to use after uninstallation of a shared archive. -+postuninstall_cmds=$lt_postuninstall_cmds -+ -+# Commands used to finish a libtool library installation in a directory. -+finish_cmds=$lt_finish_cmds -+ -+# As "finish_cmds", except a single script fragment to be evaled but -+# not shown. -+finish_eval=$lt_finish_eval -+ -+# Whether we should hardcode library paths into libraries. -+hardcode_into_libs=$hardcode_into_libs -+ -+# Compile-time system search path for libraries. -+sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -+ -+# Run-time system search path for libraries. -+sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec -+ -+# Whether dlopen is supported. -+dlopen_support=$enable_dlopen -+ -+# Whether dlopen of programs is supported. -+dlopen_self=$enable_dlopen_self -+ -+# Whether dlopen of statically linked programs is supported. -+dlopen_self_static=$enable_dlopen_self_static -+ -+# Commands to strip libraries. -+old_striplib=$lt_old_striplib -+striplib=$lt_striplib -+ -+ -+# The linker used to build libraries. -+LD=$lt_LD -+ -+# How to create reloadable object files. -+reload_flag=$lt_reload_flag -+reload_cmds=$lt_reload_cmds -+ -+# Commands used to build an old-style archive. -+old_archive_cmds=$lt_old_archive_cmds -+ -+# A language specific compiler. -+CC=$lt_compiler -+ -+# Is the compiler the GNU compiler? -+with_gcc=$GCC -+ -+# Compiler flag to turn off builtin functions. -+no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag -+ -+# Additional compiler flags for building library objects. -+pic_flag=$lt_lt_prog_compiler_pic -+ -+# How to pass a linker flag through the compiler. -+wl=$lt_lt_prog_compiler_wl -+ -+# Compiler flag to prevent dynamic linking. -+link_static_flag=$lt_lt_prog_compiler_static -+ -+# Does compiler simultaneously support -c and -o options? -+compiler_c_o=$lt_lt_cv_prog_compiler_c_o -+ -+# Whether or not to add -lc for building shared libraries. -+build_libtool_need_lc=$archive_cmds_need_lc -+ -+# Whether or not to disallow shared libs when runtime libs are static. -+allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes -+ -+# Compiler flag to allow reflexive dlopens. -+export_dynamic_flag_spec=$lt_export_dynamic_flag_spec -+ -+# Compiler flag to generate shared objects directly from archives. -+whole_archive_flag_spec=$lt_whole_archive_flag_spec -+ -+# Whether the compiler copes with passing no objects directly. -+compiler_needs_object=$lt_compiler_needs_object -+ -+# Create an old-style archive from a shared archive. -+old_archive_from_new_cmds=$lt_old_archive_from_new_cmds -+ -+# Create a temporary old-style archive to link instead of a shared archive. -+old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds -+ -+# Commands used to build a shared archive. -+archive_cmds=$lt_archive_cmds -+archive_expsym_cmds=$lt_archive_expsym_cmds -+ -+# Commands used to build a loadable module if different from building -+# a shared archive. -+module_cmds=$lt_module_cmds -+module_expsym_cmds=$lt_module_expsym_cmds -+ -+# Whether we are building with GNU ld or not. -+with_gnu_ld=$lt_with_gnu_ld -+ -+# Flag that allows shared libraries with undefined symbols to be built. -+allow_undefined_flag=$lt_allow_undefined_flag -+ -+# Flag that enforces no undefined symbols. -+no_undefined_flag=$lt_no_undefined_flag -+ -+# Flag to hardcode \$libdir into a binary during linking. -+# This must work even if \$libdir does not exist -+hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec -+ -+# Whether we need a single "-rpath" flag with a separated argument. -+hardcode_libdir_separator=$lt_hardcode_libdir_separator -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary. -+hardcode_direct=$hardcode_direct -+ -+# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes -+# DIR into the resulting binary and the resulting library dependency is -+# "absolute",i.e impossible to change by setting \${shlibpath_var} if the -+# library is relocated. -+hardcode_direct_absolute=$hardcode_direct_absolute -+ -+# Set to "yes" if using the -LDIR flag during linking hardcodes DIR -+# into the resulting binary. -+hardcode_minus_L=$hardcode_minus_L -+ -+# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR -+# into the resulting binary. -+hardcode_shlibpath_var=$hardcode_shlibpath_var -+ -+# Set to "yes" if building a shared library automatically hardcodes DIR -+# into the library and all subsequent libraries and executables linked -+# against it. -+hardcode_automatic=$hardcode_automatic -+ -+# Set to yes if linker adds runtime paths of dependent libraries -+# to runtime path list. -+inherit_rpath=$inherit_rpath -+ -+# Whether libtool must link a program against all its dependency libraries. -+link_all_deplibs=$link_all_deplibs -+ -+# Set to "yes" if exported symbols are required. -+always_export_symbols=$always_export_symbols -+ -+# The commands to list exported symbols. -+export_symbols_cmds=$lt_export_symbols_cmds -+ -+# Symbols that should not be listed in the preloaded symbols. -+exclude_expsyms=$lt_exclude_expsyms -+ -+# Symbols that must always be exported. -+include_expsyms=$lt_include_expsyms -+ -+# Commands necessary for linking programs (against libraries) with templates. -+prelink_cmds=$lt_prelink_cmds -+ -+# Commands necessary for finishing linking programs. -+postlink_cmds=$lt_postlink_cmds -+ -+# Specify filename containing input files. -+file_list_spec=$lt_file_list_spec -+ -+# How to hardcode a shared library path into an executable. -+hardcode_action=$hardcode_action -+ -+# ### END LIBTOOL CONFIG -+ -+_LT_EOF -+ -+ case $host_os in -+ aix3*) -+ cat <<\_LT_EOF >> "$cfgfile" -+# AIX sometimes has problems with the GCC collect2 program. For some -+# reason, if we set the COLLECT_NAMES environment variable, the problems -+# vanish in a puff of smoke. -+if test "X${COLLECT_NAMES+set}" != Xset; then -+ COLLECT_NAMES= -+ export COLLECT_NAMES -+fi -+_LT_EOF -+ ;; -+ esac -+ -+ -+ltmain="$ac_aux_dir/ltmain.sh" -+ -+ -+ # We use sed instead of cat because bash on DJGPP gets confused if -+ # if finds mixed CR/LF and LF-only lines. Since sed operates in -+ # text mode, it properly converts lines to CR/LF. This bash problem -+ # is reportedly fixed, but why not run on old versions too? -+ sed '$q' "$ltmain" >> "$cfgfile" \ -+ || (rm -f "$cfgfile"; exit 1) -+ -+ if test x"$xsi_shell" = xyes; then -+ sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ -+func_dirname ()\ -+{\ -+\ case ${1} in\ -+\ */*) func_dirname_result="${1%/*}${2}" ;;\ -+\ * ) func_dirname_result="${3}" ;;\ -+\ esac\ -+} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_basename ()$/,/^} # func_basename /c\ -+func_basename ()\ -+{\ -+\ func_basename_result="${1##*/}"\ -+} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ -+func_dirname_and_basename ()\ -+{\ -+\ case ${1} in\ -+\ */*) func_dirname_result="${1%/*}${2}" ;;\ -+\ * ) func_dirname_result="${3}" ;;\ -+\ esac\ -+\ func_basename_result="${1##*/}"\ -+} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ -+func_stripname ()\ -+{\ -+\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ -+\ # positional parameters, so assign one to ordinary parameter first.\ -+\ func_stripname_result=${3}\ -+\ func_stripname_result=${func_stripname_result#"${1}"}\ -+\ func_stripname_result=${func_stripname_result%"${2}"}\ -+} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ -+func_split_long_opt ()\ -+{\ -+\ func_split_long_opt_name=${1%%=*}\ -+\ func_split_long_opt_arg=${1#*=}\ -+} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ -+func_split_short_opt ()\ -+{\ -+\ func_split_short_opt_arg=${1#??}\ -+\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ -+} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ -+func_lo2o ()\ -+{\ -+\ case ${1} in\ -+\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ -+\ *) func_lo2o_result=${1} ;;\ -+\ esac\ -+} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_xform ()$/,/^} # func_xform /c\ -+func_xform ()\ -+{\ -+ func_xform_result=${1%.*}.lo\ -+} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_arith ()$/,/^} # func_arith /c\ -+func_arith ()\ -+{\ -+ func_arith_result=$(( $* ))\ -+} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_len ()$/,/^} # func_len /c\ -+func_len ()\ -+{\ -+ func_len_result=${#1}\ -+} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+fi -+ -+if test x"$lt_shell_append" = xyes; then -+ sed -e '/^func_append ()$/,/^} # func_append /c\ -+func_append ()\ -+{\ -+ eval "${1}+=\\${2}"\ -+} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ -+func_append_quoted ()\ -+{\ -+\ func_quote_for_eval "${2}"\ -+\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ -+} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+test 0 -eq $? || _lt_function_replace_fail=: -+ -+ -+ # Save a `func_append' function call where possible by direct use of '+=' -+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+ test 0 -eq $? || _lt_function_replace_fail=: -+else -+ # Save a `func_append' function call even when '+=' is not available -+ sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ -+ && mv -f "$cfgfile.tmp" "$cfgfile" \ -+ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") -+ test 0 -eq $? || _lt_function_replace_fail=: -+fi -+ -+if test x"$_lt_function_replace_fail" = x":"; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 -+$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} -+fi -+ -+ -+ mv -f "$cfgfile" "$ofile" || -+ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") -+ chmod +x "$ofile" -+ -+ ;; -+ -+ esac -+done # for ac_tag -+ -+ -+as_fn_exit 0 -+_ACEOF -+ac_clean_files=$ac_clean_files_save -+ -+test $ac_write_fail = 0 || -+ as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 -+ -+ -+# configure is writing to config.log, and then calls config.status. -+# config.status does its own redirection, appending to config.log. -+# Unfortunately, on DOS this fails, as config.log is still kept open -+# by configure, so config.status won't be able to write to it; its -+# output is simply discarded. So we exec the FD to /dev/null, -+# effectively closing config.log, so it can be properly (re)opened and -+# appended to by config.status. When coming back to configure, we -+# need to make the FD available again. -+if test "$no_create" != yes; then -+ ac_cs_success=: -+ ac_config_status_args= -+ test "$silent" = yes && -+ ac_config_status_args="$ac_config_status_args --quiet" -+ exec 5>/dev/null -+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false -+ exec 5>>config.log -+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which -+ # would make configure fail if this is the last instruction. -+ $ac_cs_success || as_fn_exit 1 -+fi -+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then -+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -+fi -+ -diff -Naur libiconv-20130504/preload/Makefile.devel libiconv-20130504.patch/preload/Makefile.devel -diff -Naur libiconv-20130504/srclib/alloca.in.h libiconv-20130504.patch/srclib/alloca.in.h ---- libiconv-20130504/srclib/alloca.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/alloca.in.h 2013-05-04 10:20:07.541699044 +0200 -@@ -0,0 +1,68 @@ -+/* Memory allocation on the stack. -+ Copyright (C) 1995, 1999, 2001-2007 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* When this file is included, it may be preceded only by preprocessor -+ declarations. Thanks to AIX. Therefore we include it right after -+ "config.h", not later. */ -+ -+/* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H -+ means there is a real alloca function. */ -+#ifndef _GL_ALLOCA_H -+#define _GL_ALLOCA_H -+ -+/* alloca(N) returns a pointer (void* or char*) to N bytes of memory -+ allocated on the stack, and which will last until the function returns. -+ Use of alloca should be avoided: -+ - inside arguments of function calls - undefined behaviour, -+ - in inline functions - the allocation may actually last until the -+ calling function returns, -+ - for huge N (say, N >= 65536) - you never know how large (or small) -+ the stack is, and when the stack cannot fulfill the memory allocation -+ request, the program just crashes. -+ */ -+ -+#ifndef alloca -+# ifdef __GNUC__ -+# define alloca __builtin_alloca -+# else -+# ifdef _MSC_VER -+# include -+# define alloca _alloca -+# else -+# if HAVE_ALLOCA_H -+# include -+# else -+# ifdef _AIX -+ #pragma alloca -+# else -+# ifdef __hpux /* This section must match that of bison generated files. */ -+# ifdef __cplusplus -+extern "C" void *alloca (unsigned int); -+# else /* not __cplusplus */ -+extern void *alloca (); -+# endif /* not __cplusplus */ -+# else /* not __hpux */ -+# ifndef alloca -+extern char *alloca (); -+# endif -+# endif /* __hpux */ -+# endif -+# endif -+# endif -+# endif -+#endif -+ -+#endif /* _GL_ALLOCA_H */ -diff -Naur libiconv-20130504/srclib/allocator.c libiconv-20130504.patch/srclib/allocator.c ---- libiconv-20130504/srclib/allocator.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/allocator.c 2013-05-04 10:20:07.546699029 +0200 -@@ -0,0 +1,5 @@ -+#define _GL_USE_STDLIB_ALLOC 1 -+#include -+#include "allocator.h" -+#include -+struct allocator const stdlib_allocator = { malloc, realloc, free, NULL }; -diff -Naur libiconv-20130504/srclib/allocator.h libiconv-20130504.patch/srclib/allocator.h ---- libiconv-20130504/srclib/allocator.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/allocator.h 2013-05-04 10:20:07.552699011 +0200 -@@ -0,0 +1,58 @@ -+/* Memory allocators such as malloc+free. -+ -+ Copyright (C) 2011-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Paul Eggert. */ -+ -+#ifndef _GL_ALLOCATOR_H -+#define _GL_ALLOCATOR_H -+ -+#include -+ -+/* An object describing a memory allocator family. */ -+ -+struct allocator -+{ -+ /* Do not use GCC attributes such as __attribute__ ((malloc)) with -+ the function types pointed at by these members, because these -+ attributes do not work with pointers to functions. See -+ . */ -+ -+ /* Call ALLOCATE to allocate memory, like 'malloc'. On failure ALLOCATE -+ should return NULL, though not necessarily set errno. When given -+ a zero size it may return NULL even if successful. */ -+ void *(*allocate) (size_t); -+ -+ /* If nonnull, call REALLOCATE to reallocate memory, like 'realloc'. -+ On failure REALLOCATE should return NULL, though not necessarily set -+ errno. When given a zero size it may return NULL even if -+ successful. */ -+ void *(*reallocate) (void *, size_t); -+ -+ /* Call FREE to free memory, like 'free'. */ -+ void (*free) (void *); -+ -+ /* If nonnull, call DIE (SIZE) if MALLOC (SIZE) or REALLOC (..., -+ SIZE) fails. DIE should not return. SIZE should equal SIZE_MAX -+ if size_t overflow was detected while calculating sizes to be -+ passed to MALLOC or REALLOC. */ -+ void (*die) (size_t); -+}; -+ -+/* An allocator using the stdlib functions and a null DIE function. */ -+extern struct allocator const stdlib_allocator; -+ -+#endif /* _GL_ALLOCATOR_H */ -diff -Naur libiconv-20130504/srclib/areadlink.c libiconv-20130504.patch/srclib/areadlink.c ---- libiconv-20130504/srclib/areadlink.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/areadlink.c 2013-05-04 10:20:07.557698997 +0200 -@@ -0,0 +1,56 @@ -+/* areadlink.c -- readlink wrapper to return the link name in malloc'd storage -+ Unlike xreadlink and xreadlink_with_size, don't ever call exit. -+ -+ Copyright (C) 2001, 2003-2007, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Jim Meyering -+ and Bruno Haible . */ -+ -+#include -+ -+/* Specification. */ -+#include "areadlink.h" -+ -+#include "careadlinkat.h" -+ -+#include -+#include -+ -+/* Get the symbolic link value of FILENAME and put it into BUFFER, with -+ size BUFFER_SIZE. This function acts like readlink but has -+ readlinkat's signature. */ -+static ssize_t -+careadlinkatcwd (int fd, char const *filename, char *buffer, -+ size_t buffer_size) -+{ -+ /* FD must be AT_FDCWD here, otherwise the caller is using this -+ function in contexts it was not meant for. */ -+ if (fd != AT_FDCWD) -+ abort (); -+ return readlink (filename, buffer, buffer_size); -+} -+ -+/* Call readlink to get the symbolic link value of FILENAME. -+ Return a pointer to that NUL-terminated string in malloc'd storage. -+ If readlink fails, return NULL and set errno. -+ If allocation fails, or if the link value is longer than SIZE_MAX :-), -+ return NULL and set errno to ENOMEM. */ -+ -+char * -+areadlink (char const *filename) -+{ -+ return careadlinkat (AT_FDCWD, filename, NULL, 0, NULL, careadlinkatcwd); -+} -diff -Naur libiconv-20130504/srclib/areadlink.h libiconv-20130504.patch/srclib/areadlink.h ---- libiconv-20130504/srclib/areadlink.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/areadlink.h 2013-05-04 10:20:07.560698988 +0200 -@@ -0,0 +1,33 @@ -+/* Read symbolic links without size limitation. -+ -+ Copyright (C) 2001, 2003-2004, 2007, 2009-2013 Free Software Foundation, -+ Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Jim Meyering */ -+ -+#include -+ -+extern char *areadlink (char const *filename); -+extern char *areadlink_with_size (char const *filename, size_t size_hint); -+ -+#if GNULIB_AREADLINKAT -+extern char *areadlinkat (int fd, char const *filename); -+#endif -+ -+#if GNULIB_AREADLINKAT_WITH_SIZE -+extern char *areadlinkat_with_size (int fd, char const *filename, -+ size_t size_hint); -+#endif -diff -Naur libiconv-20130504/srclib/binary-io.c libiconv-20130504.patch/srclib/binary-io.c ---- libiconv-20130504/srclib/binary-io.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/binary-io.c 2013-05-04 10:20:07.563698979 +0200 -@@ -0,0 +1,3 @@ -+#include -+#define BINARY_IO_INLINE _GL_EXTERN_INLINE -+#include "binary-io.h" -diff -Naur libiconv-20130504/srclib/binary-io.h libiconv-20130504.patch/srclib/binary-io.h ---- libiconv-20130504/srclib/binary-io.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/binary-io.h 2013-05-04 10:20:07.566698971 +0200 -@@ -0,0 +1,72 @@ -+/* Binary mode I/O. -+ Copyright (C) 2001, 2003, 2005, 2008-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _BINARY_H -+#define _BINARY_H -+ -+/* For systems that distinguish between text and binary I/O. -+ O_BINARY is guaranteed by the gnulib . */ -+#include -+ -+/* The MSVC7 doesn't like to be included after '#define fileno ...', -+ so we include it here first. */ -+#include -+ -+_GL_INLINE_HEADER_BEGIN -+#ifndef BINARY_IO_INLINE -+# define BINARY_IO_INLINE _GL_INLINE -+#endif -+ -+/* set_binary_mode (fd, mode) -+ sets the binary/text I/O mode of file descriptor fd to the given mode -+ (must be O_BINARY or O_TEXT) and returns the previous mode. */ -+#if O_BINARY -+# if defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__ -+# include /* declares setmode() */ -+# define set_binary_mode setmode -+# else -+# define set_binary_mode _setmode -+# undef fileno -+# define fileno _fileno -+# endif -+#else -+ /* On reasonable systems, binary I/O is the only choice. */ -+ /* Use a function rather than a macro, to avoid gcc warnings -+ "warning: statement with no effect". */ -+BINARY_IO_INLINE int -+set_binary_mode (int fd, int mode) -+{ -+ (void) fd; -+ (void) mode; -+ return O_BINARY; -+} -+#endif -+ -+/* SET_BINARY (fd); -+ changes the file descriptor fd to perform binary I/O. */ -+#ifdef __DJGPP__ -+# include /* declares isatty() */ -+ /* Avoid putting stdin/stdout in binary mode if it is connected to -+ the console, because that would make it impossible for the user -+ to interrupt the program through Ctrl-C or Ctrl-Break. */ -+# define SET_BINARY(fd) ((void) (!isatty (fd) ? (set_binary_mode (fd, O_BINARY), 0) : 0)) -+#else -+# define SET_BINARY(fd) ((void) set_binary_mode (fd, O_BINARY)) -+#endif -+ -+_GL_INLINE_HEADER_END -+ -+#endif /* _BINARY_H */ -diff -Naur libiconv-20130504/srclib/canonicalize-lgpl.c libiconv-20130504.patch/srclib/canonicalize-lgpl.c ---- libiconv-20130504/srclib/canonicalize-lgpl.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/canonicalize-lgpl.c 2013-05-04 10:20:07.582698923 +0200 -@@ -0,0 +1,411 @@ -+/* Return the canonical absolute name of a given file. -+ Copyright (C) 1996-2013 Free Software Foundation, Inc. -+ This file is part of the GNU C Library. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _LIBC -+/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc -+ optimizes away the name == NULL test below. */ -+# define _GL_ARG_NONNULL(params) -+ -+# define _GL_USE_STDLIB_ALLOC 1 -+# include -+#endif -+ -+#if !HAVE_CANONICALIZE_FILE_NAME || !FUNC_REALPATH_WORKS || defined _LIBC -+ -+/* Specification. */ -+#include -+ -+#include -+#include -+#include -+#include -+#if HAVE_SYS_PARAM_H || defined _LIBC -+# include -+#endif -+#include -+#include -+#include -+ -+#ifdef _LIBC -+# include -+#else -+# define SHLIB_COMPAT(lib, introduced, obsoleted) 0 -+# define versioned_symbol(lib, local, symbol, version) extern int dummy -+# define compat_symbol(lib, local, symbol, version) -+# define weak_alias(local, symbol) -+# define __canonicalize_file_name canonicalize_file_name -+# define __realpath realpath -+# include "pathmax.h" -+# include "malloca.h" -+# include "dosname.h" -+# if HAVE_GETCWD -+# if IN_RELOCWRAPPER -+ /* When building the relocatable program wrapper, use the system's getcwd -+ function, not the gnulib override, otherwise we would get a link error. -+ */ -+# undef getcwd -+# endif -+# ifdef VMS -+ /* We want the directory in Unix syntax, not in VMS syntax. */ -+# define __getcwd(buf, max) getcwd (buf, max, 0) -+# else -+# define __getcwd getcwd -+# endif -+# else -+# define __getcwd(buf, max) getwd (buf) -+# endif -+# define __readlink readlink -+# define __set_errno(e) errno = (e) -+# ifndef MAXSYMLINKS -+# ifdef SYMLOOP_MAX -+# define MAXSYMLINKS SYMLOOP_MAX -+# else -+# define MAXSYMLINKS 20 -+# endif -+# endif -+#endif -+ -+#ifndef DOUBLE_SLASH_IS_DISTINCT_ROOT -+# define DOUBLE_SLASH_IS_DISTINCT_ROOT 0 -+#endif -+ -+#if !FUNC_REALPATH_WORKS || defined _LIBC -+/* Return the canonical absolute name of file NAME. A canonical name -+ does not contain any ".", ".." components nor any repeated path -+ separators ('/') or symlinks. All path components must exist. If -+ RESOLVED is null, the result is malloc'd; otherwise, if the -+ canonical name is PATH_MAX chars or more, returns null with 'errno' -+ set to ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars, -+ returns the name in RESOLVED. If the name cannot be resolved and -+ RESOLVED is non-NULL, it contains the path of the first component -+ that cannot be resolved. If the path can be resolved, RESOLVED -+ holds the same value as the value returned. */ -+ -+char * -+__realpath (const char *name, char *resolved) -+{ -+ char *rpath, *dest, *extra_buf = NULL; -+ const char *start, *end, *rpath_limit; -+ long int path_max; -+ int num_links = 0; -+ size_t prefix_len; -+ -+ if (name == NULL) -+ { -+ /* As per Single Unix Specification V2 we must return an error if -+ either parameter is a null pointer. We extend this to allow -+ the RESOLVED parameter to be NULL in case the we are expected to -+ allocate the room for the return value. */ -+ __set_errno (EINVAL); -+ return NULL; -+ } -+ -+ if (name[0] == '\0') -+ { -+ /* As per Single Unix Specification V2 we must return an error if -+ the name argument points to an empty string. */ -+ __set_errno (ENOENT); -+ return NULL; -+ } -+ -+#ifdef PATH_MAX -+ path_max = PATH_MAX; -+#else -+ path_max = pathconf (name, _PC_PATH_MAX); -+ if (path_max <= 0) -+ path_max = 8192; -+#endif -+ -+ if (resolved == NULL) -+ { -+ rpath = malloc (path_max); -+ if (rpath == NULL) -+ { -+ /* It's easier to set errno to ENOMEM than to rely on the -+ 'malloc-posix' gnulib module. */ -+ errno = ENOMEM; -+ return NULL; -+ } -+ } -+ else -+ rpath = resolved; -+ rpath_limit = rpath + path_max; -+ -+ /* This is always zero for Posix hosts, but can be 2 for MS-Windows -+ and MS-DOS X:/foo/bar file names. */ -+ prefix_len = FILE_SYSTEM_PREFIX_LEN (name); -+ -+ if (!IS_ABSOLUTE_FILE_NAME (name)) -+ { -+ if (!__getcwd (rpath, path_max)) -+ { -+ rpath[0] = '\0'; -+ goto error; -+ } -+ dest = strchr (rpath, '\0'); -+ start = name; -+ prefix_len = FILE_SYSTEM_PREFIX_LEN (rpath); -+ } -+ else -+ { -+ dest = rpath; -+ if (prefix_len) -+ { -+ memcpy (rpath, name, prefix_len); -+ dest += prefix_len; -+ } -+ *dest++ = '/'; -+ if (DOUBLE_SLASH_IS_DISTINCT_ROOT) -+ { -+ if (ISSLASH (name[1]) && !ISSLASH (name[2]) && !prefix_len) -+ *dest++ = '/'; -+ *dest = '\0'; -+ } -+ start = name + prefix_len; -+ } -+ -+ for (end = start; *start; start = end) -+ { -+#ifdef _LIBC -+ struct stat64 st; -+#else -+ struct stat st; -+#endif -+ int n; -+ -+ /* Skip sequence of multiple path-separators. */ -+ while (ISSLASH (*start)) -+ ++start; -+ -+ /* Find end of path component. */ -+ for (end = start; *end && !ISSLASH (*end); ++end) -+ /* Nothing. */; -+ -+ if (end - start == 0) -+ break; -+ else if (end - start == 1 && start[0] == '.') -+ /* nothing */; -+ else if (end - start == 2 && start[0] == '.' && start[1] == '.') -+ { -+ /* Back up to previous component, ignore if at root already. */ -+ if (dest > rpath + prefix_len + 1) -+ for (--dest; dest > rpath && !ISSLASH (dest[-1]); --dest) -+ continue; -+ if (DOUBLE_SLASH_IS_DISTINCT_ROOT -+ && dest == rpath + 1 && !prefix_len -+ && ISSLASH (*dest) && !ISSLASH (dest[1])) -+ dest++; -+ } -+ else -+ { -+ size_t new_size; -+ -+ if (!ISSLASH (dest[-1])) -+ *dest++ = '/'; -+ -+ if (dest + (end - start) >= rpath_limit) -+ { -+ ptrdiff_t dest_offset = dest - rpath; -+ char *new_rpath; -+ -+ if (resolved) -+ { -+ __set_errno (ENAMETOOLONG); -+ if (dest > rpath + prefix_len + 1) -+ dest--; -+ *dest = '\0'; -+ goto error; -+ } -+ new_size = rpath_limit - rpath; -+ if (end - start + 1 > path_max) -+ new_size += end - start + 1; -+ else -+ new_size += path_max; -+ new_rpath = (char *) realloc (rpath, new_size); -+ if (new_rpath == NULL) -+ { -+ /* It's easier to set errno to ENOMEM than to rely on the -+ 'realloc-posix' gnulib module. */ -+ errno = ENOMEM; -+ goto error; -+ } -+ rpath = new_rpath; -+ rpath_limit = rpath + new_size; -+ -+ dest = rpath + dest_offset; -+ } -+ -+#ifdef _LIBC -+ dest = __mempcpy (dest, start, end - start); -+#else -+ memcpy (dest, start, end - start); -+ dest += end - start; -+#endif -+ *dest = '\0'; -+ -+#ifdef _LIBC -+ if (__lxstat64 (_STAT_VER, rpath, &st) < 0) -+#else -+ if (lstat (rpath, &st) < 0) -+#endif -+ goto error; -+ -+ if (S_ISLNK (st.st_mode)) -+ { -+ char *buf; -+ size_t len; -+ -+ if (++num_links > MAXSYMLINKS) -+ { -+ __set_errno (ELOOP); -+ goto error; -+ } -+ -+ buf = malloca (path_max); -+ if (!buf) -+ { -+ errno = ENOMEM; -+ goto error; -+ } -+ -+ n = __readlink (rpath, buf, path_max - 1); -+ if (n < 0) -+ { -+ int saved_errno = errno; -+ freea (buf); -+ errno = saved_errno; -+ goto error; -+ } -+ buf[n] = '\0'; -+ -+ if (!extra_buf) -+ { -+ extra_buf = malloca (path_max); -+ if (!extra_buf) -+ { -+ freea (buf); -+ errno = ENOMEM; -+ goto error; -+ } -+ } -+ -+ len = strlen (end); -+ if ((long int) (n + len) >= path_max) -+ { -+ freea (buf); -+ __set_errno (ENAMETOOLONG); -+ goto error; -+ } -+ -+ /* Careful here, end may be a pointer into extra_buf... */ -+ memmove (&extra_buf[n], end, len + 1); -+ name = end = memcpy (extra_buf, buf, n); -+ -+ if (IS_ABSOLUTE_FILE_NAME (buf)) -+ { -+ size_t pfxlen = FILE_SYSTEM_PREFIX_LEN (buf); -+ -+ if (pfxlen) -+ memcpy (rpath, buf, pfxlen); -+ dest = rpath + pfxlen; -+ *dest++ = '/'; /* It's an absolute symlink */ -+ if (DOUBLE_SLASH_IS_DISTINCT_ROOT) -+ { -+ if (ISSLASH (buf[1]) && !ISSLASH (buf[2]) && !pfxlen) -+ *dest++ = '/'; -+ *dest = '\0'; -+ } -+ /* Install the new prefix to be in effect hereafter. */ -+ prefix_len = pfxlen; -+ } -+ else -+ { -+ /* Back up to previous component, ignore if at root -+ already: */ -+ if (dest > rpath + prefix_len + 1) -+ for (--dest; dest > rpath && !ISSLASH (dest[-1]); --dest) -+ continue; -+ if (DOUBLE_SLASH_IS_DISTINCT_ROOT && dest == rpath + 1 -+ && ISSLASH (*dest) && !ISSLASH (dest[1]) && !prefix_len) -+ dest++; -+ } -+ } -+ else if (!S_ISDIR (st.st_mode) && *end != '\0') -+ { -+ __set_errno (ENOTDIR); -+ goto error; -+ } -+ } -+ } -+ if (dest > rpath + prefix_len + 1 && ISSLASH (dest[-1])) -+ --dest; -+ if (DOUBLE_SLASH_IS_DISTINCT_ROOT && dest == rpath + 1 && !prefix_len -+ && ISSLASH (*dest) && !ISSLASH (dest[1])) -+ dest++; -+ *dest = '\0'; -+ -+ if (extra_buf) -+ freea (extra_buf); -+ -+ return rpath; -+ -+error: -+ { -+ int saved_errno = errno; -+ if (extra_buf) -+ freea (extra_buf); -+ if (resolved == NULL) -+ free (rpath); -+ errno = saved_errno; -+ } -+ return NULL; -+} -+versioned_symbol (libc, __realpath, realpath, GLIBC_2_3); -+#endif /* !FUNC_REALPATH_WORKS || defined _LIBC */ -+ -+ -+#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_3) -+char * -+attribute_compat_text_section -+__old_realpath (const char *name, char *resolved) -+{ -+ if (resolved == NULL) -+ { -+ __set_errno (EINVAL); -+ return NULL; -+ } -+ -+ return __realpath (name, resolved); -+} -+compat_symbol (libc, __old_realpath, realpath, GLIBC_2_0); -+#endif -+ -+ -+char * -+__canonicalize_file_name (const char *name) -+{ -+ return __realpath (name, NULL); -+} -+weak_alias (__canonicalize_file_name, canonicalize_file_name) -+ -+#else -+ -+/* This declaration is solely to ensure that after preprocessing -+ this file is never empty. */ -+typedef int dummy; -+ -+#endif -diff -Naur libiconv-20130504/srclib/careadlinkat.c libiconv-20130504.patch/srclib/careadlinkat.c ---- libiconv-20130504/srclib/careadlinkat.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/careadlinkat.c 2013-05-04 10:20:07.588698906 +0200 -@@ -0,0 +1,160 @@ -+/* Read symbolic links into a buffer without size limitation, relative to fd. -+ -+ Copyright (C) 2001, 2003-2004, 2007, 2009-2013 Free Software Foundation, -+ Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ -+ -+#include -+ -+#include "careadlinkat.h" -+ -+#include -+#include -+#include -+#include -+ -+/* Define this independently so that stdint.h is not a prerequisite. */ -+#ifndef SIZE_MAX -+# define SIZE_MAX ((size_t) -1) -+#endif -+ -+#ifndef SSIZE_MAX -+# define SSIZE_MAX ((ssize_t) (SIZE_MAX / 2)) -+#endif -+ -+#include "allocator.h" -+ -+/* Assuming the current directory is FD, get the symbolic link value -+ of FILENAME as a null-terminated string and put it into a buffer. -+ If FD is AT_FDCWD, FILENAME is interpreted relative to the current -+ working directory, as in openat. -+ -+ If the link is small enough to fit into BUFFER put it there. -+ BUFFER's size is BUFFER_SIZE, and BUFFER can be null -+ if BUFFER_SIZE is zero. -+ -+ If the link is not small, put it into a dynamically allocated -+ buffer managed by ALLOC. It is the caller's responsibility to free -+ the returned value if it is nonnull and is not BUFFER. A null -+ ALLOC stands for the standard allocator. -+ -+ The PREADLINKAT function specifies how to read links. It operates -+ like POSIX readlinkat() -+ -+ but can assume that its first argument is the same as FD. -+ -+ If successful, return the buffer address; otherwise return NULL and -+ set errno. */ -+ -+char * -+careadlinkat (int fd, char const *filename, -+ char *buffer, size_t buffer_size, -+ struct allocator const *alloc, -+ ssize_t (*preadlinkat) (int, char const *, char *, size_t)) -+{ -+ char *buf; -+ size_t buf_size; -+ size_t buf_size_max = -+ SSIZE_MAX < SIZE_MAX ? (size_t) SSIZE_MAX + 1 : SIZE_MAX; -+ char stack_buf[1024]; -+ -+ if (! alloc) -+ alloc = &stdlib_allocator; -+ -+ if (! buffer_size) -+ { -+ /* Allocate the initial buffer on the stack. This way, in the -+ common case of a symlink of small size, we get away with a -+ single small malloc() instead of a big malloc() followed by a -+ shrinking realloc(). */ -+ buffer = stack_buf; -+ buffer_size = sizeof stack_buf; -+ } -+ -+ buf = buffer; -+ buf_size = buffer_size; -+ -+ do -+ { -+ /* Attempt to read the link into the current buffer. */ -+ ssize_t link_length = preadlinkat (fd, filename, buf, buf_size); -+ size_t link_size; -+ if (link_length < 0) -+ { -+ /* On AIX 5L v5.3 and HP-UX 11i v2 04/09, readlink returns -1 -+ with errno == ERANGE if the buffer is too small. */ -+ int readlinkat_errno = errno; -+ if (readlinkat_errno != ERANGE) -+ { -+ if (buf != buffer) -+ { -+ alloc->free (buf); -+ errno = readlinkat_errno; -+ } -+ return NULL; -+ } -+ } -+ -+ link_size = link_length; -+ -+ if (link_size < buf_size) -+ { -+ buf[link_size++] = '\0'; -+ -+ if (buf == stack_buf) -+ { -+ char *b = (char *) alloc->allocate (link_size); -+ buf_size = link_size; -+ if (! b) -+ break; -+ memcpy (b, buf, link_size); -+ buf = b; -+ } -+ else if (link_size < buf_size && buf != buffer && alloc->reallocate) -+ { -+ /* Shrink BUF before returning it. */ -+ char *b = (char *) alloc->reallocate (buf, link_size); -+ if (b) -+ buf = b; -+ } -+ -+ return buf; -+ } -+ -+ if (buf != buffer) -+ alloc->free (buf); -+ -+ if (buf_size <= buf_size_max / 2) -+ buf_size *= 2; -+ else if (buf_size < buf_size_max) -+ buf_size = buf_size_max; -+ else if (buf_size_max < SIZE_MAX) -+ { -+ errno = ENAMETOOLONG; -+ return NULL; -+ } -+ else -+ break; -+ buf = (char *) alloc->allocate (buf_size); -+ } -+ while (buf); -+ -+ if (alloc->die) -+ alloc->die (buf_size); -+ errno = ENOMEM; -+ return NULL; -+} -diff -Naur libiconv-20130504/srclib/careadlinkat.h libiconv-20130504.patch/srclib/careadlinkat.h ---- libiconv-20130504/srclib/careadlinkat.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/careadlinkat.h 2013-05-04 10:20:07.592698894 +0200 -@@ -0,0 +1,67 @@ -+/* Read symbolic links into a buffer without size limitation, relative to fd. -+ -+ Copyright (C) 2011-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ -+ -+#ifndef _GL_CAREADLINKAT_H -+#define _GL_CAREADLINKAT_H -+ -+#include -+#include -+ -+struct allocator; -+ -+/* Assuming the current directory is FD, get the symbolic link value -+ of FILENAME as a null-terminated string and put it into a buffer. -+ If FD is AT_FDCWD, FILENAME is interpreted relative to the current -+ working directory, as in openat. -+ -+ If the link is small enough to fit into BUFFER put it there. -+ BUFFER's size is BUFFER_SIZE, and BUFFER can be null -+ if BUFFER_SIZE is zero. -+ -+ If the link is not small, put it into a dynamically allocated -+ buffer managed by ALLOC. It is the caller's responsibility to free -+ the returned value if it is nonnull and is not BUFFER. -+ -+ The PREADLINKAT function specifies how to read links. It operates -+ like POSIX readlinkat() -+ -+ but can assume that its first argument is the same as FD. -+ -+ If successful, return the buffer address; otherwise return NULL and -+ set errno. */ -+ -+char *careadlinkat (int fd, char const *filename, -+ char *buffer, size_t buffer_size, -+ struct allocator const *alloc, -+ ssize_t (*preadlinkat) (int, char const *, -+ char *, size_t)); -+ -+/* Suitable value for careadlinkat's FD argument. */ -+#if HAVE_READLINKAT -+/* AT_FDCWD is declared in . */ -+#else -+/* Define AT_FDCWD independently, so that the careadlinkat module does -+ not depend on the fcntl-h module. We might as well use the same value -+ as fcntl-h. */ -+# ifndef AT_FDCWD -+# define AT_FDCWD (-3041965) -+# endif -+#endif -+ -+#endif /* _GL_CAREADLINKAT_H */ -diff -Naur libiconv-20130504/srclib/c-ctype.c libiconv-20130504.patch/srclib/c-ctype.c ---- libiconv-20130504/srclib/c-ctype.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/c-ctype.c 2013-05-04 10:20:07.571698956 +0200 -@@ -0,0 +1,395 @@ -+/* Character handling in C locale. -+ -+ Copyright 2000-2003, 2006, 2009-2013 Free Software Foundation, Inc. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 3 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, see . */ -+ -+#include -+ -+/* Specification. */ -+#define NO_C_CTYPE_MACROS -+#include "c-ctype.h" -+ -+/* The function isascii is not locale dependent. Its use in EBCDIC is -+ questionable. */ -+bool -+c_isascii (int c) -+{ -+ return (c >= 0x00 && c <= 0x7f); -+} -+ -+bool -+c_isalnum (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_DIGITS \ -+ && C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+#if C_CTYPE_ASCII -+ return ((c >= '0' && c <= '9') -+ || ((c & ~0x20) >= 'A' && (c & ~0x20) <= 'Z')); -+#else -+ return ((c >= '0' && c <= '9') -+ || (c >= 'A' && c <= 'Z') -+ || (c >= 'a' && c <= 'z')); -+#endif -+#else -+ switch (c) -+ { -+ case '0': case '1': case '2': case '3': case '4': case '5': -+ case '6': case '7': case '8': case '9': -+ case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': -+ case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': -+ case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': -+ case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': -+ case 'Y': case 'Z': -+ case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': -+ case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': -+ case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': -+ case 's': case 't': case 'u': case 'v': case 'w': case 'x': -+ case 'y': case 'z': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_isalpha (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+#if C_CTYPE_ASCII -+ return ((c & ~0x20) >= 'A' && (c & ~0x20) <= 'Z'); -+#else -+ return ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z')); -+#endif -+#else -+ switch (c) -+ { -+ case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': -+ case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': -+ case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': -+ case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': -+ case 'Y': case 'Z': -+ case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': -+ case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': -+ case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': -+ case 's': case 't': case 'u': case 'v': case 'w': case 'x': -+ case 'y': case 'z': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_isblank (int c) -+{ -+ return (c == ' ' || c == '\t'); -+} -+ -+bool -+c_iscntrl (int c) -+{ -+#if C_CTYPE_ASCII -+ return ((c & ~0x1f) == 0 || c == 0x7f); -+#else -+ switch (c) -+ { -+ case ' ': case '!': case '"': case '#': case '$': case '%': -+ case '&': case '\'': case '(': case ')': case '*': case '+': -+ case ',': case '-': case '.': case '/': -+ case '0': case '1': case '2': case '3': case '4': case '5': -+ case '6': case '7': case '8': case '9': -+ case ':': case ';': case '<': case '=': case '>': case '?': -+ case '@': -+ case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': -+ case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': -+ case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': -+ case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': -+ case 'Y': case 'Z': -+ case '[': case '\\': case ']': case '^': case '_': case '`': -+ case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': -+ case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': -+ case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': -+ case 's': case 't': case 'u': case 'v': case 'w': case 'x': -+ case 'y': case 'z': -+ case '{': case '|': case '}': case '~': -+ return 0; -+ default: -+ return 1; -+ } -+#endif -+} -+ -+bool -+c_isdigit (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_DIGITS -+ return (c >= '0' && c <= '9'); -+#else -+ switch (c) -+ { -+ case '0': case '1': case '2': case '3': case '4': case '5': -+ case '6': case '7': case '8': case '9': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_islower (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_LOWERCASE -+ return (c >= 'a' && c <= 'z'); -+#else -+ switch (c) -+ { -+ case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': -+ case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': -+ case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': -+ case 's': case 't': case 'u': case 'v': case 'w': case 'x': -+ case 'y': case 'z': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_isgraph (int c) -+{ -+#if C_CTYPE_ASCII -+ return (c >= '!' && c <= '~'); -+#else -+ switch (c) -+ { -+ case '!': case '"': case '#': case '$': case '%': case '&': -+ case '\'': case '(': case ')': case '*': case '+': case ',': -+ case '-': case '.': case '/': -+ case '0': case '1': case '2': case '3': case '4': case '5': -+ case '6': case '7': case '8': case '9': -+ case ':': case ';': case '<': case '=': case '>': case '?': -+ case '@': -+ case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': -+ case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': -+ case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': -+ case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': -+ case 'Y': case 'Z': -+ case '[': case '\\': case ']': case '^': case '_': case '`': -+ case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': -+ case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': -+ case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': -+ case 's': case 't': case 'u': case 'v': case 'w': case 'x': -+ case 'y': case 'z': -+ case '{': case '|': case '}': case '~': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_isprint (int c) -+{ -+#if C_CTYPE_ASCII -+ return (c >= ' ' && c <= '~'); -+#else -+ switch (c) -+ { -+ case ' ': case '!': case '"': case '#': case '$': case '%': -+ case '&': case '\'': case '(': case ')': case '*': case '+': -+ case ',': case '-': case '.': case '/': -+ case '0': case '1': case '2': case '3': case '4': case '5': -+ case '6': case '7': case '8': case '9': -+ case ':': case ';': case '<': case '=': case '>': case '?': -+ case '@': -+ case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': -+ case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': -+ case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': -+ case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': -+ case 'Y': case 'Z': -+ case '[': case '\\': case ']': case '^': case '_': case '`': -+ case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': -+ case 'g': case 'h': case 'i': case 'j': case 'k': case 'l': -+ case 'm': case 'n': case 'o': case 'p': case 'q': case 'r': -+ case 's': case 't': case 'u': case 'v': case 'w': case 'x': -+ case 'y': case 'z': -+ case '{': case '|': case '}': case '~': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_ispunct (int c) -+{ -+#if C_CTYPE_ASCII -+ return ((c >= '!' && c <= '~') -+ && !((c >= '0' && c <= '9') -+ || ((c & ~0x20) >= 'A' && (c & ~0x20) <= 'Z'))); -+#else -+ switch (c) -+ { -+ case '!': case '"': case '#': case '$': case '%': case '&': -+ case '\'': case '(': case ')': case '*': case '+': case ',': -+ case '-': case '.': case '/': -+ case ':': case ';': case '<': case '=': case '>': case '?': -+ case '@': -+ case '[': case '\\': case ']': case '^': case '_': case '`': -+ case '{': case '|': case '}': case '~': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_isspace (int c) -+{ -+ return (c == ' ' || c == '\t' -+ || c == '\n' || c == '\v' || c == '\f' || c == '\r'); -+} -+ -+bool -+c_isupper (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_UPPERCASE -+ return (c >= 'A' && c <= 'Z'); -+#else -+ switch (c) -+ { -+ case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': -+ case 'G': case 'H': case 'I': case 'J': case 'K': case 'L': -+ case 'M': case 'N': case 'O': case 'P': case 'Q': case 'R': -+ case 'S': case 'T': case 'U': case 'V': case 'W': case 'X': -+ case 'Y': case 'Z': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+bool -+c_isxdigit (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_DIGITS \ -+ && C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+#if C_CTYPE_ASCII -+ return ((c >= '0' && c <= '9') -+ || ((c & ~0x20) >= 'A' && (c & ~0x20) <= 'F')); -+#else -+ return ((c >= '0' && c <= '9') -+ || (c >= 'A' && c <= 'F') -+ || (c >= 'a' && c <= 'f')); -+#endif -+#else -+ switch (c) -+ { -+ case '0': case '1': case '2': case '3': case '4': case '5': -+ case '6': case '7': case '8': case '9': -+ case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': -+ case 'a': case 'b': case 'c': case 'd': case 'e': case 'f': -+ return 1; -+ default: -+ return 0; -+ } -+#endif -+} -+ -+int -+c_tolower (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+ return (c >= 'A' && c <= 'Z' ? c - 'A' + 'a' : c); -+#else -+ switch (c) -+ { -+ case 'A': return 'a'; -+ case 'B': return 'b'; -+ case 'C': return 'c'; -+ case 'D': return 'd'; -+ case 'E': return 'e'; -+ case 'F': return 'f'; -+ case 'G': return 'g'; -+ case 'H': return 'h'; -+ case 'I': return 'i'; -+ case 'J': return 'j'; -+ case 'K': return 'k'; -+ case 'L': return 'l'; -+ case 'M': return 'm'; -+ case 'N': return 'n'; -+ case 'O': return 'o'; -+ case 'P': return 'p'; -+ case 'Q': return 'q'; -+ case 'R': return 'r'; -+ case 'S': return 's'; -+ case 'T': return 't'; -+ case 'U': return 'u'; -+ case 'V': return 'v'; -+ case 'W': return 'w'; -+ case 'X': return 'x'; -+ case 'Y': return 'y'; -+ case 'Z': return 'z'; -+ default: return c; -+ } -+#endif -+} -+ -+int -+c_toupper (int c) -+{ -+#if C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+ return (c >= 'a' && c <= 'z' ? c - 'a' + 'A' : c); -+#else -+ switch (c) -+ { -+ case 'a': return 'A'; -+ case 'b': return 'B'; -+ case 'c': return 'C'; -+ case 'd': return 'D'; -+ case 'e': return 'E'; -+ case 'f': return 'F'; -+ case 'g': return 'G'; -+ case 'h': return 'H'; -+ case 'i': return 'I'; -+ case 'j': return 'J'; -+ case 'k': return 'K'; -+ case 'l': return 'L'; -+ case 'm': return 'M'; -+ case 'n': return 'N'; -+ case 'o': return 'O'; -+ case 'p': return 'P'; -+ case 'q': return 'Q'; -+ case 'r': return 'R'; -+ case 's': return 'S'; -+ case 't': return 'T'; -+ case 'u': return 'U'; -+ case 'v': return 'V'; -+ case 'w': return 'W'; -+ case 'x': return 'X'; -+ case 'y': return 'Y'; -+ case 'z': return 'Z'; -+ default: return c; -+ } -+#endif -+} -diff -Naur libiconv-20130504/srclib/c-ctype.h libiconv-20130504.patch/srclib/c-ctype.h ---- libiconv-20130504/srclib/c-ctype.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/c-ctype.h 2013-05-04 10:20:07.577698938 +0200 -@@ -0,0 +1,294 @@ -+/* Character handling in C locale. -+ -+ These functions work like the corresponding functions in , -+ except that they have the C (POSIX) locale hardwired, whereas the -+ functions' behaviour depends on the current locale set via -+ setlocale. -+ -+ Copyright (C) 2000-2003, 2006, 2008-2013 Free Software Foundation, Inc. -+ -+This program is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 3 of the License, or -+(at your option) any later version. -+ -+This program is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. -+ -+You should have received a copy of the GNU General Public License -+along with this program; if not, see . */ -+ -+#ifndef C_CTYPE_H -+#define C_CTYPE_H -+ -+#include -+ -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* The functions defined in this file assume the "C" locale and a character -+ set without diacritics (ASCII-US or EBCDIC-US or something like that). -+ Even if the "C" locale on a particular system is an extension of the ASCII -+ character set (like on BeOS, where it is UTF-8, or on AmigaOS, where it -+ is ISO-8859-1), the functions in this file recognize only the ASCII -+ characters. */ -+ -+ -+/* Check whether the ASCII optimizations apply. */ -+ -+/* ANSI C89 (and ISO C99 5.2.1.3 too) already guarantees that -+ '0', '1', ..., '9' have consecutive integer values. */ -+#define C_CTYPE_CONSECUTIVE_DIGITS 1 -+ -+#if ('A' <= 'Z') \ -+ && ('A' + 1 == 'B') && ('B' + 1 == 'C') && ('C' + 1 == 'D') \ -+ && ('D' + 1 == 'E') && ('E' + 1 == 'F') && ('F' + 1 == 'G') \ -+ && ('G' + 1 == 'H') && ('H' + 1 == 'I') && ('I' + 1 == 'J') \ -+ && ('J' + 1 == 'K') && ('K' + 1 == 'L') && ('L' + 1 == 'M') \ -+ && ('M' + 1 == 'N') && ('N' + 1 == 'O') && ('O' + 1 == 'P') \ -+ && ('P' + 1 == 'Q') && ('Q' + 1 == 'R') && ('R' + 1 == 'S') \ -+ && ('S' + 1 == 'T') && ('T' + 1 == 'U') && ('U' + 1 == 'V') \ -+ && ('V' + 1 == 'W') && ('W' + 1 == 'X') && ('X' + 1 == 'Y') \ -+ && ('Y' + 1 == 'Z') -+#define C_CTYPE_CONSECUTIVE_UPPERCASE 1 -+#endif -+ -+#if ('a' <= 'z') \ -+ && ('a' + 1 == 'b') && ('b' + 1 == 'c') && ('c' + 1 == 'd') \ -+ && ('d' + 1 == 'e') && ('e' + 1 == 'f') && ('f' + 1 == 'g') \ -+ && ('g' + 1 == 'h') && ('h' + 1 == 'i') && ('i' + 1 == 'j') \ -+ && ('j' + 1 == 'k') && ('k' + 1 == 'l') && ('l' + 1 == 'm') \ -+ && ('m' + 1 == 'n') && ('n' + 1 == 'o') && ('o' + 1 == 'p') \ -+ && ('p' + 1 == 'q') && ('q' + 1 == 'r') && ('r' + 1 == 's') \ -+ && ('s' + 1 == 't') && ('t' + 1 == 'u') && ('u' + 1 == 'v') \ -+ && ('v' + 1 == 'w') && ('w' + 1 == 'x') && ('x' + 1 == 'y') \ -+ && ('y' + 1 == 'z') -+#define C_CTYPE_CONSECUTIVE_LOWERCASE 1 -+#endif -+ -+#if (' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ -+ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ -+ && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \ -+ && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \ -+ && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \ -+ && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \ -+ && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \ -+ && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \ -+ && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \ -+ && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \ -+ && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \ -+ && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \ -+ && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \ -+ && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \ -+ && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \ -+ && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \ -+ && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \ -+ && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \ -+ && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \ -+ && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \ -+ && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \ -+ && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \ -+ && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126) -+/* The character set is ASCII or one of its variants or extensions, not EBCDIC. -+ Testing the value of '\n' and '\r' is not relevant. */ -+#define C_CTYPE_ASCII 1 -+#endif -+ -+ -+/* Function declarations. */ -+ -+/* Unlike the functions in , which require an argument in the range -+ of the 'unsigned char' type, the functions here operate on values that are -+ in the 'unsigned char' range or in the 'char' range. In other words, -+ when you have a 'char' value, you need to cast it before using it as -+ argument to a function: -+ -+ const char *s = ...; -+ if (isalpha ((unsigned char) *s)) ... -+ -+ but you don't need to cast it for the functions defined in this file: -+ -+ const char *s = ...; -+ if (c_isalpha (*s)) ... -+ */ -+ -+extern bool c_isascii (int c) _GL_ATTRIBUTE_CONST; /* not locale dependent */ -+ -+extern bool c_isalnum (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isalpha (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isblank (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_iscntrl (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isdigit (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_islower (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isgraph (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isprint (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_ispunct (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isspace (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isupper (int c) _GL_ATTRIBUTE_CONST; -+extern bool c_isxdigit (int c) _GL_ATTRIBUTE_CONST; -+ -+extern int c_tolower (int c) _GL_ATTRIBUTE_CONST; -+extern int c_toupper (int c) _GL_ATTRIBUTE_CONST; -+ -+ -+#if defined __GNUC__ && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ && !defined NO_C_CTYPE_MACROS -+ -+/* ASCII optimizations. */ -+ -+#undef c_isascii -+#define c_isascii(c) \ -+ ({ int __c = (c); \ -+ (__c >= 0x00 && __c <= 0x7f); \ -+ }) -+ -+#if C_CTYPE_CONSECUTIVE_DIGITS \ -+ && C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+#if C_CTYPE_ASCII -+#undef c_isalnum -+#define c_isalnum(c) \ -+ ({ int __c = (c); \ -+ ((__c >= '0' && __c <= '9') \ -+ || ((__c & ~0x20) >= 'A' && (__c & ~0x20) <= 'Z')); \ -+ }) -+#else -+#undef c_isalnum -+#define c_isalnum(c) \ -+ ({ int __c = (c); \ -+ ((__c >= '0' && __c <= '9') \ -+ || (__c >= 'A' && __c <= 'Z') \ -+ || (__c >= 'a' && __c <= 'z')); \ -+ }) -+#endif -+#endif -+ -+#if C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+#if C_CTYPE_ASCII -+#undef c_isalpha -+#define c_isalpha(c) \ -+ ({ int __c = (c); \ -+ ((__c & ~0x20) >= 'A' && (__c & ~0x20) <= 'Z'); \ -+ }) -+#else -+#undef c_isalpha -+#define c_isalpha(c) \ -+ ({ int __c = (c); \ -+ ((__c >= 'A' && __c <= 'Z') || (__c >= 'a' && __c <= 'z')); \ -+ }) -+#endif -+#endif -+ -+#undef c_isblank -+#define c_isblank(c) \ -+ ({ int __c = (c); \ -+ (__c == ' ' || __c == '\t'); \ -+ }) -+ -+#if C_CTYPE_ASCII -+#undef c_iscntrl -+#define c_iscntrl(c) \ -+ ({ int __c = (c); \ -+ ((__c & ~0x1f) == 0 || __c == 0x7f); \ -+ }) -+#endif -+ -+#if C_CTYPE_CONSECUTIVE_DIGITS -+#undef c_isdigit -+#define c_isdigit(c) \ -+ ({ int __c = (c); \ -+ (__c >= '0' && __c <= '9'); \ -+ }) -+#endif -+ -+#if C_CTYPE_CONSECUTIVE_LOWERCASE -+#undef c_islower -+#define c_islower(c) \ -+ ({ int __c = (c); \ -+ (__c >= 'a' && __c <= 'z'); \ -+ }) -+#endif -+ -+#if C_CTYPE_ASCII -+#undef c_isgraph -+#define c_isgraph(c) \ -+ ({ int __c = (c); \ -+ (__c >= '!' && __c <= '~'); \ -+ }) -+#endif -+ -+#if C_CTYPE_ASCII -+#undef c_isprint -+#define c_isprint(c) \ -+ ({ int __c = (c); \ -+ (__c >= ' ' && __c <= '~'); \ -+ }) -+#endif -+ -+#if C_CTYPE_ASCII -+#undef c_ispunct -+#define c_ispunct(c) \ -+ ({ int _c = (c); \ -+ (c_isgraph (_c) && ! c_isalnum (_c)); \ -+ }) -+#endif -+ -+#undef c_isspace -+#define c_isspace(c) \ -+ ({ int __c = (c); \ -+ (__c == ' ' || __c == '\t' \ -+ || __c == '\n' || __c == '\v' || __c == '\f' || __c == '\r'); \ -+ }) -+ -+#if C_CTYPE_CONSECUTIVE_UPPERCASE -+#undef c_isupper -+#define c_isupper(c) \ -+ ({ int __c = (c); \ -+ (__c >= 'A' && __c <= 'Z'); \ -+ }) -+#endif -+ -+#if C_CTYPE_CONSECUTIVE_DIGITS \ -+ && C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+#if C_CTYPE_ASCII -+#undef c_isxdigit -+#define c_isxdigit(c) \ -+ ({ int __c = (c); \ -+ ((__c >= '0' && __c <= '9') \ -+ || ((__c & ~0x20) >= 'A' && (__c & ~0x20) <= 'F')); \ -+ }) -+#else -+#undef c_isxdigit -+#define c_isxdigit(c) \ -+ ({ int __c = (c); \ -+ ((__c >= '0' && __c <= '9') \ -+ || (__c >= 'A' && __c <= 'F') \ -+ || (__c >= 'a' && __c <= 'f')); \ -+ }) -+#endif -+#endif -+ -+#if C_CTYPE_CONSECUTIVE_UPPERCASE && C_CTYPE_CONSECUTIVE_LOWERCASE -+#undef c_tolower -+#define c_tolower(c) \ -+ ({ int __c = (c); \ -+ (__c >= 'A' && __c <= 'Z' ? __c - 'A' + 'a' : __c); \ -+ }) -+#undef c_toupper -+#define c_toupper(c) \ -+ ({ int __c = (c); \ -+ (__c >= 'a' && __c <= 'z' ? __c - 'a' + 'A' : __c); \ -+ }) -+#endif -+ -+#endif /* optimizing for speed */ -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+#endif /* C_CTYPE_H */ -diff -Naur libiconv-20130504/srclib/dosname.h libiconv-20130504.patch/srclib/dosname.h ---- libiconv-20130504/srclib/dosname.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/dosname.h 2013-05-04 10:20:07.596698883 +0200 -@@ -0,0 +1,53 @@ -+/* File names on MS-DOS/Windows systems. -+ -+ Copyright (C) 2000-2001, 2004-2006, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . -+ -+ From Paul Eggert and Jim Meyering. */ -+ -+#ifndef _DOSNAME_H -+#define _DOSNAME_H -+ -+#if (defined _WIN32 || defined __WIN32__ || \ -+ defined __MSDOS__ || defined __CYGWIN__ || \ -+ defined __EMX__ || defined __DJGPP__) -+ /* This internal macro assumes ASCII, but all hosts that support drive -+ letters use ASCII. */ -+# define _IS_DRIVE_LETTER(C) (((unsigned int) (C) | ('a' - 'A')) - 'a' \ -+ <= 'z' - 'a') -+# define FILE_SYSTEM_PREFIX_LEN(Filename) \ -+ (_IS_DRIVE_LETTER ((Filename)[0]) && (Filename)[1] == ':' ? 2 : 0) -+# ifndef __CYGWIN__ -+# define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 1 -+# endif -+# define ISSLASH(C) ((C) == '/' || (C) == '\\') -+#else -+# define FILE_SYSTEM_PREFIX_LEN(Filename) 0 -+# define ISSLASH(C) ((C) == '/') -+#endif -+ -+#ifndef FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE -+# define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0 -+#endif -+ -+#if FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE -+# define IS_ABSOLUTE_FILE_NAME(F) ISSLASH ((F)[FILE_SYSTEM_PREFIX_LEN (F)]) -+# else -+# define IS_ABSOLUTE_FILE_NAME(F) \ -+ (ISSLASH ((F)[0]) || FILE_SYSTEM_PREFIX_LEN (F) != 0) -+#endif -+#define IS_RELATIVE_FILE_NAME(F) (! IS_ABSOLUTE_FILE_NAME (F)) -+ -+#endif /* DOSNAME_H_ */ -diff -Naur libiconv-20130504/srclib/errno.in.h libiconv-20130504.patch/srclib/errno.in.h ---- libiconv-20130504/srclib/errno.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/errno.in.h 2013-05-04 10:20:07.599698874 +0200 -@@ -0,0 +1,279 @@ -+/* A POSIX-like . -+ -+ Copyright (C) 2008-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#ifndef _@GUARD_PREFIX@_ERRNO_H -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_ERRNO_H@ -+ -+#ifndef _@GUARD_PREFIX@_ERRNO_H -+#define _@GUARD_PREFIX@_ERRNO_H -+ -+ -+/* On native Windows platforms, many macros are not defined. */ -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+ -+/* These are the same values as defined by MSVC 10, for interoperability. */ -+ -+# ifndef ENOMSG -+# define ENOMSG 122 -+# define GNULIB_defined_ENOMSG 1 -+# endif -+ -+# ifndef EIDRM -+# define EIDRM 111 -+# define GNULIB_defined_EIDRM 1 -+# endif -+ -+# ifndef ENOLINK -+# define ENOLINK 121 -+# define GNULIB_defined_ENOLINK 1 -+# endif -+ -+# ifndef EPROTO -+# define EPROTO 134 -+# define GNULIB_defined_EPROTO 1 -+# endif -+ -+# ifndef EBADMSG -+# define EBADMSG 104 -+# define GNULIB_defined_EBADMSG 1 -+# endif -+ -+# ifndef EOVERFLOW -+# define EOVERFLOW 132 -+# define GNULIB_defined_EOVERFLOW 1 -+# endif -+ -+# ifndef ENOTSUP -+# define ENOTSUP 129 -+# define GNULIB_defined_ENOTSUP 1 -+# endif -+ -+# ifndef ENETRESET -+# define ENETRESET 117 -+# define GNULIB_defined_ENETRESET 1 -+# endif -+ -+# ifndef ECONNABORTED -+# define ECONNABORTED 106 -+# define GNULIB_defined_ECONNABORTED 1 -+# endif -+ -+# ifndef ECANCELED -+# define ECANCELED 105 -+# define GNULIB_defined_ECANCELED 1 -+# endif -+ -+# ifndef EOWNERDEAD -+# define EOWNERDEAD 133 -+# define GNULIB_defined_EOWNERDEAD 1 -+# endif -+ -+# ifndef ENOTRECOVERABLE -+# define ENOTRECOVERABLE 127 -+# define GNULIB_defined_ENOTRECOVERABLE 1 -+# endif -+ -+# ifndef EINPROGRESS -+# define EINPROGRESS 112 -+# define EALREADY 103 -+# define ENOTSOCK 128 -+# define EDESTADDRREQ 109 -+# define EMSGSIZE 115 -+# define EPROTOTYPE 136 -+# define ENOPROTOOPT 123 -+# define EPROTONOSUPPORT 135 -+# define EOPNOTSUPP 130 -+# define EAFNOSUPPORT 102 -+# define EADDRINUSE 100 -+# define EADDRNOTAVAIL 101 -+# define ENETDOWN 116 -+# define ENETUNREACH 118 -+# define ECONNRESET 108 -+# define ENOBUFS 119 -+# define EISCONN 113 -+# define ENOTCONN 126 -+# define ETIMEDOUT 138 -+# define ECONNREFUSED 107 -+# define ELOOP 114 -+# define EHOSTUNREACH 110 -+# define EWOULDBLOCK 140 -+# define GNULIB_defined_ESOCK 1 -+# endif -+ -+# ifndef ETXTBSY -+# define ETXTBSY 139 -+# define ENODATA 120 /* not required by POSIX */ -+# define ENOSR 124 /* not required by POSIX */ -+# define ENOSTR 125 /* not required by POSIX */ -+# define ETIME 137 /* not required by POSIX */ -+# define EOTHER 131 /* not required by POSIX */ -+# define GNULIB_defined_ESTREAMS 1 -+# endif -+ -+/* These are intentionally the same values as the WSA* error numbers, defined -+ in . */ -+# define ESOCKTNOSUPPORT 10044 /* not required by POSIX */ -+# define EPFNOSUPPORT 10046 /* not required by POSIX */ -+# define ESHUTDOWN 10058 /* not required by POSIX */ -+# define ETOOMANYREFS 10059 /* not required by POSIX */ -+# define EHOSTDOWN 10064 /* not required by POSIX */ -+# define EPROCLIM 10067 /* not required by POSIX */ -+# define EUSERS 10068 /* not required by POSIX */ -+# define EDQUOT 10069 -+# define ESTALE 10070 -+# define EREMOTE 10071 /* not required by POSIX */ -+# define GNULIB_defined_EWINSOCK 1 -+ -+# endif -+ -+ -+/* On OSF/1 5.1, when _XOPEN_SOURCE_EXTENDED is not defined, the macros -+ EMULTIHOP, ENOLINK, EOVERFLOW are not defined. */ -+# if @EMULTIHOP_HIDDEN@ -+# define EMULTIHOP @EMULTIHOP_VALUE@ -+# define GNULIB_defined_EMULTIHOP 1 -+# endif -+# if @ENOLINK_HIDDEN@ -+# define ENOLINK @ENOLINK_VALUE@ -+# define GNULIB_defined_ENOLINK 1 -+# endif -+# if @EOVERFLOW_HIDDEN@ -+# define EOVERFLOW @EOVERFLOW_VALUE@ -+# define GNULIB_defined_EOVERFLOW 1 -+# endif -+ -+ -+/* On OpenBSD 4.0 and on native Windows, the macros ENOMSG, EIDRM, ENOLINK, -+ EPROTO, EMULTIHOP, EBADMSG, EOVERFLOW, ENOTSUP, ECANCELED are not defined. -+ Likewise, on NonStop Kernel, EDQUOT is not defined. -+ Define them here. Values >= 2000 seem safe to use: Solaris ESTALE = 151, -+ HP-UX EWOULDBLOCK = 246, IRIX EDQUOT = 1133. -+ -+ Note: When one of these systems defines some of these macros some day, -+ binaries will have to be recompiled so that they recognizes the new -+ errno values from the system. */ -+ -+# ifndef ENOMSG -+# define ENOMSG 2000 -+# define GNULIB_defined_ENOMSG 1 -+# endif -+ -+# ifndef EIDRM -+# define EIDRM 2001 -+# define GNULIB_defined_EIDRM 1 -+# endif -+ -+# ifndef ENOLINK -+# define ENOLINK 2002 -+# define GNULIB_defined_ENOLINK 1 -+# endif -+ -+# ifndef EPROTO -+# define EPROTO 2003 -+# define GNULIB_defined_EPROTO 1 -+# endif -+ -+# ifndef EMULTIHOP -+# define EMULTIHOP 2004 -+# define GNULIB_defined_EMULTIHOP 1 -+# endif -+ -+# ifndef EBADMSG -+# define EBADMSG 2005 -+# define GNULIB_defined_EBADMSG 1 -+# endif -+ -+# ifndef EOVERFLOW -+# define EOVERFLOW 2006 -+# define GNULIB_defined_EOVERFLOW 1 -+# endif -+ -+# ifndef ENOTSUP -+# define ENOTSUP 2007 -+# define GNULIB_defined_ENOTSUP 1 -+# endif -+ -+# ifndef ENETRESET -+# define ENETRESET 2011 -+# define GNULIB_defined_ENETRESET 1 -+# endif -+ -+# ifndef ECONNABORTED -+# define ECONNABORTED 2012 -+# define GNULIB_defined_ECONNABORTED 1 -+# endif -+ -+# ifndef ESTALE -+# define ESTALE 2009 -+# define GNULIB_defined_ESTALE 1 -+# endif -+ -+# ifndef EDQUOT -+# define EDQUOT 2010 -+# define GNULIB_defined_EDQUOT 1 -+# endif -+ -+# ifndef ECANCELED -+# define ECANCELED 2008 -+# define GNULIB_defined_ECANCELED 1 -+# endif -+ -+/* On many platforms, the macros EOWNERDEAD and ENOTRECOVERABLE are not -+ defined. */ -+ -+# ifndef EOWNERDEAD -+# if defined __sun -+ /* Use the same values as defined for Solaris >= 8, for -+ interoperability. */ -+# define EOWNERDEAD 58 -+# define ENOTRECOVERABLE 59 -+# elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+ /* We have a conflict here: pthreads-win32 defines these values -+ differently than MSVC 10. It's hairy to decide which one to use. */ -+# if defined __MINGW32__ && !defined USE_WINDOWS_THREADS -+ /* Use the same values as defined by pthreads-win32, for -+ interoperability. */ -+# define EOWNERDEAD 43 -+# define ENOTRECOVERABLE 44 -+# else -+ /* Use the same values as defined by MSVC 10, for -+ interoperability. */ -+# define EOWNERDEAD 133 -+# define ENOTRECOVERABLE 127 -+# endif -+# else -+# define EOWNERDEAD 2013 -+# define ENOTRECOVERABLE 2014 -+# endif -+# define GNULIB_defined_EOWNERDEAD 1 -+# define GNULIB_defined_ENOTRECOVERABLE 1 -+# endif -+ -+# ifndef EILSEQ -+# define EILSEQ 2015 -+# define GNULIB_defined_EILSEQ 1 -+# endif -+ -+#endif /* _@GUARD_PREFIX@_ERRNO_H */ -+#endif /* _@GUARD_PREFIX@_ERRNO_H */ -diff -Naur libiconv-20130504/srclib/error.c libiconv-20130504.patch/srclib/error.c ---- libiconv-20130504/srclib/error.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/error.c 2013-05-04 10:20:07.605698856 +0200 -@@ -0,0 +1,401 @@ -+/* Error handler for noninteractive utilities -+ Copyright (C) 1990-1998, 2000-2007, 2009-2013 Free Software Foundation, Inc. -+ This file is part of the GNU C Library. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by David MacKenzie . */ -+ -+#if !_LIBC -+# include -+#endif -+ -+#include "error.h" -+ -+#include -+#include -+#include -+#include -+ -+#if !_LIBC && ENABLE_NLS -+# include "gettext.h" -+# define _(msgid) gettext (msgid) -+#endif -+ -+#ifdef _LIBC -+# include -+# include -+# include -+# include -+# define mbsrtowcs __mbsrtowcs -+#endif -+ -+#if USE_UNLOCKED_IO -+# include "unlocked-io.h" -+#endif -+ -+#ifndef _ -+# define _(String) String -+#endif -+ -+/* If NULL, error will flush stdout, then print on stderr the program -+ name, a colon and a space. Otherwise, error will call this -+ function without parameters instead. */ -+void (*error_print_progname) (void); -+ -+/* This variable is incremented each time 'error' is called. */ -+unsigned int error_message_count; -+ -+#ifdef _LIBC -+/* In the GNU C library, there is a predefined variable for this. */ -+ -+# define program_name program_invocation_name -+# include -+# include -+# include -+ -+/* In GNU libc we want do not want to use the common name 'error' directly. -+ Instead make it a weak alias. */ -+extern void __error (int status, int errnum, const char *message, ...) -+ __attribute__ ((__format__ (__printf__, 3, 4))); -+extern void __error_at_line (int status, int errnum, const char *file_name, -+ unsigned int line_number, const char *message, -+ ...) -+ __attribute__ ((__format__ (__printf__, 5, 6)));; -+# define error __error -+# define error_at_line __error_at_line -+ -+# include -+# define fflush(s) INTUSE(_IO_fflush) (s) -+# undef putc -+# define putc(c, fp) INTUSE(_IO_putc) (c, fp) -+ -+# include -+ -+#else /* not _LIBC */ -+ -+# include -+# include -+ -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+/* Get declarations of the native Windows API functions. */ -+# define WIN32_LEAN_AND_MEAN -+# include -+/* Get _get_osfhandle. */ -+# include "msvc-nothrow.h" -+# endif -+ -+/* The gnulib override of fcntl is not needed in this file. */ -+# undef fcntl -+ -+# if !HAVE_DECL_STRERROR_R -+# ifndef HAVE_DECL_STRERROR_R -+"this configure-time declaration test was not run" -+# endif -+# if STRERROR_R_CHAR_P -+char *strerror_r (); -+# else -+int strerror_r (); -+# endif -+# endif -+ -+/* The calling program should define program_name and set it to the -+ name of the executing program. */ -+extern char *program_name; -+ -+# if HAVE_STRERROR_R || defined strerror_r -+# define __strerror_r strerror_r -+# endif /* HAVE_STRERROR_R || defined strerror_r */ -+#endif /* not _LIBC */ -+ -+#if !_LIBC -+/* Return non-zero if FD is open. */ -+static int -+is_open (int fd) -+{ -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+ /* On native Windows: The initial state of unassigned standard file -+ descriptors is that they are open but point to an INVALID_HANDLE_VALUE. -+ There is no fcntl, and the gnulib replacement fcntl does not support -+ F_GETFL. */ -+ return (HANDLE) _get_osfhandle (fd) != INVALID_HANDLE_VALUE; -+# else -+# ifndef F_GETFL -+# error Please port fcntl to your platform -+# endif -+ return 0 <= fcntl (fd, F_GETFL); -+# endif -+} -+#endif -+ -+static void -+flush_stdout (void) -+{ -+#if !_LIBC -+ int stdout_fd; -+ -+# if GNULIB_FREOPEN_SAFER -+ /* Use of gnulib's freopen-safer module normally ensures that -+ fileno (stdout) == 1 -+ whenever stdout is open. */ -+ stdout_fd = STDOUT_FILENO; -+# else -+ /* POSIX states that fileno (stdout) after fclose is unspecified. But in -+ practice it is not a problem, because stdout is statically allocated and -+ the fd of a FILE stream is stored as a field in its allocated memory. */ -+ stdout_fd = fileno (stdout); -+# endif -+ /* POSIX states that fflush (stdout) after fclose is unspecified; it -+ is safe in glibc, but not on all other platforms. fflush (NULL) -+ is always defined, but too draconian. */ -+ if (0 <= stdout_fd && is_open (stdout_fd)) -+#endif -+ fflush (stdout); -+} -+ -+static void -+print_errno_message (int errnum) -+{ -+ char const *s; -+ -+#if defined HAVE_STRERROR_R || _LIBC -+ char errbuf[1024]; -+# if STRERROR_R_CHAR_P || _LIBC -+ s = __strerror_r (errnum, errbuf, sizeof errbuf); -+# else -+ if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0) -+ s = errbuf; -+ else -+ s = 0; -+# endif -+#else -+ s = strerror (errnum); -+#endif -+ -+#if !_LIBC -+ if (! s) -+ s = _("Unknown system error"); -+#endif -+ -+#if _LIBC -+ __fxprintf (NULL, ": %s", s); -+#else -+ fprintf (stderr, ": %s", s); -+#endif -+} -+ -+static void -+error_tail (int status, int errnum, const char *message, va_list args) -+{ -+#if _LIBC -+ if (_IO_fwide (stderr, 0) > 0) -+ { -+# define ALLOCA_LIMIT 2000 -+ size_t len = strlen (message) + 1; -+ wchar_t *wmessage = NULL; -+ mbstate_t st; -+ size_t res; -+ const char *tmp; -+ bool use_malloc = false; -+ -+ while (1) -+ { -+ if (__libc_use_alloca (len * sizeof (wchar_t))) -+ wmessage = (wchar_t *) alloca (len * sizeof (wchar_t)); -+ else -+ { -+ if (!use_malloc) -+ wmessage = NULL; -+ -+ wchar_t *p = (wchar_t *) realloc (wmessage, -+ len * sizeof (wchar_t)); -+ if (p == NULL) -+ { -+ free (wmessage); -+ fputws_unlocked (L"out of memory\n", stderr); -+ return; -+ } -+ wmessage = p; -+ use_malloc = true; -+ } -+ -+ memset (&st, '\0', sizeof (st)); -+ tmp = message; -+ -+ res = mbsrtowcs (wmessage, &tmp, len, &st); -+ if (res != len) -+ break; -+ -+ if (__builtin_expect (len >= SIZE_MAX / 2, 0)) -+ { -+ /* This really should not happen if everything is fine. */ -+ res = (size_t) -1; -+ break; -+ } -+ -+ len *= 2; -+ } -+ -+ if (res == (size_t) -1) -+ { -+ /* The string cannot be converted. */ -+ if (use_malloc) -+ { -+ free (wmessage); -+ use_malloc = false; -+ } -+ wmessage = (wchar_t *) L"???"; -+ } -+ -+ __vfwprintf (stderr, wmessage, args); -+ -+ if (use_malloc) -+ free (wmessage); -+ } -+ else -+#endif -+ vfprintf (stderr, message, args); -+ va_end (args); -+ -+ ++error_message_count; -+ if (errnum) -+ print_errno_message (errnum); -+#if _LIBC -+ __fxprintf (NULL, "\n"); -+#else -+ putc ('\n', stderr); -+#endif -+ fflush (stderr); -+ if (status) -+ exit (status); -+} -+ -+ -+/* Print the program name and error message MESSAGE, which is a printf-style -+ format string with optional args. -+ If ERRNUM is nonzero, print its corresponding system error message. -+ Exit with status STATUS if it is nonzero. */ -+void -+error (int status, int errnum, const char *message, ...) -+{ -+ va_list args; -+ -+#if defined _LIBC && defined __libc_ptf_call -+ /* We do not want this call to be cut short by a thread -+ cancellation. Therefore disable cancellation for now. */ -+ int state = PTHREAD_CANCEL_ENABLE; -+ __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), -+ 0); -+#endif -+ -+ flush_stdout (); -+#ifdef _LIBC -+ _IO_flockfile (stderr); -+#endif -+ if (error_print_progname) -+ (*error_print_progname) (); -+ else -+ { -+#if _LIBC -+ __fxprintf (NULL, "%s: ", program_name); -+#else -+ fprintf (stderr, "%s: ", program_name); -+#endif -+ } -+ -+ va_start (args, message); -+ error_tail (status, errnum, message, args); -+ -+#ifdef _LIBC -+ _IO_funlockfile (stderr); -+# ifdef __libc_ptf_call -+ __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); -+# endif -+#endif -+} -+ -+/* Sometimes we want to have at most one error per line. This -+ variable controls whether this mode is selected or not. */ -+int error_one_per_line; -+ -+void -+error_at_line (int status, int errnum, const char *file_name, -+ unsigned int line_number, const char *message, ...) -+{ -+ va_list args; -+ -+ if (error_one_per_line) -+ { -+ static const char *old_file_name; -+ static unsigned int old_line_number; -+ -+ if (old_line_number == line_number -+ && (file_name == old_file_name -+ || strcmp (old_file_name, file_name) == 0)) -+ /* Simply return and print nothing. */ -+ return; -+ -+ old_file_name = file_name; -+ old_line_number = line_number; -+ } -+ -+#if defined _LIBC && defined __libc_ptf_call -+ /* We do not want this call to be cut short by a thread -+ cancellation. Therefore disable cancellation for now. */ -+ int state = PTHREAD_CANCEL_ENABLE; -+ __libc_ptf_call (pthread_setcancelstate, (PTHREAD_CANCEL_DISABLE, &state), -+ 0); -+#endif -+ -+ flush_stdout (); -+#ifdef _LIBC -+ _IO_flockfile (stderr); -+#endif -+ if (error_print_progname) -+ (*error_print_progname) (); -+ else -+ { -+#if _LIBC -+ __fxprintf (NULL, "%s:", program_name); -+#else -+ fprintf (stderr, "%s:", program_name); -+#endif -+ } -+ -+#if _LIBC -+ __fxprintf (NULL, file_name != NULL ? "%s:%d: " : " ", -+ file_name, line_number); -+#else -+ fprintf (stderr, file_name != NULL ? "%s:%d: " : " ", -+ file_name, line_number); -+#endif -+ -+ va_start (args, message); -+ error_tail (status, errnum, message, args); -+ -+#ifdef _LIBC -+ _IO_funlockfile (stderr); -+# ifdef __libc_ptf_call -+ __libc_ptf_call (pthread_setcancelstate, (state, NULL), 0); -+# endif -+#endif -+} -+ -+#ifdef _LIBC -+/* Make the weak alias. */ -+# undef error -+# undef error_at_line -+weak_alias (__error, error) -+weak_alias (__error_at_line, error_at_line) -+#endif -diff -Naur libiconv-20130504/srclib/error.h libiconv-20130504.patch/srclib/error.h ---- libiconv-20130504/srclib/error.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/error.h 2013-05-04 10:20:07.612698836 +0200 -@@ -0,0 +1,65 @@ -+/* Declaration for error-reporting function -+ Copyright (C) 1995-1997, 2003, 2006, 2008-2013 Free Software Foundation, -+ Inc. -+ This file is part of the GNU C Library. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _ERROR_H -+#define _ERROR_H 1 -+ -+/* The __attribute__ feature is available in gcc versions 2.5 and later. -+ The __-protected variants of the attributes 'format' and 'printf' are -+ accepted by gcc versions 2.6.4 (effectively 2.7) and later. -+ We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because -+ gnulib and libintl do '#define printf __printf__' when they override -+ the 'printf' function. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) -+# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) -+#else -+# define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ -+#endif -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+/* Print a message with 'fprintf (stderr, FORMAT, ...)'; -+ if ERRNUM is nonzero, follow it with ": " and strerror (ERRNUM). -+ If STATUS is nonzero, terminate the program with 'exit (STATUS)'. */ -+ -+extern void error (int __status, int __errnum, const char *__format, ...) -+ _GL_ATTRIBUTE_FORMAT ((__printf__, 3, 4)); -+ -+extern void error_at_line (int __status, int __errnum, const char *__fname, -+ unsigned int __lineno, const char *__format, ...) -+ _GL_ATTRIBUTE_FORMAT ((__printf__, 5, 6)); -+ -+/* If NULL, error will flush stdout, then print on stderr the program -+ name, a colon and a space. Otherwise, error will call this -+ function without parameters instead. */ -+extern DLL_VARIABLE void (*error_print_progname) (void); -+ -+/* This variable is incremented each time 'error' is called. */ -+extern DLL_VARIABLE unsigned int error_message_count; -+ -+/* Sometimes we want to have at most one error per line. This -+ variable controls whether this mode is selected or not. */ -+extern DLL_VARIABLE int error_one_per_line; -+ -+#ifdef __cplusplus -+} -+#endif -+ -+#endif /* error.h */ -diff -Naur libiconv-20130504/srclib/fcntl.in.h libiconv-20130504.patch/srclib/fcntl.in.h ---- libiconv-20130504/srclib/fcntl.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/fcntl.in.h 2013-05-04 10:20:07.615698827 +0200 -@@ -0,0 +1,347 @@ -+/* Like , but with non-working flags defined to 0. -+ -+ Copyright (C) 2006-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* written by Paul Eggert */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+#if defined __need_system_fcntl_h -+/* Special invocation convention. */ -+ -+/* Needed before . -+ May also define off_t to a 64-bit type on native Windows. */ -+#include -+/* On some systems other than glibc, is a prerequisite of -+ . On glibc systems, we would like to avoid namespace pollution. -+ But on glibc systems, includes inside an -+ extern "C" { ... } block, which leads to errors in C++ mode with the -+ overridden from gnulib. These errors are known to be gone -+ with g++ version >= 4.3. */ -+#if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) -+# include -+#endif -+#@INCLUDE_NEXT@ @NEXT_FCNTL_H@ -+ -+#else -+/* Normal invocation convention. */ -+ -+#ifndef _@GUARD_PREFIX@_FCNTL_H -+ -+/* Needed before . -+ May also define off_t to a 64-bit type on native Windows. */ -+#include -+/* On some systems other than glibc, is a prerequisite of -+ . On glibc systems, we would like to avoid namespace pollution. -+ But on glibc systems, includes inside an -+ extern "C" { ... } block, which leads to errors in C++ mode with the -+ overridden from gnulib. These errors are known to be gone -+ with g++ version >= 4.3. */ -+#if !(defined __GLIBC__ || defined __UCLIBC__) || (defined __cplusplus && defined GNULIB_NAMESPACE && !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3))) -+# include -+#endif -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_FCNTL_H@ -+ -+#ifndef _@GUARD_PREFIX@_FCNTL_H -+#define _@GUARD_PREFIX@_FCNTL_H -+ -+#ifndef __GLIBC__ /* Avoid namespace pollution on glibc systems. */ -+# include -+#endif -+ -+/* Native Windows platforms declare open(), creat() in . */ -+#if (@GNULIB_OPEN@ || defined GNULIB_POSIXCHECK) \ -+ && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) -+# include -+#endif -+ -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+ -+/* Declare overridden functions. */ -+ -+#if @GNULIB_FCNTL@ -+# if @REPLACE_FCNTL@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fcntl -+# define fcntl rpl_fcntl -+# endif -+_GL_FUNCDECL_RPL (fcntl, int, (int fd, int action, ...)); -+_GL_CXXALIAS_RPL (fcntl, int, (int fd, int action, ...)); -+# else -+# if !@HAVE_FCNTL@ -+_GL_FUNCDECL_SYS (fcntl, int, (int fd, int action, ...)); -+# endif -+_GL_CXXALIAS_SYS (fcntl, int, (int fd, int action, ...)); -+# endif -+_GL_CXXALIASWARN (fcntl); -+#elif defined GNULIB_POSIXCHECK -+# undef fcntl -+# if HAVE_RAW_DECL_FCNTL -+_GL_WARN_ON_USE (fcntl, "fcntl is not always POSIX compliant - " -+ "use gnulib module fcntl for portability"); -+# endif -+#endif -+ -+#if @GNULIB_OPEN@ -+# if @REPLACE_OPEN@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef open -+# define open rpl_open -+# endif -+_GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...)); -+# else -+_GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...)); -+# endif -+/* On HP-UX 11, in C++ mode, open() is defined as an inline function with a -+ default argument. _GL_CXXALIASWARN does not work in this case. */ -+# if !defined __hpux -+_GL_CXXALIASWARN (open); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef open -+/* Assume open is always declared. */ -+_GL_WARN_ON_USE (open, "open is not always POSIX compliant - " -+ "use gnulib module open for portability"); -+#endif -+ -+#if @GNULIB_OPENAT@ -+# if @REPLACE_OPENAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef openat -+# define openat rpl_openat -+# endif -+_GL_FUNCDECL_RPL (openat, int, -+ (int fd, char const *file, int flags, /* mode_t mode */ ...) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (openat, int, -+ (int fd, char const *file, int flags, /* mode_t mode */ ...)); -+# else -+# if !@HAVE_OPENAT@ -+_GL_FUNCDECL_SYS (openat, int, -+ (int fd, char const *file, int flags, /* mode_t mode */ ...) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (openat, int, -+ (int fd, char const *file, int flags, /* mode_t mode */ ...)); -+# endif -+_GL_CXXALIASWARN (openat); -+#elif defined GNULIB_POSIXCHECK -+# undef openat -+# if HAVE_RAW_DECL_OPENAT -+_GL_WARN_ON_USE (openat, "openat is not portable - " -+ "use gnulib module openat for portability"); -+# endif -+#endif -+ -+ -+/* Fix up the FD_* macros, only known to be missing on mingw. */ -+ -+#ifndef FD_CLOEXEC -+# define FD_CLOEXEC 1 -+#endif -+ -+/* Fix up the supported F_* macros. Intentionally leave other F_* -+ macros undefined. Only known to be missing on mingw. */ -+ -+#ifndef F_DUPFD_CLOEXEC -+# define F_DUPFD_CLOEXEC 0x40000000 -+/* Witness variable: 1 if gnulib defined F_DUPFD_CLOEXEC, 0 otherwise. */ -+# define GNULIB_defined_F_DUPFD_CLOEXEC 1 -+#else -+# define GNULIB_defined_F_DUPFD_CLOEXEC 0 -+#endif -+ -+#ifndef F_DUPFD -+# define F_DUPFD 1 -+#endif -+ -+#ifndef F_GETFD -+# define F_GETFD 2 -+#endif -+ -+/* Fix up the O_* macros. */ -+ -+#if !defined O_DIRECT && defined O_DIRECTIO -+/* Tru64 spells it 'O_DIRECTIO'. */ -+# define O_DIRECT O_DIRECTIO -+#endif -+ -+#if !defined O_CLOEXEC && defined O_NOINHERIT -+/* Mingw spells it 'O_NOINHERIT'. */ -+# define O_CLOEXEC O_NOINHERIT -+#endif -+ -+#ifndef O_CLOEXEC -+# define O_CLOEXEC 0 -+#endif -+ -+#ifndef O_DIRECT -+# define O_DIRECT 0 -+#endif -+ -+#ifndef O_DIRECTORY -+# define O_DIRECTORY 0 -+#endif -+ -+#ifndef O_DSYNC -+# define O_DSYNC 0 -+#endif -+ -+#ifndef O_EXEC -+# define O_EXEC O_RDONLY /* This is often close enough in older systems. */ -+#endif -+ -+#ifndef O_IGNORE_CTTY -+# define O_IGNORE_CTTY 0 -+#endif -+ -+#ifndef O_NDELAY -+# define O_NDELAY 0 -+#endif -+ -+#ifndef O_NOATIME -+# define O_NOATIME 0 -+#endif -+ -+#ifndef O_NONBLOCK -+# define O_NONBLOCK O_NDELAY -+#endif -+ -+/* If the gnulib module 'nonblocking' is in use, guarantee a working non-zero -+ value of O_NONBLOCK. Otherwise, O_NONBLOCK is defined (above) to O_NDELAY -+ or to 0 as fallback. */ -+#if @GNULIB_NONBLOCKING@ -+# if O_NONBLOCK -+# define GNULIB_defined_O_NONBLOCK 0 -+# else -+# define GNULIB_defined_O_NONBLOCK 1 -+# undef O_NONBLOCK -+# define O_NONBLOCK 0x40000000 -+# endif -+#endif -+ -+#ifndef O_NOCTTY -+# define O_NOCTTY 0 -+#endif -+ -+#ifndef O_NOFOLLOW -+# define O_NOFOLLOW 0 -+#endif -+ -+#ifndef O_NOLINK -+# define O_NOLINK 0 -+#endif -+ -+#ifndef O_NOLINKS -+# define O_NOLINKS 0 -+#endif -+ -+#ifndef O_NOTRANS -+# define O_NOTRANS 0 -+#endif -+ -+#ifndef O_RSYNC -+# define O_RSYNC 0 -+#endif -+ -+#ifndef O_SEARCH -+# define O_SEARCH O_RDONLY /* This is often close enough in older systems. */ -+#endif -+ -+#ifndef O_SYNC -+# define O_SYNC 0 -+#endif -+ -+#ifndef O_TTY_INIT -+# define O_TTY_INIT 0 -+#endif -+ -+#if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) -+# undef O_ACCMODE -+# define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH) -+#endif -+ -+/* For systems that distinguish between text and binary I/O. -+ O_BINARY is usually declared in fcntl.h */ -+#if !defined O_BINARY && defined _O_BINARY -+ /* For MSC-compatible compilers. */ -+# define O_BINARY _O_BINARY -+# define O_TEXT _O_TEXT -+#endif -+ -+#if defined __BEOS__ || defined __HAIKU__ -+ /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ -+# undef O_BINARY -+# undef O_TEXT -+#endif -+ -+#ifndef O_BINARY -+# define O_BINARY 0 -+# define O_TEXT 0 -+#endif -+ -+/* Fix up the AT_* macros. */ -+ -+/* Work around a bug in Solaris 9 and 10: AT_FDCWD is positive. Its -+ value exceeds INT_MAX, so its use as an int doesn't conform to the -+ C standard, and GCC and Sun C complain in some cases. If the bug -+ is present, undef AT_FDCWD here, so it can be redefined below. */ -+#if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 -+# undef AT_FDCWD -+#endif -+ -+/* Use the same bit pattern as Solaris 9, but with the proper -+ signedness. The bit pattern is important, in case this actually is -+ Solaris with the above workaround. */ -+#ifndef AT_FDCWD -+# define AT_FDCWD (-3041965) -+#endif -+ -+/* Use the same values as Solaris 9. This shouldn't matter, but -+ there's no real reason to differ. */ -+#ifndef AT_SYMLINK_NOFOLLOW -+# define AT_SYMLINK_NOFOLLOW 4096 -+#endif -+ -+#ifndef AT_REMOVEDIR -+# define AT_REMOVEDIR 1 -+#endif -+ -+/* Solaris 9 lacks these two, so just pick unique values. */ -+#ifndef AT_SYMLINK_FOLLOW -+# define AT_SYMLINK_FOLLOW 2 -+#endif -+ -+#ifndef AT_EACCESS -+# define AT_EACCESS 4 -+#endif -+ -+ -+#endif /* _@GUARD_PREFIX@_FCNTL_H */ -+#endif /* _@GUARD_PREFIX@_FCNTL_H */ -+#endif -diff -Naur libiconv-20130504/srclib/gettext.h libiconv-20130504.patch/srclib/gettext.h ---- libiconv-20130504/srclib/gettext.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/gettext.h 2013-05-04 10:20:07.620698813 +0200 -@@ -0,0 +1,288 @@ -+/* Convenience header for conditional use of GNU . -+ Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2013 Free Software -+ Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License along -+ with this program; if not, see . */ -+ -+#ifndef _LIBGETTEXT_H -+#define _LIBGETTEXT_H 1 -+ -+/* NLS can be disabled through the configure --disable-nls option. */ -+#if ENABLE_NLS -+ -+/* Get declarations of GNU message catalog functions. */ -+# include -+ -+/* You can set the DEFAULT_TEXT_DOMAIN macro to specify the domain used by -+ the gettext() and ngettext() macros. This is an alternative to calling -+ textdomain(), and is useful for libraries. */ -+# ifdef DEFAULT_TEXT_DOMAIN -+# undef gettext -+# define gettext(Msgid) \ -+ dgettext (DEFAULT_TEXT_DOMAIN, Msgid) -+# undef ngettext -+# define ngettext(Msgid1, Msgid2, N) \ -+ dngettext (DEFAULT_TEXT_DOMAIN, Msgid1, Msgid2, N) -+# endif -+ -+#else -+ -+/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which -+ chokes if dcgettext is defined as a macro. So include it now, to make -+ later inclusions of a NOP. We don't include -+ as well because people using "gettext.h" will not include , -+ and also including would fail on SunOS 4, whereas -+ is OK. */ -+#if defined(__sun) -+# include -+#endif -+ -+/* Many header files from the libstdc++ coming with g++ 3.3 or newer include -+ , which chokes if dcgettext is defined as a macro. So include -+ it now, to make later inclusions of a NOP. */ -+#if defined(__cplusplus) && defined(__GNUG__) && (__GNUC__ >= 3) -+# include -+# if (__GLIBC__ >= 2 && !defined __UCLIBC__) || _GLIBCXX_HAVE_LIBINTL_H -+# include -+# endif -+#endif -+ -+/* Disabled NLS. -+ The casts to 'const char *' serve the purpose of producing warnings -+ for invalid uses of the value returned from these functions. -+ On pre-ANSI systems without 'const', the config.h file is supposed to -+ contain "#define const". */ -+# undef gettext -+# define gettext(Msgid) ((const char *) (Msgid)) -+# undef dgettext -+# define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid)) -+# undef dcgettext -+# define dcgettext(Domainname, Msgid, Category) \ -+ ((void) (Category), dgettext (Domainname, Msgid)) -+# undef ngettext -+# define ngettext(Msgid1, Msgid2, N) \ -+ ((N) == 1 \ -+ ? ((void) (Msgid2), (const char *) (Msgid1)) \ -+ : ((void) (Msgid1), (const char *) (Msgid2))) -+# undef dngettext -+# define dngettext(Domainname, Msgid1, Msgid2, N) \ -+ ((void) (Domainname), ngettext (Msgid1, Msgid2, N)) -+# undef dcngettext -+# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ -+ ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) -+# undef textdomain -+# define textdomain(Domainname) ((const char *) (Domainname)) -+# undef bindtextdomain -+# define bindtextdomain(Domainname, Dirname) \ -+ ((void) (Domainname), (const char *) (Dirname)) -+# undef bind_textdomain_codeset -+# define bind_textdomain_codeset(Domainname, Codeset) \ -+ ((void) (Domainname), (const char *) (Codeset)) -+ -+#endif -+ -+/* Prefer gnulib's setlocale override over libintl's setlocale override. */ -+#ifdef GNULIB_defined_setlocale -+# undef setlocale -+# define setlocale rpl_setlocale -+#endif -+ -+/* A pseudo function call that serves as a marker for the automated -+ extraction of messages, but does not call gettext(). The run-time -+ translation is done at a different place in the code. -+ The argument, String, should be a literal string. Concatenated strings -+ and other string expressions won't work. -+ The macro's expansion is not parenthesized, so that it is suitable as -+ initializer for static 'char[]' or 'const char[]' variables. */ -+#define gettext_noop(String) String -+ -+/* The separator between msgctxt and msgid in a .mo file. */ -+#define GETTEXT_CONTEXT_GLUE "\004" -+ -+/* Pseudo function calls, taking a MSGCTXT and a MSGID instead of just a -+ MSGID. MSGCTXT and MSGID must be string literals. MSGCTXT should be -+ short and rarely need to change. -+ The letter 'p' stands for 'particular' or 'special'. */ -+#ifdef DEFAULT_TEXT_DOMAIN -+# define pgettext(Msgctxt, Msgid) \ -+ pgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) -+#else -+# define pgettext(Msgctxt, Msgid) \ -+ pgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) -+#endif -+#define dpgettext(Domainname, Msgctxt, Msgid) \ -+ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, LC_MESSAGES) -+#define dcpgettext(Domainname, Msgctxt, Msgid, Category) \ -+ pgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, Category) -+#ifdef DEFAULT_TEXT_DOMAIN -+# define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ -+ npgettext_aux (DEFAULT_TEXT_DOMAIN, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) -+#else -+# define npgettext(Msgctxt, Msgid, MsgidPlural, N) \ -+ npgettext_aux (NULL, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) -+#endif -+#define dnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ -+ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, LC_MESSAGES) -+#define dcnpgettext(Domainname, Msgctxt, Msgid, MsgidPlural, N, Category) \ -+ npgettext_aux (Domainname, Msgctxt GETTEXT_CONTEXT_GLUE Msgid, Msgid, MsgidPlural, N, Category) -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static const char * -+pgettext_aux (const char *domain, -+ const char *msg_ctxt_id, const char *msgid, -+ int category) -+{ -+ const char *translation = dcgettext (domain, msg_ctxt_id, category); -+ if (translation == msg_ctxt_id) -+ return msgid; -+ else -+ return translation; -+} -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static const char * -+npgettext_aux (const char *domain, -+ const char *msg_ctxt_id, const char *msgid, -+ const char *msgid_plural, unsigned long int n, -+ int category) -+{ -+ const char *translation = -+ dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); -+ if (translation == msg_ctxt_id || translation == msgid_plural) -+ return (n == 1 ? msgid : msgid_plural); -+ else -+ return translation; -+} -+ -+/* The same thing extended for non-constant arguments. Here MSGCTXT and MSGID -+ can be arbitrary expressions. But for string literals these macros are -+ less efficient than those above. */ -+ -+#include -+ -+#if (((__GNUC__ >= 3 || __GNUG__ >= 2) && !defined __STRICT_ANSI__) \ -+ /* || __STDC_VERSION__ >= 199901L */ ) -+# define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 1 -+#else -+# define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS 0 -+#endif -+ -+#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS -+#include -+#endif -+ -+#define pgettext_expr(Msgctxt, Msgid) \ -+ dcpgettext_expr (NULL, Msgctxt, Msgid, LC_MESSAGES) -+#define dpgettext_expr(Domainname, Msgctxt, Msgid) \ -+ dcpgettext_expr (Domainname, Msgctxt, Msgid, LC_MESSAGES) -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static const char * -+dcpgettext_expr (const char *domain, -+ const char *msgctxt, const char *msgid, -+ int category) -+{ -+ size_t msgctxt_len = strlen (msgctxt) + 1; -+ size_t msgid_len = strlen (msgid) + 1; -+ const char *translation; -+#if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS -+ char msg_ctxt_id[msgctxt_len + msgid_len]; -+#else -+ char buf[1024]; -+ char *msg_ctxt_id = -+ (msgctxt_len + msgid_len <= sizeof (buf) -+ ? buf -+ : (char *) malloc (msgctxt_len + msgid_len)); -+ if (msg_ctxt_id != NULL) -+#endif -+ { -+ memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); -+ msg_ctxt_id[msgctxt_len - 1] = '\004'; -+ memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); -+ translation = dcgettext (domain, msg_ctxt_id, category); -+#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS -+ if (msg_ctxt_id != buf) -+ free (msg_ctxt_id); -+#endif -+ if (translation != msg_ctxt_id) -+ return translation; -+ } -+ return msgid; -+} -+ -+#define npgettext_expr(Msgctxt, Msgid, MsgidPlural, N) \ -+ dcnpgettext_expr (NULL, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) -+#define dnpgettext_expr(Domainname, Msgctxt, Msgid, MsgidPlural, N) \ -+ dcnpgettext_expr (Domainname, Msgctxt, Msgid, MsgidPlural, N, LC_MESSAGES) -+ -+#ifdef __GNUC__ -+__inline -+#else -+#ifdef __cplusplus -+inline -+#endif -+#endif -+static const char * -+dcnpgettext_expr (const char *domain, -+ const char *msgctxt, const char *msgid, -+ const char *msgid_plural, unsigned long int n, -+ int category) -+{ -+ size_t msgctxt_len = strlen (msgctxt) + 1; -+ size_t msgid_len = strlen (msgid) + 1; -+ const char *translation; -+#if _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS -+ char msg_ctxt_id[msgctxt_len + msgid_len]; -+#else -+ char buf[1024]; -+ char *msg_ctxt_id = -+ (msgctxt_len + msgid_len <= sizeof (buf) -+ ? buf -+ : (char *) malloc (msgctxt_len + msgid_len)); -+ if (msg_ctxt_id != NULL) -+#endif -+ { -+ memcpy (msg_ctxt_id, msgctxt, msgctxt_len - 1); -+ msg_ctxt_id[msgctxt_len - 1] = '\004'; -+ memcpy (msg_ctxt_id + msgctxt_len, msgid, msgid_len); -+ translation = dcngettext (domain, msg_ctxt_id, msgid_plural, n, category); -+#if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS -+ if (msg_ctxt_id != buf) -+ free (msg_ctxt_id); -+#endif -+ if (!(translation == msg_ctxt_id || translation == msgid_plural)) -+ return translation; -+ } -+ return (n == 1 ? msgid : msgid_plural); -+} -+ -+#endif /* _LIBGETTEXT_H */ -diff -Naur libiconv-20130504/srclib/intprops.h libiconv-20130504.patch/srclib/intprops.h ---- libiconv-20130504/srclib/intprops.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/intprops.h 2013-05-04 10:20:07.624698801 +0200 -@@ -0,0 +1,319 @@ -+/* intprops.h -- properties of integer types -+ -+ Copyright (C) 2001-2005, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Paul Eggert. */ -+ -+#ifndef _GL_INTPROPS_H -+#define _GL_INTPROPS_H -+ -+#include -+ -+/* Return an integer value, converted to the same type as the integer -+ expression E after integer type promotion. V is the unconverted value. */ -+#define _GL_INT_CONVERT(e, v) (0 * (e) + (v)) -+ -+/* Act like _GL_INT_CONVERT (E, -V) but work around a bug in IRIX 6.5 cc; see -+ . */ -+#define _GL_INT_NEGATE_CONVERT(e, v) (0 * (e) - (v)) -+ -+/* The extra casts in the following macros work around compiler bugs, -+ e.g., in Cray C 5.0.3.0. */ -+ -+/* True if the arithmetic type T is an integer type. bool counts as -+ an integer. */ -+#define TYPE_IS_INTEGER(t) ((t) 1.5 == 1) -+ -+/* True if negative values of the signed integer type T use two's -+ complement, ones' complement, or signed magnitude representation, -+ respectively. Much GNU code assumes two's complement, but some -+ people like to be portable to all possible C hosts. */ -+#define TYPE_TWOS_COMPLEMENT(t) ((t) ~ (t) 0 == (t) -1) -+#define TYPE_ONES_COMPLEMENT(t) ((t) ~ (t) 0 == 0) -+#define TYPE_SIGNED_MAGNITUDE(t) ((t) ~ (t) 0 < (t) -1) -+ -+/* True if the signed integer expression E uses two's complement. */ -+#define _GL_INT_TWOS_COMPLEMENT(e) (~ _GL_INT_CONVERT (e, 0) == -1) -+ -+/* True if the arithmetic type T is signed. */ -+#define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) -+ -+/* Return 1 if the integer expression E, after integer promotion, has -+ a signed type. */ -+#define _GL_INT_SIGNED(e) (_GL_INT_NEGATE_CONVERT (e, 1) < 0) -+ -+ -+/* Minimum and maximum values for integer types and expressions. These -+ macros have undefined behavior if T is signed and has padding bits. -+ If this is a problem for you, please let us know how to fix it for -+ your host. */ -+ -+/* The maximum and minimum values for the integer type T. */ -+#define TYPE_MINIMUM(t) \ -+ ((t) (! TYPE_SIGNED (t) \ -+ ? (t) 0 \ -+ : TYPE_SIGNED_MAGNITUDE (t) \ -+ ? ~ (t) 0 \ -+ : ~ TYPE_MAXIMUM (t))) -+#define TYPE_MAXIMUM(t) \ -+ ((t) (! TYPE_SIGNED (t) \ -+ ? (t) -1 \ -+ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) -+ -+/* The maximum and minimum values for the type of the expression E, -+ after integer promotion. E should not have side effects. */ -+#define _GL_INT_MINIMUM(e) \ -+ (_GL_INT_SIGNED (e) \ -+ ? - _GL_INT_TWOS_COMPLEMENT (e) - _GL_SIGNED_INT_MAXIMUM (e) \ -+ : _GL_INT_CONVERT (e, 0)) -+#define _GL_INT_MAXIMUM(e) \ -+ (_GL_INT_SIGNED (e) \ -+ ? _GL_SIGNED_INT_MAXIMUM (e) \ -+ : _GL_INT_NEGATE_CONVERT (e, 1)) -+#define _GL_SIGNED_INT_MAXIMUM(e) \ -+ (((_GL_INT_CONVERT (e, 1) << (sizeof ((e) + 0) * CHAR_BIT - 2)) - 1) * 2 + 1) -+ -+ -+/* Return 1 if the __typeof__ keyword works. This could be done by -+ 'configure', but for now it's easier to do it by hand. */ -+#if 2 <= __GNUC__ || defined __IBM__TYPEOF__ || 0x5110 <= __SUNPRO_C -+# define _GL_HAVE___TYPEOF__ 1 -+#else -+# define _GL_HAVE___TYPEOF__ 0 -+#endif -+ -+/* Return 1 if the integer type or expression T might be signed. Return 0 -+ if it is definitely unsigned. This macro does not evaluate its argument, -+ and expands to an integer constant expression. */ -+#if _GL_HAVE___TYPEOF__ -+# define _GL_SIGNED_TYPE_OR_EXPR(t) TYPE_SIGNED (__typeof__ (t)) -+#else -+# define _GL_SIGNED_TYPE_OR_EXPR(t) 1 -+#endif -+ -+/* Bound on length of the string representing an unsigned integer -+ value representable in B bits. log10 (2.0) < 146/485. The -+ smallest value of B where this bound is not tight is 2621. */ -+#define INT_BITS_STRLEN_BOUND(b) (((b) * 146 + 484) / 485) -+ -+/* Bound on length of the string representing an integer type or expression T. -+ Subtract 1 for the sign bit if T is signed, and then add 1 more for -+ a minus sign if needed. -+ -+ Because _GL_SIGNED_TYPE_OR_EXPR sometimes returns 0 when its argument is -+ signed, this macro may overestimate the true bound by one byte when -+ applied to unsigned types of size 2, 4, 16, ... bytes. */ -+#define INT_STRLEN_BOUND(t) \ -+ (INT_BITS_STRLEN_BOUND (sizeof (t) * CHAR_BIT \ -+ - _GL_SIGNED_TYPE_OR_EXPR (t)) \ -+ + _GL_SIGNED_TYPE_OR_EXPR (t)) -+ -+/* Bound on buffer size needed to represent an integer type or expression T, -+ including the terminating null. */ -+#define INT_BUFSIZE_BOUND(t) (INT_STRLEN_BOUND (t) + 1) -+ -+ -+/* Range overflow checks. -+ -+ The INT__RANGE_OVERFLOW macros return 1 if the corresponding C -+ operators might not yield numerically correct answers due to -+ arithmetic overflow. They do not rely on undefined or -+ implementation-defined behavior. Their implementations are simple -+ and straightforward, but they are a bit harder to use than the -+ INT__OVERFLOW macros described below. -+ -+ Example usage: -+ -+ long int i = ...; -+ long int j = ...; -+ if (INT_MULTIPLY_RANGE_OVERFLOW (i, j, LONG_MIN, LONG_MAX)) -+ printf ("multiply would overflow"); -+ else -+ printf ("product is %ld", i * j); -+ -+ Restrictions on *_RANGE_OVERFLOW macros: -+ -+ These macros do not check for all possible numerical problems or -+ undefined or unspecified behavior: they do not check for division -+ by zero, for bad shift counts, or for shifting negative numbers. -+ -+ These macros may evaluate their arguments zero or multiple times, -+ so the arguments should not have side effects. The arithmetic -+ arguments (including the MIN and MAX arguments) must be of the same -+ integer type after the usual arithmetic conversions, and the type -+ must have minimum value MIN and maximum MAX. Unsigned types should -+ use a zero MIN of the proper type. -+ -+ These macros are tuned for constant MIN and MAX. For commutative -+ operations such as A + B, they are also tuned for constant B. */ -+ -+/* Return 1 if A + B would overflow in [MIN,MAX] arithmetic. -+ See above for restrictions. */ -+#define INT_ADD_RANGE_OVERFLOW(a, b, min, max) \ -+ ((b) < 0 \ -+ ? (a) < (min) - (b) \ -+ : (max) - (b) < (a)) -+ -+/* Return 1 if A - B would overflow in [MIN,MAX] arithmetic. -+ See above for restrictions. */ -+#define INT_SUBTRACT_RANGE_OVERFLOW(a, b, min, max) \ -+ ((b) < 0 \ -+ ? (max) + (b) < (a) \ -+ : (a) < (min) + (b)) -+ -+/* Return 1 if - A would overflow in [MIN,MAX] arithmetic. -+ See above for restrictions. */ -+#define INT_NEGATE_RANGE_OVERFLOW(a, min, max) \ -+ ((min) < 0 \ -+ ? (a) < - (max) \ -+ : 0 < (a)) -+ -+/* Return 1 if A * B would overflow in [MIN,MAX] arithmetic. -+ See above for restrictions. Avoid && and || as they tickle -+ bugs in Sun C 5.11 2010/08/13 and other compilers; see -+ . */ -+#define INT_MULTIPLY_RANGE_OVERFLOW(a, b, min, max) \ -+ ((b) < 0 \ -+ ? ((a) < 0 \ -+ ? (a) < (max) / (b) \ -+ : (b) == -1 \ -+ ? 0 \ -+ : (min) / (b) < (a)) \ -+ : (b) == 0 \ -+ ? 0 \ -+ : ((a) < 0 \ -+ ? (a) < (min) / (b) \ -+ : (max) / (b) < (a))) -+ -+/* Return 1 if A / B would overflow in [MIN,MAX] arithmetic. -+ See above for restrictions. Do not check for division by zero. */ -+#define INT_DIVIDE_RANGE_OVERFLOW(a, b, min, max) \ -+ ((min) < 0 && (b) == -1 && (a) < - (max)) -+ -+/* Return 1 if A % B would overflow in [MIN,MAX] arithmetic. -+ See above for restrictions. Do not check for division by zero. -+ Mathematically, % should never overflow, but on x86-like hosts -+ INT_MIN % -1 traps, and the C standard permits this, so treat this -+ as an overflow too. */ -+#define INT_REMAINDER_RANGE_OVERFLOW(a, b, min, max) \ -+ INT_DIVIDE_RANGE_OVERFLOW (a, b, min, max) -+ -+/* Return 1 if A << B would overflow in [MIN,MAX] arithmetic. -+ See above for restrictions. Here, MIN and MAX are for A only, and B need -+ not be of the same type as the other arguments. The C standard says that -+ behavior is undefined for shifts unless 0 <= B < wordwidth, and that when -+ A is negative then A << B has undefined behavior and A >> B has -+ implementation-defined behavior, but do not check these other -+ restrictions. */ -+#define INT_LEFT_SHIFT_RANGE_OVERFLOW(a, b, min, max) \ -+ ((a) < 0 \ -+ ? (a) < (min) >> (b) \ -+ : (max) >> (b) < (a)) -+ -+ -+/* The _GL*_OVERFLOW macros have the same restrictions as the -+ *_RANGE_OVERFLOW macros, except that they do not assume that operands -+ (e.g., A and B) have the same type as MIN and MAX. Instead, they assume -+ that the result (e.g., A + B) has that type. */ -+#define _GL_ADD_OVERFLOW(a, b, min, max) \ -+ ((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max) \ -+ : (a) < 0 ? (b) <= (a) + (b) \ -+ : (b) < 0 ? (a) <= (a) + (b) \ -+ : (a) + (b) < (b)) -+#define _GL_SUBTRACT_OVERFLOW(a, b, min, max) \ -+ ((min) < 0 ? INT_SUBTRACT_RANGE_OVERFLOW (a, b, min, max) \ -+ : (a) < 0 ? 1 \ -+ : (b) < 0 ? (a) - (b) <= (a) \ -+ : (a) < (b)) -+#define _GL_MULTIPLY_OVERFLOW(a, b, min, max) \ -+ (((min) == 0 && (((a) < 0 && 0 < (b)) || ((b) < 0 && 0 < (a)))) \ -+ || INT_MULTIPLY_RANGE_OVERFLOW (a, b, min, max)) -+#define _GL_DIVIDE_OVERFLOW(a, b, min, max) \ -+ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ -+ : (a) < 0 ? (b) <= (a) + (b) - 1 \ -+ : (b) < 0 && (a) + (b) <= (a)) -+#define _GL_REMAINDER_OVERFLOW(a, b, min, max) \ -+ ((min) < 0 ? (b) == _GL_INT_NEGATE_CONVERT (min, 1) && (a) < - (max) \ -+ : (a) < 0 ? (a) % (b) != ((max) - (b) + 1) % (b) \ -+ : (b) < 0 && ! _GL_UNSIGNED_NEG_MULTIPLE (a, b, max)) -+ -+/* Return a nonzero value if A is a mathematical multiple of B, where -+ A is unsigned, B is negative, and MAX is the maximum value of A's -+ type. A's type must be the same as (A % B)'s type. Normally (A % -+ -B == 0) suffices, but things get tricky if -B would overflow. */ -+#define _GL_UNSIGNED_NEG_MULTIPLE(a, b, max) \ -+ (((b) < -_GL_SIGNED_INT_MAXIMUM (b) \ -+ ? (_GL_SIGNED_INT_MAXIMUM (b) == (max) \ -+ ? (a) \ -+ : (a) % (_GL_INT_CONVERT (a, _GL_SIGNED_INT_MAXIMUM (b)) + 1)) \ -+ : (a) % - (b)) \ -+ == 0) -+ -+ -+/* Integer overflow checks. -+ -+ The INT__OVERFLOW macros return 1 if the corresponding C operators -+ might not yield numerically correct answers due to arithmetic overflow. -+ They work correctly on all known practical hosts, and do not rely -+ on undefined behavior due to signed arithmetic overflow. -+ -+ Example usage: -+ -+ long int i = ...; -+ long int j = ...; -+ if (INT_MULTIPLY_OVERFLOW (i, j)) -+ printf ("multiply would overflow"); -+ else -+ printf ("product is %ld", i * j); -+ -+ These macros do not check for all possible numerical problems or -+ undefined or unspecified behavior: they do not check for division -+ by zero, for bad shift counts, or for shifting negative numbers. -+ -+ These macros may evaluate their arguments zero or multiple times, so the -+ arguments should not have side effects. -+ -+ These macros are tuned for their last argument being a constant. -+ -+ Return 1 if the integer expressions A * B, A - B, -A, A * B, A / B, -+ A % B, and A << B would overflow, respectively. */ -+ -+#define INT_ADD_OVERFLOW(a, b) \ -+ _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW) -+#define INT_SUBTRACT_OVERFLOW(a, b) \ -+ _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW) -+#define INT_NEGATE_OVERFLOW(a) \ -+ INT_NEGATE_RANGE_OVERFLOW (a, _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) -+#define INT_MULTIPLY_OVERFLOW(a, b) \ -+ _GL_BINARY_OP_OVERFLOW (a, b, _GL_MULTIPLY_OVERFLOW) -+#define INT_DIVIDE_OVERFLOW(a, b) \ -+ _GL_BINARY_OP_OVERFLOW (a, b, _GL_DIVIDE_OVERFLOW) -+#define INT_REMAINDER_OVERFLOW(a, b) \ -+ _GL_BINARY_OP_OVERFLOW (a, b, _GL_REMAINDER_OVERFLOW) -+#define INT_LEFT_SHIFT_OVERFLOW(a, b) \ -+ INT_LEFT_SHIFT_RANGE_OVERFLOW (a, b, \ -+ _GL_INT_MINIMUM (a), _GL_INT_MAXIMUM (a)) -+ -+/* Return 1 if the expression A B would overflow, -+ where OP_RESULT_OVERFLOW (A, B, MIN, MAX) does the actual test, -+ assuming MIN and MAX are the minimum and maximum for the result type. -+ Arguments should be free of side effects. */ -+#define _GL_BINARY_OP_OVERFLOW(a, b, op_result_overflow) \ -+ op_result_overflow (a, b, \ -+ _GL_INT_MINIMUM (0 * (b) + (a)), \ -+ _GL_INT_MAXIMUM (0 * (b) + (a))) -+ -+#endif /* _GL_INTPROPS_H */ -diff -Naur libiconv-20130504/srclib/localcharset.h libiconv-20130504.patch/srclib/localcharset.h ---- libiconv-20130504/srclib/localcharset.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/localcharset.h 2013-05-04 10:20:07.627698792 +0200 -@@ -0,0 +1,40 @@ -+/* Determine a canonical name for the current locale's character encoding. -+ Copyright (C) 2000-2003, 2009-2013 Free Software Foundation, Inc. -+ This file is part of the GNU CHARSET Library. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License along -+ with this program; if not, see . */ -+ -+#ifndef _LOCALCHARSET_H -+#define _LOCALCHARSET_H -+ -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* Determine the current locale's character encoding, and canonicalize it -+ into one of the canonical names listed in config.charset. -+ The result must not be freed; it is statically allocated. -+ If the canonical name cannot be determined, the result is a non-canonical -+ name. */ -+extern const char * locale_charset (void); -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+ -+#endif /* _LOCALCHARSET_H */ -diff -Naur libiconv-20130504/srclib/lstat.c libiconv-20130504.patch/srclib/lstat.c ---- libiconv-20130504/srclib/lstat.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/lstat.c 2013-05-04 10:20:07.631698781 +0200 -@@ -0,0 +1,97 @@ -+/* Work around a bug of lstat on some systems -+ -+ Copyright (C) 1997-2006, 2008-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* written by Jim Meyering */ -+ -+/* If the user's config.h happens to include , let it include only -+ the system's here, so that orig_lstat doesn't recurse to -+ rpl_lstat. */ -+#define __need_system_sys_stat_h -+#include -+ -+#if !HAVE_LSTAT -+/* On systems that lack symlinks, our replacement already -+ defined lstat as stat, so there is nothing further to do other than -+ avoid an empty file. */ -+typedef int dummy; -+#else /* HAVE_LSTAT */ -+ -+/* Get the original definition of lstat. It might be defined as a macro. */ -+# include -+# include -+# undef __need_system_sys_stat_h -+ -+static int -+orig_lstat (const char *filename, struct stat *buf) -+{ -+ return lstat (filename, buf); -+} -+ -+/* Specification. */ -+/* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc -+ eliminates this include because of the preliminary #include -+ above. */ -+# include "sys/stat.h" -+ -+# include -+# include -+ -+/* lstat works differently on Linux and Solaris systems. POSIX (see -+ "pathname resolution" in the glossary) requires that programs like -+ 'ls' take into consideration the fact that FILE has a trailing slash -+ when FILE is a symbolic link. On Linux and Solaris 10 systems, the -+ lstat function already has the desired semantics (in treating -+ 'lstat ("symlink/", sbuf)' just like 'lstat ("symlink/.", sbuf)', -+ but on Solaris 9 and earlier it does not. -+ -+ If FILE has a trailing slash and specifies a symbolic link, -+ then use stat() to get more info on the referent of FILE. -+ If the referent is a non-directory, then set errno to ENOTDIR -+ and return -1. Otherwise, return stat's result. */ -+ -+int -+rpl_lstat (const char *file, struct stat *sbuf) -+{ -+ size_t len; -+ int lstat_result = orig_lstat (file, sbuf); -+ -+ if (lstat_result != 0) -+ return lstat_result; -+ -+ /* This replacement file can blindly check against '/' rather than -+ using the ISSLASH macro, because all platforms with '\\' either -+ lack symlinks (mingw) or have working lstat (cygwin) and thus do -+ not compile this file. 0 len should have already been filtered -+ out above, with a failure return of ENOENT. */ -+ len = strlen (file); -+ if (file[len - 1] != '/' || S_ISDIR (sbuf->st_mode)) -+ return 0; -+ -+ /* At this point, a trailing slash is only permitted on -+ symlink-to-dir; but it should have found information on the -+ directory, not the symlink. Call stat() to get info about the -+ link's referent. Our replacement stat guarantees valid results, -+ even if the symlink is not pointing to a directory. */ -+ if (!S_ISLNK (sbuf->st_mode)) -+ { -+ errno = ENOTDIR; -+ return -1; -+ } -+ return stat (file, sbuf); -+} -+ -+#endif /* HAVE_LSTAT */ -diff -Naur libiconv-20130504/srclib/Makefile.gnulib libiconv-20130504.patch/srclib/Makefile.gnulib ---- libiconv-20130504/srclib/Makefile.gnulib 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/Makefile.gnulib 2013-05-04 10:20:09.632692930 +0200 -@@ -0,0 +1,1320 @@ -+## DO NOT EDIT! GENERATED AUTOMATICALLY! -+## Process this file with automake to produce Makefile.in. -+# Copyright (C) 2002-2013 Free Software Foundation, Inc. -+# -+# This file is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This file 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 file. If not, see . -+# -+# As a special exception to the GNU General Public License, -+# this file may be distributed as part of a program that -+# contains a configuration script generated by Autoconf, under -+# the same distribution terms as the rest of that program. -+# -+# Generated by gnulib-tool. -+# Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libicrt --source-base=srclib --m4-base=srcm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --makefile-name=Makefile.gnulib --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files binary-io error gettext gettext-h libiconv-misc mbstate memmove progname relocatable-prog safe-read sigpipe stdio stdlib strerror unistd uniwidth/width unlocked-io xalloc -+ -+ -+MOSTLYCLEANFILES += core *.stackdump -+ -+noinst_LIBRARIES += libicrt.a -+ -+libicrt_a_SOURCES = -+libicrt_a_LIBADD = $(gl_LIBOBJS) -+libicrt_a_DEPENDENCIES = $(gl_LIBOBJS) -+EXTRA_libicrt_a_SOURCES = -+ -+## begin gnulib module alloca-opt -+ -+BUILT_SOURCES += $(ALLOCA_H) -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+if GL_GENERATE_ALLOCA_H -+alloca.h: alloca.in.h $(top_builddir)/config.status -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ cat $(srcdir)/alloca.in.h; \ -+ } > $@-t && \ -+ mv -f $@-t $@ -+else -+alloca.h: $(top_builddir)/config.status -+ rm -f $@ -+endif -+MOSTLYCLEANFILES += alloca.h alloca.h-t -+ -+EXTRA_DIST += alloca.in.h -+ -+## end gnulib module alloca-opt -+ -+## begin gnulib module allocator -+ -+libicrt_a_SOURCES += allocator.c -+ -+EXTRA_DIST += allocator.h -+ -+## end gnulib module allocator -+ -+## begin gnulib module areadlink -+ -+libicrt_a_SOURCES += areadlink.c -+ -+EXTRA_DIST += areadlink.h -+ -+## end gnulib module areadlink -+ -+## begin gnulib module binary-io -+ -+libicrt_a_SOURCES += binary-io.h binary-io.c -+ -+## end gnulib module binary-io -+ -+## begin gnulib module canonicalize-lgpl -+ -+ -+EXTRA_DIST += canonicalize-lgpl.c -+ -+EXTRA_libicrt_a_SOURCES += canonicalize-lgpl.c -+ -+## end gnulib module canonicalize-lgpl -+ -+## begin gnulib module careadlinkat -+ -+libicrt_a_SOURCES += careadlinkat.c -+ -+EXTRA_DIST += careadlinkat.h -+ -+## end gnulib module careadlinkat -+ -+## begin gnulib module dosname -+ -+ -+EXTRA_DIST += dosname.h -+ -+## end gnulib module dosname -+ -+## begin gnulib module errno -+ -+BUILT_SOURCES += $(ERRNO_H) -+ -+# We need the following in order to create when the system -+# doesn't have one that is POSIX compliant. -+if GL_GENERATE_ERRNO_H -+errno.h: errno.in.h $(top_builddir)/config.status -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ -+ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ -+ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ -+ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ -+ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ -+ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ -+ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ -+ < $(srcdir)/errno.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+else -+errno.h: $(top_builddir)/config.status -+ rm -f $@ -+endif -+MOSTLYCLEANFILES += errno.h errno.h-t -+ -+EXTRA_DIST += errno.in.h -+ -+## end gnulib module errno -+ -+## begin gnulib module error -+ -+ -+EXTRA_DIST += error.c error.h -+ -+EXTRA_libicrt_a_SOURCES += error.c -+ -+## end gnulib module error -+ -+## begin gnulib module fcntl-h -+ -+BUILT_SOURCES += fcntl.h -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -+ -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ -+ -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ -+ -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ -+ -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ -+ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -+ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -+ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -+ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -+ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/fcntl.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += fcntl.h fcntl.h-t -+ -+EXTRA_DIST += fcntl.in.h -+ -+## end gnulib module fcntl-h -+ -+## begin gnulib module gettext -+ -+# If your project uses "gettextize --intl" to put a source-code -+# copy of libintl into the package, every Makefile.am needs -+# -I$(top_builddir)/intl, so that can be found in this directory. -+# Here's one way to do this: -+#AM_CPPFLAGS += -I$(top_builddir)/intl -+# This option has no effect when the user disables NLS (because then -+# the intl directory contains no libintl.h file). This option is not -+# enabled by default because the intl directory might not exist if -+# your project does not use "gettext --intl", and some compilers -+# complain about -I options applied to nonexistent directories. -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath -+ -+## end gnulib module gettext -+ -+## begin gnulib module gettext-h -+ -+libicrt_a_SOURCES += gettext.h -+ -+## end gnulib module gettext-h -+ -+## begin gnulib module havelib -+ -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/config.rpath -+ -+## end gnulib module havelib -+ -+## begin gnulib module intprops -+ -+ -+EXTRA_DIST += intprops.h -+ -+## end gnulib module intprops -+ -+## begin gnulib module libiconv-misc -+ -+# Parametrization of the 'relocatable' module. -+AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -+ -+## end gnulib module libiconv-misc -+ -+## begin gnulib module lstat -+ -+ -+EXTRA_DIST += lstat.c -+ -+EXTRA_libicrt_a_SOURCES += lstat.c -+ -+## end gnulib module lstat -+ -+## begin gnulib module malloca -+ -+libicrt_a_SOURCES += malloca.c -+ -+EXTRA_DIST += malloca.h malloca.valgrind -+ -+## end gnulib module malloca -+ -+## begin gnulib module memmove -+ -+ -+EXTRA_DIST += memmove.c -+ -+EXTRA_libicrt_a_SOURCES += memmove.c -+ -+## end gnulib module memmove -+ -+## begin gnulib module msvc-inval -+ -+ -+EXTRA_DIST += msvc-inval.c msvc-inval.h -+ -+EXTRA_libicrt_a_SOURCES += msvc-inval.c -+ -+## end gnulib module msvc-inval -+ -+## begin gnulib module msvc-nothrow -+ -+ -+EXTRA_DIST += msvc-nothrow.c msvc-nothrow.h -+ -+EXTRA_libicrt_a_SOURCES += msvc-nothrow.c -+ -+## end gnulib module msvc-nothrow -+ -+## begin gnulib module pathmax -+ -+ -+EXTRA_DIST += pathmax.h -+ -+## end gnulib module pathmax -+ -+## begin gnulib module progname -+ -+libicrt_a_SOURCES += progname.h progname.c -+ -+## end gnulib module progname -+ -+## begin gnulib module raise -+ -+ -+EXTRA_DIST += raise.c -+ -+EXTRA_libicrt_a_SOURCES += raise.c -+ -+## end gnulib module raise -+ -+## begin gnulib module read -+ -+ -+EXTRA_DIST += read.c -+ -+EXTRA_libicrt_a_SOURCES += read.c -+ -+## end gnulib module read -+ -+## begin gnulib module readlink -+ -+ -+EXTRA_DIST += readlink.c -+ -+EXTRA_libicrt_a_SOURCES += readlink.c -+ -+## end gnulib module readlink -+ -+## begin gnulib module relocatable-prog -+ -+DEFS += -DEXEEXT=\"@EXEEXT@\" -+if RELOCATABLE_VIA_WRAPPER -+uninstall-hook: uninstall-relocwrapper -+uninstall-relocwrapper: -+ if test $(RELOCATABLE) = yes; then \ -+ case '$(EXEEXT)' in \ -+ .bin*) ;; \ -+ *) cd $(top_builddir) && \ -+ $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \ -+ AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \ -+ uninstall ;; \ -+ esac; \ -+ fi -+.PHONY: uninstall-relocwrapper -+endif -+ -+EXTRA_DIST += progreloc.c relocatable.c relocatable.h -+ -+EXTRA_libicrt_a_SOURCES += progreloc.c relocatable.c -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/config.libpath $(top_srcdir)/build-aux/reloc-ldflags -+ -+## end gnulib module relocatable-prog -+ -+## begin gnulib module relocatable-prog-wrapper -+ -+ -+EXTRA_DIST += allocator.c allocator.h areadlink.c areadlink.h c-ctype.c c-ctype.h canonicalize-lgpl.c careadlinkat.c careadlinkat.h malloca.c malloca.h progname.c progname.h progreloc.c readlink.c relocatable.c relocatable.h relocwrapper.c setenv.c -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/install-reloc -+ -+## end gnulib module relocatable-prog-wrapper -+ -+## begin gnulib module safe-read -+ -+libicrt_a_SOURCES += safe-read.c -+ -+EXTRA_DIST += safe-read.h -+ -+## end gnulib module safe-read -+ -+## begin gnulib module signal-h -+ -+BUILT_SOURCES += signal.h -+ -+# We need the following in order to create when the system -+# doesn't have a complete one. -+signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ -+ -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \ -+ -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \ -+ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -+ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -+ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -+ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ -+ -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ -+ -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -+ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -+ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -+ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -+ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -+ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -+ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ -+ -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ -+ -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/signal.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += signal.h signal.h-t -+ -+EXTRA_DIST += signal.in.h -+ -+## end gnulib module signal-h -+ -+## begin gnulib module sigpipe -+ -+ -+EXTRA_DIST += stdio-write.c -+ -+EXTRA_libicrt_a_SOURCES += stdio-write.c -+ -+## end gnulib module sigpipe -+ -+## begin gnulib module sigprocmask -+ -+ -+EXTRA_DIST += sigprocmask.c -+ -+EXTRA_libicrt_a_SOURCES += sigprocmask.c -+ -+## end gnulib module sigprocmask -+ -+## begin gnulib module snippet/_Noreturn -+ -+# Because this Makefile snippet defines a variable used by other -+# gnulib Makefile snippets, it must be present in all Makefile.am that -+# need it. This is ensured by the applicability 'all' defined above. -+ -+_NORETURN_H=$(top_srcdir)/build-aux/snippet/_Noreturn.h -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/snippet/_Noreturn.h -+ -+## end gnulib module snippet/_Noreturn -+ -+## begin gnulib module snippet/arg-nonnull -+ -+# The BUILT_SOURCES created by this Makefile snippet are not used via #include -+# statements but through direct file reference. Therefore this snippet must be -+# present in all Makefile.am that need it. This is ensured by the applicability -+# 'all' defined above. -+ -+BUILT_SOURCES += arg-nonnull.h -+# The arg-nonnull.h that gets inserted into generated .h files is the same as -+# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut -+# off. -+arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ sed -n -e '/GL_ARG_NONNULL/,$$p' \ -+ < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ -+ > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += arg-nonnull.h arg-nonnull.h-t -+ -+ARG_NONNULL_H=arg-nonnull.h -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/snippet/arg-nonnull.h -+ -+## end gnulib module snippet/arg-nonnull -+ -+## begin gnulib module snippet/c++defs -+ -+# The BUILT_SOURCES created by this Makefile snippet are not used via #include -+# statements but through direct file reference. Therefore this snippet must be -+# present in all Makefile.am that need it. This is ensured by the applicability -+# 'all' defined above. -+ -+BUILT_SOURCES += c++defs.h -+# The c++defs.h that gets inserted into generated .h files is the same as -+# build-aux/snippet/c++defs.h, except that it has the copyright header cut off. -+c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ sed -n -e '/_GL_CXXDEFS/,$$p' \ -+ < $(top_srcdir)/build-aux/snippet/c++defs.h \ -+ > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += c++defs.h c++defs.h-t -+ -+CXXDEFS_H=c++defs.h -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/snippet/c++defs.h -+ -+## end gnulib module snippet/c++defs -+ -+## begin gnulib module snippet/warn-on-use -+ -+BUILT_SOURCES += warn-on-use.h -+# The warn-on-use.h that gets inserted into generated .h files is the same as -+# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut -+# off. -+warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ sed -n -e '/^.ifndef/,$$p' \ -+ < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ -+ > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += warn-on-use.h warn-on-use.h-t -+ -+WARN_ON_USE_H=warn-on-use.h -+ -+EXTRA_DIST += $(top_srcdir)/build-aux/snippet/warn-on-use.h -+ -+## end gnulib module snippet/warn-on-use -+ -+## begin gnulib module stat -+ -+ -+EXTRA_DIST += stat.c -+ -+EXTRA_libicrt_a_SOURCES += stat.c -+ -+## end gnulib module stat -+ -+## begin gnulib module stdbool -+ -+BUILT_SOURCES += $(STDBOOL_H) -+ -+# We need the following in order to create when the system -+# doesn't have one that works. -+if GL_GENERATE_STDBOOL_H -+stdbool.h: stdbool.in.h $(top_builddir)/config.status -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+else -+stdbool.h: $(top_builddir)/config.status -+ rm -f $@ -+endif -+MOSTLYCLEANFILES += stdbool.h stdbool.h-t -+ -+EXTRA_DIST += stdbool.in.h -+ -+## end gnulib module stdbool -+ -+## begin gnulib module stddef -+ -+BUILT_SOURCES += $(STDDEF_H) -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+if GL_GENERATE_STDDEF_H -+stddef.h: stddef.in.h $(top_builddir)/config.status -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ -+ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ -+ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ -+ < $(srcdir)/stddef.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+else -+stddef.h: $(top_builddir)/config.status -+ rm -f $@ -+endif -+MOSTLYCLEANFILES += stddef.h stddef.h-t -+ -+EXTRA_DIST += stddef.in.h -+ -+## end gnulib module stddef -+ -+## begin gnulib module stdint -+ -+BUILT_SOURCES += $(STDINT_H) -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+if GL_GENERATE_STDINT_H -+stdint.h: stdint.in.h $(top_builddir)/config.status -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ -+ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ -+ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -+ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ -+ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ -+ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ -+ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -+ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -+ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -+ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ -+ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ -+ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ -+ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ -+ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ -+ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ -+ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ -+ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ -+ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ -+ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ -+ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ -+ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ -+ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ -+ < $(srcdir)/stdint.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+else -+stdint.h: $(top_builddir)/config.status -+ rm -f $@ -+endif -+MOSTLYCLEANFILES += stdint.h stdint.h-t -+ -+EXTRA_DIST += stdint.in.h -+ -+## end gnulib module stdint -+ -+## begin gnulib module stdio -+ -+BUILT_SOURCES += stdio.h -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -+ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -+ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ -+ -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -+ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -+ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -+ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ -+ -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ -+ -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ -+ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ -+ -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ -+ -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ -+ -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ -+ -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ -+ -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ -+ -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ -+ -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ -+ -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ -+ -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ -+ -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ -+ -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ -+ -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ -+ -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ -+ -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ -+ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -+ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -+ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -+ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -+ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ -+ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ -+ -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ -+ -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ -+ -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ -+ -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ -+ -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ -+ -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ -+ -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ -+ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ -+ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ -+ -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ -+ -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ -+ -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ -+ -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ -+ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ -+ -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ -+ -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ -+ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ -+ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ -+ < $(srcdir)/stdio.in.h | \ -+ sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -+ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -+ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -+ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -+ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -+ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -+ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -+ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -+ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -+ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -+ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -+ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -+ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -+ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -+ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -+ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -+ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -+ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -+ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -+ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -+ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -+ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -+ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -+ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -+ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -+ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -+ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -+ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -+ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -+ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -+ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -+ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -+ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -+ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -+ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -+ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -+ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -+ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -+ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -+ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -+ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -+ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -+ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -+ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -+ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -+ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -+ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -+ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -+ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += stdio.h stdio.h-t -+ -+EXTRA_DIST += stdio.in.h -+ -+## end gnulib module stdio -+ -+## begin gnulib module stdlib -+ -+BUILT_SOURCES += stdlib.h -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ -+ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -+ -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ -+ -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ -+ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ -+ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ -+ -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ -+ -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ -+ -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ -+ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ -+ -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ -+ -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ -+ -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ -+ -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ -+ -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ -+ -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ -+ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ -+ -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ -+ -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ -+ -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ -+ -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ -+ -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ -+ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ -+ -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ -+ -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ -+ -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \ -+ -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ -+ -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ -+ -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ -+ -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ -+ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ -+ -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ -+ -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ -+ -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ -+ < $(srcdir)/stdlib.in.h | \ -+ sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -+ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -+ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -+ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -+ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -+ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -+ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -+ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -+ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -+ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -+ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -+ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -+ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -+ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -+ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -+ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -+ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -+ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -+ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -+ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -+ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -+ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -+ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -+ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -+ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -+ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -+ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -+ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ -+ -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ -+ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -+ -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ -+ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -+ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -+ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -+ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -+ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -+ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -+ -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ -+ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -+ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -+ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -+ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -+ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += stdlib.h stdlib.h-t -+ -+EXTRA_DIST += stdlib.in.h -+ -+## end gnulib module stdlib -+ -+## begin gnulib module streq -+ -+ -+EXTRA_DIST += streq.h -+ -+## end gnulib module streq -+ -+## begin gnulib module strerror -+ -+ -+EXTRA_DIST += strerror.c -+ -+EXTRA_libicrt_a_SOURCES += strerror.c -+ -+## end gnulib module strerror -+ -+## begin gnulib module strerror-override -+ -+ -+EXTRA_DIST += strerror-override.c strerror-override.h -+ -+EXTRA_libicrt_a_SOURCES += strerror-override.c -+ -+## end gnulib module strerror-override -+ -+## begin gnulib module string -+ -+BUILT_SOURCES += string.h -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -+ -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ -+ -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -+ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -+ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -+ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ -+ -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ -+ -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ -+ -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ -+ -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ -+ -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ -+ -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ -+ -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ -+ -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ -+ -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ -+ -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ -+ -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ -+ -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ -+ -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ -+ -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ -+ -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ -+ -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ -+ -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ -+ -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ -+ -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ -+ -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ -+ -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ -+ -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ -+ -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ -+ -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ -+ -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ -+ -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ -+ -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ -+ -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ -+ -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ -+ -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ -+ -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -+ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ -+ < $(srcdir)/string.in.h | \ -+ sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -+ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -+ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -+ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -+ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -+ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -+ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -+ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -+ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -+ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -+ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -+ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -+ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -+ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -+ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -+ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -+ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -+ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -+ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -+ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -+ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -+ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -+ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -+ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -+ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -+ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -+ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -+ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -+ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -+ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -+ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -+ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -+ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -+ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -+ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -+ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ < $(srcdir)/string.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += string.h string.h-t -+ -+EXTRA_DIST += string.in.h -+ -+## end gnulib module string -+ -+## begin gnulib module sys_stat -+ -+BUILT_SOURCES += sys/stat.h -+ -+# We need the following in order to create when the system -+# has one that is incomplete. -+sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_at)$(MKDIR_P) sys -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -+ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -+ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ -+ -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -+ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -+ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -+ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ -+ -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ -+ -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ -+ -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ -+ -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ -+ -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ -+ -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ -+ -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ -+ -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ -+ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -+ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -+ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -+ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -+ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -+ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -+ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -+ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -+ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -+ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -+ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -+ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -+ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -+ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -+ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -+ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -+ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -+ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -+ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -+ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/sys_stat.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t -+MOSTLYCLEANDIRS += sys -+ -+EXTRA_DIST += sys_stat.in.h -+ -+## end gnulib module sys_stat -+ -+## begin gnulib module sys_types -+ -+BUILT_SOURCES += sys/types.h -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+sys/types.h: sys_types.in.h $(top_builddir)/config.status -+ $(AM_V_at)$(MKDIR_P) sys -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -+ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -+ < $(srcdir)/sys_types.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += sys/types.h sys/types.h-t -+ -+EXTRA_DIST += sys_types.in.h -+ -+## end gnulib module sys_types -+ -+## begin gnulib module time -+ -+BUILT_SOURCES += time.h -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -+ -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ -+ -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ -+ -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ -+ -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ -+ -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ -+ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -+ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -+ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -+ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -+ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -+ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -+ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -+ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -+ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -+ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -+ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/time.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += time.h time.h-t -+ -+EXTRA_DIST += time.in.h -+ -+## end gnulib module time -+ -+## begin gnulib module unistd -+ -+BUILT_SOURCES += unistd.h -+libicrt_a_SOURCES += unistd.c -+ -+# We need the following in order to create an empty placeholder for -+# when the system doesn't have one. -+unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -+ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -+ -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -+ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -+ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -+ -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -+ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -+ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -+ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ -+ -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ -+ -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -+ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -+ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ -+ -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -+ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -+ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -+ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ -+ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ -+ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ -+ -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ -+ -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ -+ -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ -+ -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ -+ -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ -+ -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ -+ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ -+ -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ -+ -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ -+ -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ -+ -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ -+ -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ -+ -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ -+ -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ -+ -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ -+ -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ -+ -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ -+ -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ -+ -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ -+ -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ -+ -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ -+ -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ -+ -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ -+ -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ -+ -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ -+ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ -+ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ -+ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ -+ -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ -+ -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ -+ -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ -+ -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ -+ < $(srcdir)/unistd.in.h | \ -+ sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -+ -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ -+ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -+ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -+ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -+ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -+ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -+ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -+ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -+ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -+ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -+ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -+ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -+ -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ -+ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -+ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -+ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -+ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -+ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -+ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -+ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -+ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -+ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -+ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -+ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -+ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -+ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -+ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -+ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -+ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -+ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -+ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -+ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -+ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -+ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -+ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -+ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -+ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -+ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -+ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -+ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -+ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ -+ | \ -+ sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -+ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -+ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -+ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -+ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -+ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -+ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -+ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -+ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -+ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -+ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -+ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -+ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -+ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -+ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -+ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -+ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -+ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -+ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -+ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -+ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -+ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -+ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -+ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -+ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -+ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -+ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -+ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -+ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -+ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ } > $@-t && \ -+ mv $@-t $@ -+MOSTLYCLEANFILES += unistd.h unistd.h-t -+ -+EXTRA_DIST += unistd.in.h -+ -+## end gnulib module unistd -+ -+## begin gnulib module unitypes -+ -+BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H) -+ -+unitypes.h: unitypes.in.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ cat $(srcdir)/unitypes.in.h; \ -+ } > $@-t && \ -+ mv -f $@-t $@ -+MOSTLYCLEANFILES += unitypes.h unitypes.h-t -+ -+EXTRA_DIST += unitypes.in.h -+ -+## end gnulib module unitypes -+ -+## begin gnulib module uniwidth/base -+ -+BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H) -+ -+uniwidth.h: uniwidth.in.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ cat $(srcdir)/uniwidth.in.h; \ -+ } > $@-t && \ -+ mv -f $@-t $@ -+MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t -+ -+EXTRA_DIST += localcharset.h uniwidth.in.h -+ -+## end gnulib module uniwidth/base -+ -+## begin gnulib module uniwidth/width -+ -+if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH -+libicrt_a_SOURCES += uniwidth/width.c -+endif -+ -+EXTRA_DIST += uniwidth/cjk.h -+ -+## end gnulib module uniwidth/width -+ -+## begin gnulib module unlocked-io -+ -+ -+EXTRA_DIST += unlocked-io.h -+ -+## end gnulib module unlocked-io -+ -+## begin gnulib module verify -+ -+ -+EXTRA_DIST += verify.h -+ -+## end gnulib module verify -+ -+## begin gnulib module xalloc -+ -+libicrt_a_SOURCES += xalloc.h xmalloc.c xstrdup.c -+ -+## end gnulib module xalloc -+ -+## begin gnulib module xreadlink -+ -+libicrt_a_SOURCES += xreadlink.c -+ -+EXTRA_DIST += xreadlink.h -+ -+## end gnulib module xreadlink -+ -+ -+mostlyclean-local: mostlyclean-generic -+ @for dir in '' $(MOSTLYCLEANDIRS); do \ -+ if test -n "$$dir" && test -d $$dir; then \ -+ echo "rmdir $$dir"; rmdir $$dir; \ -+ fi; \ -+ done; \ -+ : -diff -Naur libiconv-20130504/srclib/Makefile.in libiconv-20130504.patch/srclib/Makefile.in ---- libiconv-20130504/srclib/Makefile.in 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/Makefile.in 2013-05-04 10:21:38.904431769 +0200 -@@ -0,0 +1,2001 @@ -+# Makefile.in generated by automake 1.12.2 from Makefile.am. -+# @configure_input@ -+ -+# Copyright (C) 1994-2012 Free Software Foundation, Inc. -+ -+# This Makefile.in is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -+# PARTICULAR PURPOSE. -+ -+@SET_MAKE@ -+ -+# Copyright (C) 2002-2013 Free Software Foundation, Inc. -+# -+# This file is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This file 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 file. If not, see . -+# -+# As a special exception to the GNU General Public License, -+# this file may be distributed as part of a program that -+# contains a configuration script generated by Autoconf, under -+# the same distribution terms as the rest of that program. -+# -+# Generated by gnulib-tool. -+# Reproduce by: gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libicrt --source-base=srclib --m4-base=srcm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --makefile-name=Makefile.gnulib --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files binary-io error gettext gettext-h libiconv-misc mbstate memmove progname relocatable-prog safe-read sigpipe stdio stdlib strerror unistd uniwidth/width unlocked-io xalloc -+ -+VPATH = @srcdir@ -+am__make_dryrun = \ -+ { \ -+ am__dry=no; \ -+ case $$MAKEFLAGS in \ -+ *\\[\ \ ]*) \ -+ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ -+ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ -+ *) \ -+ for am__flg in $$MAKEFLAGS; do \ -+ case $$am__flg in \ -+ *=*|--*) ;; \ -+ *n*) am__dry=yes; break;; \ -+ esac; \ -+ done;; \ -+ esac; \ -+ test $$am__dry = yes; \ -+ } -+pkgdatadir = $(datadir)/@PACKAGE@ -+pkgincludedir = $(includedir)/@PACKAGE@ -+pkglibdir = $(libdir)/@PACKAGE@ -+pkglibexecdir = $(libexecdir)/@PACKAGE@ -+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -+install_sh_DATA = $(install_sh) -c -m 644 -+install_sh_PROGRAM = $(install_sh) -c -+install_sh_SCRIPT = $(install_sh) -c -+INSTALL_HEADER = $(INSTALL_DATA) -+transform = $(program_transform_name) -+NORMAL_INSTALL = : -+PRE_INSTALL = : -+POST_INSTALL = : -+NORMAL_UNINSTALL = : -+PRE_UNINSTALL = : -+POST_UNINSTALL = : -+build_triplet = @build@ -+host_triplet = @host@ -+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.gnulib \ -+ $(srcdir)/Makefile.in $(top_srcdir)/build-aux/mkinstalldirs -+@LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE@am__append_1 = uniwidth/width.c -+subdir = srclib -+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -+am__aclocal_m4_deps = $(top_srcdir)/srcm4/00gnulib.m4 \ -+ $(top_srcdir)/srcm4/alloca.m4 \ -+ $(top_srcdir)/srcm4/asm-underscore.m4 \ -+ $(top_srcdir)/srcm4/canonicalize.m4 \ -+ $(top_srcdir)/srcm4/codeset.m4 \ -+ $(top_srcdir)/srcm4/double-slash-root.m4 \ -+ $(top_srcdir)/srcm4/eealloc.m4 $(top_srcdir)/srcm4/environ.m4 \ -+ $(top_srcdir)/srcm4/errno_h.m4 $(top_srcdir)/srcm4/error.m4 \ -+ $(top_srcdir)/srcm4/extensions.m4 \ -+ $(top_srcdir)/srcm4/extern-inline.m4 \ -+ $(top_srcdir)/srcm4/fcntl_h.m4 $(top_srcdir)/srcm4/gettext.m4 \ -+ $(top_srcdir)/srcm4/gnulib-common.m4 \ -+ $(top_srcdir)/srcm4/gnulib-comp.m4 \ -+ $(top_srcdir)/srcm4/iconv.m4 \ -+ $(top_srcdir)/srcm4/include_next.m4 \ -+ $(top_srcdir)/srcm4/intlmacosx.m4 \ -+ $(top_srcdir)/srcm4/largefile.m4 $(top_srcdir)/srcm4/lib-ld.m4 \ -+ $(top_srcdir)/srcm4/lib-link.m4 \ -+ $(top_srcdir)/srcm4/lib-prefix.m4 \ -+ $(top_srcdir)/srcm4/libunistring-base.m4 \ -+ $(top_srcdir)/srcm4/longlong.m4 $(top_srcdir)/srcm4/lstat.m4 \ -+ $(top_srcdir)/srcm4/malloca.m4 \ -+ $(top_srcdir)/srcm4/mbstate_t.m4 \ -+ $(top_srcdir)/srcm4/memmove.m4 \ -+ $(top_srcdir)/srcm4/msvc-inval.m4 \ -+ $(top_srcdir)/srcm4/msvc-nothrow.m4 \ -+ $(top_srcdir)/srcm4/multiarch.m4 $(top_srcdir)/srcm4/nls.m4 \ -+ $(top_srcdir)/srcm4/nocrash.m4 $(top_srcdir)/srcm4/off_t.m4 \ -+ $(top_srcdir)/srcm4/pathmax.m4 $(top_srcdir)/srcm4/po.m4 \ -+ $(top_srcdir)/srcm4/progtest.m4 $(top_srcdir)/srcm4/raise.m4 \ -+ $(top_srcdir)/srcm4/read.m4 $(top_srcdir)/srcm4/readlink.m4 \ -+ $(top_srcdir)/srcm4/relocatable-lib.m4 \ -+ $(top_srcdir)/srcm4/relocatable.m4 \ -+ $(top_srcdir)/srcm4/safe-read.m4 $(top_srcdir)/srcm4/setenv.m4 \ -+ $(top_srcdir)/srcm4/signal_h.m4 \ -+ $(top_srcdir)/srcm4/signalblocking.m4 \ -+ $(top_srcdir)/srcm4/sigpipe.m4 $(top_srcdir)/srcm4/ssize_t.m4 \ -+ $(top_srcdir)/srcm4/stat.m4 $(top_srcdir)/srcm4/stdbool.m4 \ -+ $(top_srcdir)/srcm4/stddef_h.m4 $(top_srcdir)/srcm4/stdint.m4 \ -+ $(top_srcdir)/srcm4/stdio_h.m4 $(top_srcdir)/srcm4/stdlib_h.m4 \ -+ $(top_srcdir)/srcm4/strerror.m4 \ -+ $(top_srcdir)/srcm4/string_h.m4 \ -+ $(top_srcdir)/srcm4/sys_socket_h.m4 \ -+ $(top_srcdir)/srcm4/sys_stat_h.m4 \ -+ $(top_srcdir)/srcm4/sys_types_h.m4 \ -+ $(top_srcdir)/srcm4/time_h.m4 $(top_srcdir)/srcm4/unistd_h.m4 \ -+ $(top_srcdir)/srcm4/unlocked-io.m4 \ -+ $(top_srcdir)/srcm4/visibility.m4 \ -+ $(top_srcdir)/srcm4/warn-on-use.m4 \ -+ $(top_srcdir)/srcm4/wchar_t.m4 $(top_srcdir)/m4/cp.m4 \ -+ $(top_srcdir)/m4/eilseq.m4 $(top_srcdir)/m4/endian.m4 \ -+ $(top_srcdir)/m4/fcntl-o.m4 $(top_srcdir)/m4/libtool.m4 \ -+ $(top_srcdir)/m4/ln.m4 $(top_srcdir)/m4/ltoptions.m4 \ -+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ -+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac -+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ -+ $(ACLOCAL_M4) -+mkinstalldirs = $(SHELL) $(top_srcdir)/build-aux/mkinstalldirs -+CONFIG_HEADER = $(top_builddir)/config.h $(top_builddir)/lib/config.h -+CONFIG_CLEAN_FILES = -+CONFIG_CLEAN_VPATH_FILES = -+LIBRARIES = $(noinst_LIBRARIES) -+libicrt_a_AR = $(AR) $(ARFLAGS) -+am__DEPENDENCIES_1 = -+am__libicrt_a_SOURCES_DIST = allocator.c areadlink.c binary-io.h \ -+ binary-io.c careadlinkat.c gettext.h malloca.c progname.h \ -+ progname.c safe-read.c unistd.c uniwidth/width.c xalloc.h \ -+ xmalloc.c xstrdup.c xreadlink.c -+@LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE@am__objects_1 = \ -+@LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH_TRUE@ width.$(OBJEXT) -+am_libicrt_a_OBJECTS = allocator.$(OBJEXT) areadlink.$(OBJEXT) \ -+ binary-io.$(OBJEXT) careadlinkat.$(OBJEXT) malloca.$(OBJEXT) \ -+ progname.$(OBJEXT) safe-read.$(OBJEXT) unistd.$(OBJEXT) \ -+ $(am__objects_1) xmalloc.$(OBJEXT) xstrdup.$(OBJEXT) \ -+ xreadlink.$(OBJEXT) -+libicrt_a_OBJECTS = $(am_libicrt_a_OBJECTS) -+DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) -I$(top_builddir)/lib -+depcomp = -+am__depfiles_maybe = -+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ -+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -+LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ -+ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -+CCLD = $(CC) -+LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ -+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ -+ $(LDFLAGS) -o $@ -+SOURCES = $(libicrt_a_SOURCES) $(EXTRA_libicrt_a_SOURCES) -+DIST_SOURCES = $(am__libicrt_a_SOURCES_DIST) \ -+ $(EXTRA_libicrt_a_SOURCES) -+am__can_run_installinfo = \ -+ case $$AM_UPDATE_INFO_DIR in \ -+ n|no|NO) false;; \ -+ *) (install-info --version) >/dev/null 2>&1;; \ -+ esac -+ETAGS = etags -+CTAGS = ctags -+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -+ACLOCAL = @ACLOCAL@ -+ALLOCA = @ALLOCA@ -+ALLOCA_H = @ALLOCA_H@ -+AMTAR = @AMTAR@ -+APPLE_UNIVERSAL_BUILD = @APPLE_UNIVERSAL_BUILD@ -+AR = @AR@ -+ARFLAGS = @ARFLAGS@ -+AS = @AS@ -+ASM_SYMBOL_PREFIX = @ASM_SYMBOL_PREFIX@ -+AUTOCONF = @AUTOCONF@ -+AUTOHEADER = @AUTOHEADER@ -+AUTOMAKE = @AUTOMAKE@ -+AWK = @AWK@ -+BITSIZEOF_PTRDIFF_T = @BITSIZEOF_PTRDIFF_T@ -+BITSIZEOF_SIG_ATOMIC_T = @BITSIZEOF_SIG_ATOMIC_T@ -+BITSIZEOF_SIZE_T = @BITSIZEOF_SIZE_T@ -+BITSIZEOF_WCHAR_T = @BITSIZEOF_WCHAR_T@ -+BITSIZEOF_WINT_T = @BITSIZEOF_WINT_T@ -+BROKEN_WCHAR_H = @BROKEN_WCHAR_H@ -+CC = @CC@ -+CCDEPMODE = @CCDEPMODE@ -+CFLAGS = @CFLAGS@ -+CFLAG_VISIBILITY = @CFLAG_VISIBILITY@ -+CP = @CP@ -+CPP = @CPP@ -+CPPFLAGS = @CPPFLAGS@ -+CYGPATH_W = @CYGPATH_W@ -+DEFS = @DEFS@ -DEXEEXT=\"@EXEEXT@\" -+DEPDIR = @DEPDIR@ -+DLLTOOL = @DLLTOOL@ -+DLL_VARIABLE = @DLL_VARIABLE@ -+DSYMUTIL = @DSYMUTIL@ -+DUMPBIN = @DUMPBIN@ -+ECHO_C = @ECHO_C@ -+ECHO_N = @ECHO_N@ -+ECHO_T = @ECHO_T@ -+EGREP = @EGREP@ -+EILSEQ = @EILSEQ@ -+EMULTIHOP_HIDDEN = @EMULTIHOP_HIDDEN@ -+EMULTIHOP_VALUE = @EMULTIHOP_VALUE@ -+ENOLINK_HIDDEN = @ENOLINK_HIDDEN@ -+ENOLINK_VALUE = @ENOLINK_VALUE@ -+EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@ -+EOVERFLOW_VALUE = @EOVERFLOW_VALUE@ -+ERRNO_H = @ERRNO_H@ -+EXEEXT = @EXEEXT@ -+FGREP = @FGREP@ -+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ -+GMSGFMT = @GMSGFMT@ -+GMSGFMT_015 = @GMSGFMT_015@ -+GNULIB_ATOLL = @GNULIB_ATOLL@ -+GNULIB_CALLOC_POSIX = @GNULIB_CALLOC_POSIX@ -+GNULIB_CANONICALIZE_FILE_NAME = @GNULIB_CANONICALIZE_FILE_NAME@ -+GNULIB_CHDIR = @GNULIB_CHDIR@ -+GNULIB_CHOWN = @GNULIB_CHOWN@ -+GNULIB_CLOSE = @GNULIB_CLOSE@ -+GNULIB_DPRINTF = @GNULIB_DPRINTF@ -+GNULIB_DUP = @GNULIB_DUP@ -+GNULIB_DUP2 = @GNULIB_DUP2@ -+GNULIB_DUP3 = @GNULIB_DUP3@ -+GNULIB_ENVIRON = @GNULIB_ENVIRON@ -+GNULIB_EUIDACCESS = @GNULIB_EUIDACCESS@ -+GNULIB_FACCESSAT = @GNULIB_FACCESSAT@ -+GNULIB_FCHDIR = @GNULIB_FCHDIR@ -+GNULIB_FCHMODAT = @GNULIB_FCHMODAT@ -+GNULIB_FCHOWNAT = @GNULIB_FCHOWNAT@ -+GNULIB_FCLOSE = @GNULIB_FCLOSE@ -+GNULIB_FCNTL = @GNULIB_FCNTL@ -+GNULIB_FDATASYNC = @GNULIB_FDATASYNC@ -+GNULIB_FDOPEN = @GNULIB_FDOPEN@ -+GNULIB_FFLUSH = @GNULIB_FFLUSH@ -+GNULIB_FFSL = @GNULIB_FFSL@ -+GNULIB_FFSLL = @GNULIB_FFSLL@ -+GNULIB_FGETC = @GNULIB_FGETC@ -+GNULIB_FGETS = @GNULIB_FGETS@ -+GNULIB_FOPEN = @GNULIB_FOPEN@ -+GNULIB_FPRINTF = @GNULIB_FPRINTF@ -+GNULIB_FPRINTF_POSIX = @GNULIB_FPRINTF_POSIX@ -+GNULIB_FPURGE = @GNULIB_FPURGE@ -+GNULIB_FPUTC = @GNULIB_FPUTC@ -+GNULIB_FPUTS = @GNULIB_FPUTS@ -+GNULIB_FREAD = @GNULIB_FREAD@ -+GNULIB_FREOPEN = @GNULIB_FREOPEN@ -+GNULIB_FSCANF = @GNULIB_FSCANF@ -+GNULIB_FSEEK = @GNULIB_FSEEK@ -+GNULIB_FSEEKO = @GNULIB_FSEEKO@ -+GNULIB_FSTAT = @GNULIB_FSTAT@ -+GNULIB_FSTATAT = @GNULIB_FSTATAT@ -+GNULIB_FSYNC = @GNULIB_FSYNC@ -+GNULIB_FTELL = @GNULIB_FTELL@ -+GNULIB_FTELLO = @GNULIB_FTELLO@ -+GNULIB_FTRUNCATE = @GNULIB_FTRUNCATE@ -+GNULIB_FUTIMENS = @GNULIB_FUTIMENS@ -+GNULIB_FWRITE = @GNULIB_FWRITE@ -+GNULIB_GETC = @GNULIB_GETC@ -+GNULIB_GETCHAR = @GNULIB_GETCHAR@ -+GNULIB_GETCWD = @GNULIB_GETCWD@ -+GNULIB_GETDELIM = @GNULIB_GETDELIM@ -+GNULIB_GETDOMAINNAME = @GNULIB_GETDOMAINNAME@ -+GNULIB_GETDTABLESIZE = @GNULIB_GETDTABLESIZE@ -+GNULIB_GETGROUPS = @GNULIB_GETGROUPS@ -+GNULIB_GETHOSTNAME = @GNULIB_GETHOSTNAME@ -+GNULIB_GETLINE = @GNULIB_GETLINE@ -+GNULIB_GETLOADAVG = @GNULIB_GETLOADAVG@ -+GNULIB_GETLOGIN = @GNULIB_GETLOGIN@ -+GNULIB_GETLOGIN_R = @GNULIB_GETLOGIN_R@ -+GNULIB_GETPAGESIZE = @GNULIB_GETPAGESIZE@ -+GNULIB_GETSUBOPT = @GNULIB_GETSUBOPT@ -+GNULIB_GETUSERSHELL = @GNULIB_GETUSERSHELL@ -+GNULIB_GRANTPT = @GNULIB_GRANTPT@ -+GNULIB_GROUP_MEMBER = @GNULIB_GROUP_MEMBER@ -+GNULIB_ISATTY = @GNULIB_ISATTY@ -+GNULIB_LCHMOD = @GNULIB_LCHMOD@ -+GNULIB_LCHOWN = @GNULIB_LCHOWN@ -+GNULIB_LINK = @GNULIB_LINK@ -+GNULIB_LINKAT = @GNULIB_LINKAT@ -+GNULIB_LSEEK = @GNULIB_LSEEK@ -+GNULIB_LSTAT = @GNULIB_LSTAT@ -+GNULIB_MALLOC_POSIX = @GNULIB_MALLOC_POSIX@ -+GNULIB_MBSCASECMP = @GNULIB_MBSCASECMP@ -+GNULIB_MBSCASESTR = @GNULIB_MBSCASESTR@ -+GNULIB_MBSCHR = @GNULIB_MBSCHR@ -+GNULIB_MBSCSPN = @GNULIB_MBSCSPN@ -+GNULIB_MBSLEN = @GNULIB_MBSLEN@ -+GNULIB_MBSNCASECMP = @GNULIB_MBSNCASECMP@ -+GNULIB_MBSNLEN = @GNULIB_MBSNLEN@ -+GNULIB_MBSPBRK = @GNULIB_MBSPBRK@ -+GNULIB_MBSPCASECMP = @GNULIB_MBSPCASECMP@ -+GNULIB_MBSRCHR = @GNULIB_MBSRCHR@ -+GNULIB_MBSSEP = @GNULIB_MBSSEP@ -+GNULIB_MBSSPN = @GNULIB_MBSSPN@ -+GNULIB_MBSSTR = @GNULIB_MBSSTR@ -+GNULIB_MBSTOK_R = @GNULIB_MBSTOK_R@ -+GNULIB_MBTOWC = @GNULIB_MBTOWC@ -+GNULIB_MEMCHR = @GNULIB_MEMCHR@ -+GNULIB_MEMMEM = @GNULIB_MEMMEM@ -+GNULIB_MEMPCPY = @GNULIB_MEMPCPY@ -+GNULIB_MEMRCHR = @GNULIB_MEMRCHR@ -+GNULIB_MKDIRAT = @GNULIB_MKDIRAT@ -+GNULIB_MKDTEMP = @GNULIB_MKDTEMP@ -+GNULIB_MKFIFO = @GNULIB_MKFIFO@ -+GNULIB_MKFIFOAT = @GNULIB_MKFIFOAT@ -+GNULIB_MKNOD = @GNULIB_MKNOD@ -+GNULIB_MKNODAT = @GNULIB_MKNODAT@ -+GNULIB_MKOSTEMP = @GNULIB_MKOSTEMP@ -+GNULIB_MKOSTEMPS = @GNULIB_MKOSTEMPS@ -+GNULIB_MKSTEMP = @GNULIB_MKSTEMP@ -+GNULIB_MKSTEMPS = @GNULIB_MKSTEMPS@ -+GNULIB_MKTIME = @GNULIB_MKTIME@ -+GNULIB_NANOSLEEP = @GNULIB_NANOSLEEP@ -+GNULIB_NONBLOCKING = @GNULIB_NONBLOCKING@ -+GNULIB_OBSTACK_PRINTF = @GNULIB_OBSTACK_PRINTF@ -+GNULIB_OBSTACK_PRINTF_POSIX = @GNULIB_OBSTACK_PRINTF_POSIX@ -+GNULIB_OPEN = @GNULIB_OPEN@ -+GNULIB_OPENAT = @GNULIB_OPENAT@ -+GNULIB_PCLOSE = @GNULIB_PCLOSE@ -+GNULIB_PERROR = @GNULIB_PERROR@ -+GNULIB_PIPE = @GNULIB_PIPE@ -+GNULIB_PIPE2 = @GNULIB_PIPE2@ -+GNULIB_POPEN = @GNULIB_POPEN@ -+GNULIB_POSIX_OPENPT = @GNULIB_POSIX_OPENPT@ -+GNULIB_PREAD = @GNULIB_PREAD@ -+GNULIB_PRINTF = @GNULIB_PRINTF@ -+GNULIB_PRINTF_POSIX = @GNULIB_PRINTF_POSIX@ -+GNULIB_PTHREAD_SIGMASK = @GNULIB_PTHREAD_SIGMASK@ -+GNULIB_PTSNAME = @GNULIB_PTSNAME@ -+GNULIB_PTSNAME_R = @GNULIB_PTSNAME_R@ -+GNULIB_PUTC = @GNULIB_PUTC@ -+GNULIB_PUTCHAR = @GNULIB_PUTCHAR@ -+GNULIB_PUTENV = @GNULIB_PUTENV@ -+GNULIB_PUTS = @GNULIB_PUTS@ -+GNULIB_PWRITE = @GNULIB_PWRITE@ -+GNULIB_RAISE = @GNULIB_RAISE@ -+GNULIB_RANDOM = @GNULIB_RANDOM@ -+GNULIB_RANDOM_R = @GNULIB_RANDOM_R@ -+GNULIB_RAWMEMCHR = @GNULIB_RAWMEMCHR@ -+GNULIB_READ = @GNULIB_READ@ -+GNULIB_READLINK = @GNULIB_READLINK@ -+GNULIB_READLINKAT = @GNULIB_READLINKAT@ -+GNULIB_REALLOC_POSIX = @GNULIB_REALLOC_POSIX@ -+GNULIB_REALPATH = @GNULIB_REALPATH@ -+GNULIB_REMOVE = @GNULIB_REMOVE@ -+GNULIB_RENAME = @GNULIB_RENAME@ -+GNULIB_RENAMEAT = @GNULIB_RENAMEAT@ -+GNULIB_RMDIR = @GNULIB_RMDIR@ -+GNULIB_RPMATCH = @GNULIB_RPMATCH@ -+GNULIB_SCANF = @GNULIB_SCANF@ -+GNULIB_SECURE_GETENV = @GNULIB_SECURE_GETENV@ -+GNULIB_SETENV = @GNULIB_SETENV@ -+GNULIB_SETHOSTNAME = @GNULIB_SETHOSTNAME@ -+GNULIB_SIGACTION = @GNULIB_SIGACTION@ -+GNULIB_SIGNAL_H_SIGPIPE = @GNULIB_SIGNAL_H_SIGPIPE@ -+GNULIB_SIGPROCMASK = @GNULIB_SIGPROCMASK@ -+GNULIB_SLEEP = @GNULIB_SLEEP@ -+GNULIB_SNPRINTF = @GNULIB_SNPRINTF@ -+GNULIB_SPRINTF_POSIX = @GNULIB_SPRINTF_POSIX@ -+GNULIB_STAT = @GNULIB_STAT@ -+GNULIB_STDIO_H_NONBLOCKING = @GNULIB_STDIO_H_NONBLOCKING@ -+GNULIB_STDIO_H_SIGPIPE = @GNULIB_STDIO_H_SIGPIPE@ -+GNULIB_STPCPY = @GNULIB_STPCPY@ -+GNULIB_STPNCPY = @GNULIB_STPNCPY@ -+GNULIB_STRCASESTR = @GNULIB_STRCASESTR@ -+GNULIB_STRCHRNUL = @GNULIB_STRCHRNUL@ -+GNULIB_STRDUP = @GNULIB_STRDUP@ -+GNULIB_STRERROR = @GNULIB_STRERROR@ -+GNULIB_STRERROR_R = @GNULIB_STRERROR_R@ -+GNULIB_STRNCAT = @GNULIB_STRNCAT@ -+GNULIB_STRNDUP = @GNULIB_STRNDUP@ -+GNULIB_STRNLEN = @GNULIB_STRNLEN@ -+GNULIB_STRPBRK = @GNULIB_STRPBRK@ -+GNULIB_STRPTIME = @GNULIB_STRPTIME@ -+GNULIB_STRSEP = @GNULIB_STRSEP@ -+GNULIB_STRSIGNAL = @GNULIB_STRSIGNAL@ -+GNULIB_STRSTR = @GNULIB_STRSTR@ -+GNULIB_STRTOD = @GNULIB_STRTOD@ -+GNULIB_STRTOK_R = @GNULIB_STRTOK_R@ -+GNULIB_STRTOLL = @GNULIB_STRTOLL@ -+GNULIB_STRTOULL = @GNULIB_STRTOULL@ -+GNULIB_STRVERSCMP = @GNULIB_STRVERSCMP@ -+GNULIB_SYMLINK = @GNULIB_SYMLINK@ -+GNULIB_SYMLINKAT = @GNULIB_SYMLINKAT@ -+GNULIB_SYSTEM_POSIX = @GNULIB_SYSTEM_POSIX@ -+GNULIB_TIMEGM = @GNULIB_TIMEGM@ -+GNULIB_TIME_R = @GNULIB_TIME_R@ -+GNULIB_TMPFILE = @GNULIB_TMPFILE@ -+GNULIB_TTYNAME_R = @GNULIB_TTYNAME_R@ -+GNULIB_UNISTD_H_NONBLOCKING = @GNULIB_UNISTD_H_NONBLOCKING@ -+GNULIB_UNISTD_H_SIGPIPE = @GNULIB_UNISTD_H_SIGPIPE@ -+GNULIB_UNLINK = @GNULIB_UNLINK@ -+GNULIB_UNLINKAT = @GNULIB_UNLINKAT@ -+GNULIB_UNLOCKPT = @GNULIB_UNLOCKPT@ -+GNULIB_UNSETENV = @GNULIB_UNSETENV@ -+GNULIB_USLEEP = @GNULIB_USLEEP@ -+GNULIB_UTIMENSAT = @GNULIB_UTIMENSAT@ -+GNULIB_VASPRINTF = @GNULIB_VASPRINTF@ -+GNULIB_VDPRINTF = @GNULIB_VDPRINTF@ -+GNULIB_VFPRINTF = @GNULIB_VFPRINTF@ -+GNULIB_VFPRINTF_POSIX = @GNULIB_VFPRINTF_POSIX@ -+GNULIB_VFSCANF = @GNULIB_VFSCANF@ -+GNULIB_VPRINTF = @GNULIB_VPRINTF@ -+GNULIB_VPRINTF_POSIX = @GNULIB_VPRINTF_POSIX@ -+GNULIB_VSCANF = @GNULIB_VSCANF@ -+GNULIB_VSNPRINTF = @GNULIB_VSNPRINTF@ -+GNULIB_VSPRINTF_POSIX = @GNULIB_VSPRINTF_POSIX@ -+GNULIB_WCTOMB = @GNULIB_WCTOMB@ -+GNULIB_WRITE = @GNULIB_WRITE@ -+GNULIB__EXIT = @GNULIB__EXIT@ -+GREP = @GREP@ -+HAVE_ATOLL = @HAVE_ATOLL@ -+HAVE_CANONICALIZE_FILE_NAME = @HAVE_CANONICALIZE_FILE_NAME@ -+HAVE_CHOWN = @HAVE_CHOWN@ -+HAVE_DECL_ENVIRON = @HAVE_DECL_ENVIRON@ -+HAVE_DECL_FCHDIR = @HAVE_DECL_FCHDIR@ -+HAVE_DECL_FDATASYNC = @HAVE_DECL_FDATASYNC@ -+HAVE_DECL_FPURGE = @HAVE_DECL_FPURGE@ -+HAVE_DECL_FSEEKO = @HAVE_DECL_FSEEKO@ -+HAVE_DECL_FTELLO = @HAVE_DECL_FTELLO@ -+HAVE_DECL_GETDELIM = @HAVE_DECL_GETDELIM@ -+HAVE_DECL_GETDOMAINNAME = @HAVE_DECL_GETDOMAINNAME@ -+HAVE_DECL_GETLINE = @HAVE_DECL_GETLINE@ -+HAVE_DECL_GETLOADAVG = @HAVE_DECL_GETLOADAVG@ -+HAVE_DECL_GETLOGIN_R = @HAVE_DECL_GETLOGIN_R@ -+HAVE_DECL_GETPAGESIZE = @HAVE_DECL_GETPAGESIZE@ -+HAVE_DECL_GETUSERSHELL = @HAVE_DECL_GETUSERSHELL@ -+HAVE_DECL_LOCALTIME_R = @HAVE_DECL_LOCALTIME_R@ -+HAVE_DECL_MEMMEM = @HAVE_DECL_MEMMEM@ -+HAVE_DECL_MEMRCHR = @HAVE_DECL_MEMRCHR@ -+HAVE_DECL_OBSTACK_PRINTF = @HAVE_DECL_OBSTACK_PRINTF@ -+HAVE_DECL_SETENV = @HAVE_DECL_SETENV@ -+HAVE_DECL_SETHOSTNAME = @HAVE_DECL_SETHOSTNAME@ -+HAVE_DECL_SNPRINTF = @HAVE_DECL_SNPRINTF@ -+HAVE_DECL_STRDUP = @HAVE_DECL_STRDUP@ -+HAVE_DECL_STRERROR_R = @HAVE_DECL_STRERROR_R@ -+HAVE_DECL_STRNDUP = @HAVE_DECL_STRNDUP@ -+HAVE_DECL_STRNLEN = @HAVE_DECL_STRNLEN@ -+HAVE_DECL_STRSIGNAL = @HAVE_DECL_STRSIGNAL@ -+HAVE_DECL_STRTOK_R = @HAVE_DECL_STRTOK_R@ -+HAVE_DECL_TTYNAME_R = @HAVE_DECL_TTYNAME_R@ -+HAVE_DECL_UNSETENV = @HAVE_DECL_UNSETENV@ -+HAVE_DECL_VSNPRINTF = @HAVE_DECL_VSNPRINTF@ -+HAVE_DPRINTF = @HAVE_DPRINTF@ -+HAVE_DUP2 = @HAVE_DUP2@ -+HAVE_DUP3 = @HAVE_DUP3@ -+HAVE_EUIDACCESS = @HAVE_EUIDACCESS@ -+HAVE_FACCESSAT = @HAVE_FACCESSAT@ -+HAVE_FCHDIR = @HAVE_FCHDIR@ -+HAVE_FCHMODAT = @HAVE_FCHMODAT@ -+HAVE_FCHOWNAT = @HAVE_FCHOWNAT@ -+HAVE_FCNTL = @HAVE_FCNTL@ -+HAVE_FDATASYNC = @HAVE_FDATASYNC@ -+HAVE_FFSL = @HAVE_FFSL@ -+HAVE_FFSLL = @HAVE_FFSLL@ -+HAVE_FSEEKO = @HAVE_FSEEKO@ -+HAVE_FSTATAT = @HAVE_FSTATAT@ -+HAVE_FSYNC = @HAVE_FSYNC@ -+HAVE_FTELLO = @HAVE_FTELLO@ -+HAVE_FTRUNCATE = @HAVE_FTRUNCATE@ -+HAVE_FUTIMENS = @HAVE_FUTIMENS@ -+HAVE_GETDTABLESIZE = @HAVE_GETDTABLESIZE@ -+HAVE_GETGROUPS = @HAVE_GETGROUPS@ -+HAVE_GETHOSTNAME = @HAVE_GETHOSTNAME@ -+HAVE_GETLOGIN = @HAVE_GETLOGIN@ -+HAVE_GETPAGESIZE = @HAVE_GETPAGESIZE@ -+HAVE_GETSUBOPT = @HAVE_GETSUBOPT@ -+HAVE_GRANTPT = @HAVE_GRANTPT@ -+HAVE_GROUP_MEMBER = @HAVE_GROUP_MEMBER@ -+HAVE_INTTYPES_H = @HAVE_INTTYPES_H@ -+HAVE_LCHMOD = @HAVE_LCHMOD@ -+HAVE_LCHOWN = @HAVE_LCHOWN@ -+HAVE_LINK = @HAVE_LINK@ -+HAVE_LINKAT = @HAVE_LINKAT@ -+HAVE_LONG_LONG_INT = @HAVE_LONG_LONG_INT@ -+HAVE_LSTAT = @HAVE_LSTAT@ -+HAVE_MBSLEN = @HAVE_MBSLEN@ -+HAVE_MEMCHR = @HAVE_MEMCHR@ -+HAVE_MEMPCPY = @HAVE_MEMPCPY@ -+HAVE_MKDIRAT = @HAVE_MKDIRAT@ -+HAVE_MKDTEMP = @HAVE_MKDTEMP@ -+HAVE_MKFIFO = @HAVE_MKFIFO@ -+HAVE_MKFIFOAT = @HAVE_MKFIFOAT@ -+HAVE_MKNOD = @HAVE_MKNOD@ -+HAVE_MKNODAT = @HAVE_MKNODAT@ -+HAVE_MKOSTEMP = @HAVE_MKOSTEMP@ -+HAVE_MKOSTEMPS = @HAVE_MKOSTEMPS@ -+HAVE_MKSTEMP = @HAVE_MKSTEMP@ -+HAVE_MKSTEMPS = @HAVE_MKSTEMPS@ -+HAVE_MSVC_INVALID_PARAMETER_HANDLER = @HAVE_MSVC_INVALID_PARAMETER_HANDLER@ -+HAVE_NANOSLEEP = @HAVE_NANOSLEEP@ -+HAVE_OPENAT = @HAVE_OPENAT@ -+HAVE_OS_H = @HAVE_OS_H@ -+HAVE_PCLOSE = @HAVE_PCLOSE@ -+HAVE_PIPE = @HAVE_PIPE@ -+HAVE_PIPE2 = @HAVE_PIPE2@ -+HAVE_POPEN = @HAVE_POPEN@ -+HAVE_POSIX_OPENPT = @HAVE_POSIX_OPENPT@ -+HAVE_POSIX_SIGNALBLOCKING = @HAVE_POSIX_SIGNALBLOCKING@ -+HAVE_PREAD = @HAVE_PREAD@ -+HAVE_PTHREAD_SIGMASK = @HAVE_PTHREAD_SIGMASK@ -+HAVE_PTSNAME = @HAVE_PTSNAME@ -+HAVE_PTSNAME_R = @HAVE_PTSNAME_R@ -+HAVE_PWRITE = @HAVE_PWRITE@ -+HAVE_RAISE = @HAVE_RAISE@ -+HAVE_RANDOM = @HAVE_RANDOM@ -+HAVE_RANDOM_H = @HAVE_RANDOM_H@ -+HAVE_RANDOM_R = @HAVE_RANDOM_R@ -+HAVE_RAWMEMCHR = @HAVE_RAWMEMCHR@ -+HAVE_READLINK = @HAVE_READLINK@ -+HAVE_READLINKAT = @HAVE_READLINKAT@ -+HAVE_REALPATH = @HAVE_REALPATH@ -+HAVE_RENAMEAT = @HAVE_RENAMEAT@ -+HAVE_RPMATCH = @HAVE_RPMATCH@ -+HAVE_SECURE_GETENV = @HAVE_SECURE_GETENV@ -+HAVE_SETENV = @HAVE_SETENV@ -+HAVE_SETHOSTNAME = @HAVE_SETHOSTNAME@ -+HAVE_SIGACTION = @HAVE_SIGACTION@ -+HAVE_SIGHANDLER_T = @HAVE_SIGHANDLER_T@ -+HAVE_SIGINFO_T = @HAVE_SIGINFO_T@ -+HAVE_SIGNED_SIG_ATOMIC_T = @HAVE_SIGNED_SIG_ATOMIC_T@ -+HAVE_SIGNED_WCHAR_T = @HAVE_SIGNED_WCHAR_T@ -+HAVE_SIGNED_WINT_T = @HAVE_SIGNED_WINT_T@ -+HAVE_SIGSET_T = @HAVE_SIGSET_T@ -+HAVE_SLEEP = @HAVE_SLEEP@ -+HAVE_STDINT_H = @HAVE_STDINT_H@ -+HAVE_STPCPY = @HAVE_STPCPY@ -+HAVE_STPNCPY = @HAVE_STPNCPY@ -+HAVE_STRCASESTR = @HAVE_STRCASESTR@ -+HAVE_STRCHRNUL = @HAVE_STRCHRNUL@ -+HAVE_STRPBRK = @HAVE_STRPBRK@ -+HAVE_STRPTIME = @HAVE_STRPTIME@ -+HAVE_STRSEP = @HAVE_STRSEP@ -+HAVE_STRTOD = @HAVE_STRTOD@ -+HAVE_STRTOLL = @HAVE_STRTOLL@ -+HAVE_STRTOULL = @HAVE_STRTOULL@ -+HAVE_STRUCT_RANDOM_DATA = @HAVE_STRUCT_RANDOM_DATA@ -+HAVE_STRUCT_SIGACTION_SA_SIGACTION = @HAVE_STRUCT_SIGACTION_SA_SIGACTION@ -+HAVE_STRVERSCMP = @HAVE_STRVERSCMP@ -+HAVE_SYMLINK = @HAVE_SYMLINK@ -+HAVE_SYMLINKAT = @HAVE_SYMLINKAT@ -+HAVE_SYS_BITYPES_H = @HAVE_SYS_BITYPES_H@ -+HAVE_SYS_INTTYPES_H = @HAVE_SYS_INTTYPES_H@ -+HAVE_SYS_LOADAVG_H = @HAVE_SYS_LOADAVG_H@ -+HAVE_SYS_PARAM_H = @HAVE_SYS_PARAM_H@ -+HAVE_SYS_TYPES_H = @HAVE_SYS_TYPES_H@ -+HAVE_TIMEGM = @HAVE_TIMEGM@ -+HAVE_TYPE_VOLATILE_SIG_ATOMIC_T = @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ -+HAVE_UNISTD_H = @HAVE_UNISTD_H@ -+HAVE_UNLINKAT = @HAVE_UNLINKAT@ -+HAVE_UNLOCKPT = @HAVE_UNLOCKPT@ -+HAVE_UNSIGNED_LONG_LONG_INT = @HAVE_UNSIGNED_LONG_LONG_INT@ -+HAVE_USLEEP = @HAVE_USLEEP@ -+HAVE_UTIMENSAT = @HAVE_UTIMENSAT@ -+HAVE_VASPRINTF = @HAVE_VASPRINTF@ -+HAVE_VDPRINTF = @HAVE_VDPRINTF@ -+HAVE_VISIBILITY = @HAVE_VISIBILITY@ -+HAVE_WCHAR_H = @HAVE_WCHAR_H@ -+HAVE_WCHAR_T = @HAVE_WCHAR_T@ -+HAVE_WINSOCK2_H = @HAVE_WINSOCK2_H@ -+HAVE__BOOL = @HAVE__BOOL@ -+HAVE__EXIT = @HAVE__EXIT@ -+ICONV_CONST = @ICONV_CONST@ -+INCLUDE_NEXT = @INCLUDE_NEXT@ -+INCLUDE_NEXT_AS_FIRST_DIRECTIVE = @INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ -+INSTALL = @INSTALL@ -+INSTALL_DATA = @INSTALL_DATA@ -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_PROGRAM_ENV = @INSTALL_PROGRAM_ENV@ -+INSTALL_SCRIPT = @INSTALL_SCRIPT@ -+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -+INTLLIBS = @INTLLIBS@ -+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ -+LD = @LD@ -+LDFLAGS = @LDFLAGS@ -+LIBICONV = @LIBICONV@ -+LIBICRT_LIBDEPS = @LIBICRT_LIBDEPS@ -+LIBICRT_LTLIBDEPS = @LIBICRT_LTLIBDEPS@ -+LIBINTL = @LIBINTL@ -+LIBOBJS = @LIBOBJS@ -+LIBS = @LIBS@ -+LIBTOOL = @LIBTOOL@ -+LIBUNISTRING_UNITYPES_H = @LIBUNISTRING_UNITYPES_H@ -+LIBUNISTRING_UNIWIDTH_H = @LIBUNISTRING_UNIWIDTH_H@ -+LIPO = @LIPO@ -+LN = @LN@ -+LN_S = @LN_S@ -+LTLIBICONV = @LTLIBICONV@ -+LTLIBINTL = @LTLIBINTL@ -+LTLIBOBJS = @LTLIBOBJS@ -+MAKEINFO = @MAKEINFO@ -+MANIFEST_TOOL = @MANIFEST_TOOL@ -+MKDIR_P = @MKDIR_P@ -+MSGFMT = @MSGFMT@ -+MSGFMT_015 = @MSGFMT_015@ -+MSGMERGE = @MSGMERGE@ -+NEXT_AS_FIRST_DIRECTIVE_ERRNO_H = @NEXT_AS_FIRST_DIRECTIVE_ERRNO_H@ -+NEXT_AS_FIRST_DIRECTIVE_FCNTL_H = @NEXT_AS_FIRST_DIRECTIVE_FCNTL_H@ -+NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H = @NEXT_AS_FIRST_DIRECTIVE_SIGNAL_H@ -+NEXT_AS_FIRST_DIRECTIVE_STDDEF_H = @NEXT_AS_FIRST_DIRECTIVE_STDDEF_H@ -+NEXT_AS_FIRST_DIRECTIVE_STDINT_H = @NEXT_AS_FIRST_DIRECTIVE_STDINT_H@ -+NEXT_AS_FIRST_DIRECTIVE_STDIO_H = @NEXT_AS_FIRST_DIRECTIVE_STDIO_H@ -+NEXT_AS_FIRST_DIRECTIVE_STDLIB_H = @NEXT_AS_FIRST_DIRECTIVE_STDLIB_H@ -+NEXT_AS_FIRST_DIRECTIVE_STRING_H = @NEXT_AS_FIRST_DIRECTIVE_STRING_H@ -+NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_STAT_H@ -+NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H = @NEXT_AS_FIRST_DIRECTIVE_SYS_TYPES_H@ -+NEXT_AS_FIRST_DIRECTIVE_TIME_H = @NEXT_AS_FIRST_DIRECTIVE_TIME_H@ -+NEXT_AS_FIRST_DIRECTIVE_UNISTD_H = @NEXT_AS_FIRST_DIRECTIVE_UNISTD_H@ -+NEXT_ERRNO_H = @NEXT_ERRNO_H@ -+NEXT_FCNTL_H = @NEXT_FCNTL_H@ -+NEXT_SIGNAL_H = @NEXT_SIGNAL_H@ -+NEXT_STDDEF_H = @NEXT_STDDEF_H@ -+NEXT_STDINT_H = @NEXT_STDINT_H@ -+NEXT_STDIO_H = @NEXT_STDIO_H@ -+NEXT_STDLIB_H = @NEXT_STDLIB_H@ -+NEXT_STRING_H = @NEXT_STRING_H@ -+NEXT_SYS_STAT_H = @NEXT_SYS_STAT_H@ -+NEXT_SYS_TYPES_H = @NEXT_SYS_TYPES_H@ -+NEXT_TIME_H = @NEXT_TIME_H@ -+NEXT_UNISTD_H = @NEXT_UNISTD_H@ -+NM = @NM@ -+NMEDIT = @NMEDIT@ -+OBJDUMP = @OBJDUMP@ -+OBJEXT = @OBJEXT@ -+OTOOL = @OTOOL@ -+OTOOL64 = @OTOOL64@ -+PACKAGE = @PACKAGE@ -+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -+PACKAGE_NAME = @PACKAGE_NAME@ -+PACKAGE_STRING = @PACKAGE_STRING@ -+PACKAGE_TARNAME = @PACKAGE_TARNAME@ -+PACKAGE_URL = @PACKAGE_URL@ -+PACKAGE_VERSION = @PACKAGE_VERSION@ -+PATH_SEPARATOR = @PATH_SEPARATOR@ -+POSUB = @POSUB@ -+PRAGMA_COLUMNS = @PRAGMA_COLUMNS@ -+PRAGMA_SYSTEM_HEADER = @PRAGMA_SYSTEM_HEADER@ -+PTHREAD_H_DEFINES_STRUCT_TIMESPEC = @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ -+PTRDIFF_T_SUFFIX = @PTRDIFF_T_SUFFIX@ -+RANLIB = @RANLIB@ -+RC = @RC@ -+RELOCATABLE = @RELOCATABLE@ -+RELOCATABLE_BUILD_DIR = @RELOCATABLE_BUILD_DIR@ -+RELOCATABLE_CONFIG_H_DIR = @RELOCATABLE_CONFIG_H_DIR@ -+RELOCATABLE_LDFLAGS = @RELOCATABLE_LDFLAGS@ -+RELOCATABLE_LIBRARY_PATH = @RELOCATABLE_LIBRARY_PATH@ -+RELOCATABLE_SRC_DIR = @RELOCATABLE_SRC_DIR@ -+RELOCATABLE_STRIP = @RELOCATABLE_STRIP@ -+REPLACE_CALLOC = @REPLACE_CALLOC@ -+REPLACE_CANONICALIZE_FILE_NAME = @REPLACE_CANONICALIZE_FILE_NAME@ -+REPLACE_CHOWN = @REPLACE_CHOWN@ -+REPLACE_CLOSE = @REPLACE_CLOSE@ -+REPLACE_DPRINTF = @REPLACE_DPRINTF@ -+REPLACE_DUP = @REPLACE_DUP@ -+REPLACE_DUP2 = @REPLACE_DUP2@ -+REPLACE_FCHOWNAT = @REPLACE_FCHOWNAT@ -+REPLACE_FCLOSE = @REPLACE_FCLOSE@ -+REPLACE_FCNTL = @REPLACE_FCNTL@ -+REPLACE_FDOPEN = @REPLACE_FDOPEN@ -+REPLACE_FFLUSH = @REPLACE_FFLUSH@ -+REPLACE_FOPEN = @REPLACE_FOPEN@ -+REPLACE_FPRINTF = @REPLACE_FPRINTF@ -+REPLACE_FPURGE = @REPLACE_FPURGE@ -+REPLACE_FREOPEN = @REPLACE_FREOPEN@ -+REPLACE_FSEEK = @REPLACE_FSEEK@ -+REPLACE_FSEEKO = @REPLACE_FSEEKO@ -+REPLACE_FSTAT = @REPLACE_FSTAT@ -+REPLACE_FSTATAT = @REPLACE_FSTATAT@ -+REPLACE_FTELL = @REPLACE_FTELL@ -+REPLACE_FTELLO = @REPLACE_FTELLO@ -+REPLACE_FTRUNCATE = @REPLACE_FTRUNCATE@ -+REPLACE_FUTIMENS = @REPLACE_FUTIMENS@ -+REPLACE_GETCWD = @REPLACE_GETCWD@ -+REPLACE_GETDELIM = @REPLACE_GETDELIM@ -+REPLACE_GETDOMAINNAME = @REPLACE_GETDOMAINNAME@ -+REPLACE_GETGROUPS = @REPLACE_GETGROUPS@ -+REPLACE_GETLINE = @REPLACE_GETLINE@ -+REPLACE_GETLOGIN_R = @REPLACE_GETLOGIN_R@ -+REPLACE_GETPAGESIZE = @REPLACE_GETPAGESIZE@ -+REPLACE_ISATTY = @REPLACE_ISATTY@ -+REPLACE_LCHOWN = @REPLACE_LCHOWN@ -+REPLACE_LINK = @REPLACE_LINK@ -+REPLACE_LINKAT = @REPLACE_LINKAT@ -+REPLACE_LOCALTIME_R = @REPLACE_LOCALTIME_R@ -+REPLACE_LSEEK = @REPLACE_LSEEK@ -+REPLACE_LSTAT = @REPLACE_LSTAT@ -+REPLACE_MALLOC = @REPLACE_MALLOC@ -+REPLACE_MBTOWC = @REPLACE_MBTOWC@ -+REPLACE_MEMCHR = @REPLACE_MEMCHR@ -+REPLACE_MEMMEM = @REPLACE_MEMMEM@ -+REPLACE_MKDIR = @REPLACE_MKDIR@ -+REPLACE_MKFIFO = @REPLACE_MKFIFO@ -+REPLACE_MKNOD = @REPLACE_MKNOD@ -+REPLACE_MKSTEMP = @REPLACE_MKSTEMP@ -+REPLACE_MKTIME = @REPLACE_MKTIME@ -+REPLACE_NANOSLEEP = @REPLACE_NANOSLEEP@ -+REPLACE_NULL = @REPLACE_NULL@ -+REPLACE_OBSTACK_PRINTF = @REPLACE_OBSTACK_PRINTF@ -+REPLACE_OPEN = @REPLACE_OPEN@ -+REPLACE_OPENAT = @REPLACE_OPENAT@ -+REPLACE_PERROR = @REPLACE_PERROR@ -+REPLACE_POPEN = @REPLACE_POPEN@ -+REPLACE_PREAD = @REPLACE_PREAD@ -+REPLACE_PRINTF = @REPLACE_PRINTF@ -+REPLACE_PTHREAD_SIGMASK = @REPLACE_PTHREAD_SIGMASK@ -+REPLACE_PTSNAME = @REPLACE_PTSNAME@ -+REPLACE_PTSNAME_R = @REPLACE_PTSNAME_R@ -+REPLACE_PUTENV = @REPLACE_PUTENV@ -+REPLACE_PWRITE = @REPLACE_PWRITE@ -+REPLACE_RAISE = @REPLACE_RAISE@ -+REPLACE_RANDOM_R = @REPLACE_RANDOM_R@ -+REPLACE_READ = @REPLACE_READ@ -+REPLACE_READLINK = @REPLACE_READLINK@ -+REPLACE_REALLOC = @REPLACE_REALLOC@ -+REPLACE_REALPATH = @REPLACE_REALPATH@ -+REPLACE_REMOVE = @REPLACE_REMOVE@ -+REPLACE_RENAME = @REPLACE_RENAME@ -+REPLACE_RENAMEAT = @REPLACE_RENAMEAT@ -+REPLACE_RMDIR = @REPLACE_RMDIR@ -+REPLACE_SETENV = @REPLACE_SETENV@ -+REPLACE_SLEEP = @REPLACE_SLEEP@ -+REPLACE_SNPRINTF = @REPLACE_SNPRINTF@ -+REPLACE_SPRINTF = @REPLACE_SPRINTF@ -+REPLACE_STAT = @REPLACE_STAT@ -+REPLACE_STDIO_READ_FUNCS = @REPLACE_STDIO_READ_FUNCS@ -+REPLACE_STDIO_WRITE_FUNCS = @REPLACE_STDIO_WRITE_FUNCS@ -+REPLACE_STPNCPY = @REPLACE_STPNCPY@ -+REPLACE_STRCASESTR = @REPLACE_STRCASESTR@ -+REPLACE_STRCHRNUL = @REPLACE_STRCHRNUL@ -+REPLACE_STRDUP = @REPLACE_STRDUP@ -+REPLACE_STRERROR = @REPLACE_STRERROR@ -+REPLACE_STRERROR_R = @REPLACE_STRERROR_R@ -+REPLACE_STRNCAT = @REPLACE_STRNCAT@ -+REPLACE_STRNDUP = @REPLACE_STRNDUP@ -+REPLACE_STRNLEN = @REPLACE_STRNLEN@ -+REPLACE_STRSIGNAL = @REPLACE_STRSIGNAL@ -+REPLACE_STRSTR = @REPLACE_STRSTR@ -+REPLACE_STRTOD = @REPLACE_STRTOD@ -+REPLACE_STRTOK_R = @REPLACE_STRTOK_R@ -+REPLACE_SYMLINK = @REPLACE_SYMLINK@ -+REPLACE_TIMEGM = @REPLACE_TIMEGM@ -+REPLACE_TMPFILE = @REPLACE_TMPFILE@ -+REPLACE_TTYNAME_R = @REPLACE_TTYNAME_R@ -+REPLACE_UNLINK = @REPLACE_UNLINK@ -+REPLACE_UNLINKAT = @REPLACE_UNLINKAT@ -+REPLACE_UNSETENV = @REPLACE_UNSETENV@ -+REPLACE_USLEEP = @REPLACE_USLEEP@ -+REPLACE_UTIMENSAT = @REPLACE_UTIMENSAT@ -+REPLACE_VASPRINTF = @REPLACE_VASPRINTF@ -+REPLACE_VDPRINTF = @REPLACE_VDPRINTF@ -+REPLACE_VFPRINTF = @REPLACE_VFPRINTF@ -+REPLACE_VPRINTF = @REPLACE_VPRINTF@ -+REPLACE_VSNPRINTF = @REPLACE_VSNPRINTF@ -+REPLACE_VSPRINTF = @REPLACE_VSPRINTF@ -+REPLACE_WCTOMB = @REPLACE_WCTOMB@ -+REPLACE_WRITE = @REPLACE_WRITE@ -+SED = @SED@ -+SET_MAKE = @SET_MAKE@ -+SHELL = @SHELL@ -+SIG_ATOMIC_T_SUFFIX = @SIG_ATOMIC_T_SUFFIX@ -+SIZE_T_SUFFIX = @SIZE_T_SUFFIX@ -+SRCLIBOBJS = @SRCLIBOBJS@ -+STDBOOL_H = @STDBOOL_H@ -+STDDEF_H = @STDDEF_H@ -+STDINT_H = @STDINT_H@ -+STRIP = @STRIP@ -+SYS_TIME_H_DEFINES_STRUCT_TIMESPEC = @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ -+TIME_H_DEFINES_STRUCT_TIMESPEC = @TIME_H_DEFINES_STRUCT_TIMESPEC@ -+UNDEFINE_STRTOK_R = @UNDEFINE_STRTOK_R@ -+UNISTD_H_HAVE_WINSOCK2_H = @UNISTD_H_HAVE_WINSOCK2_H@ -+UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS = @UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS@ -+USE_EXTRA_ENCODINGS = @USE_EXTRA_ENCODINGS@ -+USE_MBSTATE_T = @USE_MBSTATE_T@ -+USE_NLS = @USE_NLS@ -+VERSION = @VERSION@ -+WCHAR_T_SUFFIX = @WCHAR_T_SUFFIX@ -+WINDOWS_64_BIT_OFF_T = @WINDOWS_64_BIT_OFF_T@ -+WINDOWS_64_BIT_ST_SIZE = @WINDOWS_64_BIT_ST_SIZE@ -+WINDRES = @WINDRES@ -+WINT_T_SUFFIX = @WINT_T_SUFFIX@ -+WOE32 = @WOE32@ -+WOE32DLL = @WOE32DLL@ -+XGETTEXT = @XGETTEXT@ -+XGETTEXT_015 = @XGETTEXT_015@ -+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ -+abs_builddir = @abs_builddir@ -+abs_srcdir = @abs_srcdir@ -+abs_top_builddir = @abs_top_builddir@ -+abs_top_srcdir = @abs_top_srcdir@ -+ac_ct_AR = @ac_ct_AR@ -+ac_ct_CC = @ac_ct_CC@ -+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ -+am__include = @am__include@ -+am__leading_dot = @am__leading_dot@ -+am__quote = @am__quote@ -+am__tar = @am__tar@ -+am__untar = @am__untar@ -+bindir = @bindir@ -+build = @build@ -+build_alias = @build_alias@ -+build_cpu = @build_cpu@ -+build_os = @build_os@ -+build_vendor = @build_vendor@ -+builddir = @builddir@ -+datadir = @datadir@ -+datarootdir = @datarootdir@ -+docdir = @docdir@ -+dvidir = @dvidir@ -+exec_prefix = @exec_prefix@ -+gl_LIBOBJS = @gl_LIBOBJS@ -+gl_LTLIBOBJS = @gl_LTLIBOBJS@ -+gltests_LIBOBJS = @gltests_LIBOBJS@ -+gltests_LTLIBOBJS = @gltests_LTLIBOBJS@ -+gltests_WITNESS = @gltests_WITNESS@ -+host = @host@ -+host_alias = @host_alias@ -+host_cpu = @host_cpu@ -+host_os = @host_os@ -+host_vendor = @host_vendor@ -+htmldir = @htmldir@ -+includedir = @includedir@ -+infodir = @infodir@ -+install_sh = @install_sh@ -+libdir = @libdir@ -+libexecdir = @libexecdir@ -+localedir = @localedir@ -+localstatedir = @localstatedir@ -+mandir = @mandir@ -+mkdir_p = @mkdir_p@ -+oldincludedir = @oldincludedir@ -+pdfdir = @pdfdir@ -+prefix = @prefix@ -+program_transform_name = @program_transform_name@ -+psdir = @psdir@ -+sbindir = @sbindir@ -+sharedstatedir = @sharedstatedir@ -+srcdir = @srcdir@ -+subdirs = @subdirs@ -+sysconfdir = @sysconfdir@ -+target_alias = @target_alias@ -+top_build_prefix = @top_build_prefix@ -+top_builddir = @top_builddir@ -+top_srcdir = @top_srcdir@ -+AUTOMAKE_OPTIONS = 1.5 gnits no-dependencies -+ -+# If your project uses "gettextize --intl" to put a source-code -+# copy of libintl into the package, every Makefile.am needs -+# -I$(top_builddir)/intl, so that can be found in this directory. -+# Here's one way to do this: -+#AM_CPPFLAGS += -I$(top_builddir)/intl -+# This option has no effect when the user disables NLS (because then -+# the intl directory contains no libintl.h file). This option is not -+# enabled by default because the intl directory might not exist if -+# your project does not use "gettext --intl", and some compilers -+# complain about -I options applied to nonexistent directories. -+EXTRA_DIST = alloca.in.h allocator.h areadlink.h canonicalize-lgpl.c \ -+ careadlinkat.h dosname.h errno.in.h error.c error.h fcntl.in.h \ -+ $(top_srcdir)/build-aux/config.rpath \ -+ $(top_srcdir)/build-aux/config.rpath intprops.h lstat.c \ -+ malloca.h malloca.valgrind memmove.c msvc-inval.c msvc-inval.h \ -+ msvc-nothrow.c msvc-nothrow.h pathmax.h raise.c read.c \ -+ readlink.c progreloc.c relocatable.c relocatable.h \ -+ $(top_srcdir)/build-aux/config.libpath \ -+ $(top_srcdir)/build-aux/reloc-ldflags allocator.c allocator.h \ -+ areadlink.c areadlink.h c-ctype.c c-ctype.h \ -+ canonicalize-lgpl.c careadlinkat.c careadlinkat.h malloca.c \ -+ malloca.h progname.c progname.h progreloc.c readlink.c \ -+ relocatable.c relocatable.h relocwrapper.c setenv.c \ -+ $(top_srcdir)/build-aux/install-reloc safe-read.h signal.in.h \ -+ stdio-write.c sigprocmask.c \ -+ $(top_srcdir)/build-aux/snippet/_Noreturn.h \ -+ $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ -+ $(top_srcdir)/build-aux/snippet/c++defs.h \ -+ $(top_srcdir)/build-aux/snippet/warn-on-use.h stat.c \ -+ stdbool.in.h stddef.in.h stdint.in.h stdio.in.h stdlib.in.h \ -+ streq.h strerror.c strerror-override.c strerror-override.h \ -+ string.in.h sys_stat.in.h sys_types.in.h time.in.h unistd.in.h \ -+ unitypes.in.h localcharset.h uniwidth.in.h uniwidth/cjk.h \ -+ unlocked-io.h verify.h xreadlink.h -+ -+# The BUILT_SOURCES created by this Makefile snippet are not used via #include -+# statements but through direct file reference. Therefore this snippet must be -+# present in all Makefile.am that need it. This is ensured by the applicability -+# 'all' defined above. -+ -+# The BUILT_SOURCES created by this Makefile snippet are not used via #include -+# statements but through direct file reference. Therefore this snippet must be -+# present in all Makefile.am that need it. This is ensured by the applicability -+# 'all' defined above. -+BUILT_SOURCES = $(ALLOCA_H) $(ERRNO_H) fcntl.h signal.h arg-nonnull.h \ -+ c++defs.h warn-on-use.h $(STDBOOL_H) $(STDDEF_H) $(STDINT_H) \ -+ stdio.h stdlib.h string.h sys/stat.h sys/types.h time.h \ -+ unistd.h $(LIBUNISTRING_UNITYPES_H) $(LIBUNISTRING_UNIWIDTH_H) -+MOSTLYCLEANFILES = core *.stackdump core *.stackdump alloca.h \ -+ alloca.h-t errno.h errno.h-t fcntl.h fcntl.h-t signal.h \ -+ signal.h-t arg-nonnull.h arg-nonnull.h-t c++defs.h c++defs.h-t \ -+ warn-on-use.h warn-on-use.h-t stdbool.h stdbool.h-t stddef.h \ -+ stddef.h-t stdint.h stdint.h-t stdio.h stdio.h-t stdlib.h \ -+ stdlib.h-t string.h string.h-t sys/stat.h sys/stat.h-t \ -+ sys/types.h sys/types.h-t time.h time.h-t unistd.h unistd.h-t \ -+ unitypes.h unitypes.h-t uniwidth.h uniwidth.h-t -+MOSTLYCLEANDIRS = sys -+noinst_LIBRARIES = libicrt.a -+ -+# Parametrization of the 'relocatable' module. -+AM_CPPFLAGS = -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -+libicrt_a_SOURCES = allocator.c areadlink.c binary-io.h binary-io.c \ -+ careadlinkat.c gettext.h malloca.c progname.h progname.c \ -+ safe-read.c unistd.c $(am__append_1) xalloc.h xmalloc.c \ -+ xstrdup.c xreadlink.c -+libicrt_a_LIBADD = $(gl_LIBOBJS) -+libicrt_a_DEPENDENCIES = $(gl_LIBOBJS) -+EXTRA_libicrt_a_SOURCES = canonicalize-lgpl.c error.c lstat.c \ -+ memmove.c msvc-inval.c msvc-nothrow.c raise.c read.c \ -+ readlink.c progreloc.c relocatable.c stdio-write.c \ -+ sigprocmask.c stat.c strerror.c strerror-override.c -+ -+# Because this Makefile snippet defines a variable used by other -+# gnulib Makefile snippets, it must be present in all Makefile.am that -+# need it. This is ensured by the applicability 'all' defined above. -+_NORETURN_H = $(top_srcdir)/build-aux/snippet/_Noreturn.h -+ARG_NONNULL_H = arg-nonnull.h -+CXXDEFS_H = c++defs.h -+WARN_ON_USE_H = warn-on-use.h -+all: $(BUILT_SOURCES) -+ $(MAKE) $(AM_MAKEFLAGS) all-am -+ -+.SUFFIXES: -+.SUFFIXES: .c .lo .o .obj -+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/Makefile.gnulib $(am__configure_deps) -+ @for dep in $?; do \ -+ case '$(am__configure_deps)' in \ -+ *$$dep*) \ -+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ -+ && { if test -f $@; then exit 0; else break; fi; }; \ -+ exit 1;; \ -+ esac; \ -+ done; \ -+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnits srclib/Makefile'; \ -+ $(am__cd) $(top_srcdir) && \ -+ $(AUTOMAKE) --gnits srclib/Makefile -+.PRECIOUS: Makefile -+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -+ @case '$?' in \ -+ *config.status*) \ -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ -+ *) \ -+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ -+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ -+ esac; -+$(srcdir)/Makefile.gnulib: -+ -+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -+ -+$(top_srcdir)/configure: $(am__configure_deps) -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -+$(ACLOCAL_M4): $(am__aclocal_m4_deps) -+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh -+$(am__aclocal_m4_deps): -+ -+clean-noinstLIBRARIES: -+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) -+libicrt.a: $(libicrt_a_OBJECTS) $(libicrt_a_DEPENDENCIES) $(EXTRA_libicrt_a_DEPENDENCIES) -+ -rm -f libicrt.a -+ $(libicrt_a_AR) libicrt.a $(libicrt_a_OBJECTS) $(libicrt_a_LIBADD) -+ $(RANLIB) libicrt.a -+ -+mostlyclean-compile: -+ -rm -f *.$(OBJEXT) -+ -+distclean-compile: -+ -rm -f *.tab.c -+ -+.c.o: -+ $(COMPILE) -c $< -+ -+.c.obj: -+ $(COMPILE) -c `$(CYGPATH_W) '$<'` -+ -+.c.lo: -+ $(LTCOMPILE) -c -o $@ $< -+ -+width.o: uniwidth/width.c -+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o width.o `test -f 'uniwidth/width.c' || echo '$(srcdir)/'`uniwidth/width.c -+ -+width.obj: uniwidth/width.c -+ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o width.obj `if test -f 'uniwidth/width.c'; then $(CYGPATH_W) 'uniwidth/width.c'; else $(CYGPATH_W) '$(srcdir)/uniwidth/width.c'; fi` -+ -+mostlyclean-libtool: -+ -rm -f *.lo -+ -+clean-libtool: -+ -rm -rf .libs _libs -+ -+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ -+ unique=`for i in $$list; do \ -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -+ done | \ -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -+ END { if (nonempty) { for (i in files) print i; }; }'`; \ -+ mkid -fID $$unique -+tags: TAGS -+ -+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ -+ $(TAGS_FILES) $(LISP) -+ set x; \ -+ here=`pwd`; \ -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ -+ unique=`for i in $$list; do \ -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -+ done | \ -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -+ END { if (nonempty) { for (i in files) print i; }; }'`; \ -+ shift; \ -+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ -+ test -n "$$unique" || unique=$$empty_fix; \ -+ if test $$# -gt 0; then \ -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -+ "$$@" $$unique; \ -+ else \ -+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ -+ $$unique; \ -+ fi; \ -+ fi -+ctags: CTAGS -+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ -+ $(TAGS_FILES) $(LISP) -+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ -+ unique=`for i in $$list; do \ -+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ -+ done | \ -+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ -+ END { if (nonempty) { for (i in files) print i; }; }'`; \ -+ test -z "$(CTAGS_ARGS)$$unique" \ -+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ -+ $$unique -+ -+GTAGS: -+ here=`$(am__cd) $(top_builddir) && pwd` \ -+ && $(am__cd) $(top_srcdir) \ -+ && gtags -i $(GTAGS_ARGS) "$$here" -+ -+cscopelist: $(HEADERS) $(SOURCES) $(LISP) -+ list='$(SOURCES) $(HEADERS) $(LISP)'; \ -+ case "$(srcdir)" in \ -+ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ -+ *) sdir=$(subdir)/$(srcdir) ;; \ -+ esac; \ -+ for i in $$list; do \ -+ if test -f "$$i"; then \ -+ echo "$(subdir)/$$i"; \ -+ else \ -+ echo "$$sdir/$$i"; \ -+ fi; \ -+ done >> $(top_builddir)/cscope.files -+ -+distclean-tags: -+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -+ -+distdir: $(DISTFILES) -+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ -+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ -+ list='$(DISTFILES)'; \ -+ dist_files=`for file in $$list; do echo $$file; done | \ -+ sed -e "s|^$$srcdirstrip/||;t" \ -+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ -+ case $$dist_files in \ -+ */*) $(MKDIR_P) `echo "$$dist_files" | \ -+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ -+ sort -u` ;; \ -+ esac; \ -+ for file in $$dist_files; do \ -+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ -+ if test -d $$d/$$file; then \ -+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ -+ if test -d "$(distdir)/$$file"; then \ -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ -+ fi; \ -+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ -+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ -+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ -+ fi; \ -+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ -+ else \ -+ test -f "$(distdir)/$$file" \ -+ || cp -p $$d/$$file "$(distdir)/$$file" \ -+ || exit 1; \ -+ fi; \ -+ done -+check-am: all-am -+check: $(BUILT_SOURCES) -+ $(MAKE) $(AM_MAKEFLAGS) check-am -+all-am: Makefile $(LIBRARIES) -+installdirs: -+install: $(BUILT_SOURCES) -+ $(MAKE) $(AM_MAKEFLAGS) install-am -+install-exec: install-exec-am -+install-data: install-data-am -+uninstall: uninstall-am -+ -+install-am: all-am -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -+ -+installcheck: installcheck-am -+install-strip: -+ if test -z '$(STRIP)'; then \ -+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ -+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ -+ install; \ -+ else \ -+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ -+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ -+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ -+ fi -+mostlyclean-generic: -+ -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES) -+ -+clean-generic: -+ -+distclean-generic: -+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -+ -+maintainer-clean-generic: -+ @echo "This command is intended for maintainers to use" -+ @echo "it deletes files that may require special tools to rebuild." -+ -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) -+@RELOCATABLE_VIA_WRAPPER_FALSE@uninstall-hook: -+clean: clean-am -+ -+clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ -+ mostlyclean-am -+ -+distclean: distclean-am -+ -rm -f Makefile -+distclean-am: clean-am distclean-compile distclean-generic \ -+ distclean-tags -+ -+dvi: dvi-am -+ -+dvi-am: -+ -+html: html-am -+ -+html-am: -+ -+info: info-am -+ -+info-am: -+ -+install-data-am: -+ -+install-dvi: install-dvi-am -+ -+install-dvi-am: -+ -+install-exec-am: -+ -+install-html: install-html-am -+ -+install-html-am: -+ -+install-info: install-info-am -+ -+install-info-am: -+ -+install-man: -+ -+install-pdf: install-pdf-am -+ -+install-pdf-am: -+ -+install-ps: install-ps-am -+ -+install-ps-am: -+ -+installcheck-am: -+ -+maintainer-clean: maintainer-clean-am -+ -rm -f Makefile -+maintainer-clean-am: distclean-am maintainer-clean-generic -+ -+mostlyclean: mostlyclean-am -+ -+mostlyclean-am: mostlyclean-compile mostlyclean-generic \ -+ mostlyclean-libtool mostlyclean-local -+ -+pdf: pdf-am -+ -+pdf-am: -+ -+ps: ps-am -+ -+ps-am: -+ -+uninstall-am: -+ @$(NORMAL_INSTALL) -+ $(MAKE) $(AM_MAKEFLAGS) uninstall-hook -+.MAKE: all check install install-am install-strip uninstall-am -+ -+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ -+ clean-libtool clean-noinstLIBRARIES cscopelist ctags distclean \ -+ distclean-compile distclean-generic distclean-libtool \ -+ distclean-tags distdir dvi dvi-am html html-am info info-am \ -+ install install-am install-data install-data-am install-dvi \ -+ install-dvi-am install-exec install-exec-am install-html \ -+ install-html-am install-info install-info-am install-man \ -+ install-pdf install-pdf-am install-ps install-ps-am \ -+ install-strip installcheck installcheck-am installdirs \ -+ maintainer-clean maintainer-clean-generic mostlyclean \ -+ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ -+ mostlyclean-local pdf pdf-am ps ps-am tags uninstall \ -+ uninstall-am uninstall-hook -+ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+@GL_GENERATE_ALLOCA_H_TRUE@alloca.h: alloca.in.h $(top_builddir)/config.status -+@GL_GENERATE_ALLOCA_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ -+@GL_GENERATE_ALLOCA_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+@GL_GENERATE_ALLOCA_H_TRUE@ cat $(srcdir)/alloca.in.h; \ -+@GL_GENERATE_ALLOCA_H_TRUE@ } > $@-t && \ -+@GL_GENERATE_ALLOCA_H_TRUE@ mv -f $@-t $@ -+@GL_GENERATE_ALLOCA_H_FALSE@alloca.h: $(top_builddir)/config.status -+@GL_GENERATE_ALLOCA_H_FALSE@ rm -f $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that is POSIX compliant. -+@GL_GENERATE_ERRNO_H_TRUE@errno.h: errno.in.h $(top_builddir)/config.status -+@GL_GENERATE_ERRNO_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ -+@GL_GENERATE_ERRNO_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+@GL_GENERATE_ERRNO_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''NEXT_ERRNO_H''@|$(NEXT_ERRNO_H)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_HIDDEN''@|$(EMULTIHOP_HIDDEN)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EMULTIHOP_VALUE''@|$(EMULTIHOP_VALUE)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_HIDDEN''@|$(ENOLINK_HIDDEN)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''ENOLINK_VALUE''@|$(ENOLINK_VALUE)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_HIDDEN''@|$(EOVERFLOW_HIDDEN)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ -e 's|@''EOVERFLOW_VALUE''@|$(EOVERFLOW_VALUE)|g' \ -+@GL_GENERATE_ERRNO_H_TRUE@ < $(srcdir)/errno.in.h; \ -+@GL_GENERATE_ERRNO_H_TRUE@ } > $@-t && \ -+@GL_GENERATE_ERRNO_H_TRUE@ mv $@-t $@ -+@GL_GENERATE_ERRNO_H_FALSE@errno.h: $(top_builddir)/config.status -+@GL_GENERATE_ERRNO_H_FALSE@ rm -f $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ -+ -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ -+ -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ -+ -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ -+ -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ -+ -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ -+ -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ -+ -e 's|@''REPLACE_FCNTL''@|$(REPLACE_FCNTL)|g' \ -+ -e 's|@''REPLACE_OPEN''@|$(REPLACE_OPEN)|g' \ -+ -e 's|@''REPLACE_OPENAT''@|$(REPLACE_OPENAT)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/fcntl.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+@RELOCATABLE_VIA_WRAPPER_TRUE@uninstall-hook: uninstall-relocwrapper -+@RELOCATABLE_VIA_WRAPPER_TRUE@uninstall-relocwrapper: -+@RELOCATABLE_VIA_WRAPPER_TRUE@ if test $(RELOCATABLE) = yes; then \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ case '$(EXEEXT)' in \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ .bin*) ;; \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ *) cd $(top_builddir) && \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ $(MAKE) $(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT) \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ AM_MAKEFLAGS='$(AM_MAKEFLAGS) EXEEXT=.bin$(EXEEXT)' \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ uninstall ;; \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ esac; \ -+@RELOCATABLE_VIA_WRAPPER_TRUE@ fi -+@RELOCATABLE_VIA_WRAPPER_TRUE@.PHONY: uninstall-relocwrapper -+ -+# We need the following in order to create when the system -+# doesn't have a complete one. -+signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ -+ -e 's|@''GNULIB_PTHREAD_SIGMASK''@|$(GNULIB_PTHREAD_SIGMASK)|g' \ -+ -e 's|@''GNULIB_RAISE''@|$(GNULIB_RAISE)|g' \ -+ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ -+ -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ -+ -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ -+ -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ -+ -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ -+ -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ -+ -e 's|@''HAVE_SIGSET_T''@|$(HAVE_SIGSET_T)|g' \ -+ -e 's|@''HAVE_SIGINFO_T''@|$(HAVE_SIGINFO_T)|g' \ -+ -e 's|@''HAVE_SIGACTION''@|$(HAVE_SIGACTION)|g' \ -+ -e 's|@''HAVE_STRUCT_SIGACTION_SA_SIGACTION''@|$(HAVE_STRUCT_SIGACTION_SA_SIGACTION)|g' \ -+ -e 's|@''HAVE_TYPE_VOLATILE_SIG_ATOMIC_T''@|$(HAVE_TYPE_VOLATILE_SIG_ATOMIC_T)|g' \ -+ -e 's|@''HAVE_SIGHANDLER_T''@|$(HAVE_SIGHANDLER_T)|g' \ -+ -e 's|@''REPLACE_PTHREAD_SIGMASK''@|$(REPLACE_PTHREAD_SIGMASK)|g' \ -+ -e 's|@''REPLACE_RAISE''@|$(REPLACE_RAISE)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/signal.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+# The arg-nonnull.h that gets inserted into generated .h files is the same as -+# build-aux/snippet/arg-nonnull.h, except that it has the copyright header cut -+# off. -+arg-nonnull.h: $(top_srcdir)/build-aux/snippet/arg-nonnull.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ sed -n -e '/GL_ARG_NONNULL/,$$p' \ -+ < $(top_srcdir)/build-aux/snippet/arg-nonnull.h \ -+ > $@-t && \ -+ mv $@-t $@ -+# The c++defs.h that gets inserted into generated .h files is the same as -+# build-aux/snippet/c++defs.h, except that it has the copyright header cut off. -+c++defs.h: $(top_srcdir)/build-aux/snippet/c++defs.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ sed -n -e '/_GL_CXXDEFS/,$$p' \ -+ < $(top_srcdir)/build-aux/snippet/c++defs.h \ -+ > $@-t && \ -+ mv $@-t $@ -+# The warn-on-use.h that gets inserted into generated .h files is the same as -+# build-aux/snippet/warn-on-use.h, except that it has the copyright header cut -+# off. -+warn-on-use.h: $(top_srcdir)/build-aux/snippet/warn-on-use.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ sed -n -e '/^.ifndef/,$$p' \ -+ < $(top_srcdir)/build-aux/snippet/warn-on-use.h \ -+ > $@-t && \ -+ mv $@-t $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works. -+@GL_GENERATE_STDBOOL_H_TRUE@stdbool.h: stdbool.in.h $(top_builddir)/config.status -+@GL_GENERATE_STDBOOL_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ -+@GL_GENERATE_STDBOOL_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+@GL_GENERATE_STDBOOL_H_TRUE@ sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool.in.h; \ -+@GL_GENERATE_STDBOOL_H_TRUE@ } > $@-t && \ -+@GL_GENERATE_STDBOOL_H_TRUE@ mv $@-t $@ -+@GL_GENERATE_STDBOOL_H_FALSE@stdbool.h: $(top_builddir)/config.status -+@GL_GENERATE_STDBOOL_H_FALSE@ rm -f $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+@GL_GENERATE_STDDEF_H_TRUE@stddef.h: stddef.in.h $(top_builddir)/config.status -+@GL_GENERATE_STDDEF_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ -+@GL_GENERATE_STDDEF_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+@GL_GENERATE_STDDEF_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''NEXT_STDDEF_H''@|$(NEXT_STDDEF_H)|g' \ -+@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \ -+@GL_GENERATE_STDDEF_H_TRUE@ -e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \ -+@GL_GENERATE_STDDEF_H_TRUE@ < $(srcdir)/stddef.in.h; \ -+@GL_GENERATE_STDDEF_H_TRUE@ } > $@-t && \ -+@GL_GENERATE_STDDEF_H_TRUE@ mv $@-t $@ -+@GL_GENERATE_STDDEF_H_FALSE@stddef.h: $(top_builddir)/config.status -+@GL_GENERATE_STDDEF_H_FALSE@ rm -f $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+@GL_GENERATE_STDINT_H_TRUE@stdint.h: stdint.in.h $(top_builddir)/config.status -+@GL_GENERATE_STDINT_H_TRUE@ $(AM_V_GEN)rm -f $@-t $@ && \ -+@GL_GENERATE_STDINT_H_TRUE@ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+@GL_GENERATE_STDINT_H_TRUE@ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's|@''NEXT_STDINT_H''@|$(NEXT_STDINT_H)|g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_UNSIGNED_LONG_LONG_INT''@/$(HAVE_UNSIGNED_LONG_LONG_INT)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ -+@GL_GENERATE_STDINT_H_TRUE@ < $(srcdir)/stdint.in.h; \ -+@GL_GENERATE_STDINT_H_TRUE@ } > $@-t && \ -+@GL_GENERATE_STDINT_H_TRUE@ mv $@-t $@ -+@GL_GENERATE_STDINT_H_FALSE@stdint.h: $(top_builddir)/config.status -+@GL_GENERATE_STDINT_H_FALSE@ rm -f $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ -+ -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ -+ -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ -+ -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ -+ -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ -+ -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ -+ -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ -+ -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ -+ -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ -+ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ -+ -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ -+ -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ -+ -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ -+ -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ -+ -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ -+ -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ -+ -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ -+ -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ -+ -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ -+ -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ -+ -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ -+ -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ -+ -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ -+ -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ -+ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ -+ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ -+ -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ -+ -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ -+ -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ -+ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ -+ -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ -+ -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ -+ -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ -+ -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ -+ -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ -+ -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ -+ -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ -+ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ -+ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ -+ -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ -+ -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ -+ -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ -+ -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ -+ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ -+ -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ -+ -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ -+ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ -+ -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ -+ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ -+ < $(srcdir)/stdio.in.h | \ -+ sed -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ -+ -e 's|@''HAVE_DECL_FSEEKO''@|$(HAVE_DECL_FSEEKO)|g' \ -+ -e 's|@''HAVE_DECL_FTELLO''@|$(HAVE_DECL_FTELLO)|g' \ -+ -e 's|@''HAVE_DECL_GETDELIM''@|$(HAVE_DECL_GETDELIM)|g' \ -+ -e 's|@''HAVE_DECL_GETLINE''@|$(HAVE_DECL_GETLINE)|g' \ -+ -e 's|@''HAVE_DECL_OBSTACK_PRINTF''@|$(HAVE_DECL_OBSTACK_PRINTF)|g' \ -+ -e 's|@''HAVE_DECL_SNPRINTF''@|$(HAVE_DECL_SNPRINTF)|g' \ -+ -e 's|@''HAVE_DECL_VSNPRINTF''@|$(HAVE_DECL_VSNPRINTF)|g' \ -+ -e 's|@''HAVE_DPRINTF''@|$(HAVE_DPRINTF)|g' \ -+ -e 's|@''HAVE_FSEEKO''@|$(HAVE_FSEEKO)|g' \ -+ -e 's|@''HAVE_FTELLO''@|$(HAVE_FTELLO)|g' \ -+ -e 's|@''HAVE_PCLOSE''@|$(HAVE_PCLOSE)|g' \ -+ -e 's|@''HAVE_POPEN''@|$(HAVE_POPEN)|g' \ -+ -e 's|@''HAVE_RENAMEAT''@|$(HAVE_RENAMEAT)|g' \ -+ -e 's|@''HAVE_VASPRINTF''@|$(HAVE_VASPRINTF)|g' \ -+ -e 's|@''HAVE_VDPRINTF''@|$(HAVE_VDPRINTF)|g' \ -+ -e 's|@''REPLACE_DPRINTF''@|$(REPLACE_DPRINTF)|g' \ -+ -e 's|@''REPLACE_FCLOSE''@|$(REPLACE_FCLOSE)|g' \ -+ -e 's|@''REPLACE_FDOPEN''@|$(REPLACE_FDOPEN)|g' \ -+ -e 's|@''REPLACE_FFLUSH''@|$(REPLACE_FFLUSH)|g' \ -+ -e 's|@''REPLACE_FOPEN''@|$(REPLACE_FOPEN)|g' \ -+ -e 's|@''REPLACE_FPRINTF''@|$(REPLACE_FPRINTF)|g' \ -+ -e 's|@''REPLACE_FPURGE''@|$(REPLACE_FPURGE)|g' \ -+ -e 's|@''REPLACE_FREOPEN''@|$(REPLACE_FREOPEN)|g' \ -+ -e 's|@''REPLACE_FSEEK''@|$(REPLACE_FSEEK)|g' \ -+ -e 's|@''REPLACE_FSEEKO''@|$(REPLACE_FSEEKO)|g' \ -+ -e 's|@''REPLACE_FTELL''@|$(REPLACE_FTELL)|g' \ -+ -e 's|@''REPLACE_FTELLO''@|$(REPLACE_FTELLO)|g' \ -+ -e 's|@''REPLACE_GETDELIM''@|$(REPLACE_GETDELIM)|g' \ -+ -e 's|@''REPLACE_GETLINE''@|$(REPLACE_GETLINE)|g' \ -+ -e 's|@''REPLACE_OBSTACK_PRINTF''@|$(REPLACE_OBSTACK_PRINTF)|g' \ -+ -e 's|@''REPLACE_PERROR''@|$(REPLACE_PERROR)|g' \ -+ -e 's|@''REPLACE_POPEN''@|$(REPLACE_POPEN)|g' \ -+ -e 's|@''REPLACE_PRINTF''@|$(REPLACE_PRINTF)|g' \ -+ -e 's|@''REPLACE_REMOVE''@|$(REPLACE_REMOVE)|g' \ -+ -e 's|@''REPLACE_RENAME''@|$(REPLACE_RENAME)|g' \ -+ -e 's|@''REPLACE_RENAMEAT''@|$(REPLACE_RENAMEAT)|g' \ -+ -e 's|@''REPLACE_SNPRINTF''@|$(REPLACE_SNPRINTF)|g' \ -+ -e 's|@''REPLACE_SPRINTF''@|$(REPLACE_SPRINTF)|g' \ -+ -e 's|@''REPLACE_STDIO_READ_FUNCS''@|$(REPLACE_STDIO_READ_FUNCS)|g' \ -+ -e 's|@''REPLACE_STDIO_WRITE_FUNCS''@|$(REPLACE_STDIO_WRITE_FUNCS)|g' \ -+ -e 's|@''REPLACE_TMPFILE''@|$(REPLACE_TMPFILE)|g' \ -+ -e 's|@''REPLACE_VASPRINTF''@|$(REPLACE_VASPRINTF)|g' \ -+ -e 's|@''REPLACE_VDPRINTF''@|$(REPLACE_VDPRINTF)|g' \ -+ -e 's|@''REPLACE_VFPRINTF''@|$(REPLACE_VFPRINTF)|g' \ -+ -e 's|@''REPLACE_VPRINTF''@|$(REPLACE_VPRINTF)|g' \ -+ -e 's|@''REPLACE_VSNPRINTF''@|$(REPLACE_VSNPRINTF)|g' \ -+ -e 's|@''REPLACE_VSPRINTF''@|$(REPLACE_VSPRINTF)|g' \ -+ -e 's|@''ASM_SYMBOL_PREFIX''@|$(ASM_SYMBOL_PREFIX)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ } > $@-t && \ -+ mv $@-t $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ -+ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ -+ -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ -+ -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ -+ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ -+ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ -+ -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ -+ -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ -+ -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ -+ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ -+ -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ -+ -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ -+ -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ -+ -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ -+ -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ -+ -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ -+ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ -+ -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ -+ -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ -+ -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ -+ -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ -+ -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ -+ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ -+ -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ -+ -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ -+ -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \ -+ -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ -+ -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ -+ -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ -+ -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ -+ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ -+ -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ -+ -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ -+ -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ -+ < $(srcdir)/stdlib.in.h | \ -+ sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ -+ -e 's|@''HAVE_ATOLL''@|$(HAVE_ATOLL)|g' \ -+ -e 's|@''HAVE_CANONICALIZE_FILE_NAME''@|$(HAVE_CANONICALIZE_FILE_NAME)|g' \ -+ -e 's|@''HAVE_DECL_GETLOADAVG''@|$(HAVE_DECL_GETLOADAVG)|g' \ -+ -e 's|@''HAVE_GETSUBOPT''@|$(HAVE_GETSUBOPT)|g' \ -+ -e 's|@''HAVE_GRANTPT''@|$(HAVE_GRANTPT)|g' \ -+ -e 's|@''HAVE_MKDTEMP''@|$(HAVE_MKDTEMP)|g' \ -+ -e 's|@''HAVE_MKOSTEMP''@|$(HAVE_MKOSTEMP)|g' \ -+ -e 's|@''HAVE_MKOSTEMPS''@|$(HAVE_MKOSTEMPS)|g' \ -+ -e 's|@''HAVE_MKSTEMP''@|$(HAVE_MKSTEMP)|g' \ -+ -e 's|@''HAVE_MKSTEMPS''@|$(HAVE_MKSTEMPS)|g' \ -+ -e 's|@''HAVE_POSIX_OPENPT''@|$(HAVE_POSIX_OPENPT)|g' \ -+ -e 's|@''HAVE_PTSNAME''@|$(HAVE_PTSNAME)|g' \ -+ -e 's|@''HAVE_PTSNAME_R''@|$(HAVE_PTSNAME_R)|g' \ -+ -e 's|@''HAVE_RANDOM''@|$(HAVE_RANDOM)|g' \ -+ -e 's|@''HAVE_RANDOM_H''@|$(HAVE_RANDOM_H)|g' \ -+ -e 's|@''HAVE_RANDOM_R''@|$(HAVE_RANDOM_R)|g' \ -+ -e 's|@''HAVE_REALPATH''@|$(HAVE_REALPATH)|g' \ -+ -e 's|@''HAVE_RPMATCH''@|$(HAVE_RPMATCH)|g' \ -+ -e 's|@''HAVE_SECURE_GETENV''@|$(HAVE_SECURE_GETENV)|g' \ -+ -e 's|@''HAVE_DECL_SETENV''@|$(HAVE_DECL_SETENV)|g' \ -+ -e 's|@''HAVE_STRTOD''@|$(HAVE_STRTOD)|g' \ -+ -e 's|@''HAVE_STRTOLL''@|$(HAVE_STRTOLL)|g' \ -+ -e 's|@''HAVE_STRTOULL''@|$(HAVE_STRTOULL)|g' \ -+ -e 's|@''HAVE_STRUCT_RANDOM_DATA''@|$(HAVE_STRUCT_RANDOM_DATA)|g' \ -+ -e 's|@''HAVE_SYS_LOADAVG_H''@|$(HAVE_SYS_LOADAVG_H)|g' \ -+ -e 's|@''HAVE_UNLOCKPT''@|$(HAVE_UNLOCKPT)|g' \ -+ -e 's|@''HAVE_DECL_UNSETENV''@|$(HAVE_DECL_UNSETENV)|g' \ -+ -e 's|@''REPLACE_CALLOC''@|$(REPLACE_CALLOC)|g' \ -+ -e 's|@''REPLACE_CANONICALIZE_FILE_NAME''@|$(REPLACE_CANONICALIZE_FILE_NAME)|g' \ -+ -e 's|@''REPLACE_MALLOC''@|$(REPLACE_MALLOC)|g' \ -+ -e 's|@''REPLACE_MBTOWC''@|$(REPLACE_MBTOWC)|g' \ -+ -e 's|@''REPLACE_MKSTEMP''@|$(REPLACE_MKSTEMP)|g' \ -+ -e 's|@''REPLACE_PTSNAME''@|$(REPLACE_PTSNAME)|g' \ -+ -e 's|@''REPLACE_PTSNAME_R''@|$(REPLACE_PTSNAME_R)|g' \ -+ -e 's|@''REPLACE_PUTENV''@|$(REPLACE_PUTENV)|g' \ -+ -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ -+ -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ -+ -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ -+ -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ -+ -e 's|@''REPLACE_STRTOD''@|$(REPLACE_STRTOD)|g' \ -+ -e 's|@''REPLACE_UNSETENV''@|$(REPLACE_UNSETENV)|g' \ -+ -e 's|@''REPLACE_WCTOMB''@|$(REPLACE_WCTOMB)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ } > $@-t && \ -+ mv $@-t $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ -+ -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ -+ -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ -+ -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ -+ -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ -+ -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ -+ -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ -+ -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ -+ -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ -+ -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ -+ -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ -+ -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ -+ -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ -+ -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ -+ -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ -+ -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ -+ -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ -+ -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ -+ -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ -+ -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ -+ -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ -+ -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ -+ -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ -+ -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ -+ -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ -+ -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ -+ -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ -+ -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ -+ -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ -+ -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ -+ -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ -+ -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ -+ -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ -+ -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ -+ -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ -+ -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ -+ -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ -+ -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ -+ < $(srcdir)/string.in.h | \ -+ sed -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ -+ -e 's|@''HAVE_FFSLL''@|$(HAVE_FFSLL)|g' \ -+ -e 's|@''HAVE_MBSLEN''@|$(HAVE_MBSLEN)|g' \ -+ -e 's|@''HAVE_MEMCHR''@|$(HAVE_MEMCHR)|g' \ -+ -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \ -+ -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \ -+ -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \ -+ -e 's|@''HAVE_RAWMEMCHR''@|$(HAVE_RAWMEMCHR)|g' \ -+ -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \ -+ -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \ -+ -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \ -+ -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \ -+ -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \ -+ -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \ -+ -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \ -+ -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \ -+ -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \ -+ -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \ -+ -e 's|@''HAVE_DECL_STRERROR_R''@|$(HAVE_DECL_STRERROR_R)|g' \ -+ -e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \ -+ -e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \ -+ -e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \ -+ -e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \ -+ -e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \ -+ -e 's|@''REPLACE_STRCASESTR''@|$(REPLACE_STRCASESTR)|g' \ -+ -e 's|@''REPLACE_STRCHRNUL''@|$(REPLACE_STRCHRNUL)|g' \ -+ -e 's|@''REPLACE_STRDUP''@|$(REPLACE_STRDUP)|g' \ -+ -e 's|@''REPLACE_STRSTR''@|$(REPLACE_STRSTR)|g' \ -+ -e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \ -+ -e 's|@''REPLACE_STRERROR_R''@|$(REPLACE_STRERROR_R)|g' \ -+ -e 's|@''REPLACE_STRNCAT''@|$(REPLACE_STRNCAT)|g' \ -+ -e 's|@''REPLACE_STRNDUP''@|$(REPLACE_STRNDUP)|g' \ -+ -e 's|@''REPLACE_STRNLEN''@|$(REPLACE_STRNLEN)|g' \ -+ -e 's|@''REPLACE_STRSIGNAL''@|$(REPLACE_STRSIGNAL)|g' \ -+ -e 's|@''REPLACE_STRTOK_R''@|$(REPLACE_STRTOK_R)|g' \ -+ -e 's|@''UNDEFINE_STRTOK_R''@|$(UNDEFINE_STRTOK_R)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ < $(srcdir)/string.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+ -+# We need the following in order to create when the system -+# has one that is incomplete. -+sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_at)$(MKDIR_P) sys -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ -+ -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ -+ -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ -+ -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ -+ -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ -+ -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ -+ -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ -+ -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ -+ -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ -+ -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ -+ -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ -+ -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ -+ -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ -+ -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ -+ -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ -+ -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ -+ -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ -+ -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ -+ -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \ -+ -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \ -+ -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \ -+ -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \ -+ -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \ -+ -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \ -+ -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \ -+ -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \ -+ -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \ -+ -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \ -+ -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \ -+ -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \ -+ -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \ -+ -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \ -+ -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \ -+ -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \ -+ -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/sys_stat.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+sys/types.h: sys_types.in.h $(top_builddir)/config.status -+ $(AM_V_at)$(MKDIR_P) sys -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \ -+ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -+ < $(srcdir)/sys_types.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+ -+# We need the following in order to create when the system -+# doesn't have one that works with the given compiler. -+time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ -+ -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ -+ -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ -+ -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ -+ -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ -+ -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ -+ -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ -+ -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ -+ -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ -+ -e 's|@''HAVE_TIMEGM''@|$(HAVE_TIMEGM)|g' \ -+ -e 's|@''REPLACE_LOCALTIME_R''@|$(REPLACE_LOCALTIME_R)|g' \ -+ -e 's|@''REPLACE_MKTIME''@|$(REPLACE_MKTIME)|g' \ -+ -e 's|@''REPLACE_NANOSLEEP''@|$(REPLACE_NANOSLEEP)|g' \ -+ -e 's|@''REPLACE_TIMEGM''@|$(REPLACE_TIMEGM)|g' \ -+ -e 's|@''PTHREAD_H_DEFINES_STRUCT_TIMESPEC''@|$(PTHREAD_H_DEFINES_STRUCT_TIMESPEC)|g' \ -+ -e 's|@''SYS_TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(SYS_TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -+ -e 's|@''TIME_H_DEFINES_STRUCT_TIMESPEC''@|$(TIME_H_DEFINES_STRUCT_TIMESPEC)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ -+ < $(srcdir)/time.in.h; \ -+ } > $@-t && \ -+ mv $@-t $@ -+ -+# We need the following in order to create an empty placeholder for -+# when the system doesn't have one. -+unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ sed -e 's|@''GUARD_PREFIX''@|GL|g' \ -+ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -+ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -+ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -+ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -+ -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ -+ -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ -+ -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ -+ -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ -+ -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ -+ -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ -+ -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ -+ -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ -+ -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ -+ -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ -+ -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ -+ -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ -+ -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ -+ -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ -+ -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ -+ -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ -+ -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ -+ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ -+ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ -+ -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ -+ -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ -+ -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ -+ -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ -+ -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ -+ -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ -+ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ -+ -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ -+ -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ -+ -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ -+ -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ -+ -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ -+ -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ -+ -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ -+ -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ -+ -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ -+ -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ -+ -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ -+ -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ -+ -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ -+ -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ -+ -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ -+ -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ -+ -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ -+ -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ -+ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ -+ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ -+ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ -+ -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ -+ -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ -+ -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ -+ -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ -+ < $(srcdir)/unistd.in.h | \ -+ sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ -+ -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \ -+ -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \ -+ -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \ -+ -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \ -+ -e 's|@''HAVE_FCHDIR''@|$(HAVE_FCHDIR)|g' \ -+ -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \ -+ -e 's|@''HAVE_FDATASYNC''@|$(HAVE_FDATASYNC)|g' \ -+ -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \ -+ -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \ -+ -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \ -+ -e 's|@''HAVE_GETGROUPS''@|$(HAVE_GETGROUPS)|g' \ -+ -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \ -+ -e 's|@''HAVE_GETLOGIN''@|$(HAVE_GETLOGIN)|g' \ -+ -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \ -+ -e 's|@''HAVE_GROUP_MEMBER''@|$(HAVE_GROUP_MEMBER)|g' \ -+ -e 's|@''HAVE_LCHOWN''@|$(HAVE_LCHOWN)|g' \ -+ -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \ -+ -e 's|@''HAVE_LINKAT''@|$(HAVE_LINKAT)|g' \ -+ -e 's|@''HAVE_PIPE''@|$(HAVE_PIPE)|g' \ -+ -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \ -+ -e 's|@''HAVE_PREAD''@|$(HAVE_PREAD)|g' \ -+ -e 's|@''HAVE_PWRITE''@|$(HAVE_PWRITE)|g' \ -+ -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \ -+ -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \ -+ -e 's|@''HAVE_SETHOSTNAME''@|$(HAVE_SETHOSTNAME)|g' \ -+ -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \ -+ -e 's|@''HAVE_SYMLINK''@|$(HAVE_SYMLINK)|g' \ -+ -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \ -+ -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \ -+ -e 's|@''HAVE_USLEEP''@|$(HAVE_USLEEP)|g' \ -+ -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \ -+ -e 's|@''HAVE_DECL_FCHDIR''@|$(HAVE_DECL_FCHDIR)|g' \ -+ -e 's|@''HAVE_DECL_FDATASYNC''@|$(HAVE_DECL_FDATASYNC)|g' \ -+ -e 's|@''HAVE_DECL_GETDOMAINNAME''@|$(HAVE_DECL_GETDOMAINNAME)|g' \ -+ -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \ -+ -e 's|@''HAVE_DECL_GETPAGESIZE''@|$(HAVE_DECL_GETPAGESIZE)|g' \ -+ -e 's|@''HAVE_DECL_GETUSERSHELL''@|$(HAVE_DECL_GETUSERSHELL)|g' \ -+ -e 's|@''HAVE_DECL_SETHOSTNAME''@|$(HAVE_DECL_SETHOSTNAME)|g' \ -+ -e 's|@''HAVE_DECL_TTYNAME_R''@|$(HAVE_DECL_TTYNAME_R)|g' \ -+ -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \ -+ -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \ -+ | \ -+ sed -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \ -+ -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \ -+ -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \ -+ -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \ -+ -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \ -+ -e 's|@''REPLACE_FTRUNCATE''@|$(REPLACE_FTRUNCATE)|g' \ -+ -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \ -+ -e 's|@''REPLACE_GETDOMAINNAME''@|$(REPLACE_GETDOMAINNAME)|g' \ -+ -e 's|@''REPLACE_GETLOGIN_R''@|$(REPLACE_GETLOGIN_R)|g' \ -+ -e 's|@''REPLACE_GETGROUPS''@|$(REPLACE_GETGROUPS)|g' \ -+ -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \ -+ -e 's|@''REPLACE_ISATTY''@|$(REPLACE_ISATTY)|g' \ -+ -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \ -+ -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \ -+ -e 's|@''REPLACE_LINKAT''@|$(REPLACE_LINKAT)|g' \ -+ -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \ -+ -e 's|@''REPLACE_PREAD''@|$(REPLACE_PREAD)|g' \ -+ -e 's|@''REPLACE_PWRITE''@|$(REPLACE_PWRITE)|g' \ -+ -e 's|@''REPLACE_READ''@|$(REPLACE_READ)|g' \ -+ -e 's|@''REPLACE_READLINK''@|$(REPLACE_READLINK)|g' \ -+ -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \ -+ -e 's|@''REPLACE_SLEEP''@|$(REPLACE_SLEEP)|g' \ -+ -e 's|@''REPLACE_SYMLINK''@|$(REPLACE_SYMLINK)|g' \ -+ -e 's|@''REPLACE_TTYNAME_R''@|$(REPLACE_TTYNAME_R)|g' \ -+ -e 's|@''REPLACE_UNLINK''@|$(REPLACE_UNLINK)|g' \ -+ -e 's|@''REPLACE_UNLINKAT''@|$(REPLACE_UNLINKAT)|g' \ -+ -e 's|@''REPLACE_USLEEP''@|$(REPLACE_USLEEP)|g' \ -+ -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \ -+ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \ -+ -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \ -+ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -+ -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ -+ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)'; \ -+ } > $@-t && \ -+ mv $@-t $@ -+ -+unitypes.h: unitypes.in.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ cat $(srcdir)/unitypes.in.h; \ -+ } > $@-t && \ -+ mv -f $@-t $@ -+ -+uniwidth.h: uniwidth.in.h -+ $(AM_V_GEN)rm -f $@-t $@ && \ -+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ -+ cat $(srcdir)/uniwidth.in.h; \ -+ } > $@-t && \ -+ mv -f $@-t $@ -+ -+mostlyclean-local: mostlyclean-generic -+ @for dir in '' $(MOSTLYCLEANDIRS); do \ -+ if test -n "$$dir" && test -d $$dir; then \ -+ echo "rmdir $$dir"; rmdir $$dir; \ -+ fi; \ -+ done; \ -+ : -+ -+# Tell versions [3.59,3.63) of GNU make to not export all variables. -+# Otherwise a system limit (for SysV at least) may be exceeded. -+.NOEXPORT: -diff -Naur libiconv-20130504/srclib/malloca.c libiconv-20130504.patch/srclib/malloca.c ---- libiconv-20130504/srclib/malloca.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/malloca.c 2013-05-04 10:20:07.634698771 +0200 -@@ -0,0 +1,140 @@ -+/* Safe automatic memory allocation. -+ Copyright (C) 2003, 2006-2007, 2009-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2003. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#define _GL_USE_STDLIB_ALLOC 1 -+#include -+ -+/* Specification. */ -+#include "malloca.h" -+ -+#include -+ -+#include "verify.h" -+ -+/* The speed critical point in this file is freea() applied to an alloca() -+ result: it must be fast, to match the speed of alloca(). The speed of -+ mmalloca() and freea() in the other case are not critical, because they -+ are only invoked for big memory sizes. */ -+ -+#if HAVE_ALLOCA -+ -+/* Store the mmalloca() results in a hash table. This is needed to reliably -+ distinguish a mmalloca() result and an alloca() result. -+ -+ Although it is possible that the same pointer is returned by alloca() and -+ by mmalloca() at different times in the same application, it does not lead -+ to a bug in freea(), because: -+ - Before a pointer returned by alloca() can point into malloc()ed memory, -+ the function must return, and once this has happened the programmer must -+ not call freea() on it anyway. -+ - Before a pointer returned by mmalloca() can point into the stack, it -+ must be freed. The only function that can free it is freea(), and -+ when freea() frees it, it also removes it from the hash table. */ -+ -+#define MAGIC_NUMBER 0x1415fb4a -+#define MAGIC_SIZE sizeof (int) -+/* This is how the header info would look like without any alignment -+ considerations. */ -+struct preliminary_header { void *next; char room[MAGIC_SIZE]; }; -+/* But the header's size must be a multiple of sa_alignment_max. */ -+#define HEADER_SIZE \ -+ (((sizeof (struct preliminary_header) + sa_alignment_max - 1) / sa_alignment_max) * sa_alignment_max) -+struct header { void *next; char room[HEADER_SIZE - sizeof (struct preliminary_header) + MAGIC_SIZE]; }; -+verify (HEADER_SIZE == sizeof (struct header)); -+/* We make the hash table quite big, so that during lookups the probability -+ of empty hash buckets is quite high. There is no need to make the hash -+ table resizable, because when the hash table gets filled so much that the -+ lookup becomes slow, it means that the application has memory leaks. */ -+#define HASH_TABLE_SIZE 257 -+static void * mmalloca_results[HASH_TABLE_SIZE]; -+ -+#endif -+ -+void * -+mmalloca (size_t n) -+{ -+#if HAVE_ALLOCA -+ /* Allocate one more word, that serves as an indicator for malloc()ed -+ memory, so that freea() of an alloca() result is fast. */ -+ size_t nplus = n + HEADER_SIZE; -+ -+ if (nplus >= n) -+ { -+ char *p = (char *) malloc (nplus); -+ -+ if (p != NULL) -+ { -+ size_t slot; -+ -+ p += HEADER_SIZE; -+ -+ /* Put a magic number into the indicator word. */ -+ ((int *) p)[-1] = MAGIC_NUMBER; -+ -+ /* Enter p into the hash table. */ -+ slot = (uintptr_t) p % HASH_TABLE_SIZE; -+ ((struct header *) (p - HEADER_SIZE))->next = mmalloca_results[slot]; -+ mmalloca_results[slot] = p; -+ -+ return p; -+ } -+ } -+ /* Out of memory. */ -+ return NULL; -+#else -+# if !MALLOC_0_IS_NONNULL -+ if (n == 0) -+ n = 1; -+# endif -+ return malloc (n); -+#endif -+} -+ -+#if HAVE_ALLOCA -+void -+freea (void *p) -+{ -+ /* mmalloca() may have returned NULL. */ -+ if (p != NULL) -+ { -+ /* Attempt to quickly distinguish the mmalloca() result - which has -+ a magic indicator word - and the alloca() result - which has an -+ uninitialized indicator word. It is for this test that sa_increment -+ additional bytes are allocated in the alloca() case. */ -+ if (((int *) p)[-1] == MAGIC_NUMBER) -+ { -+ /* Looks like a mmalloca() result. To see whether it really is one, -+ perform a lookup in the hash table. */ -+ size_t slot = (uintptr_t) p % HASH_TABLE_SIZE; -+ void **chain = &mmalloca_results[slot]; -+ for (; *chain != NULL;) -+ { -+ if (*chain == p) -+ { -+ /* Found it. Remove it from the hash table and free it. */ -+ char *p_begin = (char *) p - HEADER_SIZE; -+ *chain = ((struct header *) p_begin)->next; -+ free (p_begin); -+ return; -+ } -+ chain = &((struct header *) ((char *) *chain - HEADER_SIZE))->next; -+ } -+ } -+ /* At this point, we know it was not a mmalloca() result. */ -+ } -+} -+#endif -diff -Naur libiconv-20130504/srclib/malloca.h libiconv-20130504.patch/srclib/malloca.h ---- libiconv-20130504/srclib/malloca.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/malloca.h 2013-05-04 10:20:07.638698760 +0200 -@@ -0,0 +1,133 @@ -+/* Safe automatic memory allocation. -+ Copyright (C) 2003-2007, 2009-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2003. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#ifndef _MALLOCA_H -+#define _MALLOCA_H -+ -+#include -+#include -+#include -+ -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* safe_alloca(N) is equivalent to alloca(N) when it is safe to call -+ alloca(N); otherwise it returns NULL. It either returns N bytes of -+ memory allocated on the stack, that lasts until the function returns, -+ or NULL. -+ Use of safe_alloca should be avoided: -+ - inside arguments of function calls - undefined behaviour, -+ - in inline functions - the allocation may actually last until the -+ calling function returns. -+*/ -+#if HAVE_ALLOCA -+/* The OS usually guarantees only one guard page at the bottom of the stack, -+ and a page size can be as small as 4096 bytes. So we cannot safely -+ allocate anything larger than 4096 bytes. Also care for the possibility -+ of a few compiler-allocated temporary stack slots. -+ This must be a macro, not a function. */ -+# define safe_alloca(N) ((N) < 4032 ? alloca (N) : NULL) -+#else -+# define safe_alloca(N) ((void) (N), NULL) -+#endif -+ -+/* malloca(N) is a safe variant of alloca(N). It allocates N bytes of -+ memory allocated on the stack, that must be freed using freea() before -+ the function returns. Upon failure, it returns NULL. */ -+#if HAVE_ALLOCA -+# define malloca(N) \ -+ ((N) < 4032 - sa_increment \ -+ ? (void *) ((char *) alloca ((N) + sa_increment) + sa_increment) \ -+ : mmalloca (N)) -+#else -+# define malloca(N) \ -+ mmalloca (N) -+#endif -+extern void * mmalloca (size_t n); -+ -+/* Free a block of memory allocated through malloca(). */ -+#if HAVE_ALLOCA -+extern void freea (void *p); -+#else -+# define freea free -+#endif -+ -+/* nmalloca(N,S) is an overflow-safe variant of malloca (N * S). -+ It allocates an array of N objects, each with S bytes of memory, -+ on the stack. S must be positive and N must be nonnegative. -+ The array must be freed using freea() before the function returns. */ -+#if 1 -+/* Cf. the definition of xalloc_oversized. */ -+# define nmalloca(n, s) \ -+ ((n) > (size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) \ -+ ? NULL \ -+ : malloca ((n) * (s))) -+#else -+extern void * nmalloca (size_t n, size_t s); -+#endif -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+ -+/* ------------------- Auxiliary, non-public definitions ------------------- */ -+ -+/* Determine the alignment of a type at compile time. */ -+#if defined __GNUC__ || defined __IBM__ALIGNOF__ -+# define sa_alignof __alignof__ -+#elif defined __cplusplus -+ template struct sa_alignof_helper { char __slot1; type __slot2; }; -+# define sa_alignof(type) offsetof (sa_alignof_helper, __slot2) -+#elif defined __hpux -+ /* Work around a HP-UX 10.20 cc bug with enums constants defined as offsetof -+ values. */ -+# define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) -+#elif defined _AIX -+ /* Work around an AIX 3.2.5 xlc bug with enums constants defined as offsetof -+ values. */ -+# define sa_alignof(type) (sizeof (type) <= 4 ? 4 : 8) -+#else -+# define sa_alignof(type) offsetof (struct { char __slot1; type __slot2; }, __slot2) -+#endif -+ -+enum -+{ -+/* The desired alignment of memory allocations is the maximum alignment -+ among all elementary types. */ -+ sa_alignment_long = sa_alignof (long), -+ sa_alignment_double = sa_alignof (double), -+#if HAVE_LONG_LONG_INT -+ sa_alignment_longlong = sa_alignof (long long), -+#endif -+ sa_alignment_longdouble = sa_alignof (long double), -+ sa_alignment_max = ((sa_alignment_long - 1) | (sa_alignment_double - 1) -+#if HAVE_LONG_LONG_INT -+ | (sa_alignment_longlong - 1) -+#endif -+ | (sa_alignment_longdouble - 1) -+ ) + 1, -+/* The increment that guarantees room for a magic word must be >= sizeof (int) -+ and a multiple of sa_alignment_max. */ -+ sa_increment = ((sizeof (int) + sa_alignment_max - 1) / sa_alignment_max) * sa_alignment_max -+}; -+ -+#endif /* _MALLOCA_H */ -diff -Naur libiconv-20130504/srclib/malloca.valgrind libiconv-20130504.patch/srclib/malloca.valgrind ---- libiconv-20130504/srclib/malloca.valgrind 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/malloca.valgrind 2013-05-04 10:20:07.641698751 +0200 -@@ -0,0 +1,7 @@ -+# Suppress a valgrind message about use of uninitialized memory in freea(). -+# This use is OK because it provides only a speedup. -+{ -+ freea -+ Memcheck:Cond -+ fun:freea -+} -diff -Naur libiconv-20130504/srclib/memmove.c libiconv-20130504.patch/srclib/memmove.c ---- libiconv-20130504/srclib/memmove.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/memmove.c 2013-05-04 10:20:07.644698742 +0200 -@@ -0,0 +1,26 @@ -+/* memmove.c -- copy memory. -+ Copy LENGTH bytes from SOURCE to DEST. Does not null-terminate. -+ In the public domain. -+ By David MacKenzie . */ -+ -+#include -+ -+#include -+ -+void * -+memmove (void *dest0, void const *source0, size_t length) -+{ -+ char *dest = dest0; -+ char const *source = source0; -+ if (source < dest) -+ /* Moving from low mem to hi mem; start at end. */ -+ for (source += length, dest += length; length; --length) -+ *--dest = *--source; -+ else if (source != dest) -+ { -+ /* Moving from hi mem to low mem; start at beginning. */ -+ for (; length; --length) -+ *dest++ = *source++; -+ } -+ return dest0; -+} -diff -Naur libiconv-20130504/srclib/msvc-inval.c libiconv-20130504.patch/srclib/msvc-inval.c ---- libiconv-20130504/srclib/msvc-inval.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/msvc-inval.c 2013-05-04 10:20:07.648698731 +0200 -@@ -0,0 +1,129 @@ -+/* Invalid parameter handler for MSVC runtime libraries. -+ Copyright (C) 2011-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License along -+ with this program; if not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include "msvc-inval.h" -+ -+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ -+ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) -+ -+/* Get _invalid_parameter_handler type and _set_invalid_parameter_handler -+ declaration. */ -+# include -+ -+# if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING -+ -+static void cdecl -+gl_msvc_invalid_parameter_handler (const wchar_t *expression, -+ const wchar_t *function, -+ const wchar_t *file, -+ unsigned int line, -+ uintptr_t dummy) -+{ -+} -+ -+# else -+ -+/* Get declarations of the native Windows API functions. */ -+# define WIN32_LEAN_AND_MEAN -+# include -+ -+# if defined _MSC_VER -+ -+static void cdecl -+gl_msvc_invalid_parameter_handler (const wchar_t *expression, -+ const wchar_t *function, -+ const wchar_t *file, -+ unsigned int line, -+ uintptr_t dummy) -+{ -+ RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); -+} -+ -+# else -+ -+/* An index to thread-local storage. */ -+static DWORD tls_index; -+static int tls_initialized /* = 0 */; -+ -+/* Used as a fallback only. */ -+static struct gl_msvc_inval_per_thread not_per_thread; -+ -+struct gl_msvc_inval_per_thread * -+gl_msvc_inval_current (void) -+{ -+ if (!tls_initialized) -+ { -+ tls_index = TlsAlloc (); -+ tls_initialized = 1; -+ } -+ if (tls_index == TLS_OUT_OF_INDEXES) -+ /* TlsAlloc had failed. */ -+ return ¬_per_thread; -+ else -+ { -+ struct gl_msvc_inval_per_thread *pointer = -+ (struct gl_msvc_inval_per_thread *) TlsGetValue (tls_index); -+ if (pointer == NULL) -+ { -+ /* First call. Allocate a new 'struct gl_msvc_inval_per_thread'. */ -+ pointer = -+ (struct gl_msvc_inval_per_thread *) -+ malloc (sizeof (struct gl_msvc_inval_per_thread)); -+ if (pointer == NULL) -+ /* Could not allocate memory. Use the global storage. */ -+ pointer = ¬_per_thread; -+ TlsSetValue (tls_index, pointer); -+ } -+ return pointer; -+ } -+} -+ -+static void cdecl -+gl_msvc_invalid_parameter_handler (const wchar_t *expression, -+ const wchar_t *function, -+ const wchar_t *file, -+ unsigned int line, -+ uintptr_t dummy) -+{ -+ struct gl_msvc_inval_per_thread *current = gl_msvc_inval_current (); -+ if (current->restart_valid) -+ longjmp (current->restart, 1); -+ else -+ /* An invalid parameter notification from outside the gnulib code. -+ Give the caller a chance to intervene. */ -+ RaiseException (STATUS_GNULIB_INVALID_PARAMETER, 0, 0, NULL); -+} -+ -+# endif -+ -+# endif -+ -+static int gl_msvc_inval_initialized /* = 0 */; -+ -+void -+gl_msvc_inval_ensure_handler (void) -+{ -+ if (gl_msvc_inval_initialized == 0) -+ { -+ _set_invalid_parameter_handler (gl_msvc_invalid_parameter_handler); -+ gl_msvc_inval_initialized = 1; -+ } -+} -+ -+#endif -diff -Naur libiconv-20130504/srclib/msvc-inval.h libiconv-20130504.patch/srclib/msvc-inval.h ---- libiconv-20130504/srclib/msvc-inval.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/msvc-inval.h 2013-05-04 10:20:07.653698716 +0200 -@@ -0,0 +1,222 @@ -+/* Invalid parameter handler for MSVC runtime libraries. -+ Copyright (C) 2011-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License along -+ with this program; if not, see . */ -+ -+#ifndef _MSVC_INVAL_H -+#define _MSVC_INVAL_H -+ -+/* With MSVC runtime libraries with the "invalid parameter handler" concept, -+ functions like fprintf(), dup2(), or close() crash when the caller passes -+ an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) -+ instead. -+ This file defines macros that turn such an invalid parameter notification -+ into a non-local exit. An error code can then be produced at the target -+ of this exit. You can thus write code like -+ -+ TRY_MSVC_INVAL -+ { -+ -+ } -+ CATCH_MSVC_INVAL -+ { -+ -+ } -+ DONE_MSVC_INVAL; -+ -+ This entire block expands to a single statement. -+ -+ The handling of invalid parameters can be done in three ways: -+ -+ * The default way, which is reasonable for programs (not libraries): -+ AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [DEFAULT_HANDLING]) -+ -+ * The way for libraries that make "hairy" calls (like close(-1), or -+ fclose(fp) where fileno(fp) is closed, or simply getdtablesize()): -+ AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [HAIRY_LIBRARY_HANDLING]) -+ -+ * The way for libraries that make no "hairy" calls: -+ AC_DEFINE([MSVC_INVALID_PARAMETER_HANDLING], [SANE_LIBRARY_HANDLING]) -+ */ -+ -+#define DEFAULT_HANDLING 0 -+#define HAIRY_LIBRARY_HANDLING 1 -+#define SANE_LIBRARY_HANDLING 2 -+ -+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER \ -+ && !(MSVC_INVALID_PARAMETER_HANDLING == SANE_LIBRARY_HANDLING) -+/* A native Windows platform with the "invalid parameter handler" concept, -+ and either DEFAULT_HANDLING or HAIRY_LIBRARY_HANDLING. */ -+ -+# if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING -+/* Default handling. */ -+ -+# ifdef __cplusplus -+extern "C" { -+# endif -+ -+/* Ensure that the invalid parameter handler in installed that just returns. -+ Because we assume no other part of the program installs a different -+ invalid parameter handler, this solution is multithread-safe. */ -+extern void gl_msvc_inval_ensure_handler (void); -+ -+# ifdef __cplusplus -+} -+# endif -+ -+# define TRY_MSVC_INVAL \ -+ do \ -+ { \ -+ gl_msvc_inval_ensure_handler (); \ -+ if (1) -+# define CATCH_MSVC_INVAL \ -+ else -+# define DONE_MSVC_INVAL \ -+ } \ -+ while (0) -+ -+# else -+/* Handling for hairy libraries. */ -+ -+# include -+ -+/* Gnulib can define its own status codes, as described in the page -+ "Raising Software Exceptions" on microsoft.com -+ . -+ Our status codes are composed of -+ - 0xE0000000, mandatory for all user-defined status codes, -+ - 0x474E550, a API identifier ("GNU"), -+ - 0, 1, 2, ..., used to distinguish different status codes from the -+ same API. */ -+# define STATUS_GNULIB_INVALID_PARAMETER (0xE0000000 + 0x474E550 + 0) -+ -+# if defined _MSC_VER -+/* A compiler that supports __try/__except, as described in the page -+ "try-except statement" on microsoft.com -+ . -+ With __try/__except, we can use the multithread-safe exception handling. */ -+ -+# ifdef __cplusplus -+extern "C" { -+# endif -+ -+/* Ensure that the invalid parameter handler in installed that raises a -+ software exception with code STATUS_GNULIB_INVALID_PARAMETER. -+ Because we assume no other part of the program installs a different -+ invalid parameter handler, this solution is multithread-safe. */ -+extern void gl_msvc_inval_ensure_handler (void); -+ -+# ifdef __cplusplus -+} -+# endif -+ -+# define TRY_MSVC_INVAL \ -+ do \ -+ { \ -+ gl_msvc_inval_ensure_handler (); \ -+ __try -+# define CATCH_MSVC_INVAL \ -+ __except (GetExceptionCode () == STATUS_GNULIB_INVALID_PARAMETER \ -+ ? EXCEPTION_EXECUTE_HANDLER \ -+ : EXCEPTION_CONTINUE_SEARCH) -+# define DONE_MSVC_INVAL \ -+ } \ -+ while (0) -+ -+# else -+/* Any compiler. -+ We can only use setjmp/longjmp. */ -+ -+# include -+ -+# ifdef __cplusplus -+extern "C" { -+# endif -+ -+struct gl_msvc_inval_per_thread -+{ -+ /* The restart that will resume execution at the code between -+ CATCH_MSVC_INVAL and DONE_MSVC_INVAL. It is enabled only between -+ TRY_MSVC_INVAL and CATCH_MSVC_INVAL. */ -+ jmp_buf restart; -+ -+ /* Tells whether the contents of restart is valid. */ -+ int restart_valid; -+}; -+ -+/* Ensure that the invalid parameter handler in installed that passes -+ control to the gl_msvc_inval_restart if it is valid, or raises a -+ software exception with code STATUS_GNULIB_INVALID_PARAMETER otherwise. -+ Because we assume no other part of the program installs a different -+ invalid parameter handler, this solution is multithread-safe. */ -+extern void gl_msvc_inval_ensure_handler (void); -+ -+/* Return a pointer to the per-thread data for the current thread. */ -+extern struct gl_msvc_inval_per_thread *gl_msvc_inval_current (void); -+ -+# ifdef __cplusplus -+} -+# endif -+ -+# define TRY_MSVC_INVAL \ -+ do \ -+ { \ -+ struct gl_msvc_inval_per_thread *msvc_inval_current; \ -+ gl_msvc_inval_ensure_handler (); \ -+ msvc_inval_current = gl_msvc_inval_current (); \ -+ /* First, initialize gl_msvc_inval_restart. */ \ -+ if (setjmp (msvc_inval_current->restart) == 0) \ -+ { \ -+ /* Then, mark it as valid. */ \ -+ msvc_inval_current->restart_valid = 1; -+# define CATCH_MSVC_INVAL \ -+ /* Execution completed. \ -+ Mark gl_msvc_inval_restart as invalid. */ \ -+ msvc_inval_current->restart_valid = 0; \ -+ } \ -+ else \ -+ { \ -+ /* Execution triggered an invalid parameter notification. \ -+ Mark gl_msvc_inval_restart as invalid. */ \ -+ msvc_inval_current->restart_valid = 0; -+# define DONE_MSVC_INVAL \ -+ } \ -+ } \ -+ while (0) -+ -+# endif -+ -+# endif -+ -+#else -+/* A platform that does not need to the invalid parameter handler, -+ or when SANE_LIBRARY_HANDLING is desired. */ -+ -+/* The braces here avoid GCC warnings like -+ "warning: suggest explicit braces to avoid ambiguous 'else'". */ -+# define TRY_MSVC_INVAL \ -+ do \ -+ { \ -+ if (1) -+# define CATCH_MSVC_INVAL \ -+ else -+# define DONE_MSVC_INVAL \ -+ } \ -+ while (0) -+ -+#endif -+ -+#endif /* _MSVC_INVAL_H */ -diff -Naur libiconv-20130504/srclib/msvc-nothrow.c libiconv-20130504.patch/srclib/msvc-nothrow.c ---- libiconv-20130504/srclib/msvc-nothrow.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/msvc-nothrow.c 2013-05-04 10:20:07.657698704 +0200 -@@ -0,0 +1,49 @@ -+/* Wrappers that don't throw invalid parameter notifications -+ with MSVC runtime libraries. -+ Copyright (C) 2011-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License along -+ with this program; if not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include "msvc-nothrow.h" -+ -+/* Get declarations of the native Windows API functions. */ -+#define WIN32_LEAN_AND_MEAN -+#include -+ -+#include "msvc-inval.h" -+ -+#undef _get_osfhandle -+ -+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER -+intptr_t -+_gl_nothrow_get_osfhandle (int fd) -+{ -+ intptr_t result; -+ -+ TRY_MSVC_INVAL -+ { -+ result = _get_osfhandle (fd); -+ } -+ CATCH_MSVC_INVAL -+ { -+ result = (intptr_t) INVALID_HANDLE_VALUE; -+ } -+ DONE_MSVC_INVAL; -+ -+ return result; -+} -+#endif -diff -Naur libiconv-20130504/srclib/msvc-nothrow.h libiconv-20130504.patch/srclib/msvc-nothrow.h ---- libiconv-20130504/srclib/msvc-nothrow.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/msvc-nothrow.h 2013-05-04 10:20:07.662698690 +0200 -@@ -0,0 +1,43 @@ -+/* Wrappers that don't throw invalid parameter notifications -+ with MSVC runtime libraries. -+ Copyright (C) 2011-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License along -+ with this program; if not, see . */ -+ -+#ifndef _MSVC_NOTHROW_H -+#define _MSVC_NOTHROW_H -+ -+/* With MSVC runtime libraries with the "invalid parameter handler" concept, -+ functions like fprintf(), dup2(), or close() crash when the caller passes -+ an invalid argument. But POSIX wants error codes (such as EINVAL or EBADF) -+ instead. -+ This file defines wrappers that turn such an invalid parameter notification -+ into an error code. */ -+ -+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+ -+/* Get original declaration of _get_osfhandle. */ -+# include -+ -+# if HAVE_MSVC_INVALID_PARAMETER_HANDLER -+ -+/* Override _get_osfhandle. */ -+extern intptr_t _gl_nothrow_get_osfhandle (int fd); -+# define _get_osfhandle _gl_nothrow_get_osfhandle -+ -+# endif -+ -+#endif -+ -+#endif /* _MSVC_NOTHROW_H */ -diff -Naur libiconv-20130504/srclib/pathmax.h libiconv-20130504.patch/srclib/pathmax.h ---- libiconv-20130504/srclib/pathmax.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/pathmax.h 2013-05-04 10:20:07.668698672 +0200 -@@ -0,0 +1,83 @@ -+/* Define PATH_MAX somehow. Requires sys/types.h. -+ Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2013 Free Software -+ Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#ifndef _PATHMAX_H -+# define _PATHMAX_H -+ -+/* POSIX:2008 defines PATH_MAX to be the maximum number of bytes in a filename, -+ including the terminating NUL byte. -+ -+ PATH_MAX is not defined on systems which have no limit on filename length, -+ such as GNU/Hurd. -+ -+ This file does *not* define PATH_MAX always. Programs that use this file -+ can handle the GNU/Hurd case in several ways: -+ - Either with a package-wide handling, or with a per-file handling, -+ - Either through a -+ #ifdef PATH_MAX -+ or through a fallback like -+ #ifndef PATH_MAX -+ # define PATH_MAX 8192 -+ #endif -+ or through a fallback like -+ #ifndef PATH_MAX -+ # define PATH_MAX pathconf ("/", _PC_PATH_MAX) -+ #endif -+ */ -+ -+# include -+ -+# include -+ -+# ifndef _POSIX_PATH_MAX -+# define _POSIX_PATH_MAX 256 -+# endif -+ -+/* Don't include sys/param.h if it already has been. */ -+# if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN -+# include -+# endif -+ -+# if !defined PATH_MAX && defined MAXPATHLEN -+# define PATH_MAX MAXPATHLEN -+# endif -+ -+# ifdef __hpux -+/* On HP-UX, PATH_MAX designates the maximum number of bytes in a filename, -+ *not* including the terminating NUL byte, and is set to 1023. -+ Additionally, when _XOPEN_SOURCE is defined to 500 or more, PATH_MAX is -+ not defined at all any more. */ -+# undef PATH_MAX -+# define PATH_MAX 1024 -+# endif -+ -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+/* The page "Naming Files, Paths, and Namespaces" on msdn.microsoft.com, -+ section "Maximum Path Length Limitation", -+ -+ explains that the maximum size of a filename, including the terminating -+ NUL byte, is 260 = 3 + 256 + 1. -+ This is the same value as -+ - FILENAME_MAX in , -+ - _MAX_PATH in , -+ - MAX_PATH in . -+ Undefine the original value, because mingw's gets it wrong. */ -+# undef PATH_MAX -+# define PATH_MAX 260 -+# endif -+ -+#endif /* _PATHMAX_H */ -diff -Naur libiconv-20130504/srclib/progname.c libiconv-20130504.patch/srclib/progname.c ---- libiconv-20130504/srclib/progname.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/progname.c 2013-05-04 10:20:07.672698661 +0200 -@@ -0,0 +1,92 @@ -+/* Program name management. -+ Copyright (C) 2001-2003, 2005-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2001. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+ -+#include -+ -+/* Specification. */ -+#undef ENABLE_RELOCATABLE /* avoid defining set_program_name as a macro */ -+#include "progname.h" -+ -+#include /* get program_invocation_name declaration */ -+#include -+#include -+#include -+ -+ -+/* String containing name the program is called with. -+ To be initialized by main(). */ -+const char *program_name = NULL; -+ -+/* Set program_name, based on argv[0]. -+ argv0 must be a string allocated with indefinite extent, and must not be -+ modified after this call. */ -+void -+set_program_name (const char *argv0) -+{ -+ /* libtool creates a temporary executable whose name is sometimes prefixed -+ with "lt-" (depends on the platform). It also makes argv[0] absolute. -+ But the name of the temporary executable is a detail that should not be -+ visible to the end user and to the test suite. -+ Remove this "/.libs/" or "/.libs/lt-" prefix here. */ -+ const char *slash; -+ const char *base; -+ -+ /* Sanity check. POSIX requires the invoking process to pass a non-NULL -+ argv[0]. */ -+ if (argv0 == NULL) -+ { -+ /* It's a bug in the invoking program. Help diagnosing it. */ -+ fputs ("A NULL argv[0] was passed through an exec system call.\n", -+ stderr); -+ abort (); -+ } -+ -+ slash = strrchr (argv0, '/'); -+ base = (slash != NULL ? slash + 1 : argv0); -+ if (base - argv0 >= 7 && strncmp (base - 7, "/.libs/", 7) == 0) -+ { -+ argv0 = base; -+ if (strncmp (base, "lt-", 3) == 0) -+ { -+ argv0 = base + 3; -+ /* On glibc systems, remove the "lt-" prefix from the variable -+ program_invocation_short_name. */ -+#if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME -+ program_invocation_short_name = (char *) argv0; -+#endif -+ } -+ } -+ -+ /* But don't strip off a leading / in general, because when the user -+ runs -+ /some/hidden/place/bin/cp foo foo -+ he should get the error message -+ /some/hidden/place/bin/cp: `foo' and `foo' are the same file -+ not -+ cp: `foo' and `foo' are the same file -+ */ -+ -+ program_name = argv0; -+ -+ /* On glibc systems, the error() function comes from libc and uses the -+ variable program_invocation_name, not program_name. So set this variable -+ as well. */ -+#if HAVE_DECL_PROGRAM_INVOCATION_NAME -+ program_invocation_name = (char *) argv0; -+#endif -+} -diff -Naur libiconv-20130504/srclib/progname.h libiconv-20130504.patch/srclib/progname.h ---- libiconv-20130504/srclib/progname.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/progname.h 2013-05-04 10:20:07.678698643 +0200 -@@ -0,0 +1,62 @@ -+/* Program name management. -+ Copyright (C) 2001-2004, 2006, 2009-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2001. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _PROGNAME_H -+#define _PROGNAME_H -+ -+/* Programs using this file should do the following in main(): -+ set_program_name (argv[0]); -+ */ -+ -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* String containing name the program is called with. */ -+extern DLL_VARIABLE const char *program_name; -+ -+/* Set program_name, based on argv[0]. -+ argv0 must be a string allocated with indefinite extent, and must not be -+ modified after this call. */ -+extern void set_program_name (const char *argv0); -+ -+#if ENABLE_RELOCATABLE -+ -+/* Set program_name, based on argv[0], and original installation prefix and -+ directory, for relocatability. */ -+extern void set_program_name_and_installdir (const char *argv0, -+ const char *orig_installprefix, -+ const char *orig_installdir); -+#undef set_program_name -+#define set_program_name(ARG0) \ -+ set_program_name_and_installdir (ARG0, INSTALLPREFIX, INSTALLDIR) -+ -+/* Return the full pathname of the current executable, based on the earlier -+ call to set_program_name_and_installdir. Return NULL if unknown. */ -+extern char *get_full_program_name (void); -+ -+#endif -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+ -+#endif /* _PROGNAME_H */ -diff -Naur libiconv-20130504/srclib/progreloc.c libiconv-20130504.patch/srclib/progreloc.c ---- libiconv-20130504/srclib/progreloc.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/progreloc.c 2013-05-04 10:20:07.682698631 +0200 -@@ -0,0 +1,377 @@ -+/* Provide relocatable programs. -+ Copyright (C) 2003-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2003. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+ -+#define _GL_USE_STDLIB_ALLOC 1 -+#include -+ -+/* Specification. */ -+#include "progname.h" -+ -+#include -+#include -+#include -+#include -+#include -+#include -+#include -+ -+/* Get declaration of _NSGetExecutablePath on Mac OS X 10.2 or newer. */ -+#if HAVE_MACH_O_DYLD_H -+# include -+#endif -+ -+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ -+# define WINDOWS_NATIVE -+#endif -+ -+#ifdef WINDOWS_NATIVE -+# define WIN32_LEAN_AND_MEAN -+# include -+#endif -+ -+#include "relocatable.h" -+ -+#ifdef NO_XMALLOC -+# include "areadlink.h" -+# define xreadlink areadlink -+#else -+# include "xreadlink.h" -+#endif -+ -+#ifdef NO_XMALLOC -+# define xmalloc malloc -+# define xstrdup strdup -+#else -+# include "xalloc.h" -+#endif -+ -+#ifndef O_EXEC -+# define O_EXEC O_RDONLY /* This is often close enough in older systems. */ -+#endif -+ -+/* Declare canonicalize_file_name. -+ The included above may be the system's one, not the gnulib -+ one. */ -+extern char * canonicalize_file_name (const char *name); -+ -+/* Pathname support. -+ ISSLASH(C) tests whether C is a directory separator character. -+ IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. -+ */ -+#if ((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__) || defined __EMX__ || defined __DJGPP__ -+ /* Native Windows, OS/2, DOS */ -+# define ISSLASH(C) ((C) == '/' || (C) == '\\') -+# define HAS_DEVICE(P) \ -+ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ -+ && (P)[1] == ':') -+# define IS_PATH_WITH_DIR(P) \ -+ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) -+# define FILE_SYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) -+#else -+ /* Unix */ -+# define ISSLASH(C) ((C) == '/') -+# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) -+# define FILE_SYSTEM_PREFIX_LEN(P) 0 -+#endif -+ -+/* The results of open() in this file are not used with fchdir, -+ therefore save some unnecessary work in fchdir.c. */ -+#undef open -+#undef close -+ -+/* Use the system functions, not the gnulib overrides in this file. */ -+#undef sprintf -+ -+#undef set_program_name -+ -+ -+#if ENABLE_RELOCATABLE -+ -+#if defined __linux__ || defined __CYGWIN__ -+/* File descriptor of the executable. -+ (Only used to verify that we find the correct executable.) */ -+static int executable_fd = -1; -+#endif -+ -+/* Tests whether a given pathname may belong to the executable. */ -+static bool -+maybe_executable (const char *filename) -+{ -+ /* The native Windows API lacks the access() function. */ -+#if !defined WINDOWS_NATIVE -+ if (access (filename, X_OK) < 0) -+ return false; -+#endif -+ -+#if defined __linux__ || defined __CYGWIN__ -+ if (executable_fd >= 0) -+ { -+ /* If we already have an executable_fd, check that filename points to -+ the same inode. */ -+ struct stat statexe; -+ struct stat statfile; -+ -+ if (fstat (executable_fd, &statexe) >= 0) -+ { -+ if (stat (filename, &statfile) < 0) -+ return false; -+ if (!(statfile.st_dev -+ && statfile.st_dev == statexe.st_dev -+ && statfile.st_ino == statexe.st_ino)) -+ return false; -+ } -+ } -+#endif -+ -+ return true; -+} -+ -+/* Determine the full pathname of the current executable, freshly allocated. -+ Return NULL if unknown. -+ Guaranteed to work on Linux and native Windows. Likely to work on the -+ other Unixes (maybe except BeOS), under most conditions. */ -+static char * -+find_executable (const char *argv0) -+{ -+#if defined WINDOWS_NATIVE -+ /* Native Windows only. -+ On Cygwin, it is better to use the Cygwin provided /proc interface, than -+ to use native Windows API and cygwin_conv_to_posix_path, because it -+ supports longer file names -+ (see ). */ -+ char location[MAX_PATH]; -+ int length = GetModuleFileName (NULL, location, sizeof (location)); -+ if (length < 0) -+ return NULL; -+ if (!IS_PATH_WITH_DIR (location)) -+ /* Shouldn't happen. */ -+ return NULL; -+ return xstrdup (location); -+#else /* Unix */ -+# ifdef __linux__ -+ /* The executable is accessible as /proc//exe. In newer Linux -+ versions, also as /proc/self/exe. Linux >= 2.1 provides a symlink -+ to the true pathname; older Linux versions give only device and ino, -+ enclosed in brackets, which we cannot use here. */ -+ { -+ char *link; -+ -+ link = xreadlink ("/proc/self/exe"); -+ if (link != NULL && link[0] != '[') -+ return link; -+ if (executable_fd < 0) -+ executable_fd = open ("/proc/self/exe", O_EXEC, 0); -+ -+ { -+ char buf[6+10+5]; -+ sprintf (buf, "/proc/%d/exe", getpid ()); -+ link = xreadlink (buf); -+ if (link != NULL && link[0] != '[') -+ return link; -+ if (executable_fd < 0) -+ executable_fd = open (buf, O_EXEC, 0); -+ } -+ } -+# endif -+# ifdef __CYGWIN__ -+ /* The executable is accessible as /proc//exe, at least in -+ Cygwin >= 1.5. */ -+ { -+ char *link; -+ -+ link = xreadlink ("/proc/self/exe"); -+ if (link != NULL) -+ return link; -+ if (executable_fd < 0) -+ executable_fd = open ("/proc/self/exe", O_EXEC, 0); -+ } -+# endif -+# if HAVE_MACH_O_DYLD_H && HAVE__NSGETEXECUTABLEPATH -+ /* On Mac OS X 10.2 or newer, the function -+ int _NSGetExecutablePath (char *buf, uint32_t *bufsize); -+ can be used to retrieve the executable's full path. */ -+ char location[4096]; -+ unsigned int length = sizeof (location); -+ if (_NSGetExecutablePath (location, &length) == 0 -+ && location[0] == '/') -+ return canonicalize_file_name (location); -+# endif -+ /* Guess the executable's full path. We assume the executable has been -+ called via execlp() or execvp() with properly set up argv[0]. The -+ login(1) convention to add a '-' prefix to argv[0] is not supported. */ -+ { -+ bool has_slash = false; -+ { -+ const char *p; -+ for (p = argv0; *p; p++) -+ if (*p == '/') -+ { -+ has_slash = true; -+ break; -+ } -+ } -+ if (!has_slash) -+ { -+ /* exec searches paths without slashes in the directory list given -+ by $PATH. */ -+ const char *path = getenv ("PATH"); -+ -+ if (path != NULL) -+ { -+ const char *p; -+ const char *p_next; -+ -+ for (p = path; *p; p = p_next) -+ { -+ const char *q; -+ size_t p_len; -+ char *concat_name; -+ -+ for (q = p; *q; q++) -+ if (*q == ':') -+ break; -+ p_len = q - p; -+ p_next = (*q == '\0' ? q : q + 1); -+ -+ /* We have a path item at p, of length p_len. -+ Now concatenate the path item and argv0. */ -+ concat_name = (char *) xmalloc (p_len + strlen (argv0) + 2); -+# ifdef NO_XMALLOC -+ if (concat_name == NULL) -+ return NULL; -+# endif -+ if (p_len == 0) -+ /* An empty PATH element designates the current directory. */ -+ strcpy (concat_name, argv0); -+ else -+ { -+ memcpy (concat_name, p, p_len); -+ concat_name[p_len] = '/'; -+ strcpy (concat_name + p_len + 1, argv0); -+ } -+ if (maybe_executable (concat_name)) -+ return canonicalize_file_name (concat_name); -+ free (concat_name); -+ } -+ } -+ /* Not found in the PATH, assume the current directory. */ -+ } -+ /* exec treats paths containing slashes as relative to the current -+ directory. */ -+ if (maybe_executable (argv0)) -+ return canonicalize_file_name (argv0); -+ } -+ /* No way to find the executable. */ -+ return NULL; -+#endif -+} -+ -+/* Full pathname of executable, or NULL. */ -+static char *executable_fullname; -+ -+static void -+prepare_relocate (const char *orig_installprefix, const char *orig_installdir, -+ const char *argv0) -+{ -+ char *curr_prefix; -+ -+ /* Determine the full pathname of the current executable. */ -+ executable_fullname = find_executable (argv0); -+ -+ /* Determine the current installation prefix from it. */ -+ curr_prefix = compute_curr_prefix (orig_installprefix, orig_installdir, -+ executable_fullname); -+ if (curr_prefix != NULL) -+ { -+ /* Now pass this prefix to all copies of the relocate.c source file. */ -+ set_relocation_prefix (orig_installprefix, curr_prefix); -+ -+ free (curr_prefix); -+ } -+} -+ -+/* Set program_name, based on argv[0], and original installation prefix and -+ directory, for relocatability. */ -+void -+set_program_name_and_installdir (const char *argv0, -+ const char *orig_installprefix, -+ const char *orig_installdir) -+{ -+ const char *argv0_stripped = argv0; -+ -+ /* Relocatable programs are renamed to .bin by install-reloc. Or, more -+ generally, their suffix is changed from $exeext to .bin$exeext. -+ Remove the ".bin" here. */ -+ { -+ size_t argv0_len = strlen (argv0); -+ const size_t exeext_len = sizeof (EXEEXT) - sizeof (""); -+ if (argv0_len > 4 + exeext_len) -+ if (memcmp (argv0 + argv0_len - exeext_len - 4, ".bin", 4) == 0) -+ { -+ if (sizeof (EXEEXT) > sizeof ("")) -+ { -+ /* Compare using an inlined copy of c_strncasecmp(), because -+ the filenames may have undergone a case conversion since -+ they were packaged. In other words, EXEEXT may be ".exe" -+ on one system and ".EXE" on another. */ -+ static const char exeext[] = EXEEXT; -+ const char *s1 = argv0 + argv0_len - exeext_len; -+ const char *s2 = exeext; -+ for (; *s1 != '\0'; s1++, s2++) -+ { -+ unsigned char c1 = *s1; -+ unsigned char c2 = *s2; -+ if ((c1 >= 'A' && c1 <= 'Z' ? c1 - 'A' + 'a' : c1) -+ != (c2 >= 'A' && c2 <= 'Z' ? c2 - 'A' + 'a' : c2)) -+ goto done_stripping; -+ } -+ } -+ /* Remove ".bin" before EXEEXT or its equivalent. */ -+ { -+ char *shorter = (char *) xmalloc (argv0_len - 4 + 1); -+#ifdef NO_XMALLOC -+ if (shorter != NULL) -+#endif -+ { -+ memcpy (shorter, argv0, argv0_len - exeext_len - 4); -+ if (sizeof (EXEEXT) > sizeof ("")) -+ memcpy (shorter + argv0_len - exeext_len - 4, -+ argv0 + argv0_len - exeext_len - 4, -+ exeext_len); -+ shorter[argv0_len - 4] = '\0'; -+ argv0_stripped = shorter; -+ } -+ } -+ done_stripping: ; -+ } -+ } -+ -+ set_program_name (argv0_stripped); -+ -+ prepare_relocate (orig_installprefix, orig_installdir, argv0); -+} -+ -+/* Return the full pathname of the current executable, based on the earlier -+ call to set_program_name_and_installdir. Return NULL if unknown. */ -+char * -+get_full_program_name (void) -+{ -+ return executable_fullname; -+} -+ -+#endif -diff -Naur libiconv-20130504/srclib/raise.c libiconv-20130504.patch/srclib/raise.c ---- libiconv-20130504/srclib/raise.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/raise.c 2013-05-04 10:20:07.686698620 +0200 -@@ -0,0 +1,79 @@ -+/* Provide a non-threads replacement for the POSIX raise function. -+ -+ Copyright (C) 2002-2003, 2005-2006, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* written by Jim Meyering and Bruno Haible */ -+ -+#include -+ -+/* Specification. */ -+#include -+ -+#if HAVE_RAISE -+/* Native Windows platform. */ -+ -+# include -+ -+# include "msvc-inval.h" -+ -+# undef raise -+ -+# if HAVE_MSVC_INVALID_PARAMETER_HANDLER -+static int -+raise_nothrow (int sig) -+{ -+ int result; -+ -+ TRY_MSVC_INVAL -+ { -+ result = raise (sig); -+ } -+ CATCH_MSVC_INVAL -+ { -+ result = -1; -+ errno = EINVAL; -+ } -+ DONE_MSVC_INVAL; -+ -+ return result; -+} -+# else -+# define raise_nothrow raise -+# endif -+ -+#else -+/* An old Unix platform. */ -+ -+# include -+ -+# define rpl_raise raise -+ -+#endif -+ -+int -+rpl_raise (int sig) -+{ -+#if GNULIB_defined_signal_blocking && GNULIB_defined_SIGPIPE -+ if (sig == SIGPIPE) -+ return _gl_raise_SIGPIPE (); -+#endif -+ -+#if HAVE_RAISE -+ return raise_nothrow (sig); -+#else -+ return kill (getpid (), sig); -+#endif -+} -diff -Naur libiconv-20130504/srclib/read.c libiconv-20130504.patch/srclib/read.c ---- libiconv-20130504/srclib/read.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/read.c 2013-05-04 10:20:07.690698608 +0200 -@@ -0,0 +1,85 @@ -+/* POSIX compatible read() function. -+ Copyright (C) 2008-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2011. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include -+ -+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+ -+# include -+# include -+ -+# define WIN32_LEAN_AND_MEAN /* avoid including junk */ -+# include -+ -+# include "msvc-inval.h" -+# include "msvc-nothrow.h" -+ -+# undef read -+ -+# if HAVE_MSVC_INVALID_PARAMETER_HANDLER -+static ssize_t -+read_nothrow (int fd, void *buf, size_t count) -+{ -+ ssize_t result; -+ -+ TRY_MSVC_INVAL -+ { -+ result = read (fd, buf, count); -+ } -+ CATCH_MSVC_INVAL -+ { -+ result = -1; -+ errno = EBADF; -+ } -+ DONE_MSVC_INVAL; -+ -+ return result; -+} -+# else -+# define read_nothrow read -+# endif -+ -+ssize_t -+rpl_read (int fd, void *buf, size_t count) -+{ -+ ssize_t ret = read_nothrow (fd, buf, count); -+ -+# if GNULIB_NONBLOCKING -+ if (ret < 0 -+ && GetLastError () == ERROR_NO_DATA) -+ { -+ HANDLE h = (HANDLE) _get_osfhandle (fd); -+ if (GetFileType (h) == FILE_TYPE_PIPE) -+ { -+ /* h is a pipe or socket. */ -+ DWORD state; -+ if (GetNamedPipeHandleState (h, &state, NULL, NULL, NULL, NULL, 0) -+ && (state & PIPE_NOWAIT) != 0) -+ /* h is a pipe in non-blocking mode. -+ Change errno from EINVAL to EAGAIN. */ -+ errno = EAGAIN; -+ } -+ } -+# endif -+ -+ return ret; -+} -+ -+#endif -diff -Naur libiconv-20130504/srclib/readlink.c libiconv-20130504.patch/srclib/readlink.c ---- libiconv-20130504/srclib/readlink.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/readlink.c 2013-05-04 10:20:07.695698593 +0200 -@@ -0,0 +1,74 @@ -+/* Stub for readlink(). -+ Copyright (C) 2003-2007, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include -+ -+#include -+#include -+#include -+ -+#if !HAVE_READLINK -+ -+/* readlink() substitute for systems that don't have a readlink() function, -+ such as DJGPP 2.03 and mingw32. */ -+ -+ssize_t -+readlink (const char *name, char *buf _GL_UNUSED, -+ size_t bufsize _GL_UNUSED) -+{ -+ struct stat statbuf; -+ -+ /* In general we should use lstat() here, not stat(). But on platforms -+ without symbolic links, lstat() - if it exists - would be equivalent to -+ stat(), therefore we can use stat(). This saves us a configure check. */ -+ if (stat (name, &statbuf) >= 0) -+ errno = EINVAL; -+ return -1; -+} -+ -+#else /* HAVE_READLINK */ -+ -+# undef readlink -+ -+/* readlink() wrapper that uses correct types, for systems like cygwin -+ 1.5.x where readlink returns int, and which rejects trailing slash, -+ for Solaris 9. */ -+ -+ssize_t -+rpl_readlink (const char *name, char *buf, size_t bufsize) -+{ -+# if READLINK_TRAILING_SLASH_BUG -+ size_t len = strlen (name); -+ if (len && name[len - 1] == '/') -+ { -+ /* Even if name without the slash is a symlink to a directory, -+ both lstat() and stat() must resolve the trailing slash to -+ the directory rather than the symlink. We can therefore -+ safely use stat() to distinguish between EINVAL and -+ ENOTDIR/ENOENT, avoiding extra overhead of rpl_lstat(). */ -+ struct stat st; -+ if (stat (name, &st) == 0) -+ errno = EINVAL; -+ return -1; -+ } -+# endif /* READLINK_TRAILING_SLASH_BUG */ -+ return readlink (name, buf, bufsize); -+} -+ -+#endif /* HAVE_READLINK */ -diff -Naur libiconv-20130504/srclib/relocatable.c libiconv-20130504.patch/srclib/relocatable.c ---- libiconv-20130504/srclib/relocatable.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/relocatable.c 2013-05-04 10:20:07.700698579 +0200 -@@ -0,0 +1,496 @@ -+/* Provide relocatable packages. -+ Copyright (C) 2003-2006, 2008-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2003. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+ -+/* Tell glibc's to provide a prototype for getline(). -+ This must come before because may include -+ , and once has been included, it's too late. */ -+#ifndef _GNU_SOURCE -+# define _GNU_SOURCE 1 -+#endif -+ -+#define _GL_USE_STDLIB_ALLOC 1 -+#include -+ -+/* Specification. */ -+#include "relocatable.h" -+ -+#if ENABLE_RELOCATABLE -+ -+#include -+#include -+#include -+#include -+ -+#ifdef NO_XMALLOC -+# define xmalloc malloc -+#else -+# include "xalloc.h" -+#endif -+ -+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ -+# define WIN32_LEAN_AND_MEAN -+# include -+#endif -+ -+#if DEPENDS_ON_LIBCHARSET -+# include -+#endif -+#if DEPENDS_ON_LIBICONV && HAVE_ICONV -+# include -+#endif -+#if DEPENDS_ON_LIBINTL && ENABLE_NLS -+# include -+#endif -+ -+/* Faked cheap 'bool'. */ -+#undef bool -+#undef false -+#undef true -+#define bool int -+#define false 0 -+#define true 1 -+ -+/* Pathname support. -+ ISSLASH(C) tests whether C is a directory separator character. -+ IS_PATH_WITH_DIR(P) tests whether P contains a directory specification. -+ */ -+#if ((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__) || defined __EMX__ || defined __DJGPP__ -+ /* Native Windows, OS/2, DOS */ -+# define ISSLASH(C) ((C) == '/' || (C) == '\\') -+# define HAS_DEVICE(P) \ -+ ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) \ -+ && (P)[1] == ':') -+# define IS_PATH_WITH_DIR(P) \ -+ (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P)) -+# define FILE_SYSTEM_PREFIX_LEN(P) (HAS_DEVICE (P) ? 2 : 0) -+#else -+ /* Unix */ -+# define ISSLASH(C) ((C) == '/') -+# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) -+# define FILE_SYSTEM_PREFIX_LEN(P) 0 -+#endif -+ -+/* Whether to enable the more costly support for relocatable libraries. -+ It allows libraries to be have been installed with a different original -+ prefix than the program. But it is quite costly, especially on Cygwin -+ platforms, see below. Therefore we enable it by default only on native -+ Windows platforms. */ -+#ifndef ENABLE_COSTLY_RELOCATABLE -+# if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ -+# define ENABLE_COSTLY_RELOCATABLE 1 -+# else -+# define ENABLE_COSTLY_RELOCATABLE 0 -+# endif -+#endif -+ -+/* Original installation prefix. */ -+static char *orig_prefix; -+static size_t orig_prefix_len; -+/* Current installation prefix. */ -+static char *curr_prefix; -+static size_t curr_prefix_len; -+/* These prefixes do not end in a slash. Anything that will be concatenated -+ to them must start with a slash. */ -+ -+/* Sets the original and the current installation prefix of this module. -+ Relocation simply replaces a pathname starting with the original prefix -+ by the corresponding pathname with the current prefix instead. Both -+ prefixes should be directory names without trailing slash (i.e. use "" -+ instead of "/"). */ -+static void -+set_this_relocation_prefix (const char *orig_prefix_arg, -+ const char *curr_prefix_arg) -+{ -+ if (orig_prefix_arg != NULL && curr_prefix_arg != NULL -+ /* Optimization: if orig_prefix and curr_prefix are equal, the -+ relocation is a nop. */ -+ && strcmp (orig_prefix_arg, curr_prefix_arg) != 0) -+ { -+ /* Duplicate the argument strings. */ -+ char *memory; -+ -+ orig_prefix_len = strlen (orig_prefix_arg); -+ curr_prefix_len = strlen (curr_prefix_arg); -+ memory = (char *) xmalloc (orig_prefix_len + 1 + curr_prefix_len + 1); -+#ifdef NO_XMALLOC -+ if (memory != NULL) -+#endif -+ { -+ memcpy (memory, orig_prefix_arg, orig_prefix_len + 1); -+ orig_prefix = memory; -+ memory += orig_prefix_len + 1; -+ memcpy (memory, curr_prefix_arg, curr_prefix_len + 1); -+ curr_prefix = memory; -+ return; -+ } -+ } -+ orig_prefix = NULL; -+ curr_prefix = NULL; -+ /* Don't worry about wasted memory here - this function is usually only -+ called once. */ -+} -+ -+/* Sets the original and the current installation prefix of the package. -+ Relocation simply replaces a pathname starting with the original prefix -+ by the corresponding pathname with the current prefix instead. Both -+ prefixes should be directory names without trailing slash (i.e. use "" -+ instead of "/"). */ -+void -+set_relocation_prefix (const char *orig_prefix_arg, const char *curr_prefix_arg) -+{ -+ set_this_relocation_prefix (orig_prefix_arg, curr_prefix_arg); -+ -+ /* Now notify all dependent libraries. */ -+#if DEPENDS_ON_LIBCHARSET -+ libcharset_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); -+#endif -+#if DEPENDS_ON_LIBICONV && HAVE_ICONV && _LIBICONV_VERSION >= 0x0109 -+ libiconv_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); -+#endif -+#if DEPENDS_ON_LIBINTL && ENABLE_NLS && defined libintl_set_relocation_prefix -+ libintl_set_relocation_prefix (orig_prefix_arg, curr_prefix_arg); -+#endif -+} -+ -+#if !defined IN_LIBRARY || (defined PIC && defined INSTALLDIR && ENABLE_COSTLY_RELOCATABLE) -+ -+/* Convenience function: -+ Computes the current installation prefix, based on the original -+ installation prefix, the original installation directory of a particular -+ file, and the current pathname of this file. -+ Returns it, freshly allocated. Returns NULL upon failure. */ -+#ifdef IN_LIBRARY -+#define compute_curr_prefix local_compute_curr_prefix -+static -+#endif -+char * -+compute_curr_prefix (const char *orig_installprefix, -+ const char *orig_installdir, -+ const char *curr_pathname) -+{ -+ char *curr_installdir; -+ const char *rel_installdir; -+ -+ if (curr_pathname == NULL) -+ return NULL; -+ -+ /* Determine the relative installation directory, relative to the prefix. -+ This is simply the difference between orig_installprefix and -+ orig_installdir. */ -+ if (strncmp (orig_installprefix, orig_installdir, strlen (orig_installprefix)) -+ != 0) -+ /* Shouldn't happen - nothing should be installed outside $(prefix). */ -+ return NULL; -+ rel_installdir = orig_installdir + strlen (orig_installprefix); -+ -+ /* Determine the current installation directory. */ -+ { -+ const char *p_base = curr_pathname + FILE_SYSTEM_PREFIX_LEN (curr_pathname); -+ const char *p = curr_pathname + strlen (curr_pathname); -+ char *q; -+ -+ while (p > p_base) -+ { -+ p--; -+ if (ISSLASH (*p)) -+ break; -+ } -+ -+ q = (char *) xmalloc (p - curr_pathname + 1); -+#ifdef NO_XMALLOC -+ if (q == NULL) -+ return NULL; -+#endif -+ memcpy (q, curr_pathname, p - curr_pathname); -+ q[p - curr_pathname] = '\0'; -+ curr_installdir = q; -+ } -+ -+ /* Compute the current installation prefix by removing the trailing -+ rel_installdir from it. */ -+ { -+ const char *rp = rel_installdir + strlen (rel_installdir); -+ const char *cp = curr_installdir + strlen (curr_installdir); -+ const char *cp_base = -+ curr_installdir + FILE_SYSTEM_PREFIX_LEN (curr_installdir); -+ -+ while (rp > rel_installdir && cp > cp_base) -+ { -+ bool same = false; -+ const char *rpi = rp; -+ const char *cpi = cp; -+ -+ while (rpi > rel_installdir && cpi > cp_base) -+ { -+ rpi--; -+ cpi--; -+ if (ISSLASH (*rpi) || ISSLASH (*cpi)) -+ { -+ if (ISSLASH (*rpi) && ISSLASH (*cpi)) -+ same = true; -+ break; -+ } -+ /* Do case-insensitive comparison if the file system is always or -+ often case-insensitive. It's better to accept the comparison -+ if the difference is only in case, rather than to fail. */ -+#if defined _WIN32 || defined __WIN32__ || defined __CYGWIN__ || defined __EMX__ || defined __DJGPP__ -+ /* Native Windows, Cygwin, OS/2, DOS - case insignificant file system */ -+ if ((*rpi >= 'a' && *rpi <= 'z' ? *rpi - 'a' + 'A' : *rpi) -+ != (*cpi >= 'a' && *cpi <= 'z' ? *cpi - 'a' + 'A' : *cpi)) -+ break; -+#else -+ if (*rpi != *cpi) -+ break; -+#endif -+ } -+ if (!same) -+ break; -+ /* The last pathname component was the same. opi and cpi now point -+ to the slash before it. */ -+ rp = rpi; -+ cp = cpi; -+ } -+ -+ if (rp > rel_installdir) -+ { -+ /* Unexpected: The curr_installdir does not end with rel_installdir. */ -+ free (curr_installdir); -+ return NULL; -+ } -+ -+ { -+ size_t curr_prefix_len = cp - curr_installdir; -+ char *curr_prefix; -+ -+ curr_prefix = (char *) xmalloc (curr_prefix_len + 1); -+#ifdef NO_XMALLOC -+ if (curr_prefix == NULL) -+ { -+ free (curr_installdir); -+ return NULL; -+ } -+#endif -+ memcpy (curr_prefix, curr_installdir, curr_prefix_len); -+ curr_prefix[curr_prefix_len] = '\0'; -+ -+ free (curr_installdir); -+ -+ return curr_prefix; -+ } -+ } -+} -+ -+#endif /* !IN_LIBRARY || PIC */ -+ -+#if defined PIC && defined INSTALLDIR && ENABLE_COSTLY_RELOCATABLE -+ -+/* Full pathname of shared library, or NULL. */ -+static char *shared_library_fullname; -+ -+#if (defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__ -+/* Native Windows only. -+ On Cygwin, it is better to use the Cygwin provided /proc interface, than -+ to use native Windows API and cygwin_conv_to_posix_path, because it -+ supports longer file names -+ (see ). */ -+ -+/* Determine the full pathname of the shared library when it is loaded. */ -+ -+BOOL WINAPI -+DllMain (HINSTANCE module_handle, DWORD event, LPVOID reserved) -+{ -+ (void) reserved; -+ -+ if (event == DLL_PROCESS_ATTACH) -+ { -+ /* The DLL is being loaded into an application's address range. */ -+ static char location[MAX_PATH]; -+ -+ if (!GetModuleFileName (module_handle, location, sizeof (location))) -+ /* Shouldn't happen. */ -+ return FALSE; -+ -+ if (!IS_PATH_WITH_DIR (location)) -+ /* Shouldn't happen. */ -+ return FALSE; -+ -+ shared_library_fullname = strdup (location); -+ } -+ -+ return TRUE; -+} -+ -+#else /* Unix */ -+ -+static void -+find_shared_library_fullname () -+{ -+#if (defined __linux__ && (__GLIBC__ >= 2 || defined __UCLIBC__)) || defined __CYGWIN__ -+ /* Linux has /proc/self/maps. glibc 2 and uClibc have the getline() -+ function. -+ Cygwin >= 1.5 has /proc/self/maps and the getline() function too. -+ But it is costly: ca. 0.3 ms on Linux, 3 ms on Cygwin 1.5, and 5 ms on -+ Cygwin 1.7. */ -+ FILE *fp; -+ -+ /* Open the current process' maps file. It describes one VMA per line. */ -+ fp = fopen ("/proc/self/maps", "r"); -+ if (fp) -+ { -+ unsigned long address = (unsigned long) &find_shared_library_fullname; -+ for (;;) -+ { -+ unsigned long start, end; -+ int c; -+ -+ if (fscanf (fp, "%lx-%lx", &start, &end) != 2) -+ break; -+ if (address >= start && address <= end - 1) -+ { -+ /* Found it. Now see if this line contains a filename. */ -+ while (c = getc (fp), c != EOF && c != '\n' && c != '/') -+ continue; -+ if (c == '/') -+ { -+ size_t size; -+ int len; -+ -+ ungetc (c, fp); -+ shared_library_fullname = NULL; size = 0; -+ len = getline (&shared_library_fullname, &size, fp); -+ if (len >= 0) -+ { -+ /* Success: filled shared_library_fullname. */ -+ if (len > 0 && shared_library_fullname[len - 1] == '\n') -+ shared_library_fullname[len - 1] = '\0'; -+ } -+ } -+ break; -+ } -+ while (c = getc (fp), c != EOF && c != '\n') -+ continue; -+ } -+ fclose (fp); -+ } -+#endif -+} -+ -+#endif /* Native Windows / Unix */ -+ -+/* Return the full pathname of the current shared library. -+ Return NULL if unknown. -+ Guaranteed to work only on Linux, Cygwin, and native Windows. */ -+static char * -+get_shared_library_fullname () -+{ -+#if !((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__) -+ static bool tried_find_shared_library_fullname; -+ if (!tried_find_shared_library_fullname) -+ { -+ find_shared_library_fullname (); -+ tried_find_shared_library_fullname = true; -+ } -+#endif -+ return shared_library_fullname; -+} -+ -+#endif /* PIC */ -+ -+/* Returns the pathname, relocated according to the current installation -+ directory. -+ The returned string is either PATHNAME unmodified or a freshly allocated -+ string that you can free with free() after casting it to 'char *'. */ -+const char * -+relocate (const char *pathname) -+{ -+#if defined PIC && defined INSTALLDIR && ENABLE_COSTLY_RELOCATABLE -+ static int initialized; -+ -+ /* Initialization code for a shared library. */ -+ if (!initialized) -+ { -+ /* At this point, orig_prefix and curr_prefix likely have already been -+ set through the main program's set_program_name_and_installdir -+ function. This is sufficient in the case that the library has -+ initially been installed in the same orig_prefix. But we can do -+ better, to also cover the cases that 1. it has been installed -+ in a different prefix before being moved to orig_prefix and (later) -+ to curr_prefix, 2. unlike the program, it has not moved away from -+ orig_prefix. */ -+ const char *orig_installprefix = INSTALLPREFIX; -+ const char *orig_installdir = INSTALLDIR; -+ char *curr_prefix_better; -+ -+ curr_prefix_better = -+ compute_curr_prefix (orig_installprefix, orig_installdir, -+ get_shared_library_fullname ()); -+ -+ set_relocation_prefix (orig_installprefix, -+ curr_prefix_better != NULL -+ ? curr_prefix_better -+ : curr_prefix); -+ -+ if (curr_prefix_better != NULL) -+ free (curr_prefix_better); -+ -+ initialized = 1; -+ } -+#endif -+ -+ /* Note: It is not necessary to perform case insensitive comparison here, -+ even for DOS-like file systems, because the pathname argument was -+ typically created from the same Makefile variable as orig_prefix came -+ from. */ -+ if (orig_prefix != NULL && curr_prefix != NULL -+ && strncmp (pathname, orig_prefix, orig_prefix_len) == 0) -+ { -+ if (pathname[orig_prefix_len] == '\0') -+ { -+ /* pathname equals orig_prefix. */ -+ char *result = (char *) xmalloc (strlen (curr_prefix) + 1); -+ -+#ifdef NO_XMALLOC -+ if (result != NULL) -+#endif -+ { -+ strcpy (result, curr_prefix); -+ return result; -+ } -+ } -+ else if (ISSLASH (pathname[orig_prefix_len])) -+ { -+ /* pathname starts with orig_prefix. */ -+ const char *pathname_tail = &pathname[orig_prefix_len]; -+ char *result = -+ (char *) xmalloc (curr_prefix_len + strlen (pathname_tail) + 1); -+ -+#ifdef NO_XMALLOC -+ if (result != NULL) -+#endif -+ { -+ memcpy (result, curr_prefix, curr_prefix_len); -+ strcpy (result + curr_prefix_len, pathname_tail); -+ return result; -+ } -+ } -+ } -+ /* Nothing to relocate. */ -+ return pathname; -+} -+ -+#endif -diff -Naur libiconv-20130504/srclib/relocatable.h libiconv-20130504.patch/srclib/relocatable.h ---- libiconv-20130504/srclib/relocatable.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/relocatable.h 2013-05-04 10:20:07.704698567 +0200 -@@ -0,0 +1,81 @@ -+/* Provide relocatable packages. -+ Copyright (C) 2003, 2005, 2008-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2003. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _RELOCATABLE_H -+#define _RELOCATABLE_H -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* This can be enabled through the configure --enable-relocatable option. */ -+#if ENABLE_RELOCATABLE -+ -+/* When building a DLL, we must export some functions. Note that because -+ this is a private .h file, we don't need to use __declspec(dllimport) -+ in any case. */ -+#if HAVE_VISIBILITY && BUILDING_DLL -+# define RELOCATABLE_DLL_EXPORTED __attribute__((__visibility__("default"))) -+#elif defined _MSC_VER && BUILDING_DLL -+# define RELOCATABLE_DLL_EXPORTED __declspec(dllexport) -+#else -+# define RELOCATABLE_DLL_EXPORTED -+#endif -+ -+/* Sets the original and the current installation prefix of the package. -+ Relocation simply replaces a pathname starting with the original prefix -+ by the corresponding pathname with the current prefix instead. Both -+ prefixes should be directory names without trailing slash (i.e. use "" -+ instead of "/"). */ -+extern RELOCATABLE_DLL_EXPORTED void -+ set_relocation_prefix (const char *orig_prefix, -+ const char *curr_prefix); -+ -+/* Returns the pathname, relocated according to the current installation -+ directory. -+ The returned string is either PATHNAME unmodified or a freshly allocated -+ string that you can free with free() after casting it to 'char *'. */ -+extern const char * relocate (const char *pathname); -+ -+/* Memory management: relocate() potentially allocates memory, because it has -+ to construct a fresh pathname. If this is a problem because your program -+ calls relocate() frequently, think about caching the result. Or free the -+ return value if it was different from the argument pathname. */ -+ -+/* Convenience function: -+ Computes the current installation prefix, based on the original -+ installation prefix, the original installation directory of a particular -+ file, and the current pathname of this file. -+ Returns it, freshly allocated. Returns NULL upon failure. */ -+extern char * compute_curr_prefix (const char *orig_installprefix, -+ const char *orig_installdir, -+ const char *curr_pathname); -+ -+#else -+ -+/* By default, we use the hardwired pathnames. */ -+#define relocate(pathname) (pathname) -+ -+#endif -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+#endif /* _RELOCATABLE_H */ -diff -Naur libiconv-20130504/srclib/relocwrapper.c libiconv-20130504.patch/srclib/relocwrapper.c ---- libiconv-20130504/srclib/relocwrapper.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/relocwrapper.c 2013-05-04 10:20:07.708698555 +0200 -@@ -0,0 +1,198 @@ -+/* Relocating wrapper program. -+ Copyright (C) 2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2003. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Dependencies: -+ relocwrapper -+ -> progname -+ -> progreloc -+ -> areadlink -+ -> careadlinkat -+ -> allocator -+ -> readlink -+ -> canonicalize-lgpl -+ -> malloca -+ -> readlink -+ -> relocatable -+ -> setenv -+ -> malloca -+ -> c-ctype -+ -+ Macros that need to be set while compiling this file: -+ - ENABLE_RELOCATABLE 1 -+ - INSTALLPREFIX the base installation directory -+ - INSTALLDIR the directory into which this program is installed -+ - LIBPATHVAR the platform dependent runtime library path variable -+ - LIBDIRS a comma-terminated list of strings representing the list of -+ directories that contain the libraries at installation time -+ -+ We don't want to internationalize this wrapper because then it would -+ depend on libintl and therefore need relocation itself. So use only -+ libc functions, no gettext(), no error(), no xmalloc(), no xsetenv(). -+ */ -+ -+#define _GL_USE_STDLIB_ALLOC 1 -+#include -+ -+#include -+#include -+#include -+#include -+#include -+ -+#include "progname.h" -+#include "relocatable.h" -+#include "c-ctype.h" -+#include "verify.h" -+ -+/* Use the system functions, not the gnulib overrides in this file. */ -+#undef fprintf -+ -+/* Return a copy of the filename, with an extra ".bin" at the end. -+ More generally, it replaces "${EXEEXT}" at the end with ".bin${EXEEXT}". */ -+static char * -+add_dotbin (const char *filename) -+{ -+ size_t filename_len = strlen (filename); -+ char *result = (char *) malloc (filename_len + 4 + 1); -+ -+ if (result != NULL) -+ { -+ if (sizeof (EXEEXT) > sizeof ("")) -+ { -+ /* EXEEXT handling. */ -+ const size_t exeext_len = sizeof (EXEEXT) - sizeof (""); -+ static const char exeext[] = EXEEXT; -+ if (filename_len > exeext_len) -+ { -+ /* Compare using an inlined copy of c_strncasecmp(), because -+ the filenames may have undergone a case conversion since -+ they were packaged. In other words, EXEEXT may be ".exe" -+ on one system and ".EXE" on another. */ -+ const char *s1 = filename + filename_len - exeext_len; -+ const char *s2 = exeext; -+ for (; *s1 != '\0'; s1++, s2++) -+ { -+ unsigned char c1 = *s1; -+ unsigned char c2 = *s2; -+ if (c_tolower (c1) != c_tolower (c2)) -+ goto simple_append; -+ } -+ /* Insert ".bin" before EXEEXT or its equivalent. */ -+ memcpy (result, filename, filename_len - exeext_len); -+ memcpy (result + filename_len - exeext_len, ".bin", 4); -+ memcpy (result + filename_len - exeext_len + 4, -+ filename + filename_len - exeext_len, -+ exeext_len + 1); -+ return result; -+ } -+ } -+ simple_append: -+ /* Simply append ".bin". */ -+ memcpy (result, filename, filename_len); -+ memcpy (result + filename_len, ".bin", 4 + 1); -+ return result; -+ } -+ else -+ { -+ fprintf (stderr, "%s: %s\n", program_name, "memory exhausted"); -+ exit (1); -+ } -+} -+ -+/* List of directories that contain the libraries. */ -+static const char *libdirs[] = { LIBDIRS NULL }; -+/* Verify that at least one directory is given. */ -+verify (sizeof (libdirs) / sizeof (libdirs[0]) > 1); -+ -+/* Relocate the list of directories that contain the libraries. */ -+static void -+relocate_libdirs () -+{ -+ size_t i; -+ -+ for (i = 0; i < sizeof (libdirs) / sizeof (libdirs[0]) - 1; i++) -+ libdirs[i] = relocate (libdirs[i]); -+} -+ -+/* Activate the list of directories in the LIBPATHVAR. */ -+static void -+activate_libdirs () -+{ -+ const char *old_value; -+ size_t total; -+ size_t i; -+ char *value; -+ char *p; -+ -+ old_value = getenv (LIBPATHVAR); -+ if (old_value == NULL) -+ old_value = ""; -+ -+ total = 0; -+ for (i = 0; i < sizeof (libdirs) / sizeof (libdirs[0]) - 1; i++) -+ total += strlen (libdirs[i]) + 1; -+ total += strlen (old_value) + 1; -+ -+ value = (char *) malloc (total); -+ if (value == NULL) -+ { -+ fprintf (stderr, "%s: %s\n", program_name, "memory exhausted"); -+ exit (1); -+ } -+ p = value; -+ for (i = 0; i < sizeof (libdirs) / sizeof (libdirs[0]) - 1; i++) -+ { -+ size_t len = strlen (libdirs[i]); -+ memcpy (p, libdirs[i], len); -+ p += len; -+ *p++ = ':'; -+ } -+ if (old_value[0] != '\0') -+ strcpy (p, old_value); -+ else -+ p[-1] = '\0'; -+ -+ if (setenv (LIBPATHVAR, value, 1) < 0) -+ { -+ fprintf (stderr, "%s: %s\n", program_name, "memory exhausted"); -+ exit (1); -+ } -+} -+ -+int -+main (int argc, char *argv[]) -+{ -+ char *full_program_name; -+ -+ /* Set the program name and perform preparations for -+ get_full_program_name() and relocate(). */ -+ set_program_name_and_installdir (argv[0], INSTALLPREFIX, INSTALLDIR); -+ -+ /* Get the full program path. (Important if accessed through a symlink.) */ -+ full_program_name = get_full_program_name (); -+ if (full_program_name == NULL) -+ full_program_name = argv[0]; -+ -+ /* Invoke the real program, with suffix ".bin". */ -+ argv[0] = add_dotbin (full_program_name); -+ relocate_libdirs (); -+ activate_libdirs (); -+ execv (argv[0], argv); -+ fprintf (stderr, "%s: could not execute %s: %s\n", -+ program_name, argv[0], strerror (errno)); -+ exit (127); -+} -diff -Naur libiconv-20130504/srclib/safe-read.c libiconv-20130504.patch/srclib/safe-read.c ---- libiconv-20130504/srclib/safe-read.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/safe-read.c 2013-05-04 10:20:07.711698547 +0200 -@@ -0,0 +1,77 @@ -+/* An interface to read and write that retries after interrupts. -+ -+ Copyright (C) 1993-1994, 1998, 2002-2006, 2009-2013 Free Software -+ Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#ifdef SAFE_WRITE -+# include "safe-write.h" -+#else -+# include "safe-read.h" -+#endif -+ -+/* Get ssize_t. */ -+#include -+#include -+ -+#include -+ -+#ifdef EINTR -+# define IS_EINTR(x) ((x) == EINTR) -+#else -+# define IS_EINTR(x) 0 -+#endif -+ -+#include -+ -+#ifdef SAFE_WRITE -+# define safe_rw safe_write -+# define rw write -+#else -+# define safe_rw safe_read -+# define rw read -+# undef const -+# define const /* empty */ -+#endif -+ -+/* Read(write) up to COUNT bytes at BUF from(to) descriptor FD, retrying if -+ interrupted. Return the actual number of bytes read(written), zero for EOF, -+ or SAFE_READ_ERROR(SAFE_WRITE_ERROR) upon error. */ -+size_t -+safe_rw (int fd, void const *buf, size_t count) -+{ -+ /* Work around a bug in Tru64 5.1. Attempting to read more than -+ INT_MAX bytes fails with errno == EINVAL. See -+ . -+ When decreasing COUNT, keep it block-aligned. */ -+ enum { BUGGY_READ_MAXIMUM = INT_MAX & ~8191 }; -+ -+ for (;;) -+ { -+ ssize_t result = rw (fd, buf, count); -+ -+ if (0 <= result) -+ return result; -+ else if (IS_EINTR (errno)) -+ continue; -+ else if (errno == EINVAL && BUGGY_READ_MAXIMUM < count) -+ count = BUGGY_READ_MAXIMUM; -+ else -+ return result; -+ } -+} -diff -Naur libiconv-20130504/srclib/safe-read.h libiconv-20130504.patch/srclib/safe-read.h ---- libiconv-20130504/srclib/safe-read.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/safe-read.h 2013-05-04 10:20:07.714698538 +0200 -@@ -0,0 +1,47 @@ -+/* An interface to read() that retries after interrupts. -+ Copyright (C) 2002, 2006, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Some system calls may be interrupted and fail with errno = EINTR in the -+ following situations: -+ - The process is stopped and restarted (signal SIGSTOP and SIGCONT, user -+ types Ctrl-Z) on some platforms: Mac OS X. -+ - The process receives a signal for which a signal handler was installed -+ with sigaction() with an sa_flags field that does not contain -+ SA_RESTART. -+ - The process receives a signal for which a signal handler was installed -+ with signal() and for which no call to siginterrupt(sig,0) was done, -+ on some platforms: AIX, HP-UX, IRIX, OSF/1, Solaris. -+ -+ This module provides a wrapper around read() that handles EINTR. */ -+ -+#include -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+#define SAFE_READ_ERROR ((size_t) -1) -+ -+/* Read up to COUNT bytes at BUF from descriptor FD, retrying if interrupted. -+ Return the actual number of bytes read, zero for EOF, or SAFE_READ_ERROR -+ upon error. */ -+extern size_t safe_read (int fd, void *buf, size_t count); -+ -+ -+#ifdef __cplusplus -+} -+#endif -diff -Naur libiconv-20130504/srclib/setenv.c libiconv-20130504.patch/srclib/setenv.c ---- libiconv-20130504/srclib/setenv.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/setenv.c 2013-05-04 10:20:07.718698526 +0200 -@@ -0,0 +1,390 @@ -+/* Copyright (C) 1992, 1995-2003, 2005-2013 Free Software Foundation, Inc. -+ This file is part of the GNU C Library. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#if !_LIBC -+/* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc -+ optimizes away the name == NULL test below. */ -+# define _GL_ARG_NONNULL(params) -+ -+# define _GL_USE_STDLIB_ALLOC 1 -+# include -+#endif -+ -+#include -+ -+/* Specification. */ -+#include -+ -+#include -+#ifndef __set_errno -+# define __set_errno(ev) ((errno) = (ev)) -+#endif -+ -+#include -+#if _LIBC || HAVE_UNISTD_H -+# include -+#endif -+ -+#if !_LIBC -+# include "malloca.h" -+#endif -+ -+#if _LIBC || !HAVE_SETENV -+ -+#if !_LIBC -+# define __environ environ -+#endif -+ -+#if _LIBC -+/* This lock protects against simultaneous modifications of 'environ'. */ -+# include -+__libc_lock_define_initialized (static, envlock) -+# define LOCK __libc_lock_lock (envlock) -+# define UNLOCK __libc_lock_unlock (envlock) -+#else -+# define LOCK -+# define UNLOCK -+#endif -+ -+/* In the GNU C library we must keep the namespace clean. */ -+#ifdef _LIBC -+# define setenv __setenv -+# define clearenv __clearenv -+# define tfind __tfind -+# define tsearch __tsearch -+#endif -+ -+/* In the GNU C library implementation we try to be more clever and -+ allow arbitrarily many changes of the environment given that the used -+ values are from a small set. Outside glibc this will eat up all -+ memory after a while. */ -+#if defined _LIBC || (defined HAVE_SEARCH_H && defined HAVE_TSEARCH \ -+ && defined __GNUC__) -+# define USE_TSEARCH 1 -+# include -+typedef int (*compar_fn_t) (const void *, const void *); -+ -+/* This is a pointer to the root of the search tree with the known -+ values. */ -+static void *known_values; -+ -+# define KNOWN_VALUE(Str) \ -+ ({ \ -+ void *value = tfind (Str, &known_values, (compar_fn_t) strcmp); \ -+ value != NULL ? *(char **) value : NULL; \ -+ }) -+# define STORE_VALUE(Str) \ -+ tsearch (Str, &known_values, (compar_fn_t) strcmp) -+ -+#else -+# undef USE_TSEARCH -+ -+# define KNOWN_VALUE(Str) NULL -+# define STORE_VALUE(Str) do { } while (0) -+ -+#endif -+ -+ -+/* If this variable is not a null pointer we allocated the current -+ environment. */ -+static char **last_environ; -+ -+ -+/* This function is used by 'setenv' and 'putenv'. The difference between -+ the two functions is that for the former must create a new string which -+ is then placed in the environment, while the argument of 'putenv' -+ must be used directly. This is all complicated by the fact that we try -+ to reuse values once generated for a 'setenv' call since we can never -+ free the strings. */ -+int -+__add_to_environ (const char *name, const char *value, const char *combined, -+ int replace) -+{ -+ char **ep; -+ size_t size; -+ const size_t namelen = strlen (name); -+ const size_t vallen = value != NULL ? strlen (value) + 1 : 0; -+ -+ LOCK; -+ -+ /* We have to get the pointer now that we have the lock and not earlier -+ since another thread might have created a new environment. */ -+ ep = __environ; -+ -+ size = 0; -+ if (ep != NULL) -+ { -+ for (; *ep != NULL; ++ep) -+ if (!strncmp (*ep, name, namelen) && (*ep)[namelen] == '=') -+ break; -+ else -+ ++size; -+ } -+ -+ if (ep == NULL || *ep == NULL) -+ { -+ char **new_environ; -+#ifdef USE_TSEARCH -+ char *new_value; -+#endif -+ -+ /* We allocated this space; we can extend it. */ -+ new_environ = -+ (char **) (last_environ == NULL -+ ? malloc ((size + 2) * sizeof (char *)) -+ : realloc (last_environ, (size + 2) * sizeof (char *))); -+ if (new_environ == NULL) -+ { -+ /* It's easier to set errno to ENOMEM than to rely on the -+ 'malloc-posix' and 'realloc-posix' gnulib modules. */ -+ __set_errno (ENOMEM); -+ UNLOCK; -+ return -1; -+ } -+ -+ /* If the whole entry is given add it. */ -+ if (combined != NULL) -+ /* We must not add the string to the search tree since it belongs -+ to the user. */ -+ new_environ[size] = (char *) combined; -+ else -+ { -+ /* See whether the value is already known. */ -+#ifdef USE_TSEARCH -+# ifdef _LIBC -+ new_value = (char *) alloca (namelen + 1 + vallen); -+ __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), -+ value, vallen); -+# else -+ new_value = (char *) malloca (namelen + 1 + vallen); -+ if (new_value == NULL) -+ { -+ __set_errno (ENOMEM); -+ UNLOCK; -+ return -1; -+ } -+ memcpy (new_value, name, namelen); -+ new_value[namelen] = '='; -+ memcpy (&new_value[namelen + 1], value, vallen); -+# endif -+ -+ new_environ[size] = KNOWN_VALUE (new_value); -+ if (new_environ[size] == NULL) -+#endif -+ { -+ new_environ[size] = (char *) malloc (namelen + 1 + vallen); -+ if (new_environ[size] == NULL) -+ { -+#if defined USE_TSEARCH && !defined _LIBC -+ freea (new_value); -+#endif -+ __set_errno (ENOMEM); -+ UNLOCK; -+ return -1; -+ } -+ -+#ifdef USE_TSEARCH -+ memcpy (new_environ[size], new_value, namelen + 1 + vallen); -+#else -+ memcpy (new_environ[size], name, namelen); -+ new_environ[size][namelen] = '='; -+ memcpy (&new_environ[size][namelen + 1], value, vallen); -+#endif -+ /* And save the value now. We cannot do this when we remove -+ the string since then we cannot decide whether it is a -+ user string or not. */ -+ STORE_VALUE (new_environ[size]); -+ } -+#if defined USE_TSEARCH && !defined _LIBC -+ freea (new_value); -+#endif -+ } -+ -+ if (__environ != last_environ) -+ memcpy ((char *) new_environ, (char *) __environ, -+ size * sizeof (char *)); -+ -+ new_environ[size + 1] = NULL; -+ -+ last_environ = __environ = new_environ; -+ } -+ else if (replace) -+ { -+ char *np; -+ -+ /* Use the user string if given. */ -+ if (combined != NULL) -+ np = (char *) combined; -+ else -+ { -+#ifdef USE_TSEARCH -+ char *new_value; -+# ifdef _LIBC -+ new_value = alloca (namelen + 1 + vallen); -+ __mempcpy (__mempcpy (__mempcpy (new_value, name, namelen), "=", 1), -+ value, vallen); -+# else -+ new_value = malloca (namelen + 1 + vallen); -+ if (new_value == NULL) -+ { -+ __set_errno (ENOMEM); -+ UNLOCK; -+ return -1; -+ } -+ memcpy (new_value, name, namelen); -+ new_value[namelen] = '='; -+ memcpy (&new_value[namelen + 1], value, vallen); -+# endif -+ -+ np = KNOWN_VALUE (new_value); -+ if (np == NULL) -+#endif -+ { -+ np = (char *) malloc (namelen + 1 + vallen); -+ if (np == NULL) -+ { -+#if defined USE_TSEARCH && !defined _LIBC -+ freea (new_value); -+#endif -+ __set_errno (ENOMEM); -+ UNLOCK; -+ return -1; -+ } -+ -+#ifdef USE_TSEARCH -+ memcpy (np, new_value, namelen + 1 + vallen); -+#else -+ memcpy (np, name, namelen); -+ np[namelen] = '='; -+ memcpy (&np[namelen + 1], value, vallen); -+#endif -+ /* And remember the value. */ -+ STORE_VALUE (np); -+ } -+#if defined USE_TSEARCH && !defined _LIBC -+ freea (new_value); -+#endif -+ } -+ -+ *ep = np; -+ } -+ -+ UNLOCK; -+ -+ return 0; -+} -+ -+int -+setenv (const char *name, const char *value, int replace) -+{ -+ if (name == NULL || *name == '\0' || strchr (name, '=') != NULL) -+ { -+ __set_errno (EINVAL); -+ return -1; -+ } -+ -+ return __add_to_environ (name, value, NULL, replace); -+} -+ -+/* The 'clearenv' was planned to be added to POSIX.1 but probably -+ never made it. Nevertheless the POSIX.9 standard (POSIX bindings -+ for Fortran 77) requires this function. */ -+int -+clearenv (void) -+{ -+ LOCK; -+ -+ if (__environ == last_environ && __environ != NULL) -+ { -+ /* We allocated this environment so we can free it. */ -+ free (__environ); -+ last_environ = NULL; -+ } -+ -+ /* Clear the environment pointer removes the whole environment. */ -+ __environ = NULL; -+ -+ UNLOCK; -+ -+ return 0; -+} -+ -+#ifdef _LIBC -+static void -+free_mem (void) -+{ -+ /* Remove all traces. */ -+ clearenv (); -+ -+ /* Now remove the search tree. */ -+ __tdestroy (known_values, free); -+ known_values = NULL; -+} -+text_set_element (__libc_subfreeres, free_mem); -+ -+ -+# undef setenv -+# undef clearenv -+weak_alias (__setenv, setenv) -+weak_alias (__clearenv, clearenv) -+#endif -+ -+#endif /* _LIBC || !HAVE_SETENV */ -+ -+/* The rest of this file is called into use when replacing an existing -+ but buggy setenv. Known bugs include failure to diagnose invalid -+ name, and consuming a leading '=' from value. */ -+#if HAVE_SETENV -+ -+# undef setenv -+# if !HAVE_DECL_SETENV -+extern int setenv (const char *, const char *, int); -+# endif -+# define STREQ(a, b) (strcmp (a, b) == 0) -+ -+int -+rpl_setenv (const char *name, const char *value, int replace) -+{ -+ int result; -+ if (!name || !*name || strchr (name, '=')) -+ { -+ errno = EINVAL; -+ return -1; -+ } -+ /* Call the real setenv even if replace is 0, in case implementation -+ has underlying data to update, such as when environ changes. */ -+ result = setenv (name, value, replace); -+ if (result == 0 && replace && *value == '=') -+ { -+ char *tmp = getenv (name); -+ if (!STREQ (tmp, value)) -+ { -+ int saved_errno; -+ size_t len = strlen (value); -+ tmp = malloca (len + 2); -+ /* Since leading '=' is eaten, double it up. */ -+ *tmp = '='; -+ memcpy (tmp + 1, value, len + 1); -+ result = setenv (name, tmp, replace); -+ saved_errno = errno; -+ freea (tmp); -+ errno = saved_errno; -+ } -+ } -+ return result; -+} -+ -+#endif /* HAVE_SETENV */ -diff -Naur libiconv-20130504/srclib/signal.in.h libiconv-20130504.patch/srclib/signal.in.h ---- libiconv-20130504/srclib/signal.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/signal.in.h 2013-05-04 10:20:07.722698515 +0200 -@@ -0,0 +1,447 @@ -+/* A GNU-like . -+ -+ Copyright (C) 2006-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+#if defined __need_sig_atomic_t || defined __need_sigset_t || defined _GL_ALREADY_INCLUDING_SIGNAL_H || (defined _SIGNAL_H && !defined __SIZEOF_PTHREAD_MUTEX_T) -+/* Special invocation convention: -+ - Inside glibc header files. -+ - On glibc systems we have a sequence of nested includes -+ -> -> . -+ In this situation, the functions are not yet declared, therefore we cannot -+ provide the C++ aliases. -+ - On glibc systems with GCC 4.3 we have a sequence of nested includes -+ -> -> -> . -+ In this situation, some of the functions are not yet declared, therefore -+ we cannot provide the C++ aliases. */ -+ -+# @INCLUDE_NEXT@ @NEXT_SIGNAL_H@ -+ -+#else -+/* Normal invocation convention. */ -+ -+#ifndef _@GUARD_PREFIX@_SIGNAL_H -+ -+#define _GL_ALREADY_INCLUDING_SIGNAL_H -+ -+/* Define pid_t, uid_t. -+ Also, mingw defines sigset_t not in , but in . -+ On Solaris 10, includes , which eventually includes -+ us; so include now, before the second inclusion guard. */ -+#include -+ -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_SIGNAL_H@ -+ -+#undef _GL_ALREADY_INCLUDING_SIGNAL_H -+ -+#ifndef _@GUARD_PREFIX@_SIGNAL_H -+#define _@GUARD_PREFIX@_SIGNAL_H -+ -+/* Mac OS X 10.3, FreeBSD 6.4, OpenBSD 3.8, OSF/1 4.0, Solaris 2.6 declare -+ pthread_sigmask in , not in . -+ But avoid namespace pollution on glibc systems.*/ -+#if (@GNULIB_PTHREAD_SIGMASK@ || defined GNULIB_POSIXCHECK) \ -+ && ((defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ || defined __OpenBSD__ || defined __osf__ || defined __sun) \ -+ && ! defined __GLIBC__ -+# include -+#endif -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+/* On AIX, sig_atomic_t already includes volatile. C99 requires that -+ 'volatile sig_atomic_t' ignore the extra modifier, but C89 did not. -+ Hence, redefine this to a non-volatile type as needed. */ -+#if ! @HAVE_TYPE_VOLATILE_SIG_ATOMIC_T@ -+# if !GNULIB_defined_sig_atomic_t -+typedef int rpl_sig_atomic_t; -+# undef sig_atomic_t -+# define sig_atomic_t rpl_sig_atomic_t -+# define GNULIB_defined_sig_atomic_t 1 -+# endif -+#endif -+ -+/* A set or mask of signals. */ -+#if !@HAVE_SIGSET_T@ -+# if !GNULIB_defined_sigset_t -+typedef unsigned int sigset_t; -+# define GNULIB_defined_sigset_t 1 -+# endif -+#endif -+ -+/* Define sighandler_t, the type of signal handlers. A GNU extension. */ -+#if !@HAVE_SIGHANDLER_T@ -+# ifdef __cplusplus -+extern "C" { -+# endif -+# if !GNULIB_defined_sighandler_t -+typedef void (*sighandler_t) (int); -+# define GNULIB_defined_sighandler_t 1 -+# endif -+# ifdef __cplusplus -+} -+# endif -+#endif -+ -+ -+#if @GNULIB_SIGNAL_H_SIGPIPE@ -+# ifndef SIGPIPE -+/* Define SIGPIPE to a value that does not overlap with other signals. */ -+# define SIGPIPE 13 -+# define GNULIB_defined_SIGPIPE 1 -+/* To actually use SIGPIPE, you also need the gnulib modules 'sigprocmask', -+ 'write', 'stdio'. */ -+# endif -+#endif -+ -+ -+/* Maximum signal number + 1. */ -+#ifndef NSIG -+# if defined __TANDEM -+# define NSIG 32 -+# endif -+#endif -+ -+ -+#if @GNULIB_PTHREAD_SIGMASK@ -+# if @REPLACE_PTHREAD_SIGMASK@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef pthread_sigmask -+# define pthread_sigmask rpl_pthread_sigmask -+# endif -+_GL_FUNCDECL_RPL (pthread_sigmask, int, -+ (int how, const sigset_t *new_mask, sigset_t *old_mask)); -+_GL_CXXALIAS_RPL (pthread_sigmask, int, -+ (int how, const sigset_t *new_mask, sigset_t *old_mask)); -+# else -+# if !@HAVE_PTHREAD_SIGMASK@ -+_GL_FUNCDECL_SYS (pthread_sigmask, int, -+ (int how, const sigset_t *new_mask, sigset_t *old_mask)); -+# endif -+_GL_CXXALIAS_SYS (pthread_sigmask, int, -+ (int how, const sigset_t *new_mask, sigset_t *old_mask)); -+# endif -+_GL_CXXALIASWARN (pthread_sigmask); -+#elif defined GNULIB_POSIXCHECK -+# undef pthread_sigmask -+# if HAVE_RAW_DECL_PTHREAD_SIGMASK -+_GL_WARN_ON_USE (pthread_sigmask, "pthread_sigmask is not portable - " -+ "use gnulib module pthread_sigmask for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_RAISE@ -+# if @REPLACE_RAISE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef raise -+# define raise rpl_raise -+# endif -+_GL_FUNCDECL_RPL (raise, int, (int sig)); -+_GL_CXXALIAS_RPL (raise, int, (int sig)); -+# else -+# if !@HAVE_RAISE@ -+_GL_FUNCDECL_SYS (raise, int, (int sig)); -+# endif -+_GL_CXXALIAS_SYS (raise, int, (int sig)); -+# endif -+_GL_CXXALIASWARN (raise); -+#elif defined GNULIB_POSIXCHECK -+# undef raise -+/* Assume raise is always declared. */ -+_GL_WARN_ON_USE (raise, "raise can crash on native Windows - " -+ "use gnulib module raise for portability"); -+#endif -+ -+ -+#if @GNULIB_SIGPROCMASK@ -+# if !@HAVE_POSIX_SIGNALBLOCKING@ -+ -+# ifndef GNULIB_defined_signal_blocking -+# define GNULIB_defined_signal_blocking 1 -+# endif -+ -+/* Maximum signal number + 1. */ -+# ifndef NSIG -+# define NSIG 32 -+# endif -+ -+/* This code supports only 32 signals. */ -+# if !GNULIB_defined_verify_NSIG_constraint -+typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1]; -+# define GNULIB_defined_verify_NSIG_constraint 1 -+# endif -+ -+# endif -+ -+/* Test whether a given signal is contained in a signal set. */ -+# if @HAVE_POSIX_SIGNALBLOCKING@ -+/* This function is defined as a macro on Mac OS X. */ -+# if defined __cplusplus && defined GNULIB_NAMESPACE -+# undef sigismember -+# endif -+# else -+_GL_FUNCDECL_SYS (sigismember, int, (const sigset_t *set, int sig) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (sigismember, int, (const sigset_t *set, int sig)); -+_GL_CXXALIASWARN (sigismember); -+ -+/* Initialize a signal set to the empty set. */ -+# if @HAVE_POSIX_SIGNALBLOCKING@ -+/* This function is defined as a macro on Mac OS X. */ -+# if defined __cplusplus && defined GNULIB_NAMESPACE -+# undef sigemptyset -+# endif -+# else -+_GL_FUNCDECL_SYS (sigemptyset, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (sigemptyset, int, (sigset_t *set)); -+_GL_CXXALIASWARN (sigemptyset); -+ -+/* Add a signal to a signal set. */ -+# if @HAVE_POSIX_SIGNALBLOCKING@ -+/* This function is defined as a macro on Mac OS X. */ -+# if defined __cplusplus && defined GNULIB_NAMESPACE -+# undef sigaddset -+# endif -+# else -+_GL_FUNCDECL_SYS (sigaddset, int, (sigset_t *set, int sig) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (sigaddset, int, (sigset_t *set, int sig)); -+_GL_CXXALIASWARN (sigaddset); -+ -+/* Remove a signal from a signal set. */ -+# if @HAVE_POSIX_SIGNALBLOCKING@ -+/* This function is defined as a macro on Mac OS X. */ -+# if defined __cplusplus && defined GNULIB_NAMESPACE -+# undef sigdelset -+# endif -+# else -+_GL_FUNCDECL_SYS (sigdelset, int, (sigset_t *set, int sig) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (sigdelset, int, (sigset_t *set, int sig)); -+_GL_CXXALIASWARN (sigdelset); -+ -+/* Fill a signal set with all possible signals. */ -+# if @HAVE_POSIX_SIGNALBLOCKING@ -+/* This function is defined as a macro on Mac OS X. */ -+# if defined __cplusplus && defined GNULIB_NAMESPACE -+# undef sigfillset -+# endif -+# else -+_GL_FUNCDECL_SYS (sigfillset, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (sigfillset, int, (sigset_t *set)); -+_GL_CXXALIASWARN (sigfillset); -+ -+/* Return the set of those blocked signals that are pending. */ -+# if !@HAVE_POSIX_SIGNALBLOCKING@ -+_GL_FUNCDECL_SYS (sigpending, int, (sigset_t *set) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (sigpending, int, (sigset_t *set)); -+_GL_CXXALIASWARN (sigpending); -+ -+/* If OLD_SET is not NULL, put the current set of blocked signals in *OLD_SET. -+ Then, if SET is not NULL, affect the current set of blocked signals by -+ combining it with *SET as indicated in OPERATION. -+ In this implementation, you are not allowed to change a signal handler -+ while the signal is blocked. */ -+# if !@HAVE_POSIX_SIGNALBLOCKING@ -+# define SIG_BLOCK 0 /* blocked_set = blocked_set | *set; */ -+# define SIG_SETMASK 1 /* blocked_set = *set; */ -+# define SIG_UNBLOCK 2 /* blocked_set = blocked_set & ~*set; */ -+_GL_FUNCDECL_SYS (sigprocmask, int, -+ (int operation, const sigset_t *set, sigset_t *old_set)); -+# endif -+_GL_CXXALIAS_SYS (sigprocmask, int, -+ (int operation, const sigset_t *set, sigset_t *old_set)); -+_GL_CXXALIASWARN (sigprocmask); -+ -+/* Install the handler FUNC for signal SIG, and return the previous -+ handler. */ -+# ifdef __cplusplus -+extern "C" { -+# endif -+# if !GNULIB_defined_function_taking_int_returning_void_t -+typedef void (*_gl_function_taking_int_returning_void_t) (int); -+# define GNULIB_defined_function_taking_int_returning_void_t 1 -+# endif -+# ifdef __cplusplus -+} -+# endif -+# if !@HAVE_POSIX_SIGNALBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define signal rpl_signal -+# endif -+_GL_FUNCDECL_RPL (signal, _gl_function_taking_int_returning_void_t, -+ (int sig, _gl_function_taking_int_returning_void_t func)); -+_GL_CXXALIAS_RPL (signal, _gl_function_taking_int_returning_void_t, -+ (int sig, _gl_function_taking_int_returning_void_t func)); -+# else -+_GL_CXXALIAS_SYS (signal, _gl_function_taking_int_returning_void_t, -+ (int sig, _gl_function_taking_int_returning_void_t func)); -+# endif -+_GL_CXXALIASWARN (signal); -+ -+# if !@HAVE_POSIX_SIGNALBLOCKING@ && GNULIB_defined_SIGPIPE -+/* Raise signal SIGPIPE. */ -+_GL_EXTERN_C int _gl_raise_SIGPIPE (void); -+# endif -+ -+#elif defined GNULIB_POSIXCHECK -+# undef sigaddset -+# if HAVE_RAW_DECL_SIGADDSET -+_GL_WARN_ON_USE (sigaddset, "sigaddset is unportable - " -+ "use the gnulib module sigprocmask for portability"); -+# endif -+# undef sigdelset -+# if HAVE_RAW_DECL_SIGDELSET -+_GL_WARN_ON_USE (sigdelset, "sigdelset is unportable - " -+ "use the gnulib module sigprocmask for portability"); -+# endif -+# undef sigemptyset -+# if HAVE_RAW_DECL_SIGEMPTYSET -+_GL_WARN_ON_USE (sigemptyset, "sigemptyset is unportable - " -+ "use the gnulib module sigprocmask for portability"); -+# endif -+# undef sigfillset -+# if HAVE_RAW_DECL_SIGFILLSET -+_GL_WARN_ON_USE (sigfillset, "sigfillset is unportable - " -+ "use the gnulib module sigprocmask for portability"); -+# endif -+# undef sigismember -+# if HAVE_RAW_DECL_SIGISMEMBER -+_GL_WARN_ON_USE (sigismember, "sigismember is unportable - " -+ "use the gnulib module sigprocmask for portability"); -+# endif -+# undef sigpending -+# if HAVE_RAW_DECL_SIGPENDING -+_GL_WARN_ON_USE (sigpending, "sigpending is unportable - " -+ "use the gnulib module sigprocmask for portability"); -+# endif -+# undef sigprocmask -+# if HAVE_RAW_DECL_SIGPROCMASK -+_GL_WARN_ON_USE (sigprocmask, "sigprocmask is unportable - " -+ "use the gnulib module sigprocmask for portability"); -+# endif -+#endif /* @GNULIB_SIGPROCMASK@ */ -+ -+ -+#if @GNULIB_SIGACTION@ -+# if !@HAVE_SIGACTION@ -+ -+# if !@HAVE_SIGINFO_T@ -+ -+# if !GNULIB_defined_siginfo_types -+ -+/* Present to allow compilation, but unsupported by gnulib. */ -+union sigval -+{ -+ int sival_int; -+ void *sival_ptr; -+}; -+ -+/* Present to allow compilation, but unsupported by gnulib. */ -+struct siginfo_t -+{ -+ int si_signo; -+ int si_code; -+ int si_errno; -+ pid_t si_pid; -+ uid_t si_uid; -+ void *si_addr; -+ int si_status; -+ long si_band; -+ union sigval si_value; -+}; -+typedef struct siginfo_t siginfo_t; -+ -+# define GNULIB_defined_siginfo_types 1 -+# endif -+ -+# endif /* !@HAVE_SIGINFO_T@ */ -+ -+/* We assume that platforms which lack the sigaction() function also lack -+ the 'struct sigaction' type, and vice versa. */ -+ -+# if !GNULIB_defined_struct_sigaction -+ -+struct sigaction -+{ -+ union -+ { -+ void (*_sa_handler) (int); -+ /* Present to allow compilation, but unsupported by gnulib. POSIX -+ says that implementations may, but not must, make sa_sigaction -+ overlap with sa_handler, but we know of no implementation where -+ they do not overlap. */ -+ void (*_sa_sigaction) (int, siginfo_t *, void *); -+ } _sa_func; -+ sigset_t sa_mask; -+ /* Not all POSIX flags are supported. */ -+ int sa_flags; -+}; -+# define sa_handler _sa_func._sa_handler -+# define sa_sigaction _sa_func._sa_sigaction -+/* Unsupported flags are not present. */ -+# define SA_RESETHAND 1 -+# define SA_NODEFER 2 -+# define SA_RESTART 4 -+ -+# define GNULIB_defined_struct_sigaction 1 -+# endif -+ -+_GL_FUNCDECL_SYS (sigaction, int, (int, const struct sigaction *restrict, -+ struct sigaction *restrict)); -+ -+# elif !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ -+ -+# define sa_sigaction sa_handler -+ -+# endif /* !@HAVE_SIGACTION@, !@HAVE_STRUCT_SIGACTION_SA_SIGACTION@ */ -+ -+_GL_CXXALIAS_SYS (sigaction, int, (int, const struct sigaction *restrict, -+ struct sigaction *restrict)); -+_GL_CXXALIASWARN (sigaction); -+ -+#elif defined GNULIB_POSIXCHECK -+# undef sigaction -+# if HAVE_RAW_DECL_SIGACTION -+_GL_WARN_ON_USE (sigaction, "sigaction is unportable - " -+ "use the gnulib module sigaction for portability"); -+# endif -+#endif -+ -+/* Some systems don't have SA_NODEFER. */ -+#ifndef SA_NODEFER -+# define SA_NODEFER 0 -+#endif -+ -+ -+#endif /* _@GUARD_PREFIX@_SIGNAL_H */ -+#endif /* _@GUARD_PREFIX@_SIGNAL_H */ -+#endif -diff -Naur libiconv-20130504/srclib/sigprocmask.c libiconv-20130504.patch/srclib/sigprocmask.c ---- libiconv-20130504/srclib/sigprocmask.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/sigprocmask.c 2013-05-04 10:20:07.729698494 +0200 -@@ -0,0 +1,349 @@ -+/* POSIX compatible signal blocking. -+ Copyright (C) 2006-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2006. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include -+ -+#include -+#include -+#include -+ -+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER -+# include "msvc-inval.h" -+#endif -+ -+/* We assume that a platform without POSIX signal blocking functions -+ also does not have the POSIX sigaction() function, only the -+ signal() function. We also assume signal() has SysV semantics, -+ where any handler is uninstalled prior to being invoked. This is -+ true for native Windows platforms. */ -+ -+/* We use raw signal(), but also provide a wrapper rpl_signal() so -+ that applications can query or change a blocked signal. */ -+#undef signal -+ -+/* Provide invalid signal numbers as fallbacks if the uncatchable -+ signals are not defined. */ -+#ifndef SIGKILL -+# define SIGKILL (-1) -+#endif -+#ifndef SIGSTOP -+# define SIGSTOP (-1) -+#endif -+ -+/* On native Windows, as of 2008, the signal SIGABRT_COMPAT is an alias -+ for the signal SIGABRT. Only one signal handler is stored for both -+ SIGABRT and SIGABRT_COMPAT. SIGABRT_COMPAT is not a signal of its own. */ -+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+# undef SIGABRT_COMPAT -+# define SIGABRT_COMPAT 6 -+#endif -+#ifdef SIGABRT_COMPAT -+# define SIGABRT_COMPAT_MASK (1U << SIGABRT_COMPAT) -+#else -+# define SIGABRT_COMPAT_MASK 0 -+#endif -+ -+typedef void (*handler_t) (int); -+ -+#if HAVE_MSVC_INVALID_PARAMETER_HANDLER -+static handler_t -+signal_nothrow (int sig, handler_t handler) -+{ -+ handler_t result; -+ -+ TRY_MSVC_INVAL -+ { -+ result = signal (sig, handler); -+ } -+ CATCH_MSVC_INVAL -+ { -+ result = SIG_ERR; -+ errno = EINVAL; -+ } -+ DONE_MSVC_INVAL; -+ -+ return result; -+} -+# define signal signal_nothrow -+#endif -+ -+/* Handling of gnulib defined signals. */ -+ -+#if GNULIB_defined_SIGPIPE -+static handler_t SIGPIPE_handler = SIG_DFL; -+#endif -+ -+#if GNULIB_defined_SIGPIPE -+static handler_t -+ext_signal (int sig, handler_t handler) -+{ -+ switch (sig) -+ { -+ case SIGPIPE: -+ { -+ handler_t old_handler = SIGPIPE_handler; -+ SIGPIPE_handler = handler; -+ return old_handler; -+ } -+ default: /* System defined signal */ -+ return signal (sig, handler); -+ } -+} -+# undef signal -+# define signal ext_signal -+#endif -+ -+int -+sigismember (const sigset_t *set, int sig) -+{ -+ if (sig >= 0 && sig < NSIG) -+ { -+ #ifdef SIGABRT_COMPAT -+ if (sig == SIGABRT_COMPAT) -+ sig = SIGABRT; -+ #endif -+ -+ return (*set >> sig) & 1; -+ } -+ else -+ return 0; -+} -+ -+int -+sigemptyset (sigset_t *set) -+{ -+ *set = 0; -+ return 0; -+} -+ -+int -+sigaddset (sigset_t *set, int sig) -+{ -+ if (sig >= 0 && sig < NSIG) -+ { -+ #ifdef SIGABRT_COMPAT -+ if (sig == SIGABRT_COMPAT) -+ sig = SIGABRT; -+ #endif -+ -+ *set |= 1U << sig; -+ return 0; -+ } -+ else -+ { -+ errno = EINVAL; -+ return -1; -+ } -+} -+ -+int -+sigdelset (sigset_t *set, int sig) -+{ -+ if (sig >= 0 && sig < NSIG) -+ { -+ #ifdef SIGABRT_COMPAT -+ if (sig == SIGABRT_COMPAT) -+ sig = SIGABRT; -+ #endif -+ -+ *set &= ~(1U << sig); -+ return 0; -+ } -+ else -+ { -+ errno = EINVAL; -+ return -1; -+ } -+} -+ -+ -+int -+sigfillset (sigset_t *set) -+{ -+ *set = ((2U << (NSIG - 1)) - 1) & ~ SIGABRT_COMPAT_MASK; -+ return 0; -+} -+ -+/* Set of currently blocked signals. */ -+static volatile sigset_t blocked_set /* = 0 */; -+ -+/* Set of currently blocked and pending signals. */ -+static volatile sig_atomic_t pending_array[NSIG] /* = { 0 } */; -+ -+/* Signal handler that is installed for blocked signals. */ -+static void -+blocked_handler (int sig) -+{ -+ /* Reinstall the handler, in case the signal occurs multiple times -+ while blocked. There is an inherent race where an asynchronous -+ signal in between when the kernel uninstalled the handler and -+ when we reinstall it will trigger the default handler; oh -+ well. */ -+ signal (sig, blocked_handler); -+ if (sig >= 0 && sig < NSIG) -+ pending_array[sig] = 1; -+} -+ -+int -+sigpending (sigset_t *set) -+{ -+ sigset_t pending = 0; -+ int sig; -+ -+ for (sig = 0; sig < NSIG; sig++) -+ if (pending_array[sig]) -+ pending |= 1U << sig; -+ *set = pending; -+ return 0; -+} -+ -+/* The previous signal handlers. -+ Only the array elements corresponding to blocked signals are relevant. */ -+static volatile handler_t old_handlers[NSIG]; -+ -+int -+sigprocmask (int operation, const sigset_t *set, sigset_t *old_set) -+{ -+ if (old_set != NULL) -+ *old_set = blocked_set; -+ -+ if (set != NULL) -+ { -+ sigset_t new_blocked_set; -+ sigset_t to_unblock; -+ sigset_t to_block; -+ -+ switch (operation) -+ { -+ case SIG_BLOCK: -+ new_blocked_set = blocked_set | *set; -+ break; -+ case SIG_SETMASK: -+ new_blocked_set = *set; -+ break; -+ case SIG_UNBLOCK: -+ new_blocked_set = blocked_set & ~*set; -+ break; -+ default: -+ errno = EINVAL; -+ return -1; -+ } -+ to_unblock = blocked_set & ~new_blocked_set; -+ to_block = new_blocked_set & ~blocked_set; -+ -+ if (to_block != 0) -+ { -+ int sig; -+ -+ for (sig = 0; sig < NSIG; sig++) -+ if ((to_block >> sig) & 1) -+ { -+ pending_array[sig] = 0; -+ if ((old_handlers[sig] = signal (sig, blocked_handler)) != SIG_ERR) -+ blocked_set |= 1U << sig; -+ } -+ } -+ -+ if (to_unblock != 0) -+ { -+ sig_atomic_t received[NSIG]; -+ int sig; -+ -+ for (sig = 0; sig < NSIG; sig++) -+ if ((to_unblock >> sig) & 1) -+ { -+ if (signal (sig, old_handlers[sig]) != blocked_handler) -+ /* The application changed a signal handler while the signal -+ was blocked, bypassing our rpl_signal replacement. -+ We don't support this. */ -+ abort (); -+ received[sig] = pending_array[sig]; -+ blocked_set &= ~(1U << sig); -+ pending_array[sig] = 0; -+ } -+ else -+ received[sig] = 0; -+ -+ for (sig = 0; sig < NSIG; sig++) -+ if (received[sig]) -+ raise (sig); -+ } -+ } -+ return 0; -+} -+ -+/* Install the handler FUNC for signal SIG, and return the previous -+ handler. */ -+handler_t -+rpl_signal (int sig, handler_t handler) -+{ -+ /* We must provide a wrapper, so that a user can query what handler -+ they installed even if that signal is currently blocked. */ -+ if (sig >= 0 && sig < NSIG && sig != SIGKILL && sig != SIGSTOP -+ && handler != SIG_ERR) -+ { -+ #ifdef SIGABRT_COMPAT -+ if (sig == SIGABRT_COMPAT) -+ sig = SIGABRT; -+ #endif -+ -+ if (blocked_set & (1U << sig)) -+ { -+ /* POSIX states that sigprocmask and signal are both -+ async-signal-safe. This is not true of our -+ implementation - there is a slight data race where an -+ asynchronous interrupt on signal A can occur after we -+ install blocked_handler but before we have updated -+ old_handlers for signal B, such that handler A can see -+ stale information if it calls signal(B). Oh well - -+ signal handlers really shouldn't try to manipulate the -+ installed handlers of unrelated signals. */ -+ handler_t result = old_handlers[sig]; -+ old_handlers[sig] = handler; -+ return result; -+ } -+ else -+ return signal (sig, handler); -+ } -+ else -+ { -+ errno = EINVAL; -+ return SIG_ERR; -+ } -+} -+ -+#if GNULIB_defined_SIGPIPE -+/* Raise the signal SIGPIPE. */ -+int -+_gl_raise_SIGPIPE (void) -+{ -+ if (blocked_set & (1U << SIGPIPE)) -+ pending_array[SIGPIPE] = 1; -+ else -+ { -+ handler_t handler = SIGPIPE_handler; -+ if (handler == SIG_DFL) -+ exit (128 + SIGPIPE); -+ else if (handler != SIG_IGN) -+ (*handler) (SIGPIPE); -+ } -+ return 0; -+} -+#endif -diff -Naur libiconv-20130504/srclib/stat.c libiconv-20130504.patch/srclib/stat.c ---- libiconv-20130504/srclib/stat.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/stat.c 2013-05-04 10:20:07.734698480 +0200 -@@ -0,0 +1,138 @@ -+/* Work around platform bugs in stat. -+ Copyright (C) 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* written by Eric Blake */ -+ -+/* If the user's config.h happens to include , let it include only -+ the system's here, so that orig_stat doesn't recurse to -+ rpl_stat. */ -+#define __need_system_sys_stat_h -+#include -+ -+/* Get the original definition of stat. It might be defined as a macro. */ -+#include -+#include -+#undef __need_system_sys_stat_h -+ -+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+# if _GL_WINDOWS_64_BIT_ST_SIZE -+# undef stat /* avoid warning on mingw64 with _FILE_OFFSET_BITS=64 */ -+# define stat _stati64 -+# define REPLACE_FUNC_STAT_DIR 1 -+# undef REPLACE_FUNC_STAT_FILE -+# elif REPLACE_FUNC_STAT_FILE -+/* mingw64 has a broken stat() function, based on _stat(), in libmingwex.a. -+ Bypass it. */ -+# define stat _stat -+# define REPLACE_FUNC_STAT_DIR 1 -+# undef REPLACE_FUNC_STAT_FILE -+# endif -+#endif -+ -+static int -+orig_stat (const char *filename, struct stat *buf) -+{ -+ return stat (filename, buf); -+} -+ -+/* Specification. */ -+/* Write "sys/stat.h" here, not , otherwise OSF/1 5.1 DTK cc -+ eliminates this include because of the preliminary #include -+ above. */ -+#include "sys/stat.h" -+ -+#include -+#include -+#include -+#include -+#include "dosname.h" -+#include "verify.h" -+ -+#if REPLACE_FUNC_STAT_DIR -+# include "pathmax.h" -+ /* The only known systems where REPLACE_FUNC_STAT_DIR is needed also -+ have a constant PATH_MAX. */ -+# ifndef PATH_MAX -+# error "Please port this replacement to your platform" -+# endif -+#endif -+ -+/* Store information about NAME into ST. Work around bugs with -+ trailing slashes. Mingw has other bugs (such as st_ino always -+ being 0 on success) which this wrapper does not work around. But -+ at least this implementation provides the ability to emulate fchdir -+ correctly. */ -+ -+int -+rpl_stat (char const *name, struct stat *st) -+{ -+ int result = orig_stat (name, st); -+#if REPLACE_FUNC_STAT_FILE -+ /* Solaris 9 mistakenly succeeds when given a non-directory with a -+ trailing slash. */ -+ if (result == 0 && !S_ISDIR (st->st_mode)) -+ { -+ size_t len = strlen (name); -+ if (ISSLASH (name[len - 1])) -+ { -+ errno = ENOTDIR; -+ return -1; -+ } -+ } -+#endif /* REPLACE_FUNC_STAT_FILE */ -+#if REPLACE_FUNC_STAT_DIR -+ -+ if (result == -1 && errno == ENOENT) -+ { -+ /* Due to mingw's oddities, there are some directories (like -+ c:\) where stat() only succeeds with a trailing slash, and -+ other directories (like c:\windows) where stat() only -+ succeeds without a trailing slash. But we want the two to be -+ synonymous, since chdir() manages either style. Likewise, Mingw also -+ reports ENOENT for names longer than PATH_MAX, when we want -+ ENAMETOOLONG, and for stat("file/"), when we want ENOTDIR. -+ Fortunately, mingw PATH_MAX is small enough for stack -+ allocation. */ -+ char fixed_name[PATH_MAX + 1] = {0}; -+ size_t len = strlen (name); -+ bool check_dir = false; -+ verify (PATH_MAX <= 4096); -+ if (PATH_MAX <= len) -+ errno = ENAMETOOLONG; -+ else if (len) -+ { -+ strcpy (fixed_name, name); -+ if (ISSLASH (fixed_name[len - 1])) -+ { -+ check_dir = true; -+ while (len && ISSLASH (fixed_name[len - 1])) -+ fixed_name[--len] = '\0'; -+ if (!len) -+ fixed_name[0] = '/'; -+ } -+ else -+ fixed_name[len++] = '/'; -+ result = orig_stat (fixed_name, st); -+ if (result == 0 && check_dir && !S_ISDIR (st->st_mode)) -+ { -+ result = -1; -+ errno = ENOTDIR; -+ } -+ } -+ } -+#endif /* REPLACE_FUNC_STAT_DIR */ -+ return result; -+} -diff -Naur libiconv-20130504/srclib/stdbool.in.h libiconv-20130504.patch/srclib/stdbool.in.h ---- libiconv-20130504/srclib/stdbool.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/stdbool.in.h 2013-05-04 10:20:07.738698468 +0200 -@@ -0,0 +1,132 @@ -+/* Copyright (C) 2001-2003, 2006-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2001. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#ifndef _GL_STDBOOL_H -+#define _GL_STDBOOL_H -+ -+/* ISO C 99 for platforms that lack it. */ -+ -+/* Usage suggestions: -+ -+ Programs that use should be aware of some limitations -+ and standards compliance issues. -+ -+ Standards compliance: -+ -+ - must be #included before 'bool', 'false', 'true' -+ can be used. -+ -+ - You cannot assume that sizeof (bool) == 1. -+ -+ - Programs should not undefine the macros bool, true, and false, -+ as C99 lists that as an "obsolescent feature". -+ -+ Limitations of this substitute, when used in a C89 environment: -+ -+ - must be #included before the '_Bool' type can be used. -+ -+ - You cannot assume that _Bool is a typedef; it might be a macro. -+ -+ - Bit-fields of type 'bool' are not supported. Portable code -+ should use 'unsigned int foo : 1;' rather than 'bool foo : 1;'. -+ -+ - In C99, casts and automatic conversions to '_Bool' or 'bool' are -+ performed in such a way that every nonzero value gets converted -+ to 'true', and zero gets converted to 'false'. This doesn't work -+ with this substitute. With this substitute, only the values 0 and 1 -+ give the expected result when converted to _Bool' or 'bool'. -+ -+ - C99 allows the use of (_Bool)0.0 in constant expressions, but -+ this substitute cannot always provide this property. -+ -+ Also, it is suggested that programs use 'bool' rather than '_Bool'; -+ this isn't required, but 'bool' is more common. */ -+ -+ -+/* 7.16. Boolean type and values */ -+ -+/* BeOS already #defines false 0, true 1. We use the same -+ definitions below, but temporarily we have to #undef them. */ -+#if defined __BEOS__ && !defined __HAIKU__ -+# include /* defines bool but not _Bool */ -+# undef false -+# undef true -+#endif -+ -+#ifdef __cplusplus -+# define _Bool bool -+# define bool bool -+#else -+# if defined __BEOS__ && !defined __HAIKU__ -+ /* A compiler known to have 'bool'. */ -+ /* If the compiler already has both 'bool' and '_Bool', we can assume they -+ are the same types. */ -+# if !@HAVE__BOOL@ -+typedef bool _Bool; -+# endif -+# else -+# if !defined __GNUC__ -+ /* If @HAVE__BOOL@: -+ Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when -+ the built-in _Bool type is used. See -+ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html -+ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html -+ http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html -+ Similar bugs are likely with other compilers as well; this file -+ wouldn't be used if was working. -+ So we override the _Bool type. -+ If !@HAVE__BOOL@: -+ Need to define _Bool ourselves. As 'signed char' or as an enum type? -+ Use of a typedef, with SunPRO C, leads to a stupid -+ "warning: _Bool is a keyword in ISO C99". -+ Use of an enum type, with IRIX cc, leads to a stupid -+ "warning(1185): enumerated type mixed with another type". -+ Even the existence of an enum type, without a typedef, -+ "Invalid enumerator. (badenum)" with HP-UX cc on Tru64. -+ The only benefit of the enum, debuggability, is not important -+ with these compilers. So use 'signed char' and no enum. */ -+# define _Bool signed char -+# else -+ /* With this compiler, trust the _Bool type if the compiler has it. */ -+# if !@HAVE__BOOL@ -+ /* For the sake of symbolic names in gdb, define true and false as -+ enum constants, not only as macros. -+ It is tempting to write -+ typedef enum { false = 0, true = 1 } _Bool; -+ so that gdb prints values of type 'bool' symbolically. But then -+ values of type '_Bool' might promote to 'int' or 'unsigned int' -+ (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int' -+ (see ISO C 99 6.3.1.1.(2)). So add a negative value to the -+ enum; this ensures that '_Bool' promotes to 'int'. */ -+typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; -+# endif -+# endif -+# endif -+# define bool _Bool -+#endif -+ -+/* The other macros must be usable in preprocessor directives. */ -+#ifdef __cplusplus -+# define false false -+# define true true -+#else -+# define false 0 -+# define true 1 -+#endif -+ -+#define __bool_true_false_are_defined 1 -+ -+#endif /* _GL_STDBOOL_H */ -diff -Naur libiconv-20130504/srclib/stddef.in.h libiconv-20130504.patch/srclib/stddef.in.h ---- libiconv-20130504/srclib/stddef.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/stddef.in.h 2013-05-04 10:20:07.741698459 +0200 -@@ -0,0 +1,86 @@ -+/* A substitute for POSIX 2008 , for platforms that have issues. -+ -+ Copyright (C) 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+/* Written by Eric Blake. */ -+ -+/* -+ * POSIX 2008 for platforms that have issues. -+ * -+ */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+#if defined __need_wchar_t || defined __need_size_t \ -+ || defined __need_ptrdiff_t || defined __need_NULL \ -+ || defined __need_wint_t -+/* Special invocation convention inside gcc header files. In -+ particular, gcc provides a version of that blindly -+ redefines NULL even when __need_wint_t was defined, even though -+ wint_t is not normally provided by . Hence, we must -+ remember if special invocation has ever been used to obtain wint_t, -+ in which case we need to clean up NULL yet again. */ -+ -+# if !(defined _@GUARD_PREFIX@_STDDEF_H && defined _GL_STDDEF_WINT_T) -+# ifdef __need_wint_t -+# undef _@GUARD_PREFIX@_STDDEF_H -+# define _GL_STDDEF_WINT_T -+# endif -+# @INCLUDE_NEXT@ @NEXT_STDDEF_H@ -+# endif -+ -+#else -+/* Normal invocation convention. */ -+ -+# ifndef _@GUARD_PREFIX@_STDDEF_H -+ -+/* The include_next requires a split double-inclusion guard. */ -+ -+# @INCLUDE_NEXT@ @NEXT_STDDEF_H@ -+ -+# ifndef _@GUARD_PREFIX@_STDDEF_H -+# define _@GUARD_PREFIX@_STDDEF_H -+ -+/* On NetBSD 5.0, the definition of NULL lacks proper parentheses. */ -+#if @REPLACE_NULL@ -+# undef NULL -+# ifdef __cplusplus -+ /* ISO C++ says that the macro NULL must expand to an integer constant -+ expression, hence '((void *) 0)' is not allowed in C++. */ -+# if __GNUG__ >= 3 -+ /* GNU C++ has a __null macro that behaves like an integer ('int' or -+ 'long') but has the same size as a pointer. Use that, to avoid -+ warnings. */ -+# define NULL __null -+# else -+# define NULL 0L -+# endif -+# else -+# define NULL ((void *) 0) -+# endif -+#endif -+ -+/* Some platforms lack wchar_t. */ -+#if !@HAVE_WCHAR_T@ -+# define wchar_t int -+#endif -+ -+# endif /* _@GUARD_PREFIX@_STDDEF_H */ -+# endif /* _@GUARD_PREFIX@_STDDEF_H */ -+#endif /* __need_XXX */ -diff -Naur libiconv-20130504/srclib/stdint.in.h libiconv-20130504.patch/srclib/stdint.in.h ---- libiconv-20130504/srclib/stdint.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/stdint.in.h 2013-05-04 10:20:07.745698447 +0200 -@@ -0,0 +1,636 @@ -+/* Copyright (C) 2001-2002, 2004-2013 Free Software Foundation, Inc. -+ Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. -+ This file is part of gnulib. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+/* -+ * ISO C 99 for platforms that lack it. -+ * -+ */ -+ -+#ifndef _@GUARD_PREFIX@_STDINT_H -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+/* When including a system file that in turn includes , -+ use the system , not our substitute. This avoids -+ problems with (for example) VMS, whose includes -+ . */ -+#define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H -+ -+/* On Android (Bionic libc), includes this file before -+ having defined 'time_t'. Therefore in this case avoid including -+ other system header files; just include the system's . -+ Ideally we should test __BIONIC__ here, but it is only defined after -+ has been included; hence test __ANDROID__ instead. */ -+#if defined __ANDROID__ \ -+ && defined _SYS_TYPES_H_ && !defined __need_size_t -+# @INCLUDE_NEXT@ @NEXT_STDINT_H@ -+#else -+ -+/* Get those types that are already defined in other system include -+ files, so that we can "#define int8_t signed char" below without -+ worrying about a later system include file containing a "typedef -+ signed char int8_t;" that will get messed up by our macro. Our -+ macros should all be consistent with the system versions, except -+ for the "fast" types and macros, which we recommend against using -+ in public interfaces due to compiler differences. */ -+ -+#if @HAVE_STDINT_H@ -+# if defined __sgi && ! defined __c99 -+ /* Bypass IRIX's if in C89 mode, since it merely annoys users -+ with "This header file is to be used only for c99 mode compilations" -+ diagnostics. */ -+# define __STDINT_H__ -+# endif -+ -+ /* Some pre-C++11 implementations need this. */ -+# ifdef __cplusplus -+# ifndef __STDC_CONSTANT_MACROS -+# define __STDC_CONSTANT_MACROS 1 -+# endif -+# ifndef __STDC_LIMIT_MACROS -+# define __STDC_LIMIT_MACROS 1 -+# endif -+# endif -+ -+ /* Other systems may have an incomplete or buggy . -+ Include it before , since any "#include " -+ in would reinclude us, skipping our contents because -+ _@GUARD_PREFIX@_STDINT_H is defined. -+ The include_next requires a split double-inclusion guard. */ -+# @INCLUDE_NEXT@ @NEXT_STDINT_H@ -+#endif -+ -+#if ! defined _@GUARD_PREFIX@_STDINT_H && ! defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H -+#define _@GUARD_PREFIX@_STDINT_H -+ -+/* defines some of the stdint.h types as well, on glibc, -+ IRIX 6.5, and OpenBSD 3.8 (via ). -+ AIX 5.2 isn't needed and causes troubles. -+ Mac OS X 10.4.6 includes (which is us), but -+ relies on the system definitions, so include -+ after @NEXT_STDINT_H@. */ -+#if @HAVE_SYS_TYPES_H@ && ! defined _AIX -+# include -+#endif -+ -+/* Get SCHAR_MIN, SCHAR_MAX, UCHAR_MAX, INT_MIN, INT_MAX, -+ LONG_MIN, LONG_MAX, ULONG_MAX. */ -+#include -+ -+#if @HAVE_INTTYPES_H@ -+ /* In OpenBSD 3.8, includes , which defines -+ int{8,16,32,64}_t, uint{8,16,32,64}_t and __BIT_TYPES_DEFINED__. -+ also defines intptr_t and uintptr_t. */ -+# include -+#elif @HAVE_SYS_INTTYPES_H@ -+ /* Solaris 7 has the types except the *_fast*_t types, and -+ the macros except for *_FAST*_*, INTPTR_MIN, PTRDIFF_MIN, PTRDIFF_MAX. */ -+# include -+#endif -+ -+#if @HAVE_SYS_BITYPES_H@ && ! defined __BIT_TYPES_DEFINED__ -+ /* Linux libc4 >= 4.6.7 and libc5 have a that defines -+ int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >= 5.2.2 it is -+ included by . */ -+# include -+#endif -+ -+#undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H -+ -+/* Minimum and maximum values for an integer type under the usual assumption. -+ Return an unspecified value if BITS == 0, adding a check to pacify -+ picky compilers. */ -+ -+#define _STDINT_MIN(signed, bits, zero) \ -+ ((signed) ? (- ((zero) + 1) << ((bits) ? (bits) - 1 : 0)) : (zero)) -+ -+#define _STDINT_MAX(signed, bits, zero) \ -+ ((signed) \ -+ ? ~ _STDINT_MIN (signed, bits, zero) \ -+ : /* The expression for the unsigned case. The subtraction of (signed) \ -+ is a nop in the unsigned case and avoids "signed integer overflow" \ -+ warnings in the signed case. */ \ -+ ((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1) -+ -+#if !GNULIB_defined_stdint_types -+ -+/* 7.18.1.1. Exact-width integer types */ -+ -+/* Here we assume a standard architecture where the hardware integer -+ types have 8, 16, 32, optionally 64 bits. */ -+ -+#undef int8_t -+#undef uint8_t -+typedef signed char gl_int8_t; -+typedef unsigned char gl_uint8_t; -+#define int8_t gl_int8_t -+#define uint8_t gl_uint8_t -+ -+#undef int16_t -+#undef uint16_t -+typedef short int gl_int16_t; -+typedef unsigned short int gl_uint16_t; -+#define int16_t gl_int16_t -+#define uint16_t gl_uint16_t -+ -+#undef int32_t -+#undef uint32_t -+typedef int gl_int32_t; -+typedef unsigned int gl_uint32_t; -+#define int32_t gl_int32_t -+#define uint32_t gl_uint32_t -+ -+/* If the system defines INT64_MAX, assume int64_t works. That way, -+ if the underlying platform defines int64_t to be a 64-bit long long -+ int, the code below won't mistakenly define it to be a 64-bit long -+ int, which would mess up C++ name mangling. We must use #ifdef -+ rather than #if, to avoid an error with HP-UX 10.20 cc. */ -+ -+#ifdef INT64_MAX -+# define GL_INT64_T -+#else -+/* Do not undefine int64_t if gnulib is not being used with 64-bit -+ types, since otherwise it breaks platforms like Tandem/NSK. */ -+# if LONG_MAX >> 31 >> 31 == 1 -+# undef int64_t -+typedef long int gl_int64_t; -+# define int64_t gl_int64_t -+# define GL_INT64_T -+# elif defined _MSC_VER -+# undef int64_t -+typedef __int64 gl_int64_t; -+# define int64_t gl_int64_t -+# define GL_INT64_T -+# elif @HAVE_LONG_LONG_INT@ -+# undef int64_t -+typedef long long int gl_int64_t; -+# define int64_t gl_int64_t -+# define GL_INT64_T -+# endif -+#endif -+ -+#ifdef UINT64_MAX -+# define GL_UINT64_T -+#else -+# if ULONG_MAX >> 31 >> 31 >> 1 == 1 -+# undef uint64_t -+typedef unsigned long int gl_uint64_t; -+# define uint64_t gl_uint64_t -+# define GL_UINT64_T -+# elif defined _MSC_VER -+# undef uint64_t -+typedef unsigned __int64 gl_uint64_t; -+# define uint64_t gl_uint64_t -+# define GL_UINT64_T -+# elif @HAVE_UNSIGNED_LONG_LONG_INT@ -+# undef uint64_t -+typedef unsigned long long int gl_uint64_t; -+# define uint64_t gl_uint64_t -+# define GL_UINT64_T -+# endif -+#endif -+ -+/* Avoid collision with Solaris 2.5.1 etc. */ -+#define _UINT8_T -+#define _UINT32_T -+#define _UINT64_T -+ -+ -+/* 7.18.1.2. Minimum-width integer types */ -+ -+/* Here we assume a standard architecture where the hardware integer -+ types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types -+ are the same as the corresponding N_t types. */ -+ -+#undef int_least8_t -+#undef uint_least8_t -+#undef int_least16_t -+#undef uint_least16_t -+#undef int_least32_t -+#undef uint_least32_t -+#undef int_least64_t -+#undef uint_least64_t -+#define int_least8_t int8_t -+#define uint_least8_t uint8_t -+#define int_least16_t int16_t -+#define uint_least16_t uint16_t -+#define int_least32_t int32_t -+#define uint_least32_t uint32_t -+#ifdef GL_INT64_T -+# define int_least64_t int64_t -+#endif -+#ifdef GL_UINT64_T -+# define uint_least64_t uint64_t -+#endif -+ -+/* 7.18.1.3. Fastest minimum-width integer types */ -+ -+/* Note: Other substitutes may define these types differently. -+ It is not recommended to use these types in public header files. */ -+ -+/* Here we assume a standard architecture where the hardware integer -+ types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types -+ are taken from the same list of types. The following code normally -+ uses types consistent with glibc, as that lessens the chance of -+ incompatibility with older GNU hosts. */ -+ -+#undef int_fast8_t -+#undef uint_fast8_t -+#undef int_fast16_t -+#undef uint_fast16_t -+#undef int_fast32_t -+#undef uint_fast32_t -+#undef int_fast64_t -+#undef uint_fast64_t -+typedef signed char gl_int_fast8_t; -+typedef unsigned char gl_uint_fast8_t; -+ -+#ifdef __sun -+/* Define types compatible with SunOS 5.10, so that code compiled under -+ earlier SunOS versions works with code compiled under SunOS 5.10. */ -+typedef int gl_int_fast32_t; -+typedef unsigned int gl_uint_fast32_t; -+#else -+typedef long int gl_int_fast32_t; -+typedef unsigned long int gl_uint_fast32_t; -+#endif -+typedef gl_int_fast32_t gl_int_fast16_t; -+typedef gl_uint_fast32_t gl_uint_fast16_t; -+ -+#define int_fast8_t gl_int_fast8_t -+#define uint_fast8_t gl_uint_fast8_t -+#define int_fast16_t gl_int_fast16_t -+#define uint_fast16_t gl_uint_fast16_t -+#define int_fast32_t gl_int_fast32_t -+#define uint_fast32_t gl_uint_fast32_t -+#ifdef GL_INT64_T -+# define int_fast64_t int64_t -+#endif -+#ifdef GL_UINT64_T -+# define uint_fast64_t uint64_t -+#endif -+ -+/* 7.18.1.4. Integer types capable of holding object pointers */ -+ -+#undef intptr_t -+#undef uintptr_t -+typedef long int gl_intptr_t; -+typedef unsigned long int gl_uintptr_t; -+#define intptr_t gl_intptr_t -+#define uintptr_t gl_uintptr_t -+ -+/* 7.18.1.5. Greatest-width integer types */ -+ -+/* Note: These types are compiler dependent. It may be unwise to use them in -+ public header files. */ -+ -+/* If the system defines INTMAX_MAX, assume that intmax_t works, and -+ similarly for UINTMAX_MAX and uintmax_t. This avoids problems with -+ assuming one type where another is used by the system. */ -+ -+#ifndef INTMAX_MAX -+# undef INTMAX_C -+# undef intmax_t -+# if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 -+typedef long long int gl_intmax_t; -+# define intmax_t gl_intmax_t -+# elif defined GL_INT64_T -+# define intmax_t int64_t -+# else -+typedef long int gl_intmax_t; -+# define intmax_t gl_intmax_t -+# endif -+#endif -+ -+#ifndef UINTMAX_MAX -+# undef UINTMAX_C -+# undef uintmax_t -+# if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 -+typedef unsigned long long int gl_uintmax_t; -+# define uintmax_t gl_uintmax_t -+# elif defined GL_UINT64_T -+# define uintmax_t uint64_t -+# else -+typedef unsigned long int gl_uintmax_t; -+# define uintmax_t gl_uintmax_t -+# endif -+#endif -+ -+/* Verify that intmax_t and uintmax_t have the same size. Too much code -+ breaks if this is not the case. If this check fails, the reason is likely -+ to be found in the autoconf macros. */ -+typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) -+ ? 1 : -1]; -+ -+#define GNULIB_defined_stdint_types 1 -+#endif /* !GNULIB_defined_stdint_types */ -+ -+/* 7.18.2. Limits of specified-width integer types */ -+ -+/* 7.18.2.1. Limits of exact-width integer types */ -+ -+/* Here we assume a standard architecture where the hardware integer -+ types have 8, 16, 32, optionally 64 bits. */ -+ -+#undef INT8_MIN -+#undef INT8_MAX -+#undef UINT8_MAX -+#define INT8_MIN (~ INT8_MAX) -+#define INT8_MAX 127 -+#define UINT8_MAX 255 -+ -+#undef INT16_MIN -+#undef INT16_MAX -+#undef UINT16_MAX -+#define INT16_MIN (~ INT16_MAX) -+#define INT16_MAX 32767 -+#define UINT16_MAX 65535 -+ -+#undef INT32_MIN -+#undef INT32_MAX -+#undef UINT32_MAX -+#define INT32_MIN (~ INT32_MAX) -+#define INT32_MAX 2147483647 -+#define UINT32_MAX 4294967295U -+ -+#if defined GL_INT64_T && ! defined INT64_MAX -+/* Prefer (- INTMAX_C (1) << 63) over (~ INT64_MAX) because SunPRO C 5.0 -+ evaluates the latter incorrectly in preprocessor expressions. */ -+# define INT64_MIN (- INTMAX_C (1) << 63) -+# define INT64_MAX INTMAX_C (9223372036854775807) -+#endif -+ -+#if defined GL_UINT64_T && ! defined UINT64_MAX -+# define UINT64_MAX UINTMAX_C (18446744073709551615) -+#endif -+ -+/* 7.18.2.2. Limits of minimum-width integer types */ -+ -+/* Here we assume a standard architecture where the hardware integer -+ types have 8, 16, 32, optionally 64 bits. Therefore the leastN_t types -+ are the same as the corresponding N_t types. */ -+ -+#undef INT_LEAST8_MIN -+#undef INT_LEAST8_MAX -+#undef UINT_LEAST8_MAX -+#define INT_LEAST8_MIN INT8_MIN -+#define INT_LEAST8_MAX INT8_MAX -+#define UINT_LEAST8_MAX UINT8_MAX -+ -+#undef INT_LEAST16_MIN -+#undef INT_LEAST16_MAX -+#undef UINT_LEAST16_MAX -+#define INT_LEAST16_MIN INT16_MIN -+#define INT_LEAST16_MAX INT16_MAX -+#define UINT_LEAST16_MAX UINT16_MAX -+ -+#undef INT_LEAST32_MIN -+#undef INT_LEAST32_MAX -+#undef UINT_LEAST32_MAX -+#define INT_LEAST32_MIN INT32_MIN -+#define INT_LEAST32_MAX INT32_MAX -+#define UINT_LEAST32_MAX UINT32_MAX -+ -+#undef INT_LEAST64_MIN -+#undef INT_LEAST64_MAX -+#ifdef GL_INT64_T -+# define INT_LEAST64_MIN INT64_MIN -+# define INT_LEAST64_MAX INT64_MAX -+#endif -+ -+#undef UINT_LEAST64_MAX -+#ifdef GL_UINT64_T -+# define UINT_LEAST64_MAX UINT64_MAX -+#endif -+ -+/* 7.18.2.3. Limits of fastest minimum-width integer types */ -+ -+/* Here we assume a standard architecture where the hardware integer -+ types have 8, 16, 32, optionally 64 bits. Therefore the fastN_t types -+ are taken from the same list of types. */ -+ -+#undef INT_FAST8_MIN -+#undef INT_FAST8_MAX -+#undef UINT_FAST8_MAX -+#define INT_FAST8_MIN SCHAR_MIN -+#define INT_FAST8_MAX SCHAR_MAX -+#define UINT_FAST8_MAX UCHAR_MAX -+ -+#undef INT_FAST16_MIN -+#undef INT_FAST16_MAX -+#undef UINT_FAST16_MAX -+#define INT_FAST16_MIN INT_FAST32_MIN -+#define INT_FAST16_MAX INT_FAST32_MAX -+#define UINT_FAST16_MAX UINT_FAST32_MAX -+ -+#undef INT_FAST32_MIN -+#undef INT_FAST32_MAX -+#undef UINT_FAST32_MAX -+#ifdef __sun -+# define INT_FAST32_MIN INT_MIN -+# define INT_FAST32_MAX INT_MAX -+# define UINT_FAST32_MAX UINT_MAX -+#else -+# define INT_FAST32_MIN LONG_MIN -+# define INT_FAST32_MAX LONG_MAX -+# define UINT_FAST32_MAX ULONG_MAX -+#endif -+ -+#undef INT_FAST64_MIN -+#undef INT_FAST64_MAX -+#ifdef GL_INT64_T -+# define INT_FAST64_MIN INT64_MIN -+# define INT_FAST64_MAX INT64_MAX -+#endif -+ -+#undef UINT_FAST64_MAX -+#ifdef GL_UINT64_T -+# define UINT_FAST64_MAX UINT64_MAX -+#endif -+ -+/* 7.18.2.4. Limits of integer types capable of holding object pointers */ -+ -+#undef INTPTR_MIN -+#undef INTPTR_MAX -+#undef UINTPTR_MAX -+#define INTPTR_MIN LONG_MIN -+#define INTPTR_MAX LONG_MAX -+#define UINTPTR_MAX ULONG_MAX -+ -+/* 7.18.2.5. Limits of greatest-width integer types */ -+ -+#ifndef INTMAX_MAX -+# undef INTMAX_MIN -+# ifdef INT64_MAX -+# define INTMAX_MIN INT64_MIN -+# define INTMAX_MAX INT64_MAX -+# else -+# define INTMAX_MIN INT32_MIN -+# define INTMAX_MAX INT32_MAX -+# endif -+#endif -+ -+#ifndef UINTMAX_MAX -+# ifdef UINT64_MAX -+# define UINTMAX_MAX UINT64_MAX -+# else -+# define UINTMAX_MAX UINT32_MAX -+# endif -+#endif -+ -+/* 7.18.3. Limits of other integer types */ -+ -+/* ptrdiff_t limits */ -+#undef PTRDIFF_MIN -+#undef PTRDIFF_MAX -+#if @APPLE_UNIVERSAL_BUILD@ -+# ifdef _LP64 -+# define PTRDIFF_MIN _STDINT_MIN (1, 64, 0l) -+# define PTRDIFF_MAX _STDINT_MAX (1, 64, 0l) -+# else -+# define PTRDIFF_MIN _STDINT_MIN (1, 32, 0) -+# define PTRDIFF_MAX _STDINT_MAX (1, 32, 0) -+# endif -+#else -+# define PTRDIFF_MIN \ -+ _STDINT_MIN (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) -+# define PTRDIFF_MAX \ -+ _STDINT_MAX (1, @BITSIZEOF_PTRDIFF_T@, 0@PTRDIFF_T_SUFFIX@) -+#endif -+ -+/* sig_atomic_t limits */ -+#undef SIG_ATOMIC_MIN -+#undef SIG_ATOMIC_MAX -+#define SIG_ATOMIC_MIN \ -+ _STDINT_MIN (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \ -+ 0@SIG_ATOMIC_T_SUFFIX@) -+#define SIG_ATOMIC_MAX \ -+ _STDINT_MAX (@HAVE_SIGNED_SIG_ATOMIC_T@, @BITSIZEOF_SIG_ATOMIC_T@, \ -+ 0@SIG_ATOMIC_T_SUFFIX@) -+ -+ -+/* size_t limit */ -+#undef SIZE_MAX -+#if @APPLE_UNIVERSAL_BUILD@ -+# ifdef _LP64 -+# define SIZE_MAX _STDINT_MAX (0, 64, 0ul) -+# else -+# define SIZE_MAX _STDINT_MAX (0, 32, 0ul) -+# endif -+#else -+# define SIZE_MAX _STDINT_MAX (0, @BITSIZEOF_SIZE_T@, 0@SIZE_T_SUFFIX@) -+#endif -+ -+/* wchar_t limits */ -+/* Get WCHAR_MIN, WCHAR_MAX. -+ This include is not on the top, above, because on OSF/1 4.0 we have a -+ sequence of nested includes -+ -> -> -> , and the latter includes -+ and assumes its types are already defined. */ -+#if @HAVE_WCHAR_H@ && ! (defined WCHAR_MIN && defined WCHAR_MAX) -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+# include -+# include -+# include -+# define _GL_JUST_INCLUDE_SYSTEM_WCHAR_H -+# include -+# undef _GL_JUST_INCLUDE_SYSTEM_WCHAR_H -+#endif -+#undef WCHAR_MIN -+#undef WCHAR_MAX -+#define WCHAR_MIN \ -+ _STDINT_MIN (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) -+#define WCHAR_MAX \ -+ _STDINT_MAX (@HAVE_SIGNED_WCHAR_T@, @BITSIZEOF_WCHAR_T@, 0@WCHAR_T_SUFFIX@) -+ -+/* wint_t limits */ -+#undef WINT_MIN -+#undef WINT_MAX -+#define WINT_MIN \ -+ _STDINT_MIN (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) -+#define WINT_MAX \ -+ _STDINT_MAX (@HAVE_SIGNED_WINT_T@, @BITSIZEOF_WINT_T@, 0@WINT_T_SUFFIX@) -+ -+/* 7.18.4. Macros for integer constants */ -+ -+/* 7.18.4.1. Macros for minimum-width integer constants */ -+/* According to ISO C 99 Technical Corrigendum 1 */ -+ -+/* Here we assume a standard architecture where the hardware integer -+ types have 8, 16, 32, optionally 64 bits, and int is 32 bits. */ -+ -+#undef INT8_C -+#undef UINT8_C -+#define INT8_C(x) x -+#define UINT8_C(x) x -+ -+#undef INT16_C -+#undef UINT16_C -+#define INT16_C(x) x -+#define UINT16_C(x) x -+ -+#undef INT32_C -+#undef UINT32_C -+#define INT32_C(x) x -+#define UINT32_C(x) x ## U -+ -+#undef INT64_C -+#undef UINT64_C -+#if LONG_MAX >> 31 >> 31 == 1 -+# define INT64_C(x) x##L -+#elif defined _MSC_VER -+# define INT64_C(x) x##i64 -+#elif @HAVE_LONG_LONG_INT@ -+# define INT64_C(x) x##LL -+#endif -+#if ULONG_MAX >> 31 >> 31 >> 1 == 1 -+# define UINT64_C(x) x##UL -+#elif defined _MSC_VER -+# define UINT64_C(x) x##ui64 -+#elif @HAVE_UNSIGNED_LONG_LONG_INT@ -+# define UINT64_C(x) x##ULL -+#endif -+ -+/* 7.18.4.2. Macros for greatest-width integer constants */ -+ -+#ifndef INTMAX_C -+# if @HAVE_LONG_LONG_INT@ && LONG_MAX >> 30 == 1 -+# define INTMAX_C(x) x##LL -+# elif defined GL_INT64_T -+# define INTMAX_C(x) INT64_C(x) -+# else -+# define INTMAX_C(x) x##L -+# endif -+#endif -+ -+#ifndef UINTMAX_C -+# if @HAVE_UNSIGNED_LONG_LONG_INT@ && ULONG_MAX >> 31 == 1 -+# define UINTMAX_C(x) x##ULL -+# elif defined GL_UINT64_T -+# define UINTMAX_C(x) UINT64_C(x) -+# else -+# define UINTMAX_C(x) x##UL -+# endif -+#endif -+ -+#endif /* _@GUARD_PREFIX@_STDINT_H */ -+#endif /* !(defined __ANDROID__ && ...) */ -+#endif /* !defined _@GUARD_PREFIX@_STDINT_H && !defined _GL_JUST_INCLUDE_SYSTEM_STDINT_H */ -diff -Naur libiconv-20130504/srclib/stdio.in.h libiconv-20130504.patch/srclib/stdio.in.h ---- libiconv-20130504/srclib/stdio.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/stdio.in.h 2013-05-04 10:20:07.752698427 +0200 -@@ -0,0 +1,1334 @@ -+/* A GNU-like . -+ -+ Copyright (C) 2004, 2007-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+#if defined __need_FILE || defined __need___FILE || defined _GL_ALREADY_INCLUDING_STDIO_H -+/* Special invocation convention: -+ - Inside glibc header files. -+ - On OSF/1 5.1 we have a sequence of nested includes -+ -> -> -> -> -+ -> -> -> . -+ In this situation, the functions are not yet declared, therefore we cannot -+ provide the C++ aliases. */ -+ -+#@INCLUDE_NEXT@ @NEXT_STDIO_H@ -+ -+#else -+/* Normal invocation convention. */ -+ -+#ifndef _@GUARD_PREFIX@_STDIO_H -+ -+#define _GL_ALREADY_INCLUDING_STDIO_H -+ -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_STDIO_H@ -+ -+#undef _GL_ALREADY_INCLUDING_STDIO_H -+ -+#ifndef _@GUARD_PREFIX@_STDIO_H -+#define _@GUARD_PREFIX@_STDIO_H -+ -+/* Get va_list. Needed on many systems, including glibc 2.8. */ -+#include -+ -+#include -+ -+/* Get off_t and ssize_t. Needed on many systems, including glibc 2.8 -+ and eglibc 2.11.2. -+ May also define off_t to a 64-bit type on native Windows. */ -+#include -+ -+/* The __attribute__ feature is available in gcc versions 2.5 and later. -+ The __-protected variants of the attributes 'format' and 'printf' are -+ accepted by gcc versions 2.6.4 (effectively 2.7) and later. -+ We enable _GL_ATTRIBUTE_FORMAT only if these are supported too, because -+ gnulib and libintl do '#define printf __printf__' when they override -+ the 'printf' function. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) -+# define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec)) -+#else -+# define _GL_ATTRIBUTE_FORMAT(spec) /* empty */ -+#endif -+ -+/* _GL_ATTRIBUTE_FORMAT_PRINTF -+ indicates to GCC that the function takes a format string and arguments, -+ where the format string directives are the ones standardized by ISO C99 -+ and POSIX. */ -+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) -+# define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ -+ _GL_ATTRIBUTE_FORMAT ((__gnu_printf__, formatstring_parameter, first_argument)) -+#else -+# define _GL_ATTRIBUTE_FORMAT_PRINTF(formatstring_parameter, first_argument) \ -+ _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) -+#endif -+ -+/* _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_PRINTF, -+ except that it indicates to GCC that the supported format string directives -+ are the ones of the system printf(), rather than the ones standardized by -+ ISO C99 and POSIX. */ -+#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter, first_argument) \ -+ _GL_ATTRIBUTE_FORMAT ((__printf__, formatstring_parameter, first_argument)) -+ -+/* _GL_ATTRIBUTE_FORMAT_SCANF -+ indicates to GCC that the function takes a format string and arguments, -+ where the format string directives are the ones standardized by ISO C99 -+ and POSIX. */ -+#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) -+# define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ -+ _GL_ATTRIBUTE_FORMAT ((__gnu_scanf__, formatstring_parameter, first_argument)) -+#else -+# define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter, first_argument) \ -+ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) -+#endif -+ -+/* _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM is like _GL_ATTRIBUTE_FORMAT_SCANF, -+ except that it indicates to GCC that the supported format string directives -+ are the ones of the system scanf(), rather than the ones standardized by -+ ISO C99 and POSIX. */ -+#define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter, first_argument) \ -+ _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument)) -+ -+/* Solaris 10 declares renameat in , not in . */ -+/* But in any case avoid namespace pollution on glibc systems. */ -+#if (@GNULIB_RENAMEAT@ || defined GNULIB_POSIXCHECK) && defined __sun \ -+ && ! defined __GLIBC__ -+# include -+#endif -+ -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+/* Macros for stringification. */ -+#define _GL_STDIO_STRINGIZE(token) #token -+#define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token) -+ -+ -+#if @GNULIB_DPRINTF@ -+# if @REPLACE_DPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define dprintf rpl_dprintf -+# endif -+_GL_FUNCDECL_RPL (dprintf, int, (int fd, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (dprintf, int, (int fd, const char *format, ...)); -+# else -+# if !@HAVE_DPRINTF@ -+_GL_FUNCDECL_SYS (dprintf, int, (int fd, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (dprintf, int, (int fd, const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (dprintf); -+#elif defined GNULIB_POSIXCHECK -+# undef dprintf -+# if HAVE_RAW_DECL_DPRINTF -+_GL_WARN_ON_USE (dprintf, "dprintf is unportable - " -+ "use gnulib module dprintf for portability"); -+# endif -+#endif -+ -+#if @GNULIB_FCLOSE@ -+/* Close STREAM and its underlying file descriptor. */ -+# if @REPLACE_FCLOSE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define fclose rpl_fclose -+# endif -+_GL_FUNCDECL_RPL (fclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (fclose, int, (FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (fclose, int, (FILE *stream)); -+# endif -+_GL_CXXALIASWARN (fclose); -+#elif defined GNULIB_POSIXCHECK -+# undef fclose -+/* Assume fclose is always declared. */ -+_GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " -+ "use gnulib module fclose for portable POSIX compliance"); -+#endif -+ -+#if @GNULIB_FDOPEN@ -+# if @REPLACE_FDOPEN@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fdopen -+# define fdopen rpl_fdopen -+# endif -+_GL_FUNCDECL_RPL (fdopen, FILE *, (int fd, const char *mode) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode)); -+# else -+_GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); -+# endif -+_GL_CXXALIASWARN (fdopen); -+#elif defined GNULIB_POSIXCHECK -+# undef fdopen -+/* Assume fdopen is always declared. */ -+_GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - " -+ "use gnulib module fdopen for portability"); -+#endif -+ -+#if @GNULIB_FFLUSH@ -+/* Flush all pending data on STREAM according to POSIX rules. Both -+ output and seekable input streams are supported. -+ Note! LOSS OF DATA can occur if fflush is applied on an input stream -+ that is _not_seekable_ or on an update stream that is _not_seekable_ -+ and in which the most recent operation was input. Seekability can -+ be tested with lseek(fileno(fp),0,SEEK_CUR). */ -+# if @REPLACE_FFLUSH@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define fflush rpl_fflush -+# endif -+_GL_FUNCDECL_RPL (fflush, int, (FILE *gl_stream)); -+_GL_CXXALIAS_RPL (fflush, int, (FILE *gl_stream)); -+# else -+_GL_CXXALIAS_SYS (fflush, int, (FILE *gl_stream)); -+# endif -+_GL_CXXALIASWARN (fflush); -+#elif defined GNULIB_POSIXCHECK -+# undef fflush -+/* Assume fflush is always declared. */ -+_GL_WARN_ON_USE (fflush, "fflush is not always POSIX compliant - " -+ "use gnulib module fflush for portable POSIX compliance"); -+#endif -+ -+#if @GNULIB_FGETC@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fgetc -+# define fgetc rpl_fgetc -+# endif -+_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (fgetc, int, (FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (fgetc, int, (FILE *stream)); -+# endif -+_GL_CXXALIASWARN (fgetc); -+#endif -+ -+#if @GNULIB_FGETS@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fgets -+# define fgets rpl_fgets -+# endif -+_GL_FUNCDECL_RPL (fgets, char *, (char *s, int n, FILE *stream) -+ _GL_ARG_NONNULL ((1, 3))); -+_GL_CXXALIAS_RPL (fgets, char *, (char *s, int n, FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (fgets, char *, (char *s, int n, FILE *stream)); -+# endif -+_GL_CXXALIASWARN (fgets); -+#endif -+ -+#if @GNULIB_FOPEN@ -+# if @REPLACE_FOPEN@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fopen -+# define fopen rpl_fopen -+# endif -+_GL_FUNCDECL_RPL (fopen, FILE *, (const char *filename, const char *mode) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (fopen, FILE *, (const char *filename, const char *mode)); -+# else -+_GL_CXXALIAS_SYS (fopen, FILE *, (const char *filename, const char *mode)); -+# endif -+_GL_CXXALIASWARN (fopen); -+#elif defined GNULIB_POSIXCHECK -+# undef fopen -+/* Assume fopen is always declared. */ -+_GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " -+ "use gnulib module fopen for portability"); -+#endif -+ -+#if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@ -+# if (@GNULIB_FPRINTF_POSIX@ && @REPLACE_FPRINTF@) \ -+ || (@GNULIB_FPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define fprintf rpl_fprintf -+# endif -+# define GNULIB_overrides_fprintf 1 -+# if @GNULIB_FPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ -+_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+# else -+_GL_FUNCDECL_RPL (fprintf, int, (FILE *fp, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_RPL (fprintf, int, (FILE *fp, const char *format, ...)); -+# else -+_GL_CXXALIAS_SYS (fprintf, int, (FILE *fp, const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (fprintf); -+#endif -+#if !@GNULIB_FPRINTF_POSIX@ && defined GNULIB_POSIXCHECK -+# if !GNULIB_overrides_fprintf -+# undef fprintf -+# endif -+/* Assume fprintf is always declared. */ -+_GL_WARN_ON_USE (fprintf, "fprintf is not always POSIX compliant - " -+ "use gnulib module fprintf-posix for portable " -+ "POSIX compliance"); -+#endif -+ -+#if @GNULIB_FPURGE@ -+/* Discard all pending buffered I/O data on STREAM. -+ STREAM must not be wide-character oriented. -+ When discarding pending output, the file position is set back to where it -+ was before the write calls. When discarding pending input, the file -+ position is advanced to match the end of the previously read input. -+ Return 0 if successful. Upon error, return -1 and set errno. */ -+# if @REPLACE_FPURGE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define fpurge rpl_fpurge -+# endif -+_GL_FUNCDECL_RPL (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (fpurge, int, (FILE *gl_stream)); -+# else -+# if !@HAVE_DECL_FPURGE@ -+_GL_FUNCDECL_SYS (fpurge, int, (FILE *gl_stream) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (fpurge, int, (FILE *gl_stream)); -+# endif -+_GL_CXXALIASWARN (fpurge); -+#elif defined GNULIB_POSIXCHECK -+# undef fpurge -+# if HAVE_RAW_DECL_FPURGE -+_GL_WARN_ON_USE (fpurge, "fpurge is not always present - " -+ "use gnulib module fpurge for portability"); -+# endif -+#endif -+ -+#if @GNULIB_FPUTC@ -+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fputc -+# define fputc rpl_fputc -+# endif -+_GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (fputc, int, (int c, FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (fputc, int, (int c, FILE *stream)); -+# endif -+_GL_CXXALIASWARN (fputc); -+#endif -+ -+#if @GNULIB_FPUTS@ -+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fputs -+# define fputs rpl_fputs -+# endif -+_GL_FUNCDECL_RPL (fputs, int, (const char *string, FILE *stream) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (fputs, int, (const char *string, FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (fputs, int, (const char *string, FILE *stream)); -+# endif -+_GL_CXXALIASWARN (fputs); -+#endif -+ -+#if @GNULIB_FREAD@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fread -+# define fread rpl_fread -+# endif -+_GL_FUNCDECL_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream) -+ _GL_ARG_NONNULL ((4))); -+_GL_CXXALIAS_RPL (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (fread, size_t, (void *ptr, size_t s, size_t n, FILE *stream)); -+# endif -+_GL_CXXALIASWARN (fread); -+#endif -+ -+#if @GNULIB_FREOPEN@ -+# if @REPLACE_FREOPEN@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef freopen -+# define freopen rpl_freopen -+# endif -+_GL_FUNCDECL_RPL (freopen, FILE *, -+ (const char *filename, const char *mode, FILE *stream) -+ _GL_ARG_NONNULL ((2, 3))); -+_GL_CXXALIAS_RPL (freopen, FILE *, -+ (const char *filename, const char *mode, FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (freopen, FILE *, -+ (const char *filename, const char *mode, FILE *stream)); -+# endif -+_GL_CXXALIASWARN (freopen); -+#elif defined GNULIB_POSIXCHECK -+# undef freopen -+/* Assume freopen is always declared. */ -+_GL_WARN_ON_USE (freopen, -+ "freopen on native Windows platforms is not POSIX compliant - " -+ "use gnulib module freopen for portability"); -+#endif -+ -+#if @GNULIB_FSCANF@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fscanf -+# define fscanf rpl_fscanf -+# endif -+_GL_FUNCDECL_RPL (fscanf, int, (FILE *stream, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (fscanf, int, (FILE *stream, const char *format, ...)); -+# else -+_GL_CXXALIAS_SYS (fscanf, int, (FILE *stream, const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (fscanf); -+#endif -+ -+ -+/* Set up the following warnings, based on which modules are in use. -+ GNU Coding Standards discourage the use of fseek, since it imposes -+ an arbitrary limitation on some 32-bit hosts. Remember that the -+ fseek module depends on the fseeko module, so we only have three -+ cases to consider: -+ -+ 1. The developer is not using either module. Issue a warning under -+ GNULIB_POSIXCHECK for both functions, to remind them that both -+ functions have bugs on some systems. _GL_NO_LARGE_FILES has no -+ impact on this warning. -+ -+ 2. The developer is using both modules. They may be unaware of the -+ arbitrary limitations of fseek, so issue a warning under -+ GNULIB_POSIXCHECK. On the other hand, they may be using both -+ modules intentionally, so the developer can define -+ _GL_NO_LARGE_FILES in the compilation units where the use of fseek -+ is safe, to silence the warning. -+ -+ 3. The developer is using the fseeko module, but not fseek. Gnulib -+ guarantees that fseek will still work around platform bugs in that -+ case, but we presume that the developer is aware of the pitfalls of -+ fseek and was trying to avoid it, so issue a warning even when -+ GNULIB_POSIXCHECK is undefined. Again, _GL_NO_LARGE_FILES can be -+ defined to silence the warning in particular compilation units. -+ In C++ compilations with GNULIB_NAMESPACE, in order to avoid that -+ fseek gets defined as a macro, it is recommended that the developer -+ uses the fseek module, even if he is not calling the fseek function. -+ -+ Most gnulib clients that perform stream operations should fall into -+ category 3. */ -+ -+#if @GNULIB_FSEEK@ -+# if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES -+# define _GL_FSEEK_WARN /* Category 2, above. */ -+# undef fseek -+# endif -+# if @REPLACE_FSEEK@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fseek -+# define fseek rpl_fseek -+# endif -+_GL_FUNCDECL_RPL (fseek, int, (FILE *fp, long offset, int whence) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (fseek, int, (FILE *fp, long offset, int whence)); -+# else -+_GL_CXXALIAS_SYS (fseek, int, (FILE *fp, long offset, int whence)); -+# endif -+_GL_CXXALIASWARN (fseek); -+#endif -+ -+#if @GNULIB_FSEEKO@ -+# if !@GNULIB_FSEEK@ && !defined _GL_NO_LARGE_FILES -+# define _GL_FSEEK_WARN /* Category 3, above. */ -+# undef fseek -+# endif -+# if @REPLACE_FSEEKO@ -+/* Provide an fseeko function that is aware of a preceding fflush(), and which -+ detects pipes. */ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fseeko -+# define fseeko rpl_fseeko -+# endif -+_GL_FUNCDECL_RPL (fseeko, int, (FILE *fp, off_t offset, int whence) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (fseeko, int, (FILE *fp, off_t offset, int whence)); -+# else -+# if ! @HAVE_DECL_FSEEKO@ -+_GL_FUNCDECL_SYS (fseeko, int, (FILE *fp, off_t offset, int whence) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (fseeko, int, (FILE *fp, off_t offset, int whence)); -+# endif -+_GL_CXXALIASWARN (fseeko); -+#elif defined GNULIB_POSIXCHECK -+# define _GL_FSEEK_WARN /* Category 1, above. */ -+# undef fseek -+# undef fseeko -+# if HAVE_RAW_DECL_FSEEKO -+_GL_WARN_ON_USE (fseeko, "fseeko is unportable - " -+ "use gnulib module fseeko for portability"); -+# endif -+#endif -+ -+#ifdef _GL_FSEEK_WARN -+# undef _GL_FSEEK_WARN -+/* Here, either fseek is undefined (but C89 guarantees that it is -+ declared), or it is defined as rpl_fseek (declared above). */ -+_GL_WARN_ON_USE (fseek, "fseek cannot handle files larger than 4 GB " -+ "on 32-bit platforms - " -+ "use fseeko function for handling of large files"); -+#endif -+ -+ -+/* ftell, ftello. See the comments on fseek/fseeko. */ -+ -+#if @GNULIB_FTELL@ -+# if defined GNULIB_POSIXCHECK && !defined _GL_NO_LARGE_FILES -+# define _GL_FTELL_WARN /* Category 2, above. */ -+# undef ftell -+# endif -+# if @REPLACE_FTELL@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef ftell -+# define ftell rpl_ftell -+# endif -+_GL_FUNCDECL_RPL (ftell, long, (FILE *fp) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (ftell, long, (FILE *fp)); -+# else -+_GL_CXXALIAS_SYS (ftell, long, (FILE *fp)); -+# endif -+_GL_CXXALIASWARN (ftell); -+#endif -+ -+#if @GNULIB_FTELLO@ -+# if !@GNULIB_FTELL@ && !defined _GL_NO_LARGE_FILES -+# define _GL_FTELL_WARN /* Category 3, above. */ -+# undef ftell -+# endif -+# if @REPLACE_FTELLO@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef ftello -+# define ftello rpl_ftello -+# endif -+_GL_FUNCDECL_RPL (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (ftello, off_t, (FILE *fp)); -+# else -+# if ! @HAVE_DECL_FTELLO@ -+_GL_FUNCDECL_SYS (ftello, off_t, (FILE *fp) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (ftello, off_t, (FILE *fp)); -+# endif -+_GL_CXXALIASWARN (ftello); -+#elif defined GNULIB_POSIXCHECK -+# define _GL_FTELL_WARN /* Category 1, above. */ -+# undef ftell -+# undef ftello -+# if HAVE_RAW_DECL_FTELLO -+_GL_WARN_ON_USE (ftello, "ftello is unportable - " -+ "use gnulib module ftello for portability"); -+# endif -+#endif -+ -+#ifdef _GL_FTELL_WARN -+# undef _GL_FTELL_WARN -+/* Here, either ftell is undefined (but C89 guarantees that it is -+ declared), or it is defined as rpl_ftell (declared above). */ -+_GL_WARN_ON_USE (ftell, "ftell cannot handle files larger than 4 GB " -+ "on 32-bit platforms - " -+ "use ftello function for handling of large files"); -+#endif -+ -+ -+#if @GNULIB_FWRITE@ -+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fwrite -+# define fwrite rpl_fwrite -+# endif -+_GL_FUNCDECL_RPL (fwrite, size_t, -+ (const void *ptr, size_t s, size_t n, FILE *stream) -+ _GL_ARG_NONNULL ((1, 4))); -+_GL_CXXALIAS_RPL (fwrite, size_t, -+ (const void *ptr, size_t s, size_t n, FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (fwrite, size_t, -+ (const void *ptr, size_t s, size_t n, FILE *stream)); -+ -+/* Work around bug 11959 when fortifying glibc 2.4 through 2.15 -+ , -+ which sometimes causes an unwanted diagnostic for fwrite calls. -+ This affects only function declaration attributes under certain -+ versions of gcc, and is not needed for C++. */ -+# if (0 < __USE_FORTIFY_LEVEL \ -+ && __GLIBC__ == 2 && 4 <= __GLIBC_MINOR__ && __GLIBC_MINOR__ <= 15 \ -+ && 3 < __GNUC__ + (4 <= __GNUC_MINOR__) \ -+ && !defined __cplusplus) -+# undef fwrite -+# define fwrite(a, b, c, d) ({size_t __r = fwrite (a, b, c, d); __r; }) -+# endif -+# endif -+_GL_CXXALIASWARN (fwrite); -+#endif -+ -+#if @GNULIB_GETC@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef getc -+# define getc rpl_fgetc -+# endif -+_GL_FUNCDECL_RPL (fgetc, int, (FILE *stream) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL_1 (getc, rpl_fgetc, int, (FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (getc, int, (FILE *stream)); -+# endif -+_GL_CXXALIASWARN (getc); -+#endif -+ -+#if @GNULIB_GETCHAR@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef getchar -+# define getchar rpl_getchar -+# endif -+_GL_FUNCDECL_RPL (getchar, int, (void)); -+_GL_CXXALIAS_RPL (getchar, int, (void)); -+# else -+_GL_CXXALIAS_SYS (getchar, int, (void)); -+# endif -+_GL_CXXALIASWARN (getchar); -+#endif -+ -+#if @GNULIB_GETDELIM@ -+/* Read input, up to (and including) the next occurrence of DELIMITER, from -+ STREAM, store it in *LINEPTR (and NUL-terminate it). -+ *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE -+ bytes of space. It is realloc'd as necessary. -+ Return the number of bytes read and stored at *LINEPTR (not including the -+ NUL terminator), or -1 on error or EOF. */ -+# if @REPLACE_GETDELIM@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef getdelim -+# define getdelim rpl_getdelim -+# endif -+_GL_FUNCDECL_RPL (getdelim, ssize_t, -+ (char **lineptr, size_t *linesize, int delimiter, -+ FILE *stream) -+ _GL_ARG_NONNULL ((1, 2, 4))); -+_GL_CXXALIAS_RPL (getdelim, ssize_t, -+ (char **lineptr, size_t *linesize, int delimiter, -+ FILE *stream)); -+# else -+# if !@HAVE_DECL_GETDELIM@ -+_GL_FUNCDECL_SYS (getdelim, ssize_t, -+ (char **lineptr, size_t *linesize, int delimiter, -+ FILE *stream) -+ _GL_ARG_NONNULL ((1, 2, 4))); -+# endif -+_GL_CXXALIAS_SYS (getdelim, ssize_t, -+ (char **lineptr, size_t *linesize, int delimiter, -+ FILE *stream)); -+# endif -+_GL_CXXALIASWARN (getdelim); -+#elif defined GNULIB_POSIXCHECK -+# undef getdelim -+# if HAVE_RAW_DECL_GETDELIM -+_GL_WARN_ON_USE (getdelim, "getdelim is unportable - " -+ "use gnulib module getdelim for portability"); -+# endif -+#endif -+ -+#if @GNULIB_GETLINE@ -+/* Read a line, up to (and including) the next newline, from STREAM, store it -+ in *LINEPTR (and NUL-terminate it). -+ *LINEPTR is a pointer returned from malloc (or NULL), pointing to *LINESIZE -+ bytes of space. It is realloc'd as necessary. -+ Return the number of bytes read and stored at *LINEPTR (not including the -+ NUL terminator), or -1 on error or EOF. */ -+# if @REPLACE_GETLINE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef getline -+# define getline rpl_getline -+# endif -+_GL_FUNCDECL_RPL (getline, ssize_t, -+ (char **lineptr, size_t *linesize, FILE *stream) -+ _GL_ARG_NONNULL ((1, 2, 3))); -+_GL_CXXALIAS_RPL (getline, ssize_t, -+ (char **lineptr, size_t *linesize, FILE *stream)); -+# else -+# if !@HAVE_DECL_GETLINE@ -+_GL_FUNCDECL_SYS (getline, ssize_t, -+ (char **lineptr, size_t *linesize, FILE *stream) -+ _GL_ARG_NONNULL ((1, 2, 3))); -+# endif -+_GL_CXXALIAS_SYS (getline, ssize_t, -+ (char **lineptr, size_t *linesize, FILE *stream)); -+# endif -+# if @HAVE_DECL_GETLINE@ -+_GL_CXXALIASWARN (getline); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef getline -+# if HAVE_RAW_DECL_GETLINE -+_GL_WARN_ON_USE (getline, "getline is unportable - " -+ "use gnulib module getline for portability"); -+# endif -+#endif -+ -+/* It is very rare that the developer ever has full control of stdin, -+ so any use of gets warrants an unconditional warning; besides, C11 -+ removed it. */ -+#undef gets -+#if HAVE_RAW_DECL_GETS -+_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); -+#endif -+ -+ -+#if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@ -+struct obstack; -+/* Grow an obstack with formatted output. Return the number of -+ bytes added to OBS. No trailing nul byte is added, and the -+ object should be closed with obstack_finish before use. Upon -+ memory allocation error, call obstack_alloc_failed_handler. Upon -+ other error, return -1. */ -+# if @REPLACE_OBSTACK_PRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define obstack_printf rpl_obstack_printf -+# endif -+_GL_FUNCDECL_RPL (obstack_printf, int, -+ (struct obstack *obs, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (obstack_printf, int, -+ (struct obstack *obs, const char *format, ...)); -+# else -+# if !@HAVE_DECL_OBSTACK_PRINTF@ -+_GL_FUNCDECL_SYS (obstack_printf, int, -+ (struct obstack *obs, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (obstack_printf, int, -+ (struct obstack *obs, const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (obstack_printf); -+# if @REPLACE_OBSTACK_PRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define obstack_vprintf rpl_obstack_vprintf -+# endif -+_GL_FUNCDECL_RPL (obstack_vprintf, int, -+ (struct obstack *obs, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (obstack_vprintf, int, -+ (struct obstack *obs, const char *format, va_list args)); -+# else -+# if !@HAVE_DECL_OBSTACK_PRINTF@ -+_GL_FUNCDECL_SYS (obstack_vprintf, int, -+ (struct obstack *obs, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (obstack_vprintf, int, -+ (struct obstack *obs, const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (obstack_vprintf); -+#endif -+ -+#if @GNULIB_PCLOSE@ -+# if !@HAVE_PCLOSE@ -+_GL_FUNCDECL_SYS (pclose, int, (FILE *stream) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (pclose, int, (FILE *stream)); -+_GL_CXXALIASWARN (pclose); -+#elif defined GNULIB_POSIXCHECK -+# undef pclose -+# if HAVE_RAW_DECL_PCLOSE -+_GL_WARN_ON_USE (pclose, "pclose is unportable - " -+ "use gnulib module pclose for more portability"); -+# endif -+#endif -+ -+#if @GNULIB_PERROR@ -+/* Print a message to standard error, describing the value of ERRNO, -+ (if STRING is not NULL and not empty) prefixed with STRING and ": ", -+ and terminated with a newline. */ -+# if @REPLACE_PERROR@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define perror rpl_perror -+# endif -+_GL_FUNCDECL_RPL (perror, void, (const char *string)); -+_GL_CXXALIAS_RPL (perror, void, (const char *string)); -+# else -+_GL_CXXALIAS_SYS (perror, void, (const char *string)); -+# endif -+_GL_CXXALIASWARN (perror); -+#elif defined GNULIB_POSIXCHECK -+# undef perror -+/* Assume perror is always declared. */ -+_GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " -+ "use gnulib module perror for portability"); -+#endif -+ -+#if @GNULIB_POPEN@ -+# if @REPLACE_POPEN@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef popen -+# define popen rpl_popen -+# endif -+_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); -+# else -+# if !@HAVE_POPEN@ -+_GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); -+# endif -+_GL_CXXALIASWARN (popen); -+#elif defined GNULIB_POSIXCHECK -+# undef popen -+# if HAVE_RAW_DECL_POPEN -+_GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " -+ "use gnulib module popen or pipe for more portability"); -+# endif -+#endif -+ -+#if @GNULIB_PRINTF_POSIX@ || @GNULIB_PRINTF@ -+# if (@GNULIB_PRINTF_POSIX@ && @REPLACE_PRINTF@) \ -+ || (@GNULIB_PRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) -+# if defined __GNUC__ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+/* Don't break __attribute__((format(printf,M,N))). */ -+# define printf __printf__ -+# endif -+# if @GNULIB_PRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ -+_GL_FUNCDECL_RPL_1 (__printf__, int, -+ (const char *format, ...) -+ __asm__ (@ASM_SYMBOL_PREFIX@ -+ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2) -+ _GL_ARG_NONNULL ((1))); -+# else -+_GL_FUNCDECL_RPL_1 (__printf__, int, -+ (const char *format, ...) -+ __asm__ (@ASM_SYMBOL_PREFIX@ -+ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_printf)) -+ _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 2) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_RPL_1 (printf, __printf__, int, (const char *format, ...)); -+# else -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define printf rpl_printf -+# endif -+_GL_FUNCDECL_RPL (printf, int, -+ (const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (1, 2) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (printf, int, (const char *format, ...)); -+# endif -+# define GNULIB_overrides_printf 1 -+# else -+_GL_CXXALIAS_SYS (printf, int, (const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (printf); -+#endif -+#if !@GNULIB_PRINTF_POSIX@ && defined GNULIB_POSIXCHECK -+# if !GNULIB_overrides_printf -+# undef printf -+# endif -+/* Assume printf is always declared. */ -+_GL_WARN_ON_USE (printf, "printf is not always POSIX compliant - " -+ "use gnulib module printf-posix for portable " -+ "POSIX compliance"); -+#endif -+ -+#if @GNULIB_PUTC@ -+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef putc -+# define putc rpl_fputc -+# endif -+_GL_FUNCDECL_RPL (fputc, int, (int c, FILE *stream) _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL_1 (putc, rpl_fputc, int, (int c, FILE *stream)); -+# else -+_GL_CXXALIAS_SYS (putc, int, (int c, FILE *stream)); -+# endif -+_GL_CXXALIASWARN (putc); -+#endif -+ -+#if @GNULIB_PUTCHAR@ -+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef putchar -+# define putchar rpl_putchar -+# endif -+_GL_FUNCDECL_RPL (putchar, int, (int c)); -+_GL_CXXALIAS_RPL (putchar, int, (int c)); -+# else -+_GL_CXXALIAS_SYS (putchar, int, (int c)); -+# endif -+_GL_CXXALIASWARN (putchar); -+#endif -+ -+#if @GNULIB_PUTS@ -+# if @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef puts -+# define puts rpl_puts -+# endif -+_GL_FUNCDECL_RPL (puts, int, (const char *string) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (puts, int, (const char *string)); -+# else -+_GL_CXXALIAS_SYS (puts, int, (const char *string)); -+# endif -+_GL_CXXALIASWARN (puts); -+#endif -+ -+#if @GNULIB_REMOVE@ -+# if @REPLACE_REMOVE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef remove -+# define remove rpl_remove -+# endif -+_GL_FUNCDECL_RPL (remove, int, (const char *name) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (remove, int, (const char *name)); -+# else -+_GL_CXXALIAS_SYS (remove, int, (const char *name)); -+# endif -+_GL_CXXALIASWARN (remove); -+#elif defined GNULIB_POSIXCHECK -+# undef remove -+/* Assume remove is always declared. */ -+_GL_WARN_ON_USE (remove, "remove cannot handle directories on some platforms - " -+ "use gnulib module remove for more portability"); -+#endif -+ -+#if @GNULIB_RENAME@ -+# if @REPLACE_RENAME@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef rename -+# define rename rpl_rename -+# endif -+_GL_FUNCDECL_RPL (rename, int, -+ (const char *old_filename, const char *new_filename) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (rename, int, -+ (const char *old_filename, const char *new_filename)); -+# else -+_GL_CXXALIAS_SYS (rename, int, -+ (const char *old_filename, const char *new_filename)); -+# endif -+_GL_CXXALIASWARN (rename); -+#elif defined GNULIB_POSIXCHECK -+# undef rename -+/* Assume rename is always declared. */ -+_GL_WARN_ON_USE (rename, "rename is buggy on some platforms - " -+ "use gnulib module rename for more portability"); -+#endif -+ -+#if @GNULIB_RENAMEAT@ -+# if @REPLACE_RENAMEAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef renameat -+# define renameat rpl_renameat -+# endif -+_GL_FUNCDECL_RPL (renameat, int, -+ (int fd1, char const *file1, int fd2, char const *file2) -+ _GL_ARG_NONNULL ((2, 4))); -+_GL_CXXALIAS_RPL (renameat, int, -+ (int fd1, char const *file1, int fd2, char const *file2)); -+# else -+# if !@HAVE_RENAMEAT@ -+_GL_FUNCDECL_SYS (renameat, int, -+ (int fd1, char const *file1, int fd2, char const *file2) -+ _GL_ARG_NONNULL ((2, 4))); -+# endif -+_GL_CXXALIAS_SYS (renameat, int, -+ (int fd1, char const *file1, int fd2, char const *file2)); -+# endif -+_GL_CXXALIASWARN (renameat); -+#elif defined GNULIB_POSIXCHECK -+# undef renameat -+# if HAVE_RAW_DECL_RENAMEAT -+_GL_WARN_ON_USE (renameat, "renameat is not portable - " -+ "use gnulib module renameat for portability"); -+# endif -+#endif -+ -+#if @GNULIB_SCANF@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if defined __GNUC__ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef scanf -+/* Don't break __attribute__((format(scanf,M,N))). */ -+# define scanf __scanf__ -+# endif -+_GL_FUNCDECL_RPL_1 (__scanf__, int, -+ (const char *format, ...) -+ __asm__ (@ASM_SYMBOL_PREFIX@ -+ _GL_STDIO_MACROEXPAND_AND_STRINGIZE(rpl_scanf)) -+ _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL_1 (scanf, __scanf__, int, (const char *format, ...)); -+# else -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef scanf -+# define scanf rpl_scanf -+# endif -+_GL_FUNCDECL_RPL (scanf, int, (const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 2) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (scanf, int, (const char *format, ...)); -+# endif -+# else -+_GL_CXXALIAS_SYS (scanf, int, (const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (scanf); -+#endif -+ -+#if @GNULIB_SNPRINTF@ -+# if @REPLACE_SNPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define snprintf rpl_snprintf -+# endif -+_GL_FUNCDECL_RPL (snprintf, int, -+ (char *str, size_t size, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4) -+ _GL_ARG_NONNULL ((3))); -+_GL_CXXALIAS_RPL (snprintf, int, -+ (char *str, size_t size, const char *format, ...)); -+# else -+# if !@HAVE_DECL_SNPRINTF@ -+_GL_FUNCDECL_SYS (snprintf, int, -+ (char *str, size_t size, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (3, 4) -+ _GL_ARG_NONNULL ((3))); -+# endif -+_GL_CXXALIAS_SYS (snprintf, int, -+ (char *str, size_t size, const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (snprintf); -+#elif defined GNULIB_POSIXCHECK -+# undef snprintf -+# if HAVE_RAW_DECL_SNPRINTF -+_GL_WARN_ON_USE (snprintf, "snprintf is unportable - " -+ "use gnulib module snprintf for portability"); -+# endif -+#endif -+ -+/* Some people would argue that all sprintf uses should be warned about -+ (for example, OpenBSD issues a link warning for it), -+ since it can cause security holes due to buffer overruns. -+ However, we believe that sprintf can be used safely, and is more -+ efficient than snprintf in those safe cases; and as proof of our -+ belief, we use sprintf in several gnulib modules. So this header -+ intentionally avoids adding a warning to sprintf except when -+ GNULIB_POSIXCHECK is defined. */ -+ -+#if @GNULIB_SPRINTF_POSIX@ -+# if @REPLACE_SPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define sprintf rpl_sprintf -+# endif -+_GL_FUNCDECL_RPL (sprintf, int, (char *str, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (sprintf, int, (char *str, const char *format, ...)); -+# else -+_GL_CXXALIAS_SYS (sprintf, int, (char *str, const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (sprintf); -+#elif defined GNULIB_POSIXCHECK -+# undef sprintf -+/* Assume sprintf is always declared. */ -+_GL_WARN_ON_USE (sprintf, "sprintf is not always POSIX compliant - " -+ "use gnulib module sprintf-posix for portable " -+ "POSIX compliance"); -+#endif -+ -+#if @GNULIB_TMPFILE@ -+# if @REPLACE_TMPFILE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define tmpfile rpl_tmpfile -+# endif -+_GL_FUNCDECL_RPL (tmpfile, FILE *, (void)); -+_GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); -+# else -+_GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); -+# endif -+_GL_CXXALIASWARN (tmpfile); -+#elif defined GNULIB_POSIXCHECK -+# undef tmpfile -+# if HAVE_RAW_DECL_TMPFILE -+_GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " -+ "use gnulib module tmpfile for portability"); -+# endif -+#endif -+ -+#if @GNULIB_VASPRINTF@ -+/* Write formatted output to a string dynamically allocated with malloc(). -+ If the memory allocation succeeds, store the address of the string in -+ *RESULT and return the number of resulting bytes, excluding the trailing -+ NUL. Upon memory allocation error, or some other error, return -1. */ -+# if @REPLACE_VASPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define asprintf rpl_asprintf -+# endif -+_GL_FUNCDECL_RPL (asprintf, int, -+ (char **result, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (asprintf, int, -+ (char **result, const char *format, ...)); -+# else -+# if !@HAVE_VASPRINTF@ -+_GL_FUNCDECL_SYS (asprintf, int, -+ (char **result, const char *format, ...) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 3) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (asprintf, int, -+ (char **result, const char *format, ...)); -+# endif -+_GL_CXXALIASWARN (asprintf); -+# if @REPLACE_VASPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define vasprintf rpl_vasprintf -+# endif -+_GL_FUNCDECL_RPL (vasprintf, int, -+ (char **result, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (vasprintf, int, -+ (char **result, const char *format, va_list args)); -+# else -+# if !@HAVE_VASPRINTF@ -+_GL_FUNCDECL_SYS (vasprintf, int, -+ (char **result, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (vasprintf, int, -+ (char **result, const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vasprintf); -+#endif -+ -+#if @GNULIB_VDPRINTF@ -+# if @REPLACE_VDPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define vdprintf rpl_vdprintf -+# endif -+_GL_FUNCDECL_RPL (vdprintf, int, (int fd, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (vdprintf, int, (int fd, const char *format, va_list args)); -+# else -+# if !@HAVE_VDPRINTF@ -+_GL_FUNCDECL_SYS (vdprintf, int, (int fd, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((2))); -+# endif -+/* Need to cast, because on Solaris, the third parameter will likely be -+ __va_list args. */ -+_GL_CXXALIAS_SYS_CAST (vdprintf, int, -+ (int fd, const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vdprintf); -+#elif defined GNULIB_POSIXCHECK -+# undef vdprintf -+# if HAVE_RAW_DECL_VDPRINTF -+_GL_WARN_ON_USE (vdprintf, "vdprintf is unportable - " -+ "use gnulib module vdprintf for portability"); -+# endif -+#endif -+ -+#if @GNULIB_VFPRINTF_POSIX@ || @GNULIB_VFPRINTF@ -+# if (@GNULIB_VFPRINTF_POSIX@ && @REPLACE_VFPRINTF@) \ -+ || (@GNULIB_VFPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define vfprintf rpl_vfprintf -+# endif -+# define GNULIB_overrides_vfprintf 1 -+# if @GNULIB_VFPRINTF_POSIX@ -+_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+# else -+_GL_FUNCDECL_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_RPL (vfprintf, int, (FILE *fp, const char *format, va_list args)); -+# else -+/* Need to cast, because on Solaris, the third parameter is -+ __va_list args -+ and GCC's fixincludes did not change this to __gnuc_va_list. */ -+_GL_CXXALIAS_SYS_CAST (vfprintf, int, -+ (FILE *fp, const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vfprintf); -+#endif -+#if !@GNULIB_VFPRINTF_POSIX@ && defined GNULIB_POSIXCHECK -+# if !GNULIB_overrides_vfprintf -+# undef vfprintf -+# endif -+/* Assume vfprintf is always declared. */ -+_GL_WARN_ON_USE (vfprintf, "vfprintf is not always POSIX compliant - " -+ "use gnulib module vfprintf-posix for portable " -+ "POSIX compliance"); -+#endif -+ -+#if @GNULIB_VFSCANF@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef vfscanf -+# define vfscanf rpl_vfscanf -+# endif -+_GL_FUNCDECL_RPL (vfscanf, int, -+ (FILE *stream, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (vfscanf, int, -+ (FILE *stream, const char *format, va_list args)); -+# else -+_GL_CXXALIAS_SYS (vfscanf, int, -+ (FILE *stream, const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vfscanf); -+#endif -+ -+#if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VPRINTF@ -+# if (@GNULIB_VPRINTF_POSIX@ && @REPLACE_VPRINTF@) \ -+ || (@GNULIB_VPRINTF@ && @REPLACE_STDIO_WRITE_FUNCS@ && (@GNULIB_STDIO_H_NONBLOCKING@ || @GNULIB_STDIO_H_SIGPIPE@)) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define vprintf rpl_vprintf -+# endif -+# define GNULIB_overrides_vprintf 1 -+# if @GNULIB_VPRINTF_POSIX@ || @GNULIB_VFPRINTF_POSIX@ -+_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (1, 0) -+ _GL_ARG_NONNULL ((1))); -+# else -+_GL_FUNCDECL_RPL (vprintf, int, (const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM (1, 0) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_RPL (vprintf, int, (const char *format, va_list args)); -+# else -+/* Need to cast, because on Solaris, the second parameter is -+ __va_list args -+ and GCC's fixincludes did not change this to __gnuc_va_list. */ -+_GL_CXXALIAS_SYS_CAST (vprintf, int, (const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vprintf); -+#endif -+#if !@GNULIB_VPRINTF_POSIX@ && defined GNULIB_POSIXCHECK -+# if !GNULIB_overrides_vprintf -+# undef vprintf -+# endif -+/* Assume vprintf is always declared. */ -+_GL_WARN_ON_USE (vprintf, "vprintf is not always POSIX compliant - " -+ "use gnulib module vprintf-posix for portable " -+ "POSIX compliance"); -+#endif -+ -+#if @GNULIB_VSCANF@ -+# if @REPLACE_STDIO_READ_FUNCS@ && @GNULIB_STDIO_H_NONBLOCKING@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef vscanf -+# define vscanf rpl_vscanf -+# endif -+_GL_FUNCDECL_RPL (vscanf, int, (const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM (1, 0) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (vscanf, int, (const char *format, va_list args)); -+# else -+_GL_CXXALIAS_SYS (vscanf, int, (const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vscanf); -+#endif -+ -+#if @GNULIB_VSNPRINTF@ -+# if @REPLACE_VSNPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define vsnprintf rpl_vsnprintf -+# endif -+_GL_FUNCDECL_RPL (vsnprintf, int, -+ (char *str, size_t size, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) -+ _GL_ARG_NONNULL ((3))); -+_GL_CXXALIAS_RPL (vsnprintf, int, -+ (char *str, size_t size, const char *format, va_list args)); -+# else -+# if !@HAVE_DECL_VSNPRINTF@ -+_GL_FUNCDECL_SYS (vsnprintf, int, -+ (char *str, size_t size, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (3, 0) -+ _GL_ARG_NONNULL ((3))); -+# endif -+_GL_CXXALIAS_SYS (vsnprintf, int, -+ (char *str, size_t size, const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vsnprintf); -+#elif defined GNULIB_POSIXCHECK -+# undef vsnprintf -+# if HAVE_RAW_DECL_VSNPRINTF -+_GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " -+ "use gnulib module vsnprintf for portability"); -+# endif -+#endif -+ -+#if @GNULIB_VSPRINTF_POSIX@ -+# if @REPLACE_VSPRINTF@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define vsprintf rpl_vsprintf -+# endif -+_GL_FUNCDECL_RPL (vsprintf, int, -+ (char *str, const char *format, va_list args) -+ _GL_ATTRIBUTE_FORMAT_PRINTF (2, 0) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (vsprintf, int, -+ (char *str, const char *format, va_list args)); -+# else -+/* Need to cast, because on Solaris, the third parameter is -+ __va_list args -+ and GCC's fixincludes did not change this to __gnuc_va_list. */ -+_GL_CXXALIAS_SYS_CAST (vsprintf, int, -+ (char *str, const char *format, va_list args)); -+# endif -+_GL_CXXALIASWARN (vsprintf); -+#elif defined GNULIB_POSIXCHECK -+# undef vsprintf -+/* Assume vsprintf is always declared. */ -+_GL_WARN_ON_USE (vsprintf, "vsprintf is not always POSIX compliant - " -+ "use gnulib module vsprintf-posix for portable " -+ "POSIX compliance"); -+#endif -+ -+#endif /* _@GUARD_PREFIX@_STDIO_H */ -+#endif /* _@GUARD_PREFIX@_STDIO_H */ -+#endif -diff -Naur libiconv-20130504/srclib/stdio-write.c libiconv-20130504.patch/srclib/stdio-write.c ---- libiconv-20130504/srclib/stdio-write.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/stdio-write.c 2013-05-04 10:20:07.748698438 +0200 -@@ -0,0 +1,198 @@ -+/* POSIX compatible FILE stream write function. -+ Copyright (C) 2008-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2008. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include -+ -+/* Replace these functions only if module 'nonblocking' or module 'sigpipe' is -+ requested. */ -+#if GNULIB_NONBLOCKING || GNULIB_SIGPIPE -+ -+/* On native Windows platforms, SIGPIPE does not exist. When write() is -+ called on a pipe with no readers, WriteFile() fails with error -+ GetLastError() = ERROR_NO_DATA, and write() in consequence fails with -+ error EINVAL. This write() function is at the basis of the function -+ which flushes the buffer of a FILE stream. */ -+ -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+ -+# include -+# include -+# include -+ -+# define WIN32_LEAN_AND_MEAN /* avoid including junk */ -+# include -+ -+# include "msvc-nothrow.h" -+ -+# if GNULIB_NONBLOCKING -+# define CLEAR_ERRNO \ -+ errno = 0; -+# define HANDLE_ENOSPC \ -+ if (errno == ENOSPC && ferror (stream)) \ -+ { \ -+ int fd = fileno (stream); \ -+ if (fd >= 0) \ -+ { \ -+ HANDLE h = (HANDLE) _get_osfhandle (fd); \ -+ if (GetFileType (h) == FILE_TYPE_PIPE) \ -+ { \ -+ /* h is a pipe or socket. */ \ -+ DWORD state; \ -+ if (GetNamedPipeHandleState (h, &state, NULL, NULL, \ -+ NULL, NULL, 0) \ -+ && (state & PIPE_NOWAIT) != 0) \ -+ /* h is a pipe in non-blocking mode. \ -+ Change errno from ENOSPC to EAGAIN. */ \ -+ errno = EAGAIN; \ -+ } \ -+ } \ -+ } \ -+ else -+# else -+# define CLEAR_ERRNO -+# define HANDLE_ENOSPC -+# endif -+ -+# if GNULIB_SIGPIPE -+# define CLEAR_LastError \ -+ SetLastError (0); -+# define HANDLE_ERROR_NO_DATA \ -+ if (GetLastError () == ERROR_NO_DATA && ferror (stream)) \ -+ { \ -+ int fd = fileno (stream); \ -+ if (fd >= 0 \ -+ && GetFileType ((HANDLE) _get_osfhandle (fd)) \ -+ == FILE_TYPE_PIPE) \ -+ { \ -+ /* Try to raise signal SIGPIPE. */ \ -+ raise (SIGPIPE); \ -+ /* If it is currently blocked or ignored, change errno from \ -+ EINVAL to EPIPE. */ \ -+ errno = EPIPE; \ -+ } \ -+ } \ -+ else -+# else -+# define CLEAR_LastError -+# define HANDLE_ERROR_NO_DATA -+# endif -+ -+# define CALL_WITH_SIGPIPE_EMULATION(RETTYPE, EXPRESSION, FAILED) \ -+ if (ferror (stream)) \ -+ return (EXPRESSION); \ -+ else \ -+ { \ -+ RETTYPE ret; \ -+ CLEAR_ERRNO \ -+ CLEAR_LastError \ -+ ret = (EXPRESSION); \ -+ if (FAILED) \ -+ { \ -+ HANDLE_ENOSPC \ -+ HANDLE_ERROR_NO_DATA \ -+ ; \ -+ } \ -+ return ret; \ -+ } -+ -+# if !REPLACE_PRINTF_POSIX /* avoid collision with printf.c */ -+int -+printf (const char *format, ...) -+{ -+ int retval; -+ va_list args; -+ -+ va_start (args, format); -+ retval = vfprintf (stdout, format, args); -+ va_end (args); -+ -+ return retval; -+} -+# endif -+ -+# if !REPLACE_FPRINTF_POSIX /* avoid collision with fprintf.c */ -+int -+fprintf (FILE *stream, const char *format, ...) -+{ -+ int retval; -+ va_list args; -+ -+ va_start (args, format); -+ retval = vfprintf (stream, format, args); -+ va_end (args); -+ -+ return retval; -+} -+# endif -+ -+# if !REPLACE_VPRINTF_POSIX /* avoid collision with vprintf.c */ -+int -+vprintf (const char *format, va_list args) -+{ -+ return vfprintf (stdout, format, args); -+} -+# endif -+ -+# if !REPLACE_VFPRINTF_POSIX /* avoid collision with vfprintf.c */ -+int -+vfprintf (FILE *stream, const char *format, va_list args) -+#undef vfprintf -+{ -+ CALL_WITH_SIGPIPE_EMULATION (int, vfprintf (stream, format, args), ret == EOF) -+} -+# endif -+ -+int -+putchar (int c) -+{ -+ return fputc (c, stdout); -+} -+ -+int -+fputc (int c, FILE *stream) -+#undef fputc -+{ -+ CALL_WITH_SIGPIPE_EMULATION (int, fputc (c, stream), ret == EOF) -+} -+ -+int -+fputs (const char *string, FILE *stream) -+#undef fputs -+{ -+ CALL_WITH_SIGPIPE_EMULATION (int, fputs (string, stream), ret == EOF) -+} -+ -+int -+puts (const char *string) -+#undef puts -+{ -+ FILE *stream = stdout; -+ CALL_WITH_SIGPIPE_EMULATION (int, puts (string), ret == EOF) -+} -+ -+size_t -+fwrite (const void *ptr, size_t s, size_t n, FILE *stream) -+#undef fwrite -+{ -+ CALL_WITH_SIGPIPE_EMULATION (size_t, fwrite (ptr, s, n, stream), ret < n) -+} -+ -+# endif -+#endif -diff -Naur libiconv-20130504/srclib/stdlib.in.h libiconv-20130504.patch/srclib/stdlib.in.h ---- libiconv-20130504/srclib/stdlib.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/stdlib.in.h 2013-05-04 10:20:07.757698412 +0200 -@@ -0,0 +1,954 @@ -+/* A GNU-like . -+ -+ Copyright (C) 1995, 2001-2004, 2006-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+#if defined __need_system_stdlib_h || defined __need_malloc_and_calloc -+/* Special invocation conventions inside some gnulib header files, -+ and inside some glibc header files, respectively. */ -+ -+#@INCLUDE_NEXT@ @NEXT_STDLIB_H@ -+ -+#else -+/* Normal invocation convention. */ -+ -+#ifndef _@GUARD_PREFIX@_STDLIB_H -+ -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_STDLIB_H@ -+ -+#ifndef _@GUARD_PREFIX@_STDLIB_H -+#define _@GUARD_PREFIX@_STDLIB_H -+ -+/* NetBSD 5.0 mis-defines NULL. */ -+#include -+ -+/* MirBSD 10 defines WEXITSTATUS in , not in . */ -+#if @GNULIB_SYSTEM_POSIX@ && !defined WEXITSTATUS -+# include -+#endif -+ -+/* Solaris declares getloadavg() in . */ -+#if (@GNULIB_GETLOADAVG@ || defined GNULIB_POSIXCHECK) && @HAVE_SYS_LOADAVG_H@ -+# include -+#endif -+ -+/* Native Windows platforms declare mktemp() in . */ -+#if 0 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) -+# include -+#endif -+ -+#if @GNULIB_RANDOM_R@ -+ -+/* OSF/1 5.1 declares 'struct random_data' in , which is included -+ from if _REENTRANT is defined. Include it whenever we need -+ 'struct random_data'. */ -+# if @HAVE_RANDOM_H@ -+# include -+# endif -+ -+# if !@HAVE_STRUCT_RANDOM_DATA@ || @REPLACE_RANDOM_R@ || !@HAVE_RANDOM_R@ -+# include -+# endif -+ -+# if !@HAVE_STRUCT_RANDOM_DATA@ -+/* Define 'struct random_data'. -+ But allow multiple gnulib generated replacements to coexist. */ -+# if !GNULIB_defined_struct_random_data -+struct random_data -+{ -+ int32_t *fptr; /* Front pointer. */ -+ int32_t *rptr; /* Rear pointer. */ -+ int32_t *state; /* Array of state values. */ -+ int rand_type; /* Type of random number generator. */ -+ int rand_deg; /* Degree of random number generator. */ -+ int rand_sep; /* Distance between front and rear. */ -+ int32_t *end_ptr; /* Pointer behind state table. */ -+}; -+# define GNULIB_defined_struct_random_data 1 -+# endif -+# endif -+#endif -+ -+#if (@GNULIB_MKSTEMP@ || @GNULIB_MKSTEMPS@ || @GNULIB_GETSUBOPT@ || defined GNULIB_POSIXCHECK) && ! defined __GLIBC__ && !((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) -+/* On Mac OS X 10.3, only declares mkstemp. */ -+/* On Mac OS X 10.5, only declares mkstemps. */ -+/* On Cygwin 1.7.1, only declares getsubopt. */ -+/* But avoid namespace pollution on glibc systems and native Windows. */ -+# include -+#endif -+ -+/* The __attribute__ feature is available in gcc versions 2.5 and later. -+ The attribute __pure__ was added in gcc 2.96. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) -+#else -+# define _GL_ATTRIBUTE_PURE /* empty */ -+#endif -+ -+/* The definition of _Noreturn is copied here. */ -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+ -+/* Some systems do not define EXIT_*, despite otherwise supporting C89. */ -+#ifndef EXIT_SUCCESS -+# define EXIT_SUCCESS 0 -+#endif -+/* Tandem/NSK and other platforms that define EXIT_FAILURE as -1 interfere -+ with proper operation of xargs. */ -+#ifndef EXIT_FAILURE -+# define EXIT_FAILURE 1 -+#elif EXIT_FAILURE != 1 -+# undef EXIT_FAILURE -+# define EXIT_FAILURE 1 -+#endif -+ -+ -+#if @GNULIB__EXIT@ -+/* Terminate the current process with the given return code, without running -+ the 'atexit' handlers. */ -+# if !@HAVE__EXIT@ -+_GL_FUNCDECL_SYS (_Exit, _Noreturn void, (int status)); -+# endif -+_GL_CXXALIAS_SYS (_Exit, void, (int status)); -+_GL_CXXALIASWARN (_Exit); -+#elif defined GNULIB_POSIXCHECK -+# undef _Exit -+# if HAVE_RAW_DECL__EXIT -+_GL_WARN_ON_USE (_Exit, "_Exit is unportable - " -+ "use gnulib module _Exit for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_ATOLL@ -+/* Parse a signed decimal integer. -+ Returns the value of the integer. Errors are not detected. */ -+# if !@HAVE_ATOLL@ -+_GL_FUNCDECL_SYS (atoll, long long, (const char *string) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (atoll, long long, (const char *string)); -+_GL_CXXALIASWARN (atoll); -+#elif defined GNULIB_POSIXCHECK -+# undef atoll -+# if HAVE_RAW_DECL_ATOLL -+_GL_WARN_ON_USE (atoll, "atoll is unportable - " -+ "use gnulib module atoll for portability"); -+# endif -+#endif -+ -+#if @GNULIB_CALLOC_POSIX@ -+# if @REPLACE_CALLOC@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef calloc -+# define calloc rpl_calloc -+# endif -+_GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size)); -+_GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size)); -+# else -+_GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size)); -+# endif -+_GL_CXXALIASWARN (calloc); -+#elif defined GNULIB_POSIXCHECK -+# undef calloc -+/* Assume calloc is always declared. */ -+_GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " -+ "use gnulib module calloc-posix for portability"); -+#endif -+ -+#if @GNULIB_CANONICALIZE_FILE_NAME@ -+# if @REPLACE_CANONICALIZE_FILE_NAME@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define canonicalize_file_name rpl_canonicalize_file_name -+# endif -+_GL_FUNCDECL_RPL (canonicalize_file_name, char *, (const char *name) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); -+# else -+# if !@HAVE_CANONICALIZE_FILE_NAME@ -+_GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); -+# endif -+_GL_CXXALIASWARN (canonicalize_file_name); -+#elif defined GNULIB_POSIXCHECK -+# undef canonicalize_file_name -+# if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME -+_GL_WARN_ON_USE (canonicalize_file_name, -+ "canonicalize_file_name is unportable - " -+ "use gnulib module canonicalize-lgpl for portability"); -+# endif -+#endif -+ -+#if @GNULIB_GETLOADAVG@ -+/* Store max(NELEM,3) load average numbers in LOADAVG[]. -+ The three numbers are the load average of the last 1 minute, the last 5 -+ minutes, and the last 15 minutes, respectively. -+ LOADAVG is an array of NELEM numbers. */ -+# if !@HAVE_DECL_GETLOADAVG@ -+_GL_FUNCDECL_SYS (getloadavg, int, (double loadavg[], int nelem) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (getloadavg, int, (double loadavg[], int nelem)); -+_GL_CXXALIASWARN (getloadavg); -+#elif defined GNULIB_POSIXCHECK -+# undef getloadavg -+# if HAVE_RAW_DECL_GETLOADAVG -+_GL_WARN_ON_USE (getloadavg, "getloadavg is not portable - " -+ "use gnulib module getloadavg for portability"); -+# endif -+#endif -+ -+#if @GNULIB_GETSUBOPT@ -+/* Assuming *OPTIONP is a comma separated list of elements of the form -+ "token" or "token=value", getsubopt parses the first of these elements. -+ If the first element refers to a "token" that is member of the given -+ NULL-terminated array of tokens: -+ - It replaces the comma with a NUL byte, updates *OPTIONP to point past -+ the first option and the comma, sets *VALUEP to the value of the -+ element (or NULL if it doesn't contain an "=" sign), -+ - It returns the index of the "token" in the given array of tokens. -+ Otherwise it returns -1, and *OPTIONP and *VALUEP are undefined. -+ For more details see the POSIX:2001 specification. -+ http://www.opengroup.org/susv3xsh/getsubopt.html */ -+# if !@HAVE_GETSUBOPT@ -+_GL_FUNCDECL_SYS (getsubopt, int, -+ (char **optionp, char *const *tokens, char **valuep) -+ _GL_ARG_NONNULL ((1, 2, 3))); -+# endif -+_GL_CXXALIAS_SYS (getsubopt, int, -+ (char **optionp, char *const *tokens, char **valuep)); -+_GL_CXXALIASWARN (getsubopt); -+#elif defined GNULIB_POSIXCHECK -+# undef getsubopt -+# if HAVE_RAW_DECL_GETSUBOPT -+_GL_WARN_ON_USE (getsubopt, "getsubopt is unportable - " -+ "use gnulib module getsubopt for portability"); -+# endif -+#endif -+ -+#if @GNULIB_GRANTPT@ -+/* Change the ownership and access permission of the slave side of the -+ pseudo-terminal whose master side is specified by FD. */ -+# if !@HAVE_GRANTPT@ -+_GL_FUNCDECL_SYS (grantpt, int, (int fd)); -+# endif -+_GL_CXXALIAS_SYS (grantpt, int, (int fd)); -+_GL_CXXALIASWARN (grantpt); -+#elif defined GNULIB_POSIXCHECK -+# undef grantpt -+# if HAVE_RAW_DECL_GRANTPT -+_GL_WARN_ON_USE (grantpt, "grantpt is not portable - " -+ "use gnulib module grantpt for portability"); -+# endif -+#endif -+ -+/* If _GL_USE_STDLIB_ALLOC is nonzero, the including module does not -+ rely on GNU or POSIX semantics for malloc and realloc (for example, -+ by never specifying a zero size), so it does not need malloc or -+ realloc to be redefined. */ -+#if @GNULIB_MALLOC_POSIX@ -+# if @REPLACE_MALLOC@ -+# if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ -+ || _GL_USE_STDLIB_ALLOC) -+# undef malloc -+# define malloc rpl_malloc -+# endif -+_GL_FUNCDECL_RPL (malloc, void *, (size_t size)); -+_GL_CXXALIAS_RPL (malloc, void *, (size_t size)); -+# else -+_GL_CXXALIAS_SYS (malloc, void *, (size_t size)); -+# endif -+_GL_CXXALIASWARN (malloc); -+#elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC -+# undef malloc -+/* Assume malloc is always declared. */ -+_GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " -+ "use gnulib module malloc-posix for portability"); -+#endif -+ -+/* Convert a multibyte character to a wide character. */ -+#if @GNULIB_MBTOWC@ -+# if @REPLACE_MBTOWC@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef mbtowc -+# define mbtowc rpl_mbtowc -+# endif -+_GL_FUNCDECL_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); -+_GL_CXXALIAS_RPL (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); -+# else -+_GL_CXXALIAS_SYS (mbtowc, int, (wchar_t *pwc, const char *s, size_t n)); -+# endif -+_GL_CXXALIASWARN (mbtowc); -+#endif -+ -+#if @GNULIB_MKDTEMP@ -+/* Create a unique temporary directory from TEMPLATE. -+ The last six characters of TEMPLATE must be "XXXXXX"; -+ they are replaced with a string that makes the directory name unique. -+ Returns TEMPLATE, or a null pointer if it cannot get a unique name. -+ The directory is created mode 700. */ -+# if !@HAVE_MKDTEMP@ -+_GL_FUNCDECL_SYS (mkdtemp, char *, (char * /*template*/) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (mkdtemp, char *, (char * /*template*/)); -+_GL_CXXALIASWARN (mkdtemp); -+#elif defined GNULIB_POSIXCHECK -+# undef mkdtemp -+# if HAVE_RAW_DECL_MKDTEMP -+_GL_WARN_ON_USE (mkdtemp, "mkdtemp is unportable - " -+ "use gnulib module mkdtemp for portability"); -+# endif -+#endif -+ -+#if @GNULIB_MKOSTEMP@ -+/* Create a unique temporary file from TEMPLATE. -+ The last six characters of TEMPLATE must be "XXXXXX"; -+ they are replaced with a string that makes the file name unique. -+ The flags are a bitmask, possibly including O_CLOEXEC (defined in ) -+ and O_TEXT, O_BINARY (defined in "binary-io.h"). -+ The file is then created, with the specified flags, ensuring it didn't exist -+ before. -+ The file is created read-write (mask at least 0600 & ~umask), but it may be -+ world-readable and world-writable (mask 0666 & ~umask), depending on the -+ implementation. -+ Returns the open file descriptor if successful, otherwise -1 and errno -+ set. */ -+# if !@HAVE_MKOSTEMP@ -+_GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)); -+_GL_CXXALIASWARN (mkostemp); -+#elif defined GNULIB_POSIXCHECK -+# undef mkostemp -+# if HAVE_RAW_DECL_MKOSTEMP -+_GL_WARN_ON_USE (mkostemp, "mkostemp is unportable - " -+ "use gnulib module mkostemp for portability"); -+# endif -+#endif -+ -+#if @GNULIB_MKOSTEMPS@ -+/* Create a unique temporary file from TEMPLATE. -+ The last six characters of TEMPLATE before a suffix of length -+ SUFFIXLEN must be "XXXXXX"; -+ they are replaced with a string that makes the file name unique. -+ The flags are a bitmask, possibly including O_CLOEXEC (defined in ) -+ and O_TEXT, O_BINARY (defined in "binary-io.h"). -+ The file is then created, with the specified flags, ensuring it didn't exist -+ before. -+ The file is created read-write (mask at least 0600 & ~umask), but it may be -+ world-readable and world-writable (mask 0666 & ~umask), depending on the -+ implementation. -+ Returns the open file descriptor if successful, otherwise -1 and errno -+ set. */ -+# if !@HAVE_MKOSTEMPS@ -+_GL_FUNCDECL_SYS (mkostemps, int, -+ (char * /*template*/, int /*suffixlen*/, int /*flags*/) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (mkostemps, int, -+ (char * /*template*/, int /*suffixlen*/, int /*flags*/)); -+_GL_CXXALIASWARN (mkostemps); -+#elif defined GNULIB_POSIXCHECK -+# undef mkostemps -+# if HAVE_RAW_DECL_MKOSTEMPS -+_GL_WARN_ON_USE (mkostemps, "mkostemps is unportable - " -+ "use gnulib module mkostemps for portability"); -+# endif -+#endif -+ -+#if @GNULIB_MKSTEMP@ -+/* Create a unique temporary file from TEMPLATE. -+ The last six characters of TEMPLATE must be "XXXXXX"; -+ they are replaced with a string that makes the file name unique. -+ The file is then created, ensuring it didn't exist before. -+ The file is created read-write (mask at least 0600 & ~umask), but it may be -+ world-readable and world-writable (mask 0666 & ~umask), depending on the -+ implementation. -+ Returns the open file descriptor if successful, otherwise -1 and errno -+ set. */ -+# if @REPLACE_MKSTEMP@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define mkstemp rpl_mkstemp -+# endif -+_GL_FUNCDECL_RPL (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mkstemp, int, (char * /*template*/)); -+# else -+# if ! @HAVE_MKSTEMP@ -+_GL_FUNCDECL_SYS (mkstemp, int, (char * /*template*/) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (mkstemp, int, (char * /*template*/)); -+# endif -+_GL_CXXALIASWARN (mkstemp); -+#elif defined GNULIB_POSIXCHECK -+# undef mkstemp -+# if HAVE_RAW_DECL_MKSTEMP -+_GL_WARN_ON_USE (mkstemp, "mkstemp is unportable - " -+ "use gnulib module mkstemp for portability"); -+# endif -+#endif -+ -+#if @GNULIB_MKSTEMPS@ -+/* Create a unique temporary file from TEMPLATE. -+ The last six characters of TEMPLATE prior to a suffix of length -+ SUFFIXLEN must be "XXXXXX"; -+ they are replaced with a string that makes the file name unique. -+ The file is then created, ensuring it didn't exist before. -+ The file is created read-write (mask at least 0600 & ~umask), but it may be -+ world-readable and world-writable (mask 0666 & ~umask), depending on the -+ implementation. -+ Returns the open file descriptor if successful, otherwise -1 and errno -+ set. */ -+# if !@HAVE_MKSTEMPS@ -+_GL_FUNCDECL_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (mkstemps, int, (char * /*template*/, int /*suffixlen*/)); -+_GL_CXXALIASWARN (mkstemps); -+#elif defined GNULIB_POSIXCHECK -+# undef mkstemps -+# if HAVE_RAW_DECL_MKSTEMPS -+_GL_WARN_ON_USE (mkstemps, "mkstemps is unportable - " -+ "use gnulib module mkstemps for portability"); -+# endif -+#endif -+ -+#if @GNULIB_POSIX_OPENPT@ -+/* Return an FD open to the master side of a pseudo-terminal. Flags should -+ include O_RDWR, and may also include O_NOCTTY. */ -+# if !@HAVE_POSIX_OPENPT@ -+_GL_FUNCDECL_SYS (posix_openpt, int, (int flags)); -+# endif -+_GL_CXXALIAS_SYS (posix_openpt, int, (int flags)); -+_GL_CXXALIASWARN (posix_openpt); -+#elif defined GNULIB_POSIXCHECK -+# undef posix_openpt -+# if HAVE_RAW_DECL_POSIX_OPENPT -+_GL_WARN_ON_USE (posix_openpt, "posix_openpt is not portable - " -+ "use gnulib module posix_openpt for portability"); -+# endif -+#endif -+ -+#if @GNULIB_PTSNAME@ -+/* Return the pathname of the pseudo-terminal slave associated with -+ the master FD is open on, or NULL on errors. */ -+# if @REPLACE_PTSNAME@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef ptsname -+# define ptsname rpl_ptsname -+# endif -+_GL_FUNCDECL_RPL (ptsname, char *, (int fd)); -+_GL_CXXALIAS_RPL (ptsname, char *, (int fd)); -+# else -+# if !@HAVE_PTSNAME@ -+_GL_FUNCDECL_SYS (ptsname, char *, (int fd)); -+# endif -+_GL_CXXALIAS_SYS (ptsname, char *, (int fd)); -+# endif -+_GL_CXXALIASWARN (ptsname); -+#elif defined GNULIB_POSIXCHECK -+# undef ptsname -+# if HAVE_RAW_DECL_PTSNAME -+_GL_WARN_ON_USE (ptsname, "ptsname is not portable - " -+ "use gnulib module ptsname for portability"); -+# endif -+#endif -+ -+#if @GNULIB_PTSNAME_R@ -+/* Set the pathname of the pseudo-terminal slave associated with -+ the master FD is open on and return 0, or set errno and return -+ non-zero on errors. */ -+# if @REPLACE_PTSNAME_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef ptsname_r -+# define ptsname_r rpl_ptsname_r -+# endif -+_GL_FUNCDECL_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); -+_GL_CXXALIAS_RPL (ptsname_r, int, (int fd, char *buf, size_t len)); -+# else -+# if !@HAVE_PTSNAME_R@ -+_GL_FUNCDECL_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); -+# endif -+_GL_CXXALIAS_SYS (ptsname_r, int, (int fd, char *buf, size_t len)); -+# endif -+_GL_CXXALIASWARN (ptsname_r); -+#elif defined GNULIB_POSIXCHECK -+# undef ptsname_r -+# if HAVE_RAW_DECL_PTSNAME_R -+_GL_WARN_ON_USE (ptsname_r, "ptsname_r is not portable - " -+ "use gnulib module ptsname_r for portability"); -+# endif -+#endif -+ -+#if @GNULIB_PUTENV@ -+# if @REPLACE_PUTENV@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef putenv -+# define putenv rpl_putenv -+# endif -+_GL_FUNCDECL_RPL (putenv, int, (char *string) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (putenv, int, (char *string)); -+# else -+_GL_CXXALIAS_SYS (putenv, int, (char *string)); -+# endif -+_GL_CXXALIASWARN (putenv); -+#endif -+ -+ -+#if @GNULIB_RANDOM_R@ -+# if !@HAVE_RANDOM_R@ -+# ifndef RAND_MAX -+# define RAND_MAX 2147483647 -+# endif -+# endif -+#endif -+ -+ -+#if @GNULIB_RANDOM@ -+# if !@HAVE_RANDOM@ -+_GL_FUNCDECL_SYS (random, long, (void)); -+# endif -+_GL_CXXALIAS_SYS (random, long, (void)); -+_GL_CXXALIASWARN (random); -+#elif defined GNULIB_POSIXCHECK -+# undef random -+# if HAVE_RAW_DECL_RANDOM -+_GL_WARN_ON_USE (random, "random is unportable - " -+ "use gnulib module random for portability"); -+# endif -+#endif -+ -+#if @GNULIB_RANDOM@ -+# if !@HAVE_RANDOM@ -+_GL_FUNCDECL_SYS (srandom, void, (unsigned int seed)); -+# endif -+_GL_CXXALIAS_SYS (srandom, void, (unsigned int seed)); -+_GL_CXXALIASWARN (srandom); -+#elif defined GNULIB_POSIXCHECK -+# undef srandom -+# if HAVE_RAW_DECL_SRANDOM -+_GL_WARN_ON_USE (srandom, "srandom is unportable - " -+ "use gnulib module random for portability"); -+# endif -+#endif -+ -+#if @GNULIB_RANDOM@ -+# if !@HAVE_RANDOM@ -+_GL_FUNCDECL_SYS (initstate, char *, -+ (unsigned int seed, char *buf, size_t buf_size) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (initstate, char *, -+ (unsigned int seed, char *buf, size_t buf_size)); -+_GL_CXXALIASWARN (initstate); -+#elif defined GNULIB_POSIXCHECK -+# undef initstate -+# if HAVE_RAW_DECL_INITSTATE_R -+_GL_WARN_ON_USE (initstate, "initstate is unportable - " -+ "use gnulib module random for portability"); -+# endif -+#endif -+ -+#if @GNULIB_RANDOM@ -+# if !@HAVE_RANDOM@ -+_GL_FUNCDECL_SYS (setstate, char *, (char *arg_state) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (setstate, char *, (char *arg_state)); -+_GL_CXXALIASWARN (setstate); -+#elif defined GNULIB_POSIXCHECK -+# undef setstate -+# if HAVE_RAW_DECL_SETSTATE_R -+_GL_WARN_ON_USE (setstate, "setstate is unportable - " -+ "use gnulib module random for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_RANDOM_R@ -+# if @REPLACE_RANDOM_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef random_r -+# define random_r rpl_random_r -+# endif -+_GL_FUNCDECL_RPL (random_r, int, (struct random_data *buf, int32_t *result) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (random_r, int, (struct random_data *buf, int32_t *result)); -+# else -+# if !@HAVE_RANDOM_R@ -+_GL_FUNCDECL_SYS (random_r, int, (struct random_data *buf, int32_t *result) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (random_r, int, (struct random_data *buf, int32_t *result)); -+# endif -+_GL_CXXALIASWARN (random_r); -+#elif defined GNULIB_POSIXCHECK -+# undef random_r -+# if HAVE_RAW_DECL_RANDOM_R -+_GL_WARN_ON_USE (random_r, "random_r is unportable - " -+ "use gnulib module random_r for portability"); -+# endif -+#endif -+ -+#if @GNULIB_RANDOM_R@ -+# if @REPLACE_RANDOM_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef srandom_r -+# define srandom_r rpl_srandom_r -+# endif -+_GL_FUNCDECL_RPL (srandom_r, int, -+ (unsigned int seed, struct random_data *rand_state) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (srandom_r, int, -+ (unsigned int seed, struct random_data *rand_state)); -+# else -+# if !@HAVE_RANDOM_R@ -+_GL_FUNCDECL_SYS (srandom_r, int, -+ (unsigned int seed, struct random_data *rand_state) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (srandom_r, int, -+ (unsigned int seed, struct random_data *rand_state)); -+# endif -+_GL_CXXALIASWARN (srandom_r); -+#elif defined GNULIB_POSIXCHECK -+# undef srandom_r -+# if HAVE_RAW_DECL_SRANDOM_R -+_GL_WARN_ON_USE (srandom_r, "srandom_r is unportable - " -+ "use gnulib module random_r for portability"); -+# endif -+#endif -+ -+#if @GNULIB_RANDOM_R@ -+# if @REPLACE_RANDOM_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef initstate_r -+# define initstate_r rpl_initstate_r -+# endif -+_GL_FUNCDECL_RPL (initstate_r, int, -+ (unsigned int seed, char *buf, size_t buf_size, -+ struct random_data *rand_state) -+ _GL_ARG_NONNULL ((2, 4))); -+_GL_CXXALIAS_RPL (initstate_r, int, -+ (unsigned int seed, char *buf, size_t buf_size, -+ struct random_data *rand_state)); -+# else -+# if !@HAVE_RANDOM_R@ -+_GL_FUNCDECL_SYS (initstate_r, int, -+ (unsigned int seed, char *buf, size_t buf_size, -+ struct random_data *rand_state) -+ _GL_ARG_NONNULL ((2, 4))); -+# endif -+_GL_CXXALIAS_SYS (initstate_r, int, -+ (unsigned int seed, char *buf, size_t buf_size, -+ struct random_data *rand_state)); -+# endif -+_GL_CXXALIASWARN (initstate_r); -+#elif defined GNULIB_POSIXCHECK -+# undef initstate_r -+# if HAVE_RAW_DECL_INITSTATE_R -+_GL_WARN_ON_USE (initstate_r, "initstate_r is unportable - " -+ "use gnulib module random_r for portability"); -+# endif -+#endif -+ -+#if @GNULIB_RANDOM_R@ -+# if @REPLACE_RANDOM_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef setstate_r -+# define setstate_r rpl_setstate_r -+# endif -+_GL_FUNCDECL_RPL (setstate_r, int, -+ (char *arg_state, struct random_data *rand_state) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (setstate_r, int, -+ (char *arg_state, struct random_data *rand_state)); -+# else -+# if !@HAVE_RANDOM_R@ -+_GL_FUNCDECL_SYS (setstate_r, int, -+ (char *arg_state, struct random_data *rand_state) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (setstate_r, int, -+ (char *arg_state, struct random_data *rand_state)); -+# endif -+_GL_CXXALIASWARN (setstate_r); -+#elif defined GNULIB_POSIXCHECK -+# undef setstate_r -+# if HAVE_RAW_DECL_SETSTATE_R -+_GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " -+ "use gnulib module random_r for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_REALLOC_POSIX@ -+# if @REPLACE_REALLOC@ -+# if !((defined __cplusplus && defined GNULIB_NAMESPACE) \ -+ || _GL_USE_STDLIB_ALLOC) -+# undef realloc -+# define realloc rpl_realloc -+# endif -+_GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size)); -+_GL_CXXALIAS_RPL (realloc, void *, (void *ptr, size_t size)); -+# else -+_GL_CXXALIAS_SYS (realloc, void *, (void *ptr, size_t size)); -+# endif -+_GL_CXXALIASWARN (realloc); -+#elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC -+# undef realloc -+/* Assume realloc is always declared. */ -+_GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " -+ "use gnulib module realloc-posix for portability"); -+#endif -+ -+#if @GNULIB_REALPATH@ -+# if @REPLACE_REALPATH@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define realpath rpl_realpath -+# endif -+_GL_FUNCDECL_RPL (realpath, char *, (const char *name, char *resolved) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (realpath, char *, (const char *name, char *resolved)); -+# else -+# if !@HAVE_REALPATH@ -+_GL_FUNCDECL_SYS (realpath, char *, (const char *name, char *resolved) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (realpath, char *, (const char *name, char *resolved)); -+# endif -+_GL_CXXALIASWARN (realpath); -+#elif defined GNULIB_POSIXCHECK -+# undef realpath -+# if HAVE_RAW_DECL_REALPATH -+_GL_WARN_ON_USE (realpath, "realpath is unportable - use gnulib module " -+ "canonicalize or canonicalize-lgpl for portability"); -+# endif -+#endif -+ -+#if @GNULIB_RPMATCH@ -+/* Test a user response to a question. -+ Return 1 if it is affirmative, 0 if it is negative, or -1 if not clear. */ -+# if !@HAVE_RPMATCH@ -+_GL_FUNCDECL_SYS (rpmatch, int, (const char *response) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (rpmatch, int, (const char *response)); -+_GL_CXXALIASWARN (rpmatch); -+#elif defined GNULIB_POSIXCHECK -+# undef rpmatch -+# if HAVE_RAW_DECL_RPMATCH -+_GL_WARN_ON_USE (rpmatch, "rpmatch is unportable - " -+ "use gnulib module rpmatch for portability"); -+# endif -+#endif -+ -+#if @GNULIB_SECURE_GETENV@ -+/* Look up NAME in the environment, returning 0 in insecure situations. */ -+# if !@HAVE_SECURE_GETENV@ -+_GL_FUNCDECL_SYS (secure_getenv, char *, -+ (char const *name) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (secure_getenv, char *, (char const *name)); -+_GL_CXXALIASWARN (secure_getenv); -+#elif defined GNULIB_POSIXCHECK -+# undef secure_getenv -+# if HAVE_RAW_DECL_SECURE_GETENV -+_GL_WARN_ON_USE (secure_getenv, "secure_getenv is unportable - " -+ "use gnulib module secure_getenv for portability"); -+# endif -+#endif -+ -+#if @GNULIB_SETENV@ -+/* Set NAME to VALUE in the environment. -+ If REPLACE is nonzero, overwrite an existing value. */ -+# if @REPLACE_SETENV@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef setenv -+# define setenv rpl_setenv -+# endif -+_GL_FUNCDECL_RPL (setenv, int, -+ (const char *name, const char *value, int replace) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (setenv, int, -+ (const char *name, const char *value, int replace)); -+# else -+# if !@HAVE_DECL_SETENV@ -+_GL_FUNCDECL_SYS (setenv, int, -+ (const char *name, const char *value, int replace) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (setenv, int, -+ (const char *name, const char *value, int replace)); -+# endif -+# if !(@REPLACE_SETENV@ && !@HAVE_DECL_SETENV@) -+_GL_CXXALIASWARN (setenv); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef setenv -+# if HAVE_RAW_DECL_SETENV -+_GL_WARN_ON_USE (setenv, "setenv is unportable - " -+ "use gnulib module setenv for portability"); -+# endif -+#endif -+ -+#if @GNULIB_STRTOD@ -+ /* Parse a double from STRING, updating ENDP if appropriate. */ -+# if @REPLACE_STRTOD@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define strtod rpl_strtod -+# endif -+_GL_FUNCDECL_RPL (strtod, double, (const char *str, char **endp) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (strtod, double, (const char *str, char **endp)); -+# else -+# if !@HAVE_STRTOD@ -+_GL_FUNCDECL_SYS (strtod, double, (const char *str, char **endp) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (strtod, double, (const char *str, char **endp)); -+# endif -+_GL_CXXALIASWARN (strtod); -+#elif defined GNULIB_POSIXCHECK -+# undef strtod -+# if HAVE_RAW_DECL_STRTOD -+_GL_WARN_ON_USE (strtod, "strtod is unportable - " -+ "use gnulib module strtod for portability"); -+# endif -+#endif -+ -+#if @GNULIB_STRTOLL@ -+/* Parse a signed integer whose textual representation starts at STRING. -+ The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, -+ it may be decimal or octal (with prefix "0") or hexadecimal (with prefix -+ "0x"). -+ If ENDPTR is not NULL, the address of the first byte after the integer is -+ stored in *ENDPTR. -+ Upon overflow, the return value is LLONG_MAX or LLONG_MIN, and errno is set -+ to ERANGE. */ -+# if !@HAVE_STRTOLL@ -+_GL_FUNCDECL_SYS (strtoll, long long, -+ (const char *string, char **endptr, int base) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (strtoll, long long, -+ (const char *string, char **endptr, int base)); -+_GL_CXXALIASWARN (strtoll); -+#elif defined GNULIB_POSIXCHECK -+# undef strtoll -+# if HAVE_RAW_DECL_STRTOLL -+_GL_WARN_ON_USE (strtoll, "strtoll is unportable - " -+ "use gnulib module strtoll for portability"); -+# endif -+#endif -+ -+#if @GNULIB_STRTOULL@ -+/* Parse an unsigned integer whose textual representation starts at STRING. -+ The integer is expected to be in base BASE (2 <= BASE <= 36); if BASE == 0, -+ it may be decimal or octal (with prefix "0") or hexadecimal (with prefix -+ "0x"). -+ If ENDPTR is not NULL, the address of the first byte after the integer is -+ stored in *ENDPTR. -+ Upon overflow, the return value is ULLONG_MAX, and errno is set to -+ ERANGE. */ -+# if !@HAVE_STRTOULL@ -+_GL_FUNCDECL_SYS (strtoull, unsigned long long, -+ (const char *string, char **endptr, int base) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (strtoull, unsigned long long, -+ (const char *string, char **endptr, int base)); -+_GL_CXXALIASWARN (strtoull); -+#elif defined GNULIB_POSIXCHECK -+# undef strtoull -+# if HAVE_RAW_DECL_STRTOULL -+_GL_WARN_ON_USE (strtoull, "strtoull is unportable - " -+ "use gnulib module strtoull for portability"); -+# endif -+#endif -+ -+#if @GNULIB_UNLOCKPT@ -+/* Unlock the slave side of the pseudo-terminal whose master side is specified -+ by FD, so that it can be opened. */ -+# if !@HAVE_UNLOCKPT@ -+_GL_FUNCDECL_SYS (unlockpt, int, (int fd)); -+# endif -+_GL_CXXALIAS_SYS (unlockpt, int, (int fd)); -+_GL_CXXALIASWARN (unlockpt); -+#elif defined GNULIB_POSIXCHECK -+# undef unlockpt -+# if HAVE_RAW_DECL_UNLOCKPT -+_GL_WARN_ON_USE (unlockpt, "unlockpt is not portable - " -+ "use gnulib module unlockpt for portability"); -+# endif -+#endif -+ -+#if @GNULIB_UNSETENV@ -+/* Remove the variable NAME from the environment. */ -+# if @REPLACE_UNSETENV@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef unsetenv -+# define unsetenv rpl_unsetenv -+# endif -+_GL_FUNCDECL_RPL (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (unsetenv, int, (const char *name)); -+# else -+# if !@HAVE_DECL_UNSETENV@ -+_GL_FUNCDECL_SYS (unsetenv, int, (const char *name) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (unsetenv, int, (const char *name)); -+# endif -+# if !(@REPLACE_UNSETENV@ && !@HAVE_DECL_UNSETENV@) -+_GL_CXXALIASWARN (unsetenv); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef unsetenv -+# if HAVE_RAW_DECL_UNSETENV -+_GL_WARN_ON_USE (unsetenv, "unsetenv is unportable - " -+ "use gnulib module unsetenv for portability"); -+# endif -+#endif -+ -+/* Convert a wide character to a multibyte character. */ -+#if @GNULIB_WCTOMB@ -+# if @REPLACE_WCTOMB@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef wctomb -+# define wctomb rpl_wctomb -+# endif -+_GL_FUNCDECL_RPL (wctomb, int, (char *s, wchar_t wc)); -+_GL_CXXALIAS_RPL (wctomb, int, (char *s, wchar_t wc)); -+# else -+_GL_CXXALIAS_SYS (wctomb, int, (char *s, wchar_t wc)); -+# endif -+_GL_CXXALIASWARN (wctomb); -+#endif -+ -+ -+#endif /* _@GUARD_PREFIX@_STDLIB_H */ -+#endif /* _@GUARD_PREFIX@_STDLIB_H */ -+#endif -diff -Naur libiconv-20130504/srclib/streq.h libiconv-20130504.patch/srclib/streq.h ---- libiconv-20130504/srclib/streq.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/streq.h 2013-05-04 10:20:07.762698397 +0200 -@@ -0,0 +1,176 @@ -+/* Optimized string comparison. -+ Copyright (C) 2001-2002, 2007, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Bruno Haible . */ -+ -+#ifndef _GL_STREQ_H -+#define _GL_STREQ_H -+ -+#include -+ -+/* STREQ_OPT allows to optimize string comparison with a small literal string. -+ STREQ_OPT (s, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) -+ is semantically equivalent to -+ strcmp (s, "EUC-KR") == 0 -+ just faster. */ -+ -+/* Help GCC to generate good code for string comparisons with -+ immediate strings. */ -+#if defined (__GNUC__) && defined (__OPTIMIZE__) -+ -+static inline int -+streq9 (const char *s1, const char *s2) -+{ -+ return strcmp (s1 + 9, s2 + 9) == 0; -+} -+ -+static inline int -+streq8 (const char *s1, const char *s2, char s28) -+{ -+ if (s1[8] == s28) -+ { -+ if (s28 == 0) -+ return 1; -+ else -+ return streq9 (s1, s2); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq7 (const char *s1, const char *s2, char s27, char s28) -+{ -+ if (s1[7] == s27) -+ { -+ if (s27 == 0) -+ return 1; -+ else -+ return streq8 (s1, s2, s28); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq6 (const char *s1, const char *s2, char s26, char s27, char s28) -+{ -+ if (s1[6] == s26) -+ { -+ if (s26 == 0) -+ return 1; -+ else -+ return streq7 (s1, s2, s27, s28); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq5 (const char *s1, const char *s2, char s25, char s26, char s27, char s28) -+{ -+ if (s1[5] == s25) -+ { -+ if (s25 == 0) -+ return 1; -+ else -+ return streq6 (s1, s2, s26, s27, s28); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq4 (const char *s1, const char *s2, char s24, char s25, char s26, char s27, char s28) -+{ -+ if (s1[4] == s24) -+ { -+ if (s24 == 0) -+ return 1; -+ else -+ return streq5 (s1, s2, s25, s26, s27, s28); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq3 (const char *s1, const char *s2, char s23, char s24, char s25, char s26, char s27, char s28) -+{ -+ if (s1[3] == s23) -+ { -+ if (s23 == 0) -+ return 1; -+ else -+ return streq4 (s1, s2, s24, s25, s26, s27, s28); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq2 (const char *s1, const char *s2, char s22, char s23, char s24, char s25, char s26, char s27, char s28) -+{ -+ if (s1[2] == s22) -+ { -+ if (s22 == 0) -+ return 1; -+ else -+ return streq3 (s1, s2, s23, s24, s25, s26, s27, s28); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq1 (const char *s1, const char *s2, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) -+{ -+ if (s1[1] == s21) -+ { -+ if (s21 == 0) -+ return 1; -+ else -+ return streq2 (s1, s2, s22, s23, s24, s25, s26, s27, s28); -+ } -+ else -+ return 0; -+} -+ -+static inline int -+streq0 (const char *s1, const char *s2, char s20, char s21, char s22, char s23, char s24, char s25, char s26, char s27, char s28) -+{ -+ if (s1[0] == s20) -+ { -+ if (s20 == 0) -+ return 1; -+ else -+ return streq1 (s1, s2, s21, s22, s23, s24, s25, s26, s27, s28); -+ } -+ else -+ return 0; -+} -+ -+#define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ -+ streq0 (s1, s2, s20, s21, s22, s23, s24, s25, s26, s27, s28) -+ -+#else -+ -+#define STREQ_OPT(s1,s2,s20,s21,s22,s23,s24,s25,s26,s27,s28) \ -+ (strcmp (s1, s2) == 0) -+ -+#endif -+ -+#endif /* _GL_STREQ_H */ -diff -Naur libiconv-20130504/srclib/strerror.c libiconv-20130504.patch/srclib/strerror.c ---- libiconv-20130504/srclib/strerror.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/strerror.c 2013-05-04 10:20:07.771698371 +0200 -@@ -0,0 +1,70 @@ -+/* strerror.c --- POSIX compatible system error routine -+ -+ Copyright (C) 2007-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include -+ -+#include -+#include -+#include -+#include -+ -+#include "intprops.h" -+#include "strerror-override.h" -+#include "verify.h" -+ -+/* Use the system functions, not the gnulib overrides in this file. */ -+#undef sprintf -+ -+char * -+strerror (int n) -+#undef strerror -+{ -+ static char buf[STACKBUF_LEN]; -+ size_t len; -+ -+ /* Cast away const, due to the historical signature of strerror; -+ callers should not be modifying the string. */ -+ const char *msg = strerror_override (n); -+ if (msg) -+ return (char *) msg; -+ -+ msg = strerror (n); -+ -+ /* Our strerror_r implementation might use the system's strerror -+ buffer, so all other clients of strerror have to see the error -+ copied into a buffer that we manage. This is not thread-safe, -+ even if the system strerror is, but portable programs shouldn't -+ be using strerror if they care about thread-safety. */ -+ if (!msg || !*msg) -+ { -+ static char const fmt[] = "Unknown error %d"; -+ verify (sizeof buf >= sizeof (fmt) + INT_STRLEN_BOUND (n)); -+ sprintf (buf, fmt, n); -+ errno = EINVAL; -+ return buf; -+ } -+ -+ /* Fix STACKBUF_LEN if this ever aborts. */ -+ len = strlen (msg); -+ if (sizeof buf <= len) -+ abort (); -+ -+ return memcpy (buf, msg, len + 1); -+} -diff -Naur libiconv-20130504/srclib/strerror-override.c libiconv-20130504.patch/srclib/strerror-override.c ---- libiconv-20130504/srclib/strerror-override.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/strerror-override.c 2013-05-04 10:20:07.765698389 +0200 -@@ -0,0 +1,302 @@ -+/* strerror-override.c --- POSIX compatible system error routine -+ -+ Copyright (C) 2010-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Bruno Haible , 2010. */ -+ -+#include -+ -+#include "strerror-override.h" -+ -+#include -+ -+#if GNULIB_defined_EWINSOCK /* native Windows platforms */ -+# if HAVE_WINSOCK2_H -+# include -+# endif -+#endif -+ -+/* If ERRNUM maps to an errno value defined by gnulib, return a string -+ describing the error. Otherwise return NULL. */ -+const char * -+strerror_override (int errnum) -+{ -+ /* These error messages are taken from glibc/sysdeps/gnu/errlist.c. */ -+ switch (errnum) -+ { -+#if REPLACE_STRERROR_0 -+ case 0: -+ return "Success"; -+#endif -+ -+#if GNULIB_defined_ESOCK /* native Windows platforms with older */ -+ case EINPROGRESS: -+ return "Operation now in progress"; -+ case EALREADY: -+ return "Operation already in progress"; -+ case ENOTSOCK: -+ return "Socket operation on non-socket"; -+ case EDESTADDRREQ: -+ return "Destination address required"; -+ case EMSGSIZE: -+ return "Message too long"; -+ case EPROTOTYPE: -+ return "Protocol wrong type for socket"; -+ case ENOPROTOOPT: -+ return "Protocol not available"; -+ case EPROTONOSUPPORT: -+ return "Protocol not supported"; -+ case EOPNOTSUPP: -+ return "Operation not supported"; -+ case EAFNOSUPPORT: -+ return "Address family not supported by protocol"; -+ case EADDRINUSE: -+ return "Address already in use"; -+ case EADDRNOTAVAIL: -+ return "Cannot assign requested address"; -+ case ENETDOWN: -+ return "Network is down"; -+ case ENETUNREACH: -+ return "Network is unreachable"; -+ case ECONNRESET: -+ return "Connection reset by peer"; -+ case ENOBUFS: -+ return "No buffer space available"; -+ case EISCONN: -+ return "Transport endpoint is already connected"; -+ case ENOTCONN: -+ return "Transport endpoint is not connected"; -+ case ETIMEDOUT: -+ return "Connection timed out"; -+ case ECONNREFUSED: -+ return "Connection refused"; -+ case ELOOP: -+ return "Too many levels of symbolic links"; -+ case EHOSTUNREACH: -+ return "No route to host"; -+ case EWOULDBLOCK: -+ return "Operation would block"; -+#endif -+#if GNULIB_defined_ESTREAMS /* native Windows platforms with older */ -+ case ETXTBSY: -+ return "Text file busy"; -+ case ENODATA: -+ return "No data available"; -+ case ENOSR: -+ return "Out of streams resources"; -+ case ENOSTR: -+ return "Device not a stream"; -+ case ETIME: -+ return "Timer expired"; -+ case EOTHER: -+ return "Other error"; -+#endif -+#if GNULIB_defined_EWINSOCK /* native Windows platforms */ -+ case ESOCKTNOSUPPORT: -+ return "Socket type not supported"; -+ case EPFNOSUPPORT: -+ return "Protocol family not supported"; -+ case ESHUTDOWN: -+ return "Cannot send after transport endpoint shutdown"; -+ case ETOOMANYREFS: -+ return "Too many references: cannot splice"; -+ case EHOSTDOWN: -+ return "Host is down"; -+ case EPROCLIM: -+ return "Too many processes"; -+ case EUSERS: -+ return "Too many users"; -+ case EDQUOT: -+ return "Disk quota exceeded"; -+ case ESTALE: -+ return "Stale NFS file handle"; -+ case EREMOTE: -+ return "Object is remote"; -+# if HAVE_WINSOCK2_H -+ /* WSA_INVALID_HANDLE maps to EBADF */ -+ /* WSA_NOT_ENOUGH_MEMORY maps to ENOMEM */ -+ /* WSA_INVALID_PARAMETER maps to EINVAL */ -+ case WSA_OPERATION_ABORTED: -+ return "Overlapped operation aborted"; -+ case WSA_IO_INCOMPLETE: -+ return "Overlapped I/O event object not in signaled state"; -+ case WSA_IO_PENDING: -+ return "Overlapped operations will complete later"; -+ /* WSAEINTR maps to EINTR */ -+ /* WSAEBADF maps to EBADF */ -+ /* WSAEACCES maps to EACCES */ -+ /* WSAEFAULT maps to EFAULT */ -+ /* WSAEINVAL maps to EINVAL */ -+ /* WSAEMFILE maps to EMFILE */ -+ /* WSAEWOULDBLOCK maps to EWOULDBLOCK */ -+ /* WSAEINPROGRESS maps to EINPROGRESS */ -+ /* WSAEALREADY maps to EALREADY */ -+ /* WSAENOTSOCK maps to ENOTSOCK */ -+ /* WSAEDESTADDRREQ maps to EDESTADDRREQ */ -+ /* WSAEMSGSIZE maps to EMSGSIZE */ -+ /* WSAEPROTOTYPE maps to EPROTOTYPE */ -+ /* WSAENOPROTOOPT maps to ENOPROTOOPT */ -+ /* WSAEPROTONOSUPPORT maps to EPROTONOSUPPORT */ -+ /* WSAESOCKTNOSUPPORT is ESOCKTNOSUPPORT */ -+ /* WSAEOPNOTSUPP maps to EOPNOTSUPP */ -+ /* WSAEPFNOSUPPORT is EPFNOSUPPORT */ -+ /* WSAEAFNOSUPPORT maps to EAFNOSUPPORT */ -+ /* WSAEADDRINUSE maps to EADDRINUSE */ -+ /* WSAEADDRNOTAVAIL maps to EADDRNOTAVAIL */ -+ /* WSAENETDOWN maps to ENETDOWN */ -+ /* WSAENETUNREACH maps to ENETUNREACH */ -+ /* WSAENETRESET maps to ENETRESET */ -+ /* WSAECONNABORTED maps to ECONNABORTED */ -+ /* WSAECONNRESET maps to ECONNRESET */ -+ /* WSAENOBUFS maps to ENOBUFS */ -+ /* WSAEISCONN maps to EISCONN */ -+ /* WSAENOTCONN maps to ENOTCONN */ -+ /* WSAESHUTDOWN is ESHUTDOWN */ -+ /* WSAETOOMANYREFS is ETOOMANYREFS */ -+ /* WSAETIMEDOUT maps to ETIMEDOUT */ -+ /* WSAECONNREFUSED maps to ECONNREFUSED */ -+ /* WSAELOOP maps to ELOOP */ -+ /* WSAENAMETOOLONG maps to ENAMETOOLONG */ -+ /* WSAEHOSTDOWN is EHOSTDOWN */ -+ /* WSAEHOSTUNREACH maps to EHOSTUNREACH */ -+ /* WSAENOTEMPTY maps to ENOTEMPTY */ -+ /* WSAEPROCLIM is EPROCLIM */ -+ /* WSAEUSERS is EUSERS */ -+ /* WSAEDQUOT is EDQUOT */ -+ /* WSAESTALE is ESTALE */ -+ /* WSAEREMOTE is EREMOTE */ -+ case WSASYSNOTREADY: -+ return "Network subsystem is unavailable"; -+ case WSAVERNOTSUPPORTED: -+ return "Winsock.dll version out of range"; -+ case WSANOTINITIALISED: -+ return "Successful WSAStartup not yet performed"; -+ case WSAEDISCON: -+ return "Graceful shutdown in progress"; -+ case WSAENOMORE: case WSA_E_NO_MORE: -+ return "No more results"; -+ case WSAECANCELLED: case WSA_E_CANCELLED: -+ return "Call was canceled"; -+ case WSAEINVALIDPROCTABLE: -+ return "Procedure call table is invalid"; -+ case WSAEINVALIDPROVIDER: -+ return "Service provider is invalid"; -+ case WSAEPROVIDERFAILEDINIT: -+ return "Service provider failed to initialize"; -+ case WSASYSCALLFAILURE: -+ return "System call failure"; -+ case WSASERVICE_NOT_FOUND: -+ return "Service not found"; -+ case WSATYPE_NOT_FOUND: -+ return "Class type not found"; -+ case WSAEREFUSED: -+ return "Database query was refused"; -+ case WSAHOST_NOT_FOUND: -+ return "Host not found"; -+ case WSATRY_AGAIN: -+ return "Nonauthoritative host not found"; -+ case WSANO_RECOVERY: -+ return "Nonrecoverable error"; -+ case WSANO_DATA: -+ return "Valid name, no data record of requested type"; -+ /* WSA_QOS_* omitted */ -+# endif -+#endif -+ -+#if GNULIB_defined_ENOMSG -+ case ENOMSG: -+ return "No message of desired type"; -+#endif -+ -+#if GNULIB_defined_EIDRM -+ case EIDRM: -+ return "Identifier removed"; -+#endif -+ -+#if GNULIB_defined_ENOLINK -+ case ENOLINK: -+ return "Link has been severed"; -+#endif -+ -+#if GNULIB_defined_EPROTO -+ case EPROTO: -+ return "Protocol error"; -+#endif -+ -+#if GNULIB_defined_EMULTIHOP -+ case EMULTIHOP: -+ return "Multihop attempted"; -+#endif -+ -+#if GNULIB_defined_EBADMSG -+ case EBADMSG: -+ return "Bad message"; -+#endif -+ -+#if GNULIB_defined_EOVERFLOW -+ case EOVERFLOW: -+ return "Value too large for defined data type"; -+#endif -+ -+#if GNULIB_defined_ENOTSUP -+ case ENOTSUP: -+ return "Not supported"; -+#endif -+ -+#if GNULIB_defined_ENETRESET -+ case ENETRESET: -+ return "Network dropped connection on reset"; -+#endif -+ -+#if GNULIB_defined_ECONNABORTED -+ case ECONNABORTED: -+ return "Software caused connection abort"; -+#endif -+ -+#if GNULIB_defined_ESTALE -+ case ESTALE: -+ return "Stale NFS file handle"; -+#endif -+ -+#if GNULIB_defined_EDQUOT -+ case EDQUOT: -+ return "Disk quota exceeded"; -+#endif -+ -+#if GNULIB_defined_ECANCELED -+ case ECANCELED: -+ return "Operation canceled"; -+#endif -+ -+#if GNULIB_defined_EOWNERDEAD -+ case EOWNERDEAD: -+ return "Owner died"; -+#endif -+ -+#if GNULIB_defined_ENOTRECOVERABLE -+ case ENOTRECOVERABLE: -+ return "State not recoverable"; -+#endif -+ -+#if GNULIB_defined_EILSEQ -+ case EILSEQ: -+ return "Invalid or incomplete multibyte or wide character"; -+#endif -+ -+ default: -+ return NULL; -+ } -+} -diff -Naur libiconv-20130504/srclib/strerror-override.h libiconv-20130504.patch/srclib/strerror-override.h ---- libiconv-20130504/srclib/strerror-override.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/strerror-override.h 2013-05-04 10:20:07.768698380 +0200 -@@ -0,0 +1,56 @@ -+/* strerror-override.h --- POSIX compatible system error routine -+ -+ Copyright (C) 2010-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _GL_STRERROR_OVERRIDE_H -+# define _GL_STRERROR_OVERRIDE_H -+ -+# include -+# include -+ -+/* Reasonable buffer size that should never trigger ERANGE; if this -+ proves too small, we intentionally abort(), to remind us to fix -+ this value. */ -+# define STACKBUF_LEN 256 -+ -+/* If ERRNUM maps to an errno value defined by gnulib, return a string -+ describing the error. Otherwise return NULL. */ -+# if REPLACE_STRERROR_0 \ -+ || GNULIB_defined_ESOCK \ -+ || GNULIB_defined_ESTREAMS \ -+ || GNULIB_defined_EWINSOCK \ -+ || GNULIB_defined_ENOMSG \ -+ || GNULIB_defined_EIDRM \ -+ || GNULIB_defined_ENOLINK \ -+ || GNULIB_defined_EPROTO \ -+ || GNULIB_defined_EMULTIHOP \ -+ || GNULIB_defined_EBADMSG \ -+ || GNULIB_defined_EOVERFLOW \ -+ || GNULIB_defined_ENOTSUP \ -+ || GNULIB_defined_ENETRESET \ -+ || GNULIB_defined_ECONNABORTED \ -+ || GNULIB_defined_ESTALE \ -+ || GNULIB_defined_EDQUOT \ -+ || GNULIB_defined_ECANCELED \ -+ || GNULIB_defined_EOWNERDEAD \ -+ || GNULIB_defined_ENOTRECOVERABLE \ -+ || GNULIB_defined_EILSEQ -+extern const char *strerror_override (int errnum); -+# else -+# define strerror_override(ignored) NULL -+# endif -+ -+#endif /* _GL_STRERROR_OVERRIDE_H */ -diff -Naur libiconv-20130504/srclib/string.in.h libiconv-20130504.patch/srclib/string.in.h ---- libiconv-20130504/srclib/string.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/string.in.h 2013-05-04 10:20:07.776698356 +0200 -@@ -0,0 +1,1029 @@ -+/* A GNU-like . -+ -+ Copyright (C) 1995-1996, 2001-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#ifndef _@GUARD_PREFIX@_STRING_H -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_STRING_H@ -+ -+#ifndef _@GUARD_PREFIX@_STRING_H -+#define _@GUARD_PREFIX@_STRING_H -+ -+/* NetBSD 5.0 mis-defines NULL. */ -+#include -+ -+/* MirBSD defines mbslen as a macro. */ -+#if @GNULIB_MBSLEN@ && defined __MirBSD__ -+# include -+#endif -+ -+/* The __attribute__ feature is available in gcc versions 2.5 and later. -+ The attribute __pure__ was added in gcc 2.96. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) -+#else -+# define _GL_ATTRIBUTE_PURE /* empty */ -+#endif -+ -+/* NetBSD 5.0 declares strsignal in , not in . */ -+/* But in any case avoid namespace pollution on glibc systems. */ -+#if (@GNULIB_STRSIGNAL@ || defined GNULIB_POSIXCHECK) && defined __NetBSD__ \ -+ && ! defined __GLIBC__ -+# include -+#endif -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+ -+/* Find the index of the least-significant set bit. */ -+#if @GNULIB_FFSL@ -+# if !@HAVE_FFSL@ -+_GL_FUNCDECL_SYS (ffsl, int, (long int i)); -+# endif -+_GL_CXXALIAS_SYS (ffsl, int, (long int i)); -+_GL_CXXALIASWARN (ffsl); -+#elif defined GNULIB_POSIXCHECK -+# undef ffsl -+# if HAVE_RAW_DECL_FFSL -+_GL_WARN_ON_USE (ffsl, "ffsl is not portable - use the ffsl module"); -+# endif -+#endif -+ -+ -+/* Find the index of the least-significant set bit. */ -+#if @GNULIB_FFSLL@ -+# if !@HAVE_FFSLL@ -+_GL_FUNCDECL_SYS (ffsll, int, (long long int i)); -+# endif -+_GL_CXXALIAS_SYS (ffsll, int, (long long int i)); -+_GL_CXXALIASWARN (ffsll); -+#elif defined GNULIB_POSIXCHECK -+# undef ffsll -+# if HAVE_RAW_DECL_FFSLL -+_GL_WARN_ON_USE (ffsll, "ffsll is not portable - use the ffsll module"); -+# endif -+#endif -+ -+ -+/* Return the first instance of C within N bytes of S, or NULL. */ -+#if @GNULIB_MEMCHR@ -+# if @REPLACE_MEMCHR@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define memchr rpl_memchr -+# endif -+_GL_FUNCDECL_RPL (memchr, void *, (void const *__s, int __c, size_t __n) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (memchr, void *, (void const *__s, int __c, size_t __n)); -+# else -+# if ! @HAVE_MEMCHR@ -+_GL_FUNCDECL_SYS (memchr, void *, (void const *__s, int __c, size_t __n) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+# endif -+ /* On some systems, this function is defined as an overloaded function: -+ extern "C" { const void * std::memchr (const void *, int, size_t); } -+ extern "C++" { void * std::memchr (void *, int, size_t); } */ -+_GL_CXXALIAS_SYS_CAST2 (memchr, -+ void *, (void const *__s, int __c, size_t __n), -+ void const *, (void const *__s, int __c, size_t __n)); -+# endif -+# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ -+ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -+_GL_CXXALIASWARN1 (memchr, void *, (void *__s, int __c, size_t __n)); -+_GL_CXXALIASWARN1 (memchr, void const *, -+ (void const *__s, int __c, size_t __n)); -+# else -+_GL_CXXALIASWARN (memchr); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef memchr -+/* Assume memchr is always declared. */ -+_GL_WARN_ON_USE (memchr, "memchr has platform-specific bugs - " -+ "use gnulib module memchr for portability" ); -+#endif -+ -+/* Return the first occurrence of NEEDLE in HAYSTACK. */ -+#if @GNULIB_MEMMEM@ -+# if @REPLACE_MEMMEM@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define memmem rpl_memmem -+# endif -+_GL_FUNCDECL_RPL (memmem, void *, -+ (void const *__haystack, size_t __haystack_len, -+ void const *__needle, size_t __needle_len) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 3))); -+_GL_CXXALIAS_RPL (memmem, void *, -+ (void const *__haystack, size_t __haystack_len, -+ void const *__needle, size_t __needle_len)); -+# else -+# if ! @HAVE_DECL_MEMMEM@ -+_GL_FUNCDECL_SYS (memmem, void *, -+ (void const *__haystack, size_t __haystack_len, -+ void const *__needle, size_t __needle_len) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 3))); -+# endif -+_GL_CXXALIAS_SYS (memmem, void *, -+ (void const *__haystack, size_t __haystack_len, -+ void const *__needle, size_t __needle_len)); -+# endif -+_GL_CXXALIASWARN (memmem); -+#elif defined GNULIB_POSIXCHECK -+# undef memmem -+# if HAVE_RAW_DECL_MEMMEM -+_GL_WARN_ON_USE (memmem, "memmem is unportable and often quadratic - " -+ "use gnulib module memmem-simple for portability, " -+ "and module memmem for speed" ); -+# endif -+#endif -+ -+/* Copy N bytes of SRC to DEST, return pointer to bytes after the -+ last written byte. */ -+#if @GNULIB_MEMPCPY@ -+# if ! @HAVE_MEMPCPY@ -+_GL_FUNCDECL_SYS (mempcpy, void *, -+ (void *restrict __dest, void const *restrict __src, -+ size_t __n) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (mempcpy, void *, -+ (void *restrict __dest, void const *restrict __src, -+ size_t __n)); -+_GL_CXXALIASWARN (mempcpy); -+#elif defined GNULIB_POSIXCHECK -+# undef mempcpy -+# if HAVE_RAW_DECL_MEMPCPY -+_GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " -+ "use gnulib module mempcpy for portability"); -+# endif -+#endif -+ -+/* Search backwards through a block for a byte (specified as an int). */ -+#if @GNULIB_MEMRCHR@ -+# if ! @HAVE_DECL_MEMRCHR@ -+_GL_FUNCDECL_SYS (memrchr, void *, (void const *, int, size_t) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+# endif -+ /* On some systems, this function is defined as an overloaded function: -+ extern "C++" { const void * std::memrchr (const void *, int, size_t); } -+ extern "C++" { void * std::memrchr (void *, int, size_t); } */ -+_GL_CXXALIAS_SYS_CAST2 (memrchr, -+ void *, (void const *, int, size_t), -+ void const *, (void const *, int, size_t)); -+# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ -+ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -+_GL_CXXALIASWARN1 (memrchr, void *, (void *, int, size_t)); -+_GL_CXXALIASWARN1 (memrchr, void const *, (void const *, int, size_t)); -+# else -+_GL_CXXALIASWARN (memrchr); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef memrchr -+# if HAVE_RAW_DECL_MEMRCHR -+_GL_WARN_ON_USE (memrchr, "memrchr is unportable - " -+ "use gnulib module memrchr for portability"); -+# endif -+#endif -+ -+/* Find the first occurrence of C in S. More efficient than -+ memchr(S,C,N), at the expense of undefined behavior if C does not -+ occur within N bytes. */ -+#if @GNULIB_RAWMEMCHR@ -+# if ! @HAVE_RAWMEMCHR@ -+_GL_FUNCDECL_SYS (rawmemchr, void *, (void const *__s, int __c_in) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+# endif -+ /* On some systems, this function is defined as an overloaded function: -+ extern "C++" { const void * std::rawmemchr (const void *, int); } -+ extern "C++" { void * std::rawmemchr (void *, int); } */ -+_GL_CXXALIAS_SYS_CAST2 (rawmemchr, -+ void *, (void const *__s, int __c_in), -+ void const *, (void const *__s, int __c_in)); -+# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ -+ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -+_GL_CXXALIASWARN1 (rawmemchr, void *, (void *__s, int __c_in)); -+_GL_CXXALIASWARN1 (rawmemchr, void const *, (void const *__s, int __c_in)); -+# else -+_GL_CXXALIASWARN (rawmemchr); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef rawmemchr -+# if HAVE_RAW_DECL_RAWMEMCHR -+_GL_WARN_ON_USE (rawmemchr, "rawmemchr is unportable - " -+ "use gnulib module rawmemchr for portability"); -+# endif -+#endif -+ -+/* Copy SRC to DST, returning the address of the terminating '\0' in DST. */ -+#if @GNULIB_STPCPY@ -+# if ! @HAVE_STPCPY@ -+_GL_FUNCDECL_SYS (stpcpy, char *, -+ (char *restrict __dst, char const *restrict __src) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (stpcpy, char *, -+ (char *restrict __dst, char const *restrict __src)); -+_GL_CXXALIASWARN (stpcpy); -+#elif defined GNULIB_POSIXCHECK -+# undef stpcpy -+# if HAVE_RAW_DECL_STPCPY -+_GL_WARN_ON_USE (stpcpy, "stpcpy is unportable - " -+ "use gnulib module stpcpy for portability"); -+# endif -+#endif -+ -+/* Copy no more than N bytes of SRC to DST, returning a pointer past the -+ last non-NUL byte written into DST. */ -+#if @GNULIB_STPNCPY@ -+# if @REPLACE_STPNCPY@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef stpncpy -+# define stpncpy rpl_stpncpy -+# endif -+_GL_FUNCDECL_RPL (stpncpy, char *, -+ (char *restrict __dst, char const *restrict __src, -+ size_t __n) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (stpncpy, char *, -+ (char *restrict __dst, char const *restrict __src, -+ size_t __n)); -+# else -+# if ! @HAVE_STPNCPY@ -+_GL_FUNCDECL_SYS (stpncpy, char *, -+ (char *restrict __dst, char const *restrict __src, -+ size_t __n) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (stpncpy, char *, -+ (char *restrict __dst, char const *restrict __src, -+ size_t __n)); -+# endif -+_GL_CXXALIASWARN (stpncpy); -+#elif defined GNULIB_POSIXCHECK -+# undef stpncpy -+# if HAVE_RAW_DECL_STPNCPY -+_GL_WARN_ON_USE (stpncpy, "stpncpy is unportable - " -+ "use gnulib module stpncpy for portability"); -+# endif -+#endif -+ -+#if defined GNULIB_POSIXCHECK -+/* strchr() does not work with multibyte strings if the locale encoding is -+ GB18030 and the character to be searched is a digit. */ -+# undef strchr -+/* Assume strchr is always declared. */ -+_GL_WARN_ON_USE (strchr, "strchr cannot work correctly on character strings " -+ "in some multibyte locales - " -+ "use mbschr if you care about internationalization"); -+#endif -+ -+/* Find the first occurrence of C in S or the final NUL byte. */ -+#if @GNULIB_STRCHRNUL@ -+# if @REPLACE_STRCHRNUL@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define strchrnul rpl_strchrnul -+# endif -+_GL_FUNCDECL_RPL (strchrnul, char *, (const char *__s, int __c_in) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (strchrnul, char *, -+ (const char *str, int ch)); -+# else -+# if ! @HAVE_STRCHRNUL@ -+_GL_FUNCDECL_SYS (strchrnul, char *, (char const *__s, int __c_in) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+# endif -+ /* On some systems, this function is defined as an overloaded function: -+ extern "C++" { const char * std::strchrnul (const char *, int); } -+ extern "C++" { char * std::strchrnul (char *, int); } */ -+_GL_CXXALIAS_SYS_CAST2 (strchrnul, -+ char *, (char const *__s, int __c_in), -+ char const *, (char const *__s, int __c_in)); -+# endif -+# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ -+ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -+_GL_CXXALIASWARN1 (strchrnul, char *, (char *__s, int __c_in)); -+_GL_CXXALIASWARN1 (strchrnul, char const *, (char const *__s, int __c_in)); -+# else -+_GL_CXXALIASWARN (strchrnul); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef strchrnul -+# if HAVE_RAW_DECL_STRCHRNUL -+_GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - " -+ "use gnulib module strchrnul for portability"); -+# endif -+#endif -+ -+/* Duplicate S, returning an identical malloc'd string. */ -+#if @GNULIB_STRDUP@ -+# if @REPLACE_STRDUP@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef strdup -+# define strdup rpl_strdup -+# endif -+_GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); -+# else -+# if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup -+ /* strdup exists as a function and as a macro. Get rid of the macro. */ -+# undef strdup -+# endif -+# if !(@HAVE_DECL_STRDUP@ || defined strdup) -+_GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); -+# endif -+_GL_CXXALIASWARN (strdup); -+#elif defined GNULIB_POSIXCHECK -+# undef strdup -+# if HAVE_RAW_DECL_STRDUP -+_GL_WARN_ON_USE (strdup, "strdup is unportable - " -+ "use gnulib module strdup for portability"); -+# endif -+#endif -+ -+/* Append no more than N characters from SRC onto DEST. */ -+#if @GNULIB_STRNCAT@ -+# if @REPLACE_STRNCAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef strncat -+# define strncat rpl_strncat -+# endif -+_GL_FUNCDECL_RPL (strncat, char *, (char *dest, const char *src, size_t n) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (strncat, char *, (char *dest, const char *src, size_t n)); -+# else -+_GL_CXXALIAS_SYS (strncat, char *, (char *dest, const char *src, size_t n)); -+# endif -+_GL_CXXALIASWARN (strncat); -+#elif defined GNULIB_POSIXCHECK -+# undef strncat -+# if HAVE_RAW_DECL_STRNCAT -+_GL_WARN_ON_USE (strncat, "strncat is unportable - " -+ "use gnulib module strncat for portability"); -+# endif -+#endif -+ -+/* Return a newly allocated copy of at most N bytes of STRING. */ -+#if @GNULIB_STRNDUP@ -+# if @REPLACE_STRNDUP@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef strndup -+# define strndup rpl_strndup -+# endif -+_GL_FUNCDECL_RPL (strndup, char *, (char const *__string, size_t __n) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (strndup, char *, (char const *__string, size_t __n)); -+# else -+# if ! @HAVE_DECL_STRNDUP@ -+_GL_FUNCDECL_SYS (strndup, char *, (char const *__string, size_t __n) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (strndup, char *, (char const *__string, size_t __n)); -+# endif -+_GL_CXXALIASWARN (strndup); -+#elif defined GNULIB_POSIXCHECK -+# undef strndup -+# if HAVE_RAW_DECL_STRNDUP -+_GL_WARN_ON_USE (strndup, "strndup is unportable - " -+ "use gnulib module strndup for portability"); -+# endif -+#endif -+ -+/* Find the length (number of bytes) of STRING, but scan at most -+ MAXLEN bytes. If no '\0' terminator is found in that many bytes, -+ return MAXLEN. */ -+#if @GNULIB_STRNLEN@ -+# if @REPLACE_STRNLEN@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef strnlen -+# define strnlen rpl_strnlen -+# endif -+_GL_FUNCDECL_RPL (strnlen, size_t, (char const *__string, size_t __maxlen) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (strnlen, size_t, (char const *__string, size_t __maxlen)); -+# else -+# if ! @HAVE_DECL_STRNLEN@ -+_GL_FUNCDECL_SYS (strnlen, size_t, (char const *__string, size_t __maxlen) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (strnlen, size_t, (char const *__string, size_t __maxlen)); -+# endif -+_GL_CXXALIASWARN (strnlen); -+#elif defined GNULIB_POSIXCHECK -+# undef strnlen -+# if HAVE_RAW_DECL_STRNLEN -+_GL_WARN_ON_USE (strnlen, "strnlen is unportable - " -+ "use gnulib module strnlen for portability"); -+# endif -+#endif -+ -+#if defined GNULIB_POSIXCHECK -+/* strcspn() assumes the second argument is a list of single-byte characters. -+ Even in this simple case, it does not work with multibyte strings if the -+ locale encoding is GB18030 and one of the characters to be searched is a -+ digit. */ -+# undef strcspn -+/* Assume strcspn is always declared. */ -+_GL_WARN_ON_USE (strcspn, "strcspn cannot work correctly on character strings " -+ "in multibyte locales - " -+ "use mbscspn if you care about internationalization"); -+#endif -+ -+/* Find the first occurrence in S of any character in ACCEPT. */ -+#if @GNULIB_STRPBRK@ -+# if ! @HAVE_STRPBRK@ -+_GL_FUNCDECL_SYS (strpbrk, char *, (char const *__s, char const *__accept) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+ /* On some systems, this function is defined as an overloaded function: -+ extern "C" { const char * strpbrk (const char *, const char *); } -+ extern "C++" { char * strpbrk (char *, const char *); } */ -+_GL_CXXALIAS_SYS_CAST2 (strpbrk, -+ char *, (char const *__s, char const *__accept), -+ const char *, (char const *__s, char const *__accept)); -+# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ -+ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -+_GL_CXXALIASWARN1 (strpbrk, char *, (char *__s, char const *__accept)); -+_GL_CXXALIASWARN1 (strpbrk, char const *, -+ (char const *__s, char const *__accept)); -+# else -+_GL_CXXALIASWARN (strpbrk); -+# endif -+# if defined GNULIB_POSIXCHECK -+/* strpbrk() assumes the second argument is a list of single-byte characters. -+ Even in this simple case, it does not work with multibyte strings if the -+ locale encoding is GB18030 and one of the characters to be searched is a -+ digit. */ -+# undef strpbrk -+_GL_WARN_ON_USE (strpbrk, "strpbrk cannot work correctly on character strings " -+ "in multibyte locales - " -+ "use mbspbrk if you care about internationalization"); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef strpbrk -+# if HAVE_RAW_DECL_STRPBRK -+_GL_WARN_ON_USE (strpbrk, "strpbrk is unportable - " -+ "use gnulib module strpbrk for portability"); -+# endif -+#endif -+ -+#if defined GNULIB_POSIXCHECK -+/* strspn() assumes the second argument is a list of single-byte characters. -+ Even in this simple case, it cannot work with multibyte strings. */ -+# undef strspn -+/* Assume strspn is always declared. */ -+_GL_WARN_ON_USE (strspn, "strspn cannot work correctly on character strings " -+ "in multibyte locales - " -+ "use mbsspn if you care about internationalization"); -+#endif -+ -+#if defined GNULIB_POSIXCHECK -+/* strrchr() does not work with multibyte strings if the locale encoding is -+ GB18030 and the character to be searched is a digit. */ -+# undef strrchr -+/* Assume strrchr is always declared. */ -+_GL_WARN_ON_USE (strrchr, "strrchr cannot work correctly on character strings " -+ "in some multibyte locales - " -+ "use mbsrchr if you care about internationalization"); -+#endif -+ -+/* Search the next delimiter (char listed in DELIM) starting at *STRINGP. -+ If one is found, overwrite it with a NUL, and advance *STRINGP -+ to point to the next char after it. Otherwise, set *STRINGP to NULL. -+ If *STRINGP was already NULL, nothing happens. -+ Return the old value of *STRINGP. -+ -+ This is a variant of strtok() that is multithread-safe and supports -+ empty fields. -+ -+ Caveat: It modifies the original string. -+ Caveat: These functions cannot be used on constant strings. -+ Caveat: The identity of the delimiting character is lost. -+ Caveat: It doesn't work with multibyte strings unless all of the delimiter -+ characters are ASCII characters < 0x30. -+ -+ See also strtok_r(). */ -+#if @GNULIB_STRSEP@ -+# if ! @HAVE_STRSEP@ -+_GL_FUNCDECL_SYS (strsep, char *, -+ (char **restrict __stringp, char const *restrict __delim) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (strsep, char *, -+ (char **restrict __stringp, char const *restrict __delim)); -+_GL_CXXALIASWARN (strsep); -+# if defined GNULIB_POSIXCHECK -+# undef strsep -+_GL_WARN_ON_USE (strsep, "strsep cannot work correctly on character strings " -+ "in multibyte locales - " -+ "use mbssep if you care about internationalization"); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef strsep -+# if HAVE_RAW_DECL_STRSEP -+_GL_WARN_ON_USE (strsep, "strsep is unportable - " -+ "use gnulib module strsep for portability"); -+# endif -+#endif -+ -+#if @GNULIB_STRSTR@ -+# if @REPLACE_STRSTR@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define strstr rpl_strstr -+# endif -+_GL_FUNCDECL_RPL (strstr, char *, (const char *haystack, const char *needle) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (strstr, char *, (const char *haystack, const char *needle)); -+# else -+ /* On some systems, this function is defined as an overloaded function: -+ extern "C++" { const char * strstr (const char *, const char *); } -+ extern "C++" { char * strstr (char *, const char *); } */ -+_GL_CXXALIAS_SYS_CAST2 (strstr, -+ char *, (const char *haystack, const char *needle), -+ const char *, (const char *haystack, const char *needle)); -+# endif -+# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ -+ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -+_GL_CXXALIASWARN1 (strstr, char *, (char *haystack, const char *needle)); -+_GL_CXXALIASWARN1 (strstr, const char *, -+ (const char *haystack, const char *needle)); -+# else -+_GL_CXXALIASWARN (strstr); -+# endif -+#elif defined GNULIB_POSIXCHECK -+/* strstr() does not work with multibyte strings if the locale encoding is -+ different from UTF-8: -+ POSIX says that it operates on "strings", and "string" in POSIX is defined -+ as a sequence of bytes, not of characters. */ -+# undef strstr -+/* Assume strstr is always declared. */ -+_GL_WARN_ON_USE (strstr, "strstr is quadratic on many systems, and cannot " -+ "work correctly on character strings in most " -+ "multibyte locales - " -+ "use mbsstr if you care about internationalization, " -+ "or use strstr if you care about speed"); -+#endif -+ -+/* Find the first occurrence of NEEDLE in HAYSTACK, using case-insensitive -+ comparison. */ -+#if @GNULIB_STRCASESTR@ -+# if @REPLACE_STRCASESTR@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define strcasestr rpl_strcasestr -+# endif -+_GL_FUNCDECL_RPL (strcasestr, char *, -+ (const char *haystack, const char *needle) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (strcasestr, char *, -+ (const char *haystack, const char *needle)); -+# else -+# if ! @HAVE_STRCASESTR@ -+_GL_FUNCDECL_SYS (strcasestr, char *, -+ (const char *haystack, const char *needle) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+ /* On some systems, this function is defined as an overloaded function: -+ extern "C++" { const char * strcasestr (const char *, const char *); } -+ extern "C++" { char * strcasestr (char *, const char *); } */ -+_GL_CXXALIAS_SYS_CAST2 (strcasestr, -+ char *, (const char *haystack, const char *needle), -+ const char *, (const char *haystack, const char *needle)); -+# endif -+# if ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 10) && !defined __UCLIBC__) \ -+ && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)) -+_GL_CXXALIASWARN1 (strcasestr, char *, (char *haystack, const char *needle)); -+_GL_CXXALIASWARN1 (strcasestr, const char *, -+ (const char *haystack, const char *needle)); -+# else -+_GL_CXXALIASWARN (strcasestr); -+# endif -+#elif defined GNULIB_POSIXCHECK -+/* strcasestr() does not work with multibyte strings: -+ It is a glibc extension, and glibc implements it only for unibyte -+ locales. */ -+# undef strcasestr -+# if HAVE_RAW_DECL_STRCASESTR -+_GL_WARN_ON_USE (strcasestr, "strcasestr does work correctly on character " -+ "strings in multibyte locales - " -+ "use mbscasestr if you care about " -+ "internationalization, or use c-strcasestr if you want " -+ "a locale independent function"); -+# endif -+#endif -+ -+/* Parse S into tokens separated by characters in DELIM. -+ If S is NULL, the saved pointer in SAVE_PTR is used as -+ the next starting point. For example: -+ char s[] = "-abc-=-def"; -+ char *sp; -+ x = strtok_r(s, "-", &sp); // x = "abc", sp = "=-def" -+ x = strtok_r(NULL, "-=", &sp); // x = "def", sp = NULL -+ x = strtok_r(NULL, "=", &sp); // x = NULL -+ // s = "abc\0-def\0" -+ -+ This is a variant of strtok() that is multithread-safe. -+ -+ For the POSIX documentation for this function, see: -+ http://www.opengroup.org/susv3xsh/strtok.html -+ -+ Caveat: It modifies the original string. -+ Caveat: These functions cannot be used on constant strings. -+ Caveat: The identity of the delimiting character is lost. -+ Caveat: It doesn't work with multibyte strings unless all of the delimiter -+ characters are ASCII characters < 0x30. -+ -+ See also strsep(). */ -+#if @GNULIB_STRTOK_R@ -+# if @REPLACE_STRTOK_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef strtok_r -+# define strtok_r rpl_strtok_r -+# endif -+_GL_FUNCDECL_RPL (strtok_r, char *, -+ (char *restrict s, char const *restrict delim, -+ char **restrict save_ptr) -+ _GL_ARG_NONNULL ((2, 3))); -+_GL_CXXALIAS_RPL (strtok_r, char *, -+ (char *restrict s, char const *restrict delim, -+ char **restrict save_ptr)); -+# else -+# if @UNDEFINE_STRTOK_R@ || defined GNULIB_POSIXCHECK -+# undef strtok_r -+# endif -+# if ! @HAVE_DECL_STRTOK_R@ -+_GL_FUNCDECL_SYS (strtok_r, char *, -+ (char *restrict s, char const *restrict delim, -+ char **restrict save_ptr) -+ _GL_ARG_NONNULL ((2, 3))); -+# endif -+_GL_CXXALIAS_SYS (strtok_r, char *, -+ (char *restrict s, char const *restrict delim, -+ char **restrict save_ptr)); -+# endif -+_GL_CXXALIASWARN (strtok_r); -+# if defined GNULIB_POSIXCHECK -+_GL_WARN_ON_USE (strtok_r, "strtok_r cannot work correctly on character " -+ "strings in multibyte locales - " -+ "use mbstok_r if you care about internationalization"); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef strtok_r -+# if HAVE_RAW_DECL_STRTOK_R -+_GL_WARN_ON_USE (strtok_r, "strtok_r is unportable - " -+ "use gnulib module strtok_r for portability"); -+# endif -+#endif -+ -+ -+/* The following functions are not specified by POSIX. They are gnulib -+ extensions. */ -+ -+#if @GNULIB_MBSLEN@ -+/* Return the number of multibyte characters in the character string STRING. -+ This considers multibyte characters, unlike strlen, which counts bytes. */ -+# ifdef __MirBSD__ /* MirBSD defines mbslen as a macro. Override it. */ -+# undef mbslen -+# endif -+# if @HAVE_MBSLEN@ /* AIX, OSF/1, MirBSD define mbslen already in libc. */ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define mbslen rpl_mbslen -+# endif -+_GL_FUNCDECL_RPL (mbslen, size_t, (const char *string) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mbslen, size_t, (const char *string)); -+# else -+_GL_FUNCDECL_SYS (mbslen, size_t, (const char *string) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_SYS (mbslen, size_t, (const char *string)); -+# endif -+_GL_CXXALIASWARN (mbslen); -+#endif -+ -+#if @GNULIB_MBSNLEN@ -+/* Return the number of multibyte characters in the character string starting -+ at STRING and ending at STRING + LEN. */ -+_GL_EXTERN_C size_t mbsnlen (const char *string, size_t len) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1)); -+#endif -+ -+#if @GNULIB_MBSCHR@ -+/* Locate the first single-byte character C in the character string STRING, -+ and return a pointer to it. Return NULL if C is not found in STRING. -+ Unlike strchr(), this function works correctly in multibyte locales with -+ encodings such as GB18030. */ -+# if defined __hpux -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define mbschr rpl_mbschr /* avoid collision with HP-UX function */ -+# endif -+_GL_FUNCDECL_RPL (mbschr, char *, (const char *string, int c) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mbschr, char *, (const char *string, int c)); -+# else -+_GL_FUNCDECL_SYS (mbschr, char *, (const char *string, int c) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_SYS (mbschr, char *, (const char *string, int c)); -+# endif -+_GL_CXXALIASWARN (mbschr); -+#endif -+ -+#if @GNULIB_MBSRCHR@ -+/* Locate the last single-byte character C in the character string STRING, -+ and return a pointer to it. Return NULL if C is not found in STRING. -+ Unlike strrchr(), this function works correctly in multibyte locales with -+ encodings such as GB18030. */ -+# if defined __hpux || defined __INTERIX -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define mbsrchr rpl_mbsrchr /* avoid collision with system function */ -+# endif -+_GL_FUNCDECL_RPL (mbsrchr, char *, (const char *string, int c) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mbsrchr, char *, (const char *string, int c)); -+# else -+_GL_FUNCDECL_SYS (mbsrchr, char *, (const char *string, int c) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_SYS (mbsrchr, char *, (const char *string, int c)); -+# endif -+_GL_CXXALIASWARN (mbsrchr); -+#endif -+ -+#if @GNULIB_MBSSTR@ -+/* Find the first occurrence of the character string NEEDLE in the character -+ string HAYSTACK. Return NULL if NEEDLE is not found in HAYSTACK. -+ Unlike strstr(), this function works correctly in multibyte locales with -+ encodings different from UTF-8. */ -+_GL_EXTERN_C char * mbsstr (const char *haystack, const char *needle) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSCASECMP@ -+/* Compare the character strings S1 and S2, ignoring case, returning less than, -+ equal to or greater than zero if S1 is lexicographically less than, equal to -+ or greater than S2. -+ Note: This function may, in multibyte locales, return 0 for strings of -+ different lengths! -+ Unlike strcasecmp(), this function works correctly in multibyte locales. */ -+_GL_EXTERN_C int mbscasecmp (const char *s1, const char *s2) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSNCASECMP@ -+/* Compare the initial segment of the character string S1 consisting of at most -+ N characters with the initial segment of the character string S2 consisting -+ of at most N characters, ignoring case, returning less than, equal to or -+ greater than zero if the initial segment of S1 is lexicographically less -+ than, equal to or greater than the initial segment of S2. -+ Note: This function may, in multibyte locales, return 0 for initial segments -+ of different lengths! -+ Unlike strncasecmp(), this function works correctly in multibyte locales. -+ But beware that N is not a byte count but a character count! */ -+_GL_EXTERN_C int mbsncasecmp (const char *s1, const char *s2, size_t n) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSPCASECMP@ -+/* Compare the initial segment of the character string STRING consisting of -+ at most mbslen (PREFIX) characters with the character string PREFIX, -+ ignoring case. If the two match, return a pointer to the first byte -+ after this prefix in STRING. Otherwise, return NULL. -+ Note: This function may, in multibyte locales, return non-NULL if STRING -+ is of smaller length than PREFIX! -+ Unlike strncasecmp(), this function works correctly in multibyte -+ locales. */ -+_GL_EXTERN_C char * mbspcasecmp (const char *string, const char *prefix) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSCASESTR@ -+/* Find the first occurrence of the character string NEEDLE in the character -+ string HAYSTACK, using case-insensitive comparison. -+ Note: This function may, in multibyte locales, return success even if -+ strlen (haystack) < strlen (needle) ! -+ Unlike strcasestr(), this function works correctly in multibyte locales. */ -+_GL_EXTERN_C char * mbscasestr (const char *haystack, const char *needle) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSCSPN@ -+/* Find the first occurrence in the character string STRING of any character -+ in the character string ACCEPT. Return the number of bytes from the -+ beginning of the string to this occurrence, or to the end of the string -+ if none exists. -+ Unlike strcspn(), this function works correctly in multibyte locales. */ -+_GL_EXTERN_C size_t mbscspn (const char *string, const char *accept) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSPBRK@ -+/* Find the first occurrence in the character string STRING of any character -+ in the character string ACCEPT. Return the pointer to it, or NULL if none -+ exists. -+ Unlike strpbrk(), this function works correctly in multibyte locales. */ -+# if defined __hpux -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define mbspbrk rpl_mbspbrk /* avoid collision with HP-UX function */ -+# endif -+_GL_FUNCDECL_RPL (mbspbrk, char *, (const char *string, const char *accept) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (mbspbrk, char *, (const char *string, const char *accept)); -+# else -+_GL_FUNCDECL_SYS (mbspbrk, char *, (const char *string, const char *accept) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_SYS (mbspbrk, char *, (const char *string, const char *accept)); -+# endif -+_GL_CXXALIASWARN (mbspbrk); -+#endif -+ -+#if @GNULIB_MBSSPN@ -+/* Find the first occurrence in the character string STRING of any character -+ not in the character string REJECT. Return the number of bytes from the -+ beginning of the string to this occurrence, or to the end of the string -+ if none exists. -+ Unlike strspn(), this function works correctly in multibyte locales. */ -+_GL_EXTERN_C size_t mbsspn (const char *string, const char *reject) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSSEP@ -+/* Search the next delimiter (multibyte character listed in the character -+ string DELIM) starting at the character string *STRINGP. -+ If one is found, overwrite it with a NUL, and advance *STRINGP to point -+ to the next multibyte character after it. Otherwise, set *STRINGP to NULL. -+ If *STRINGP was already NULL, nothing happens. -+ Return the old value of *STRINGP. -+ -+ This is a variant of mbstok_r() that supports empty fields. -+ -+ Caveat: It modifies the original string. -+ Caveat: These functions cannot be used on constant strings. -+ Caveat: The identity of the delimiting character is lost. -+ -+ See also mbstok_r(). */ -+_GL_EXTERN_C char * mbssep (char **stringp, const char *delim) -+ _GL_ARG_NONNULL ((1, 2)); -+#endif -+ -+#if @GNULIB_MBSTOK_R@ -+/* Parse the character string STRING into tokens separated by characters in -+ the character string DELIM. -+ If STRING is NULL, the saved pointer in SAVE_PTR is used as -+ the next starting point. For example: -+ char s[] = "-abc-=-def"; -+ char *sp; -+ x = mbstok_r(s, "-", &sp); // x = "abc", sp = "=-def" -+ x = mbstok_r(NULL, "-=", &sp); // x = "def", sp = NULL -+ x = mbstok_r(NULL, "=", &sp); // x = NULL -+ // s = "abc\0-def\0" -+ -+ Caveat: It modifies the original string. -+ Caveat: These functions cannot be used on constant strings. -+ Caveat: The identity of the delimiting character is lost. -+ -+ See also mbssep(). */ -+_GL_EXTERN_C char * mbstok_r (char *string, const char *delim, char **save_ptr) -+ _GL_ARG_NONNULL ((2, 3)); -+#endif -+ -+/* Map any int, typically from errno, into an error message. */ -+#if @GNULIB_STRERROR@ -+# if @REPLACE_STRERROR@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef strerror -+# define strerror rpl_strerror -+# endif -+_GL_FUNCDECL_RPL (strerror, char *, (int)); -+_GL_CXXALIAS_RPL (strerror, char *, (int)); -+# else -+_GL_CXXALIAS_SYS (strerror, char *, (int)); -+# endif -+_GL_CXXALIASWARN (strerror); -+#elif defined GNULIB_POSIXCHECK -+# undef strerror -+/* Assume strerror is always declared. */ -+_GL_WARN_ON_USE (strerror, "strerror is unportable - " -+ "use gnulib module strerror to guarantee non-NULL result"); -+#endif -+ -+/* Map any int, typically from errno, into an error message. Multithread-safe. -+ Uses the POSIX declaration, not the glibc declaration. */ -+#if @GNULIB_STRERROR_R@ -+# if @REPLACE_STRERROR_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef strerror_r -+# define strerror_r rpl_strerror_r -+# endif -+_GL_FUNCDECL_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (strerror_r, int, (int errnum, char *buf, size_t buflen)); -+# else -+# if !@HAVE_DECL_STRERROR_R@ -+_GL_FUNCDECL_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (strerror_r, int, (int errnum, char *buf, size_t buflen)); -+# endif -+# if @HAVE_DECL_STRERROR_R@ -+_GL_CXXALIASWARN (strerror_r); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef strerror_r -+# if HAVE_RAW_DECL_STRERROR_R -+_GL_WARN_ON_USE (strerror_r, "strerror_r is unportable - " -+ "use gnulib module strerror_r-posix for portability"); -+# endif -+#endif -+ -+#if @GNULIB_STRSIGNAL@ -+# if @REPLACE_STRSIGNAL@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define strsignal rpl_strsignal -+# endif -+_GL_FUNCDECL_RPL (strsignal, char *, (int __sig)); -+_GL_CXXALIAS_RPL (strsignal, char *, (int __sig)); -+# else -+# if ! @HAVE_DECL_STRSIGNAL@ -+_GL_FUNCDECL_SYS (strsignal, char *, (int __sig)); -+# endif -+/* Need to cast, because on Cygwin 1.5.x systems, the return type is -+ 'const char *'. */ -+_GL_CXXALIAS_SYS_CAST (strsignal, char *, (int __sig)); -+# endif -+_GL_CXXALIASWARN (strsignal); -+#elif defined GNULIB_POSIXCHECK -+# undef strsignal -+# if HAVE_RAW_DECL_STRSIGNAL -+_GL_WARN_ON_USE (strsignal, "strsignal is unportable - " -+ "use gnulib module strsignal for portability"); -+# endif -+#endif -+ -+#if @GNULIB_STRVERSCMP@ -+# if !@HAVE_STRVERSCMP@ -+_GL_FUNCDECL_SYS (strverscmp, int, (const char *, const char *) -+ _GL_ATTRIBUTE_PURE -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (strverscmp, int, (const char *, const char *)); -+_GL_CXXALIASWARN (strverscmp); -+#elif defined GNULIB_POSIXCHECK -+# undef strverscmp -+# if HAVE_RAW_DECL_STRVERSCMP -+_GL_WARN_ON_USE (strverscmp, "strverscmp is unportable - " -+ "use gnulib module strverscmp for portability"); -+# endif -+#endif -+ -+ -+#endif /* _@GUARD_PREFIX@_STRING_H */ -+#endif /* _@GUARD_PREFIX@_STRING_H */ -diff -Naur libiconv-20130504/srclib/sys_stat.in.h libiconv-20130504.patch/srclib/sys_stat.in.h ---- libiconv-20130504/srclib/sys_stat.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/sys_stat.in.h 2013-05-04 10:20:07.780698345 +0200 -@@ -0,0 +1,732 @@ -+/* Provide a more complete sys/stat header file. -+ Copyright (C) 2005-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+/* Written by Eric Blake, Paul Eggert, and Jim Meyering. */ -+ -+/* This file is supposed to be used on platforms where is -+ incomplete. It is intended to provide definitions and prototypes -+ needed by an application. Start with what the system provides. */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+#if defined __need_system_sys_stat_h -+/* Special invocation convention. */ -+ -+#@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ -+ -+#else -+/* Normal invocation convention. */ -+ -+#ifndef _@GUARD_PREFIX@_SYS_STAT_H -+ -+/* Get nlink_t. -+ May also define off_t to a 64-bit type on native Windows. */ -+#include -+ -+/* Get struct timespec. */ -+#include -+ -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_SYS_STAT_H@ -+ -+#ifndef _@GUARD_PREFIX@_SYS_STAT_H -+#define _@GUARD_PREFIX@_SYS_STAT_H -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+/* Before doing "#define mkdir rpl_mkdir" below, we need to include all -+ headers that may declare mkdir(). Native Windows platforms declare mkdir -+ in and/or , not in . */ -+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+# include /* mingw32, mingw64 */ -+# include /* mingw64, MSVC 9 */ -+#endif -+ -+/* Native Windows platforms declare umask() in . */ -+#if 0 && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) -+# include -+#endif -+ -+/* Large File Support on native Windows. */ -+#if @WINDOWS_64_BIT_ST_SIZE@ -+# define stat _stati64 -+#endif -+ -+#ifndef S_IFIFO -+# ifdef _S_IFIFO -+# define S_IFIFO _S_IFIFO -+# endif -+#endif -+ -+#ifndef S_IFMT -+# define S_IFMT 0170000 -+#endif -+ -+#if STAT_MACROS_BROKEN -+# undef S_ISBLK -+# undef S_ISCHR -+# undef S_ISDIR -+# undef S_ISFIFO -+# undef S_ISLNK -+# undef S_ISNAM -+# undef S_ISMPB -+# undef S_ISMPC -+# undef S_ISNWK -+# undef S_ISREG -+# undef S_ISSOCK -+#endif -+ -+#ifndef S_ISBLK -+# ifdef S_IFBLK -+# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) -+# else -+# define S_ISBLK(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISCHR -+# ifdef S_IFCHR -+# define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) -+# else -+# define S_ISCHR(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISDIR -+# ifdef S_IFDIR -+# define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) -+# else -+# define S_ISDIR(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISDOOR /* Solaris 2.5 and up */ -+# define S_ISDOOR(m) 0 -+#endif -+ -+#ifndef S_ISFIFO -+# ifdef S_IFIFO -+# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) -+# else -+# define S_ISFIFO(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISLNK -+# ifdef S_IFLNK -+# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) -+# else -+# define S_ISLNK(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISMPB /* V7 */ -+# ifdef S_IFMPB -+# define S_ISMPB(m) (((m) & S_IFMT) == S_IFMPB) -+# define S_ISMPC(m) (((m) & S_IFMT) == S_IFMPC) -+# else -+# define S_ISMPB(m) 0 -+# define S_ISMPC(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISMPX /* AIX */ -+# define S_ISMPX(m) 0 -+#endif -+ -+#ifndef S_ISNAM /* Xenix */ -+# ifdef S_IFNAM -+# define S_ISNAM(m) (((m) & S_IFMT) == S_IFNAM) -+# else -+# define S_ISNAM(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISNWK /* HP/UX */ -+# ifdef S_IFNWK -+# define S_ISNWK(m) (((m) & S_IFMT) == S_IFNWK) -+# else -+# define S_ISNWK(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISPORT /* Solaris 10 and up */ -+# define S_ISPORT(m) 0 -+#endif -+ -+#ifndef S_ISREG -+# ifdef S_IFREG -+# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) -+# else -+# define S_ISREG(m) 0 -+# endif -+#endif -+ -+#ifndef S_ISSOCK -+# ifdef S_IFSOCK -+# define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) -+# else -+# define S_ISSOCK(m) 0 -+# endif -+#endif -+ -+ -+#ifndef S_TYPEISMQ -+# define S_TYPEISMQ(p) 0 -+#endif -+ -+#ifndef S_TYPEISTMO -+# define S_TYPEISTMO(p) 0 -+#endif -+ -+ -+#ifndef S_TYPEISSEM -+# ifdef S_INSEM -+# define S_TYPEISSEM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSEM) -+# else -+# define S_TYPEISSEM(p) 0 -+# endif -+#endif -+ -+#ifndef S_TYPEISSHM -+# ifdef S_INSHD -+# define S_TYPEISSHM(p) (S_ISNAM ((p)->st_mode) && (p)->st_rdev == S_INSHD) -+# else -+# define S_TYPEISSHM(p) 0 -+# endif -+#endif -+ -+/* high performance ("contiguous data") */ -+#ifndef S_ISCTG -+# define S_ISCTG(p) 0 -+#endif -+ -+/* Cray DMF (data migration facility): off line, with data */ -+#ifndef S_ISOFD -+# define S_ISOFD(p) 0 -+#endif -+ -+/* Cray DMF (data migration facility): off line, with no data */ -+#ifndef S_ISOFL -+# define S_ISOFL(p) 0 -+#endif -+ -+/* 4.4BSD whiteout */ -+#ifndef S_ISWHT -+# define S_ISWHT(m) 0 -+#endif -+ -+/* If any of the following are undefined, -+ define them to their de facto standard values. */ -+#if !S_ISUID -+# define S_ISUID 04000 -+#endif -+#if !S_ISGID -+# define S_ISGID 02000 -+#endif -+ -+/* S_ISVTX is a common extension to POSIX. */ -+#ifndef S_ISVTX -+# define S_ISVTX 01000 -+#endif -+ -+#if !S_IRUSR && S_IREAD -+# define S_IRUSR S_IREAD -+#endif -+#if !S_IRUSR -+# define S_IRUSR 00400 -+#endif -+#if !S_IRGRP -+# define S_IRGRP (S_IRUSR >> 3) -+#endif -+#if !S_IROTH -+# define S_IROTH (S_IRUSR >> 6) -+#endif -+ -+#if !S_IWUSR && S_IWRITE -+# define S_IWUSR S_IWRITE -+#endif -+#if !S_IWUSR -+# define S_IWUSR 00200 -+#endif -+#if !S_IWGRP -+# define S_IWGRP (S_IWUSR >> 3) -+#endif -+#if !S_IWOTH -+# define S_IWOTH (S_IWUSR >> 6) -+#endif -+ -+#if !S_IXUSR && S_IEXEC -+# define S_IXUSR S_IEXEC -+#endif -+#if !S_IXUSR -+# define S_IXUSR 00100 -+#endif -+#if !S_IXGRP -+# define S_IXGRP (S_IXUSR >> 3) -+#endif -+#if !S_IXOTH -+# define S_IXOTH (S_IXUSR >> 6) -+#endif -+ -+#if !S_IRWXU -+# define S_IRWXU (S_IRUSR | S_IWUSR | S_IXUSR) -+#endif -+#if !S_IRWXG -+# define S_IRWXG (S_IRGRP | S_IWGRP | S_IXGRP) -+#endif -+#if !S_IRWXO -+# define S_IRWXO (S_IROTH | S_IWOTH | S_IXOTH) -+#endif -+ -+/* S_IXUGO is a common extension to POSIX. */ -+#if !S_IXUGO -+# define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) -+#endif -+ -+#ifndef S_IRWXUGO -+# define S_IRWXUGO (S_IRWXU | S_IRWXG | S_IRWXO) -+#endif -+ -+/* Macros for futimens and utimensat. */ -+#ifndef UTIME_NOW -+# define UTIME_NOW (-1) -+# define UTIME_OMIT (-2) -+#endif -+ -+ -+#if @GNULIB_FCHMODAT@ -+# if !@HAVE_FCHMODAT@ -+_GL_FUNCDECL_SYS (fchmodat, int, -+ (int fd, char const *file, mode_t mode, int flag) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (fchmodat, int, -+ (int fd, char const *file, mode_t mode, int flag)); -+_GL_CXXALIASWARN (fchmodat); -+#elif defined GNULIB_POSIXCHECK -+# undef fchmodat -+# if HAVE_RAW_DECL_FCHMODAT -+_GL_WARN_ON_USE (fchmodat, "fchmodat is not portable - " -+ "use gnulib module openat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FSTAT@ -+# if @REPLACE_FSTAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fstat -+# define fstat rpl_fstat -+# endif -+_GL_FUNCDECL_RPL (fstat, int, (int fd, struct stat *buf) _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (fstat, int, (int fd, struct stat *buf)); -+# else -+_GL_CXXALIAS_SYS (fstat, int, (int fd, struct stat *buf)); -+# endif -+_GL_CXXALIASWARN (fstat); -+#elif @WINDOWS_64_BIT_ST_SIZE@ -+/* Above, we define stat to _stati64. */ -+# define fstat _fstati64 -+#elif defined GNULIB_POSIXCHECK -+# undef fstat -+# if HAVE_RAW_DECL_FSTAT -+_GL_WARN_ON_USE (fstat, "fstat has portability problems - " -+ "use gnulib module fstat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FSTATAT@ -+# if @REPLACE_FSTATAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fstatat -+# define fstatat rpl_fstatat -+# endif -+_GL_FUNCDECL_RPL (fstatat, int, -+ (int fd, char const *name, struct stat *st, int flags) -+ _GL_ARG_NONNULL ((2, 3))); -+_GL_CXXALIAS_RPL (fstatat, int, -+ (int fd, char const *name, struct stat *st, int flags)); -+# else -+# if !@HAVE_FSTATAT@ -+_GL_FUNCDECL_SYS (fstatat, int, -+ (int fd, char const *name, struct stat *st, int flags) -+ _GL_ARG_NONNULL ((2, 3))); -+# endif -+_GL_CXXALIAS_SYS (fstatat, int, -+ (int fd, char const *name, struct stat *st, int flags)); -+# endif -+_GL_CXXALIASWARN (fstatat); -+#elif defined GNULIB_POSIXCHECK -+# undef fstatat -+# if HAVE_RAW_DECL_FSTATAT -+_GL_WARN_ON_USE (fstatat, "fstatat is not portable - " -+ "use gnulib module openat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FUTIMENS@ -+/* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our futimens -+ implementation relies on futimesat, which on Solaris 10 makes an invocation -+ to futimens that is meant to invoke the libc's futimens(), not gnulib's -+ futimens(). */ -+# if @REPLACE_FUTIMENS@ || (!@HAVE_FUTIMENS@ && defined __sun) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef futimens -+# define futimens rpl_futimens -+# endif -+_GL_FUNCDECL_RPL (futimens, int, (int fd, struct timespec const times[2])); -+_GL_CXXALIAS_RPL (futimens, int, (int fd, struct timespec const times[2])); -+# else -+# if !@HAVE_FUTIMENS@ -+_GL_FUNCDECL_SYS (futimens, int, (int fd, struct timespec const times[2])); -+# endif -+_GL_CXXALIAS_SYS (futimens, int, (int fd, struct timespec const times[2])); -+# endif -+# if @HAVE_FUTIMENS@ -+_GL_CXXALIASWARN (futimens); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef futimens -+# if HAVE_RAW_DECL_FUTIMENS -+_GL_WARN_ON_USE (futimens, "futimens is not portable - " -+ "use gnulib module futimens for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_LCHMOD@ -+/* Change the mode of FILENAME to MODE, without dereferencing it if FILENAME -+ denotes a symbolic link. */ -+# if !@HAVE_LCHMOD@ -+/* The lchmod replacement follows symbolic links. Callers should take -+ this into account; lchmod should be applied only to arguments that -+ are known to not be symbolic links. On hosts that lack lchmod, -+ this can lead to race conditions between the check and the -+ invocation of lchmod, but we know of no workarounds that are -+ reliable in general. You might try requesting support for lchmod -+ from your operating system supplier. */ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define lchmod chmod -+# endif -+/* Need to cast, because on mingw, the second parameter of chmod is -+ int mode. */ -+_GL_CXXALIAS_RPL_CAST_1 (lchmod, chmod, int, -+ (const char *filename, mode_t mode)); -+# else -+# if 0 /* assume already declared */ -+_GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (lchmod, int, (const char *filename, mode_t mode)); -+# endif -+# if @HAVE_LCHMOD@ -+_GL_CXXALIASWARN (lchmod); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef lchmod -+# if HAVE_RAW_DECL_LCHMOD -+_GL_WARN_ON_USE (lchmod, "lchmod is unportable - " -+ "use gnulib module lchmod for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_LSTAT@ -+# if ! @HAVE_LSTAT@ -+/* mingw does not support symlinks, therefore it does not have lstat. But -+ without links, stat does just fine. */ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define lstat stat -+# endif -+_GL_CXXALIAS_RPL_1 (lstat, stat, int, (const char *name, struct stat *buf)); -+# elif @REPLACE_LSTAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef lstat -+# define lstat rpl_lstat -+# endif -+_GL_FUNCDECL_RPL (lstat, int, (const char *name, struct stat *buf) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (lstat, int, (const char *name, struct stat *buf)); -+# else -+_GL_CXXALIAS_SYS (lstat, int, (const char *name, struct stat *buf)); -+# endif -+# if @HAVE_LSTAT@ -+_GL_CXXALIASWARN (lstat); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef lstat -+# if HAVE_RAW_DECL_LSTAT -+_GL_WARN_ON_USE (lstat, "lstat is unportable - " -+ "use gnulib module lstat for portability"); -+# endif -+#endif -+ -+ -+#if @REPLACE_MKDIR@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef mkdir -+# define mkdir rpl_mkdir -+# endif -+_GL_FUNCDECL_RPL (mkdir, int, (char const *name, mode_t mode) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); -+#else -+/* mingw's _mkdir() function has 1 argument, but we pass 2 arguments. -+ Additionally, it declares _mkdir (and depending on compile flags, an -+ alias mkdir), only in the nonstandard includes and , -+ which are included above. */ -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+ -+# if !GNULIB_defined_rpl_mkdir -+static int -+rpl_mkdir (char const *name, mode_t mode) -+{ -+ return _mkdir (name); -+} -+# define GNULIB_defined_rpl_mkdir 1 -+# endif -+ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define mkdir rpl_mkdir -+# endif -+_GL_CXXALIAS_RPL (mkdir, int, (char const *name, mode_t mode)); -+# else -+_GL_CXXALIAS_SYS (mkdir, int, (char const *name, mode_t mode)); -+# endif -+#endif -+_GL_CXXALIASWARN (mkdir); -+ -+ -+#if @GNULIB_MKDIRAT@ -+# if !@HAVE_MKDIRAT@ -+_GL_FUNCDECL_SYS (mkdirat, int, (int fd, char const *file, mode_t mode) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (mkdirat, int, (int fd, char const *file, mode_t mode)); -+_GL_CXXALIASWARN (mkdirat); -+#elif defined GNULIB_POSIXCHECK -+# undef mkdirat -+# if HAVE_RAW_DECL_MKDIRAT -+_GL_WARN_ON_USE (mkdirat, "mkdirat is not portable - " -+ "use gnulib module openat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_MKFIFO@ -+# if @REPLACE_MKFIFO@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef mkfifo -+# define mkfifo rpl_mkfifo -+# endif -+_GL_FUNCDECL_RPL (mkfifo, int, (char const *file, mode_t mode) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mkfifo, int, (char const *file, mode_t mode)); -+# else -+# if !@HAVE_MKFIFO@ -+_GL_FUNCDECL_SYS (mkfifo, int, (char const *file, mode_t mode) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (mkfifo, int, (char const *file, mode_t mode)); -+# endif -+_GL_CXXALIASWARN (mkfifo); -+#elif defined GNULIB_POSIXCHECK -+# undef mkfifo -+# if HAVE_RAW_DECL_MKFIFO -+_GL_WARN_ON_USE (mkfifo, "mkfifo is not portable - " -+ "use gnulib module mkfifo for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_MKFIFOAT@ -+# if !@HAVE_MKFIFOAT@ -+_GL_FUNCDECL_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (mkfifoat, int, (int fd, char const *file, mode_t mode)); -+_GL_CXXALIASWARN (mkfifoat); -+#elif defined GNULIB_POSIXCHECK -+# undef mkfifoat -+# if HAVE_RAW_DECL_MKFIFOAT -+_GL_WARN_ON_USE (mkfifoat, "mkfifoat is not portable - " -+ "use gnulib module mkfifoat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_MKNOD@ -+# if @REPLACE_MKNOD@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef mknod -+# define mknod rpl_mknod -+# endif -+_GL_FUNCDECL_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mknod, int, (char const *file, mode_t mode, dev_t dev)); -+# else -+# if !@HAVE_MKNOD@ -+_GL_FUNCDECL_SYS (mknod, int, (char const *file, mode_t mode, dev_t dev) -+ _GL_ARG_NONNULL ((1))); -+# endif -+/* Need to cast, because on OSF/1 5.1, the third parameter is '...'. */ -+_GL_CXXALIAS_SYS_CAST (mknod, int, (char const *file, mode_t mode, dev_t dev)); -+# endif -+_GL_CXXALIASWARN (mknod); -+#elif defined GNULIB_POSIXCHECK -+# undef mknod -+# if HAVE_RAW_DECL_MKNOD -+_GL_WARN_ON_USE (mknod, "mknod is not portable - " -+ "use gnulib module mknod for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_MKNODAT@ -+# if !@HAVE_MKNODAT@ -+_GL_FUNCDECL_SYS (mknodat, int, -+ (int fd, char const *file, mode_t mode, dev_t dev) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (mknodat, int, -+ (int fd, char const *file, mode_t mode, dev_t dev)); -+_GL_CXXALIASWARN (mknodat); -+#elif defined GNULIB_POSIXCHECK -+# undef mknodat -+# if HAVE_RAW_DECL_MKNODAT -+_GL_WARN_ON_USE (mknodat, "mknodat is not portable - " -+ "use gnulib module mkfifoat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_STAT@ -+# if @REPLACE_STAT@ -+/* We can't use the object-like #define stat rpl_stat, because of -+ struct stat. This means that rpl_stat will not be used if the user -+ does (stat)(a,b). Oh well. */ -+# if defined _AIX && defined stat && defined _LARGE_FILES -+ /* With _LARGE_FILES defined, AIX (only) defines stat to stat64, -+ so we have to replace stat64() instead of stat(). */ -+# undef stat64 -+# define stat64(name, st) rpl_stat (name, st) -+# elif @WINDOWS_64_BIT_ST_SIZE@ -+ /* Above, we define stat to _stati64. */ -+# if defined __MINGW32__ && defined _stati64 -+# ifndef _USE_32BIT_TIME_T -+ /* The system headers define _stati64 to _stat64. */ -+# undef _stat64 -+# define _stat64(name, st) rpl_stat (name, st) -+# endif -+# elif defined _MSC_VER && defined _stati64 -+# ifdef _USE_32BIT_TIME_T -+ /* The system headers define _stati64 to _stat32i64. */ -+# undef _stat32i64 -+# define _stat32i64(name, st) rpl_stat (name, st) -+# else -+ /* The system headers define _stati64 to _stat64. */ -+# undef _stat64 -+# define _stat64(name, st) rpl_stat (name, st) -+# endif -+# else -+# undef _stati64 -+# define _stati64(name, st) rpl_stat (name, st) -+# endif -+# elif defined __MINGW32__ && defined stat -+# ifdef _USE_32BIT_TIME_T -+ /* The system headers define stat to _stat32i64. */ -+# undef _stat32i64 -+# define _stat32i64(name, st) rpl_stat (name, st) -+# else -+ /* The system headers define stat to _stat64. */ -+# undef _stat64 -+# define _stat64(name, st) rpl_stat (name, st) -+# endif -+# elif defined _MSC_VER && defined stat -+# ifdef _USE_32BIT_TIME_T -+ /* The system headers define stat to _stat32. */ -+# undef _stat32 -+# define _stat32(name, st) rpl_stat (name, st) -+# else -+ /* The system headers define stat to _stat64i32. */ -+# undef _stat64i32 -+# define _stat64i32(name, st) rpl_stat (name, st) -+# endif -+# else /* !(_AIX ||__MINGW32__ || _MSC_VER) */ -+# undef stat -+# define stat(name, st) rpl_stat (name, st) -+# endif /* !_LARGE_FILES */ -+_GL_EXTERN_C int stat (const char *name, struct stat *buf) -+ _GL_ARG_NONNULL ((1, 2)); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef stat -+# if HAVE_RAW_DECL_STAT -+_GL_WARN_ON_USE (stat, "stat is unportable - " -+ "use gnulib module stat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_UTIMENSAT@ -+/* Use the rpl_ prefix also on Solaris <= 9, because on Solaris 9 our utimensat -+ implementation relies on futimesat, which on Solaris 10 makes an invocation -+ to utimensat that is meant to invoke the libc's utimensat(), not gnulib's -+ utimensat(). */ -+# if @REPLACE_UTIMENSAT@ || (!@HAVE_UTIMENSAT@ && defined __sun) -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef utimensat -+# define utimensat rpl_utimensat -+# endif -+_GL_FUNCDECL_RPL (utimensat, int, (int fd, char const *name, -+ struct timespec const times[2], int flag) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (utimensat, int, (int fd, char const *name, -+ struct timespec const times[2], int flag)); -+# else -+# if !@HAVE_UTIMENSAT@ -+_GL_FUNCDECL_SYS (utimensat, int, (int fd, char const *name, -+ struct timespec const times[2], int flag) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (utimensat, int, (int fd, char const *name, -+ struct timespec const times[2], int flag)); -+# endif -+# if @HAVE_UTIMENSAT@ -+_GL_CXXALIASWARN (utimensat); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef utimensat -+# if HAVE_RAW_DECL_UTIMENSAT -+_GL_WARN_ON_USE (utimensat, "utimensat is not portable - " -+ "use gnulib module utimensat for portability"); -+# endif -+#endif -+ -+ -+#endif /* _@GUARD_PREFIX@_SYS_STAT_H */ -+#endif /* _@GUARD_PREFIX@_SYS_STAT_H */ -+#endif -diff -Naur libiconv-20130504/srclib/sys_types.in.h libiconv-20130504.patch/srclib/sys_types.in.h ---- libiconv-20130504/srclib/sys_types.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/sys_types.in.h 2013-05-04 10:20:07.783698336 +0200 -@@ -0,0 +1,51 @@ -+/* Provide a more complete sys/types.h. -+ -+ Copyright (C) 2011-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+#ifndef _@GUARD_PREFIX@_SYS_TYPES_H -+ -+/* The include_next requires a split double-inclusion guard. */ -+#@INCLUDE_NEXT@ @NEXT_SYS_TYPES_H@ -+ -+#ifndef _@GUARD_PREFIX@_SYS_TYPES_H -+#define _@GUARD_PREFIX@_SYS_TYPES_H -+ -+/* Override off_t if Large File Support is requested on native Windows. */ -+#if @WINDOWS_64_BIT_OFF_T@ -+/* Same as int64_t in . */ -+# if defined _MSC_VER -+# define off_t __int64 -+# else -+# define off_t long long int -+# endif -+/* Indicator, for gnulib internal purposes. */ -+# define _GL_WINDOWS_64_BIT_OFF_T 1 -+#endif -+ -+/* MSVC 9 defines size_t in , not in . */ -+/* But avoid namespace pollution on glibc systems. */ -+#if ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) \ -+ && ! defined __GLIBC__ -+# include -+#endif -+ -+#endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ -+#endif /* _@GUARD_PREFIX@_SYS_TYPES_H */ -diff -Naur libiconv-20130504/srclib/time.in.h libiconv-20130504.patch/srclib/time.in.h ---- libiconv-20130504/srclib/time.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/time.in.h 2013-05-04 10:20:07.786698327 +0200 -@@ -0,0 +1,248 @@ -+/* A more-standard . -+ -+ Copyright (C) 2007-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+/* Don't get in the way of glibc when it includes time.h merely to -+ declare a few standard symbols, rather than to declare all the -+ symbols. Also, Solaris 8 eventually includes itself -+ recursively; if that is happening, just include the system -+ without adding our own declarations. */ -+#if (defined __need_time_t || defined __need_clock_t \ -+ || defined __need_timespec \ -+ || defined _@GUARD_PREFIX@_TIME_H) -+ -+# @INCLUDE_NEXT@ @NEXT_TIME_H@ -+ -+#else -+ -+# define _@GUARD_PREFIX@_TIME_H -+ -+# @INCLUDE_NEXT@ @NEXT_TIME_H@ -+ -+/* NetBSD 5.0 mis-defines NULL. */ -+# include -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+/* Some systems don't define struct timespec (e.g., AIX 4.1, Ultrix 4.3). -+ Or they define it with the wrong member names or define it in -+ (e.g., FreeBSD circa 1997). Stock Mingw does not define it, but the -+ pthreads-win32 library defines it in . */ -+# if ! @TIME_H_DEFINES_STRUCT_TIMESPEC@ -+# if @SYS_TIME_H_DEFINES_STRUCT_TIMESPEC@ -+# include -+# elif @PTHREAD_H_DEFINES_STRUCT_TIMESPEC@ -+# include -+/* The pthreads-win32 also defines a couple of broken macros. */ -+# undef asctime_r -+# undef ctime_r -+# undef gmtime_r -+# undef localtime_r -+# undef rand_r -+# undef strtok_r -+# else -+ -+# ifdef __cplusplus -+extern "C" { -+# endif -+ -+# if !GNULIB_defined_struct_timespec -+# undef timespec -+# define timespec rpl_timespec -+struct timespec -+{ -+ time_t tv_sec; -+ long int tv_nsec; -+}; -+# define GNULIB_defined_struct_timespec 1 -+# endif -+ -+# ifdef __cplusplus -+} -+# endif -+ -+# endif -+# endif -+ -+# if !GNULIB_defined_struct_time_t_must_be_integral -+/* Per http://austingroupbugs.net/view.php?id=327, POSIX requires -+ time_t to be an integer type, even though C99 permits floating -+ point. We don't know of any implementation that uses floating -+ point, and it is much easier to write code that doesn't have to -+ worry about that corner case, so we force the issue. */ -+struct __time_t_must_be_integral { -+ unsigned int __floating_time_t_unsupported : (time_t) 1; -+}; -+# define GNULIB_defined_struct_time_t_must_be_integral 1 -+# endif -+ -+/* Sleep for at least RQTP seconds unless interrupted, If interrupted, -+ return -1 and store the remaining time into RMTP. See -+ . */ -+# if @GNULIB_NANOSLEEP@ -+# if @REPLACE_NANOSLEEP@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define nanosleep rpl_nanosleep -+# endif -+_GL_FUNCDECL_RPL (nanosleep, int, -+ (struct timespec const *__rqtp, struct timespec *__rmtp) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (nanosleep, int, -+ (struct timespec const *__rqtp, struct timespec *__rmtp)); -+# else -+# if ! @HAVE_NANOSLEEP@ -+_GL_FUNCDECL_SYS (nanosleep, int, -+ (struct timespec const *__rqtp, struct timespec *__rmtp) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (nanosleep, int, -+ (struct timespec const *__rqtp, struct timespec *__rmtp)); -+# endif -+_GL_CXXALIASWARN (nanosleep); -+# endif -+ -+/* Return the 'time_t' representation of TP and normalize TP. */ -+# if @GNULIB_MKTIME@ -+# if @REPLACE_MKTIME@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define mktime rpl_mktime -+# endif -+_GL_FUNCDECL_RPL (mktime, time_t, (struct tm *__tp) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (mktime, time_t, (struct tm *__tp)); -+# else -+_GL_CXXALIAS_SYS (mktime, time_t, (struct tm *__tp)); -+# endif -+_GL_CXXALIASWARN (mktime); -+# endif -+ -+/* Convert TIMER to RESULT, assuming local time and UTC respectively. See -+ and -+ . */ -+# if @GNULIB_TIME_R@ -+# if @REPLACE_LOCALTIME_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef localtime_r -+# define localtime_r rpl_localtime_r -+# endif -+_GL_FUNCDECL_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (localtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result)); -+# else -+# if ! @HAVE_DECL_LOCALTIME_R@ -+_GL_FUNCDECL_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (localtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result)); -+# endif -+# if @HAVE_DECL_LOCALTIME_R@ -+_GL_CXXALIASWARN (localtime_r); -+# endif -+# if @REPLACE_LOCALTIME_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef gmtime_r -+# define gmtime_r rpl_gmtime_r -+# endif -+_GL_FUNCDECL_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (gmtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result)); -+# else -+# if ! @HAVE_DECL_LOCALTIME_R@ -+_GL_FUNCDECL_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (gmtime_r, struct tm *, (time_t const *restrict __timer, -+ struct tm *restrict __result)); -+# endif -+# if @HAVE_DECL_LOCALTIME_R@ -+_GL_CXXALIASWARN (gmtime_r); -+# endif -+# endif -+ -+/* Parse BUF as a time stamp, assuming FORMAT specifies its layout, and store -+ the resulting broken-down time into TM. See -+ . */ -+# if @GNULIB_STRPTIME@ -+# if ! @HAVE_STRPTIME@ -+_GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, -+ char const *restrict __format, -+ struct tm *restrict __tm) -+ _GL_ARG_NONNULL ((1, 2, 3))); -+# endif -+_GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, -+ char const *restrict __format, -+ struct tm *restrict __tm)); -+_GL_CXXALIASWARN (strptime); -+# endif -+ -+/* Convert TM to a time_t value, assuming UTC. */ -+# if @GNULIB_TIMEGM@ -+# if @REPLACE_TIMEGM@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef timegm -+# define timegm rpl_timegm -+# endif -+_GL_FUNCDECL_RPL (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (timegm, time_t, (struct tm *__tm)); -+# else -+# if ! @HAVE_TIMEGM@ -+_GL_FUNCDECL_SYS (timegm, time_t, (struct tm *__tm) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (timegm, time_t, (struct tm *__tm)); -+# endif -+_GL_CXXALIASWARN (timegm); -+# endif -+ -+/* Encourage applications to avoid unsafe functions that can overrun -+ buffers when given outlandish struct tm values. Portable -+ applications should use strftime (or even sprintf) instead. */ -+# if defined GNULIB_POSIXCHECK -+# undef asctime -+_GL_WARN_ON_USE (asctime, "asctime can overrun buffers in some cases - " -+ "better use strftime (or even sprintf) instead"); -+# endif -+# if defined GNULIB_POSIXCHECK -+# undef asctime_r -+_GL_WARN_ON_USE (asctime, "asctime_r can overrun buffers in some cases - " -+ "better use strftime (or even sprintf) instead"); -+# endif -+# if defined GNULIB_POSIXCHECK -+# undef ctime -+_GL_WARN_ON_USE (asctime, "ctime can overrun buffers in some cases - " -+ "better use strftime (or even sprintf) instead"); -+# endif -+# if defined GNULIB_POSIXCHECK -+# undef ctime_r -+_GL_WARN_ON_USE (asctime, "ctime_r can overrun buffers in some cases - " -+ "better use strftime (or even sprintf) instead"); -+# endif -+ -+#endif -diff -Naur libiconv-20130504/srclib/unistd.c libiconv-20130504.patch/srclib/unistd.c ---- libiconv-20130504/srclib/unistd.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/unistd.c 2013-05-04 10:20:07.790698315 +0200 -@@ -0,0 +1,3 @@ -+#include -+#define _GL_UNISTD_INLINE _GL_EXTERN_INLINE -+#include "unistd.h" -diff -Naur libiconv-20130504/srclib/unistd.in.h libiconv-20130504.patch/srclib/unistd.in.h ---- libiconv-20130504/srclib/unistd.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/unistd.in.h 2013-05-04 10:20:07.796698298 +0200 -@@ -0,0 +1,1530 @@ -+/* Substitute for and wrapper around . -+ Copyright (C) 2003-2013 Free Software Foundation, Inc. -+ -+ This program is free software; you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3, or (at your option) -+ any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program; if not, see . */ -+ -+#ifndef _@GUARD_PREFIX@_UNISTD_H -+ -+#if __GNUC__ >= 3 -+@PRAGMA_SYSTEM_HEADER@ -+#endif -+@PRAGMA_COLUMNS@ -+ -+/* The include_next requires a split double-inclusion guard. */ -+#if @HAVE_UNISTD_H@ -+# @INCLUDE_NEXT@ @NEXT_UNISTD_H@ -+#endif -+ -+/* Get all possible declarations of gethostname(). */ -+#if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ \ -+ && !defined _GL_INCLUDING_WINSOCK2_H -+# define _GL_INCLUDING_WINSOCK2_H -+# include -+# undef _GL_INCLUDING_WINSOCK2_H -+#endif -+ -+#if !defined _@GUARD_PREFIX@_UNISTD_H && !defined _GL_INCLUDING_WINSOCK2_H -+#define _@GUARD_PREFIX@_UNISTD_H -+ -+/* NetBSD 5.0 mis-defines NULL. Also get size_t. */ -+#include -+ -+/* mingw doesn't define the SEEK_* or *_FILENO macros in . */ -+/* Cygwin 1.7.1 declares symlinkat in , not in . */ -+/* But avoid namespace pollution on glibc systems. */ -+#if (!(defined SEEK_CUR && defined SEEK_END && defined SEEK_SET) \ -+ || ((@GNULIB_SYMLINKAT@ || defined GNULIB_POSIXCHECK) \ -+ && defined __CYGWIN__)) \ -+ && ! defined __GLIBC__ -+# include -+#endif -+ -+/* Cygwin 1.7.1 declares unlinkat in , not in . */ -+/* But avoid namespace pollution on glibc systems. */ -+#if (@GNULIB_UNLINKAT@ || defined GNULIB_POSIXCHECK) && defined __CYGWIN__ \ -+ && ! defined __GLIBC__ -+# include -+#endif -+ -+/* mingw fails to declare _exit in . */ -+/* mingw, MSVC, BeOS, Haiku declare environ in , not in -+ . */ -+/* Solaris declares getcwd not only in but also in . */ -+/* OSF Tru64 Unix cannot see gnulib rpl_strtod when system is -+ included here. */ -+/* But avoid namespace pollution on glibc systems. */ -+#if !defined __GLIBC__ && !defined __osf__ -+# define __need_system_stdlib_h -+# include -+# undef __need_system_stdlib_h -+#endif -+ -+/* Native Windows platforms declare chdir, getcwd, rmdir in -+ and/or , not in . -+ They also declare access(), chmod(), close(), dup(), dup2(), isatty(), -+ lseek(), read(), unlink(), write() in . */ -+#if ((@GNULIB_CHDIR@ || @GNULIB_GETCWD@ || @GNULIB_RMDIR@ \ -+ || defined GNULIB_POSIXCHECK) \ -+ && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__)) -+# include /* mingw32, mingw64 */ -+# include /* mingw64, MSVC 9 */ -+#elif (@GNULIB_CLOSE@ || @GNULIB_DUP@ || @GNULIB_DUP2@ || @GNULIB_ISATTY@ \ -+ || @GNULIB_LSEEK@ || @GNULIB_READ@ || @GNULIB_UNLINK@ || @GNULIB_WRITE@ \ -+ || defined GNULIB_POSIXCHECK) \ -+ && ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__) -+# include -+#endif -+ -+/* AIX and OSF/1 5.1 declare getdomainname in , not in . -+ NonStop Kernel declares gethostname in , not in . */ -+/* But avoid namespace pollution on glibc systems. */ -+#if ((@GNULIB_GETDOMAINNAME@ && (defined _AIX || defined __osf__)) \ -+ || (@GNULIB_GETHOSTNAME@ && defined __TANDEM)) \ -+ && !defined __GLIBC__ -+# include -+#endif -+ -+/* MSVC defines off_t in . -+ May also define off_t to a 64-bit type on native Windows. */ -+#if !@HAVE_UNISTD_H@ || @WINDOWS_64_BIT_OFF_T@ -+/* Get off_t. */ -+# include -+#endif -+ -+#if (@GNULIB_READ@ || @GNULIB_WRITE@ \ -+ || @GNULIB_READLINK@ || @GNULIB_READLINKAT@ \ -+ || @GNULIB_PREAD@ || @GNULIB_PWRITE@ || defined GNULIB_POSIXCHECK) -+/* Get ssize_t. */ -+# include -+#endif -+ -+/* Get getopt(), optarg, optind, opterr, optopt. -+ But avoid namespace pollution on glibc systems. */ -+#if @GNULIB_UNISTD_H_GETOPT@ && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT -+# define __need_getopt -+# include -+#endif -+ -+_GL_INLINE_HEADER_BEGIN -+#ifndef _GL_UNISTD_INLINE -+# define _GL_UNISTD_INLINE _GL_INLINE -+#endif -+ -+/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ -+ -+/* The definition of _GL_ARG_NONNULL is copied here. */ -+ -+/* The definition of _GL_WARN_ON_USE is copied here. */ -+ -+ -+/* Hide some function declarations from . */ -+ -+#if @GNULIB_GETHOSTNAME@ && @UNISTD_H_HAVE_WINSOCK2_H@ -+# if !defined _@GUARD_PREFIX@_SYS_SOCKET_H -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef socket -+# define socket socket_used_without_including_sys_socket_h -+# undef connect -+# define connect connect_used_without_including_sys_socket_h -+# undef accept -+# define accept accept_used_without_including_sys_socket_h -+# undef bind -+# define bind bind_used_without_including_sys_socket_h -+# undef getpeername -+# define getpeername getpeername_used_without_including_sys_socket_h -+# undef getsockname -+# define getsockname getsockname_used_without_including_sys_socket_h -+# undef getsockopt -+# define getsockopt getsockopt_used_without_including_sys_socket_h -+# undef listen -+# define listen listen_used_without_including_sys_socket_h -+# undef recv -+# define recv recv_used_without_including_sys_socket_h -+# undef send -+# define send send_used_without_including_sys_socket_h -+# undef recvfrom -+# define recvfrom recvfrom_used_without_including_sys_socket_h -+# undef sendto -+# define sendto sendto_used_without_including_sys_socket_h -+# undef setsockopt -+# define setsockopt setsockopt_used_without_including_sys_socket_h -+# undef shutdown -+# define shutdown shutdown_used_without_including_sys_socket_h -+# else -+ _GL_WARN_ON_USE (socket, -+ "socket() used without including "); -+ _GL_WARN_ON_USE (connect, -+ "connect() used without including "); -+ _GL_WARN_ON_USE (accept, -+ "accept() used without including "); -+ _GL_WARN_ON_USE (bind, -+ "bind() used without including "); -+ _GL_WARN_ON_USE (getpeername, -+ "getpeername() used without including "); -+ _GL_WARN_ON_USE (getsockname, -+ "getsockname() used without including "); -+ _GL_WARN_ON_USE (getsockopt, -+ "getsockopt() used without including "); -+ _GL_WARN_ON_USE (listen, -+ "listen() used without including "); -+ _GL_WARN_ON_USE (recv, -+ "recv() used without including "); -+ _GL_WARN_ON_USE (send, -+ "send() used without including "); -+ _GL_WARN_ON_USE (recvfrom, -+ "recvfrom() used without including "); -+ _GL_WARN_ON_USE (sendto, -+ "sendto() used without including "); -+ _GL_WARN_ON_USE (setsockopt, -+ "setsockopt() used without including "); -+ _GL_WARN_ON_USE (shutdown, -+ "shutdown() used without including "); -+# endif -+# endif -+# if !defined _@GUARD_PREFIX@_SYS_SELECT_H -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef select -+# define select select_used_without_including_sys_select_h -+# else -+ _GL_WARN_ON_USE (select, -+ "select() used without including "); -+# endif -+# endif -+#endif -+ -+ -+/* OS/2 EMX lacks these macros. */ -+#ifndef STDIN_FILENO -+# define STDIN_FILENO 0 -+#endif -+#ifndef STDOUT_FILENO -+# define STDOUT_FILENO 1 -+#endif -+#ifndef STDERR_FILENO -+# define STDERR_FILENO 2 -+#endif -+ -+/* Ensure *_OK macros exist. */ -+#ifndef F_OK -+# define F_OK 0 -+# define X_OK 1 -+# define W_OK 2 -+# define R_OK 4 -+#endif -+ -+ -+/* Declare overridden functions. */ -+ -+ -+#if defined GNULIB_POSIXCHECK -+/* The access() function is a security risk. */ -+_GL_WARN_ON_USE (access, "the access function is a security risk - " -+ "use the gnulib module faccessat instead"); -+#endif -+ -+ -+#if @GNULIB_CHDIR@ -+_GL_CXXALIAS_SYS (chdir, int, (const char *file) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIASWARN (chdir); -+#elif defined GNULIB_POSIXCHECK -+# undef chdir -+# if HAVE_RAW_DECL_CHDIR -+_GL_WARN_ON_USE (chown, "chdir is not always in - " -+ "use gnulib module chdir for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_CHOWN@ -+/* Change the owner of FILE to UID (if UID is not -1) and the group of FILE -+ to GID (if GID is not -1). Follow symbolic links. -+ Return 0 if successful, otherwise -1 and errno set. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_DUP2@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define dup2 rpl_dup2 -+# endif -+_GL_FUNCDECL_RPL (dup2, int, (int oldfd, int newfd)); -+_GL_CXXALIAS_RPL (dup2, int, (int oldfd, int newfd)); -+# else -+# if !@HAVE_DUP2@ -+_GL_FUNCDECL_SYS (dup2, int, (int oldfd, int newfd)); -+# endif -+_GL_CXXALIAS_SYS (dup2, int, (int oldfd, int newfd)); -+# endif -+_GL_CXXALIASWARN (dup2); -+#elif defined GNULIB_POSIXCHECK -+# undef dup2 -+# if HAVE_RAW_DECL_DUP2 -+_GL_WARN_ON_USE (dup2, "dup2 is unportable - " -+ "use gnulib module dup2 for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_DUP3@ -+/* Copy the file descriptor OLDFD into file descriptor NEWFD, with the -+ specified flags. -+ The flags are a bitmask, possibly including O_CLOEXEC (defined in ) -+ and O_TEXT, O_BINARY (defined in "binary-io.h"). -+ Close NEWFD first if it is open. -+ Return newfd if successful, otherwise -1 and errno set. -+ See the Linux man page at -+ . */ -+# if @HAVE_DUP3@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define dup3 rpl_dup3 -+# endif -+_GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags)); -+_GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags)); -+# else -+_GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags)); -+_GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags)); -+# endif -+_GL_CXXALIASWARN (dup3); -+#elif defined GNULIB_POSIXCHECK -+# undef dup3 -+# if HAVE_RAW_DECL_DUP3 -+_GL_WARN_ON_USE (dup3, "dup3 is unportable - " -+ "use gnulib module dup3 for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_ENVIRON@ -+# if !@HAVE_DECL_ENVIRON@ -+/* Set of environment variables and values. An array of strings of the form -+ "VARIABLE=VALUE", terminated with a NULL. */ -+# if defined __APPLE__ && defined __MACH__ -+# include -+# define environ (*_NSGetEnviron ()) -+# else -+# ifdef __cplusplus -+extern "C" { -+# endif -+extern char **environ; -+# ifdef __cplusplus -+} -+# endif -+# endif -+# endif -+#elif defined GNULIB_POSIXCHECK -+# if HAVE_RAW_DECL_ENVIRON -+_GL_UNISTD_INLINE char *** -+rpl_environ (void) -+{ -+ return &environ; -+} -+_GL_WARN_ON_USE (rpl_environ, "environ is unportable - " -+ "use gnulib module environ for portability"); -+# undef environ -+# define environ (*rpl_environ ()) -+# endif -+#endif -+ -+ -+#if @GNULIB_EUIDACCESS@ -+/* Like access(), except that it uses the effective user id and group id of -+ the current process. */ -+# if !@HAVE_EUIDACCESS@ -+_GL_FUNCDECL_SYS (euidaccess, int, (const char *filename, int mode) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (euidaccess, int, (const char *filename, int mode)); -+_GL_CXXALIASWARN (euidaccess); -+# if defined GNULIB_POSIXCHECK -+/* Like access(), this function is a security risk. */ -+_GL_WARN_ON_USE (euidaccess, "the euidaccess function is a security risk - " -+ "use the gnulib module faccessat instead"); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef euidaccess -+# if HAVE_RAW_DECL_EUIDACCESS -+_GL_WARN_ON_USE (euidaccess, "euidaccess is unportable - " -+ "use gnulib module euidaccess for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FACCESSAT@ -+# if !@HAVE_FACCESSAT@ -+_GL_FUNCDECL_SYS (faccessat, int, -+ (int fd, char const *file, int mode, int flag) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (faccessat, int, -+ (int fd, char const *file, int mode, int flag)); -+_GL_CXXALIASWARN (faccessat); -+#elif defined GNULIB_POSIXCHECK -+# undef faccessat -+# if HAVE_RAW_DECL_FACCESSAT -+_GL_WARN_ON_USE (faccessat, "faccessat is not portable - " -+ "use gnulib module faccessat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FCHDIR@ -+/* Change the process' current working directory to the directory on which -+ the given file descriptor is open. -+ Return 0 if successful, otherwise -1 and errno set. -+ See the POSIX:2008 specification -+ . */ -+# if ! @HAVE_FCHDIR@ -+_GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); -+ -+/* Gnulib internal hooks needed to maintain the fchdir metadata. */ -+_GL_EXTERN_C int _gl_register_fd (int fd, const char *filename) -+ _GL_ARG_NONNULL ((2)); -+_GL_EXTERN_C void _gl_unregister_fd (int fd); -+_GL_EXTERN_C int _gl_register_dup (int oldfd, int newfd); -+_GL_EXTERN_C const char *_gl_directory_name (int fd); -+ -+# else -+# if !@HAVE_DECL_FCHDIR@ -+_GL_FUNCDECL_SYS (fchdir, int, (int /*fd*/)); -+# endif -+# endif -+_GL_CXXALIAS_SYS (fchdir, int, (int /*fd*/)); -+_GL_CXXALIASWARN (fchdir); -+#elif defined GNULIB_POSIXCHECK -+# undef fchdir -+# if HAVE_RAW_DECL_FCHDIR -+_GL_WARN_ON_USE (fchdir, "fchdir is unportable - " -+ "use gnulib module fchdir for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FCHOWNAT@ -+# if @REPLACE_FCHOWNAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef fchownat -+# define fchownat rpl_fchownat -+# endif -+_GL_FUNCDECL_RPL (fchownat, int, (int fd, char const *file, -+ uid_t owner, gid_t group, int flag) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (fchownat, int, (int fd, char const *file, -+ uid_t owner, gid_t group, int flag)); -+# else -+# if !@HAVE_FCHOWNAT@ -+_GL_FUNCDECL_SYS (fchownat, int, (int fd, char const *file, -+ uid_t owner, gid_t group, int flag) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (fchownat, int, (int fd, char const *file, -+ uid_t owner, gid_t group, int flag)); -+# endif -+_GL_CXXALIASWARN (fchownat); -+#elif defined GNULIB_POSIXCHECK -+# undef fchownat -+# if HAVE_RAW_DECL_FCHOWNAT -+_GL_WARN_ON_USE (fchownat, "fchownat is not portable - " -+ "use gnulib module openat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FDATASYNC@ -+/* Synchronize changes to a file. -+ Return 0 if successful, otherwise -1 and errno set. -+ See POSIX:2008 specification -+ . */ -+# if !@HAVE_FDATASYNC@ || !@HAVE_DECL_FDATASYNC@ -+_GL_FUNCDECL_SYS (fdatasync, int, (int fd)); -+# endif -+_GL_CXXALIAS_SYS (fdatasync, int, (int fd)); -+_GL_CXXALIASWARN (fdatasync); -+#elif defined GNULIB_POSIXCHECK -+# undef fdatasync -+# if HAVE_RAW_DECL_FDATASYNC -+_GL_WARN_ON_USE (fdatasync, "fdatasync is unportable - " -+ "use gnulib module fdatasync for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FSYNC@ -+/* Synchronize changes, including metadata, to a file. -+ Return 0 if successful, otherwise -1 and errno set. -+ See POSIX:2008 specification -+ . */ -+# if !@HAVE_FSYNC@ -+_GL_FUNCDECL_SYS (fsync, int, (int fd)); -+# endif -+_GL_CXXALIAS_SYS (fsync, int, (int fd)); -+_GL_CXXALIASWARN (fsync); -+#elif defined GNULIB_POSIXCHECK -+# undef fsync -+# if HAVE_RAW_DECL_FSYNC -+_GL_WARN_ON_USE (fsync, "fsync is unportable - " -+ "use gnulib module fsync for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_FTRUNCATE@ -+/* Change the size of the file to which FD is opened to become equal to LENGTH. -+ Return 0 if successful, otherwise -1 and errno set. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_FTRUNCATE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef ftruncate -+# define ftruncate rpl_ftruncate -+# endif -+_GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length)); -+_GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length)); -+# else -+# if !@HAVE_FTRUNCATE@ -+_GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length)); -+# endif -+_GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length)); -+# endif -+_GL_CXXALIASWARN (ftruncate); -+#elif defined GNULIB_POSIXCHECK -+# undef ftruncate -+# if HAVE_RAW_DECL_FTRUNCATE -+_GL_WARN_ON_USE (ftruncate, "ftruncate is unportable - " -+ "use gnulib module ftruncate for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETCWD@ -+/* Get the name of the current working directory, and put it in SIZE bytes -+ of BUF. -+ Return BUF if successful, or NULL if the directory couldn't be determined -+ or SIZE was too small. -+ See the POSIX:2008 specification -+ . -+ Additionally, the gnulib module 'getcwd' guarantees the following GNU -+ extension: If BUF is NULL, an array is allocated with 'malloc'; the array -+ is SIZE bytes long, unless SIZE == 0, in which case it is as big as -+ necessary. */ -+# if @REPLACE_GETCWD@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define getcwd rpl_getcwd -+# endif -+_GL_FUNCDECL_RPL (getcwd, char *, (char *buf, size_t size)); -+_GL_CXXALIAS_RPL (getcwd, char *, (char *buf, size_t size)); -+# else -+/* Need to cast, because on mingw, the second parameter is -+ int size. */ -+_GL_CXXALIAS_SYS_CAST (getcwd, char *, (char *buf, size_t size)); -+# endif -+_GL_CXXALIASWARN (getcwd); -+#elif defined GNULIB_POSIXCHECK -+# undef getcwd -+# if HAVE_RAW_DECL_GETCWD -+_GL_WARN_ON_USE (getcwd, "getcwd is unportable - " -+ "use gnulib module getcwd for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETDOMAINNAME@ -+/* Return the NIS domain name of the machine. -+ WARNING! The NIS domain name is unrelated to the fully qualified host name -+ of the machine. It is also unrelated to email addresses. -+ WARNING! The NIS domain name is usually the empty string or "(none)" when -+ not using NIS. -+ -+ Put up to LEN bytes of the NIS domain name into NAME. -+ Null terminate it if the name is shorter than LEN. -+ If the NIS domain name is longer than LEN, set errno = EINVAL and return -1. -+ Return 0 if successful, otherwise set errno and return -1. */ -+# if @REPLACE_GETDOMAINNAME@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef getdomainname -+# define getdomainname rpl_getdomainname -+# endif -+_GL_FUNCDECL_RPL (getdomainname, int, (char *name, size_t len) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (getdomainname, int, (char *name, size_t len)); -+# else -+# if !@HAVE_DECL_GETDOMAINNAME@ -+_GL_FUNCDECL_SYS (getdomainname, int, (char *name, size_t len) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (getdomainname, int, (char *name, size_t len)); -+# endif -+_GL_CXXALIASWARN (getdomainname); -+#elif defined GNULIB_POSIXCHECK -+# undef getdomainname -+# if HAVE_RAW_DECL_GETDOMAINNAME -+_GL_WARN_ON_USE (getdomainname, "getdomainname is unportable - " -+ "use gnulib module getdomainname for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETDTABLESIZE@ -+/* Return the maximum number of file descriptors in the current process. -+ In POSIX, this is same as sysconf (_SC_OPEN_MAX). */ -+# if !@HAVE_GETDTABLESIZE@ -+_GL_FUNCDECL_SYS (getdtablesize, int, (void)); -+# endif -+_GL_CXXALIAS_SYS (getdtablesize, int, (void)); -+_GL_CXXALIASWARN (getdtablesize); -+#elif defined GNULIB_POSIXCHECK -+# undef getdtablesize -+# if HAVE_RAW_DECL_GETDTABLESIZE -+_GL_WARN_ON_USE (getdtablesize, "getdtablesize is unportable - " -+ "use gnulib module getdtablesize for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETGROUPS@ -+/* Return the supplemental groups that the current process belongs to. -+ It is unspecified whether the effective group id is in the list. -+ If N is 0, return the group count; otherwise, N describes how many -+ entries are available in GROUPS. Return -1 and set errno if N is -+ not 0 and not large enough. Fails with ENOSYS on some systems. */ -+# if @REPLACE_GETGROUPS@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef getgroups -+# define getgroups rpl_getgroups -+# endif -+_GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups)); -+_GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups)); -+# else -+# if !@HAVE_GETGROUPS@ -+_GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups)); -+# endif -+_GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups)); -+# endif -+_GL_CXXALIASWARN (getgroups); -+#elif defined GNULIB_POSIXCHECK -+# undef getgroups -+# if HAVE_RAW_DECL_GETGROUPS -+_GL_WARN_ON_USE (getgroups, "getgroups is unportable - " -+ "use gnulib module getgroups for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETHOSTNAME@ -+/* Return the standard host name of the machine. -+ WARNING! The host name may or may not be fully qualified. -+ -+ Put up to LEN bytes of the host name into NAME. -+ Null terminate it if the name is shorter than LEN. -+ If the host name is longer than LEN, set errno = EINVAL and return -1. -+ Return 0 if successful, otherwise set errno and return -1. */ -+# if @UNISTD_H_HAVE_WINSOCK2_H@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef gethostname -+# define gethostname rpl_gethostname -+# endif -+_GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len)); -+# else -+# if !@HAVE_GETHOSTNAME@ -+_GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len) -+ _GL_ARG_NONNULL ((1))); -+# endif -+/* Need to cast, because on Solaris 10 and OSF/1 5.1 systems, the second -+ parameter is -+ int len. */ -+_GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len)); -+# endif -+_GL_CXXALIASWARN (gethostname); -+#elif @UNISTD_H_HAVE_WINSOCK2_H@ -+# undef gethostname -+# define gethostname gethostname_used_without_requesting_gnulib_module_gethostname -+#elif defined GNULIB_POSIXCHECK -+# undef gethostname -+# if HAVE_RAW_DECL_GETHOSTNAME -+_GL_WARN_ON_USE (gethostname, "gethostname is unportable - " -+ "use gnulib module gethostname for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETLOGIN@ -+/* Returns the user's login name, or NULL if it cannot be found. Upon error, -+ returns NULL with errno set. -+ -+ See . -+ -+ Most programs don't need to use this function, because the information is -+ available through environment variables: -+ ${LOGNAME-$USER} on Unix platforms, -+ $USERNAME on native Windows platforms. -+ */ -+# if !@HAVE_GETLOGIN@ -+_GL_FUNCDECL_SYS (getlogin, char *, (void)); -+# endif -+_GL_CXXALIAS_SYS (getlogin, char *, (void)); -+_GL_CXXALIASWARN (getlogin); -+#elif defined GNULIB_POSIXCHECK -+# undef getlogin -+# if HAVE_RAW_DECL_GETLOGIN -+_GL_WARN_ON_USE (getlogin, "getlogin is unportable - " -+ "use gnulib module getlogin for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETLOGIN_R@ -+/* Copies the user's login name to NAME. -+ The array pointed to by NAME has room for SIZE bytes. -+ -+ Returns 0 if successful. Upon error, an error number is returned, or -1 in -+ the case that the login name cannot be found but no specific error is -+ provided (this case is hopefully rare but is left open by the POSIX spec). -+ -+ See . -+ -+ Most programs don't need to use this function, because the information is -+ available through environment variables: -+ ${LOGNAME-$USER} on Unix platforms, -+ $USERNAME on native Windows platforms. -+ */ -+# if @REPLACE_GETLOGIN_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define getlogin_r rpl_getlogin_r -+# endif -+_GL_FUNCDECL_RPL (getlogin_r, int, (char *name, size_t size) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (getlogin_r, int, (char *name, size_t size)); -+# else -+# if !@HAVE_DECL_GETLOGIN_R@ -+_GL_FUNCDECL_SYS (getlogin_r, int, (char *name, size_t size) -+ _GL_ARG_NONNULL ((1))); -+# endif -+/* Need to cast, because on Solaris 10 systems, the second argument is -+ int size. */ -+_GL_CXXALIAS_SYS_CAST (getlogin_r, int, (char *name, size_t size)); -+# endif -+_GL_CXXALIASWARN (getlogin_r); -+#elif defined GNULIB_POSIXCHECK -+# undef getlogin_r -+# if HAVE_RAW_DECL_GETLOGIN_R -+_GL_WARN_ON_USE (getlogin_r, "getlogin_r is unportable - " -+ "use gnulib module getlogin_r for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETPAGESIZE@ -+# if @REPLACE_GETPAGESIZE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define getpagesize rpl_getpagesize -+# endif -+_GL_FUNCDECL_RPL (getpagesize, int, (void)); -+_GL_CXXALIAS_RPL (getpagesize, int, (void)); -+# else -+# if !@HAVE_GETPAGESIZE@ -+# if !defined getpagesize -+/* This is for POSIX systems. */ -+# if !defined _gl_getpagesize && defined _SC_PAGESIZE -+# if ! (defined __VMS && __VMS_VER < 70000000) -+# define _gl_getpagesize() sysconf (_SC_PAGESIZE) -+# endif -+# endif -+/* This is for older VMS. */ -+# if !defined _gl_getpagesize && defined __VMS -+# ifdef __ALPHA -+# define _gl_getpagesize() 8192 -+# else -+# define _gl_getpagesize() 512 -+# endif -+# endif -+/* This is for BeOS. */ -+# if !defined _gl_getpagesize && @HAVE_OS_H@ -+# include -+# if defined B_PAGE_SIZE -+# define _gl_getpagesize() B_PAGE_SIZE -+# endif -+# endif -+/* This is for AmigaOS4.0. */ -+# if !defined _gl_getpagesize && defined __amigaos4__ -+# define _gl_getpagesize() 2048 -+# endif -+/* This is for older Unix systems. */ -+# if !defined _gl_getpagesize && @HAVE_SYS_PARAM_H@ -+# include -+# ifdef EXEC_PAGESIZE -+# define _gl_getpagesize() EXEC_PAGESIZE -+# else -+# ifdef NBPG -+# ifndef CLSIZE -+# define CLSIZE 1 -+# endif -+# define _gl_getpagesize() (NBPG * CLSIZE) -+# else -+# ifdef NBPC -+# define _gl_getpagesize() NBPC -+# endif -+# endif -+# endif -+# endif -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define getpagesize() _gl_getpagesize () -+# else -+# if !GNULIB_defined_getpagesize_function -+_GL_UNISTD_INLINE int -+getpagesize () -+{ -+ return _gl_getpagesize (); -+} -+# define GNULIB_defined_getpagesize_function 1 -+# endif -+# endif -+# endif -+# endif -+/* Need to cast, because on Cygwin 1.5.x systems, the return type is size_t. */ -+_GL_CXXALIAS_SYS_CAST (getpagesize, int, (void)); -+# endif -+# if @HAVE_DECL_GETPAGESIZE@ -+_GL_CXXALIASWARN (getpagesize); -+# endif -+#elif defined GNULIB_POSIXCHECK -+# undef getpagesize -+# if HAVE_RAW_DECL_GETPAGESIZE -+_GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - " -+ "use gnulib module getpagesize for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GETUSERSHELL@ -+/* Return the next valid login shell on the system, or NULL when the end of -+ the list has been reached. */ -+# if !@HAVE_DECL_GETUSERSHELL@ -+_GL_FUNCDECL_SYS (getusershell, char *, (void)); -+# endif -+_GL_CXXALIAS_SYS (getusershell, char *, (void)); -+_GL_CXXALIASWARN (getusershell); -+#elif defined GNULIB_POSIXCHECK -+# undef getusershell -+# if HAVE_RAW_DECL_GETUSERSHELL -+_GL_WARN_ON_USE (getusershell, "getusershell is unportable - " -+ "use gnulib module getusershell for portability"); -+# endif -+#endif -+ -+#if @GNULIB_GETUSERSHELL@ -+/* Rewind to pointer that is advanced at each getusershell() call. */ -+# if !@HAVE_DECL_GETUSERSHELL@ -+_GL_FUNCDECL_SYS (setusershell, void, (void)); -+# endif -+_GL_CXXALIAS_SYS (setusershell, void, (void)); -+_GL_CXXALIASWARN (setusershell); -+#elif defined GNULIB_POSIXCHECK -+# undef setusershell -+# if HAVE_RAW_DECL_SETUSERSHELL -+_GL_WARN_ON_USE (setusershell, "setusershell is unportable - " -+ "use gnulib module getusershell for portability"); -+# endif -+#endif -+ -+#if @GNULIB_GETUSERSHELL@ -+/* Free the pointer that is advanced at each getusershell() call and -+ associated resources. */ -+# if !@HAVE_DECL_GETUSERSHELL@ -+_GL_FUNCDECL_SYS (endusershell, void, (void)); -+# endif -+_GL_CXXALIAS_SYS (endusershell, void, (void)); -+_GL_CXXALIASWARN (endusershell); -+#elif defined GNULIB_POSIXCHECK -+# undef endusershell -+# if HAVE_RAW_DECL_ENDUSERSHELL -+_GL_WARN_ON_USE (endusershell, "endusershell is unportable - " -+ "use gnulib module getusershell for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_GROUP_MEMBER@ -+/* Determine whether group id is in calling user's group list. */ -+# if !@HAVE_GROUP_MEMBER@ -+_GL_FUNCDECL_SYS (group_member, int, (gid_t gid)); -+# endif -+_GL_CXXALIAS_SYS (group_member, int, (gid_t gid)); -+_GL_CXXALIASWARN (group_member); -+#elif defined GNULIB_POSIXCHECK -+# undef group_member -+# if HAVE_RAW_DECL_GROUP_MEMBER -+_GL_WARN_ON_USE (group_member, "group_member is unportable - " -+ "use gnulib module group-member for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_ISATTY@ -+# if @REPLACE_ISATTY@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef isatty -+# define isatty rpl_isatty -+# endif -+_GL_FUNCDECL_RPL (isatty, int, (int fd)); -+_GL_CXXALIAS_RPL (isatty, int, (int fd)); -+# else -+_GL_CXXALIAS_SYS (isatty, int, (int fd)); -+# endif -+_GL_CXXALIASWARN (isatty); -+#elif defined GNULIB_POSIXCHECK -+# undef isatty -+# if HAVE_RAW_DECL_ISATTY -+_GL_WARN_ON_USE (isatty, "isatty has portability problems on native Windows - " -+ "use gnulib module isatty for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_LCHOWN@ -+/* Change the owner of FILE to UID (if UID is not -1) and the group of FILE -+ to GID (if GID is not -1). Do not follow symbolic links. -+ Return 0 if successful, otherwise -1 and errno set. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_LCHOWN@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef lchown -+# define lchown rpl_lchown -+# endif -+_GL_FUNCDECL_RPL (lchown, int, (char const *file, uid_t owner, gid_t group) -+ _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (lchown, int, (char const *file, uid_t owner, gid_t group)); -+# else -+# if !@HAVE_LCHOWN@ -+_GL_FUNCDECL_SYS (lchown, int, (char const *file, uid_t owner, gid_t group) -+ _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (lchown, int, (char const *file, uid_t owner, gid_t group)); -+# endif -+_GL_CXXALIASWARN (lchown); -+#elif defined GNULIB_POSIXCHECK -+# undef lchown -+# if HAVE_RAW_DECL_LCHOWN -+_GL_WARN_ON_USE (lchown, "lchown is unportable to pre-POSIX.1-2001 systems - " -+ "use gnulib module lchown for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_LINK@ -+/* Create a new hard link for an existing file. -+ Return 0 if successful, otherwise -1 and errno set. -+ See POSIX:2008 specification -+ . */ -+# if @REPLACE_LINK@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define link rpl_link -+# endif -+_GL_FUNCDECL_RPL (link, int, (const char *path1, const char *path2) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (link, int, (const char *path1, const char *path2)); -+# else -+# if !@HAVE_LINK@ -+_GL_FUNCDECL_SYS (link, int, (const char *path1, const char *path2) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (link, int, (const char *path1, const char *path2)); -+# endif -+_GL_CXXALIASWARN (link); -+#elif defined GNULIB_POSIXCHECK -+# undef link -+# if HAVE_RAW_DECL_LINK -+_GL_WARN_ON_USE (link, "link is unportable - " -+ "use gnulib module link for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_LINKAT@ -+/* Create a new hard link for an existing file, relative to two -+ directories. FLAG controls whether symlinks are followed. -+ Return 0 if successful, otherwise -1 and errno set. */ -+# if @REPLACE_LINKAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef linkat -+# define linkat rpl_linkat -+# endif -+_GL_FUNCDECL_RPL (linkat, int, -+ (int fd1, const char *path1, int fd2, const char *path2, -+ int flag) -+ _GL_ARG_NONNULL ((2, 4))); -+_GL_CXXALIAS_RPL (linkat, int, -+ (int fd1, const char *path1, int fd2, const char *path2, -+ int flag)); -+# else -+# if !@HAVE_LINKAT@ -+_GL_FUNCDECL_SYS (linkat, int, -+ (int fd1, const char *path1, int fd2, const char *path2, -+ int flag) -+ _GL_ARG_NONNULL ((2, 4))); -+# endif -+_GL_CXXALIAS_SYS (linkat, int, -+ (int fd1, const char *path1, int fd2, const char *path2, -+ int flag)); -+# endif -+_GL_CXXALIASWARN (linkat); -+#elif defined GNULIB_POSIXCHECK -+# undef linkat -+# if HAVE_RAW_DECL_LINKAT -+_GL_WARN_ON_USE (linkat, "linkat is unportable - " -+ "use gnulib module linkat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_LSEEK@ -+/* Set the offset of FD relative to SEEK_SET, SEEK_CUR, or SEEK_END. -+ Return the new offset if successful, otherwise -1 and errno set. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_LSEEK@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define lseek rpl_lseek -+# endif -+_GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence)); -+_GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence)); -+# else -+_GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence)); -+# endif -+_GL_CXXALIASWARN (lseek); -+#elif defined GNULIB_POSIXCHECK -+# undef lseek -+# if HAVE_RAW_DECL_LSEEK -+_GL_WARN_ON_USE (lseek, "lseek does not fail with ESPIPE on pipes on some " -+ "systems - use gnulib module lseek for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_PIPE@ -+/* Create a pipe, defaulting to O_BINARY mode. -+ Store the read-end as fd[0] and the write-end as fd[1]. -+ Return 0 upon success, or -1 with errno set upon failure. */ -+# if !@HAVE_PIPE@ -+_GL_FUNCDECL_SYS (pipe, int, (int fd[2]) _GL_ARG_NONNULL ((1))); -+# endif -+_GL_CXXALIAS_SYS (pipe, int, (int fd[2])); -+_GL_CXXALIASWARN (pipe); -+#elif defined GNULIB_POSIXCHECK -+# undef pipe -+# if HAVE_RAW_DECL_PIPE -+_GL_WARN_ON_USE (pipe, "pipe is unportable - " -+ "use gnulib module pipe-posix for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_PIPE2@ -+/* Create a pipe, applying the given flags when opening the read-end of the -+ pipe and the write-end of the pipe. -+ The flags are a bitmask, possibly including O_CLOEXEC (defined in ) -+ and O_TEXT, O_BINARY (defined in "binary-io.h"). -+ Store the read-end as fd[0] and the write-end as fd[1]. -+ Return 0 upon success, or -1 with errno set upon failure. -+ See also the Linux man page at -+ . */ -+# if @HAVE_PIPE2@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define pipe2 rpl_pipe2 -+# endif -+_GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags)); -+# else -+_GL_FUNCDECL_SYS (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_SYS (pipe2, int, (int fd[2], int flags)); -+# endif -+_GL_CXXALIASWARN (pipe2); -+#elif defined GNULIB_POSIXCHECK -+# undef pipe2 -+# if HAVE_RAW_DECL_PIPE2 -+_GL_WARN_ON_USE (pipe2, "pipe2 is unportable - " -+ "use gnulib module pipe2 for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_PREAD@ -+/* Read at most BUFSIZE bytes from FD into BUF, starting at OFFSET. -+ Return the number of bytes placed into BUF if successful, otherwise -+ set errno and return -1. 0 indicates EOF. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_PREAD@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef pread -+# define pread rpl_pread -+# endif -+_GL_FUNCDECL_RPL (pread, ssize_t, -+ (int fd, void *buf, size_t bufsize, off_t offset) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (pread, ssize_t, -+ (int fd, void *buf, size_t bufsize, off_t offset)); -+# else -+# if !@HAVE_PREAD@ -+_GL_FUNCDECL_SYS (pread, ssize_t, -+ (int fd, void *buf, size_t bufsize, off_t offset) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (pread, ssize_t, -+ (int fd, void *buf, size_t bufsize, off_t offset)); -+# endif -+_GL_CXXALIASWARN (pread); -+#elif defined GNULIB_POSIXCHECK -+# undef pread -+# if HAVE_RAW_DECL_PREAD -+_GL_WARN_ON_USE (pread, "pread is unportable - " -+ "use gnulib module pread for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_PWRITE@ -+/* Write at most BUFSIZE bytes from BUF into FD, starting at OFFSET. -+ Return the number of bytes written if successful, otherwise -+ set errno and return -1. 0 indicates nothing written. See the -+ POSIX:2008 specification -+ . */ -+# if @REPLACE_PWRITE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef pwrite -+# define pwrite rpl_pwrite -+# endif -+_GL_FUNCDECL_RPL (pwrite, ssize_t, -+ (int fd, const void *buf, size_t bufsize, off_t offset) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (pwrite, ssize_t, -+ (int fd, const void *buf, size_t bufsize, off_t offset)); -+# else -+# if !@HAVE_PWRITE@ -+_GL_FUNCDECL_SYS (pwrite, ssize_t, -+ (int fd, const void *buf, size_t bufsize, off_t offset) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (pwrite, ssize_t, -+ (int fd, const void *buf, size_t bufsize, off_t offset)); -+# endif -+_GL_CXXALIASWARN (pwrite); -+#elif defined GNULIB_POSIXCHECK -+# undef pwrite -+# if HAVE_RAW_DECL_PWRITE -+_GL_WARN_ON_USE (pwrite, "pwrite is unportable - " -+ "use gnulib module pwrite for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_READ@ -+/* Read up to COUNT bytes from file descriptor FD into the buffer starting -+ at BUF. See the POSIX:2008 specification -+ . */ -+# if @REPLACE_READ@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef read -+# define read rpl_read -+# endif -+_GL_FUNCDECL_RPL (read, ssize_t, (int fd, void *buf, size_t count) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (read, ssize_t, (int fd, void *buf, size_t count)); -+# else -+/* Need to cast, because on mingw, the third parameter is -+ unsigned int count -+ and the return type is 'int'. */ -+_GL_CXXALIAS_SYS_CAST (read, ssize_t, (int fd, void *buf, size_t count)); -+# endif -+_GL_CXXALIASWARN (read); -+#endif -+ -+ -+#if @GNULIB_READLINK@ -+/* Read the contents of the symbolic link FILE and place the first BUFSIZE -+ bytes of it into BUF. Return the number of bytes placed into BUF if -+ successful, otherwise -1 and errno set. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_READLINK@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define readlink rpl_readlink -+# endif -+_GL_FUNCDECL_RPL (readlink, ssize_t, -+ (const char *file, char *buf, size_t bufsize) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (readlink, ssize_t, -+ (const char *file, char *buf, size_t bufsize)); -+# else -+# if !@HAVE_READLINK@ -+_GL_FUNCDECL_SYS (readlink, ssize_t, -+ (const char *file, char *buf, size_t bufsize) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (readlink, ssize_t, -+ (const char *file, char *buf, size_t bufsize)); -+# endif -+_GL_CXXALIASWARN (readlink); -+#elif defined GNULIB_POSIXCHECK -+# undef readlink -+# if HAVE_RAW_DECL_READLINK -+_GL_WARN_ON_USE (readlink, "readlink is unportable - " -+ "use gnulib module readlink for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_READLINKAT@ -+# if !@HAVE_READLINKAT@ -+_GL_FUNCDECL_SYS (readlinkat, ssize_t, -+ (int fd, char const *file, char *buf, size_t len) -+ _GL_ARG_NONNULL ((2, 3))); -+# endif -+_GL_CXXALIAS_SYS (readlinkat, ssize_t, -+ (int fd, char const *file, char *buf, size_t len)); -+_GL_CXXALIASWARN (readlinkat); -+#elif defined GNULIB_POSIXCHECK -+# undef readlinkat -+# if HAVE_RAW_DECL_READLINKAT -+_GL_WARN_ON_USE (readlinkat, "readlinkat is not portable - " -+ "use gnulib module readlinkat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_RMDIR@ -+/* Remove the directory DIR. */ -+# if @REPLACE_RMDIR@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# define rmdir rpl_rmdir -+# endif -+_GL_FUNCDECL_RPL (rmdir, int, (char const *name) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (rmdir, int, (char const *name)); -+# else -+_GL_CXXALIAS_SYS (rmdir, int, (char const *name)); -+# endif -+_GL_CXXALIASWARN (rmdir); -+#elif defined GNULIB_POSIXCHECK -+# undef rmdir -+# if HAVE_RAW_DECL_RMDIR -+_GL_WARN_ON_USE (rmdir, "rmdir is unportable - " -+ "use gnulib module rmdir for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_SETHOSTNAME@ -+/* Set the host name of the machine. -+ The host name may or may not be fully qualified. -+ -+ Put LEN bytes of NAME into the host name. -+ Return 0 if successful, otherwise, set errno and return -1. -+ -+ Platforms with no ability to set the hostname return -1 and set -+ errno = ENOSYS. */ -+# if !@HAVE_SETHOSTNAME@ || !@HAVE_DECL_SETHOSTNAME@ -+_GL_FUNCDECL_SYS (sethostname, int, (const char *name, size_t len) -+ _GL_ARG_NONNULL ((1))); -+# endif -+/* Need to cast, because on Solaris 11 2011-10, Mac OS X 10.5, IRIX 6.5 -+ and FreeBSD 6.4 the second parameter is int. On Solaris 11 -+ 2011-10, the first parameter is not const. */ -+_GL_CXXALIAS_SYS_CAST (sethostname, int, (const char *name, size_t len)); -+_GL_CXXALIASWARN (sethostname); -+#elif defined GNULIB_POSIXCHECK -+# undef sethostname -+# if HAVE_RAW_DECL_SETHOSTNAME -+_GL_WARN_ON_USE (sethostname, "sethostname is unportable - " -+ "use gnulib module sethostname for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_SLEEP@ -+/* Pause the execution of the current thread for N seconds. -+ Returns the number of seconds left to sleep. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_SLEEP@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef sleep -+# define sleep rpl_sleep -+# endif -+_GL_FUNCDECL_RPL (sleep, unsigned int, (unsigned int n)); -+_GL_CXXALIAS_RPL (sleep, unsigned int, (unsigned int n)); -+# else -+# if !@HAVE_SLEEP@ -+_GL_FUNCDECL_SYS (sleep, unsigned int, (unsigned int n)); -+# endif -+_GL_CXXALIAS_SYS (sleep, unsigned int, (unsigned int n)); -+# endif -+_GL_CXXALIASWARN (sleep); -+#elif defined GNULIB_POSIXCHECK -+# undef sleep -+# if HAVE_RAW_DECL_SLEEP -+_GL_WARN_ON_USE (sleep, "sleep is unportable - " -+ "use gnulib module sleep for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_SYMLINK@ -+# if @REPLACE_SYMLINK@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef symlink -+# define symlink rpl_symlink -+# endif -+_GL_FUNCDECL_RPL (symlink, int, (char const *contents, char const *file) -+ _GL_ARG_NONNULL ((1, 2))); -+_GL_CXXALIAS_RPL (symlink, int, (char const *contents, char const *file)); -+# else -+# if !@HAVE_SYMLINK@ -+_GL_FUNCDECL_SYS (symlink, int, (char const *contents, char const *file) -+ _GL_ARG_NONNULL ((1, 2))); -+# endif -+_GL_CXXALIAS_SYS (symlink, int, (char const *contents, char const *file)); -+# endif -+_GL_CXXALIASWARN (symlink); -+#elif defined GNULIB_POSIXCHECK -+# undef symlink -+# if HAVE_RAW_DECL_SYMLINK -+_GL_WARN_ON_USE (symlink, "symlink is not portable - " -+ "use gnulib module symlink for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_SYMLINKAT@ -+# if !@HAVE_SYMLINKAT@ -+_GL_FUNCDECL_SYS (symlinkat, int, -+ (char const *contents, int fd, char const *file) -+ _GL_ARG_NONNULL ((1, 3))); -+# endif -+_GL_CXXALIAS_SYS (symlinkat, int, -+ (char const *contents, int fd, char const *file)); -+_GL_CXXALIASWARN (symlinkat); -+#elif defined GNULIB_POSIXCHECK -+# undef symlinkat -+# if HAVE_RAW_DECL_SYMLINKAT -+_GL_WARN_ON_USE (symlinkat, "symlinkat is not portable - " -+ "use gnulib module symlinkat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_TTYNAME_R@ -+/* Store at most BUFLEN characters of the pathname of the terminal FD is -+ open on in BUF. Return 0 on success, otherwise an error number. */ -+# if @REPLACE_TTYNAME_R@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef ttyname_r -+# define ttyname_r rpl_ttyname_r -+# endif -+_GL_FUNCDECL_RPL (ttyname_r, int, -+ (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (ttyname_r, int, -+ (int fd, char *buf, size_t buflen)); -+# else -+# if !@HAVE_DECL_TTYNAME_R@ -+_GL_FUNCDECL_SYS (ttyname_r, int, -+ (int fd, char *buf, size_t buflen) _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (ttyname_r, int, -+ (int fd, char *buf, size_t buflen)); -+# endif -+_GL_CXXALIASWARN (ttyname_r); -+#elif defined GNULIB_POSIXCHECK -+# undef ttyname_r -+# if HAVE_RAW_DECL_TTYNAME_R -+_GL_WARN_ON_USE (ttyname_r, "ttyname_r is not portable - " -+ "use gnulib module ttyname_r for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_UNLINK@ -+# if @REPLACE_UNLINK@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef unlink -+# define unlink rpl_unlink -+# endif -+_GL_FUNCDECL_RPL (unlink, int, (char const *file) _GL_ARG_NONNULL ((1))); -+_GL_CXXALIAS_RPL (unlink, int, (char const *file)); -+# else -+_GL_CXXALIAS_SYS (unlink, int, (char const *file)); -+# endif -+_GL_CXXALIASWARN (unlink); -+#elif defined GNULIB_POSIXCHECK -+# undef unlink -+# if HAVE_RAW_DECL_UNLINK -+_GL_WARN_ON_USE (unlink, "unlink is not portable - " -+ "use gnulib module unlink for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_UNLINKAT@ -+# if @REPLACE_UNLINKAT@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef unlinkat -+# define unlinkat rpl_unlinkat -+# endif -+_GL_FUNCDECL_RPL (unlinkat, int, (int fd, char const *file, int flag) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (unlinkat, int, (int fd, char const *file, int flag)); -+# else -+# if !@HAVE_UNLINKAT@ -+_GL_FUNCDECL_SYS (unlinkat, int, (int fd, char const *file, int flag) -+ _GL_ARG_NONNULL ((2))); -+# endif -+_GL_CXXALIAS_SYS (unlinkat, int, (int fd, char const *file, int flag)); -+# endif -+_GL_CXXALIASWARN (unlinkat); -+#elif defined GNULIB_POSIXCHECK -+# undef unlinkat -+# if HAVE_RAW_DECL_UNLINKAT -+_GL_WARN_ON_USE (unlinkat, "unlinkat is not portable - " -+ "use gnulib module openat for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_USLEEP@ -+/* Pause the execution of the current thread for N microseconds. -+ Returns 0 on completion, or -1 on range error. -+ See the POSIX:2001 specification -+ . */ -+# if @REPLACE_USLEEP@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef usleep -+# define usleep rpl_usleep -+# endif -+_GL_FUNCDECL_RPL (usleep, int, (useconds_t n)); -+_GL_CXXALIAS_RPL (usleep, int, (useconds_t n)); -+# else -+# if !@HAVE_USLEEP@ -+_GL_FUNCDECL_SYS (usleep, int, (useconds_t n)); -+# endif -+_GL_CXXALIAS_SYS (usleep, int, (useconds_t n)); -+# endif -+_GL_CXXALIASWARN (usleep); -+#elif defined GNULIB_POSIXCHECK -+# undef usleep -+# if HAVE_RAW_DECL_USLEEP -+_GL_WARN_ON_USE (usleep, "usleep is unportable - " -+ "use gnulib module usleep for portability"); -+# endif -+#endif -+ -+ -+#if @GNULIB_WRITE@ -+/* Write up to COUNT bytes starting at BUF to file descriptor FD. -+ See the POSIX:2008 specification -+ . */ -+# if @REPLACE_WRITE@ -+# if !(defined __cplusplus && defined GNULIB_NAMESPACE) -+# undef write -+# define write rpl_write -+# endif -+_GL_FUNCDECL_RPL (write, ssize_t, (int fd, const void *buf, size_t count) -+ _GL_ARG_NONNULL ((2))); -+_GL_CXXALIAS_RPL (write, ssize_t, (int fd, const void *buf, size_t count)); -+# else -+/* Need to cast, because on mingw, the third parameter is -+ unsigned int count -+ and the return type is 'int'. */ -+_GL_CXXALIAS_SYS_CAST (write, ssize_t, (int fd, const void *buf, size_t count)); -+# endif -+_GL_CXXALIASWARN (write); -+#endif -+ -+_GL_INLINE_HEADER_END -+ -+#endif /* _@GUARD_PREFIX@_UNISTD_H */ -+#endif /* _@GUARD_PREFIX@_UNISTD_H */ -diff -Naur libiconv-20130504/srclib/unitypes.in.h libiconv-20130504.patch/srclib/unitypes.in.h ---- libiconv-20130504/srclib/unitypes.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/unitypes.in.h 2013-05-04 10:20:07.801698283 +0200 -@@ -0,0 +1,46 @@ -+/* Elementary types and macros for the GNU UniString library. -+ Copyright (C) 2002, 2005-2006, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _UNITYPES_H -+#define _UNITYPES_H -+ -+/* Get uint8_t, uint16_t, uint32_t. */ -+#include -+ -+/* Type representing a Unicode character. */ -+typedef uint32_t ucs4_t; -+ -+/* Attribute of a function whose result depends only on the arguments -+ (not pointers!) and which has no side effects. */ -+#ifndef _UC_ATTRIBUTE_CONST -+# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) -+# define _UC_ATTRIBUTE_CONST __attribute__ ((__const__)) -+# else -+# define _UC_ATTRIBUTE_CONST -+# endif -+#endif -+ -+/* Attribute of a function whose result depends only on the arguments -+ (possibly pointers) and global memory, and which has no side effects. */ -+#ifndef _UC_ATTRIBUTE_PURE -+# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -+# define _UC_ATTRIBUTE_PURE __attribute__ ((__pure__)) -+# else -+# define _UC_ATTRIBUTE_PURE -+# endif -+#endif -+ -+#endif /* _UNITYPES_H */ -diff -Naur libiconv-20130504/srclib/uniwidth/cjk.h libiconv-20130504.patch/srclib/uniwidth/cjk.h ---- libiconv-20130504/srclib/uniwidth/cjk.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/uniwidth/cjk.h 2013-05-04 10:20:07.817698237 +0200 -@@ -0,0 +1,37 @@ -+/* Test for CJK encoding. -+ Copyright (C) 2001-2002, 2005-2007, 2009-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2002. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include "streq.h" -+ -+static int -+is_cjk_encoding (const char *encoding) -+{ -+ if (0 -+ /* Legacy Japanese encodings */ -+ || STREQ_OPT (encoding, "EUC-JP", 'E', 'U', 'C', '-', 'J', 'P', 0, 0, 0) -+ /* Legacy Chinese encodings */ -+ || STREQ_OPT (encoding, "GB2312", 'G', 'B', '2', '3', '1', '2', 0, 0, 0) -+ || STREQ_OPT (encoding, "GBK", 'G', 'B', 'K', 0, 0, 0, 0, 0, 0) -+ || STREQ_OPT (encoding, "EUC-TW", 'E', 'U', 'C', '-', 'T', 'W', 0, 0, 0) -+ || STREQ_OPT (encoding, "BIG5", 'B', 'I', 'G', '5', 0, 0, 0, 0, 0) -+ /* Legacy Korean encodings */ -+ || STREQ_OPT (encoding, "EUC-KR", 'E', 'U', 'C', '-', 'K', 'R', 0, 0, 0) -+ || STREQ_OPT (encoding, "CP949", 'C', 'P', '9', '4', '9', 0, 0, 0, 0) -+ || STREQ_OPT (encoding, "JOHAB", 'J', 'O', 'H', 'A', 'B', 0, 0, 0, 0)) -+ return 1; -+ return 0; -+} -diff -Naur libiconv-20130504/srclib/uniwidth/width.c libiconv-20130504.patch/srclib/uniwidth/width.c ---- libiconv-20130504/srclib/uniwidth/width.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/uniwidth/width.c 2013-05-04 10:20:07.823698219 +0200 -@@ -0,0 +1,368 @@ -+/* Determine display width of Unicode character. -+ Copyright (C) 2001-2002, 2006-2013 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2002. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include "uniwidth.h" -+ -+#include "cjk.h" -+ -+/* -+ * Non-spacing attribute table. -+ * Consists of: -+ * - Non-spacing characters; generated from PropList.txt or -+ * "grep '^[^;]*;[^;]*;[^;]*;[^;]*;NSM;' UnicodeData.txt" -+ * - Format control characters; generated from -+ * "grep '^[^;]*;[^;]*;Cf;' UnicodeData.txt" -+ * - Zero width characters; generated from -+ * "grep '^[^;]*;ZERO WIDTH ' UnicodeData.txt" -+ */ -+static const unsigned char nonspacing_table_data[27*64] = { -+ /* 0x0000-0x01ff */ -+ 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, /* 0x0000-0x003f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, /* 0x0040-0x007f */ -+ 0xff, 0xff, 0xff, 0xff, 0x00, 0x20, 0x00, 0x00, /* 0x0080-0x00bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x00c0-0x00ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0100-0x013f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0140-0x017f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0180-0x01bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x01c0-0x01ff */ -+ /* 0x0200-0x03ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0200-0x023f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0240-0x027f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0280-0x02bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x02c0-0x02ff */ -+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x0300-0x033f */ -+ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00, /* 0x0340-0x037f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0380-0x03bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x03c0-0x03ff */ -+ /* 0x0400-0x05ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0400-0x043f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0440-0x047f */ -+ 0xf8, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0480-0x04bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x04c0-0x04ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0500-0x053f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0540-0x057f */ -+ 0x00, 0x00, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xbf, /* 0x0580-0x05bf */ -+ 0xb6, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x05c0-0x05ff */ -+ /* 0x0600-0x07ff */ -+ 0x0f, 0x00, 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, /* 0x0600-0x063f */ -+ 0x00, 0xf8, 0xff, 0xff, 0x00, 0x00, 0x01, 0x00, /* 0x0640-0x067f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0680-0x06bf */ -+ 0x00, 0x00, 0xc0, 0xbf, 0x9f, 0x3d, 0x00, 0x00, /* 0x06c0-0x06ff */ -+ 0x00, 0x80, 0x02, 0x00, 0x00, 0x00, 0xff, 0xff, /* 0x0700-0x073f */ -+ 0xff, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0740-0x077f */ -+ 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0x01, 0x00, /* 0x0780-0x07bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x0f, 0x00, /* 0x07c0-0x07ff */ -+ /* 0x0800-0x09ff */ -+ 0x00, 0x00, 0xc0, 0xfb, 0xef, 0x3e, 0x00, 0x00, /* 0x0800-0x083f */ -+ 0x00, 0x00, 0x00, 0x0e, 0x00, 0x00, 0x00, 0x00, /* 0x0840-0x087f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0880-0x08bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x08c0-0x08ff */ -+ 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x14, /* 0x0900-0x093f */ -+ 0xfe, 0x21, 0xfe, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0940-0x097f */ -+ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0980-0x09bf */ -+ 0x1e, 0x20, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x09c0-0x09ff */ -+ /* 0x0a00-0x0bff */ -+ 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0a00-0x0a3f */ -+ 0x86, 0x39, 0x02, 0x00, 0x00, 0x00, 0x23, 0x00, /* 0x0a40-0x0a7f */ -+ 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0a80-0x0abf */ -+ 0xbe, 0x21, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0ac0-0x0aff */ -+ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x90, /* 0x0b00-0x0b3f */ -+ 0x1e, 0x20, 0x40, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0b40-0x0b7f */ -+ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0b80-0x0bbf */ -+ 0x01, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0bc0-0x0bff */ -+ /* 0x0c00-0x0dff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, /* 0x0c00-0x0c3f */ -+ 0xc1, 0x3d, 0x60, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0c40-0x0c7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, /* 0x0c80-0x0cbf */ -+ 0x00, 0x30, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0cc0-0x0cff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0d00-0x0d3f */ -+ 0x1e, 0x20, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, /* 0x0d40-0x0d7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0d80-0x0dbf */ -+ 0x00, 0x04, 0x5c, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0dc0-0x0dff */ -+ /* 0x0e00-0x0fff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf2, 0x07, /* 0x0e00-0x0e3f */ -+ 0x80, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0e40-0x0e7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf2, 0x1b, /* 0x0e80-0x0ebf */ -+ 0x00, 0x3f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0ec0-0x0eff */ -+ 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0xa0, 0x02, /* 0x0f00-0x0f3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x7f, /* 0x0f40-0x0f7f */ -+ 0xdf, 0xe0, 0xff, 0xfe, 0xff, 0xff, 0xff, 0x1f, /* 0x0f80-0x0fbf */ -+ 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x0fc0-0x0fff */ -+ /* 0x1000-0x11ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0xfd, 0x66, /* 0x1000-0x103f */ -+ 0x00, 0x00, 0x00, 0xc3, 0x01, 0x00, 0x1e, 0x00, /* 0x1040-0x107f */ -+ 0x64, 0x20, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, /* 0x1080-0x10bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10c0-0x10ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1100-0x113f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1140-0x117f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1180-0x11bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11c0-0x11ff */ -+ /* 0x1200-0x13ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1200-0x123f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1240-0x127f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1280-0x12bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x12c0-0x12ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1300-0x133f */ -+ 0x00, 0x00, 0x00, 0xe0, 0x00, 0x00, 0x00, 0x00, /* 0x1340-0x137f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1380-0x13bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x13c0-0x13ff */ -+ /* 0x1600-0x17ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1600-0x163f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1640-0x167f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1680-0x16bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x16c0-0x16ff */ -+ 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00, 0x1c, 0x00, /* 0x1700-0x173f */ -+ 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x0c, 0x00, /* 0x1740-0x177f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb0, 0x3f, /* 0x1780-0x17bf */ -+ 0x40, 0xfe, 0x0f, 0x20, 0x00, 0x00, 0x00, 0x00, /* 0x17c0-0x17ff */ -+ /* 0x1800-0x19ff */ -+ 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1800-0x183f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1840-0x187f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, /* 0x1880-0x18bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18c0-0x18ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x87, 0x01, 0x04, 0x0e, /* 0x1900-0x193f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1940-0x197f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1980-0x19bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x19c0-0x19ff */ -+ /* 0x1a00-0x1bff */ -+ 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x00, /* 0x1a00-0x1a3f */ -+ 0x00, 0x00, 0x40, 0x7f, 0xe5, 0x1f, 0xf8, 0x9f, /* 0x1a40-0x1a7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1a80-0x1abf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1ac0-0x1aff */ -+ 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xd0, 0x17, /* 0x1b00-0x1b3f */ -+ 0x04, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x0f, 0x00, /* 0x1b40-0x1b7f */ -+ 0x03, 0x00, 0x00, 0x00, 0x3c, 0x03, 0x00, 0x00, /* 0x1b80-0x1bbf */ -+ 0x00, 0x00, 0x00, 0x00, 0x40, 0xa3, 0x03, 0x00, /* 0x1bc0-0x1bff */ -+ /* 0x1c00-0x1dff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0xcf, 0x00, /* 0x1c00-0x1c3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1c40-0x1c7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1c80-0x1cbf */ -+ 0x00, 0x00, 0xf7, 0xff, 0xfd, 0x21, 0x00, 0x00, /* 0x1cc0-0x1cff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d00-0x1d3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d40-0x1d7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d80-0x1dbf */ -+ 0xff, 0xff, 0xff, 0xff, 0x7f, 0x00, 0x00, 0xf0, /* 0x1dc0-0x1dff */ -+ /* 0x2000-0x21ff */ -+ 0x00, 0xf8, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, /* 0x2000-0x203f */ -+ 0x00, 0x00, 0x00, 0x00, 0x1f, 0xfc, 0x00, 0x00, /* 0x2040-0x207f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2080-0x20bf */ -+ 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x01, 0x00, /* 0x20c0-0x20ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2100-0x213f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2140-0x217f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2180-0x21bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x21c0-0x21ff */ -+ /* 0x2c00-0x2dff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2c00-0x2c3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2c40-0x2c7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2c80-0x2cbf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, /* 0x2cc0-0x2cff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2d00-0x2d3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, /* 0x2d40-0x2d7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x2d80-0x2dbf */ -+ 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, /* 0x2dc0-0x2dff */ -+ /* 0x3000-0x31ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, /* 0x3000-0x303f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3040-0x307f */ -+ 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, /* 0x3080-0x30bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x30c0-0x30ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3100-0x313f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3140-0x317f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x3180-0x31bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x31c0-0x31ff */ -+ /* 0xa600-0xa7ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa600-0xa63f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x07, 0x30, /* 0xa640-0xa67f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa680-0xa6bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, /* 0xa6c0-0xa6ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa700-0xa73f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa740-0xa77f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa780-0xa7bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa7c0-0xa7ff */ -+ /* 0xa800-0xa9ff */ -+ 0x44, 0x08, 0x00, 0x00, 0x60, 0x00, 0x00, 0x00, /* 0xa800-0xa83f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa840-0xa87f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa880-0xa8bf */ -+ 0x10, 0x00, 0x00, 0x00, 0xff, 0xff, 0x03, 0x00, /* 0xa8c0-0xa8ff */ -+ 0x00, 0x00, 0x00, 0x00, 0xc0, 0x3f, 0x00, 0x00, /* 0xa900-0xa93f */ -+ 0x80, 0xff, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa940-0xa97f */ -+ 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc8, 0x13, /* 0xa980-0xa9bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa9c0-0xa9ff */ -+ /* 0xaa00-0xabff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x7e, 0x66, 0x00, /* 0xaa00-0xaa3f */ -+ 0x08, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xaa40-0xaa7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x9d, 0xc1, /* 0xaa80-0xaabf */ -+ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xaac0-0xaaff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xab00-0xab3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xab40-0xab7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xab80-0xabbf */ -+ 0x00, 0x00, 0x00, 0x00, 0x20, 0x21, 0x00, 0x00, /* 0xabc0-0xabff */ -+ /* 0xfa00-0xfbff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfa00-0xfa3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfa40-0xfa7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfa80-0xfabf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfac0-0xfaff */ -+ 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, /* 0xfb00-0xfb3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfb40-0xfb7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfb80-0xfbbf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfbc0-0xfbff */ -+ /* 0xfe00-0xffff */ -+ 0xff, 0xff, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x00, /* 0xfe00-0xfe3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfe40-0xfe7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xfe80-0xfebf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, /* 0xfec0-0xfeff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xff00-0xff3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xff40-0xff7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xff80-0xffbf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0e, /* 0xffc0-0xffff */ -+ /* 0x10000-0x101ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10000-0x1003f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10040-0x1007f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10080-0x100bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x100c0-0x100ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10100-0x1013f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10140-0x1017f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10180-0x101bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, /* 0x101c0-0x101ff */ -+ /* 0x10a00-0x10bff */ -+ 0x6e, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x87, /* 0x10a00-0x10a3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10a40-0x10a7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10a80-0x10abf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10ac0-0x10aff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10b00-0x10b3f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10b40-0x10b7f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10b80-0x10bbf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x10bc0-0x10bff */ -+ /* 0x11000-0x111ff */ -+ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, /* 0x11000-0x1103f */ -+ 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11040-0x1107f */ -+ 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x78, 0x26, /* 0x11080-0x110bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x110c0-0x110ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11100-0x1113f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11140-0x1117f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x11180-0x111bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x111c0-0x111ff */ -+ /* 0x1d000-0x1d1ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d000-0x1d03f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d040-0x1d07f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d080-0x1d0bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d0c0-0x1d0ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d100-0x1d13f */ -+ 0x00, 0x00, 0x00, 0x00, 0x80, 0x03, 0xf8, 0xff, /* 0x1d140-0x1d17f */ -+ 0xe7, 0x0f, 0x00, 0x00, 0x00, 0x3c, 0x00, 0x00, /* 0x1d180-0x1d1bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d1c0-0x1d1ff */ -+ /* 0x1d200-0x1d3ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d200-0x1d23f */ -+ 0x1c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d240-0x1d27f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d280-0x1d2bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d2c0-0x1d2ff */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d300-0x1d33f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d340-0x1d37f */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x1d380-0x1d3bf */ -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* 0x1d3c0-0x1d3ff */ -+}; -+static const signed char nonspacing_table_ind[240] = { -+ 0, 1, 2, 3, 4, 5, 6, 7, /* 0x0000-0x0fff */ -+ 8, 9, -1, 10, 11, 12, 13, -1, /* 0x1000-0x1fff */ -+ 14, -1, -1, -1, -1, -1, 15, -1, /* 0x2000-0x2fff */ -+ 16, -1, -1, -1, -1, -1, -1, -1, /* 0x3000-0x3fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x4000-0x4fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x5000-0x5fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x6000-0x6fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x7000-0x7fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x8000-0x8fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x9000-0x9fff */ -+ -1, -1, -1, 17, 18, 19, -1, -1, /* 0xa000-0xafff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0xb000-0xbfff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0xc000-0xcfff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0xd000-0xdfff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0xe000-0xefff */ -+ -1, -1, -1, -1, -1, 20, -1, 21, /* 0xf000-0xffff */ -+ 22, -1, -1, -1, -1, 23, -1, -1, /* 0x10000-0x10fff */ -+ 24, -1, -1, -1, -1, -1, -1, -1, /* 0x11000-0x11fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x12000-0x12fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x13000-0x13fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x14000-0x14fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x15000-0x15fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x16000-0x16fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x17000-0x17fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x18000-0x18fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x19000-0x19fff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x1a000-0x1afff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x1b000-0x1bfff */ -+ -1, -1, -1, -1, -1, -1, -1, -1, /* 0x1c000-0x1cfff */ -+ 25, 26, -1, -1, -1, -1, -1, -1 /* 0x1d000-0x1dfff */ -+}; -+ -+/* Determine number of column positions required for UC. */ -+int -+uc_width (ucs4_t uc, const char *encoding) -+{ -+ /* Test for non-spacing or control character. */ -+ if ((uc >> 9) < 240) -+ { -+ int ind = nonspacing_table_ind[uc >> 9]; -+ if (ind >= 0) -+ if ((nonspacing_table_data[64*ind + ((uc >> 3) & 63)] >> (uc & 7)) & 1) -+ { -+ if (uc > 0 && uc < 0xa0) -+ return -1; -+ else -+ return 0; -+ } -+ } -+ else if ((uc >> 9) == (0xe0000 >> 9)) -+ { -+ if (uc >= 0xe0100) -+ { -+ if (uc <= 0xe01ef) -+ return 0; -+ } -+ else -+ { -+ if (uc >= 0xe0020 ? uc <= 0xe007f : uc == 0xe0001) -+ return 0; -+ } -+ } -+ /* Test for double-width character. -+ * Generated from "grep '^[^;]\{4,5\};[WF]' EastAsianWidth.txt" -+ * and "grep '^[^;]\{4,5\};[^WF]' EastAsianWidth.txt" -+ */ -+ if (uc >= 0x1100 -+ && ((uc < 0x1160) /* Hangul Jamo */ -+ || (uc >= 0x2329 && uc < 0x232b) /* Angle Brackets */ -+ || (uc >= 0x2e80 && uc < 0xa4d0 /* CJK ... Yi */ -+ && !(uc == 0x303f) && !(uc >= 0x4dc0 && uc < 0x4e00)) -+ || (uc >= 0xac00 && uc < 0xd7a4) /* Hangul Syllables */ -+ || (uc >= 0xf900 && uc < 0xfb00) /* CJK Compatibility Ideographs */ -+ || (uc >= 0xfe10 && uc < 0xfe20) /* Presentation Forms for Vertical */ -+ || (uc >= 0xfe30 && uc < 0xfe70) /* CJK Compatibility Forms */ -+ || (uc >= 0xff00 && uc < 0xff61) /* Fullwidth Forms */ -+ || (uc >= 0xffe0 && uc < 0xffe7) /* Fullwidth Signs */ -+ || (uc >= 0x20000 && uc <= 0x2ffff) /* Supplementary Ideographic Plane */ -+ || (uc >= 0x30000 && uc <= 0x3ffff) /* Tertiary Ideographic Plane */ -+ ) ) -+ return 2; -+ /* In ancient CJK encodings, Cyrillic and most other characters are -+ double-width as well. */ -+ if (uc >= 0x00A1 && uc < 0xFF61 && uc != 0x20A9 -+ && is_cjk_encoding (encoding)) -+ return 2; -+ return 1; -+} -diff -Naur libiconv-20130504/srclib/uniwidth.in.h libiconv-20130504.patch/srclib/uniwidth.in.h ---- libiconv-20130504/srclib/uniwidth.in.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/uniwidth.in.h 2013-05-04 10:20:07.806698269 +0200 -@@ -0,0 +1,72 @@ -+/* Display width functions. -+ Copyright (C) 2001-2002, 2005, 2007, 2009-2013 Free Software Foundation, -+ Inc. -+ -+ This program is free software: you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _UNIWIDTH_H -+#define _UNIWIDTH_H -+ -+#include "unitypes.h" -+ -+/* Get size_t. */ -+#include -+ -+/* Get locale_charset() declaration. */ -+#include "localcharset.h" -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* Display width. */ -+ -+/* These functions are locale dependent. The encoding argument identifies -+ the encoding (e.g. "ISO-8859-2" for Polish). */ -+ -+/* Determine number of column positions required for UC. */ -+extern int -+ uc_width (ucs4_t uc, const char *encoding) -+ _UC_ATTRIBUTE_PURE; -+ -+/* Determine number of column positions required for first N units -+ (or fewer if S ends before this) in S. */ -+extern int -+ u8_width (const uint8_t *s, size_t n, const char *encoding) -+ _UC_ATTRIBUTE_PURE; -+extern int -+ u16_width (const uint16_t *s, size_t n, const char *encoding) -+ _UC_ATTRIBUTE_PURE; -+extern int -+ u32_width (const uint32_t *s, size_t n, const char *encoding) -+ _UC_ATTRIBUTE_PURE; -+ -+/* Determine number of column positions required for S. */ -+extern int -+ u8_strwidth (const uint8_t *s, const char *encoding) -+ _UC_ATTRIBUTE_PURE; -+extern int -+ u16_strwidth (const uint16_t *s, const char *encoding) -+ _UC_ATTRIBUTE_PURE; -+extern int -+ u32_strwidth (const uint32_t *s, const char *encoding) -+ _UC_ATTRIBUTE_PURE; -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+#endif /* _UNIWIDTH_H */ -diff -Naur libiconv-20130504/srclib/unlocked-io.h libiconv-20130504.patch/srclib/unlocked-io.h ---- libiconv-20130504/srclib/unlocked-io.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/unlocked-io.h 2013-05-04 10:20:07.828698204 +0200 -@@ -0,0 +1,136 @@ -+/* Prefer faster, non-thread-safe stdio functions if available. -+ -+ Copyright (C) 2001-2004, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Jim Meyering. */ -+ -+#ifndef UNLOCKED_IO_H -+# define UNLOCKED_IO_H 1 -+ -+/* These are wrappers for functions/macros from the GNU C library, and -+ from other C libraries supporting POSIX's optional thread-safe functions. -+ -+ The standard I/O functions are thread-safe. These *_unlocked ones are -+ more efficient but not thread-safe. That they're not thread-safe is -+ fine since all of the applications in this package are single threaded. -+ -+ Also, some code that is shared with the GNU C library may invoke -+ the *_unlocked functions directly. On hosts that lack those -+ functions, invoke the non-thread-safe versions instead. */ -+ -+# include -+ -+# if HAVE_DECL_CLEARERR_UNLOCKED -+# undef clearerr -+# define clearerr(x) clearerr_unlocked (x) -+# else -+# define clearerr_unlocked(x) clearerr (x) -+# endif -+ -+# if HAVE_DECL_FEOF_UNLOCKED -+# undef feof -+# define feof(x) feof_unlocked (x) -+# else -+# define feof_unlocked(x) feof (x) -+# endif -+ -+# if HAVE_DECL_FERROR_UNLOCKED -+# undef ferror -+# define ferror(x) ferror_unlocked (x) -+# else -+# define ferror_unlocked(x) ferror (x) -+# endif -+ -+# if HAVE_DECL_FFLUSH_UNLOCKED -+# undef fflush -+# define fflush(x) fflush_unlocked (x) -+# else -+# define fflush_unlocked(x) fflush (x) -+# endif -+ -+# if HAVE_DECL_FGETS_UNLOCKED -+# undef fgets -+# define fgets(x,y,z) fgets_unlocked (x,y,z) -+# else -+# define fgets_unlocked(x,y,z) fgets (x,y,z) -+# endif -+ -+# if HAVE_DECL_FPUTC_UNLOCKED -+# undef fputc -+# define fputc(x,y) fputc_unlocked (x,y) -+# else -+# define fputc_unlocked(x,y) fputc (x,y) -+# endif -+ -+# if HAVE_DECL_FPUTS_UNLOCKED -+# undef fputs -+# define fputs(x,y) fputs_unlocked (x,y) -+# else -+# define fputs_unlocked(x,y) fputs (x,y) -+# endif -+ -+# if HAVE_DECL_FREAD_UNLOCKED -+# undef fread -+# define fread(w,x,y,z) fread_unlocked (w,x,y,z) -+# else -+# define fread_unlocked(w,x,y,z) fread (w,x,y,z) -+# endif -+ -+# if HAVE_DECL_FWRITE_UNLOCKED -+# undef fwrite -+# define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) -+# else -+# define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) -+# endif -+ -+# if HAVE_DECL_GETC_UNLOCKED -+# undef getc -+# define getc(x) getc_unlocked (x) -+# else -+# define getc_unlocked(x) getc (x) -+# endif -+ -+# if HAVE_DECL_GETCHAR_UNLOCKED -+# undef getchar -+# define getchar() getchar_unlocked () -+# else -+# define getchar_unlocked() getchar () -+# endif -+ -+# if HAVE_DECL_PUTC_UNLOCKED -+# undef putc -+# define putc(x,y) putc_unlocked (x,y) -+# else -+# define putc_unlocked(x,y) putc (x,y) -+# endif -+ -+# if HAVE_DECL_PUTCHAR_UNLOCKED -+# undef putchar -+# define putchar(x) putchar_unlocked (x) -+# else -+# define putchar_unlocked(x) putchar (x) -+# endif -+ -+# undef flockfile -+# define flockfile(x) ((void) 0) -+ -+# undef ftrylockfile -+# define ftrylockfile(x) 0 -+ -+# undef funlockfile -+# define funlockfile(x) ((void) 0) -+ -+#endif /* UNLOCKED_IO_H */ -diff -Naur libiconv-20130504/srclib/verify.h libiconv-20130504.patch/srclib/verify.h ---- libiconv-20130504/srclib/verify.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/verify.h 2013-05-04 10:20:07.834698187 +0200 -@@ -0,0 +1,245 @@ -+/* Compile-time assert-like macros. -+ -+ Copyright (C) 2005-2006, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Paul Eggert, Bruno Haible, and Jim Meyering. */ -+ -+#ifndef _GL_VERIFY_H -+# define _GL_VERIFY_H -+ -+ -+/* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert works as per C11. -+ This is supported by GCC 4.6.0 and later, in C mode, and its use -+ here generates easier-to-read diagnostics when verify (R) fails. -+ -+ Define _GL_HAVE_STATIC_ASSERT to 1 if static_assert works as per C++11. -+ This will likely be supported by future GCC versions, in C++ mode. -+ -+ Use this only with GCC. If we were willing to slow 'configure' -+ down we could also use it with other compilers, but since this -+ affects only the quality of diagnostics, why bother? */ -+# if (4 < __GNUC__ || (__GNUC__ == 4 && 6 <= __GNUC_MINOR__)) && !defined __cplusplus -+# define _GL_HAVE__STATIC_ASSERT 1 -+# endif -+/* The condition (99 < __GNUC__) is temporary, until we know about the -+ first G++ release that supports static_assert. */ -+# if (99 < __GNUC__) && defined __cplusplus -+# define _GL_HAVE_STATIC_ASSERT 1 -+# endif -+ -+/* Each of these macros verifies that its argument R is nonzero. To -+ be portable, R should be an integer constant expression. Unlike -+ assert (R), there is no run-time overhead. -+ -+ If _Static_assert works, verify (R) uses it directly. Similarly, -+ _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct -+ that is an operand of sizeof. -+ -+ The code below uses several ideas for C++ compilers, and for C -+ compilers that do not support _Static_assert: -+ -+ * The first step is ((R) ? 1 : -1). Given an expression R, of -+ integral or boolean or floating-point type, this yields an -+ expression of integral type, whose value is later verified to be -+ constant and nonnegative. -+ -+ * Next this expression W is wrapped in a type -+ struct _gl_verify_type { -+ unsigned int _gl_verify_error_if_negative: W; -+ }. -+ If W is negative, this yields a compile-time error. No compiler can -+ deal with a bit-field of negative size. -+ -+ One might think that an array size check would have the same -+ effect, that is, that the type struct { unsigned int dummy[W]; } -+ would work as well. However, inside a function, some compilers -+ (such as C++ compilers and GNU C) allow local parameters and -+ variables inside array size expressions. With these compilers, -+ an array size check would not properly diagnose this misuse of -+ the verify macro: -+ -+ void function (int n) { verify (n < 0); } -+ -+ * For the verify macro, the struct _gl_verify_type will need to -+ somehow be embedded into a declaration. To be portable, this -+ declaration must declare an object, a constant, a function, or a -+ typedef name. If the declared entity uses the type directly, -+ such as in -+ -+ struct dummy {...}; -+ typedef struct {...} dummy; -+ extern struct {...} *dummy; -+ extern void dummy (struct {...} *); -+ extern struct {...} *dummy (void); -+ -+ two uses of the verify macro would yield colliding declarations -+ if the entity names are not disambiguated. A workaround is to -+ attach the current line number to the entity name: -+ -+ #define _GL_CONCAT0(x, y) x##y -+ #define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) -+ extern struct {...} * _GL_CONCAT (dummy, __LINE__); -+ -+ But this has the problem that two invocations of verify from -+ within the same macro would collide, since the __LINE__ value -+ would be the same for both invocations. (The GCC __COUNTER__ -+ macro solves this problem, but is not portable.) -+ -+ A solution is to use the sizeof operator. It yields a number, -+ getting rid of the identity of the type. Declarations like -+ -+ extern int dummy [sizeof (struct {...})]; -+ extern void dummy (int [sizeof (struct {...})]); -+ extern int (*dummy (void)) [sizeof (struct {...})]; -+ -+ can be repeated. -+ -+ * Should the implementation use a named struct or an unnamed struct? -+ Which of the following alternatives can be used? -+ -+ extern int dummy [sizeof (struct {...})]; -+ extern int dummy [sizeof (struct _gl_verify_type {...})]; -+ extern void dummy (int [sizeof (struct {...})]); -+ extern void dummy (int [sizeof (struct _gl_verify_type {...})]); -+ extern int (*dummy (void)) [sizeof (struct {...})]; -+ extern int (*dummy (void)) [sizeof (struct _gl_verify_type {...})]; -+ -+ In the second and sixth case, the struct type is exported to the -+ outer scope; two such declarations therefore collide. GCC warns -+ about the first, third, and fourth cases. So the only remaining -+ possibility is the fifth case: -+ -+ extern int (*dummy (void)) [sizeof (struct {...})]; -+ -+ * GCC warns about duplicate declarations of the dummy function if -+ -Wredundant-decls is used. GCC 4.3 and later have a builtin -+ __COUNTER__ macro that can let us generate unique identifiers for -+ each dummy function, to suppress this warning. -+ -+ * This implementation exploits the fact that older versions of GCC, -+ which do not support _Static_assert, also do not warn about the -+ last declaration mentioned above. -+ -+ * GCC warns if -Wnested-externs is enabled and verify() is used -+ within a function body; but inside a function, you can always -+ arrange to use verify_expr() instead. -+ -+ * In C++, any struct definition inside sizeof is invalid. -+ Use a template type to work around the problem. */ -+ -+/* Concatenate two preprocessor tokens. */ -+# define _GL_CONCAT(x, y) _GL_CONCAT0 (x, y) -+# define _GL_CONCAT0(x, y) x##y -+ -+/* _GL_COUNTER is an integer, preferably one that changes each time we -+ use it. Use __COUNTER__ if it works, falling back on __LINE__ -+ otherwise. __LINE__ isn't perfect, but it's better than a -+ constant. */ -+# if defined __COUNTER__ && __COUNTER__ != __COUNTER__ -+# define _GL_COUNTER __COUNTER__ -+# else -+# define _GL_COUNTER __LINE__ -+# endif -+ -+/* Generate a symbol with the given prefix, making it unique if -+ possible. */ -+# define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER) -+ -+/* Verify requirement R at compile-time, as an integer constant expression -+ that returns 1. If R is false, fail at compile-time, preferably -+ with a diagnostic that includes the string-literal DIAGNOSTIC. */ -+ -+# define _GL_VERIFY_TRUE(R, DIAGNOSTIC) \ -+ (!!sizeof (_GL_VERIFY_TYPE (R, DIAGNOSTIC))) -+ -+# ifdef __cplusplus -+# if !GNULIB_defined_struct__gl_verify_type -+template -+ struct _gl_verify_type { -+ unsigned int _gl_verify_error_if_negative: w; -+ }; -+# define GNULIB_defined_struct__gl_verify_type 1 -+# endif -+# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ -+ _gl_verify_type<(R) ? 1 : -1> -+# elif defined _GL_HAVE__STATIC_ASSERT -+# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ -+ struct { \ -+ _Static_assert (R, DIAGNOSTIC); \ -+ int _gl_dummy; \ -+ } -+# else -+# define _GL_VERIFY_TYPE(R, DIAGNOSTIC) \ -+ struct { unsigned int _gl_verify_error_if_negative: (R) ? 1 : -1; } -+# endif -+ -+/* Verify requirement R at compile-time, as a declaration without a -+ trailing ';'. If R is false, fail at compile-time, preferably -+ with a diagnostic that includes the string-literal DIAGNOSTIC. -+ -+ Unfortunately, unlike C11, this implementation must appear as an -+ ordinary declaration, and cannot appear inside struct { ... }. */ -+ -+# ifdef _GL_HAVE__STATIC_ASSERT -+# define _GL_VERIFY _Static_assert -+# else -+# define _GL_VERIFY(R, DIAGNOSTIC) \ -+ extern int (*_GL_GENSYM (_gl_verify_function) (void)) \ -+ [_GL_VERIFY_TRUE (R, DIAGNOSTIC)] -+# endif -+ -+/* _GL_STATIC_ASSERT_H is defined if this code is copied into assert.h. */ -+# ifdef _GL_STATIC_ASSERT_H -+# if !defined _GL_HAVE__STATIC_ASSERT && !defined _Static_assert -+# define _Static_assert(R, DIAGNOSTIC) _GL_VERIFY (R, DIAGNOSTIC) -+# endif -+# if !defined _GL_HAVE_STATIC_ASSERT && !defined static_assert -+# define static_assert _Static_assert /* C11 requires this #define. */ -+# endif -+# endif -+ -+/* @assert.h omit start@ */ -+ -+/* Each of these macros verifies that its argument R is nonzero. To -+ be portable, R should be an integer constant expression. Unlike -+ assert (R), there is no run-time overhead. -+ -+ There are two macros, since no single macro can be used in all -+ contexts in C. verify_true (R) is for scalar contexts, including -+ integer constant expression contexts. verify (R) is for declaration -+ contexts, e.g., the top level. */ -+ -+/* Verify requirement R at compile-time, as an integer constant expression. -+ Return 1. This is equivalent to verify_expr (R, 1). -+ -+ verify_true is obsolescent; please use verify_expr instead. */ -+ -+# define verify_true(R) _GL_VERIFY_TRUE (R, "verify_true (" #R ")") -+ -+/* Verify requirement R at compile-time. Return the value of the -+ expression E. */ -+ -+# define verify_expr(R, E) \ -+ (_GL_VERIFY_TRUE (R, "verify_expr (" #R ", " #E ")") ? (E) : (E)) -+ -+/* Verify requirement R at compile-time, as a declaration without a -+ trailing ';'. */ -+ -+# define verify(R) _GL_VERIFY (R, "verify (" #R ")") -+ -+/* @assert.h omit end@ */ -+ -+#endif -diff -Naur libiconv-20130504/srclib/xalloc.h libiconv-20130504.patch/srclib/xalloc.h ---- libiconv-20130504/srclib/xalloc.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/xalloc.h 2013-05-04 10:20:07.839698172 +0200 -@@ -0,0 +1,158 @@ -+/* malloc with out of memory checking. -+ Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc. -+ Written by Bruno Haible , 2001. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#ifndef _XALLOC_H -+#define _XALLOC_H -+ -+#include -+ -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+ -+/* Defined in xmalloc.c. */ -+ -+/* Allocate SIZE bytes of memory dynamically, with error checking. */ -+extern void *xmalloc (size_t size); -+ -+/* Allocate memory for NMEMB elements of SIZE bytes, with error checking. -+ SIZE must be > 0. */ -+extern void *xnmalloc (size_t nmemb, size_t size); -+ -+/* Allocate SIZE bytes of memory dynamically, with error checking, -+ and zero it. */ -+extern void *xzalloc (size_t size); -+ -+/* Allocate memory for NMEMB elements of SIZE bytes, with error checking, -+ and zero it. */ -+extern void *xcalloc (size_t nmemb, size_t size); -+ -+/* Change the size of an allocated block of memory PTR to SIZE bytes, -+ with error checking. If PTR is NULL, run xmalloc. */ -+extern void *xrealloc (void *ptr, size_t size); -+#ifdef __cplusplus -+} -+template -+ inline T * xrealloc (T * ptr, size_t size) -+ { -+ return (T *) xrealloc ((void *) ptr, size); -+ } -+extern "C" { -+#endif -+ -+/* This function is always triggered when memory is exhausted. It is -+ in charge of honoring the three previous items. This is the -+ function to call when one wants the program to die because of a -+ memory allocation failure. */ -+extern void xalloc_die (void) -+#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) && !__STRICT_ANSI__ -+ __attribute__ ((__noreturn__)) -+#endif -+ ; -+ -+/* In the following macros, T must be an elementary or structure/union or -+ typedef'ed type, or a pointer to such a type. To apply one of the -+ following macros to a function pointer or array type, you need to typedef -+ it first and use the typedef name. */ -+ -+/* Allocate an object of type T dynamically, with error checking. */ -+/* extern T *XMALLOC (typename T); */ -+#define XMALLOC(T) \ -+ ((T *) xmalloc (sizeof (T))) -+ -+/* Allocate memory for NMEMB elements of type T, with error checking. */ -+/* extern T *XNMALLOC (size_t nmemb, typename T); */ -+#if HAVE_INLINE -+/* xnmalloc performs a division and multiplication by sizeof (T). Arrange to -+ perform the division at compile-time and the multiplication with a factor -+ known at compile-time. */ -+# define XNMALLOC(N,T) \ -+ ((T *) (sizeof (T) == 1 \ -+ ? xmalloc (N) \ -+ : xnboundedmalloc(N, (size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / sizeof (T), sizeof (T)))) -+static inline void * -+xnboundedmalloc (size_t n, size_t bound, size_t s) -+{ -+ if (n > bound) -+ xalloc_die (); -+ return xmalloc (n * s); -+} -+#else -+# define XNMALLOC(N,T) \ -+ ((T *) (sizeof (T) == 1 ? xmalloc (N) : xnmalloc (N, sizeof (T)))) -+#endif -+ -+/* Allocate an object of type T dynamically, with error checking, -+ and zero it. */ -+/* extern T *XZALLOC (typename T); */ -+#define XZALLOC(T) \ -+ ((T *) xzalloc (sizeof (T))) -+ -+/* Allocate memory for NMEMB elements of type T, with error checking, -+ and zero it. */ -+/* extern T *XCALLOC (size_t nmemb, typename T); */ -+#define XCALLOC(N,T) \ -+ ((T *) xcalloc (N, sizeof (T))) -+ -+/* Return a pointer to a new buffer of N bytes. This is like xmalloc, -+ except it returns char *. */ -+#define xcharalloc(N) \ -+ XNMALLOC (N, char) -+ -+ -+/* Defined in xstrdup.c. */ -+ -+/* Return a newly allocated copy of the N bytes of memory starting at P. */ -+extern void *xmemdup (const void *p, size_t n); -+#ifdef __cplusplus -+} -+template -+ inline T * xmemdup (const T * p, size_t n) -+ { -+ return (T *) xmemdup ((const void *) p, n); -+ } -+extern "C" { -+#endif -+ -+/* Return a newly allocated copy of STRING. */ -+extern char *xstrdup (const char *string); -+ -+ -+/* Return 1 if an array of N objects, each of size S, cannot exist due -+ to size arithmetic overflow. S must be positive and N must be -+ nonnegative. This is a macro, not an inline function, so that it -+ works correctly even when SIZE_MAX < N. -+ -+ By gnulib convention, SIZE_MAX represents overflow in size -+ calculations, so the conservative dividend to use here is -+ SIZE_MAX - 1, since SIZE_MAX might represent an overflowed value. -+ However, malloc (SIZE_MAX) fails on all known hosts where -+ sizeof (ptrdiff_t) <= sizeof (size_t), so do not bother to test for -+ exactly-SIZE_MAX allocations on such hosts; this avoids a test and -+ branch when S is known to be 1. */ -+# define xalloc_oversized(n, s) \ -+ ((size_t) (sizeof (ptrdiff_t) <= sizeof (size_t) ? -1 : -2) / (s) < (n)) -+ -+ -+#ifdef __cplusplus -+} -+#endif -+ -+ -+#endif /* _XALLOC_H */ -diff -Naur libiconv-20130504/srclib/xmalloc.c libiconv-20130504.patch/srclib/xmalloc.c ---- libiconv-20130504/srclib/xmalloc.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/xmalloc.c 2013-05-04 10:20:07.844698158 +0200 -@@ -0,0 +1,128 @@ -+/* xmalloc.c -- malloc with out of memory checking -+ Copyright (C) 1990-1996, 2000-2003, 2005-2007 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include "xalloc.h" -+ -+#include -+ -+#include "error.h" -+#include "gettext.h" -+ -+#define _(str) gettext (str) -+ -+ -+/* Exit value when the requested amount of memory is not available. -+ The caller may set it to some other value. */ -+int xmalloc_exit_failure = EXIT_FAILURE; -+ -+void -+xalloc_die () -+{ -+ error (xmalloc_exit_failure, 0, _("memory exhausted")); -+ /* _Noreturn cannot be given to error, since it may return if -+ its first argument is 0. To help compilers understand the -+ xalloc_die does terminate, call exit. */ -+ exit (EXIT_FAILURE); -+} -+ -+static void * -+fixup_null_alloc (size_t n) -+{ -+ void *p; -+ -+ p = NULL; -+ if (n == 0) -+ p = malloc ((size_t) 1); -+ if (p == NULL) -+ xalloc_die (); -+ return p; -+} -+ -+/* Allocate N bytes of memory dynamically, with error checking. */ -+ -+void * -+xmalloc (size_t n) -+{ -+ void *p; -+ -+ p = malloc (n); -+ if (p == NULL) -+ p = fixup_null_alloc (n); -+ return p; -+} -+ -+/* Allocate memory for NMEMB elements of SIZE bytes, with error checking. -+ SIZE must be > 0. */ -+ -+void * -+xnmalloc (size_t nmemb, size_t size) -+{ -+ size_t n; -+ void *p; -+ -+ if (xalloc_oversized (nmemb, size)) -+ xalloc_die (); -+ n = nmemb * size; -+ p = malloc (n); -+ if (p == NULL) -+ p = fixup_null_alloc (n); -+ return p; -+} -+ -+/* Allocate SIZE bytes of memory dynamically, with error checking, -+ and zero it. */ -+ -+void * -+xzalloc (size_t size) -+{ -+ void *p; -+ -+ p = xmalloc (size); -+ memset (p, 0, size); -+ return p; -+} -+ -+/* Allocate memory for N elements of S bytes, with error checking, -+ and zero it. */ -+ -+void * -+xcalloc (size_t n, size_t s) -+{ -+ void *p; -+ -+ p = calloc (n, s); -+ if (p == NULL) -+ p = fixup_null_alloc (n); -+ return p; -+} -+ -+/* Change the size of an allocated block of memory P to N bytes, -+ with error checking. -+ If P is NULL, run xmalloc. */ -+ -+void * -+xrealloc (void *p, size_t n) -+{ -+ if (p == NULL) -+ return xmalloc (n); -+ p = realloc (p, n); -+ if (p == NULL) -+ p = fixup_null_alloc (n); -+ return p; -+} -diff -Naur libiconv-20130504/srclib/xreadlink.c libiconv-20130504.patch/srclib/xreadlink.c ---- libiconv-20130504/srclib/xreadlink.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/xreadlink.c 2013-05-04 10:20:07.851698137 +0200 -@@ -0,0 +1,44 @@ -+/* xreadlink.c -- readlink wrapper to return the link name in malloc'd storage -+ -+ Copyright (C) 2001, 2003-2007, 2009-2013 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Jim Meyering -+ and Bruno Haible . */ -+ -+#include -+ -+/* Specification. */ -+#include "xreadlink.h" -+ -+#include -+ -+#include "areadlink.h" -+#include "xalloc.h" -+ -+/* Call readlink to get the symbolic link value of FILENAME. -+ Return a pointer to that NUL-terminated string in malloc'd storage. -+ If readlink fails, return NULL and set errno. -+ If realloc fails, or if the link value is longer than SIZE_MAX :-), -+ give a diagnostic and exit. */ -+ -+char * -+xreadlink (char const *filename) -+{ -+ char *result = areadlink (filename); -+ if (result == NULL && errno == ENOMEM) -+ xalloc_die (); -+ return result; -+} -diff -Naur libiconv-20130504/srclib/xreadlink.h libiconv-20130504.patch/srclib/xreadlink.h ---- libiconv-20130504/srclib/xreadlink.h 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/xreadlink.h 2013-05-04 10:20:07.856698123 +0200 -@@ -0,0 +1,25 @@ -+/* Reading symbolic links without size limitation. -+ -+ Copyright (C) 2001, 2003-2004, 2007, 2009-2013 Free Software Foundation, -+ Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+/* Written by Jim Meyering */ -+ -+extern char *xreadlink (char const *filename); -+ -+#if GNULIB_XREADLINKAT -+extern char *xreadlinkat (int fd, char const *filename); -+#endif -diff -Naur libiconv-20130504/srclib/xstrdup.c libiconv-20130504.patch/srclib/xstrdup.c ---- libiconv-20130504/srclib/xstrdup.c 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srclib/xstrdup.c 2013-05-04 10:20:07.859698114 +0200 -@@ -0,0 +1,40 @@ -+/* xstrdup.c -- copy a string with out of memory checking -+ Copyright (C) 1990, 1996, 2000-2003, 2005-2006 Free Software Foundation, Inc. -+ -+ This program is free software: you can redistribute it and/or modify -+ it under the terms of the GNU General Public License as published by -+ the Free Software Foundation; either version 3 of the License, or -+ (at your option) any later version. -+ -+ This program is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+ GNU General Public License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with this program. If not, see . */ -+ -+#include -+ -+/* Specification. */ -+#include "xalloc.h" -+ -+#include -+ -+/* Return a newly allocated copy of the N bytes of memory starting at P. */ -+ -+void * -+xmemdup (const void *p, size_t n) -+{ -+ void *q = xmalloc (n); -+ memcpy (q, p, n); -+ return q; -+} -+ -+/* Return a newly allocated copy of STRING. */ -+ -+char * -+xstrdup (const char *string) -+{ -+ return strcpy (XNMALLOC (strlen (string) + 1, char), string); -+} -diff -Naur libiconv-20130504/srcm4/00gnulib.m4 libiconv-20130504.patch/srcm4/00gnulib.m4 ---- libiconv-20130504/srcm4/00gnulib.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/00gnulib.m4 2013-05-04 10:20:07.863698102 +0200 -@@ -0,0 +1,30 @@ -+# 00gnulib.m4 serial 2 -+dnl Copyright (C) 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl This file must be named something that sorts before all other -+dnl gnulib-provided .m4 files. It is needed until such time as we can -+dnl assume Autoconf 2.64, with its improved AC_DEFUN_ONCE semantics. -+ -+# AC_DEFUN_ONCE([NAME], VALUE) -+# ---------------------------- -+# Define NAME to expand to VALUE on the first use (whether by direct -+# expansion, or by AC_REQUIRE), and to nothing on all subsequent uses. -+# Avoid bugs in AC_REQUIRE in Autoconf 2.63 and earlier. This -+# definition is slower than the version in Autoconf 2.64, because it -+# can only use interfaces that existed since 2.59; but it achieves the -+# same effect. Quoting is necessary to avoid confusing Automake. -+m4_version_prereq([2.63.263], [], -+[m4_define([AC][_DEFUN_ONCE], -+ [AC][_DEFUN([$1], -+ [AC_REQUIRE([_gl_DEFUN_ONCE([$1])], -+ [m4_indir([_gl_DEFUN_ONCE([$1])])])])]dnl -+[AC][_DEFUN([_gl_DEFUN_ONCE([$1])], [$2])])]) -+ -+# gl_00GNULIB -+# ----------- -+# Witness macro that this file has been included. Needed to force -+# Automake to include this file prior to all other gnulib .m4 files. -+AC_DEFUN([gl_00GNULIB]) -diff -Naur libiconv-20130504/srcm4/alloca.m4 libiconv-20130504.patch/srcm4/alloca.m4 ---- libiconv-20130504/srcm4/alloca.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/alloca.m4 2013-05-04 10:20:07.865698096 +0200 -@@ -0,0 +1,36 @@ -+# alloca.m4 serial 4 (gettext-0.18.2) -+dnl Copyright (C) 2002-2003, 2006, 2011 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_ALLOCA], -+[ -+ dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. -+ AC_REQUIRE([AC_PROG_CPP]) -+ AC_REQUIRE([AC_PROG_EGREP]) -+ -+ AC_REQUIRE([AC_FUNC_ALLOCA]) -+ if test $ac_cv_func_alloca_works = no; then -+ gl_PREREQ_ALLOCA -+ fi -+ -+ # Define an additional variable used in the Makefile substitution. -+ -+ AC_EGREP_CPP([Need own alloca], [ -+#if defined __GNUC__ || defined _MSC_VER || !HAVE_ALLOCA_H -+ Need own alloca -+#endif -+ ], -+ ALLOCA_H=alloca.h, -+ ALLOCA_H=) -+ AC_SUBST([ALLOCA_H]) -+ AM_CONDITIONAL([GL_GENERATE_ALLOCA_H], [test -n "$ALLOCA_H"]) -+]) -+ -+# Prerequisites of lib/alloca.c. -+# STACK_DIRECTION is already handled by AC_FUNC_ALLOCA. -+AC_DEFUN([gl_PREREQ_ALLOCA], [ -+ AC_CHECK_HEADERS_ONCE(stdlib.h string.h) -+ : -+]) -diff -Naur libiconv-20130504/srcm4/asm-underscore.m4 libiconv-20130504.patch/srcm4/asm-underscore.m4 ---- libiconv-20130504/srcm4/asm-underscore.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/asm-underscore.m4 2013-05-04 10:20:07.869698085 +0200 -@@ -0,0 +1,71 @@ -+# asm-underscore.m4 serial 2 -+dnl Copyright (C) 2010-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. Based on as-underscore.m4 in GNU clisp. -+ -+# gl_ASM_SYMBOL_PREFIX -+# Tests for the prefix of C symbols at the assembly language level and the -+# linker level. This prefix is either an underscore or empty. Defines the -+# C macro USER_LABEL_PREFIX to this prefix, and sets ASM_SYMBOL_PREFIX to -+# a stringified variant of this prefix. -+ -+AC_DEFUN([gl_ASM_SYMBOL_PREFIX], -+[ -+ dnl We don't use GCC's __USER_LABEL_PREFIX__ here, because -+ dnl 1. It works only for GCC. -+ dnl 2. It is incorrectly defined on some platforms, in some GCC versions. -+ AC_REQUIRE([gl_C_ASM]) -+ AC_CACHE_CHECK( -+ [whether C symbols are prefixed with underscore at the linker level], -+ [gl_cv_prog_as_underscore], -+ [cat > conftest.c </dev/null 2>&1 -+ if grep _foo conftest.$gl_asmext >/dev/null ; then -+ gl_cv_prog_as_underscore=yes -+ else -+ gl_cv_prog_as_underscore=no -+ fi -+ rm -f conftest* -+ ]) -+ if test $gl_cv_prog_as_underscore = yes; then -+ USER_LABEL_PREFIX=_ -+ else -+ USER_LABEL_PREFIX= -+ fi -+ AC_DEFINE_UNQUOTED([USER_LABEL_PREFIX], [$USER_LABEL_PREFIX], -+ [Define to the prefix of C symbols at the assembler and linker level, -+ either an underscore or empty.]) -+ ASM_SYMBOL_PREFIX='"'${USER_LABEL_PREFIX}'"' -+ AC_SUBST([ASM_SYMBOL_PREFIX]) -+]) -+ -+# gl_C_ASM -+# Determines how to produce an assembly language file from C source code. -+# Sets the variables: -+# gl_asmext - the extension of assembly language output, -+# gl_c_asm_opt - the C compiler option that produces assembly language output. -+ -+AC_DEFUN([gl_C_ASM], -+[ -+ AC_EGREP_CPP([MicrosoftCompiler], -+ [ -+#ifdef _MSC_VER -+MicrosoftCompiler -+#endif -+ ], -+ [gl_asmext='asm' -+ gl_c_asm_opt='-c -Fa' -+ ], -+ [gl_asmext='s' -+ gl_c_asm_opt='-S' -+ ]) -+]) -diff -Naur libiconv-20130504/srcm4/canonicalize.m4 libiconv-20130504.patch/srcm4/canonicalize.m4 ---- libiconv-20130504/srcm4/canonicalize.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/canonicalize.m4 2013-05-04 10:20:07.871698078 +0200 -@@ -0,0 +1,124 @@ -+# canonicalize.m4 serial 26 -+ -+dnl Copyright (C) 2003-2007, 2009-2013 Free Software Foundation, Inc. -+ -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# Provides canonicalize_file_name and canonicalize_filename_mode, but does -+# not provide or fix realpath. -+AC_DEFUN([gl_FUNC_CANONICALIZE_FILENAME_MODE], -+[ -+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -+ AC_CHECK_FUNCS_ONCE([canonicalize_file_name]) -+ AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) -+ AC_REQUIRE([gl_FUNC_REALPATH_WORKS]) -+ if test $ac_cv_func_canonicalize_file_name = no; then -+ HAVE_CANONICALIZE_FILE_NAME=0 -+ else -+ case "$gl_cv_func_realpath_works" in -+ *yes) ;; -+ *) REPLACE_CANONICALIZE_FILE_NAME=1 ;; -+ esac -+ fi -+]) -+ -+# Provides canonicalize_file_name and realpath. -+AC_DEFUN([gl_CANONICALIZE_LGPL], -+[ -+ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) -+ AC_REQUIRE([gl_CANONICALIZE_LGPL_SEPARATE]) -+ if test $ac_cv_func_canonicalize_file_name = no; then -+ HAVE_CANONICALIZE_FILE_NAME=0 -+ if test $ac_cv_func_realpath = no; then -+ HAVE_REALPATH=0 -+ else -+ case "$gl_cv_func_realpath_works" in -+ *yes) ;; -+ *) REPLACE_REALPATH=1 ;; -+ esac -+ fi -+ else -+ case "$gl_cv_func_realpath_works" in -+ *yes) -+ ;; -+ *) -+ REPLACE_CANONICALIZE_FILE_NAME=1 -+ REPLACE_REALPATH=1 -+ ;; -+ esac -+ fi -+]) -+ -+# Like gl_CANONICALIZE_LGPL, except prepare for separate compilation -+# (no REPLACE_CANONICALIZE_FILE_NAME, no REPLACE_REALPATH, no AC_LIBOBJ). -+AC_DEFUN([gl_CANONICALIZE_LGPL_SEPARATE], -+[ -+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -+ AC_CHECK_FUNCS_ONCE([canonicalize_file_name getcwd readlink]) -+ AC_REQUIRE([gl_DOUBLE_SLASH_ROOT]) -+ AC_REQUIRE([gl_FUNC_REALPATH_WORKS]) -+ AC_CHECK_HEADERS_ONCE([sys/param.h]) -+]) -+ -+# Check whether realpath works. Assume that if a platform has both -+# realpath and canonicalize_file_name, but the former is broken, then -+# so is the latter. -+AC_DEFUN([gl_FUNC_REALPATH_WORKS], -+[ -+ AC_CHECK_FUNCS_ONCE([realpath]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ AC_CACHE_CHECK([whether realpath works], [gl_cv_func_realpath_works], [ -+ touch conftest.a -+ mkdir conftest.d -+ AC_RUN_IFELSE([ -+ AC_LANG_PROGRAM([[ -+ ]GL_NOCRASH[ -+ #include -+ #include -+ ]], [[ -+ int result = 0; -+ { -+ char *name = realpath ("conftest.a", NULL); -+ if (!(name && *name == '/')) -+ result |= 1; -+ } -+ { -+ char *name = realpath ("conftest.b/../conftest.a", NULL); -+ if (name != NULL) -+ result |= 2; -+ } -+ { -+ char *name = realpath ("conftest.a/", NULL); -+ if (name != NULL) -+ result |= 4; -+ } -+ { -+ char *name1 = realpath (".", NULL); -+ char *name2 = realpath ("conftest.d//./..", NULL); -+ if (strcmp (name1, name2) != 0) -+ result |= 8; -+ } -+ return result; -+ ]]) -+ ], -+ [gl_cv_func_realpath_works=yes], -+ [gl_cv_func_realpath_works=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu* | gnu*) gl_cv_func_realpath_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_realpath_works="guessing no" ;; -+ esac -+ ]) -+ rm -rf conftest.a conftest.d -+ ]) -+ case "$gl_cv_func_realpath_works" in -+ *yes) -+ AC_DEFINE([FUNC_REALPATH_WORKS], [1], [Define to 1 if realpath() -+ can malloc memory, always gives an absolute path, and handles -+ trailing slash correctly.]) -+ ;; -+ esac -+]) -diff -Naur libiconv-20130504/srcm4/codeset.m4 libiconv-20130504.patch/srcm4/codeset.m4 ---- libiconv-20130504/srcm4/codeset.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/codeset.m4 2013-05-04 10:20:07.874698070 +0200 -@@ -0,0 +1,23 @@ -+# codeset.m4 serial 5 (gettext-0.18.2) -+dnl Copyright (C) 2000-2002, 2006, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+AC_DEFUN([AM_LANGINFO_CODESET], -+[ -+ AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset], -+ [AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include ]], -+ [[char* cs = nl_langinfo(CODESET); return !cs;]])], -+ [am_cv_langinfo_codeset=yes], -+ [am_cv_langinfo_codeset=no]) -+ ]) -+ if test $am_cv_langinfo_codeset = yes; then -+ AC_DEFINE([HAVE_LANGINFO_CODESET], [1], -+ [Define if you have and nl_langinfo(CODESET).]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/double-slash-root.m4 libiconv-20130504.patch/srcm4/double-slash-root.m4 ---- libiconv-20130504/srcm4/double-slash-root.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/double-slash-root.m4 2013-05-04 10:20:07.877698061 +0200 -@@ -0,0 +1,38 @@ -+# double-slash-root.m4 serial 4 -*- Autoconf -*- -+dnl Copyright (C) 2006, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_DOUBLE_SLASH_ROOT], -+[ -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ AC_CACHE_CHECK([whether // is distinct from /], [gl_cv_double_slash_root], -+ [ if test x"$cross_compiling" = xyes ; then -+ # When cross-compiling, there is no way to tell whether // is special -+ # short of a list of hosts. However, the only known hosts to date -+ # that have a distinct // are Apollo DomainOS (too old to port to), -+ # Cygwin, and z/OS. If anyone knows of another system for which // has -+ # special semantics and is distinct from /, please report it to -+ # . -+ case $host in -+ *-cygwin | i370-ibm-openedition) -+ gl_cv_double_slash_root=yes ;; -+ *) -+ # Be optimistic and assume that / and // are the same when we -+ # don't know. -+ gl_cv_double_slash_root='unknown, assuming no' ;; -+ esac -+ else -+ set x `ls -di / // 2>/dev/null` -+ if test "$[2]" = "$[4]" && wc //dev/null >/dev/null 2>&1; then -+ gl_cv_double_slash_root=no -+ else -+ gl_cv_double_slash_root=yes -+ fi -+ fi]) -+ if test "$gl_cv_double_slash_root" = yes; then -+ AC_DEFINE([DOUBLE_SLASH_IS_DISTINCT_ROOT], [1], -+ [Define to 1 if // is a file system root distinct from /.]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/eealloc.m4 libiconv-20130504.patch/srcm4/eealloc.m4 ---- libiconv-20130504/srcm4/eealloc.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/eealloc.m4 2013-05-04 10:20:07.881698049 +0200 -@@ -0,0 +1,31 @@ -+# eealloc.m4 serial 3 -+dnl Copyright (C) 2003, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_EEALLOC], -+[ -+ AC_REQUIRE([gl_EEMALLOC]) -+ AC_REQUIRE([gl_EEREALLOC]) -+]) -+ -+AC_DEFUN([gl_EEMALLOC], -+[ -+ _AC_FUNC_MALLOC_IF( -+ [gl_cv_func_malloc_0_nonnull=1], -+ [gl_cv_func_malloc_0_nonnull=0]) -+ AC_DEFINE_UNQUOTED([MALLOC_0_IS_NONNULL], [$gl_cv_func_malloc_0_nonnull], -+ [If malloc(0) is != NULL, define this to 1. Otherwise define this -+ to 0.]) -+]) -+ -+AC_DEFUN([gl_EEREALLOC], -+[ -+ _AC_FUNC_REALLOC_IF( -+ [gl_cv_func_realloc_0_nonnull=1], -+ [gl_cv_func_realloc_0_nonnull=0]) -+ AC_DEFINE_UNQUOTED([REALLOC_0_IS_NONNULL], [$gl_cv_func_realloc_0_nonnull], -+ [If realloc(NULL,0) is != NULL, define this to 1. Otherwise define this -+ to 0.]) -+]) -diff -Naur libiconv-20130504/srcm4/environ.m4 libiconv-20130504.patch/srcm4/environ.m4 ---- libiconv-20130504/srcm4/environ.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/environ.m4 2013-05-04 10:20:07.884698041 +0200 -@@ -0,0 +1,47 @@ -+# environ.m4 serial 6 -+dnl Copyright (C) 2001-2004, 2006-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN_ONCE([gl_ENVIRON], -+[ -+ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) -+ dnl Persuade glibc to declare environ. -+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -+ -+ AC_CHECK_HEADERS_ONCE([unistd.h]) -+ gt_CHECK_VAR_DECL( -+ [#if HAVE_UNISTD_H -+ #include -+ #endif -+ /* mingw, BeOS, Haiku declare environ in , not in . */ -+ #include -+ ], -+ [environ]) -+ if test $gt_cv_var_environ_declaration != yes; then -+ HAVE_DECL_ENVIRON=0 -+ fi -+]) -+ -+# Check if a variable is properly declared. -+# gt_CHECK_VAR_DECL(includes,variable) -+AC_DEFUN([gt_CHECK_VAR_DECL], -+[ -+ define([gt_cv_var], [gt_cv_var_]$2[_declaration]) -+ AC_MSG_CHECKING([if $2 is properly declared]) -+ AC_CACHE_VAL([gt_cv_var], [ -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[$1 -+ extern struct { int foo; } $2;]], -+ [[$2.foo = 1;]])], -+ [gt_cv_var=no], -+ [gt_cv_var=yes])]) -+ AC_MSG_RESULT([$gt_cv_var]) -+ if test $gt_cv_var = yes; then -+ AC_DEFINE([HAVE_]m4_translit($2, [a-z], [A-Z])[_DECL], 1, -+ [Define if you have the declaration of $2.]) -+ fi -+ undefine([gt_cv_var]) -+]) -diff -Naur libiconv-20130504/srcm4/errno_h.m4 libiconv-20130504.patch/srcm4/errno_h.m4 ---- libiconv-20130504/srcm4/errno_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/errno_h.m4 2013-05-04 10:20:07.888698029 +0200 -@@ -0,0 +1,137 @@ -+# errno_h.m4 serial 12 -+dnl Copyright (C) 2004, 2006, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN_ONCE([gl_HEADER_ERRNO_H], -+[ -+ AC_REQUIRE([AC_PROG_CC]) -+ AC_CACHE_CHECK([for complete errno.h], [gl_cv_header_errno_h_complete], [ -+ AC_EGREP_CPP([booboo],[ -+#include -+#if !defined ETXTBSY -+booboo -+#endif -+#if !defined ENOMSG -+booboo -+#endif -+#if !defined EIDRM -+booboo -+#endif -+#if !defined ENOLINK -+booboo -+#endif -+#if !defined EPROTO -+booboo -+#endif -+#if !defined EMULTIHOP -+booboo -+#endif -+#if !defined EBADMSG -+booboo -+#endif -+#if !defined EOVERFLOW -+booboo -+#endif -+#if !defined ENOTSUP -+booboo -+#endif -+#if !defined ENETRESET -+booboo -+#endif -+#if !defined ECONNABORTED -+booboo -+#endif -+#if !defined ESTALE -+booboo -+#endif -+#if !defined EDQUOT -+booboo -+#endif -+#if !defined ECANCELED -+booboo -+#endif -+#if !defined EOWNERDEAD -+booboo -+#endif -+#if !defined ENOTRECOVERABLE -+booboo -+#endif -+#if !defined EILSEQ -+booboo -+#endif -+ ], -+ [gl_cv_header_errno_h_complete=no], -+ [gl_cv_header_errno_h_complete=yes]) -+ ]) -+ if test $gl_cv_header_errno_h_complete = yes; then -+ ERRNO_H='' -+ else -+ gl_NEXT_HEADERS([errno.h]) -+ ERRNO_H='errno.h' -+ fi -+ AC_SUBST([ERRNO_H]) -+ AM_CONDITIONAL([GL_GENERATE_ERRNO_H], [test -n "$ERRNO_H"]) -+ gl_REPLACE_ERRNO_VALUE([EMULTIHOP]) -+ gl_REPLACE_ERRNO_VALUE([ENOLINK]) -+ gl_REPLACE_ERRNO_VALUE([EOVERFLOW]) -+]) -+ -+# Assuming $1 = EOVERFLOW. -+# The EOVERFLOW errno value ought to be defined in , according to -+# POSIX. But some systems (like OpenBSD 4.0 or AIX 3) don't define it, and -+# some systems (like OSF/1) define it when _XOPEN_SOURCE_EXTENDED is defined. -+# Check for the value of EOVERFLOW. -+# Set the variables EOVERFLOW_HIDDEN and EOVERFLOW_VALUE. -+AC_DEFUN([gl_REPLACE_ERRNO_VALUE], -+[ -+ if test -n "$ERRNO_H"; then -+ AC_CACHE_CHECK([for ]$1[ value], [gl_cv_header_errno_h_]$1, [ -+ AC_EGREP_CPP([yes],[ -+#include -+#ifdef ]$1[ -+yes -+#endif -+ ], -+ [gl_cv_header_errno_h_]$1[=yes], -+ [gl_cv_header_errno_h_]$1[=no]) -+ if test $gl_cv_header_errno_h_]$1[ = no; then -+ AC_EGREP_CPP([yes],[ -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+#ifdef ]$1[ -+yes -+#endif -+ ], [gl_cv_header_errno_h_]$1[=hidden]) -+ if test $gl_cv_header_errno_h_]$1[ = hidden; then -+ dnl The macro exists but is hidden. -+ dnl Define it to the same value. -+ AC_COMPUTE_INT([gl_cv_header_errno_h_]$1, $1, [ -+#define _XOPEN_SOURCE_EXTENDED 1 -+#include -+/* The following two lines are a workaround against an autoconf-2.52 bug. */ -+#include -+#include -+]) -+ fi -+ fi -+ ]) -+ case $gl_cv_header_errno_h_]$1[ in -+ yes | no) -+ ]$1[_HIDDEN=0; ]$1[_VALUE= -+ ;; -+ *) -+ ]$1[_HIDDEN=1; ]$1[_VALUE="$gl_cv_header_errno_h_]$1[" -+ ;; -+ esac -+ AC_SUBST($1[_HIDDEN]) -+ AC_SUBST($1[_VALUE]) -+ fi -+]) -+ -+dnl Autoconf >= 2.61 has AC_COMPUTE_INT built-in. -+dnl Remove this when we can assume autoconf >= 2.61. -+m4_ifdef([AC_COMPUTE_INT], [], [ -+ AC_DEFUN([AC_COMPUTE_INT], [_AC_COMPUTE_INT([$2],[$1],[$3],[$4])]) -+]) -diff -Naur libiconv-20130504/srcm4/error.m4 libiconv-20130504.patch/srcm4/error.m4 ---- libiconv-20130504/srcm4/error.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/error.m4 2013-05-04 10:20:07.893698014 +0200 -@@ -0,0 +1,27 @@ -+#serial 14 -+ -+# Copyright (C) 1996-1998, 2001-2004, 2009-2013 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_ERROR], -+[ -+ dnl We don't use AC_FUNC_ERROR_AT_LINE any more, because it is no longer -+ dnl maintained in Autoconf and because it invokes AC_LIBOBJ. -+ AC_CACHE_CHECK([for error_at_line], [ac_cv_lib_error_at_line], -+ [AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include ]], -+ [[error_at_line (0, 0, "", 0, "an error occurred");]])], -+ [ac_cv_lib_error_at_line=yes], -+ [ac_cv_lib_error_at_line=no])]) -+]) -+ -+# Prerequisites of lib/error.c. -+AC_DEFUN([gl_PREREQ_ERROR], -+[ -+ AC_REQUIRE([AC_FUNC_STRERROR_R]) -+ : -+]) -diff -Naur libiconv-20130504/srcm4/extensions.m4 libiconv-20130504.patch/srcm4/extensions.m4 ---- libiconv-20130504/srcm4/extensions.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/extensions.m4 2013-05-04 10:20:07.897698003 +0200 -@@ -0,0 +1,138 @@ -+# serial 13 -*- Autoconf -*- -+# Enable extensions on systems that normally disable them. -+ -+# Copyright (C) 2003, 2006-2013 Free Software Foundation, Inc. -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# This definition of AC_USE_SYSTEM_EXTENSIONS is stolen from CVS -+# Autoconf. Perhaps we can remove this once we can assume Autoconf -+# 2.70 or later everywhere, but since Autoconf mutates rapidly -+# enough in this area it's likely we'll need to redefine -+# AC_USE_SYSTEM_EXTENSIONS for quite some time. -+ -+# If autoconf reports a warning -+# warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -+# or warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS -+# the fix is -+# 1) to ensure that AC_USE_SYSTEM_EXTENSIONS is never directly invoked -+# but always AC_REQUIREd, -+# 2) to ensure that for each occurrence of -+# AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -+# or -+# AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -+# the corresponding gnulib module description has 'extensions' among -+# its dependencies. This will ensure that the gl_USE_SYSTEM_EXTENSIONS -+# invocation occurs in gl_EARLY, not in gl_INIT. -+ -+# AC_USE_SYSTEM_EXTENSIONS -+# ------------------------ -+# Enable extensions on systems that normally disable them, -+# typically due to standards-conformance issues. -+# -+# Remember that #undef in AH_VERBATIM gets replaced with #define by -+# AC_DEFINE. The goal here is to define all known feature-enabling -+# macros, then, if reports of conflicts are made, disable macros that -+# cause problems on some platforms (such as __EXTENSIONS__). -+AC_DEFUN_ONCE([AC_USE_SYSTEM_EXTENSIONS], -+[AC_BEFORE([$0], [AC_COMPILE_IFELSE])dnl -+AC_BEFORE([$0], [AC_RUN_IFELSE])dnl -+ -+ AC_CHECK_HEADER([minix/config.h], [MINIX=yes], [MINIX=]) -+ if test "$MINIX" = yes; then -+ AC_DEFINE([_POSIX_SOURCE], [1], -+ [Define to 1 if you need to in order for 'stat' and other -+ things to work.]) -+ AC_DEFINE([_POSIX_1_SOURCE], [2], -+ [Define to 2 if the system does not provide POSIX.1 features -+ except with this defined.]) -+ AC_DEFINE([_MINIX], [1], -+ [Define to 1 if on MINIX.]) -+ AC_DEFINE([_NETBSD_SOURCE], [1], -+ [Define to 1 to make NetBSD features available. MINIX 3 needs this.]) -+ fi -+ -+dnl Use a different key than __EXTENSIONS__, as that name broke existing -+dnl configure.ac when using autoheader 2.62. -+ AH_VERBATIM([USE_SYSTEM_EXTENSIONS], -+[/* Enable extensions on AIX 3, Interix. */ -+#ifndef _ALL_SOURCE -+# undef _ALL_SOURCE -+#endif -+/* Enable general extensions on OS X. */ -+#ifndef _DARWIN_C_SOURCE -+# undef _DARWIN_C_SOURCE -+#endif -+/* Enable GNU extensions on systems that have them. */ -+#ifndef _GNU_SOURCE -+# undef _GNU_SOURCE -+#endif -+/* Enable threading extensions on Solaris. */ -+#ifndef _POSIX_PTHREAD_SEMANTICS -+# undef _POSIX_PTHREAD_SEMANTICS -+#endif -+/* Enable extensions on HP NonStop. */ -+#ifndef _TANDEM_SOURCE -+# undef _TANDEM_SOURCE -+#endif -+/* Enable X/Open extensions if necessary. HP-UX 11.11 defines -+ mbstate_t only if _XOPEN_SOURCE is defined to 500, regardless of -+ whether compiling with -Ae or -D_HPUX_SOURCE=1. */ -+#ifndef _XOPEN_SOURCE -+# undef _XOPEN_SOURCE -+#endif -+/* Enable general extensions on Solaris. */ -+#ifndef __EXTENSIONS__ -+# undef __EXTENSIONS__ -+#endif -+]) -+ AC_CACHE_CHECK([whether it is safe to define __EXTENSIONS__], -+ [ac_cv_safe_to_define___extensions__], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([[ -+# define __EXTENSIONS__ 1 -+ ]AC_INCLUDES_DEFAULT])], -+ [ac_cv_safe_to_define___extensions__=yes], -+ [ac_cv_safe_to_define___extensions__=no])]) -+ test $ac_cv_safe_to_define___extensions__ = yes && -+ AC_DEFINE([__EXTENSIONS__]) -+ AC_DEFINE([_ALL_SOURCE]) -+ AC_DEFINE([_DARWIN_C_SOURCE]) -+ AC_DEFINE([_GNU_SOURCE]) -+ AC_DEFINE([_POSIX_PTHREAD_SEMANTICS]) -+ AC_DEFINE([_TANDEM_SOURCE]) -+ AC_CACHE_CHECK([whether _XOPEN_SOURCE should be defined], -+ [ac_cv_should_define__xopen_source], -+ [ac_cv_should_define__xopen_source=no -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([[ -+ #include -+ mbstate_t x;]])], -+ [], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([[ -+ #define _XOPEN_SOURCE 500 -+ #include -+ mbstate_t x;]])], -+ [ac_cv_should_define__xopen_source=yes])])]) -+ test $ac_cv_should_define__xopen_source = yes && -+ AC_DEFINE([_XOPEN_SOURCE], [500]) -+])# AC_USE_SYSTEM_EXTENSIONS -+ -+# gl_USE_SYSTEM_EXTENSIONS -+# ------------------------ -+# Enable extensions on systems that normally disable them, -+# typically due to standards-conformance issues. -+AC_DEFUN_ONCE([gl_USE_SYSTEM_EXTENSIONS], -+[ -+ dnl Require this macro before AC_USE_SYSTEM_EXTENSIONS. -+ dnl gnulib does not need it. But if it gets required by third-party macros -+ dnl after AC_USE_SYSTEM_EXTENSIONS is required, autoconf 2.62..2.63 emit a -+ dnl warning: "AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS". -+ dnl Note: We can do this only for one of the macros AC_AIX, AC_GNU_SOURCE, -+ dnl AC_MINIX. If people still use AC_AIX or AC_MINIX, they are out of luck. -+ AC_REQUIRE([AC_GNU_SOURCE]) -+ -+ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -+]) -diff -Naur libiconv-20130504/srcm4/extern-inline.m4 libiconv-20130504.patch/srcm4/extern-inline.m4 ---- libiconv-20130504/srcm4/extern-inline.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/extern-inline.m4 2013-05-04 10:20:07.900697994 +0200 -@@ -0,0 +1,73 @@ -+dnl 'extern inline' a la ISO C99. -+ -+dnl Copyright 2012-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_EXTERN_INLINE], -+[ -+ AH_VERBATIM([extern_inline], -+[/* _GL_INLINE is a portable alternative to ISO C99 plain 'inline'. -+ _GL_EXTERN_INLINE is a portable alternative to 'extern inline'. -+ _GL_INLINE_HEADER_BEGIN contains useful stuff to put -+ in an include file, before uses of _GL_INLINE. -+ It suppresses GCC's bogus "no previous prototype for 'FOO'" diagnostic, -+ when FOO is an inline function in the header; see -+ . -+ _GL_INLINE_HEADER_END contains useful stuff to put -+ in the same include file, after uses of _GL_INLINE. -+ -+ Suppress extern inline with HP-UX cc, as it appears to be broken; see -+ . -+ -+ Suppress extern inline with Sun C in standards-conformance mode, as it -+ mishandles inline functions that call each other. E.g., for 'inline void f -+ (void) { } inline void g (void) { f (); }', c99 incorrectly complains -+ 'reference to static identifier "f" in extern inline function'. -+ This bug was observed with Sun C 5.12 SunOS_i386 2011/11/16. -+ -+ Suppress the use of extern inline on Apple's platforms, as Libc at least -+ through Libc-825.26 (2013-04-09) is incompatible with it; see, e.g., -+ . -+ Perhaps Apple will fix this some day. */ -+#if ((__GNUC__ \ -+ ? defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ \ -+ : (199901L <= __STDC_VERSION__ \ -+ && !defined __HP_cc \ -+ && !(defined __SUNPRO_C && __STDC__))) \ -+ && !defined __APPLE__) -+# define _GL_INLINE inline -+# define _GL_EXTERN_INLINE extern inline -+#elif 2 < __GNUC__ + (7 <= __GNUC_MINOR__) && !defined __APPLE__ -+# if __GNUC_GNU_INLINE__ -+ /* __gnu_inline__ suppresses a GCC 4.2 diagnostic. */ -+# define _GL_INLINE extern inline __attribute__ ((__gnu_inline__)) -+# else -+# define _GL_INLINE extern inline -+# endif -+# define _GL_EXTERN_INLINE extern -+#else -+# define _GL_INLINE static _GL_UNUSED -+# define _GL_EXTERN_INLINE static _GL_UNUSED -+#endif -+ -+#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__) -+# if defined __GNUC_STDC_INLINE__ && __GNUC_STDC_INLINE__ -+# define _GL_INLINE_HEADER_CONST_PRAGMA -+# else -+# define _GL_INLINE_HEADER_CONST_PRAGMA \ -+ _Pragma ("GCC diagnostic ignored \"-Wsuggest-attribute=const\"") -+# endif -+# define _GL_INLINE_HEADER_BEGIN \ -+ _Pragma ("GCC diagnostic push") \ -+ _Pragma ("GCC diagnostic ignored \"-Wmissing-prototypes\"") \ -+ _Pragma ("GCC diagnostic ignored \"-Wmissing-declarations\"") \ -+ _GL_INLINE_HEADER_CONST_PRAGMA -+# define _GL_INLINE_HEADER_END \ -+ _Pragma ("GCC diagnostic pop") -+#else -+# define _GL_INLINE_HEADER_BEGIN -+# define _GL_INLINE_HEADER_END -+#endif]) -+]) -diff -Naur libiconv-20130504/srcm4/fcntl_h.m4 libiconv-20130504.patch/srcm4/fcntl_h.m4 ---- libiconv-20130504/srcm4/fcntl_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/fcntl_h.m4 2013-05-04 10:20:07.907697973 +0200 -@@ -0,0 +1,50 @@ -+# serial 15 -+# Configure fcntl.h. -+dnl Copyright (C) 2006-2007, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl Written by Paul Eggert. -+ -+AC_DEFUN([gl_FCNTL_H], -+[ -+ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) -+ AC_REQUIRE([gl_FCNTL_O_FLAGS]) -+ gl_NEXT_HEADERS([fcntl.h]) -+ -+ dnl Ensure the type pid_t gets defined. -+ AC_REQUIRE([AC_TYPE_PID_T]) -+ -+ dnl Ensure the type mode_t gets defined. -+ AC_REQUIRE([AC_TYPE_MODE_T]) -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use, if it is not common -+ dnl enough to be declared everywhere. -+ gl_WARN_ON_USE_PREPARE([[#include -+ ]], [fcntl openat]) -+]) -+ -+AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_FCNTL_H_DEFAULTS], -+[ -+ GNULIB_FCNTL=0; AC_SUBST([GNULIB_FCNTL]) -+ GNULIB_NONBLOCKING=0; AC_SUBST([GNULIB_NONBLOCKING]) -+ GNULIB_OPEN=0; AC_SUBST([GNULIB_OPEN]) -+ GNULIB_OPENAT=0; AC_SUBST([GNULIB_OPENAT]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) -+ HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) -+ REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) -+ REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) -+ REPLACE_OPENAT=0; AC_SUBST([REPLACE_OPENAT]) -+]) -diff -Naur libiconv-20130504/srcm4/fcntl-o.m4 libiconv-20130504.patch/srcm4/fcntl-o.m4 ---- libiconv-20130504/srcm4/fcntl-o.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/fcntl-o.m4 2013-05-04 10:20:07.903697985 +0200 -@@ -0,0 +1,134 @@ -+# fcntl-o.m4 serial 4 -+dnl Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl Written by Paul Eggert. -+ -+# Test whether the flags O_NOATIME and O_NOFOLLOW actually work. -+# Define HAVE_WORKING_O_NOATIME to 1 if O_NOATIME works, or to 0 otherwise. -+# Define HAVE_WORKING_O_NOFOLLOW to 1 if O_NOFOLLOW works, or to 0 otherwise. -+AC_DEFUN([gl_FCNTL_O_FLAGS], -+[ -+ dnl Persuade glibc to define O_NOATIME and O_NOFOLLOW. -+ dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes -+ dnl AC_GNU_SOURCE. -+ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], -+ [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], -+ [AC_REQUIRE([AC_GNU_SOURCE])]) -+ -+ AC_CHECK_HEADERS_ONCE([unistd.h]) -+ AC_CHECK_FUNCS_ONCE([symlink]) -+ AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], -+ [AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ #include -+ #if HAVE_UNISTD_H -+ # include -+ #else /* on Windows with MSVC */ -+ # include -+ # include -+ # defined sleep(n) _sleep ((n) * 1000) -+ #endif -+ #include -+ #ifndef O_NOATIME -+ #define O_NOATIME 0 -+ #endif -+ #ifndef O_NOFOLLOW -+ #define O_NOFOLLOW 0 -+ #endif -+ static int const constants[] = -+ { -+ O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND, -+ O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY -+ }; -+ ]], -+ [[ -+ int result = !constants; -+ #if HAVE_SYMLINK -+ { -+ static char const sym[] = "conftest.sym"; -+ if (symlink ("/dev/null", sym) != 0) -+ result |= 2; -+ else -+ { -+ int fd = open (sym, O_WRONLY | O_NOFOLLOW | O_CREAT, 0); -+ if (fd >= 0) -+ { -+ close (fd); -+ result |= 4; -+ } -+ } -+ if (unlink (sym) != 0 || symlink (".", sym) != 0) -+ result |= 2; -+ else -+ { -+ int fd = open (sym, O_RDONLY | O_NOFOLLOW); -+ if (fd >= 0) -+ { -+ close (fd); -+ result |= 4; -+ } -+ } -+ unlink (sym); -+ } -+ #endif -+ { -+ static char const file[] = "confdefs.h"; -+ int fd = open (file, O_RDONLY | O_NOATIME); -+ if (fd < 0) -+ result |= 8; -+ else -+ { -+ struct stat st0; -+ if (fstat (fd, &st0) != 0) -+ result |= 16; -+ else -+ { -+ char c; -+ sleep (1); -+ if (read (fd, &c, 1) != 1) -+ result |= 24; -+ else -+ { -+ if (close (fd) != 0) -+ result |= 32; -+ else -+ { -+ struct stat st1; -+ if (stat (file, &st1) != 0) -+ result |= 40; -+ else -+ if (st0.st_atime != st1.st_atime) -+ result |= 64; -+ } -+ } -+ } -+ } -+ } -+ return result;]])], -+ [gl_cv_header_working_fcntl_h=yes], -+ [case $? in #( -+ 4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #( -+ 64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #( -+ 68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #( -+ *) gl_cv_header_working_fcntl_h='no';; -+ esac], -+ [gl_cv_header_working_fcntl_h=cross-compiling])]) -+ -+ case $gl_cv_header_working_fcntl_h in #( -+ *O_NOATIME* | no | cross-compiling) ac_val=0;; #( -+ *) ac_val=1;; -+ esac -+ AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOATIME], [$ac_val], -+ [Define to 1 if O_NOATIME works.]) -+ -+ case $gl_cv_header_working_fcntl_h in #( -+ *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #( -+ *) ac_val=1;; -+ esac -+ AC_DEFINE_UNQUOTED([HAVE_WORKING_O_NOFOLLOW], [$ac_val], -+ [Define to 1 if O_NOFOLLOW works.]) -+]) -diff -Naur libiconv-20130504/srcm4/gettext.m4 libiconv-20130504.patch/srcm4/gettext.m4 ---- libiconv-20130504/srcm4/gettext.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/gettext.m4 2013-05-04 10:20:07.912697959 +0200 -@@ -0,0 +1,401 @@ -+# gettext.m4 serial 66 (gettext-0.18.2) -+dnl Copyright (C) 1995-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+dnl Authors: -+dnl Ulrich Drepper , 1995-2000. -+dnl Bruno Haible , 2000-2006, 2008-2010. -+ -+dnl Macro to add for using GNU gettext. -+ -+dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]). -+dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The -+dnl default (if it is not specified or empty) is 'no-libtool'. -+dnl INTLSYMBOL should be 'external' for packages with no intl directory, -+dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory. -+dnl If INTLSYMBOL is 'use-libtool', then a libtool library -+dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, -+dnl depending on --{enable,disable}-{shared,static} and on the presence of -+dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library -+dnl $(top_builddir)/intl/libintl.a will be created. -+dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext -+dnl implementations (in libc or libintl) without the ngettext() function -+dnl will be ignored. If NEEDSYMBOL is specified and is -+dnl 'need-formatstring-macros', then GNU gettext implementations that don't -+dnl support the ISO C 99 formatstring macros will be ignored. -+dnl INTLDIR is used to find the intl libraries. If empty, -+dnl the value '$(top_builddir)/intl/' is used. -+dnl -+dnl The result of the configuration is one of three cases: -+dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled -+dnl and used. -+dnl Catalog format: GNU --> install in $(datadir) -+dnl Catalog extension: .mo after installation, .gmo in source tree -+dnl 2) GNU gettext has been found in the system's C library. -+dnl Catalog format: GNU --> install in $(datadir) -+dnl Catalog extension: .mo after installation, .gmo in source tree -+dnl 3) No internationalization, always use English msgid. -+dnl Catalog format: none -+dnl Catalog extension: none -+dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur. -+dnl The use of .gmo is historical (it was needed to avoid overwriting the -+dnl GNU format catalogs when building on a platform with an X/Open gettext), -+dnl but we keep it in order not to force irrelevant filename changes on the -+dnl maintainers. -+dnl -+AC_DEFUN([AM_GNU_GETTEXT], -+[ -+ dnl Argument checking. -+ ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], , -+ [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT -+])])])])]) -+ ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old], -+ [AC_DIAGNOSE([obsolete], [Use of AM_GNU_GETTEXT without [external] argument is deprecated.])]) -+ ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , -+ [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT -+])])])]) -+ define([gt_included_intl], -+ ifelse([$1], [external], -+ ifdef([AM_GNU_GETTEXT_][INTL_SUBDIR], [yes], [no]), -+ [yes])) -+ define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) -+ gt_NEEDS_INIT -+ AM_GNU_GETTEXT_NEED([$2]) -+ -+ AC_REQUIRE([AM_PO_SUBDIRS])dnl -+ ifelse(gt_included_intl, yes, [ -+ AC_REQUIRE([AM_INTL_SUBDIR])dnl -+ ]) -+ -+ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. -+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) -+ AC_REQUIRE([AC_LIB_RPATH]) -+ -+ dnl Sometimes libintl requires libiconv, so first search for libiconv. -+ dnl Ideally we would do this search only after the -+ dnl if test "$USE_NLS" = "yes"; then -+ dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then -+ dnl tests. But if configure.in invokes AM_ICONV after AM_GNU_GETTEXT -+ dnl the configure script would need to contain the same shell code -+ dnl again, outside any 'if'. There are two solutions: -+ dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'. -+ dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE. -+ dnl Since AC_PROVIDE_IFELSE is only in autoconf >= 2.52 and not -+ dnl documented, we avoid it. -+ ifelse(gt_included_intl, yes, , [ -+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) -+ ]) -+ -+ dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation. -+ gt_INTL_MACOSX -+ -+ dnl Set USE_NLS. -+ AC_REQUIRE([AM_NLS]) -+ -+ ifelse(gt_included_intl, yes, [ -+ BUILD_INCLUDED_LIBINTL=no -+ USE_INCLUDED_LIBINTL=no -+ ]) -+ LIBINTL= -+ LTLIBINTL= -+ POSUB= -+ -+ dnl Add a version number to the cache macros. -+ case " $gt_needs " in -+ *" need-formatstring-macros "*) gt_api_version=3 ;; -+ *" need-ngettext "*) gt_api_version=2 ;; -+ *) gt_api_version=1 ;; -+ esac -+ gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" -+ gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" -+ -+ dnl If we use NLS figure out what method -+ if test "$USE_NLS" = "yes"; then -+ gt_use_preinstalled_gnugettext=no -+ ifelse(gt_included_intl, yes, [ -+ AC_MSG_CHECKING([whether included gettext is requested]) -+ AC_ARG_WITH([included-gettext], -+ [ --with-included-gettext use the GNU gettext library included here], -+ nls_cv_force_use_gnu_gettext=$withval, -+ nls_cv_force_use_gnu_gettext=no) -+ AC_MSG_RESULT([$nls_cv_force_use_gnu_gettext]) -+ -+ nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" -+ if test "$nls_cv_force_use_gnu_gettext" != "yes"; then -+ ]) -+ dnl User does not insist on using GNU NLS library. Figure out what -+ dnl to use. If GNU gettext is available we use this. Else we have -+ dnl to fall back to GNU NLS library. -+ -+ if test $gt_api_version -ge 3; then -+ gt_revision_test_code=' -+#ifndef __GNU_GETTEXT_SUPPORTED_REVISION -+#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) -+#endif -+changequote(,)dnl -+typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; -+changequote([,])dnl -+' -+ else -+ gt_revision_test_code= -+ fi -+ if test $gt_api_version -ge 2; then -+ gt_expression_test_code=' + * ngettext ("", "", 0)' -+ else -+ gt_expression_test_code= -+ fi -+ -+ AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc], -+ [AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+$gt_revision_test_code -+extern int _nl_msg_cat_cntr; -+extern int *_nl_domain_bindings; -+ ]], -+ [[ -+bindtextdomain ("", ""); -+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings -+ ]])], -+ [eval "$gt_func_gnugettext_libc=yes"], -+ [eval "$gt_func_gnugettext_libc=no"])]) -+ -+ if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then -+ dnl Sometimes libintl requires libiconv, so first search for libiconv. -+ ifelse(gt_included_intl, yes, , [ -+ AM_ICONV_LINK -+ ]) -+ dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL -+ dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv]) -+ dnl because that would add "-liconv" to LIBINTL and LTLIBINTL -+ dnl even if libiconv doesn't exist. -+ AC_LIB_LINKFLAGS_BODY([intl]) -+ AC_CACHE_CHECK([for GNU gettext in libintl], -+ [$gt_func_gnugettext_libintl], -+ [gt_save_CPPFLAGS="$CPPFLAGS" -+ CPPFLAGS="$CPPFLAGS $INCINTL" -+ gt_save_LIBS="$LIBS" -+ LIBS="$LIBS $LIBINTL" -+ dnl Now see whether libintl exists and does not depend on libiconv. -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+$gt_revision_test_code -+extern int _nl_msg_cat_cntr; -+extern -+#ifdef __cplusplus -+"C" -+#endif -+const char *_nl_expand_alias (const char *); -+ ]], -+ [[ -+bindtextdomain ("", ""); -+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") -+ ]])], -+ [eval "$gt_func_gnugettext_libintl=yes"], -+ [eval "$gt_func_gnugettext_libintl=no"]) -+ dnl Now see whether libintl exists and depends on libiconv. -+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then -+ LIBS="$LIBS $LIBICONV" -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+$gt_revision_test_code -+extern int _nl_msg_cat_cntr; -+extern -+#ifdef __cplusplus -+"C" -+#endif -+const char *_nl_expand_alias (const char *); -+ ]], -+ [[ -+bindtextdomain ("", ""); -+return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") -+ ]])], -+ [LIBINTL="$LIBINTL $LIBICONV" -+ LTLIBINTL="$LTLIBINTL $LTLIBICONV" -+ eval "$gt_func_gnugettext_libintl=yes" -+ ]) -+ fi -+ CPPFLAGS="$gt_save_CPPFLAGS" -+ LIBS="$gt_save_LIBS"]) -+ fi -+ -+ dnl If an already present or preinstalled GNU gettext() is found, -+ dnl use it. But if this macro is used in GNU gettext, and GNU -+ dnl gettext is already preinstalled in libintl, we update this -+ dnl libintl. (Cf. the install rule in intl/Makefile.in.) -+ if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ -+ || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ -+ && test "$PACKAGE" != gettext-runtime \ -+ && test "$PACKAGE" != gettext-tools; }; then -+ gt_use_preinstalled_gnugettext=yes -+ else -+ dnl Reset the values set by searching for libintl. -+ LIBINTL= -+ LTLIBINTL= -+ INCINTL= -+ fi -+ -+ ifelse(gt_included_intl, yes, [ -+ if test "$gt_use_preinstalled_gnugettext" != "yes"; then -+ dnl GNU gettext is not found in the C library. -+ dnl Fall back on included GNU gettext library. -+ nls_cv_use_gnu_gettext=yes -+ fi -+ fi -+ -+ if test "$nls_cv_use_gnu_gettext" = "yes"; then -+ dnl Mark actions used to generate GNU NLS library. -+ BUILD_INCLUDED_LIBINTL=yes -+ USE_INCLUDED_LIBINTL=yes -+ LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV $LIBTHREAD" -+ LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV $LTLIBTHREAD" -+ LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` -+ fi -+ -+ CATOBJEXT= -+ if test "$gt_use_preinstalled_gnugettext" = "yes" \ -+ || test "$nls_cv_use_gnu_gettext" = "yes"; then -+ dnl Mark actions to use GNU gettext tools. -+ CATOBJEXT=.gmo -+ fi -+ ]) -+ -+ if test -n "$INTL_MACOSX_LIBS"; then -+ if test "$gt_use_preinstalled_gnugettext" = "yes" \ -+ || test "$nls_cv_use_gnu_gettext" = "yes"; then -+ dnl Some extra flags are needed during linking. -+ LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" -+ LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" -+ fi -+ fi -+ -+ if test "$gt_use_preinstalled_gnugettext" = "yes" \ -+ || test "$nls_cv_use_gnu_gettext" = "yes"; then -+ AC_DEFINE([ENABLE_NLS], [1], -+ [Define to 1 if translation of program messages to the user's native language -+ is requested.]) -+ else -+ USE_NLS=no -+ fi -+ fi -+ -+ AC_MSG_CHECKING([whether to use NLS]) -+ AC_MSG_RESULT([$USE_NLS]) -+ if test "$USE_NLS" = "yes"; then -+ AC_MSG_CHECKING([where the gettext function comes from]) -+ if test "$gt_use_preinstalled_gnugettext" = "yes"; then -+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then -+ gt_source="external libintl" -+ else -+ gt_source="libc" -+ fi -+ else -+ gt_source="included intl directory" -+ fi -+ AC_MSG_RESULT([$gt_source]) -+ fi -+ -+ if test "$USE_NLS" = "yes"; then -+ -+ if test "$gt_use_preinstalled_gnugettext" = "yes"; then -+ if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then -+ AC_MSG_CHECKING([how to link with libintl]) -+ AC_MSG_RESULT([$LIBINTL]) -+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL]) -+ fi -+ -+ dnl For backward compatibility. Some packages may be using this. -+ AC_DEFINE([HAVE_GETTEXT], [1], -+ [Define if the GNU gettext() function is already present or preinstalled.]) -+ AC_DEFINE([HAVE_DCGETTEXT], [1], -+ [Define if the GNU dcgettext() function is already present or preinstalled.]) -+ fi -+ -+ dnl We need to process the po/ directory. -+ POSUB=po -+ fi -+ -+ ifelse(gt_included_intl, yes, [ -+ dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL -+ dnl to 'yes' because some of the testsuite requires it. -+ if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then -+ BUILD_INCLUDED_LIBINTL=yes -+ fi -+ -+ dnl Make all variables we use known to autoconf. -+ AC_SUBST([BUILD_INCLUDED_LIBINTL]) -+ AC_SUBST([USE_INCLUDED_LIBINTL]) -+ AC_SUBST([CATOBJEXT]) -+ -+ dnl For backward compatibility. Some configure.ins may be using this. -+ nls_cv_header_intl= -+ nls_cv_header_libgt= -+ -+ dnl For backward compatibility. Some Makefiles may be using this. -+ DATADIRNAME=share -+ AC_SUBST([DATADIRNAME]) -+ -+ dnl For backward compatibility. Some Makefiles may be using this. -+ INSTOBJEXT=.mo -+ AC_SUBST([INSTOBJEXT]) -+ -+ dnl For backward compatibility. Some Makefiles may be using this. -+ GENCAT=gencat -+ AC_SUBST([GENCAT]) -+ -+ dnl For backward compatibility. Some Makefiles may be using this. -+ INTLOBJS= -+ if test "$USE_INCLUDED_LIBINTL" = yes; then -+ INTLOBJS="\$(GETTOBJS)" -+ fi -+ AC_SUBST([INTLOBJS]) -+ -+ dnl Enable libtool support if the surrounding package wishes it. -+ INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix -+ AC_SUBST([INTL_LIBTOOL_SUFFIX_PREFIX]) -+ ]) -+ -+ dnl For backward compatibility. Some Makefiles may be using this. -+ INTLLIBS="$LIBINTL" -+ AC_SUBST([INTLLIBS]) -+ -+ dnl Make all documented variables known to autoconf. -+ AC_SUBST([LIBINTL]) -+ AC_SUBST([LTLIBINTL]) -+ AC_SUBST([POSUB]) -+]) -+ -+ -+dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. -+m4_define([gt_NEEDS_INIT], -+[ -+ m4_divert_text([DEFAULTS], [gt_needs=]) -+ m4_define([gt_NEEDS_INIT], []) -+]) -+ -+ -+dnl Usage: AM_GNU_GETTEXT_NEED([NEEDSYMBOL]) -+AC_DEFUN([AM_GNU_GETTEXT_NEED], -+[ -+ m4_divert_text([INIT_PREPARE], [gt_needs="$gt_needs $1"]) -+]) -+ -+ -+dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version]) -+AC_DEFUN([AM_GNU_GETTEXT_VERSION], []) -diff -Naur libiconv-20130504/srcm4/glibc21.m4 libiconv-20130504.patch/srcm4/glibc21.m4 ---- libiconv-20130504/srcm4/glibc21.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/glibc21.m4 2013-05-04 10:20:07.917697944 +0200 -@@ -0,0 +1,34 @@ -+# glibc21.m4 serial 5 -+dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2013 Free Software Foundation, -+dnl Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# Test for the GNU C Library, version 2.1 or newer, or uClibc. -+# From Bruno Haible. -+ -+AC_DEFUN([gl_GLIBC21], -+ [ -+ AC_CACHE_CHECK([whether we are using the GNU C Library >= 2.1 or uClibc], -+ [ac_cv_gnu_library_2_1], -+ [AC_EGREP_CPP([Lucky], -+ [ -+#include -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2) -+ Lucky GNU user -+ #endif -+#endif -+#ifdef __UCLIBC__ -+ Lucky user -+#endif -+ ], -+ [ac_cv_gnu_library_2_1=yes], -+ [ac_cv_gnu_library_2_1=no]) -+ ] -+ ) -+ AC_SUBST([GLIBC21]) -+ GLIBC21="$ac_cv_gnu_library_2_1" -+ ] -+) -diff -Naur libiconv-20130504/srcm4/glibc2.m4 libiconv-20130504.patch/srcm4/glibc2.m4 ---- libiconv-20130504/srcm4/glibc2.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/glibc2.m4 2013-05-04 10:20:07.915697950 +0200 -@@ -0,0 +1,31 @@ -+# glibc2.m4 serial 3 -+dnl Copyright (C) 2000-2002, 2004, 2008, 2010-2013 Free Software Foundation, -+dnl Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# Test for the GNU C Library, version 2.0 or newer. -+# From Bruno Haible. -+ -+AC_DEFUN([gt_GLIBC2], -+ [ -+ AC_CACHE_CHECK([whether we are using the GNU C Library 2 or newer], -+ [ac_cv_gnu_library_2], -+ [AC_EGREP_CPP([Lucky GNU user], -+ [ -+#include -+#ifdef __GNU_LIBRARY__ -+ #if (__GLIBC__ >= 2) && !defined __UCLIBC__ -+ Lucky GNU user -+ #endif -+#endif -+ ], -+ [ac_cv_gnu_library_2=yes], -+ [ac_cv_gnu_library_2=no]) -+ ] -+ ) -+ AC_SUBST([GLIBC2]) -+ GLIBC2="$ac_cv_gnu_library_2" -+ ] -+) -diff -Naur libiconv-20130504/srcm4/gnulib-cache.m4 libiconv-20130504.patch/srcm4/gnulib-cache.m4 ---- libiconv-20130504/srcm4/gnulib-cache.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/gnulib-cache.m4 2013-05-04 10:20:09.638692912 +0200 -@@ -0,0 +1,65 @@ -+# Copyright (C) 2002-2013 Free Software Foundation, Inc. -+# -+# This file is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This file 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 file. If not, see . -+# -+# As a special exception to the GNU General Public License, -+# this file may be distributed as part of a program that -+# contains a configuration script generated by Autoconf, under -+# the same distribution terms as the rest of that program. -+# -+# Generated by gnulib-tool. -+# -+# This file represents the specification of how gnulib-tool is used. -+# It acts as a cache: It is written and read by gnulib-tool. -+# In projects that use version control, this file is meant to be put under -+# version control, like the configure.ac and various Makefile.am files. -+ -+ -+# Specification in the form of a command-line invocation: -+# gnulib-tool --import --dir=. --local-dir=gnulib-local --lib=libicrt --source-base=srclib --m4-base=srcm4 --doc-base=doc --tests-base=tests --aux-dir=build-aux --makefile-name=Makefile.gnulib --no-conditional-dependencies --no-libtool --macro-prefix=gl --no-vc-files binary-io error gettext gettext-h libiconv-misc mbstate memmove progname relocatable-prog safe-read sigpipe stdio stdlib strerror unistd uniwidth/width unlocked-io xalloc -+ -+# Specification in the form of a few gnulib-tool.m4 macro invocations: -+gl_LOCAL_DIR([gnulib-local]) -+gl_MODULES([ -+ binary-io -+ error -+ gettext -+ gettext-h -+ libiconv-misc -+ mbstate -+ memmove -+ progname -+ relocatable-prog -+ safe-read -+ sigpipe -+ stdio -+ stdlib -+ strerror -+ unistd -+ uniwidth/width -+ unlocked-io -+ xalloc -+]) -+gl_AVOID([]) -+gl_SOURCE_BASE([srclib]) -+gl_M4_BASE([srcm4]) -+gl_PO_BASE([]) -+gl_DOC_BASE([doc]) -+gl_TESTS_BASE([tests]) -+gl_LIB([libicrt]) -+gl_MAKEFILE_NAME([Makefile.gnulib]) -+gl_MACRO_PREFIX([gl]) -+gl_PO_DOMAIN([]) -+gl_WITNESS_C_MACRO([]) -+gl_VC_FILES([false]) -diff -Naur libiconv-20130504/srcm4/gnulib-common.m4 libiconv-20130504.patch/srcm4/gnulib-common.m4 ---- libiconv-20130504/srcm4/gnulib-common.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/gnulib-common.m4 2013-05-04 10:20:07.919697938 +0200 -@@ -0,0 +1,377 @@ -+# gnulib-common.m4 serial 33 -+dnl Copyright (C) 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# gl_COMMON -+# is expanded unconditionally through gnulib-tool magic. -+AC_DEFUN([gl_COMMON], [ -+ dnl Use AC_REQUIRE here, so that the code is expanded once only. -+ AC_REQUIRE([gl_00GNULIB]) -+ AC_REQUIRE([gl_COMMON_BODY]) -+]) -+AC_DEFUN([gl_COMMON_BODY], [ -+ AH_VERBATIM([_Noreturn], -+[/* The _Noreturn keyword of C11. */ -+#if ! (defined _Noreturn \ -+ || (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__)) -+# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ -+ || 0x5110 <= __SUNPRO_C) -+# define _Noreturn __attribute__ ((__noreturn__)) -+# elif defined _MSC_VER && 1200 <= _MSC_VER -+# define _Noreturn __declspec (noreturn) -+# else -+# define _Noreturn -+# endif -+#endif -+]) -+ AH_VERBATIM([isoc99_inline], -+[/* Work around a bug in Apple GCC 4.0.1 build 5465: In C99 mode, it supports -+ the ISO C 99 semantics of 'extern inline' (unlike the GNU C semantics of -+ earlier versions), but does not display it by setting __GNUC_STDC_INLINE__. -+ __APPLE__ && __MACH__ test for Mac OS X. -+ __APPLE_CC__ tests for the Apple compiler and its version. -+ __STDC_VERSION__ tests for the C99 mode. */ -+#if defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && !defined __cplusplus && __STDC_VERSION__ >= 199901L && !defined __GNUC_STDC_INLINE__ -+# define __GNUC_STDC_INLINE__ 1 -+#endif]) -+ AH_VERBATIM([unused_parameter], -+[/* Define as a marker that can be attached to declarations that might not -+ be used. This helps to reduce warnings, such as from -+ GCC -Wunused-parameter. */ -+#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) -+# define _GL_UNUSED __attribute__ ((__unused__)) -+#else -+# define _GL_UNUSED -+#endif -+/* The name _UNUSED_PARAMETER_ is an earlier spelling, although the name -+ is a misnomer outside of parameter lists. */ -+#define _UNUSED_PARAMETER_ _GL_UNUSED -+ -+/* The __pure__ attribute was added in gcc 2.96. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -+# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__)) -+#else -+# define _GL_ATTRIBUTE_PURE /* empty */ -+#endif -+ -+/* The __const__ attribute was added in gcc 2.95. */ -+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) -+# define _GL_ATTRIBUTE_CONST __attribute__ ((__const__)) -+#else -+# define _GL_ATTRIBUTE_CONST /* empty */ -+#endif -+]) -+ dnl Preparation for running test programs: -+ dnl Tell glibc to write diagnostics from -D_FORTIFY_SOURCE=2 to stderr, not -+ dnl to /dev/tty, so they can be redirected to log files. Such diagnostics -+ dnl arise e.g., in the macros gl_PRINTF_DIRECTIVE_N, gl_SNPRINTF_DIRECTIVE_N. -+ LIBC_FATAL_STDERR_=1 -+ export LIBC_FATAL_STDERR_ -+]) -+ -+# gl_MODULE_INDICATOR_CONDITION -+# expands to a C preprocessor expression that evaluates to 1 or 0, depending -+# whether a gnulib module that has been requested shall be considered present -+# or not. -+m4_define([gl_MODULE_INDICATOR_CONDITION], [1]) -+ -+# gl_MODULE_INDICATOR_SET_VARIABLE([modulename]) -+# sets the shell variable that indicates the presence of the given module to -+# a C preprocessor expression that will evaluate to 1. -+AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], -+[ -+ gl_MODULE_INDICATOR_SET_VARIABLE_AUX( -+ [GNULIB_[]m4_translit([[$1]], -+ [abcdefghijklmnopqrstuvwxyz./-], -+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], -+ [gl_MODULE_INDICATOR_CONDITION]) -+]) -+ -+# gl_MODULE_INDICATOR_SET_VARIABLE_AUX([variable]) -+# modifies the shell variable to include the gl_MODULE_INDICATOR_CONDITION. -+# The shell variable's value is a C preprocessor expression that evaluates -+# to 0 or 1. -+AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX], -+[ -+ m4_if(m4_defn([gl_MODULE_INDICATOR_CONDITION]), [1], -+ [ -+ dnl Simplify the expression VALUE || 1 to 1. -+ $1=1 -+ ], -+ [gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([$1], -+ [gl_MODULE_INDICATOR_CONDITION])]) -+]) -+ -+# gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR([variable], [condition]) -+# modifies the shell variable to include the given condition. The shell -+# variable's value is a C preprocessor expression that evaluates to 0 or 1. -+AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE_AUX_OR], -+[ -+ dnl Simplify the expression 1 || CONDITION to 1. -+ if test "$[]$1" != 1; then -+ dnl Simplify the expression 0 || CONDITION to CONDITION. -+ if test "$[]$1" = 0; then -+ $1=$2 -+ else -+ $1="($[]$1 || $2)" -+ fi -+ fi -+]) -+ -+# gl_MODULE_INDICATOR([modulename]) -+# defines a C macro indicating the presence of the given module -+# in a location where it can be used. -+# | Value | Value | -+# | in lib/ | in tests/ | -+# --------------------------------------------+---------+-----------+ -+# Module present among main modules: | 1 | 1 | -+# --------------------------------------------+---------+-----------+ -+# Module present among tests-related modules: | 0 | 1 | -+# --------------------------------------------+---------+-----------+ -+# Module not present at all: | 0 | 0 | -+# --------------------------------------------+---------+-----------+ -+AC_DEFUN([gl_MODULE_INDICATOR], -+[ -+ AC_DEFINE_UNQUOTED([GNULIB_]m4_translit([[$1]], -+ [abcdefghijklmnopqrstuvwxyz./-], -+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), -+ [gl_MODULE_INDICATOR_CONDITION], -+ [Define to a C preprocessor expression that evaluates to 1 or 0, -+ depending whether the gnulib module $1 shall be considered present.]) -+]) -+ -+# gl_MODULE_INDICATOR_FOR_TESTS([modulename]) -+# defines a C macro indicating the presence of the given module -+# in lib or tests. This is useful to determine whether the module -+# should be tested. -+# | Value | Value | -+# | in lib/ | in tests/ | -+# --------------------------------------------+---------+-----------+ -+# Module present among main modules: | 1 | 1 | -+# --------------------------------------------+---------+-----------+ -+# Module present among tests-related modules: | 1 | 1 | -+# --------------------------------------------+---------+-----------+ -+# Module not present at all: | 0 | 0 | -+# --------------------------------------------+---------+-----------+ -+AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], -+[ -+ AC_DEFINE([GNULIB_TEST_]m4_translit([[$1]], -+ [abcdefghijklmnopqrstuvwxyz./-], -+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___]), [1], -+ [Define to 1 when the gnulib module $1 should be tested.]) -+]) -+ -+# gl_ASSERT_NO_GNULIB_POSIXCHECK -+# asserts that there will never be a need to #define GNULIB_POSIXCHECK. -+# and thereby enables an optimization of configure and config.h. -+# Used by Emacs. -+AC_DEFUN([gl_ASSERT_NO_GNULIB_POSIXCHECK], -+[ -+ dnl Override gl_WARN_ON_USE_PREPARE. -+ dnl But hide this definition from 'aclocal'. -+ AC_DEFUN([gl_W][ARN_ON_USE_PREPARE], []) -+]) -+ -+# gl_ASSERT_NO_GNULIB_TESTS -+# asserts that there will be no gnulib tests in the scope of the configure.ac -+# and thereby enables an optimization of config.h. -+# Used by Emacs. -+AC_DEFUN([gl_ASSERT_NO_GNULIB_TESTS], -+[ -+ dnl Override gl_MODULE_INDICATOR_FOR_TESTS. -+ AC_DEFUN([gl_MODULE_INDICATOR_FOR_TESTS], []) -+]) -+ -+# Test whether exists. -+# Set HAVE_FEATURES_H. -+AC_DEFUN([gl_FEATURES_H], -+[ -+ AC_CHECK_HEADERS_ONCE([features.h]) -+ if test $ac_cv_header_features_h = yes; then -+ HAVE_FEATURES_H=1 -+ else -+ HAVE_FEATURES_H=0 -+ fi -+ AC_SUBST([HAVE_FEATURES_H]) -+]) -+ -+# m4_foreach_w -+# is a backport of autoconf-2.59c's m4_foreach_w. -+# Remove this macro when we can assume autoconf >= 2.60. -+m4_ifndef([m4_foreach_w], -+ [m4_define([m4_foreach_w], -+ [m4_foreach([$1], m4_split(m4_normalize([$2]), [ ]), [$3])])]) -+ -+# AS_VAR_IF(VAR, VALUE, [IF-MATCH], [IF-NOT-MATCH]) -+# ---------------------------------------------------- -+# Backport of autoconf-2.63b's macro. -+# Remove this macro when we can assume autoconf >= 2.64. -+m4_ifndef([AS_VAR_IF], -+[m4_define([AS_VAR_IF], -+[AS_IF([test x"AS_VAR_GET([$1])" = x""$2], [$3], [$4])])]) -+ -+# gl_PROG_CC_C99 -+# Modifies the value of the shell variable CC in an attempt to make $CC -+# understand ISO C99 source code. -+# This is like AC_PROG_CC_C99, except that -+# - AC_PROG_CC_C99 did not exist in Autoconf versions < 2.60, -+# - AC_PROG_CC_C99 does not mix well with AC_PROG_CC_STDC -+# , -+# but many more packages use AC_PROG_CC_STDC than AC_PROG_CC_C99 -+# . -+# Remaining problems: -+# - When AC_PROG_CC_STDC is invoked twice, it adds the C99 enabling options -+# to CC twice -+# . -+# - AC_PROG_CC_STDC is likely to change now that C11 is an ISO standard. -+AC_DEFUN([gl_PROG_CC_C99], -+[ -+ dnl Change that version number to the minimum Autoconf version that supports -+ dnl mixing AC_PROG_CC_C99 calls with AC_PROG_CC_STDC calls. -+ m4_version_prereq([9.0], -+ [AC_REQUIRE([AC_PROG_CC_C99])], -+ [AC_REQUIRE([AC_PROG_CC_STDC])]) -+]) -+ -+# gl_PROG_AR_RANLIB -+# Determines the values for AR, ARFLAGS, RANLIB that fit with the compiler. -+# The user can set the variables AR, ARFLAGS, RANLIB if he wants to override -+# the values. -+AC_DEFUN([gl_PROG_AR_RANLIB], -+[ -+ dnl Minix 3 comes with two toolchains: The Amsterdam Compiler Kit compiler -+ dnl as "cc", and GCC as "gcc". They have different object file formats and -+ dnl library formats. In particular, the GNU binutils programs ar, ranlib -+ dnl produce libraries that work only with gcc, not with cc. -+ AC_REQUIRE([AC_PROG_CC]) -+ AC_CACHE_CHECK([for Minix Amsterdam compiler], [gl_cv_c_amsterdam_compiler], -+ [ -+ AC_EGREP_CPP([Amsterdam], -+ [ -+#ifdef __ACK__ -+Amsterdam -+#endif -+ ], -+ [gl_cv_c_amsterdam_compiler=yes], -+ [gl_cv_c_amsterdam_compiler=no]) -+ ]) -+ if test -z "$AR"; then -+ if test $gl_cv_c_amsterdam_compiler = yes; then -+ AR='cc -c.a' -+ if test -z "$ARFLAGS"; then -+ ARFLAGS='-o' -+ fi -+ else -+ dnl Use the Automake-documented default values for AR and ARFLAGS, -+ dnl but prefer ${host}-ar over ar (useful for cross-compiling). -+ AC_CHECK_TOOL([AR], [ar], [ar]) -+ if test -z "$ARFLAGS"; then -+ ARFLAGS='cru' -+ fi -+ fi -+ else -+ if test -z "$ARFLAGS"; then -+ ARFLAGS='cru' -+ fi -+ fi -+ AC_SUBST([AR]) -+ AC_SUBST([ARFLAGS]) -+ if test -z "$RANLIB"; then -+ if test $gl_cv_c_amsterdam_compiler = yes; then -+ RANLIB=':' -+ else -+ dnl Use the ranlib program if it is available. -+ AC_PROG_RANLIB -+ fi -+ fi -+ AC_SUBST([RANLIB]) -+]) -+ -+# AC_PROG_MKDIR_P -+# is a backport of autoconf-2.60's AC_PROG_MKDIR_P, with a fix -+# for interoperability with automake-1.9.6 from autoconf-2.62. -+# Remove this macro when we can assume autoconf >= 2.62 or -+# autoconf >= 2.60 && automake >= 1.10. -+# AC_AUTOCONF_VERSION was introduced in 2.62, so use that as the witness. -+m4_ifndef([AC_AUTOCONF_VERSION],[ -+m4_ifdef([AC_PROG_MKDIR_P], [ -+ dnl For automake-1.9.6 && autoconf < 2.62: Ensure MKDIR_P is AC_SUBSTed. -+ m4_define([AC_PROG_MKDIR_P], -+ m4_defn([AC_PROG_MKDIR_P])[ -+ AC_SUBST([MKDIR_P])])], [ -+ dnl For autoconf < 2.60: Backport of AC_PROG_MKDIR_P. -+ AC_DEFUN_ONCE([AC_PROG_MKDIR_P], -+ [AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake -+ MKDIR_P='$(mkdir_p)' -+ AC_SUBST([MKDIR_P])])]) -+]) -+ -+# AC_C_RESTRICT -+# This definition overrides the AC_C_RESTRICT macro from autoconf 2.60..2.61, -+# so that mixed use of GNU C and GNU C++ and mixed use of Sun C and Sun C++ -+# works. -+# This definition can be removed once autoconf >= 2.62 can be assumed. -+# AC_AUTOCONF_VERSION was introduced in 2.62, so use that as the witness. -+m4_ifndef([AC_AUTOCONF_VERSION],[ -+AC_DEFUN([AC_C_RESTRICT], -+[AC_CACHE_CHECK([for C/C++ restrict keyword], [ac_cv_c_restrict], -+ [ac_cv_c_restrict=no -+ # The order here caters to the fact that C++ does not require restrict. -+ for ac_kw in __restrict __restrict__ _Restrict restrict; do -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM( -+ [[typedef int * int_ptr; -+ int foo (int_ptr $ac_kw ip) { -+ return ip[0]; -+ }]], -+ [[int s[1]; -+ int * $ac_kw t = s; -+ t[0] = 0; -+ return foo(t)]])], -+ [ac_cv_c_restrict=$ac_kw]) -+ test "$ac_cv_c_restrict" != no && break -+ done -+ ]) -+ AH_VERBATIM([restrict], -+[/* Define to the equivalent of the C99 'restrict' keyword, or to -+ nothing if this is not supported. Do not define if restrict is -+ supported directly. */ -+#undef restrict -+/* Work around a bug in Sun C++: it does not support _Restrict, even -+ though the corresponding Sun C compiler does, which causes -+ "#define restrict _Restrict" in the previous line. Perhaps some future -+ version of Sun C++ will work with _Restrict; if so, it'll probably -+ define __RESTRICT, just as Sun C does. */ -+#if defined __SUNPRO_CC && !defined __RESTRICT -+# define _Restrict -+#endif]) -+ case $ac_cv_c_restrict in -+ restrict) ;; -+ no) AC_DEFINE([restrict], []) ;; -+ *) AC_DEFINE_UNQUOTED([restrict], [$ac_cv_c_restrict]) ;; -+ esac -+]) -+]) -+ -+# gl_BIGENDIAN -+# is like AC_C_BIGENDIAN, except that it can be AC_REQUIREd. -+# Note that AC_REQUIRE([AC_C_BIGENDIAN]) does not work reliably because some -+# macros invoke AC_C_BIGENDIAN with arguments. -+AC_DEFUN([gl_BIGENDIAN], -+[ -+ AC_C_BIGENDIAN -+]) -+ -+# gl_CACHE_VAL_SILENT(cache-id, command-to-set-it) -+# is like AC_CACHE_VAL(cache-id, command-to-set-it), except that it does not -+# output a spurious "(cached)" mark in the midst of other configure output. -+# This macro should be used instead of AC_CACHE_VAL when it is not surrounded -+# by an AC_MSG_CHECKING/AC_MSG_RESULT pair. -+AC_DEFUN([gl_CACHE_VAL_SILENT], -+[ -+ saved_as_echo_n="$as_echo_n" -+ as_echo_n=':' -+ AC_CACHE_VAL([$1], [$2]) -+ as_echo_n="$saved_as_echo_n" -+]) -diff -Naur libiconv-20130504/srcm4/gnulib-comp.m4 libiconv-20130504.patch/srcm4/gnulib-comp.m4 ---- libiconv-20130504/srcm4/gnulib-comp.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/gnulib-comp.m4 2013-05-04 10:20:10.200691269 +0200 -@@ -0,0 +1,569 @@ -+# DO NOT EDIT! GENERATED AUTOMATICALLY! -+# Copyright (C) 2002-2013 Free Software Foundation, Inc. -+# -+# This file is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 3 of the License, or -+# (at your option) any later version. -+# -+# This file 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 file. If not, see . -+# -+# As a special exception to the GNU General Public License, -+# this file may be distributed as part of a program that -+# contains a configuration script generated by Autoconf, under -+# the same distribution terms as the rest of that program. -+# -+# Generated by gnulib-tool. -+# -+# This file represents the compiled summary of the specification in -+# gnulib-cache.m4. It lists the computed macro invocations that need -+# to be invoked from configure.ac. -+# In projects that use version control, this file can be treated like -+# other built files. -+ -+ -+# This macro should be invoked from ./configure.ac, in the section -+# "Checks for programs", right after AC_PROG_CC, and certainly before -+# any checks for libraries, header files, types and library functions. -+AC_DEFUN([gl_EARLY], -+[ -+ m4_pattern_forbid([^gl_[A-Z]])dnl the gnulib macro namespace -+ m4_pattern_allow([^gl_ES$])dnl a valid locale name -+ m4_pattern_allow([^gl_LIBOBJS$])dnl a variable -+ m4_pattern_allow([^gl_LTLIBOBJS$])dnl a variable -+ AC_REQUIRE([gl_PROG_AR_RANLIB]) -+ AC_REQUIRE([AM_PROG_CC_C_O]) -+ # Code from module alloca-opt: -+ # Code from module allocator: -+ # Code from module areadlink: -+ # Code from module binary-io: -+ # Code from module canonicalize-lgpl: -+ # Code from module careadlinkat: -+ # Code from module dosname: -+ # Code from module double-slash-root: -+ # Code from module environ: -+ # Code from module errno: -+ # Code from module error: -+ # Code from module extensions: -+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -+ # Code from module extern-inline: -+ # Code from module fcntl-h: -+ # Code from module gettext: -+ # Code from module gettext-h: -+ # Code from module havelib: -+ # Code from module include_next: -+ # Code from module intprops: -+ # Code from module largefile: -+ AC_REQUIRE([AC_SYS_LARGEFILE]) -+ # Code from module libiconv-misc: -+ # Code from module lstat: -+ # Code from module malloca: -+ # Code from module mbstate: -+ # Code from module memmove: -+ # Code from module msvc-inval: -+ # Code from module msvc-nothrow: -+ # Code from module multiarch: -+ # Code from module nocrash: -+ # Code from module pathmax: -+ # Code from module progname: -+ # Code from module raise: -+ # Code from module read: -+ # Code from module readlink: -+ # Code from module relocatable-prog: -+ # Code from module relocatable-prog-wrapper: -+ # Code from module safe-read: -+ # Code from module signal-h: -+ # Code from module sigpipe: -+ # Code from module sigprocmask: -+ # Code from module snippet/_Noreturn: -+ # Code from module snippet/arg-nonnull: -+ # Code from module snippet/c++defs: -+ # Code from module snippet/warn-on-use: -+ # Code from module ssize_t: -+ # Code from module stat: -+ # Code from module stdbool: -+ # Code from module stddef: -+ # Code from module stdint: -+ # Code from module stdio: -+ # Code from module stdlib: -+ # Code from module streq: -+ # Code from module strerror: -+ # Code from module strerror-override: -+ # Code from module string: -+ # Code from module sys_stat: -+ # Code from module sys_types: -+ # Code from module time: -+ # Code from module unistd: -+ # Code from module unitypes: -+ # Code from module uniwidth/base: -+ # Code from module uniwidth/width: -+ # Code from module unlocked-io: -+ # Code from module verify: -+ # Code from module xalloc: -+ # Code from module xreadlink: -+]) -+ -+# This macro should be invoked from ./configure.ac, in the section -+# "Check for header files, types and library functions". -+AC_DEFUN([gl_INIT], -+[ -+ AM_CONDITIONAL([GL_COND_LIBTOOL], [false]) -+ gl_cond_libtool=false -+ gl_libdeps= -+ gl_ltlibdeps= -+ gl_m4_base='srcm4' -+ m4_pushdef([AC_LIBOBJ], m4_defn([gl_LIBOBJ])) -+ m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gl_REPLACE_FUNCS])) -+ m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) -+ m4_pushdef([gl_LIBSOURCES_LIST], []) -+ m4_pushdef([gl_LIBSOURCES_DIR], []) -+ gl_COMMON -+ gl_source_base='srclib' -+ gl_FUNC_ALLOCA -+ gl_CANONICALIZE_LGPL -+ if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then -+ AC_LIBOBJ([canonicalize-lgpl]) -+ fi -+ gl_MODULE_INDICATOR([canonicalize-lgpl]) -+ gl_STDLIB_MODULE_INDICATOR([canonicalize_file_name]) -+ gl_STDLIB_MODULE_INDICATOR([realpath]) -+ AC_CHECK_FUNCS_ONCE([readlinkat]) -+ gl_DOUBLE_SLASH_ROOT -+ gl_ENVIRON -+ gl_UNISTD_MODULE_INDICATOR([environ]) -+ gl_HEADER_ERRNO_H -+ gl_ERROR -+ if test $ac_cv_lib_error_at_line = no; then -+ AC_LIBOBJ([error]) -+ gl_PREREQ_ERROR -+ fi -+ m4_ifdef([AM_XGETTEXT_OPTION], -+ [AM_][XGETTEXT_OPTION([--flag=error:3:c-format]) -+ AM_][XGETTEXT_OPTION([--flag=error_at_line:5:c-format])]) -+ AC_REQUIRE([gl_EXTERN_INLINE]) -+ gl_FCNTL_H -+ dnl you must add AM_GNU_GETTEXT([external]) or similar to configure.ac. -+ AM_GNU_GETTEXT_VERSION([0.18.1]) -+ AC_SUBST([LIBINTL]) -+ AC_SUBST([LTLIBINTL]) -+ AC_REQUIRE([gl_LARGEFILE]) -+ gl_FUNC_LSTAT -+ if test $REPLACE_LSTAT = 1; then -+ AC_LIBOBJ([lstat]) -+ gl_PREREQ_LSTAT -+ fi -+ gl_SYS_STAT_MODULE_INDICATOR([lstat]) -+ gl_MALLOCA -+ AC_TYPE_MBSTATE_T -+ gl_FUNC_MEMMOVE -+ if test $ac_cv_func_memmove = no; then -+ AC_LIBOBJ([memmove]) -+ gl_PREREQ_MEMMOVE -+ fi -+ gl_MSVC_INVAL -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ AC_LIBOBJ([msvc-inval]) -+ fi -+ gl_MSVC_NOTHROW -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ AC_LIBOBJ([msvc-nothrow]) -+ fi -+ gl_MULTIARCH -+ gl_PATHMAX -+ AC_CHECK_DECLS([program_invocation_name], [], [], [#include ]) -+ AC_CHECK_DECLS([program_invocation_short_name], [], [], [#include ]) -+ gl_FUNC_RAISE -+ if test $HAVE_RAISE = 0 || test $REPLACE_RAISE = 1; then -+ AC_LIBOBJ([raise]) -+ gl_PREREQ_RAISE -+ fi -+ gl_SIGNAL_MODULE_INDICATOR([raise]) -+ gl_FUNC_READ -+ if test $REPLACE_READ = 1; then -+ AC_LIBOBJ([read]) -+ gl_PREREQ_READ -+ fi -+ gl_UNISTD_MODULE_INDICATOR([read]) -+ gl_FUNC_READLINK -+ if test $HAVE_READLINK = 0 || test $REPLACE_READLINK = 1; then -+ AC_LIBOBJ([readlink]) -+ gl_PREREQ_READLINK -+ fi -+ gl_UNISTD_MODULE_INDICATOR([readlink]) -+ gl_RELOCATABLE([$gl_source_base]) -+ if test $RELOCATABLE = yes; then -+ AC_LIBOBJ([progreloc]) -+ AC_LIBOBJ([relocatable]) -+ fi -+ gl_FUNC_READLINK_SEPARATE -+ gl_CANONICALIZE_LGPL_SEPARATE -+ gl_MALLOCA -+ gl_RELOCATABLE_LIBRARY -+ gl_FUNC_SETENV_SEPARATE -+ gl_PREREQ_SAFE_READ -+ gl_SIGNAL_H -+ gl_SIGNAL_SIGPIPE -+ dnl Define the C macro GNULIB_SIGPIPE to 1. -+ gl_MODULE_INDICATOR([sigpipe]) -+ dnl Define the substituted variable GNULIB_SIGNAL_H_SIGPIPE to 1. -+ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) -+ GNULIB_SIGNAL_H_SIGPIPE=1 -+ dnl Define the substituted variable GNULIB_STDIO_H_SIGPIPE to 1. -+ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) -+ AC_REQUIRE([gl_ASM_SYMBOL_PREFIX]) -+ GNULIB_STDIO_H_SIGPIPE=1 -+ dnl Define the substituted variable GNULIB_UNISTD_H_SIGPIPE to 1. -+ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) -+ GNULIB_UNISTD_H_SIGPIPE=1 -+ gl_SIGNALBLOCKING -+ if test $HAVE_POSIX_SIGNALBLOCKING = 0; then -+ AC_LIBOBJ([sigprocmask]) -+ gl_PREREQ_SIGPROCMASK -+ fi -+ gl_SIGNAL_MODULE_INDICATOR([sigprocmask]) -+ gt_TYPE_SSIZE_T -+ gl_FUNC_STAT -+ if test $REPLACE_STAT = 1; then -+ AC_LIBOBJ([stat]) -+ gl_PREREQ_STAT -+ fi -+ gl_SYS_STAT_MODULE_INDICATOR([stat]) -+ AM_STDBOOL_H -+ gl_STDDEF_H -+ gl_STDINT_H -+ gl_STDIO_H -+ gl_STDLIB_H -+ gl_FUNC_STRERROR -+ if test $REPLACE_STRERROR = 1; then -+ AC_LIBOBJ([strerror]) -+ fi -+ gl_MODULE_INDICATOR([strerror]) -+ gl_STRING_MODULE_INDICATOR([strerror]) -+ AC_REQUIRE([gl_HEADER_ERRNO_H]) -+ AC_REQUIRE([gl_FUNC_STRERROR_0]) -+ if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then -+ AC_LIBOBJ([strerror-override]) -+ gl_PREREQ_SYS_H_WINSOCK2 -+ fi -+ gl_HEADER_STRING_H -+ gl_HEADER_SYS_STAT_H -+ AC_PROG_MKDIR_P -+ gl_SYS_TYPES_H -+ AC_PROG_MKDIR_P -+ gl_HEADER_TIME_H -+ gl_UNISTD_H -+ gl_LIBUNISTRING_LIBHEADER([0.9], [unitypes.h]) -+ gl_LIBUNISTRING_LIBHEADER([0.9], [uniwidth.h]) -+ gl_LIBUNISTRING_MODULE([0.9.4], [uniwidth/width]) -+ gl_FUNC_GLIBC_UNLOCKED_IO -+ # End of code from modules -+ m4_ifval(gl_LIBSOURCES_LIST, [ -+ m4_syscmd([test ! -d ]m4_defn([gl_LIBSOURCES_DIR])[ || -+ for gl_file in ]gl_LIBSOURCES_LIST[ ; do -+ if test ! -r ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file ; then -+ echo "missing file ]m4_defn([gl_LIBSOURCES_DIR])[/$gl_file" >&2 -+ exit 1 -+ fi -+ done])dnl -+ m4_if(m4_sysval, [0], [], -+ [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) -+ ]) -+ m4_popdef([gl_LIBSOURCES_DIR]) -+ m4_popdef([gl_LIBSOURCES_LIST]) -+ m4_popdef([AC_LIBSOURCES]) -+ m4_popdef([AC_REPLACE_FUNCS]) -+ m4_popdef([AC_LIBOBJ]) -+ AC_CONFIG_COMMANDS_PRE([ -+ gl_libobjs= -+ gl_ltlibobjs= -+ if test -n "$gl_LIBOBJS"; then -+ # Remove the extension. -+ sed_drop_objext='s/\.o$//;s/\.obj$//' -+ for i in `for i in $gl_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do -+ gl_libobjs="$gl_libobjs $i.$ac_objext" -+ gl_ltlibobjs="$gl_ltlibobjs $i.lo" -+ done -+ fi -+ AC_SUBST([gl_LIBOBJS], [$gl_libobjs]) -+ AC_SUBST([gl_LTLIBOBJS], [$gl_ltlibobjs]) -+ ]) -+ gltests_libdeps= -+ gltests_ltlibdeps= -+ m4_pushdef([AC_LIBOBJ], m4_defn([gltests_LIBOBJ])) -+ m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gltests_REPLACE_FUNCS])) -+ m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) -+ m4_pushdef([gltests_LIBSOURCES_LIST], []) -+ m4_pushdef([gltests_LIBSOURCES_DIR], []) -+ gl_COMMON -+ gl_source_base='tests' -+changequote(,)dnl -+ gltests_WITNESS=IN_`echo "${PACKAGE-$PACKAGE_TARNAME}" | LC_ALL=C tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ | LC_ALL=C sed -e 's/[^A-Z0-9_]/_/g'`_GNULIB_TESTS -+changequote([, ])dnl -+ AC_SUBST([gltests_WITNESS]) -+ gl_module_indicator_condition=$gltests_WITNESS -+ m4_pushdef([gl_MODULE_INDICATOR_CONDITION], [$gl_module_indicator_condition]) -+ m4_popdef([gl_MODULE_INDICATOR_CONDITION]) -+ m4_ifval(gltests_LIBSOURCES_LIST, [ -+ m4_syscmd([test ! -d ]m4_defn([gltests_LIBSOURCES_DIR])[ || -+ for gl_file in ]gltests_LIBSOURCES_LIST[ ; do -+ if test ! -r ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file ; then -+ echo "missing file ]m4_defn([gltests_LIBSOURCES_DIR])[/$gl_file" >&2 -+ exit 1 -+ fi -+ done])dnl -+ m4_if(m4_sysval, [0], [], -+ [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) -+ ]) -+ m4_popdef([gltests_LIBSOURCES_DIR]) -+ m4_popdef([gltests_LIBSOURCES_LIST]) -+ m4_popdef([AC_LIBSOURCES]) -+ m4_popdef([AC_REPLACE_FUNCS]) -+ m4_popdef([AC_LIBOBJ]) -+ AC_CONFIG_COMMANDS_PRE([ -+ gltests_libobjs= -+ gltests_ltlibobjs= -+ if test -n "$gltests_LIBOBJS"; then -+ # Remove the extension. -+ sed_drop_objext='s/\.o$//;s/\.obj$//' -+ for i in `for i in $gltests_LIBOBJS; do echo "$i"; done | sed -e "$sed_drop_objext" | sort | uniq`; do -+ gltests_libobjs="$gltests_libobjs $i.$ac_objext" -+ gltests_ltlibobjs="$gltests_ltlibobjs $i.lo" -+ done -+ fi -+ AC_SUBST([gltests_LIBOBJS], [$gltests_libobjs]) -+ AC_SUBST([gltests_LTLIBOBJS], [$gltests_ltlibobjs]) -+ ]) -+ LIBICRT_LIBDEPS="$gl_libdeps" -+ AC_SUBST([LIBICRT_LIBDEPS]) -+ LIBICRT_LTLIBDEPS="$gl_ltlibdeps" -+ AC_SUBST([LIBICRT_LTLIBDEPS]) -+]) -+ -+# Like AC_LIBOBJ, except that the module name goes -+# into gl_LIBOBJS instead of into LIBOBJS. -+AC_DEFUN([gl_LIBOBJ], [ -+ AS_LITERAL_IF([$1], [gl_LIBSOURCES([$1.c])])dnl -+ gl_LIBOBJS="$gl_LIBOBJS $1.$ac_objext" -+]) -+ -+# Like AC_REPLACE_FUNCS, except that the module name goes -+# into gl_LIBOBJS instead of into LIBOBJS. -+AC_DEFUN([gl_REPLACE_FUNCS], [ -+ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl -+ AC_CHECK_FUNCS([$1], , [gl_LIBOBJ($ac_func)]) -+]) -+ -+# Like AC_LIBSOURCES, except the directory where the source file is -+# expected is derived from the gnulib-tool parameterization, -+# and alloca is special cased (for the alloca-opt module). -+# We could also entirely rely on EXTRA_lib..._SOURCES. -+AC_DEFUN([gl_LIBSOURCES], [ -+ m4_foreach([_gl_NAME], [$1], [ -+ m4_if(_gl_NAME, [alloca.c], [], [ -+ m4_define([gl_LIBSOURCES_DIR], [srclib]) -+ m4_append([gl_LIBSOURCES_LIST], _gl_NAME, [ ]) -+ ]) -+ ]) -+]) -+ -+# Like AC_LIBOBJ, except that the module name goes -+# into gltests_LIBOBJS instead of into LIBOBJS. -+AC_DEFUN([gltests_LIBOBJ], [ -+ AS_LITERAL_IF([$1], [gltests_LIBSOURCES([$1.c])])dnl -+ gltests_LIBOBJS="$gltests_LIBOBJS $1.$ac_objext" -+]) -+ -+# Like AC_REPLACE_FUNCS, except that the module name goes -+# into gltests_LIBOBJS instead of into LIBOBJS. -+AC_DEFUN([gltests_REPLACE_FUNCS], [ -+ m4_foreach_w([gl_NAME], [$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl -+ AC_CHECK_FUNCS([$1], , [gltests_LIBOBJ($ac_func)]) -+]) -+ -+# Like AC_LIBSOURCES, except the directory where the source file is -+# expected is derived from the gnulib-tool parameterization, -+# and alloca is special cased (for the alloca-opt module). -+# We could also entirely rely on EXTRA_lib..._SOURCES. -+AC_DEFUN([gltests_LIBSOURCES], [ -+ m4_foreach([_gl_NAME], [$1], [ -+ m4_if(_gl_NAME, [alloca.c], [], [ -+ m4_define([gltests_LIBSOURCES_DIR], [tests]) -+ m4_append([gltests_LIBSOURCES_LIST], _gl_NAME, [ ]) -+ ]) -+ ]) -+]) -+ -+# This macro records the list of files which have been installed by -+# gnulib-tool and may be removed by future gnulib-tool invocations. -+AC_DEFUN([gl_FILE_LIST], [ -+ build-aux/config.libpath -+ build-aux/config.rpath -+ build-aux/install-reloc -+ build-aux/reloc-ldflags -+ build-aux/snippet/_Noreturn.h -+ build-aux/snippet/arg-nonnull.h -+ build-aux/snippet/c++defs.h -+ build-aux/snippet/warn-on-use.h -+ doc/relocatable.texi -+ lib/alloca.in.h -+ lib/allocator.c -+ lib/allocator.h -+ lib/areadlink.c -+ lib/areadlink.h -+ lib/binary-io.c -+ lib/binary-io.h -+ lib/c-ctype.c -+ lib/c-ctype.h -+ lib/canonicalize-lgpl.c -+ lib/careadlinkat.c -+ lib/careadlinkat.h -+ lib/dosname.h -+ lib/errno.in.h -+ lib/error.c -+ lib/error.h -+ lib/fcntl.in.h -+ lib/gettext.h -+ lib/intprops.h -+ lib/localcharset.h -+ lib/lstat.c -+ lib/malloca.c -+ lib/malloca.h -+ lib/malloca.valgrind -+ lib/memmove.c -+ lib/msvc-inval.c -+ lib/msvc-inval.h -+ lib/msvc-nothrow.c -+ lib/msvc-nothrow.h -+ lib/pathmax.h -+ lib/progname.c -+ lib/progname.h -+ lib/progreloc.c -+ lib/raise.c -+ lib/read.c -+ lib/readlink.c -+ lib/relocatable.c -+ lib/relocatable.h -+ lib/relocwrapper.c -+ lib/safe-read.c -+ lib/safe-read.h -+ lib/setenv.c -+ lib/signal.in.h -+ lib/sigprocmask.c -+ lib/stat.c -+ lib/stdbool.in.h -+ lib/stddef.in.h -+ lib/stdint.in.h -+ lib/stdio-write.c -+ lib/stdio.in.h -+ lib/stdlib.in.h -+ lib/streq.h -+ lib/strerror-override.c -+ lib/strerror-override.h -+ lib/strerror.c -+ lib/string.in.h -+ lib/sys_stat.in.h -+ lib/sys_types.in.h -+ lib/time.in.h -+ lib/unistd.c -+ lib/unistd.in.h -+ lib/unitypes.in.h -+ lib/uniwidth.in.h -+ lib/uniwidth/cjk.h -+ lib/uniwidth/width.c -+ lib/unlocked-io.h -+ lib/verify.h -+ lib/xalloc.h -+ lib/xmalloc.c -+ lib/xreadlink.c -+ lib/xreadlink.h -+ lib/xstrdup.c -+ m4/00gnulib.m4 -+ m4/alloca.m4 -+ m4/asm-underscore.m4 -+ m4/canonicalize.m4 -+ m4/codeset.m4 -+ m4/double-slash-root.m4 -+ m4/eealloc.m4 -+ m4/environ.m4 -+ m4/errno_h.m4 -+ m4/error.m4 -+ m4/extensions.m4 -+ m4/extern-inline.m4 -+ m4/fcntl-o.m4 -+ m4/fcntl_h.m4 -+ m4/gettext.m4 -+ m4/glibc2.m4 -+ m4/glibc21.m4 -+ m4/gnulib-common.m4 -+ m4/iconv.m4 -+ m4/include_next.m4 -+ m4/intdiv0.m4 -+ m4/intl.m4 -+ m4/intldir.m4 -+ m4/intlmacosx.m4 -+ m4/intmax.m4 -+ m4/inttypes-pri.m4 -+ m4/inttypes_h.m4 -+ m4/largefile.m4 -+ m4/lcmessage.m4 -+ m4/lib-ld.m4 -+ m4/lib-link.m4 -+ m4/lib-prefix.m4 -+ m4/libunistring-base.m4 -+ m4/lock.m4 -+ m4/longlong.m4 -+ m4/lstat.m4 -+ m4/malloca.m4 -+ m4/mbstate_t.m4 -+ m4/memmove.m4 -+ m4/msvc-inval.m4 -+ m4/msvc-nothrow.m4 -+ m4/multiarch.m4 -+ m4/nls.m4 -+ m4/nocrash.m4 -+ m4/off_t.m4 -+ m4/pathmax.m4 -+ m4/po.m4 -+ m4/printf-posix.m4 -+ m4/progtest.m4 -+ m4/raise.m4 -+ m4/read.m4 -+ m4/readlink.m4 -+ m4/relocatable-lib.m4 -+ m4/relocatable.m4 -+ m4/safe-read.m4 -+ m4/setenv.m4 -+ m4/signal_h.m4 -+ m4/signalblocking.m4 -+ m4/sigpipe.m4 -+ m4/size_max.m4 -+ m4/ssize_t.m4 -+ m4/stat.m4 -+ m4/stdbool.m4 -+ m4/stddef_h.m4 -+ m4/stdint.m4 -+ m4/stdint_h.m4 -+ m4/stdio_h.m4 -+ m4/stdlib_h.m4 -+ m4/strerror.m4 -+ m4/string_h.m4 -+ m4/sys_socket_h.m4 -+ m4/sys_stat_h.m4 -+ m4/sys_types_h.m4 -+ m4/threadlib.m4 -+ m4/time_h.m4 -+ m4/uintmax_t.m4 -+ m4/unistd_h.m4 -+ m4/unlocked-io.m4 -+ m4/visibility.m4 -+ m4/warn-on-use.m4 -+ m4/wchar_t.m4 -+ m4/wint_t.m4 -+ m4/xsize.m4 -+]) -diff -Naur libiconv-20130504/srcm4/gnulib-tool.m4 libiconv-20130504.patch/srcm4/gnulib-tool.m4 ---- libiconv-20130504/srcm4/gnulib-tool.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/gnulib-tool.m4 2013-05-04 10:20:07.921697933 +0200 -@@ -0,0 +1,57 @@ -+# gnulib-tool.m4 serial 2 -+dnl Copyright (C) 2004-2005, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl The following macros need not be invoked explicitly. -+dnl Invoking them does nothing except to declare default arguments -+dnl for "gnulib-tool --import". -+ -+dnl Usage: gl_LOCAL_DIR([DIR]) -+AC_DEFUN([gl_LOCAL_DIR], []) -+ -+dnl Usage: gl_MODULES([module1 module2 ...]) -+AC_DEFUN([gl_MODULES], []) -+ -+dnl Usage: gl_AVOID([module1 module2 ...]) -+AC_DEFUN([gl_AVOID], []) -+ -+dnl Usage: gl_SOURCE_BASE([DIR]) -+AC_DEFUN([gl_SOURCE_BASE], []) -+ -+dnl Usage: gl_M4_BASE([DIR]) -+AC_DEFUN([gl_M4_BASE], []) -+ -+dnl Usage: gl_PO_BASE([DIR]) -+AC_DEFUN([gl_PO_BASE], []) -+ -+dnl Usage: gl_DOC_BASE([DIR]) -+AC_DEFUN([gl_DOC_BASE], []) -+ -+dnl Usage: gl_TESTS_BASE([DIR]) -+AC_DEFUN([gl_TESTS_BASE], []) -+ -+dnl Usage: gl_WITH_TESTS -+AC_DEFUN([gl_WITH_TESTS], []) -+ -+dnl Usage: gl_LIB([LIBNAME]) -+AC_DEFUN([gl_LIB], []) -+ -+dnl Usage: gl_LGPL or gl_LGPL([VERSION]) -+AC_DEFUN([gl_LGPL], []) -+ -+dnl Usage: gl_MAKEFILE_NAME([FILENAME]) -+AC_DEFUN([gl_MAKEFILE_NAME], []) -+ -+dnl Usage: gl_LIBTOOL -+AC_DEFUN([gl_LIBTOOL], []) -+ -+dnl Usage: gl_MACRO_PREFIX([PREFIX]) -+AC_DEFUN([gl_MACRO_PREFIX], []) -+ -+dnl Usage: gl_PO_DOMAIN([DOMAIN]) -+AC_DEFUN([gl_PO_DOMAIN], []) -+ -+dnl Usage: gl_VC_FILES([BOOLEAN]) -+AC_DEFUN([gl_VC_FILES], []) -diff -Naur libiconv-20130504/srcm4/iconv.m4 libiconv-20130504.patch/srcm4/iconv.m4 ---- libiconv-20130504/srcm4/iconv.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/iconv.m4 2013-05-04 10:20:07.924697923 +0200 -@@ -0,0 +1,268 @@ -+# iconv.m4 serial 18 (gettext-0.18.2) -+dnl Copyright (C) 2000-2002, 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], -+[ -+ dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. -+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) -+ AC_REQUIRE([AC_LIB_RPATH]) -+ -+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV -+ dnl accordingly. -+ AC_LIB_LINKFLAGS_BODY([iconv]) -+]) -+ -+AC_DEFUN([AM_ICONV_LINK], -+[ -+ dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and -+ dnl those with the standalone portable GNU libiconv installed). -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ -+ dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV -+ dnl accordingly. -+ AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) -+ -+ dnl Add $INCICONV to CPPFLAGS before performing the following checks, -+ dnl because if the user has installed libiconv and not disabled its use -+ dnl via --without-libiconv-prefix, he wants to use it. The first -+ dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed. -+ am_save_CPPFLAGS="$CPPFLAGS" -+ AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) -+ -+ AC_CACHE_CHECK([for iconv], [am_cv_func_iconv], [ -+ am_cv_func_iconv="no, consider installing GNU libiconv" -+ am_cv_lib_iconv=no -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+#include -+ ]], -+ [[iconv_t cd = iconv_open("",""); -+ iconv(cd,NULL,NULL,NULL,NULL); -+ iconv_close(cd);]])], -+ [am_cv_func_iconv=yes]) -+ if test "$am_cv_func_iconv" != yes; then -+ am_save_LIBS="$LIBS" -+ LIBS="$LIBS $LIBICONV" -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+#include -+ ]], -+ [[iconv_t cd = iconv_open("",""); -+ iconv(cd,NULL,NULL,NULL,NULL); -+ iconv_close(cd);]])], -+ [am_cv_lib_iconv=yes] -+ [am_cv_func_iconv=yes]) -+ LIBS="$am_save_LIBS" -+ fi -+ ]) -+ if test "$am_cv_func_iconv" = yes; then -+ AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [ -+ dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11, -+ dnl Solaris 10. -+ am_save_LIBS="$LIBS" -+ if test $am_cv_lib_iconv = yes; then -+ LIBS="$LIBS $LIBICONV" -+ fi -+ AC_RUN_IFELSE( -+ [AC_LANG_SOURCE([[ -+#include -+#include -+int main () -+{ -+ int result = 0; -+ /* Test against AIX 5.1 bug: Failures are not distinguishable from successful -+ returns. */ -+ { -+ iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); -+ if (cd_utf8_to_88591 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\342\202\254"; /* EURO SIGN */ -+ char buf[10]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_utf8_to_88591, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res == 0) -+ result |= 1; -+ iconv_close (cd_utf8_to_88591); -+ } -+ } -+ /* Test against Solaris 10 bug: Failures are not distinguishable from -+ successful returns. */ -+ { -+ iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); -+ if (cd_ascii_to_88591 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\263"; -+ char buf[10]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_ascii_to_88591, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res == 0) -+ result |= 2; -+ iconv_close (cd_ascii_to_88591); -+ } -+ } -+ /* Test against AIX 6.1..7.1 bug: Buffer overrun. */ -+ { -+ iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1"); -+ if (cd_88591_to_utf8 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\304"; -+ static char buf[2] = { (char)0xDE, (char)0xAD }; -+ const char *inptr = input; -+ size_t inbytesleft = 1; -+ char *outptr = buf; -+ size_t outbytesleft = 1; -+ size_t res = iconv (cd_88591_to_utf8, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD) -+ result |= 4; -+ iconv_close (cd_88591_to_utf8); -+ } -+ } -+#if 0 /* This bug could be worked around by the caller. */ -+ /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ -+ { -+ iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); -+ if (cd_88591_to_utf8 != (iconv_t)(-1)) -+ { -+ static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; -+ char buf[50]; -+ const char *inptr = input; -+ size_t inbytesleft = strlen (input); -+ char *outptr = buf; -+ size_t outbytesleft = sizeof (buf); -+ size_t res = iconv (cd_88591_to_utf8, -+ (char **) &inptr, &inbytesleft, -+ &outptr, &outbytesleft); -+ if ((int)res > 0) -+ result |= 8; -+ iconv_close (cd_88591_to_utf8); -+ } -+ } -+#endif -+ /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is -+ provided. */ -+ if (/* Try standardized names. */ -+ iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) -+ /* Try IRIX, OSF/1 names. */ -+ && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) -+ /* Try AIX names. */ -+ && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) -+ /* Try HP-UX names. */ -+ && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) -+ result |= 16; -+ return result; -+}]])], -+ [am_cv_func_iconv_works=yes], -+ [am_cv_func_iconv_works=no], -+ [ -+changequote(,)dnl -+ case "$host_os" in -+ aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; -+ *) am_cv_func_iconv_works="guessing yes" ;; -+ esac -+changequote([,])dnl -+ ]) -+ LIBS="$am_save_LIBS" -+ ]) -+ case "$am_cv_func_iconv_works" in -+ *no) am_func_iconv=no am_cv_lib_iconv=no ;; -+ *) am_func_iconv=yes ;; -+ esac -+ else -+ am_func_iconv=no am_cv_lib_iconv=no -+ fi -+ if test "$am_func_iconv" = yes; then -+ AC_DEFINE([HAVE_ICONV], [1], -+ [Define if you have the iconv() function and it works.]) -+ fi -+ if test "$am_cv_lib_iconv" = yes; then -+ AC_MSG_CHECKING([how to link with libiconv]) -+ AC_MSG_RESULT([$LIBICONV]) -+ else -+ dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV -+ dnl either. -+ CPPFLAGS="$am_save_CPPFLAGS" -+ LIBICONV= -+ LTLIBICONV= -+ fi -+ AC_SUBST([LIBICONV]) -+ AC_SUBST([LTLIBICONV]) -+]) -+ -+dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to -+dnl avoid warnings like -+dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required". -+dnl This is tricky because of the way 'aclocal' is implemented: -+dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN. -+dnl Otherwise aclocal's initial scan pass would miss the macro definition. -+dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions. -+dnl Otherwise aclocal would emit many "Use of uninitialized value $1" -+dnl warnings. -+m4_define([gl_iconv_AC_DEFUN], -+ m4_version_prereq([2.64], -+ [[AC_DEFUN_ONCE( -+ [$1], [$2])]], -+ [m4_ifdef([gl_00GNULIB], -+ [[AC_DEFUN_ONCE( -+ [$1], [$2])]], -+ [[AC_DEFUN( -+ [$1], [$2])]])])) -+gl_iconv_AC_DEFUN([AM_ICONV], -+[ -+ AM_ICONV_LINK -+ if test "$am_cv_func_iconv" = yes; then -+ AC_MSG_CHECKING([for iconv declaration]) -+ AC_CACHE_VAL([am_cv_proto_iconv], [ -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+#include -+extern -+#ifdef __cplusplus -+"C" -+#endif -+#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus) -+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -+#else -+size_t iconv(); -+#endif -+ ]], -+ [[]])], -+ [am_cv_proto_iconv_arg1=""], -+ [am_cv_proto_iconv_arg1="const"]) -+ am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) -+ am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` -+ AC_MSG_RESULT([ -+ $am_cv_proto_iconv]) -+ AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1], -+ [Define as const if the declaration of iconv() needs const.]) -+ dnl Also substitute ICONV_CONST in the gnulib generated . -+ m4_ifdef([gl_ICONV_H_DEFAULTS], -+ [AC_REQUIRE([gl_ICONV_H_DEFAULTS]) -+ if test -n "$am_cv_proto_iconv_arg1"; then -+ ICONV_CONST="const" -+ fi -+ ]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/include_next.m4 libiconv-20130504.patch/srcm4/include_next.m4 ---- libiconv-20130504/srcm4/include_next.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/include_next.m4 2013-05-04 10:20:07.926697918 +0200 -@@ -0,0 +1,270 @@ -+# include_next.m4 serial 23 -+dnl Copyright (C) 2006-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Paul Eggert and Derek Price. -+ -+dnl Sets INCLUDE_NEXT and PRAGMA_SYSTEM_HEADER. -+dnl -+dnl INCLUDE_NEXT expands to 'include_next' if the compiler supports it, or to -+dnl 'include' otherwise. -+dnl -+dnl INCLUDE_NEXT_AS_FIRST_DIRECTIVE expands to 'include_next' if the compiler -+dnl supports it in the special case that it is the first include directive in -+dnl the given file, or to 'include' otherwise. -+dnl -+dnl PRAGMA_SYSTEM_HEADER can be used in files that contain #include_next, -+dnl so as to avoid GCC warnings when the gcc option -pedantic is used. -+dnl '#pragma GCC system_header' has the same effect as if the file was found -+dnl through the include search path specified with '-isystem' options (as -+dnl opposed to the search path specified with '-I' options). Namely, gcc -+dnl does not warn about some things, and on some systems (Solaris and Interix) -+dnl __STDC__ evaluates to 0 instead of to 1. The latter is an undesired side -+dnl effect; we are therefore careful to use 'defined __STDC__' or '1' instead -+dnl of plain '__STDC__'. -+dnl -+dnl PRAGMA_COLUMNS can be used in files that override system header files, so -+dnl as to avoid compilation errors on HP NonStop systems when the gnulib file -+dnl is included by a system header file that does a "#pragma COLUMNS 80" (which -+dnl has the effect of truncating the lines of that file and all files that it -+dnl includes to 80 columns) and the gnulib file has lines longer than 80 -+dnl columns. -+ -+AC_DEFUN([gl_INCLUDE_NEXT], -+[ -+ AC_LANG_PREPROC_REQUIRE() -+ AC_CACHE_CHECK([whether the preprocessor supports include_next], -+ [gl_cv_have_include_next], -+ [rm -rf conftestd1a conftestd1b conftestd2 -+ mkdir conftestd1a conftestd1b conftestd2 -+ dnl IBM C 9.0, 10.1 (original versions, prior to the 2009-01 updates) on -+ dnl AIX 6.1 support include_next when used as first preprocessor directive -+ dnl in a file, but not when preceded by another include directive. Check -+ dnl for this bug by including . -+ dnl Additionally, with this same compiler, include_next is a no-op when -+ dnl used in a header file that was included by specifying its absolute -+ dnl file name. Despite these two bugs, include_next is used in the -+ dnl compiler's . By virtue of the second bug, we need to use -+ dnl include_next as well in this case. -+ cat < conftestd1a/conftest.h -+#define DEFINED_IN_CONFTESTD1 -+#include_next -+#ifdef DEFINED_IN_CONFTESTD2 -+int foo; -+#else -+#error "include_next doesn't work" -+#endif -+EOF -+ cat < conftestd1b/conftest.h -+#define DEFINED_IN_CONFTESTD1 -+#include -+#include_next -+#ifdef DEFINED_IN_CONFTESTD2 -+int foo; -+#else -+#error "include_next doesn't work" -+#endif -+EOF -+ cat < conftestd2/conftest.h -+#ifndef DEFINED_IN_CONFTESTD1 -+#error "include_next test doesn't work" -+#endif -+#define DEFINED_IN_CONFTESTD2 -+EOF -+ gl_save_CPPFLAGS="$CPPFLAGS" -+ CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1b -Iconftestd2" -+dnl We intentionally avoid using AC_LANG_SOURCE here. -+ AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], -+ [gl_cv_have_include_next=yes], -+ [CPPFLAGS="$gl_save_CPPFLAGS -Iconftestd1a -Iconftestd2" -+ AC_COMPILE_IFELSE([AC_LANG_DEFINES_PROVIDED[#include ]], -+ [gl_cv_have_include_next=buggy], -+ [gl_cv_have_include_next=no]) -+ ]) -+ CPPFLAGS="$gl_save_CPPFLAGS" -+ rm -rf conftestd1a conftestd1b conftestd2 -+ ]) -+ PRAGMA_SYSTEM_HEADER= -+ if test $gl_cv_have_include_next = yes; then -+ INCLUDE_NEXT=include_next -+ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next -+ if test -n "$GCC"; then -+ PRAGMA_SYSTEM_HEADER='#pragma GCC system_header' -+ fi -+ else -+ if test $gl_cv_have_include_next = buggy; then -+ INCLUDE_NEXT=include -+ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include_next -+ else -+ INCLUDE_NEXT=include -+ INCLUDE_NEXT_AS_FIRST_DIRECTIVE=include -+ fi -+ fi -+ AC_SUBST([INCLUDE_NEXT]) -+ AC_SUBST([INCLUDE_NEXT_AS_FIRST_DIRECTIVE]) -+ AC_SUBST([PRAGMA_SYSTEM_HEADER]) -+ AC_CACHE_CHECK([whether system header files limit the line length], -+ [gl_cv_pragma_columns], -+ [dnl HP NonStop systems, which define __TANDEM, have this misfeature. -+ AC_EGREP_CPP([choke me], -+ [ -+#ifdef __TANDEM -+choke me -+#endif -+ ], -+ [gl_cv_pragma_columns=yes], -+ [gl_cv_pragma_columns=no]) -+ ]) -+ if test $gl_cv_pragma_columns = yes; then -+ PRAGMA_COLUMNS="#pragma COLUMNS 10000" -+ else -+ PRAGMA_COLUMNS= -+ fi -+ AC_SUBST([PRAGMA_COLUMNS]) -+]) -+ -+# gl_CHECK_NEXT_HEADERS(HEADER1 HEADER2 ...) -+# ------------------------------------------ -+# For each arg foo.h, if #include_next works, define NEXT_FOO_H to be -+# ''; otherwise define it to be -+# '"///usr/include/foo.h"', or whatever other absolute file name is suitable. -+# Also, if #include_next works as first preprocessing directive in a file, -+# define NEXT_AS_FIRST_DIRECTIVE_FOO_H to be ''; otherwise define it to -+# be -+# '"///usr/include/foo.h"', or whatever other absolute file name is suitable. -+# That way, a header file with the following line: -+# #@INCLUDE_NEXT@ @NEXT_FOO_H@ -+# or -+# #@INCLUDE_NEXT_AS_FIRST_DIRECTIVE@ @NEXT_AS_FIRST_DIRECTIVE_FOO_H@ -+# behaves (after sed substitution) as if it contained -+# #include_next -+# even if the compiler does not support include_next. -+# The three "///" are to pacify Sun C 5.8, which otherwise would say -+# "warning: #include of /usr/include/... may be non-portable". -+# Use '""', not '<>', so that the /// cannot be confused with a C99 comment. -+# Note: This macro assumes that the header file is not empty after -+# preprocessing, i.e. it does not only define preprocessor macros but also -+# provides some type/enum definitions or function/variable declarations. -+# -+# This macro also checks whether each header exists, by invoking -+# AC_CHECK_HEADERS_ONCE or AC_CHECK_HEADERS on each argument. -+AC_DEFUN([gl_CHECK_NEXT_HEADERS], -+[ -+ gl_NEXT_HEADERS_INTERNAL([$1], [check]) -+]) -+ -+# gl_NEXT_HEADERS(HEADER1 HEADER2 ...) -+# ------------------------------------ -+# Like gl_CHECK_NEXT_HEADERS, except do not check whether the headers exist. -+# This is suitable for headers like that are standardized by C89 -+# and therefore can be assumed to exist. -+AC_DEFUN([gl_NEXT_HEADERS], -+[ -+ gl_NEXT_HEADERS_INTERNAL([$1], [assume]) -+]) -+ -+# The guts of gl_CHECK_NEXT_HEADERS and gl_NEXT_HEADERS. -+AC_DEFUN([gl_NEXT_HEADERS_INTERNAL], -+[ -+ AC_REQUIRE([gl_INCLUDE_NEXT]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ -+ m4_if([$2], [check], -+ [AC_CHECK_HEADERS_ONCE([$1]) -+ ]) -+ -+dnl FIXME: gl_next_header and gl_header_exists must be used unquoted -+dnl until we can assume autoconf 2.64 or newer. -+ m4_foreach_w([gl_HEADER_NAME], [$1], -+ [AS_VAR_PUSHDEF([gl_next_header], -+ [gl_cv_next_]m4_defn([gl_HEADER_NAME])) -+ if test $gl_cv_have_include_next = yes; then -+ AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) -+ else -+ AC_CACHE_CHECK( -+ [absolute name of <]m4_defn([gl_HEADER_NAME])[>], -+ m4_defn([gl_next_header]), -+ [m4_if([$2], [check], -+ [AS_VAR_PUSHDEF([gl_header_exists], -+ [ac_cv_header_]m4_defn([gl_HEADER_NAME])) -+ if test AS_VAR_GET(gl_header_exists) = yes; then -+ AS_VAR_POPDEF([gl_header_exists]) -+ ]) -+ AC_LANG_CONFTEST( -+ [AC_LANG_SOURCE( -+ [[#include <]]m4_dquote(m4_defn([gl_HEADER_NAME]))[[>]] -+ )]) -+ dnl AIX "xlc -E" and "cc -E" omit #line directives for header -+ dnl files that contain only a #include of other header files and -+ dnl no non-comment tokens of their own. This leads to a failure -+ dnl to detect the absolute name of , , -+ dnl and others. The workaround is to force preservation -+ dnl of comments through option -C. This ensures all necessary -+ dnl #line directives are present. GCC supports option -C as well. -+ case "$host_os" in -+ aix*) gl_absname_cpp="$ac_cpp -C" ;; -+ *) gl_absname_cpp="$ac_cpp" ;; -+ esac -+changequote(,) -+ case "$host_os" in -+ mingw*) -+ dnl For the sake of native Windows compilers (excluding gcc), -+ dnl treat backslash as a directory separator, like /. -+ dnl Actually, these compilers use a double-backslash as -+ dnl directory separator, inside the -+ dnl # line "filename" -+ dnl directives. -+ gl_dirsep_regex='[/\\]' -+ ;; -+ *) -+ gl_dirsep_regex='\/' -+ ;; -+ esac -+ dnl A sed expression that turns a string into a basic regular -+ dnl expression, for use within "/.../". -+ gl_make_literal_regex_sed='s,[]$^\\.*/[],\\&,g' -+changequote([,]) -+ gl_header_literal_regex=`echo ']m4_defn([gl_HEADER_NAME])[' \ -+ | sed -e "$gl_make_literal_regex_sed"` -+ gl_absolute_header_sed="/${gl_dirsep_regex}${gl_header_literal_regex}/"'{ -+ s/.*"\(.*'"${gl_dirsep_regex}${gl_header_literal_regex}"'\)".*/\1/ -+changequote(,)dnl -+ s|^/[^/]|//&| -+changequote([,])dnl -+ p -+ q -+ }' -+ dnl eval is necessary to expand gl_absname_cpp. -+ dnl Ultrix and Pyramid sh refuse to redirect output of eval, -+ dnl so use subshell. -+ AS_VAR_SET(gl_next_header, -+ ['"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&AS_MESSAGE_LOG_FD | -+ sed -n "$gl_absolute_header_sed"`'"']) -+ m4_if([$2], [check], -+ [else -+ AS_VAR_SET(gl_next_header, ['<'gl_HEADER_NAME'>']) -+ fi -+ ]) -+ ]) -+ fi -+ AC_SUBST( -+ AS_TR_CPP([NEXT_]m4_defn([gl_HEADER_NAME])), -+ [AS_VAR_GET(gl_next_header)]) -+ if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next' -+ gl_next_as_first_directive='<'gl_HEADER_NAME'>' -+ else -+ # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include' -+ gl_next_as_first_directive=AS_VAR_GET(gl_next_header) -+ fi -+ AC_SUBST( -+ AS_TR_CPP([NEXT_AS_FIRST_DIRECTIVE_]m4_defn([gl_HEADER_NAME])), -+ [$gl_next_as_first_directive]) -+ AS_VAR_POPDEF([gl_next_header])]) -+]) -+ -+# Autoconf 2.68 added warnings for our use of AC_COMPILE_IFELSE; -+# this fallback is safe for all earlier autoconf versions. -+m4_define_default([AC_LANG_DEFINES_PROVIDED]) -diff -Naur libiconv-20130504/srcm4/intdiv0.m4 libiconv-20130504.patch/srcm4/intdiv0.m4 ---- libiconv-20130504/srcm4/intdiv0.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/intdiv0.m4 2013-05-04 10:20:07.928697912 +0200 -@@ -0,0 +1,87 @@ -+# intdiv0.m4 serial 6 (gettext-0.18.2) -+dnl Copyright (C) 2002, 2007-2008, 2010-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+AC_DEFUN([gt_INTDIV0], -+[ -+ AC_REQUIRE([AC_PROG_CC])dnl -+ AC_REQUIRE([AC_CANONICAL_HOST])dnl -+ -+ AC_CACHE_CHECK([whether integer division by zero raises SIGFPE], -+ gt_cv_int_divbyzero_sigfpe, -+ [ -+ gt_cv_int_divbyzero_sigfpe= -+changequote(,)dnl -+ case "$host_os" in -+ macos* | darwin[6-9]* | darwin[1-9][0-9]*) -+ # On Mac OS X 10.2 or newer, just assume the same as when cross- -+ # compiling. If we were to perform the real test, 1 Crash Report -+ # dialog window would pop up. -+ case "$host_cpu" in -+ i[34567]86 | x86_64) -+ gt_cv_int_divbyzero_sigfpe="guessing yes" ;; -+ esac -+ ;; -+ esac -+changequote([,])dnl -+ if test -z "$gt_cv_int_divbyzero_sigfpe"; then -+ AC_RUN_IFELSE( -+ [AC_LANG_SOURCE([[ -+#include -+#include -+ -+static void -+sigfpe_handler (int sig) -+{ -+ /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */ -+ exit (sig != SIGFPE); -+} -+ -+int x = 1; -+int y = 0; -+int z; -+int nan; -+ -+int main () -+{ -+ signal (SIGFPE, sigfpe_handler); -+/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */ -+#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP) -+ signal (SIGTRAP, sigfpe_handler); -+#endif -+/* Linux/SPARC yields signal SIGILL. */ -+#if defined (__sparc__) && defined (__linux__) -+ signal (SIGILL, sigfpe_handler); -+#endif -+ -+ z = x / y; -+ nan = y / y; -+ exit (2); -+} -+]])], -+ [gt_cv_int_divbyzero_sigfpe=yes], -+ [gt_cv_int_divbyzero_sigfpe=no], -+ [ -+ # Guess based on the CPU. -+changequote(,)dnl -+ case "$host_cpu" in -+ alpha* | i[34567]86 | x86_64 | m68k | s390*) -+ gt_cv_int_divbyzero_sigfpe="guessing yes";; -+ *) -+ gt_cv_int_divbyzero_sigfpe="guessing no";; -+ esac -+changequote([,])dnl -+ ]) -+ fi -+ ]) -+ case "$gt_cv_int_divbyzero_sigfpe" in -+ *yes) value=1;; -+ *) value=0;; -+ esac -+ AC_DEFINE_UNQUOTED([INTDIV0_RAISES_SIGFPE], [$value], -+ [Define if integer division by zero raises signal SIGFPE.]) -+]) -diff -Naur libiconv-20130504/srcm4/intldir.m4 libiconv-20130504.patch/srcm4/intldir.m4 ---- libiconv-20130504/srcm4/intldir.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/intldir.m4 2013-05-04 10:20:07.933697897 +0200 -@@ -0,0 +1,19 @@ -+# intldir.m4 serial 2 (gettext-0.18) -+dnl Copyright (C) 2006, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+AC_PREREQ([2.52]) -+ -+dnl Tells the AM_GNU_GETTEXT macro to consider an intl/ directory. -+AC_DEFUN([AM_GNU_GETTEXT_INTL_SUBDIR], []) -diff -Naur libiconv-20130504/srcm4/intl.m4 libiconv-20130504.patch/srcm4/intl.m4 ---- libiconv-20130504/srcm4/intl.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/intl.m4 2013-05-04 10:20:07.930697906 +0200 -@@ -0,0 +1,300 @@ -+# intl.m4 serial 22 (gettext-0.18.2) -+dnl Copyright (C) 1995-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+dnl Authors: -+dnl Ulrich Drepper , 1995-2000. -+dnl Bruno Haible , 2000-2009. -+ -+AC_PREREQ([2.60]) -+ -+dnl Checks for all prerequisites of the intl subdirectory, -+dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, -+dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. -+AC_DEFUN([AM_INTL_SUBDIR], -+[ -+ AC_REQUIRE([AC_PROG_INSTALL])dnl -+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl -+ AC_REQUIRE([AC_PROG_CC])dnl -+ AC_REQUIRE([AC_CANONICAL_HOST])dnl -+ AC_REQUIRE([gt_GLIBC2])dnl -+ AC_REQUIRE([AC_PROG_RANLIB])dnl -+ AC_REQUIRE([gl_VISIBILITY])dnl -+ AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl -+ AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl -+ AC_REQUIRE([gt_TYPE_WCHAR_T])dnl -+ AC_REQUIRE([gt_TYPE_WINT_T])dnl -+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) -+ AC_REQUIRE([gt_TYPE_INTMAX_T]) -+ AC_REQUIRE([gt_PRINTF_POSIX]) -+ AC_REQUIRE([gl_GLIBC21])dnl -+ AC_REQUIRE([gl_XSIZE])dnl -+ AC_REQUIRE([gl_FCNTL_O_FLAGS])dnl -+ AC_REQUIRE([gt_INTL_MACOSX])dnl -+ -+ dnl Support for automake's --enable-silent-rules. -+ case "$enable_silent_rules" in -+ yes) INTL_DEFAULT_VERBOSITY=0;; -+ no) INTL_DEFAULT_VERBOSITY=1;; -+ *) INTL_DEFAULT_VERBOSITY=1;; -+ esac -+ AC_SUBST([INTL_DEFAULT_VERBOSITY]) -+ -+ AC_CHECK_TYPE([ptrdiff_t], , -+ [AC_DEFINE([ptrdiff_t], [long], -+ [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) -+ ]) -+ AC_CHECK_HEADERS([features.h stddef.h stdlib.h string.h]) -+ AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \ -+ snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) -+ -+ dnl Use the _snprintf function only if it is declared (because on NetBSD it -+ dnl is defined as a weak alias of snprintf; we prefer to use the latter). -+ gt_CHECK_DECL(_snprintf, [#include ]) -+ gt_CHECK_DECL(_snwprintf, [#include ]) -+ -+ dnl Use the *_unlocked functions only if they are declared. -+ dnl (because some of them were defined without being declared in Solaris -+ dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built -+ dnl on Solaris 2.5.1 to run on Solaris 2.6). -+ dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. -+ gt_CHECK_DECL(getc_unlocked, [#include ]) -+ -+ case $gt_cv_func_printf_posix in -+ *yes) HAVE_POSIX_PRINTF=1 ;; -+ *) HAVE_POSIX_PRINTF=0 ;; -+ esac -+ AC_SUBST([HAVE_POSIX_PRINTF]) -+ if test "$ac_cv_func_asprintf" = yes; then -+ HAVE_ASPRINTF=1 -+ else -+ HAVE_ASPRINTF=0 -+ fi -+ AC_SUBST([HAVE_ASPRINTF]) -+ if test "$ac_cv_func_snprintf" = yes; then -+ HAVE_SNPRINTF=1 -+ else -+ HAVE_SNPRINTF=0 -+ fi -+ AC_SUBST([HAVE_SNPRINTF]) -+ if test "$ac_cv_func_newlocale" = yes; then -+ HAVE_NEWLOCALE=1 -+ else -+ HAVE_NEWLOCALE=0 -+ fi -+ AC_SUBST([HAVE_NEWLOCALE]) -+ if test "$ac_cv_func_wprintf" = yes; then -+ HAVE_WPRINTF=1 -+ else -+ HAVE_WPRINTF=0 -+ fi -+ AC_SUBST([HAVE_WPRINTF]) -+ -+ AM_LANGINFO_CODESET -+ gt_LC_MESSAGES -+ -+ dnl Compilation on mingw and Cygwin needs special Makefile rules, because -+ dnl 1. when we install a shared library, we must arrange to export -+ dnl auxiliary pointer variables for every exported variable, -+ dnl 2. when we install a shared library and a static library simultaneously, -+ dnl the include file specifies __declspec(dllimport) and therefore we -+ dnl must arrange to define the auxiliary pointer variables for the -+ dnl exported variables _also_ in the static library. -+ if test "$enable_shared" = yes; then -+ case "$host_os" in -+ mingw* | cygwin*) is_woe32dll=yes ;; -+ *) is_woe32dll=no ;; -+ esac -+ else -+ is_woe32dll=no -+ fi -+ WOE32DLL=$is_woe32dll -+ AC_SUBST([WOE32DLL]) -+ -+ dnl On mingw and Cygwin, we can activate special Makefile rules which add -+ dnl version information to the shared libraries and executables. -+ case "$host_os" in -+ mingw* | cygwin*) is_woe32=yes ;; -+ *) is_woe32=no ;; -+ esac -+ WOE32=$is_woe32 -+ AC_SUBST([WOE32]) -+ if test $WOE32 = yes; then -+ dnl Check for a program that compiles Windows resource files. -+ AC_CHECK_TOOL([WINDRES], [windres]) -+ fi -+ -+ dnl Determine whether when creating a library, "-lc" should be passed to -+ dnl libtool or not. On many platforms, it is required for the libtool option -+ dnl -no-undefined to work. On HP-UX, however, the -lc - stored by libtool -+ dnl in the *.la files - makes it impossible to create multithreaded programs, -+ dnl because libtool also reorders the -lc to come before the -pthread, and -+ dnl this disables pthread_create() . -+ case "$host_os" in -+ hpux*) LTLIBC="" ;; -+ *) LTLIBC="-lc" ;; -+ esac -+ AC_SUBST([LTLIBC]) -+ -+ dnl Rename some macros and functions used for locking. -+ AH_BOTTOM([ -+#define __libc_lock_t gl_lock_t -+#define __libc_lock_define gl_lock_define -+#define __libc_lock_define_initialized gl_lock_define_initialized -+#define __libc_lock_init gl_lock_init -+#define __libc_lock_lock gl_lock_lock -+#define __libc_lock_unlock gl_lock_unlock -+#define __libc_lock_recursive_t gl_recursive_lock_t -+#define __libc_lock_define_recursive gl_recursive_lock_define -+#define __libc_lock_define_initialized_recursive gl_recursive_lock_define_initialized -+#define __libc_lock_init_recursive gl_recursive_lock_init -+#define __libc_lock_lock_recursive gl_recursive_lock_lock -+#define __libc_lock_unlock_recursive gl_recursive_lock_unlock -+#define glthread_in_use libintl_thread_in_use -+#define glthread_lock_init_func libintl_lock_init_func -+#define glthread_lock_lock_func libintl_lock_lock_func -+#define glthread_lock_unlock_func libintl_lock_unlock_func -+#define glthread_lock_destroy_func libintl_lock_destroy_func -+#define glthread_rwlock_init_multithreaded libintl_rwlock_init_multithreaded -+#define glthread_rwlock_init_func libintl_rwlock_init_func -+#define glthread_rwlock_rdlock_multithreaded libintl_rwlock_rdlock_multithreaded -+#define glthread_rwlock_rdlock_func libintl_rwlock_rdlock_func -+#define glthread_rwlock_wrlock_multithreaded libintl_rwlock_wrlock_multithreaded -+#define glthread_rwlock_wrlock_func libintl_rwlock_wrlock_func -+#define glthread_rwlock_unlock_multithreaded libintl_rwlock_unlock_multithreaded -+#define glthread_rwlock_unlock_func libintl_rwlock_unlock_func -+#define glthread_rwlock_destroy_multithreaded libintl_rwlock_destroy_multithreaded -+#define glthread_rwlock_destroy_func libintl_rwlock_destroy_func -+#define glthread_recursive_lock_init_multithreaded libintl_recursive_lock_init_multithreaded -+#define glthread_recursive_lock_init_func libintl_recursive_lock_init_func -+#define glthread_recursive_lock_lock_multithreaded libintl_recursive_lock_lock_multithreaded -+#define glthread_recursive_lock_lock_func libintl_recursive_lock_lock_func -+#define glthread_recursive_lock_unlock_multithreaded libintl_recursive_lock_unlock_multithreaded -+#define glthread_recursive_lock_unlock_func libintl_recursive_lock_unlock_func -+#define glthread_recursive_lock_destroy_multithreaded libintl_recursive_lock_destroy_multithreaded -+#define glthread_recursive_lock_destroy_func libintl_recursive_lock_destroy_func -+#define glthread_once_func libintl_once_func -+#define glthread_once_singlethreaded libintl_once_singlethreaded -+#define glthread_once_multithreaded libintl_once_multithreaded -+]) -+]) -+ -+ -+dnl Checks for the core files of the intl subdirectory: -+dnl dcigettext.c -+dnl eval-plural.h -+dnl explodename.c -+dnl finddomain.c -+dnl gettextP.h -+dnl gmo.h -+dnl hash-string.h hash-string.c -+dnl l10nflist.c -+dnl libgnuintl.h.in (except the *printf stuff) -+dnl loadinfo.h -+dnl loadmsgcat.c -+dnl localealias.c -+dnl log.c -+dnl plural-exp.h plural-exp.c -+dnl plural.y -+dnl Used by libglocale. -+AC_DEFUN([gt_INTL_SUBDIR_CORE], -+[ -+ AC_REQUIRE([AC_C_INLINE])dnl -+ AC_REQUIRE([AC_TYPE_SIZE_T])dnl -+ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) -+ AC_REQUIRE([AC_FUNC_ALLOCA])dnl -+ AC_REQUIRE([AC_FUNC_MMAP])dnl -+ AC_REQUIRE([gt_INTDIV0])dnl -+ AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl -+ AC_REQUIRE([gt_INTTYPES_PRI])dnl -+ AC_REQUIRE([gl_LOCK])dnl -+ -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }]], -+ [[]])], -+ [AC_DEFINE([HAVE_BUILTIN_EXPECT], [1], -+ [Define to 1 if the compiler understands __builtin_expect.])]) -+ -+ AC_CHECK_HEADERS([argz.h inttypes.h limits.h unistd.h sys/param.h]) -+ AC_CHECK_FUNCS([getcwd getegid geteuid getgid getuid mempcpy munmap \ -+ stpcpy strcasecmp strdup strtoul tsearch uselocale argz_count \ -+ argz_stringify argz_next __fsetlocking]) -+ -+ dnl Use the *_unlocked functions only if they are declared. -+ dnl (because some of them were defined without being declared in Solaris -+ dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built -+ dnl on Solaris 2.5.1 to run on Solaris 2.6). -+ dnl Don't use AC_CHECK_DECLS because it isn't supported in autoconf-2.13. -+ gt_CHECK_DECL([feof_unlocked], [#include ]) -+ gt_CHECK_DECL([fgets_unlocked], [#include ]) -+ -+ AM_ICONV -+ -+ dnl intl/plural.c is generated from intl/plural.y. It requires bison, -+ dnl because plural.y uses bison specific features. It requires at least -+ dnl bison-1.26 because earlier versions generate a plural.c that doesn't -+ dnl compile. -+ dnl bison is only needed for the maintainer (who touches plural.y). But in -+ dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put -+ dnl the rule in general Makefile. Now, some people carelessly touch the -+ dnl files or have a broken "make" program, hence the plural.c rule will -+ dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not -+ dnl present or too old. -+ AC_CHECK_PROGS([INTLBISON], [bison]) -+ if test -z "$INTLBISON"; then -+ ac_verc_fail=yes -+ else -+ dnl Found it, now check the version. -+ AC_MSG_CHECKING([version of bison]) -+changequote(<<,>>)dnl -+ ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'` -+ case $ac_prog_version in -+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; -+ 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*) -+changequote([,])dnl -+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; -+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; -+ esac -+ AC_MSG_RESULT([$ac_prog_version]) -+ fi -+ if test $ac_verc_fail = yes; then -+ INTLBISON=: -+ fi -+]) -+ -+ -+dnl gt_CHECK_DECL(FUNC, INCLUDES) -+dnl Check whether a function is declared. -+AC_DEFUN([gt_CHECK_DECL], -+[ -+ AC_CACHE_CHECK([whether $1 is declared], [ac_cv_have_decl_$1], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[$2]], -+ [[ -+#ifndef $1 -+ char *p = (char *) $1; -+#endif -+ ]])], -+ [ac_cv_have_decl_$1=yes], -+ [ac_cv_have_decl_$1=no])]) -+ if test $ac_cv_have_decl_$1 = yes; then -+ gt_value=1 -+ else -+ gt_value=0 -+ fi -+ AC_DEFINE_UNQUOTED([HAVE_DECL_]m4_translit($1, [a-z], [A-Z]), [$gt_value], -+ [Define to 1 if you have the declaration of '$1', and to 0 if you don't.]) -+]) -diff -Naur libiconv-20130504/srcm4/intlmacosx.m4 libiconv-20130504.patch/srcm4/intlmacosx.m4 ---- libiconv-20130504/srcm4/intlmacosx.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/intlmacosx.m4 2013-05-04 10:20:07.935697891 +0200 -@@ -0,0 +1,56 @@ -+# intlmacosx.m4 serial 5 (gettext-0.18.2) -+dnl Copyright (C) 2004-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+dnl Checks for special options needed on Mac OS X. -+dnl Defines INTL_MACOSX_LIBS. -+AC_DEFUN([gt_INTL_MACOSX], -+[ -+ dnl Check for API introduced in Mac OS X 10.2. -+ AC_CACHE_CHECK([for CFPreferencesCopyAppValue], -+ [gt_cv_func_CFPreferencesCopyAppValue], -+ [gt_save_LIBS="$LIBS" -+ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include ]], -+ [[CFPreferencesCopyAppValue(NULL, NULL)]])], -+ [gt_cv_func_CFPreferencesCopyAppValue=yes], -+ [gt_cv_func_CFPreferencesCopyAppValue=no]) -+ LIBS="$gt_save_LIBS"]) -+ if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then -+ AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1], -+ [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) -+ fi -+ dnl Check for API introduced in Mac OS X 10.3. -+ AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent], -+ [gt_save_LIBS="$LIBS" -+ LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include ]], -+ [[CFLocaleCopyCurrent();]])], -+ [gt_cv_func_CFLocaleCopyCurrent=yes], -+ [gt_cv_func_CFLocaleCopyCurrent=no]) -+ LIBS="$gt_save_LIBS"]) -+ if test $gt_cv_func_CFLocaleCopyCurrent = yes; then -+ AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1], -+ [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) -+ fi -+ INTL_MACOSX_LIBS= -+ if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then -+ INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" -+ fi -+ AC_SUBST([INTL_MACOSX_LIBS]) -+]) -diff -Naur libiconv-20130504/srcm4/intmax.m4 libiconv-20130504.patch/srcm4/intmax.m4 ---- libiconv-20130504/srcm4/intmax.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/intmax.m4 2013-05-04 10:20:07.939697880 +0200 -@@ -0,0 +1,36 @@ -+# intmax.m4 serial 6 (gettext-0.18.2) -+dnl Copyright (C) 2002-2005, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+dnl Test whether the system has the 'intmax_t' type, but don't attempt to -+dnl find a replacement if it is lacking. -+ -+AC_DEFUN([gt_TYPE_INTMAX_T], -+[ -+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) -+ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) -+ AC_CACHE_CHECK([for intmax_t], [gt_cv_c_intmax_t], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+#include -+#if HAVE_STDINT_H_WITH_UINTMAX -+#include -+#endif -+#if HAVE_INTTYPES_H_WITH_UINTMAX -+#include -+#endif -+ ]], -+ [[intmax_t x = -1; -+ return !x;]])], -+ [gt_cv_c_intmax_t=yes], -+ [gt_cv_c_intmax_t=no])]) -+ if test $gt_cv_c_intmax_t = yes; then -+ AC_DEFINE([HAVE_INTMAX_T], [1], -+ [Define if you have the 'intmax_t' type in or .]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/inttypes_h.m4 libiconv-20130504.patch/srcm4/inttypes_h.m4 ---- libiconv-20130504/srcm4/inttypes_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/inttypes_h.m4 2013-05-04 10:20:07.945697862 +0200 -@@ -0,0 +1,29 @@ -+# inttypes_h.m4 serial 10 -+dnl Copyright (C) 1997-2004, 2006, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Paul Eggert. -+ -+# Define HAVE_INTTYPES_H_WITH_UINTMAX if exists, -+# doesn't clash with , and declares uintmax_t. -+ -+AC_DEFUN([gl_AC_HEADER_INTTYPES_H], -+[ -+ AC_CACHE_CHECK([for inttypes.h], [gl_cv_header_inttypes_h], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+#include -+ ]], -+ [[uintmax_t i = (uintmax_t) -1; return !i;]])], -+ [gl_cv_header_inttypes_h=yes], -+ [gl_cv_header_inttypes_h=no])]) -+ if test $gl_cv_header_inttypes_h = yes; then -+ AC_DEFINE_UNQUOTED([HAVE_INTTYPES_H_WITH_UINTMAX], [1], -+ [Define if exists, doesn't clash with , -+ and declares uintmax_t. ]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/inttypes-pri.m4 libiconv-20130504.patch/srcm4/inttypes-pri.m4 ---- libiconv-20130504/srcm4/inttypes-pri.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/inttypes-pri.m4 2013-05-04 10:20:07.943697868 +0200 -@@ -0,0 +1,42 @@ -+# inttypes-pri.m4 serial 7 (gettext-0.18.2) -+dnl Copyright (C) 1997-2002, 2006, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+AC_PREREQ([2.53]) -+ -+# Define PRI_MACROS_BROKEN if exists and defines the PRI* -+# macros to non-string values. This is the case on AIX 4.3.3. -+ -+AC_DEFUN([gt_INTTYPES_PRI], -+[ -+ AC_CHECK_HEADERS([inttypes.h]) -+ if test $ac_cv_header_inttypes_h = yes; then -+ AC_CACHE_CHECK([whether the inttypes.h PRIxNN macros are broken], -+ [gt_cv_inttypes_pri_broken], -+ [ -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+#ifdef PRId32 -+char *p = PRId32; -+#endif -+ ]], -+ [[]])], -+ [gt_cv_inttypes_pri_broken=no], -+ [gt_cv_inttypes_pri_broken=yes]) -+ ]) -+ fi -+ if test "$gt_cv_inttypes_pri_broken" = yes; then -+ AC_DEFINE_UNQUOTED([PRI_MACROS_BROKEN], [1], -+ [Define if exists and defines unusable PRI* macros.]) -+ PRI_MACROS_BROKEN=1 -+ else -+ PRI_MACROS_BROKEN=0 -+ fi -+ AC_SUBST([PRI_MACROS_BROKEN]) -+]) -diff -Naur libiconv-20130504/srcm4/largefile.m4 libiconv-20130504.patch/srcm4/largefile.m4 ---- libiconv-20130504/srcm4/largefile.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/largefile.m4 2013-05-04 10:20:07.948697853 +0200 -@@ -0,0 +1,146 @@ -+# Enable large files on systems where this is not the default. -+ -+# Copyright 1992-1996, 1998-2013 Free Software Foundation, Inc. -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# The following implementation works around a problem in autoconf <= 2.69; -+# AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, -+# or configures them incorrectly in some cases. -+m4_version_prereq([2.70], [] ,[ -+ -+# _AC_SYS_LARGEFILE_TEST_INCLUDES -+# ------------------------------- -+m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], -+[@%:@include -+ /* Check that off_t can represent 2**63 - 1 correctly. -+ We can't simply define LARGE_OFF_T to be 9223372036854775807, -+ since some C++ compilers masquerading as C compilers -+ incorrectly reject 9223372036854775807. */ -+@%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) -+ int off_t_is_large[[(LARGE_OFF_T % 2147483629 == 721 -+ && LARGE_OFF_T % 2147483647 == 1) -+ ? 1 : -1]];[]dnl -+]) -+ -+ -+# _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, -+# CACHE-VAR, -+# DESCRIPTION, -+# PROLOGUE, [FUNCTION-BODY]) -+# -------------------------------------------------------- -+m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], -+[AC_CACHE_CHECK([for $1 value needed for large files], [$3], -+[while :; do -+ m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( -+ [AC_LANG_PROGRAM([$5], [$6])], -+ [$3=no; break]) -+ m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( -+ [AC_LANG_PROGRAM([@%:@define $1 $2 -+$5], [$6])], -+ [$3=$2; break]) -+ $3=unknown -+ break -+done]) -+case $$3 in #( -+ no | unknown) ;; -+ *) AC_DEFINE_UNQUOTED([$1], [$$3], [$4]);; -+esac -+rm -rf conftest*[]dnl -+])# _AC_SYS_LARGEFILE_MACRO_VALUE -+ -+ -+# AC_SYS_LARGEFILE -+# ---------------- -+# By default, many hosts won't let programs access large files; -+# one must use special compiler options to get large-file access to work. -+# For more details about this brain damage please see: -+# http://www.unix-systems.org/version2/whatsnew/lfs20mar.html -+AC_DEFUN([AC_SYS_LARGEFILE], -+[AC_ARG_ENABLE(largefile, -+ [ --disable-largefile omit support for large files]) -+if test "$enable_largefile" != no; then -+ -+ AC_CACHE_CHECK([for special C compiler options needed for large files], -+ ac_cv_sys_largefile_CC, -+ [ac_cv_sys_largefile_CC=no -+ if test "$GCC" != yes; then -+ ac_save_CC=$CC -+ while :; do -+ # IRIX 6.2 and later do not support large files by default, -+ # so use the C compiler's -n32 option if that helps. -+ AC_LANG_CONFTEST([AC_LANG_PROGRAM([_AC_SYS_LARGEFILE_TEST_INCLUDES])]) -+ AC_COMPILE_IFELSE([], [break]) -+ CC="$CC -n32" -+ AC_COMPILE_IFELSE([], [ac_cv_sys_largefile_CC=' -n32'; break]) -+ break -+ done -+ CC=$ac_save_CC -+ rm -f conftest.$ac_ext -+ fi]) -+ if test "$ac_cv_sys_largefile_CC" != no; then -+ CC=$CC$ac_cv_sys_largefile_CC -+ fi -+ -+ _AC_SYS_LARGEFILE_MACRO_VALUE(_FILE_OFFSET_BITS, 64, -+ ac_cv_sys_file_offset_bits, -+ [Number of bits in a file offset, on hosts where this is settable.], -+ [_AC_SYS_LARGEFILE_TEST_INCLUDES]) -+ if test $ac_cv_sys_file_offset_bits = unknown; then -+ _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, -+ ac_cv_sys_large_files, -+ [Define for large files, on AIX-style hosts.], -+ [_AC_SYS_LARGEFILE_TEST_INCLUDES]) -+ fi -+ -+ AC_DEFINE([_DARWIN_USE_64_BIT_INODE], [1], -+ [Enable large inode numbers on Mac OS X 10.5.]) -+fi -+])# AC_SYS_LARGEFILE -+])# m4_version_prereq 2.70 -+ -+# Enable large files on systems where this is implemented by Gnulib, not by the -+# system headers. -+# Set the variables WINDOWS_64_BIT_OFF_T, WINDOWS_64_BIT_ST_SIZE if Gnulib -+# overrides ensure that off_t or 'struct size.st_size' are 64-bit, respectively. -+AC_DEFUN([gl_LARGEFILE], -+[ -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ case "$host_os" in -+ mingw*) -+ dnl Native Windows. -+ dnl mingw64 defines off_t to a 64-bit type already, if -+ dnl _FILE_OFFSET_BITS=64, which is ensured by AC_SYS_LARGEFILE. -+ AC_CACHE_CHECK([for 64-bit off_t], [gl_cv_type_off_t_64], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1]; -+ ]], -+ [[]])], -+ [gl_cv_type_off_t_64=yes], [gl_cv_type_off_t_64=no]) -+ ]) -+ if test $gl_cv_type_off_t_64 = no; then -+ WINDOWS_64_BIT_OFF_T=1 -+ else -+ WINDOWS_64_BIT_OFF_T=0 -+ fi -+ dnl But all native Windows platforms (including mingw64) have a 32-bit -+ dnl st_size member in 'struct stat'. -+ WINDOWS_64_BIT_ST_SIZE=1 -+ ;; -+ *) -+ dnl Nothing to do on gnulib's side. -+ dnl A 64-bit off_t is -+ dnl - already the default on Mac OS X, FreeBSD, NetBSD, OpenBSD, IRIX, -+ dnl OSF/1, Cygwin, -+ dnl - enabled by _FILE_OFFSET_BITS=64 (ensured by AC_SYS_LARGEFILE) on -+ dnl glibc, HP-UX, Solaris, -+ dnl - enabled by _LARGE_FILES=1 (ensured by AC_SYS_LARGEFILE) on AIX, -+ dnl - impossible to achieve on Minix 3.1.8. -+ WINDOWS_64_BIT_OFF_T=0 -+ WINDOWS_64_BIT_ST_SIZE=0 -+ ;; -+ esac -+]) -diff -Naur libiconv-20130504/srcm4/lcmessage.m4 libiconv-20130504.patch/srcm4/lcmessage.m4 ---- libiconv-20130504/srcm4/lcmessage.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/lcmessage.m4 2013-05-04 10:20:07.951697845 +0200 -@@ -0,0 +1,35 @@ -+# lcmessage.m4 serial 7 (gettext-0.18.2) -+dnl Copyright (C) 1995-2002, 2004-2005, 2008-2013 Free Software Foundation, -+dnl Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+dnl Authors: -+dnl Ulrich Drepper , 1995. -+ -+# Check whether LC_MESSAGES is available in . -+ -+AC_DEFUN([gt_LC_MESSAGES], -+[ -+ AC_CACHE_CHECK([for LC_MESSAGES], [gt_cv_val_LC_MESSAGES], -+ [AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include ]], -+ [[return LC_MESSAGES]])], -+ [gt_cv_val_LC_MESSAGES=yes], -+ [gt_cv_val_LC_MESSAGES=no])]) -+ if test $gt_cv_val_LC_MESSAGES = yes; then -+ AC_DEFINE([HAVE_LC_MESSAGES], [1], -+ [Define if your file defines LC_MESSAGES.]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/lib-ld.m4 libiconv-20130504.patch/srcm4/lib-ld.m4 ---- libiconv-20130504/srcm4/lib-ld.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/lib-ld.m4 2013-05-04 10:20:07.954697836 +0200 -@@ -0,0 +1,119 @@ -+# lib-ld.m4 serial 6 -+dnl Copyright (C) 1996-2003, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl Subroutines of libtool.m4, -+dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid -+dnl collision with libtool.m4. -+ -+dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no. -+AC_DEFUN([AC_LIB_PROG_LD_GNU], -+[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld], -+[# I'd rather use --version here, but apparently some GNU lds only accept -v. -+case `$LD -v 2>&1 /dev/null 2>&1 \ -+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ || PATH_SEPARATOR=';' -+ } -+fi -+ -+ac_prog=ld -+if test "$GCC" = yes; then -+ # Check if gcc -print-prog-name=ld gives a path. -+ AC_MSG_CHECKING([for ld used by $CC]) -+ case $host in -+ *-*-mingw*) -+ # gcc leaves a trailing carriage return which upsets mingw -+ ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; -+ *) -+ ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; -+ esac -+ case $ac_prog in -+ # Accept absolute paths. -+ [[\\/]]* | ?:[[\\/]]*) -+ re_direlt='/[[^/]][[^/]]*/\.\./' -+ # Canonicalize the pathname of ld -+ ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'` -+ while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do -+ ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` -+ done -+ test -z "$LD" && LD="$ac_prog" -+ ;; -+ "") -+ # If it fails, then pretend we aren't using GCC. -+ ac_prog=ld -+ ;; -+ *) -+ # If it is relative, then search for the first ld in PATH. -+ with_gnu_ld=unknown -+ ;; -+ esac -+elif test "$with_gnu_ld" = yes; then -+ AC_MSG_CHECKING([for GNU ld]) -+else -+ AC_MSG_CHECKING([for non-GNU ld]) -+fi -+AC_CACHE_VAL([acl_cv_path_LD], -+[if test -z "$LD"; then -+ acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in $PATH; do -+ IFS="$acl_save_ifs" -+ test -z "$ac_dir" && ac_dir=. -+ if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then -+ acl_cv_path_LD="$ac_dir/$ac_prog" -+ # Check to see if the program is GNU ld. I'd rather use --version, -+ # but apparently some variants of GNU ld only accept -v. -+ # Break only if it was the GNU/non-GNU ld that we prefer. -+ case `"$acl_cv_path_LD" -v 2>&1 = 1.10 to complain if config.rpath is missing. -+ m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])]) -+ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS -+ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host -+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir -+ AC_CACHE_CHECK([for shared library run path origin], [acl_cv_rpath], [ -+ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ -+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh -+ . ./conftest.sh -+ rm -f ./conftest.sh -+ acl_cv_rpath=done -+ ]) -+ wl="$acl_cv_wl" -+ acl_libext="$acl_cv_libext" -+ acl_shlibext="$acl_cv_shlibext" -+ acl_libname_spec="$acl_cv_libname_spec" -+ acl_library_names_spec="$acl_cv_library_names_spec" -+ acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" -+ acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" -+ acl_hardcode_direct="$acl_cv_hardcode_direct" -+ acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" -+ dnl Determine whether the user wants rpath handling at all. -+ AC_ARG_ENABLE([rpath], -+ [ --disable-rpath do not hardcode runtime library paths], -+ :, enable_rpath=yes) -+]) -+ -+dnl AC_LIB_FROMPACKAGE(name, package) -+dnl declares that libname comes from the given package. The configure file -+dnl will then not have a --with-libname-prefix option but a -+dnl --with-package-prefix option. Several libraries can come from the same -+dnl package. This declaration must occur before an AC_LIB_LINKFLAGS or similar -+dnl macro call that searches for libname. -+AC_DEFUN([AC_LIB_FROMPACKAGE], -+[ -+ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], -+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) -+ define([acl_frompackage_]NAME, [$2]) -+ popdef([NAME]) -+ pushdef([PACK],[$2]) -+ pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], -+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) -+ define([acl_libsinpackage_]PACKUP, -+ m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1]) -+ popdef([PACKUP]) -+ popdef([PACK]) -+]) -+ -+dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and -+dnl the libraries corresponding to explicit and implicit dependencies. -+dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. -+dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found -+dnl in ${LIB${NAME}_PREFIX}/$acl_libdirstem. -+AC_DEFUN([AC_LIB_LINKFLAGS_BODY], -+[ -+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) -+ pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-], -+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) -+ pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])]) -+ pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-], -+ [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])]) -+ pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])]) -+ dnl Autoconf >= 2.61 supports dots in --with options. -+ pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)]) -+ dnl By default, look in $includedir and $libdir. -+ use_additional=yes -+ AC_LIB_WITH_FINAL_PREFIX([ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ ]) -+ AC_ARG_WITH(P_A_C_K[-prefix], -+[[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib -+ --without-]]P_A_C_K[[-prefix don't search for ]PACKLIBS[ in includedir and libdir]], -+[ -+ if test "X$withval" = "Xno"; then -+ use_additional=no -+ else -+ if test "X$withval" = "X"; then -+ AC_LIB_WITH_FINAL_PREFIX([ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ ]) -+ else -+ additional_includedir="$withval/include" -+ additional_libdir="$withval/$acl_libdirstem" -+ if test "$acl_libdirstem2" != "$acl_libdirstem" \ -+ && ! test -d "$withval/$acl_libdirstem"; then -+ additional_libdir="$withval/$acl_libdirstem2" -+ fi -+ fi -+ fi -+]) -+ dnl Search the library and its dependencies in $additional_libdir and -+ dnl $LDFLAGS. Using breadth-first-seach. -+ LIB[]NAME= -+ LTLIB[]NAME= -+ INC[]NAME= -+ LIB[]NAME[]_PREFIX= -+ dnl HAVE_LIB${NAME} is an indicator that LIB${NAME}, LTLIB${NAME} have been -+ dnl computed. So it has to be reset here. -+ HAVE_LIB[]NAME= -+ rpathdirs= -+ ltrpathdirs= -+ names_already_handled= -+ names_next_round='$1 $2' -+ while test -n "$names_next_round"; do -+ names_this_round="$names_next_round" -+ names_next_round= -+ for name in $names_this_round; do -+ already_handled= -+ for n in $names_already_handled; do -+ if test "$n" = "$name"; then -+ already_handled=yes -+ break -+ fi -+ done -+ if test -z "$already_handled"; then -+ names_already_handled="$names_already_handled $name" -+ dnl See if it was already located by an earlier AC_LIB_LINKFLAGS -+ dnl or AC_LIB_HAVE_LINKFLAGS call. -+ uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'` -+ eval value=\"\$HAVE_LIB$uppername\" -+ if test -n "$value"; then -+ if test "$value" = yes; then -+ eval value=\"\$LIB$uppername\" -+ test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" -+ eval value=\"\$LTLIB$uppername\" -+ test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" -+ else -+ dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined -+ dnl that this library doesn't exist. So just drop it. -+ : -+ fi -+ else -+ dnl Search the library lib$name in $additional_libdir and $LDFLAGS -+ dnl and the already constructed $LIBNAME/$LTLIBNAME. -+ found_dir= -+ found_la= -+ found_so= -+ found_a= -+ eval libname=\"$acl_libname_spec\" # typically: libname=lib$name -+ if test -n "$acl_shlibext"; then -+ shrext=".$acl_shlibext" # typically: shrext=.so -+ else -+ shrext= -+ fi -+ if test $use_additional = yes; then -+ dir="$additional_libdir" -+ dnl The same code as in the loop below: -+ dnl First look for a shared library. -+ if test -n "$acl_shlibext"; then -+ if test -f "$dir/$libname$shrext"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext" -+ else -+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then -+ ver=`(cd "$dir" && \ -+ for f in "$libname$shrext".*; do echo "$f"; done \ -+ | sed -e "s,^$libname$shrext\\\\.,," \ -+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ -+ | sed 1q ) 2>/dev/null` -+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext.$ver" -+ fi -+ else -+ eval library_names=\"$acl_library_names_spec\" -+ for f in $library_names; do -+ if test -f "$dir/$f"; then -+ found_dir="$dir" -+ found_so="$dir/$f" -+ break -+ fi -+ done -+ fi -+ fi -+ fi -+ dnl Then look for a static library. -+ if test "X$found_dir" = "X"; then -+ if test -f "$dir/$libname.$acl_libext"; then -+ found_dir="$dir" -+ found_a="$dir/$libname.$acl_libext" -+ fi -+ fi -+ if test "X$found_dir" != "X"; then -+ if test -f "$dir/$libname.la"; then -+ found_la="$dir/$libname.la" -+ fi -+ fi -+ fi -+ if test "X$found_dir" = "X"; then -+ for x in $LDFLAGS $LTLIB[]NAME; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ case "$x" in -+ -L*) -+ dir=`echo "X$x" | sed -e 's/^X-L//'` -+ dnl First look for a shared library. -+ if test -n "$acl_shlibext"; then -+ if test -f "$dir/$libname$shrext"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext" -+ else -+ if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then -+ ver=`(cd "$dir" && \ -+ for f in "$libname$shrext".*; do echo "$f"; done \ -+ | sed -e "s,^$libname$shrext\\\\.,," \ -+ | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ -+ | sed 1q ) 2>/dev/null` -+ if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then -+ found_dir="$dir" -+ found_so="$dir/$libname$shrext.$ver" -+ fi -+ else -+ eval library_names=\"$acl_library_names_spec\" -+ for f in $library_names; do -+ if test -f "$dir/$f"; then -+ found_dir="$dir" -+ found_so="$dir/$f" -+ break -+ fi -+ done -+ fi -+ fi -+ fi -+ dnl Then look for a static library. -+ if test "X$found_dir" = "X"; then -+ if test -f "$dir/$libname.$acl_libext"; then -+ found_dir="$dir" -+ found_a="$dir/$libname.$acl_libext" -+ fi -+ fi -+ if test "X$found_dir" != "X"; then -+ if test -f "$dir/$libname.la"; then -+ found_la="$dir/$libname.la" -+ fi -+ fi -+ ;; -+ esac -+ if test "X$found_dir" != "X"; then -+ break -+ fi -+ done -+ fi -+ if test "X$found_dir" != "X"; then -+ dnl Found the library. -+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" -+ if test "X$found_so" != "X"; then -+ dnl Linking with a shared library. We attempt to hardcode its -+ dnl directory into the executable's runpath, unless it's the -+ dnl standard /usr/lib. -+ if test "$enable_rpath" = no \ -+ || test "X$found_dir" = "X/usr/$acl_libdirstem" \ -+ || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then -+ dnl No hardcoding is needed. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" -+ else -+ dnl Use an explicit option to hardcode DIR into the resulting -+ dnl binary. -+ dnl Potentially add DIR to ltrpathdirs. -+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. -+ haveit= -+ for x in $ltrpathdirs; do -+ if test "X$x" = "X$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ ltrpathdirs="$ltrpathdirs $found_dir" -+ fi -+ dnl The hardcoding into $LIBNAME is system dependent. -+ if test "$acl_hardcode_direct" = yes; then -+ dnl Using DIR/libNAME.so during linking hardcodes DIR into the -+ dnl resulting binary. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" -+ else -+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then -+ dnl Use an explicit option to hardcode DIR into the resulting -+ dnl binary. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" -+ dnl Potentially add DIR to rpathdirs. -+ dnl The rpathdirs will be appended to $LIBNAME at the end. -+ haveit= -+ for x in $rpathdirs; do -+ if test "X$x" = "X$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ rpathdirs="$rpathdirs $found_dir" -+ fi -+ else -+ dnl Rely on "-L$found_dir". -+ dnl But don't add it if it's already contained in the LDFLAGS -+ dnl or the already constructed $LIBNAME -+ haveit= -+ for x in $LDFLAGS $LIB[]NAME; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ if test "X$x" = "X-L$found_dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" -+ fi -+ if test "$acl_hardcode_minus_L" != no; then -+ dnl FIXME: Not sure whether we should use -+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" -+ dnl here. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" -+ else -+ dnl We cannot use $acl_hardcode_runpath_var and LD_RUN_PATH -+ dnl here, because this doesn't fit in flags passed to the -+ dnl compiler. So give up. No hardcoding. This affects only -+ dnl very old systems. -+ dnl FIXME: Not sure whether we should use -+ dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" -+ dnl here. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" -+ fi -+ fi -+ fi -+ fi -+ else -+ if test "X$found_a" != "X"; then -+ dnl Linking with a static library. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" -+ else -+ dnl We shouldn't come here, but anyway it's good to have a -+ dnl fallback. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" -+ fi -+ fi -+ dnl Assume the include files are nearby. -+ additional_includedir= -+ case "$found_dir" in -+ */$acl_libdirstem | */$acl_libdirstem/) -+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` -+ if test "$name" = '$1'; then -+ LIB[]NAME[]_PREFIX="$basedir" -+ fi -+ additional_includedir="$basedir/include" -+ ;; -+ */$acl_libdirstem2 | */$acl_libdirstem2/) -+ basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` -+ if test "$name" = '$1'; then -+ LIB[]NAME[]_PREFIX="$basedir" -+ fi -+ additional_includedir="$basedir/include" -+ ;; -+ esac -+ if test "X$additional_includedir" != "X"; then -+ dnl Potentially add $additional_includedir to $INCNAME. -+ dnl But don't add it -+ dnl 1. if it's the standard /usr/include, -+ dnl 2. if it's /usr/local/include and we are using GCC on Linux, -+ dnl 3. if it's already present in $CPPFLAGS or the already -+ dnl constructed $INCNAME, -+ dnl 4. if it doesn't exist as a directory. -+ if test "X$additional_includedir" != "X/usr/include"; then -+ haveit= -+ if test "X$additional_includedir" = "X/usr/local/include"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux* | gnu* | k*bsd*-gnu) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ for x in $CPPFLAGS $INC[]NAME; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ if test "X$x" = "X-I$additional_includedir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_includedir"; then -+ dnl Really add $additional_includedir to $INCNAME. -+ INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" -+ fi -+ fi -+ fi -+ fi -+ fi -+ dnl Look for dependencies. -+ if test -n "$found_la"; then -+ dnl Read the .la file. It defines the variables -+ dnl dlname, library_names, old_library, dependency_libs, current, -+ dnl age, revision, installed, dlopen, dlpreopen, libdir. -+ save_libdir="$libdir" -+ case "$found_la" in -+ */* | *\\*) . "$found_la" ;; -+ *) . "./$found_la" ;; -+ esac -+ libdir="$save_libdir" -+ dnl We use only dependency_libs. -+ for dep in $dependency_libs; do -+ case "$dep" in -+ -L*) -+ additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` -+ dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. -+ dnl But don't add it -+ dnl 1. if it's the standard /usr/lib, -+ dnl 2. if it's /usr/local/lib and we are using GCC on Linux, -+ dnl 3. if it's already present in $LDFLAGS or the already -+ dnl constructed $LIBNAME, -+ dnl 4. if it doesn't exist as a directory. -+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ -+ && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then -+ haveit= -+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ -+ || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux* | gnu* | k*bsd*-gnu) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ haveit= -+ for x in $LDFLAGS $LIB[]NAME; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ if test "X$x" = "X-L$additional_libdir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_libdir"; then -+ dnl Really add $additional_libdir to $LIBNAME. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" -+ fi -+ fi -+ haveit= -+ for x in $LDFLAGS $LTLIB[]NAME; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ if test "X$x" = "X-L$additional_libdir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test -d "$additional_libdir"; then -+ dnl Really add $additional_libdir to $LTLIBNAME. -+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" -+ fi -+ fi -+ fi -+ fi -+ ;; -+ -R*) -+ dir=`echo "X$dep" | sed -e 's/^X-R//'` -+ if test "$enable_rpath" != no; then -+ dnl Potentially add DIR to rpathdirs. -+ dnl The rpathdirs will be appended to $LIBNAME at the end. -+ haveit= -+ for x in $rpathdirs; do -+ if test "X$x" = "X$dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ rpathdirs="$rpathdirs $dir" -+ fi -+ dnl Potentially add DIR to ltrpathdirs. -+ dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. -+ haveit= -+ for x in $ltrpathdirs; do -+ if test "X$x" = "X$dir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ ltrpathdirs="$ltrpathdirs $dir" -+ fi -+ fi -+ ;; -+ -l*) -+ dnl Handle this in the next round. -+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` -+ ;; -+ *.la) -+ dnl Handle this in the next round. Throw away the .la's -+ dnl directory; it is already contained in a preceding -L -+ dnl option. -+ names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` -+ ;; -+ *) -+ dnl Most likely an immediate library name. -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" -+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" -+ ;; -+ esac -+ done -+ fi -+ else -+ dnl Didn't find the library; assume it is in the system directories -+ dnl known to the linker and runtime loader. (All the system -+ dnl directories known to the linker should also be known to the -+ dnl runtime loader, otherwise the system is severely misconfigured.) -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" -+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" -+ fi -+ fi -+ fi -+ done -+ done -+ if test "X$rpathdirs" != "X"; then -+ if test -n "$acl_hardcode_libdir_separator"; then -+ dnl Weird platform: only the last -rpath option counts, the user must -+ dnl pass all path elements in one option. We can arrange that for a -+ dnl single library, but not when more than one $LIBNAMEs are used. -+ alldirs= -+ for found_dir in $rpathdirs; do -+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" -+ done -+ dnl Note: acl_hardcode_libdir_flag_spec uses $libdir and $wl. -+ acl_save_libdir="$libdir" -+ libdir="$alldirs" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" -+ else -+ dnl The -rpath options are cumulative. -+ for found_dir in $rpathdirs; do -+ acl_save_libdir="$libdir" -+ libdir="$found_dir" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" -+ done -+ fi -+ fi -+ if test "X$ltrpathdirs" != "X"; then -+ dnl When using libtool, the option that works for both libraries and -+ dnl executables is -R. The -R options are cumulative. -+ for found_dir in $ltrpathdirs; do -+ LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" -+ done -+ fi -+ popdef([P_A_C_K]) -+ popdef([PACKLIBS]) -+ popdef([PACKUP]) -+ popdef([PACK]) -+ popdef([NAME]) -+]) -+ -+dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, -+dnl unless already present in VAR. -+dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes -+dnl contains two or three consecutive elements that belong together. -+AC_DEFUN([AC_LIB_APPENDTOVAR], -+[ -+ for element in [$2]; do -+ haveit= -+ for x in $[$1]; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ if test "X$x" = "X$element"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ [$1]="${[$1]}${[$1]:+ }$element" -+ fi -+ done -+]) -+ -+dnl For those cases where a variable contains several -L and -l options -+dnl referring to unknown libraries and directories, this macro determines the -+dnl necessary additional linker options for the runtime path. -+dnl AC_LIB_LINKFLAGS_FROM_LIBS([LDADDVAR], [LIBSVALUE], [USE-LIBTOOL]) -+dnl sets LDADDVAR to linker options needed together with LIBSVALUE. -+dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed, -+dnl otherwise linking without libtool is assumed. -+AC_DEFUN([AC_LIB_LINKFLAGS_FROM_LIBS], -+[ -+ AC_REQUIRE([AC_LIB_RPATH]) -+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) -+ $1= -+ if test "$enable_rpath" != no; then -+ if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then -+ dnl Use an explicit option to hardcode directories into the resulting -+ dnl binary. -+ rpathdirs= -+ next= -+ for opt in $2; do -+ if test -n "$next"; then -+ dir="$next" -+ dnl No need to hardcode the standard /usr/lib. -+ if test "X$dir" != "X/usr/$acl_libdirstem" \ -+ && test "X$dir" != "X/usr/$acl_libdirstem2"; then -+ rpathdirs="$rpathdirs $dir" -+ fi -+ next= -+ else -+ case $opt in -+ -L) next=yes ;; -+ -L*) dir=`echo "X$opt" | sed -e 's,^X-L,,'` -+ dnl No need to hardcode the standard /usr/lib. -+ if test "X$dir" != "X/usr/$acl_libdirstem" \ -+ && test "X$dir" != "X/usr/$acl_libdirstem2"; then -+ rpathdirs="$rpathdirs $dir" -+ fi -+ next= ;; -+ *) next= ;; -+ esac -+ fi -+ done -+ if test "X$rpathdirs" != "X"; then -+ if test -n ""$3""; then -+ dnl libtool is used for linking. Use -R options. -+ for dir in $rpathdirs; do -+ $1="${$1}${$1:+ }-R$dir" -+ done -+ else -+ dnl The linker is used for linking directly. -+ if test -n "$acl_hardcode_libdir_separator"; then -+ dnl Weird platform: only the last -rpath option counts, the user -+ dnl must pass all path elements in one option. -+ alldirs= -+ for dir in $rpathdirs; do -+ alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$dir" -+ done -+ acl_save_libdir="$libdir" -+ libdir="$alldirs" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ $1="$flag" -+ else -+ dnl The -rpath options are cumulative. -+ for dir in $rpathdirs; do -+ acl_save_libdir="$libdir" -+ libdir="$dir" -+ eval flag=\"$acl_hardcode_libdir_flag_spec\" -+ libdir="$acl_save_libdir" -+ $1="${$1}${$1:+ }$flag" -+ done -+ fi -+ fi -+ fi -+ fi -+ fi -+ AC_SUBST([$1]) -+]) -diff -Naur libiconv-20130504/srcm4/lib-prefix.m4 libiconv-20130504.patch/srcm4/lib-prefix.m4 ---- libiconv-20130504/srcm4/lib-prefix.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/lib-prefix.m4 2013-05-04 10:20:07.959697821 +0200 -@@ -0,0 +1,224 @@ -+# lib-prefix.m4 serial 7 (gettext-0.18) -+dnl Copyright (C) 2001-2005, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and -+dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't -+dnl require excessive bracketing. -+ifdef([AC_HELP_STRING], -+[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], -+[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) -+ -+dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed -+dnl to access previously installed libraries. The basic assumption is that -+dnl a user will want packages to use other packages he previously installed -+dnl with the same --prefix option. -+dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate -+dnl libraries, but is otherwise very convenient. -+AC_DEFUN([AC_LIB_PREFIX], -+[ -+ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) -+ AC_REQUIRE([AC_PROG_CC]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ AC_REQUIRE([AC_LIB_PREPARE_MULTILIB]) -+ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) -+ dnl By default, look in $includedir and $libdir. -+ use_additional=yes -+ AC_LIB_WITH_FINAL_PREFIX([ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ ]) -+ AC_LIB_ARG_WITH([lib-prefix], -+[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib -+ --without-lib-prefix don't search for libraries in includedir and libdir], -+[ -+ if test "X$withval" = "Xno"; then -+ use_additional=no -+ else -+ if test "X$withval" = "X"; then -+ AC_LIB_WITH_FINAL_PREFIX([ -+ eval additional_includedir=\"$includedir\" -+ eval additional_libdir=\"$libdir\" -+ ]) -+ else -+ additional_includedir="$withval/include" -+ additional_libdir="$withval/$acl_libdirstem" -+ fi -+ fi -+]) -+ if test $use_additional = yes; then -+ dnl Potentially add $additional_includedir to $CPPFLAGS. -+ dnl But don't add it -+ dnl 1. if it's the standard /usr/include, -+ dnl 2. if it's already present in $CPPFLAGS, -+ dnl 3. if it's /usr/local/include and we are using GCC on Linux, -+ dnl 4. if it doesn't exist as a directory. -+ if test "X$additional_includedir" != "X/usr/include"; then -+ haveit= -+ for x in $CPPFLAGS; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ if test "X$x" = "X-I$additional_includedir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test "X$additional_includedir" = "X/usr/local/include"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux* | gnu* | k*bsd*-gnu) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ if test -d "$additional_includedir"; then -+ dnl Really add $additional_includedir to $CPPFLAGS. -+ CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" -+ fi -+ fi -+ fi -+ fi -+ dnl Potentially add $additional_libdir to $LDFLAGS. -+ dnl But don't add it -+ dnl 1. if it's the standard /usr/lib, -+ dnl 2. if it's already present in $LDFLAGS, -+ dnl 3. if it's /usr/local/lib and we are using GCC on Linux, -+ dnl 4. if it doesn't exist as a directory. -+ if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then -+ haveit= -+ for x in $LDFLAGS; do -+ AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) -+ if test "X$x" = "X-L$additional_libdir"; then -+ haveit=yes -+ break -+ fi -+ done -+ if test -z "$haveit"; then -+ if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then -+ if test -n "$GCC"; then -+ case $host_os in -+ linux*) haveit=yes;; -+ esac -+ fi -+ fi -+ if test -z "$haveit"; then -+ if test -d "$additional_libdir"; then -+ dnl Really add $additional_libdir to $LDFLAGS. -+ LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" -+ fi -+ fi -+ fi -+ fi -+ fi -+]) -+ -+dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, -+dnl acl_final_exec_prefix, containing the values to which $prefix and -+dnl $exec_prefix will expand at the end of the configure script. -+AC_DEFUN([AC_LIB_PREPARE_PREFIX], -+[ -+ dnl Unfortunately, prefix and exec_prefix get only finally determined -+ dnl at the end of configure. -+ if test "X$prefix" = "XNONE"; then -+ acl_final_prefix="$ac_default_prefix" -+ else -+ acl_final_prefix="$prefix" -+ fi -+ if test "X$exec_prefix" = "XNONE"; then -+ acl_final_exec_prefix='${prefix}' -+ else -+ acl_final_exec_prefix="$exec_prefix" -+ fi -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" -+ prefix="$acl_save_prefix" -+]) -+ -+dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the -+dnl variables prefix and exec_prefix bound to the values they will have -+dnl at the end of the configure script. -+AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], -+[ -+ acl_save_prefix="$prefix" -+ prefix="$acl_final_prefix" -+ acl_save_exec_prefix="$exec_prefix" -+ exec_prefix="$acl_final_exec_prefix" -+ $1 -+ exec_prefix="$acl_save_exec_prefix" -+ prefix="$acl_save_prefix" -+]) -+ -+dnl AC_LIB_PREPARE_MULTILIB creates -+dnl - a variable acl_libdirstem, containing the basename of the libdir, either -+dnl "lib" or "lib64" or "lib/64", -+dnl - a variable acl_libdirstem2, as a secondary possible value for -+dnl acl_libdirstem, either the same as acl_libdirstem or "lib/sparcv9" or -+dnl "lib/amd64". -+AC_DEFUN([AC_LIB_PREPARE_MULTILIB], -+[ -+ dnl There is no formal standard regarding lib and lib64. -+ dnl On glibc systems, the current practice is that on a system supporting -+ dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under -+ dnl $prefix/lib64 and 32-bit libraries go under $prefix/lib. We determine -+ dnl the compiler's default mode by looking at the compiler's library search -+ dnl path. If at least one of its elements ends in /lib64 or points to a -+ dnl directory whose absolute pathname ends in /lib64, we assume a 64-bit ABI. -+ dnl Otherwise we use the default, namely "lib". -+ dnl On Solaris systems, the current practice is that on a system supporting -+ dnl 32-bit and 64-bit instruction sets or ABIs, 64-bit libraries go under -+ dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or -+ dnl $prefix/lib/amd64) and 32-bit libraries go under $prefix/lib. -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ acl_libdirstem=lib -+ acl_libdirstem2= -+ case "$host_os" in -+ solaris*) -+ dnl See Solaris 10 Software Developer Collection > Solaris 64-bit Developer's Guide > The Development Environment -+ dnl . -+ dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link." -+ dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the -+ dnl symlink is missing, so we set acl_libdirstem2 too. -+ AC_CACHE_CHECK([for 64-bit host], [gl_cv_solaris_64bit], -+ [AC_EGREP_CPP([sixtyfour bits], [ -+#ifdef _LP64 -+sixtyfour bits -+#endif -+ ], [gl_cv_solaris_64bit=yes], [gl_cv_solaris_64bit=no]) -+ ]) -+ if test $gl_cv_solaris_64bit = yes; then -+ acl_libdirstem=lib/64 -+ case "$host_cpu" in -+ sparc*) acl_libdirstem2=lib/sparcv9 ;; -+ i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; -+ esac -+ fi -+ ;; -+ *) -+ searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` -+ if test -n "$searchpath"; then -+ acl_save_IFS="${IFS= }"; IFS=":" -+ for searchdir in $searchpath; do -+ if test -d "$searchdir"; then -+ case "$searchdir" in -+ */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; -+ */../ | */.. ) -+ # Better ignore directories of this form. They are misleading. -+ ;; -+ *) searchdir=`cd "$searchdir" && pwd` -+ case "$searchdir" in -+ */lib64 ) acl_libdirstem=lib64 ;; -+ esac ;; -+ esac -+ fi -+ done -+ IFS="$acl_save_IFS" -+ fi -+ ;; -+ esac -+ test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" -+]) -diff -Naur libiconv-20130504/srcm4/libunistring-base.m4 libiconv-20130504.patch/srcm4/libunistring-base.m4 ---- libiconv-20130504/srcm4/libunistring-base.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/libunistring-base.m4 2013-05-04 10:20:07.962697813 +0200 -@@ -0,0 +1,141 @@ -+# libunistring-base.m4 serial 5 -+dnl Copyright (C) 2010-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Paolo Bonzini and Bruno Haible. -+ -+dnl gl_LIBUNISTRING_MODULE([VERSION], [Module]) -+dnl Declares that the source files of Module should be compiled, unless we -+dnl are linking with libunistring and its version is >= the given VERSION. -+dnl Defines an automake conditional LIBUNISTRING_COMPILE_$MODULE that is -+dnl true if the source files of Module should be compiled. -+dnl This macro is to be used for public libunistring API, not for -+dnl undocumented API. -+dnl -+dnl You have to bump the VERSION argument to the next projected version -+dnl number each time you make a change that affects the behaviour of the -+dnl functions defined in Module (even if the sources of Module itself do not -+dnl change). -+ -+AC_DEFUN([gl_LIBUNISTRING_MODULE], -+[ -+ AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE]) -+ dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from -+ dnl gl_LIBUNISTRING_CORE if that macro has been run. -+ AM_CONDITIONAL(AS_TR_CPP([LIBUNISTRING_COMPILE_$2]), -+ [gl_LIBUNISTRING_VERSION_CMP([$1])]) -+]) -+ -+dnl gl_LIBUNISTRING_LIBHEADER([VERSION], [HeaderFile]) -+dnl Declares that HeaderFile should be created, unless we are linking -+dnl with libunistring and its version is >= the given VERSION. -+dnl HeaderFile should be relative to the lib directory and end in '.h'. -+dnl Prepares for substituting LIBUNISTRING_HEADERFILE (to HeaderFile or empty). -+dnl -+dnl When we are linking with the already installed libunistring and its version -+dnl is < VERSION, we create HeaderFile here, because we may compile functions -+dnl (via gl_LIBUNISTRING_MODULE above) that are not contained in the installed -+dnl version. -+dnl When we are linking with the already installed libunistring and its version -+dnl is > VERSION, we don't create HeaderFile here: it could cause compilation -+dnl errors in other libunistring header files if some types are missing. -+dnl -+dnl You have to bump the VERSION argument to the next projected version -+dnl number each time you make a non-comment change to the HeaderFile. -+ -+AC_DEFUN([gl_LIBUNISTRING_LIBHEADER], -+[ -+ AC_REQUIRE([gl_LIBUNISTRING_LIB_PREPARE]) -+ dnl Use the variables HAVE_LIBUNISTRING, LIBUNISTRING_VERSION from -+ dnl gl_LIBUNISTRING_CORE if that macro has been run. -+ if gl_LIBUNISTRING_VERSION_CMP([$1]); then -+ LIBUNISTRING_[]AS_TR_CPP([$2])='$2' -+ else -+ LIBUNISTRING_[]AS_TR_CPP([$2])= -+ fi -+ AC_SUBST([LIBUNISTRING_]AS_TR_CPP([$2])) -+]) -+ -+dnl Miscellaneous preparations/initializations. -+ -+AC_DEFUN([gl_LIBUNISTRING_LIB_PREPARE], -+[ -+ dnl Ensure that HAVE_LIBUNISTRING is fully determined at this point. -+ m4_ifdef([gl_LIBUNISTRING], [AC_REQUIRE([gl_LIBUNISTRING])]) -+ -+ AC_REQUIRE([AC_PROG_AWK]) -+ -+dnl Sed expressions to extract the parts of a version number. -+changequote(,) -+gl_libunistring_sed_extract_major='/^[0-9]/{s/^\([0-9]*\).*/\1/p;q;} -+i\ -+0 -+q -+' -+gl_libunistring_sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{s/^[0-9]*[.]\([0-9]*\).*/\1/p;q;} -+i\ -+0 -+q -+' -+gl_libunistring_sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p;q;} -+i\ -+0 -+q -+' -+changequote([,]) -+ -+ if test "$HAVE_LIBUNISTRING" = yes; then -+ LIBUNISTRING_VERSION_MAJOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_major"` -+ LIBUNISTRING_VERSION_MINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_minor"` -+ LIBUNISTRING_VERSION_SUBMINOR=`echo "$LIBUNISTRING_VERSION" | sed -n -e "$gl_libunistring_sed_extract_subminor"` -+ fi -+]) -+ -+dnl gl_LIBUNISTRING_VERSION_CMP([VERSION]) -+dnl Expands to a shell statement that evaluates to true if LIBUNISTRING_VERSION -+dnl is less than the VERSION argument. -+AC_DEFUN([gl_LIBUNISTRING_VERSION_CMP], -+[ { test "$HAVE_LIBUNISTRING" != yes \ -+ || { -+ dnl AS_LITERAL_IF exists and works fine since autoconf-2.59 at least. -+ AS_LITERAL_IF([$1], -+ [dnl This is the optimized variant, that assumes the argument is a literal: -+ m4_pushdef([requested_version_major], -+ [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^\([0-9]*\).*], [\1]), [])]) -+ m4_pushdef([requested_version_minor], -+ [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.]\([0-9]*\).*], [\1]), [$1])]) -+ m4_pushdef([requested_version_subminor], -+ [gl_LIBUNISTRING_ARG_OR_ZERO(m4_bpatsubst([$1], [^[0-9]*[.][0-9]*[.]\([0-9]*\).*], [\1]), [$1])]) -+ test $LIBUNISTRING_VERSION_MAJOR -lt requested_version_major \ -+ || { test $LIBUNISTRING_VERSION_MAJOR -eq requested_version_major \ -+ && { test $LIBUNISTRING_VERSION_MINOR -lt requested_version_minor \ -+ || { test $LIBUNISTRING_VERSION_MINOR -eq requested_version_minor \ -+ && test $LIBUNISTRING_VERSION_SUBMINOR -lt requested_version_subminor -+ } -+ } -+ } -+ m4_popdef([requested_version_subminor]) -+ m4_popdef([requested_version_minor]) -+ m4_popdef([requested_version_major]) -+ ], -+ [dnl This is the unoptimized variant: -+ requested_version_major=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_major"` -+ requested_version_minor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_minor"` -+ requested_version_subminor=`echo '$1' | sed -n -e "$gl_libunistring_sed_extract_subminor"` -+ test $LIBUNISTRING_VERSION_MAJOR -lt $requested_version_major \ -+ || { test $LIBUNISTRING_VERSION_MAJOR -eq $requested_version_major \ -+ && { test $LIBUNISTRING_VERSION_MINOR -lt $requested_version_minor \ -+ || { test $LIBUNISTRING_VERSION_MINOR -eq $requested_version_minor \ -+ && test $LIBUNISTRING_VERSION_SUBMINOR -lt $requested_version_subminor -+ } -+ } -+ } -+ ]) -+ } -+ }]) -+ -+dnl gl_LIBUNISTRING_ARG_OR_ZERO([ARG], [ORIG]) expands to ARG if it is not the -+dnl same as ORIG, otherwise to 0. -+m4_define([gl_LIBUNISTRING_ARG_OR_ZERO], [m4_if([$1], [$2], [0], [$1])]) -diff -Naur libiconv-20130504/srcm4/lock.m4 libiconv-20130504.patch/srcm4/lock.m4 ---- libiconv-20130504/srcm4/lock.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/lock.m4 2013-05-04 10:20:07.964697807 +0200 -@@ -0,0 +1,39 @@ -+# lock.m4 serial 13 (gettext-0.18.2) -+dnl Copyright (C) 2005-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+AC_DEFUN([gl_LOCK], -+[ -+ AC_REQUIRE([gl_THREADLIB]) -+ if test "$gl_threads_api" = posix; then -+ # OSF/1 4.0 and Mac OS X 10.1 lack the pthread_rwlock_t type and the -+ # pthread_rwlock_* functions. -+ AC_CHECK_TYPE([pthread_rwlock_t], -+ [AC_DEFINE([HAVE_PTHREAD_RWLOCK], [1], -+ [Define if the POSIX multithreading library has read/write locks.])], -+ [], -+ [#include ]) -+ # glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro. -+ AC_COMPILE_IFELSE([ -+ AC_LANG_PROGRAM( -+ [[#include ]], -+ [[ -+#if __FreeBSD__ == 4 -+error "No, in FreeBSD 4.0 recursive mutexes actually don't work." -+#else -+int x = (int)PTHREAD_MUTEX_RECURSIVE; -+return !x; -+#endif -+ ]])], -+ [AC_DEFINE([HAVE_PTHREAD_MUTEX_RECURSIVE], [1], -+ [Define if the defines PTHREAD_MUTEX_RECURSIVE.])]) -+ fi -+ gl_PREREQ_LOCK -+]) -+ -+# Prerequisites of lib/glthread/lock.c. -+AC_DEFUN([gl_PREREQ_LOCK], [:]) -diff -Naur libiconv-20130504/srcm4/longlong.m4 libiconv-20130504.patch/srcm4/longlong.m4 ---- libiconv-20130504/srcm4/longlong.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/longlong.m4 2013-05-04 10:20:07.967697798 +0200 -@@ -0,0 +1,113 @@ -+# longlong.m4 serial 17 -+dnl Copyright (C) 1999-2007, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Paul Eggert. -+ -+# Define HAVE_LONG_LONG_INT if 'long long int' works. -+# This fixes a bug in Autoconf 2.61, and can be faster -+# than what's in Autoconf 2.62 through 2.68. -+ -+# Note: If the type 'long long int' exists but is only 32 bits large -+# (as on some very old compilers), HAVE_LONG_LONG_INT will not be -+# defined. In this case you can treat 'long long int' like 'long int'. -+ -+AC_DEFUN([AC_TYPE_LONG_LONG_INT], -+[ -+ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) -+ AC_CACHE_CHECK([for long long int], [ac_cv_type_long_long_int], -+ [ac_cv_type_long_long_int=yes -+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then -+ ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int -+ if test $ac_cv_type_long_long_int = yes; then -+ dnl Catch a bug in Tandem NonStop Kernel (OSS) cc -O circa 2004. -+ dnl If cross compiling, assume the bug is not important, since -+ dnl nobody cross compiles for this platform as far as we know. -+ AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[@%:@include -+ @%:@ifndef LLONG_MAX -+ @%:@ define HALF \ -+ (1LL << (sizeof (long long int) * CHAR_BIT - 2)) -+ @%:@ define LLONG_MAX (HALF - 1 + HALF) -+ @%:@endif]], -+ [[long long int n = 1; -+ int i; -+ for (i = 0; ; i++) -+ { -+ long long int m = n << i; -+ if (m >> i != n) -+ return 1; -+ if (LLONG_MAX / 2 < m) -+ break; -+ } -+ return 0;]])], -+ [], -+ [ac_cv_type_long_long_int=no], -+ [:]) -+ fi -+ fi]) -+ if test $ac_cv_type_long_long_int = yes; then -+ AC_DEFINE([HAVE_LONG_LONG_INT], [1], -+ [Define to 1 if the system has the type 'long long int'.]) -+ fi -+]) -+ -+# Define HAVE_UNSIGNED_LONG_LONG_INT if 'unsigned long long int' works. -+# This fixes a bug in Autoconf 2.61, and can be faster -+# than what's in Autoconf 2.62 through 2.68. -+ -+# Note: If the type 'unsigned long long int' exists but is only 32 bits -+# large (as on some very old compilers), AC_TYPE_UNSIGNED_LONG_LONG_INT -+# will not be defined. In this case you can treat 'unsigned long long int' -+# like 'unsigned long int'. -+ -+AC_DEFUN([AC_TYPE_UNSIGNED_LONG_LONG_INT], -+[ -+ AC_CACHE_CHECK([for unsigned long long int], -+ [ac_cv_type_unsigned_long_long_int], -+ [ac_cv_type_unsigned_long_long_int=yes -+ if test "x${ac_cv_prog_cc_c99-no}" = xno; then -+ AC_LINK_IFELSE( -+ [_AC_TYPE_LONG_LONG_SNIPPET], -+ [], -+ [ac_cv_type_unsigned_long_long_int=no]) -+ fi]) -+ if test $ac_cv_type_unsigned_long_long_int = yes; then -+ AC_DEFINE([HAVE_UNSIGNED_LONG_LONG_INT], [1], -+ [Define to 1 if the system has the type 'unsigned long long int'.]) -+ fi -+]) -+ -+# Expands to a C program that can be used to test for simultaneous support -+# of 'long long' and 'unsigned long long'. We don't want to say that -+# 'long long' is available if 'unsigned long long' is not, or vice versa, -+# because too many programs rely on the symmetry between signed and unsigned -+# integer types (excluding 'bool'). -+AC_DEFUN([_AC_TYPE_LONG_LONG_SNIPPET], -+[ -+ AC_LANG_PROGRAM( -+ [[/* For now, do not test the preprocessor; as of 2007 there are too many -+ implementations with broken preprocessors. Perhaps this can -+ be revisited in 2012. In the meantime, code should not expect -+ #if to work with literals wider than 32 bits. */ -+ /* Test literals. */ -+ long long int ll = 9223372036854775807ll; -+ long long int nll = -9223372036854775807LL; -+ unsigned long long int ull = 18446744073709551615ULL; -+ /* Test constant expressions. */ -+ typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll) -+ ? 1 : -1)]; -+ typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1 -+ ? 1 : -1)]; -+ int i = 63;]], -+ [[/* Test availability of runtime routines for shift and division. */ -+ long long int llmax = 9223372036854775807ll; -+ unsigned long long int ullmax = 18446744073709551615ull; -+ return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i) -+ | (llmax / ll) | (llmax % ll) -+ | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i) -+ | (ullmax / ull) | (ullmax % ull));]]) -+]) -diff -Naur libiconv-20130504/srcm4/lstat.m4 libiconv-20130504.patch/srcm4/lstat.m4 ---- libiconv-20130504/srcm4/lstat.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/lstat.m4 2013-05-04 10:20:07.971697786 +0200 -@@ -0,0 +1,73 @@ -+# serial 26 -+ -+# Copyright (C) 1997-2001, 2003-2013 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+dnl From Jim Meyering. -+ -+AC_DEFUN([gl_FUNC_LSTAT], -+[ -+ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) -+ dnl If lstat does not exist, the replacement does -+ dnl "#define lstat stat", and lstat.c is a no-op. -+ AC_CHECK_FUNCS_ONCE([lstat]) -+ if test $ac_cv_func_lstat = yes; then -+ AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK]) -+ case "$gl_cv_func_lstat_dereferences_slashed_symlink" in -+ *no) -+ REPLACE_LSTAT=1 -+ ;; -+ esac -+ else -+ HAVE_LSTAT=0 -+ fi -+]) -+ -+# Prerequisites of lib/lstat.c. -+AC_DEFUN([gl_PREREQ_LSTAT], [:]) -+ -+AC_DEFUN([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK], -+[ -+ dnl We don't use AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK any more, because it -+ dnl is no longer maintained in Autoconf and because it invokes AC_LIBOBJ. -+ AC_CACHE_CHECK([whether lstat correctly handles trailing slash], -+ [gl_cv_func_lstat_dereferences_slashed_symlink], -+ [rm -f conftest.sym conftest.file -+ echo >conftest.file -+ if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then -+ AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [AC_INCLUDES_DEFAULT], -+ [[struct stat sbuf; -+ /* Linux will dereference the symlink and fail, as required by -+ POSIX. That is better in the sense that it means we will not -+ have to compile and use the lstat wrapper. */ -+ return lstat ("conftest.sym/", &sbuf) == 0; -+ ]])], -+ [gl_cv_func_lstat_dereferences_slashed_symlink=yes], -+ [gl_cv_func_lstat_dereferences_slashed_symlink=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_lstat_dereferences_slashed_symlink="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" ;; -+ esac -+ ]) -+ else -+ # If the 'ln -s' command failed, then we probably don't even -+ # have an lstat function. -+ gl_cv_func_lstat_dereferences_slashed_symlink="guessing no" -+ fi -+ rm -f conftest.sym conftest.file -+ ]) -+ case "$gl_cv_func_lstat_dereferences_slashed_symlink" in -+ *yes) -+ AC_DEFINE_UNQUOTED([LSTAT_FOLLOWS_SLASHED_SYMLINK], [1], -+ [Define to 1 if 'lstat' dereferences a symlink specified -+ with a trailing slash.]) -+ ;; -+ esac -+]) -diff -Naur libiconv-20130504/srcm4/malloca.m4 libiconv-20130504.patch/srcm4/malloca.m4 ---- libiconv-20130504/srcm4/malloca.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/malloca.m4 2013-05-04 10:20:07.974697777 +0200 -@@ -0,0 +1,15 @@ -+# malloca.m4 serial 1 -+dnl Copyright (C) 2003-2004, 2006-2007, 2009-2013 Free Software Foundation, -+dnl Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_MALLOCA], -+[ -+ dnl Use the autoconf tests for alloca(), but not the AC_SUBSTed variables -+ dnl @ALLOCA@ and @LTALLOCA@. -+ dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. -+ AC_REQUIRE([gl_EEMALLOC]) -+ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) -+]) -diff -Naur libiconv-20130504/srcm4/mbstate_t.m4 libiconv-20130504.patch/srcm4/mbstate_t.m4 ---- libiconv-20130504/srcm4/mbstate_t.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/mbstate_t.m4 2013-05-04 10:20:07.976697772 +0200 -@@ -0,0 +1,41 @@ -+# mbstate_t.m4 serial 13 -+dnl Copyright (C) 2000-2002, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# From Paul Eggert. -+ -+# BeOS 5 has but does not define mbstate_t, -+# so you can't declare an object of that type. -+# Check for this incompatibility with Standard C. -+ -+# AC_TYPE_MBSTATE_T -+# ----------------- -+AC_DEFUN([AC_TYPE_MBSTATE_T], -+[ -+ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) dnl for HP-UX 11.11 -+ -+ AC_CACHE_CHECK([for mbstate_t], [ac_cv_type_mbstate_t], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [AC_INCLUDES_DEFAULT[ -+/* Tru64 with Desktop Toolkit C has a bug: must be included before -+ . -+ BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+#include -+#include -+#include -+#include ]], -+ [[mbstate_t x; return sizeof x;]])], -+ [ac_cv_type_mbstate_t=yes], -+ [ac_cv_type_mbstate_t=no])]) -+ if test $ac_cv_type_mbstate_t = yes; then -+ AC_DEFINE([HAVE_MBSTATE_T], [1], -+ [Define to 1 if declares mbstate_t.]) -+ else -+ AC_DEFINE([mbstate_t], [int], -+ [Define to a type if does not define.]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/memmove.m4 libiconv-20130504.patch/srcm4/memmove.m4 ---- libiconv-20130504/srcm4/memmove.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/memmove.m4 2013-05-04 10:20:07.979697763 +0200 -@@ -0,0 +1,15 @@ -+# memmove.m4 serial 4 -+dnl Copyright (C) 2002, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_MEMMOVE], -+[ -+ AC_CHECK_FUNCS([memmove]) -+]) -+ -+# Prerequisites of lib/memmove.c. -+AC_DEFUN([gl_PREREQ_MEMMOVE], [ -+ : -+]) -diff -Naur libiconv-20130504/srcm4/msvc-inval.m4 libiconv-20130504.patch/srcm4/msvc-inval.m4 ---- libiconv-20130504/srcm4/msvc-inval.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/msvc-inval.m4 2013-05-04 10:20:07.981697757 +0200 -@@ -0,0 +1,19 @@ -+# msvc-inval.m4 serial 1 -+dnl Copyright (C) 2011-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_MSVC_INVAL], -+[ -+ AC_CHECK_FUNCS_ONCE([_set_invalid_parameter_handler]) -+ if test $ac_cv_func__set_invalid_parameter_handler = yes; then -+ HAVE_MSVC_INVALID_PARAMETER_HANDLER=1 -+ AC_DEFINE([HAVE_MSVC_INVALID_PARAMETER_HANDLER], [1], -+ [Define to 1 on MSVC platforms that have the "invalid parameter handler" -+ concept.]) -+ else -+ HAVE_MSVC_INVALID_PARAMETER_HANDLER=0 -+ fi -+ AC_SUBST([HAVE_MSVC_INVALID_PARAMETER_HANDLER]) -+]) -diff -Naur libiconv-20130504/srcm4/msvc-nothrow.m4 libiconv-20130504.patch/srcm4/msvc-nothrow.m4 ---- libiconv-20130504/srcm4/msvc-nothrow.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/msvc-nothrow.m4 2013-05-04 10:20:07.985697745 +0200 -@@ -0,0 +1,10 @@ -+# msvc-nothrow.m4 serial 1 -+dnl Copyright (C) 2011-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_MSVC_NOTHROW], -+[ -+ AC_REQUIRE([gl_MSVC_INVAL]) -+]) -diff -Naur libiconv-20130504/srcm4/multiarch.m4 libiconv-20130504.patch/srcm4/multiarch.m4 ---- libiconv-20130504/srcm4/multiarch.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/multiarch.m4 2013-05-04 10:20:07.988697737 +0200 -@@ -0,0 +1,62 @@ -+# multiarch.m4 serial 7 -+dnl Copyright (C) 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# Determine whether the compiler is or may be producing universal binaries. -+# -+# On Mac OS X 10.5 and later systems, the user can create libraries and -+# executables that work on multiple system types--known as "fat" or -+# "universal" binaries--by specifying multiple '-arch' options to the -+# compiler but only a single '-arch' option to the preprocessor. Like -+# this: -+# -+# ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ -+# CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ -+# CPP="gcc -E" CXXCPP="g++ -E" -+# -+# Detect this situation and set APPLE_UNIVERSAL_BUILD accordingly. -+ -+AC_DEFUN_ONCE([gl_MULTIARCH], -+[ -+ dnl Code similar to autoconf-2.63 AC_C_BIGENDIAN. -+ gl_cv_c_multiarch=no -+ AC_COMPILE_IFELSE( -+ [AC_LANG_SOURCE( -+ [[#ifndef __APPLE_CC__ -+ not a universal capable compiler -+ #endif -+ typedef int dummy; -+ ]])], -+ [ -+ dnl Check for potential -arch flags. It is not universal unless -+ dnl there are at least two -arch flags with different values. -+ arch= -+ prev= -+ for word in ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}; do -+ if test -n "$prev"; then -+ case $word in -+ i?86 | x86_64 | ppc | ppc64) -+ if test -z "$arch" || test "$arch" = "$word"; then -+ arch="$word" -+ else -+ gl_cv_c_multiarch=yes -+ fi -+ ;; -+ esac -+ prev= -+ else -+ if test "x$word" = "x-arch"; then -+ prev=arch -+ fi -+ fi -+ done -+ ]) -+ if test $gl_cv_c_multiarch = yes; then -+ APPLE_UNIVERSAL_BUILD=1 -+ else -+ APPLE_UNIVERSAL_BUILD=0 -+ fi -+ AC_SUBST([APPLE_UNIVERSAL_BUILD]) -+]) -diff -Naur libiconv-20130504/srcm4/nls.m4 libiconv-20130504.patch/srcm4/nls.m4 ---- libiconv-20130504/srcm4/nls.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/nls.m4 2013-05-04 10:20:07.990697731 +0200 -@@ -0,0 +1,32 @@ -+# nls.m4 serial 5 (gettext-0.18) -+dnl Copyright (C) 1995-2003, 2005-2006, 2008-2013 Free Software Foundation, -+dnl Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+dnl Authors: -+dnl Ulrich Drepper , 1995-2000. -+dnl Bruno Haible , 2000-2003. -+ -+AC_PREREQ([2.50]) -+ -+AC_DEFUN([AM_NLS], -+[ -+ AC_MSG_CHECKING([whether NLS is requested]) -+ dnl Default is enabled NLS -+ AC_ARG_ENABLE([nls], -+ [ --disable-nls do not use Native Language Support], -+ USE_NLS=$enableval, USE_NLS=yes) -+ AC_MSG_RESULT([$USE_NLS]) -+ AC_SUBST([USE_NLS]) -+]) -diff -Naur libiconv-20130504/srcm4/nocrash.m4 libiconv-20130504.patch/srcm4/nocrash.m4 ---- libiconv-20130504/srcm4/nocrash.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/nocrash.m4 2013-05-04 10:20:07.993697722 +0200 -@@ -0,0 +1,130 @@ -+# nocrash.m4 serial 4 -+dnl Copyright (C) 2005, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl Based on libsigsegv, from Bruno Haible and Paolo Bonzini. -+ -+AC_PREREQ([2.13]) -+ -+dnl Expands to some code for use in .c programs that will cause the configure -+dnl test to exit instead of crashing. This is useful to avoid triggering -+dnl action from a background debugger and to avoid core dumps. -+dnl Usage: ... -+dnl ]GL_NOCRASH[ -+dnl ... -+dnl int main() { nocrash_init(); ... } -+AC_DEFUN([GL_NOCRASH],[[ -+#include -+#if defined __MACH__ && defined __APPLE__ -+/* Avoid a crash on Mac OS X. */ -+#include -+#include -+#include -+#include -+#include -+#include -+/* The exception port on which our thread listens. */ -+static mach_port_t our_exception_port; -+/* The main function of the thread listening for exceptions of type -+ EXC_BAD_ACCESS. */ -+static void * -+mach_exception_thread (void *arg) -+{ -+ /* Buffer for a message to be received. */ -+ struct { -+ mach_msg_header_t head; -+ mach_msg_body_t msgh_body; -+ char data[1024]; -+ } msg; -+ mach_msg_return_t retval; -+ /* Wait for a message on the exception port. */ -+ retval = mach_msg (&msg.head, MACH_RCV_MSG | MACH_RCV_LARGE, 0, sizeof (msg), -+ our_exception_port, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL); -+ if (retval != MACH_MSG_SUCCESS) -+ abort (); -+ exit (1); -+} -+static void -+nocrash_init (void) -+{ -+ mach_port_t self = mach_task_self (); -+ /* Allocate a port on which the thread shall listen for exceptions. */ -+ if (mach_port_allocate (self, MACH_PORT_RIGHT_RECEIVE, &our_exception_port) -+ == KERN_SUCCESS) { -+ /* See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/mach_port_insert_right.html. */ -+ if (mach_port_insert_right (self, our_exception_port, our_exception_port, -+ MACH_MSG_TYPE_MAKE_SEND) -+ == KERN_SUCCESS) { -+ /* The exceptions we want to catch. Only EXC_BAD_ACCESS is interesting -+ for us. */ -+ exception_mask_t mask = EXC_MASK_BAD_ACCESS; -+ /* Create the thread listening on the exception port. */ -+ pthread_attr_t attr; -+ pthread_t thread; -+ if (pthread_attr_init (&attr) == 0 -+ && pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED) == 0 -+ && pthread_create (&thread, &attr, mach_exception_thread, NULL) == 0) { -+ pthread_attr_destroy (&attr); -+ /* Replace the exception port info for these exceptions with our own. -+ Note that we replace the exception port for the entire task, not only -+ for a particular thread. This has the effect that when our exception -+ port gets the message, the thread specific exception port has already -+ been asked, and we don't need to bother about it. -+ See http://web.mit.edu/darwin/src/modules/xnu/osfmk/man/task_set_exception_ports.html. */ -+ task_set_exception_ports (self, mask, our_exception_port, -+ EXCEPTION_DEFAULT, MACHINE_THREAD_STATE); -+ } -+ } -+ } -+} -+#elif (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+/* Avoid a crash on native Windows. */ -+#define WIN32_LEAN_AND_MEAN -+#include -+#include -+static LONG WINAPI -+exception_filter (EXCEPTION_POINTERS *ExceptionInfo) -+{ -+ switch (ExceptionInfo->ExceptionRecord->ExceptionCode) -+ { -+ case EXCEPTION_ACCESS_VIOLATION: -+ case EXCEPTION_IN_PAGE_ERROR: -+ case EXCEPTION_STACK_OVERFLOW: -+ case EXCEPTION_GUARD_PAGE: -+ case EXCEPTION_PRIV_INSTRUCTION: -+ case EXCEPTION_ILLEGAL_INSTRUCTION: -+ case EXCEPTION_DATATYPE_MISALIGNMENT: -+ case EXCEPTION_ARRAY_BOUNDS_EXCEEDED: -+ case EXCEPTION_NONCONTINUABLE_EXCEPTION: -+ exit (1); -+ } -+ return EXCEPTION_CONTINUE_SEARCH; -+} -+static void -+nocrash_init (void) -+{ -+ SetUnhandledExceptionFilter ((LPTOP_LEVEL_EXCEPTION_FILTER) exception_filter); -+} -+#else -+/* Avoid a crash on POSIX systems. */ -+#include -+/* A POSIX signal handler. */ -+static void -+exception_handler (int sig) -+{ -+ exit (1); -+} -+static void -+nocrash_init (void) -+{ -+#ifdef SIGSEGV -+ signal (SIGSEGV, exception_handler); -+#endif -+#ifdef SIGBUS -+ signal (SIGBUS, exception_handler); -+#endif -+} -+#endif -+]]) -diff -Naur libiconv-20130504/srcm4/off_t.m4 libiconv-20130504.patch/srcm4/off_t.m4 ---- libiconv-20130504/srcm4/off_t.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/off_t.m4 2013-05-04 10:20:07.995697716 +0200 -@@ -0,0 +1,18 @@ -+# off_t.m4 serial 1 -+dnl Copyright (C) 2012-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl Check whether to override the 'off_t' type. -+dnl Set WINDOWS_64_BIT_OFF_T. -+ -+AC_DEFUN([gl_TYPE_OFF_T], -+[ -+ m4_ifdef([gl_LARGEFILE], [ -+ AC_REQUIRE([gl_LARGEFILE]) -+ ], [ -+ WINDOWS_64_BIT_OFF_T=0 -+ ]) -+ AC_SUBST([WINDOWS_64_BIT_OFF_T]) -+]) -diff -Naur libiconv-20130504/srcm4/pathmax.m4 libiconv-20130504.patch/srcm4/pathmax.m4 ---- libiconv-20130504/srcm4/pathmax.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/pathmax.m4 2013-05-04 10:20:07.997697710 +0200 -@@ -0,0 +1,42 @@ -+# pathmax.m4 serial 10 -+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2013 Free Software Foundation, -+dnl Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_PATHMAX], -+[ -+ dnl Prerequisites of lib/pathmax.h. -+ AC_CHECK_HEADERS_ONCE([sys/param.h]) -+]) -+ -+# Expands to a piece of C program that defines PATH_MAX in the same way as -+# "pathmax.h" will do. -+AC_DEFUN([gl_PATHMAX_SNIPPET], [[ -+/* Arrange to define PATH_MAX, like "pathmax.h" does. */ -+#if HAVE_UNISTD_H -+# include -+#endif -+#include -+#if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN -+# include -+#endif -+#if !defined PATH_MAX && defined MAXPATHLEN -+# define PATH_MAX MAXPATHLEN -+#endif -+#ifdef __hpux -+# undef PATH_MAX -+# define PATH_MAX 1024 -+#endif -+#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+# undef PATH_MAX -+# define PATH_MAX 260 -+#endif -+]]) -+ -+# Prerequisites of gl_PATHMAX_SNIPPET. -+AC_DEFUN([gl_PATHMAX_SNIPPET_PREREQ], -+[ -+ AC_CHECK_HEADERS_ONCE([unistd.h sys/param.h]) -+]) -diff -Naur libiconv-20130504/srcm4/po.m4 libiconv-20130504.patch/srcm4/po.m4 ---- libiconv-20130504/srcm4/po.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/po.m4 2013-05-04 10:20:08.001697699 +0200 -@@ -0,0 +1,452 @@ -+# po.m4 serial 20 (gettext-0.18.2) -+dnl Copyright (C) 1995-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+dnl Authors: -+dnl Ulrich Drepper , 1995-2000. -+dnl Bruno Haible , 2000-2003. -+ -+AC_PREREQ([2.60]) -+ -+dnl Checks for all prerequisites of the po subdirectory. -+AC_DEFUN([AM_PO_SUBDIRS], -+[ -+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl -+ AC_REQUIRE([AC_PROG_INSTALL])dnl -+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl -+ AC_REQUIRE([AM_NLS])dnl -+ -+ dnl Release version of the gettext macros. This is used to ensure that -+ dnl the gettext macros and po/Makefile.in.in are in sync. -+ AC_SUBST([GETTEXT_MACRO_VERSION], [0.18]) -+ -+ dnl Perform the following tests also if --disable-nls has been given, -+ dnl because they are needed for "make dist" to work. -+ -+ dnl Search for GNU msgfmt in the PATH. -+ dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. -+ dnl The second test excludes FreeBSD msgfmt. -+ AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, -+ [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && -+ (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], -+ :) -+ AC_PATH_PROG([GMSGFMT], [gmsgfmt], [$MSGFMT]) -+ -+ dnl Test whether it is GNU msgfmt >= 0.15. -+changequote(,)dnl -+ case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in -+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; -+ *) MSGFMT_015=$MSGFMT ;; -+ esac -+changequote([,])dnl -+ AC_SUBST([MSGFMT_015]) -+changequote(,)dnl -+ case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in -+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; -+ *) GMSGFMT_015=$GMSGFMT ;; -+ esac -+changequote([,])dnl -+ AC_SUBST([GMSGFMT_015]) -+ -+ dnl Search for GNU xgettext 0.12 or newer in the PATH. -+ dnl The first test excludes Solaris xgettext and early GNU xgettext versions. -+ dnl The second test excludes FreeBSD xgettext. -+ AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, -+ [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && -+ (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], -+ :) -+ dnl Remove leftover from FreeBSD xgettext call. -+ rm -f messages.po -+ -+ dnl Test whether it is GNU xgettext >= 0.15. -+changequote(,)dnl -+ case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in -+ '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; -+ *) XGETTEXT_015=$XGETTEXT ;; -+ esac -+changequote([,])dnl -+ AC_SUBST([XGETTEXT_015]) -+ -+ dnl Search for GNU msgmerge 0.11 or newer in the PATH. -+ AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, -+ [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) -+ -+ dnl Installation directories. -+ dnl Autoconf >= 2.60 defines localedir. For older versions of autoconf, we -+ dnl have to define it here, so that it can be used in po/Makefile. -+ test -n "$localedir" || localedir='${datadir}/locale' -+ AC_SUBST([localedir]) -+ -+ dnl Support for AM_XGETTEXT_OPTION. -+ test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= -+ AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) -+ -+ AC_CONFIG_COMMANDS([po-directories], [[ -+ for ac_file in $CONFIG_FILES; do -+ # Support "outfile[:infile[:infile...]]" -+ case "$ac_file" in -+ *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; -+ esac -+ # PO directories have a Makefile.in generated from Makefile.in.in. -+ case "$ac_file" in */Makefile.in) -+ # Adjust a relative srcdir. -+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` -+ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` -+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` -+ # In autoconf-2.13 it is called $ac_given_srcdir. -+ # In autoconf-2.50 it is called $srcdir. -+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" -+ case "$ac_given_srcdir" in -+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; -+ /*) top_srcdir="$ac_given_srcdir" ;; -+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; -+ esac -+ # Treat a directory as a PO directory if and only if it has a -+ # POTFILES.in file. This allows packages to have multiple PO -+ # directories under different names or in different locations. -+ if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then -+ rm -f "$ac_dir/POTFILES" -+ test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" -+ gt_tab=`printf '\t'` -+ cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ${gt_tab}]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" -+ POMAKEFILEDEPS="POTFILES.in" -+ # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend -+ # on $ac_dir but don't depend on user-specified configuration -+ # parameters. -+ if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then -+ # The LINGUAS file contains the set of available languages. -+ if test -n "$OBSOLETE_ALL_LINGUAS"; then -+ test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" -+ fi -+ ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` -+ # Hide the ALL_LINGUAS assignment from automake < 1.5. -+ eval 'ALL_LINGUAS''=$ALL_LINGUAS_' -+ POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" -+ else -+ # The set of available languages was given in configure.in. -+ # Hide the ALL_LINGUAS assignment from automake < 1.5. -+ eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' -+ fi -+ # Compute POFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) -+ # Compute UPDATEPOFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) -+ # Compute DUMMYPOFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) -+ # Compute GMOFILES -+ # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) -+ case "$ac_given_srcdir" in -+ .) srcdirpre= ;; -+ *) srcdirpre='$(srcdir)/' ;; -+ esac -+ POFILES= -+ UPDATEPOFILES= -+ DUMMYPOFILES= -+ GMOFILES= -+ for lang in $ALL_LINGUAS; do -+ POFILES="$POFILES $srcdirpre$lang.po" -+ UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" -+ DUMMYPOFILES="$DUMMYPOFILES $lang.nop" -+ GMOFILES="$GMOFILES $srcdirpre$lang.gmo" -+ done -+ # CATALOGS depends on both $ac_dir and the user's LINGUAS -+ # environment variable. -+ INST_LINGUAS= -+ if test -n "$ALL_LINGUAS"; then -+ for presentlang in $ALL_LINGUAS; do -+ useit=no -+ if test "%UNSET%" != "$LINGUAS"; then -+ desiredlanguages="$LINGUAS" -+ else -+ desiredlanguages="$ALL_LINGUAS" -+ fi -+ for desiredlang in $desiredlanguages; do -+ # Use the presentlang catalog if desiredlang is -+ # a. equal to presentlang, or -+ # b. a variant of presentlang (because in this case, -+ # presentlang can be used as a fallback for messages -+ # which are not translated in the desiredlang catalog). -+ case "$desiredlang" in -+ "$presentlang"*) useit=yes;; -+ esac -+ done -+ if test $useit = yes; then -+ INST_LINGUAS="$INST_LINGUAS $presentlang" -+ fi -+ done -+ fi -+ CATALOGS= -+ if test -n "$INST_LINGUAS"; then -+ for lang in $INST_LINGUAS; do -+ CATALOGS="$CATALOGS $lang.gmo" -+ done -+ fi -+ test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" -+ sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile" -+ for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do -+ if test -f "$f"; then -+ case "$f" in -+ *.orig | *.bak | *~) ;; -+ *) cat "$f" >> "$ac_dir/Makefile" ;; -+ esac -+ fi -+ done -+ fi -+ ;; -+ esac -+ done]], -+ [# Capture the value of obsolete ALL_LINGUAS because we need it to compute -+ # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it -+ # from automake < 1.5. -+ eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' -+ # Capture the value of LINGUAS because we need it to compute CATALOGS. -+ LINGUAS="${LINGUAS-%UNSET%}" -+ ]) -+]) -+ -+dnl Postprocesses a Makefile in a directory containing PO files. -+AC_DEFUN([AM_POSTPROCESS_PO_MAKEFILE], -+[ -+ # When this code is run, in config.status, two variables have already been -+ # set: -+ # - OBSOLETE_ALL_LINGUAS is the value of LINGUAS set in configure.in, -+ # - LINGUAS is the value of the environment variable LINGUAS at configure -+ # time. -+ -+changequote(,)dnl -+ # Adjust a relative srcdir. -+ ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` -+ ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'` -+ ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` -+ # In autoconf-2.13 it is called $ac_given_srcdir. -+ # In autoconf-2.50 it is called $srcdir. -+ test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" -+ case "$ac_given_srcdir" in -+ .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; -+ /*) top_srcdir="$ac_given_srcdir" ;; -+ *) top_srcdir="$ac_dots$ac_given_srcdir" ;; -+ esac -+ -+ # Find a way to echo strings without interpreting backslash. -+ if test "X`(echo '\t') 2>/dev/null`" = 'X\t'; then -+ gt_echo='echo' -+ else -+ if test "X`(printf '%s\n' '\t') 2>/dev/null`" = 'X\t'; then -+ gt_echo='printf %s\n' -+ else -+ echo_func () { -+ cat < "$ac_file.tmp" -+ tab=`printf '\t'` -+ if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then -+ # Add dependencies that cannot be formulated as a simple suffix rule. -+ for lang in $ALL_LINGUAS; do -+ frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` -+ cat >> "$ac_file.tmp" < /dev/null; then -+ # Add dependencies that cannot be formulated as a simple suffix rule. -+ for lang in $ALL_LINGUAS; do -+ frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'` -+ cat >> "$ac_file.tmp" <> "$ac_file.tmp" < -+#include -+/* The string "%2$d %1$d", with dollar characters protected from the shell's -+ dollar expansion (possibly an autoconf bug). */ -+static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' }; -+static char buf[100]; -+int main () -+{ -+ sprintf (buf, format, 33, 55); -+ return (strcmp (buf, "55 33") != 0); -+}]])], -+ [gt_cv_func_printf_posix=yes], -+ [gt_cv_func_printf_posix=no], -+ [ -+ AC_EGREP_CPP([notposix], [ -+#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ -+ notposix -+#endif -+ ], -+ [gt_cv_func_printf_posix="guessing no"], -+ [gt_cv_func_printf_posix="guessing yes"]) -+ ]) -+ ]) -+ case $gt_cv_func_printf_posix in -+ *yes) -+ AC_DEFINE([HAVE_POSIX_PRINTF], [1], -+ [Define if your printf() function supports format strings with positions.]) -+ ;; -+ esac -+]) -diff -Naur libiconv-20130504/srcm4/progtest.m4 libiconv-20130504.patch/srcm4/progtest.m4 ---- libiconv-20130504/srcm4/progtest.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/progtest.m4 2013-05-04 10:20:08.007697681 +0200 -@@ -0,0 +1,91 @@ -+# progtest.m4 serial 7 (gettext-0.18.2) -+dnl Copyright (C) 1996-2003, 2005, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+dnl -+dnl This file can can be used in projects which are not available under -+dnl the GNU General Public License or the GNU Library General Public -+dnl License but which still want to provide support for the GNU gettext -+dnl functionality. -+dnl Please note that the actual code of the GNU gettext library is covered -+dnl by the GNU Library General Public License, and the rest of the GNU -+dnl gettext package package is covered by the GNU General Public License. -+dnl They are *not* in the public domain. -+ -+dnl Authors: -+dnl Ulrich Drepper , 1996. -+ -+AC_PREREQ([2.50]) -+ -+# Search path for a program which passes the given test. -+ -+dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, -+dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) -+AC_DEFUN([AM_PATH_PROG_WITH_TEST], -+[ -+# Prepare PATH_SEPARATOR. -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which -+ # contains only /bin. Note that ksh looks also at the FPATH variable, -+ # so we have to set that as well for the test. -+ PATH_SEPARATOR=: -+ (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \ -+ || PATH_SEPARATOR=';' -+ } -+fi -+ -+# Find out how to test for executable files. Don't use a zero-byte file, -+# as systems may use methods other than mode bits to determine executability. -+cat >conf$$.file <<_ASEOF -+#! /bin/sh -+exit 0 -+_ASEOF -+chmod +x conf$$.file -+if test -x conf$$.file >/dev/null 2>&1; then -+ ac_executable_p="test -x" -+else -+ ac_executable_p="test -f" -+fi -+rm -f conf$$.file -+ -+# Extract the first word of "$2", so it can be a program name with args. -+set dummy $2; ac_word=[$]2 -+AC_MSG_CHECKING([for $ac_word]) -+AC_CACHE_VAL([ac_cv_path_$1], -+[case "[$]$1" in -+ [[\\/]]* | ?:[[\\/]]*) -+ ac_cv_path_$1="[$]$1" # Let the user override the test with a path. -+ ;; -+ *) -+ ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR -+ for ac_dir in ifelse([$5], , $PATH, [$5]); do -+ IFS="$ac_save_IFS" -+ test -z "$ac_dir" && ac_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then -+ echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD -+ if [$3]; then -+ ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" -+ break 2 -+ fi -+ fi -+ done -+ done -+ IFS="$ac_save_IFS" -+dnl If no 4th arg is given, leave the cache variable unset, -+dnl so AC_PATH_PROGS will keep looking. -+ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" -+])dnl -+ ;; -+esac])dnl -+$1="$ac_cv_path_$1" -+if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then -+ AC_MSG_RESULT([$][$1]) -+else -+ AC_MSG_RESULT([no]) -+fi -+AC_SUBST([$1])dnl -+]) -diff -Naur libiconv-20130504/srcm4/raise.m4 libiconv-20130504.patch/srcm4/raise.m4 ---- libiconv-20130504/srcm4/raise.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/raise.m4 2013-05-04 10:20:08.009697675 +0200 -@@ -0,0 +1,34 @@ -+# raise.m4 serial 3 -+dnl Copyright (C) 2011-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_RAISE], -+[ -+ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ AC_REQUIRE([gl_MSVC_INVAL]) -+ AC_CHECK_FUNCS([raise]) -+ if test $ac_cv_func_raise = no; then -+ HAVE_RAISE=0 -+ else -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ REPLACE_RAISE=1 -+ fi -+ m4_ifdef([gl_SIGNALBLOCKING], [ -+ gl_SIGNALBLOCKING -+ if test $HAVE_POSIX_SIGNALBLOCKING = 0; then -+ m4_ifdef([gl_SIGNAL_SIGPIPE], [ -+ gl_SIGNAL_SIGPIPE -+ if test $gl_cv_header_signal_h_SIGPIPE != yes; then -+ REPLACE_RAISE=1 -+ fi -+ ], [:]) -+ fi -+ ]) -+ fi -+]) -+ -+# Prerequisites of lib/raise.c. -+AC_DEFUN([gl_PREREQ_RAISE], [:]) -diff -Naur libiconv-20130504/srcm4/readlink.m4 libiconv-20130504.patch/srcm4/readlink.m4 ---- libiconv-20130504/srcm4/readlink.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/readlink.m4 2013-05-04 10:20:08.014697661 +0200 -@@ -0,0 +1,71 @@ -+# readlink.m4 serial 12 -+dnl Copyright (C) 2003, 2007, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_READLINK], -+[ -+ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ AC_CHECK_FUNCS_ONCE([readlink]) -+ if test $ac_cv_func_readlink = no; then -+ HAVE_READLINK=0 -+ else -+ AC_CACHE_CHECK([whether readlink signature is correct], -+ [gl_cv_decl_readlink_works], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ /* Cause compilation failure if original declaration has wrong type. */ -+ ssize_t readlink (const char *, char *, size_t);]])], -+ [gl_cv_decl_readlink_works=yes], [gl_cv_decl_readlink_works=no])]) -+ dnl Solaris 9 ignores trailing slash. -+ dnl FreeBSD 7.2 dereferences only one level of links with trailing slash. -+ AC_CACHE_CHECK([whether readlink handles trailing slash correctly], -+ [gl_cv_func_readlink_works], -+ [# We have readlink, so assume ln -s works. -+ ln -s conftest.no-such conftest.link -+ ln -s conftest.link conftest.lnk2 -+ AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+]], [[char buf[20]; -+ return readlink ("conftest.lnk2/", buf, sizeof buf) != -1;]])], -+ [gl_cv_func_readlink_works=yes], [gl_cv_func_readlink_works=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_readlink_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_readlink_works="guessing no" ;; -+ esac -+ ]) -+ rm -f conftest.link conftest.lnk2]) -+ case "$gl_cv_func_readlink_works" in -+ *yes) -+ if test "$gl_cv_decl_readlink_works" != yes; then -+ REPLACE_READLINK=1 -+ fi -+ ;; -+ *) -+ AC_DEFINE([READLINK_TRAILING_SLASH_BUG], [1], [Define to 1 if readlink -+ fails to recognize a trailing slash.]) -+ REPLACE_READLINK=1 -+ ;; -+ esac -+ fi -+]) -+ -+# Like gl_FUNC_READLINK, except prepare for separate compilation -+# (no REPLACE_READLINK, no AC_LIBOBJ). -+AC_DEFUN([gl_FUNC_READLINK_SEPARATE], -+[ -+ AC_CHECK_FUNCS_ONCE([readlink]) -+ gl_PREREQ_READLINK -+]) -+ -+# Prerequisites of lib/readlink.c. -+AC_DEFUN([gl_PREREQ_READLINK], -+[ -+ : -+]) -diff -Naur libiconv-20130504/srcm4/read.m4 libiconv-20130504.patch/srcm4/read.m4 ---- libiconv-20130504/srcm4/read.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/read.m4 2013-05-04 10:20:08.011697670 +0200 -@@ -0,0 +1,26 @@ -+# read.m4 serial 4 -+dnl Copyright (C) 2011-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_READ], -+[ -+ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) -+ AC_REQUIRE([gl_MSVC_INVAL]) -+ if test $HAVE_MSVC_INVALID_PARAMETER_HANDLER = 1; then -+ REPLACE_READ=1 -+ fi -+ dnl This ifdef is just an optimization, to avoid performing a configure -+ dnl check whose result is not used. It does not make the test of -+ dnl GNULIB_UNISTD_H_NONBLOCKING or GNULIB_NONBLOCKING redundant. -+ m4_ifdef([gl_NONBLOCKING_IO], [ -+ gl_NONBLOCKING_IO -+ if test $gl_cv_have_nonblocking != yes; then -+ REPLACE_READ=1 -+ fi -+ ]) -+]) -+ -+# Prerequisites of lib/read.c. -+AC_DEFUN([gl_PREREQ_READ], [:]) -diff -Naur libiconv-20130504/srcm4/relocatable-lib.m4 libiconv-20130504.patch/srcm4/relocatable-lib.m4 ---- libiconv-20130504/srcm4/relocatable-lib.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/relocatable-lib.m4 2013-05-04 10:20:08.016697655 +0200 -@@ -0,0 +1,47 @@ -+# relocatable-lib.m4 serial 6 -+dnl Copyright (C) 2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+dnl Support for relocatable libraries. -+AC_DEFUN([gl_RELOCATABLE_LIBRARY], -+[ -+ AC_REQUIRE([gl_RELOCATABLE_LIBRARY_BODY]) -+]) -+AC_DEFUN([gl_RELOCATABLE_LIBRARY_BODY], -+[ -+ AC_REQUIRE([gl_RELOCATABLE_NOP]) -+ dnl Easier to put this here once, instead of into the DEFS of each Makefile. -+ if test "X$prefix" = "XNONE"; then -+ reloc_final_prefix="$ac_default_prefix" -+ else -+ reloc_final_prefix="$prefix" -+ fi -+ AC_DEFINE_UNQUOTED([INSTALLPREFIX], ["${reloc_final_prefix}"], -+ [Define to the value of ${prefix}, as a string.]) -+ if test $RELOCATABLE = yes; then -+ AC_DEFINE([ENABLE_RELOCATABLE], [1], -+ [Define to 1 if the package shall run at any location in the file -+ system.]) -+ fi -+]) -+ -+dnl Support for relocatable packages for which it is a nop. -+AC_DEFUN([gl_RELOCATABLE_NOP], -+[ -+ AC_MSG_CHECKING([whether to activate relocatable installation]) -+ AC_ARG_ENABLE([relocatable], -+ [AS_HELP_STRING([--enable-relocatable], -+ [install a package that can be moved in the file system])], -+ [if test "$enableval" != no; then -+ RELOCATABLE=yes -+ else -+ RELOCATABLE=no -+ fi -+ ], RELOCATABLE=no) -+ AC_SUBST([RELOCATABLE]) -+ AC_MSG_RESULT([$RELOCATABLE]) -+]) -diff -Naur libiconv-20130504/srcm4/relocatable.m4 libiconv-20130504.patch/srcm4/relocatable.m4 ---- libiconv-20130504/srcm4/relocatable.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/relocatable.m4 2013-05-04 10:20:08.019697646 +0200 -@@ -0,0 +1,105 @@ -+# relocatable.m4 serial 18 -+dnl Copyright (C) 2003, 2005-2007, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+dnl gl_RELOCATABLE([RELOCWRAPPER-DIR]) -+dnl ---------------------------------------------------------- -+dnl Support for relocatable programs. -+dnl Supply RELOCWRAPPER-DIR as the directory where relocwrapper.c may be found. -+AC_DEFUN([gl_RELOCATABLE], -+[ -+ AC_REQUIRE([gl_RELOCATABLE_BODY]) -+ gl_RELOCATABLE_LIBRARY -+ : ${RELOCATABLE_CONFIG_H_DIR='$(top_builddir)'} -+ RELOCATABLE_SRC_DIR="\$(top_srcdir)/$gl_source_base" -+ RELOCATABLE_BUILD_DIR="\$(top_builddir)/$gl_source_base" -+]) -+dnl The guts of gl_RELOCATABLE. Needs to be expanded only once. -+AC_DEFUN([gl_RELOCATABLE_BODY], -+[ -+ AC_REQUIRE([AC_PROG_INSTALL]) -+ dnl This AC_BEFORE invocation leads to unjustified autoconf warnings -+ dnl when gl_RELOCATABLE_BODY is invoked more than once. -+ dnl We need this AC_BEFORE because AC_PROG_INSTALL is documented to -+ dnl overwrite earlier settings of INSTALL and INSTALL_PROGRAM (even -+ dnl though in autoconf-2.52..2.60 it doesn't do so), but we want this -+ dnl macro's setting of INSTALL_PROGRAM to persist. -+ AC_BEFORE([AC_PROG_INSTALL],[gl_RELOCATABLE_BODY]) -+ AC_REQUIRE([AC_LIB_LIBPATH]) -+ AC_REQUIRE([gl_RELOCATABLE_LIBRARY_BODY]) -+ is_noop=no -+ use_elf_origin_trick=no -+ use_wrapper=no -+ if test $RELOCATABLE = yes; then -+ # --enable-relocatable implies --disable-rpath -+ enable_rpath=no -+ AC_CHECK_HEADERS([mach-o/dyld.h]) -+ AC_CHECK_FUNCS([_NSGetExecutablePath]) -+ case "$host_os" in -+ mingw*) is_noop=yes ;; -+ linux* | kfreebsd*) use_elf_origin_trick=yes ;; -+ esac -+ if test $is_noop = yes; then -+ RELOCATABLE_LDFLAGS=: -+ AC_SUBST([RELOCATABLE_LDFLAGS]) -+ else -+ if test $use_elf_origin_trick = yes; then -+ dnl Use the dynamic linker's support for relocatable programs. -+ case "$ac_aux_dir" in -+ /*) reloc_ldflags="$ac_aux_dir/reloc-ldflags" ;; -+ *) reloc_ldflags="\$(top_builddir)/$ac_aux_dir/reloc-ldflags" ;; -+ esac -+ RELOCATABLE_LDFLAGS="\"$reloc_ldflags\" \"\$(host)\" \"\$(RELOCATABLE_LIBRARY_PATH)\"" -+ AC_SUBST([RELOCATABLE_LDFLAGS]) -+ else -+ use_wrapper=yes -+ dnl Unfortunately we cannot define INSTALL_PROGRAM to a command -+ dnl consisting of more than one word - libtool doesn't support this. -+ dnl So we abuse the INSTALL_PROGRAM_ENV hook, originally meant for the -+ dnl 'install-strip' target. -+ INSTALL_PROGRAM_ENV="RELOC_LIBRARY_PATH_VAR=\"$shlibpath_var\" RELOC_LIBRARY_PATH_VALUE=\"\$(RELOCATABLE_LIBRARY_PATH)\" RELOC_PREFIX=\"\$(prefix)\" RELOC_DESTDIR=\"\$(DESTDIR)\" RELOC_COMPILE_COMMAND=\"\$(CC) \$(CPPFLAGS) \$(CFLAGS) \$(LDFLAGS)\" RELOC_SRCDIR=\"\$(RELOCATABLE_SRC_DIR)\" RELOC_BUILDDIR=\"\$(RELOCATABLE_BUILD_DIR)\" RELOC_CONFIG_H_DIR=\"\$(RELOCATABLE_CONFIG_H_DIR)\" RELOC_EXEEXT=\"\$(EXEEXT)\" RELOC_STRIP_PROG=\"\$(RELOCATABLE_STRIP)\" RELOC_INSTALL_PROG=\"$INSTALL_PROGRAM\"" -+ AC_SUBST([INSTALL_PROGRAM_ENV]) -+ case "$ac_aux_dir" in -+ /*) INSTALL_PROGRAM="$ac_aux_dir/install-reloc" ;; -+ *) INSTALL_PROGRAM="\$(top_builddir)/$ac_aux_dir/install-reloc" ;; -+ esac -+ fi -+ fi -+ fi -+ AM_CONDITIONAL([RELOCATABLE_VIA_LD], -+ [test $is_noop = yes || test $use_elf_origin_trick = yes]) -+ AM_CONDITIONAL([RELOCATABLE_VIA_WRAPPER], [test $use_wrapper = yes]) -+ -+ dnl RELOCATABLE_LIBRARY_PATH can be set in configure.ac. Default is empty. -+ AC_SUBST([RELOCATABLE_LIBRARY_PATH]) -+ -+ AC_SUBST([RELOCATABLE_CONFIG_H_DIR]) -+ AC_SUBST([RELOCATABLE_SRC_DIR]) -+ AC_SUBST([RELOCATABLE_BUILD_DIR]) -+ -+ dnl Ensure RELOCATABLE_STRIP is defined in Makefiles (at least those -+ dnl generated by automake), with value ':'. -+ RELOCATABLE_STRIP=':' -+ AC_SUBST([RELOCATABLE_STRIP]) -+]) -+ -+dnl Determine the platform dependent parameters needed to use relocatability: -+dnl shlibpath_var. -+AC_DEFUN([AC_LIB_LIBPATH], -+[ -+ AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host -+ AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir -+ AC_CACHE_CHECK([for shared library path variable], [acl_cv_libpath], [ -+ LD="$LD" \ -+ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.libpath" "$host" > conftest.sh -+ . ./conftest.sh -+ rm -f ./conftest.sh -+ acl_cv_libpath=${acl_cv_shlibpath_var:-none} -+ ]) -+ shlibpath_var="$acl_cv_shlibpath_var" -+]) -diff -Naur libiconv-20130504/srcm4/safe-read.m4 libiconv-20130504.patch/srcm4/safe-read.m4 ---- libiconv-20130504/srcm4/safe-read.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/safe-read.m4 2013-05-04 10:20:08.022697637 +0200 -@@ -0,0 +1,12 @@ -+# safe-read.m4 serial 6 -+dnl Copyright (C) 2002-2003, 2005-2006, 2009-2013 Free Software Foundation, -+dnl Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# Prerequisites of lib/safe-read.c. -+AC_DEFUN([gl_PREREQ_SAFE_READ], -+[ -+ AC_REQUIRE([gt_TYPE_SSIZE_T]) -+]) -diff -Naur libiconv-20130504/srcm4/setenv.m4 libiconv-20130504.patch/srcm4/setenv.m4 ---- libiconv-20130504/srcm4/setenv.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/setenv.m4 2013-05-04 10:20:08.024697631 +0200 -@@ -0,0 +1,160 @@ -+# setenv.m4 serial 26 -+dnl Copyright (C) 2001-2004, 2006-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_SETENV], -+[ -+ AC_REQUIRE([gl_FUNC_SETENV_SEPARATE]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ if test $ac_cv_func_setenv = no; then -+ HAVE_SETENV=0 -+ else -+ AC_CACHE_CHECK([whether setenv validates arguments], -+ [gl_cv_func_setenv_works], -+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ -+ #include -+ #include -+ #include -+ ]], [[ -+ int result = 0; -+ { -+ if (setenv ("", "", 0) != -1) -+ result |= 1; -+ else if (errno != EINVAL) -+ result |= 2; -+ } -+ { -+ if (setenv ("a", "=", 1) != 0) -+ result |= 4; -+ else if (strcmp (getenv ("a"), "=") != 0) -+ result |= 8; -+ } -+ return result; -+ ]])], -+ [gl_cv_func_setenv_works=yes], [gl_cv_func_setenv_works=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_setenv_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_setenv_works="guessing no" ;; -+ esac -+ ])]) -+ case "$gl_cv_func_setenv_works" in -+ *yes) ;; -+ *) -+ REPLACE_SETENV=1 -+ ;; -+ esac -+ fi -+]) -+ -+# Like gl_FUNC_SETENV, except prepare for separate compilation -+# (no REPLACE_SETENV, no AC_LIBOBJ). -+AC_DEFUN([gl_FUNC_SETENV_SEPARATE], -+[ -+ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) -+ AC_CHECK_DECLS_ONCE([setenv]) -+ if test $ac_cv_have_decl_setenv = no; then -+ HAVE_DECL_SETENV=0 -+ fi -+ AC_CHECK_FUNCS_ONCE([setenv]) -+ gl_PREREQ_SETENV -+]) -+ -+AC_DEFUN([gl_FUNC_UNSETENV], -+[ -+ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ AC_CHECK_DECLS_ONCE([unsetenv]) -+ if test $ac_cv_have_decl_unsetenv = no; then -+ HAVE_DECL_UNSETENV=0 -+ fi -+ AC_CHECK_FUNCS([unsetenv]) -+ if test $ac_cv_func_unsetenv = no; then -+ HAVE_UNSETENV=0 -+ else -+ HAVE_UNSETENV=1 -+ dnl Some BSDs return void, failing to do error checking. -+ AC_CACHE_CHECK([for unsetenv() return type], [gt_cv_func_unsetenv_ret], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#undef _BSD -+#define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 */ -+#include -+extern -+#ifdef __cplusplus -+"C" -+#endif -+int unsetenv (const char *name); -+ ]], -+ [[]])], -+ [gt_cv_func_unsetenv_ret='int'], -+ [gt_cv_func_unsetenv_ret='void'])]) -+ if test $gt_cv_func_unsetenv_ret = 'void'; then -+ AC_DEFINE([VOID_UNSETENV], [1], [Define to 1 if unsetenv returns void -+ instead of int.]) -+ REPLACE_UNSETENV=1 -+ fi -+ -+ dnl Solaris 10 unsetenv does not remove all copies of a name. -+ dnl Haiku alpha 2 unsetenv gets confused by assignment to environ. -+ dnl OpenBSD 4.7 unsetenv("") does not fail. -+ AC_CACHE_CHECK([whether unsetenv obeys POSIX], -+ [gl_cv_func_unsetenv_works], -+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[ -+ #include -+ #include -+ extern char **environ; -+ ]], [[ -+ char entry1[] = "a=1"; -+ char entry2[] = "b=2"; -+ char *env[] = { entry1, entry2, NULL }; -+ if (putenv ((char *) "a=1")) return 1; -+ if (putenv (entry2)) return 2; -+ entry2[0] = 'a'; -+ unsetenv ("a"); -+ if (getenv ("a")) return 3; -+ if (!unsetenv ("") || errno != EINVAL) return 4; -+ entry2[0] = 'b'; -+ environ = env; -+ if (!getenv ("a")) return 5; -+ entry2[0] = 'a'; -+ unsetenv ("a"); -+ if (getenv ("a")) return 6; -+ ]])], -+ [gl_cv_func_unsetenv_works=yes], [gl_cv_func_unsetenv_works=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_unsetenv_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_unsetenv_works="guessing no" ;; -+ esac -+ ])]) -+ case "$gl_cv_func_unsetenv_works" in -+ *yes) ;; -+ *) -+ REPLACE_UNSETENV=1 -+ ;; -+ esac -+ fi -+]) -+ -+# Prerequisites of lib/setenv.c. -+AC_DEFUN([gl_PREREQ_SETENV], -+[ -+ AC_REQUIRE([AC_FUNC_ALLOCA]) -+ AC_REQUIRE([gl_ENVIRON]) -+ AC_CHECK_HEADERS_ONCE([unistd.h]) -+ AC_CHECK_HEADERS([search.h]) -+ AC_CHECK_FUNCS([tsearch]) -+]) -+ -+# Prerequisites of lib/unsetenv.c. -+AC_DEFUN([gl_PREREQ_UNSETENV], -+[ -+ AC_REQUIRE([gl_ENVIRON]) -+ AC_CHECK_HEADERS_ONCE([unistd.h]) -+]) -diff -Naur libiconv-20130504/srcm4/signalblocking.m4 libiconv-20130504.patch/srcm4/signalblocking.m4 ---- libiconv-20130504/srcm4/signalblocking.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/signalblocking.m4 2013-05-04 10:20:08.029697617 +0200 -@@ -0,0 +1,25 @@ -+# signalblocking.m4 serial 14 -+dnl Copyright (C) 2001-2002, 2006-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# Determine available signal blocking primitives. Three different APIs exist: -+# 1) POSIX: sigemptyset, sigaddset, sigprocmask -+# 2) SYSV: sighold, sigrelse -+# 3) BSD: sigblock, sigsetmask -+# For simplicity, here we check only for the POSIX signal blocking. -+AC_DEFUN([gl_SIGNALBLOCKING], -+[ -+ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) -+ AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) -+ if test $gl_cv_type_sigset_t = yes; then -+ AC_CHECK_FUNC([sigprocmask], [gl_cv_func_sigprocmask=1]) -+ fi -+ if test -z "$gl_cv_func_sigprocmask"; then -+ HAVE_POSIX_SIGNALBLOCKING=0 -+ fi -+]) -+ -+# Prerequisites of lib/sigprocmask.c. -+AC_DEFUN([gl_PREREQ_SIGPROCMASK], [:]) -diff -Naur libiconv-20130504/srcm4/signal_h.m4 libiconv-20130504.patch/srcm4/signal_h.m4 ---- libiconv-20130504/srcm4/signal_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/signal_h.m4 2013-05-04 10:20:08.027697622 +0200 -@@ -0,0 +1,83 @@ -+# signal_h.m4 serial 18 -+dnl Copyright (C) 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_SIGNAL_H], -+[ -+ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) -+ AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) -+ gl_NEXT_HEADERS([signal.h]) -+ -+# AIX declares sig_atomic_t to already include volatile, and C89 compilers -+# then choke on 'volatile sig_atomic_t'. C99 requires that it compile. -+ AC_CHECK_TYPE([volatile sig_atomic_t], [], -+ [HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=0], [[ -+#include -+ ]]) -+ -+ dnl Ensure the type pid_t gets defined. -+ AC_REQUIRE([AC_TYPE_PID_T]) -+ -+ AC_REQUIRE([AC_TYPE_UID_T]) -+ -+ dnl Persuade glibc to define sighandler_t. -+ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) -+ AC_CHECK_TYPE([sighandler_t], [], [HAVE_SIGHANDLER_T=0], [[ -+#include -+ ]]) -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use. -+ gl_WARN_ON_USE_PREPARE([[#include -+ ]], [pthread_sigmask sigaction -+ sigaddset sigdelset sigemptyset sigfillset sigismember -+ sigpending sigprocmask]) -+]) -+ -+AC_DEFUN([gl_CHECK_TYPE_SIGSET_T], -+[ -+ AC_CHECK_TYPES([sigset_t], -+ [gl_cv_type_sigset_t=yes], [gl_cv_type_sigset_t=no], -+ [[ -+ #include -+ /* Mingw defines sigset_t not in , but in . */ -+ #include -+ ]]) -+ if test $gl_cv_type_sigset_t != yes; then -+ HAVE_SIGSET_T=0 -+ fi -+]) -+ -+AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_SIGNAL_H_DEFAULTS], -+[ -+ GNULIB_PTHREAD_SIGMASK=0; AC_SUBST([GNULIB_PTHREAD_SIGMASK]) -+ GNULIB_RAISE=0; AC_SUBST([GNULIB_RAISE]) -+ GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) -+ GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) -+ GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) -+ HAVE_PTHREAD_SIGMASK=1; AC_SUBST([HAVE_PTHREAD_SIGMASK]) -+ HAVE_RAISE=1; AC_SUBST([HAVE_RAISE]) -+ HAVE_SIGSET_T=1; AC_SUBST([HAVE_SIGSET_T]) -+ HAVE_SIGINFO_T=1; AC_SUBST([HAVE_SIGINFO_T]) -+ HAVE_SIGACTION=1; AC_SUBST([HAVE_SIGACTION]) -+ HAVE_STRUCT_SIGACTION_SA_SIGACTION=1; -+ AC_SUBST([HAVE_STRUCT_SIGACTION_SA_SIGACTION]) -+ HAVE_TYPE_VOLATILE_SIG_ATOMIC_T=1; -+ AC_SUBST([HAVE_TYPE_VOLATILE_SIG_ATOMIC_T]) -+ HAVE_SIGHANDLER_T=1; AC_SUBST([HAVE_SIGHANDLER_T]) -+ REPLACE_PTHREAD_SIGMASK=0; AC_SUBST([REPLACE_PTHREAD_SIGMASK]) -+ REPLACE_RAISE=0; AC_SUBST([REPLACE_RAISE]) -+]) -diff -Naur libiconv-20130504/srcm4/sigpipe.m4 libiconv-20130504.patch/srcm4/sigpipe.m4 ---- libiconv-20130504/srcm4/sigpipe.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/sigpipe.m4 2013-05-04 10:20:08.033697605 +0200 -@@ -0,0 +1,29 @@ -+# sigpipe.m4 serial 2 -+dnl Copyright (C) 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl Tests whether SIGPIPE is provided by . -+dnl Sets gl_cv_header_signal_h_SIGPIPE. -+AC_DEFUN([gl_SIGNAL_SIGPIPE], -+[ -+ dnl Use AC_REQUIRE here, so that the default behavior below is expanded -+ dnl once only, before all statements that occur in other macros. -+ AC_REQUIRE([gl_SIGNAL_SIGPIPE_BODY]) -+]) -+ -+AC_DEFUN([gl_SIGNAL_SIGPIPE_BODY], -+[ -+ AC_REQUIRE([AC_PROG_CC]) -+ AC_CACHE_CHECK([for SIGPIPE], [gl_cv_header_signal_h_SIGPIPE], [ -+ AC_EGREP_CPP([booboo],[ -+#include -+#if !defined SIGPIPE -+booboo -+#endif -+ ], -+ [gl_cv_header_signal_h_SIGPIPE=no], -+ [gl_cv_header_signal_h_SIGPIPE=yes]) -+ ]) -+]) -diff -Naur libiconv-20130504/srcm4/size_max.m4 libiconv-20130504.patch/srcm4/size_max.m4 ---- libiconv-20130504/srcm4/size_max.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/size_max.m4 2013-05-04 10:20:08.036697596 +0200 -@@ -0,0 +1,79 @@ -+# size_max.m4 serial 10 -+dnl Copyright (C) 2003, 2005-2006, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+AC_DEFUN([gl_SIZE_MAX], -+[ -+ AC_CHECK_HEADERS([stdint.h]) -+ dnl First test whether the system already has SIZE_MAX. -+ AC_CACHE_CHECK([for SIZE_MAX], [gl_cv_size_max], [ -+ gl_cv_size_max= -+ AC_EGREP_CPP([Found it], [ -+#include -+#if HAVE_STDINT_H -+#include -+#endif -+#ifdef SIZE_MAX -+Found it -+#endif -+], [gl_cv_size_max=yes]) -+ if test -z "$gl_cv_size_max"; then -+ dnl Define it ourselves. Here we assume that the type 'size_t' is not wider -+ dnl than the type 'unsigned long'. Try hard to find a definition that can -+ dnl be used in a preprocessor #if, i.e. doesn't contain a cast. -+ AC_COMPUTE_INT([size_t_bits_minus_1], [sizeof (size_t) * CHAR_BIT - 1], -+ [#include -+#include ], [size_t_bits_minus_1=]) -+ AC_COMPUTE_INT([fits_in_uint], [sizeof (size_t) <= sizeof (unsigned int)], -+ [#include ], [fits_in_uint=]) -+ if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then -+ if test $fits_in_uint = 1; then -+ dnl Even though SIZE_MAX fits in an unsigned int, it must be of type -+ dnl 'unsigned long' if the type 'size_t' is the same as 'unsigned long'. -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ extern size_t foo; -+ extern unsigned long foo; -+ ]], -+ [[]])], -+ [fits_in_uint=0]) -+ fi -+ dnl We cannot use 'expr' to simplify this expression, because 'expr' -+ dnl works only with 'long' integers in the host environment, while we -+ dnl might be cross-compiling from a 32-bit platform to a 64-bit platform. -+ if test $fits_in_uint = 1; then -+ gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)" -+ else -+ gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)" -+ fi -+ else -+ dnl Shouldn't happen, but who knows... -+ gl_cv_size_max='((size_t)~(size_t)0)' -+ fi -+ fi -+ ]) -+ if test "$gl_cv_size_max" != yes; then -+ AC_DEFINE_UNQUOTED([SIZE_MAX], [$gl_cv_size_max], -+ [Define as the maximum value of type 'size_t', if the system doesn't define it.]) -+ fi -+ dnl Don't redefine SIZE_MAX in config.h if config.h is re-included after -+ dnl . Remember that the #undef in AH_VERBATIM gets replaced with -+ dnl #define by AC_DEFINE_UNQUOTED. -+ AH_VERBATIM([SIZE_MAX], -+[/* Define as the maximum value of type 'size_t', if the system doesn't define -+ it. */ -+#ifndef SIZE_MAX -+# undef SIZE_MAX -+#endif]) -+]) -+ -+dnl Autoconf >= 2.61 has AC_COMPUTE_INT built-in. -+dnl Remove this when we can assume autoconf >= 2.61. -+m4_ifdef([AC_COMPUTE_INT], [], [ -+ AC_DEFUN([AC_COMPUTE_INT], [_AC_COMPUTE_INT([$2],[$1],[$3],[$4])]) -+]) -diff -Naur libiconv-20130504/srcm4/ssize_t.m4 libiconv-20130504.patch/srcm4/ssize_t.m4 ---- libiconv-20130504/srcm4/ssize_t.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/ssize_t.m4 2013-05-04 10:20:08.039697587 +0200 -@@ -0,0 +1,23 @@ -+# ssize_t.m4 serial 5 (gettext-0.18.2) -+dnl Copyright (C) 2001-2003, 2006, 2010-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+dnl Test whether ssize_t is defined. -+ -+AC_DEFUN([gt_TYPE_SSIZE_T], -+[ -+ AC_CACHE_CHECK([for ssize_t], [gt_cv_ssize_t], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include ]], -+ [[int x = sizeof (ssize_t *) + sizeof (ssize_t); -+ return !x;]])], -+ [gt_cv_ssize_t=yes], [gt_cv_ssize_t=no])]) -+ if test $gt_cv_ssize_t = no; then -+ AC_DEFINE([ssize_t], [int], -+ [Define as a signed type of the same size as size_t.]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/stat.m4 libiconv-20130504.patch/srcm4/stat.m4 ---- libiconv-20130504/srcm4/stat.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/stat.m4 2013-05-04 10:20:08.041697582 +0200 -@@ -0,0 +1,71 @@ -+# serial 11 -+ -+# Copyright (C) 2009-2013 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_STAT], -+[ -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) -+ AC_CHECK_FUNCS_ONCE([lstat]) -+ dnl mingw is the only known platform where stat(".") and stat("./") differ -+ AC_CACHE_CHECK([whether stat handles trailing slashes on directories], -+ [gl_cv_func_stat_dir_slash], -+ [AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+]], [[struct stat st; return stat (".", &st) != stat ("./", &st);]])], -+ [gl_cv_func_stat_dir_slash=yes], [gl_cv_func_stat_dir_slash=no], -+ [case $host_os in -+ mingw*) gl_cv_func_stat_dir_slash="guessing no";; -+ *) gl_cv_func_stat_dir_slash="guessing yes";; -+ esac])]) -+ dnl AIX 7.1, Solaris 9, mingw64 mistakenly succeed on stat("file/"). -+ dnl (For mingw, this is due to a broken stat() override in libmingwex.a.) -+ dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/"). -+ AC_CACHE_CHECK([whether stat handles trailing slashes on files], -+ [gl_cv_func_stat_file_slash], -+ [touch conftest.tmp -+ # Assume that if we have lstat, we can also check symlinks. -+ if test $ac_cv_func_lstat = yes; then -+ ln -s conftest.tmp conftest.lnk -+ fi -+ AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+]], [[int result = 0; -+ struct stat st; -+ if (!stat ("conftest.tmp/", &st)) -+ result |= 1; -+#if HAVE_LSTAT -+ if (!stat ("conftest.lnk/", &st)) -+ result |= 2; -+#endif -+ return result; -+ ]])], -+ [gl_cv_func_stat_file_slash=yes], [gl_cv_func_stat_file_slash=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_stat_file_slash="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_stat_file_slash="guessing no" ;; -+ esac -+ ]) -+ rm -f conftest.tmp conftest.lnk]) -+ case $gl_cv_func_stat_dir_slash in -+ *no) REPLACE_STAT=1 -+ AC_DEFINE([REPLACE_FUNC_STAT_DIR], [1], [Define to 1 if stat needs -+ help when passed a directory name with a trailing slash]);; -+ esac -+ case $gl_cv_func_stat_file_slash in -+ *no) REPLACE_STAT=1 -+ AC_DEFINE([REPLACE_FUNC_STAT_FILE], [1], [Define to 1 if stat needs -+ help when passed a file name with a trailing slash]);; -+ esac -+]) -+ -+# Prerequisites of lib/stat.c. -+AC_DEFUN([gl_PREREQ_STAT], [:]) -diff -Naur libiconv-20130504/srcm4/stdbool.m4 libiconv-20130504.patch/srcm4/stdbool.m4 ---- libiconv-20130504/srcm4/stdbool.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/stdbool.m4 2013-05-04 10:20:08.044697573 +0200 -@@ -0,0 +1,100 @@ -+# Check for stdbool.h that conforms to C99. -+ -+dnl Copyright (C) 2002-2006, 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+#serial 5 -+ -+# Prepare for substituting if it is not supported. -+ -+AC_DEFUN([AM_STDBOOL_H], -+[ -+ AC_REQUIRE([AC_CHECK_HEADER_STDBOOL]) -+ -+ # Define two additional variables used in the Makefile substitution. -+ -+ if test "$ac_cv_header_stdbool_h" = yes; then -+ STDBOOL_H='' -+ else -+ STDBOOL_H='stdbool.h' -+ fi -+ AC_SUBST([STDBOOL_H]) -+ AM_CONDITIONAL([GL_GENERATE_STDBOOL_H], [test -n "$STDBOOL_H"]) -+ -+ if test "$ac_cv_type__Bool" = yes; then -+ HAVE__BOOL=1 -+ else -+ HAVE__BOOL=0 -+ fi -+ AC_SUBST([HAVE__BOOL]) -+]) -+ -+# AM_STDBOOL_H will be renamed to gl_STDBOOL_H in the future. -+AC_DEFUN([gl_STDBOOL_H], [AM_STDBOOL_H]) -+ -+# This version of the macro is needed in autoconf <= 2.68. -+ -+AC_DEFUN([AC_CHECK_HEADER_STDBOOL], -+ [AC_CACHE_CHECK([for stdbool.h that conforms to C99], -+ [ac_cv_header_stdbool_h], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+ #include -+ #ifndef bool -+ "error: bool is not defined" -+ #endif -+ #ifndef false -+ "error: false is not defined" -+ #endif -+ #if false -+ "error: false is not 0" -+ #endif -+ #ifndef true -+ "error: true is not defined" -+ #endif -+ #if true != 1 -+ "error: true is not 1" -+ #endif -+ #ifndef __bool_true_false_are_defined -+ "error: __bool_true_false_are_defined is not defined" -+ #endif -+ -+ struct s { _Bool s: 1; _Bool t; } s; -+ -+ char a[true == 1 ? 1 : -1]; -+ char b[false == 0 ? 1 : -1]; -+ char c[__bool_true_false_are_defined == 1 ? 1 : -1]; -+ char d[(bool) 0.5 == true ? 1 : -1]; -+ /* See body of main program for 'e'. */ -+ char f[(_Bool) 0.0 == false ? 1 : -1]; -+ char g[true]; -+ char h[sizeof (_Bool)]; -+ char i[sizeof s.t]; -+ enum { j = false, k = true, l = false * true, m = true * 256 }; -+ /* The following fails for -+ HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ -+ _Bool n[m]; -+ char o[sizeof n == m * sizeof n[0] ? 1 : -1]; -+ char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; -+ /* Catch a bug in an HP-UX C compiler. See -+ http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html -+ http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html -+ */ -+ _Bool q = true; -+ _Bool *pq = &q; -+ ]], -+ [[ -+ bool e = &s; -+ *pq |= q; -+ *pq |= ! q; -+ /* Refer to every declared value, to avoid compiler optimizations. */ -+ return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l -+ + !m + !n + !o + !p + !q + !pq); -+ ]])], -+ [ac_cv_header_stdbool_h=yes], -+ [ac_cv_header_stdbool_h=no])]) -+ AC_CHECK_TYPES([_Bool]) -+]) -diff -Naur libiconv-20130504/srcm4/stddef_h.m4 libiconv-20130504.patch/srcm4/stddef_h.m4 ---- libiconv-20130504/srcm4/stddef_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/stddef_h.m4 2013-05-04 10:20:08.046697567 +0200 -@@ -0,0 +1,47 @@ -+dnl A placeholder for POSIX 2008 , for platforms that have issues. -+# stddef_h.m4 serial 4 -+dnl Copyright (C) 2009-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_STDDEF_H], -+[ -+ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) -+ AC_REQUIRE([gt_TYPE_WCHAR_T]) -+ STDDEF_H= -+ if test $gt_cv_c_wchar_t = no; then -+ HAVE_WCHAR_T=0 -+ STDDEF_H=stddef.h -+ fi -+ AC_CACHE_CHECK([whether NULL can be used in arbitrary expressions], -+ [gl_cv_decl_null_works], -+ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include -+ int test[2 * (sizeof NULL == sizeof (void *)) -1]; -+]])], -+ [gl_cv_decl_null_works=yes], -+ [gl_cv_decl_null_works=no])]) -+ if test $gl_cv_decl_null_works = no; then -+ REPLACE_NULL=1 -+ STDDEF_H=stddef.h -+ fi -+ AC_SUBST([STDDEF_H]) -+ AM_CONDITIONAL([GL_GENERATE_STDDEF_H], [test -n "$STDDEF_H"]) -+ if test -n "$STDDEF_H"; then -+ gl_NEXT_HEADERS([stddef.h]) -+ fi -+]) -+ -+AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+]) -+ -+AC_DEFUN([gl_STDDEF_H_DEFAULTS], -+[ -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ REPLACE_NULL=0; AC_SUBST([REPLACE_NULL]) -+ HAVE_WCHAR_T=1; AC_SUBST([HAVE_WCHAR_T]) -+]) -diff -Naur libiconv-20130504/srcm4/stdint_h.m4 libiconv-20130504.patch/srcm4/stdint_h.m4 ---- libiconv-20130504/srcm4/stdint_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/stdint_h.m4 2013-05-04 10:20:08.053697547 +0200 -@@ -0,0 +1,27 @@ -+# stdint_h.m4 serial 9 -+dnl Copyright (C) 1997-2004, 2006, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Paul Eggert. -+ -+# Define HAVE_STDINT_H_WITH_UINTMAX if exists, -+# doesn't clash with , and declares uintmax_t. -+ -+AC_DEFUN([gl_AC_HEADER_STDINT_H], -+[ -+ AC_CACHE_CHECK([for stdint.h], [gl_cv_header_stdint_h], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ #include ]], -+ [[uintmax_t i = (uintmax_t) -1; return !i;]])], -+ [gl_cv_header_stdint_h=yes], -+ [gl_cv_header_stdint_h=no])]) -+ if test $gl_cv_header_stdint_h = yes; then -+ AC_DEFINE_UNQUOTED([HAVE_STDINT_H_WITH_UINTMAX], [1], -+ [Define if exists, doesn't clash with , -+ and declares uintmax_t. ]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/stdint.m4 libiconv-20130504.patch/srcm4/stdint.m4 ---- libiconv-20130504/srcm4/stdint.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/stdint.m4 2013-05-04 10:20:08.048697561 +0200 -@@ -0,0 +1,484 @@ -+# stdint.m4 serial 43 -+dnl Copyright (C) 2001-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Paul Eggert and Bruno Haible. -+dnl Test whether is supported or must be substituted. -+ -+AC_DEFUN_ONCE([gl_STDINT_H], -+[ -+ AC_PREREQ([2.59])dnl -+ -+ dnl Check for long long int and unsigned long long int. -+ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) -+ if test $ac_cv_type_long_long_int = yes; then -+ HAVE_LONG_LONG_INT=1 -+ else -+ HAVE_LONG_LONG_INT=0 -+ fi -+ AC_SUBST([HAVE_LONG_LONG_INT]) -+ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) -+ if test $ac_cv_type_unsigned_long_long_int = yes; then -+ HAVE_UNSIGNED_LONG_LONG_INT=1 -+ else -+ HAVE_UNSIGNED_LONG_LONG_INT=0 -+ fi -+ AC_SUBST([HAVE_UNSIGNED_LONG_LONG_INT]) -+ -+ dnl Check for , in the same way as gl_WCHAR_H does. -+ AC_CHECK_HEADERS_ONCE([wchar.h]) -+ if test $ac_cv_header_wchar_h = yes; then -+ HAVE_WCHAR_H=1 -+ else -+ HAVE_WCHAR_H=0 -+ fi -+ AC_SUBST([HAVE_WCHAR_H]) -+ -+ dnl Check for . -+ dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_inttypes_h. -+ if test $ac_cv_header_inttypes_h = yes; then -+ HAVE_INTTYPES_H=1 -+ else -+ HAVE_INTTYPES_H=0 -+ fi -+ AC_SUBST([HAVE_INTTYPES_H]) -+ -+ dnl Check for . -+ dnl AC_INCLUDES_DEFAULT defines $ac_cv_header_sys_types_h. -+ if test $ac_cv_header_sys_types_h = yes; then -+ HAVE_SYS_TYPES_H=1 -+ else -+ HAVE_SYS_TYPES_H=0 -+ fi -+ AC_SUBST([HAVE_SYS_TYPES_H]) -+ -+ gl_CHECK_NEXT_HEADERS([stdint.h]) -+ if test $ac_cv_header_stdint_h = yes; then -+ HAVE_STDINT_H=1 -+ else -+ HAVE_STDINT_H=0 -+ fi -+ AC_SUBST([HAVE_STDINT_H]) -+ -+ dnl Now see whether we need a substitute . -+ if test $ac_cv_header_stdint_h = yes; then -+ AC_CACHE_CHECK([whether stdint.h conforms to C99], -+ [gl_cv_header_working_stdint_h], -+ [gl_cv_header_working_stdint_h=no -+ AC_COMPILE_IFELSE([ -+ AC_LANG_PROGRAM([[ -+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ -+#include -+/* Dragonfly defines WCHAR_MIN, WCHAR_MAX only in . */ -+#if !(defined WCHAR_MIN && defined WCHAR_MAX) -+#error "WCHAR_MIN, WCHAR_MAX not defined in " -+#endif -+] -+gl_STDINT_INCLUDES -+[ -+#ifdef INT8_MAX -+int8_t a1 = INT8_MAX; -+int8_t a1min = INT8_MIN; -+#endif -+#ifdef INT16_MAX -+int16_t a2 = INT16_MAX; -+int16_t a2min = INT16_MIN; -+#endif -+#ifdef INT32_MAX -+int32_t a3 = INT32_MAX; -+int32_t a3min = INT32_MIN; -+#endif -+#ifdef INT64_MAX -+int64_t a4 = INT64_MAX; -+int64_t a4min = INT64_MIN; -+#endif -+#ifdef UINT8_MAX -+uint8_t b1 = UINT8_MAX; -+#else -+typedef int b1[(unsigned char) -1 != 255 ? 1 : -1]; -+#endif -+#ifdef UINT16_MAX -+uint16_t b2 = UINT16_MAX; -+#endif -+#ifdef UINT32_MAX -+uint32_t b3 = UINT32_MAX; -+#endif -+#ifdef UINT64_MAX -+uint64_t b4 = UINT64_MAX; -+#endif -+int_least8_t c1 = INT8_C (0x7f); -+int_least8_t c1max = INT_LEAST8_MAX; -+int_least8_t c1min = INT_LEAST8_MIN; -+int_least16_t c2 = INT16_C (0x7fff); -+int_least16_t c2max = INT_LEAST16_MAX; -+int_least16_t c2min = INT_LEAST16_MIN; -+int_least32_t c3 = INT32_C (0x7fffffff); -+int_least32_t c3max = INT_LEAST32_MAX; -+int_least32_t c3min = INT_LEAST32_MIN; -+int_least64_t c4 = INT64_C (0x7fffffffffffffff); -+int_least64_t c4max = INT_LEAST64_MAX; -+int_least64_t c4min = INT_LEAST64_MIN; -+uint_least8_t d1 = UINT8_C (0xff); -+uint_least8_t d1max = UINT_LEAST8_MAX; -+uint_least16_t d2 = UINT16_C (0xffff); -+uint_least16_t d2max = UINT_LEAST16_MAX; -+uint_least32_t d3 = UINT32_C (0xffffffff); -+uint_least32_t d3max = UINT_LEAST32_MAX; -+uint_least64_t d4 = UINT64_C (0xffffffffffffffff); -+uint_least64_t d4max = UINT_LEAST64_MAX; -+int_fast8_t e1 = INT_FAST8_MAX; -+int_fast8_t e1min = INT_FAST8_MIN; -+int_fast16_t e2 = INT_FAST16_MAX; -+int_fast16_t e2min = INT_FAST16_MIN; -+int_fast32_t e3 = INT_FAST32_MAX; -+int_fast32_t e3min = INT_FAST32_MIN; -+int_fast64_t e4 = INT_FAST64_MAX; -+int_fast64_t e4min = INT_FAST64_MIN; -+uint_fast8_t f1 = UINT_FAST8_MAX; -+uint_fast16_t f2 = UINT_FAST16_MAX; -+uint_fast32_t f3 = UINT_FAST32_MAX; -+uint_fast64_t f4 = UINT_FAST64_MAX; -+#ifdef INTPTR_MAX -+intptr_t g = INTPTR_MAX; -+intptr_t gmin = INTPTR_MIN; -+#endif -+#ifdef UINTPTR_MAX -+uintptr_t h = UINTPTR_MAX; -+#endif -+intmax_t i = INTMAX_MAX; -+uintmax_t j = UINTMAX_MAX; -+ -+#include /* for CHAR_BIT */ -+#define TYPE_MINIMUM(t) \ -+ ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t))) -+#define TYPE_MAXIMUM(t) \ -+ ((t) ((t) 0 < (t) -1 \ -+ ? (t) -1 \ -+ : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1))) -+struct s { -+ int check_PTRDIFF: -+ PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) -+ && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) -+ ? 1 : -1; -+ /* Detect bug in FreeBSD 6.0 / ia64. */ -+ int check_SIG_ATOMIC: -+ SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) -+ && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) -+ ? 1 : -1; -+ int check_SIZE: SIZE_MAX == TYPE_MAXIMUM (size_t) ? 1 : -1; -+ int check_WCHAR: -+ WCHAR_MIN == TYPE_MINIMUM (wchar_t) -+ && WCHAR_MAX == TYPE_MAXIMUM (wchar_t) -+ ? 1 : -1; -+ /* Detect bug in mingw. */ -+ int check_WINT: -+ WINT_MIN == TYPE_MINIMUM (wint_t) -+ && WINT_MAX == TYPE_MAXIMUM (wint_t) -+ ? 1 : -1; -+ -+ /* Detect bugs in glibc 2.4 and Solaris 10 stdint.h, among others. */ -+ int check_UINT8_C: -+ (-1 < UINT8_C (0)) == (-1 < (uint_least8_t) 0) ? 1 : -1; -+ int check_UINT16_C: -+ (-1 < UINT16_C (0)) == (-1 < (uint_least16_t) 0) ? 1 : -1; -+ -+ /* Detect bugs in OpenBSD 3.9 stdint.h. */ -+#ifdef UINT8_MAX -+ int check_uint8: (uint8_t) -1 == UINT8_MAX ? 1 : -1; -+#endif -+#ifdef UINT16_MAX -+ int check_uint16: (uint16_t) -1 == UINT16_MAX ? 1 : -1; -+#endif -+#ifdef UINT32_MAX -+ int check_uint32: (uint32_t) -1 == UINT32_MAX ? 1 : -1; -+#endif -+#ifdef UINT64_MAX -+ int check_uint64: (uint64_t) -1 == UINT64_MAX ? 1 : -1; -+#endif -+ int check_uint_least8: (uint_least8_t) -1 == UINT_LEAST8_MAX ? 1 : -1; -+ int check_uint_least16: (uint_least16_t) -1 == UINT_LEAST16_MAX ? 1 : -1; -+ int check_uint_least32: (uint_least32_t) -1 == UINT_LEAST32_MAX ? 1 : -1; -+ int check_uint_least64: (uint_least64_t) -1 == UINT_LEAST64_MAX ? 1 : -1; -+ int check_uint_fast8: (uint_fast8_t) -1 == UINT_FAST8_MAX ? 1 : -1; -+ int check_uint_fast16: (uint_fast16_t) -1 == UINT_FAST16_MAX ? 1 : -1; -+ int check_uint_fast32: (uint_fast32_t) -1 == UINT_FAST32_MAX ? 1 : -1; -+ int check_uint_fast64: (uint_fast64_t) -1 == UINT_FAST64_MAX ? 1 : -1; -+ int check_uintptr: (uintptr_t) -1 == UINTPTR_MAX ? 1 : -1; -+ int check_uintmax: (uintmax_t) -1 == UINTMAX_MAX ? 1 : -1; -+ int check_size: (size_t) -1 == SIZE_MAX ? 1 : -1; -+}; -+ ]])], -+ [dnl Determine whether the various *_MIN, *_MAX macros are usable -+ dnl in preprocessor expression. We could do it by compiling a test -+ dnl program for each of these macros. It is faster to run a program -+ dnl that inspects the macro expansion. -+ dnl This detects a bug on HP-UX 11.23/ia64. -+ AC_RUN_IFELSE([ -+ AC_LANG_PROGRAM([[ -+#define _GL_JUST_INCLUDE_SYSTEM_STDINT_H 1 /* work if build isn't clean */ -+#include -+] -+gl_STDINT_INCLUDES -+[ -+#include -+#include -+#define MVAL(macro) MVAL1(macro) -+#define MVAL1(expression) #expression -+static const char *macro_values[] = -+ { -+#ifdef INT8_MAX -+ MVAL (INT8_MAX), -+#endif -+#ifdef INT16_MAX -+ MVAL (INT16_MAX), -+#endif -+#ifdef INT32_MAX -+ MVAL (INT32_MAX), -+#endif -+#ifdef INT64_MAX -+ MVAL (INT64_MAX), -+#endif -+#ifdef UINT8_MAX -+ MVAL (UINT8_MAX), -+#endif -+#ifdef UINT16_MAX -+ MVAL (UINT16_MAX), -+#endif -+#ifdef UINT32_MAX -+ MVAL (UINT32_MAX), -+#endif -+#ifdef UINT64_MAX -+ MVAL (UINT64_MAX), -+#endif -+ NULL -+ }; -+]], [[ -+ const char **mv; -+ for (mv = macro_values; *mv != NULL; mv++) -+ { -+ const char *value = *mv; -+ /* Test whether it looks like a cast expression. */ -+ if (strncmp (value, "((unsigned int)"/*)*/, 15) == 0 -+ || strncmp (value, "((unsigned short)"/*)*/, 17) == 0 -+ || strncmp (value, "((unsigned char)"/*)*/, 16) == 0 -+ || strncmp (value, "((int)"/*)*/, 6) == 0 -+ || strncmp (value, "((signed short)"/*)*/, 15) == 0 -+ || strncmp (value, "((signed char)"/*)*/, 14) == 0) -+ return mv - macro_values + 1; -+ } -+ return 0; -+]])], -+ [gl_cv_header_working_stdint_h=yes], -+ [], -+ [dnl When cross-compiling, assume it works. -+ gl_cv_header_working_stdint_h=yes -+ ]) -+ ]) -+ ]) -+ fi -+ if test "$gl_cv_header_working_stdint_h" = yes; then -+ STDINT_H= -+ else -+ dnl Check for , and for -+ dnl (used in Linux libc4 >= 4.6.7 and libc5). -+ AC_CHECK_HEADERS([sys/inttypes.h sys/bitypes.h]) -+ if test $ac_cv_header_sys_inttypes_h = yes; then -+ HAVE_SYS_INTTYPES_H=1 -+ else -+ HAVE_SYS_INTTYPES_H=0 -+ fi -+ AC_SUBST([HAVE_SYS_INTTYPES_H]) -+ if test $ac_cv_header_sys_bitypes_h = yes; then -+ HAVE_SYS_BITYPES_H=1 -+ else -+ HAVE_SYS_BITYPES_H=0 -+ fi -+ AC_SUBST([HAVE_SYS_BITYPES_H]) -+ -+ gl_STDINT_TYPE_PROPERTIES -+ STDINT_H=stdint.h -+ fi -+ AC_SUBST([STDINT_H]) -+ AM_CONDITIONAL([GL_GENERATE_STDINT_H], [test -n "$STDINT_H"]) -+]) -+ -+dnl gl_STDINT_BITSIZEOF(TYPES, INCLUDES) -+dnl Determine the size of each of the given types in bits. -+AC_DEFUN([gl_STDINT_BITSIZEOF], -+[ -+ dnl Use a shell loop, to avoid bloating configure, and -+ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into -+ dnl config.h.in, -+ dnl - extra AC_SUBST calls, so that the right substitutions are made. -+ m4_foreach_w([gltype], [$1], -+ [AH_TEMPLATE([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), -+ [Define to the number of bits in type ']gltype['.])]) -+ for gltype in $1 ; do -+ AC_CACHE_CHECK([for bit size of $gltype], [gl_cv_bitsizeof_${gltype}], -+ [AC_COMPUTE_INT([result], [sizeof ($gltype) * CHAR_BIT], -+ [$2 -+#include ], [result=unknown]) -+ eval gl_cv_bitsizeof_${gltype}=\$result -+ ]) -+ eval result=\$gl_cv_bitsizeof_${gltype} -+ if test $result = unknown; then -+ dnl Use a nonempty default, because some compilers, such as IRIX 5 cc, -+ dnl do a syntax check even on unused #if conditions and give an error -+ dnl on valid C code like this: -+ dnl #if 0 -+ dnl # if > 32 -+ dnl # endif -+ dnl #endif -+ result=0 -+ fi -+ GLTYPE=`echo "$gltype" | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ AC_DEFINE_UNQUOTED([BITSIZEOF_${GLTYPE}], [$result]) -+ eval BITSIZEOF_${GLTYPE}=\$result -+ done -+ m4_foreach_w([gltype], [$1], -+ [AC_SUBST([BITSIZEOF_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) -+]) -+ -+dnl gl_CHECK_TYPES_SIGNED(TYPES, INCLUDES) -+dnl Determine the signedness of each of the given types. -+dnl Define HAVE_SIGNED_TYPE if type is signed. -+AC_DEFUN([gl_CHECK_TYPES_SIGNED], -+[ -+ dnl Use a shell loop, to avoid bloating configure, and -+ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into -+ dnl config.h.in, -+ dnl - extra AC_SUBST calls, so that the right substitutions are made. -+ m4_foreach_w([gltype], [$1], -+ [AH_TEMPLATE([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]), -+ [Define to 1 if ']gltype[' is a signed integer type.])]) -+ for gltype in $1 ; do -+ AC_CACHE_CHECK([whether $gltype is signed], [gl_cv_type_${gltype}_signed], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([$2[ -+ int verify[2 * (($gltype) -1 < ($gltype) 0) - 1];]])], -+ result=yes, result=no) -+ eval gl_cv_type_${gltype}_signed=\$result -+ ]) -+ eval result=\$gl_cv_type_${gltype}_signed -+ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ if test "$result" = yes; then -+ AC_DEFINE_UNQUOTED([HAVE_SIGNED_${GLTYPE}], [1]) -+ eval HAVE_SIGNED_${GLTYPE}=1 -+ else -+ eval HAVE_SIGNED_${GLTYPE}=0 -+ fi -+ done -+ m4_foreach_w([gltype], [$1], -+ [AC_SUBST([HAVE_SIGNED_]m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]))]) -+]) -+ -+dnl gl_INTEGER_TYPE_SUFFIX(TYPES, INCLUDES) -+dnl Determine the suffix to use for integer constants of the given types. -+dnl Define t_SUFFIX for each such type. -+AC_DEFUN([gl_INTEGER_TYPE_SUFFIX], -+[ -+ dnl Use a shell loop, to avoid bloating configure, and -+ dnl - extra AH_TEMPLATE calls, so that autoheader knows what to put into -+ dnl config.h.in, -+ dnl - extra AC_SUBST calls, so that the right substitutions are made. -+ m4_foreach_w([gltype], [$1], -+ [AH_TEMPLATE(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX], -+ [Define to l, ll, u, ul, ull, etc., as suitable for -+ constants of type ']gltype['.])]) -+ for gltype in $1 ; do -+ AC_CACHE_CHECK([for $gltype integer literal suffix], -+ [gl_cv_type_${gltype}_suffix], -+ [eval gl_cv_type_${gltype}_suffix=no -+ eval result=\$gl_cv_type_${gltype}_signed -+ if test "$result" = yes; then -+ glsufu= -+ else -+ glsufu=u -+ fi -+ for glsuf in "$glsufu" ${glsufu}l ${glsufu}ll ${glsufu}i64; do -+ case $glsuf in -+ '') gltype1='int';; -+ l) gltype1='long int';; -+ ll) gltype1='long long int';; -+ i64) gltype1='__int64';; -+ u) gltype1='unsigned int';; -+ ul) gltype1='unsigned long int';; -+ ull) gltype1='unsigned long long int';; -+ ui64)gltype1='unsigned __int64';; -+ esac -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([$2[ -+ extern $gltype foo; -+ extern $gltype1 foo;]])], -+ [eval gl_cv_type_${gltype}_suffix=\$glsuf]) -+ eval result=\$gl_cv_type_${gltype}_suffix -+ test "$result" != no && break -+ done]) -+ GLTYPE=`echo $gltype | tr 'abcdefghijklmnopqrstuvwxyz ' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'` -+ eval result=\$gl_cv_type_${gltype}_suffix -+ test "$result" = no && result= -+ eval ${GLTYPE}_SUFFIX=\$result -+ AC_DEFINE_UNQUOTED([${GLTYPE}_SUFFIX], [$result]) -+ done -+ m4_foreach_w([gltype], [$1], -+ [AC_SUBST(m4_translit(gltype,[abcdefghijklmnopqrstuvwxyz ],[ABCDEFGHIJKLMNOPQRSTUVWXYZ_])[_SUFFIX])]) -+]) -+ -+dnl gl_STDINT_INCLUDES -+AC_DEFUN([gl_STDINT_INCLUDES], -+[[ -+ /* BSD/OS 4.0.1 has a bug: , and must be -+ included before . */ -+ #include -+ #include -+ #if HAVE_WCHAR_H -+ # include -+ # include -+ # include -+ #endif -+]]) -+ -+dnl gl_STDINT_TYPE_PROPERTIES -+dnl Compute HAVE_SIGNED_t, BITSIZEOF_t and t_SUFFIX, for all the types t -+dnl of interest to stdint.in.h. -+AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], -+[ -+ AC_REQUIRE([gl_MULTIARCH]) -+ if test $APPLE_UNIVERSAL_BUILD = 0; then -+ gl_STDINT_BITSIZEOF([ptrdiff_t size_t], -+ [gl_STDINT_INCLUDES]) -+ fi -+ gl_STDINT_BITSIZEOF([sig_atomic_t wchar_t wint_t], -+ [gl_STDINT_INCLUDES]) -+ gl_CHECK_TYPES_SIGNED([sig_atomic_t wchar_t wint_t], -+ [gl_STDINT_INCLUDES]) -+ gl_cv_type_ptrdiff_t_signed=yes -+ gl_cv_type_size_t_signed=no -+ if test $APPLE_UNIVERSAL_BUILD = 0; then -+ gl_INTEGER_TYPE_SUFFIX([ptrdiff_t size_t], -+ [gl_STDINT_INCLUDES]) -+ fi -+ gl_INTEGER_TYPE_SUFFIX([sig_atomic_t wchar_t wint_t], -+ [gl_STDINT_INCLUDES]) -+ -+ dnl If wint_t is smaller than 'int', it cannot satisfy the ISO C 99 -+ dnl requirement that wint_t is "unchanged by default argument promotions". -+ dnl In this case gnulib's and override wint_t. -+ dnl Set the variable BITSIZEOF_WINT_T accordingly. -+ if test $BITSIZEOF_WINT_T -lt 32; then -+ BITSIZEOF_WINT_T=32 -+ fi -+]) -+ -+dnl Autoconf >= 2.61 has AC_COMPUTE_INT built-in. -+dnl Remove this when we can assume autoconf >= 2.61. -+m4_ifdef([AC_COMPUTE_INT], [], [ -+ AC_DEFUN([AC_COMPUTE_INT], [_AC_COMPUTE_INT([$2],[$1],[$3],[$4])]) -+]) -+ -+# Hey Emacs! -+# Local Variables: -+# indent-tabs-mode: nil -+# End: -diff -Naur libiconv-20130504/srcm4/stdio_h.m4 libiconv-20130504.patch/srcm4/stdio_h.m4 ---- libiconv-20130504/srcm4/stdio_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/stdio_h.m4 2013-05-04 10:20:08.056697538 +0200 -@@ -0,0 +1,194 @@ -+# stdio_h.m4 serial 43 -+dnl Copyright (C) 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_STDIO_H], -+[ -+ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) -+ gl_NEXT_HEADERS([stdio.h]) -+ -+ dnl No need to create extra modules for these functions. Everyone who uses -+ dnl likely needs them. -+ GNULIB_FSCANF=1 -+ gl_MODULE_INDICATOR([fscanf]) -+ GNULIB_SCANF=1 -+ gl_MODULE_INDICATOR([scanf]) -+ GNULIB_FGETC=1 -+ GNULIB_GETC=1 -+ GNULIB_GETCHAR=1 -+ GNULIB_FGETS=1 -+ GNULIB_FREAD=1 -+ dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c" -+ dnl "expected source file, required through AC_LIBSOURCES, not found". It is -+ dnl also an optimization, to avoid performing a configure check whose result -+ dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING -+ dnl or GNULIB_NONBLOCKING redundant. -+ m4_ifdef([gl_NONBLOCKING_IO], [ -+ gl_NONBLOCKING_IO -+ if test $gl_cv_have_nonblocking != yes; then -+ REPLACE_STDIO_READ_FUNCS=1 -+ AC_LIBOBJ([stdio-read]) -+ fi -+ ]) -+ -+ dnl No need to create extra modules for these functions. Everyone who uses -+ dnl likely needs them. -+ GNULIB_FPRINTF=1 -+ GNULIB_PRINTF=1 -+ GNULIB_VFPRINTF=1 -+ GNULIB_VPRINTF=1 -+ GNULIB_FPUTC=1 -+ GNULIB_PUTC=1 -+ GNULIB_PUTCHAR=1 -+ GNULIB_FPUTS=1 -+ GNULIB_PUTS=1 -+ GNULIB_FWRITE=1 -+ dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" -+ dnl "expected source file, required through AC_LIBSOURCES, not found". It is -+ dnl also an optimization, to avoid performing a configure check whose result -+ dnl is not used. But it does not make the test of GNULIB_STDIO_H_SIGPIPE or -+ dnl GNULIB_SIGPIPE redundant. -+ m4_ifdef([gl_SIGNAL_SIGPIPE], [ -+ gl_SIGNAL_SIGPIPE -+ if test $gl_cv_header_signal_h_SIGPIPE != yes; then -+ REPLACE_STDIO_WRITE_FUNCS=1 -+ AC_LIBOBJ([stdio-write]) -+ fi -+ ]) -+ dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" -+ dnl "expected source file, required through AC_LIBSOURCES, not found". It is -+ dnl also an optimization, to avoid performing a configure check whose result -+ dnl is not used. But it does not make the test of GNULIB_STDIO_H_NONBLOCKING -+ dnl or GNULIB_NONBLOCKING redundant. -+ m4_ifdef([gl_NONBLOCKING_IO], [ -+ gl_NONBLOCKING_IO -+ if test $gl_cv_have_nonblocking != yes; then -+ REPLACE_STDIO_WRITE_FUNCS=1 -+ AC_LIBOBJ([stdio-write]) -+ fi -+ ]) -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use, and which is not -+ dnl guaranteed by both C89 and C11. -+ gl_WARN_ON_USE_PREPARE([[#include -+ ]], [dprintf fpurge fseeko ftello getdelim getline gets pclose popen -+ renameat snprintf tmpfile vdprintf vsnprintf]) -+]) -+ -+AC_DEFUN([gl_STDIO_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_STDIO_H_DEFAULTS], -+[ -+ GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) -+ GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) -+ GNULIB_FDOPEN=0; AC_SUBST([GNULIB_FDOPEN]) -+ GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) -+ GNULIB_FGETC=0; AC_SUBST([GNULIB_FGETC]) -+ GNULIB_FGETS=0; AC_SUBST([GNULIB_FGETS]) -+ GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN]) -+ GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF]) -+ GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX]) -+ GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE]) -+ GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC]) -+ GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS]) -+ GNULIB_FREAD=0; AC_SUBST([GNULIB_FREAD]) -+ GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN]) -+ GNULIB_FSCANF=0; AC_SUBST([GNULIB_FSCANF]) -+ GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK]) -+ GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO]) -+ GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL]) -+ GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO]) -+ GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE]) -+ GNULIB_GETC=0; AC_SUBST([GNULIB_GETC]) -+ GNULIB_GETCHAR=0; AC_SUBST([GNULIB_GETCHAR]) -+ GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM]) -+ GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE]) -+ GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) -+ GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) -+ GNULIB_PCLOSE=0; AC_SUBST([GNULIB_PCLOSE]) -+ GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) -+ GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN]) -+ GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) -+ GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX]) -+ GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC]) -+ GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR]) -+ GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS]) -+ GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE]) -+ GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME]) -+ GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT]) -+ GNULIB_SCANF=0; AC_SUBST([GNULIB_SCANF]) -+ GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF]) -+ GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX]) -+ GNULIB_STDIO_H_NONBLOCKING=0; AC_SUBST([GNULIB_STDIO_H_NONBLOCKING]) -+ GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) -+ GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE]) -+ GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF]) -+ GNULIB_VFSCANF=0; AC_SUBST([GNULIB_VFSCANF]) -+ GNULIB_VSCANF=0; AC_SUBST([GNULIB_VSCANF]) -+ GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF]) -+ GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF]) -+ GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX]) -+ GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF]) -+ GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX]) -+ GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF]) -+ GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) -+ HAVE_DECL_FSEEKO=1; AC_SUBST([HAVE_DECL_FSEEKO]) -+ HAVE_DECL_FTELLO=1; AC_SUBST([HAVE_DECL_FTELLO]) -+ HAVE_DECL_GETDELIM=1; AC_SUBST([HAVE_DECL_GETDELIM]) -+ HAVE_DECL_GETLINE=1; AC_SUBST([HAVE_DECL_GETLINE]) -+ HAVE_DECL_OBSTACK_PRINTF=1; AC_SUBST([HAVE_DECL_OBSTACK_PRINTF]) -+ HAVE_DECL_SNPRINTF=1; AC_SUBST([HAVE_DECL_SNPRINTF]) -+ HAVE_DECL_VSNPRINTF=1; AC_SUBST([HAVE_DECL_VSNPRINTF]) -+ HAVE_DPRINTF=1; AC_SUBST([HAVE_DPRINTF]) -+ HAVE_FSEEKO=1; AC_SUBST([HAVE_FSEEKO]) -+ HAVE_FTELLO=1; AC_SUBST([HAVE_FTELLO]) -+ HAVE_PCLOSE=1; AC_SUBST([HAVE_PCLOSE]) -+ HAVE_POPEN=1; AC_SUBST([HAVE_POPEN]) -+ HAVE_RENAMEAT=1; AC_SUBST([HAVE_RENAMEAT]) -+ HAVE_VASPRINTF=1; AC_SUBST([HAVE_VASPRINTF]) -+ HAVE_VDPRINTF=1; AC_SUBST([HAVE_VDPRINTF]) -+ REPLACE_DPRINTF=0; AC_SUBST([REPLACE_DPRINTF]) -+ REPLACE_FCLOSE=0; AC_SUBST([REPLACE_FCLOSE]) -+ REPLACE_FDOPEN=0; AC_SUBST([REPLACE_FDOPEN]) -+ REPLACE_FFLUSH=0; AC_SUBST([REPLACE_FFLUSH]) -+ REPLACE_FOPEN=0; AC_SUBST([REPLACE_FOPEN]) -+ REPLACE_FPRINTF=0; AC_SUBST([REPLACE_FPRINTF]) -+ REPLACE_FPURGE=0; AC_SUBST([REPLACE_FPURGE]) -+ REPLACE_FREOPEN=0; AC_SUBST([REPLACE_FREOPEN]) -+ REPLACE_FSEEK=0; AC_SUBST([REPLACE_FSEEK]) -+ REPLACE_FSEEKO=0; AC_SUBST([REPLACE_FSEEKO]) -+ REPLACE_FTELL=0; AC_SUBST([REPLACE_FTELL]) -+ REPLACE_FTELLO=0; AC_SUBST([REPLACE_FTELLO]) -+ REPLACE_GETDELIM=0; AC_SUBST([REPLACE_GETDELIM]) -+ REPLACE_GETLINE=0; AC_SUBST([REPLACE_GETLINE]) -+ REPLACE_OBSTACK_PRINTF=0; AC_SUBST([REPLACE_OBSTACK_PRINTF]) -+ REPLACE_PERROR=0; AC_SUBST([REPLACE_PERROR]) -+ REPLACE_POPEN=0; AC_SUBST([REPLACE_POPEN]) -+ REPLACE_PRINTF=0; AC_SUBST([REPLACE_PRINTF]) -+ REPLACE_REMOVE=0; AC_SUBST([REPLACE_REMOVE]) -+ REPLACE_RENAME=0; AC_SUBST([REPLACE_RENAME]) -+ REPLACE_RENAMEAT=0; AC_SUBST([REPLACE_RENAMEAT]) -+ REPLACE_SNPRINTF=0; AC_SUBST([REPLACE_SNPRINTF]) -+ REPLACE_SPRINTF=0; AC_SUBST([REPLACE_SPRINTF]) -+ REPLACE_STDIO_READ_FUNCS=0; AC_SUBST([REPLACE_STDIO_READ_FUNCS]) -+ REPLACE_STDIO_WRITE_FUNCS=0; AC_SUBST([REPLACE_STDIO_WRITE_FUNCS]) -+ REPLACE_TMPFILE=0; AC_SUBST([REPLACE_TMPFILE]) -+ REPLACE_VASPRINTF=0; AC_SUBST([REPLACE_VASPRINTF]) -+ REPLACE_VDPRINTF=0; AC_SUBST([REPLACE_VDPRINTF]) -+ REPLACE_VFPRINTF=0; AC_SUBST([REPLACE_VFPRINTF]) -+ REPLACE_VPRINTF=0; AC_SUBST([REPLACE_VPRINTF]) -+ REPLACE_VSNPRINTF=0; AC_SUBST([REPLACE_VSNPRINTF]) -+ REPLACE_VSPRINTF=0; AC_SUBST([REPLACE_VSPRINTF]) -+]) -diff -Naur libiconv-20130504/srcm4/stdlib_h.m4 libiconv-20130504.patch/srcm4/stdlib_h.m4 ---- libiconv-20130504/srcm4/stdlib_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/stdlib_h.m4 2013-05-04 10:20:08.059697529 +0200 -@@ -0,0 +1,117 @@ -+# stdlib_h.m4 serial 42 -+dnl Copyright (C) 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_STDLIB_H], -+[ -+ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) -+ gl_NEXT_HEADERS([stdlib.h]) -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use, and which is not -+ dnl guaranteed by C89. -+ gl_WARN_ON_USE_PREPARE([[#include -+#if HAVE_SYS_LOADAVG_H -+# include -+#endif -+#if HAVE_RANDOM_H -+# include -+#endif -+ ]], [_Exit atoll canonicalize_file_name getloadavg getsubopt grantpt -+ initstate initstate_r mkdtemp mkostemp mkostemps mkstemp mkstemps -+ posix_openpt ptsname ptsname_r random random_r realpath rpmatch -+ secure_getenv setenv setstate setstate_r srandom srandom_r -+ strtod strtoll strtoull unlockpt unsetenv]) -+]) -+ -+AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_STDLIB_H_DEFAULTS], -+[ -+ GNULIB__EXIT=0; AC_SUBST([GNULIB__EXIT]) -+ GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) -+ GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) -+ GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) -+ GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) -+ GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) -+ GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) -+ GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) -+ GNULIB_MBTOWC=0; AC_SUBST([GNULIB_MBTOWC]) -+ GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) -+ GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) -+ GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) -+ GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) -+ GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS]) -+ GNULIB_POSIX_OPENPT=0; AC_SUBST([GNULIB_POSIX_OPENPT]) -+ GNULIB_PTSNAME=0; AC_SUBST([GNULIB_PTSNAME]) -+ GNULIB_PTSNAME_R=0; AC_SUBST([GNULIB_PTSNAME_R]) -+ GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) -+ GNULIB_RANDOM=0; AC_SUBST([GNULIB_RANDOM]) -+ GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) -+ GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) -+ GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH]) -+ GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) -+ GNULIB_SECURE_GETENV=0; AC_SUBST([GNULIB_SECURE_GETENV]) -+ GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) -+ GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) -+ GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) -+ GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) -+ GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) -+ GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) -+ GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) -+ GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) -+ HAVE_ATOLL=1; AC_SUBST([HAVE_ATOLL]) -+ HAVE_CANONICALIZE_FILE_NAME=1; AC_SUBST([HAVE_CANONICALIZE_FILE_NAME]) -+ HAVE_DECL_GETLOADAVG=1; AC_SUBST([HAVE_DECL_GETLOADAVG]) -+ HAVE_GETSUBOPT=1; AC_SUBST([HAVE_GETSUBOPT]) -+ HAVE_GRANTPT=1; AC_SUBST([HAVE_GRANTPT]) -+ HAVE_MKDTEMP=1; AC_SUBST([HAVE_MKDTEMP]) -+ HAVE_MKOSTEMP=1; AC_SUBST([HAVE_MKOSTEMP]) -+ HAVE_MKOSTEMPS=1; AC_SUBST([HAVE_MKOSTEMPS]) -+ HAVE_MKSTEMP=1; AC_SUBST([HAVE_MKSTEMP]) -+ HAVE_MKSTEMPS=1; AC_SUBST([HAVE_MKSTEMPS]) -+ HAVE_POSIX_OPENPT=1; AC_SUBST([HAVE_POSIX_OPENPT]) -+ HAVE_PTSNAME=1; AC_SUBST([HAVE_PTSNAME]) -+ HAVE_PTSNAME_R=1; AC_SUBST([HAVE_PTSNAME_R]) -+ HAVE_RANDOM=1; AC_SUBST([HAVE_RANDOM]) -+ HAVE_RANDOM_H=1; AC_SUBST([HAVE_RANDOM_H]) -+ HAVE_RANDOM_R=1; AC_SUBST([HAVE_RANDOM_R]) -+ HAVE_REALPATH=1; AC_SUBST([HAVE_REALPATH]) -+ HAVE_RPMATCH=1; AC_SUBST([HAVE_RPMATCH]) -+ HAVE_SECURE_GETENV=1; AC_SUBST([HAVE_SECURE_GETENV]) -+ HAVE_SETENV=1; AC_SUBST([HAVE_SETENV]) -+ HAVE_DECL_SETENV=1; AC_SUBST([HAVE_DECL_SETENV]) -+ HAVE_STRTOD=1; AC_SUBST([HAVE_STRTOD]) -+ HAVE_STRTOLL=1; AC_SUBST([HAVE_STRTOLL]) -+ HAVE_STRTOULL=1; AC_SUBST([HAVE_STRTOULL]) -+ HAVE_STRUCT_RANDOM_DATA=1; AC_SUBST([HAVE_STRUCT_RANDOM_DATA]) -+ HAVE_SYS_LOADAVG_H=0; AC_SUBST([HAVE_SYS_LOADAVG_H]) -+ HAVE_UNLOCKPT=1; AC_SUBST([HAVE_UNLOCKPT]) -+ HAVE_DECL_UNSETENV=1; AC_SUBST([HAVE_DECL_UNSETENV]) -+ REPLACE_CALLOC=0; AC_SUBST([REPLACE_CALLOC]) -+ REPLACE_CANONICALIZE_FILE_NAME=0; AC_SUBST([REPLACE_CANONICALIZE_FILE_NAME]) -+ REPLACE_MALLOC=0; AC_SUBST([REPLACE_MALLOC]) -+ REPLACE_MBTOWC=0; AC_SUBST([REPLACE_MBTOWC]) -+ REPLACE_MKSTEMP=0; AC_SUBST([REPLACE_MKSTEMP]) -+ REPLACE_PTSNAME=0; AC_SUBST([REPLACE_PTSNAME]) -+ REPLACE_PTSNAME_R=0; AC_SUBST([REPLACE_PTSNAME_R]) -+ REPLACE_PUTENV=0; AC_SUBST([REPLACE_PUTENV]) -+ REPLACE_RANDOM_R=0; AC_SUBST([REPLACE_RANDOM_R]) -+ REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) -+ REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH]) -+ REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) -+ REPLACE_STRTOD=0; AC_SUBST([REPLACE_STRTOD]) -+ REPLACE_UNSETENV=0; AC_SUBST([REPLACE_UNSETENV]) -+ REPLACE_WCTOMB=0; AC_SUBST([REPLACE_WCTOMB]) -+]) -diff -Naur libiconv-20130504/srcm4/strerror.m4 libiconv-20130504.patch/srcm4/strerror.m4 ---- libiconv-20130504/srcm4/strerror.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/strerror.m4 2013-05-04 10:20:08.063697517 +0200 -@@ -0,0 +1,96 @@ -+# strerror.m4 serial 17 -+dnl Copyright (C) 2002, 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_FUNC_STRERROR], -+[ -+ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) -+ AC_REQUIRE([gl_HEADER_ERRNO_H]) -+ AC_REQUIRE([gl_FUNC_STRERROR_0]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ -+ AC_REQUIRE([gl_FUNC_STRERROR_R_WORKS]) -+ ]) -+ if test "$ERRNO_H:$REPLACE_STRERROR_0" = :0; then -+ AC_CACHE_CHECK([for working strerror function], -+ [gl_cv_func_working_strerror], -+ [AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ ]], -+ [[if (!*strerror (-2)) return 1;]])], -+ [gl_cv_func_working_strerror=yes], -+ [gl_cv_func_working_strerror=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_working_strerror="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_working_strerror="guessing no" ;; -+ esac -+ ]) -+ ]) -+ case "$gl_cv_func_working_strerror" in -+ *yes) ;; -+ *) -+ dnl The system's strerror() fails to return a string for out-of-range -+ dnl integers. Replace it. -+ REPLACE_STRERROR=1 -+ ;; -+ esac -+ m4_ifdef([gl_FUNC_STRERROR_R_WORKS], [ -+ dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's -+ dnl buffer, we must replace strerror. -+ case "$gl_cv_func_strerror_r_works" in -+ *no) REPLACE_STRERROR=1 ;; -+ esac -+ ]) -+ else -+ dnl The system's strerror() cannot know about the new errno values we add -+ dnl to , or any fix for strerror(0). Replace it. -+ REPLACE_STRERROR=1 -+ fi -+]) -+ -+dnl Detect if strerror(0) passes (that is, does not set errno, and does not -+dnl return a string that matches strerror(-1)). -+AC_DEFUN([gl_FUNC_STRERROR_0], -+[ -+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles -+ REPLACE_STRERROR_0=0 -+ AC_CACHE_CHECK([whether strerror(0) succeeds], -+ [gl_cv_func_strerror_0_works], -+ [AC_RUN_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ #include -+ ]], -+ [[int result = 0; -+ char *str; -+ errno = 0; -+ str = strerror (0); -+ if (!*str) result |= 1; -+ if (errno) result |= 2; -+ if (strstr (str, "nknown") || strstr (str, "ndefined")) -+ result |= 4; -+ return result;]])], -+ [gl_cv_func_strerror_0_works=yes], -+ [gl_cv_func_strerror_0_works=no], -+ [case "$host_os" in -+ # Guess yes on glibc systems. -+ *-gnu*) gl_cv_func_strerror_0_works="guessing yes" ;; -+ # If we don't know, assume the worst. -+ *) gl_cv_func_strerror_0_works="guessing no" ;; -+ esac -+ ]) -+ ]) -+ case "$gl_cv_func_strerror_0_works" in -+ *yes) ;; -+ *) -+ REPLACE_STRERROR_0=1 -+ AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0) -+ does not return a message implying success.]) -+ ;; -+ esac -+]) -diff -Naur libiconv-20130504/srcm4/string_h.m4 libiconv-20130504.patch/srcm4/string_h.m4 ---- libiconv-20130504/srcm4/string_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/string_h.m4 2013-05-04 10:20:08.069697500 +0200 -@@ -0,0 +1,120 @@ -+# Configure a GNU-like replacement for . -+ -+# Copyright (C) 2007-2013 Free Software Foundation, Inc. -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# serial 21 -+ -+# Written by Paul Eggert. -+ -+AC_DEFUN([gl_HEADER_STRING_H], -+[ -+ dnl Use AC_REQUIRE here, so that the default behavior below is expanded -+ dnl once only, before all statements that occur in other macros. -+ AC_REQUIRE([gl_HEADER_STRING_H_BODY]) -+]) -+ -+AC_DEFUN([gl_HEADER_STRING_H_BODY], -+[ -+ AC_REQUIRE([AC_C_RESTRICT]) -+ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) -+ gl_NEXT_HEADERS([string.h]) -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use, and which is not -+ dnl guaranteed by C89. -+ gl_WARN_ON_USE_PREPARE([[#include -+ ]], -+ [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul -+ strdup strncat strndup strnlen strpbrk strsep strcasestr strtok_r -+ strerror_r strsignal strverscmp]) -+]) -+ -+AC_DEFUN([gl_STRING_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], -+[ -+ GNULIB_FFSL=0; AC_SUBST([GNULIB_FFSL]) -+ GNULIB_FFSLL=0; AC_SUBST([GNULIB_FFSLL]) -+ GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) -+ GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) -+ GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) -+ GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR]) -+ GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR]) -+ GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY]) -+ GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY]) -+ GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL]) -+ GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP]) -+ GNULIB_STRNCAT=0; AC_SUBST([GNULIB_STRNCAT]) -+ GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP]) -+ GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN]) -+ GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK]) -+ GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP]) -+ GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR]) -+ GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR]) -+ GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R]) -+ GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN]) -+ GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN]) -+ GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR]) -+ GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR]) -+ GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR]) -+ GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP]) -+ GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP]) -+ GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP]) -+ GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR]) -+ GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN]) -+ GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK]) -+ GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN]) -+ GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP]) -+ GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R]) -+ GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR]) -+ GNULIB_STRERROR_R=0; AC_SUBST([GNULIB_STRERROR_R]) -+ GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL]) -+ GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) -+ HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE_FFSL=1; AC_SUBST([HAVE_FFSL]) -+ HAVE_FFSLL=1; AC_SUBST([HAVE_FFSLL]) -+ HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR]) -+ HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM]) -+ HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY]) -+ HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR]) -+ HAVE_RAWMEMCHR=1; AC_SUBST([HAVE_RAWMEMCHR]) -+ HAVE_STPCPY=1; AC_SUBST([HAVE_STPCPY]) -+ HAVE_STPNCPY=1; AC_SUBST([HAVE_STPNCPY]) -+ HAVE_STRCHRNUL=1; AC_SUBST([HAVE_STRCHRNUL]) -+ HAVE_DECL_STRDUP=1; AC_SUBST([HAVE_DECL_STRDUP]) -+ HAVE_DECL_STRNDUP=1; AC_SUBST([HAVE_DECL_STRNDUP]) -+ HAVE_DECL_STRNLEN=1; AC_SUBST([HAVE_DECL_STRNLEN]) -+ HAVE_STRPBRK=1; AC_SUBST([HAVE_STRPBRK]) -+ HAVE_STRSEP=1; AC_SUBST([HAVE_STRSEP]) -+ HAVE_STRCASESTR=1; AC_SUBST([HAVE_STRCASESTR]) -+ HAVE_DECL_STRTOK_R=1; AC_SUBST([HAVE_DECL_STRTOK_R]) -+ HAVE_DECL_STRERROR_R=1; AC_SUBST([HAVE_DECL_STRERROR_R]) -+ HAVE_DECL_STRSIGNAL=1; AC_SUBST([HAVE_DECL_STRSIGNAL]) -+ HAVE_STRVERSCMP=1; AC_SUBST([HAVE_STRVERSCMP]) -+ REPLACE_MEMCHR=0; AC_SUBST([REPLACE_MEMCHR]) -+ REPLACE_MEMMEM=0; AC_SUBST([REPLACE_MEMMEM]) -+ REPLACE_STPNCPY=0; AC_SUBST([REPLACE_STPNCPY]) -+ REPLACE_STRDUP=0; AC_SUBST([REPLACE_STRDUP]) -+ REPLACE_STRSTR=0; AC_SUBST([REPLACE_STRSTR]) -+ REPLACE_STRCASESTR=0; AC_SUBST([REPLACE_STRCASESTR]) -+ REPLACE_STRCHRNUL=0; AC_SUBST([REPLACE_STRCHRNUL]) -+ REPLACE_STRERROR=0; AC_SUBST([REPLACE_STRERROR]) -+ REPLACE_STRERROR_R=0; AC_SUBST([REPLACE_STRERROR_R]) -+ REPLACE_STRNCAT=0; AC_SUBST([REPLACE_STRNCAT]) -+ REPLACE_STRNDUP=0; AC_SUBST([REPLACE_STRNDUP]) -+ REPLACE_STRNLEN=0; AC_SUBST([REPLACE_STRNLEN]) -+ REPLACE_STRSIGNAL=0; AC_SUBST([REPLACE_STRSIGNAL]) -+ REPLACE_STRTOK_R=0; AC_SUBST([REPLACE_STRTOK_R]) -+ UNDEFINE_STRTOK_R=0; AC_SUBST([UNDEFINE_STRTOK_R]) -+]) -diff -Naur libiconv-20130504/srcm4/sys_socket_h.m4 libiconv-20130504.patch/srcm4/sys_socket_h.m4 ---- libiconv-20130504/srcm4/sys_socket_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/sys_socket_h.m4 2013-05-04 10:20:08.072697491 +0200 -@@ -0,0 +1,176 @@ -+# sys_socket_h.m4 serial 23 -+dnl Copyright (C) 2005-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Simon Josefsson. -+ -+AC_DEFUN([gl_HEADER_SYS_SOCKET], -+[ -+ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ -+ dnl On OSF/1, the functions recv(), send(), recvfrom(), sendto() have -+ dnl old-style declarations (with return type 'int' instead of 'ssize_t') -+ dnl unless _POSIX_PII_SOCKET is defined. -+ case "$host_os" in -+ osf*) -+ AC_DEFINE([_POSIX_PII_SOCKET], [1], -+ [Define to 1 in order to get the POSIX compatible declarations -+ of socket functions.]) -+ ;; -+ esac -+ -+ AC_CACHE_CHECK([whether is self-contained], -+ [gl_cv_header_sys_socket_h_selfcontained], -+ [ -+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include ]], [[]])], -+ [gl_cv_header_sys_socket_h_selfcontained=yes], -+ [gl_cv_header_sys_socket_h_selfcontained=no]) -+ ]) -+ if test $gl_cv_header_sys_socket_h_selfcontained = yes; then -+ dnl If the shutdown function exists, should define -+ dnl SHUT_RD, SHUT_WR, SHUT_RDWR. -+ AC_CHECK_FUNCS([shutdown]) -+ if test $ac_cv_func_shutdown = yes; then -+ AC_CACHE_CHECK([whether defines the SHUT_* macros], -+ [gl_cv_header_sys_socket_h_shut], -+ [ -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([[#include ]], -+ [[int a[] = { SHUT_RD, SHUT_WR, SHUT_RDWR };]])], -+ [gl_cv_header_sys_socket_h_shut=yes], -+ [gl_cv_header_sys_socket_h_shut=no]) -+ ]) -+ if test $gl_cv_header_sys_socket_h_shut = no; then -+ SYS_SOCKET_H='sys/socket.h' -+ fi -+ fi -+ fi -+ # We need to check for ws2tcpip.h now. -+ gl_PREREQ_SYS_H_SOCKET -+ AC_CHECK_TYPES([struct sockaddr_storage, sa_family_t],,,[ -+ /* sys/types.h is not needed according to POSIX, but the -+ sys/socket.h in i386-unknown-freebsd4.10 and -+ powerpc-apple-darwin5.5 required it. */ -+#include -+#ifdef HAVE_SYS_SOCKET_H -+#include -+#endif -+#ifdef HAVE_WS2TCPIP_H -+#include -+#endif -+]) -+ if test $ac_cv_type_struct_sockaddr_storage = no; then -+ HAVE_STRUCT_SOCKADDR_STORAGE=0 -+ fi -+ if test $ac_cv_type_sa_family_t = no; then -+ HAVE_SA_FAMILY_T=0 -+ fi -+ if test $ac_cv_type_struct_sockaddr_storage != no; then -+ AC_CHECK_MEMBERS([struct sockaddr_storage.ss_family], -+ [], -+ [HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0], -+ [#include -+ #ifdef HAVE_SYS_SOCKET_H -+ #include -+ #endif -+ #ifdef HAVE_WS2TCPIP_H -+ #include -+ #endif -+ ]) -+ fi -+ if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \ -+ || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then -+ SYS_SOCKET_H='sys/socket.h' -+ fi -+ gl_PREREQ_SYS_H_WINSOCK2 -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use. -+ gl_WARN_ON_USE_PREPARE([[ -+/* Some systems require prerequisite headers. */ -+#include -+#include -+ ]], [socket connect accept bind getpeername getsockname getsockopt -+ listen recv send recvfrom sendto setsockopt shutdown accept4]) -+]) -+ -+AC_DEFUN([gl_PREREQ_SYS_H_SOCKET], -+[ -+ dnl Check prerequisites of the replacement. -+ AC_REQUIRE([gl_CHECK_SOCKET_HEADERS]) -+ gl_CHECK_NEXT_HEADERS([sys/socket.h]) -+ if test $ac_cv_header_sys_socket_h = yes; then -+ HAVE_SYS_SOCKET_H=1 -+ HAVE_WS2TCPIP_H=0 -+ else -+ HAVE_SYS_SOCKET_H=0 -+ if test $ac_cv_header_ws2tcpip_h = yes; then -+ HAVE_WS2TCPIP_H=1 -+ else -+ HAVE_WS2TCPIP_H=0 -+ fi -+ fi -+ AC_SUBST([HAVE_SYS_SOCKET_H]) -+ AC_SUBST([HAVE_WS2TCPIP_H]) -+]) -+ -+# Common prerequisites of the replacement and of the -+# replacement. -+# Sets and substitutes HAVE_WINSOCK2_H. -+AC_DEFUN([gl_PREREQ_SYS_H_WINSOCK2], -+[ -+ m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) -+ m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) -+ AC_CHECK_HEADERS_ONCE([sys/socket.h]) -+ if test $ac_cv_header_sys_socket_h != yes; then -+ dnl We cannot use AC_CHECK_HEADERS_ONCE here, because that would make -+ dnl the check for those headers unconditional; yet cygwin reports -+ dnl that the headers are present but cannot be compiled (since on -+ dnl cygwin, all socket information should come from sys/socket.h). -+ AC_CHECK_HEADERS([winsock2.h]) -+ fi -+ if test "$ac_cv_header_winsock2_h" = yes; then -+ HAVE_WINSOCK2_H=1 -+ UNISTD_H_HAVE_WINSOCK2_H=1 -+ SYS_IOCTL_H_HAVE_WINSOCK2_H=1 -+ else -+ HAVE_WINSOCK2_H=0 -+ fi -+ AC_SUBST([HAVE_WINSOCK2_H]) -+]) -+ -+AC_DEFUN([gl_SYS_SOCKET_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_SYS_SOCKET_H_DEFAULTS], -+[ -+ GNULIB_SOCKET=0; AC_SUBST([GNULIB_SOCKET]) -+ GNULIB_CONNECT=0; AC_SUBST([GNULIB_CONNECT]) -+ GNULIB_ACCEPT=0; AC_SUBST([GNULIB_ACCEPT]) -+ GNULIB_BIND=0; AC_SUBST([GNULIB_BIND]) -+ GNULIB_GETPEERNAME=0; AC_SUBST([GNULIB_GETPEERNAME]) -+ GNULIB_GETSOCKNAME=0; AC_SUBST([GNULIB_GETSOCKNAME]) -+ GNULIB_GETSOCKOPT=0; AC_SUBST([GNULIB_GETSOCKOPT]) -+ GNULIB_LISTEN=0; AC_SUBST([GNULIB_LISTEN]) -+ GNULIB_RECV=0; AC_SUBST([GNULIB_RECV]) -+ GNULIB_SEND=0; AC_SUBST([GNULIB_SEND]) -+ GNULIB_RECVFROM=0; AC_SUBST([GNULIB_RECVFROM]) -+ GNULIB_SENDTO=0; AC_SUBST([GNULIB_SENDTO]) -+ GNULIB_SETSOCKOPT=0; AC_SUBST([GNULIB_SETSOCKOPT]) -+ GNULIB_SHUTDOWN=0; AC_SUBST([GNULIB_SHUTDOWN]) -+ GNULIB_ACCEPT4=0; AC_SUBST([GNULIB_ACCEPT4]) -+ HAVE_STRUCT_SOCKADDR_STORAGE=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE]) -+ HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; -+ AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY]) -+ HAVE_SA_FAMILY_T=1; AC_SUBST([HAVE_SA_FAMILY_T]) -+ HAVE_ACCEPT4=1; AC_SUBST([HAVE_ACCEPT4]) -+]) -diff -Naur libiconv-20130504/srcm4/sys_stat_h.m4 libiconv-20130504.patch/srcm4/sys_stat_h.m4 ---- libiconv-20130504/srcm4/sys_stat_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/sys_stat_h.m4 2013-05-04 10:20:08.075697482 +0200 -@@ -0,0 +1,96 @@ -+# sys_stat_h.m4 serial 28 -*- Autoconf -*- -+dnl Copyright (C) 2006-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Eric Blake. -+dnl Provide a GNU-like . -+ -+AC_DEFUN([gl_HEADER_SYS_STAT_H], -+[ -+ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) -+ -+ dnl Check for broken stat macros. -+ AC_REQUIRE([AC_HEADER_STAT]) -+ -+ gl_CHECK_NEXT_HEADERS([sys/stat.h]) -+ -+ dnl Ensure the type mode_t gets defined. -+ AC_REQUIRE([AC_TYPE_MODE_T]) -+ -+ dnl Whether to override 'struct stat'. -+ m4_ifdef([gl_LARGEFILE], [ -+ AC_REQUIRE([gl_LARGEFILE]) -+ ], [ -+ WINDOWS_64_BIT_ST_SIZE=0 -+ ]) -+ AC_SUBST([WINDOWS_64_BIT_ST_SIZE]) -+ if test $WINDOWS_64_BIT_ST_SIZE = 1; then -+ AC_DEFINE([_GL_WINDOWS_64_BIT_ST_SIZE], [1], -+ [Define to 1 if Gnulib overrides 'struct stat' on Windows so that -+ struct stat.st_size becomes 64-bit.]) -+ fi -+ -+ dnl Define types that are supposed to be defined in or -+ dnl . -+ AC_CHECK_TYPE([nlink_t], [], -+ [AC_DEFINE([nlink_t], [int], -+ [Define to the type of st_nlink in struct stat, or a supertype.])], -+ [#include -+ #include ]) -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use. -+ gl_WARN_ON_USE_PREPARE([[#include -+ ]], [fchmodat fstat fstatat futimens lchmod lstat mkdirat mkfifo mkfifoat -+ mknod mknodat stat utimensat]) -+]) # gl_HEADER_SYS_STAT_H -+ -+AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], -+[ -+ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR -+ GNULIB_FCHMODAT=0; AC_SUBST([GNULIB_FCHMODAT]) -+ GNULIB_FSTAT=0; AC_SUBST([GNULIB_FSTAT]) -+ GNULIB_FSTATAT=0; AC_SUBST([GNULIB_FSTATAT]) -+ GNULIB_FUTIMENS=0; AC_SUBST([GNULIB_FUTIMENS]) -+ GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD]) -+ GNULIB_LSTAT=0; AC_SUBST([GNULIB_LSTAT]) -+ GNULIB_MKDIRAT=0; AC_SUBST([GNULIB_MKDIRAT]) -+ GNULIB_MKFIFO=0; AC_SUBST([GNULIB_MKFIFO]) -+ GNULIB_MKFIFOAT=0; AC_SUBST([GNULIB_MKFIFOAT]) -+ GNULIB_MKNOD=0; AC_SUBST([GNULIB_MKNOD]) -+ GNULIB_MKNODAT=0; AC_SUBST([GNULIB_MKNODAT]) -+ GNULIB_STAT=0; AC_SUBST([GNULIB_STAT]) -+ GNULIB_UTIMENSAT=0; AC_SUBST([GNULIB_UTIMENSAT]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE_FCHMODAT=1; AC_SUBST([HAVE_FCHMODAT]) -+ HAVE_FSTATAT=1; AC_SUBST([HAVE_FSTATAT]) -+ HAVE_FUTIMENS=1; AC_SUBST([HAVE_FUTIMENS]) -+ HAVE_LCHMOD=1; AC_SUBST([HAVE_LCHMOD]) -+ HAVE_LSTAT=1; AC_SUBST([HAVE_LSTAT]) -+ HAVE_MKDIRAT=1; AC_SUBST([HAVE_MKDIRAT]) -+ HAVE_MKFIFO=1; AC_SUBST([HAVE_MKFIFO]) -+ HAVE_MKFIFOAT=1; AC_SUBST([HAVE_MKFIFOAT]) -+ HAVE_MKNOD=1; AC_SUBST([HAVE_MKNOD]) -+ HAVE_MKNODAT=1; AC_SUBST([HAVE_MKNODAT]) -+ HAVE_UTIMENSAT=1; AC_SUBST([HAVE_UTIMENSAT]) -+ REPLACE_FSTAT=0; AC_SUBST([REPLACE_FSTAT]) -+ REPLACE_FSTATAT=0; AC_SUBST([REPLACE_FSTATAT]) -+ REPLACE_FUTIMENS=0; AC_SUBST([REPLACE_FUTIMENS]) -+ REPLACE_LSTAT=0; AC_SUBST([REPLACE_LSTAT]) -+ REPLACE_MKDIR=0; AC_SUBST([REPLACE_MKDIR]) -+ REPLACE_MKFIFO=0; AC_SUBST([REPLACE_MKFIFO]) -+ REPLACE_MKNOD=0; AC_SUBST([REPLACE_MKNOD]) -+ REPLACE_STAT=0; AC_SUBST([REPLACE_STAT]) -+ REPLACE_UTIMENSAT=0; AC_SUBST([REPLACE_UTIMENSAT]) -+]) -diff -Naur libiconv-20130504/srcm4/sys_types_h.m4 libiconv-20130504.patch/srcm4/sys_types_h.m4 ---- libiconv-20130504/srcm4/sys_types_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/sys_types_h.m4 2013-05-04 10:20:08.078697474 +0200 -@@ -0,0 +1,24 @@ -+# sys_types_h.m4 serial 5 -+dnl Copyright (C) 2011-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN_ONCE([gl_SYS_TYPES_H], -+[ -+ AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) -+ gl_NEXT_HEADERS([sys/types.h]) -+ -+ dnl Ensure the type pid_t gets defined. -+ AC_REQUIRE([AC_TYPE_PID_T]) -+ -+ dnl Ensure the type mode_t gets defined. -+ AC_REQUIRE([AC_TYPE_MODE_T]) -+ -+ dnl Whether to override the 'off_t' type. -+ AC_REQUIRE([gl_TYPE_OFF_T]) -+]) -+ -+AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS], -+[ -+]) -diff -Naur libiconv-20130504/srcm4/threadlib.m4 libiconv-20130504.patch/srcm4/threadlib.m4 ---- libiconv-20130504/srcm4/threadlib.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/threadlib.m4 2013-05-04 10:20:08.080697468 +0200 -@@ -0,0 +1,371 @@ -+# threadlib.m4 serial 10 (gettext-0.18.2) -+dnl Copyright (C) 2005-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+dnl gl_THREADLIB -+dnl ------------ -+dnl Tests for a multithreading library to be used. -+dnl If the configure.ac contains a definition of the gl_THREADLIB_DEFAULT_NO -+dnl (it must be placed before the invocation of gl_THREADLIB_EARLY!), then the -+dnl default is 'no', otherwise it is system dependent. In both cases, the user -+dnl can change the choice through the options --enable-threads=choice or -+dnl --disable-threads. -+dnl Defines at most one of the macros USE_POSIX_THREADS, USE_SOLARIS_THREADS, -+dnl USE_PTH_THREADS, USE_WINDOWS_THREADS -+dnl Sets the variables LIBTHREAD and LTLIBTHREAD to the linker options for use -+dnl in a Makefile (LIBTHREAD for use without libtool, LTLIBTHREAD for use with -+dnl libtool). -+dnl Sets the variables LIBMULTITHREAD and LTLIBMULTITHREAD similarly, for -+dnl programs that really need multithread functionality. The difference -+dnl between LIBTHREAD and LIBMULTITHREAD is that on platforms supporting weak -+dnl symbols, typically LIBTHREAD="" whereas LIBMULTITHREAD="-lpthread". -+dnl Adds to CPPFLAGS the flag -D_REENTRANT or -D_THREAD_SAFE if needed for -+dnl multithread-safe programs. -+ -+AC_DEFUN([gl_THREADLIB_EARLY], -+[ -+ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) -+]) -+ -+dnl The guts of gl_THREADLIB_EARLY. Needs to be expanded only once. -+ -+AC_DEFUN([gl_THREADLIB_EARLY_BODY], -+[ -+ dnl Ordering constraints: This macro modifies CPPFLAGS in a way that -+ dnl influences the result of the autoconf tests that test for *_unlocked -+ dnl declarations, on AIX 5 at least. Therefore it must come early. -+ AC_BEFORE([$0], [gl_FUNC_GLIBC_UNLOCKED_IO])dnl -+ AC_BEFORE([$0], [gl_ARGP])dnl -+ -+ AC_REQUIRE([AC_CANONICAL_HOST]) -+ dnl _GNU_SOURCE is needed for pthread_rwlock_t on glibc systems. -+ dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes -+ dnl AC_GNU_SOURCE. -+ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], -+ [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], -+ [AC_REQUIRE([AC_GNU_SOURCE])]) -+ dnl Check for multithreading. -+ m4_ifdef([gl_THREADLIB_DEFAULT_NO], -+ [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])], -+ [m4_divert_text([DEFAULTS], [gl_use_threads_default=])]) -+ AC_ARG_ENABLE([threads], -+AC_HELP_STRING([--enable-threads={posix|solaris|pth|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [ -+AC_HELP_STRING([--disable-threads], [build without multithread safety])]), -+ [gl_use_threads=$enableval], -+ [if test -n "$gl_use_threads_default"; then -+ gl_use_threads="$gl_use_threads_default" -+ else -+changequote(,)dnl -+ case "$host_os" in -+ dnl Disable multithreading by default on OSF/1, because it interferes -+ dnl with fork()/exec(): When msgexec is linked with -lpthread, its -+ dnl child process gets an endless segmentation fault inside execvp(). -+ dnl Disable multithreading by default on Cygwin 1.5.x, because it has -+ dnl bugs that lead to endless loops or crashes. See -+ dnl . -+ osf*) gl_use_threads=no ;; -+ cygwin*) -+ case `uname -r` in -+ 1.[0-5].*) gl_use_threads=no ;; -+ *) gl_use_threads=yes ;; -+ esac -+ ;; -+ *) gl_use_threads=yes ;; -+ esac -+changequote([,])dnl -+ fi -+ ]) -+ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then -+ # For using : -+ case "$host_os" in -+ osf*) -+ # On OSF/1, the compiler needs the flag -D_REENTRANT so that it -+ # groks . cc also understands the flag -pthread, but -+ # we don't use it because 1. gcc-2.95 doesn't understand -pthread, -+ # 2. putting a flag into CPPFLAGS that has an effect on the linker -+ # causes the AC_LINK_IFELSE test below to succeed unexpectedly, -+ # leading to wrong values of LIBTHREAD and LTLIBTHREAD. -+ CPPFLAGS="$CPPFLAGS -D_REENTRANT" -+ ;; -+ esac -+ # Some systems optimize for single-threaded programs by default, and -+ # need special flags to disable these optimizations. For example, the -+ # definition of 'errno' in . -+ case "$host_os" in -+ aix* | freebsd*) CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" ;; -+ solaris*) CPPFLAGS="$CPPFLAGS -D_REENTRANT" ;; -+ esac -+ fi -+]) -+ -+dnl The guts of gl_THREADLIB. Needs to be expanded only once. -+ -+AC_DEFUN([gl_THREADLIB_BODY], -+[ -+ AC_REQUIRE([gl_THREADLIB_EARLY_BODY]) -+ gl_threads_api=none -+ LIBTHREAD= -+ LTLIBTHREAD= -+ LIBMULTITHREAD= -+ LTLIBMULTITHREAD= -+ if test "$gl_use_threads" != no; then -+ dnl Check whether the compiler and linker support weak declarations. -+ AC_CACHE_CHECK([whether imported symbols can be declared weak], -+ [gl_cv_have_weak], -+ [gl_cv_have_weak=no -+ dnl First, test whether the compiler accepts it syntactically. -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[extern void xyzzy (); -+#pragma weak xyzzy]], -+ [[xyzzy();]])], -+ [gl_cv_have_weak=maybe]) -+ if test $gl_cv_have_weak = maybe; then -+ dnl Second, test whether it actually works. On Cygwin 1.7.2, with -+ dnl gcc 4.3, symbols declared weak always evaluate to the address 0. -+ AC_RUN_IFELSE( -+ [AC_LANG_SOURCE([[ -+#include -+#pragma weak fputs -+int main () -+{ -+ return (fputs == NULL); -+}]])], -+ [gl_cv_have_weak=yes], -+ [gl_cv_have_weak=no], -+ [dnl When cross-compiling, assume that only ELF platforms support -+ dnl weak symbols. -+ AC_EGREP_CPP([Extensible Linking Format], -+ [#ifdef __ELF__ -+ Extensible Linking Format -+ #endif -+ ], -+ [gl_cv_have_weak="guessing yes"], -+ [gl_cv_have_weak="guessing no"]) -+ ]) -+ fi -+ ]) -+ if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then -+ # On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that -+ # it groks . It's added above, in gl_THREADLIB_EARLY_BODY. -+ AC_CHECK_HEADER([pthread.h], -+ [gl_have_pthread_h=yes], [gl_have_pthread_h=no]) -+ if test "$gl_have_pthread_h" = yes; then -+ # Other possible tests: -+ # -lpthreads (FSU threads, PCthreads) -+ # -lgthreads -+ gl_have_pthread= -+ # Test whether both pthread_mutex_lock and pthread_mutexattr_init exist -+ # in libc. IRIX 6.5 has the first one in both libc and libpthread, but -+ # the second one only in libpthread, and lock.c needs it. -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include ]], -+ [[pthread_mutex_lock((pthread_mutex_t*)0); -+ pthread_mutexattr_init((pthread_mutexattr_t*)0);]])], -+ [gl_have_pthread=yes]) -+ # Test for libpthread by looking for pthread_kill. (Not pthread_self, -+ # since it is defined as a macro on OSF/1.) -+ if test -n "$gl_have_pthread"; then -+ # The program links fine without libpthread. But it may actually -+ # need to link with libpthread in order to create multiple threads. -+ AC_CHECK_LIB([pthread], [pthread_kill], -+ [LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread -+ # On Solaris and HP-UX, most pthread functions exist also in libc. -+ # Therefore pthread_in_use() needs to actually try to create a -+ # thread: pthread_create from libc will fail, whereas -+ # pthread_create will actually create a thread. -+ case "$host_os" in -+ solaris* | hpux*) -+ AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], -+ [Define if the pthread_in_use() detection is hard.]) -+ esac -+ ]) -+ else -+ # Some library is needed. Try libpthread and libc_r. -+ AC_CHECK_LIB([pthread], [pthread_kill], -+ [gl_have_pthread=yes -+ LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread -+ LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread]) -+ if test -z "$gl_have_pthread"; then -+ # For FreeBSD 4. -+ AC_CHECK_LIB([c_r], [pthread_kill], -+ [gl_have_pthread=yes -+ LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r -+ LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r]) -+ fi -+ fi -+ if test -n "$gl_have_pthread"; then -+ gl_threads_api=posix -+ AC_DEFINE([USE_POSIX_THREADS], [1], -+ [Define if the POSIX multithreading library can be used.]) -+ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then -+ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then -+ AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], -+ [Define if references to the POSIX multithreading library should be made weak.]) -+ LIBTHREAD= -+ LTLIBTHREAD= -+ fi -+ fi -+ fi -+ fi -+ fi -+ if test -z "$gl_have_pthread"; then -+ if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then -+ gl_have_solaristhread= -+ gl_save_LIBS="$LIBS" -+ LIBS="$LIBS -lthread" -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+#include -+#include -+ ]], -+ [[thr_self();]])], -+ [gl_have_solaristhread=yes]) -+ LIBS="$gl_save_LIBS" -+ if test -n "$gl_have_solaristhread"; then -+ gl_threads_api=solaris -+ LIBTHREAD=-lthread -+ LTLIBTHREAD=-lthread -+ LIBMULTITHREAD="$LIBTHREAD" -+ LTLIBMULTITHREAD="$LTLIBTHREAD" -+ AC_DEFINE([USE_SOLARIS_THREADS], [1], -+ [Define if the old Solaris multithreading library can be used.]) -+ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then -+ AC_DEFINE([USE_SOLARIS_THREADS_WEAK], [1], -+ [Define if references to the old Solaris multithreading library should be made weak.]) -+ LIBTHREAD= -+ LTLIBTHREAD= -+ fi -+ fi -+ fi -+ fi -+ if test "$gl_use_threads" = pth; then -+ gl_save_CPPFLAGS="$CPPFLAGS" -+ AC_LIB_LINKFLAGS([pth]) -+ gl_have_pth= -+ gl_save_LIBS="$LIBS" -+ LIBS="$LIBS $LIBPTH" -+ AC_LINK_IFELSE( -+ [AC_LANG_PROGRAM([[#include ]], [[pth_self();]])], -+ [gl_have_pth=yes]) -+ LIBS="$gl_save_LIBS" -+ if test -n "$gl_have_pth"; then -+ gl_threads_api=pth -+ LIBTHREAD="$LIBPTH" -+ LTLIBTHREAD="$LTLIBPTH" -+ LIBMULTITHREAD="$LIBTHREAD" -+ LTLIBMULTITHREAD="$LTLIBTHREAD" -+ AC_DEFINE([USE_PTH_THREADS], [1], -+ [Define if the GNU Pth multithreading library can be used.]) -+ if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then -+ if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then -+ AC_DEFINE([USE_PTH_THREADS_WEAK], [1], -+ [Define if references to the GNU Pth multithreading library should be made weak.]) -+ LIBTHREAD= -+ LTLIBTHREAD= -+ fi -+ fi -+ else -+ CPPFLAGS="$gl_save_CPPFLAGS" -+ fi -+ fi -+ if test -z "$gl_have_pthread"; then -+ case "$gl_use_threads" in -+ yes | windows | win32) # The 'win32' is for backward compatibility. -+ if { case "$host_os" in -+ mingw*) true;; -+ *) false;; -+ esac -+ }; then -+ gl_threads_api=windows -+ AC_DEFINE([USE_WINDOWS_THREADS], [1], -+ [Define if the native Windows multithreading API can be used.]) -+ fi -+ ;; -+ esac -+ fi -+ fi -+ AC_MSG_CHECKING([for multithread API to use]) -+ AC_MSG_RESULT([$gl_threads_api]) -+ AC_SUBST([LIBTHREAD]) -+ AC_SUBST([LTLIBTHREAD]) -+ AC_SUBST([LIBMULTITHREAD]) -+ AC_SUBST([LTLIBMULTITHREAD]) -+]) -+ -+AC_DEFUN([gl_THREADLIB], -+[ -+ AC_REQUIRE([gl_THREADLIB_EARLY]) -+ AC_REQUIRE([gl_THREADLIB_BODY]) -+]) -+ -+ -+dnl gl_DISABLE_THREADS -+dnl ------------------ -+dnl Sets the gl_THREADLIB default so that threads are not used by default. -+dnl The user can still override it at installation time, by using the -+dnl configure option '--enable-threads'. -+ -+AC_DEFUN([gl_DISABLE_THREADS], [ -+ m4_divert_text([INIT_PREPARE], [gl_use_threads_default=no]) -+]) -+ -+ -+dnl Survey of platforms: -+dnl -+dnl Platform Available Compiler Supports test-lock -+dnl flavours option weak result -+dnl --------------- --------- --------- -------- --------- -+dnl Linux 2.4/glibc posix -lpthread Y OK -+dnl -+dnl GNU Hurd/glibc posix -+dnl -+dnl FreeBSD 5.3 posix -lc_r Y -+dnl posix -lkse ? Y -+dnl posix -lpthread ? Y -+dnl posix -lthr Y -+dnl -+dnl FreeBSD 5.2 posix -lc_r Y -+dnl posix -lkse Y -+dnl posix -lthr Y -+dnl -+dnl FreeBSD 4.0,4.10 posix -lc_r Y OK -+dnl -+dnl NetBSD 1.6 -- -+dnl -+dnl OpenBSD 3.4 posix -lpthread Y OK -+dnl -+dnl Mac OS X 10.[123] posix -lpthread Y OK -+dnl -+dnl Solaris 7,8,9 posix -lpthread Y Sol 7,8: 0.0; Sol 9: OK -+dnl solaris -lthread Y Sol 7,8: 0.0; Sol 9: OK -+dnl -+dnl HP-UX 11 posix -lpthread N (cc) OK -+dnl Y (gcc) -+dnl -+dnl IRIX 6.5 posix -lpthread Y 0.5 -+dnl -+dnl AIX 4.3,5.1 posix -lpthread N AIX 4: 0.5; AIX 5: OK -+dnl -+dnl OSF/1 4.0,5.1 posix -pthread (cc) N OK -+dnl -lpthread (gcc) Y -+dnl -+dnl Cygwin posix -lpthread Y OK -+dnl -+dnl Any of the above pth -lpth 0.0 -+dnl -+dnl Mingw windows N OK -+dnl -+dnl BeOS 5 -- -+dnl -+dnl The test-lock result shows what happens if in test-lock.c EXPLICIT_YIELD is -+dnl turned off: -+dnl OK if all three tests terminate OK, -+dnl 0.5 if the first test terminates OK but the second one loops endlessly, -+dnl 0.0 if the first test already loops endlessly. -diff -Naur libiconv-20130504/srcm4/time_h.m4 libiconv-20130504.patch/srcm4/time_h.m4 ---- libiconv-20130504/srcm4/time_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/time_h.m4 2013-05-04 10:20:08.086697450 +0200 -@@ -0,0 +1,109 @@ -+# Configure a more-standard replacement for . -+ -+# Copyright (C) 2000-2001, 2003-2007, 2009-2013 Free Software Foundation, Inc. -+ -+# serial 7 -+ -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# Written by Paul Eggert and Jim Meyering. -+ -+AC_DEFUN([gl_HEADER_TIME_H], -+[ -+ dnl Use AC_REQUIRE here, so that the default behavior below is expanded -+ dnl once only, before all statements that occur in other macros. -+ AC_REQUIRE([gl_HEADER_TIME_H_BODY]) -+]) -+ -+AC_DEFUN([gl_HEADER_TIME_H_BODY], -+[ -+ AC_REQUIRE([AC_C_RESTRICT]) -+ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) -+ gl_NEXT_HEADERS([time.h]) -+ AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) -+]) -+ -+dnl Check whether 'struct timespec' is declared -+dnl in time.h, sys/time.h, or pthread.h. -+ -+AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], -+[ -+ AC_CHECK_HEADERS_ONCE([sys/time.h]) -+ AC_CACHE_CHECK([for struct timespec in ], -+ [gl_cv_sys_struct_timespec_in_time_h], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ ]], -+ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], -+ [gl_cv_sys_struct_timespec_in_time_h=yes], -+ [gl_cv_sys_struct_timespec_in_time_h=no])]) -+ -+ TIME_H_DEFINES_STRUCT_TIMESPEC=0 -+ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=0 -+ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=0 -+ if test $gl_cv_sys_struct_timespec_in_time_h = yes; then -+ TIME_H_DEFINES_STRUCT_TIMESPEC=1 -+ else -+ AC_CACHE_CHECK([for struct timespec in ], -+ [gl_cv_sys_struct_timespec_in_sys_time_h], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ ]], -+ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], -+ [gl_cv_sys_struct_timespec_in_sys_time_h=yes], -+ [gl_cv_sys_struct_timespec_in_sys_time_h=no])]) -+ if test $gl_cv_sys_struct_timespec_in_sys_time_h = yes; then -+ SYS_TIME_H_DEFINES_STRUCT_TIMESPEC=1 -+ else -+ AC_CACHE_CHECK([for struct timespec in ], -+ [gl_cv_sys_struct_timespec_in_pthread_h], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ ]], -+ [[static struct timespec x; x.tv_sec = x.tv_nsec;]])], -+ [gl_cv_sys_struct_timespec_in_pthread_h=yes], -+ [gl_cv_sys_struct_timespec_in_pthread_h=no])]) -+ if test $gl_cv_sys_struct_timespec_in_pthread_h = yes; then -+ PTHREAD_H_DEFINES_STRUCT_TIMESPEC=1 -+ fi -+ fi -+ fi -+ AC_SUBST([TIME_H_DEFINES_STRUCT_TIMESPEC]) -+ AC_SUBST([SYS_TIME_H_DEFINES_STRUCT_TIMESPEC]) -+ AC_SUBST([PTHREAD_H_DEFINES_STRUCT_TIMESPEC]) -+]) -+ -+AC_DEFUN([gl_TIME_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], -+[ -+ GNULIB_MKTIME=0; AC_SUBST([GNULIB_MKTIME]) -+ GNULIB_NANOSLEEP=0; AC_SUBST([GNULIB_NANOSLEEP]) -+ GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) -+ GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) -+ GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R]) -+ HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) -+ HAVE_STRPTIME=1; AC_SUBST([HAVE_STRPTIME]) -+ HAVE_TIMEGM=1; AC_SUBST([HAVE_TIMEGM]) -+ dnl If another module says to replace or to not replace, do that. -+ dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; -+ dnl this lets maintainers check for portability. -+ REPLACE_LOCALTIME_R=GNULIB_PORTCHECK; AC_SUBST([REPLACE_LOCALTIME_R]) -+ REPLACE_MKTIME=GNULIB_PORTCHECK; AC_SUBST([REPLACE_MKTIME]) -+ REPLACE_NANOSLEEP=GNULIB_PORTCHECK; AC_SUBST([REPLACE_NANOSLEEP]) -+ REPLACE_TIMEGM=GNULIB_PORTCHECK; AC_SUBST([REPLACE_TIMEGM]) -+]) -diff -Naur libiconv-20130504/srcm4/uintmax_t.m4 libiconv-20130504.patch/srcm4/uintmax_t.m4 ---- libiconv-20130504/srcm4/uintmax_t.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/uintmax_t.m4 2013-05-04 10:20:08.089697441 +0200 -@@ -0,0 +1,30 @@ -+# uintmax_t.m4 serial 12 -+dnl Copyright (C) 1997-2004, 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Paul Eggert. -+ -+AC_PREREQ([2.13]) -+ -+# Define uintmax_t to 'unsigned long' or 'unsigned long long' -+# if it is not already defined in or . -+ -+AC_DEFUN([gl_AC_TYPE_UINTMAX_T], -+[ -+ AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) -+ AC_REQUIRE([gl_AC_HEADER_STDINT_H]) -+ if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then -+ AC_REQUIRE([AC_TYPE_UNSIGNED_LONG_LONG_INT]) -+ test $ac_cv_type_unsigned_long_long_int = yes \ -+ && ac_type='unsigned long long' \ -+ || ac_type='unsigned long' -+ AC_DEFINE_UNQUOTED([uintmax_t], [$ac_type], -+ [Define to unsigned long or unsigned long long -+ if and don't define.]) -+ else -+ AC_DEFINE([HAVE_UINTMAX_T], [1], -+ [Define if you have the 'uintmax_t' type in or .]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/unistd_h.m4 libiconv-20130504.patch/srcm4/unistd_h.m4 ---- libiconv-20130504/srcm4/unistd_h.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/unistd_h.m4 2013-05-04 10:20:08.096697421 +0200 -@@ -0,0 +1,186 @@ -+# unistd_h.m4 serial 66 -+dnl Copyright (C) 2006-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl Written by Simon Josefsson, Bruno Haible. -+ -+AC_DEFUN([gl_UNISTD_H], -+[ -+ dnl Use AC_REQUIRE here, so that the default behavior below is expanded -+ dnl once only, before all statements that occur in other macros. -+ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) -+ -+ gl_CHECK_NEXT_HEADERS([unistd.h]) -+ if test $ac_cv_header_unistd_h = yes; then -+ HAVE_UNISTD_H=1 -+ else -+ HAVE_UNISTD_H=0 -+ fi -+ AC_SUBST([HAVE_UNISTD_H]) -+ -+ dnl Ensure the type pid_t gets defined. -+ AC_REQUIRE([AC_TYPE_PID_T]) -+ -+ dnl Determine WINDOWS_64_BIT_OFF_T. -+ AC_REQUIRE([gl_TYPE_OFF_T]) -+ -+ dnl Check for declarations of anything we want to poison if the -+ dnl corresponding gnulib module is not in use. -+ gl_WARN_ON_USE_PREPARE([[ -+#if HAVE_UNISTD_H -+# include -+#endif -+/* Some systems declare various items in the wrong headers. */ -+#if !(defined __GLIBC__ && !defined __UCLIBC__) -+# include -+# include -+# include -+# if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ -+# include -+# endif -+#endif -+ ]], [chdir chown dup dup2 dup3 environ euidaccess faccessat fchdir fchownat -+ fdatasync fsync ftruncate getcwd getdomainname getdtablesize getgroups -+ gethostname getlogin getlogin_r getpagesize -+ getusershell setusershell endusershell -+ group_member isatty lchown link linkat lseek pipe pipe2 pread pwrite -+ readlink readlinkat rmdir sethostname sleep symlink symlinkat ttyname_r -+ unlink unlinkat usleep]) -+]) -+ -+AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], -+[ -+ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. -+ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) -+ gl_MODULE_INDICATOR_SET_VARIABLE([$1]) -+ dnl Define it also as a C macro, for the benefit of the unit tests. -+ gl_MODULE_INDICATOR_FOR_TESTS([$1]) -+]) -+ -+AC_DEFUN([gl_UNISTD_H_DEFAULTS], -+[ -+ GNULIB_CHDIR=0; AC_SUBST([GNULIB_CHDIR]) -+ GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) -+ GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) -+ GNULIB_DUP=0; AC_SUBST([GNULIB_DUP]) -+ GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) -+ GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3]) -+ GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) -+ GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS]) -+ GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT]) -+ GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) -+ GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT]) -+ GNULIB_FDATASYNC=0; AC_SUBST([GNULIB_FDATASYNC]) -+ GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) -+ GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) -+ GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) -+ GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME]) -+ GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE]) -+ GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS]) -+ GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME]) -+ GNULIB_GETLOGIN=0; AC_SUBST([GNULIB_GETLOGIN]) -+ GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R]) -+ GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE]) -+ GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL]) -+ GNULIB_GROUP_MEMBER=0; AC_SUBST([GNULIB_GROUP_MEMBER]) -+ GNULIB_ISATTY=0; AC_SUBST([GNULIB_ISATTY]) -+ GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN]) -+ GNULIB_LINK=0; AC_SUBST([GNULIB_LINK]) -+ GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT]) -+ GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK]) -+ GNULIB_PIPE=0; AC_SUBST([GNULIB_PIPE]) -+ GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2]) -+ GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD]) -+ GNULIB_PWRITE=0; AC_SUBST([GNULIB_PWRITE]) -+ GNULIB_READ=0; AC_SUBST([GNULIB_READ]) -+ GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK]) -+ GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT]) -+ GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR]) -+ GNULIB_SETHOSTNAME=0; AC_SUBST([GNULIB_SETHOSTNAME]) -+ GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP]) -+ GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK]) -+ GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT]) -+ GNULIB_TTYNAME_R=0; AC_SUBST([GNULIB_TTYNAME_R]) -+ GNULIB_UNISTD_H_NONBLOCKING=0; AC_SUBST([GNULIB_UNISTD_H_NONBLOCKING]) -+ GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) -+ GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK]) -+ GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT]) -+ GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP]) -+ GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE]) -+ dnl Assume proper GNU behavior unless another module says otherwise. -+ HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN]) -+ HAVE_DUP2=1; AC_SUBST([HAVE_DUP2]) -+ HAVE_DUP3=1; AC_SUBST([HAVE_DUP3]) -+ HAVE_EUIDACCESS=1; AC_SUBST([HAVE_EUIDACCESS]) -+ HAVE_FACCESSAT=1; AC_SUBST([HAVE_FACCESSAT]) -+ HAVE_FCHDIR=1; AC_SUBST([HAVE_FCHDIR]) -+ HAVE_FCHOWNAT=1; AC_SUBST([HAVE_FCHOWNAT]) -+ HAVE_FDATASYNC=1; AC_SUBST([HAVE_FDATASYNC]) -+ HAVE_FSYNC=1; AC_SUBST([HAVE_FSYNC]) -+ HAVE_FTRUNCATE=1; AC_SUBST([HAVE_FTRUNCATE]) -+ HAVE_GETDTABLESIZE=1; AC_SUBST([HAVE_GETDTABLESIZE]) -+ HAVE_GETGROUPS=1; AC_SUBST([HAVE_GETGROUPS]) -+ HAVE_GETHOSTNAME=1; AC_SUBST([HAVE_GETHOSTNAME]) -+ HAVE_GETLOGIN=1; AC_SUBST([HAVE_GETLOGIN]) -+ HAVE_GETPAGESIZE=1; AC_SUBST([HAVE_GETPAGESIZE]) -+ HAVE_GROUP_MEMBER=1; AC_SUBST([HAVE_GROUP_MEMBER]) -+ HAVE_LCHOWN=1; AC_SUBST([HAVE_LCHOWN]) -+ HAVE_LINK=1; AC_SUBST([HAVE_LINK]) -+ HAVE_LINKAT=1; AC_SUBST([HAVE_LINKAT]) -+ HAVE_PIPE=1; AC_SUBST([HAVE_PIPE]) -+ HAVE_PIPE2=1; AC_SUBST([HAVE_PIPE2]) -+ HAVE_PREAD=1; AC_SUBST([HAVE_PREAD]) -+ HAVE_PWRITE=1; AC_SUBST([HAVE_PWRITE]) -+ HAVE_READLINK=1; AC_SUBST([HAVE_READLINK]) -+ HAVE_READLINKAT=1; AC_SUBST([HAVE_READLINKAT]) -+ HAVE_SETHOSTNAME=1; AC_SUBST([HAVE_SETHOSTNAME]) -+ HAVE_SLEEP=1; AC_SUBST([HAVE_SLEEP]) -+ HAVE_SYMLINK=1; AC_SUBST([HAVE_SYMLINK]) -+ HAVE_SYMLINKAT=1; AC_SUBST([HAVE_SYMLINKAT]) -+ HAVE_UNLINKAT=1; AC_SUBST([HAVE_UNLINKAT]) -+ HAVE_USLEEP=1; AC_SUBST([HAVE_USLEEP]) -+ HAVE_DECL_ENVIRON=1; AC_SUBST([HAVE_DECL_ENVIRON]) -+ HAVE_DECL_FCHDIR=1; AC_SUBST([HAVE_DECL_FCHDIR]) -+ HAVE_DECL_FDATASYNC=1; AC_SUBST([HAVE_DECL_FDATASYNC]) -+ HAVE_DECL_GETDOMAINNAME=1; AC_SUBST([HAVE_DECL_GETDOMAINNAME]) -+ HAVE_DECL_GETLOGIN_R=1; AC_SUBST([HAVE_DECL_GETLOGIN_R]) -+ HAVE_DECL_GETPAGESIZE=1; AC_SUBST([HAVE_DECL_GETPAGESIZE]) -+ HAVE_DECL_GETUSERSHELL=1; AC_SUBST([HAVE_DECL_GETUSERSHELL]) -+ HAVE_DECL_SETHOSTNAME=1; AC_SUBST([HAVE_DECL_SETHOSTNAME]) -+ HAVE_DECL_TTYNAME_R=1; AC_SUBST([HAVE_DECL_TTYNAME_R]) -+ HAVE_OS_H=0; AC_SUBST([HAVE_OS_H]) -+ HAVE_SYS_PARAM_H=0; AC_SUBST([HAVE_SYS_PARAM_H]) -+ REPLACE_CHOWN=0; AC_SUBST([REPLACE_CHOWN]) -+ REPLACE_CLOSE=0; AC_SUBST([REPLACE_CLOSE]) -+ REPLACE_DUP=0; AC_SUBST([REPLACE_DUP]) -+ REPLACE_DUP2=0; AC_SUBST([REPLACE_DUP2]) -+ REPLACE_FCHOWNAT=0; AC_SUBST([REPLACE_FCHOWNAT]) -+ REPLACE_FTRUNCATE=0; AC_SUBST([REPLACE_FTRUNCATE]) -+ REPLACE_GETCWD=0; AC_SUBST([REPLACE_GETCWD]) -+ REPLACE_GETDOMAINNAME=0; AC_SUBST([REPLACE_GETDOMAINNAME]) -+ REPLACE_GETLOGIN_R=0; AC_SUBST([REPLACE_GETLOGIN_R]) -+ REPLACE_GETGROUPS=0; AC_SUBST([REPLACE_GETGROUPS]) -+ REPLACE_GETPAGESIZE=0; AC_SUBST([REPLACE_GETPAGESIZE]) -+ REPLACE_ISATTY=0; AC_SUBST([REPLACE_ISATTY]) -+ REPLACE_LCHOWN=0; AC_SUBST([REPLACE_LCHOWN]) -+ REPLACE_LINK=0; AC_SUBST([REPLACE_LINK]) -+ REPLACE_LINKAT=0; AC_SUBST([REPLACE_LINKAT]) -+ REPLACE_LSEEK=0; AC_SUBST([REPLACE_LSEEK]) -+ REPLACE_PREAD=0; AC_SUBST([REPLACE_PREAD]) -+ REPLACE_PWRITE=0; AC_SUBST([REPLACE_PWRITE]) -+ REPLACE_READ=0; AC_SUBST([REPLACE_READ]) -+ REPLACE_READLINK=0; AC_SUBST([REPLACE_READLINK]) -+ REPLACE_RMDIR=0; AC_SUBST([REPLACE_RMDIR]) -+ REPLACE_SLEEP=0; AC_SUBST([REPLACE_SLEEP]) -+ REPLACE_SYMLINK=0; AC_SUBST([REPLACE_SYMLINK]) -+ REPLACE_TTYNAME_R=0; AC_SUBST([REPLACE_TTYNAME_R]) -+ REPLACE_UNLINK=0; AC_SUBST([REPLACE_UNLINK]) -+ REPLACE_UNLINKAT=0; AC_SUBST([REPLACE_UNLINKAT]) -+ REPLACE_USLEEP=0; AC_SUBST([REPLACE_USLEEP]) -+ REPLACE_WRITE=0; AC_SUBST([REPLACE_WRITE]) -+ UNISTD_H_HAVE_WINSOCK2_H=0; AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H]) -+ UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=0; -+ AC_SUBST([UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS]) -+]) -diff -Naur libiconv-20130504/srcm4/unlocked-io.m4 libiconv-20130504.patch/srcm4/unlocked-io.m4 ---- libiconv-20130504/srcm4/unlocked-io.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/unlocked-io.m4 2013-05-04 10:20:08.100697409 +0200 -@@ -0,0 +1,41 @@ -+# unlocked-io.m4 serial 15 -+ -+# Copyright (C) 1998-2006, 2009-2013 Free Software Foundation, Inc. -+# -+# This file is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+dnl From Jim Meyering. -+dnl -+dnl See if the glibc *_unlocked I/O macros or functions are available. -+dnl Use only those *_unlocked macros or functions that are declared -+dnl (because some of them were declared in Solaris 2.5.1 but were removed -+dnl in Solaris 2.6, whereas we want binaries built on Solaris 2.5.1 to run -+dnl on Solaris 2.6). -+ -+AC_DEFUN([gl_FUNC_GLIBC_UNLOCKED_IO], -+[ -+ AC_DEFINE([USE_UNLOCKED_IO], [1], -+ [Define to 1 if you want getc etc. to use unlocked I/O if available. -+ Unlocked I/O can improve performance in unithreaded apps, -+ but it is not safe for multithreaded apps.]) -+ -+ dnl Persuade glibc and Solaris to declare -+ dnl fgets_unlocked(), fputs_unlocked() etc. -+ AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) -+ -+ AC_CHECK_DECLS_ONCE([clearerr_unlocked]) -+ AC_CHECK_DECLS_ONCE([feof_unlocked]) -+ AC_CHECK_DECLS_ONCE([ferror_unlocked]) -+ AC_CHECK_DECLS_ONCE([fflush_unlocked]) -+ AC_CHECK_DECLS_ONCE([fgets_unlocked]) -+ AC_CHECK_DECLS_ONCE([fputc_unlocked]) -+ AC_CHECK_DECLS_ONCE([fputs_unlocked]) -+ AC_CHECK_DECLS_ONCE([fread_unlocked]) -+ AC_CHECK_DECLS_ONCE([fwrite_unlocked]) -+ AC_CHECK_DECLS_ONCE([getc_unlocked]) -+ AC_CHECK_DECLS_ONCE([getchar_unlocked]) -+ AC_CHECK_DECLS_ONCE([putc_unlocked]) -+ AC_CHECK_DECLS_ONCE([putchar_unlocked]) -+]) -diff -Naur libiconv-20130504/srcm4/visibility.m4 libiconv-20130504.patch/srcm4/visibility.m4 ---- libiconv-20130504/srcm4/visibility.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/visibility.m4 2013-05-04 10:20:08.104697397 +0200 -@@ -0,0 +1,77 @@ -+# visibility.m4 serial 5 (gettext-0.18.2) -+dnl Copyright (C) 2005, 2008, 2010-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+ -+dnl Tests whether the compiler supports the command-line option -+dnl -fvisibility=hidden and the function and variable attributes -+dnl __attribute__((__visibility__("hidden"))) and -+dnl __attribute__((__visibility__("default"))). -+dnl Does *not* test for __visibility__("protected") - which has tricky -+dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on -+dnl Mac OS X. -+dnl Does *not* test for __visibility__("internal") - which has processor -+dnl dependent semantics. -+dnl Does *not* test for #pragma GCC visibility push(hidden) - which is -+dnl "really only recommended for legacy code". -+dnl Set the variable CFLAG_VISIBILITY. -+dnl Defines and sets the variable HAVE_VISIBILITY. -+ -+AC_DEFUN([gl_VISIBILITY], -+[ -+ AC_REQUIRE([AC_PROG_CC]) -+ CFLAG_VISIBILITY= -+ HAVE_VISIBILITY=0 -+ if test -n "$GCC"; then -+ dnl First, check whether -Werror can be added to the command line, or -+ dnl whether it leads to an error because of some other option that the -+ dnl user has put into $CC $CFLAGS $CPPFLAGS. -+ AC_MSG_CHECKING([whether the -Werror option is usable]) -+ AC_CACHE_VAL([gl_cv_cc_vis_werror], [ -+ gl_save_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -Werror" -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM([[]], [[]])], -+ [gl_cv_cc_vis_werror=yes], -+ [gl_cv_cc_vis_werror=no]) -+ CFLAGS="$gl_save_CFLAGS"]) -+ AC_MSG_RESULT([$gl_cv_cc_vis_werror]) -+ dnl Now check whether visibility declarations are supported. -+ AC_MSG_CHECKING([for simple visibility declarations]) -+ AC_CACHE_VAL([gl_cv_cc_visibility], [ -+ gl_save_CFLAGS="$CFLAGS" -+ CFLAGS="$CFLAGS -fvisibility=hidden" -+ dnl We use the option -Werror and a function dummyfunc, because on some -+ dnl platforms (Cygwin 1.7) the use of -fvisibility triggers a warning -+ dnl "visibility attribute not supported in this configuration; ignored" -+ dnl at the first function definition in every compilation unit, and we -+ dnl don't want to use the option in this case. -+ if test $gl_cv_cc_vis_werror = yes; then -+ CFLAGS="$CFLAGS -Werror" -+ fi -+ AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[extern __attribute__((__visibility__("hidden"))) int hiddenvar; -+ extern __attribute__((__visibility__("default"))) int exportedvar; -+ extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); -+ extern __attribute__((__visibility__("default"))) int exportedfunc (void); -+ void dummyfunc (void) {} -+ ]], -+ [[]])], -+ [gl_cv_cc_visibility=yes], -+ [gl_cv_cc_visibility=no]) -+ CFLAGS="$gl_save_CFLAGS"]) -+ AC_MSG_RESULT([$gl_cv_cc_visibility]) -+ if test $gl_cv_cc_visibility = yes; then -+ CFLAG_VISIBILITY="-fvisibility=hidden" -+ HAVE_VISIBILITY=1 -+ fi -+ fi -+ AC_SUBST([CFLAG_VISIBILITY]) -+ AC_SUBST([HAVE_VISIBILITY]) -+ AC_DEFINE_UNQUOTED([HAVE_VISIBILITY], [$HAVE_VISIBILITY], -+ [Define to 1 or 0, depending whether the compiler supports simple visibility declarations.]) -+]) -diff -Naur libiconv-20130504/srcm4/warn-on-use.m4 libiconv-20130504.patch/srcm4/warn-on-use.m4 ---- libiconv-20130504/srcm4/warn-on-use.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/warn-on-use.m4 2013-05-04 10:20:08.108697386 +0200 -@@ -0,0 +1,47 @@ -+# warn-on-use.m4 serial 5 -+dnl Copyright (C) 2010-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+# gl_WARN_ON_USE_PREPARE(INCLUDES, NAMES) -+# --------------------------------------- -+# For each whitespace-separated element in the list of NAMES, define -+# HAVE_RAW_DECL_name if the function has a declaration among INCLUDES -+# even after being undefined as a macro. -+# -+# See warn-on-use.h for some hints on how to poison function names, as -+# well as ideas on poisoning global variables and macros. NAMES may -+# include global variables, but remember that only functions work with -+# _GL_WARN_ON_USE. Typically, INCLUDES only needs to list a single -+# header, but if the replacement header pulls in other headers because -+# some systems declare functions in the wrong header, then INCLUDES -+# should do likewise. -+# -+# It is generally safe to assume declarations for functions declared -+# in the intersection of C89 and C11 (such as printf) without -+# needing gl_WARN_ON_USE_PREPARE. -+AC_DEFUN([gl_WARN_ON_USE_PREPARE], -+[ -+ m4_foreach_w([gl_decl], [$2], -+ [AH_TEMPLATE([HAVE_RAW_DECL_]AS_TR_CPP(m4_defn([gl_decl])), -+ [Define to 1 if ]m4_defn([gl_decl])[ is declared even after -+ undefining macros.])])dnl -+dnl FIXME: gl_Symbol must be used unquoted until we can assume -+dnl autoconf 2.64 or newer. -+ for gl_func in m4_flatten([$2]); do -+ AS_VAR_PUSHDEF([gl_Symbol], [gl_cv_have_raw_decl_$gl_func])dnl -+ AC_CACHE_CHECK([whether $gl_func is declared without a macro], -+ gl_Symbol, -+ [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([$1], -+[@%:@undef $gl_func -+ (void) $gl_func;])], -+ [AS_VAR_SET(gl_Symbol, [yes])], [AS_VAR_SET(gl_Symbol, [no])])]) -+ AS_VAR_IF(gl_Symbol, [yes], -+ [AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_RAW_DECL_$gl_func]), [1]) -+ dnl shortcut - if the raw declaration exists, then set a cache -+ dnl variable to allow skipping any later AC_CHECK_DECL efforts -+ eval ac_cv_have_decl_$gl_func=yes]) -+ AS_VAR_POPDEF([gl_Symbol])dnl -+ done -+]) -diff -Naur libiconv-20130504/srcm4/wchar_t.m4 libiconv-20130504.patch/srcm4/wchar_t.m4 ---- libiconv-20130504/srcm4/wchar_t.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/wchar_t.m4 2013-05-04 10:20:08.111697377 +0200 -@@ -0,0 +1,24 @@ -+# wchar_t.m4 serial 4 (gettext-0.18.2) -+dnl Copyright (C) 2002-2003, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+dnl Test whether has the 'wchar_t' type. -+dnl Prerequisite: AC_PROG_CC -+ -+AC_DEFUN([gt_TYPE_WCHAR_T], -+[ -+ AC_CACHE_CHECK([for wchar_t], [gt_cv_c_wchar_t], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[#include -+ wchar_t foo = (wchar_t)'\0';]], -+ [[]])], -+ [gt_cv_c_wchar_t=yes], -+ [gt_cv_c_wchar_t=no])]) -+ if test $gt_cv_c_wchar_t = yes; then -+ AC_DEFINE([HAVE_WCHAR_T], [1], [Define if you have the 'wchar_t' type.]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/wint_t.m4 libiconv-20130504.patch/srcm4/wint_t.m4 ---- libiconv-20130504/srcm4/wint_t.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/wint_t.m4 2013-05-04 10:20:08.114697368 +0200 -@@ -0,0 +1,32 @@ -+# wint_t.m4 serial 5 (gettext-0.18.2) -+dnl Copyright (C) 2003, 2007-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+dnl From Bruno Haible. -+dnl Test whether has the 'wint_t' type. -+dnl Prerequisite: AC_PROG_CC -+ -+AC_DEFUN([gt_TYPE_WINT_T], -+[ -+ AC_CACHE_CHECK([for wint_t], [gt_cv_c_wint_t], -+ [AC_COMPILE_IFELSE( -+ [AC_LANG_PROGRAM( -+ [[ -+/* Tru64 with Desktop Toolkit C has a bug: must be included before -+ . -+ BSD/OS 4.0.1 has a bug: , and must be included -+ before . */ -+#include -+#include -+#include -+#include -+ wint_t foo = (wchar_t)'\0';]], -+ [[]])], -+ [gt_cv_c_wint_t=yes], -+ [gt_cv_c_wint_t=no])]) -+ if test $gt_cv_c_wint_t = yes; then -+ AC_DEFINE([HAVE_WINT_T], [1], [Define if you have the 'wint_t' type.]) -+ fi -+]) -diff -Naur libiconv-20130504/srcm4/xsize.m4 libiconv-20130504.patch/srcm4/xsize.m4 ---- libiconv-20130504/srcm4/xsize.m4 1970-01-01 01:00:00.000000000 +0100 -+++ libiconv-20130504.patch/srcm4/xsize.m4 2013-05-04 10:20:08.118697357 +0200 -@@ -0,0 +1,12 @@ -+# xsize.m4 serial 5 -+dnl Copyright (C) 2003-2004, 2008-2013 Free Software Foundation, Inc. -+dnl This file is free software; the Free Software Foundation -+dnl gives unlimited permission to copy and/or distribute it, -+dnl with or without modifications, as long as this notice is preserved. -+ -+AC_DEFUN([gl_XSIZE], -+[ -+ dnl Prerequisites of lib/xsize.h. -+ AC_REQUIRE([gl_SIZE_MAX]) -+ AC_CHECK_HEADERS([stdint.h]) -+]) diff --git a/packages/devel/popt/build b/packages/devel/popt/build deleted file mode 100755 index f85f4caffd..0000000000 --- a/packages/devel/popt/build +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2013 Dag Wieers (dag@wieers.com) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -cd $PKG_BUILD -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr \ - --exec-prefix=/usr \ - --sysconfdir=/etc \ - --datadir=/usr/share \ - --disable-shared \ - --enable-static \ - -make -$MAKEINSTALL diff --git a/packages/devel/popt/meta b/packages/devel/popt/meta deleted file mode 100644 index 255ab1a904..0000000000 --- a/packages/devel/popt/meta +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2023 Dag Wieers (dag@wieers.com) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -PKG_NAME="popt" -PKG_VERSION="1.16" -PKG_REV="1" -PKG_ARCH="any" -PKG_LICENSE="LGPL" -PKG_SITE="http://www.rpm5.org/" -PKG_URL="http://rpm5.org/files/popt/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain" -PKG_PRIORITY="optional" -PKG_SECTION="devel" -PKG_SHORTDESC="popt: library for parsing command line parameters" -PKG_LONGDESC="Popt is a C library for parsing command line parameters. Popt was heavily influenced by the getopt() and getopt_long() functions, but it improves on them by allowing more powerful argument expansion. Popt can parse arbitrary argv[] style arrays and automatically set variables based on command line arguments. Popt allows command line arguments to be aliased via configuration files and includes utility functions for parsing arbitrary strings into argv[] arrays using shell-like rules." -PKG_IS_ADDON="no" - -PKG_AUTORECONF="yes" diff --git a/packages/devel/popt/patches/popt-automake-1.12.patch b/packages/devel/popt/patches/popt-automake-1.12.patch deleted file mode 100644 index 3bd92081d6..0000000000 --- a/packages/devel/popt/patches/popt-automake-1.12.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur popt-1.16/configure.ac popt-1.16.patch/configure.ac ---- popt-1.16/configure.ac 2010-05-04 22:55:54.000000000 +0200 -+++ popt-1.16.patch/configure.ac 2013-03-05 13:20:28.769315267 +0100 -@@ -46,7 +46,6 @@ - AC_SYS_LARGEFILE - - AC_ISC_POSIX --AM_C_PROTOTYPES - - AC_CHECK_HEADERS(float.h fnmatch.h glob.h langinfo.h libintl.h mcheck.h unistd.h) - diff --git a/packages/devel/popt/patches/popt-automake-1.13.patch b/packages/devel/popt/patches/popt-automake-1.13.patch deleted file mode 100644 index d62ec3d1e4..0000000000 --- a/packages/devel/popt/patches/popt-automake-1.13.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur popt-1.16/Makefile.am popt-1.16.patch/Makefile.am ---- popt-1.16/Makefile.am 2010-05-04 22:55:54.000000000 +0200 -+++ popt-1.16.patch/Makefile.am 2013-03-05 13:27:22.179156704 +0100 -@@ -34,11 +34,6 @@ - - noinst_SCRIPTS = testit.sh - --TESTS_ENVIRONMENT = \ --test1="$(top_builddir)/test1" -- --TESTS = $(top_srcdir)/testit.sh -- - include_HEADERS = popt.h - - usrlibdir = $(libdir) diff --git a/packages/mediacenter/xbmc/build b/packages/mediacenter/xbmc/build index 8f79cb8555..cad46ad520 100755 --- a/packages/mediacenter/xbmc/build +++ b/packages/mediacenter/xbmc/build @@ -49,9 +49,7 @@ fi if [ "$XBMC_SCR_RSXS" = yes ]; then XBMC_RSXS="--enable-rsxs" # fix build of RSXS Screensaver support if not using libiconv - if [ ! "$ICONV" = "libiconv" ]; then - export jm_cv_func_gettimeofday_clobber=no - fi + export jm_cv_func_gettimeofday_clobber=no else XBMC_RSXS="--disable-rsxs" fi diff --git a/packages/network/afpfs-ng/meta b/packages/network/afpfs-ng/meta index 3bc5a6273f..74f2fc69b4 100644 --- a/packages/network/afpfs-ng/meta +++ b/packages/network/afpfs-ng/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://sourceforge.net/projects/afpfs-ng/" PKG_URL="$SOURCEFORGE_SRC/$PKG_NAME/$PKG_NAME/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="$ICONV libgpg-error libgcrypt ncurses" -PKG_BUILD_DEPENDS="toolchain $ICONV libgpg-error libgcrypt ncurses" +PKG_DEPENDS="libgpg-error libgcrypt ncurses" +PKG_BUILD_DEPENDS="toolchain libgpg-error libgcrypt ncurses" PKG_PRIORITY="optional" PKG_SECTION="network" PKG_SHORTDESC="afpfs-ng: an Apple Filing Protocol client" diff --git a/packages/network/samba/meta b/packages/network/samba/meta index 75275f7d3f..43abf77b17 100644 --- a/packages/network/samba/meta +++ b/packages/network/samba/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.samba.org" PKG_URL="http://samba.org/samba/ftp/stable/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="$ICONV zlib connman" -PKG_BUILD_DEPENDS="toolchain zlib attr $ICONV" +PKG_DEPENDS="zlib connman" +PKG_BUILD_DEPENDS="toolchain zlib attr" PKG_PRIORITY="optional" PKG_SECTION="network" PKG_SHORTDESC="samba: The free SMB / CIFS fileserver and client" diff --git a/packages/other/enca/build b/packages/other/enca/build index 72871b4d77..5a685bee3c 100755 --- a/packages/other/enca/build +++ b/packages/other/enca/build @@ -22,11 +22,6 @@ . config/options $1 -if [ "$ICONV" = "libiconv" ]; then - CONFIG_ENCA="--with-libiconv-prefix=$SYSROOT_PREFIX/usr" - export LDFLAGS="$LDFLAGS -liconv" -fi - CFLAGS="$CFLAGS -fPIC -DPIC" cd $PKG_BUILD @@ -44,7 +39,6 @@ CPPFLAGS="-I$SYSROOT_PREFIX/usr/include" \ --disable-shared \ --enable-static \ --disable-external \ - $CONFIG_ENCA \ --without-librecode \ --disable-rpath \ --with-gnu-ld diff --git a/packages/other/enca/meta b/packages/other/enca/meta index 398a03bbe0..9f05e03112 100644 --- a/packages/other/enca/meta +++ b/packages/other/enca/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://freshmeat.net/projects/enca/" PKG_URL="http://dl.cihar.com/enca/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="$ICONV" -PKG_BUILD_DEPENDS="toolchain $ICONV" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" PKG_PRIORITY="optional" PKG_SECTION="other" PKG_SHORTDESC="enca: detects the encoding of text files, on the basis of knowledge of their language." diff --git a/packages/sysutils/fuse/meta b/packages/sysutils/fuse/meta index f3b216bc52..97262b8660 100644 --- a/packages/sysutils/fuse/meta +++ b/packages/sysutils/fuse/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://sourceforge.net/projects/fuse/" PKG_URL="$SOURCEFORGE_SRC/fuse/fuse-2.X/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="$ICONV" -PKG_BUILD_DEPENDS="toolchain $ICONV" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" PKG_PRIORITY="optional" PKG_SECTION="system" PKG_SHORTDESC="fuse: A simple user-space filesystem interface for Linux" diff --git a/packages/sysutils/lm_sensors/build b/packages/sysutils/lm_sensors/build index 3bf3f45468..cb494a7504 100755 --- a/packages/sysutils/lm_sensors/build +++ b/packages/sysutils/lm_sensors/build @@ -22,14 +22,9 @@ . config/options $1 -if [ "$ICONV" = "libiconv" ]; then - CONFIG_SENSORS="LIBICONV=-liconv" -fi - cd $PKG_BUILD make PREFIX=/usr \ CC="$TARGET_CC" \ AR="$TARGET_AR" \ CFLAGS="$TARGET_CFLAGS" \ CPPFLAGS="$TARGET_CPPFLAGS" \ - $CONFIG_SENSORS \ diff --git a/packages/sysutils/lm_sensors/meta b/packages/sysutils/lm_sensors/meta index 5ab34a4618..35e70b1141 100644 --- a/packages/sysutils/lm_sensors/meta +++ b/packages/sysutils/lm_sensors/meta @@ -26,8 +26,8 @@ PKG_LICENSE="GPL" PKG_SITE="http://secure.netroedge.com/~lm78/" #PKG_URL="http://dl.lm-sensors.org/lm-sensors/releases/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_URL="http://ftp.gwdg.de/pub/linux/misc/lm-sensors/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="$ICONV" -PKG_BUILD_DEPENDS="toolchain $ICONV" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain" PKG_PRIORITY="optional" PKG_SECTION="system" PKG_SHORTDESC="lm_sensors: Hardware monitoring via the SMBus" diff --git a/packages/textproc/libxml2/build b/packages/textproc/libxml2/build index 312d4e8beb..c75db65008 100755 --- a/packages/textproc/libxml2/build +++ b/packages/textproc/libxml2/build @@ -22,10 +22,6 @@ . config/options $1 -if [ "$ICONV" = "libiconv" ]; then - CONFIG_LIBXML="--with-iconv" -fi - cd $PKG_BUILD mkdir -p .build-target @@ -37,7 +33,6 @@ cd .build-target --enable-static \ --enable-shared \ --disable-silent-rules \ - $CONFIG_LIBXML \ --enable-ipv6 \ --without-python \ --with-zlib \ diff --git a/packages/textproc/libxml2/meta b/packages/textproc/libxml2/meta index 10bd3958fe..b3a93350cd 100644 --- a/packages/textproc/libxml2/meta +++ b/packages/textproc/libxml2/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="MIT" PKG_SITE="http://xmlsoft.org" PKG_URL="ftp://xmlsoft.org/libxml2/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="$ICONV zlib" -PKG_BUILD_DEPENDS="toolchain $ICONV zlib" +PKG_DEPENDS="zlib" +PKG_BUILD_DEPENDS="toolchain zlib" PKG_PRIORITY="optional" PKG_SECTION="textproc" PKG_SHORTDESC="libxml: XML parser library for Gnome" diff --git a/packages/textproc/xerces-c/build b/packages/textproc/xerces-c/build index 6b9e63009d..602a1f6189 100755 --- a/packages/textproc/xerces-c/build +++ b/packages/textproc/xerces-c/build @@ -25,10 +25,6 @@ # xerces_c fails to build with LTO support # strip_lto -if [ "$ICONV" = "libiconv" ]; then - export LDFLAGS="$LDFLAGS -liconv" -fi - cd $PKG_BUILD ./configure --host=$TARGET_NAME \ --build=$HOST_NAME \ diff --git a/packages/textproc/xerces-c/meta b/packages/textproc/xerces-c/meta index c1060a7d3d..089cc71567 100644 --- a/packages/textproc/xerces-c/meta +++ b/packages/textproc/xerces-c/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="APL" PKG_SITE="http://xml.apache.org/xerces-c/" PKG_URL="http://mirror.switch.ch/mirror/apache/dist/xerces/c/3/sources/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="$ICONV curl" -PKG_BUILD_DEPENDS="toolchain $ICONV curl" +PKG_DEPENDS="curl" +PKG_BUILD_DEPENDS="toolchain curl" PKG_PRIORITY="optional" PKG_SECTION="textproc" PKG_SHORTDESC="xerces-c: A C++ XML parser" diff --git a/packages/x11/data/xkeyboard-config/meta b/packages/x11/data/xkeyboard-config/meta index a7c6815e5b..89f4c37dbd 100644 --- a/packages/x11/data/xkeyboard-config/meta +++ b/packages/x11/data/xkeyboard-config/meta @@ -26,7 +26,7 @@ PKG_LICENSE="OSS" PKG_SITE="http://www.X.org" PKG_URL="http://www.x.org/releases/individual/data/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain util-macros xkbcomp $ICONV" +PKG_BUILD_DEPENDS="toolchain util-macros xkbcomp" PKG_PRIORITY="optional" PKG_SECTION="x11/data" PKG_SHORTDESC="xkeyboard-config: X keyboard extension data files"