Changeset 3120


Ignore:
Timestamp:
03/06/08 15:49:56 (5 years ago)
Author:
alanbach-guest
Message:
  • Reverted 70_mandatory-relibtoolize.patch to older version
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pkg/main/gdm/trunk/debian/patches/70_mandatory-relibtoolize.patch

    r3082 r3120  
    88rm -rf autom4te.cache 
    99 
    10 diff -x'*config.sub' -x'*config.guess' -Naur gdm-2.20.3.old/aclocal.m4 gdm-2.20.3/aclocal.m4 
    11 --- gdm-2.20.3.old/aclocal.m4   2008-01-07 20:42:14.000000000 +0100 
    12 +++ gdm-2.20.3/aclocal.m4       2008-01-08 15:26:24.000000000 +0100 
    13 @@ -16,3354 +16,2520 @@ 
     10diff -x'*config.sub' -x'*config.guess' -Naur gdm-2.20.3.orig/aclocal.m4 gdm-2.20.3.new/aclocal.m4 
     11--- gdm-2.20.3.orig/aclocal.m4  2008-01-08 14:39:13.000000000 +0330 
     12+++ gdm-2.20.3.new/aclocal.m4   2008-01-09 08:34:06.000000000 +0330 
     13@@ -16,4193 +16,4448 @@ 
    1414 You have another version of autoconf.  If you want to use that, 
    1515 you should regenerate the build system entirely.], [63])]) 
     
    834834- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl 
    835835- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl 
    836 +dnl GNOME_COMPILE_WARNINGS 
    837 +dnl Turn on many useful compiler warnings 
    838 +dnl For now, only works on GCC 
    839 +AC_DEFUN([GNOME_COMPILE_WARNINGS],[ 
    840 +    dnl ****************************** 
    841 +    dnl More compiler warnings 
    842 +    dnl ****************************** 
     836+# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    843837  
    844838-_AM_IF_OPTION([no-define],, 
    845839-[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) 
    846840- AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl 
    847 +    AC_ARG_ENABLE(compile-warnings,  
    848 +                  AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], 
    849 +                                 [Turn on compiler warnings]),, 
    850 +                  [enable_compile_warnings="m4_default([$1],[yes])"]) 
     841+# serial 51 Debian 1.5.24-2 AC_PROG_LIBTOOL 
    851842  
    852843-# Some tools Automake needs. 
     
    884875-]) 
    885876-]) 
    886 +    warnCFLAGS= 
    887 +    if test "x$GCC" != xyes; then 
    888 +       enable_compile_warnings=no 
    889 +    fi 
    890   
    891 +    warning_flags= 
    892 +    realsave_CFLAGS="$CFLAGS" 
     877  
     878+# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 
     879+# ----------------------------------------------------------- 
     880+# If this macro is not defined by Autoconf, define it here. 
     881+m4_ifdef([AC_PROVIDE_IFELSE], 
     882+         [], 
     883+         [m4_define([AC_PROVIDE_IFELSE], 
     884+                [m4_ifdef([AC_PROVIDE_$1], 
     885+                          [$2], [$3])])]) 
    893886  
    894887-# When config.status generates a header, we must update the stamp-h file. 
    895888-# This file resides in the same directory as the config header 
    896889-# that is generated.  The stamp files are numbered to have different names. 
    897 +    case "$enable_compile_warnings" in 
    898 +    no) 
    899 +       warning_flags= 
    900 +       ;; 
    901 +    minimum) 
    902 +       warning_flags="-Wall" 
    903 +       ;; 
    904 +    yes) 
    905 +       warning_flags="-Wall -Wmissing-prototypes" 
    906 +       ;; 
    907 +    maximum|error) 
    908 +       warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith" 
    909 +       CFLAGS="$warning_flags $CFLAGS" 
    910 +       for option in -Wno-sign-compare; do 
    911 +               SAVE_CFLAGS="$CFLAGS" 
    912 +               CFLAGS="$CFLAGS $option" 
    913 +               AC_MSG_CHECKING([whether gcc understands $option]) 
    914 +               AC_TRY_COMPILE([], [], 
    915 +                       has_option=yes, 
    916 +                       has_option=no,) 
    917 +               CFLAGS="$SAVE_CFLAGS" 
    918 +               AC_MSG_RESULT($has_option) 
    919 +               if test $has_option = yes; then 
    920 +                 warning_flags="$warning_flags $option" 
    921 +               fi 
    922 +               unset has_option 
    923 +               unset SAVE_CFLAGS 
    924 +       done 
    925 +       unset option 
    926 +       if test "$enable_compile_warnings" = "error" ; then 
    927 +           warning_flags="$warning_flags -Werror" 
    928 +       fi 
    929 +       ;; 
    930 +    *) 
    931 +       AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) 
    932 +       ;; 
    933 +    esac 
    934 +    CFLAGS="$realsave_CFLAGS" 
    935 +    AC_MSG_CHECKING(what warning flags to pass to the C compiler) 
    936 +    AC_MSG_RESULT($warning_flags) 
    937890  
    938891-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 
     
    951904-done 
    952905-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) 
    953 +    AC_ARG_ENABLE(iso-c, 
    954 +                  AC_HELP_STRING([--enable-iso-c], 
    955 +                                 [Try to warn if code is not ISO C ]),, 
    956 +                  [enable_iso_c=no]) 
     906+# AC_PROG_LIBTOOL 
     907+# --------------- 
     908+AC_DEFUN([AC_PROG_LIBTOOL], 
     909+[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl 
     910+dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX 
     911+dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. 
     912+  AC_PROVIDE_IFELSE([AC_PROG_CXX], 
     913+    [AC_LIBTOOL_CXX], 
     914+    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX 
     915+  ])]) 
     916+dnl And a similar setup for Fortran 77 support 
     917+  AC_PROVIDE_IFELSE([AC_PROG_F77], 
     918+    [AC_LIBTOOL_F77], 
     919+    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 
     920+])]) 
    957921  
    958922-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc. 
     
    961925-# gives unlimited permission to copy and/or distribute it, 
    962926-# with or without modifications, as long as this notice is preserved. 
    963 +    AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) 
    964 +    complCFLAGS= 
    965 +    if test "x$enable_iso_c" != "xno"; then 
    966 +       if test "x$GCC" = "xyes"; then 
    967 +       case " $CFLAGS " in 
    968 +           *[\ \       ]-ansi[\ \      ]*) ;; 
    969 +           *) complCFLAGS="$complCFLAGS -ansi" ;; 
    970 +       esac 
    971 +       case " $CFLAGS " in 
    972 +           *[\ \       ]-pedantic[\ \  ]*) ;; 
    973 +           *) complCFLAGS="$complCFLAGS -pedantic" ;; 
    974 +       esac 
    975 +       fi 
    976 +    fi 
    977 +    AC_MSG_RESULT($complCFLAGS) 
     927+dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. 
     928+dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run 
     929+dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. 
     930+  AC_PROVIDE_IFELSE([AC_PROG_GCJ], 
     931+    [AC_LIBTOOL_GCJ], 
     932+    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], 
     933+      [AC_LIBTOOL_GCJ], 
     934+      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], 
     935+       [AC_LIBTOOL_GCJ], 
     936+      [ifdef([AC_PROG_GCJ], 
     937+            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
     938+       ifdef([A][M_PROG_GCJ], 
     939+            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
     940+       ifdef([LT_AC_PROG_GCJ], 
     941+            [define([LT_AC_PROG_GCJ], 
     942+               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) 
     943+])])# AC_PROG_LIBTOOL 
    978944  
    979945-# AM_PROG_INSTALL_SH 
     
    984950-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"} 
    985951-AC_SUBST(install_sh)]) 
    986 +    WARN_CFLAGS="$warning_flags $complCFLAGS" 
    987 +    AC_SUBST(WARN_CFLAGS) 
    988 +]) 
    989952  
    990953-# Copyright (C) 2003, 2005  Free Software Foundation, Inc. 
     
    993956-# gives unlimited permission to copy and/or distribute it, 
    994957-# with or without modifications, as long as this notice is preserved. 
    995 +dnl For C++, do basically the same thing. 
     958+# _AC_PROG_LIBTOOL 
     959+# ---------------- 
     960+AC_DEFUN([_AC_PROG_LIBTOOL], 
     961+[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl 
     962+AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl 
     963+AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl 
     964+AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl 
    996965  
    997966-# serial 2 
    998 +AC_DEFUN([GNOME_CXX_WARNINGS],[ 
    999 +  AC_ARG_ENABLE(cxx-warnings, 
    1000 +                AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@] 
    1001 +                               [Turn on compiler warnings.]),, 
    1002 +                [enable_cxx_warnings="m4_default([$1],[minimum])"]) 
     967+# This can be used to rebuild libtool when needed 
     968+LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 
    1003969  
    1004970-# Check whether the underlying file-system supports filenames 
     
    1014980-rmdir .tst 2>/dev/null 
    1015981-AC_SUBST([am__leading_dot])]) 
    1016 +  AC_MSG_CHECKING(what warning flags to pass to the C++ compiler) 
    1017 +  warnCXXFLAGS= 
    1018 +  if test "x$GXX" != xyes; then 
    1019 +    enable_cxx_warnings=no 
    1020 +  fi 
    1021 +  if test "x$enable_cxx_warnings" != "xno"; then 
    1022 +    if test "x$GXX" = "xyes"; then 
    1023 +      case " $CXXFLAGS " in 
    1024 +      *[\ \    ]-Wall[\ \      ]*) ;; 
    1025 +      *) warnCXXFLAGS="-Wall -Wno-unused" ;; 
    1026 +      esac 
     982+# Always use our own libtool. 
     983+LIBTOOL='$(SHELL) $(top_builddir)/libtool' 
     984+AC_SUBST(LIBTOOL)dnl 
    1027985  
    1028986-# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*- 
    1029987-# From Jim Meyering 
    1030 +      ## -W is not all that useful.  And it cannot be controlled 
    1031 +      ## with individual -Wno-xxx flags, unlike -Wall 
    1032 +      if test "x$enable_cxx_warnings" = "xyes"; then 
    1033 +       warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" 
    1034 +      fi 
    1035 +    fi 
    1036 +  fi 
    1037 +  AC_MSG_RESULT($warnCXXFLAGS) 
     988+# Prevent multiple expansion 
     989+define([AC_PROG_LIBTOOL], []) 
     990+])# _AC_PROG_LIBTOOL 
    1038991  
    1039992-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 
     
    1043996-# gives unlimited permission to copy and/or distribute it, 
    1044997-# with or without modifications, as long as this notice is preserved. 
    1045 +   AC_ARG_ENABLE(iso-cxx, 
    1046 +                 AC_HELP_STRING([--enable-iso-cxx], 
    1047 +                                [Try to warn if code is not ISO C++ ]),, 
    1048 +                 [enable_iso_cxx=no]) 
    1049998  
    1050999-# serial 4 
    1051 +   AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler) 
    1052 +   complCXXFLAGS= 
    1053 +   if test "x$enable_iso_cxx" != "xno"; then 
    1054 +     if test "x$GXX" = "xyes"; then 
    1055 +      case " $CXXFLAGS " in 
    1056 +      *[\ \    ]-ansi[\ \      ]*) ;; 
    1057 +      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; 
    1058 +      esac 
     1000+# AC_LIBTOOL_SETUP 
     1001+# ---------------- 
     1002+AC_DEFUN([AC_LIBTOOL_SETUP], 
     1003+[AC_PREREQ(2.50)dnl 
     1004+AC_REQUIRE([AC_ENABLE_SHARED])dnl 
     1005+AC_REQUIRE([AC_ENABLE_STATIC])dnl 
     1006+AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl 
     1007+AC_REQUIRE([AC_CANONICAL_HOST])dnl 
     1008+AC_REQUIRE([AC_CANONICAL_BUILD])dnl 
     1009+AC_REQUIRE([AC_PROG_CC])dnl 
     1010+AC_REQUIRE([AC_PROG_LD])dnl 
     1011+AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl 
     1012+AC_REQUIRE([AC_PROG_NM])dnl 
    10591013  
    10601014-AC_DEFUN([AM_MAINTAINER_MODE], 
     
    10721026-] 
    10731027-) 
    1074 +      case " $CXXFLAGS " in 
    1075 +      *[\ \    ]-pedantic[\ \  ]*) ;; 
    1076 +      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; 
    1077 +      esac 
    1078 +     fi 
    1079 +   fi 
    1080 +  AC_MSG_RESULT($complCXXFLAGS) 
     1028+AC_REQUIRE([AC_PROG_LN_S])dnl 
     1029+AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl 
     1030+# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 
     1031+AC_REQUIRE([AC_OBJEXT])dnl 
     1032+AC_REQUIRE([AC_EXEEXT])dnl 
     1033+dnl 
    10811034  
    10821035-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) 
    1083 +  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" 
    1084 +  AC_SUBST(WARN_CXXFLAGS) 
    1085 +]) 
     1036+AC_LIBTOOL_SYS_MAX_CMD_LEN 
     1037+AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 
     1038+AC_LIBTOOL_OBJDIR 
    10861039  
    10871040-# Check to see how 'make' treats includes.                 -*- Autoconf -*- 
    1088 +# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
     1041+AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
     1042+_LT_AC_PROG_ECHO_BACKSLASH 
    10891043  
    10901044-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc. 
     
    10931047-# gives unlimited permission to copy and/or distribute it, 
    10941048-# with or without modifications, as long as this notice is preserved. 
    1095 +# serial 51 Debian 1.5.24-2 AC_PROG_LIBTOOL 
     1049+case $host_os in 
     1050+aix3*) 
     1051+  # AIX sometimes has problems with the GCC collect2 program.  For some 
     1052+  # reason, if we set the COLLECT_NAMES environment variable, the problems 
     1053+  # vanish in a puff of smoke. 
     1054+  if test "X${COLLECT_NAMES+set}" != Xset; then 
     1055+    COLLECT_NAMES= 
     1056+    export COLLECT_NAMES 
     1057+  fi 
     1058+  ;; 
     1059+esac 
    10961060  
    10971061-# serial 3 
     1062+# Sed substitution that helps us do robust quoting.  It backslashifies 
     1063+# metacharacters that are still active within double-quoted strings. 
     1064+Xsed='sed -e 1s/^X//' 
     1065+[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 
    10981066  
    10991067-# AM_MAKE_INCLUDE() 
     
    11381106-rm -f confinc confmf 
    11391107-]) 
    1140 +# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 
    1141 +# ----------------------------------------------------------- 
    1142 +# If this macro is not defined by Autoconf, define it here. 
    1143 +m4_ifdef([AC_PROVIDE_IFELSE], 
    1144 +         [], 
    1145 +         [m4_define([AC_PROVIDE_IFELSE], 
    1146 +                [m4_ifdef([AC_PROVIDE_$1], 
    1147 +                          [$2], [$3])])]) 
     1108+# Same as above, but do not quote variable references. 
     1109+[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] 
    11481110  
    11491111-# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*- 
     1112+# Sed substitution to delay expansion of an escaped shell variable in a 
     1113+# double_quote_subst'ed string. 
     1114+delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 
    11501115  
    11511116-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005 
     
    11551120-# gives unlimited permission to copy and/or distribute it, 
    11561121-# with or without modifications, as long as this notice is preserved. 
    1157 +# AC_PROG_LIBTOOL 
    1158 +# --------------- 
    1159 +AC_DEFUN([AC_PROG_LIBTOOL], 
    1160 +[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl 
    1161 +dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX 
    1162 +dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. 
    1163 +  AC_PROVIDE_IFELSE([AC_PROG_CXX], 
    1164 +    [AC_LIBTOOL_CXX], 
    1165 +    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX 
    1166 +  ])]) 
    1167 +dnl And a similar setup for Fortran 77 support 
    1168 +  AC_PROVIDE_IFELSE([AC_PROG_F77], 
    1169 +    [AC_LIBTOOL_F77], 
    1170 +    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 
    1171 +])]) 
     1122+# Sed substitution to avoid accidental globbing in evaled expressions 
     1123+no_glob_subst='s/\*/\\\*/g' 
    11721124  
    11731125-# serial 5 
    1174 +dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. 
    1175 +dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run 
    1176 +dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. 
    1177 +  AC_PROVIDE_IFELSE([AC_PROG_GCJ], 
    1178 +    [AC_LIBTOOL_GCJ], 
    1179 +    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], 
    1180 +      [AC_LIBTOOL_GCJ], 
    1181 +      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], 
    1182 +       [AC_LIBTOOL_GCJ], 
    1183 +      [ifdef([AC_PROG_GCJ], 
    1184 +            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
    1185 +       ifdef([A][M_PROG_GCJ], 
    1186 +            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
    1187 +       ifdef([LT_AC_PROG_GCJ], 
    1188 +            [define([LT_AC_PROG_GCJ], 
    1189 +               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) 
    1190 +])])# AC_PROG_LIBTOOL 
     1126+# Constants: 
     1127+rm="rm -f" 
    11911128  
    11921129-# AM_MISSING_PROG(NAME, PROGRAM) 
     
    11961133-$1=${$1-"${am_missing_run}$2"} 
    11971134-AC_SUBST($1)]) 
    1198   
    1199 +# _AC_PROG_LIBTOOL 
    1200 +# ---------------- 
    1201 +AC_DEFUN([_AC_PROG_LIBTOOL], 
    1202 +[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl 
    1203 +AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl 
    1204 +AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl 
    1205 +AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl 
     1135+# Global variables: 
     1136+default_ofile=libtool 
     1137+can_build_shared=yes 
     1138  
     1139+# All known linkers require a `.a' archive for static linking (except MSVC, 
     1140+# which needs '.lib'). 
     1141+libext=a 
     1142+ltmain="$ac_aux_dir/ltmain.sh" 
     1143+ofile="$default_ofile" 
     1144+with_gnu_ld="$lt_cv_prog_gnu_ld" 
    12061145  
    12071146-# AM_MISSING_HAS_RUN 
     
    12191158-  am_missing_run= 
    12201159-  AC_MSG_WARN([`missing' script is too old or missing]) 
    1221 -fi 
     1160+AC_CHECK_TOOL(AR, ar, false) 
     1161+AC_CHECK_TOOL(RANLIB, ranlib, :) 
     1162+AC_CHECK_TOOL(STRIP, strip, :) 
     1163+ 
     1164+old_CC="$CC" 
     1165+old_CFLAGS="$CFLAGS" 
     1166+ 
     1167+# Set sane defaults for various variables 
     1168+test -z "$AR" && AR=ar 
     1169+test -z "$AR_FLAGS" && AR_FLAGS=cru 
     1170+test -z "$AS" && AS=as 
     1171+test -z "$CC" && CC=cc 
     1172+test -z "$LTCC" && LTCC=$CC 
     1173+test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
     1174+test -z "$DLLTOOL" && DLLTOOL=dlltool 
     1175+test -z "$LD" && LD=ld 
     1176+test -z "$LN_S" && LN_S="ln -s" 
     1177+test -z "$MAGIC_CMD" && MAGIC_CMD=file 
     1178+test -z "$NM" && NM=nm 
     1179+test -z "$SED" && SED=sed 
     1180+test -z "$OBJDUMP" && OBJDUMP=objdump 
     1181+test -z "$RANLIB" && RANLIB=: 
     1182+test -z "$STRIP" && STRIP=: 
     1183+test -z "$ac_objext" && ac_objext=o 
     1184+ 
     1185+# Determine commands to create old-style static archives. 
     1186+old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 
     1187+old_postinstall_cmds='chmod 644 $oldlib' 
     1188+old_postuninstall_cmds= 
     1189+ 
     1190+if test -n "$RANLIB"; then 
     1191+  case $host_os in 
     1192+  openbsd*) 
     1193+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
     1194+    ;; 
     1195+  *) 
     1196+    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 
     1197+    ;; 
     1198+  esac 
     1199+  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 
     1200 fi 
    12221201-]) 
    1223 +# This can be used to rebuild libtool when needed 
    1224 +LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 
    12251202  
    12261203-# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc. 
     
    12291206-# gives unlimited permission to copy and/or distribute it, 
    12301207-# with or without modifications, as long as this notice is preserved. 
    1231 +# Always use our own libtool. 
    1232 +LIBTOOL='$(SHELL) $(top_builddir)/libtool' 
    1233 +AC_SUBST(LIBTOOL)dnl 
     1208+_LT_CC_BASENAME([$compiler]) 
    12341209  
    12351210-# AM_PROG_MKDIR_P 
     
    12501225-  [[\\/$]]* | ?:[[\\/]]*) ;; 
    12511226-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 
    1252 -esac 
     1227+# Only perform the check for file, if the check method requires it 
     1228+case $deplibs_check_method in 
     1229+file_magic*) 
     1230+  if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
     1231+    AC_PATH_MAGIC 
     1232+  fi 
     1233+  ;; 
     1234 esac 
    12531235-]) 
    1254 +# Prevent multiple expansion 
    1255 +define([AC_PROG_LIBTOOL], []) 
    1256 +])# _AC_PROG_LIBTOOL 
    12571236  
    12581237-# Helper functions for option handling.                     -*- Autoconf -*- 
     1238+AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 
     1239+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
     1240+enable_win32_dll=yes, enable_win32_dll=no) 
    12591241  
    12601242-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc. 
     
    12631245-# gives unlimited permission to copy and/or distribute it, 
    12641246-# with or without modifications, as long as this notice is preserved. 
    1265 +# AC_LIBTOOL_SETUP 
    1266 +# ---------------- 
    1267 +AC_DEFUN([AC_LIBTOOL_SETUP], 
    1268 +[AC_PREREQ(2.50)dnl 
    1269 +AC_REQUIRE([AC_ENABLE_SHARED])dnl 
    1270 +AC_REQUIRE([AC_ENABLE_STATIC])dnl 
    1271 +AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl 
    1272 +AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    1273 +AC_REQUIRE([AC_CANONICAL_BUILD])dnl 
    1274 +AC_REQUIRE([AC_PROG_CC])dnl 
    1275 +AC_REQUIRE([AC_PROG_LD])dnl 
    1276 +AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl 
    1277 +AC_REQUIRE([AC_PROG_NM])dnl 
     1247+AC_ARG_ENABLE([libtool-lock], 
     1248+    [AC_HELP_STRING([--disable-libtool-lock], 
     1249+       [avoid locking (might break parallel builds)])]) 
     1250+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
    12781251  
    12791252-# serial 3 
    1280 +AC_REQUIRE([AC_PROG_LN_S])dnl 
    1281 +AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl 
    1282 +# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 
    1283 +AC_REQUIRE([AC_OBJEXT])dnl 
    1284 +AC_REQUIRE([AC_EXEEXT])dnl 
    1285 +dnl 
     1253+AC_ARG_WITH([pic], 
     1254+    [AC_HELP_STRING([--with-pic], 
     1255+       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 
     1256+    [pic_mode="$withval"], 
     1257+    [pic_mode=default]) 
     1258+test -z "$pic_mode" && pic_mode=default 
    12861259  
    12871260-# _AM_MANGLE_OPTION(NAME) 
     
    12891262-AC_DEFUN([_AM_MANGLE_OPTION], 
    12901263-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) 
    1291 +AC_LIBTOOL_SYS_MAX_CMD_LEN 
    1292 +AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 
    1293 +AC_LIBTOOL_OBJDIR 
     1264+# Use C for the default configuration in the libtool script 
     1265+tagname= 
     1266+AC_LIBTOOL_LANG_C_CONFIG 
     1267+_LT_AC_TAGCONFIG 
     1268+])# AC_LIBTOOL_SETUP 
    12941269  
    12951270-# _AM_SET_OPTION(NAME) 
     
    12981273-AC_DEFUN([_AM_SET_OPTION], 
    12991274-[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) 
    1300 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
    1301 +_LT_AC_PROG_ECHO_BACKSLASH 
    13021275  
    13031276-# _AM_SET_OPTIONS(OPTIONS) 
     
    13061279-AC_DEFUN([_AM_SET_OPTIONS], 
    13071280-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) 
    1308 +case $host_os in 
    1309 +aix3*) 
    1310 +  # AIX sometimes has problems with the GCC collect2 program.  For some 
    1311 +  # reason, if we set the COLLECT_NAMES environment variable, the problems 
    1312 +  # vanish in a puff of smoke. 
    1313 +  if test "X${COLLECT_NAMES+set}" != Xset; then 
    1314 +    COLLECT_NAMES= 
    1315 +    export COLLECT_NAMES 
    1316 +  fi 
    1317 +  ;; 
    1318 +esac 
     1281+# _LT_AC_SYS_COMPILER 
     1282+# ------------------- 
     1283+AC_DEFUN([_LT_AC_SYS_COMPILER], 
     1284+[AC_REQUIRE([AC_PROG_CC])dnl 
    13191285  
    13201286-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) 
     
    13231289-AC_DEFUN([_AM_IF_OPTION], 
    13241290-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) 
    1325 +# Sed substitution that helps us do robust quoting.  It backslashifies 
    1326 +# metacharacters that are still active within double-quoted strings. 
    1327 +Xsed='sed -e 1s/^X//' 
    1328 +[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 
     1291+# If no C compiler was specified, use CC. 
     1292+LTCC=${LTCC-"$CC"} 
    13291293  
    13301294-# Check to make sure that the build environment is sane.    -*- Autoconf -*- 
    1331 +# Same as above, but do not quote variable references. 
    1332 +[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] 
     1295+# If no C compiler flags were specified, use CFLAGS. 
     1296+LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
    13331297  
    13341298-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 
     
    13381302-# gives unlimited permission to copy and/or distribute it, 
    13391303-# with or without modifications, as long as this notice is preserved. 
    1340 +# Sed substitution to delay expansion of an escaped shell variable in a 
    1341 +# double_quote_subst'ed string. 
    1342 +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 
     1304+# Allow CC to be a program name with arguments. 
     1305+compiler=$CC 
     1306+])# _LT_AC_SYS_COMPILER 
    13431307  
    13441308-# serial 4 
    1345 +# Sed substitution to avoid accidental globbing in evaled expressions 
    1346 +no_glob_subst='s/\*/\\\*/g' 
    13471309  
    13481310-# AM_SANITY_CHECK 
     
    13671329-   if test "$[*]" != "X $srcdir/configure conftest.file" \ 
    13681330-      && test "$[*]" != "X conftest.file $srcdir/configure"; then 
    1369 +# Constants: 
    1370 +rm="rm -f" 
     1331+# _LT_CC_BASENAME(CC) 
     1332+# ------------------- 
     1333+# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix. 
     1334+AC_DEFUN([_LT_CC_BASENAME], 
     1335+[for cc_temp in $1""; do 
     1336+  case $cc_temp in 
     1337+    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 
     1338+    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 
     1339+    \-*) ;; 
     1340+    *) break;; 
     1341+  esac 
     1342+done 
     1343+cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
     1344+]) 
    13711345  
    13721346-      # If neither matched, then we have a broken ls.  This can happen 
     
    13771351-alias in your environment]) 
    13781352-   fi 
    1379 - 
     1353  
    13801354-   test "$[2]" = conftest.file 
    13811355-   ) 
     
    13881362-fi 
    13891363-AC_MSG_RESULT(yes)]) 
    1390 - 
     1364+# _LT_COMPILER_BOILERPLATE 
     1365+# ------------------------ 
     1366+# Check for compiler boilerplate output or warnings with 
     1367+# the simple compiler test code. 
     1368+AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
     1369+[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1370+ac_outfile=conftest.$ac_objext 
     1371+echo "$lt_simple_compile_test_code" >conftest.$ac_ext 
     1372+eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
     1373+_lt_compiler_boilerplate=`cat conftest.err` 
     1374+$rm conftest* 
     1375+])# _LT_COMPILER_BOILERPLATE 
     1376  
    13911377-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc. 
    13921378-# 
     
    13941380-# gives unlimited permission to copy and/or distribute it, 
    13951381-# with or without modifications, as long as this notice is preserved. 
    1396 - 
     1382  
    13971383-# AM_PROG_INSTALL_STRIP 
    13981384-# --------------------- 
     
    14161402-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 
    14171403-AC_SUBST([INSTALL_STRIP_PROGRAM])]) 
    1418 +# Global variables: 
    1419 +default_ofile=libtool 
    1420 +can_build_shared=yes 
    1421   
     1404- 
    14221405-# Copyright (C) 2006  Free Software Foundation, Inc. 
    14231406-# 
     
    14251408-# gives unlimited permission to copy and/or distribute it, 
    14261409-# with or without modifications, as long as this notice is preserved. 
    1427 +# All known linkers require a `.a' archive for static linking (except MSVC, 
    1428 +# which needs '.lib'). 
    1429 +libext=a 
    1430 +ltmain="$ac_aux_dir/ltmain.sh" 
    1431 +ofile="$default_ofile" 
    1432 +with_gnu_ld="$lt_cv_prog_gnu_ld" 
     1410+# _LT_LINKER_BOILERPLATE 
     1411+# ---------------------- 
     1412+# Check for linker boilerplate output or warnings with 
     1413+# the simple link test code. 
     1414+AC_DEFUN([_LT_LINKER_BOILERPLATE], 
     1415+[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1416+ac_outfile=conftest.$ac_objext 
     1417+echo "$lt_simple_link_test_code" >conftest.$ac_ext 
     1418+eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
     1419+_lt_linker_boilerplate=`cat conftest.err` 
     1420+$rm conftest* 
     1421+])# _LT_LINKER_BOILERPLATE 
    14331422  
    14341423-# _AM_SUBST_NOTMAKE(VARIABLE) 
     
    14371426-# This macro is traced by Automake. 
    14381427-AC_DEFUN([_AM_SUBST_NOTMAKE]) 
    1439 +AC_CHECK_TOOL(AR, ar, false) 
    1440 +AC_CHECK_TOOL(RANLIB, ranlib, :) 
    1441 +AC_CHECK_TOOL(STRIP, strip, :) 
    14421428  
    14431429-# Check how to create a tarball.                            -*- Autoconf -*- 
    1444 +old_CC="$CC" 
    1445 +old_CFLAGS="$CFLAGS" 
     1430+# _LT_AC_SYS_LIBPATH_AIX 
     1431+# ---------------------- 
     1432+# Links a minimal program and checks the executable 
     1433+# for the system default hardcoded library path. In most cases, 
     1434+# this is /usr/lib:/lib, but when the MPI compilers are used 
     1435+# the location of the communication and MPI libs are included too. 
     1436+# If we don't find anything, use the default library path according 
     1437+# to the aix ld manual. 
     1438+AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 
     1439+[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     1440+AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
     1441+lt_aix_libpath_sed=' 
     1442+    /Import File Strings/,/^$/ { 
     1443+       /^0/ { 
     1444+           s/^0  *\(.*\)$/\1/ 
     1445+           p 
     1446+       } 
     1447+    }' 
     1448+aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
     1449+# Check for a 64-bit object if we didn't find anything. 
     1450+if test -z "$aix_libpath"; then 
     1451+  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
     1452+fi],[]) 
     1453+if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
     1454+])# _LT_AC_SYS_LIBPATH_AIX 
    14461455  
    14471456-# Copyright (C) 2004, 2005  Free Software Foundation, Inc. 
     
    14501459-# gives unlimited permission to copy and/or distribute it, 
    14511460-# with or without modifications, as long as this notice is preserved. 
    1452 +# Set sane defaults for various variables 
    1453 +test -z "$AR" && AR=ar 
    1454 +test -z "$AR_FLAGS" && AR_FLAGS=cru 
    1455 +test -z "$AS" && AS=as 
    1456 +test -z "$CC" && CC=cc 
    1457 +test -z "$LTCC" && LTCC=$CC 
    1458 +test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
    1459 +test -z "$DLLTOOL" && DLLTOOL=dlltool 
    1460 +test -z "$LD" && LD=ld 
    1461 +test -z "$LN_S" && LN_S="ln -s" 
    1462 +test -z "$MAGIC_CMD" && MAGIC_CMD=file 
    1463 +test -z "$NM" && NM=nm 
    1464 +test -z "$SED" && SED=sed 
    1465 +test -z "$OBJDUMP" && OBJDUMP=objdump 
    1466 +test -z "$RANLIB" && RANLIB=: 
    1467 +test -z "$STRIP" && STRIP=: 
    1468 +test -z "$ac_objext" && ac_objext=o 
    14691461  
    14701462-# serial 2 
    1471 +# Determine commands to create old-style static archives. 
    1472 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 
    1473 +old_postinstall_cmds='chmod 644 $oldlib' 
    1474 +old_postuninstall_cmds= 
     1463+# _LT_AC_SHELL_INIT(ARG) 
     1464+# ---------------------- 
     1465+AC_DEFUN([_LT_AC_SHELL_INIT], 
     1466+[ifdef([AC_DIVERSION_NOTICE], 
     1467+            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], 
     1468+        [AC_DIVERT_PUSH(NOTICE)]) 
     1469+$1 
     1470+AC_DIVERT_POP 
     1471+])# _LT_AC_SHELL_INIT 
    14751472  
    14761473-# _AM_PROG_TAR(FORMAT) 
     
    15291526-    am__tar_='find "$tardir" -print | cpio -o -H $1 -L' 
    15301527-    am__untar='cpio -i -H $1 -d' 
    1531 +if test -n "$RANLIB"; then 
    1532 +  case $host_os in 
    1533 +  openbsd*) 
    1534 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
    1535      ;; 
     1528-    ;; 
    15361529-  none) 
    15371530-    am__tar=false 
    15381531-    am__tar_=false 
    15391532-    am__untar=false 
    1540 +  *) 
    1541 +    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 
    1542      ;; 
    1543    esac 
    1544 +  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 
    1545 +fi 
     1533-    ;; 
     1534-  esac 
    15461535  
    15471536-  # If the value was cached, stop now.  We just wanted to have am__tar 
    15481537-  # and am__untar set. 
    15491538-  test -n "${am_cv_prog_tar_$1}" && break 
    1550 +_LT_CC_BASENAME([$compiler]) 
     1539+# _LT_AC_PROG_ECHO_BACKSLASH 
     1540+# -------------------------- 
     1541+# Add some code to the start of the generated configure script which 
     1542+# will find an echo command which doesn't interpret backslashes. 
     1543+AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], 
     1544+[_LT_AC_SHELL_INIT([ 
     1545+# Check that we are running under the correct shell. 
     1546+SHELL=${CONFIG_SHELL-/bin/sh} 
    15511547  
    15521548-  # tar/untar a dummy directory, and stop if the command works 
     
    15591555-    AM_RUN_LOG([$am__untar <conftest.tar]) 
    15601556-    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 
    1561 +# Only perform the check for file, if the check method requires it 
    1562 +case $deplibs_check_method in 
    1563 +file_magic*) 
    1564 +  if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
    1565 +    AC_PATH_MAGIC 
    1566    fi 
     1557-  fi 
    15671558-done 
    15681559-rm -rf conftest.dir 
    1569 - 
     1560+case X$ECHO in 
     1561+X*--fallback-echo) 
     1562+  # Remove one level of quotation (which was required for Make). 
     1563+  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` 
     1564+  ;; 
     1565+esac 
     1566  
    15701567-AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) 
    15711568-AC_MSG_RESULT([$am_cv_prog_tar_$1])]) 
     
    15731570-AC_SUBST([am__untar]) 
    15741571-]) # _AM_PROG_TAR 
    1575 +  ;; 
    1576 +esac 
     1572+echo=${ECHO-echo} 
     1573+if test "X[$]1" = X--no-reexec; then 
     1574+  # Discard the --no-reexec flag, and continue. 
     1575+  shift 
     1576+elif test "X[$]1" = X--fallback-echo; then 
     1577+  # Avoid inline document here, it may be left over 
     1578+  : 
     1579+elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 
     1580+  # Yippee, $echo works! 
     1581+  : 
     1582+else 
     1583+  # Restart under the correct shell. 
     1584+  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} 
     1585+fi 
    15771586  
    15781587-# Copyright (C) 1995-2002 Free Software Foundation, Inc. 
     
    16081617-# using AM_GLIB_GNU_GETTEXT 
    16091618-AC_PREREQ(2.53) 
    1610 +AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 
    1611 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
    1612 +enable_win32_dll=yes, enable_win32_dll=no) 
     1619+if test "X[$]1" = X--fallback-echo; then 
     1620+  # used as fallback echo 
     1621+  shift 
     1622+  cat <<EOF 
     1623+[$]* 
     1624+EOF 
     1625+  exit 0 
     1626+fi 
    16131627  
    16141628-dnl 
     
    16231637-dnl definitions in terms of our private definitions. 
    16241638-dnl 
    1625 +AC_ARG_ENABLE([libtool-lock], 
    1626 +    [AC_HELP_STRING([--disable-libtool-lock], 
    1627 +       [avoid locking (might break parallel builds)])]) 
    1628 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
     1639+# The HP-UX ksh and POSIX shell print the target directory to stdout 
     1640+# if CDPATH is set. 
     1641+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
    16291642  
    16301643-# GLIB_LC_MESSAGES 
     
    16391652-      AC_DEFINE(HAVE_LC_MESSAGES, 1, 
    16401653-        [Define if your <locale.h> file defines LC_MESSAGES.]) 
    1641 -    fi 
     1654+if test -z "$ECHO"; then 
     1655+if test "X${echo_test_string+set}" != Xset; then 
     1656+# find a string as large as possible, as long as the shell can cope with it 
     1657+  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
     1658+    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
     1659+    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
     1660+       echo_test_string=`eval $cmd` && 
     1661+       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
     1662+    then 
     1663+      break 
     1664     fi 
    16421665-  fi]) 
    1643 +AC_ARG_WITH([pic], 
    1644 +    [AC_HELP_STRING([--with-pic], 
    1645 +       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 
    1646 +    [pic_mode="$withval"], 
    1647 +    [pic_mode=default]) 
    1648 +test -z "$pic_mode" && pic_mode=default 
     1666+  done 
     1667+fi 
    16491668  
    16501669-# GLIB_PATH_PROG_WITH_TEST 
     
    16821701-if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then 
    16831702-  AC_MSG_RESULT([$]$1) 
    1684 -else 
     1703+if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
     1704+   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
     1705+   test "X$echo_testing_string" = "X$echo_test_string"; then 
     1706+  : 
     1707 else 
    16851708-  AC_MSG_RESULT(no) 
    16861709-fi 
     
    16951718-    USE_NLS=yes 
    16961719-    AC_SUBST(USE_NLS) 
    1697 +# Use C for the default configuration in the libtool script 
    1698 +tagname= 
    1699 +AC_LIBTOOL_LANG_C_CONFIG 
    1700 +_LT_AC_TAGCONFIG 
    1701 +])# AC_LIBTOOL_SETUP 
     1720+  # The Solaris, AIX, and Digital Unix default echo programs unquote 
     1721+  # backslashes.  This makes it impossible to quote backslashes using 
     1722+  #   echo "$something" | sed 's/\\/\\\\/g' 
     1723+  # 
     1724+  # So, first we look for a working echo in the user's PATH. 
    17021725  
    17031726-    gt_cv_have_gettext=no 
     1727+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
     1728+  for dir in $PATH /usr/ucb; do 
     1729+    IFS="$lt_save_ifs" 
     1730+    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
     1731+       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
     1732+       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 
     1733+       test "X$echo_testing_string" = "X$echo_test_string"; then 
     1734+      echo="$dir/echo" 
     1735+      break 
     1736+    fi 
     1737+  done 
     1738+  IFS="$lt_save_ifs" 
    17041739  
    17051740-    CATOBJEXT=NONE 
    17061741-    XGETTEXT=: 
    17071742-    INTLLIBS= 
    1708 +# _LT_AC_SYS_COMPILER 
    1709 +# ------------------- 
    1710 +AC_DEFUN([_LT_AC_SYS_COMPILER], 
    1711 +[AC_REQUIRE([AC_PROG_CC])dnl 
     1743+  if test "X$echo" = Xecho; then 
     1744+    # We didn't find a better echo, so look for alternatives. 
     1745+    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 
     1746+       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 
     1747+       test "X$echo_testing_string" = "X$echo_test_string"; then 
     1748+      # This shell has a builtin print -r that does the trick. 
     1749+      echo='print -r' 
     1750+    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 
     1751+        test "X$CONFIG_SHELL" != X/bin/ksh; then 
     1752+      # If we have ksh, try running configure again with it. 
     1753+      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 
     1754+      export ORIGINAL_CONFIG_SHELL 
     1755+      CONFIG_SHELL=/bin/ksh 
     1756+      export CONFIG_SHELL 
     1757+      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} 
     1758+    else 
     1759+      # Try using printf. 
     1760+      echo='printf %s\n' 
     1761+      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
     1762+        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
     1763+        test "X$echo_testing_string" = "X$echo_test_string"; then 
     1764+       # Cool, printf works 
     1765+       : 
     1766+      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
     1767+          test "X$echo_testing_string" = 'X\t' && 
     1768+          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
     1769+          test "X$echo_testing_string" = "X$echo_test_string"; then 
     1770+       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 
     1771+       export CONFIG_SHELL 
     1772+       SHELL="$CONFIG_SHELL" 
     1773+       export SHELL 
     1774+       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
     1775+      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
     1776+          test "X$echo_testing_string" = 'X\t' && 
     1777+          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
     1778+          test "X$echo_testing_string" = "X$echo_test_string"; then 
     1779+       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
     1780+      else 
     1781+       # maybe with a smaller string... 
     1782+       prev=: 
    17121783  
    17131784-    AC_CHECK_HEADER(libintl.h, 
    17141785-     [gt_cv_func_dgettext_libintl="no" 
    17151786-      libintl_extra_libs="" 
    1716 +# If no C compiler was specified, use CC. 
    1717 +LTCC=${LTCC-"$CC"} 
     1787+       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do 
     1788+         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 
     1789+         then 
     1790+           break 
     1791+         fi 
     1792+         prev="$cmd" 
     1793+       done 
    17181794  
    17191795-      # 
     
    17421818-      if test "$gt_cv_func_ngettext_libc" = "yes" ; then 
    17431819-        AC_CHECK_FUNCS(bind_textdomain_codeset) 
    1744 -      fi 
    1745 +# If no C compiler flags were specified, use CFLAGS. 
    1746 +LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
     1820+       if test "$prev" != 'sed 50q "[$]0"'; then 
     1821+         echo_test_string=`eval $prev` 
     1822+         export echo_test_string 
     1823+         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} 
     1824+       else 
     1825+         # Oops.  We lost completely, so just stick with echo. 
     1826+         echo=echo 
     1827+       fi 
     1828       fi 
     1829+    fi 
     1830+  fi 
     1831+fi 
     1832+fi 
    17471833  
    17481834-      # 
     
    17571843-                   [AC_CHECK_LIB(intl, dgettext, 
    17581844-                                 gt_cv_func_dgettext_libintl=yes)])]) 
    1759 +# Allow CC to be a program name with arguments. 
    1760 +compiler=$CC 
    1761 +])# _LT_AC_SYS_COMPILER 
     1845+# Copy echo and quote the copy suitably for passing to libtool from 
     1846+# the Makefile, instead of quoting the original, which is used later. 
     1847+ECHO=$echo 
     1848+if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then 
     1849+   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" 
     1850+fi 
    17621851  
    17631852-       if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 
     
    17711860-               :,-liconv) 
    17721861-        fi 
     1862+AC_SUBST(ECHO) 
     1863+])])# _LT_AC_PROG_ECHO_BACKSLASH 
    17731864  
    17741865-        # 
     
    17831874-          AC_CHECK_FUNCS(bind_textdomain_codeset) 
    17841875-          LIBS="$glib_save_LIBS" 
    1785 +# _LT_CC_BASENAME(CC) 
    1786 +# ------------------- 
    1787 +# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix. 
    1788 +AC_DEFUN([_LT_CC_BASENAME], 
    1789 +[for cc_temp in $1""; do 
    1790 +  case $cc_temp in 
    1791 +    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 
    1792 +    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 
    1793 +    \-*) ;; 
    1794 +    *) break;; 
    1795 +  esac 
    1796 +done 
    1797 +cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
    1798 +]) 
    17991876  
    18001877-          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 
     
    18081885-        fi 
    18091886-      fi 
     1887+# _LT_AC_LOCK 
     1888+# ----------- 
     1889+AC_DEFUN([_LT_AC_LOCK], 
     1890+[AC_ARG_ENABLE([libtool-lock], 
     1891+    [AC_HELP_STRING([--disable-libtool-lock], 
     1892+       [avoid locking (might break parallel builds)])]) 
     1893+test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
    18101894  
    18111895-      if test "$gt_cv_func_dgettext_libc" = "yes" \ 
     
    18731957-      fi 
    18741958-    ]) 
    1875 +# _LT_COMPILER_BOILERPLATE 
    1876 +# ------------------------ 
    1877 +# Check for compiler boilerplate output or warnings with 
    1878 +# the simple compiler test code. 
    1879 +AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
    1880 +[AC_REQUIRE([LT_AC_PROG_SED])dnl 
    1881 +ac_outfile=conftest.$ac_objext 
    1882 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext 
    1883 +eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    1884 +_lt_compiler_boilerplate=`cat conftest.err` 
    1885 +$rm conftest* 
    1886 +])# _LT_COMPILER_BOILERPLATE 
    1887   
     1959- 
    18881960-    if test "$gt_cv_have_gettext" = "yes" ; then 
    18891961-      AC_DEFINE(ENABLE_NLS, 1, 
    18901962-        [always defined to indicate that i18n is enabled]) 
    18911963-    fi 
    1892   
     1964- 
    18931965-    dnl Test whether we really found GNU xgettext. 
    18941966-    if test "$XGETTEXT" != ":"; then 
     
    19031975-      fi 
    19041976-    fi 
    1905 +# _LT_LINKER_BOILERPLATE 
    1906 +# ---------------------- 
    1907 +# Check for linker boilerplate output or warnings with 
    1908 +# the simple link test code. 
    1909 +AC_DEFUN([_LT_LINKER_BOILERPLATE], 
    1910 +[AC_REQUIRE([LT_AC_PROG_SED])dnl 
    1911 +ac_outfile=conftest.$ac_objext 
    1912 +echo "$lt_simple_link_test_code" >conftest.$ac_ext 
    1913 +eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    1914 +_lt_linker_boilerplate=`cat conftest.err` 
    1915 +$rm conftest* 
    1916 +])# _LT_LINKER_BOILERPLATE 
    1917   
     1977- 
    19181978-    # We need to process the po/ directory. 
    19191979-    POSUB=po 
     1980+# Some flags need to be propagated to the compiler or linker for good 
     1981+# libtool support. 
     1982+case $host in 
     1983+ia64-*-hpux*) 
     1984+  # Find out which ABI we are using. 
     1985+  echo 'int i;' > conftest.$ac_ext 
     1986+  if AC_TRY_EVAL(ac_compile); then 
     1987+    case `/usr/bin/file conftest.$ac_objext` in 
     1988+    *ELF-32*) 
     1989+      HPUX_IA64_MODE="32" 
     1990+      ;; 
     1991+    *ELF-64*) 
     1992+      HPUX_IA64_MODE="64" 
     1993+      ;; 
     1994+    esac 
     1995+  fi 
     1996+  rm -rf conftest* 
     1997+  ;; 
     1998+*-*-irix6*) 
     1999+  # Find out which ABI we are using. 
     2000+  echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
     2001+  if AC_TRY_EVAL(ac_compile); then 
     2002+   if test "$lt_cv_prog_gnu_ld" = yes; then 
     2003+    case `/usr/bin/file conftest.$ac_objext` in 
     2004+    *32-bit*) 
     2005+      LD="${LD-ld} -melf32bsmip" 
     2006+      ;; 
     2007+    *N32*) 
     2008+      LD="${LD-ld} -melf32bmipn32" 
     2009+      ;; 
     2010+    *64-bit*) 
     2011+      LD="${LD-ld} -melf64bmip" 
     2012+      ;; 
     2013+    esac 
     2014+   else 
     2015+    case `/usr/bin/file conftest.$ac_objext` in 
     2016+    *32-bit*) 
     2017+      LD="${LD-ld} -32" 
     2018+      ;; 
     2019+    *N32*) 
     2020+      LD="${LD-ld} -n32" 
     2021+      ;; 
     2022+    *64-bit*) 
     2023+      LD="${LD-ld} -64" 
     2024+      ;; 
     2025+    esac 
     2026+   fi 
     2027+  fi 
     2028+  rm -rf conftest* 
     2029+  ;; 
    19202030  
    19212031-    AC_OUTPUT_COMMANDS( 
     
    19232033-        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 
    19242034-      esac]) 
    1925 - 
     2035+x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 
     2036+s390*-*linux*|sparc*-*linux*) 
     2037+  # Find out which ABI we are using. 
     2038+  echo 'int i;' > conftest.$ac_ext 
     2039+  if AC_TRY_EVAL(ac_compile); then 
     2040+    case `/usr/bin/file conftest.o` in 
     2041+    *32-bit*) 
     2042+      case $host in 
     2043+        x86_64-*kfreebsd*-gnu) 
     2044+          LD="${LD-ld} -m elf_i386_fbsd" 
     2045+          ;; 
     2046+        x86_64-*linux*) 
     2047+          LD="${LD-ld} -m elf_i386" 
     2048+          ;; 
     2049+        ppc64-*linux*|powerpc64-*linux*) 
     2050+          LD="${LD-ld} -m elf32ppclinux" 
     2051+          ;; 
     2052+        s390x-*linux*) 
     2053+          LD="${LD-ld} -m elf_s390" 
     2054+          ;; 
     2055+        sparc64-*linux*) 
     2056+          LD="${LD-ld} -m elf32_sparc" 
     2057+          ;; 
     2058+      esac 
     2059+      ;; 
     2060+    *64-bit*) 
     2061+      case $host in 
     2062+        x86_64-*kfreebsd*-gnu) 
     2063+          LD="${LD-ld} -m elf_x86_64_fbsd" 
     2064+          ;; 
     2065+        x86_64-*linux*) 
     2066+          LD="${LD-ld} -m elf_x86_64" 
     2067+          ;; 
     2068+        ppc*-*linux*|powerpc*-*linux*) 
     2069+          LD="${LD-ld} -m elf64ppc" 
     2070+          ;; 
     2071+        s390*-*linux*) 
     2072+          LD="${LD-ld} -m elf64_s390" 
     2073+          ;; 
     2074+        sparc*-*linux*) 
     2075+          LD="${LD-ld} -m elf64_sparc" 
     2076+          ;; 
     2077+      esac 
     2078+      ;; 
     2079+    esac 
     2080+  fi 
     2081+  rm -rf conftest* 
     2082+  ;; 
     2083  
    19262084-    dnl These rules are solely for the distribution goal.  While doing this 
    19272085-    dnl we only have to keep exactly one list of the available catalogs 
     
    19312089-      POFILES="$POFILES $lang.po" 
    19322090-    done 
    1933 - 
     2091+*-*-sco3.2v5*) 
     2092+  # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
     2093+  SAVE_CFLAGS="$CFLAGS" 
     2094+  CFLAGS="$CFLAGS -belf" 
     2095+  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, 
     2096+    [AC_LANG_PUSH(C) 
     2097+     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) 
     2098+     AC_LANG_POP]) 
     2099+  if test x"$lt_cv_cc_needs_belf" != x"yes"; then 
     2100+    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
     2101+    CFLAGS="$SAVE_CFLAGS" 
     2102+  fi 
     2103+  ;; 
     2104+sparc*-*solaris*) 
     2105+  # Find out which ABI we are using. 
     2106+  echo 'int i;' > conftest.$ac_ext 
     2107+  if AC_TRY_EVAL(ac_compile); then 
     2108+    case `/usr/bin/file conftest.o` in 
     2109+    *64-bit*) 
     2110+      case $lt_cv_prog_gnu_ld in 
     2111+      yes*) LD="${LD-ld} -m elf64_sparc" ;; 
     2112+      *)    LD="${LD-ld} -64" ;; 
     2113+      esac 
     2114+      ;; 
     2115+    esac 
     2116+  fi 
     2117+  rm -rf conftest* 
     2118+  ;; 
     2119  
    19342120-    dnl Make all variables we use known to autoconf. 
    19352121-    AC_SUBST(CATALOGS) 
     
    19432129-    AC_SUBST(POFILES) 
    19442130-    AC_SUBST(POSUB) 
    1945 -  ]) 
    1946 +# _LT_AC_SYS_LIBPATH_AIX 
    1947 +# ---------------------- 
    1948 +# Links a minimal program and checks the executable 
    1949 +# for the system default hardcoded library path. In most cases, 
    1950 +# this is /usr/lib:/lib, but when the MPI compilers are used 
    1951 +# the location of the communication and MPI libs are included too. 
    1952 +# If we don't find anything, use the default library path according 
    1953 +# to the aix ld manual. 
    1954 +AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 
    1955 +[AC_REQUIRE([LT_AC_PROG_SED])dnl 
    1956 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
    1957 +lt_aix_libpath_sed=' 
    1958 +    /Import File Strings/,/^$/ { 
    1959 +       /^0/ { 
    1960 +           s/^0  *\(.*\)$/\1/ 
    1961 +           p 
    1962 +       } 
    1963 +    }' 
    1964 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
    1965 +# Check for a 64-bit object if we didn't find anything. 
    1966 +if test -z "$aix_libpath"; then 
    1967 +  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 
    1968 +fi],[]) 
    1969 +if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
    1970 +])# _LT_AC_SYS_LIBPATH_AIX 
     2131+AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
     2132+[*-*-cygwin* | *-*-mingw* | *-*-pw32*) 
     2133+  AC_CHECK_TOOL(DLLTOOL, dlltool, false) 
     2134+  AC_CHECK_TOOL(AS, as, false) 
     2135+  AC_CHECK_TOOL(OBJDUMP, objdump, false) 
     2136+  ;; 
     2137   ]) 
     2138+esac 
    19712139  
    19722140-# AM_GLIB_GNU_GETTEXT 
     
    19862154-   GLIB_LC_MESSAGES 
    19872155-   GLIB_WITH_NLS 
    1988   
     2156- 
    19892157-   if test "$gt_cv_have_gettext" = "yes"; then 
    19902158-     if test "x$ALL_LINGUAS" = "x"; then 
     
    20172185-       AC_MSG_RESULT($LINGUAS) 
    20182186-     fi 
    2019 +# _LT_AC_SHELL_INIT(ARG) 
    2020 +# ---------------------- 
    2021 +AC_DEFUN([_LT_AC_SHELL_INIT], 
    2022 +[ifdef([AC_DIVERSION_NOTICE], 
    2023 +            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], 
    2024 +        [AC_DIVERT_PUSH(NOTICE)]) 
    2025 +$1 
    2026 +AC_DIVERT_POP 
    2027 +])# _LT_AC_SHELL_INIT 
     2187+need_locks="$enable_libtool_lock" 
    20282188  
    20292189-     dnl Construct list of names of catalog files to be constructed. 
     
    20322192-     fi 
    20332193-   fi 
     2194+])# _LT_AC_LOCK 
    20342195  
    20352196-   dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly 
     
    20442205-   fi 
    20452206-   AC_SUBST(MKINSTALLDIRS) 
    2046 +# _LT_AC_PROG_ECHO_BACKSLASH 
    2047 +# -------------------------- 
    2048 +# Add some code to the start of the generated configure script which 
    2049 +# will find an echo command which doesn't interpret backslashes. 
    2050 +AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], 
    2051 +[_LT_AC_SHELL_INIT([ 
    2052 +# Check that we are running under the correct shell. 
    2053 +SHELL=${CONFIG_SHELL-/bin/sh} 
    20542207  
    20552208-   dnl Generate list of files to be processed by xgettext which will 
     
    20612214-     else 
    20622215-       posrcprefix="../$srcdir/" 
    2063 -     fi 
     2216+# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
     2217+#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) 
     2218+# ---------------------------------------------------------------- 
     2219+# Check whether the given compiler option works 
     2220+AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 
     2221+[AC_REQUIRE([LT_AC_PROG_SED]) 
     2222+AC_CACHE_CHECK([$1], [$2], 
     2223+  [$2=no 
     2224+  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
     2225+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
     2226+   lt_compiler_flag="$3" 
     2227+   # Insert the option either (1) after the last *FLAGS variable, or 
     2228+   # (2) before a word containing "conftest.", or (3) at the end. 
     2229+   # Note that $ac_compile itself does not contain backslashes and begins 
     2230+   # with a dollar sign (not a hyphen), so the echo should work correctly. 
     2231+   # The option is referenced via a variable to avoid confusing sed. 
     2232+   lt_compile=`echo "$ac_compile" | $SED \ 
     2233+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
     2234+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
     2235+   -e 's:$: $lt_compiler_flag:'` 
     2236+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
     2237+   (eval "$lt_compile" 2>conftest.err) 
     2238+   ac_status=$? 
     2239+   cat conftest.err >&AS_MESSAGE_LOG_FD 
     2240+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
     2241+   if (exit $ac_status) && test -s "$ac_outfile"; then 
     2242+     # The compiler can only warn and ignore the option if not recognized 
     2243+     # So say no if there are warnings other than the usual output. 
     2244+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
     2245+     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
     2246+     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
     2247+       $2=yes 
     2248      fi 
    20642249-   else 
    20652250-     posrcprefix="../" 
    2066 -   fi 
     2251    fi 
    20672252-   rm -f po/POTFILES 
    20682253-   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,        $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 
    20692254-       < $srcdir/po/POTFILES.in > po/POTFILES 
    20702255-  ]) 
    2071 +case X$ECHO in 
    2072 +X*--fallback-echo) 
    2073 +  # Remove one level of quotation (which was required for Make). 
    2074 +  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` 
    2075 +  ;; 
    2076 +esac 
     2256+   $rm conftest* 
     2257+]) 
    20772258  
    20782259-# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) 
     
    20902271-if test "x$CATOBJEXT" = "x.mo" ; then 
    20912272-  localedir=`eval echo "${libdir}/locale"` 
    2092 +echo=${ECHO-echo} 
    2093 +if test "X[$]1" = X--no-reexec; then 
    2094 +  # Discard the --no-reexec flag, and continue. 
    2095 +  shift 
    2096 +elif test "X[$]1" = X--fallback-echo; then 
    2097 +  # Avoid inline document here, it may be left over 
    2098 +  : 
    2099 +elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 
    2100 +  # Yippee, $echo works! 
    2101 +  : 
     2273+if test x"[$]$2" = xyes; then 
     2274+    ifelse([$5], , :, [$5]) 
    21022275 else 
    21032276-  localedir=`eval echo "${datadir}/locale"` 
    2104 +  # Restart under the correct shell. 
    2105 +  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} 
     2277+    ifelse([$6], , :, [$6]) 
    21062278 fi 
    21072279-prefix="$glib_save_prefix" 
     
    21102282-AC_DEFINE_UNQUOTED($1, "$localedir", 
    21112283-  [Define the location where the catalogs will be installed]) 
    2112 -]) 
    2113 - 
     2284+])# AC_LIBTOOL_COMPILER_OPTION 
     2285+ 
     2286+ 
     2287+# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
     2288+#                          [ACTION-SUCCESS], [ACTION-FAILURE]) 
     2289+# ------------------------------------------------------------ 
     2290+# Check whether the given compiler option works 
     2291+AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 
     2292+[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     2293+AC_CACHE_CHECK([$1], [$2], 
     2294+  [$2=no 
     2295+   save_LDFLAGS="$LDFLAGS" 
     2296+   LDFLAGS="$LDFLAGS $3" 
     2297+   echo "$lt_simple_link_test_code" > conftest.$ac_ext 
     2298+   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
     2299+     # The linker can only warn and ignore the option if not recognized 
     2300+     # So say no if there are warnings 
     2301+     if test -s conftest.err; then 
     2302+       # Append any errors to the config.log. 
     2303+       cat conftest.err 1>&AS_MESSAGE_LOG_FD 
     2304+       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
     2305+       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
     2306+       if diff conftest.exp conftest.er2 >/dev/null; then 
     2307+         $2=yes 
     2308+       fi 
     2309+     else 
     2310+       $2=yes 
     2311+     fi 
     2312+   fi 
     2313+   $rm conftest* 
     2314+   LDFLAGS="$save_LDFLAGS" 
     2315 ]) 
     2316  
    21142317-dnl 
    21152318-dnl Now the definitions that aclocal will find 
     
    21192322-AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) 
    21202323-])dnl 
     2324+if test x"[$]$2" = xyes; then 
     2325+    ifelse([$4], , :, [$4]) 
     2326+else 
     2327+    ifelse([$5], , :, [$5]) 
     2328+fi 
     2329+])# AC_LIBTOOL_LINKER_OPTION 
    21212330  
    21222331-# GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) 
     
    21352344-sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD 
    21362345-fi]) 
    2137 +if test "X[$]1" = X--fallback-echo; then 
    2138 +  # used as fallback echo 
    2139 +  shift 
    2140 +  cat <<EOF 
    2141 +[$]* 
    2142 +EOF 
    2143 +  exit 0 
    2144 +fi 
    2145   
    2146 +# The HP-UX ksh and POSIX shell print the target directory to stdout 
    2147 +# if CDPATH is set. 
    2148 +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     2346  
     2347+# AC_LIBTOOL_SYS_MAX_CMD_LEN 
     2348+# -------------------------- 
     2349+AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], 
     2350+[# find the maximum length of command line arguments 
     2351+AC_MSG_CHECKING([the maximum length of command line arguments]) 
     2352+AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 
     2353+  i=0 
     2354+  teststring="ABCD" 
    21492355  
    21502356-dnl GNOME_COMPILE_WARNINGS 
     
    21552361-    dnl More compiler warnings 
    21562362-    dnl ****************************** 
    2157 +if test -z "$ECHO"; then 
    2158 +if test "X${echo_test_string+set}" != Xset; then 
    2159 +# find a string as large as possible, as long as the shell can cope with it 
    2160 +  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
    2161 +    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
    2162 +    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
    2163 +       echo_test_string=`eval $cmd` && 
    2164 +       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
    2165 +    then 
    2166 +      break 
    2167 +    fi 
    2168 +  done 
    2169 +fi 
    2170   
     2363- 
    21712364-    AC_ARG_ENABLE(compile-warnings,  
    21722365-                  AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@], 
    21732366-                                 [Turn on compiler warnings]),, 
    21742367-                  [enable_compile_warnings="m4_default([$1],[yes])"]) 
    2175 +if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
    2176 +   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
    2177 +   test "X$echo_testing_string" = "X$echo_test_string"; then 
    2178 +  : 
    2179 +else 
    2180 +  # The Solaris, AIX, and Digital Unix default echo programs unquote 
    2181 +  # backslashes.  This makes it impossible to quote backslashes using 
    2182 +  #   echo "$something" | sed 's/\\/\\\\/g' 
    2183 +  # 
    2184 +  # So, first we look for a working echo in the user's PATH. 
    2185   
     2368- 
    21862369-    warnCFLAGS= 
    21872370-    if test "x$GCC" != xyes; then 
    21882371-       enable_compile_warnings=no 
    2189 +  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    2190 +  for dir in $PATH /usr/ucb; do 
    2191 +    IFS="$lt_save_ifs" 
    2192 +    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
    2193 +       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
    2194 +       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 
    2195 +       test "X$echo_testing_string" = "X$echo_test_string"; then 
    2196 +      echo="$dir/echo" 
    2197 +      break 
    2198      fi 
    2199 +  done 
    2200 +  IFS="$lt_save_ifs" 
    2201   
     2372-    fi 
     2373- 
    22022374-    warning_flags= 
    22032375-    realsave_CFLAGS="$CFLAGS" 
     
    22432415-    AC_MSG_CHECKING(what warning flags to pass to the C compiler) 
    22442416-    AC_MSG_RESULT($warning_flags) 
    2245 +  if test "X$echo" = Xecho; then 
    2246 +    # We didn't find a better echo, so look for alternatives. 
    2247 +    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 
    2248 +       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 
    2249 +       test "X$echo_testing_string" = "X$echo_test_string"; then 
    2250 +      # This shell has a builtin print -r that does the trick. 
    2251 +      echo='print -r' 
    2252 +    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 
    2253 +        test "X$CONFIG_SHELL" != X/bin/ksh; then 
    2254 +      # If we have ksh, try running configure again with it. 
    2255 +      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 
    2256 +      export ORIGINAL_CONFIG_SHELL 
    2257 +      CONFIG_SHELL=/bin/ksh 
    2258 +      export CONFIG_SHELL 
    2259 +      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} 
    2260 +    else 
    2261 +      # Try using printf. 
    2262 +      echo='printf %s\n' 
    2263 +      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
    2264 +        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
    2265 +        test "X$echo_testing_string" = "X$echo_test_string"; then 
    2266 +       # Cool, printf works 
    2267 +       : 
    2268 +      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
    2269 +          test "X$echo_testing_string" = 'X\t' && 
    2270 +          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
    2271 +          test "X$echo_testing_string" = "X$echo_test_string"; then 
    2272 +       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 
    2273 +       export CONFIG_SHELL 
    2274 +       SHELL="$CONFIG_SHELL" 
    2275 +       export SHELL 
    2276 +       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
    2277 +      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
    2278 +          test "X$echo_testing_string" = 'X\t' && 
    2279 +          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
    2280 +          test "X$echo_testing_string" = "X$echo_test_string"; then 
    2281 +       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
    2282 +      else 
    2283 +       # maybe with a smaller string... 
    2284 +       prev=: 
    2285   
     2417- 
    22862418-    AC_ARG_ENABLE(iso-c, 
    22872419-                  AC_HELP_STRING([--enable-iso-c], 
    22882420-                                 [Try to warn if code is not ISO C ]),, 
    22892421-                  [enable_iso_c=no]) 
    2290 +       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do 
    2291 +         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 
    2292 +         then 
    2293 +           break 
    2294 +         fi 
    2295 +         prev="$cmd" 
    2296 +       done 
    2297   
     2422- 
    22982423-    AC_MSG_CHECKING(what language compliance flags to pass to the C compiler) 
    22992424-    complCFLAGS= 
     
    23082433-           *) complCFLAGS="$complCFLAGS -pedantic" ;; 
    23092434-       esac 
    2310 +       if test "$prev" != 'sed 50q "[$]0"'; then 
    2311 +         echo_test_string=`eval $prev` 
    2312 +         export echo_test_string 
    2313 +         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} 
    2314 +       else 
    2315 +         # Oops.  We lost completely, so just stick with echo. 
    2316 +         echo=echo 
    2317         fi 
    2318 +      fi 
    2319      fi 
     2435-       fi 
     2436-    fi 
    23202437-    AC_MSG_RESULT($complCFLAGS) 
    2321 +  fi 
    2322 +fi 
    2323 +fi 
     2438+  case $build_os in 
     2439+  msdosdjgpp*) 
     2440+    # On DJGPP, this test can blow up pretty badly due to problems in libc 
     2441+    # (any single argument exceeding 2000 bytes causes a buffer overrun 
     2442+    # during glob expansion).  Even if it were fixed, the result of this 
     2443+    # check would be larger than it should be. 
     2444+    lt_cv_sys_max_cmd_len=12288;    # 12K is about right 
     2445+    ;; 
    23242446  
    23252447-    WARN_CFLAGS="$warning_flags $complCFLAGS" 
    23262448-    AC_SUBST(WARN_CFLAGS) 
    23272449-]) 
    2328 +# Copy echo and quote the copy suitably for passing to libtool from 
    2329 +# the Makefile, instead of quoting the original, which is used later. 
    2330 +ECHO=$echo 
    2331 +if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then 
    2332 +   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" 
    2333 +fi 
     2450+  gnu*) 
     2451+    # Under GNU Hurd, this test is not required because there is 
     2452+    # no limit to the length of command line arguments. 
     2453+    # Libtool will interpret -1 as no limit whatsoever 
     2454+    lt_cv_sys_max_cmd_len=-1; 
     2455+    ;; 
    23342456  
    23352457-dnl For C++, do basically the same thing. 
    2336 +AC_SUBST(ECHO) 
    2337 +])])# _LT_AC_PROG_ECHO_BACKSLASH 
     2458+  cygwin* | mingw*) 
     2459+    # On Win9x/ME, this test blows up -- it succeeds, but takes 
     2460+    # about 5 minutes as the teststring grows exponentially. 
     2461+    # Worse, since 9x/ME are not pre-emptively multitasking, 
     2462+    # you end up with a "frozen" computer, even though with patience 
     2463+    # the test eventually succeeds (with a max line length of 256k). 
     2464+    # Instead, let's just punt: use the minimum linelength reported by 
     2465+    # all of the supported platforms: 8192 (on NT/2K/XP). 
     2466+    lt_cv_sys_max_cmd_len=8192; 
     2467+    ;; 
    23382468  
    23392469-AC_DEFUN([GNOME_CXX_WARNINGS],[ 
     
    23422472-                               [Turn on compiler warnings.]),, 
    23432473-                [enable_cxx_warnings="m4_default([$1],[minimum])"]) 
    2344   
     2474- 
    23452475-  AC_MSG_CHECKING(what warning flags to pass to the C++ compiler) 
    23462476-  warnCXXFLAGS= 
     
    23542484-      *) warnCXXFLAGS="-Wall -Wno-unused" ;; 
    23552485-      esac 
    2356 +# _LT_AC_LOCK 
    2357 +# ----------- 
    2358 +AC_DEFUN([_LT_AC_LOCK], 
    2359 +[AC_ARG_ENABLE([libtool-lock], 
    2360 +    [AC_HELP_STRING([--disable-libtool-lock], 
    2361 +       [avoid locking (might break parallel builds)])]) 
    2362 +test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
     2486+  amigaos*) 
     2487+    # On AmigaOS with pdksh, this test takes hours, literally. 
     2488+    # So we just punt and use a minimum line length of 8192. 
     2489+    lt_cv_sys_max_cmd_len=8192; 
     2490+    ;; 
    23632491  
    23642492-      ## -W is not all that useful.  And it cannot be controlled 
     
    23672495-       warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual" 
    23682496-      fi 
    2369 -    fi 
    2370 +# Some flags need to be propagated to the compiler or linker for good 
    2371 +# libtool support. 
    2372 +case $host in 
    2373 +ia64-*-hpux*) 
    2374 +  # Find out which ABI we are using. 
    2375 +  echo 'int i;' > conftest.$ac_ext 
    2376 +  if AC_TRY_EVAL(ac_compile); then 
    2377 +    case `/usr/bin/file conftest.$ac_objext` in 
    2378 +    *ELF-32*) 
    2379 +      HPUX_IA64_MODE="32" 
    2380 +      ;; 
    2381 +    *ELF-64*) 
    2382 +      HPUX_IA64_MODE="64" 
    2383 +      ;; 
    2384 +    esac 
    2385    fi 
    2386 -  AC_MSG_RESULT($warnCXXFLAGS) 
    2387 - 
    2388 -   AC_ARG_ENABLE(iso-cxx, 
    2389 -                 AC_HELP_STRING([--enable-iso-cxx], 
    2390 -                                [Try to warn if code is not ISO C++ ]),, 
    2391 -                 [enable_iso_cxx=no]) 
    2392 +  rm -rf conftest* 
    2393 +  ;; 
    2394 +*-*-irix6*) 
    2395 +  # Find out which ABI we are using. 
    2396 +  echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
    2397 +  if AC_TRY_EVAL(ac_compile); then 
    2398 +   if test "$lt_cv_prog_gnu_ld" = yes; then 
    2399 +    case `/usr/bin/file conftest.$ac_objext` in 
    2400 +    *32-bit*) 
    2401 +      LD="${LD-ld} -melf32bsmip" 
    2402 +      ;; 
    2403 +    *N32*) 
    2404 +      LD="${LD-ld} -melf32bmipn32" 
    2405 +      ;; 
    2406 +    *64-bit*) 
    2407 +      LD="${LD-ld} -melf64bmip" 
    2408 +      ;; 
    2409 +    esac 
    2410 +   else 
    2411 +    case `/usr/bin/file conftest.$ac_objext` in 
    2412 +    *32-bit*) 
    2413 +      LD="${LD-ld} -32" 
    2414 +      ;; 
    2415 +    *N32*) 
    2416 +      LD="${LD-ld} -n32" 
    2417 +      ;; 
    2418 +    *64-bit*) 
    2419 +      LD="${LD-ld} -64" 
    2420 +      ;; 
    2421 +    esac 
    2422 +   fi 
    2423 +  fi 
    2424 +  rm -rf conftest* 
    2425 +  ;; 
    2426   
    2427 -   AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler) 
    2428 -   complCXXFLAGS= 
    2429 -   if test "x$enable_iso_cxx" != "xno"; then 
    2430 -     if test "x$GXX" = "xyes"; then 
    2431 -      case " $CXXFLAGS " in 
    2432 -      *[\ \    ]-ansi[\ \      ]*) ;; 
    2433 -      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; 
    2434 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ 
    2435 +s390*-*linux*|sparc*-*linux*) 
    2436 +  # Find out which ABI we are using. 
    2437 +  echo 'int i;' > conftest.$ac_ext 
    2438 +  if AC_TRY_EVAL(ac_compile); then 
    2439 +    case `/usr/bin/file conftest.o` in 
    2440 +    *32-bit*) 
    2441 +      case $host in 
    2442 +        x86_64-*kfreebsd*-gnu) 
    2443 +          LD="${LD-ld} -m elf_i386_fbsd" 
    2444 +          ;; 
    2445 +        x86_64-*linux*) 
    2446 +          LD="${LD-ld} -m elf_i386" 
    2447 +          ;; 
    2448 +        ppc64-*linux*|powerpc64-*linux*) 
    2449 +          LD="${LD-ld} -m elf32ppclinux" 
    2450 +          ;; 
    2451 +        s390x-*linux*) 
    2452 +          LD="${LD-ld} -m elf_s390" 
    2453 +          ;; 
    2454 +        sparc64-*linux*) 
    2455 +          LD="${LD-ld} -m elf32_sparc" 
    2456 +          ;; 
    2457        esac 
    2458 - 
    2459 -      case " $CXXFLAGS " in 
    2460 -      *[\ \    ]-pedantic[\ \  ]*) ;; 
    2461 -      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; 
    2462 +      ;; 
    2463 +    *64-bit*) 
    2464 +      case $host in 
    2465 +        x86_64-*kfreebsd*-gnu) 
    2466 +          LD="${LD-ld} -m elf_x86_64_fbsd" 
    2467 +          ;; 
    2468 +        x86_64-*linux*) 
    2469 +          LD="${LD-ld} -m elf_x86_64" 
    2470 +          ;; 
    2471 +        ppc*-*linux*|powerpc*-*linux*) 
    2472 +          LD="${LD-ld} -m elf64ppc" 
    2473 +          ;; 
    2474 +        s390*-*linux*) 
    2475 +          LD="${LD-ld} -m elf64_s390" 
    2476 +          ;; 
    2477 +        sparc*-*linux*) 
    2478 +          LD="${LD-ld} -m elf64_sparc" 
    2479 +          ;; 
    2480        esac 
    2481 -     fi 
    2482 -   fi 
    2483 -  AC_MSG_RESULT($complCXXFLAGS) 
    2484 +      ;; 
    2485 +    esac 
    2486 +  fi 
    2487 +  rm -rf conftest* 
    2488 +  ;; 
    2489   
    2490 -  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" 
    2491 -  AC_SUBST(WARN_CXXFLAGS) 
    2492 -]) 
    2493 +*-*-sco3.2v5*) 
    2494 +  # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
    2495 +  SAVE_CFLAGS="$CFLAGS" 
    2496 +  CFLAGS="$CFLAGS -belf" 
    2497 +  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, 
    2498 +    [AC_LANG_PUSH(C) 
    2499 +     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) 
    2500 +     AC_LANG_POP]) 
    2501 +  if test x"$lt_cv_cc_needs_belf" != x"yes"; then 
    2502 +    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
    2503 +    CFLAGS="$SAVE_CFLAGS" 
    2504 +  fi 
    2505 +  ;; 
    2506 +sparc*-*solaris*) 
    2507 +  # Find out which ABI we are using. 
    2508 +  echo 'int i;' > conftest.$ac_ext 
    2509 +  if AC_TRY_EVAL(ac_compile); then 
    2510 +    case `/usr/bin/file conftest.o` in 
    2511 +    *64-bit*) 
    2512 +      case $lt_cv_prog_gnu_ld in 
    2513 +      yes*) LD="${LD-ld} -m elf64_sparc" ;; 
    2514 +      *)    LD="${LD-ld} -64" ;; 
    2515 +      esac 
    2516 +      ;; 
    2517 +    esac 
    2518 +  fi 
    2519 +  rm -rf conftest* 
    2520 +  ;; 
    2521   
    2522 -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
    2523 +AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
    2524 +[*-*-cygwin* | *-*-mingw* | *-*-pw32*) 
    2525 +  AC_CHECK_TOOL(DLLTOOL, dlltool, false) 
    2526 +  AC_CHECK_TOOL(AS, as, false) 
    2527 +  AC_CHECK_TOOL(OBJDUMP, objdump, false) 
    2528 +  ;; 
    2529 +  ]) 
    2530 +esac 
    2531   
    2532 -# serial 48 AC_PROG_LIBTOOL 
    2533 +need_locks="$enable_libtool_lock" 
    2534   
    2535 +])# _LT_AC_LOCK 
    2536   
    2537 -# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 
    2538 -# ----------------------------------------------------------- 
    2539 -# If this macro is not defined by Autoconf, define it here. 
    2540 -m4_ifdef([AC_PROVIDE_IFELSE], 
    2541 -         [], 
    2542 -         [m4_define([AC_PROVIDE_IFELSE], 
    2543 -                [m4_ifdef([AC_PROVIDE_$1], 
    2544 -                          [$2], [$3])])]) 
    2545   
    2546 +# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
    2547 +#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) 
    2548 +# ---------------------------------------------------------------- 
    2549 +# Check whether the given compiler option works 
    2550 +AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 
    2551 +[AC_REQUIRE([LT_AC_PROG_SED]) 
    2552 +AC_CACHE_CHECK([$1], [$2], 
    2553 +  [$2=no 
    2554 +  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
    2555 +   echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    2556 +   lt_compiler_flag="$3" 
    2557 +   # Insert the option either (1) after the last *FLAGS variable, or 
    2558 +   # (2) before a word containing "conftest.", or (3) at the end. 
    2559 +   # Note that $ac_compile itself does not contain backslashes and begins 
    2560 +   # with a dollar sign (not a hyphen), so the echo should work correctly. 
    2561 +   # The option is referenced via a variable to avoid confusing sed. 
    2562 +   lt_compile=`echo "$ac_compile" | $SED \ 
    2563 +   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    2564 +   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    2565 +   -e 's:$: $lt_compiler_flag:'` 
    2566 +   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
    2567 +   (eval "$lt_compile" 2>conftest.err) 
    2568 +   ac_status=$? 
    2569 +   cat conftest.err >&AS_MESSAGE_LOG_FD 
    2570 +   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
    2571 +   if (exit $ac_status) && test -s "$ac_outfile"; then 
    2572 +     # The compiler can only warn and ignore the option if not recognized 
    2573 +     # So say no if there are warnings other than the usual output. 
    2574 +     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
    2575 +     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    2576 +     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
    2577 +       $2=yes 
    2578 +     fi 
    2579 +   fi 
    2580 +   $rm conftest* 
    2581 +]) 
    2582   
    2583 -# AC_PROG_LIBTOOL 
    2584 -# --------------- 
    2585 -AC_DEFUN([AC_PROG_LIBTOOL], 
    2586 -[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl 
    2587 -dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX 
    2588 -dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. 
    2589 -  AC_PROVIDE_IFELSE([AC_PROG_CXX], 
    2590 -    [AC_LIBTOOL_CXX], 
    2591 -    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX 
    2592 -  ])]) 
    2593 -dnl And a similar setup for Fortran 77 support 
    2594 -  AC_PROVIDE_IFELSE([AC_PROG_F77], 
    2595 -    [AC_LIBTOOL_F77], 
    2596 -    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 
    2597 -])]) 
    2598 +if test x"[$]$2" = xyes; then 
    2599 +    ifelse([$5], , :, [$5]) 
    2600 +else 
    2601 +    ifelse([$6], , :, [$6]) 
    2602 +fi 
    2603 +])# AC_LIBTOOL_COMPILER_OPTION 
    2604   
    2605 -dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. 
    2606 -dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run 
    2607 -dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. 
    2608 -  AC_PROVIDE_IFELSE([AC_PROG_GCJ], 
    2609 -    [AC_LIBTOOL_GCJ], 
    2610 -    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], 
    2611 -      [AC_LIBTOOL_GCJ], 
    2612 -      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], 
    2613 -       [AC_LIBTOOL_GCJ], 
    2614 -      [ifdef([AC_PROG_GCJ], 
    2615 -            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
    2616 -       ifdef([A][M_PROG_GCJ], 
    2617 -            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
    2618 -       ifdef([LT_AC_PROG_GCJ], 
    2619 -            [define([LT_AC_PROG_GCJ], 
    2620 -               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) 
    2621 -])])# AC_PROG_LIBTOOL 
    2622   
    2623 +# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
    2624 +#                          [ACTION-SUCCESS], [ACTION-FAILURE]) 
    2625 +# ------------------------------------------------------------ 
    2626 +# Check whether the given compiler option works 
    2627 +AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 
    2628 +[AC_REQUIRE([LT_AC_PROG_SED])dnl 
    2629 +AC_CACHE_CHECK([$1], [$2], 
    2630 +  [$2=no 
    2631 +   save_LDFLAGS="$LDFLAGS" 
    2632 +   LDFLAGS="$LDFLAGS $3" 
    2633 +   echo "$lt_simple_link_test_code" > conftest.$ac_ext 
    2634 +   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    2635 +     # The linker can only warn and ignore the option if not recognized 
    2636 +     # So say no if there are warnings 
    2637 +     if test -s conftest.err; then 
    2638 +       # Append any errors to the config.log. 
    2639 +       cat conftest.err 1>&AS_MESSAGE_LOG_FD 
    2640 +       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
    2641 +       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    2642 +       if diff conftest.exp conftest.er2 >/dev/null; then 
    2643 +         $2=yes 
    2644 +       fi 
    2645 +     else 
    2646 +       $2=yes 
    2647 +     fi 
    2648 +   fi 
    2649 +   $rm conftest* 
    2650 +   LDFLAGS="$save_LDFLAGS" 
    2651 +]) 
    2652   
    2653 -# _AC_PROG_LIBTOOL 
    2654 -# ---------------- 
    2655 -AC_DEFUN([_AC_PROG_LIBTOOL], 
    2656 -[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl 
    2657 -AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl 
    2658 -AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl 
    2659 -AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl 
    2660 +if test x"[$]$2" = xyes; then 
    2661 +    ifelse([$4], , :, [$4]) 
    2662 +else 
    2663 +    ifelse([$5], , :, [$5]) 
    2664 +fi 
    2665 +])# AC_LIBTOOL_LINKER_OPTION 
    2666   
    2667 -# This can be used to rebuild libtool when needed 
    2668 -LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 
    2669   
    2670 -# Always use our own libtool. 
    2671 -LIBTOOL='$(SHELL) $(top_builddir)/libtool' 
    2672 -AC_SUBST(LIBTOOL)dnl 
    2673 +# AC_LIBTOOL_SYS_MAX_CMD_LEN 
    2674 +# -------------------------- 
    2675 +AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], 
    2676 +[# find the maximum length of command line arguments 
    2677 +AC_MSG_CHECKING([the maximum length of command line arguments]) 
    2678 +AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 
    2679 +  i=0 
    2680 +  teststring="ABCD" 
    2681   
    2682 -# Prevent multiple expansion 
    2683 -define([AC_PROG_LIBTOOL], []) 
    2684 -])# _AC_PROG_LIBTOOL 
    2685 +  case $build_os in 
    2686 +  msdosdjgpp*) 
    2687 +    # On DJGPP, this test can blow up pretty badly due to problems in libc 
    2688 +    # (any single argument exceeding 2000 bytes causes a buffer overrun 
    2689 +    # during glob expansion).  Even if it were fixed, the result of this 
    2690 +    # check would be larger than it should be. 
    2691 +    lt_cv_sys_max_cmd_len=12288;    # 12K is about right 
    2692 +    ;; 
    2693   
    2694 +  gnu*) 
    2695 +    # Under GNU Hurd, this test is not required because there is 
    2696 +    # no limit to the length of command line arguments. 
    2697 +    # Libtool will interpret -1 as no limit whatsoever 
    2698 +    lt_cv_sys_max_cmd_len=-1; 
    2699 +    ;; 
    2700   
    2701 -# AC_LIBTOOL_SETUP 
    2702 -# ---------------- 
    2703 -AC_DEFUN([AC_LIBTOOL_SETUP], 
    2704 -[AC_PREREQ(2.50)dnl 
    2705 -AC_REQUIRE([AC_ENABLE_SHARED])dnl 
    2706 -AC_REQUIRE([AC_ENABLE_STATIC])dnl 
    2707 -AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl 
    2708 -AC_REQUIRE([AC_CANONICAL_HOST])dnl 
    2709 -AC_REQUIRE([AC_CANONICAL_BUILD])dnl 
    2710 -AC_REQUIRE([AC_PROG_CC])dnl 
    2711 -AC_REQUIRE([AC_PROG_LD])dnl 
    2712 -AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl 
    2713 -AC_REQUIRE([AC_PROG_NM])dnl 
    2714 +  cygwin* | mingw*) 
    2715 +    # On Win9x/ME, this test blows up -- it succeeds, but takes 
    2716 +    # about 5 minutes as the teststring grows exponentially. 
    2717 +    # Worse, since 9x/ME are not pre-emptively multitasking, 
    2718 +    # you end up with a "frozen" computer, even though with patience 
    2719 +    # the test eventually succeeds (with a max line length of 256k). 
    2720 +    # Instead, let's just punt: use the minimum linelength reported by 
    2721 +    # all of the supported platforms: 8192 (on NT/2K/XP). 
    2722 +    lt_cv_sys_max_cmd_len=8192; 
    2723 +    ;; 
    2724   
    2725 -AC_REQUIRE([AC_PROG_LN_S])dnl 
    2726 -AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl 
    2727 -# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 
    2728 -AC_REQUIRE([AC_OBJEXT])dnl 
    2729 -AC_REQUIRE([AC_EXEEXT])dnl 
    2730 -dnl 
    2731 +  amigaos*) 
    2732 +    # On AmigaOS with pdksh, this test takes hours, literally. 
    2733 +    # So we just punt and use a minimum line length of 8192. 
    2734 +    lt_cv_sys_max_cmd_len=8192; 
    2735 +    ;; 
    2736   
    2737 -AC_LIBTOOL_SYS_MAX_CMD_LEN 
    2738 -AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 
    2739 -AC_LIBTOOL_OBJDIR 
    27402497+  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 
    27412498+    # This has been around since 386BSD, at least.  Likely further. 
     
    27462503+    else 
    27472504+      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs 
    2748 +    fi 
     2505     fi 
     2506-  fi 
     2507-  AC_MSG_RESULT($warnCXXFLAGS) 
     2508- 
     2509-   AC_ARG_ENABLE(iso-cxx, 
     2510-                 AC_HELP_STRING([--enable-iso-cxx], 
     2511-                                [Try to warn if code is not ISO C++ ]),, 
     2512-                 [enable_iso_cxx=no]) 
     2513- 
     2514-   AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler) 
     2515-   complCXXFLAGS= 
     2516-   if test "x$enable_iso_cxx" != "xno"; then 
     2517-     if test "x$GXX" = "xyes"; then 
     2518-      case " $CXXFLAGS " in 
     2519-      *[\ \    ]-ansi[\ \      ]*) ;; 
     2520-      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;; 
     2521-      esac 
    27492522+    # And add a safety zone 
    27502523+    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
     
    27522525+    ;; 
    27532526  
    2754 -AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
    2755 -_LT_AC_PROG_ECHO_BACKSLASH 
     2527-      case " $CXXFLAGS " in 
     2528-      *[\ \    ]-pedantic[\ \  ]*) ;; 
     2529-      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;; 
     2530-      esac 
     2531-     fi 
     2532-   fi 
     2533-  AC_MSG_RESULT($complCXXFLAGS) 
    27562534+  interix*) 
    27572535+    # We know the value 262144 and hardcode it with a safety zone (like BSD) 
     
    27592537+    ;; 
    27602538  
    2761 -case $host_os in 
    2762 -aix3*) 
    2763 -  # AIX sometimes has problems with the GCC collect2 program.  For some 
    2764 -  # reason, if we set the COLLECT_NAMES environment variable, the problems 
    2765 -  # vanish in a puff of smoke. 
    2766 -  if test "X${COLLECT_NAMES+set}" != Xset; then 
    2767 -    COLLECT_NAMES= 
    2768 -    export COLLECT_NAMES 
    2769 -  fi 
    2770 -  ;; 
    2771 -esac 
    2772 - 
    2773 -# Sed substitution that helps us do robust quoting.  It backslashifies 
    2774 -# metacharacters that are still active within double-quoted strings. 
    2775 -Xsed='sed -e 1s/^X//' 
    2776 -[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 
    2777 - 
    2778 -# Same as above, but do not quote variable references. 
    2779 -[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] 
    2780 - 
    2781 -# Sed substitution to delay expansion of an escaped shell variable in a 
    2782 -# double_quote_subst'ed string. 
    2783 -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 
    2784 - 
    2785 -# Sed substitution to avoid accidental globbing in evaled expressions 
    2786 -no_glob_subst='s/\*/\\\*/g' 
    2787 - 
    2788 -# Constants: 
    2789 -rm="rm -f" 
    2790 - 
    2791 -# Global variables: 
    2792 -default_ofile=libtool 
    2793 -can_build_shared=yes 
    2794 - 
    2795 -# All known linkers require a `.a' archive for static linking (except MSVC, 
    2796 -# which needs '.lib'). 
    2797 -libext=a 
    2798 -ltmain="$ac_aux_dir/ltmain.sh" 
    2799 -ofile="$default_ofile" 
    2800 -with_gnu_ld="$lt_cv_prog_gnu_ld" 
    2801 - 
    2802 -AC_CHECK_TOOL(AR, ar, false) 
    2803 -AC_CHECK_TOOL(RANLIB, ranlib, :) 
    2804 -AC_CHECK_TOOL(STRIP, strip, :) 
    2805 - 
    2806 -old_CC="$CC" 
    2807 -old_CFLAGS="$CFLAGS" 
    2808 - 
    2809 -# Set sane defaults for various variables 
    2810 -test -z "$AR" && AR=ar 
    2811 -test -z "$AR_FLAGS" && AR_FLAGS=cru 
    2812 -test -z "$AS" && AS=as 
    2813 -test -z "$CC" && CC=cc 
    2814 -test -z "$LTCC" && LTCC=$CC 
    2815 -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
    2816 -test -z "$DLLTOOL" && DLLTOOL=dlltool 
    2817 -test -z "$LD" && LD=ld 
    2818 -test -z "$LN_S" && LN_S="ln -s" 
    2819 -test -z "$MAGIC_CMD" && MAGIC_CMD=file 
    2820 -test -z "$NM" && NM=nm 
    2821 -test -z "$SED" && SED=sed 
    2822 -test -z "$OBJDUMP" && OBJDUMP=objdump 
    2823 -test -z "$RANLIB" && RANLIB=: 
    2824 -test -z "$STRIP" && STRIP=: 
    2825 -test -z "$ac_objext" && ac_objext=o 
    2826 - 
    2827 -# Determine commands to create old-style static archives. 
    2828 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 
    2829 -old_postinstall_cmds='chmod 644 $oldlib' 
    2830 -old_postuninstall_cmds= 
    2831 - 
    2832 -if test -n "$RANLIB"; then 
    2833 -  case $host_os in 
    2834 -  openbsd*) 
    2835 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
     2539-  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS" 
     2540-  AC_SUBST(WARN_CXXFLAGS) 
    28362541+  osf*) 
    28372542+    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
     
    28572562+      lt_cv_sys_max_cmd_len=32768 
    28582563+    fi 
    2859      ;; 
    2860    *) 
    2861 -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 
     2564+    ;; 
     2565+  *) 
    28622566+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 
    28632567+    if test -n "$lt_cv_sys_max_cmd_len"; then 
     
    28812585+      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
    28822586+    fi 
    2883      ;; 
    2884    esac 
    2885 -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 
    2886 +]) 
     2587+    ;; 
     2588+  esac 
     2589 ]) 
     2590- 
     2591-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 
     2592- 
     2593-# serial 48 AC_PROG_LIBTOOL 
    28872594+if test -n $lt_cv_sys_max_cmd_len ; then 
    28882595+  AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 
    28892596+else 
    28902597+  AC_MSG_RESULT(none) 
    2891  fi 
     2598+fi 
    28922599+])# AC_LIBTOOL_SYS_MAX_CMD_LEN 
    28932600  
    2894 -_LT_CC_BASENAME([$compiler]) 
    2895   
    2896 -# Only perform the check for file, if the check method requires it 
    2897 -case $deplibs_check_method in 
    2898 -file_magic*) 
    2899 -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
    2900 -    AC_PATH_MAGIC 
    2901 -  fi 
    2902 -  ;; 
    2903 -esac 
     2601  
     2602-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 
     2603-# ----------------------------------------------------------- 
     2604-# If this macro is not defined by Autoconf, define it here. 
     2605-m4_ifdef([AC_PROVIDE_IFELSE], 
     2606-         [], 
     2607-         [m4_define([AC_PROVIDE_IFELSE], 
     2608-                [m4_ifdef([AC_PROVIDE_$1], 
     2609-                          [$2], [$3])])]) 
    29042610+# _LT_AC_CHECK_DLFCN 
    29052611+# ------------------ 
     
    29082614+])# _LT_AC_CHECK_DLFCN 
    29092615  
    2910 -AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 
    2911 -AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
    2912 -enable_win32_dll=yes, enable_win32_dll=no) 
    2913   
    2914 -AC_ARG_ENABLE([libtool-lock], 
    2915 -    [AC_HELP_STRING([--disable-libtool-lock], 
    2916 -       [avoid locking (might break parallel builds)])]) 
    2917 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
     2616  
     2617-# AC_PROG_LIBTOOL 
     2618-# --------------- 
     2619-AC_DEFUN([AC_PROG_LIBTOOL], 
     2620-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl 
     2621-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX 
     2622-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. 
     2623-  AC_PROVIDE_IFELSE([AC_PROG_CXX], 
     2624-    [AC_LIBTOOL_CXX], 
     2625-    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX 
     2626-  ])]) 
     2627-dnl And a similar setup for Fortran 77 support 
     2628-  AC_PROVIDE_IFELSE([AC_PROG_F77], 
     2629-    [AC_LIBTOOL_F77], 
     2630-    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 
     2631-])]) 
    29182632+# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
    29192633+#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
     
    29302644+#include "confdefs.h" 
    29312645  
    2932 -AC_ARG_WITH([pic], 
    2933 -    [AC_HELP_STRING([--with-pic], 
    2934 -       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 
    2935 -    [pic_mode="$withval"], 
    2936 -    [pic_mode=default]) 
    2937 -test -z "$pic_mode" && pic_mode=default 
     2646-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. 
     2647-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run 
     2648-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. 
     2649-  AC_PROVIDE_IFELSE([AC_PROG_GCJ], 
     2650-    [AC_LIBTOOL_GCJ], 
     2651-    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], 
     2652-      [AC_LIBTOOL_GCJ], 
     2653-      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], 
     2654-       [AC_LIBTOOL_GCJ], 
     2655-      [ifdef([AC_PROG_GCJ], 
     2656-            [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
     2657-       ifdef([A][M_PROG_GCJ], 
     2658-            [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) 
     2659-       ifdef([LT_AC_PROG_GCJ], 
     2660-            [define([LT_AC_PROG_GCJ], 
     2661-               defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) 
     2662-])])# AC_PROG_LIBTOOL 
    29382663+#if HAVE_DLFCN_H 
    29392664+#include <dlfcn.h> 
    29402665+#endif 
    29412666  
    2942 -# Use C for the default configuration in the libtool script 
    2943 -tagname= 
    2944 -AC_LIBTOOL_LANG_C_CONFIG 
    2945 -_LT_AC_TAGCONFIG 
    2946 -])# AC_LIBTOOL_SETUP 
    29472667+#include <stdio.h> 
    29482668  
     2669-# _AC_PROG_LIBTOOL 
     2670-# ---------------- 
     2671-AC_DEFUN([_AC_PROG_LIBTOOL], 
     2672-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl 
     2673-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl 
     2674-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl 
     2675-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl 
    29492676+#ifdef RTLD_GLOBAL 
    29502677+#  define LT_DLGLOBAL          RTLD_GLOBAL 
     
    29572684+#endif 
    29582685  
    2959 -# _LT_AC_SYS_COMPILER 
    2960 -# ------------------- 
    2961 -AC_DEFUN([_LT_AC_SYS_COMPILER], 
    2962 -[AC_REQUIRE([AC_PROG_CC])dnl 
     2686-# This can be used to rebuild libtool when needed 
     2687-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" 
    29632688+/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
    29642689+   find out it does not work in some platform. */ 
     
    29832708+#endif 
    29842709  
    2985 -# If no C compiler was specified, use CC. 
    2986 -LTCC=${LTCC-"$CC"} 
     2710-# Always use our own libtool. 
     2711-LIBTOOL='$(SHELL) $(top_builddir)/libtool' 
     2712-AC_SUBST(LIBTOOL)dnl 
    29872713+#ifdef __cplusplus 
    29882714+extern "C" void exit (int); 
    29892715+#endif 
    29902716  
    2991 -# If no C compiler flags were specified, use CFLAGS. 
    2992 -LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
     2717-# Prevent multiple expansion 
     2718-define([AC_PROG_LIBTOOL], []) 
     2719-])# _AC_PROG_LIBTOOL 
    29932720+void fnord() { int i=42;} 
    29942721+int main () 
     
    29972724+  int status = $lt_dlunknown; 
    29982725  
    2999 -# Allow CC to be a program name with arguments. 
    3000 -compiler=$CC 
    3001 -])# _LT_AC_SYS_COMPILER 
    30022726+  if (self) 
    30032727+    { 
     
    30092733+    puts (dlerror ()); 
    30102734  
     2735-# AC_LIBTOOL_SETUP 
     2736-# ---------------- 
     2737-AC_DEFUN([AC_LIBTOOL_SETUP], 
     2738-[AC_PREREQ(2.50)dnl 
     2739-AC_REQUIRE([AC_ENABLE_SHARED])dnl 
     2740-AC_REQUIRE([AC_ENABLE_STATIC])dnl 
     2741-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl 
     2742-AC_REQUIRE([AC_CANONICAL_HOST])dnl 
     2743-AC_REQUIRE([AC_CANONICAL_BUILD])dnl 
     2744-AC_REQUIRE([AC_PROG_CC])dnl 
     2745-AC_REQUIRE([AC_PROG_LD])dnl 
     2746-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl 
     2747-AC_REQUIRE([AC_PROG_NM])dnl 
    30112748+    exit (status); 
    30122749+}] 
     
    30282765+])# _LT_AC_TRY_DLOPEN_SELF 
    30292766  
    3030 -# _LT_CC_BASENAME(CC) 
    3031 -# ------------------- 
    3032 -# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix. 
    3033 -AC_DEFUN([_LT_CC_BASENAME], 
    3034 -[for cc_temp in $1""; do 
    3035 -  case $cc_temp in 
    3036 -    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 
    3037 -    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 
    3038 -    \-*) ;; 
    3039 -    *) break;; 
    3040 -  esac 
    3041 -done 
    3042 -cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
    3043 -]) 
    3044   
     2767-AC_REQUIRE([AC_PROG_LN_S])dnl 
     2768-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl 
     2769-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 
     2770-AC_REQUIRE([AC_OBJEXT])dnl 
     2771-AC_REQUIRE([AC_EXEEXT])dnl 
     2772-dnl 
     2773  
     2774-AC_LIBTOOL_SYS_MAX_CMD_LEN 
     2775-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 
     2776-AC_LIBTOOL_OBJDIR 
    30452777+# AC_LIBTOOL_DLOPEN_SELF 
    30462778+# ---------------------- 
     
    30552787+  lt_cv_dlopen_libs= 
    30562788  
    3057 -# _LT_COMPILER_BOILERPLATE 
    3058 -# ------------------------ 
    3059 -# Check for compiler boilerplate output or warnings with 
    3060 -# the simple compiler test code. 
    3061 -AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
    3062 -[ac_outfile=conftest.$ac_objext 
    3063 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
    3064 -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    3065 -_lt_compiler_boilerplate=`cat conftest.err` 
    3066 -$rm conftest* 
    3067 -])# _LT_COMPILER_BOILERPLATE 
     2789-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 
     2790-_LT_AC_PROG_ECHO_BACKSLASH 
    30682791+  case $host_os in 
    30692792+  beos*) 
     
    30732796+    ;; 
    30742797  
     2798-case $host_os in 
     2799-aix3*) 
     2800-  # AIX sometimes has problems with the GCC collect2 program.  For some 
     2801-  # reason, if we set the COLLECT_NAMES environment variable, the problems 
     2802-  # vanish in a puff of smoke. 
     2803-  if test "X${COLLECT_NAMES+set}" != Xset; then 
     2804-    COLLECT_NAMES= 
     2805-    export COLLECT_NAMES 
     2806-  fi 
     2807-  ;; 
     2808-esac 
    30752809+  mingw* | pw32*) 
    30762810+    lt_cv_dlopen="LoadLibrary" 
     
    30782812+   ;; 
    30792813  
    3080 -# _LT_LINKER_BOILERPLATE 
    3081 -# ---------------------- 
    3082 -# Check for linker boilerplate output or warnings with 
    3083 -# the simple link test code. 
    3084 -AC_DEFUN([_LT_LINKER_BOILERPLATE], 
    3085 -[ac_outfile=conftest.$ac_objext 
    3086 -printf "$lt_simple_link_test_code" >conftest.$ac_ext 
    3087 -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
    3088 -_lt_linker_boilerplate=`cat conftest.err` 
    3089 -$rm conftest* 
    3090 -])# _LT_LINKER_BOILERPLATE 
     2814-# Sed substitution that helps us do robust quoting.  It backslashifies 
     2815-# metacharacters that are still active within double-quoted strings. 
     2816-Xsed='sed -e 1s/^X//' 
     2817-[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] 
    30912818+  cygwin*) 
    30922819+    lt_cv_dlopen="dlopen" 
     
    30942821+   ;; 
    30952822  
     2823-# Same as above, but do not quote variable references. 
     2824-[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] 
    30962825+  darwin*) 
    30972826+  # if libdl is installed we need to link against it 
     
    31042833+   ;; 
    31052834  
    3106 -# _LT_AC_SYS_LIBPATH_AIX 
    3107 -# ---------------------- 
    3108 -# Links a minimal program and checks the executable 
    3109 -# for the system default hardcoded library path. In most cases, 
    3110 -# this is /usr/lib:/lib, but when the MPI compilers are used 
    3111 -# the location of the communication and MPI libs are included too. 
    3112 -# If we don't find anything, use the default library path according 
    3113 -# to the aix ld manual. 
    3114 -AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 
    3115 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
    3116 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
    3117 -}'` 
    3118 -# Check for a 64-bit object if we didn't find anything. 
    3119 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
    3120 -}'`; fi],[]) 
    3121 -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
    3122 -])# _LT_AC_SYS_LIBPATH_AIX 
     2835-# Sed substitution to delay expansion of an escaped shell variable in a 
     2836-# double_quote_subst'ed string. 
     2837-delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 
    31232838+  *) 
    31242839+    AC_CHECK_FUNC([shl_load], 
     
    31422857+  esac 
    31432858  
     2859-# Sed substitution to avoid accidental globbing in evaled expressions 
     2860-no_glob_subst='s/\*/\\\*/g' 
    31442861+  if test "x$lt_cv_dlopen" != xno; then 
    31452862+    enable_dlopen=yes 
     
    31482865+  fi 
    31492866  
    3150 -# _LT_AC_SHELL_INIT(ARG) 
    3151 -# ---------------------- 
    3152 -AC_DEFUN([_LT_AC_SHELL_INIT], 
    3153 -[ifdef([AC_DIVERSION_NOTICE], 
    3154 -            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], 
    3155 -        [AC_DIVERT_PUSH(NOTICE)]) 
    3156 -$1 
    3157 -AC_DIVERT_POP 
    3158 -])# _LT_AC_SHELL_INIT 
     2867-# Constants: 
     2868-rm="rm -f" 
    31592869+  case $lt_cv_dlopen in 
    31602870+  dlopen) 
     
    31622872+    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 
    31632873  
     2874-# Global variables: 
     2875-default_ofile=libtool 
     2876-can_build_shared=yes 
    31642877+    save_LDFLAGS="$LDFLAGS" 
    31652878+    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
    31662879  
    3167 -# _LT_AC_PROG_ECHO_BACKSLASH 
    3168 -# -------------------------- 
    3169 -# Add some code to the start of the generated configure script which 
    3170 -# will find an echo command which doesn't interpret backslashes. 
    3171 -AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], 
    3172 -[_LT_AC_SHELL_INIT([ 
    3173 -# Check that we are running under the correct shell. 
    3174 -SHELL=${CONFIG_SHELL-/bin/sh} 
     2880-# All known linkers require a `.a' archive for static linking (except MSVC, 
     2881-# which needs '.lib'). 
     2882-libext=a 
     2883-ltmain="$ac_aux_dir/ltmain.sh" 
     2884-ofile="$default_ofile" 
     2885-with_gnu_ld="$lt_cv_prog_gnu_ld" 
    31752886+    save_LIBS="$LIBS" 
    31762887+    LIBS="$lt_cv_dlopen_libs $LIBS" 
    31772888  
    3178 -case X$ECHO in 
    3179 -X*--fallback-echo) 
    3180 -  # Remove one level of quotation (which was required for Make). 
    3181 -  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` 
    3182 -  ;; 
    3183 -esac 
     2889-AC_CHECK_TOOL(AR, ar, false) 
     2890-AC_CHECK_TOOL(RANLIB, ranlib, :) 
     2891-AC_CHECK_TOOL(STRIP, strip, :) 
    31842892+    AC_CACHE_CHECK([whether a program can dlopen itself], 
    31852893+         lt_cv_dlopen_self, [dnl 
     
    31892897+    ]) 
    31902898  
    3191 -echo=${ECHO-echo} 
    3192 -if test "X[$]1" = X--no-reexec; then 
    3193 -  # Discard the --no-reexec flag, and continue. 
    3194 -  shift 
    3195 -elif test "X[$]1" = X--fallback-echo; then 
    3196 -  # Avoid inline document here, it may be left over 
    3197 -  : 
    3198 -elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 
    3199 -  # Yippee, $echo works! 
    3200 -  : 
    3201 -else 
    3202 -  # Restart under the correct shell. 
    3203 -  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} 
    3204 -fi 
     2899-old_CC="$CC" 
     2900-old_CFLAGS="$CFLAGS" 
    32052901+    if test "x$lt_cv_dlopen_self" = xyes; then 
    32062902+      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 
     
    32132909+    fi 
    32142910  
    3215 -if test "X[$]1" = X--fallback-echo; then 
    3216 -  # used as fallback echo 
    3217 -  shift 
    3218 -  cat <<EOF 
    3219 -[$]* 
    3220 -EOF 
    3221 -  exit 0 
    3222 -fi 
     2911-# Set sane defaults for various variables 
     2912-test -z "$AR" && AR=ar 
     2913-test -z "$AR_FLAGS" && AR_FLAGS=cru 
     2914-test -z "$AS" && AS=as 
     2915-test -z "$CC" && CC=cc 
     2916-test -z "$LTCC" && LTCC=$CC 
     2917-test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 
     2918-test -z "$DLLTOOL" && DLLTOOL=dlltool 
     2919-test -z "$LD" && LD=ld 
     2920-test -z "$LN_S" && LN_S="ln -s" 
     2921-test -z "$MAGIC_CMD" && MAGIC_CMD=file 
     2922-test -z "$NM" && NM=nm 
     2923-test -z "$SED" && SED=sed 
     2924-test -z "$OBJDUMP" && OBJDUMP=objdump 
     2925-test -z "$RANLIB" && RANLIB=: 
     2926-test -z "$STRIP" && STRIP=: 
     2927-test -z "$ac_objext" && ac_objext=o 
    32232928+    CPPFLAGS="$save_CPPFLAGS" 
    32242929+    LDFLAGS="$save_LDFLAGS" 
     
    32272932+  esac 
    32282933  
    3229 -# The HP-UX ksh and POSIX shell print the target directory to stdout 
    3230 -# if CDPATH is set. 
    3231 -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     2934-# Determine commands to create old-style static archives. 
     2935-old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' 
     2936-old_postinstall_cmds='chmod 644 $oldlib' 
     2937-old_postuninstall_cmds= 
    32322938+  case $lt_cv_dlopen_self in 
    32332939+  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 
     
    32352941+  esac 
    32362942  
    3237 -if test -z "$ECHO"; then 
    3238 -if test "X${echo_test_string+set}" != Xset; then 
    3239 -# find a string as large as possible, as long as the shell can cope with it 
    3240 -  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
    3241 -    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
    3242 -    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
    3243 -       echo_test_string=`eval $cmd` && 
    3244 -       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
    3245 -    then 
    3246 -      break 
    3247 -    fi 
    3248 -  done 
     2943-if test -n "$RANLIB"; then 
     2944-  case $host_os in 
     2945-  openbsd*) 
     2946-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" 
     2947-    ;; 
     2948-  *) 
     2949-    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" 
     2950-    ;; 
    32492951+  case $lt_cv_dlopen_self_static in 
    32502952+  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 
    32512953+  *) enable_dlopen_self_static=unknown ;; 
    3252 +  esac 
     2954   esac 
     2955-  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" 
    32532956 fi 
    32542957+])# AC_LIBTOOL_DLOPEN_SELF 
    32552958  
    3256 -if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
    3257 -   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
    3258 -   test "X$echo_testing_string" = "X$echo_test_string"; then 
    3259 -  : 
    3260 -else 
    3261 -  # The Solaris, AIX, and Digital Unix default echo programs unquote 
    3262 -  # backslashes.  This makes it impossible to quote backslashes using 
    3263 -  #   echo "$something" | sed 's/\\/\\\\/g' 
    3264 -  # 
    3265 -  # So, first we look for a working echo in the user's PATH. 
    3266 - 
    3267 -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
    3268 -  for dir in $PATH /usr/ucb; do 
    3269 -    IFS="$lt_save_ifs" 
    3270 -    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
    3271 -       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
    3272 -       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 
    3273 -       test "X$echo_testing_string" = "X$echo_test_string"; then 
    3274 -      echo="$dir/echo" 
    3275 -      break 
    3276 -    fi 
    3277 -  done 
    3278 -  IFS="$lt_save_ifs" 
    3279   
    3280 -  if test "X$echo" = Xecho; then 
    3281 -    # We didn't find a better echo, so look for alternatives. 
    3282 -    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 
    3283 -       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 
    3284 -       test "X$echo_testing_string" = "X$echo_test_string"; then 
    3285 -      # This shell has a builtin print -r that does the trick. 
    3286 -      echo='print -r' 
    3287 -    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 
    3288 -        test "X$CONFIG_SHELL" != X/bin/ksh; then 
    3289 -      # If we have ksh, try running configure again with it. 
    3290 -      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 
    3291 -      export ORIGINAL_CONFIG_SHELL 
    3292 -      CONFIG_SHELL=/bin/ksh 
    3293 -      export CONFIG_SHELL 
    3294 -      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} 
    3295 -    else 
    3296 -      # Try using printf. 
    3297 -      echo='printf %s\n' 
    3298 -      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
    3299 -        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
    3300 -        test "X$echo_testing_string" = "X$echo_test_string"; then 
    3301 -       # Cool, printf works 
    3302 -       : 
    3303 -      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
    3304 -          test "X$echo_testing_string" = 'X\t' && 
    3305 -          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
    3306 -          test "X$echo_testing_string" = "X$echo_test_string"; then 
    3307 -       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 
    3308 -       export CONFIG_SHELL 
    3309 -       SHELL="$CONFIG_SHELL" 
    3310 -       export SHELL 
    3311 -       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
    3312 -      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
    3313 -          test "X$echo_testing_string" = 'X\t' && 
    3314 -          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
    3315 -          test "X$echo_testing_string" = "X$echo_test_string"; then 
    3316 -       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
    3317 -      else 
    3318 -       # maybe with a smaller string... 
    3319 -       prev=: 
     2959-_LT_CC_BASENAME([$compiler]) 
     2960  
     2961-# Only perform the check for file, if the check method requires it 
     2962-case $deplibs_check_method in 
     2963-file_magic*) 
     2964-  if test "$file_magic_cmd" = '$MAGIC_CMD'; then 
     2965-    AC_PATH_MAGIC 
     2966-  fi 
     2967-  ;; 
     2968-esac 
    33202969+# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) 
    33212970+# --------------------------------- 
     
    33332982+   echo "$lt_simple_compile_test_code" > conftest.$ac_ext 
    33342983  
    3335 -       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do 
    3336 -         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 
    3337 -         then 
    3338 -           break 
    3339 -         fi 
    3340 -         prev="$cmd" 
    3341 -       done 
    3342 - 
    3343 -       if test "$prev" != 'sed 50q "[$]0"'; then 
    3344 -         echo_test_string=`eval $prev` 
    3345 -         export echo_test_string 
    3346 -         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} 
    3347 -       else 
    3348 -         # Oops.  We lost completely, so just stick with echo. 
    3349 -         echo=echo 
    3350 -       fi 
    3351 -      fi 
    3352 -    fi 
    3353 -  fi 
    3354 -fi 
    3355 -fi 
    3356 - 
    3357 -# Copy echo and quote the copy suitably for passing to libtool from 
    3358 -# the Makefile, instead of quoting the original, which is used later. 
    3359 -ECHO=$echo 
    3360 -if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then 
    3361 -   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" 
    3362 -fi 
    3363 - 
    3364 -AC_SUBST(ECHO) 
    3365 -])])# _LT_AC_PROG_ECHO_BACKSLASH 
    3366 - 
    3367 - 
    3368 -# _LT_AC_LOCK 
    3369 -# ----------- 
    3370 -AC_DEFUN([_LT_AC_LOCK], 
    3371 -[AC_ARG_ENABLE([libtool-lock], 
    3372 -    [AC_HELP_STRING([--disable-libtool-lock], 
    3373 -       [avoid locking (might break parallel builds)])]) 
    3374 -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
    3375 - 
    3376 -# Some flags need to be propagated to the compiler or linker for good 
    3377 -# libtool support. 
    3378 -case $host in 
    3379 -ia64-*-hpux*) 
    3380 -  # Find out which ABI we are using. 
    3381 -  echo 'int i;' > conftest.$ac_ext 
    3382 -  if AC_TRY_EVAL(ac_compile); then 
    3383 -    case `/usr/bin/file conftest.$ac_objext` in 
    3384 -    *ELF-32*) 
    3385 -      HPUX_IA64_MODE="32" 
    3386 -      ;; 
    3387 -    *ELF-64*) 
    3388 -      HPUX_IA64_MODE="64" 
    3389 -      ;; 
    3390 -    esac 
    3391 -  fi 
    3392 -  rm -rf conftest* 
    3393 -  ;; 
    3394 -*-*-irix6*) 
    3395 -  # Find out which ABI we are using. 
    3396 -  echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
    3397 -  if AC_TRY_EVAL(ac_compile); then 
    3398 -   if test "$lt_cv_prog_gnu_ld" = yes; then 
    3399 -    case `/usr/bin/file conftest.$ac_objext` in 
    3400 -    *32-bit*) 
    3401 -      LD="${LD-ld} -melf32bsmip" 
    3402 -      ;; 
    3403 -    *N32*) 
    3404 -      LD="${LD-ld} -melf32bmipn32" 
    3405 -      ;; 
    3406 -    *64-bit*) 
    3407 -      LD="${LD-ld} -melf64bmip" 
    3408 -      ;; 
    3409 -    esac 
    3410 -   else 
    3411 -    case `/usr/bin/file conftest.$ac_objext` in 
    3412 -    *32-bit*) 
    3413 -      LD="${LD-ld} -32" 
    3414 -      ;; 
    3415 -    *N32*) 
    3416 -      LD="${LD-ld} -n32" 
    3417 -      ;; 
    3418 -    *64-bit*) 
    3419 -      LD="${LD-ld} -64" 
    3420 -      ;; 
    3421 -    esac 
    3422 -   fi 
    3423 -  fi 
    3424 -  rm -rf conftest* 
    3425 -  ;; 
    3426 - 
    3427 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 
    3428 -  # Find out which ABI we are using. 
    3429 -  echo 'int i;' > conftest.$ac_ext 
    3430 -  if AC_TRY_EVAL(ac_compile); then 
    3431 -    case `/usr/bin/file conftest.o` in 
    3432 -    *32-bit*) 
    3433 -      case $host in 
    3434 -        x86_64-*linux*) 
    3435 -          LD="${LD-ld} -m elf_i386" 
    3436 -          ;; 
    3437 -        ppc64-*linux*|powerpc64-*linux*) 
    3438 -          LD="${LD-ld} -m elf32ppclinux" 
    3439 -          ;; 
    3440 -        s390x-*linux*) 
    3441 -          LD="${LD-ld} -m elf_s390" 
    3442 -          ;; 
    3443 -        sparc64-*linux*) 
    3444 -          LD="${LD-ld} -m elf32_sparc" 
    3445 -          ;; 
    3446 -      esac 
    3447 -      ;; 
    3448 -    *64-bit*) 
    3449 -      case $host in 
    3450 -        x86_64-*linux*) 
    3451 -          LD="${LD-ld} -m elf_x86_64" 
    3452 -          ;; 
    3453 -        ppc*-*linux*|powerpc*-*linux*) 
    3454 -          LD="${LD-ld} -m elf64ppc" 
    3455 -          ;; 
    3456 -        s390*-*linux*) 
    3457 -          LD="${LD-ld} -m elf64_s390" 
    3458 -          ;; 
    3459 -        sparc*-*linux*) 
    3460 -          LD="${LD-ld} -m elf64_sparc" 
    3461 -          ;; 
    3462 -      esac 
    3463 -      ;; 
    3464 -    esac 
    3465 -  fi 
    3466 -  rm -rf conftest* 
    3467 -  ;; 
    3468 - 
    3469 -*-*-sco3.2v5*) 
    3470 -  # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
    3471 -  SAVE_CFLAGS="$CFLAGS" 
    3472 -  CFLAGS="$CFLAGS -belf" 
    3473 -  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, 
    3474 -    [AC_LANG_PUSH(C) 
    3475 -     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) 
    3476 -     AC_LANG_POP]) 
    3477 -  if test x"$lt_cv_cc_needs_belf" != x"yes"; then 
    3478 -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
    3479 -    CFLAGS="$SAVE_CFLAGS" 
    3480 -  fi 
    3481 -  ;; 
    3482 -sparc*-*solaris*) 
    3483 -  # Find out which ABI we are using. 
    3484 -  echo 'int i;' > conftest.$ac_ext 
    3485 -  if AC_TRY_EVAL(ac_compile); then 
    3486 -    case `/usr/bin/file conftest.o` in 
    3487 -    *64-bit*) 
    3488 -      case $lt_cv_prog_gnu_ld in 
    3489 -      yes*) LD="${LD-ld} -m elf64_sparc" ;; 
    3490 -      *)    LD="${LD-ld} -64" ;; 
    3491 -      esac 
    3492 -      ;; 
    3493 -    esac 
    3494 -  fi 
    3495 -  rm -rf conftest* 
    3496 -  ;; 
    3497 - 
     2984-AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 
    34982985-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
    3499 -[*-*-cygwin* | *-*-mingw* | *-*-pw32*) 
    3500 -  AC_CHECK_TOOL(DLLTOOL, dlltool, false) 
    3501 -  AC_CHECK_TOOL(AS, as, false) 
    3502 -  AC_CHECK_TOOL(OBJDUMP, objdump, false) 
    3503 -  ;; 
    3504 -  ]) 
    3505 -esac 
    3506 - 
    3507 -need_locks="$enable_libtool_lock" 
    3508 - 
    3509 -])# _LT_AC_LOCK 
    3510 - 
    3511 - 
    3512 -# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
    3513 -#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) 
    3514 -# ---------------------------------------------------------------- 
    3515 -# Check whether the given compiler option works 
    3516 -AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 
    3517 -[AC_REQUIRE([LT_AC_PROG_SED]) 
    3518 -AC_CACHE_CHECK([$1], [$2], 
    3519 -  [$2=no 
    3520 -  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
    3521 -   printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
    3522 -   lt_compiler_flag="$3" 
     2986-enable_win32_dll=yes, enable_win32_dll=no) 
    35232987+   lt_compiler_flag="-o out/conftest2.$ac_objext" 
    3524     # Insert the option either (1) after the last *FLAGS variable, or 
    3525     # (2) before a word containing "conftest.", or (3) at the end. 
    3526     # Note that $ac_compile itself does not contain backslashes and begins 
    3527     # with a dollar sign (not a hyphen), so the echo should work correctly. 
    3528 -   # The option is referenced via a variable to avoid confusing sed. 
    3529     lt_compile=`echo "$ac_compile" | $SED \ 
    3530     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
    3531     -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
    3532     -e 's:$: $lt_compiler_flag:'` 
    3533     (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
    3534 -   (eval "$lt_compile" 2>conftest.err) 
     2988+   # Insert the option either (1) after the last *FLAGS variable, or 
     2989+   # (2) before a word containing "conftest.", or (3) at the end. 
     2990+   # Note that $ac_compile itself does not contain backslashes and begins 
     2991+   # with a dollar sign (not a hyphen), so the echo should work correctly. 
     2992+   lt_compile=`echo "$ac_compile" | $SED \ 
     2993+   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
     2994+   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
     2995+   -e 's:$: $lt_compiler_flag:'` 
     2996+   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
    35352997+   (eval "$lt_compile" 2>out/conftest.err) 
    3536     ac_status=$? 
    3537 -   cat conftest.err >&AS_MESSAGE_LOG_FD 
     2998+   ac_status=$? 
    35382999+   cat out/conftest.err >&AS_MESSAGE_LOG_FD 
    3539     echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
    3540 -   if (exit $ac_status) && test -s "$ac_outfile"; then 
     3000+   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
    35413001+   if (exit $ac_status) && test -s out/conftest2.$ac_objext 
    35423002+   then 
    3543       # The compiler can only warn and ignore the option if not recognized 
    3544 -     # So say no if there are warnings other than the usual output. 
    3545 -     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
    3546 -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    3547 -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
    3548 -       $2=yes 
     3003+     # The compiler can only warn and ignore the option if not recognized 
    35493004+     # So say no if there are warnings 
    35503005+     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp 
     
    35523007+     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 
    35533008+       _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes 
    3554       fi 
    3555     fi 
     3009+     fi 
     3010+   fi 
    35563011+   chmod u+w . 2>&AS_MESSAGE_LOG_FD 
    35573012+   $rm conftest* 
     
    35623017+   cd .. 
    35633018+   rmdir conftest 
    3564     $rm conftest* 
    3565  ]) 
     3019+   $rm conftest* 
     3020+]) 
    35663021+])# AC_LIBTOOL_PROG_CC_C_O 
    35673022  
    3568 -if test x"[$]$2" = xyes; then 
    3569 -    ifelse([$5], , :, [$5]) 
    3570 + 
     3023-AC_ARG_ENABLE([libtool-lock], 
     3024-    [AC_HELP_STRING([--disable-libtool-lock], 
     3025-       [avoid locking (might break parallel builds)])]) 
     3026-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
     3027  
     3028-AC_ARG_WITH([pic], 
     3029-    [AC_HELP_STRING([--with-pic], 
     3030-       [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], 
     3031-    [pic_mode="$withval"], 
     3032-    [pic_mode=default]) 
     3033-test -z "$pic_mode" && pic_mode=default 
    35713034+# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) 
    35723035+# ----------------------------------------- 
     
    35743037+AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], 
    35753038+[AC_REQUIRE([_LT_AC_LOCK])dnl 
    3576 + 
     3039  
     3040-# Use C for the default configuration in the libtool script 
     3041-tagname= 
     3042-AC_LIBTOOL_LANG_C_CONFIG 
     3043-_LT_AC_TAGCONFIG 
     3044-])# AC_LIBTOOL_SETUP 
    35773045+hard_links="nottested" 
    35783046+if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then 
     
    35903058+    need_locks=warn 
    35913059+  fi 
    3592  else 
    3593 -    ifelse([$6], , :, [$6]) 
     3060+else 
    35943061+  need_locks=no 
    3595  fi 
    3596 -])# AC_LIBTOOL_COMPILER_OPTION 
     3062+fi 
    35973063+])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS 
    35983064  
    35993065  
    3600 -# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
    3601 -#                          [ACTION-SUCCESS], [ACTION-FAILURE]) 
    3602 -# ------------------------------------------------------------ 
    3603 -# Check whether the given compiler option works 
    3604 -AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 
    3605 -[AC_CACHE_CHECK([$1], [$2], 
    3606 -  [$2=no 
    3607 -   save_LDFLAGS="$LDFLAGS" 
    3608 -   LDFLAGS="$LDFLAGS $3" 
    3609 -   printf "$lt_simple_link_test_code" > conftest.$ac_ext 
    3610 -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
    3611 -     # The linker can only warn and ignore the option if not recognized 
    3612 -     # So say no if there are warnings 
    3613 -     if test -s conftest.err; then 
    3614 -       # Append any errors to the config.log. 
    3615 -       cat conftest.err 1>&AS_MESSAGE_LOG_FD 
    3616 -       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
    3617 -       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
    3618 -       if diff conftest.exp conftest.er2 >/dev/null; then 
    3619 -         $2=yes 
    3620 -       fi 
    3621 -     else 
    3622 -       $2=yes 
    3623 -     fi 
    3624 -   fi 
    3625 -   $rm conftest* 
    3626 -   LDFLAGS="$save_LDFLAGS" 
    3627 -]) 
    3628 - 
    3629 -if test x"[$]$2" = xyes; then 
    3630 -    ifelse([$4], , :, [$4]) 
     3066-# _LT_AC_SYS_COMPILER 
     3067-# ------------------- 
     3068-AC_DEFUN([_LT_AC_SYS_COMPILER], 
     3069-[AC_REQUIRE([AC_PROG_CC])dnl 
    36313070+# AC_LIBTOOL_OBJDIR 
    36323071+# ----------------- 
     
    36373076+if test -d .libs; then 
    36383077+  lt_cv_objdir=.libs 
    3639  else 
    3640 -    ifelse([$5], , :, [$5]) 
     3078+else 
    36413079+  # MS-DOS does not allow filenames that begin with a dot. 
    36423080+  lt_cv_objdir=_libs 
    3643  fi 
    3644 -])# AC_LIBTOOL_LINKER_OPTION 
    3645 - 
    3646 - 
    3647 -# AC_LIBTOOL_SYS_MAX_CMD_LEN 
    3648 -# -------------------------- 
    3649 -AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], 
    3650 -[# find the maximum length of command line arguments 
    3651 -AC_MSG_CHECKING([the maximum length of command line arguments]) 
    3652 -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 
    3653 -  i=0 
    3654 -  teststring="ABCD" 
    3655 - 
    3656 -  case $build_os in 
    3657 -  msdosdjgpp*) 
    3658 -    # On DJGPP, this test can blow up pretty badly due to problems in libc 
    3659 -    # (any single argument exceeding 2000 bytes causes a buffer overrun 
    3660 -    # during glob expansion).  Even if it were fixed, the result of this 
    3661 -    # check would be larger than it should be. 
    3662 -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right 
    3663 -    ;; 
     3081+fi 
    36643082+rmdir .libs 2>/dev/null]) 
    36653083+objdir=$lt_cv_objdir 
    36663084+])# AC_LIBTOOL_OBJDIR 
    36673085  
    3668 -  gnu*) 
    3669 -    # Under GNU Hurd, this test is not required because there is 
    3670 -    # no limit to the length of command line arguments. 
    3671 -    # Libtool will interpret -1 as no limit whatsoever 
    3672 -    lt_cv_sys_max_cmd_len=-1; 
    3673 -    ;; 
    3674   
    3675 -  cygwin* | mingw*) 
    3676 -    # On Win9x/ME, this test blows up -- it succeeds, but takes 
    3677 -    # about 5 minutes as the teststring grows exponentially. 
    3678 -    # Worse, since 9x/ME are not pre-emptively multitasking, 
    3679 -    # you end up with a "frozen" computer, even though with patience 
    3680 -    # the test eventually succeeds (with a max line length of 256k). 
    3681 -    # Instead, let's just punt: use the minimum linelength reported by 
    3682 -    # all of the supported platforms: 8192 (on NT/2K/XP). 
    3683 -    lt_cv_sys_max_cmd_len=8192; 
    3684 -    ;; 
     3086-# If no C compiler was specified, use CC. 
     3087-LTCC=${LTCC-"$CC"} 
     3088  
     3089-# If no C compiler flags were specified, use CFLAGS. 
     3090-LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 
    36853091+# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) 
    36863092+# ---------------------------------------------- 
     
    36933099+   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 
    36943100  
    3695 -  amigaos*) 
    3696 -    # On AmigaOS with pdksh, this test takes hours, literally. 
    3697 -    # So we just punt and use a minimum line length of 8192. 
    3698 -    lt_cv_sys_max_cmd_len=8192; 
    3699 -    ;; 
     3101-# Allow CC to be a program name with arguments. 
     3102-compiler=$CC 
     3103-])# _LT_AC_SYS_COMPILER 
    37003104+  # We can hardcode non-existant directories. 
    37013105+  if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && 
     
    37183122+AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) 
    37193123  
    3720 -  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 
    3721 -    # This has been around since 386BSD, at least.  Likely further. 
    3722 -    if test -x /sbin/sysctl; then 
    3723 -      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 
    3724 -    elif test -x /usr/sbin/sysctl; then 
    3725 -      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 
    3726 -    else 
    3727 -      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs 
    3728 -    fi 
    3729 -    # And add a safety zone 
    3730 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
    3731 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
    3732 -    ;; 
    37333124+if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then 
    37343125+  # Fast installation is not supported 
     
    37413132+])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH 
    37423133  
    3743 -  interix*) 
    3744 -    # We know the value 262144 and hardcode it with a safety zone (like BSD) 
    3745 -    lt_cv_sys_max_cmd_len=196608 
    3746 -    ;; 
    3747   
    3748 -  osf*) 
    3749 -    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
    3750 -    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 
    3751 -    # nice to cause kernel panics so lets avoid the loop below. 
    3752 -    # First set a reasonable default. 
    3753 -    lt_cv_sys_max_cmd_len=16384 
    3754 -    # 
    3755 -    if test -x /sbin/sysconfig; then 
    3756 -      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
    3757 -        *1*) lt_cv_sys_max_cmd_len=-1 ;; 
    3758 -      esac 
    3759 -    fi 
    3760 -    ;; 
    3761 -  sco3.2v5*) 
    3762 -    lt_cv_sys_max_cmd_len=102400 
    3763 -    ;; 
    3764 -  sysv5* | sco5v6* | sysv4.2uw2*) 
    3765 -    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
    3766 -    if test -n "$kargmax"; then 
    3767 -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'` 
    3768 -    else 
    3769 -      lt_cv_sys_max_cmd_len=32768 
    3770 -    fi 
    3771 -    ;; 
    3772 -  *) 
    3773 -    # If test is not a shell built-in, we'll probably end up computing a 
    3774 -    # maximum length that is only half of the actual maximum length, but 
    3775 -    # we can't tell. 
    3776 -    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
    3777 -    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
    3778 -              = "XX$teststring") >/dev/null 2>&1 && 
    3779 -           new_result=`expr "X$teststring" : ".*" 2>&1` && 
    3780 -           lt_cv_sys_max_cmd_len=$new_result && 
    3781 -           test $i != 17 # 1/2 MB should be enough 
    3782 -    do 
    3783 -      i=`expr $i + 1` 
    3784 -      teststring=$teststring$teststring 
    3785 -    done 
    3786 -    teststring= 
    3787 -    # Add a significant safety factor because C++ compilers can tack on massive 
    3788 -    # amounts of additional arguments before passing them to the linker. 
    3789 -    # It appears as though 1/2 is a usable value. 
    3790 -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
     3134-# _LT_CC_BASENAME(CC) 
     3135-# ------------------- 
     3136-# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix. 
     3137-AC_DEFUN([_LT_CC_BASENAME], 
     3138-[for cc_temp in $1""; do 
     3139-  case $cc_temp in 
     3140-    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; 
     3141-    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; 
     3142-    \-*) ;; 
     3143-    *) break;; 
     3144+ 
    37913145+# AC_LIBTOOL_SYS_LIB_STRIP 
    37923146+# ------------------------ 
     
    38133167+   *) 
    38143168+  AC_MSG_RESULT([no]) 
    3815      ;; 
     3169+    ;; 
    38163170   esac 
     3171-done 
     3172-cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` 
    38173173-]) 
    3818 -if test -n $lt_cv_sys_max_cmd_len ; then 
    3819 -  AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 
    3820 -else 
    3821 -  AC_MSG_RESULT(none) 
    3822  fi 
    3823 -])# AC_LIBTOOL_SYS_MAX_CMD_LEN 
     3174+fi 
     3175+])# AC_LIBTOOL_SYS_LIB_STRIP 
     3176  
     3177  
     3178-# _LT_COMPILER_BOILERPLATE 
     3179-# ------------------------ 
     3180-# Check for compiler boilerplate output or warnings with 
     3181-# the simple compiler test code. 
     3182-AC_DEFUN([_LT_COMPILER_BOILERPLATE], 
     3183-[ac_outfile=conftest.$ac_objext 
     3184-printf "$lt_simple_compile_test_code" >conftest.$ac_ext 
     3185-eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
     3186-_lt_compiler_boilerplate=`cat conftest.err` 
     3187-$rm conftest* 
     3188-])# _LT_COMPILER_BOILERPLATE 
    38243189- 
    38253190- 
    3826 -# _LT_AC_CHECK_DLFCN 
    3827 -# ------------------ 
    3828 -AC_DEFUN([_LT_AC_CHECK_DLFCN], 
    3829 -[AC_CHECK_HEADERS(dlfcn.h)dnl 
    3830 -])# _LT_AC_CHECK_DLFCN 
    3831 +])# AC_LIBTOOL_SYS_LIB_STRIP 
    3832   
    3833   
    3834 -# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
    3835 -#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
    3836 -# --------------------------------------------------------------------- 
    3837 -AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 
    3838 -[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
    3839 -if test "$cross_compiling" = yes; then : 
    3840 -  [$4] 
     3191-# _LT_LINKER_BOILERPLATE 
     3192-# ---------------------- 
     3193-# Check for linker boilerplate output or warnings with 
     3194-# the simple link test code. 
     3195-AC_DEFUN([_LT_LINKER_BOILERPLATE], 
     3196-[ac_outfile=conftest.$ac_objext 
     3197-printf "$lt_simple_link_test_code" >conftest.$ac_ext 
     3198-eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 
     3199-_lt_linker_boilerplate=`cat conftest.err` 
     3200-$rm conftest* 
     3201-])# _LT_LINKER_BOILERPLATE 
     3202- 
     3203- 
     3204-# _LT_AC_SYS_LIBPATH_AIX 
     3205-# ---------------------- 
     3206-# Links a minimal program and checks the executable 
     3207-# for the system default hardcoded library path. In most cases, 
     3208-# this is /usr/lib:/lib, but when the MPI compilers are used 
     3209-# the location of the communication and MPI libs are included too. 
     3210-# If we don't find anything, use the default library path according 
     3211-# to the aix ld manual. 
     3212-AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], 
     3213-[AC_LINK_IFELSE(AC_LANG_PROGRAM,[ 
     3214-aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
    38413215+# AC_LIBTOOL_SYS_DYNAMIC_LINKER 
    38423216+# ----------------------------- 
     
    39053279+  if (lt_foo != "") { lt_freq[[lt_foo]]++; } 
    39063280+  if (lt_freq[[lt_foo]] == 1) { print lt_foo; } 
    3907 +}'` 
     3281 }'` 
     3282-# Check for a 64-bit object if we didn't find anything. 
     3283-if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } 
     3284-}'`; fi],[]) 
     3285-if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi 
     3286-])# _LT_AC_SYS_LIBPATH_AIX 
     3287- 
     3288- 
     3289-# _LT_AC_SHELL_INIT(ARG) 
     3290-# ---------------------- 
     3291-AC_DEFUN([_LT_AC_SHELL_INIT], 
     3292-[ifdef([AC_DIVERSION_NOTICE], 
     3293-            [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], 
     3294-        [AC_DIVERT_PUSH(NOTICE)]) 
     3295-$1 
     3296-AC_DIVERT_POP 
     3297-])# _LT_AC_SHELL_INIT 
    39083298+  sys_lib_search_path_spec=`echo $lt_search_path_spec` 
    3909  else 
     3299+else 
     3300+  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
     3301+fi]) 
     3302+need_lib_prefix=unknown 
     3303+hardcode_into_libs=no 
     3304  
     3305+# when you set need_version to no, make sure it does not cause -set_version 
     3306+# flags to be left without arguments 
     3307+need_version=unknown 
     3308  
     3309-# _LT_AC_PROG_ECHO_BACKSLASH 
     3310-# -------------------------- 
     3311-# Add some code to the start of the generated configure script which 
     3312-# will find an echo command which doesn't interpret backslashes. 
     3313-AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], 
     3314-[_LT_AC_SHELL_INIT([ 
     3315-# Check that we are running under the correct shell. 
     3316-SHELL=${CONFIG_SHELL-/bin/sh} 
     3317+case $host_os in 
     3318+aix3*) 
     3319+  version_type=linux 
     3320+  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 
     3321+  shlibpath_var=LIBPATH 
     3322  
     3323-case X$ECHO in 
     3324-X*--fallback-echo) 
     3325-  # Remove one level of quotation (which was required for Make). 
     3326-  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` 
     3327+  # AIX 3 has no versioning support, so we append a major version to the name. 
     3328+  soname_spec='${libname}${release}${shared_ext}$major' 
     3329   ;; 
     3330-esac 
     3331  
     3332-echo=${ECHO-echo} 
     3333-if test "X[$]1" = X--no-reexec; then 
     3334-  # Discard the --no-reexec flag, and continue. 
     3335-  shift 
     3336-elif test "X[$]1" = X--fallback-echo; then 
     3337-  # Avoid inline document here, it may be left over 
     3338-  : 
     3339-elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then 
     3340-  # Yippee, $echo works! 
     3341-  : 
     3342-else 
     3343-  # Restart under the correct shell. 
     3344-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} 
     3345-fi 
     3346+aix4* | aix5*) 
     3347+  version_type=linux 
     3348+  need_lib_prefix=no 
     3349+  need_version=no 
     3350+  hardcode_into_libs=yes 
     3351+  if test "$host_cpu" = ia64; then 
     3352+    # AIX 5 supports IA64 
     3353+    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 
     3354+    shlibpath_var=LD_LIBRARY_PATH 
     3355+  else 
     3356+    # With GCC up to 2.95.x, collect2 would create an import file 
     3357+    # for dependence libraries.  The import file would start with 
     3358+    # the line `#! .'.  This would cause the generated library to 
     3359+    # depend on `.', always an invalid library.  This was fixed in 
     3360+    # development snapshots of GCC prior to 3.0. 
     3361+    case $host_os in 
     3362+      aix4 | aix4.[[01]] | aix4.[[01]].*) 
     3363+      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
     3364+          echo ' yes ' 
     3365+          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 
     3366+       : 
     3367+      else 
     3368+       can_build_shared=no 
     3369+      fi 
     3370+      ;; 
     3371+    esac 
     3372+    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 
     3373+    # soname into executable. Probably we can add versioning support to 
     3374+    # collect2, so additional links can be useful in future. 
     3375+    if test "$aix_use_runtimelinking" = yes; then 
     3376+      # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
     3377+      # instead of lib<name>.a to let people know that these are not 
     3378+      # typical AIX shared libraries. 
     3379+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     3380+    else 
     3381+      # We preserve .a as extension for shared libraries through AIX4.2 
     3382+      # and later when we are not doing run time linking. 
     3383+      library_names_spec='${libname}${release}.a $libname.a' 
     3384+      soname_spec='${libname}${release}${shared_ext}$major' 
     3385+    fi 
     3386+    shlibpath_var=LIBPATH 
     3387+  fi 
     3388+  ;; 
     3389  
     3390-if test "X[$]1" = X--fallback-echo; then 
     3391-  # used as fallback echo 
     3392-  shift 
     3393-  cat <<EOF 
     3394-[$]* 
     3395-EOF 
     3396-  exit 0 
     3397-fi 
     3398+amigaos*) 
     3399+  library_names_spec='$libname.ixlibrary $libname.a' 
     3400+  # Create ${libname}_ixlibrary.a entries in /sys/libs. 
     3401+  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' 
     3402+  ;; 
     3403  
     3404-# The HP-UX ksh and POSIX shell print the target directory to stdout 
     3405-# if CDPATH is set. 
     3406-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 
     3407+beos*) 
     3408+  library_names_spec='${libname}${shared_ext}' 
     3409+  dynamic_linker="$host_os ld.so" 
     3410+  shlibpath_var=LIBRARY_PATH 
     3411+  ;; 
     3412  
     3413-if test -z "$ECHO"; then 
     3414-if test "X${echo_test_string+set}" != Xset; then 
     3415-# find a string as large as possible, as long as the shell can cope with it 
     3416-  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do 
     3417-    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 
     3418-    if (echo_test_string=`eval $cmd`) 2>/dev/null && 
     3419-       echo_test_string=`eval $cmd` && 
     3420-       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null 
     3421-    then 
     3422-      break 
     3423-    fi 
     3424-  done 
     3425-fi 
     3426+bsdi[[45]]*) 
     3427+  version_type=linux 
     3428+  need_version=no 
     3429+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     3430+  soname_spec='${libname}${release}${shared_ext}$major' 
     3431+  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 
     3432+  shlibpath_var=LD_LIBRARY_PATH 
     3433+  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
     3434+  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 
     3435+  # the default ld.so.conf also contains /usr/contrib/lib and 
     3436+  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
     3437+  # libtool to hard-code these into programs 
     3438+  ;; 
     3439  
     3440-if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
     3441-   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
     3442-   test "X$echo_testing_string" = "X$echo_test_string"; then 
     3443-  : 
     3444-else 
     3445-  # The Solaris, AIX, and Digital Unix default echo programs unquote 
     3446-  # backslashes.  This makes it impossible to quote backslashes using 
     3447-  #   echo "$something" | sed 's/\\/\\\\/g' 
     3448-  # 
     3449-  # So, first we look for a working echo in the user's PATH. 
     3450+cygwin* | mingw* | pw32*) 
     3451+  version_type=windows 
     3452+  shrext_cmds=".dll" 
     3453+  need_version=no 
     3454+  need_lib_prefix=no 
     3455  
     3456-  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
     3457-  for dir in $PATH /usr/ucb; do 
     3458-    IFS="$lt_save_ifs" 
     3459-    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 
     3460-       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 
     3461-       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 
     3462-       test "X$echo_testing_string" = "X$echo_test_string"; then 
     3463-      echo="$dir/echo" 
     3464-      break 
     3465-    fi 
     3466-  done 
     3467-  IFS="$lt_save_ifs" 
     3468+  case $GCC,$host_os in 
     3469+  yes,cygwin* | yes,mingw* | yes,pw32*) 
     3470+    library_names_spec='$libname.dll.a' 
     3471+    # DLL is installed to $(libdir)/../bin by postinstall_cmds 
     3472+    postinstall_cmds='base_file=`basename \${file}`~ 
     3473+      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 
     3474+      dldir=$destdir/`dirname \$dlpath`~ 
     3475+      test -d \$dldir || mkdir -p \$dldir~ 
     3476+      $install_prog $dir/$dlname \$dldir/$dlname~ 
     3477+      chmod a+x \$dldir/$dlname' 
     3478+    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
     3479+      dlpath=$dir/\$dldll~ 
     3480+       $rm \$dlpath' 
     3481+    shlibpath_overrides_runpath=yes 
     3482  
     3483-  if test "X$echo" = Xecho; then 
     3484-    # We didn't find a better echo, so look for alternatives. 
     3485-    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && 
     3486-       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && 
     3487-       test "X$echo_testing_string" = "X$echo_test_string"; then 
     3488-      # This shell has a builtin print -r that does the trick. 
     3489-      echo='print -r' 
     3490-    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && 
     3491-        test "X$CONFIG_SHELL" != X/bin/ksh; then 
     3492-      # If we have ksh, try running configure again with it. 
     3493-      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} 
     3494-      export ORIGINAL_CONFIG_SHELL 
     3495-      CONFIG_SHELL=/bin/ksh 
     3496-      export CONFIG_SHELL 
     3497-      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} 
     3498-    else 
     3499-      # Try using printf. 
     3500-      echo='printf %s\n' 
     3501-      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && 
     3502-        echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && 
     3503-        test "X$echo_testing_string" = "X$echo_test_string"; then 
     3504-       # Cool, printf works 
     3505-       : 
     3506-      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
     3507-          test "X$echo_testing_string" = 'X\t' && 
     3508-          echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
     3509-          test "X$echo_testing_string" = "X$echo_test_string"; then 
     3510-       CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL 
     3511-       export CONFIG_SHELL 
     3512-       SHELL="$CONFIG_SHELL" 
     3513-       export SHELL 
     3514-       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
     3515-      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && 
     3516-          test "X$echo_testing_string" = 'X\t' && 
     3517-          echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && 
     3518-          test "X$echo_testing_string" = "X$echo_test_string"; then 
     3519-       echo="$CONFIG_SHELL [$]0 --fallback-echo" 
     3520+    case $host_os in 
     3521+    cygwin*) 
     3522+      # Cygwin DLLs use 'cyg' prefix rather than 'lib' 
     3523+      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
     3524+      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 
     3525+      ;; 
     3526+    mingw*) 
     3527+      # MinGW DLLs use traditional 'lib' prefix 
     3528+      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
     3529+      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
     3530+      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then 
     3531+        # It is most probably a Windows format PATH printed by 
     3532+        # mingw gcc, but we are running on Cygwin. Gcc prints its search 
     3533+        # path with ; separators, and with drive letters. We can handle the 
     3534+        # drive letters (cygwin fileutils understands them), so leave them, 
     3535+        # especially as we might pass files found there to a mingw objdump, 
     3536+        # which wouldn't understand a cygwinified path. Ahh. 
     3537+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
     3538       else 
     3539-       # maybe with a smaller string... 
     3540-       prev=: 
     3541- 
     3542-       for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do 
     3543-         if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null 
     3544-         then 
     3545-           break 
     3546-         fi 
     3547-         prev="$cmd" 
     3548-       done 
     3549- 
     3550-       if test "$prev" != 'sed 50q "[$]0"'; then 
     3551-         echo_test_string=`eval $prev` 
     3552-         export echo_test_string 
     3553-         exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} 
     3554-       else 
     3555-         # Oops.  We lost completely, so just stick with echo. 
     3556-         echo=echo 
     3557-       fi 
     3558+        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
     3559       fi 
     3560-    fi 
     3561-  fi 
     3562-fi 
     3563-fi 
     3564+      ;; 
     3565+    pw32*) 
     3566+      # pw32 DLLs use 'pw' prefix rather than 'lib' 
     3567+      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
     3568+      ;; 
     3569+    esac 
     3570+    ;; 
     3571  
     3572-# Copy echo and quote the copy suitably for passing to libtool from 
     3573-# the Makefile, instead of quoting the original, which is used later. 
     3574-ECHO=$echo 
     3575-if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then 
     3576-   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" 
     3577-fi 
     3578+  *) 
     3579+    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' 
     3580+    ;; 
     3581+  esac 
     3582+  dynamic_linker='Win32 ld.exe' 
     3583+  # FIXME: first we should search . and the directory the executable is in 
     3584+  shlibpath_var=PATH 
     3585+  ;; 
     3586  
     3587-AC_SUBST(ECHO) 
     3588-])])# _LT_AC_PROG_ECHO_BACKSLASH 
     3589+darwin* | rhapsody*) 
     3590+  dynamic_linker="$host_os dyld" 
     3591+  version_type=darwin 
     3592+  need_lib_prefix=no 
     3593+  need_version=no 
     3594+  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
     3595+  soname_spec='${libname}${release}${major}$shared_ext' 
     3596+  shlibpath_overrides_runpath=yes 
     3597+  shlibpath_var=DYLD_LIBRARY_PATH 
     3598+  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 
     3599+  m4_if([$1], [],[ 
     3600+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])  
     3601+  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 
     3602+  ;; 
     3603  
     3604+dgux*) 
     3605+  version_type=linux 
     3606+  need_lib_prefix=no 
     3607+  need_version=no 
     3608+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 
     3609+  soname_spec='${libname}${release}${shared_ext}$major' 
     3610+  shlibpath_var=LD_LIBRARY_PATH 
     3611+  ;; 
     3612  
     3613-# _LT_AC_LOCK 
     3614-# ----------- 
     3615-AC_DEFUN([_LT_AC_LOCK], 
     3616-[AC_ARG_ENABLE([libtool-lock], 
     3617-    [AC_HELP_STRING([--disable-libtool-lock], 
     3618-       [avoid locking (might break parallel builds)])]) 
     3619-test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes 
     3620+freebsd1*) 
     3621+  dynamic_linker=no 
     3622+  ;; 
     3623  
     3624-# Some flags need to be propagated to the compiler or linker for good 
     3625-# libtool support. 
     3626-case $host in 
     3627-ia64-*-hpux*) 
     3628-  # Find out which ABI we are using. 
     3629-  echo 'int i;' > conftest.$ac_ext 
     3630-  if AC_TRY_EVAL(ac_compile); then 
     3631-    case `/usr/bin/file conftest.$ac_objext` in 
     3632-    *ELF-32*) 
     3633-      HPUX_IA64_MODE="32" 
     3634-      ;; 
     3635-    *ELF-64*) 
     3636-      HPUX_IA64_MODE="64" 
     3637-      ;; 
     3638+freebsd* | dragonfly*) 
     3639+  # DragonFly does not have aout.  When/if they implement a new 
     3640+  # versioning mechanism, adjust this. 
     3641+  if test -x /usr/bin/objformat; then 
     3642+    objformat=`/usr/bin/objformat` 
     3643+  else 
     3644+    case $host_os in 
     3645+    freebsd[[123]]*) objformat=aout ;; 
     3646+    *) objformat=elf ;; 
     3647     esac 
     3648   fi 
     3649-  rm -rf conftest* 
     3650-  ;; 
     3651-*-*-irix6*) 
     3652-  # Find out which ABI we are using. 
     3653-  echo '[#]line __oline__ "configure"' > conftest.$ac_ext 
     3654-  if AC_TRY_EVAL(ac_compile); then 
     3655-   if test "$lt_cv_prog_gnu_ld" = yes; then 
     3656-    case `/usr/bin/file conftest.$ac_objext` in 
     3657-    *32-bit*) 
     3658-      LD="${LD-ld} -melf32bsmip" 
     3659-      ;; 
     3660-    *N32*) 
     3661-      LD="${LD-ld} -melf32bmipn32" 
     3662-      ;; 
     3663-    *64-bit*) 
     3664-      LD="${LD-ld} -melf64bmip" 
     3665-      ;; 
     3666-    esac 
     3667-   else 
     3668-    case `/usr/bin/file conftest.$ac_objext` in 
     3669-    *32-bit*) 
     3670-      LD="${LD-ld} -32" 
     3671-      ;; 
     3672-    *N32*) 
     3673-      LD="${LD-ld} -n32" 
     3674+  version_type=freebsd-$objformat 
     3675+  case $version_type in 
     3676+    freebsd-elf*) 
     3677+      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
     3678+      need_version=no 
     3679+      need_lib_prefix=no 
     3680       ;; 
     3681-    *64-bit*) 
     3682-      LD="${LD-ld} -64" 
     3683+    freebsd-*) 
     3684+      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 
     3685+      need_version=yes 
     3686       ;; 
     3687-    esac 
     3688-   fi 
     3689-  fi 
     3690-  rm -rf conftest* 
     3691+  esac 
     3692+  shlibpath_var=LD_LIBRARY_PATH 
     3693+  case $host_os in 
     3694+  freebsd2*) 
     3695+    shlibpath_overrides_runpath=yes 
     3696+    ;; 
     3697+  freebsd3.[[01]]* | freebsdelf3.[[01]]*) 
     3698+    shlibpath_overrides_runpath=yes 
     3699+    hardcode_into_libs=yes 
     3700+    ;; 
     3701+  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 
     3702+  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 
     3703+    shlibpath_overrides_runpath=no 
     3704+    hardcode_into_libs=yes 
     3705+    ;; 
     3706+  *) # from 4.6 on, and DragonFly 
     3707+    shlibpath_overrides_runpath=yes 
     3708+    hardcode_into_libs=yes 
     3709+    ;; 
     3710+  esac 
     3711   ;; 
     3712  
     3713-x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) 
     3714-  # Find out which ABI we are using. 
     3715-  echo 'int i;' > conftest.$ac_ext 
     3716-  if AC_TRY_EVAL(ac_compile); then 
     3717-    case `/usr/bin/file conftest.o` in 
     3718-    *32-bit*) 
     3719-      case $host in 
     3720-        x86_64-*linux*) 
     3721-          LD="${LD-ld} -m elf_i386" 
     3722-          ;; 
     3723-        ppc64-*linux*|powerpc64-*linux*) 
     3724-          LD="${LD-ld} -m elf32ppclinux" 
     3725-          ;; 
     3726-        s390x-*linux*) 
     3727-          LD="${LD-ld} -m elf_s390" 
     3728-          ;; 
     3729-        sparc64-*linux*) 
     3730-          LD="${LD-ld} -m elf32_sparc" 
     3731-          ;; 
     3732-      esac 
     3733-      ;; 
     3734-    *64-bit*) 
     3735-      case $host in 
     3736-        x86_64-*linux*) 
     3737-          LD="${LD-ld} -m elf_x86_64" 
     3738-          ;; 
     3739-        ppc*-*linux*|powerpc*-*linux*) 
     3740-          LD="${LD-ld} -m elf64ppc" 
     3741-          ;; 
     3742-        s390*-*linux*) 
     3743-          LD="${LD-ld} -m elf64_s390" 
     3744-          ;; 
     3745-        sparc*-*linux*) 
     3746-          LD="${LD-ld} -m elf64_sparc" 
     3747-          ;; 
     3748-      esac 
     3749-      ;; 
     3750-    esac 
     3751-  fi 
     3752-  rm -rf conftest* 
     3753+gnu*) 
     3754+  version_type=linux 
     3755+  need_lib_prefix=no 
     3756+  need_version=no 
     3757+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
     3758+  soname_spec='${libname}${release}${shared_ext}$major' 
     3759+  shlibpath_var=LD_LIBRARY_PATH 
     3760+  hardcode_into_libs=yes 
     3761   ;; 
     3762  
     3763-*-*-sco3.2v5*) 
     3764-  # On SCO OpenServer 5, we need -belf to get full-featured binaries. 
     3765-  SAVE_CFLAGS="$CFLAGS" 
     3766-  CFLAGS="$CFLAGS -belf" 
     3767-  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, 
     3768-    [AC_LANG_PUSH(C) 
     3769-     AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) 
     3770-     AC_LANG_POP]) 
     3771-  if test x"$lt_cv_cc_needs_belf" != x"yes"; then 
     3772-    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 
     3773-    CFLAGS="$SAVE_CFLAGS" 
     3774-  fi 
     3775+hpux9* | hpux10* | hpux11*) 
     3776+  # Give a soname corresponding to the major version so that dld.sl refuses to 
     3777+  # link against other versions. 
     3778+  version_type=sunos 
     3779+  need_lib_prefix=no 
     3780+  need_version=no 
     3781+  case $host_cpu in 
     3782+  ia64*) 
     3783+    shrext_cmds='.so' 
     3784+    hardcode_into_libs=yes 
     3785+    dynamic_linker="$host_os dld.so" 
     3786+    shlibpath_var=LD_LIBRARY_PATH 
     3787+    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 
     3788+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     3789+    soname_spec='${libname}${release}${shared_ext}$major' 
     3790+    if test "X$HPUX_IA64_MODE" = X32; then 
     3791+      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 
     3792+    else 
     3793+      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 
     3794+    fi 
     3795+    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 
     3796+    ;; 
     3797+   hppa*64*) 
     3798+     shrext_cmds='.sl' 
     3799+     hardcode_into_libs=yes 
     3800+     dynamic_linker="$host_os dld.sl" 
     3801+     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 
     3802+     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 
     3803+     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     3804+     soname_spec='${libname}${release}${shared_ext}$major' 
     3805+     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 
     3806+     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 
     3807+     ;; 
     3808+   *) 
     3809+    shrext_cmds='.sl' 
     3810+    dynamic_linker="$host_os dld.sl" 
     3811+    shlibpath_var=SHLIB_PATH 
     3812+    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 
     3813+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     3814+    soname_spec='${libname}${release}${shared_ext}$major' 
     3815+    ;; 
     3816+  esac 
     3817+  # HP-UX runs *really* slowly unless shared libraries are mode 555. 
     3818+  postinstall_cmds='chmod 555 $lib' 
     3819   ;; 
     3820-sparc*-*solaris*) 
     3821-  # Find out which ABI we are using. 
     3822-  echo 'int i;' > conftest.$ac_ext 
     3823-  if AC_TRY_EVAL(ac_compile); then 
     3824-    case `/usr/bin/file conftest.o` in 
     3825-    *64-bit*) 
     3826-      case $lt_cv_prog_gnu_ld in 
     3827-      yes*) LD="${LD-ld} -m elf64_sparc" ;; 
     3828-      *)    LD="${LD-ld} -64" ;; 
     3829-      esac 
     3830-      ;; 
     3831+ 
     3832+interix[[3-9]]*) 
     3833+  version_type=linux 
     3834+  need_lib_prefix=no 
     3835+  need_version=no 
     3836+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     3837+  soname_spec='${libname}${release}${shared_ext}$major' 
     3838+  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 
     3839+  shlibpath_var=LD_LIBRARY_PATH 
     3840+  shlibpath_overrides_runpath=no 
     3841+  hardcode_into_libs=yes 
     3842+  ;; 
     3843+ 
     3844+irix5* | irix6* | nonstopux*) 
     3845+  case $host_os in 
     3846+    nonstopux*) version_type=nonstopux ;; 
     3847+    *) 
     3848+       if test "$lt_cv_prog_gnu_ld" = yes; then 
     3849+               version_type=linux 
     3850+       else 
     3851+               version_type=irix 
     3852+       fi ;; 
     3853+  esac 
     3854+  need_lib_prefix=no 
     3855+  need_version=no 
     3856+  soname_spec='${libname}${release}${shared_ext}$major' 
     3857+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 
     3858+  case $host_os in 
     3859+  irix5* | nonstopux*) 
     3860+    libsuff= shlibsuff= 
     3861+    ;; 
     3862+  *) 
     3863+    case $LD in # libtool.m4 will add one of these switches to LD 
     3864+    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
     3865+      libsuff= shlibsuff= libmagic=32-bit;; 
     3866+    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 
     3867+      libsuff=32 shlibsuff=N32 libmagic=N32;; 
     3868+    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 
     3869+      libsuff=64 shlibsuff=64 libmagic=64-bit;; 
     3870+    *) libsuff= shlibsuff= libmagic=never-match;; 
     3871     esac 
     3872-  fi 
     3873-  rm -rf conftest* 
     3874+    ;; 
     3875+  esac 
     3876+  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 
     3877+  shlibpath_overrides_runpath=no 
     3878+  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
     3879+  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 
     3880+  hardcode_into_libs=yes 
     3881   ;; 
     3882  
     3883-AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 
     3884-[*-*-cygwin* | *-*-mingw* | *-*-pw32*) 
     3885-  AC_CHECK_TOOL(DLLTOOL, dlltool, false) 
     3886-  AC_CHECK_TOOL(AS, as, false) 
     3887-  AC_CHECK_TOOL(OBJDUMP, objdump, false) 
     3888+# No shared lib support for Linux oldld, aout, or coff. 
     3889+linux*oldld* | linux*aout* | linux*coff*) 
     3890+  dynamic_linker=no 
     3891   ;; 
     3892-  ]) 
     3893-esac 
     3894  
     3895-need_locks="$enable_libtool_lock" 
     3896+# This must be Linux ELF. 
     3897+linux* | k*bsd*-gnu) 
     3898+  version_type=linux 
     3899+  need_lib_prefix=no 
     3900+  need_version=no 
     3901+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     3902+  soname_spec='${libname}${release}${shared_ext}$major' 
     3903+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
     3904+  shlibpath_var=LD_LIBRARY_PATH 
     3905+  shlibpath_overrides_runpath=no 
     3906+  # This implies no fast_install, which is unacceptable. 
     3907+  # Some rework will be needed to allow for fast_install 
     3908+  # before this can be enabled. 
     3909+  hardcode_into_libs=yes 
     3910  
     3911-])# _LT_AC_LOCK 
     3912+  # Append ld.so.conf contents to the search path 
     3913+  if test -f /etc/ld.so.conf; then 
     3914+    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;/^$/d' | tr '\n' ' '` 
     3915+    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
     3916+  fi 
     3917  
     3918+  # We used to test for /lib/ld.so.1 and disable shared libraries on 
     3919+  # powerpc, because MkLinux only supported shared libraries with the 
     3920+  # GNU dynamic linker.  Since this was broken with cross compilers, 
     3921+  # most powerpc-linux boxes support dynamic linking these days and 
     3922+  # people can always --disable-shared, the test was removed, and we 
     3923+  # assume the GNU/Linux dynamic linker is in use. 
     3924+  dynamic_linker='GNU/Linux ld.so' 
     3925+  ;; 
     3926  
     3927-# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
     3928-#              [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) 
     3929-# ---------------------------------------------------------------- 
     3930-# Check whether the given compiler option works 
     3931-AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 
     3932-[AC_REQUIRE([LT_AC_PROG_SED]) 
     3933-AC_CACHE_CHECK([$1], [$2], 
     3934-  [$2=no 
     3935-  ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) 
     3936-   printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
     3937-   lt_compiler_flag="$3" 
     3938-   # Insert the option either (1) after the last *FLAGS variable, or 
     3939-   # (2) before a word containing "conftest.", or (3) at the end. 
     3940-   # Note that $ac_compile itself does not contain backslashes and begins 
     3941-   # with a dollar sign (not a hyphen), so the echo should work correctly. 
     3942-   # The option is referenced via a variable to avoid confusing sed. 
     3943-   lt_compile=`echo "$ac_compile" | $SED \ 
     3944-   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 
     3945-   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ 
     3946-   -e 's:$: $lt_compiler_flag:'` 
     3947-   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) 
     3948-   (eval "$lt_compile" 2>conftest.err) 
     3949-   ac_status=$? 
     3950-   cat conftest.err >&AS_MESSAGE_LOG_FD 
     3951-   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD 
     3952-   if (exit $ac_status) && test -s "$ac_outfile"; then 
     3953-     # The compiler can only warn and ignore the option if not recognized 
     3954-     # So say no if there are warnings other than the usual output. 
     3955-     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp 
     3956-     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
     3957-     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 
     3958-       $2=yes 
     3959-     fi 
     3960-   fi 
     3961-   $rm conftest* 
     3962-]) 
     3963+netbsdelf*-gnu) 
     3964+  version_type=linux 
     3965+  need_lib_prefix=no 
     3966+  need_version=no 
     3967+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     3968+  soname_spec='${libname}${release}${shared_ext}$major' 
     3969+  shlibpath_var=LD_LIBRARY_PATH 
     3970+  shlibpath_overrides_runpath=no 
     3971+  hardcode_into_libs=yes 
     3972+  dynamic_linker='NetBSD ld.elf_so' 
     3973+  ;; 
     3974  
     3975-if test x"[$]$2" = xyes; then 
     3976-    ifelse([$5], , :, [$5]) 
     3977-else 
     3978-    ifelse([$6], , :, [$6]) 
     3979-fi 
     3980-])# AC_LIBTOOL_COMPILER_OPTION 
     3981+netbsd*) 
     3982+  version_type=sunos 
     3983+  need_lib_prefix=no 
     3984+  need_version=no 
     3985+  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 
     3986+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
     3987+    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
     3988+    dynamic_linker='NetBSD (a.out) ld.so' 
     3989+  else 
     3990+    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
     3991+    soname_spec='${libname}${release}${shared_ext}$major' 
     3992+    dynamic_linker='NetBSD ld.elf_so' 
     3993+  fi 
     3994+  shlibpath_var=LD_LIBRARY_PATH 
     3995+  shlibpath_overrides_runpath=yes 
     3996+  hardcode_into_libs=yes 
     3997+  ;; 
     3998  
     3999+newsos6) 
     4000+  version_type=linux 
     4001+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     4002+  shlibpath_var=LD_LIBRARY_PATH 
     4003+  shlibpath_overrides_runpath=yes 
     4004+  ;; 
     4005  
     4006-# AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, 
     4007-#                          [ACTION-SUCCESS], [ACTION-FAILURE]) 
     4008-# ------------------------------------------------------------ 
     4009-# Check whether the given compiler option works 
     4010-AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], 
     4011-[AC_CACHE_CHECK([$1], [$2], 
     4012-  [$2=no 
     4013-   save_LDFLAGS="$LDFLAGS" 
     4014-   LDFLAGS="$LDFLAGS $3" 
     4015-   printf "$lt_simple_link_test_code" > conftest.$ac_ext 
     4016-   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 
     4017-     # The linker can only warn and ignore the option if not recognized 
     4018-     # So say no if there are warnings 
     4019-     if test -s conftest.err; then 
     4020-       # Append any errors to the config.log. 
     4021-       cat conftest.err 1>&AS_MESSAGE_LOG_FD 
     4022-       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp 
     4023-       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 
     4024-       if diff conftest.exp conftest.er2 >/dev/null; then 
     4025-         $2=yes 
     4026-       fi 
     4027-     else 
     4028-       $2=yes 
     4029-     fi 
     4030-   fi 
     4031-   $rm conftest* 
     4032-   LDFLAGS="$save_LDFLAGS" 
     4033-]) 
     4034+nto-qnx*) 
     4035+  version_type=linux 
     4036+  need_lib_prefix=no 
     4037+  need_version=no 
     4038+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     4039+  soname_spec='${libname}${release}${shared_ext}$major' 
     4040+  shlibpath_var=LD_LIBRARY_PATH 
     4041+  shlibpath_overrides_runpath=yes 
     4042+  ;; 
     4043  
     4044-if test x"[$]$2" = xyes; then 
     4045-    ifelse([$4], , :, [$4]) 
     4046-else 
     4047-    ifelse([$5], , :, [$5]) 
     4048-fi 
     4049-])# AC_LIBTOOL_LINKER_OPTION 
     4050+openbsd*) 
     4051+  version_type=sunos 
     4052+  sys_lib_dlsearch_path_spec="/usr/lib" 
     4053+  need_lib_prefix=no 
     4054+  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
     4055+  case $host_os in 
     4056+    openbsd3.3 | openbsd3.3.*) need_version=yes ;; 
     4057+    *)                         need_version=no  ;; 
     4058+  esac 
     4059+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
     4060+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
     4061+  shlibpath_var=LD_LIBRARY_PATH 
     4062+  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
     4063+    case $host_os in 
     4064+      openbsd2.[[89]] | openbsd2.[[89]].*) 
     4065+       shlibpath_overrides_runpath=no 
     4066+       ;; 
     4067+      *) 
     4068+       shlibpath_overrides_runpath=yes 
     4069+       ;; 
     4070+      esac 
     4071+  else 
     4072+    shlibpath_overrides_runpath=yes 
     4073+  fi 
     4074+  ;; 
     4075  
     4076+os2*) 
     4077+  libname_spec='$name' 
     4078+  shrext_cmds=".dll" 
     4079+  need_lib_prefix=no 
     4080+  library_names_spec='$libname${shared_ext} $libname.a' 
     4081+  dynamic_linker='OS/2 ld.exe' 
     4082+  shlibpath_var=LIBPATH 
     4083+  ;; 
     4084  
     4085-# AC_LIBTOOL_SYS_MAX_CMD_LEN 
     4086-# -------------------------- 
     4087-AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], 
     4088-[# find the maximum length of command line arguments 
     4089-AC_MSG_CHECKING([the maximum length of command line arguments]) 
     4090-AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 
     4091-  i=0 
     4092-  teststring="ABCD" 
     4093+osf3* | osf4* | osf5*) 
     4094+  version_type=osf 
     4095+  need_lib_prefix=no 
     4096+  need_version=no 
     4097+  soname_spec='${libname}${release}${shared_ext}$major' 
     4098+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     4099+  shlibpath_var=LD_LIBRARY_PATH 
     4100+  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
     4101+  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
     4102+  ;; 
     4103  
     4104-  case $build_os in 
     4105-  msdosdjgpp*) 
     4106-    # On DJGPP, this test can blow up pretty badly due to problems in libc 
     4107-    # (any single argument exceeding 2000 bytes causes a buffer overrun 
     4108-    # during glob expansion).  Even if it were fixed, the result of this 
     4109-    # check would be larger than it should be. 
     4110-    lt_cv_sys_max_cmd_len=12288;    # 12K is about right 
     4111-    ;; 
     4112+rdos*) 
     4113+  dynamic_linker=no 
     4114+  ;; 
     4115  
     4116-  gnu*) 
     4117-    # Under GNU Hurd, this test is not required because there is 
     4118-    # no limit to the length of command line arguments. 
     4119-    # Libtool will interpret -1 as no limit whatsoever 
     4120-    lt_cv_sys_max_cmd_len=-1; 
     4121-    ;; 
     4122+solaris*) 
     4123+  version_type=linux 
     4124+  need_lib_prefix=no 
     4125+  need_version=no 
     4126+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     4127+  soname_spec='${libname}${release}${shared_ext}$major' 
     4128+  shlibpath_var=LD_LIBRARY_PATH 
     4129+  shlibpath_overrides_runpath=yes 
     4130+  hardcode_into_libs=yes 
     4131+  # ldd complains unless libraries are executable 
     4132+  postinstall_cmds='chmod +x $lib' 
     4133+  ;; 
     4134  
     4135-  cygwin* | mingw*) 
     4136-    # On Win9x/ME, this test blows up -- it succeeds, but takes 
     4137-    # about 5 minutes as the teststring grows exponentially. 
     4138-    # Worse, since 9x/ME are not pre-emptively multitasking, 
     4139-    # you end up with a "frozen" computer, even though with patience 
     4140-    # the test eventually succeeds (with a max line length of 256k). 
     4141-    # Instead, let's just punt: use the minimum linelength reported by 
     4142-    # all of the supported platforms: 8192 (on NT/2K/XP). 
     4143-    lt_cv_sys_max_cmd_len=8192; 
     4144-    ;; 
     4145+sunos4*) 
     4146+  version_type=sunos 
     4147+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
     4148+  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
     4149+  shlibpath_var=LD_LIBRARY_PATH 
     4150+  shlibpath_overrides_runpath=yes 
     4151+  if test "$with_gnu_ld" = yes; then 
     4152+    need_lib_prefix=no 
     4153+  fi 
     4154+  need_version=yes 
     4155+  ;; 
     4156  
     4157-  amigaos*) 
     4158-    # On AmigaOS with pdksh, this test takes hours, literally. 
     4159-    # So we just punt and use a minimum line length of 8192. 
     4160-    lt_cv_sys_max_cmd_len=8192; 
     4161-    ;; 
     4162+sysv4 | sysv4.3*) 
     4163+  version_type=linux 
     4164+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     4165+  soname_spec='${libname}${release}${shared_ext}$major' 
     4166+  shlibpath_var=LD_LIBRARY_PATH 
     4167+  case $host_vendor in 
     4168+    sni) 
     4169+      shlibpath_overrides_runpath=no 
     4170+      need_lib_prefix=no 
     4171+      export_dynamic_flag_spec='${wl}-Blargedynsym' 
     4172+      runpath_var=LD_RUN_PATH 
     4173+      ;; 
     4174+    siemens) 
     4175+      need_lib_prefix=no 
     4176+      ;; 
     4177+    motorola) 
     4178+      need_lib_prefix=no 
     4179+      need_version=no 
     4180+      shlibpath_overrides_runpath=no 
     4181+      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 
     4182+      ;; 
     4183+  esac 
     4184+  ;; 
     4185  
     4186-  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 
     4187-    # This has been around since 386BSD, at least.  Likely further. 
     4188-    if test -x /sbin/sysctl; then 
     4189-      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 
     4190-    elif test -x /usr/sbin/sysctl; then 
     4191-      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 
     4192-    else 
     4193-      lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs 
     4194-    fi 
     4195-    # And add a safety zone 
     4196-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 
     4197-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 
     4198-    ;; 
     4199+sysv4*MP*) 
     4200+  if test -d /usr/nec ;then 
     4201+    version_type=linux 
     4202+    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 
     4203+    soname_spec='$libname${shared_ext}.$major' 
     4204+    shlibpath_var=LD_LIBRARY_PATH 
     4205+  fi 
     4206+  ;; 
     4207  
     4208-  interix*) 
     4209-    # We know the value 262144 and hardcode it with a safety zone (like BSD) 
     4210-    lt_cv_sys_max_cmd_len=196608 
     4211-    ;; 
     4212+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
     4213+  version_type=freebsd-elf 
     4214+  need_lib_prefix=no 
     4215+  need_version=no 
     4216+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
     4217+  soname_spec='${libname}${release}${shared_ext}$major' 
     4218+  shlibpath_var=LD_LIBRARY_PATH 
     4219+  hardcode_into_libs=yes 
     4220+  if test "$with_gnu_ld" = yes; then 
     4221+    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
     4222+    shlibpath_overrides_runpath=no 
     4223+  else 
     4224+    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 
     4225+    shlibpath_overrides_runpath=yes 
     4226+    case $host_os in 
     4227+      sco3.2v5*) 
     4228+        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 
     4229+       ;; 
     4230+    esac 
     4231+  fi 
     4232+  sys_lib_dlsearch_path_spec='/usr/lib' 
     4233+  ;; 
     4234  
     4235-  osf*) 
     4236-    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 
     4237-    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 
     4238-    # nice to cause kernel panics so lets avoid the loop below. 
     4239-    # First set a reasonable default. 
     4240-    lt_cv_sys_max_cmd_len=16384 
     4241-    # 
     4242-    if test -x /sbin/sysconfig; then 
     4243-      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 
     4244-        *1*) lt_cv_sys_max_cmd_len=-1 ;; 
     4245-      esac 
     4246-    fi 
     4247-    ;; 
     4248-  sco3.2v5*) 
     4249-    lt_cv_sys_max_cmd_len=102400 
     4250-    ;; 
     4251-  sysv5* | sco5v6* | sysv4.2uw2*) 
     4252-    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 
     4253-    if test -n "$kargmax"; then 
     4254-      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[       ]]//'` 
     4255-    else 
     4256-      lt_cv_sys_max_cmd_len=32768 
     4257-    fi 
     4258-    ;; 
     4259-  *) 
     4260-    # If test is not a shell built-in, we'll probably end up computing a 
     4261-    # maximum length that is only half of the actual maximum length, but 
     4262-    # we can't tell. 
     4263-    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 
     4264-    while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 
     4265-              = "XX$teststring") >/dev/null 2>&1 && 
     4266-           new_result=`expr "X$teststring" : ".*" 2>&1` && 
     4267-           lt_cv_sys_max_cmd_len=$new_result && 
     4268-           test $i != 17 # 1/2 MB should be enough 
     4269-    do 
     4270-      i=`expr $i + 1` 
     4271-      teststring=$teststring$teststring 
     4272-    done 
     4273-    teststring= 
     4274-    # Add a significant safety factor because C++ compilers can tack on massive 
     4275-    # amounts of additional arguments before passing them to the linker. 
     4276-    # It appears as though 1/2 is a usable value. 
     4277-    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 
     4278-    ;; 
     4279-  esac 
     4280-]) 
     4281-if test -n $lt_cv_sys_max_cmd_len ; then 
     4282-  AC_MSG_RESULT($lt_cv_sys_max_cmd_len) 
     4283-else 
     4284-  AC_MSG_RESULT(none) 
     4285+uts4*) 
     4286+  version_type=linux 
     4287+  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     4288+  soname_spec='${libname}${release}${shared_ext}$major' 
     4289+  shlibpath_var=LD_LIBRARY_PATH 
     4290+  ;; 
     4291+ 
     4292+*) 
     4293+  dynamic_linker=no 
     4294+  ;; 
     4295+esac 
     4296+AC_MSG_RESULT([$dynamic_linker]) 
     4297+test "$dynamic_linker" = no && can_build_shared=no 
     4298+ 
     4299+variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
     4300+if test "$GCC" = yes; then 
     4301+  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
     4302 fi 
     4303-])# AC_LIBTOOL_SYS_MAX_CMD_LEN 
     4304+])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 
     4305  
     4306  
     4307-# _LT_AC_CHECK_DLFCN 
     4308-# ------------------ 
     4309-AC_DEFUN([_LT_AC_CHECK_DLFCN], 
     4310-[AC_CHECK_HEADERS(dlfcn.h)dnl 
     4311-])# _LT_AC_CHECK_DLFCN 
     4312+# _LT_AC_TAGCONFIG 
     4313+# ---------------- 
     4314+AC_DEFUN([_LT_AC_TAGCONFIG], 
     4315+[AC_REQUIRE([LT_AC_PROG_SED])dnl 
     4316+AC_ARG_WITH([tags], 
     4317+    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 
     4318+        [include additional configurations @<:@automatic@:>@])], 
     4319+    [tagnames="$withval"]) 
     4320  
     4321+if test -f "$ltmain" && test -n "$tagnames"; then 
     4322+  if test ! -f "${ofile}"; then 
     4323+    AC_MSG_WARN([output file `$ofile' does not exist]) 
     4324+  fi 
     4325  
     4326-# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, 
     4327-#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) 
     4328-# --------------------------------------------------------------------- 
     4329-AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], 
     4330-[AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl 
     4331-if test "$cross_compiling" = yes; then : 
     4332-  [$4] 
     4333-else 
    39104334-  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 
    39114335-  lt_status=$lt_dlunknown 
     
    39134337-[#line __oline__ "configure" 
    39144338-#include "confdefs.h" 
    3915 +  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
    3916 +fi]) 
    3917 +need_lib_prefix=unknown 
    3918 +hardcode_into_libs=no 
    3919   
     4339- 
    39204340-#if HAVE_DLFCN_H 
    39214341-#include <dlfcn.h> 
    39224342-#endif 
    3923 +# when you set need_version to no, make sure it does not cause -set_version 
    3924 +# flags to be left without arguments 
    3925 +need_version=unknown 
    3926   
     4343- 
    39274344-#include <stdio.h> 
    3928 +case $host_os in 
    3929 +aix3*) 
    3930 +  version_type=linux 
    3931 +  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 
    3932 +  shlibpath_var=LIBPATH 
    3933   
     4345- 
    39344346-#ifdef RTLD_GLOBAL 
    39354347-#  define LT_DLGLOBAL          RTLD_GLOBAL 
     
    39414353-#  endif 
    39424354-#endif 
    3943 +  # AIX 3 has no versioning support, so we append a major version to the name. 
    3944 +  soname_spec='${libname}${release}${shared_ext}$major' 
    3945 +  ;; 
    3946   
     4355- 
    39474356-/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 
    39484357-   find out it does not work in some platform. */ 
     
    39764385-  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 
    39774386-  int status = $lt_dlunknown; 
    3978 - 
     4387+  if test -z "$LTCC"; then 
     4388+    eval "`$SHELL ${ofile} --config | grep '^LTCC='`" 
     4389+    if test -z "$LTCC"; then 
     4390+      AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) 
     4391+    else 
     4392+      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) 
     4393+    fi 
     4394+  fi 
     4395+  if test -z "$LTCFLAGS"; then 
     4396+    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 
     4397+  fi 
     4398  
    39794399-  if (self) 
    39804400-    { 
     
    39834403-      /* dlclose (self); */ 
    39844404-    } 
    3985 +aix4* | aix5*) 
    3986 +  version_type=linux 
    3987 +  need_lib_prefix=no 
    3988 +  need_version=no 
    3989 +  hardcode_into_libs=yes 
    3990 +  if test "$host_cpu" = ia64; then 
    3991 +    # AIX 5 supports IA64 
    3992 +    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 
    3993 +    shlibpath_var=LD_LIBRARY_PATH 
    3994    else 
     4405-  else 
    39954406-    puts (dlerror ()); 
    3996 - 
     4407+  # Extract list of available tagged configurations in $ofile. 
     4408+  # Note that this assumes the entire list is on one line. 
     4409+  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 
     4410  
    39974411-    exit (status); 
    39984412-}] 
     
    40054419-      x$lt_dlneed_uscore) $2 ;; 
    40064420-      x$lt_dlunknown|x*) $3 ;; 
    4007 +    # With GCC up to 2.95.x, collect2 would create an import file 
    4008 +    # for dependence libraries.  The import file would start with 
    4009 +    # the line `#! .'.  This would cause the generated library to 
    4010 +    # depend on `.', always an invalid library.  This was fixed in 
    4011 +    # development snapshots of GCC prior to 3.0. 
    4012 +    case $host_os in 
    4013 +      aix4 | aix4.[[01]] | aix4.[[01]].*) 
    4014 +      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 
    4015 +          echo ' yes ' 
    4016 +          echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then 
    4017 +       : 
    4018 +      else 
    4019 +       can_build_shared=no 
    4020 +      fi 
    4021 +      ;; 
     4421+  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
     4422+  for tagname in $tagnames; do 
     4423+    IFS="$lt_save_ifs" 
     4424+    # Check whether tagname contains only valid characters 
     4425+    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in 
     4426+    "") ;; 
     4427+    *)  AC_MSG_ERROR([invalid tag name: $tagname]) 
     4428+       ;; 
    40224429     esac 
    40234430-  else : 
    40244431-    # compilation failed 
    40254432-    $3 
    4026 +    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct 
    4027 +    # soname into executable. Probably we can add versioning support to 
    4028 +    # collect2, so additional links can be useful in future. 
    4029 +    if test "$aix_use_runtimelinking" = yes; then 
    4030 +      # If using run time linking (on AIX 4.2 or later) use lib<name>.so 
    4031 +      # instead of lib<name>.a to let people know that these are not 
    4032 +      # typical AIX shared libraries. 
    4033 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4034 +    else 
    4035 +      # We preserve .a as extension for shared libraries through AIX4.2 
    4036 +      # and later when we are not doing run time linking. 
    4037 +      library_names_spec='${libname}${release}.a $libname.a' 
    4038 +      soname_spec='${libname}${release}${shared_ext}$major' 
    4039 +    fi 
    4040 +    shlibpath_var=LIBPATH 
    4041    fi 
     4433-  fi 
    40424434-fi 
    40434435-rm -fr conftest* 
    40444436-])# _LT_AC_TRY_DLOPEN_SELF 
    4045 +  ;; 
    4046   
    4047 +amigaos*) 
    4048 +  library_names_spec='$libname.ixlibrary $libname.a' 
    4049 +  # Create ${libname}_ixlibrary.a entries in /sys/libs. 
    4050 +  finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' 
    4051 +  ;; 
     4437  
     4438+    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null 
     4439+    then 
     4440+      AC_MSG_ERROR([tag name \"$tagname\" already exists]) 
     4441+    fi 
    40524442  
    40534443-# AC_LIBTOOL_DLOPEN_SELF 
     
    40624452-  lt_cv_dlopen=no 
    40634453-  lt_cv_dlopen_libs= 
    4064 +beos*) 
    4065 +  library_names_spec='${libname}${shared_ext}' 
    4066 +  dynamic_linker="$host_os ld.so" 
    4067 +  shlibpath_var=LIBRARY_PATH 
    4068 +  ;; 
     4454+    # Update the list of available tags. 
     4455+    if test -n "$tagname"; then 
     4456+      echo appending configuration tag \"$tagname\" to $ofile 
    40694457  
    40704458-  case $host_os in 
     
    40744462-    lt_cv_dlopen_self=yes 
    40754463-    ;; 
    4076 +bsdi[[45]]*) 
    4077 +  version_type=linux 
    4078 +  need_version=no 
    4079 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4080 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4081 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 
    4082 +  shlibpath_var=LD_LIBRARY_PATH 
    4083 +  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
    4084 +  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 
    4085 +  # the default ld.so.conf also contains /usr/contrib/lib and 
    4086 +  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
    4087 +  # libtool to hard-code these into programs 
    4088 +  ;; 
     4464+      case $tagname in 
     4465+      CXX) 
     4466+       if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
     4467+           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
     4468+           (test "X$CXX" != "Xg++"))) ; then 
     4469+         AC_LIBTOOL_LANG_CXX_CONFIG 
     4470+       else 
     4471+         tagname="" 
     4472+       fi 
     4473+       ;; 
    40894474  
    40904475-  mingw* | pw32*) 
     
    40924477-    lt_cv_dlopen_libs= 
    40934478-   ;; 
    4094 +cygwin* | mingw* | pw32*) 
    4095 +  version_type=windows 
    4096 +  shrext_cmds=".dll" 
    4097 +  need_version=no 
    4098 +  need_lib_prefix=no 
     4479+      F77) 
     4480+       if test -n "$F77" && test "X$F77" != "Xno"; then 
     4481+         AC_LIBTOOL_LANG_F77_CONFIG 
     4482+       else 
     4483+         tagname="" 
     4484+       fi 
     4485+       ;; 
    40994486  
    41004487-  cygwin*) 
     
    41024489-    lt_cv_dlopen_libs= 
    41034490-   ;; 
    4104 +  case $GCC,$host_os in 
    4105 +  yes,cygwin* | yes,mingw* | yes,pw32*) 
    4106 +    library_names_spec='$libname.dll.a' 
    4107 +    # DLL is installed to $(libdir)/../bin by postinstall_cmds 
    4108 +    postinstall_cmds='base_file=`basename \${file}`~ 
    4109 +      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 
    4110 +      dldir=$destdir/`dirname \$dlpath`~ 
    4111 +      test -d \$dldir || mkdir -p \$dldir~ 
    4112 +      $install_prog $dir/$dlname \$dldir/$dlname~ 
    4113 +      chmod a+x \$dldir/$dlname' 
    4114 +    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 
    4115 +      dlpath=$dir/\$dldll~ 
    4116 +       $rm \$dlpath' 
    4117 +    shlibpath_overrides_runpath=yes 
     4491+      GCJ) 
     4492+       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then 
     4493+         AC_LIBTOOL_LANG_GCJ_CONFIG 
     4494+       else 
     4495+         tagname="" 
     4496+       fi 
     4497+       ;; 
    41184498  
    41194499-  darwin*) 
     
    41264506-    ]) 
    41274507-   ;; 
    4128 +    case $host_os in 
    4129 +    cygwin*) 
    4130 +      # Cygwin DLLs use 'cyg' prefix rather than 'lib' 
    4131 +      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    4132 +      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 
    4133 +      ;; 
    4134 +    mingw*) 
    4135 +      # MinGW DLLs use traditional 'lib' prefix 
    4136 +      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    4137 +      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` 
    4138 +      if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then 
    4139 +        # It is most probably a Windows format PATH printed by 
    4140 +        # mingw gcc, but we are running on Cygwin. Gcc prints its search 
    4141 +        # path with ; separators, and with drive letters. We can handle the 
    4142 +        # drive letters (cygwin fileutils understands them), so leave them, 
    4143 +        # especially as we might pass files found there to a mingw objdump, 
    4144 +        # which wouldn't understand a cygwinified path. Ahh. 
    4145 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
    4146 +      else 
    4147 +        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    4148 +      fi 
    4149 +      ;; 
    4150 +    pw32*) 
    4151 +      # pw32 DLLs use 'pw' prefix rather than 'lib' 
    4152 +      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    4153 +      ;; 
    4154 +    esac 
    4155 +    ;; 
    4156   
    4157    *) 
     4508+      RC) 
     4509+       AC_LIBTOOL_LANG_RC_CONFIG 
     4510+       ;; 
     4511  
     4512-  *) 
    41584513-    AC_CHECK_FUNC([shl_load], 
    41594514-         [lt_cv_dlopen="shl_load"], 
     
    41734528-       ]) 
    41744529-      ]) 
    4175 +    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' 
    4176      ;; 
    4177    esac 
    4178 +  dynamic_linker='Win32 ld.exe' 
    4179 +  # FIXME: first we should search . and the directory the executable is in 
    4180 +  shlibpath_var=PATH 
    4181 +  ;; 
     4530-    ;; 
     4531-  esac 
     4532+      *) 
     4533+       AC_MSG_ERROR([Unsupported tag name: $tagname]) 
     4534+       ;; 
     4535+      esac 
    41824536  
    41834537-  if test "x$lt_cv_dlopen" != xno; then 
    41844538-    enable_dlopen=yes 
    4185 -  else 
     4539+      # Append the new tag name to the list of available tags. 
     4540+      if test -n "$tagname" ; then 
     4541+      available_tags="$available_tags $tagname" 
     4542+    fi 
     4543+    fi 
     4544+  done 
     4545+  IFS="$lt_save_ifs" 
     4546+ 
     4547+  # Now substitute the updated list of available tags. 
     4548+  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then 
     4549+    mv "${ofile}T" "$ofile" 
     4550+    chmod +x "$ofile" 
     4551   else 
    41864552-    enable_dlopen=no 
    4187 -  fi 
    4188 +darwin* | rhapsody*) 
    4189 +  dynamic_linker="$host_os dyld" 
    4190 +  version_type=darwin 
    4191 +  need_lib_prefix=no 
    4192 +  need_version=no 
    4193 +  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 
    4194 +  soname_spec='${libname}${release}${major}$shared_ext' 
    4195 +  shlibpath_overrides_runpath=yes 
    4196 +  shlibpath_var=DYLD_LIBRARY_PATH 
    4197 +  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 
    4198 +  m4_if([$1], [],[ 
    4199 +  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])  
    4200 +  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 
    4201 +  ;; 
     4553+    rm -f "${ofile}T" 
     4554+    AC_MSG_ERROR([unable to update list of available tagged configurations.]) 
     4555   fi 
     4556+fi 
     4557+])# _LT_AC_TAGCONFIG 
    42024558  
    42034559-  case $lt_cv_dlopen in 
     
    42054561-    save_CPPFLAGS="$CPPFLAGS" 
    42064562-    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 
    4207 +dgux*) 
    4208 +  version_type=linux 
    4209 +  need_lib_prefix=no 
    4210 +  need_version=no 
    4211 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' 
    4212 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4213 +  shlibpath_var=LD_LIBRARY_PATH 
    4214 +  ;; 
    4215   
     4563- 
    42164564-    save_LDFLAGS="$LDFLAGS" 
    42174565-    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 
    4218 +freebsd1*) 
    4219 +  dynamic_linker=no 
    4220 +  ;; 
    42214566  
    42224567-    save_LIBS="$LIBS" 
    42234568-    LIBS="$lt_cv_dlopen_libs $LIBS" 
    4224 +freebsd* | dragonfly*) 
    4225 +  # DragonFly does not have aout.  When/if they implement a new 
    4226 +  # versioning mechanism, adjust this. 
    4227 +  if test -x /usr/bin/objformat; then 
    4228 +    objformat=`/usr/bin/objformat` 
    4229 +  else 
    4230 +    case $host_os in 
    4231 +    freebsd[[123]]*) objformat=aout ;; 
    4232 +    *) objformat=elf ;; 
    4233 +    esac 
    4234 +  fi 
    4235 +  version_type=freebsd-$objformat 
    4236 +  case $version_type in 
    4237 +    freebsd-elf*) 
    4238 +      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
    4239 +      need_version=no 
    4240 +      need_lib_prefix=no 
    4241 +      ;; 
    4242 +    freebsd-*) 
    4243 +      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' 
    4244 +      need_version=yes 
    4245 +      ;; 
    4246 +  esac 
    4247 +  shlibpath_var=LD_LIBRARY_PATH 
    4248 +  case $host_os in 
    4249 +  freebsd2*) 
    4250 +    shlibpath_overrides_runpath=yes 
    4251 +    ;; 
    4252 +  freebsd3.[[01]]* | freebsdelf3.[[01]]*) 
    4253 +    shlibpath_overrides_runpath=yes 
    4254 +    hardcode_into_libs=yes 
    4255 +    ;; 
    4256 +  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ 
    4257 +  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) 
    4258 +    shlibpath_overrides_runpath=no 
    4259 +    hardcode_into_libs=yes 
    4260 +    ;; 
    4261 +  *) # from 4.6 on, and DragonFly 
    4262 +    shlibpath_overrides_runpath=yes 
    4263 +    hardcode_into_libs=yes 
    4264 +    ;; 
    4265 +  esac 
    4266 +  ;; 
     4569+# AC_LIBTOOL_DLOPEN 
     4570+# ----------------- 
     4571+# enable checks for dlopen support 
     4572+AC_DEFUN([AC_LIBTOOL_DLOPEN], 
     4573+ [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) 
     4574+])# AC_LIBTOOL_DLOPEN 
    42674575  
    42684576-    AC_CACHE_CHECK([whether a program can dlopen itself], 
     
    42724580-           lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) 
    42734581-    ]) 
    4274 +gnu*) 
    4275 +  version_type=linux 
    4276 +  need_lib_prefix=no 
    4277 +  need_version=no 
    4278 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
    4279 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4280 +  shlibpath_var=LD_LIBRARY_PATH 
    4281 +  hardcode_into_libs=yes 
    4282 +  ;; 
    42834582  
    42844583-    if test "x$lt_cv_dlopen_self" = xyes; then 
     
    42904589-           lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross) 
    42914590-      ]) 
    4292 +hpux9* | hpux10* | hpux11*) 
    4293 +  # Give a soname corresponding to the major version so that dld.sl refuses to 
    4294 +  # link against other versions. 
    4295 +  version_type=sunos 
    4296 +  need_lib_prefix=no 
    4297 +  need_version=no 
    4298 +  case $host_cpu in 
    4299 +  ia64*) 
    4300 +    shrext_cmds='.so' 
    4301 +    hardcode_into_libs=yes 
    4302 +    dynamic_linker="$host_os dld.so" 
    4303 +    shlibpath_var=LD_LIBRARY_PATH 
    4304 +    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 
    4305 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4306 +    soname_spec='${libname}${release}${shared_ext}$major' 
    4307 +    if test "X$HPUX_IA64_MODE" = X32; then 
    4308 +      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 
    4309 +    else 
    4310 +      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 
    4311      fi 
    4312 - 
     4591-    fi 
     4592+# AC_LIBTOOL_WIN32_DLL 
     4593+# -------------------- 
     4594+# declare package support for building win32 DLLs 
     4595+AC_DEFUN([AC_LIBTOOL_WIN32_DLL], 
     4596+[AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) 
     4597+])# AC_LIBTOOL_WIN32_DLL 
     4598  
    43134599-    CPPFLAGS="$save_CPPFLAGS" 
    43144600-    LDFLAGS="$save_LDFLAGS" 
    43154601-    LIBS="$save_LIBS" 
    4316 +    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 
    4317 +    ;; 
    4318 +   hppa*64*) 
    4319 +     shrext_cmds='.sl' 
    4320 +     hardcode_into_libs=yes 
    4321 +     dynamic_linker="$host_os dld.sl" 
    4322 +     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 
    4323 +     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 
    4324 +     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4325 +     soname_spec='${libname}${release}${shared_ext}$major' 
    4326 +     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 
    4327 +     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 
    4328 +     ;; 
    4329 +   *) 
    4330 +    shrext_cmds='.sl' 
    4331 +    dynamic_linker="$host_os dld.sl" 
    4332 +    shlibpath_var=SHLIB_PATH 
    4333 +    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 
    4334 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4335 +    soname_spec='${libname}${release}${shared_ext}$major' 
    4336      ;; 
    4337    esac 
    4338 +  # HP-UX runs *really* slowly unless shared libraries are mode 555. 
    4339 +  postinstall_cmds='chmod 555 $lib' 
    4340 +  ;; 
     4602-    ;; 
     4603-  esac 
    43414604  
    43424605-  case $lt_cv_dlopen_self in 
     
    43444607-  *) enable_dlopen_self=unknown ;; 
    43454608-  esac 
    4346 +interix[[3-9]]*) 
    4347 +  version_type=linux 
    4348 +  need_lib_prefix=no 
    4349 +  need_version=no 
    4350 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    4351 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4352 +  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 
    4353 +  shlibpath_var=LD_LIBRARY_PATH 
    4354 +  shlibpath_overrides_runpath=no 
    4355 +  hardcode_into_libs=yes 
    4356 +  ;; 
    4357   
     4609- 
    43584610-  case $lt_cv_dlopen_self_static in 
    43594611-  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 
    43604612-  *) enable_dlopen_self_static=unknown ;; 
    4361 +irix5* | irix6* | nonstopux*) 
    4362 +  case $host_os in 
    4363 +    nonstopux*) version_type=nonstopux ;; 
    4364 +    *) 
    4365 +       if test "$lt_cv_prog_gnu_ld" = yes; then 
    4366 +               version_type=linux 
    4367 +       else 
    4368 +               version_type=irix 
    4369 +       fi ;; 
    4370    esac 
     4613-  esac 
    43714614-fi 
    43724615-])# AC_LIBTOOL_DLOPEN_SELF 
    4373 - 
    4374 +  need_lib_prefix=no 
    4375 +  need_version=no 
    4376 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4377 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' 
    4378 +  case $host_os in 
    4379 +  irix5* | nonstopux*) 
    4380 +    libsuff= shlibsuff= 
    4381 +    ;; 
    4382 +  *) 
    4383 +    case $LD in # libtool.m4 will add one of these switches to LD 
    4384 +    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
    4385 +      libsuff= shlibsuff= libmagic=32-bit;; 
    4386 +    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 
    4387 +      libsuff=32 shlibsuff=N32 libmagic=N32;; 
    4388 +    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 
    4389 +      libsuff=64 shlibsuff=64 libmagic=64-bit;; 
    4390 +    *) libsuff= shlibsuff= libmagic=never-match;; 
    4391 +    esac 
    4392 +    ;; 
    4393 +  esac 
    4394 +  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 
    4395 +  shlibpath_overrides_runpath=no 
    4396 +  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" 
    4397 +  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 
    4398 +  hardcode_into_libs=yes 
    4399 +  ;; 
     4616+# AC_ENABLE_SHARED([DEFAULT]) 
     4617+# --------------------------- 
     4618+# implement the --enable-shared flag 
     4619+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'. 
     4620+AC_DEFUN([AC_ENABLE_SHARED], 
     4621+[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl 
     4622+AC_ARG_ENABLE([shared], 
     4623+    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], 
     4624+       [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], 
     4625+    [p=${PACKAGE-default} 
     4626+    case $enableval in 
     4627+    yes) enable_shared=yes ;; 
     4628+    no) enable_shared=no ;; 
     4629+    *) 
     4630+      enable_shared=no 
     4631+      # Look at the argument we got.  We use all the common list separators. 
     4632+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
     4633+      for pkg in $enableval; do 
     4634+       IFS="$lt_save_ifs" 
     4635+       if test "X$pkg" = "X$p"; then 
     4636+         enable_shared=yes 
     4637+       fi 
     4638+      done 
     4639+      IFS="$lt_save_ifs" 
     4640+      ;; 
     4641+    esac], 
     4642+    [enable_shared=]AC_ENABLE_SHARED_DEFAULT) 
     4643+])# AC_ENABLE_SHARED 
     4644  
    44004645  
    44014646-# AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) 
     
    44124657-   mkdir out 
    44134658-   printf "$lt_simple_compile_test_code" > conftest.$ac_ext 
    4414 +# No shared lib support for Linux oldld, aout, or coff. 
    4415 +linux*oldld* | linux*aout* | linux*coff*) 
    4416 +  dynamic_linker=no 
    4417 +  ;; 
     4659+# AC_DISABLE_SHARED 
     4660+# ----------------- 
     4661+# set the default shared flag to --disable-shared 
     4662+AC_DEFUN([AC_DISABLE_SHARED], 
     4663+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     4664+AC_ENABLE_SHARED(no) 
     4665+])# AC_DISABLE_SHARED 
    44184666  
    44194667-   lt_compiler_flag="-o out/conftest2.$ac_objext" 
     
    44524700-]) 
    44534701-])# AC_LIBTOOL_PROG_CC_C_O 
    4454 +# This must be Linux ELF. 
    4455 +linux* | k*bsd*-gnu) 
    4456 +  version_type=linux 
    4457 +  need_lib_prefix=no 
    4458 +  need_version=no 
    4459 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4460 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4461 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 
    4462 +  shlibpath_var=LD_LIBRARY_PATH 
    4463 +  shlibpath_overrides_runpath=no 
    4464 +  # This implies no fast_install, which is unacceptable. 
    4465 +  # Some rework will be needed to allow for fast_install 
    4466 +  # before this can be enabled. 
    4467 +  hardcode_into_libs=yes 
    4468   
    4469 +  # Append ld.so.conf contents to the search path 
    4470 +  if test -f /etc/ld.so.conf; then 
    4471 +    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;/^$/d' | tr '\n' ' '` 
    4472 +    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
    4473 +  fi 
     4702  
     4703+# AC_ENABLE_STATIC([DEFAULT]) 
     4704+# --------------------------- 
     4705+# implement the --enable-static flag 
     4706+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'. 
     4707+AC_DEFUN([AC_ENABLE_STATIC], 
     4708+[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl 
     4709+AC_ARG_ENABLE([static], 
     4710+    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], 
     4711+       [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], 
     4712+    [p=${PACKAGE-default} 
     4713+    case $enableval in 
     4714+    yes) enable_static=yes ;; 
     4715+    no) enable_static=no ;; 
     4716+    *) 
     4717+     enable_static=no 
     4718+      # Look at the argument we got.  We use all the common list separators. 
     4719+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
     4720+      for pkg in $enableval; do 
     4721+       IFS="$lt_save_ifs" 
     4722+       if test "X$pkg" = "X$p"; then 
     4723+         enable_static=yes 
     4724+       fi 
     4725+      done 
     4726+      IFS="$lt_save_ifs" 
     4727+      ;; 
     4728+    esac], 
     4729+    [enable_static=]AC_ENABLE_STATIC_DEFAULT) 
     4730+])# AC_ENABLE_STATIC 
    44744731  
    44754732-# AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) 
     
    44784735-AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], 
    44794736-[AC_REQUIRE([_LT_AC_LOCK])dnl 
    4480 +  # We used to test for /lib/ld.so.1 and disable shared libraries on 
    4481 +  # powerpc, because MkLinux only supported shared libraries with the 
    4482 +  # GNU dynamic linker.  Since this was broken with cross compilers, 
    4483 +  # most powerpc-linux boxes support dynamic linking these days and 
    4484 +  # people can always --disable-shared, the test was removed, and we 
    4485 +  # assume the GNU/Linux dynamic linker is in use. 
    4486 +  dynamic_linker='GNU/Linux ld.so' 
    4487 +  ;; 
    44884737  
    44894738-hard_links="nottested" 
     
    45064755-fi 
    45074756-])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS 
    4508 - 
    4509 - 
     4757+# AC_DISABLE_STATIC 
     4758+# ----------------- 
     4759+# set the default static flag to --disable-static 
     4760+AC_DEFUN([AC_DISABLE_STATIC], 
     4761+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     4762+AC_ENABLE_STATIC(no) 
     4763+])# AC_DISABLE_STATIC 
     4764  
     4765  
    45104766-# AC_LIBTOOL_OBJDIR 
    45114767-# ----------------- 
     
    45234779-objdir=$lt_cv_objdir 
    45244780-])# AC_LIBTOOL_OBJDIR 
    4525 - 
    4526 - 
     4781+# AC_ENABLE_FAST_INSTALL([DEFAULT]) 
     4782+# --------------------------------- 
     4783+# implement the --enable-fast-install flag 
     4784+# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'. 
     4785+AC_DEFUN([AC_ENABLE_FAST_INSTALL], 
     4786+[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl 
     4787+AC_ARG_ENABLE([fast-install], 
     4788+    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], 
     4789+    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], 
     4790+    [p=${PACKAGE-default} 
     4791+    case $enableval in 
     4792+    yes) enable_fast_install=yes ;; 
     4793+    no) enable_fast_install=no ;; 
     4794+    *) 
     4795+      enable_fast_install=no 
     4796+      # Look at the argument we got.  We use all the common list separators. 
     4797+      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
     4798+      for pkg in $enableval; do 
     4799+       IFS="$lt_save_ifs" 
     4800+       if test "X$pkg" = "X$p"; then 
     4801+         enable_fast_install=yes 
     4802+       fi 
     4803+      done 
     4804+      IFS="$lt_save_ifs" 
     4805+      ;; 
     4806+    esac], 
     4807+    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) 
     4808+])# AC_ENABLE_FAST_INSTALL 
     4809  
     4810  
    45274811-# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) 
    45284812-# ---------------------------------------------- 
     
    45344818-   test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ 
    45354819-   test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 
    4536 +netbsdelf*-gnu) 
    4537 +  version_type=linux 
    4538 +  need_lib_prefix=no 
    4539 +  need_version=no 
    4540 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    4541 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4542 +  shlibpath_var=LD_LIBRARY_PATH 
    4543 +  shlibpath_overrides_runpath=no 
    4544 +  hardcode_into_libs=yes 
    4545 +  dynamic_linker='NetBSD ld.elf_so' 
    4546 +  ;; 
     4820+# AC_DISABLE_FAST_INSTALL 
     4821+# ----------------------- 
     4822+# set the default to --disable-fast-install 
     4823+AC_DEFUN([AC_DISABLE_FAST_INSTALL], 
     4824+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     4825+AC_ENABLE_FAST_INSTALL(no) 
     4826+])# AC_DISABLE_FAST_INSTALL 
    45474827  
    45484828-  # We can hardcode non-existant directories. 
     
    45554835-    # Linking always hardcodes the temporary library directory. 
    45564836-    _LT_AC_TAGVAR(hardcode_action, $1)=relink 
    4557 +netbsd*) 
    4558 +  version_type=sunos 
    4559 +  need_lib_prefix=no 
    4560 +  need_version=no 
    4561 +  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then 
    4562 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    4563 +    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
    4564 +    dynamic_linker='NetBSD (a.out) ld.so' 
    4565    else 
     4837-  else 
    45664838-    # We can link without hardcoding, and we can hardcode nonexisting dirs. 
    45674839-    _LT_AC_TAGVAR(hardcode_action, $1)=immediate 
    4568 +    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    4569 +    soname_spec='${libname}${release}${shared_ext}$major' 
    4570 +    dynamic_linker='NetBSD ld.elf_so' 
    4571    fi 
     4840-  fi 
    45724841-else 
    45734842-  # We cannot hardcode anything, or else we can only hardcode existing 
     
    45764845-fi 
    45774846-AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) 
    4578 +  shlibpath_var=LD_LIBRARY_PATH 
    4579 +  shlibpath_overrides_runpath=yes 
    4580 +  hardcode_into_libs=yes 
    4581 +  ;; 
    45824847  
    45834848-if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then 
     
    45904855-fi 
    45914856-])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH 
    4592 +newsos6) 
    4593 +  version_type=linux 
    4594 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4595 +  shlibpath_var=LD_LIBRARY_PATH 
    4596 +  shlibpath_overrides_runpath=yes 
    4597 +  ;; 
    4598   
    4599 +nto-qnx*) 
    4600 +  version_type=linux 
    4601 +  need_lib_prefix=no 
    4602 +  need_version=no 
    4603 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4604 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4605 +  shlibpath_var=LD_LIBRARY_PATH 
    4606 +  shlibpath_overrides_runpath=yes 
    4607 +  ;; 
     4857+# AC_LIBTOOL_PICMODE([MODE]) 
     4858+# -------------------------- 
     4859+# implement the --with-pic flag 
     4860+# MODE is either `yes' or `no'.  If omitted, it defaults to `both'. 
     4861+AC_DEFUN([AC_LIBTOOL_PICMODE], 
     4862+[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl 
     4863+pic_mode=ifelse($#,1,$1,default) 
     4864+])# AC_LIBTOOL_PICMODE 
     4865  
    46084866  
    46094867-# AC_LIBTOOL_SYS_LIB_STRIP 
     
    46194877-else 
    46204878-# FIXME - insert some real tests, host_os isn't really good enough 
    4621 +openbsd*) 
    4622 +  version_type=sunos 
    4623 +  sys_lib_dlsearch_path_spec="/usr/lib" 
    4624 +  need_lib_prefix=no 
    4625 +  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. 
    4626    case $host_os in 
     4879-  case $host_os in 
    46274880-   darwin*) 
    46284881-       if test -n "$STRIP" ; then 
     
    46364889-  AC_MSG_RESULT([no]) 
    46374890-    ;; 
    4638 +    openbsd3.3 | openbsd3.3.*) need_version=yes ;; 
    4639 +    *)                         need_version=no  ;; 
    4640    esac 
     4891-  esac 
    46414892-fi 
    46424893-])# AC_LIBTOOL_SYS_LIB_STRIP 
     
    46694920-    # okay in the real world where ";" in dirpaths is itself problematic. 
    46704921-    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 
    4671 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    4672 +  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
    4673 +  shlibpath_var=LD_LIBRARY_PATH 
    4674 +  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    4675 +    case $host_os in 
    4676 +      openbsd2.[[89]] | openbsd2.[[89]].*) 
    4677 +       shlibpath_overrides_runpath=no 
    4678 +       ;; 
    4679 +      *) 
    4680 +       shlibpath_overrides_runpath=yes 
    4681 +       ;; 
    4682 +      esac 
    4683    else 
     4922-  else 
    46844923-    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    4685 +    shlibpath_overrides_runpath=yes 
    4686    fi 
     4924-  fi 
    46874925-else 
    46884926-  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 
     
    46944932-# flags to be left without arguments 
    46954933-need_version=unknown 
    4696 +  ;; 
     4934+# AC_PROG_EGREP 
     4935+# ------------- 
     4936+# This is predefined starting with Autoconf 2.54, so this conditional 
     4937+# definition can be removed once we require Autoconf 2.54 or later. 
     4938+m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], 
     4939+[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], 
     4940+   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
     4941+    then ac_cv_prog_egrep='grep -E' 
     4942+    else ac_cv_prog_egrep='egrep' 
     4943+    fi]) 
     4944+ EGREP=$ac_cv_prog_egrep 
     4945+ AC_SUBST([EGREP]) 
     4946+])]) 
    46974947  
    46984948-case $host_os in 
     
    47004950-  version_type=linux 
    47014951-  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 
    4702 +os2*) 
    4703 +  libname_spec='$name' 
    4704 +  shrext_cmds=".dll" 
    4705 +  need_lib_prefix=no 
    4706 +  library_names_spec='$libname${shared_ext} $libname.a' 
    4707 +  dynamic_linker='OS/2 ld.exe' 
    4708    shlibpath_var=LIBPATH 
    4709 +  ;; 
     4952-  shlibpath_var=LIBPATH 
    47104953  
    47114954-  # AIX 3 has no versioning support, so we append a major version to the name. 
    4712 +osf3* | osf4* | osf5*) 
    4713 +  version_type=osf 
    4714 +  need_lib_prefix=no 
    4715 +  need_version=no 
    4716    soname_spec='${libname}${release}${shared_ext}$major' 
    4717 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4718 +  shlibpath_var=LD_LIBRARY_PATH 
    4719 +  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
    4720 +  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
     4955-  soname_spec='${libname}${release}${shared_ext}$major' 
     4956+# AC_PATH_TOOL_PREFIX 
     4957+# ------------------- 
     4958+# find a file program which can recognize shared library 
     4959+AC_DEFUN([AC_PATH_TOOL_PREFIX], 
     4960+[AC_REQUIRE([AC_PROG_EGREP])dnl 
     4961+AC_MSG_CHECKING([for $1]) 
     4962+AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, 
     4963+[case $MAGIC_CMD in 
     4964+[[\\/*] |  ?:[\\/]*]) 
     4965+  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. 
    47214966   ;; 
     4967+*) 
     4968+  lt_save_MAGIC_CMD="$MAGIC_CMD" 
     4969+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
     4970+dnl $ac_dummy forces splitting on constant user-supplied paths. 
     4971+dnl POSIX.2 word splitting is done only on the output of word expansions, 
     4972+dnl not every word.  This closes a longstanding sh security hole. 
     4973+  ac_dummy="ifelse([$2], , $PATH, [$2])" 
     4974+  for ac_dir in $ac_dummy; do 
     4975+    IFS="$lt_save_ifs" 
     4976+    test -z "$ac_dir" && ac_dir=. 
     4977+    if test -f $ac_dir/$1; then 
     4978+      lt_cv_path_MAGIC_CMD="$ac_dir/$1" 
     4979+      if test -n "$file_magic_test_file"; then 
     4980+       case $deplibs_check_method in 
     4981+       "file_magic "*) 
     4982+         file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 
     4983+         MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
     4984+         if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 
     4985+           $EGREP "$file_magic_regex" > /dev/null; then 
     4986+           : 
     4987+         else 
     4988+           cat <<EOF 1>&2 
    47224989  
    47234990-aix4* | aix5*) 
    4724 +rdos*) 
    4725 +  dynamic_linker=no 
    4726 +  ;; 
    4727 + 
    4728 +solaris*) 
    4729    version_type=linux 
    4730    need_lib_prefix=no 
    4731    need_version=no 
    4732 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4733 +  soname_spec='${libname}${release}${shared_ext}$major' 
    4734 +  shlibpath_var=LD_LIBRARY_PATH 
    4735 +  shlibpath_overrides_runpath=yes 
    4736    hardcode_into_libs=yes 
     4991-  version_type=linux 
     4992-  need_lib_prefix=no 
     4993-  need_version=no 
     4994-  hardcode_into_libs=yes 
    47374995-  if test "$host_cpu" = ia64; then 
    47384996-    # AIX 5 supports IA64 
     
    47535011-      else 
    47545012-       can_build_shared=no 
    4755 -      fi 
     5013+*** Warning: the command libtool uses to detect shared libraries, 
     5014+*** $file_magic_cmd, produces output that libtool cannot recognize. 
     5015+*** The result is that libtool may fail to recognize shared libraries 
     5016+*** as such.  This will affect the creation of libtool libraries that 
     5017+*** depend on shared libraries, but programs linked with such libtool 
     5018+*** libraries will work regardless of this problem.  Nevertheless, you 
     5019+*** may want to report the problem to your system manager and/or to 
     5020+*** bug-libtool@gnu.org 
     5021+ 
     5022+EOF 
     5023+         fi ;; 
     5024+       esac 
     5025       fi 
    47565026-      ;; 
    47575027-    esac 
     
    47695039-      library_names_spec='${libname}${release}.a $libname.a' 
    47705040-      soname_spec='${libname}${release}${shared_ext}$major' 
    4771 -    fi 
     5041+      break 
     5042     fi 
    47725043-    shlibpath_var=LIBPATH 
    47735044-  fi 
    4774 +  # ldd complains unless libraries are executable 
    4775 +  postinstall_cmds='chmod +x $lib' 
    4776    ;; 
    4777   
     5045-  ;; 
     5046- 
    47785047-amigaos*) 
    47795048-  library_names_spec='$libname.ixlibrary $libname.a' 
     
    47865055-  dynamic_linker="$host_os ld.so" 
    47875056-  shlibpath_var=LIBRARY_PATH 
    4788 +sunos4*) 
    4789 +  version_type=sunos 
    4790 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' 
    4791 +  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 
    4792 +  shlibpath_var=LD_LIBRARY_PATH 
    4793 +  shlibpath_overrides_runpath=yes 
    4794 +  if test "$with_gnu_ld" = yes; then 
    4795 +    need_lib_prefix=no 
    4796 +  fi 
    4797 +  need_version=yes 
    4798    ;; 
    4799   
     5057-  ;; 
     5058- 
    48005059-bsdi[[45]]*) 
    4801 +sysv4 | sysv4.3*) 
    4802    version_type=linux 
     5060-  version_type=linux 
    48035061-  need_version=no 
    4804    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    4805    soname_spec='${libname}${release}${shared_ext}$major' 
     5062-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
     5063-  soname_spec='${libname}${release}${shared_ext}$major' 
    48065064-  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 
    4807    shlibpath_var=LD_LIBRARY_PATH 
     5065-  shlibpath_var=LD_LIBRARY_PATH 
    48085066-  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 
    48095067-  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 
     
    48115069-  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 
    48125070-  # libtool to hard-code these into programs 
    4813 -  ;; 
    4814 - 
     5071+  done 
     5072+  IFS="$lt_save_ifs" 
     5073+  MAGIC_CMD="$lt_save_MAGIC_CMD" 
     5074   ;; 
     5075+esac]) 
     5076+MAGIC_CMD="$lt_cv_path_MAGIC_CMD" 
     5077+if test -n "$MAGIC_CMD"; then 
     5078+  AC_MSG_RESULT($MAGIC_CMD) 
     5079+else 
     5080+  AC_MSG_RESULT(no) 
     5081+fi 
     5082+])# AC_PATH_TOOL_PREFIX 
     5083  
    48155084-cygwin* | mingw* | pw32*) 
    48165085-  version_type=windows 
     
    48185087-  need_version=no 
    48195088-  need_lib_prefix=no 
    4820 - 
     5089  
    48215090-  case $GCC,$host_os in 
    48225091-  yes,cygwin* | yes,mingw* | yes,pw32*) 
     
    48335102-       $rm \$dlpath' 
    48345103-    shlibpath_overrides_runpath=yes 
    4835 - 
     5104+# AC_PATH_MAGIC 
     5105+# ------------- 
     5106+# find a file program which can recognize a shared library 
     5107+AC_DEFUN([AC_PATH_MAGIC], 
     5108+[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) 
     5109+if test -z "$lt_cv_path_MAGIC_CMD"; then 
     5110+  if test -n "$ac_tool_prefix"; then 
     5111+    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) 
     5112+  else 
     5113+    MAGIC_CMD=: 
     5114+  fi 
     5115+fi 
     5116+])# AC_PATH_MAGIC 
     5117  
    48365118-    case $host_os in 
    48375119-    cygwin*) 
     
    48395121-      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    48405122-      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 
    4841 +  case $host_vendor in 
    4842 +    sni) 
    4843 +      shlibpath_overrides_runpath=no 
    4844 +      need_lib_prefix=no 
    4845 +      export_dynamic_flag_spec='${wl}-Blargedynsym' 
    4846 +      runpath_var=LD_RUN_PATH 
    4847        ;; 
     5123-      ;; 
    48485124-    mingw*) 
    48495125-      # MinGW DLLs use traditional 'lib' prefix 
     
    48615137-        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` 
    48625138-      fi 
    4863 +    siemens) 
    4864 +      need_lib_prefix=no 
    4865        ;; 
     5139-      ;; 
    48665140-    pw32*) 
    48675141-      # pw32 DLLs use 'pw' prefix rather than 'lib' 
    48685142-      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 
    4869 +    motorola) 
    4870 +      need_lib_prefix=no 
    4871 +      need_version=no 
    4872 +      shlibpath_overrides_runpath=no 
    4873 +      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 
    4874        ;; 
     5143-      ;; 
    48755144-    esac 
    48765145-    ;; 
    4877 - 
     5146  
    48785147-  *) 
    48795148-    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' 
    48805149-    ;; 
    4881    esac 
     5150-  esac 
    48825151-  dynamic_linker='Win32 ld.exe' 
    48835152-  # FIXME: first we should search . and the directory the executable is in 
    48845153-  shlibpath_var=PATH 
     5154+# AC_PROG_LD 
     5155+# ---------- 
     5156+# find the pathname to the GNU or non-GNU linker 
     5157+AC_DEFUN([AC_PROG_LD], 
     5158+[AC_ARG_WITH([gnu-ld], 
     5159+    [AC_HELP_STRING([--with-gnu-ld], 
     5160+       [assume the C compiler uses GNU ld @<:@default=no@:>@])], 
     5161+    [test "$withval" = no || with_gnu_ld=yes], 
     5162+    [with_gnu_ld=no]) 
     5163+AC_REQUIRE([LT_AC_PROG_SED])dnl 
     5164+AC_REQUIRE([AC_PROG_CC])dnl 
     5165+AC_REQUIRE([AC_CANONICAL_HOST])dnl 
     5166+AC_REQUIRE([AC_CANONICAL_BUILD])dnl 
     5167+ac_prog=ld 
     5168+if test "$GCC" = yes; then 
     5169+  # Check if gcc -print-prog-name=ld gives a path. 
     5170+  AC_MSG_CHECKING([for ld used by $CC]) 
     5171+  case $host in 
     5172+  *-*-mingw*) 
     5173+    # gcc leaves a trailing carriage return which upsets mingw 
     5174+    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 
     5175+  *) 
     5176+    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 
     5177+  esac 
     5178+  case $ac_prog in 
     5179+    # Accept absolute paths. 
     5180+    [[\\/]]* | ?:[[\\/]]*) 
     5181+      re_direlt='/[[^/]][[^/]]*/\.\./' 
     5182+      # Canonicalize the pathname of ld 
     5183+      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 
     5184+      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 
     5185+       ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` 
     5186+      done 
     5187+      test -z "$LD" && LD="$ac_prog" 
     5188+      ;; 
     5189+  "") 
     5190+    # If it fails, then pretend we aren't using GCC. 
     5191+    ac_prog=ld 
     5192+    ;; 
     5193+  *) 
     5194+    # If it is relative, then search for the first ld in PATH. 
     5195+    with_gnu_ld=unknown 
     5196+    ;; 
     5197+  esac 
     5198+elif test "$with_gnu_ld" = yes; then 
     5199+  AC_MSG_CHECKING([for GNU ld]) 
     5200+else 
     5201+  AC_MSG_CHECKING([for non-GNU ld]) 
     5202+fi 
     5203+AC_CACHE_VAL(lt_cv_path_LD, 
     5204+[if test -z "$LD"; then 
     5205+  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR 
     5206+  for ac_dir in $PATH; do 
     5207+    IFS="$lt_save_ifs" 
     5208+    test -z "$ac_dir" && ac_dir=. 
     5209+    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 
     5210+      lt_cv_path_LD="$ac_dir/$ac_prog" 
     5211+      # Check to see if the program is GNU ld.  I'd rather use --version, 
     5212+      # but apparently some variants of GNU ld only accept -v. 
     5213+      # Break only if it was the GNU/non-GNU ld that we prefer. 
     5214+      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 
     5215+      *GNU* | *'with BFD'*) 
     5216+       test "$with_gnu_ld" != no && break 
     5217+       ;; 
     5218+      *) 
     5219+       test "$with_gnu_ld" != yes && break 
     5220+       ;; 
     5221+      esac 
     5222+    fi 
     5223+  done 
     5224+  IFS="$lt_save_ifs" 
     5225+else 
     5226+  lt_cv_path_LD="$LD" # Let the user override the test with a path. 
     5227+fi]) 
     5228+LD="$lt_cv_path_LD" 
     5229+if test -n "$LD"; then 
     5230+  AC_MSG_RESULT($LD) 
     5231+else 
     5232+  AC_MSG_RESULT(no) 
     5233+fi 
     5234+test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) 
     5235+AC_PROG_LD_GNU 
     5236+])# AC_PROG_LD 
     5237+ 
     5238+ 
     5239+# AC_PROG_LD_GNU 
     5240+# -------------- 
     5241+AC_DEFUN([AC_PROG_LD_GNU], 
     5242+[AC_REQUIRE([AC_PROG_EGREP])dnl 
     5243+AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld, 
     5244+[# I'd rather use --version here, but apparently some GNU lds only accept -v. 
     5245+case `$LD -v 2>&1 </dev/null` in 
     5246+*GNU* | *'with BFD'*) 
     5247+  lt_cv_prog_gnu_ld=yes 
    48855248   ;; 
     5249+*) 
     5250+  lt_cv_prog_gnu_ld=no 
     5251+  ;; 
     5252+esac]) 
     5253+with_gnu_ld=$lt_cv_prog_gnu_ld 
     5254+])# AC_PROG_LD_GNU 
    48865255  
    48875256-darwin* | rhapsody*) 
     
    49005269-  else 
    49015270-    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 
    4902 +sysv4*MP*) 
    4903 +  if test -d /usr/nec ;then 
    4904 +    version_type=linux 
    4905 +    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' 
    4906 +    soname_spec='$libname${shared_ext}.$major' 
    4907 +    shlibpath_var=LD_LIBRARY_PATH 
    4908    fi 
     5271-  fi 
    49095272-  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 
     5273+ 
     5274+# AC_PROG_LD_RELOAD_FLAG 
     5275+# ---------------------- 
     5276+# find reload flag for linker 
     5277+#   -- PORTME Some linkers may need a different reload flag. 
     5278+AC_DEFUN([AC_PROG_LD_RELOAD_FLAG], 
     5279+[AC_CACHE_CHECK([for $LD option to reload object files], 
     5280+  lt_cv_ld_reload_flag, 
     5281+  [lt_cv_ld_reload_flag='-r']) 
     5282+reload_flag=$lt_cv_ld_reload_flag 
     5283+case $reload_flag in 
     5284+"" | " "*) ;; 
     5285+*) reload_flag=" $reload_flag" ;; 
     5286+esac 
     5287+reload_cmds='$LD$reload_flag -o $output$reload_objs' 
     5288+case $host_os in 
     5289+  darwin*) 
     5290+    if test "$GCC" = yes; then 
     5291+      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' 
     5292+    else 
     5293+      reload_cmds='$LD$reload_flag -o $output$reload_objs' 
     5294+    fi 
     5295+    ;; 
     5296+esac 
     5297+])# AC_PROG_LD_RELOAD_FLAG 
     5298+ 
     5299+ 
     5300+# AC_DEPLIBS_CHECK_METHOD 
     5301+# ----------------------- 
     5302+# how to check for library dependencies 
     5303+#  -- PORTME fill in with the dynamic library characteristics 
     5304+AC_DEFUN([AC_DEPLIBS_CHECK_METHOD], 
     5305+[AC_CACHE_CHECK([how to recognize dependent libraries], 
     5306+lt_cv_deplibs_check_method, 
     5307+[lt_cv_file_magic_cmd='$MAGIC_CMD' 
     5308+lt_cv_file_magic_test_file= 
     5309+lt_cv_deplibs_check_method='unknown' 
     5310+# Need to set the preceding variable on all platforms that support 
     5311+# interlibrary dependencies. 
     5312+# 'none' -- dependencies not supported. 
     5313+# `unknown' -- same as none, but documents that we really don't know. 
     5314+# 'pass_all' -- all dependencies passed with no checks. 
     5315+# 'test_compile' -- check by making test program. 
     5316+# 'file_magic [[regex]]' -- check by looking for files in library path 
     5317+# which responds to the $file_magic_cmd with a given extended regex. 
     5318+# If you have `file' or equivalent on your system and you're not sure 
     5319+# whether `pass_all' will *always* work, you probably want this one. 
     5320+ 
     5321+case $host_os in 
     5322+aix4* | aix5*) 
     5323+  lt_cv_deplibs_check_method=pass_all 
    49105324   ;; 
    49115325  
     
    49175331-  soname_spec='${libname}${release}${shared_ext}$major' 
    49185332-  shlibpath_var=LD_LIBRARY_PATH 
    4919 -  ;; 
    4920 - 
     5333+beos*) 
     5334+  lt_cv_deplibs_check_method=pass_all 
     5335   ;; 
     5336  
    49215337-freebsd1*) 
    49225338-  dynamic_linker=no 
    4923 -  ;; 
    4924 - 
     5339+bsdi[[45]]*) 
     5340+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 
     5341+  lt_cv_file_magic_cmd='/usr/bin/file -L' 
     5342+  lt_cv_file_magic_test_file=/shlib/libc.so 
     5343   ;; 
     5344  
    49255345-kfreebsd*-gnu) 
    49265346-  version_type=linux 
    4927 +sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    4928 +  version_type=freebsd-elf 
    4929    need_lib_prefix=no 
    4930    need_version=no 
     5347-  need_lib_prefix=no 
     5348-  need_version=no 
    49315349-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    4932 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' 
    4933    soname_spec='${libname}${release}${shared_ext}$major' 
    4934    shlibpath_var=LD_LIBRARY_PATH 
     5350-  soname_spec='${libname}${release}${shared_ext}$major' 
     5351-  shlibpath_var=LD_LIBRARY_PATH 
    49355352-  shlibpath_overrides_runpath=no 
    4936    hardcode_into_libs=yes 
     5353-  hardcode_into_libs=yes 
    49375354-  dynamic_linker='GNU ld.so' 
    4938 -  ;; 
    4939 - 
     5355+cygwin*) 
     5356+  # func_win32_libid is a shell function defined in ltmain.sh 
     5357+  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 
     5358+  lt_cv_file_magic_cmd='func_win32_libid' 
     5359   ;; 
     5360  
    49405361-freebsd* | dragonfly*) 
    49415362-  # DragonFly does not have aout.  When/if they implement a new 
     
    49435364-  if test -x /usr/bin/objformat; then 
    49445365-    objformat=`/usr/bin/objformat` 
    4945 +  if test "$with_gnu_ld" = yes; then 
    4946 +    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 
    4947 +    shlibpath_overrides_runpath=no 
     5366+mingw* | pw32*) 
     5367+  # Base MSYS/MinGW do not provide the 'file' command needed by 
     5368+  # func_win32_libid shell function, so use a weaker test based on 'objdump', 
     5369+  # unless we find 'file', for example because we are cross-compiling. 
     5370+  if ( file / ) >/dev/null 2>&1; then 
     5371+    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 
     5372+    lt_cv_file_magic_cmd='func_win32_libid' 
    49485373   else 
    4949 +    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 
    4950 +    shlibpath_overrides_runpath=yes 
    4951      case $host_os in 
     5374-    case $host_os in 
    49525375-    freebsd[[123]]*) objformat=aout ;; 
    49535376-    *) objformat=elf ;; 
    4954 +      sco3.2v5*) 
    4955 +        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 
    4956 +       ;; 
    4957      esac 
     5377-    esac 
     5378+    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 
     5379+    lt_cv_file_magic_cmd='$OBJDUMP -f' 
    49585380   fi 
    49595381-  version_type=freebsd-$objformat 
     
    49885410-    ;; 
    49895411-  esac 
    4990 +  sys_lib_dlsearch_path_spec='/usr/lib' 
    49915412   ;; 
    49925413  
    49935414-gnu*) 
    4994 +uts4*) 
    4995    version_type=linux 
     5415-  version_type=linux 
    49965416-  need_lib_prefix=no 
    49975417-  need_version=no 
    49985418-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' 
    4999 +  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    5000    soname_spec='${libname}${release}${shared_ext}$major' 
    5001    shlibpath_var=LD_LIBRARY_PATH 
     5419-  soname_spec='${libname}${release}${shared_ext}$major' 
     5420-  shlibpath_var=LD_LIBRARY_PATH 
    50025421-  hardcode_into_libs=yes 
     5422+darwin* | rhapsody*) 
     5423+  lt_cv_deplibs_check_method=pass_all 
    50035424   ;; 
    50045425  
     
    50475468-  # HP-UX runs *really* slowly unless shared libraries are mode 555. 
    50485469-  postinstall_cmds='chmod 555 $lib' 
    5049 +*) 
    5050 +  dynamic_linker=no 
     5470+freebsd* | dragonfly*) 
     5471+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
     5472+    case $host_cpu in 
     5473+    i*86 ) 
     5474+      # Not sure whether the presence of OpenBSD here was a mistake. 
     5475+      # Let's accept both of them until this is cleared up. 
     5476+      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' 
     5477+      lt_cv_file_magic_cmd=/usr/bin/file 
     5478+      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 
     5479+      ;; 
     5480+    esac 
     5481+  else 
     5482+    lt_cv_deplibs_check_method=pass_all 
     5483+  fi 
    50515484   ;; 
    5052 +esac 
    5053 +AC_MSG_RESULT([$dynamic_linker]) 
    5054 +test "$dynamic_linker" = no && can_build_shared=no 
    50555485  
    50565486-interix3*) 
     
    50645494-  shlibpath_overrides_runpath=no 
    50655495-  hardcode_into_libs=yes 
    5066 -  ;; 
    5067 +variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 
    5068 +if test "$GCC" = yes; then 
    5069 +  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 
    5070 +fi 
    5071 +])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 
     5496+gnu*) 
     5497+  lt_cv_deplibs_check_method=pass_all 
     5498   ;; 
    50725499  
    50735500-irix5* | irix6* | nonstopux*) 
     
    50885515-  irix5* | nonstopux*) 
    50895516-    libsuff= shlibsuff= 
    5090 -    ;; 
    5091 -  *) 
     5517+hpux10.20* | hpux11*) 
     5518+  lt_cv_file_magic_cmd=/usr/bin/file 
     5519+  case $host_cpu in 
     5520+  ia64*) 
     5521+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' 
     5522+    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 
     5523+    ;; 
     5524+  hppa*64*) 
     5525+    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] 
     5526+    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 
     5527     ;; 
     5528   *) 
    50925529-    case $LD in # libtool.m4 will add one of these switches to LD 
    50935530-    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 
     
    50995536-    *) libsuff= shlibsuff= libmagic=never-match;; 
    51005537-    esac 
    5101 -    ;; 
    5102 -  esac 
     5538+    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' 
     5539+    lt_cv_file_magic_test_file=/usr/lib/libc.sl 
     5540     ;; 
     5541   esac 
    51035542-  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 
    51045543-  shlibpath_overrides_runpath=no 
     
    51065545-  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" 
    51075546-  hardcode_into_libs=yes 
    5108 -  ;; 
     5547   ;; 
    51095548  
    51105549-# No shared lib support for Linux oldld, aout, or coff. 
    51115550-linux*oldld* | linux*aout* | linux*coff*) 
    51125551-  dynamic_linker=no 
    5113 -  ;; 
    5114 +# _LT_AC_TAGCONFIG 
    5115 +# ---------------- 
    5116 +AC_DEFUN([_LT_AC_TAGCONFIG], 
    5117 +[AC_REQUIRE([LT_AC_PROG_SED])dnl 
    5118 +AC_ARG_WITH([tags], 
    5119 +    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], 
    5120 +        [include additional configurations @<:@automatic@:>@])], 
    5121 +    [tagnames="$withval"]) 
     5552+interix[[3-9]]*) 
     5553+  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 
     5554+  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' 
     5555   ;; 
    51225556  
    51235557-# This must be Linux ELF. 
     
    51355569-  # before this can be enabled. 
    51365570-  hardcode_into_libs=yes 
    5137 +if test -f "$ltmain" && test -n "$tagnames"; then 
    5138 +  if test ! -f "${ofile}"; then 
    5139 +    AC_MSG_WARN([output file `$ofile' does not exist]) 
    5140 +  fi 
    5141   
     5571- 
    51425572-  # Append ld.so.conf contents to the search path 
    51435573-  if test -f /etc/ld.so.conf; then 
    51445574-    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,   ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 
    51455575-    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 
    5146 +  if test -z "$LTCC"; then 
    5147 +    eval "`$SHELL ${ofile} --config | grep '^LTCC='`" 
    5148 +    if test -z "$LTCC"; then 
    5149 +      AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) 
    5150 +    else 
    5151 +      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) 
    5152 +    fi 
    5153 +  fi 
    5154 +  if test -z "$LTCFLAGS"; then 
    5155 +    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" 
    5156    fi 
    5157   
     5576-  fi 
     5577- 
    51585578-  # We used to test for /lib/ld.so.1 and disable shared libraries on 
    51595579-  # powerpc, because MkLinux only supported shared libraries with the 
     
    51635583-  # assume the GNU/Linux dynamic linker is in use. 
    51645584-  dynamic_linker='GNU/Linux ld.so' 
    5165 -  ;; 
    5166 +  # Extract list of available tagged configurations in $ofile. 
    5167 +  # Note that this assumes the entire list is on one line. 
    5168 +  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` 
     5585+irix5* | irix6* | nonstopux*) 
     5586+  case $LD in 
     5587+  *-32|*"-32 ") libmagic=32-bit;; 
     5588+  *-n32|*"-n32 ") libmagic=N32;; 
     5589+  *-64|*"-64 ") libmagic=64-bit;; 
     5590+  *) libmagic=never-match;; 
     5591+  esac 
     5592+  lt_cv_deplibs_check_method=pass_all 
     5593   ;; 
    51695594  
    51705595-knetbsd*-gnu) 
     
    51785603-  hardcode_into_libs=yes 
    51795604-  dynamic_linker='GNU ld.so' 
    5180 -  ;; 
    5181 +  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," 
    5182 +  for tagname in $tagnames; do 
    5183 +    IFS="$lt_save_ifs" 
    5184 +    # Check whether tagname contains only valid characters 
    5185 +    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in 
    5186 +    "") ;; 
    5187 +    *)  AC_MSG_ERROR([invalid tag name: $tagname]) 
    5188 +       ;; 
    5189 +    esac 
     5605+# This must be Linux ELF. 
     5606+linux* | k*bsd*-gnu) 
     5607+  lt_cv_deplibs_check_method=pass_all 
     5608   ;; 
    51905609  
    51915610-netbsd*) 
     
    51975616-    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
    51985617-    dynamic_linker='NetBSD (a.out) ld.so' 
    5199 -  else 
     5618+netbsd* | netbsdelf*-gnu) 
     5619+  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 
     5620+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 
     5621   else 
    52005622-    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 
    52015623-    soname_spec='${libname}${release}${shared_ext}$major' 
    52025624-    dynamic_linker='NetBSD ld.elf_so' 
    5203 -  fi 
     5625+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' 
     5626   fi 
    52045627-  shlibpath_var=LD_LIBRARY_PATH 
    52055628-  shlibpath_overrides_runpath=yes 
    52065629-  hardcode_into_libs=yes 
    5207 -  ;; 
    5208 +    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null 
    5209 +    then 
    5210 +      AC_MSG_ERROR([tag name \"$tagname\" already exists]) 
    5211 +    fi 
     5630   ;; 
    52125631  
    52135632-newsos6) 
     
    52165635-  shlibpath_var=LD_LIBRARY_PATH 
    52175636-  shlibpath_overrides_runpath=yes 
    5218 -  ;; 
    5219 +    # Update the list of available tags. 
    5220 +    if test -n "$tagname"; then 
    5221 +      echo appending configuration tag \"$tagname\" to $ofile 
    5222   
    5223 -nto-qnx*) 
     5637+newos6*) 
     5638+  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' 
     5639+  lt_cv_file_magic_cmd=/usr/bin/file 
     5640+  lt_cv_file_magic_test_file=/usr/lib/libnls.so 
     5641   ;; 
     5642  
     5643 nto-qnx*) 
    52245644-  version_type=linux 
    52255645-  need_lib_prefix=no 
     
    52295649-  shlibpath_var=LD_LIBRARY_PATH 
    52305650-  shlibpath_overrides_runpath=yes 
    5231 -  ;; 
    5232 +      case $tagname in 
    5233 +      CXX) 
    5234 +       if test -n "$CXX" && ( test "X$CXX" != "Xno" && 
    5235 +           ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 
    5236 +           (test "X$CXX" != "Xg++"))) ; then 
    5237 +         AC_LIBTOOL_LANG_CXX_CONFIG 
    5238 +       else 
    5239 +         tagname="" 
    5240 +       fi 
    5241 +       ;; 
    5242   
    5243 -openbsd*) 
     5651+  lt_cv_deplibs_check_method=unknown 
     5652   ;; 
     5653  
     5654 openbsd*) 
    52445655-  version_type=sunos 
    52455656-  sys_lib_dlsearch_path_spec="/usr/lib" 
     
    52535664-  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 
    52545665-  shlibpath_var=LD_LIBRARY_PATH 
    5255 -  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
     5666   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 
    52565667-    case $host_os in 
    52575668-      openbsd2.[[89]] | openbsd2.[[89]].*) 
    52585669-       shlibpath_overrides_runpath=no 
    5259 +      F77) 
    5260 +       if test -n "$F77" && test "X$F77" != "Xno"; then 
    5261 +         AC_LIBTOOL_LANG_F77_CONFIG 
    5262 +       else 
    5263 +         tagname="" 
    5264 +       fi 
    5265 +       ;; 
    5266 + 
    5267 +      GCJ) 
    5268 +       if test -n "$GCJ" && test "X$GCJ" != "Xno"; then 
    5269 +         AC_LIBTOOL_LANG_GCJ_CONFIG 
    5270 +       else 
    5271 +         tagname="" 
    5272 +       fi 
    5273 +       ;; 
    5274 + 
    5275 +      RC) 
    5276 +       AC_LIBTOOL_LANG_RC_CONFIG 
    5277         ;; 
    5278 + 
    5279        *) 
     5670-       ;; 
     5671-      *) 
    52805672-       shlibpath_overrides_runpath=yes 
    5281 +       AC_MSG_ERROR([Unsupported tag name: $tagname]) 
    5282         ;; 
    5283        esac 
    5284 + 
    5285 +      # Append the new tag name to the list of available tags. 
    5286 +      if test -n "$tagname" ; then 
    5287 +      available_tags="$available_tags $tagname" 
    5288 +    fi 
    5289 +    fi 
    5290 +  done 
    5291 +  IFS="$lt_save_ifs" 
    5292 + 
    5293 +  # Now substitute the updated list of available tags. 
    5294 +  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then 
    5295 +    mv "${ofile}T" "$ofile" 
    5296 +    chmod +x "$ofile" 
     5673-       ;; 
     5674-      esac 
     5675+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' 
    52975676   else 
    52985677-    shlibpath_overrides_runpath=yes 
    5299 +    rm -f "${ofile}T" 
    5300 +    AC_MSG_ERROR([unable to update list of available tagged configurations.]) 
     5678+    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 
    53015679   fi 
    5302 -  ;; 
    5303 - 
     5680   ;; 
     5681  
    53045682-os2*) 
    53055683-  libname_spec='$name' 
     
    53105688-  shlibpath_var=LIBPATH 
    53115689-  ;; 
    5312 +fi 
    5313 +])# _LT_AC_TAGCONFIG 
    5314   
    5315 -osf3* | osf4* | osf5*) 
     5690- 
     5691 osf3* | osf4* | osf5*) 
    53165692-  version_type=osf 
    53175693-  need_lib_prefix=no 
     
    53225698-  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 
    53235699-  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" 
    5324 -  ;; 
     5700+  lt_cv_deplibs_check_method=pass_all 
     5701   ;; 
    53255702  
    53265703-solaris*) 
     
    53355712-  # ldd complains unless libraries are executable 
    53365713-  postinstall_cmds='chmod +x $lib' 
    5337 -  ;; 
    5338 - 
     5714+rdos*) 
     5715+  lt_cv_deplibs_check_method=pass_all 
     5716   ;; 
     5717  
    53395718-sunos4*) 
    53405719-  version_type=sunos 
     
    53475726-  fi 
    53485727-  need_version=yes 
    5349 -  ;; 
    5350 - 
    5351 -sysv4 | sysv4.3*) 
     5728+solaris*) 
     5729+  lt_cv_deplibs_check_method=pass_all 
     5730   ;; 
     5731  
     5732 sysv4 | sysv4.3*) 
    53525733-  version_type=linux 
    53535734-  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' 
    53545735-  soname_spec='${libname}${release}${shared_ext}$major' 
    53555736-  shlibpath_var=LD_LIBRARY_PATH 
    5356 -  case $host_vendor in 
     5737   case $host_vendor in 
    53575738-    sni) 
    53585739-      shlibpath_overrides_runpath=no 
     
    53705751-      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 
    53715752-      ;; 
    5372 -  esac 
    5373 -  ;; 
    5374 - 
     5753+  motorola) 
     5754+    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]]' 
     5755+    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 
     5756+    ;; 
     5757+  ncr) 
     5758+    lt_cv_deplibs_check_method=pass_all 
     5759+    ;; 
     5760+  sequent) 
     5761+    lt_cv_file_magic_cmd='/bin/file' 
     5762+    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' 
     5763+    ;; 
     5764+  sni) 
     5765+    lt_cv_file_magic_cmd='/bin/file' 
     5766+    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" 
     5767+    lt_cv_file_magic_test_file=/lib/libc.so 
     5768+    ;; 
     5769+  siemens) 
     5770+    lt_cv_deplibs_check_method=pass_all 
     5771+    ;; 
     5772+  pc) 
     5773+    lt_cv_deplibs_check_method=pass_all 
     5774+    ;; 
     5775   esac 
     5776   ;; 
     5777  
    53755778-sysv4*MP*) 
    53765779-  if test -d /usr/nec ;then 
     
    53805783-    shlibpath_var=LD_LIBRARY_PATH 
    53815784-  fi 
    5382 -  ;; 
    5383 - 
     5785+sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
     5786+  lt_cv_deplibs_check_method=pass_all 
     5787   ;; 
     5788+esac 
     5789+]) 
     5790+file_magic_cmd=$lt_cv_file_magic_cmd 
     5791+deplibs_check_method=$lt_cv_deplibs_check_method 
     5792+test -z "$deplibs_check_method" && deplibs_check_method=unknown 
     5793+])# AC_DEPLIBS_CHECK_METHOD 
     5794  
    53845795-sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 
    53855796-  version_type=freebsd-elf 
     
    54015812-       ;; 
    54025813-    esac 
    5403 -  fi 
     5814+ 
     5815+# AC_PROG_NM 
     5816+# ---------- 
     5817+# find the pathname to a BSD-compatible name lister 
     5818+AC_DEFUN([AC_PROG_NM], 
     5819+[AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, 
     5820+[if test -n "$NM"; then